swagger.json 1.4 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112
  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. "responses": {
  3718. "200": {
  3719. "description": "OK",
  3720. "schema": {
  3721. "type": "array",
  3722. "items": {
  3723. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  3724. }
  3725. }
  3726. },
  3727. "500": {
  3728. "description": "Internal Server Error",
  3729. "schema": {
  3730. "$ref": "#/definitions/app.Response"
  3731. }
  3732. }
  3733. }
  3734. }
  3735. },
  3736. "/Ermcp3/QryTaFutureDataReport": {
  3737. "get": {
  3738. "security": [
  3739. {
  3740. "ApiKeyAuth": []
  3741. }
  3742. ],
  3743. "produces": [
  3744. "application/json"
  3745. ],
  3746. "tags": [
  3747. "企业风险管理v3(app)"
  3748. ],
  3749. "summary": "查询期货报表",
  3750. "parameters": [
  3751. {
  3752. "type": "integer",
  3753. "description": "用户ID",
  3754. "name": "userid",
  3755. "in": "query",
  3756. "required": true
  3757. },
  3758. {
  3759. "type": "integer",
  3760. "description": "查询类型 1-报表 2-报表明细",
  3761. "name": "querytype",
  3762. "in": "query",
  3763. "required": true
  3764. },
  3765. {
  3766. "type": "integer",
  3767. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3768. "name": "cycletype",
  3769. "in": "query",
  3770. "required": true
  3771. },
  3772. {
  3773. "type": "string",
  3774. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3775. "name": "cycletime",
  3776. "in": "query",
  3777. "required": true
  3778. },
  3779. {
  3780. "type": "integer",
  3781. "description": "币种id(查明细必填)",
  3782. "name": "currencyid",
  3783. "in": "query"
  3784. },
  3785. {
  3786. "type": "integer",
  3787. "description": "品种id(查明细必填)",
  3788. "name": "goodsgroupid",
  3789. "in": "query"
  3790. },
  3791. {
  3792. "type": "integer",
  3793. "description": "商品id(查明细必填)",
  3794. "name": "goodsid",
  3795. "in": "query"
  3796. },
  3797. {
  3798. "type": "integer",
  3799. "description": "买卖方向(查明细必填)",
  3800. "name": "buyorsell",
  3801. "in": "query"
  3802. }
  3803. ],
  3804. "responses": {
  3805. "200": {
  3806. "description": "OK",
  3807. "schema": {
  3808. "type": "array",
  3809. "items": {
  3810. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3811. }
  3812. }
  3813. },
  3814. "500": {
  3815. "description": "Internal Server Error",
  3816. "schema": {
  3817. "$ref": "#/definitions/app.Response"
  3818. }
  3819. }
  3820. }
  3821. }
  3822. },
  3823. "/Ermcp3/QueryAreaStock": {
  3824. "get": {
  3825. "security": [
  3826. {
  3827. "ApiKeyAuth": []
  3828. }
  3829. ],
  3830. "produces": [
  3831. "application/json"
  3832. ],
  3833. "tags": [
  3834. "企业风险管理v3(app)"
  3835. ],
  3836. "summary": "查询机构库存(库存管理/当前库存)",
  3837. "parameters": [
  3838. {
  3839. "type": "integer",
  3840. "description": "用户ID",
  3841. "name": "userid",
  3842. "in": "query",
  3843. "required": true
  3844. }
  3845. ],
  3846. "responses": {
  3847. "200": {
  3848. "description": "OK",
  3849. "schema": {
  3850. "type": "array",
  3851. "items": {
  3852. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3853. }
  3854. }
  3855. },
  3856. "500": {
  3857. "description": "Internal Server Error",
  3858. "schema": {
  3859. "$ref": "#/definitions/app.Response"
  3860. }
  3861. }
  3862. }
  3863. }
  3864. },
  3865. "/Ermcp3/QueryAreaStockApply": {
  3866. "get": {
  3867. "security": [
  3868. {
  3869. "ApiKeyAuth": []
  3870. }
  3871. ],
  3872. "produces": [
  3873. "application/json"
  3874. ],
  3875. "tags": [
  3876. "企业风险管理v3(app)"
  3877. ],
  3878. "summary": "查询库存申请(出入库记录|库存审核)",
  3879. "parameters": [
  3880. {
  3881. "type": "integer",
  3882. "description": "用户ID",
  3883. "name": "userid",
  3884. "in": "query",
  3885. "required": true
  3886. },
  3887. {
  3888. "type": "integer",
  3889. "description": "用户类型 2-机构 7-企业成员",
  3890. "name": "usertype",
  3891. "in": "query"
  3892. },
  3893. {
  3894. "type": "integer",
  3895. "description": "现货商品ID",
  3896. "name": "deliverygoodsid",
  3897. "in": "query"
  3898. },
  3899. {
  3900. "type": "string",
  3901. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3902. "name": "inouttype",
  3903. "in": "query"
  3904. },
  3905. {
  3906. "type": "integer",
  3907. "description": "合同ID",
  3908. "name": "spotcontractid",
  3909. "in": "query"
  3910. },
  3911. {
  3912. "type": "integer",
  3913. "description": "品类ID",
  3914. "name": "wrstandardid",
  3915. "in": "query"
  3916. },
  3917. {
  3918. "type": "integer",
  3919. "description": "品牌ID",
  3920. "name": "spotgoodsbrandid",
  3921. "in": "query"
  3922. },
  3923. {
  3924. "type": "integer",
  3925. "description": "仓库ID",
  3926. "name": "warehouseinfoid",
  3927. "in": "query"
  3928. },
  3929. {
  3930. "type": "string",
  3931. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3932. "name": "applystatus",
  3933. "in": "query"
  3934. }
  3935. ],
  3936. "responses": {
  3937. "200": {
  3938. "description": "OK",
  3939. "schema": {
  3940. "type": "array",
  3941. "items": {
  3942. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3943. }
  3944. }
  3945. },
  3946. "500": {
  3947. "description": "Internal Server Error",
  3948. "schema": {
  3949. "$ref": "#/definitions/app.Response"
  3950. }
  3951. }
  3952. }
  3953. }
  3954. },
  3955. "/Ermcp3/QueryAreaStockApplySum": {
  3956. "get": {
  3957. "security": [
  3958. {
  3959. "ApiKeyAuth": []
  3960. }
  3961. ],
  3962. "produces": [
  3963. "application/json"
  3964. ],
  3965. "tags": [
  3966. "企业风险管理v3(app)"
  3967. ],
  3968. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3969. "parameters": [
  3970. {
  3971. "type": "integer",
  3972. "description": "合同ID",
  3973. "name": "spotcontractid",
  3974. "in": "query",
  3975. "required": true
  3976. }
  3977. ],
  3978. "responses": {
  3979. "200": {
  3980. "description": "OK",
  3981. "schema": {
  3982. "type": "array",
  3983. "items": {
  3984. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3985. }
  3986. }
  3987. },
  3988. "500": {
  3989. "description": "Internal Server Error",
  3990. "schema": {
  3991. "$ref": "#/definitions/app.Response"
  3992. }
  3993. }
  3994. }
  3995. }
  3996. },
  3997. "/Ermcp3/QueryDGFactoryItem": {
  3998. "get": {
  3999. "security": [
  4000. {
  4001. "ApiKeyAuth": []
  4002. }
  4003. ],
  4004. "produces": [
  4005. "application/json"
  4006. ],
  4007. "tags": [
  4008. "企业风险管理v3(app)"
  4009. ],
  4010. "summary": "查询品种要素定义项",
  4011. "parameters": [
  4012. {
  4013. "type": "integer",
  4014. "description": "用户id",
  4015. "name": "userid",
  4016. "in": "query"
  4017. },
  4018. {
  4019. "type": "integer",
  4020. "description": "用户类型 2-机构 7-企业成员",
  4021. "name": "usertype",
  4022. "in": "query"
  4023. },
  4024. {
  4025. "type": "integer",
  4026. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4027. "name": "dgfactoryitemid",
  4028. "in": "query"
  4029. },
  4030. {
  4031. "type": "integer",
  4032. "description": "现货品种ID",
  4033. "name": "deliverygoodsid",
  4034. "in": "query"
  4035. },
  4036. {
  4037. "type": "integer",
  4038. "description": "要素项类型",
  4039. "name": "dgfactoryitemtypeid",
  4040. "in": "query"
  4041. },
  4042. {
  4043. "type": "integer",
  4044. "description": "顺序",
  4045. "name": "orderindex",
  4046. "in": "query"
  4047. }
  4048. ],
  4049. "responses": {
  4050. "200": {
  4051. "description": "OK",
  4052. "schema": {
  4053. "type": "array",
  4054. "items": {
  4055. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4056. }
  4057. }
  4058. },
  4059. "500": {
  4060. "description": "Internal Server Error",
  4061. "schema": {
  4062. "$ref": "#/definitions/app.Response"
  4063. }
  4064. }
  4065. }
  4066. }
  4067. },
  4068. "/Ermcp3/QueryDeliveryGoods": {
  4069. "get": {
  4070. "security": [
  4071. {
  4072. "ApiKeyAuth": []
  4073. }
  4074. ],
  4075. "produces": [
  4076. "application/json"
  4077. ],
  4078. "tags": [
  4079. "企业风险管理v3(app)"
  4080. ],
  4081. "summary": "查询现货商品",
  4082. "parameters": [
  4083. {
  4084. "type": "integer",
  4085. "description": "用户id",
  4086. "name": "userid",
  4087. "in": "query",
  4088. "required": true
  4089. },
  4090. {
  4091. "type": "integer",
  4092. "description": "用户类型 2-机构 7-企业成员",
  4093. "name": "usertype",
  4094. "in": "query"
  4095. },
  4096. {
  4097. "type": "integer",
  4098. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4099. "name": "excludecfg",
  4100. "in": "query"
  4101. }
  4102. ],
  4103. "responses": {
  4104. "200": {
  4105. "description": "OK",
  4106. "schema": {
  4107. "type": "array",
  4108. "items": {
  4109. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4110. }
  4111. }
  4112. },
  4113. "500": {
  4114. "description": "Internal Server Error",
  4115. "schema": {
  4116. "$ref": "#/definitions/app.Response"
  4117. }
  4118. }
  4119. }
  4120. }
  4121. },
  4122. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4123. "get": {
  4124. "security": [
  4125. {
  4126. "ApiKeyAuth": []
  4127. }
  4128. ],
  4129. "produces": [
  4130. "application/json"
  4131. ],
  4132. "tags": [
  4133. "企业风险管理v3(app)"
  4134. ],
  4135. "summary": "查询现货商品详情",
  4136. "parameters": [
  4137. {
  4138. "type": "integer",
  4139. "description": "用户id",
  4140. "name": "userid",
  4141. "in": "query",
  4142. "required": true
  4143. },
  4144. {
  4145. "type": "integer",
  4146. "description": "用户类型 2-机构 7-企业成员",
  4147. "name": "usertype",
  4148. "in": "query"
  4149. },
  4150. {
  4151. "type": "integer",
  4152. "description": "现货商品id",
  4153. "name": "deliverygoodsid",
  4154. "in": "query"
  4155. }
  4156. ],
  4157. "responses": {
  4158. "200": {
  4159. "description": "OK",
  4160. "schema": {
  4161. "type": "array",
  4162. "items": {
  4163. "$ref": "#/definitions/models.XHDeliveryGoods"
  4164. }
  4165. }
  4166. },
  4167. "500": {
  4168. "description": "Internal Server Error",
  4169. "schema": {
  4170. "$ref": "#/definitions/app.Response"
  4171. }
  4172. }
  4173. }
  4174. }
  4175. },
  4176. "/Ermcp3/QueryExposureDetail": {
  4177. "get": {
  4178. "security": [
  4179. {
  4180. "ApiKeyAuth": []
  4181. }
  4182. ],
  4183. "produces": [
  4184. "application/json"
  4185. ],
  4186. "tags": [
  4187. "企业风险管理v3(app)"
  4188. ],
  4189. "summary": "查询敞口现货明细",
  4190. "parameters": [
  4191. {
  4192. "type": "integer",
  4193. "description": "用户id",
  4194. "name": "userid",
  4195. "in": "query",
  4196. "required": true
  4197. },
  4198. {
  4199. "type": "integer",
  4200. "description": "用户类型 2-机构 7-企业成员",
  4201. "name": "usertype",
  4202. "in": "query"
  4203. },
  4204. {
  4205. "type": "integer",
  4206. "description": "套保商品",
  4207. "name": "middlegoodsid",
  4208. "in": "query",
  4209. "required": true
  4210. }
  4211. ],
  4212. "responses": {
  4213. "200": {
  4214. "description": "OK",
  4215. "schema": {
  4216. "type": "array",
  4217. "items": {
  4218. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4219. }
  4220. }
  4221. },
  4222. "500": {
  4223. "description": "Internal Server Error",
  4224. "schema": {
  4225. "$ref": "#/definitions/app.Response"
  4226. }
  4227. }
  4228. }
  4229. }
  4230. },
  4231. "/Ermcp3/QueryExposureSpot": {
  4232. "get": {
  4233. "security": [
  4234. {
  4235. "ApiKeyAuth": []
  4236. }
  4237. ],
  4238. "produces": [
  4239. "application/json"
  4240. ],
  4241. "tags": [
  4242. "企业风险管理v3(app)"
  4243. ],
  4244. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4245. "parameters": [
  4246. {
  4247. "type": "integer",
  4248. "description": "用户id",
  4249. "name": "userid",
  4250. "in": "query",
  4251. "required": true
  4252. },
  4253. {
  4254. "type": "integer",
  4255. "description": "用户类型 2-机构 7-企业成员",
  4256. "name": "usertype",
  4257. "in": "query"
  4258. }
  4259. ],
  4260. "responses": {
  4261. "200": {
  4262. "description": "OK",
  4263. "schema": {
  4264. "type": "array",
  4265. "items": {
  4266. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4267. }
  4268. }
  4269. },
  4270. "500": {
  4271. "description": "Internal Server Error",
  4272. "schema": {
  4273. "$ref": "#/definitions/app.Response"
  4274. }
  4275. }
  4276. }
  4277. }
  4278. },
  4279. "/Ermcp3/QueryExposureSpotDetail": {
  4280. "get": {
  4281. "security": [
  4282. {
  4283. "ApiKeyAuth": []
  4284. }
  4285. ],
  4286. "produces": [
  4287. "application/json"
  4288. ],
  4289. "tags": [
  4290. "企业风险管理v3(app)"
  4291. ],
  4292. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4293. "parameters": [
  4294. {
  4295. "type": "integer",
  4296. "description": "用户id",
  4297. "name": "userid",
  4298. "in": "query",
  4299. "required": true
  4300. },
  4301. {
  4302. "type": "integer",
  4303. "description": "用户类型 2-机构 7-企业成员",
  4304. "name": "usertype",
  4305. "in": "query"
  4306. },
  4307. {
  4308. "type": "integer",
  4309. "description": "现货商品ID",
  4310. "name": "wrstandardid",
  4311. "in": "query",
  4312. "required": true
  4313. }
  4314. ],
  4315. "responses": {
  4316. "200": {
  4317. "description": "OK",
  4318. "schema": {
  4319. "type": "array",
  4320. "items": {
  4321. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4322. }
  4323. }
  4324. },
  4325. "500": {
  4326. "description": "Internal Server Error",
  4327. "schema": {
  4328. "$ref": "#/definitions/app.Response"
  4329. }
  4330. }
  4331. }
  4332. }
  4333. },
  4334. "/Ermcp3/QueryGoodsGroup": {
  4335. "get": {
  4336. "security": [
  4337. {
  4338. "ApiKeyAuth": []
  4339. }
  4340. ],
  4341. "produces": [
  4342. "application/json"
  4343. ],
  4344. "tags": [
  4345. "企业风险管理v3(app)"
  4346. ],
  4347. "summary": "查询期货商品组",
  4348. "parameters": [
  4349. {
  4350. "type": "integer",
  4351. "description": "用户id",
  4352. "name": "userid",
  4353. "in": "query",
  4354. "required": true
  4355. },
  4356. {
  4357. "type": "integer",
  4358. "description": "用户类型 2-机构 7-企业成员",
  4359. "name": "usertype",
  4360. "in": "query"
  4361. },
  4362. {
  4363. "type": "integer",
  4364. "description": "排除套保品中已关联的商品组 1-排除",
  4365. "name": "excludecfg",
  4366. "in": "query"
  4367. }
  4368. ],
  4369. "responses": {
  4370. "200": {
  4371. "description": "OK",
  4372. "schema": {
  4373. "type": "array",
  4374. "items": {
  4375. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4376. }
  4377. }
  4378. },
  4379. "500": {
  4380. "description": "Internal Server Error",
  4381. "schema": {
  4382. "$ref": "#/definitions/app.Response"
  4383. }
  4384. }
  4385. }
  4386. }
  4387. },
  4388. "/Ermcp3/QueryGoodsWrstandard": {
  4389. "get": {
  4390. "security": [
  4391. {
  4392. "ApiKeyAuth": []
  4393. }
  4394. ],
  4395. "produces": [
  4396. "application/json"
  4397. ],
  4398. "tags": [
  4399. "企业风险管理v3(app)"
  4400. ],
  4401. "summary": "查询商品品类",
  4402. "parameters": [
  4403. {
  4404. "type": "integer",
  4405. "description": "用户id",
  4406. "name": "userid",
  4407. "in": "query",
  4408. "required": true
  4409. },
  4410. {
  4411. "type": "integer",
  4412. "description": "用户类型 2-机构 7-企业成员",
  4413. "name": "usertype",
  4414. "in": "query"
  4415. },
  4416. {
  4417. "type": "integer",
  4418. "description": "现货商品id",
  4419. "name": "deliverygoodsid",
  4420. "in": "query"
  4421. }
  4422. ],
  4423. "responses": {
  4424. "200": {
  4425. "description": "OK",
  4426. "schema": {
  4427. "type": "array",
  4428. "items": {
  4429. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4430. }
  4431. }
  4432. },
  4433. "500": {
  4434. "description": "Internal Server Error",
  4435. "schema": {
  4436. "$ref": "#/definitions/app.Response"
  4437. }
  4438. }
  4439. }
  4440. }
  4441. },
  4442. "/Ermcp3/QueryGoodsbrand": {
  4443. "get": {
  4444. "security": [
  4445. {
  4446. "ApiKeyAuth": []
  4447. }
  4448. ],
  4449. "produces": [
  4450. "application/json"
  4451. ],
  4452. "tags": [
  4453. "企业风险管理v3(app)"
  4454. ],
  4455. "summary": "查询商品品牌",
  4456. "parameters": [
  4457. {
  4458. "type": "integer",
  4459. "description": "用户id",
  4460. "name": "userid",
  4461. "in": "query",
  4462. "required": true
  4463. },
  4464. {
  4465. "type": "integer",
  4466. "description": "用户类型 2-机构 7-企业成员",
  4467. "name": "usertype",
  4468. "in": "query"
  4469. }
  4470. ],
  4471. "responses": {
  4472. "200": {
  4473. "description": "OK",
  4474. "schema": {
  4475. "type": "array",
  4476. "items": {
  4477. "$ref": "#/definitions/models.Ermcp3Brand"
  4478. }
  4479. }
  4480. },
  4481. "500": {
  4482. "description": "Internal Server Error",
  4483. "schema": {
  4484. "$ref": "#/definitions/app.Response"
  4485. }
  4486. }
  4487. }
  4488. }
  4489. },
  4490. "/Ermcp3/QueryHedgePlan": {
  4491. "get": {
  4492. "security": [
  4493. {
  4494. "ApiKeyAuth": []
  4495. }
  4496. ],
  4497. "produces": [
  4498. "application/json"
  4499. ],
  4500. "tags": [
  4501. "企业风险管理v3(app)"
  4502. ],
  4503. "summary": "查询套保计划",
  4504. "parameters": [
  4505. {
  4506. "type": "integer",
  4507. "description": "用户ID",
  4508. "name": "userid",
  4509. "in": "query",
  4510. "required": true
  4511. },
  4512. {
  4513. "type": "integer",
  4514. "description": "用户类型 2-机构 7-企业成员",
  4515. "name": "usertype",
  4516. "in": "query"
  4517. },
  4518. {
  4519. "type": "string",
  4520. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4521. "name": "hedgeplanstatus",
  4522. "in": "query",
  4523. "required": true
  4524. }
  4525. ],
  4526. "responses": {
  4527. "200": {
  4528. "description": "OK",
  4529. "schema": {
  4530. "type": "array",
  4531. "items": {
  4532. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4533. }
  4534. }
  4535. },
  4536. "500": {
  4537. "description": "Internal Server Error",
  4538. "schema": {
  4539. "$ref": "#/definitions/app.Response"
  4540. }
  4541. }
  4542. }
  4543. }
  4544. },
  4545. "/Ermcp3/QueryInnerTradeLink": {
  4546. "get": {
  4547. "security": [
  4548. {
  4549. "ApiKeyAuth": []
  4550. }
  4551. ],
  4552. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  4553. "produces": [
  4554. "application/json"
  4555. ],
  4556. "tags": [
  4557. "企业风险管理v3(app)"
  4558. ],
  4559. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  4560. "parameters": [
  4561. {
  4562. "type": "integer",
  4563. "description": "外部成交单号",
  4564. "name": "outtradeid",
  4565. "in": "query",
  4566. "required": true
  4567. }
  4568. ],
  4569. "responses": {
  4570. "200": {
  4571. "description": "OK",
  4572. "schema": {
  4573. "type": "array",
  4574. "items": {
  4575. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  4576. }
  4577. }
  4578. },
  4579. "500": {
  4580. "description": "Internal Server Error",
  4581. "schema": {
  4582. "$ref": "#/definitions/app.Response"
  4583. }
  4584. }
  4585. }
  4586. }
  4587. },
  4588. "/Ermcp3/QueryMiddleGoodsDetail": {
  4589. "get": {
  4590. "security": [
  4591. {
  4592. "ApiKeyAuth": []
  4593. }
  4594. ],
  4595. "produces": [
  4596. "application/json"
  4597. ],
  4598. "tags": [
  4599. "企业风险管理v3(app)"
  4600. ],
  4601. "summary": "查询套保品种详情(套保品种/商品详情)",
  4602. "parameters": [
  4603. {
  4604. "type": "integer",
  4605. "description": "用户id",
  4606. "name": "userid",
  4607. "in": "query",
  4608. "required": true
  4609. },
  4610. {
  4611. "type": "integer",
  4612. "description": "用户类型 2-机构 7-企业成员",
  4613. "name": "usertype",
  4614. "in": "query"
  4615. },
  4616. {
  4617. "type": "integer",
  4618. "description": "套保品种id",
  4619. "name": "middlegoodsid",
  4620. "in": "query"
  4621. }
  4622. ],
  4623. "responses": {
  4624. "200": {
  4625. "description": "OK",
  4626. "schema": {
  4627. "type": "array",
  4628. "items": {
  4629. "$ref": "#/definitions/models.TBMiddleGoods"
  4630. }
  4631. }
  4632. },
  4633. "500": {
  4634. "description": "Internal Server Error",
  4635. "schema": {
  4636. "$ref": "#/definitions/app.Response"
  4637. }
  4638. }
  4639. }
  4640. }
  4641. },
  4642. "/Ermcp3/QueryOutTradeLink": {
  4643. "get": {
  4644. "security": [
  4645. {
  4646. "ApiKeyAuth": []
  4647. }
  4648. ],
  4649. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  4650. "produces": [
  4651. "application/json"
  4652. ],
  4653. "tags": [
  4654. "企业风险管理v3(app)"
  4655. ],
  4656. "summary": "查询外部成交单关联",
  4657. "parameters": [
  4658. {
  4659. "type": "integer",
  4660. "description": "用户ID(填登录用户的userid)",
  4661. "name": "userid",
  4662. "in": "query",
  4663. "required": true
  4664. },
  4665. {
  4666. "type": "string",
  4667. "description": "外部订单号(模糊匹配)",
  4668. "name": "outtradeid",
  4669. "in": "query"
  4670. },
  4671. {
  4672. "type": "string",
  4673. "description": "合约名称/代码(模糊匹配)",
  4674. "name": "goodsname",
  4675. "in": "query"
  4676. },
  4677. {
  4678. "type": "integer",
  4679. "description": "关联状态 0-未关联 1-已关联",
  4680. "name": "hasinnerorder",
  4681. "in": "query"
  4682. }
  4683. ],
  4684. "responses": {
  4685. "200": {
  4686. "description": "OK",
  4687. "schema": {
  4688. "type": "array",
  4689. "items": {
  4690. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  4691. }
  4692. }
  4693. },
  4694. "500": {
  4695. "description": "Internal Server Error",
  4696. "schema": {
  4697. "$ref": "#/definitions/app.Response"
  4698. }
  4699. }
  4700. }
  4701. }
  4702. },
  4703. "/Ermcp3/QueryPaAreaAuditCfg": {
  4704. "get": {
  4705. "security": [
  4706. {
  4707. "ApiKeyAuth": []
  4708. }
  4709. ],
  4710. "produces": [
  4711. "application/json"
  4712. ],
  4713. "tags": [
  4714. "企业风险管理v3(app)"
  4715. ],
  4716. "summary": "查询审核设置",
  4717. "parameters": [
  4718. {
  4719. "type": "integer",
  4720. "description": "用户id",
  4721. "name": "userid",
  4722. "in": "query",
  4723. "required": true
  4724. }
  4725. ],
  4726. "responses": {
  4727. "200": {
  4728. "description": "OK",
  4729. "schema": {
  4730. "type": "array",
  4731. "items": {
  4732. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  4733. }
  4734. }
  4735. },
  4736. "500": {
  4737. "description": "Internal Server Error",
  4738. "schema": {
  4739. "$ref": "#/definitions/app.Response"
  4740. }
  4741. }
  4742. }
  4743. }
  4744. },
  4745. "/Ermcp3/QueryPaAreaSubject": {
  4746. "get": {
  4747. "security": [
  4748. {
  4749. "ApiKeyAuth": []
  4750. }
  4751. ],
  4752. "produces": [
  4753. "application/json"
  4754. ],
  4755. "tags": [
  4756. "企业风险管理v3(app)"
  4757. ],
  4758. "summary": "查询交易主体",
  4759. "parameters": [
  4760. {
  4761. "type": "integer",
  4762. "description": "用户id",
  4763. "name": "userid",
  4764. "in": "query",
  4765. "required": true
  4766. },
  4767. {
  4768. "type": "integer",
  4769. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  4770. "name": "subjectid",
  4771. "in": "query"
  4772. },
  4773. {
  4774. "type": "integer",
  4775. "description": "主体类型 - 1:交易主体 2:业务部门",
  4776. "name": "subjecttype",
  4777. "in": "query"
  4778. },
  4779. {
  4780. "type": "integer",
  4781. "description": "主体状态 - 1:正常 2: 停用",
  4782. "name": "subjectstatus",
  4783. "in": "query"
  4784. }
  4785. ],
  4786. "responses": {
  4787. "200": {
  4788. "description": "OK",
  4789. "schema": {
  4790. "type": "array",
  4791. "items": {
  4792. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  4793. }
  4794. }
  4795. },
  4796. "500": {
  4797. "description": "Internal Server Error",
  4798. "schema": {
  4799. "$ref": "#/definitions/app.Response"
  4800. }
  4801. }
  4802. }
  4803. }
  4804. },
  4805. "/Ermcp3/QueryPaTradeLink": {
  4806. "get": {
  4807. "security": [
  4808. {
  4809. "ApiKeyAuth": []
  4810. }
  4811. ],
  4812. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  4813. "produces": [
  4814. "application/json"
  4815. ],
  4816. "tags": [
  4817. "企业风险管理v3(app)"
  4818. ],
  4819. "summary": "查询期现单据关联",
  4820. "parameters": [
  4821. {
  4822. "type": "integer",
  4823. "description": "用户ID",
  4824. "name": "userid",
  4825. "in": "query",
  4826. "required": true
  4827. }
  4828. ],
  4829. "responses": {
  4830. "200": {
  4831. "description": "OK",
  4832. "schema": {
  4833. "type": "array",
  4834. "items": {
  4835. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  4836. }
  4837. }
  4838. },
  4839. "500": {
  4840. "description": "Internal Server Error",
  4841. "schema": {
  4842. "$ref": "#/definitions/app.Response"
  4843. }
  4844. }
  4845. }
  4846. }
  4847. },
  4848. "/Ermcp3/QueryPaTradeLinkDetail": {
  4849. "get": {
  4850. "security": [
  4851. {
  4852. "ApiKeyAuth": []
  4853. }
  4854. ],
  4855. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  4856. "produces": [
  4857. "application/json"
  4858. ],
  4859. "tags": [
  4860. "企业风险管理v3(app)"
  4861. ],
  4862. "summary": "查询期现关联记录",
  4863. "parameters": [
  4864. {
  4865. "type": "integer",
  4866. "description": "用户ID(填登录用户的userid)",
  4867. "name": "userid",
  4868. "in": "query",
  4869. "required": true
  4870. },
  4871. {
  4872. "type": "string",
  4873. "description": "期货订单号(模糊匹配)",
  4874. "name": "tradeid",
  4875. "in": "query"
  4876. },
  4877. {
  4878. "type": "string",
  4879. "description": "现货编号(模糊匹配)",
  4880. "name": "contractno",
  4881. "in": "query"
  4882. },
  4883. {
  4884. "type": "string",
  4885. "description": "期货账户(模糊匹配)",
  4886. "name": "taname",
  4887. "in": "query"
  4888. }
  4889. ],
  4890. "responses": {
  4891. "200": {
  4892. "description": "OK",
  4893. "schema": {
  4894. "type": "array",
  4895. "items": {
  4896. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  4897. }
  4898. }
  4899. },
  4900. "500": {
  4901. "description": "Internal Server Error",
  4902. "schema": {
  4903. "$ref": "#/definitions/app.Response"
  4904. }
  4905. }
  4906. }
  4907. }
  4908. },
  4909. "/Ermcp3/QueryParamChangeApp": {
  4910. "get": {
  4911. "security": [
  4912. {
  4913. "ApiKeyAuth": []
  4914. }
  4915. ],
  4916. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  4917. "produces": [
  4918. "application/json"
  4919. ],
  4920. "tags": [
  4921. "企业风险管理v3(app)"
  4922. ],
  4923. "summary": "查询现货商品参数变更申请(流水)",
  4924. "parameters": [
  4925. {
  4926. "type": "integer",
  4927. "description": "用户ID",
  4928. "name": "userid",
  4929. "in": "query",
  4930. "required": true
  4931. },
  4932. {
  4933. "type": "integer",
  4934. "description": "现货品种id",
  4935. "name": "deliverygoodsid",
  4936. "in": "query"
  4937. },
  4938. {
  4939. "type": "integer",
  4940. "description": "现货商品id",
  4941. "name": "wrstandardid",
  4942. "in": "query"
  4943. },
  4944. {
  4945. "type": "integer",
  4946. "description": "套保商品id",
  4947. "name": "middlegoodsid",
  4948. "in": "query"
  4949. },
  4950. {
  4951. "type": "integer",
  4952. "description": "操作类型 1:新增 2:修改",
  4953. "name": "operatetype",
  4954. "in": "query"
  4955. },
  4956. {
  4957. "type": "integer",
  4958. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  4959. "name": "paramchangetype",
  4960. "in": "query"
  4961. },
  4962. {
  4963. "type": "string",
  4964. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4965. "name": "ftstatus",
  4966. "in": "query"
  4967. }
  4968. ],
  4969. "responses": {
  4970. "200": {
  4971. "description": "OK",
  4972. "schema": {
  4973. "type": "array",
  4974. "items": {
  4975. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  4976. }
  4977. }
  4978. },
  4979. "500": {
  4980. "description": "Internal Server Error",
  4981. "schema": {
  4982. "$ref": "#/definitions/app.Response"
  4983. }
  4984. }
  4985. }
  4986. }
  4987. },
  4988. "/Ermcp3/QueryRootUserAccount": {
  4989. "get": {
  4990. "security": [
  4991. {
  4992. "ApiKeyAuth": []
  4993. }
  4994. ],
  4995. "produces": [
  4996. "application/json"
  4997. ],
  4998. "tags": [
  4999. "企业风险管理v3(app)"
  5000. ],
  5001. "summary": "查询顶级用户信息",
  5002. "parameters": [
  5003. {
  5004. "type": "integer",
  5005. "description": "用户ID",
  5006. "name": "userid",
  5007. "in": "query",
  5008. "required": true
  5009. }
  5010. ],
  5011. "responses": {
  5012. "200": {
  5013. "description": "OK",
  5014. "schema": {
  5015. "type": "array",
  5016. "items": {
  5017. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5018. }
  5019. }
  5020. },
  5021. "500": {
  5022. "description": "Internal Server Error",
  5023. "schema": {
  5024. "$ref": "#/definitions/app.Response"
  5025. }
  5026. }
  5027. }
  5028. }
  5029. },
  5030. "/Ermcp3/QuerySCMiddleGoods": {
  5031. "get": {
  5032. "security": [
  5033. {
  5034. "ApiKeyAuth": []
  5035. }
  5036. ],
  5037. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5038. "produces": [
  5039. "application/json"
  5040. ],
  5041. "tags": [
  5042. "企业风险管理v3(app)"
  5043. ],
  5044. "summary": "查询现货订单",
  5045. "parameters": [
  5046. {
  5047. "type": "integer",
  5048. "description": "用户ID(填登录用户的userid)",
  5049. "name": "userid",
  5050. "in": "query",
  5051. "required": true
  5052. },
  5053. {
  5054. "type": "integer",
  5055. "description": "买卖方向 0-买 1-卖",
  5056. "name": "buyorsell",
  5057. "in": "query",
  5058. "required": true
  5059. },
  5060. {
  5061. "type": "integer",
  5062. "description": "商品组id",
  5063. "name": "goodsgroupid",
  5064. "in": "query",
  5065. "required": true
  5066. },
  5067. {
  5068. "type": "string",
  5069. "description": "现货编号(模糊匹配)",
  5070. "name": "contractno",
  5071. "in": "query"
  5072. },
  5073. {
  5074. "type": "string",
  5075. "description": "对手方(模糊匹配)",
  5076. "name": "customername",
  5077. "in": "query"
  5078. },
  5079. {
  5080. "type": "string",
  5081. "description": "现货商品名称(模糊匹配)",
  5082. "name": "wrstandardname",
  5083. "in": "query"
  5084. }
  5085. ],
  5086. "responses": {
  5087. "200": {
  5088. "description": "OK",
  5089. "schema": {
  5090. "type": "array",
  5091. "items": {
  5092. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5093. }
  5094. }
  5095. },
  5096. "500": {
  5097. "description": "Internal Server Error",
  5098. "schema": {
  5099. "$ref": "#/definitions/app.Response"
  5100. }
  5101. }
  5102. }
  5103. }
  5104. },
  5105. "/Ermcp3/QuerySpotContract": {
  5106. "get": {
  5107. "security": [
  5108. {
  5109. "ApiKeyAuth": []
  5110. }
  5111. ],
  5112. "produces": [
  5113. "application/json"
  5114. ],
  5115. "tags": [
  5116. "企业风险管理v3(app)"
  5117. ],
  5118. "summary": "查询现货合同",
  5119. "parameters": [
  5120. {
  5121. "type": "integer",
  5122. "description": "用户id(当指定contractid, userid可不填)",
  5123. "name": "userid",
  5124. "in": "query",
  5125. "required": true
  5126. },
  5127. {
  5128. "type": "integer",
  5129. "description": "用户类型 2-机构 7-企业成员",
  5130. "name": "usertype",
  5131. "in": "query"
  5132. },
  5133. {
  5134. "type": "integer",
  5135. "description": "合同类型 1-采购, -1-销售",
  5136. "name": "contracttype",
  5137. "in": "query"
  5138. },
  5139. {
  5140. "type": "integer",
  5141. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成 (当指定contractid, querytype可不填)",
  5142. "name": "querytype",
  5143. "in": "query",
  5144. "required": true
  5145. },
  5146. {
  5147. "type": "string",
  5148. "description": "合同ID(SpotContractId)",
  5149. "name": "contractid",
  5150. "in": "query"
  5151. }
  5152. ],
  5153. "responses": {
  5154. "200": {
  5155. "description": "OK",
  5156. "schema": {
  5157. "type": "array",
  5158. "items": {
  5159. "$ref": "#/definitions/models.Ermcp3Contract"
  5160. }
  5161. }
  5162. },
  5163. "500": {
  5164. "description": "Internal Server Error",
  5165. "schema": {
  5166. "$ref": "#/definitions/app.Response"
  5167. }
  5168. }
  5169. }
  5170. }
  5171. },
  5172. "/Ermcp3/QuerySpotContractBS": {
  5173. "get": {
  5174. "security": [
  5175. {
  5176. "ApiKeyAuth": []
  5177. }
  5178. ],
  5179. "produces": [
  5180. "application/json"
  5181. ],
  5182. "tags": [
  5183. "企业风险管理v3(app)"
  5184. ],
  5185. "summary": "查询合同(采购/销售)",
  5186. "parameters": [
  5187. {
  5188. "type": "integer",
  5189. "description": "用户id",
  5190. "name": "userid",
  5191. "in": "query",
  5192. "required": true
  5193. },
  5194. {
  5195. "type": "integer",
  5196. "description": "用户类型 2-机构 7-企业成员",
  5197. "name": "usertype",
  5198. "in": "query"
  5199. },
  5200. {
  5201. "type": "integer",
  5202. "description": "合同类型 1-采购, -1-销售",
  5203. "name": "contracttype",
  5204. "in": "query",
  5205. "required": true
  5206. },
  5207. {
  5208. "type": "integer",
  5209. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5210. "name": "querytype",
  5211. "in": "query",
  5212. "required": true
  5213. },
  5214. {
  5215. "type": "string",
  5216. "description": "合同ID(SpotContractId)",
  5217. "name": "contractid",
  5218. "in": "query"
  5219. }
  5220. ],
  5221. "responses": {
  5222. "200": {
  5223. "description": "OK",
  5224. "schema": {
  5225. "type": "array",
  5226. "items": {
  5227. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5228. }
  5229. }
  5230. },
  5231. "500": {
  5232. "description": "Internal Server Error",
  5233. "schema": {
  5234. "$ref": "#/definitions/app.Response"
  5235. }
  5236. }
  5237. }
  5238. }
  5239. },
  5240. "/Ermcp3/QuerySpotGoodsPrice": {
  5241. "get": {
  5242. "security": [
  5243. {
  5244. "ApiKeyAuth": []
  5245. }
  5246. ],
  5247. "produces": [
  5248. "application/json"
  5249. ],
  5250. "tags": [
  5251. "企业风险管理v3(app)"
  5252. ],
  5253. "summary": "查询现货市价(现货市价)",
  5254. "parameters": [
  5255. {
  5256. "type": "integer",
  5257. "description": "用户ID",
  5258. "name": "userid",
  5259. "in": "query",
  5260. "required": true
  5261. }
  5262. ],
  5263. "responses": {
  5264. "200": {
  5265. "description": "OK",
  5266. "schema": {
  5267. "type": "array",
  5268. "items": {
  5269. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5270. }
  5271. }
  5272. },
  5273. "500": {
  5274. "description": "Internal Server Error",
  5275. "schema": {
  5276. "$ref": "#/definitions/app.Response"
  5277. }
  5278. }
  5279. }
  5280. }
  5281. },
  5282. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5283. "get": {
  5284. "security": [
  5285. {
  5286. "ApiKeyAuth": []
  5287. }
  5288. ],
  5289. "produces": [
  5290. "application/json"
  5291. ],
  5292. "tags": [
  5293. "企业风险管理v3(app)"
  5294. ],
  5295. "summary": "查询现货市价详情(现货市价/详情)",
  5296. "parameters": [
  5297. {
  5298. "type": "integer",
  5299. "description": "用户ID",
  5300. "name": "userid",
  5301. "in": "query",
  5302. "required": true
  5303. },
  5304. {
  5305. "type": "integer",
  5306. "description": "现货商品ID",
  5307. "name": "deliverygoodsid",
  5308. "in": "query",
  5309. "required": true
  5310. },
  5311. {
  5312. "type": "integer",
  5313. "description": "品牌ID",
  5314. "name": "brandid",
  5315. "in": "query"
  5316. },
  5317. {
  5318. "type": "integer",
  5319. "description": "品类ID",
  5320. "name": "wrstandardid",
  5321. "in": "query"
  5322. }
  5323. ],
  5324. "responses": {
  5325. "200": {
  5326. "description": "OK",
  5327. "schema": {
  5328. "type": "array",
  5329. "items": {
  5330. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5331. }
  5332. }
  5333. },
  5334. "500": {
  5335. "description": "Internal Server Error",
  5336. "schema": {
  5337. "$ref": "#/definitions/app.Response"
  5338. }
  5339. }
  5340. }
  5341. }
  5342. },
  5343. "/Ermcp3/QuerySubTaaccount": {
  5344. "get": {
  5345. "security": [
  5346. {
  5347. "ApiKeyAuth": []
  5348. }
  5349. ],
  5350. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5351. "produces": [
  5352. "application/json"
  5353. ],
  5354. "tags": [
  5355. "企业风险管理v3(app)"
  5356. ],
  5357. "summary": "查询期货子账户",
  5358. "parameters": [
  5359. {
  5360. "type": "integer",
  5361. "description": "母账号id",
  5362. "name": "parentaccountid",
  5363. "in": "query"
  5364. },
  5365. {
  5366. "type": "string",
  5367. "description": "母账号代码",
  5368. "name": "parentaccountcode",
  5369. "in": "query"
  5370. }
  5371. ],
  5372. "responses": {
  5373. "200": {
  5374. "description": "OK",
  5375. "schema": {
  5376. "type": "array",
  5377. "items": {
  5378. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5379. }
  5380. }
  5381. },
  5382. "500": {
  5383. "description": "Internal Server Error",
  5384. "schema": {
  5385. "$ref": "#/definitions/app.Response"
  5386. }
  5387. }
  5388. }
  5389. }
  5390. },
  5391. "/Erms2/QueryArbitrageStrategy": {
  5392. "get": {
  5393. "security": [
  5394. {
  5395. "ApiKeyAuth": []
  5396. }
  5397. ],
  5398. "produces": [
  5399. "application/json"
  5400. ],
  5401. "tags": [
  5402. "风险管理"
  5403. ],
  5404. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5405. "parameters": [
  5406. {
  5407. "type": "integer",
  5408. "description": "账户ID",
  5409. "name": "userid",
  5410. "in": "query",
  5411. "required": true
  5412. },
  5413. {
  5414. "type": "string",
  5415. "description": "商品组ID(品种ID)",
  5416. "name": "goodsgroupid",
  5417. "in": "query"
  5418. }
  5419. ],
  5420. "responses": {
  5421. "200": {
  5422. "description": "OK",
  5423. "schema": {
  5424. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5425. }
  5426. },
  5427. "500": {
  5428. "description": "Internal Server Error",
  5429. "schema": {
  5430. "$ref": "#/definitions/app.Response"
  5431. }
  5432. }
  5433. }
  5434. }
  5435. },
  5436. "/Erms2/QueryInnerTradeDetail": {
  5437. "get": {
  5438. "security": [
  5439. {
  5440. "ApiKeyAuth": []
  5441. }
  5442. ],
  5443. "produces": [
  5444. "application/json"
  5445. ],
  5446. "tags": [
  5447. "风险管理"
  5448. ],
  5449. "summary": "查询内部成交单信息",
  5450. "parameters": [
  5451. {
  5452. "type": "integer",
  5453. "description": "资金账户",
  5454. "name": "accountid",
  5455. "in": "query",
  5456. "required": true
  5457. }
  5458. ],
  5459. "responses": {
  5460. "200": {
  5461. "description": "OK",
  5462. "schema": {
  5463. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5464. }
  5465. },
  5466. "500": {
  5467. "description": "Internal Server Error",
  5468. "schema": {
  5469. "$ref": "#/definitions/app.Response"
  5470. }
  5471. }
  5472. }
  5473. }
  5474. },
  5475. "/Erms2/QuerySpotContract": {
  5476. "get": {
  5477. "security": [
  5478. {
  5479. "ApiKeyAuth": []
  5480. }
  5481. ],
  5482. "produces": [
  5483. "application/json"
  5484. ],
  5485. "tags": [
  5486. "风险管理"
  5487. ],
  5488. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5489. "parameters": [
  5490. {
  5491. "type": "integer",
  5492. "description": "策略申请ID",
  5493. "name": "asapplyid",
  5494. "in": "query",
  5495. "required": true
  5496. },
  5497. {
  5498. "type": "integer",
  5499. "description": "现货合同ID",
  5500. "name": "spotcontractid",
  5501. "in": "query"
  5502. }
  5503. ],
  5504. "responses": {
  5505. "200": {
  5506. "description": "OK",
  5507. "schema": {
  5508. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  5509. }
  5510. },
  5511. "500": {
  5512. "description": "Internal Server Error",
  5513. "schema": {
  5514. "$ref": "#/definitions/app.Response"
  5515. }
  5516. }
  5517. }
  5518. }
  5519. },
  5520. "/Erms3/AddErms2ASApply": {
  5521. "post": {
  5522. "security": [
  5523. {
  5524. "ApiKeyAuth": []
  5525. }
  5526. ],
  5527. "produces": [
  5528. "application/json"
  5529. ],
  5530. "tags": [
  5531. "风险管理v3"
  5532. ],
  5533. "summary": "新增期现套利业务申请",
  5534. "parameters": [
  5535. {
  5536. "description": "申请参数",
  5537. "name": "jsonBody",
  5538. "in": "body",
  5539. "required": true,
  5540. "schema": {
  5541. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5542. }
  5543. }
  5544. ],
  5545. "responses": {
  5546. "200": {
  5547. "description": "OK",
  5548. "schema": {
  5549. "$ref": "#/definitions/app.Response"
  5550. }
  5551. },
  5552. "500": {
  5553. "description": "Internal Server Error",
  5554. "schema": {
  5555. "$ref": "#/definitions/app.Response"
  5556. }
  5557. }
  5558. }
  5559. }
  5560. },
  5561. "/Erms3/AddErms2SpotTradeApply": {
  5562. "post": {
  5563. "security": [
  5564. {
  5565. "ApiKeyAuth": []
  5566. }
  5567. ],
  5568. "produces": [
  5569. "application/json"
  5570. ],
  5571. "tags": [
  5572. "风险管理v3"
  5573. ],
  5574. "summary": "新增现货贸易业务申请",
  5575. "parameters": [
  5576. {
  5577. "description": "申请参数",
  5578. "name": "jsonBody",
  5579. "in": "body",
  5580. "required": true,
  5581. "schema": {
  5582. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5583. }
  5584. }
  5585. ],
  5586. "responses": {
  5587. "200": {
  5588. "description": "OK",
  5589. "schema": {
  5590. "$ref": "#/definitions/app.Response"
  5591. }
  5592. },
  5593. "500": {
  5594. "description": "Internal Server Error",
  5595. "schema": {
  5596. "$ref": "#/definitions/app.Response"
  5597. }
  5598. }
  5599. }
  5600. }
  5601. },
  5602. "/Erms3/AddSpotContractApply": {
  5603. "post": {
  5604. "security": [
  5605. {
  5606. "ApiKeyAuth": []
  5607. }
  5608. ],
  5609. "produces": [
  5610. "application/json"
  5611. ],
  5612. "tags": [
  5613. "风险管理v3"
  5614. ],
  5615. "summary": "新增现货合同申请",
  5616. "parameters": [
  5617. {
  5618. "description": "申请参数",
  5619. "name": "jsonBody",
  5620. "in": "body",
  5621. "required": true,
  5622. "schema": {
  5623. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5624. }
  5625. }
  5626. ],
  5627. "responses": {
  5628. "200": {
  5629. "description": "OK",
  5630. "schema": {
  5631. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5632. }
  5633. },
  5634. "500": {
  5635. "description": "Internal Server Error",
  5636. "schema": {
  5637. "$ref": "#/definitions/app.Response"
  5638. }
  5639. }
  5640. }
  5641. }
  5642. },
  5643. "/Erms3/AddUserInfoApply": {
  5644. "post": {
  5645. "security": [
  5646. {
  5647. "ApiKeyAuth": []
  5648. }
  5649. ],
  5650. "produces": [
  5651. "application/json"
  5652. ],
  5653. "tags": [
  5654. "风险管理v3"
  5655. ],
  5656. "summary": "新增客户申请",
  5657. "parameters": [
  5658. {
  5659. "description": "用户信息",
  5660. "name": "jsonBody",
  5661. "in": "body",
  5662. "required": true,
  5663. "schema": {
  5664. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5665. }
  5666. }
  5667. ],
  5668. "responses": {
  5669. "200": {
  5670. "description": "OK",
  5671. "schema": {
  5672. "$ref": "#/definitions/app.Response"
  5673. }
  5674. },
  5675. "500": {
  5676. "description": "Internal Server Error",
  5677. "schema": {
  5678. "$ref": "#/definitions/app.Response"
  5679. }
  5680. }
  5681. }
  5682. }
  5683. },
  5684. "/Erms3/DeleteUserInfoApply": {
  5685. "get": {
  5686. "security": [
  5687. {
  5688. "ApiKeyAuth": []
  5689. }
  5690. ],
  5691. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5692. "produces": [
  5693. "application/json"
  5694. ],
  5695. "tags": [
  5696. "风险管理v3"
  5697. ],
  5698. "summary": "删除客户申请",
  5699. "parameters": [
  5700. {
  5701. "type": "integer",
  5702. "description": "用户ID",
  5703. "name": "userID",
  5704. "in": "query",
  5705. "required": true
  5706. }
  5707. ],
  5708. "responses": {
  5709. "200": {
  5710. "description": "OK",
  5711. "schema": {
  5712. "$ref": "#/definitions/app.Response"
  5713. }
  5714. },
  5715. "500": {
  5716. "description": "Internal Server Error",
  5717. "schema": {
  5718. "$ref": "#/definitions/app.Response"
  5719. }
  5720. }
  5721. }
  5722. }
  5723. },
  5724. "/Erms3/ModifyUserInfoApply": {
  5725. "post": {
  5726. "security": [
  5727. {
  5728. "ApiKeyAuth": []
  5729. }
  5730. ],
  5731. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5732. "produces": [
  5733. "application/json"
  5734. ],
  5735. "tags": [
  5736. "风险管理v3"
  5737. ],
  5738. "summary": "修改客户申请",
  5739. "parameters": [
  5740. {
  5741. "description": "用户信息",
  5742. "name": "jsonBody",
  5743. "in": "body",
  5744. "required": true,
  5745. "schema": {
  5746. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5747. }
  5748. }
  5749. ],
  5750. "responses": {
  5751. "200": {
  5752. "description": "OK",
  5753. "schema": {
  5754. "$ref": "#/definitions/app.Response"
  5755. }
  5756. },
  5757. "500": {
  5758. "description": "Internal Server Error",
  5759. "schema": {
  5760. "$ref": "#/definitions/app.Response"
  5761. }
  5762. }
  5763. }
  5764. }
  5765. },
  5766. "/Erms3/QueryBusinessInfo": {
  5767. "get": {
  5768. "security": [
  5769. {
  5770. "ApiKeyAuth": []
  5771. }
  5772. ],
  5773. "produces": [
  5774. "application/json"
  5775. ],
  5776. "tags": [
  5777. "风险管理v3"
  5778. ],
  5779. "summary": "查询业务表单数据",
  5780. "parameters": [
  5781. {
  5782. "type": "string",
  5783. "description": "资金账号ID列表,用逗号分隔",
  5784. "name": "accountids",
  5785. "in": "query",
  5786. "required": true
  5787. },
  5788. {
  5789. "type": "integer",
  5790. "description": "状态,0为未结束 1为已结束",
  5791. "name": "status",
  5792. "in": "query",
  5793. "required": true
  5794. }
  5795. ],
  5796. "responses": {
  5797. "200": {
  5798. "description": "OK",
  5799. "schema": {
  5800. "type": "array",
  5801. "items": {
  5802. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5803. }
  5804. }
  5805. },
  5806. "500": {
  5807. "description": "Internal Server Error",
  5808. "schema": {
  5809. "$ref": "#/definitions/app.Response"
  5810. }
  5811. }
  5812. }
  5813. }
  5814. },
  5815. "/Erms3/QueryPendingAuditContract": {
  5816. "get": {
  5817. "security": [
  5818. {
  5819. "ApiKeyAuth": []
  5820. }
  5821. ],
  5822. "produces": [
  5823. "application/json"
  5824. ],
  5825. "tags": [
  5826. "风险管理v3"
  5827. ],
  5828. "summary": "查询待审核合同",
  5829. "parameters": [
  5830. {
  5831. "type": "string",
  5832. "description": "资金账号ID列表,逗号隔开",
  5833. "name": "accountids",
  5834. "in": "query",
  5835. "required": true
  5836. },
  5837. {
  5838. "type": "integer",
  5839. "description": "合同类型 1-采购 -1-销售",
  5840. "name": "contracttype",
  5841. "in": "query",
  5842. "required": true
  5843. },
  5844. {
  5845. "type": "integer",
  5846. "description": "合同模式 1-普通 2-回购",
  5847. "name": "contractmode",
  5848. "in": "query",
  5849. "required": true
  5850. }
  5851. ],
  5852. "responses": {
  5853. "200": {
  5854. "description": "OK",
  5855. "schema": {
  5856. "type": "array",
  5857. "items": {
  5858. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5859. }
  5860. }
  5861. },
  5862. "500": {
  5863. "description": "Internal Server Error",
  5864. "schema": {
  5865. "$ref": "#/definitions/app.Response"
  5866. }
  5867. }
  5868. }
  5869. }
  5870. },
  5871. "/Erms3/QueryPendingBusiness": {
  5872. "get": {
  5873. "security": [
  5874. {
  5875. "ApiKeyAuth": []
  5876. }
  5877. ],
  5878. "produces": [
  5879. "application/json"
  5880. ],
  5881. "tags": [
  5882. "风险管理v3"
  5883. ],
  5884. "summary": "查询待审核基差贸易业务",
  5885. "parameters": [
  5886. {
  5887. "type": "string",
  5888. "description": "资金账号ID列表,逗号隔开",
  5889. "name": "accountids",
  5890. "in": "query",
  5891. "required": true
  5892. }
  5893. ],
  5894. "responses": {
  5895. "200": {
  5896. "description": "OK",
  5897. "schema": {
  5898. "type": "array",
  5899. "items": {
  5900. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5901. }
  5902. }
  5903. },
  5904. "500": {
  5905. "description": "Internal Server Error",
  5906. "schema": {
  5907. "$ref": "#/definitions/app.Response"
  5908. }
  5909. }
  5910. }
  5911. }
  5912. },
  5913. "/Erms3/QuerySpotContractAppleForm": {
  5914. "get": {
  5915. "security": [
  5916. {
  5917. "ApiKeyAuth": []
  5918. }
  5919. ],
  5920. "produces": [
  5921. "application/json"
  5922. ],
  5923. "tags": [
  5924. "风险管理v3"
  5925. ],
  5926. "summary": "查询合同申请表单数据",
  5927. "parameters": [
  5928. {
  5929. "type": "integer",
  5930. "description": "登录账号",
  5931. "name": "loginID",
  5932. "in": "query",
  5933. "required": true
  5934. }
  5935. ],
  5936. "responses": {
  5937. "200": {
  5938. "description": "OK",
  5939. "schema": {
  5940. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5941. }
  5942. },
  5943. "500": {
  5944. "description": "Internal Server Error",
  5945. "schema": {
  5946. "$ref": "#/definitions/app.Response"
  5947. }
  5948. }
  5949. }
  5950. }
  5951. },
  5952. "/Erms3/QuerySpotContractDetail": {
  5953. "get": {
  5954. "security": [
  5955. {
  5956. "ApiKeyAuth": []
  5957. }
  5958. ],
  5959. "produces": [
  5960. "application/json"
  5961. ],
  5962. "tags": [
  5963. "风险管理v3"
  5964. ],
  5965. "summary": "查询合同详细信息",
  5966. "parameters": [
  5967. {
  5968. "type": "string",
  5969. "description": "资金账号ID列表,用逗号分隔",
  5970. "name": "accountids",
  5971. "in": "query",
  5972. "required": true
  5973. },
  5974. {
  5975. "type": "integer",
  5976. "description": "合同类型,1为采购合同 -1为销售合同",
  5977. "name": "contracttype",
  5978. "in": "query",
  5979. "required": true
  5980. },
  5981. {
  5982. "type": "integer",
  5983. "description": "合同模式,1为普通合同 2为回购销售合同",
  5984. "name": "contractmode",
  5985. "in": "query",
  5986. "required": true
  5987. },
  5988. {
  5989. "type": "integer",
  5990. "description": "状态,0为履约中 1为已完成",
  5991. "name": "status",
  5992. "in": "query",
  5993. "required": true
  5994. }
  5995. ],
  5996. "responses": {
  5997. "200": {
  5998. "description": "OK",
  5999. "schema": {
  6000. "type": "array",
  6001. "items": {
  6002. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  6003. }
  6004. }
  6005. },
  6006. "500": {
  6007. "description": "Internal Server Error",
  6008. "schema": {
  6009. "$ref": "#/definitions/app.Response"
  6010. }
  6011. }
  6012. }
  6013. }
  6014. },
  6015. "/Erms3/QueryUserInfoApplies": {
  6016. "get": {
  6017. "security": [
  6018. {
  6019. "ApiKeyAuth": []
  6020. }
  6021. ],
  6022. "produces": [
  6023. "application/json"
  6024. ],
  6025. "tags": [
  6026. "风险管理v3"
  6027. ],
  6028. "summary": "客户申请信息查询",
  6029. "parameters": [
  6030. {
  6031. "type": "integer",
  6032. "description": "页码",
  6033. "name": "page",
  6034. "in": "query"
  6035. },
  6036. {
  6037. "type": "integer",
  6038. "description": "每页条数",
  6039. "name": "pagesize",
  6040. "in": "query"
  6041. },
  6042. {
  6043. "type": "string",
  6044. "description": "客户名称,支持模糊查询",
  6045. "name": "userName",
  6046. "in": "query"
  6047. }
  6048. ],
  6049. "responses": {
  6050. "200": {
  6051. "description": "OK",
  6052. "schema": {
  6053. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  6054. }
  6055. },
  6056. "500": {
  6057. "description": "Internal Server Error",
  6058. "schema": {
  6059. "$ref": "#/definitions/app.Response"
  6060. }
  6061. }
  6062. }
  6063. }
  6064. },
  6065. "/Erms3/QueryUserInfos": {
  6066. "get": {
  6067. "security": [
  6068. {
  6069. "ApiKeyAuth": []
  6070. }
  6071. ],
  6072. "produces": [
  6073. "application/json"
  6074. ],
  6075. "tags": [
  6076. "风险管理v3"
  6077. ],
  6078. "summary": "客户信息查询",
  6079. "parameters": [
  6080. {
  6081. "type": "integer",
  6082. "description": "页码",
  6083. "name": "page",
  6084. "in": "query"
  6085. },
  6086. {
  6087. "type": "integer",
  6088. "description": "每页条数",
  6089. "name": "pagesize",
  6090. "in": "query"
  6091. },
  6092. {
  6093. "type": "string",
  6094. "description": "客户名称,支持模糊查询",
  6095. "name": "userName",
  6096. "in": "query"
  6097. }
  6098. ],
  6099. "responses": {
  6100. "200": {
  6101. "description": "OK",
  6102. "schema": {
  6103. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  6104. }
  6105. },
  6106. "500": {
  6107. "description": "Internal Server Error",
  6108. "schema": {
  6109. "$ref": "#/definitions/app.Response"
  6110. }
  6111. }
  6112. }
  6113. }
  6114. },
  6115. "/HSBY/GetHsbyMyCount": {
  6116. "get": {
  6117. "security": [
  6118. {
  6119. "ApiKeyAuth": []
  6120. }
  6121. ],
  6122. "description": "说明: 不包括已完成的数量。",
  6123. "produces": [
  6124. "application/json"
  6125. ],
  6126. "tags": [
  6127. "定制【海商报业】"
  6128. ],
  6129. "summary": "获取我的订单与包裹数量",
  6130. "parameters": [
  6131. {
  6132. "type": "string",
  6133. "description": "资金账户列表,格式:1,2,3",
  6134. "name": "accountIDs",
  6135. "in": "query",
  6136. "required": true
  6137. }
  6138. ],
  6139. "responses": {
  6140. "200": {
  6141. "description": "OK",
  6142. "schema": {
  6143. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  6144. }
  6145. },
  6146. "500": {
  6147. "description": "Internal Server Error",
  6148. "schema": {
  6149. "$ref": "#/definitions/app.Response"
  6150. }
  6151. }
  6152. }
  6153. }
  6154. },
  6155. "/HSBY/QueryClientFixedADConfigs": {
  6156. "get": {
  6157. "security": [
  6158. {
  6159. "ApiKeyAuth": []
  6160. }
  6161. ],
  6162. "produces": [
  6163. "application/json"
  6164. ],
  6165. "tags": [
  6166. "定制【海商报业】"
  6167. ],
  6168. "summary": "获取终端固定广告配置",
  6169. "responses": {
  6170. "200": {
  6171. "description": "OK",
  6172. "schema": {
  6173. "$ref": "#/definitions/models.Clientfixedadconfig"
  6174. }
  6175. },
  6176. "500": {
  6177. "description": "Internal Server Error",
  6178. "schema": {
  6179. "$ref": "#/definitions/app.Response"
  6180. }
  6181. }
  6182. }
  6183. }
  6184. },
  6185. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  6186. "get": {
  6187. "security": [
  6188. {
  6189. "ApiKeyAuth": []
  6190. }
  6191. ],
  6192. "produces": [
  6193. "application/json"
  6194. ],
  6195. "tags": [
  6196. "定制【海商报业】"
  6197. ],
  6198. "summary": "查询\"我的订单 - 已完成\"单据信息",
  6199. "parameters": [
  6200. {
  6201. "type": "integer",
  6202. "description": "页码",
  6203. "name": "page",
  6204. "in": "query"
  6205. },
  6206. {
  6207. "type": "integer",
  6208. "description": "每页条数",
  6209. "name": "pagesize",
  6210. "in": "query"
  6211. },
  6212. {
  6213. "type": "string",
  6214. "description": "资金账户列表,格式:1,2,3",
  6215. "name": "accountIDs",
  6216. "in": "query",
  6217. "required": true
  6218. }
  6219. ],
  6220. "responses": {
  6221. "200": {
  6222. "description": "OK",
  6223. "schema": {
  6224. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  6225. }
  6226. },
  6227. "500": {
  6228. "description": "Internal Server Error",
  6229. "schema": {
  6230. "$ref": "#/definitions/app.Response"
  6231. }
  6232. }
  6233. }
  6234. }
  6235. },
  6236. "/HSBY/QueryHsbyGoodsOrderDetails": {
  6237. "get": {
  6238. "security": [
  6239. {
  6240. "ApiKeyAuth": []
  6241. }
  6242. ],
  6243. "description": "说明:查询结果已按委托价格和委托时间排序",
  6244. "produces": [
  6245. "application/json"
  6246. ],
  6247. "tags": [
  6248. "定制【海商报业】"
  6249. ],
  6250. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  6251. "parameters": [
  6252. {
  6253. "type": "integer",
  6254. "description": "商品ID",
  6255. "name": "goodsID",
  6256. "in": "query",
  6257. "required": true
  6258. },
  6259. {
  6260. "type": "string",
  6261. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  6262. "name": "accountIDs",
  6263. "in": "query"
  6264. },
  6265. {
  6266. "type": "integer",
  6267. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6268. "name": "buyOrSell",
  6269. "in": "query"
  6270. },
  6271. {
  6272. "type": "number",
  6273. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6274. "name": "price",
  6275. "in": "query"
  6276. },
  6277. {
  6278. "type": "integer",
  6279. "description": "档位,不传则默认为3档",
  6280. "name": "speed",
  6281. "in": "query"
  6282. }
  6283. ],
  6284. "responses": {
  6285. "200": {
  6286. "description": "OK",
  6287. "schema": {
  6288. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6289. }
  6290. },
  6291. "500": {
  6292. "description": "Internal Server Error",
  6293. "schema": {
  6294. "$ref": "#/definitions/app.Response"
  6295. }
  6296. }
  6297. }
  6298. }
  6299. },
  6300. "/HSBY/QueryHsbyListingGoodsDetail": {
  6301. "get": {
  6302. "security": [
  6303. {
  6304. "ApiKeyAuth": []
  6305. }
  6306. ],
  6307. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6308. "produces": [
  6309. "application/json"
  6310. ],
  6311. "tags": [
  6312. "定制【海商报业】"
  6313. ],
  6314. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6315. "parameters": [
  6316. {
  6317. "type": "integer",
  6318. "description": "商品ID",
  6319. "name": "goodsID",
  6320. "in": "query",
  6321. "required": true
  6322. },
  6323. {
  6324. "type": "integer",
  6325. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6326. "name": "accountID",
  6327. "in": "query"
  6328. }
  6329. ],
  6330. "responses": {
  6331. "200": {
  6332. "description": "OK",
  6333. "schema": {
  6334. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6335. }
  6336. },
  6337. "500": {
  6338. "description": "Internal Server Error",
  6339. "schema": {
  6340. "$ref": "#/definitions/app.Response"
  6341. }
  6342. }
  6343. }
  6344. }
  6345. },
  6346. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6347. "get": {
  6348. "security": [
  6349. {
  6350. "ApiKeyAuth": []
  6351. }
  6352. ],
  6353. "produces": [
  6354. "application/json"
  6355. ],
  6356. "tags": [
  6357. "定制【海商报业】"
  6358. ],
  6359. "summary": "查询三级市场(商城)商品信息详情",
  6360. "parameters": [
  6361. {
  6362. "type": "integer",
  6363. "description": "委托单号",
  6364. "name": "orderID",
  6365. "in": "query",
  6366. "required": true
  6367. },
  6368. {
  6369. "type": "integer",
  6370. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6371. "name": "accountID",
  6372. "in": "query"
  6373. }
  6374. ],
  6375. "responses": {
  6376. "200": {
  6377. "description": "OK",
  6378. "schema": {
  6379. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6380. }
  6381. },
  6382. "500": {
  6383. "description": "Internal Server Error",
  6384. "schema": {
  6385. "$ref": "#/definitions/app.Response"
  6386. }
  6387. }
  6388. }
  6389. }
  6390. },
  6391. "/HSBY/QueryHsbyMarketGoodses": {
  6392. "get": {
  6393. "security": [
  6394. {
  6395. "ApiKeyAuth": []
  6396. }
  6397. ],
  6398. "produces": [
  6399. "application/json"
  6400. ],
  6401. "tags": [
  6402. "定制【海商报业】"
  6403. ],
  6404. "summary": "查询特卖商品列表(三级商城)",
  6405. "parameters": [
  6406. {
  6407. "type": "integer",
  6408. "description": "页码",
  6409. "name": "page",
  6410. "in": "query"
  6411. },
  6412. {
  6413. "type": "integer",
  6414. "description": "每页条数",
  6415. "name": "pagesize",
  6416. "in": "query"
  6417. },
  6418. {
  6419. "type": "string",
  6420. "description": "市场ID列表,格式:1,2,3",
  6421. "name": "marketIDs",
  6422. "in": "query",
  6423. "required": true
  6424. },
  6425. {
  6426. "type": "integer",
  6427. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6428. "name": "accountID",
  6429. "in": "query",
  6430. "required": true
  6431. },
  6432. {
  6433. "type": "integer",
  6434. "description": "类别ID",
  6435. "name": "categoryID",
  6436. "in": "query"
  6437. },
  6438. {
  6439. "type": "string",
  6440. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6441. "name": "goodsIDs",
  6442. "in": "query"
  6443. },
  6444. {
  6445. "type": "integer",
  6446. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6447. "name": "couponTypeID",
  6448. "in": "query"
  6449. }
  6450. ],
  6451. "responses": {
  6452. "200": {
  6453. "description": "OK",
  6454. "schema": {
  6455. "$ref": "#/definitions/models.HsbyMarketGoods"
  6456. }
  6457. },
  6458. "500": {
  6459. "description": "Internal Server Error",
  6460. "schema": {
  6461. "$ref": "#/definitions/app.Response"
  6462. }
  6463. }
  6464. }
  6465. }
  6466. },
  6467. "/HSBY/QueryHsbyMarkets": {
  6468. "get": {
  6469. "security": [
  6470. {
  6471. "ApiKeyAuth": []
  6472. }
  6473. ],
  6474. "produces": [
  6475. "application/json"
  6476. ],
  6477. "tags": [
  6478. "定制【海商报业】"
  6479. ],
  6480. "summary": "查询海商报业相关市场信息",
  6481. "responses": {
  6482. "200": {
  6483. "description": "OK",
  6484. "schema": {
  6485. "$ref": "#/definitions/models.HsbyMarketInfo"
  6486. }
  6487. },
  6488. "500": {
  6489. "description": "Internal Server Error",
  6490. "schema": {
  6491. "$ref": "#/definitions/app.Response"
  6492. }
  6493. }
  6494. }
  6495. }
  6496. },
  6497. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6498. "get": {
  6499. "security": [
  6500. {
  6501. "ApiKeyAuth": []
  6502. }
  6503. ],
  6504. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  6505. "produces": [
  6506. "application/json"
  6507. ],
  6508. "tags": [
  6509. "定制【海商报业】"
  6510. ],
  6511. "summary": "查询“我的订单”信息",
  6512. "parameters": [
  6513. {
  6514. "type": "string",
  6515. "description": "资金账户列表,格式:1,2,3",
  6516. "name": "accountIDs",
  6517. "in": "query",
  6518. "required": true
  6519. }
  6520. ],
  6521. "responses": {
  6522. "200": {
  6523. "description": "OK",
  6524. "schema": {
  6525. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6526. }
  6527. },
  6528. "500": {
  6529. "description": "Internal Server Error",
  6530. "schema": {
  6531. "$ref": "#/definitions/app.Response"
  6532. }
  6533. }
  6534. }
  6535. }
  6536. },
  6537. "/HSBY/QueryHsbyMyGoods": {
  6538. "get": {
  6539. "security": [
  6540. {
  6541. "ApiKeyAuth": []
  6542. }
  6543. ],
  6544. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6545. "produces": [
  6546. "application/json"
  6547. ],
  6548. "tags": [
  6549. "定制【海商报业】"
  6550. ],
  6551. "summary": "查询“我的商品”信息",
  6552. "parameters": [
  6553. {
  6554. "type": "string",
  6555. "description": "资金账户列表,格式:1,2,3",
  6556. "name": "accountIDs",
  6557. "in": "query",
  6558. "required": true
  6559. }
  6560. ],
  6561. "responses": {
  6562. "200": {
  6563. "description": "OK",
  6564. "schema": {
  6565. "$ref": "#/definitions/models.HsbyMyGoods"
  6566. }
  6567. },
  6568. "500": {
  6569. "description": "Internal Server Error",
  6570. "schema": {
  6571. "$ref": "#/definitions/app.Response"
  6572. }
  6573. }
  6574. }
  6575. }
  6576. },
  6577. "/HSBY/QueryHsbyMyPackages": {
  6578. "get": {
  6579. "security": [
  6580. {
  6581. "ApiKeyAuth": []
  6582. }
  6583. ],
  6584. "produces": [
  6585. "application/json"
  6586. ],
  6587. "tags": [
  6588. "定制【海商报业】"
  6589. ],
  6590. "summary": "查询我的包裹信息",
  6591. "parameters": [
  6592. {
  6593. "type": "string",
  6594. "description": "资金账户列表,格式:1,2,3",
  6595. "name": "accountIDs",
  6596. "in": "query",
  6597. "required": true
  6598. },
  6599. {
  6600. "type": "integer",
  6601. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6602. "name": "takeOrderStatus",
  6603. "in": "query"
  6604. }
  6605. ],
  6606. "responses": {
  6607. "200": {
  6608. "description": "OK",
  6609. "schema": {
  6610. "$ref": "#/definitions/models.HsbyMyPackage"
  6611. }
  6612. },
  6613. "500": {
  6614. "description": "Internal Server Error",
  6615. "schema": {
  6616. "$ref": "#/definitions/app.Response"
  6617. }
  6618. }
  6619. }
  6620. }
  6621. },
  6622. "/HSBY/QueryHsbyPreGoodsDetail": {
  6623. "get": {
  6624. "security": [
  6625. {
  6626. "ApiKeyAuth": []
  6627. }
  6628. ],
  6629. "produces": [
  6630. "application/json"
  6631. ],
  6632. "tags": [
  6633. "定制【海商报业】"
  6634. ],
  6635. "summary": "查询一级市场(预售)商品信息详情",
  6636. "parameters": [
  6637. {
  6638. "type": "integer",
  6639. "description": "商品ID",
  6640. "name": "goodsID",
  6641. "in": "query",
  6642. "required": true
  6643. },
  6644. {
  6645. "type": "integer",
  6646. "description": "资金账户,主要用于获取预售商品购买上限",
  6647. "name": "accountID",
  6648. "in": "query"
  6649. }
  6650. ],
  6651. "responses": {
  6652. "200": {
  6653. "description": "OK",
  6654. "schema": {
  6655. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6656. }
  6657. },
  6658. "500": {
  6659. "description": "Internal Server Error",
  6660. "schema": {
  6661. "$ref": "#/definitions/app.Response"
  6662. }
  6663. }
  6664. }
  6665. }
  6666. },
  6667. "/HSBY/QueryHsbyPreGoodses": {
  6668. "get": {
  6669. "security": [
  6670. {
  6671. "ApiKeyAuth": []
  6672. }
  6673. ],
  6674. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6675. "produces": [
  6676. "application/json"
  6677. ],
  6678. "tags": [
  6679. "定制【海商报业】"
  6680. ],
  6681. "summary": "查询新品上市商品列表(一级市场预售)",
  6682. "parameters": [
  6683. {
  6684. "type": "integer",
  6685. "description": "页码",
  6686. "name": "page",
  6687. "in": "query"
  6688. },
  6689. {
  6690. "type": "integer",
  6691. "description": "每页条数",
  6692. "name": "pagesize",
  6693. "in": "query"
  6694. },
  6695. {
  6696. "type": "string",
  6697. "description": "市场ID列表,格式:1,2,3",
  6698. "name": "marketIDs",
  6699. "in": "query",
  6700. "required": true
  6701. },
  6702. {
  6703. "type": "integer",
  6704. "description": "目的地(省)ID",
  6705. "name": "descProvinceID",
  6706. "in": "query"
  6707. },
  6708. {
  6709. "type": "integer",
  6710. "description": "目的地(市)ID",
  6711. "name": "descCityID",
  6712. "in": "query"
  6713. }
  6714. ],
  6715. "responses": {
  6716. "200": {
  6717. "description": "OK",
  6718. "schema": {
  6719. "$ref": "#/definitions/models.HsbyPreGoods"
  6720. }
  6721. },
  6722. "500": {
  6723. "description": "Internal Server Error",
  6724. "schema": {
  6725. "$ref": "#/definitions/app.Response"
  6726. }
  6727. }
  6728. }
  6729. }
  6730. },
  6731. "/HSBY/QueryHsbySellMyDetails": {
  6732. "get": {
  6733. "security": [
  6734. {
  6735. "ApiKeyAuth": []
  6736. }
  6737. ],
  6738. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6739. "produces": [
  6740. "application/json"
  6741. ],
  6742. "tags": [
  6743. "定制【海商报业】"
  6744. ],
  6745. "summary": "查询\"我的闲置\"单据信息",
  6746. "parameters": [
  6747. {
  6748. "type": "integer",
  6749. "description": "页码",
  6750. "name": "page",
  6751. "in": "query"
  6752. },
  6753. {
  6754. "type": "integer",
  6755. "description": "每页条数",
  6756. "name": "pagesize",
  6757. "in": "query"
  6758. },
  6759. {
  6760. "type": "string",
  6761. "description": "资金账户列表,格式:1,2,3",
  6762. "name": "accountIDs",
  6763. "in": "query",
  6764. "required": true
  6765. },
  6766. {
  6767. "type": "integer",
  6768. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6769. "name": "orderType",
  6770. "in": "query"
  6771. }
  6772. ],
  6773. "responses": {
  6774. "200": {
  6775. "description": "OK",
  6776. "schema": {
  6777. "$ref": "#/definitions/models.HsbySellMyDetail"
  6778. }
  6779. },
  6780. "500": {
  6781. "description": "Internal Server Error",
  6782. "schema": {
  6783. "$ref": "#/definitions/app.Response"
  6784. }
  6785. }
  6786. }
  6787. }
  6788. },
  6789. "/HSBY/QueryHsbyTopGoodses": {
  6790. "get": {
  6791. "security": [
  6792. {
  6793. "ApiKeyAuth": []
  6794. }
  6795. ],
  6796. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6797. "produces": [
  6798. "application/json"
  6799. ],
  6800. "tags": [
  6801. "定制【海商报业】"
  6802. ],
  6803. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6804. "parameters": [
  6805. {
  6806. "type": "integer",
  6807. "description": "页码",
  6808. "name": "page",
  6809. "in": "query"
  6810. },
  6811. {
  6812. "type": "integer",
  6813. "description": "每页条数",
  6814. "name": "pagesize",
  6815. "in": "query"
  6816. },
  6817. {
  6818. "type": "string",
  6819. "description": "市场ID列表,格式:1,2,3",
  6820. "name": "marketIDs",
  6821. "in": "query",
  6822. "required": true
  6823. },
  6824. {
  6825. "type": "integer",
  6826. "description": "目的地(省)ID",
  6827. "name": "descProvinceID",
  6828. "in": "query"
  6829. },
  6830. {
  6831. "type": "integer",
  6832. "description": "目的地(市)ID",
  6833. "name": "descCityID",
  6834. "in": "query"
  6835. }
  6836. ],
  6837. "responses": {
  6838. "200": {
  6839. "description": "OK",
  6840. "schema": {
  6841. "$ref": "#/definitions/models.HsbyTopGoods"
  6842. }
  6843. },
  6844. "500": {
  6845. "description": "Internal Server Error",
  6846. "schema": {
  6847. "$ref": "#/definitions/app.Response"
  6848. }
  6849. }
  6850. }
  6851. }
  6852. },
  6853. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6854. "get": {
  6855. "security": [
  6856. {
  6857. "ApiKeyAuth": []
  6858. }
  6859. ],
  6860. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6861. "produces": [
  6862. "application/json"
  6863. ],
  6864. "tags": [
  6865. "定制【海商报业】"
  6866. ],
  6867. "summary": "查询游客三级市场(商城)商品信息详情",
  6868. "parameters": [
  6869. {
  6870. "type": "integer",
  6871. "description": "商品ID",
  6872. "name": "goodsID",
  6873. "in": "query",
  6874. "required": true
  6875. }
  6876. ],
  6877. "responses": {
  6878. "200": {
  6879. "description": "OK",
  6880. "schema": {
  6881. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6882. }
  6883. },
  6884. "500": {
  6885. "description": "Internal Server Error",
  6886. "schema": {
  6887. "$ref": "#/definitions/app.Response"
  6888. }
  6889. }
  6890. }
  6891. }
  6892. },
  6893. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6894. "get": {
  6895. "security": [
  6896. {
  6897. "ApiKeyAuth": []
  6898. }
  6899. ],
  6900. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6901. "produces": [
  6902. "application/json"
  6903. ],
  6904. "tags": [
  6905. "定制【海商报业】"
  6906. ],
  6907. "summary": "查询游客特卖商品列表(三级商城)",
  6908. "parameters": [
  6909. {
  6910. "type": "integer",
  6911. "description": "页码",
  6912. "name": "page",
  6913. "in": "query"
  6914. },
  6915. {
  6916. "type": "integer",
  6917. "description": "每页条数",
  6918. "name": "pagesize",
  6919. "in": "query"
  6920. },
  6921. {
  6922. "type": "string",
  6923. "description": "市场ID列表,格式:1,2,3",
  6924. "name": "marketIDs",
  6925. "in": "query",
  6926. "required": true
  6927. },
  6928. {
  6929. "type": "integer",
  6930. "description": "类别ID",
  6931. "name": "categoryID",
  6932. "in": "query"
  6933. },
  6934. {
  6935. "type": "string",
  6936. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6937. "name": "goodsIDs",
  6938. "in": "query"
  6939. }
  6940. ],
  6941. "responses": {
  6942. "200": {
  6943. "description": "OK",
  6944. "schema": {
  6945. "$ref": "#/definitions/models.HsbyMarketGoods"
  6946. }
  6947. },
  6948. "500": {
  6949. "description": "Internal Server Error",
  6950. "schema": {
  6951. "$ref": "#/definitions/app.Response"
  6952. }
  6953. }
  6954. }
  6955. }
  6956. },
  6957. "/HSBY/QueryMyCollectionOrders": {
  6958. "get": {
  6959. "security": [
  6960. {
  6961. "ApiKeyAuth": []
  6962. }
  6963. ],
  6964. "produces": [
  6965. "application/json"
  6966. ],
  6967. "tags": [
  6968. "定制【海商报业】"
  6969. ],
  6970. "summary": "我的闲置中收款信息查询",
  6971. "parameters": [
  6972. {
  6973. "type": "integer",
  6974. "description": "页码",
  6975. "name": "page",
  6976. "in": "query"
  6977. },
  6978. {
  6979. "type": "integer",
  6980. "description": "每页条数",
  6981. "name": "pagesize",
  6982. "in": "query"
  6983. },
  6984. {
  6985. "type": "string",
  6986. "description": "资金账户,格式:1,2,3",
  6987. "name": "accountIDs",
  6988. "in": "query",
  6989. "required": true
  6990. }
  6991. ],
  6992. "responses": {
  6993. "200": {
  6994. "description": "OK",
  6995. "schema": {
  6996. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6997. }
  6998. },
  6999. "500": {
  7000. "description": "Internal Server Error",
  7001. "schema": {
  7002. "$ref": "#/definitions/app.Response"
  7003. }
  7004. }
  7005. }
  7006. }
  7007. },
  7008. "/HSBY/QueryMyCouponHolds": {
  7009. "get": {
  7010. "security": [
  7011. {
  7012. "ApiKeyAuth": []
  7013. }
  7014. ],
  7015. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  7016. "produces": [
  7017. "application/json"
  7018. ],
  7019. "tags": [
  7020. "定制【海商报业】"
  7021. ],
  7022. "summary": "我的优惠卷持仓查询",
  7023. "parameters": [
  7024. {
  7025. "type": "string",
  7026. "description": "资金账户列表,格式:1,2,3",
  7027. "name": "accountIDs",
  7028. "in": "query",
  7029. "required": true
  7030. },
  7031. {
  7032. "type": "string",
  7033. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  7034. "name": "holdStatus",
  7035. "in": "query"
  7036. }
  7037. ],
  7038. "responses": {
  7039. "200": {
  7040. "description": "OK",
  7041. "schema": {
  7042. "$ref": "#/definitions/models.MyCouponHold"
  7043. }
  7044. },
  7045. "500": {
  7046. "description": "Internal Server Error",
  7047. "schema": {
  7048. "$ref": "#/definitions/app.Response"
  7049. }
  7050. }
  7051. }
  7052. }
  7053. },
  7054. "/HSBY/QueryMyCoupons": {
  7055. "get": {
  7056. "security": [
  7057. {
  7058. "ApiKeyAuth": []
  7059. }
  7060. ],
  7061. "produces": [
  7062. "application/json"
  7063. ],
  7064. "tags": [
  7065. "定制【海商报业】"
  7066. ],
  7067. "summary": "我的优惠卷查询",
  7068. "parameters": [
  7069. {
  7070. "type": "string",
  7071. "description": "资金账户列表,格式:1,2,3",
  7072. "name": "accountIDs",
  7073. "in": "query",
  7074. "required": true
  7075. },
  7076. {
  7077. "type": "integer",
  7078. "description": "商品ID, 一般与sellUserID配套传入",
  7079. "name": "goodsID",
  7080. "in": "query"
  7081. },
  7082. {
  7083. "type": "integer",
  7084. "description": "卖方UserID",
  7085. "name": "sellUserID",
  7086. "in": "query"
  7087. }
  7088. ],
  7089. "responses": {
  7090. "200": {
  7091. "description": "OK",
  7092. "schema": {
  7093. "$ref": "#/definitions/models.MyCoupon"
  7094. }
  7095. },
  7096. "500": {
  7097. "description": "Internal Server Error",
  7098. "schema": {
  7099. "$ref": "#/definitions/app.Response"
  7100. }
  7101. }
  7102. }
  7103. }
  7104. },
  7105. "/HSBY/QueryMyPayOrders": {
  7106. "get": {
  7107. "security": [
  7108. {
  7109. "ApiKeyAuth": []
  7110. }
  7111. ],
  7112. "produces": [
  7113. "application/json"
  7114. ],
  7115. "tags": [
  7116. "定制【海商报业】"
  7117. ],
  7118. "summary": "获取我的订单中待付款信息",
  7119. "parameters": [
  7120. {
  7121. "type": "integer",
  7122. "description": "页码",
  7123. "name": "page",
  7124. "in": "query"
  7125. },
  7126. {
  7127. "type": "integer",
  7128. "description": "每页条数",
  7129. "name": "pagesize",
  7130. "in": "query"
  7131. },
  7132. {
  7133. "type": "string",
  7134. "description": "资金账户列表,格式:1,2,3",
  7135. "name": "accountIDs",
  7136. "in": "query",
  7137. "required": true
  7138. },
  7139. {
  7140. "type": "integer",
  7141. "description": "买方委托单号",
  7142. "name": "buyOrderID",
  7143. "in": "query"
  7144. },
  7145. {
  7146. "type": "integer",
  7147. "description": "卖方委托单号",
  7148. "name": "sellOrderID",
  7149. "in": "query"
  7150. }
  7151. ],
  7152. "responses": {
  7153. "200": {
  7154. "description": "OK",
  7155. "schema": {
  7156. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  7157. }
  7158. },
  7159. "500": {
  7160. "description": "Internal Server Error",
  7161. "schema": {
  7162. "$ref": "#/definitions/app.Response"
  7163. }
  7164. }
  7165. }
  7166. }
  7167. },
  7168. "/HSBY/QueryMyUsedCoupon": {
  7169. "get": {
  7170. "security": [
  7171. {
  7172. "ApiKeyAuth": []
  7173. }
  7174. ],
  7175. "produces": [
  7176. "application/json"
  7177. ],
  7178. "tags": [
  7179. "定制【海商报业】"
  7180. ],
  7181. "summary": "已使用优惠卷查询",
  7182. "parameters": [
  7183. {
  7184. "type": "string",
  7185. "description": "资金账户列表,格式:1,2,3",
  7186. "name": "accountIDs",
  7187. "in": "query",
  7188. "required": true
  7189. }
  7190. ],
  7191. "responses": {
  7192. "200": {
  7193. "description": "OK",
  7194. "schema": {
  7195. "$ref": "#/definitions/models.MyUsedCoupon"
  7196. }
  7197. },
  7198. "500": {
  7199. "description": "Internal Server Error",
  7200. "schema": {
  7201. "$ref": "#/definitions/app.Response"
  7202. }
  7203. }
  7204. }
  7205. }
  7206. },
  7207. "/HSBY/QueryProvincesAndCities": {
  7208. "get": {
  7209. "security": [
  7210. {
  7211. "ApiKeyAuth": []
  7212. }
  7213. ],
  7214. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  7215. "produces": [
  7216. "application/json"
  7217. ],
  7218. "tags": [
  7219. "定制【海商报业】"
  7220. ],
  7221. "summary": "查询省市信息(不包括区)",
  7222. "parameters": [
  7223. {
  7224. "type": "integer",
  7225. "description": "省ID",
  7226. "name": "provinceID",
  7227. "in": "query"
  7228. }
  7229. ],
  7230. "responses": {
  7231. "200": {
  7232. "description": "OK",
  7233. "schema": {
  7234. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  7235. }
  7236. },
  7237. "500": {
  7238. "description": "Internal Server Error",
  7239. "schema": {
  7240. "$ref": "#/definitions/app.Response"
  7241. }
  7242. }
  7243. }
  7244. }
  7245. },
  7246. "/HSBY/SetHsbyMyPackagesStatus": {
  7247. "post": {
  7248. "security": [
  7249. {
  7250. "ApiKeyAuth": []
  7251. }
  7252. ],
  7253. "produces": [
  7254. "application/json"
  7255. ],
  7256. "tags": [
  7257. "定制【海商报业】"
  7258. ],
  7259. "summary": "设置我的包裹已收货状态",
  7260. "parameters": [
  7261. {
  7262. "type": "string",
  7263. "description": "提货单号",
  7264. "name": "takeOrderID",
  7265. "in": "query",
  7266. "required": true
  7267. },
  7268. {
  7269. "type": "integer",
  7270. "description": "资金账号",
  7271. "name": "accountID",
  7272. "in": "query",
  7273. "required": true
  7274. }
  7275. ],
  7276. "responses": {
  7277. "200": {
  7278. "description": "OK",
  7279. "schema": {
  7280. "$ref": "#/definitions/app.Response"
  7281. }
  7282. },
  7283. "500": {
  7284. "description": "Internal Server Error",
  7285. "schema": {
  7286. "$ref": "#/definitions/app.Response"
  7287. }
  7288. }
  7289. }
  7290. }
  7291. },
  7292. "/Market/GetAllExExchanges": {
  7293. "get": {
  7294. "security": [
  7295. {
  7296. "ApiKeyAuth": []
  7297. }
  7298. ],
  7299. "produces": [
  7300. "application/json"
  7301. ],
  7302. "tags": [
  7303. "通用市场"
  7304. ],
  7305. "summary": "获取所有外部交易所信息",
  7306. "responses": {
  7307. "200": {
  7308. "description": "OK",
  7309. "schema": {
  7310. "$ref": "#/definitions/models.Goods"
  7311. }
  7312. },
  7313. "500": {
  7314. "description": "Internal Server Error",
  7315. "schema": {
  7316. "$ref": "#/definitions/app.Response"
  7317. }
  7318. }
  7319. }
  7320. }
  7321. },
  7322. "/Market/QueryGoodsesByLoginID": {
  7323. "get": {
  7324. "security": [
  7325. {
  7326. "ApiKeyAuth": []
  7327. }
  7328. ],
  7329. "produces": [
  7330. "application/json"
  7331. ],
  7332. "tags": [
  7333. "通用市场"
  7334. ],
  7335. "summary": "获取登录账号有权限的商品信息",
  7336. "parameters": [
  7337. {
  7338. "type": "integer",
  7339. "description": "登录账号",
  7340. "name": "loginID",
  7341. "in": "query",
  7342. "required": true
  7343. },
  7344. {
  7345. "type": "string",
  7346. "description": "市场ID列表,格式:1,2,3",
  7347. "name": "marketIDs",
  7348. "in": "query"
  7349. }
  7350. ],
  7351. "responses": {
  7352. "200": {
  7353. "description": "OK",
  7354. "schema": {
  7355. "$ref": "#/definitions/models.Goods"
  7356. }
  7357. },
  7358. "500": {
  7359. "description": "Internal Server Error",
  7360. "schema": {
  7361. "$ref": "#/definitions/app.Response"
  7362. }
  7363. }
  7364. }
  7365. }
  7366. },
  7367. "/Market/QueryMarketRun": {
  7368. "get": {
  7369. "security": [
  7370. {
  7371. "ApiKeyAuth": []
  7372. }
  7373. ],
  7374. "produces": [
  7375. "application/json"
  7376. ],
  7377. "tags": [
  7378. "通用市场"
  7379. ],
  7380. "summary": "查询市场运行信息",
  7381. "parameters": [
  7382. {
  7383. "type": "integer",
  7384. "description": "市场ID,不传返回所有",
  7385. "name": "marketID",
  7386. "in": "query"
  7387. }
  7388. ],
  7389. "responses": {
  7390. "200": {
  7391. "description": "OK",
  7392. "schema": {
  7393. "$ref": "#/definitions/models.Marketrun"
  7394. }
  7395. },
  7396. "500": {
  7397. "description": "Internal Server Error",
  7398. "schema": {
  7399. "$ref": "#/definitions/app.Response"
  7400. }
  7401. }
  7402. }
  7403. }
  7404. },
  7405. "/Market/QueryMarketsByLoginID": {
  7406. "get": {
  7407. "security": [
  7408. {
  7409. "ApiKeyAuth": []
  7410. }
  7411. ],
  7412. "produces": [
  7413. "application/json"
  7414. ],
  7415. "tags": [
  7416. "通用市场"
  7417. ],
  7418. "summary": "获取登录账号有权限的市场信息",
  7419. "parameters": [
  7420. {
  7421. "type": "integer",
  7422. "description": "登录账号",
  7423. "name": "loginID",
  7424. "in": "query",
  7425. "required": true
  7426. }
  7427. ],
  7428. "responses": {
  7429. "200": {
  7430. "description": "OK",
  7431. "schema": {
  7432. "$ref": "#/definitions/models.Market"
  7433. }
  7434. },
  7435. "500": {
  7436. "description": "Internal Server Error",
  7437. "schema": {
  7438. "$ref": "#/definitions/app.Response"
  7439. }
  7440. }
  7441. }
  7442. }
  7443. },
  7444. "/Order/QueryHisTradeDetail": {
  7445. "get": {
  7446. "security": [
  7447. {
  7448. "ApiKeyAuth": []
  7449. }
  7450. ],
  7451. "produces": [
  7452. "application/json"
  7453. ],
  7454. "tags": [
  7455. "通用单据"
  7456. ],
  7457. "summary": "历史成交单查询(合约市场)",
  7458. "parameters": [
  7459. {
  7460. "type": "string",
  7461. "description": "资金账户 - 格式:1,2,3",
  7462. "name": "accountID",
  7463. "in": "query",
  7464. "required": true
  7465. },
  7466. {
  7467. "type": "integer",
  7468. "description": "成交单号",
  7469. "name": "tradeID",
  7470. "in": "query"
  7471. },
  7472. {
  7473. "type": "integer",
  7474. "description": "委托单号",
  7475. "name": "orderID",
  7476. "in": "query"
  7477. },
  7478. {
  7479. "type": "integer",
  7480. "description": "商品ID",
  7481. "name": "goodsID",
  7482. "in": "query"
  7483. },
  7484. {
  7485. "type": "string",
  7486. "description": "交易模式 - 格式:1,2,3",
  7487. "name": "tradeMode",
  7488. "in": "query"
  7489. },
  7490. {
  7491. "type": "integer",
  7492. "description": "委托单据类型",
  7493. "name": "buildType",
  7494. "in": "query"
  7495. },
  7496. {
  7497. "type": "string",
  7498. "description": "成交类别 - 格式:1,2,3",
  7499. "name": "tradeType",
  7500. "in": "query"
  7501. },
  7502. {
  7503. "type": "string",
  7504. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7505. "name": "startDate",
  7506. "in": "query"
  7507. },
  7508. {
  7509. "type": "string",
  7510. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7511. "name": "endDate",
  7512. "in": "query"
  7513. }
  7514. ],
  7515. "responses": {
  7516. "200": {
  7517. "description": "OK",
  7518. "schema": {
  7519. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  7520. }
  7521. },
  7522. "500": {
  7523. "description": "Internal Server Error",
  7524. "schema": {
  7525. "$ref": "#/definitions/app.Response"
  7526. }
  7527. }
  7528. }
  7529. }
  7530. },
  7531. "/Order/QueryHisTradeOrderDetail": {
  7532. "get": {
  7533. "security": [
  7534. {
  7535. "ApiKeyAuth": []
  7536. }
  7537. ],
  7538. "produces": [
  7539. "application/json"
  7540. ],
  7541. "tags": [
  7542. "通用单据"
  7543. ],
  7544. "summary": "历史委托单查询请求(合约市场)",
  7545. "parameters": [
  7546. {
  7547. "type": "string",
  7548. "description": "资金账户 - 格式:1,2,3",
  7549. "name": "accountID",
  7550. "in": "query",
  7551. "required": true
  7552. },
  7553. {
  7554. "type": "string",
  7555. "description": "交易模式 - 格式:1,2,3",
  7556. "name": "tradeMode",
  7557. "in": "query"
  7558. },
  7559. {
  7560. "type": "string",
  7561. "description": "委托状态 - 格式:1,2,3",
  7562. "name": "orderStatus",
  7563. "in": "query"
  7564. },
  7565. {
  7566. "type": "integer",
  7567. "description": "委托单号",
  7568. "name": "orderID",
  7569. "in": "query"
  7570. },
  7571. {
  7572. "type": "string",
  7573. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7574. "name": "startDate",
  7575. "in": "query"
  7576. },
  7577. {
  7578. "type": "string",
  7579. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7580. "name": "endDate",
  7581. "in": "query"
  7582. }
  7583. ],
  7584. "responses": {
  7585. "200": {
  7586. "description": "OK",
  7587. "schema": {
  7588. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7589. }
  7590. },
  7591. "500": {
  7592. "description": "Internal Server Error",
  7593. "schema": {
  7594. "$ref": "#/definitions/app.Response"
  7595. }
  7596. }
  7597. }
  7598. }
  7599. },
  7600. "/Order/QueryTradeDetail": {
  7601. "get": {
  7602. "security": [
  7603. {
  7604. "ApiKeyAuth": []
  7605. }
  7606. ],
  7607. "produces": [
  7608. "application/json"
  7609. ],
  7610. "tags": [
  7611. "通用单据"
  7612. ],
  7613. "summary": "成交单查询(合约市场)",
  7614. "parameters": [
  7615. {
  7616. "type": "string",
  7617. "description": "资金账户 - 格式:1,2,3",
  7618. "name": "accountID",
  7619. "in": "query",
  7620. "required": true
  7621. },
  7622. {
  7623. "type": "integer",
  7624. "description": "成交单号",
  7625. "name": "tradeID",
  7626. "in": "query"
  7627. },
  7628. {
  7629. "type": "integer",
  7630. "description": "委托单号",
  7631. "name": "orderID",
  7632. "in": "query"
  7633. },
  7634. {
  7635. "type": "string",
  7636. "description": "交易模式 - 格式:1,2,3",
  7637. "name": "tradeMode",
  7638. "in": "query"
  7639. },
  7640. {
  7641. "type": "integer",
  7642. "description": "委托单据类型",
  7643. "name": "buildType",
  7644. "in": "query"
  7645. },
  7646. {
  7647. "type": "string",
  7648. "description": "成交类别 - 格式:1,2,3",
  7649. "name": "tradeType",
  7650. "in": "query"
  7651. },
  7652. {
  7653. "type": "integer",
  7654. "description": "商品ID",
  7655. "name": "goodsID",
  7656. "in": "query"
  7657. }
  7658. ],
  7659. "responses": {
  7660. "200": {
  7661. "description": "OK",
  7662. "schema": {
  7663. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7664. }
  7665. },
  7666. "500": {
  7667. "description": "Internal Server Error",
  7668. "schema": {
  7669. "$ref": "#/definitions/app.Response"
  7670. }
  7671. }
  7672. }
  7673. }
  7674. },
  7675. "/Order/QueryTradeHolderDetail": {
  7676. "get": {
  7677. "security": [
  7678. {
  7679. "ApiKeyAuth": []
  7680. }
  7681. ],
  7682. "produces": [
  7683. "application/json"
  7684. ],
  7685. "tags": [
  7686. "通用单据"
  7687. ],
  7688. "summary": "查询持仓明细",
  7689. "parameters": [
  7690. {
  7691. "type": "integer",
  7692. "description": "用户id",
  7693. "name": "userid",
  7694. "in": "query"
  7695. },
  7696. {
  7697. "type": "string",
  7698. "description": "资金账号, 格式 1,2,3",
  7699. "name": "accids",
  7700. "in": "query"
  7701. },
  7702. {
  7703. "type": "string",
  7704. "description": "交易模式, 格式 1,2,3",
  7705. "name": "trademodes",
  7706. "in": "query"
  7707. },
  7708. {
  7709. "type": "string",
  7710. "description": "市场id, 格式 1,2,3",
  7711. "name": "marketids",
  7712. "in": "query"
  7713. },
  7714. {
  7715. "type": "integer",
  7716. "description": "商品id",
  7717. "name": "goodsid",
  7718. "in": "query"
  7719. },
  7720. {
  7721. "type": "integer",
  7722. "description": "买卖方向 0-买 1-卖",
  7723. "name": "buyorsell",
  7724. "in": "query"
  7725. }
  7726. ],
  7727. "responses": {
  7728. "200": {
  7729. "description": "OK",
  7730. "schema": {
  7731. "type": "array",
  7732. "items": {
  7733. "$ref": "#/definitions/models.TradeHolderDetail"
  7734. }
  7735. }
  7736. },
  7737. "500": {
  7738. "description": "Internal Server Error",
  7739. "schema": {
  7740. "$ref": "#/definitions/app.Response"
  7741. }
  7742. }
  7743. }
  7744. }
  7745. },
  7746. "/Order/QueryTradeOrderDetail": {
  7747. "get": {
  7748. "security": [
  7749. {
  7750. "ApiKeyAuth": []
  7751. }
  7752. ],
  7753. "produces": [
  7754. "application/json"
  7755. ],
  7756. "tags": [
  7757. "通用单据"
  7758. ],
  7759. "summary": "委托单查询请求(合约市场)",
  7760. "parameters": [
  7761. {
  7762. "type": "string",
  7763. "description": "资金账户 - 格式:1,2,3",
  7764. "name": "accountID",
  7765. "in": "query",
  7766. "required": true
  7767. },
  7768. {
  7769. "type": "string",
  7770. "description": "交易模式 - 格式:1,2,3",
  7771. "name": "tradeMode",
  7772. "in": "query"
  7773. },
  7774. {
  7775. "type": "string",
  7776. "description": "委托状态 - 格式:1,2,3",
  7777. "name": "orderStatus",
  7778. "in": "query"
  7779. },
  7780. {
  7781. "type": "integer",
  7782. "description": "委托单号",
  7783. "name": "orderID",
  7784. "in": "query"
  7785. }
  7786. ],
  7787. "responses": {
  7788. "200": {
  7789. "description": "OK",
  7790. "schema": {
  7791. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7792. }
  7793. },
  7794. "500": {
  7795. "description": "Internal Server Error",
  7796. "schema": {
  7797. "$ref": "#/definitions/app.Response"
  7798. }
  7799. }
  7800. }
  7801. }
  7802. },
  7803. "/Order/QueryTradePosition": {
  7804. "get": {
  7805. "security": [
  7806. {
  7807. "ApiKeyAuth": []
  7808. }
  7809. ],
  7810. "produces": [
  7811. "application/json"
  7812. ],
  7813. "tags": [
  7814. "通用单据"
  7815. ],
  7816. "summary": "持仓汇总查询(合约市场)",
  7817. "parameters": [
  7818. {
  7819. "type": "string",
  7820. "description": "资金账户 - 格式:1,2,3",
  7821. "name": "accountID",
  7822. "in": "query",
  7823. "required": true
  7824. },
  7825. {
  7826. "type": "string",
  7827. "description": "交易模式 - 格式:1,2,3",
  7828. "name": "tradeMode",
  7829. "in": "query"
  7830. }
  7831. ],
  7832. "responses": {
  7833. "200": {
  7834. "description": "OK",
  7835. "schema": {
  7836. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7837. }
  7838. },
  7839. "500": {
  7840. "description": "Internal Server Error",
  7841. "schema": {
  7842. "$ref": "#/definitions/app.Response"
  7843. }
  7844. }
  7845. }
  7846. }
  7847. },
  7848. "/Qhj/QueryAccountInOutApply": {
  7849. "get": {
  7850. "security": [
  7851. {
  7852. "ApiKeyAuth": []
  7853. }
  7854. ],
  7855. "produces": [
  7856. "application/json"
  7857. ],
  7858. "tags": [
  7859. "大连千海金"
  7860. ],
  7861. "summary": "查询充值提现",
  7862. "parameters": [
  7863. {
  7864. "type": "integer",
  7865. "description": "用户ID",
  7866. "name": "userid",
  7867. "in": "query",
  7868. "required": true
  7869. },
  7870. {
  7871. "type": "string",
  7872. "description": "申请起始日期(格式yyyymmdd)",
  7873. "name": "begindate",
  7874. "in": "query"
  7875. },
  7876. {
  7877. "type": "string",
  7878. "description": "申请截止日期(格式yyyymmdd)",
  7879. "name": "enddate",
  7880. "in": "query"
  7881. },
  7882. {
  7883. "type": "string",
  7884. "description": "模糊搜索名称",
  7885. "name": "likename",
  7886. "in": "query"
  7887. }
  7888. ],
  7889. "responses": {
  7890. "200": {
  7891. "description": "OK",
  7892. "schema": {
  7893. "type": "array",
  7894. "items": {
  7895. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7896. }
  7897. }
  7898. },
  7899. "500": {
  7900. "description": "Internal Server Error",
  7901. "schema": {
  7902. "$ref": "#/definitions/app.Response"
  7903. }
  7904. }
  7905. }
  7906. }
  7907. },
  7908. "/Qhj/QueryAreaFinanceConfig": {
  7909. "get": {
  7910. "security": [
  7911. {
  7912. "ApiKeyAuth": []
  7913. }
  7914. ],
  7915. "produces": [
  7916. "application/json"
  7917. ],
  7918. "tags": [
  7919. "大连千海金"
  7920. ],
  7921. "summary": "查询企业配置表",
  7922. "parameters": [
  7923. {
  7924. "type": "integer",
  7925. "description": "机构用户ID 其他做市关系,都设置为 1",
  7926. "name": "userid",
  7927. "in": "query"
  7928. }
  7929. ],
  7930. "responses": {
  7931. "200": {
  7932. "description": "OK",
  7933. "schema": {
  7934. "type": "array",
  7935. "items": {
  7936. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  7937. }
  7938. }
  7939. },
  7940. "500": {
  7941. "description": "Internal Server Error",
  7942. "schema": {
  7943. "$ref": "#/definitions/app.Response"
  7944. }
  7945. }
  7946. }
  7947. }
  7948. },
  7949. "/Qhj/QueryBankAccountSign": {
  7950. "get": {
  7951. "security": [
  7952. {
  7953. "ApiKeyAuth": []
  7954. }
  7955. ],
  7956. "produces": [
  7957. "application/json"
  7958. ],
  7959. "tags": [
  7960. "大连千海金"
  7961. ],
  7962. "summary": "查询签约银行信息(提现账户管理)",
  7963. "parameters": [
  7964. {
  7965. "type": "integer",
  7966. "description": "用户ID",
  7967. "name": "userid",
  7968. "in": "query",
  7969. "required": true
  7970. }
  7971. ],
  7972. "responses": {
  7973. "200": {
  7974. "description": "OK",
  7975. "schema": {
  7976. "type": "array",
  7977. "items": {
  7978. "$ref": "#/definitions/models.QhjBankAccountSign"
  7979. }
  7980. }
  7981. },
  7982. "500": {
  7983. "description": "Internal Server Error",
  7984. "schema": {
  7985. "$ref": "#/definitions/app.Response"
  7986. }
  7987. }
  7988. }
  7989. }
  7990. },
  7991. "/Qhj/QueryBankInfo": {
  7992. "get": {
  7993. "security": [
  7994. {
  7995. "ApiKeyAuth": []
  7996. }
  7997. ],
  7998. "produces": [
  7999. "application/json"
  8000. ],
  8001. "tags": [
  8002. "大连千海金"
  8003. ],
  8004. "summary": "查询开户行",
  8005. "responses": {
  8006. "200": {
  8007. "description": "OK",
  8008. "schema": {
  8009. "type": "array",
  8010. "items": {
  8011. "$ref": "#/definitions/models.QhjBankInfo"
  8012. }
  8013. }
  8014. },
  8015. "500": {
  8016. "description": "Internal Server Error",
  8017. "schema": {
  8018. "$ref": "#/definitions/app.Response"
  8019. }
  8020. }
  8021. }
  8022. }
  8023. },
  8024. "/Qhj/QueryBrokerApply": {
  8025. "get": {
  8026. "security": [
  8027. {
  8028. "ApiKeyAuth": []
  8029. }
  8030. ],
  8031. "produces": [
  8032. "application/json"
  8033. ],
  8034. "tags": [
  8035. "大连千海金"
  8036. ],
  8037. "summary": "查询经纪人申请",
  8038. "parameters": [
  8039. {
  8040. "type": "integer",
  8041. "description": "所属机构ID",
  8042. "name": "userid",
  8043. "in": "query"
  8044. },
  8045. {
  8046. "type": "string",
  8047. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8048. "name": "filterstatus",
  8049. "in": "query"
  8050. }
  8051. ],
  8052. "responses": {
  8053. "200": {
  8054. "description": "OK",
  8055. "schema": {
  8056. "type": "array",
  8057. "items": {
  8058. "$ref": "#/definitions/models.QhjBrokerApply"
  8059. }
  8060. }
  8061. },
  8062. "500": {
  8063. "description": "Internal Server Error",
  8064. "schema": {
  8065. "$ref": "#/definitions/app.Response"
  8066. }
  8067. }
  8068. }
  8069. }
  8070. },
  8071. "/Qhj/QueryBrokerApplyEx": {
  8072. "get": {
  8073. "security": [
  8074. {
  8075. "ApiKeyAuth": []
  8076. }
  8077. ],
  8078. "produces": [
  8079. "application/json"
  8080. ],
  8081. "tags": [
  8082. "大连千海金"
  8083. ],
  8084. "summary": "查询经纪人信息和申请记录",
  8085. "parameters": [
  8086. {
  8087. "type": "integer",
  8088. "description": "所属机构ID",
  8089. "name": "userid",
  8090. "in": "query"
  8091. }
  8092. ],
  8093. "responses": {
  8094. "200": {
  8095. "description": "OK",
  8096. "schema": {
  8097. "type": "array",
  8098. "items": {
  8099. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  8100. }
  8101. }
  8102. },
  8103. "500": {
  8104. "description": "Internal Server Error",
  8105. "schema": {
  8106. "$ref": "#/definitions/app.Response"
  8107. }
  8108. }
  8109. }
  8110. }
  8111. },
  8112. "/Qhj/QueryBrokerRewardLog": {
  8113. "get": {
  8114. "security": [
  8115. {
  8116. "ApiKeyAuth": []
  8117. }
  8118. ],
  8119. "produces": [
  8120. "application/json"
  8121. ],
  8122. "tags": [
  8123. "大连千海金"
  8124. ],
  8125. "summary": "查询奖励流水(我的奖励)",
  8126. "parameters": [
  8127. {
  8128. "type": "integer",
  8129. "description": "用户ID",
  8130. "name": "userid",
  8131. "in": "query",
  8132. "required": true
  8133. },
  8134. {
  8135. "type": "string",
  8136. "description": "开始交易日(yyyymmdd)",
  8137. "name": "begindate",
  8138. "in": "query"
  8139. },
  8140. {
  8141. "type": "string",
  8142. "description": "结束交易日(yyyymmdd)",
  8143. "name": "enddate",
  8144. "in": "query"
  8145. }
  8146. ],
  8147. "responses": {
  8148. "200": {
  8149. "description": "OK",
  8150. "schema": {
  8151. "type": "array",
  8152. "items": {
  8153. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  8154. }
  8155. }
  8156. },
  8157. "500": {
  8158. "description": "Internal Server Error",
  8159. "schema": {
  8160. "$ref": "#/definitions/app.Response"
  8161. }
  8162. }
  8163. }
  8164. }
  8165. },
  8166. "/Qhj/QueryContract": {
  8167. "get": {
  8168. "security": [
  8169. {
  8170. "ApiKeyAuth": []
  8171. }
  8172. ],
  8173. "produces": [
  8174. "application/json"
  8175. ],
  8176. "tags": [
  8177. "大连千海金"
  8178. ],
  8179. "summary": "查询融资明细(合同)",
  8180. "parameters": [
  8181. {
  8182. "type": "integer",
  8183. "description": "用户ID",
  8184. "name": "userid",
  8185. "in": "query"
  8186. },
  8187. {
  8188. "type": "integer",
  8189. "description": "scf合同id",
  8190. "name": "scfcontractid",
  8191. "in": "query"
  8192. }
  8193. ],
  8194. "responses": {
  8195. "200": {
  8196. "description": "OK",
  8197. "schema": {
  8198. "type": "array",
  8199. "items": {
  8200. "$ref": "#/definitions/models.QhjContract"
  8201. }
  8202. }
  8203. },
  8204. "500": {
  8205. "description": "Internal Server Error",
  8206. "schema": {
  8207. "$ref": "#/definitions/app.Response"
  8208. }
  8209. }
  8210. }
  8211. }
  8212. },
  8213. "/Qhj/QueryContractLog": {
  8214. "get": {
  8215. "security": [
  8216. {
  8217. "ApiKeyAuth": []
  8218. }
  8219. ],
  8220. "produces": [
  8221. "application/json"
  8222. ],
  8223. "tags": [
  8224. "大连千海金"
  8225. ],
  8226. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  8227. "parameters": [
  8228. {
  8229. "type": "integer",
  8230. "description": "scf合同id",
  8231. "name": "scfcontractid",
  8232. "in": "query",
  8233. "required": true
  8234. },
  8235. {
  8236. "type": "string",
  8237. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  8238. "name": "amounttype",
  8239. "in": "query"
  8240. }
  8241. ],
  8242. "responses": {
  8243. "200": {
  8244. "description": "OK",
  8245. "schema": {
  8246. "type": "array",
  8247. "items": {
  8248. "$ref": "#/definitions/models.QhjContractLog"
  8249. }
  8250. }
  8251. },
  8252. "500": {
  8253. "description": "Internal Server Error",
  8254. "schema": {
  8255. "$ref": "#/definitions/app.Response"
  8256. }
  8257. }
  8258. }
  8259. }
  8260. },
  8261. "/Qhj/QueryCusBankSignBank": {
  8262. "get": {
  8263. "security": [
  8264. {
  8265. "ApiKeyAuth": []
  8266. }
  8267. ],
  8268. "produces": [
  8269. "application/json"
  8270. ],
  8271. "tags": [
  8272. "大连千海金"
  8273. ],
  8274. "summary": "查询托管银行",
  8275. "responses": {
  8276. "200": {
  8277. "description": "OK",
  8278. "schema": {
  8279. "type": "array",
  8280. "items": {
  8281. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  8282. }
  8283. }
  8284. },
  8285. "500": {
  8286. "description": "Internal Server Error",
  8287. "schema": {
  8288. "$ref": "#/definitions/app.Response"
  8289. }
  8290. }
  8291. }
  8292. }
  8293. },
  8294. "/Qhj/QueryCustomerInfo": {
  8295. "get": {
  8296. "security": [
  8297. {
  8298. "ApiKeyAuth": []
  8299. }
  8300. ],
  8301. "produces": [
  8302. "application/json"
  8303. ],
  8304. "tags": [
  8305. "大连千海金"
  8306. ],
  8307. "summary": "查询客户资料",
  8308. "parameters": [
  8309. {
  8310. "type": "integer",
  8311. "description": "用户ID",
  8312. "name": "userid",
  8313. "in": "query",
  8314. "required": true
  8315. },
  8316. {
  8317. "type": "integer",
  8318. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8319. "name": "querytype",
  8320. "in": "query",
  8321. "required": true
  8322. },
  8323. {
  8324. "type": "integer",
  8325. "description": "客户类型 1-个人 2-企业",
  8326. "name": "userinfotype",
  8327. "in": "query"
  8328. },
  8329. {
  8330. "type": "string",
  8331. "description": "客户名称(模糊匹配)",
  8332. "name": "customername",
  8333. "in": "query"
  8334. },
  8335. {
  8336. "type": "string",
  8337. "description": "昵称(模糊匹配)",
  8338. "name": "nickname",
  8339. "in": "query"
  8340. },
  8341. {
  8342. "type": "integer",
  8343. "description": "是否包含子级 1-包含",
  8344. "name": "includesub",
  8345. "in": "query"
  8346. }
  8347. ],
  8348. "responses": {
  8349. "200": {
  8350. "description": "OK",
  8351. "schema": {
  8352. "type": "array",
  8353. "items": {
  8354. "$ref": "#/definitions/models.QhjCustomer"
  8355. }
  8356. }
  8357. },
  8358. "500": {
  8359. "description": "Internal Server Error",
  8360. "schema": {
  8361. "$ref": "#/definitions/app.Response"
  8362. }
  8363. }
  8364. }
  8365. }
  8366. },
  8367. "/Qhj/QueryGoodsEx": {
  8368. "get": {
  8369. "security": [
  8370. {
  8371. "ApiKeyAuth": []
  8372. }
  8373. ],
  8374. "produces": [
  8375. "application/json"
  8376. ],
  8377. "tags": [
  8378. "大连千海金"
  8379. ],
  8380. "summary": "交易商品扩展表",
  8381. "parameters": [
  8382. {
  8383. "type": "integer",
  8384. "description": "商品id",
  8385. "name": "goodsid",
  8386. "in": "query"
  8387. }
  8388. ],
  8389. "responses": {
  8390. "200": {
  8391. "description": "OK",
  8392. "schema": {
  8393. "type": "array",
  8394. "items": {
  8395. "$ref": "#/definitions/models.Qhjgoodsex"
  8396. }
  8397. }
  8398. },
  8399. "500": {
  8400. "description": "Internal Server Error",
  8401. "schema": {
  8402. "$ref": "#/definitions/app.Response"
  8403. }
  8404. }
  8405. }
  8406. }
  8407. },
  8408. "/Qhj/QueryMyTeam": {
  8409. "get": {
  8410. "security": [
  8411. {
  8412. "ApiKeyAuth": []
  8413. }
  8414. ],
  8415. "produces": [
  8416. "application/json"
  8417. ],
  8418. "tags": [
  8419. "大连千海金"
  8420. ],
  8421. "summary": "查询我的团队",
  8422. "parameters": [
  8423. {
  8424. "type": "integer",
  8425. "description": "用户ID",
  8426. "name": "userid",
  8427. "in": "query",
  8428. "required": true
  8429. }
  8430. ],
  8431. "responses": {
  8432. "200": {
  8433. "description": "OK",
  8434. "schema": {
  8435. "type": "array",
  8436. "items": {
  8437. "$ref": "#/definitions/models.QhjMyTeamEx"
  8438. }
  8439. }
  8440. },
  8441. "500": {
  8442. "description": "Internal Server Error",
  8443. "schema": {
  8444. "$ref": "#/definitions/app.Response"
  8445. }
  8446. }
  8447. }
  8448. }
  8449. },
  8450. "/Qhj/QueryMyTeamOrder": {
  8451. "get": {
  8452. "security": [
  8453. {
  8454. "ApiKeyAuth": []
  8455. }
  8456. ],
  8457. "produces": [
  8458. "application/json"
  8459. ],
  8460. "tags": [
  8461. "大连千海金"
  8462. ],
  8463. "summary": "查询团队订单(我的团队/团队订单)",
  8464. "parameters": [
  8465. {
  8466. "type": "integer",
  8467. "description": "页码",
  8468. "name": "page",
  8469. "in": "query"
  8470. },
  8471. {
  8472. "type": "integer",
  8473. "description": "每页条数",
  8474. "name": "pagesize",
  8475. "in": "query"
  8476. },
  8477. {
  8478. "type": "integer",
  8479. "description": "用户ID",
  8480. "name": "userid",
  8481. "in": "query",
  8482. "required": true
  8483. },
  8484. {
  8485. "type": "integer",
  8486. "description": "交易模式",
  8487. "name": "trademode",
  8488. "in": "query"
  8489. },
  8490. {
  8491. "type": "string",
  8492. "description": "名称(模糊搜索账户)",
  8493. "name": "filtername",
  8494. "in": "query"
  8495. }
  8496. ],
  8497. "responses": {
  8498. "200": {
  8499. "description": "OK",
  8500. "schema": {
  8501. "type": "array",
  8502. "items": {
  8503. "$ref": "#/definitions/models.QhjTeamOrder"
  8504. }
  8505. }
  8506. },
  8507. "500": {
  8508. "description": "Internal Server Error",
  8509. "schema": {
  8510. "$ref": "#/definitions/app.Response"
  8511. }
  8512. }
  8513. }
  8514. }
  8515. },
  8516. "/Qhj/QueryParentAreaList": {
  8517. "get": {
  8518. "security": [
  8519. {
  8520. "ApiKeyAuth": []
  8521. }
  8522. ],
  8523. "produces": [
  8524. "application/json"
  8525. ],
  8526. "tags": [
  8527. "大连千海金"
  8528. ],
  8529. "summary": "查询所属机构列表",
  8530. "parameters": [
  8531. {
  8532. "type": "integer",
  8533. "description": "用户ID",
  8534. "name": "userid",
  8535. "in": "query",
  8536. "required": true
  8537. }
  8538. ],
  8539. "responses": {
  8540. "200": {
  8541. "description": "OK",
  8542. "schema": {
  8543. "type": "array",
  8544. "items": {
  8545. "$ref": "#/definitions/models.QhjParentAreaList"
  8546. }
  8547. }
  8548. },
  8549. "500": {
  8550. "description": "Internal Server Error",
  8551. "schema": {
  8552. "$ref": "#/definitions/app.Response"
  8553. }
  8554. }
  8555. }
  8556. }
  8557. },
  8558. "/Qhj/QueryPayOrder": {
  8559. "get": {
  8560. "security": [
  8561. {
  8562. "ApiKeyAuth": []
  8563. }
  8564. ],
  8565. "produces": [
  8566. "application/json"
  8567. ],
  8568. "tags": [
  8569. "大连千海金"
  8570. ],
  8571. "summary": "查询待付款单据",
  8572. "parameters": [
  8573. {
  8574. "type": "integer",
  8575. "description": "资金账号id",
  8576. "name": "accountid",
  8577. "in": "query",
  8578. "required": true
  8579. },
  8580. {
  8581. "type": "integer",
  8582. "description": "成交单号",
  8583. "name": "tradeid",
  8584. "in": "query"
  8585. },
  8586. {
  8587. "type": "string",
  8588. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8589. "name": "payflag",
  8590. "in": "query"
  8591. }
  8592. ],
  8593. "responses": {
  8594. "200": {
  8595. "description": "OK",
  8596. "schema": {
  8597. "type": "array",
  8598. "items": {
  8599. "$ref": "#/definitions/models.QhjPayOrder"
  8600. }
  8601. }
  8602. },
  8603. "500": {
  8604. "description": "Internal Server Error",
  8605. "schema": {
  8606. "$ref": "#/definitions/app.Response"
  8607. }
  8608. }
  8609. }
  8610. }
  8611. },
  8612. "/Qhj/QueryPickArea": {
  8613. "get": {
  8614. "security": [
  8615. {
  8616. "ApiKeyAuth": []
  8617. }
  8618. ],
  8619. "produces": [
  8620. "application/json"
  8621. ],
  8622. "tags": [
  8623. "大连千海金"
  8624. ],
  8625. "summary": "查询提货门店",
  8626. "parameters": [
  8627. {
  8628. "type": "integer",
  8629. "description": "用户ID",
  8630. "name": "userid",
  8631. "in": "query"
  8632. }
  8633. ],
  8634. "responses": {
  8635. "200": {
  8636. "description": "OK",
  8637. "schema": {
  8638. "type": "array",
  8639. "items": {
  8640. "$ref": "#/definitions/models.QhjPickArea"
  8641. }
  8642. }
  8643. },
  8644. "500": {
  8645. "description": "Internal Server Error",
  8646. "schema": {
  8647. "$ref": "#/definitions/app.Response"
  8648. }
  8649. }
  8650. }
  8651. }
  8652. },
  8653. "/Qhj/QueryPickGoods": {
  8654. "get": {
  8655. "security": [
  8656. {
  8657. "ApiKeyAuth": []
  8658. }
  8659. ],
  8660. "produces": [
  8661. "application/json"
  8662. ],
  8663. "tags": [
  8664. "大连千海金"
  8665. ],
  8666. "summary": "查询提货商品",
  8667. "parameters": [
  8668. {
  8669. "type": "integer",
  8670. "description": "交易商品id",
  8671. "name": "goodsid",
  8672. "in": "query",
  8673. "required": true
  8674. },
  8675. {
  8676. "type": "string",
  8677. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8678. "name": "status",
  8679. "in": "query"
  8680. }
  8681. ],
  8682. "responses": {
  8683. "200": {
  8684. "description": "OK",
  8685. "schema": {
  8686. "type": "array",
  8687. "items": {
  8688. "$ref": "#/definitions/models.QhjPickGoods"
  8689. }
  8690. }
  8691. },
  8692. "500": {
  8693. "description": "Internal Server Error",
  8694. "schema": {
  8695. "$ref": "#/definitions/app.Response"
  8696. }
  8697. }
  8698. }
  8699. }
  8700. },
  8701. "/Qhj/QueryRSTriggerLog": {
  8702. "get": {
  8703. "security": [
  8704. {
  8705. "ApiKeyAuth": []
  8706. }
  8707. ],
  8708. "produces": [
  8709. "application/json"
  8710. ],
  8711. "tags": [
  8712. "大连千海金"
  8713. ],
  8714. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8715. "parameters": [
  8716. {
  8717. "type": "integer",
  8718. "description": "用户ID",
  8719. "name": "userid",
  8720. "in": "query"
  8721. },
  8722. {
  8723. "type": "integer",
  8724. "description": "定投策略id",
  8725. "name": "regularlystrategyid",
  8726. "in": "query"
  8727. },
  8728. {
  8729. "type": "integer",
  8730. "description": "商品id",
  8731. "name": "goodsid",
  8732. "in": "query"
  8733. },
  8734. {
  8735. "type": "string",
  8736. "description": "开始交易日(yyyymmdd)",
  8737. "name": "begindate",
  8738. "in": "query"
  8739. },
  8740. {
  8741. "type": "string",
  8742. "description": "结束交易日(yyyymmdd)",
  8743. "name": "enddate",
  8744. "in": "query"
  8745. },
  8746. {
  8747. "type": "string",
  8748. "description": "名称(模糊搜索账户)",
  8749. "name": "filtername",
  8750. "in": "query"
  8751. }
  8752. ],
  8753. "responses": {
  8754. "200": {
  8755. "description": "OK",
  8756. "schema": {
  8757. "type": "array",
  8758. "items": {
  8759. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8760. }
  8761. }
  8762. },
  8763. "500": {
  8764. "description": "Internal Server Error",
  8765. "schema": {
  8766. "$ref": "#/definitions/app.Response"
  8767. }
  8768. }
  8769. }
  8770. }
  8771. },
  8772. "/Qhj/QueryRStrategy": {
  8773. "get": {
  8774. "security": [
  8775. {
  8776. "ApiKeyAuth": []
  8777. }
  8778. ],
  8779. "produces": [
  8780. "application/json"
  8781. ],
  8782. "tags": [
  8783. "大连千海金"
  8784. ],
  8785. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8786. "parameters": [
  8787. {
  8788. "type": "integer",
  8789. "description": "用户ID",
  8790. "name": "userid",
  8791. "in": "query"
  8792. },
  8793. {
  8794. "type": "integer",
  8795. "description": "商品id",
  8796. "name": "goodsid",
  8797. "in": "query"
  8798. },
  8799. {
  8800. "type": "string",
  8801. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8802. "name": "status",
  8803. "in": "query"
  8804. },
  8805. {
  8806. "type": "string",
  8807. "description": "名称(模糊搜索账户)",
  8808. "name": "filtername",
  8809. "in": "query"
  8810. }
  8811. ],
  8812. "responses": {
  8813. "200": {
  8814. "description": "OK",
  8815. "schema": {
  8816. "type": "array",
  8817. "items": {
  8818. "$ref": "#/definitions/models.QhjRStrategy"
  8819. }
  8820. }
  8821. },
  8822. "500": {
  8823. "description": "Internal Server Error",
  8824. "schema": {
  8825. "$ref": "#/definitions/app.Response"
  8826. }
  8827. }
  8828. }
  8829. }
  8830. },
  8831. "/Qhj/QueryReckonPriceLog": {
  8832. "get": {
  8833. "security": [
  8834. {
  8835. "ApiKeyAuth": []
  8836. }
  8837. ],
  8838. "produces": [
  8839. "application/json"
  8840. ],
  8841. "tags": [
  8842. "大连千海金"
  8843. ],
  8844. "summary": "查询定投价(结算价)",
  8845. "parameters": [
  8846. {
  8847. "type": "integer",
  8848. "description": "商品ID",
  8849. "name": "goodsid",
  8850. "in": "query"
  8851. },
  8852. {
  8853. "type": "string",
  8854. "description": "交易日 格式(yyyymmdd)",
  8855. "name": "tradedate",
  8856. "in": "query"
  8857. }
  8858. ],
  8859. "responses": {
  8860. "200": {
  8861. "description": "OK",
  8862. "schema": {
  8863. "type": "array",
  8864. "items": {
  8865. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8866. }
  8867. }
  8868. },
  8869. "500": {
  8870. "description": "Internal Server Error",
  8871. "schema": {
  8872. "$ref": "#/definitions/app.Response"
  8873. }
  8874. }
  8875. }
  8876. }
  8877. },
  8878. "/Qhj/QueryScoreLog": {
  8879. "get": {
  8880. "security": [
  8881. {
  8882. "ApiKeyAuth": []
  8883. }
  8884. ],
  8885. "produces": [
  8886. "application/json"
  8887. ],
  8888. "tags": [
  8889. "大连千海金"
  8890. ],
  8891. "summary": "查询积分流水(我的积分)",
  8892. "parameters": [
  8893. {
  8894. "type": "integer",
  8895. "description": "用户ID",
  8896. "name": "userid",
  8897. "in": "query",
  8898. "required": true
  8899. },
  8900. {
  8901. "type": "string",
  8902. "description": "开始交易日(yyyymmdd)",
  8903. "name": "begindate",
  8904. "in": "query"
  8905. },
  8906. {
  8907. "type": "string",
  8908. "description": "结束交易日(yyyymmdd)",
  8909. "name": "enddate",
  8910. "in": "query"
  8911. },
  8912. {
  8913. "type": "integer",
  8914. "description": "最近多少条",
  8915. "name": "lastnum",
  8916. "in": "query"
  8917. }
  8918. ],
  8919. "responses": {
  8920. "200": {
  8921. "description": "OK",
  8922. "schema": {
  8923. "type": "array",
  8924. "items": {
  8925. "$ref": "#/definitions/models.QhjScoreLog"
  8926. }
  8927. }
  8928. },
  8929. "500": {
  8930. "description": "Internal Server Error",
  8931. "schema": {
  8932. "$ref": "#/definitions/app.Response"
  8933. }
  8934. }
  8935. }
  8936. }
  8937. },
  8938. "/Qhj/QuerySiteColumnDetail": {
  8939. "get": {
  8940. "security": [
  8941. {
  8942. "ApiKeyAuth": []
  8943. }
  8944. ],
  8945. "produces": [
  8946. "application/json"
  8947. ],
  8948. "tags": [
  8949. "大连千海金"
  8950. ],
  8951. "summary": "查询资讯",
  8952. "parameters": [
  8953. {
  8954. "type": "integer",
  8955. "description": "用户ID",
  8956. "name": "userid",
  8957. "in": "query",
  8958. "required": true
  8959. }
  8960. ],
  8961. "responses": {
  8962. "200": {
  8963. "description": "OK",
  8964. "schema": {
  8965. "type": "array",
  8966. "items": {
  8967. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  8968. }
  8969. }
  8970. },
  8971. "500": {
  8972. "description": "Internal Server Error",
  8973. "schema": {
  8974. "$ref": "#/definitions/app.Response"
  8975. }
  8976. }
  8977. }
  8978. }
  8979. },
  8980. "/Qhj/QueryTradeGoodsPickup": {
  8981. "get": {
  8982. "security": [
  8983. {
  8984. "ApiKeyAuth": []
  8985. }
  8986. ],
  8987. "produces": [
  8988. "application/json"
  8989. ],
  8990. "tags": [
  8991. "大连千海金"
  8992. ],
  8993. "summary": "查询提货",
  8994. "parameters": [
  8995. {
  8996. "type": "integer",
  8997. "description": "用户ID",
  8998. "name": "userid",
  8999. "in": "query",
  9000. "required": true
  9001. },
  9002. {
  9003. "type": "integer",
  9004. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  9005. "name": "takeorderstatus",
  9006. "in": "query"
  9007. }
  9008. ],
  9009. "responses": {
  9010. "200": {
  9011. "description": "OK",
  9012. "schema": {
  9013. "type": "array",
  9014. "items": {
  9015. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  9016. }
  9017. }
  9018. },
  9019. "500": {
  9020. "description": "Internal Server Error",
  9021. "schema": {
  9022. "$ref": "#/definitions/app.Response"
  9023. }
  9024. }
  9025. }
  9026. }
  9027. },
  9028. "/Qhj/QueryUserCollectConfig": {
  9029. "get": {
  9030. "security": [
  9031. {
  9032. "ApiKeyAuth": []
  9033. }
  9034. ],
  9035. "produces": [
  9036. "application/json"
  9037. ],
  9038. "tags": [
  9039. "大连千海金"
  9040. ],
  9041. "summary": "查询提现账户设置",
  9042. "parameters": [
  9043. {
  9044. "type": "integer",
  9045. "description": "用户ID",
  9046. "name": "userid",
  9047. "in": "query",
  9048. "required": true
  9049. }
  9050. ],
  9051. "responses": {
  9052. "200": {
  9053. "description": "OK",
  9054. "schema": {
  9055. "type": "array",
  9056. "items": {
  9057. "$ref": "#/definitions/models.UserCollectConfig"
  9058. }
  9059. }
  9060. },
  9061. "500": {
  9062. "description": "Internal Server Error",
  9063. "schema": {
  9064. "$ref": "#/definitions/app.Response"
  9065. }
  9066. }
  9067. }
  9068. }
  9069. },
  9070. "/Qhj/QueryUserReceiveInfo": {
  9071. "get": {
  9072. "security": [
  9073. {
  9074. "ApiKeyAuth": []
  9075. }
  9076. ],
  9077. "produces": [
  9078. "application/json"
  9079. ],
  9080. "tags": [
  9081. "大连千海金"
  9082. ],
  9083. "summary": "查询收货地址信息",
  9084. "parameters": [
  9085. {
  9086. "type": "integer",
  9087. "description": "用户ID",
  9088. "name": "userid",
  9089. "in": "query",
  9090. "required": true
  9091. }
  9092. ],
  9093. "responses": {
  9094. "200": {
  9095. "description": "OK",
  9096. "schema": {
  9097. "type": "array",
  9098. "items": {
  9099. "$ref": "#/definitions/models.UserReceiveInfo"
  9100. }
  9101. }
  9102. },
  9103. "500": {
  9104. "description": "Internal Server Error",
  9105. "schema": {
  9106. "$ref": "#/definitions/app.Response"
  9107. }
  9108. }
  9109. }
  9110. }
  9111. },
  9112. "/QhjMgr/QueryAccountInOutApply": {
  9113. "get": {
  9114. "security": [
  9115. {
  9116. "ApiKeyAuth": []
  9117. }
  9118. ],
  9119. "produces": [
  9120. "application/json"
  9121. ],
  9122. "tags": [
  9123. "大连千海金(PCWeb)"
  9124. ],
  9125. "summary": "查询充值提现",
  9126. "parameters": [
  9127. {
  9128. "type": "integer",
  9129. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  9130. "name": "querytype",
  9131. "in": "query",
  9132. "required": true
  9133. },
  9134. {
  9135. "type": "integer",
  9136. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9137. "name": "applystatus",
  9138. "in": "query"
  9139. },
  9140. {
  9141. "type": "string",
  9142. "description": "申请起始日期(格式yyyymmdd)",
  9143. "name": "begindate",
  9144. "in": "query"
  9145. },
  9146. {
  9147. "type": "string",
  9148. "description": "申请截止日期(格式yyyymmdd)",
  9149. "name": "enddate",
  9150. "in": "query"
  9151. },
  9152. {
  9153. "type": "string",
  9154. "description": "模糊搜索名称",
  9155. "name": "likename",
  9156. "in": "query"
  9157. }
  9158. ],
  9159. "responses": {
  9160. "200": {
  9161. "description": "OK",
  9162. "schema": {
  9163. "type": "array",
  9164. "items": {
  9165. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  9166. }
  9167. }
  9168. },
  9169. "500": {
  9170. "description": "Internal Server Error",
  9171. "schema": {
  9172. "$ref": "#/definitions/app.Response"
  9173. }
  9174. }
  9175. }
  9176. }
  9177. },
  9178. "/QhjMgr/QueryBrokerApply": {
  9179. "get": {
  9180. "security": [
  9181. {
  9182. "ApiKeyAuth": []
  9183. }
  9184. ],
  9185. "produces": [
  9186. "application/json"
  9187. ],
  9188. "tags": [
  9189. "大连千海金(PCWeb)"
  9190. ],
  9191. "summary": "查询经纪人申请",
  9192. "parameters": [
  9193. {
  9194. "type": "integer",
  9195. "description": "所属机构ID",
  9196. "name": "userid",
  9197. "in": "query"
  9198. },
  9199. {
  9200. "type": "string",
  9201. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9202. "name": "filterstatus",
  9203. "in": "query"
  9204. },
  9205. {
  9206. "type": "string",
  9207. "description": "名称(模糊匹配)",
  9208. "name": "filtername",
  9209. "in": "query"
  9210. },
  9211. {
  9212. "type": "integer",
  9213. "description": "是否包含子级 1-包含",
  9214. "name": "includesub",
  9215. "in": "query"
  9216. }
  9217. ],
  9218. "responses": {
  9219. "200": {
  9220. "description": "OK",
  9221. "schema": {
  9222. "type": "array",
  9223. "items": {
  9224. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  9225. }
  9226. }
  9227. },
  9228. "500": {
  9229. "description": "Internal Server Error",
  9230. "schema": {
  9231. "$ref": "#/definitions/app.Response"
  9232. }
  9233. }
  9234. }
  9235. }
  9236. },
  9237. "/QhjMgr/QueryBrokerRewardReport": {
  9238. "get": {
  9239. "security": [
  9240. {
  9241. "ApiKeyAuth": []
  9242. }
  9243. ],
  9244. "produces": [
  9245. "application/json"
  9246. ],
  9247. "tags": [
  9248. "大连千海金(PCWeb)"
  9249. ],
  9250. "summary": "查询经纪人奖励报表(废弃)",
  9251. "parameters": [
  9252. {
  9253. "type": "integer",
  9254. "description": "所属机构ID",
  9255. "name": "userid",
  9256. "in": "query",
  9257. "required": true
  9258. },
  9259. {
  9260. "type": "integer",
  9261. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9262. "name": "cycletype",
  9263. "in": "query",
  9264. "required": true
  9265. },
  9266. {
  9267. "type": "string",
  9268. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  9269. "name": "cycletime",
  9270. "in": "query",
  9271. "required": true
  9272. },
  9273. {
  9274. "type": "string",
  9275. "description": "名称(模糊匹配)",
  9276. "name": "filtername",
  9277. "in": "query"
  9278. },
  9279. {
  9280. "type": "integer",
  9281. "description": "是否包含子级 1-包含",
  9282. "name": "includesub",
  9283. "in": "query"
  9284. }
  9285. ],
  9286. "responses": {
  9287. "200": {
  9288. "description": "OK",
  9289. "schema": {
  9290. "type": "array",
  9291. "items": {
  9292. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  9293. }
  9294. }
  9295. },
  9296. "500": {
  9297. "description": "Internal Server Error",
  9298. "schema": {
  9299. "$ref": "#/definitions/app.Response"
  9300. }
  9301. }
  9302. }
  9303. }
  9304. },
  9305. "/QhjMgr/QueryContract": {
  9306. "get": {
  9307. "security": [
  9308. {
  9309. "ApiKeyAuth": []
  9310. }
  9311. ],
  9312. "produces": [
  9313. "application/json"
  9314. ],
  9315. "tags": [
  9316. "大连千海金(PCWeb)"
  9317. ],
  9318. "summary": "查询融资信息(合同)",
  9319. "parameters": [
  9320. {
  9321. "type": "integer",
  9322. "description": "用户ID",
  9323. "name": "userid",
  9324. "in": "query"
  9325. },
  9326. {
  9327. "type": "integer",
  9328. "description": "商品id",
  9329. "name": "goodsid",
  9330. "in": "query"
  9331. },
  9332. {
  9333. "type": "string",
  9334. "description": "名称(模糊搜索账户)",
  9335. "name": "filtername",
  9336. "in": "query"
  9337. },
  9338. {
  9339. "type": "string",
  9340. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  9341. "name": "risklevel",
  9342. "in": "query"
  9343. },
  9344. {
  9345. "type": "string",
  9346. "description": "开始交易日(yyyymmdd)",
  9347. "name": "begindate",
  9348. "in": "query"
  9349. },
  9350. {
  9351. "type": "string",
  9352. "description": "结束交易日(yyyymmdd)",
  9353. "name": "enddate",
  9354. "in": "query"
  9355. }
  9356. ],
  9357. "responses": {
  9358. "200": {
  9359. "description": "OK",
  9360. "schema": {
  9361. "type": "array",
  9362. "items": {
  9363. "$ref": "#/definitions/models.QhjMgrContract"
  9364. }
  9365. }
  9366. },
  9367. "500": {
  9368. "description": "Internal Server Error",
  9369. "schema": {
  9370. "$ref": "#/definitions/app.Response"
  9371. }
  9372. }
  9373. }
  9374. }
  9375. },
  9376. "/QhjMgr/QueryCustomerInfo": {
  9377. "get": {
  9378. "security": [
  9379. {
  9380. "ApiKeyAuth": []
  9381. }
  9382. ],
  9383. "produces": [
  9384. "application/json"
  9385. ],
  9386. "tags": [
  9387. "大连千海金(PCWeb)"
  9388. ],
  9389. "summary": "查询客户资料",
  9390. "parameters": [
  9391. {
  9392. "type": "integer",
  9393. "description": "用户ID",
  9394. "name": "userid",
  9395. "in": "query",
  9396. "required": true
  9397. },
  9398. {
  9399. "type": "integer",
  9400. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9401. "name": "querytype",
  9402. "in": "query",
  9403. "required": true
  9404. },
  9405. {
  9406. "type": "integer",
  9407. "description": "客户类型 1-个人 2-企业",
  9408. "name": "userinfotype",
  9409. "in": "query"
  9410. },
  9411. {
  9412. "type": "string",
  9413. "description": "客户名称(模糊匹配)",
  9414. "name": "customername",
  9415. "in": "query"
  9416. },
  9417. {
  9418. "type": "string",
  9419. "description": "昵称(模糊匹配)",
  9420. "name": "nickname",
  9421. "in": "query"
  9422. },
  9423. {
  9424. "type": "string",
  9425. "description": "所属客户经理(模糊匹配)",
  9426. "name": "brokername",
  9427. "in": "query"
  9428. },
  9429. {
  9430. "type": "string",
  9431. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  9432. "name": "birthday",
  9433. "in": "query"
  9434. },
  9435. {
  9436. "type": "integer",
  9437. "description": "是否包含子级 1-包含",
  9438. "name": "includesub",
  9439. "in": "query"
  9440. }
  9441. ],
  9442. "responses": {
  9443. "200": {
  9444. "description": "OK",
  9445. "schema": {
  9446. "type": "array",
  9447. "items": {
  9448. "$ref": "#/definitions/models.QhjMgrCustomer"
  9449. }
  9450. }
  9451. },
  9452. "500": {
  9453. "description": "Internal Server Error",
  9454. "schema": {
  9455. "$ref": "#/definitions/app.Response"
  9456. }
  9457. }
  9458. }
  9459. }
  9460. },
  9461. "/QhjMgr/QueryPickGoods": {
  9462. "get": {
  9463. "security": [
  9464. {
  9465. "ApiKeyAuth": []
  9466. }
  9467. ],
  9468. "produces": [
  9469. "application/json"
  9470. ],
  9471. "tags": [
  9472. "大连千海金(PCWeb)"
  9473. ],
  9474. "summary": "查询提货商品",
  9475. "parameters": [
  9476. {
  9477. "type": "string",
  9478. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9479. "name": "status",
  9480. "in": "query"
  9481. }
  9482. ],
  9483. "responses": {
  9484. "200": {
  9485. "description": "OK",
  9486. "schema": {
  9487. "type": "array",
  9488. "items": {
  9489. "$ref": "#/definitions/models.QhjMgrPickGoods"
  9490. }
  9491. }
  9492. },
  9493. "500": {
  9494. "description": "Internal Server Error",
  9495. "schema": {
  9496. "$ref": "#/definitions/app.Response"
  9497. }
  9498. }
  9499. }
  9500. }
  9501. },
  9502. "/QhjMgr/QuerySubArea": {
  9503. "get": {
  9504. "security": [
  9505. {
  9506. "ApiKeyAuth": []
  9507. }
  9508. ],
  9509. "produces": [
  9510. "application/json"
  9511. ],
  9512. "tags": [
  9513. "大连千海金(PCWeb)"
  9514. ],
  9515. "summary": "查询子机构列表",
  9516. "parameters": [
  9517. {
  9518. "type": "integer",
  9519. "description": "用户ID",
  9520. "name": "userid",
  9521. "in": "query",
  9522. "required": true
  9523. }
  9524. ],
  9525. "responses": {
  9526. "200": {
  9527. "description": "OK",
  9528. "schema": {
  9529. "type": "array",
  9530. "items": {
  9531. "$ref": "#/definitions/models.QhjMgrSubArea"
  9532. }
  9533. }
  9534. },
  9535. "500": {
  9536. "description": "Internal Server Error",
  9537. "schema": {
  9538. "$ref": "#/definitions/app.Response"
  9539. }
  9540. }
  9541. }
  9542. }
  9543. },
  9544. "/QhjMgr/QueryTradeDetail": {
  9545. "get": {
  9546. "security": [
  9547. {
  9548. "ApiKeyAuth": []
  9549. }
  9550. ],
  9551. "produces": [
  9552. "application/json"
  9553. ],
  9554. "tags": [
  9555. "大连千海金(PCWeb)"
  9556. ],
  9557. "summary": "查询成交明细",
  9558. "parameters": [
  9559. {
  9560. "type": "integer",
  9561. "description": "用户ID",
  9562. "name": "userid",
  9563. "in": "query",
  9564. "required": true
  9565. },
  9566. {
  9567. "type": "integer",
  9568. "description": "用户类型 1-个人 2-企业",
  9569. "name": "userinfotype",
  9570. "in": "query"
  9571. },
  9572. {
  9573. "type": "integer",
  9574. "description": "交易模式",
  9575. "name": "trademode",
  9576. "in": "query"
  9577. },
  9578. {
  9579. "type": "integer",
  9580. "description": "商品id",
  9581. "name": "goodsid",
  9582. "in": "query"
  9583. },
  9584. {
  9585. "type": "string",
  9586. "description": "名称(模糊搜索账户)",
  9587. "name": "filtername",
  9588. "in": "query"
  9589. },
  9590. {
  9591. "type": "string",
  9592. "description": "开始交易日(yyyymmdd)",
  9593. "name": "begindate",
  9594. "in": "query"
  9595. },
  9596. {
  9597. "type": "string",
  9598. "description": "结束交易日(yyyymmdd)",
  9599. "name": "enddate",
  9600. "in": "query"
  9601. },
  9602. {
  9603. "type": "integer",
  9604. "description": "是否包含子级 1-包含",
  9605. "name": "includesub",
  9606. "in": "query"
  9607. }
  9608. ],
  9609. "responses": {
  9610. "200": {
  9611. "description": "OK",
  9612. "schema": {
  9613. "type": "array",
  9614. "items": {
  9615. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  9616. }
  9617. }
  9618. },
  9619. "500": {
  9620. "description": "Internal Server Error",
  9621. "schema": {
  9622. "$ref": "#/definitions/app.Response"
  9623. }
  9624. }
  9625. }
  9626. }
  9627. },
  9628. "/QhjMgr/QueryTradeOrderDetail": {
  9629. "get": {
  9630. "security": [
  9631. {
  9632. "ApiKeyAuth": []
  9633. }
  9634. ],
  9635. "produces": [
  9636. "application/json"
  9637. ],
  9638. "tags": [
  9639. "大连千海金(PCWeb)"
  9640. ],
  9641. "summary": "查询委托明细",
  9642. "parameters": [
  9643. {
  9644. "type": "integer",
  9645. "description": "用户ID",
  9646. "name": "userid",
  9647. "in": "query",
  9648. "required": true
  9649. },
  9650. {
  9651. "type": "integer",
  9652. "description": "用户类型 1-个人 2-企业",
  9653. "name": "userinfotype",
  9654. "in": "query"
  9655. },
  9656. {
  9657. "type": "integer",
  9658. "description": "交易模式",
  9659. "name": "trademode",
  9660. "in": "query"
  9661. },
  9662. {
  9663. "type": "integer",
  9664. "description": "商品id",
  9665. "name": "goodsid",
  9666. "in": "query"
  9667. },
  9668. {
  9669. "type": "string",
  9670. "description": "名称(模糊搜索账户)",
  9671. "name": "filtername",
  9672. "in": "query"
  9673. },
  9674. {
  9675. "type": "string",
  9676. "description": "开始交易日(yyyymmdd)",
  9677. "name": "begindate",
  9678. "in": "query"
  9679. },
  9680. {
  9681. "type": "string",
  9682. "description": "结束交易日(yyyymmdd)",
  9683. "name": "enddate",
  9684. "in": "query"
  9685. },
  9686. {
  9687. "type": "integer",
  9688. "description": "是否包含子级 1-包含",
  9689. "name": "includesub",
  9690. "in": "query"
  9691. }
  9692. ],
  9693. "responses": {
  9694. "200": {
  9695. "description": "OK",
  9696. "schema": {
  9697. "type": "array",
  9698. "items": {
  9699. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  9700. }
  9701. }
  9702. },
  9703. "500": {
  9704. "description": "Internal Server Error",
  9705. "schema": {
  9706. "$ref": "#/definitions/app.Response"
  9707. }
  9708. }
  9709. }
  9710. }
  9711. },
  9712. "/QhjMgr/QueryTradePayOrder": {
  9713. "get": {
  9714. "security": [
  9715. {
  9716. "ApiKeyAuth": []
  9717. }
  9718. ],
  9719. "produces": [
  9720. "application/json"
  9721. ],
  9722. "tags": [
  9723. "大连千海金(PCWeb)"
  9724. ],
  9725. "summary": "查询待付款单",
  9726. "parameters": [
  9727. {
  9728. "type": "integer",
  9729. "description": "用户ID",
  9730. "name": "userid",
  9731. "in": "query",
  9732. "required": true
  9733. },
  9734. {
  9735. "type": "string",
  9736. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9737. "name": "payflag",
  9738. "in": "query"
  9739. },
  9740. {
  9741. "type": "integer",
  9742. "description": "用户类型 1-个人 2-企业",
  9743. "name": "userinfotype",
  9744. "in": "query"
  9745. },
  9746. {
  9747. "type": "integer",
  9748. "description": "交易模式",
  9749. "name": "trademode",
  9750. "in": "query"
  9751. },
  9752. {
  9753. "type": "integer",
  9754. "description": "商品id",
  9755. "name": "goodsid",
  9756. "in": "query"
  9757. },
  9758. {
  9759. "type": "string",
  9760. "description": "名称(模糊搜索账户)",
  9761. "name": "filtername",
  9762. "in": "query"
  9763. },
  9764. {
  9765. "type": "string",
  9766. "description": "开始交易日(yyyymmdd)",
  9767. "name": "begindate",
  9768. "in": "query"
  9769. },
  9770. {
  9771. "type": "string",
  9772. "description": "结束交易日(yyyymmdd)",
  9773. "name": "enddate",
  9774. "in": "query"
  9775. },
  9776. {
  9777. "type": "integer",
  9778. "description": "是否包含子级 1-包含",
  9779. "name": "includesub",
  9780. "in": "query"
  9781. }
  9782. ],
  9783. "responses": {
  9784. "200": {
  9785. "description": "OK",
  9786. "schema": {
  9787. "type": "array",
  9788. "items": {
  9789. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9790. }
  9791. }
  9792. },
  9793. "500": {
  9794. "description": "Internal Server Error",
  9795. "schema": {
  9796. "$ref": "#/definitions/app.Response"
  9797. }
  9798. }
  9799. }
  9800. }
  9801. },
  9802. "/QhjMgr/QueryTradePosition": {
  9803. "get": {
  9804. "security": [
  9805. {
  9806. "ApiKeyAuth": []
  9807. }
  9808. ],
  9809. "produces": [
  9810. "application/json"
  9811. ],
  9812. "tags": [
  9813. "大连千海金(PCWeb)"
  9814. ],
  9815. "summary": "查询持仓汇总",
  9816. "parameters": [
  9817. {
  9818. "type": "integer",
  9819. "description": "用户ID",
  9820. "name": "userid",
  9821. "in": "query",
  9822. "required": true
  9823. },
  9824. {
  9825. "type": "integer",
  9826. "description": "用户类型 1-个人 2-企业",
  9827. "name": "userinfotype",
  9828. "in": "query"
  9829. },
  9830. {
  9831. "type": "integer",
  9832. "description": "交易模式",
  9833. "name": "trademode",
  9834. "in": "query"
  9835. },
  9836. {
  9837. "type": "integer",
  9838. "description": "商品id",
  9839. "name": "goodsid",
  9840. "in": "query"
  9841. },
  9842. {
  9843. "type": "string",
  9844. "description": "名称(模糊搜索账户)",
  9845. "name": "filtername",
  9846. "in": "query"
  9847. },
  9848. {
  9849. "type": "integer",
  9850. "description": "是否包含子级 1-包含",
  9851. "name": "includesub",
  9852. "in": "query"
  9853. }
  9854. ],
  9855. "responses": {
  9856. "200": {
  9857. "description": "OK",
  9858. "schema": {
  9859. "type": "array",
  9860. "items": {
  9861. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9862. }
  9863. }
  9864. },
  9865. "500": {
  9866. "description": "Internal Server Error",
  9867. "schema": {
  9868. "$ref": "#/definitions/app.Response"
  9869. }
  9870. }
  9871. }
  9872. }
  9873. },
  9874. "/QhjSys/QueryAgreementChangeLog": {
  9875. "get": {
  9876. "security": [
  9877. {
  9878. "ApiKeyAuth": []
  9879. }
  9880. ],
  9881. "produces": [
  9882. "application/json"
  9883. ],
  9884. "tags": [
  9885. "大连千海金(协议和签约信息)"
  9886. ],
  9887. "summary": "查询协议配置变更流水",
  9888. "parameters": [
  9889. {
  9890. "type": "integer",
  9891. "description": "协议ID",
  9892. "name": "agreementid",
  9893. "in": "query"
  9894. },
  9895. {
  9896. "type": "integer",
  9897. "description": "协议版本号",
  9898. "name": "agreementversion",
  9899. "in": "query"
  9900. },
  9901. {
  9902. "type": "integer",
  9903. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9904. "name": "agreementtype",
  9905. "in": "query"
  9906. },
  9907. {
  9908. "type": "string",
  9909. "description": "协议编号(模糊匹配)",
  9910. "name": "agreementno",
  9911. "in": "query"
  9912. },
  9913. {
  9914. "type": "string",
  9915. "description": "协议名称(模糊匹配)",
  9916. "name": "agreementname",
  9917. "in": "query"
  9918. }
  9919. ],
  9920. "responses": {
  9921. "200": {
  9922. "description": "OK",
  9923. "schema": {
  9924. "type": "array",
  9925. "items": {
  9926. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9927. }
  9928. }
  9929. },
  9930. "500": {
  9931. "description": "Internal Server Error",
  9932. "schema": {
  9933. "$ref": "#/definitions/app.Response"
  9934. }
  9935. }
  9936. }
  9937. }
  9938. },
  9939. "/QhjSys/QueryAgreementConfig": {
  9940. "get": {
  9941. "security": [
  9942. {
  9943. "ApiKeyAuth": []
  9944. }
  9945. ],
  9946. "produces": [
  9947. "application/json"
  9948. ],
  9949. "tags": [
  9950. "大连千海金(协议和签约信息)"
  9951. ],
  9952. "summary": "查询协议配置",
  9953. "parameters": [
  9954. {
  9955. "type": "integer",
  9956. "description": "协议ID",
  9957. "name": "agreementid",
  9958. "in": "query"
  9959. },
  9960. {
  9961. "type": "integer",
  9962. "description": "协议版本号",
  9963. "name": "agreementversion",
  9964. "in": "query"
  9965. },
  9966. {
  9967. "type": "integer",
  9968. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9969. "name": "agreementtype",
  9970. "in": "query"
  9971. },
  9972. {
  9973. "type": "integer",
  9974. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  9975. "name": "isvalid",
  9976. "in": "query"
  9977. },
  9978. {
  9979. "type": "string",
  9980. "description": "协议编号(模糊匹配)",
  9981. "name": "agreementno",
  9982. "in": "query"
  9983. },
  9984. {
  9985. "type": "string",
  9986. "description": "协议名称(模糊匹配)",
  9987. "name": "agreementname",
  9988. "in": "query"
  9989. }
  9990. ],
  9991. "responses": {
  9992. "200": {
  9993. "description": "OK",
  9994. "schema": {
  9995. "type": "array",
  9996. "items": {
  9997. "$ref": "#/definitions/models.QhjAgreementConfig"
  9998. }
  9999. }
  10000. },
  10001. "500": {
  10002. "description": "Internal Server Error",
  10003. "schema": {
  10004. "$ref": "#/definitions/app.Response"
  10005. }
  10006. }
  10007. }
  10008. }
  10009. },
  10010. "/QhjSys/QueryCustomerSignStatus": {
  10011. "get": {
  10012. "security": [
  10013. {
  10014. "ApiKeyAuth": []
  10015. }
  10016. ],
  10017. "produces": [
  10018. "application/json"
  10019. ],
  10020. "tags": [
  10021. "大连千海金(协议和签约信息)"
  10022. ],
  10023. "summary": "查询客户协议签约状态",
  10024. "parameters": [
  10025. {
  10026. "type": "integer",
  10027. "description": "客户ID",
  10028. "name": "userid",
  10029. "in": "query"
  10030. },
  10031. {
  10032. "type": "integer",
  10033. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  10034. "name": "nodetype",
  10035. "in": "query"
  10036. },
  10037. {
  10038. "type": "integer",
  10039. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10040. "name": "goodsid",
  10041. "in": "query"
  10042. },
  10043. {
  10044. "type": "string",
  10045. "description": "创建交易日(yyyyMMdd)",
  10046. "name": "tradedate",
  10047. "in": "query"
  10048. },
  10049. {
  10050. "type": "string",
  10051. "description": "用户名称(模糊匹配)",
  10052. "name": "username",
  10053. "in": "query"
  10054. }
  10055. ],
  10056. "responses": {
  10057. "200": {
  10058. "description": "OK",
  10059. "schema": {
  10060. "type": "array",
  10061. "items": {
  10062. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  10063. }
  10064. }
  10065. },
  10066. "500": {
  10067. "description": "Internal Server Error",
  10068. "schema": {
  10069. "$ref": "#/definitions/app.Response"
  10070. }
  10071. }
  10072. }
  10073. }
  10074. },
  10075. "/QhjSys/QueryNodeAgreementConfig": {
  10076. "get": {
  10077. "security": [
  10078. {
  10079. "ApiKeyAuth": []
  10080. }
  10081. ],
  10082. "produces": [
  10083. "application/json"
  10084. ],
  10085. "tags": [
  10086. "大连千海金(协议和签约信息)"
  10087. ],
  10088. "summary": "查询协议节点配置",
  10089. "parameters": [
  10090. {
  10091. "type": "integer",
  10092. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10093. "name": "configid",
  10094. "in": "query"
  10095. },
  10096. {
  10097. "type": "integer",
  10098. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10099. "name": "nodetype",
  10100. "in": "query"
  10101. },
  10102. {
  10103. "type": "integer",
  10104. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10105. "name": "goodsid",
  10106. "in": "query"
  10107. },
  10108. {
  10109. "type": "integer",
  10110. "description": "协议ID",
  10111. "name": "agreementid",
  10112. "in": "query"
  10113. },
  10114. {
  10115. "type": "integer",
  10116. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10117. "name": "agreementtype",
  10118. "in": "query"
  10119. },
  10120. {
  10121. "type": "integer",
  10122. "description": "协议版本号",
  10123. "name": "agreementversion",
  10124. "in": "query"
  10125. },
  10126. {
  10127. "type": "string",
  10128. "description": "协议编号(模糊匹配)",
  10129. "name": "agreementno",
  10130. "in": "query"
  10131. },
  10132. {
  10133. "type": "string",
  10134. "description": "协议名称(模糊匹配)",
  10135. "name": "agreementname",
  10136. "in": "query"
  10137. }
  10138. ],
  10139. "responses": {
  10140. "200": {
  10141. "description": "OK",
  10142. "schema": {
  10143. "type": "array",
  10144. "items": {
  10145. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  10146. }
  10147. }
  10148. },
  10149. "500": {
  10150. "description": "Internal Server Error",
  10151. "schema": {
  10152. "$ref": "#/definitions/app.Response"
  10153. }
  10154. }
  10155. }
  10156. }
  10157. },
  10158. "/QhjSys/QueryQhjCustomerSignLog": {
  10159. "get": {
  10160. "security": [
  10161. {
  10162. "ApiKeyAuth": []
  10163. }
  10164. ],
  10165. "produces": [
  10166. "application/json"
  10167. ],
  10168. "tags": [
  10169. "大连千海金(协议和签约信息)"
  10170. ],
  10171. "summary": "查询客户协议签约流水",
  10172. "parameters": [
  10173. {
  10174. "type": "integer",
  10175. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  10176. "name": "logid",
  10177. "in": "query"
  10178. },
  10179. {
  10180. "type": "integer",
  10181. "description": "客户ID",
  10182. "name": "userid",
  10183. "in": "query"
  10184. },
  10185. {
  10186. "type": "integer",
  10187. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10188. "name": "nodetype",
  10189. "in": "query"
  10190. },
  10191. {
  10192. "type": "integer",
  10193. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10194. "name": "goodsid",
  10195. "in": "query"
  10196. },
  10197. {
  10198. "type": "integer",
  10199. "description": "协议ID",
  10200. "name": "agreementid",
  10201. "in": "query"
  10202. },
  10203. {
  10204. "type": "string",
  10205. "description": "用户名称(模糊匹配)",
  10206. "name": "username",
  10207. "in": "query"
  10208. },
  10209. {
  10210. "type": "string",
  10211. "description": "协议编号(模糊匹配)",
  10212. "name": "agreementno",
  10213. "in": "query"
  10214. },
  10215. {
  10216. "type": "string",
  10217. "description": "协议名称(模糊匹配)",
  10218. "name": "agreementname",
  10219. "in": "query"
  10220. }
  10221. ],
  10222. "responses": {
  10223. "200": {
  10224. "description": "OK",
  10225. "schema": {
  10226. "type": "array",
  10227. "items": {
  10228. "$ref": "#/definitions/models.QhjCustomerSignLog"
  10229. }
  10230. }
  10231. },
  10232. "500": {
  10233. "description": "Internal Server Error",
  10234. "schema": {
  10235. "$ref": "#/definitions/app.Response"
  10236. }
  10237. }
  10238. }
  10239. }
  10240. },
  10241. "/QhjSys/QueryUserNodeCfgAndStatus": {
  10242. "get": {
  10243. "security": [
  10244. {
  10245. "ApiKeyAuth": []
  10246. }
  10247. ],
  10248. "produces": [
  10249. "application/json"
  10250. ],
  10251. "tags": [
  10252. "大连千海金(协议和签约信息)"
  10253. ],
  10254. "summary": "查询用户协议节点配置和状态",
  10255. "parameters": [
  10256. {
  10257. "type": "integer",
  10258. "description": "客户ID",
  10259. "name": "userid",
  10260. "in": "query"
  10261. },
  10262. {
  10263. "type": "integer",
  10264. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10265. "name": "configid",
  10266. "in": "query"
  10267. },
  10268. {
  10269. "type": "string",
  10270. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10271. "name": "nodetype",
  10272. "in": "query"
  10273. },
  10274. {
  10275. "type": "integer",
  10276. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10277. "name": "goodsid",
  10278. "in": "query"
  10279. },
  10280. {
  10281. "type": "integer",
  10282. "description": "协议ID",
  10283. "name": "agreementid",
  10284. "in": "query"
  10285. },
  10286. {
  10287. "type": "integer",
  10288. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10289. "name": "agreementtype",
  10290. "in": "query"
  10291. },
  10292. {
  10293. "type": "integer",
  10294. "description": "协议版本号",
  10295. "name": "agreementversion",
  10296. "in": "query"
  10297. },
  10298. {
  10299. "type": "string",
  10300. "description": "协议编号(模糊匹配)",
  10301. "name": "agreementno",
  10302. "in": "query"
  10303. },
  10304. {
  10305. "type": "string",
  10306. "description": "协议名称(模糊匹配)",
  10307. "name": "agreementname",
  10308. "in": "query"
  10309. }
  10310. ],
  10311. "responses": {
  10312. "200": {
  10313. "description": "OK",
  10314. "schema": {
  10315. "type": "array",
  10316. "items": {
  10317. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  10318. }
  10319. }
  10320. },
  10321. "500": {
  10322. "description": "Internal Server Error",
  10323. "schema": {
  10324. "$ref": "#/definitions/app.Response"
  10325. }
  10326. }
  10327. }
  10328. }
  10329. },
  10330. "/Quote/QueryHistoryDatas": {
  10331. "get": {
  10332. "security": [
  10333. {
  10334. "ApiKeyAuth": []
  10335. }
  10336. ],
  10337. "produces": [
  10338. "application/json"
  10339. ],
  10340. "tags": [
  10341. "行情服务"
  10342. ],
  10343. "summary": "查询行情历史数据",
  10344. "parameters": [
  10345. {
  10346. "type": "integer",
  10347. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  10348. "name": "cycleType",
  10349. "in": "query",
  10350. "required": true
  10351. },
  10352. {
  10353. "type": "string",
  10354. "description": "商品代码",
  10355. "name": "goodsCode",
  10356. "in": "query",
  10357. "required": true
  10358. },
  10359. {
  10360. "type": "string",
  10361. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10362. "name": "startTime",
  10363. "in": "query"
  10364. },
  10365. {
  10366. "type": "string",
  10367. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10368. "name": "endTime",
  10369. "in": "query"
  10370. },
  10371. {
  10372. "type": "integer",
  10373. "description": "条数",
  10374. "name": "count",
  10375. "in": "query"
  10376. },
  10377. {
  10378. "type": "boolean",
  10379. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10380. "name": "isAsc",
  10381. "in": "query"
  10382. }
  10383. ],
  10384. "responses": {
  10385. "200": {
  10386. "description": "OK",
  10387. "schema": {
  10388. "$ref": "#/definitions/quote.HistoryData"
  10389. }
  10390. },
  10391. "500": {
  10392. "description": "Internal Server Error",
  10393. "schema": {
  10394. "$ref": "#/definitions/app.Response"
  10395. }
  10396. }
  10397. }
  10398. }
  10399. },
  10400. "/Quote/QueryHistoryTikDatas": {
  10401. "get": {
  10402. "security": [
  10403. {
  10404. "ApiKeyAuth": []
  10405. }
  10406. ],
  10407. "produces": [
  10408. "application/json"
  10409. ],
  10410. "tags": [
  10411. "行情服务"
  10412. ],
  10413. "summary": "查询行情Tik数据",
  10414. "parameters": [
  10415. {
  10416. "type": "string",
  10417. "description": "商品代码",
  10418. "name": "goodsCode",
  10419. "in": "query",
  10420. "required": true
  10421. },
  10422. {
  10423. "type": "string",
  10424. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10425. "name": "startTime",
  10426. "in": "query"
  10427. },
  10428. {
  10429. "type": "string",
  10430. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10431. "name": "endTime",
  10432. "in": "query"
  10433. },
  10434. {
  10435. "type": "integer",
  10436. "description": "条数",
  10437. "name": "count",
  10438. "in": "query"
  10439. },
  10440. {
  10441. "type": "boolean",
  10442. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10443. "name": "isAsc",
  10444. "in": "query"
  10445. }
  10446. ],
  10447. "responses": {
  10448. "200": {
  10449. "description": "OK",
  10450. "schema": {
  10451. "$ref": "#/definitions/quote.HistoryTikData"
  10452. }
  10453. },
  10454. "500": {
  10455. "description": "Internal Server Error",
  10456. "schema": {
  10457. "$ref": "#/definitions/app.Response"
  10458. }
  10459. }
  10460. }
  10461. }
  10462. },
  10463. "/Quote/QueryQuoteDay": {
  10464. "get": {
  10465. "security": [
  10466. {
  10467. "ApiKeyAuth": []
  10468. }
  10469. ],
  10470. "produces": [
  10471. "application/json"
  10472. ],
  10473. "tags": [
  10474. "行情服务"
  10475. ],
  10476. "summary": "获取商品盘面信息",
  10477. "parameters": [
  10478. {
  10479. "type": "string",
  10480. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  10481. "name": "goodsCodes",
  10482. "in": "query",
  10483. "required": true
  10484. }
  10485. ],
  10486. "responses": {
  10487. "200": {
  10488. "description": "OK",
  10489. "schema": {
  10490. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  10491. }
  10492. },
  10493. "500": {
  10494. "description": "Internal Server Error",
  10495. "schema": {
  10496. "$ref": "#/definitions/app.Response"
  10497. }
  10498. }
  10499. }
  10500. }
  10501. },
  10502. "/Quote/QueryTSData": {
  10503. "get": {
  10504. "security": [
  10505. {
  10506. "ApiKeyAuth": []
  10507. }
  10508. ],
  10509. "produces": [
  10510. "application/json"
  10511. ],
  10512. "tags": [
  10513. "行情服务"
  10514. ],
  10515. "summary": "分时图数据查询",
  10516. "parameters": [
  10517. {
  10518. "type": "string",
  10519. "description": "商品代码",
  10520. "name": "goodsCode",
  10521. "in": "query",
  10522. "required": true
  10523. }
  10524. ],
  10525. "responses": {
  10526. "200": {
  10527. "description": "OK",
  10528. "schema": {
  10529. "$ref": "#/definitions/quote.QueryTSDataRsp"
  10530. }
  10531. },
  10532. "500": {
  10533. "description": "Internal Server Error",
  10534. "schema": {
  10535. "$ref": "#/definitions/app.Response"
  10536. }
  10537. }
  10538. }
  10539. }
  10540. },
  10541. "/SZDZ/QueryConvertConfig": {
  10542. "get": {
  10543. "security": [
  10544. {
  10545. "ApiKeyAuth": []
  10546. }
  10547. ],
  10548. "produces": [
  10549. "application/json"
  10550. ],
  10551. "tags": [
  10552. "定制【尚志大宗】"
  10553. ],
  10554. "summary": "查询交易系统转换设置",
  10555. "parameters": [
  10556. {
  10557. "type": "integer",
  10558. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10559. "name": "convertType",
  10560. "in": "query"
  10561. },
  10562. {
  10563. "type": "string",
  10564. "description": "外部商品代码[JD\\PD]",
  10565. "name": "outerGoodsCode",
  10566. "in": "query"
  10567. },
  10568. {
  10569. "type": "string",
  10570. "description": "内部商品ID列表[交易],格式:1,2,3",
  10571. "name": "innerGoodsIDs",
  10572. "in": "query"
  10573. }
  10574. ],
  10575. "responses": {
  10576. "200": {
  10577. "description": "OK",
  10578. "schema": {
  10579. "$ref": "#/definitions/models.Szdz3convertconfig"
  10580. }
  10581. },
  10582. "500": {
  10583. "description": "Internal Server Error",
  10584. "schema": {
  10585. "$ref": "#/definitions/app.Response"
  10586. }
  10587. }
  10588. }
  10589. }
  10590. },
  10591. "/SZDZ/QueryConvertLog": {
  10592. "get": {
  10593. "security": [
  10594. {
  10595. "ApiKeyAuth": []
  10596. }
  10597. ],
  10598. "produces": [
  10599. "application/json"
  10600. ],
  10601. "tags": [
  10602. "定制【尚志大宗】"
  10603. ],
  10604. "summary": "交易系统转换流水查询",
  10605. "parameters": [
  10606. {
  10607. "type": "string",
  10608. "description": "资金账户 - 格式:1,2,3",
  10609. "name": "accountID",
  10610. "in": "query",
  10611. "required": true
  10612. },
  10613. {
  10614. "type": "string",
  10615. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10616. "name": "startDate",
  10617. "in": "query"
  10618. },
  10619. {
  10620. "type": "string",
  10621. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10622. "name": "endDate",
  10623. "in": "query"
  10624. }
  10625. ],
  10626. "responses": {
  10627. "200": {
  10628. "description": "OK",
  10629. "schema": {
  10630. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  10631. }
  10632. },
  10633. "500": {
  10634. "description": "Internal Server Error",
  10635. "schema": {
  10636. "$ref": "#/definitions/app.Response"
  10637. }
  10638. }
  10639. }
  10640. }
  10641. },
  10642. "/SZDZ/QueryGoodsPickup": {
  10643. "get": {
  10644. "security": [
  10645. {
  10646. "ApiKeyAuth": []
  10647. }
  10648. ],
  10649. "produces": [
  10650. "application/json"
  10651. ],
  10652. "tags": [
  10653. "定制【尚志大宗】"
  10654. ],
  10655. "summary": "商品提货单查询",
  10656. "parameters": [
  10657. {
  10658. "type": "string",
  10659. "description": "资金账户 - 格式:1,2,3",
  10660. "name": "accountID",
  10661. "in": "query",
  10662. "required": true
  10663. },
  10664. {
  10665. "type": "integer",
  10666. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10667. "name": "takeOrderStatus",
  10668. "in": "query"
  10669. }
  10670. ],
  10671. "responses": {
  10672. "200": {
  10673. "description": "OK",
  10674. "schema": {
  10675. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  10676. }
  10677. },
  10678. "500": {
  10679. "description": "Internal Server Error",
  10680. "schema": {
  10681. "$ref": "#/definitions/app.Response"
  10682. }
  10683. }
  10684. }
  10685. }
  10686. },
  10687. "/SZDZ/QueryRecieptOrder": {
  10688. "get": {
  10689. "security": [
  10690. {
  10691. "ApiKeyAuth": []
  10692. }
  10693. ],
  10694. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10695. "produces": [
  10696. "application/json"
  10697. ],
  10698. "tags": [
  10699. "定制【尚志大宗】"
  10700. ],
  10701. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  10702. "parameters": [
  10703. {
  10704. "type": "integer",
  10705. "description": "页码",
  10706. "name": "page",
  10707. "in": "query"
  10708. },
  10709. {
  10710. "type": "integer",
  10711. "description": "每页条数",
  10712. "name": "pagesize",
  10713. "in": "query"
  10714. },
  10715. {
  10716. "type": "integer",
  10717. "description": "商品ID",
  10718. "name": "goodsID",
  10719. "in": "query",
  10720. "required": true
  10721. },
  10722. {
  10723. "type": "string",
  10724. "description": "所属账户名称",
  10725. "name": "accountName",
  10726. "in": "query"
  10727. },
  10728. {
  10729. "type": "integer",
  10730. "description": "市场ID",
  10731. "name": "marketID",
  10732. "in": "query"
  10733. },
  10734. {
  10735. "type": "integer",
  10736. "description": "方向 - 0:买 1:卖",
  10737. "name": "buyorsell",
  10738. "in": "query",
  10739. "required": true
  10740. }
  10741. ],
  10742. "responses": {
  10743. "200": {
  10744. "description": "OK",
  10745. "schema": {
  10746. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10747. }
  10748. },
  10749. "500": {
  10750. "description": "Internal Server Error",
  10751. "schema": {
  10752. "$ref": "#/definitions/app.Response"
  10753. }
  10754. }
  10755. }
  10756. }
  10757. },
  10758. "/SZDZ/QuerySZDZTradePosition": {
  10759. "get": {
  10760. "security": [
  10761. {
  10762. "ApiKeyAuth": []
  10763. }
  10764. ],
  10765. "produces": [
  10766. "application/json"
  10767. ],
  10768. "tags": [
  10769. "定制【尚志大宗】"
  10770. ],
  10771. "summary": "持仓汇总查询(尚志大宗)",
  10772. "parameters": [
  10773. {
  10774. "type": "integer",
  10775. "description": "资金账户",
  10776. "name": "accountID",
  10777. "in": "query",
  10778. "required": true
  10779. }
  10780. ],
  10781. "responses": {
  10782. "200": {
  10783. "description": "OK",
  10784. "schema": {
  10785. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10786. }
  10787. },
  10788. "500": {
  10789. "description": "Internal Server Error",
  10790. "schema": {
  10791. "$ref": "#/definitions/app.Response"
  10792. }
  10793. }
  10794. }
  10795. }
  10796. },
  10797. "/SZDZ/SearchWhite": {
  10798. "get": {
  10799. "security": [
  10800. {
  10801. "ApiKeyAuth": []
  10802. }
  10803. ],
  10804. "produces": [
  10805. "application/json"
  10806. ],
  10807. "tags": [
  10808. "定制【尚志大宗】"
  10809. ],
  10810. "summary": "搜索白名单",
  10811. "parameters": [
  10812. {
  10813. "type": "integer",
  10814. "description": "用户ID",
  10815. "name": "userID",
  10816. "in": "query",
  10817. "required": true
  10818. }
  10819. ],
  10820. "responses": {
  10821. "200": {
  10822. "description": "OK",
  10823. "schema": {
  10824. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10825. }
  10826. },
  10827. "500": {
  10828. "description": "Internal Server Error",
  10829. "schema": {
  10830. "$ref": "#/definitions/app.Response"
  10831. }
  10832. }
  10833. }
  10834. }
  10835. },
  10836. "/Search/SearchGoodses": {
  10837. "get": {
  10838. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10839. "produces": [
  10840. "application/json"
  10841. ],
  10842. "tags": [
  10843. "检索服务"
  10844. ],
  10845. "summary": "检索商品信息",
  10846. "parameters": [
  10847. {
  10848. "type": "string",
  10849. "description": "检索内容",
  10850. "name": "content",
  10851. "in": "query",
  10852. "required": true
  10853. },
  10854. {
  10855. "type": "string",
  10856. "description": "交易模式,格式:1,2,3",
  10857. "name": "tradeModes",
  10858. "in": "query"
  10859. }
  10860. ],
  10861. "responses": {
  10862. "200": {
  10863. "description": "OK",
  10864. "schema": {
  10865. "$ref": "#/definitions/models.SearchGoods"
  10866. }
  10867. },
  10868. "500": {
  10869. "description": "Internal Server Error",
  10870. "schema": {
  10871. "$ref": "#/definitions/app.Response"
  10872. }
  10873. }
  10874. }
  10875. }
  10876. },
  10877. "/TaAccount/GetTaAccounts": {
  10878. "get": {
  10879. "security": [
  10880. {
  10881. "ApiKeyAuth": []
  10882. }
  10883. ],
  10884. "produces": [
  10885. "application/json"
  10886. ],
  10887. "tags": [
  10888. "资金账户"
  10889. ],
  10890. "summary": "获取资金账户信息",
  10891. "parameters": [
  10892. {
  10893. "type": "integer",
  10894. "description": "登录账户",
  10895. "name": "loginID",
  10896. "in": "query",
  10897. "required": true
  10898. },
  10899. {
  10900. "type": "integer",
  10901. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10902. "name": "taAccountType",
  10903. "in": "query"
  10904. }
  10905. ],
  10906. "responses": {
  10907. "200": {
  10908. "description": "OK",
  10909. "schema": {
  10910. "$ref": "#/definitions/models.Taaccount"
  10911. }
  10912. },
  10913. "500": {
  10914. "description": "Internal Server Error",
  10915. "schema": {
  10916. "$ref": "#/definitions/app.Response"
  10917. }
  10918. }
  10919. }
  10920. }
  10921. },
  10922. "/TaAccount/QueryAmountLog": {
  10923. "get": {
  10924. "security": [
  10925. {
  10926. "ApiKeyAuth": []
  10927. }
  10928. ],
  10929. "produces": [
  10930. "application/json"
  10931. ],
  10932. "tags": [
  10933. "资金账户"
  10934. ],
  10935. "summary": "资金流水查询(当前)",
  10936. "parameters": [
  10937. {
  10938. "type": "integer",
  10939. "description": "页码",
  10940. "name": "page",
  10941. "in": "query"
  10942. },
  10943. {
  10944. "type": "integer",
  10945. "description": "每页条数",
  10946. "name": "pagesize",
  10947. "in": "query"
  10948. },
  10949. {
  10950. "type": "string",
  10951. "description": "资金账户 - 格式:1,2,3",
  10952. "name": "accountID",
  10953. "in": "query",
  10954. "required": true
  10955. },
  10956. {
  10957. "type": "string",
  10958. "description": "资金操作类型 - 格式:1,2,3",
  10959. "name": "OperateType",
  10960. "in": "query"
  10961. }
  10962. ],
  10963. "responses": {
  10964. "200": {
  10965. "description": "OK",
  10966. "schema": {
  10967. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  10968. }
  10969. },
  10970. "500": {
  10971. "description": "Internal Server Error",
  10972. "schema": {
  10973. "$ref": "#/definitions/app.Response"
  10974. }
  10975. }
  10976. }
  10977. }
  10978. },
  10979. "/TaAccount/QueryHisAmountLog": {
  10980. "get": {
  10981. "security": [
  10982. {
  10983. "ApiKeyAuth": []
  10984. }
  10985. ],
  10986. "produces": [
  10987. "application/json"
  10988. ],
  10989. "tags": [
  10990. "资金账户"
  10991. ],
  10992. "summary": "资金流水查询(历史)",
  10993. "parameters": [
  10994. {
  10995. "type": "integer",
  10996. "description": "页码",
  10997. "name": "page",
  10998. "in": "query"
  10999. },
  11000. {
  11001. "type": "integer",
  11002. "description": "每页条数",
  11003. "name": "pagesize",
  11004. "in": "query"
  11005. },
  11006. {
  11007. "type": "string",
  11008. "description": "资金账户 - 格式:1,2,3",
  11009. "name": "accountID",
  11010. "in": "query",
  11011. "required": true
  11012. },
  11013. {
  11014. "type": "string",
  11015. "description": "资金操作类型 - 格式:1,2,3",
  11016. "name": "OperateType",
  11017. "in": "query"
  11018. },
  11019. {
  11020. "type": "string",
  11021. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  11022. "name": "startDate",
  11023. "in": "query"
  11024. },
  11025. {
  11026. "type": "string",
  11027. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  11028. "name": "endDate",
  11029. "in": "query"
  11030. }
  11031. ],
  11032. "responses": {
  11033. "200": {
  11034. "description": "OK",
  11035. "schema": {
  11036. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  11037. }
  11038. },
  11039. "500": {
  11040. "description": "Internal Server Error",
  11041. "schema": {
  11042. "$ref": "#/definitions/app.Response"
  11043. }
  11044. }
  11045. }
  11046. }
  11047. },
  11048. "/Tjmd/QueryQuoteGoodsList": {
  11049. "get": {
  11050. "security": [
  11051. {
  11052. "ApiKeyAuth": []
  11053. }
  11054. ],
  11055. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  11056. "produces": [
  11057. "application/json"
  11058. ],
  11059. "tags": [
  11060. "天津麦顿"
  11061. ],
  11062. "summary": "查询掉期报价列表",
  11063. "parameters": [
  11064. {
  11065. "type": "integer",
  11066. "description": "用户类型",
  11067. "name": "usertype",
  11068. "in": "query",
  11069. "required": true
  11070. },
  11071. {
  11072. "type": "string",
  11073. "description": "市场id, 格式 1,2,3",
  11074. "name": "marketids",
  11075. "in": "query"
  11076. },
  11077. {
  11078. "type": "integer",
  11079. "description": "商品组id",
  11080. "name": "goodsgroupid",
  11081. "in": "query"
  11082. },
  11083. {
  11084. "type": "integer",
  11085. "description": "商品id",
  11086. "name": "goodsid",
  11087. "in": "query"
  11088. }
  11089. ],
  11090. "responses": {
  11091. "200": {
  11092. "description": "OK",
  11093. "schema": {
  11094. "type": "array",
  11095. "items": {
  11096. "$ref": "#/definitions/models.TjmdQuoteGoods"
  11097. }
  11098. }
  11099. },
  11100. "500": {
  11101. "description": "Internal Server Error",
  11102. "schema": {
  11103. "$ref": "#/definitions/app.Response"
  11104. }
  11105. }
  11106. }
  11107. }
  11108. },
  11109. "/Tjmd/QueryTjmdTodayAccountMargin": {
  11110. "get": {
  11111. "security": [
  11112. {
  11113. "ApiKeyAuth": []
  11114. }
  11115. ],
  11116. "produces": [
  11117. "application/json"
  11118. ],
  11119. "tags": [
  11120. "天津麦顿"
  11121. ],
  11122. "summary": "查询今日账户保证金配置",
  11123. "parameters": [
  11124. {
  11125. "type": "string",
  11126. "description": "市场id",
  11127. "name": "marketid",
  11128. "in": "query"
  11129. },
  11130. {
  11131. "type": "string",
  11132. "description": "商品id",
  11133. "name": "goodsid",
  11134. "in": "query"
  11135. },
  11136. {
  11137. "type": "string",
  11138. "description": "资金账号",
  11139. "name": "accountid",
  11140. "in": "query"
  11141. }
  11142. ],
  11143. "responses": {
  11144. "200": {
  11145. "description": "OK",
  11146. "schema": {
  11147. "type": "array",
  11148. "items": {
  11149. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  11150. }
  11151. }
  11152. },
  11153. "500": {
  11154. "description": "Internal Server Error",
  11155. "schema": {
  11156. "$ref": "#/definitions/app.Response"
  11157. }
  11158. }
  11159. }
  11160. }
  11161. },
  11162. "/Tjmd/QueryTjmdTradeOrderDetail": {
  11163. "get": {
  11164. "security": [
  11165. {
  11166. "ApiKeyAuth": []
  11167. }
  11168. ],
  11169. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  11170. "produces": [
  11171. "application/json"
  11172. ],
  11173. "tags": [
  11174. "天津麦顿"
  11175. ],
  11176. "summary": "查询掉期买卖大厅",
  11177. "parameters": [
  11178. {
  11179. "type": "integer",
  11180. "description": "页码",
  11181. "name": "page",
  11182. "in": "query"
  11183. },
  11184. {
  11185. "type": "integer",
  11186. "description": "每页条数",
  11187. "name": "pagesize",
  11188. "in": "query"
  11189. },
  11190. {
  11191. "type": "integer",
  11192. "description": "用户id",
  11193. "name": "userid",
  11194. "in": "query",
  11195. "required": true
  11196. },
  11197. {
  11198. "type": "integer",
  11199. "description": "用户类型",
  11200. "name": "usertype",
  11201. "in": "query",
  11202. "required": true
  11203. },
  11204. {
  11205. "type": "string",
  11206. "description": "市场id, 格式 1,2,3",
  11207. "name": "marketids",
  11208. "in": "query"
  11209. },
  11210. {
  11211. "type": "integer",
  11212. "description": "商品id",
  11213. "name": "goodsid",
  11214. "in": "query",
  11215. "required": true
  11216. },
  11217. {
  11218. "type": "integer",
  11219. "description": "买卖方向 0-买 1-卖",
  11220. "name": "buyorsell",
  11221. "in": "query",
  11222. "required": true
  11223. }
  11224. ],
  11225. "responses": {
  11226. "200": {
  11227. "description": "OK",
  11228. "schema": {
  11229. "type": "array",
  11230. "items": {
  11231. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  11232. }
  11233. }
  11234. },
  11235. "500": {
  11236. "description": "Internal Server Error",
  11237. "schema": {
  11238. "$ref": "#/definitions/app.Response"
  11239. }
  11240. }
  11241. }
  11242. }
  11243. },
  11244. "/Tjmd/QueryTjmdTransferApply": {
  11245. "get": {
  11246. "security": [
  11247. {
  11248. "ApiKeyAuth": []
  11249. }
  11250. ],
  11251. "produces": [
  11252. "application/json"
  11253. ],
  11254. "tags": [
  11255. "天津麦顿"
  11256. ],
  11257. "summary": "查询掉期协议单",
  11258. "parameters": [
  11259. {
  11260. "type": "integer",
  11261. "description": "类型 1-我的申请 2-对方申请",
  11262. "name": "applytype",
  11263. "in": "query",
  11264. "required": true
  11265. },
  11266. {
  11267. "type": "string",
  11268. "description": "市场id, 格式 1,2,3",
  11269. "name": "marketids",
  11270. "in": "query"
  11271. },
  11272. {
  11273. "type": "string",
  11274. "description": "资金账号, 格式 25000000001,25000000003",
  11275. "name": "accountids",
  11276. "in": "query"
  11277. }
  11278. ],
  11279. "responses": {
  11280. "200": {
  11281. "description": "OK",
  11282. "schema": {
  11283. "type": "array",
  11284. "items": {
  11285. "$ref": "#/definitions/models.TjmdTransferApply"
  11286. }
  11287. }
  11288. },
  11289. "500": {
  11290. "description": "Internal Server Error",
  11291. "schema": {
  11292. "$ref": "#/definitions/app.Response"
  11293. }
  11294. }
  11295. }
  11296. }
  11297. },
  11298. "/Trade/QueryRecieptOrder": {
  11299. "get": {
  11300. "security": [
  11301. {
  11302. "ApiKeyAuth": []
  11303. }
  11304. ],
  11305. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11306. "produces": [
  11307. "application/json"
  11308. ],
  11309. "tags": [
  11310. "通用交易"
  11311. ],
  11312. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  11313. "parameters": [
  11314. {
  11315. "type": "integer",
  11316. "description": "页码",
  11317. "name": "page",
  11318. "in": "query"
  11319. },
  11320. {
  11321. "type": "integer",
  11322. "description": "每页条数",
  11323. "name": "pagesize",
  11324. "in": "query"
  11325. },
  11326. {
  11327. "type": "integer",
  11328. "description": "商品ID",
  11329. "name": "goodsID",
  11330. "in": "query",
  11331. "required": true
  11332. },
  11333. {
  11334. "type": "string",
  11335. "description": "所属账户名称",
  11336. "name": "accountName",
  11337. "in": "query"
  11338. },
  11339. {
  11340. "type": "integer",
  11341. "description": "市场ID",
  11342. "name": "marketID",
  11343. "in": "query"
  11344. },
  11345. {
  11346. "type": "integer",
  11347. "description": "方向 - 0:买 1:卖",
  11348. "name": "buyorsell",
  11349. "in": "query",
  11350. "required": true
  11351. }
  11352. ],
  11353. "responses": {
  11354. "200": {
  11355. "description": "OK",
  11356. "schema": {
  11357. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  11358. }
  11359. },
  11360. "500": {
  11361. "description": "Internal Server Error",
  11362. "schema": {
  11363. "$ref": "#/definitions/app.Response"
  11364. }
  11365. }
  11366. }
  11367. }
  11368. },
  11369. "/User/AddMessageBoard": {
  11370. "post": {
  11371. "security": [
  11372. {
  11373. "ApiKeyAuth": []
  11374. }
  11375. ],
  11376. "produces": [
  11377. "application/json"
  11378. ],
  11379. "tags": [
  11380. "用户信息"
  11381. ],
  11382. "summary": "添加用户留言板信息",
  11383. "parameters": [
  11384. {
  11385. "type": "integer",
  11386. "description": "用户ID",
  11387. "name": "userID",
  11388. "in": "query",
  11389. "required": true
  11390. },
  11391. {
  11392. "type": "string",
  11393. "description": "留言信息",
  11394. "name": "message",
  11395. "in": "query",
  11396. "required": true
  11397. },
  11398. {
  11399. "type": "string",
  11400. "description": "联系电话",
  11401. "name": "contactNum",
  11402. "in": "query",
  11403. "required": true
  11404. }
  11405. ],
  11406. "responses": {
  11407. "200": {
  11408. "description": "OK",
  11409. "schema": {
  11410. "$ref": "#/definitions/app.Response"
  11411. }
  11412. },
  11413. "500": {
  11414. "description": "Internal Server Error",
  11415. "schema": {
  11416. "$ref": "#/definitions/app.Response"
  11417. }
  11418. }
  11419. }
  11420. }
  11421. },
  11422. "/User/AddUserFavoriteGoods": {
  11423. "post": {
  11424. "security": [
  11425. {
  11426. "ApiKeyAuth": []
  11427. }
  11428. ],
  11429. "produces": [
  11430. "application/json"
  11431. ],
  11432. "tags": [
  11433. "用户信息"
  11434. ],
  11435. "summary": "添加用户商品收藏信息",
  11436. "parameters": [
  11437. {
  11438. "type": "integer",
  11439. "description": "用户ID",
  11440. "name": "userID",
  11441. "in": "query",
  11442. "required": true
  11443. },
  11444. {
  11445. "type": "integer",
  11446. "description": "商品ID",
  11447. "name": "goodsID",
  11448. "in": "query",
  11449. "required": true
  11450. }
  11451. ],
  11452. "responses": {
  11453. "200": {
  11454. "description": "OK",
  11455. "schema": {
  11456. "$ref": "#/definitions/app.Response"
  11457. }
  11458. },
  11459. "500": {
  11460. "description": "Internal Server Error",
  11461. "schema": {
  11462. "$ref": "#/definitions/app.Response"
  11463. }
  11464. }
  11465. }
  11466. }
  11467. },
  11468. "/User/GetLoginID": {
  11469. "get": {
  11470. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  11471. "produces": [
  11472. "application/json"
  11473. ],
  11474. "tags": [
  11475. "用户信息"
  11476. ],
  11477. "summary": "获取登录ID",
  11478. "parameters": [
  11479. {
  11480. "type": "string",
  11481. "description": "登录代码",
  11482. "name": "username",
  11483. "in": "query",
  11484. "required": true
  11485. }
  11486. ],
  11487. "responses": {
  11488. "200": {
  11489. "description": "OK",
  11490. "schema": {
  11491. "$ref": "#/definitions/app.Response"
  11492. }
  11493. },
  11494. "500": {
  11495. "description": "Internal Server Error",
  11496. "schema": {
  11497. "$ref": "#/definitions/app.Response"
  11498. }
  11499. }
  11500. }
  11501. }
  11502. },
  11503. "/User/GetUserAccount": {
  11504. "get": {
  11505. "security": [
  11506. {
  11507. "ApiKeyAuth": []
  11508. }
  11509. ],
  11510. "produces": [
  11511. "application/json"
  11512. ],
  11513. "tags": [
  11514. "用户信息"
  11515. ],
  11516. "summary": "获取用户账号信息",
  11517. "parameters": [
  11518. {
  11519. "type": "integer",
  11520. "description": "用户ID",
  11521. "name": "userID",
  11522. "in": "query",
  11523. "required": true
  11524. }
  11525. ],
  11526. "responses": {
  11527. "200": {
  11528. "description": "OK",
  11529. "schema": {
  11530. "$ref": "#/definitions/models.Useraccount"
  11531. }
  11532. },
  11533. "500": {
  11534. "description": "Internal Server Error",
  11535. "schema": {
  11536. "$ref": "#/definitions/app.Response"
  11537. }
  11538. }
  11539. }
  11540. }
  11541. },
  11542. "/User/GetUserAuthStatus": {
  11543. "get": {
  11544. "security": [
  11545. {
  11546. "ApiKeyAuth": []
  11547. }
  11548. ],
  11549. "produces": [
  11550. "application/json"
  11551. ],
  11552. "tags": [
  11553. "用户信息"
  11554. ],
  11555. "summary": "获取用户实名认证状态",
  11556. "parameters": [
  11557. {
  11558. "type": "integer",
  11559. "description": "用户ID",
  11560. "name": "userID",
  11561. "in": "query",
  11562. "required": true
  11563. }
  11564. ],
  11565. "responses": {
  11566. "200": {
  11567. "description": "OK",
  11568. "schema": {
  11569. "$ref": "#/definitions/app.Response"
  11570. }
  11571. },
  11572. "500": {
  11573. "description": "Internal Server Error",
  11574. "schema": {
  11575. "$ref": "#/definitions/app.Response"
  11576. }
  11577. }
  11578. }
  11579. }
  11580. },
  11581. "/User/LoginQuery": {
  11582. "get": {
  11583. "security": [
  11584. {
  11585. "ApiKeyAuth": []
  11586. }
  11587. ],
  11588. "produces": [
  11589. "application/json"
  11590. ],
  11591. "tags": [
  11592. "用户信息"
  11593. ],
  11594. "summary": "账户登录后信息查询",
  11595. "parameters": [
  11596. {
  11597. "type": "integer",
  11598. "description": "登录账号",
  11599. "name": "loginID",
  11600. "in": "query",
  11601. "required": true
  11602. }
  11603. ],
  11604. "responses": {
  11605. "200": {
  11606. "description": "OK",
  11607. "schema": {
  11608. "$ref": "#/definitions/user.LoginQueryRsp"
  11609. }
  11610. },
  11611. "500": {
  11612. "description": "Internal Server Error",
  11613. "schema": {
  11614. "$ref": "#/definitions/app.Response"
  11615. }
  11616. }
  11617. }
  11618. }
  11619. },
  11620. "/User/QueryMessageBoard": {
  11621. "get": {
  11622. "security": [
  11623. {
  11624. "ApiKeyAuth": []
  11625. }
  11626. ],
  11627. "produces": [
  11628. "application/json"
  11629. ],
  11630. "tags": [
  11631. "用户信息"
  11632. ],
  11633. "summary": "获取用户留言板信息",
  11634. "parameters": [
  11635. {
  11636. "type": "integer",
  11637. "description": "用户ID",
  11638. "name": "userID",
  11639. "in": "query",
  11640. "required": true
  11641. }
  11642. ],
  11643. "responses": {
  11644. "200": {
  11645. "description": "OK",
  11646. "schema": {
  11647. "$ref": "#/definitions/models.Messageboard"
  11648. }
  11649. },
  11650. "500": {
  11651. "description": "Internal Server Error",
  11652. "schema": {
  11653. "$ref": "#/definitions/app.Response"
  11654. }
  11655. }
  11656. }
  11657. }
  11658. },
  11659. "/User/QueryUserFavoriteGoodses": {
  11660. "get": {
  11661. "security": [
  11662. {
  11663. "ApiKeyAuth": []
  11664. }
  11665. ],
  11666. "produces": [
  11667. "application/json"
  11668. ],
  11669. "tags": [
  11670. "用户信息"
  11671. ],
  11672. "summary": "获取用户商品收藏信息",
  11673. "parameters": [
  11674. {
  11675. "type": "integer",
  11676. "description": "用户ID",
  11677. "name": "userID",
  11678. "in": "query",
  11679. "required": true
  11680. }
  11681. ],
  11682. "responses": {
  11683. "200": {
  11684. "description": "OK",
  11685. "schema": {
  11686. "$ref": "#/definitions/models.Userfavoritegoods"
  11687. }
  11688. },
  11689. "500": {
  11690. "description": "Internal Server Error",
  11691. "schema": {
  11692. "$ref": "#/definitions/app.Response"
  11693. }
  11694. }
  11695. }
  11696. }
  11697. },
  11698. "/User/QueryUserInfo": {
  11699. "get": {
  11700. "security": [
  11701. {
  11702. "ApiKeyAuth": []
  11703. }
  11704. ],
  11705. "produces": [
  11706. "application/json"
  11707. ],
  11708. "tags": [
  11709. "用户信息"
  11710. ],
  11711. "summary": "获取用户信息",
  11712. "parameters": [
  11713. {
  11714. "type": "integer",
  11715. "description": "用户ID",
  11716. "name": "userID",
  11717. "in": "query",
  11718. "required": true
  11719. },
  11720. {
  11721. "type": "boolean",
  11722. "description": "是否解密",
  11723. "name": "isDecrypt",
  11724. "in": "query"
  11725. }
  11726. ],
  11727. "responses": {
  11728. "200": {
  11729. "description": "OK",
  11730. "schema": {
  11731. "$ref": "#/definitions/models.Userinfo"
  11732. }
  11733. },
  11734. "500": {
  11735. "description": "Internal Server Error",
  11736. "schema": {
  11737. "$ref": "#/definitions/app.Response"
  11738. }
  11739. }
  11740. }
  11741. }
  11742. },
  11743. "/User/QueryUserReferNum": {
  11744. "get": {
  11745. "produces": [
  11746. "application/json"
  11747. ],
  11748. "tags": [
  11749. "用户信息"
  11750. ],
  11751. "summary": "获取用户邀请码",
  11752. "parameters": [
  11753. {
  11754. "type": "integer",
  11755. "description": "用户ID",
  11756. "name": "userID",
  11757. "in": "query",
  11758. "required": true
  11759. }
  11760. ],
  11761. "responses": {
  11762. "200": {
  11763. "description": "OK",
  11764. "schema": {
  11765. "$ref": "#/definitions/app.Response"
  11766. }
  11767. },
  11768. "500": {
  11769. "description": "Internal Server Error",
  11770. "schema": {
  11771. "$ref": "#/definitions/app.Response"
  11772. }
  11773. }
  11774. }
  11775. }
  11776. },
  11777. "/User/RemoveUserFavoriteGoods": {
  11778. "post": {
  11779. "security": [
  11780. {
  11781. "ApiKeyAuth": []
  11782. }
  11783. ],
  11784. "produces": [
  11785. "application/json"
  11786. ],
  11787. "tags": [
  11788. "用户信息"
  11789. ],
  11790. "summary": "移除用户商品收藏信息",
  11791. "parameters": [
  11792. {
  11793. "type": "integer",
  11794. "description": "用户ID",
  11795. "name": "userID",
  11796. "in": "query",
  11797. "required": true
  11798. },
  11799. {
  11800. "type": "integer",
  11801. "description": "商品ID",
  11802. "name": "goodsID",
  11803. "in": "query",
  11804. "required": true
  11805. }
  11806. ],
  11807. "responses": {
  11808. "200": {
  11809. "description": "OK",
  11810. "schema": {
  11811. "$ref": "#/definitions/app.Response"
  11812. }
  11813. },
  11814. "500": {
  11815. "description": "Internal Server Error",
  11816. "schema": {
  11817. "$ref": "#/definitions/app.Response"
  11818. }
  11819. }
  11820. }
  11821. }
  11822. },
  11823. "/User/UpdateUserAccountStatus": {
  11824. "post": {
  11825. "security": [
  11826. {
  11827. "ApiKeyAuth": []
  11828. }
  11829. ],
  11830. "produces": [
  11831. "application/json"
  11832. ],
  11833. "tags": [
  11834. "用户信息"
  11835. ],
  11836. "summary": "更新用户状态",
  11837. "parameters": [
  11838. {
  11839. "type": "integer",
  11840. "description": "用户ID",
  11841. "name": "userID",
  11842. "in": "query",
  11843. "required": true
  11844. },
  11845. {
  11846. "type": "integer",
  11847. "description": "账户状态 - 4:正常 6:注销(停用)",
  11848. "name": "accountStatus",
  11849. "in": "query",
  11850. "required": true
  11851. }
  11852. ],
  11853. "responses": {
  11854. "200": {
  11855. "description": "OK",
  11856. "schema": {
  11857. "$ref": "#/definitions/app.Response"
  11858. }
  11859. },
  11860. "500": {
  11861. "description": "Internal Server Error",
  11862. "schema": {
  11863. "$ref": "#/definitions/app.Response"
  11864. }
  11865. }
  11866. }
  11867. }
  11868. },
  11869. "/WRTrade/GetAllDeliveryGoods": {
  11870. "get": {
  11871. "security": [
  11872. {
  11873. "ApiKeyAuth": []
  11874. },
  11875. {
  11876. "ApiKeyAuth": []
  11877. }
  11878. ],
  11879. "produces": [
  11880. "application/json",
  11881. "application/json"
  11882. ],
  11883. "tags": [
  11884. "仓单贸易",
  11885. "仓单贸易"
  11886. ],
  11887. "summary": "获取带仓单分类的种类信息",
  11888. "responses": {
  11889. "200": {
  11890. "description": "OK",
  11891. "schema": {
  11892. "$ref": "#/definitions/app.Response"
  11893. }
  11894. },
  11895. "500": {
  11896. "description": "Internal Server Error",
  11897. "schema": {
  11898. "$ref": "#/definitions/app.Response"
  11899. }
  11900. }
  11901. }
  11902. }
  11903. },
  11904. "/WrTrade2/QueryFaProductDetail": {
  11905. "get": {
  11906. "security": [
  11907. {
  11908. "ApiKeyAuth": []
  11909. }
  11910. ],
  11911. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  11912. "produces": [
  11913. "application/json"
  11914. ],
  11915. "tags": [
  11916. "仓单贸易v2"
  11917. ],
  11918. "summary": "查询融资产品列表",
  11919. "parameters": [
  11920. {
  11921. "type": "integer",
  11922. "description": "仓单要素id",
  11923. "name": "wrfactortypeid",
  11924. "in": "query",
  11925. "required": true
  11926. }
  11927. ],
  11928. "responses": {
  11929. "200": {
  11930. "description": "OK",
  11931. "schema": {
  11932. "type": "array",
  11933. "items": {
  11934. "$ref": "#/definitions/models.WrFAProductDetail"
  11935. }
  11936. }
  11937. },
  11938. "500": {
  11939. "description": "Internal Server Error",
  11940. "schema": {
  11941. "$ref": "#/definitions/app.Response"
  11942. }
  11943. }
  11944. }
  11945. }
  11946. },
  11947. "/WrTrade2/QueryFilterItem": {
  11948. "get": {
  11949. "security": [
  11950. {
  11951. "ApiKeyAuth": []
  11952. }
  11953. ],
  11954. "produces": [
  11955. "application/json"
  11956. ],
  11957. "tags": [
  11958. "仓单贸易v2"
  11959. ],
  11960. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  11961. "parameters": [
  11962. {
  11963. "type": "string",
  11964. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  11965. "name": "itype",
  11966. "in": "query",
  11967. "required": true
  11968. }
  11969. ],
  11970. "responses": {
  11971. "200": {
  11972. "description": "OK",
  11973. "schema": {
  11974. "type": "array",
  11975. "items": {
  11976. "$ref": "#/definitions/models.WrFilterItem"
  11977. }
  11978. }
  11979. },
  11980. "500": {
  11981. "description": "Internal Server Error",
  11982. "schema": {
  11983. "$ref": "#/definitions/app.Response"
  11984. }
  11985. }
  11986. }
  11987. }
  11988. },
  11989. "/WrTrade2/QueryFtDeliveryGoods": {
  11990. "get": {
  11991. "security": [
  11992. {
  11993. "ApiKeyAuth": []
  11994. }
  11995. ],
  11996. "produces": [
  11997. "application/json"
  11998. ],
  11999. "tags": [
  12000. "仓单贸易v2"
  12001. ],
  12002. "summary": "查询品种品类筛选框列表",
  12003. "responses": {
  12004. "200": {
  12005. "description": "OK",
  12006. "schema": {
  12007. "type": "array",
  12008. "items": {
  12009. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  12010. }
  12011. }
  12012. },
  12013. "500": {
  12014. "description": "Internal Server Error",
  12015. "schema": {
  12016. "$ref": "#/definitions/app.Response"
  12017. }
  12018. }
  12019. }
  12020. }
  12021. },
  12022. "/WrTrade2/QueryHoldLB": {
  12023. "get": {
  12024. "security": [
  12025. {
  12026. "ApiKeyAuth": []
  12027. }
  12028. ],
  12029. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  12030. "produces": [
  12031. "application/json"
  12032. ],
  12033. "tags": [
  12034. "仓单贸易v2"
  12035. ],
  12036. "summary": "查询仓单持有记录",
  12037. "parameters": [
  12038. {
  12039. "type": "integer",
  12040. "description": "资金账号",
  12041. "name": "accountid",
  12042. "in": "query",
  12043. "required": true
  12044. },
  12045. {
  12046. "type": "integer",
  12047. "description": "仓库id",
  12048. "name": "warehouseid",
  12049. "in": "query"
  12050. },
  12051. {
  12052. "type": "integer",
  12053. "description": "品种id",
  12054. "name": "deliverygoodsid",
  12055. "in": "query"
  12056. },
  12057. {
  12058. "type": "integer",
  12059. "description": "品类id",
  12060. "name": "wrstandardid",
  12061. "in": "query"
  12062. },
  12063. {
  12064. "type": "integer",
  12065. "description": "仓单要素id",
  12066. "name": "wrfactortypeid",
  12067. "in": "query"
  12068. },
  12069. {
  12070. "type": "string",
  12071. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12072. "name": "dgitemname",
  12073. "in": "query"
  12074. }
  12075. ],
  12076. "responses": {
  12077. "200": {
  12078. "description": "OK",
  12079. "schema": {
  12080. "type": "array",
  12081. "items": {
  12082. "$ref": "#/definitions/models.WrHoldLB"
  12083. }
  12084. }
  12085. },
  12086. "500": {
  12087. "description": "Internal Server Error",
  12088. "schema": {
  12089. "$ref": "#/definitions/app.Response"
  12090. }
  12091. }
  12092. }
  12093. }
  12094. },
  12095. "/WrTrade2/QueryOrderQuote": {
  12096. "get": {
  12097. "security": [
  12098. {
  12099. "ApiKeyAuth": []
  12100. }
  12101. ],
  12102. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  12103. "produces": [
  12104. "application/json"
  12105. ],
  12106. "tags": [
  12107. "仓单贸易v2"
  12108. ],
  12109. "summary": "查询大厅行情列表",
  12110. "parameters": [
  12111. {
  12112. "type": "integer",
  12113. "description": "页码",
  12114. "name": "page",
  12115. "in": "query"
  12116. },
  12117. {
  12118. "type": "integer",
  12119. "description": "每页条数",
  12120. "name": "pagesize",
  12121. "in": "query"
  12122. },
  12123. {
  12124. "type": "integer",
  12125. "description": "仓单贸易市场id",
  12126. "name": "marketid",
  12127. "in": "query"
  12128. },
  12129. {
  12130. "type": "integer",
  12131. "description": "价格方式 - 1:固定价 2-浮动价",
  12132. "name": "wrpricetype",
  12133. "in": "query",
  12134. "required": true
  12135. },
  12136. {
  12137. "type": "integer",
  12138. "description": "0:仓单预售 1:仓单贸易",
  12139. "name": "haswr",
  12140. "in": "query",
  12141. "required": true
  12142. },
  12143. {
  12144. "type": "string",
  12145. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12146. "name": "dgitemname",
  12147. "in": "query"
  12148. },
  12149. {
  12150. "type": "integer",
  12151. "description": "仓库id(筛选条件)",
  12152. "name": "warehouseid",
  12153. "in": "query"
  12154. },
  12155. {
  12156. "type": "integer",
  12157. "description": "品种id",
  12158. "name": "deliverygoodsid",
  12159. "in": "query"
  12160. },
  12161. {
  12162. "type": "integer",
  12163. "description": "品类id",
  12164. "name": "wrstandardid",
  12165. "in": "query"
  12166. },
  12167. {
  12168. "type": "integer",
  12169. "description": "仓单要素id",
  12170. "name": "wrfactortypeid",
  12171. "in": "query"
  12172. },
  12173. {
  12174. "type": "string",
  12175. "description": "交收月(yyyy-mm) 仓单预售填写",
  12176. "name": "deliverymonth",
  12177. "in": "query"
  12178. }
  12179. ],
  12180. "responses": {
  12181. "200": {
  12182. "description": "OK",
  12183. "schema": {
  12184. "type": "array",
  12185. "items": {
  12186. "$ref": "#/definitions/models.WrOrderQuote"
  12187. }
  12188. }
  12189. },
  12190. "500": {
  12191. "description": "Internal Server Error",
  12192. "schema": {
  12193. "$ref": "#/definitions/app.Response"
  12194. }
  12195. }
  12196. }
  12197. }
  12198. },
  12199. "/WrTrade2/QueryOrderQuoteDetail": {
  12200. "get": {
  12201. "security": [
  12202. {
  12203. "ApiKeyAuth": []
  12204. }
  12205. ],
  12206. "produces": [
  12207. "application/json"
  12208. ],
  12209. "tags": [
  12210. "仓单贸易v2"
  12211. ],
  12212. "summary": "查询买卖大厅",
  12213. "parameters": [
  12214. {
  12215. "type": "integer",
  12216. "description": "页码",
  12217. "name": "page",
  12218. "in": "query"
  12219. },
  12220. {
  12221. "type": "integer",
  12222. "description": "每页条数",
  12223. "name": "pagesize",
  12224. "in": "query"
  12225. },
  12226. {
  12227. "type": "integer",
  12228. "description": "仓单贸易市场id",
  12229. "name": "marketid",
  12230. "in": "query"
  12231. },
  12232. {
  12233. "type": "integer",
  12234. "description": "价格方式 - 1:固定价 2-浮动价",
  12235. "name": "wrpricetype",
  12236. "in": "query",
  12237. "required": true
  12238. },
  12239. {
  12240. "type": "integer",
  12241. "description": "0:仓单预售 1:仓单贸易",
  12242. "name": "haswr",
  12243. "in": "query",
  12244. "required": true
  12245. },
  12246. {
  12247. "type": "integer",
  12248. "description": "仓单要素id",
  12249. "name": "wrfactortypeid",
  12250. "in": "query",
  12251. "required": true
  12252. },
  12253. {
  12254. "type": "integer",
  12255. "description": "期货商品id(浮动价方式时填)",
  12256. "name": "goodsid",
  12257. "in": "query"
  12258. },
  12259. {
  12260. "type": "integer",
  12261. "description": "买卖方向 0-买 1-卖",
  12262. "name": "buyorsell",
  12263. "in": "query",
  12264. "required": true
  12265. },
  12266. {
  12267. "type": "string",
  12268. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  12269. "name": "deliverymonth",
  12270. "in": "query"
  12271. }
  12272. ],
  12273. "responses": {
  12274. "200": {
  12275. "description": "OK",
  12276. "schema": {
  12277. "type": "array",
  12278. "items": {
  12279. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  12280. }
  12281. }
  12282. },
  12283. "500": {
  12284. "description": "Internal Server Error",
  12285. "schema": {
  12286. "$ref": "#/definitions/app.Response"
  12287. }
  12288. }
  12289. }
  12290. }
  12291. },
  12292. "/WrTrade2/QueryOrderQuoteMyq": {
  12293. "get": {
  12294. "security": [
  12295. {
  12296. "ApiKeyAuth": []
  12297. }
  12298. ],
  12299. "produces": [
  12300. "application/json"
  12301. ],
  12302. "tags": [
  12303. "仓单贸易v2"
  12304. ],
  12305. "summary": "查询贸易圈挂牌大厅",
  12306. "parameters": [
  12307. {
  12308. "type": "integer",
  12309. "description": "页码",
  12310. "name": "page",
  12311. "in": "query"
  12312. },
  12313. {
  12314. "type": "integer",
  12315. "description": "每页条数",
  12316. "name": "pagesize",
  12317. "in": "query"
  12318. },
  12319. {
  12320. "type": "integer",
  12321. "description": "用户id",
  12322. "name": "userid",
  12323. "in": "query",
  12324. "required": true
  12325. },
  12326. {
  12327. "type": "integer",
  12328. "description": "仓单贸易市场id",
  12329. "name": "marketid",
  12330. "in": "query"
  12331. },
  12332. {
  12333. "type": "integer",
  12334. "description": "0:仓单预售 1:仓单贸易",
  12335. "name": "haswr",
  12336. "in": "query",
  12337. "required": true
  12338. },
  12339. {
  12340. "type": "integer",
  12341. "description": "买卖方向 0-买 1-卖",
  12342. "name": "buyorsell",
  12343. "in": "query",
  12344. "required": true
  12345. },
  12346. {
  12347. "type": "integer",
  12348. "description": "品种id",
  12349. "name": "deliverygoodsid",
  12350. "in": "query"
  12351. },
  12352. {
  12353. "type": "integer",
  12354. "description": "品类id",
  12355. "name": "wrstandardid",
  12356. "in": "query"
  12357. },
  12358. {
  12359. "type": "string",
  12360. "description": "交收月(yyyy-mm) 仓单预售填写",
  12361. "name": "deliverymonth",
  12362. "in": "query"
  12363. },
  12364. {
  12365. "type": "string",
  12366. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12367. "name": "dgitemname",
  12368. "in": "query"
  12369. }
  12370. ],
  12371. "responses": {
  12372. "200": {
  12373. "description": "OK",
  12374. "schema": {
  12375. "type": "array",
  12376. "items": {
  12377. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  12378. }
  12379. }
  12380. },
  12381. "500": {
  12382. "description": "Internal Server Error",
  12383. "schema": {
  12384. "$ref": "#/definitions/app.Response"
  12385. }
  12386. }
  12387. }
  12388. }
  12389. },
  12390. "/WrTrade2/QueryPerformancePlan": {
  12391. "get": {
  12392. "security": [
  12393. {
  12394. "ApiKeyAuth": []
  12395. }
  12396. ],
  12397. "produces": [
  12398. "application/json"
  12399. ],
  12400. "tags": [
  12401. "仓单贸易v2"
  12402. ],
  12403. "summary": "查询履约信息",
  12404. "parameters": [
  12405. {
  12406. "type": "integer",
  12407. "description": "用户id",
  12408. "name": "userid",
  12409. "in": "query",
  12410. "required": true
  12411. },
  12412. {
  12413. "type": "integer",
  12414. "description": "买卖方向 0-买 1-卖",
  12415. "name": "buyorsell",
  12416. "in": "query",
  12417. "required": true
  12418. }
  12419. ],
  12420. "responses": {
  12421. "200": {
  12422. "description": "OK",
  12423. "schema": {
  12424. "type": "array",
  12425. "items": {
  12426. "$ref": "#/definitions/models.WrPerformancePlan"
  12427. }
  12428. }
  12429. },
  12430. "500": {
  12431. "description": "Internal Server Error",
  12432. "schema": {
  12433. "$ref": "#/definitions/app.Response"
  12434. }
  12435. }
  12436. }
  12437. }
  12438. },
  12439. "/WrTrade2/QueryPermancePlanTmp": {
  12440. "get": {
  12441. "security": [
  12442. {
  12443. "ApiKeyAuth": []
  12444. }
  12445. ],
  12446. "description": "返回指定用户的模板和公共模板(用户id为空)",
  12447. "produces": [
  12448. "application/json"
  12449. ],
  12450. "tags": [
  12451. "仓单贸易v2"
  12452. ],
  12453. "summary": "查询履约模板",
  12454. "parameters": [
  12455. {
  12456. "type": "integer",
  12457. "description": "用户id",
  12458. "name": "userid",
  12459. "in": "query"
  12460. },
  12461. {
  12462. "type": "string",
  12463. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  12464. "name": "tmptype",
  12465. "in": "query"
  12466. },
  12467. {
  12468. "type": "integer",
  12469. "description": "是否包含公共模板(用户id为空的) 1-包含",
  12470. "name": "includepub",
  12471. "in": "query"
  12472. }
  12473. ],
  12474. "responses": {
  12475. "200": {
  12476. "description": "OK",
  12477. "schema": {
  12478. "type": "array",
  12479. "items": {
  12480. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  12481. }
  12482. }
  12483. },
  12484. "500": {
  12485. "description": "Internal Server Error",
  12486. "schema": {
  12487. "$ref": "#/definitions/app.Response"
  12488. }
  12489. }
  12490. }
  12491. }
  12492. },
  12493. "/WrTrade2/QueryWrAverageTradePrice": {
  12494. "get": {
  12495. "security": [
  12496. {
  12497. "ApiKeyAuth": []
  12498. }
  12499. ],
  12500. "produces": [
  12501. "application/json"
  12502. ],
  12503. "tags": [
  12504. "仓单贸易v2"
  12505. ],
  12506. "summary": "查询成交价(历史走势)",
  12507. "parameters": [
  12508. {
  12509. "type": "integer",
  12510. "description": "页码",
  12511. "name": "page",
  12512. "in": "query"
  12513. },
  12514. {
  12515. "type": "integer",
  12516. "description": "每页条数",
  12517. "name": "pagesize",
  12518. "in": "query"
  12519. },
  12520. {
  12521. "type": "integer",
  12522. "description": "0:仓单预售 1:仓单贸易",
  12523. "name": "haswr",
  12524. "in": "query",
  12525. "required": true
  12526. },
  12527. {
  12528. "type": "integer",
  12529. "description": "仓单要素id",
  12530. "name": "wrfactortypeid",
  12531. "in": "query",
  12532. "required": true
  12533. }
  12534. ],
  12535. "responses": {
  12536. "200": {
  12537. "description": "OK",
  12538. "schema": {
  12539. "type": "array",
  12540. "items": {
  12541. "$ref": "#/definitions/models.WrAverageTradePrice"
  12542. }
  12543. }
  12544. },
  12545. "500": {
  12546. "description": "Internal Server Error",
  12547. "schema": {
  12548. "$ref": "#/definitions/app.Response"
  12549. }
  12550. }
  12551. }
  12552. }
  12553. },
  12554. "/WrTrade2/QueryWrBsGoodsInfo": {
  12555. "get": {
  12556. "security": [
  12557. {
  12558. "ApiKeyAuth": []
  12559. }
  12560. ],
  12561. "description": "合约交易/买卖大厅/详情",
  12562. "produces": [
  12563. "application/json"
  12564. ],
  12565. "tags": [
  12566. "仓单贸易v2"
  12567. ],
  12568. "summary": "查询合约交易买卖大厅详情",
  12569. "parameters": [
  12570. {
  12571. "type": "integer",
  12572. "description": "商品id",
  12573. "name": "goodsid",
  12574. "in": "query",
  12575. "required": true
  12576. }
  12577. ],
  12578. "responses": {
  12579. "200": {
  12580. "description": "OK",
  12581. "schema": {
  12582. "type": "array",
  12583. "items": {
  12584. "$ref": "#/definitions/models.WrBsGoodsInfo"
  12585. }
  12586. }
  12587. },
  12588. "500": {
  12589. "description": "Internal Server Error",
  12590. "schema": {
  12591. "$ref": "#/definitions/app.Response"
  12592. }
  12593. }
  12594. }
  12595. }
  12596. },
  12597. "/WrTrade2/QueryWrBuybackDetail": {
  12598. "get": {
  12599. "security": [
  12600. {
  12601. "ApiKeyAuth": []
  12602. }
  12603. ],
  12604. "produces": [
  12605. "application/json"
  12606. ],
  12607. "tags": [
  12608. "仓单贸易v2"
  12609. ],
  12610. "summary": "查询仓单回购明细",
  12611. "parameters": [
  12612. {
  12613. "type": "integer",
  12614. "description": "融资合同id",
  12615. "name": "scfcontractid",
  12616. "in": "query"
  12617. }
  12618. ],
  12619. "responses": {
  12620. "200": {
  12621. "description": "OK",
  12622. "schema": {
  12623. "type": "array",
  12624. "items": {
  12625. "$ref": "#/definitions/models.WrBuybackDetail"
  12626. }
  12627. }
  12628. },
  12629. "500": {
  12630. "description": "Internal Server Error",
  12631. "schema": {
  12632. "$ref": "#/definitions/app.Response"
  12633. }
  12634. }
  12635. }
  12636. }
  12637. },
  12638. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  12639. "get": {
  12640. "security": [
  12641. {
  12642. "ApiKeyAuth": []
  12643. }
  12644. ],
  12645. "produces": [
  12646. "application/json"
  12647. ],
  12648. "tags": [
  12649. "仓单贸易v2"
  12650. ],
  12651. "summary": "查询合约交收可点选仓单",
  12652. "parameters": [
  12653. {
  12654. "type": "integer",
  12655. "description": "资金账号",
  12656. "name": "accountid",
  12657. "in": "query",
  12658. "required": true
  12659. },
  12660. {
  12661. "type": "integer",
  12662. "description": "商品id",
  12663. "name": "goodsid",
  12664. "in": "query",
  12665. "required": true
  12666. }
  12667. ],
  12668. "responses": {
  12669. "200": {
  12670. "description": "OK",
  12671. "schema": {
  12672. "type": "array",
  12673. "items": {
  12674. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  12675. }
  12676. }
  12677. },
  12678. "500": {
  12679. "description": "Internal Server Error",
  12680. "schema": {
  12681. "$ref": "#/definitions/app.Response"
  12682. }
  12683. }
  12684. }
  12685. }
  12686. },
  12687. "/WrTrade2/QueryWrDeliveryDetail": {
  12688. "get": {
  12689. "security": [
  12690. {
  12691. "ApiKeyAuth": []
  12692. }
  12693. ],
  12694. "produces": [
  12695. "application/json"
  12696. ],
  12697. "tags": [
  12698. "仓单贸易v2"
  12699. ],
  12700. "summary": "查询交收",
  12701. "parameters": [
  12702. {
  12703. "type": "integer",
  12704. "description": "用户id",
  12705. "name": "userid",
  12706. "in": "query",
  12707. "required": true
  12708. },
  12709. {
  12710. "type": "integer",
  12711. "description": "资金账号id",
  12712. "name": "accountid",
  12713. "in": "query"
  12714. }
  12715. ],
  12716. "responses": {
  12717. "200": {
  12718. "description": "OK",
  12719. "schema": {
  12720. "type": "array",
  12721. "items": {
  12722. "$ref": "#/definitions/models.WrDeliveryDetail"
  12723. }
  12724. }
  12725. },
  12726. "500": {
  12727. "description": "Internal Server Error",
  12728. "schema": {
  12729. "$ref": "#/definitions/app.Response"
  12730. }
  12731. }
  12732. }
  12733. }
  12734. },
  12735. "/WrTrade2/QueryWrFactorTypeInfo": {
  12736. "get": {
  12737. "security": [
  12738. {
  12739. "ApiKeyAuth": []
  12740. }
  12741. ],
  12742. "produces": [
  12743. "application/json"
  12744. ],
  12745. "tags": [
  12746. "仓单贸易v2"
  12747. ],
  12748. "summary": "查询仓单要素详细信息",
  12749. "parameters": [
  12750. {
  12751. "type": "integer",
  12752. "description": "仓单要素id",
  12753. "name": "wrfactortypeid",
  12754. "in": "query",
  12755. "required": true
  12756. }
  12757. ],
  12758. "responses": {
  12759. "200": {
  12760. "description": "OK",
  12761. "schema": {
  12762. "type": "array",
  12763. "items": {
  12764. "$ref": "#/definitions/models.WrFactorTypeInfo"
  12765. }
  12766. }
  12767. },
  12768. "500": {
  12769. "description": "Internal Server Error",
  12770. "schema": {
  12771. "$ref": "#/definitions/app.Response"
  12772. }
  12773. }
  12774. }
  12775. }
  12776. },
  12777. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  12778. "get": {
  12779. "security": [
  12780. {
  12781. "ApiKeyAuth": []
  12782. }
  12783. ],
  12784. "produces": [
  12785. "application/json"
  12786. ],
  12787. "tags": [
  12788. "仓单贸易v2"
  12789. ],
  12790. "summary": "查询仓单要素详细信息列表项",
  12791. "parameters": [
  12792. {
  12793. "type": "integer",
  12794. "description": "仓单要素id",
  12795. "name": "wrfactortypeid",
  12796. "in": "query",
  12797. "required": true
  12798. }
  12799. ],
  12800. "responses": {
  12801. "200": {
  12802. "description": "OK",
  12803. "schema": {
  12804. "type": "array",
  12805. "items": {
  12806. "$ref": "#/definitions/models.WrTypeItem"
  12807. }
  12808. }
  12809. },
  12810. "500": {
  12811. "description": "Internal Server Error",
  12812. "schema": {
  12813. "$ref": "#/definitions/app.Response"
  12814. }
  12815. }
  12816. }
  12817. }
  12818. },
  12819. "/WrTrade2/QueryWrFinanceBuyApply": {
  12820. "get": {
  12821. "security": [
  12822. {
  12823. "ApiKeyAuth": []
  12824. }
  12825. ],
  12826. "description": "页面 融资信息+ / 申请单",
  12827. "produces": [
  12828. "application/json"
  12829. ],
  12830. "tags": [
  12831. "仓单贸易v2"
  12832. ],
  12833. "summary": "查询融资购买申请",
  12834. "parameters": [
  12835. {
  12836. "type": "integer",
  12837. "description": "用户id",
  12838. "name": "userid",
  12839. "in": "query",
  12840. "required": true
  12841. }
  12842. ],
  12843. "responses": {
  12844. "200": {
  12845. "description": "OK",
  12846. "schema": {
  12847. "type": "array",
  12848. "items": {
  12849. "$ref": "#/definitions/models.WrFinanceBuyApply"
  12850. }
  12851. }
  12852. },
  12853. "500": {
  12854. "description": "Internal Server Error",
  12855. "schema": {
  12856. "$ref": "#/definitions/app.Response"
  12857. }
  12858. }
  12859. }
  12860. }
  12861. },
  12862. "/WrTrade2/QueryWrFriendApply": {
  12863. "get": {
  12864. "security": [
  12865. {
  12866. "ApiKeyAuth": []
  12867. }
  12868. ],
  12869. "produces": [
  12870. "application/json"
  12871. ],
  12872. "tags": [
  12873. "仓单贸易v2"
  12874. ],
  12875. "summary": "查询好友申请记录",
  12876. "parameters": [
  12877. {
  12878. "type": "integer",
  12879. "description": "用户id",
  12880. "name": "userid",
  12881. "in": "query",
  12882. "required": true
  12883. }
  12884. ],
  12885. "responses": {
  12886. "200": {
  12887. "description": "OK",
  12888. "schema": {
  12889. "type": "array",
  12890. "items": {
  12891. "$ref": "#/definitions/models.WrFriendApply"
  12892. }
  12893. }
  12894. },
  12895. "500": {
  12896. "description": "Internal Server Error",
  12897. "schema": {
  12898. "$ref": "#/definitions/app.Response"
  12899. }
  12900. }
  12901. }
  12902. }
  12903. },
  12904. "/WrTrade2/QueryWrGoodsInfo": {
  12905. "get": {
  12906. "security": [
  12907. {
  12908. "ApiKeyAuth": []
  12909. }
  12910. ],
  12911. "produces": [
  12912. "application/json"
  12913. ],
  12914. "tags": [
  12915. "仓单贸易v2"
  12916. ],
  12917. "summary": "查询仓单商品信息",
  12918. "parameters": [
  12919. {
  12920. "type": "integer",
  12921. "description": "仓单贸易市场id",
  12922. "name": "marketid",
  12923. "in": "query"
  12924. },
  12925. {
  12926. "type": "integer",
  12927. "description": "0:仓单预售 1:仓单贸易",
  12928. "name": "haswr",
  12929. "in": "query",
  12930. "required": true
  12931. },
  12932. {
  12933. "type": "integer",
  12934. "description": "仓单要素id",
  12935. "name": "wrfactortypeid",
  12936. "in": "query",
  12937. "required": true
  12938. },
  12939. {
  12940. "type": "integer",
  12941. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  12942. "name": "tmplateid",
  12943. "in": "query"
  12944. }
  12945. ],
  12946. "responses": {
  12947. "200": {
  12948. "description": "OK",
  12949. "schema": {
  12950. "type": "array",
  12951. "items": {
  12952. "$ref": "#/definitions/models.WrGoodsInfo"
  12953. }
  12954. }
  12955. },
  12956. "500": {
  12957. "description": "Internal Server Error",
  12958. "schema": {
  12959. "$ref": "#/definitions/app.Response"
  12960. }
  12961. }
  12962. }
  12963. }
  12964. },
  12965. "/WrTrade2/QueryWrMarketTradeConfig": {
  12966. "get": {
  12967. "security": [
  12968. {
  12969. "ApiKeyAuth": []
  12970. }
  12971. ],
  12972. "produces": [
  12973. "application/json"
  12974. ],
  12975. "tags": [
  12976. "仓单贸易v2"
  12977. ],
  12978. "summary": "查询市场交易参数配置",
  12979. "parameters": [
  12980. {
  12981. "type": "integer",
  12982. "description": "市场id",
  12983. "name": "marketid",
  12984. "in": "query"
  12985. }
  12986. ],
  12987. "responses": {
  12988. "200": {
  12989. "description": "OK",
  12990. "schema": {
  12991. "type": "array",
  12992. "items": {
  12993. "$ref": "#/definitions/models.WrMarketTradeConfig"
  12994. }
  12995. }
  12996. },
  12997. "500": {
  12998. "description": "Internal Server Error",
  12999. "schema": {
  13000. "$ref": "#/definitions/app.Response"
  13001. }
  13002. }
  13003. }
  13004. }
  13005. },
  13006. "/WrTrade2/QueryWrOrderDetail": {
  13007. "get": {
  13008. "security": [
  13009. {
  13010. "ApiKeyAuth": []
  13011. }
  13012. ],
  13013. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  13014. "produces": [
  13015. "application/json"
  13016. ],
  13017. "tags": [
  13018. "仓单贸易v2"
  13019. ],
  13020. "summary": "查询仓单委托单(挂单)",
  13021. "parameters": [
  13022. {
  13023. "type": "integer",
  13024. "description": "页码",
  13025. "name": "page",
  13026. "in": "query"
  13027. },
  13028. {
  13029. "type": "integer",
  13030. "description": "每页条数",
  13031. "name": "pagesize",
  13032. "in": "query"
  13033. },
  13034. {
  13035. "type": "integer",
  13036. "description": "用户id",
  13037. "name": "userid",
  13038. "in": "query",
  13039. "required": true
  13040. },
  13041. {
  13042. "type": "integer",
  13043. "description": "仓单贸易市场id",
  13044. "name": "marketid",
  13045. "in": "query"
  13046. },
  13047. {
  13048. "type": "integer",
  13049. "description": "0:仓单预售 1:仓单贸易",
  13050. "name": "haswr",
  13051. "in": "query",
  13052. "required": true
  13053. }
  13054. ],
  13055. "responses": {
  13056. "200": {
  13057. "description": "OK",
  13058. "schema": {
  13059. "type": "array",
  13060. "items": {
  13061. "$ref": "#/definitions/models.WrOrderDetail"
  13062. }
  13063. }
  13064. },
  13065. "500": {
  13066. "description": "Internal Server Error",
  13067. "schema": {
  13068. "$ref": "#/definitions/app.Response"
  13069. }
  13070. }
  13071. }
  13072. }
  13073. },
  13074. "/WrTrade2/QueryWrOutInApply": {
  13075. "get": {
  13076. "security": [
  13077. {
  13078. "ApiKeyAuth": []
  13079. }
  13080. ],
  13081. "produces": [
  13082. "application/json"
  13083. ],
  13084. "tags": [
  13085. "仓单贸易v2"
  13086. ],
  13087. "summary": "查询提货申请",
  13088. "parameters": [
  13089. {
  13090. "type": "integer",
  13091. "description": "用户id",
  13092. "name": "userid",
  13093. "in": "query",
  13094. "required": true
  13095. }
  13096. ],
  13097. "responses": {
  13098. "200": {
  13099. "description": "OK",
  13100. "schema": {
  13101. "type": "array",
  13102. "items": {
  13103. "$ref": "#/definitions/models.WrOutInApply"
  13104. }
  13105. }
  13106. },
  13107. "500": {
  13108. "description": "Internal Server Error",
  13109. "schema": {
  13110. "$ref": "#/definitions/app.Response"
  13111. }
  13112. }
  13113. }
  13114. }
  13115. },
  13116. "/WrTrade2/QueryWrPerformancePlanStep": {
  13117. "get": {
  13118. "security": [
  13119. {
  13120. "ApiKeyAuth": []
  13121. }
  13122. ],
  13123. "produces": [
  13124. "application/json"
  13125. ],
  13126. "tags": [
  13127. "仓单贸易v2"
  13128. ],
  13129. "summary": "查询履约信息详情",
  13130. "parameters": [
  13131. {
  13132. "type": "integer",
  13133. "description": "履约计划id(performanceplanid)",
  13134. "name": "planid",
  13135. "in": "query",
  13136. "required": true
  13137. },
  13138. {
  13139. "type": "integer",
  13140. "description": "当前步骤id",
  13141. "name": "curstepid",
  13142. "in": "query"
  13143. }
  13144. ],
  13145. "responses": {
  13146. "200": {
  13147. "description": "OK",
  13148. "schema": {
  13149. "type": "array",
  13150. "items": {
  13151. "$ref": "#/definitions/models.WrPerformancePlanStep"
  13152. }
  13153. }
  13154. },
  13155. "500": {
  13156. "description": "Internal Server Error",
  13157. "schema": {
  13158. "$ref": "#/definitions/app.Response"
  13159. }
  13160. }
  13161. }
  13162. }
  13163. },
  13164. "/WrTrade2/QueryWrPerformanceStepType": {
  13165. "get": {
  13166. "security": [
  13167. {
  13168. "ApiKeyAuth": []
  13169. }
  13170. ],
  13171. "produces": [
  13172. "application/json"
  13173. ],
  13174. "tags": [
  13175. "仓单贸易v2"
  13176. ],
  13177. "summary": "查询履约步骤枚举",
  13178. "responses": {
  13179. "200": {
  13180. "description": "OK",
  13181. "schema": {
  13182. "type": "array",
  13183. "items": {
  13184. "$ref": "#/definitions/models.WrPerformanceStepType"
  13185. }
  13186. }
  13187. },
  13188. "500": {
  13189. "description": "Internal Server Error",
  13190. "schema": {
  13191. "$ref": "#/definitions/app.Response"
  13192. }
  13193. }
  13194. }
  13195. }
  13196. },
  13197. "/WrTrade2/QueryWrPosition": {
  13198. "get": {
  13199. "security": [
  13200. {
  13201. "ApiKeyAuth": []
  13202. }
  13203. ],
  13204. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  13205. "produces": [
  13206. "application/json"
  13207. ],
  13208. "tags": [
  13209. "仓单贸易v2"
  13210. ],
  13211. "summary": "查询现货(预售)仓单持仓",
  13212. "parameters": [
  13213. {
  13214. "type": "integer",
  13215. "description": "用户id",
  13216. "name": "userid",
  13217. "in": "query",
  13218. "required": true
  13219. },
  13220. {
  13221. "type": "integer",
  13222. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  13223. "name": "querytype",
  13224. "in": "query",
  13225. "required": true
  13226. },
  13227. {
  13228. "type": "integer",
  13229. "description": "0:仓单预售 1:仓单贸易",
  13230. "name": "haswr",
  13231. "in": "query",
  13232. "required": true
  13233. },
  13234. {
  13235. "type": "string",
  13236. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13237. "name": "dgitemname",
  13238. "in": "query"
  13239. },
  13240. {
  13241. "type": "integer",
  13242. "description": "仓库id(筛选条件)",
  13243. "name": "warehouseid",
  13244. "in": "query"
  13245. },
  13246. {
  13247. "type": "integer",
  13248. "description": "品种id",
  13249. "name": "deliverygoodsid",
  13250. "in": "query"
  13251. },
  13252. {
  13253. "type": "integer",
  13254. "description": "品类id",
  13255. "name": "wrstandardid",
  13256. "in": "query"
  13257. }
  13258. ],
  13259. "responses": {
  13260. "200": {
  13261. "description": "OK",
  13262. "schema": {
  13263. "type": "array",
  13264. "items": {
  13265. "$ref": "#/definitions/models.WrPosition"
  13266. }
  13267. }
  13268. },
  13269. "500": {
  13270. "description": "Internal Server Error",
  13271. "schema": {
  13272. "$ref": "#/definitions/app.Response"
  13273. }
  13274. }
  13275. }
  13276. }
  13277. },
  13278. "/WrTrade2/QueryWrScfContract": {
  13279. "get": {
  13280. "security": [
  13281. {
  13282. "ApiKeyAuth": []
  13283. }
  13284. ],
  13285. "produces": [
  13286. "application/json"
  13287. ],
  13288. "tags": [
  13289. "仓单贸易v2"
  13290. ],
  13291. "summary": "查询仓单贸易融资合同",
  13292. "parameters": [
  13293. {
  13294. "type": "integer",
  13295. "description": "用户id",
  13296. "name": "userid",
  13297. "in": "query",
  13298. "required": true
  13299. },
  13300. {
  13301. "type": "integer",
  13302. "description": "融资合同id",
  13303. "name": "scfcontractid",
  13304. "in": "query"
  13305. }
  13306. ],
  13307. "responses": {
  13308. "200": {
  13309. "description": "OK",
  13310. "schema": {
  13311. "type": "array",
  13312. "items": {
  13313. "$ref": "#/definitions/models.WrScfContract"
  13314. }
  13315. }
  13316. },
  13317. "500": {
  13318. "description": "Internal Server Error",
  13319. "schema": {
  13320. "$ref": "#/definitions/app.Response"
  13321. }
  13322. }
  13323. }
  13324. }
  13325. },
  13326. "/WrTrade2/QueryWrScfContractInterest": {
  13327. "get": {
  13328. "security": [
  13329. {
  13330. "ApiKeyAuth": []
  13331. }
  13332. ],
  13333. "produces": [
  13334. "application/json"
  13335. ],
  13336. "tags": [
  13337. "仓单贸易v2"
  13338. ],
  13339. "summary": "查询融资合同费用明细",
  13340. "parameters": [
  13341. {
  13342. "type": "integer",
  13343. "description": "融资合同id",
  13344. "name": "scfcontractid",
  13345. "in": "query"
  13346. }
  13347. ],
  13348. "responses": {
  13349. "200": {
  13350. "description": "OK",
  13351. "schema": {
  13352. "type": "array",
  13353. "items": {
  13354. "$ref": "#/definitions/models.WrScfContractInterest"
  13355. }
  13356. }
  13357. },
  13358. "500": {
  13359. "description": "Internal Server Error",
  13360. "schema": {
  13361. "$ref": "#/definitions/app.Response"
  13362. }
  13363. }
  13364. }
  13365. }
  13366. },
  13367. "/WrTrade2/QueryWrSpecialMatchOrder": {
  13368. "get": {
  13369. "security": [
  13370. {
  13371. "ApiKeyAuth": []
  13372. }
  13373. ],
  13374. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  13375. "produces": [
  13376. "application/json"
  13377. ],
  13378. "tags": [
  13379. "仓单贸易v2"
  13380. ],
  13381. "summary": "查询指定成交",
  13382. "parameters": [
  13383. {
  13384. "type": "integer",
  13385. "description": "页码",
  13386. "name": "page",
  13387. "in": "query"
  13388. },
  13389. {
  13390. "type": "integer",
  13391. "description": "每页条数",
  13392. "name": "pagesize",
  13393. "in": "query"
  13394. },
  13395. {
  13396. "type": "integer",
  13397. "description": "用户id",
  13398. "name": "userid",
  13399. "in": "query",
  13400. "required": true
  13401. },
  13402. {
  13403. "type": "integer",
  13404. "description": "仓单贸易市场id",
  13405. "name": "marketid",
  13406. "in": "query"
  13407. },
  13408. {
  13409. "type": "integer",
  13410. "description": "0:仓单预售 1:仓单贸易",
  13411. "name": "haswr",
  13412. "in": "query",
  13413. "required": true
  13414. }
  13415. ],
  13416. "responses": {
  13417. "200": {
  13418. "description": "OK",
  13419. "schema": {
  13420. "type": "array",
  13421. "items": {
  13422. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  13423. }
  13424. }
  13425. },
  13426. "500": {
  13427. "description": "Internal Server Error",
  13428. "schema": {
  13429. "$ref": "#/definitions/app.Response"
  13430. }
  13431. }
  13432. }
  13433. }
  13434. },
  13435. "/WrTrade2/QueryWrStandardFactoryItem": {
  13436. "get": {
  13437. "security": [
  13438. {
  13439. "ApiKeyAuth": []
  13440. }
  13441. ],
  13442. "produces": [
  13443. "application/json"
  13444. ],
  13445. "tags": [
  13446. "仓单贸易v2"
  13447. ],
  13448. "summary": "查询品类要素定义项",
  13449. "parameters": [
  13450. {
  13451. "type": "integer",
  13452. "description": "品类id",
  13453. "name": "wrstandardid",
  13454. "in": "query",
  13455. "required": true
  13456. }
  13457. ],
  13458. "responses": {
  13459. "200": {
  13460. "description": "OK",
  13461. "schema": {
  13462. "type": "array",
  13463. "items": {
  13464. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  13465. }
  13466. }
  13467. },
  13468. "500": {
  13469. "description": "Internal Server Error",
  13470. "schema": {
  13471. "$ref": "#/definitions/app.Response"
  13472. }
  13473. }
  13474. }
  13475. }
  13476. },
  13477. "/WrTrade2/QueryWrTradeBargainApply": {
  13478. "get": {
  13479. "security": [
  13480. {
  13481. "ApiKeyAuth": []
  13482. }
  13483. ],
  13484. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  13485. "produces": [
  13486. "application/json"
  13487. ],
  13488. "tags": [
  13489. "仓单贸易v2"
  13490. ],
  13491. "summary": "查询议价单",
  13492. "parameters": [
  13493. {
  13494. "type": "integer",
  13495. "description": "议价人id(摘牌方)",
  13496. "name": "userid",
  13497. "in": "query"
  13498. },
  13499. {
  13500. "type": "integer",
  13501. "description": "挂牌方id(查对方议价时,填写此项)",
  13502. "name": "matchuserid",
  13503. "in": "query"
  13504. },
  13505. {
  13506. "type": "integer",
  13507. "description": "关联委托单id",
  13508. "name": "wrtradeorderid",
  13509. "in": "query"
  13510. },
  13511. {
  13512. "type": "integer",
  13513. "description": "0:仓单预售 1:仓单贸易",
  13514. "name": "haswr",
  13515. "in": "query",
  13516. "required": true
  13517. }
  13518. ],
  13519. "responses": {
  13520. "200": {
  13521. "description": "OK",
  13522. "schema": {
  13523. "type": "array",
  13524. "items": {
  13525. "$ref": "#/definitions/models.WRTradeBargainApply"
  13526. }
  13527. }
  13528. },
  13529. "500": {
  13530. "description": "Internal Server Error",
  13531. "schema": {
  13532. "$ref": "#/definitions/app.Response"
  13533. }
  13534. }
  13535. }
  13536. }
  13537. },
  13538. "/WrTrade2/QueryWrTradeDetail": {
  13539. "get": {
  13540. "security": [
  13541. {
  13542. "ApiKeyAuth": []
  13543. }
  13544. ],
  13545. "produces": [
  13546. "application/json"
  13547. ],
  13548. "tags": [
  13549. "仓单贸易v2"
  13550. ],
  13551. "summary": "查询仓单成交明细",
  13552. "parameters": [
  13553. {
  13554. "type": "integer",
  13555. "description": "页码",
  13556. "name": "page",
  13557. "in": "query"
  13558. },
  13559. {
  13560. "type": "integer",
  13561. "description": "每页条数",
  13562. "name": "pagesize",
  13563. "in": "query"
  13564. },
  13565. {
  13566. "type": "integer",
  13567. "description": "用户id",
  13568. "name": "userid",
  13569. "in": "query",
  13570. "required": true
  13571. },
  13572. {
  13573. "type": "integer",
  13574. "description": "仓单贸易市场id",
  13575. "name": "marketid",
  13576. "in": "query"
  13577. },
  13578. {
  13579. "type": "integer",
  13580. "description": "0:仓单预售 1:仓单贸易",
  13581. "name": "haswr",
  13582. "in": "query",
  13583. "required": true
  13584. }
  13585. ],
  13586. "responses": {
  13587. "200": {
  13588. "description": "OK",
  13589. "schema": {
  13590. "type": "array",
  13591. "items": {
  13592. "$ref": "#/definitions/models.WrTradeDetail"
  13593. }
  13594. }
  13595. },
  13596. "500": {
  13597. "description": "Internal Server Error",
  13598. "schema": {
  13599. "$ref": "#/definitions/app.Response"
  13600. }
  13601. }
  13602. }
  13603. }
  13604. },
  13605. "/WrTrade2/QueryWrTradeOrderDetail": {
  13606. "get": {
  13607. "security": [
  13608. {
  13609. "ApiKeyAuth": []
  13610. }
  13611. ],
  13612. "produces": [
  13613. "application/json"
  13614. ],
  13615. "tags": [
  13616. "仓单贸易v2"
  13617. ],
  13618. "summary": "查询合约交易买卖大厅",
  13619. "parameters": [
  13620. {
  13621. "type": "integer",
  13622. "description": "页码",
  13623. "name": "page",
  13624. "in": "query"
  13625. },
  13626. {
  13627. "type": "integer",
  13628. "description": "每页条数",
  13629. "name": "pagesize",
  13630. "in": "query"
  13631. },
  13632. {
  13633. "type": "integer",
  13634. "description": "商品id",
  13635. "name": "goodsid",
  13636. "in": "query",
  13637. "required": true
  13638. },
  13639. {
  13640. "type": "integer",
  13641. "description": "买卖方向 0-买 1-卖",
  13642. "name": "buyorsell",
  13643. "in": "query",
  13644. "required": true
  13645. }
  13646. ],
  13647. "responses": {
  13648. "200": {
  13649. "description": "OK",
  13650. "schema": {
  13651. "type": "array",
  13652. "items": {
  13653. "$ref": "#/definitions/models.WrTradeOrderDetail"
  13654. }
  13655. }
  13656. },
  13657. "500": {
  13658. "description": "Internal Server Error",
  13659. "schema": {
  13660. "$ref": "#/definitions/app.Response"
  13661. }
  13662. }
  13663. }
  13664. }
  13665. },
  13666. "/WrTrade2/QueryWrUserFriend": {
  13667. "get": {
  13668. "security": [
  13669. {
  13670. "ApiKeyAuth": []
  13671. }
  13672. ],
  13673. "produces": [
  13674. "application/json"
  13675. ],
  13676. "tags": [
  13677. "仓单贸易v2"
  13678. ],
  13679. "summary": "查询我的朋友",
  13680. "parameters": [
  13681. {
  13682. "type": "integer",
  13683. "description": "用户id",
  13684. "name": "userid",
  13685. "in": "query",
  13686. "required": true
  13687. },
  13688. {
  13689. "type": "integer",
  13690. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  13691. "name": "newuserid",
  13692. "in": "query"
  13693. }
  13694. ],
  13695. "responses": {
  13696. "200": {
  13697. "description": "OK",
  13698. "schema": {
  13699. "type": "array",
  13700. "items": {
  13701. "$ref": "#/definitions/models.WrUserFriend"
  13702. }
  13703. }
  13704. },
  13705. "500": {
  13706. "description": "Internal Server Error",
  13707. "schema": {
  13708. "$ref": "#/definitions/app.Response"
  13709. }
  13710. }
  13711. }
  13712. }
  13713. },
  13714. "/WrTrade2/QueryWrUserReceiptInfo": {
  13715. "get": {
  13716. "security": [
  13717. {
  13718. "ApiKeyAuth": []
  13719. }
  13720. ],
  13721. "produces": [
  13722. "application/json"
  13723. ],
  13724. "tags": [
  13725. "仓单贸易v2"
  13726. ],
  13727. "summary": "查询发票信息",
  13728. "parameters": [
  13729. {
  13730. "type": "integer",
  13731. "description": "用户id",
  13732. "name": "userid",
  13733. "in": "query"
  13734. },
  13735. {
  13736. "type": "integer",
  13737. "description": "发票类型 - 1:个人 2:企业",
  13738. "name": "receipttype",
  13739. "in": "query"
  13740. }
  13741. ],
  13742. "responses": {
  13743. "200": {
  13744. "description": "OK",
  13745. "schema": {
  13746. "type": "array",
  13747. "items": {
  13748. "$ref": "#/definitions/models.WrUserReceiptInfo"
  13749. }
  13750. }
  13751. },
  13752. "500": {
  13753. "description": "Internal Server Error",
  13754. "schema": {
  13755. "$ref": "#/definitions/app.Response"
  13756. }
  13757. }
  13758. }
  13759. }
  13760. },
  13761. "/ZJ/GetBankTip": {
  13762. "get": {
  13763. "produces": [
  13764. "application/json"
  13765. ],
  13766. "tags": [
  13767. "中江"
  13768. ],
  13769. "summary": "获取中江网银端出入金提示信息",
  13770. "responses": {
  13771. "200": {
  13772. "description": "OK",
  13773. "schema": {
  13774. "type": "string"
  13775. }
  13776. },
  13777. "500": {
  13778. "description": "Internal Server Error",
  13779. "schema": {
  13780. "$ref": "#/definitions/app.Response"
  13781. }
  13782. }
  13783. }
  13784. }
  13785. },
  13786. "/ZJ/GetCusBankChannels": {
  13787. "get": {
  13788. "produces": [
  13789. "application/json"
  13790. ],
  13791. "tags": [
  13792. "中江"
  13793. ],
  13794. "summary": "获取中江出入金渠道显示列表",
  13795. "responses": {
  13796. "200": {
  13797. "description": "OK",
  13798. "schema": {
  13799. "type": "array",
  13800. "items": {
  13801. "type": "string"
  13802. }
  13803. }
  13804. },
  13805. "500": {
  13806. "description": "Internal Server Error",
  13807. "schema": {
  13808. "$ref": "#/definitions/app.Response"
  13809. }
  13810. }
  13811. }
  13812. }
  13813. }
  13814. },
  13815. "definitions": {
  13816. "app.Response": {
  13817. "type": "object",
  13818. "properties": {
  13819. "code": {
  13820. "type": "integer"
  13821. },
  13822. "data": {
  13823. "type": "object"
  13824. },
  13825. "msg": {
  13826. "type": "string"
  13827. },
  13828. "page": {
  13829. "description": "页码",
  13830. "type": "integer"
  13831. },
  13832. "pagesize": {
  13833. "description": "每页条数",
  13834. "type": "integer"
  13835. },
  13836. "total": {
  13837. "description": "总条数",
  13838. "type": "integer"
  13839. }
  13840. }
  13841. },
  13842. "common.ClientMenu": {
  13843. "type": "object",
  13844. "properties": {
  13845. "children": {
  13846. "description": "子菜单列表",
  13847. "type": "array",
  13848. "items": {
  13849. "$ref": "#/definitions/common.ClientMenu"
  13850. }
  13851. },
  13852. "code": {
  13853. "description": "ID",
  13854. "type": "string"
  13855. },
  13856. "isshow": {
  13857. "description": "是否显示",
  13858. "type": "boolean"
  13859. },
  13860. "remark": {
  13861. "description": "备注",
  13862. "type": "string"
  13863. },
  13864. "rulekey": {
  13865. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  13866. "type": "string"
  13867. },
  13868. "sort": {
  13869. "description": "排序",
  13870. "type": "integer"
  13871. },
  13872. "title": {
  13873. "description": "标题",
  13874. "type": "string"
  13875. },
  13876. "type": {
  13877. "description": "类型,1:菜单 2:按钮",
  13878. "type": "integer"
  13879. },
  13880. "url": {
  13881. "description": "URL",
  13882. "type": "string"
  13883. }
  13884. }
  13885. },
  13886. "common.PCWebMenu": {
  13887. "type": "object",
  13888. "properties": {
  13889. "auth": {
  13890. "description": "页面权限列表",
  13891. "type": "array",
  13892. "items": {
  13893. "$ref": "#/definitions/common.PCWebMenuAuth"
  13894. }
  13895. },
  13896. "children": {
  13897. "description": "子菜单列表",
  13898. "type": "array",
  13899. "items": {
  13900. "$ref": "#/definitions/common.PCWebMenu"
  13901. }
  13902. },
  13903. "code": {
  13904. "description": "ID,新版本中权限KEY也是这个字段",
  13905. "type": "string"
  13906. },
  13907. "component": {
  13908. "description": "路由组件",
  13909. "type": "string"
  13910. },
  13911. "isshow": {
  13912. "description": "是否显示",
  13913. "type": "boolean"
  13914. },
  13915. "path": {
  13916. "description": "路由路径",
  13917. "type": "string"
  13918. },
  13919. "remark": {
  13920. "description": "备注",
  13921. "type": "string"
  13922. },
  13923. "requireauth": {
  13924. "description": "是否需要权限判断",
  13925. "type": "boolean"
  13926. },
  13927. "sort": {
  13928. "description": "排序",
  13929. "type": "integer"
  13930. },
  13931. "title": {
  13932. "description": "标题",
  13933. "type": "string"
  13934. },
  13935. "url": {
  13936. "description": "URL",
  13937. "type": "string"
  13938. }
  13939. }
  13940. },
  13941. "common.PCWebMenuAuth": {
  13942. "type": "object",
  13943. "properties": {
  13944. "code": {
  13945. "description": "ID,新版本中权限KEY也是这个字段",
  13946. "type": "string"
  13947. },
  13948. "isshow": {
  13949. "description": "是否显示",
  13950. "type": "boolean"
  13951. },
  13952. "label": {
  13953. "description": "标题",
  13954. "type": "string"
  13955. },
  13956. "remark": {
  13957. "description": "备注",
  13958. "type": "string"
  13959. },
  13960. "requireauth": {
  13961. "description": "是否需要权限判断",
  13962. "type": "boolean"
  13963. }
  13964. }
  13965. },
  13966. "common.QueryImageConfigsRsp": {
  13967. "type": "object",
  13968. "required": [
  13969. "configid"
  13970. ],
  13971. "properties": {
  13972. "areauserid": {
  13973. "description": "所属机构ID",
  13974. "type": "integer"
  13975. },
  13976. "configid": {
  13977. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  13978. "type": "integer"
  13979. },
  13980. "createdate": {
  13981. "description": "创建时间",
  13982. "type": "string"
  13983. },
  13984. "creatorid": {
  13985. "description": "创建人",
  13986. "type": "integer"
  13987. },
  13988. "imagepath": {
  13989. "description": "图片",
  13990. "type": "string"
  13991. },
  13992. "imagetype": {
  13993. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  13994. "type": "integer"
  13995. },
  13996. "isshow": {
  13997. "description": "是否展示 - 0:不展示 1:展示",
  13998. "type": "integer"
  13999. },
  14000. "marketid": {
  14001. "description": "市场ID",
  14002. "type": "integer"
  14003. },
  14004. "modifierid": {
  14005. "description": "操作人",
  14006. "type": "integer"
  14007. },
  14008. "sort": {
  14009. "description": "排序",
  14010. "type": "integer"
  14011. },
  14012. "title": {
  14013. "description": "标题",
  14014. "type": "string"
  14015. },
  14016. "trademode": {
  14017. "description": "交易模式",
  14018. "type": "integer"
  14019. },
  14020. "updatedate": {
  14021. "description": "修改时间",
  14022. "type": "string"
  14023. },
  14024. "url": {
  14025. "description": "链接(地址或商品ID)",
  14026. "type": "string"
  14027. },
  14028. "urltype": {
  14029. "description": "链接类型 - 1:直接地址 2:商品ID",
  14030. "type": "integer"
  14031. }
  14032. }
  14033. },
  14034. "common.QueryNoticeRsp": {
  14035. "type": "object",
  14036. "required": [
  14037. "autoid"
  14038. ],
  14039. "properties": {
  14040. "auditoruserid": {
  14041. "description": "审核人",
  14042. "type": "integer"
  14043. },
  14044. "auditremark": {
  14045. "description": "审核备注",
  14046. "type": "string"
  14047. },
  14048. "audittime": {
  14049. "description": "审核日期",
  14050. "type": "string"
  14051. },
  14052. "autoid": {
  14053. "description": "自增ID",
  14054. "type": "integer"
  14055. },
  14056. "content": {
  14057. "description": "内容",
  14058. "type": "string"
  14059. },
  14060. "createtime": {
  14061. "description": "创建时间",
  14062. "type": "string"
  14063. },
  14064. "creatorid": {
  14065. "description": "建仓人",
  14066. "type": "integer"
  14067. },
  14068. "endtime": {
  14069. "description": "结束时间",
  14070. "type": "string"
  14071. },
  14072. "istop": {
  14073. "description": "是否置顶 - 0:不置顶 1:置顶",
  14074. "type": "integer"
  14075. },
  14076. "msgiconurl": {
  14077. "description": "消息图标Url",
  14078. "type": "string"
  14079. },
  14080. "msgtype": {
  14081. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  14082. "type": "integer"
  14083. },
  14084. "publisher": {
  14085. "description": "消息发布者",
  14086. "type": "string"
  14087. },
  14088. "readed": {
  14089. "description": "是否已读",
  14090. "type": "boolean"
  14091. },
  14092. "scheduletime": {
  14093. "description": "计划发送时间",
  14094. "type": "string"
  14095. },
  14096. "sendtype": {
  14097. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  14098. "type": "integer"
  14099. },
  14100. "sentstatus": {
  14101. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  14102. "type": "integer"
  14103. },
  14104. "title": {
  14105. "description": "标题",
  14106. "type": "string"
  14107. },
  14108. "userid": {
  14109. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  14110. "type": "integer"
  14111. }
  14112. }
  14113. },
  14114. "common.QueryProvincesAndCitiesRsp": {
  14115. "type": "object",
  14116. "properties": {
  14117. "cities": {
  14118. "description": "市",
  14119. "type": "array",
  14120. "items": {
  14121. "$ref": "#/definitions/models.Division"
  14122. }
  14123. },
  14124. "province": {
  14125. "description": "省",
  14126. "$ref": "#/definitions/models.Division"
  14127. }
  14128. }
  14129. },
  14130. "common.QueryTableDefineRsp": {
  14131. "type": "object",
  14132. "required": [
  14133. "tablekey"
  14134. ],
  14135. "properties": {
  14136. "columns": {
  14137. "description": "列头信息数组",
  14138. "type": "array",
  14139. "items": {
  14140. "$ref": "#/definitions/models.Tablecolumnconfig"
  14141. }
  14142. },
  14143. "remark": {
  14144. "description": "Remark",
  14145. "type": "string"
  14146. },
  14147. "tabelmenu": {
  14148. "description": "列表菜单",
  14149. "type": "string"
  14150. },
  14151. "tablekey": {
  14152. "description": "列表Key",
  14153. "type": "string"
  14154. },
  14155. "tablename": {
  14156. "description": "列表名称",
  14157. "type": "string"
  14158. },
  14159. "tabletype": {
  14160. "description": "列表类型 - 1:管理端 2:终端",
  14161. "type": "integer"
  14162. }
  14163. }
  14164. },
  14165. "common.QueryTraderMenuRsp": {
  14166. "type": "object",
  14167. "properties": {
  14168. "OperationMenu": {
  14169. "description": "功能菜单",
  14170. "type": "array",
  14171. "items": {
  14172. "$ref": "#/definitions/models.OperationPrimaryMenu"
  14173. }
  14174. },
  14175. "QuoteMenu": {
  14176. "description": "报价牌分类菜单",
  14177. "type": "array",
  14178. "items": {
  14179. "$ref": "#/definitions/models.QuotePrimaryMenu"
  14180. }
  14181. }
  14182. }
  14183. },
  14184. "cptrade.Cptradepositioncancel": {
  14185. "type": "object",
  14186. "required": [
  14187. "cancelid"
  14188. ],
  14189. "properties": {
  14190. "accountid": {
  14191. "description": "申请人账户ID",
  14192. "type": "integer"
  14193. },
  14194. "applystatus": {
  14195. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14196. "type": "integer"
  14197. },
  14198. "applytime": {
  14199. "description": "申请时间",
  14200. "type": "string"
  14201. },
  14202. "cancelid": {
  14203. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  14204. "type": "integer"
  14205. },
  14206. "cancelqty": {
  14207. "description": "注销数量",
  14208. "type": "integer"
  14209. },
  14210. "createtime": {
  14211. "description": "创建时间",
  14212. "type": "string"
  14213. },
  14214. "creatorid": {
  14215. "description": "创建人ID",
  14216. "type": "integer"
  14217. },
  14218. "creatorname": {
  14219. "description": "创建人",
  14220. "type": "string"
  14221. },
  14222. "goodscode": {
  14223. "description": "订单商品代码",
  14224. "type": "string"
  14225. },
  14226. "goodsid": {
  14227. "description": "商品ID",
  14228. "type": "integer"
  14229. },
  14230. "goodsname": {
  14231. "description": "订单商品名称",
  14232. "type": "string"
  14233. },
  14234. "goodunit": {
  14235. "description": "报价单位",
  14236. "type": "string"
  14237. },
  14238. "handlestatus": {
  14239. "description": "处理状态",
  14240. "type": "integer"
  14241. },
  14242. "marketid": {
  14243. "description": "市场ID",
  14244. "type": "integer"
  14245. },
  14246. "marketname": {
  14247. "description": "市场名称",
  14248. "type": "string"
  14249. },
  14250. "tradedate": {
  14251. "description": "交易日(yyyyMMdd)",
  14252. "type": "string"
  14253. },
  14254. "userid": {
  14255. "description": "申请人ID",
  14256. "type": "integer"
  14257. }
  14258. }
  14259. },
  14260. "cptrade.Cptradepresaleapply": {
  14261. "type": "object",
  14262. "required": [
  14263. "applyid"
  14264. ],
  14265. "properties": {
  14266. "accountid": {
  14267. "description": "申请人账户ID",
  14268. "type": "integer"
  14269. },
  14270. "applyid": {
  14271. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  14272. "type": "integer"
  14273. },
  14274. "applyremark": {
  14275. "description": "申请备注",
  14276. "type": "string"
  14277. },
  14278. "applystatus": {
  14279. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14280. "type": "integer"
  14281. },
  14282. "applytime": {
  14283. "description": "申请时间",
  14284. "type": "string"
  14285. },
  14286. "attachmenturl": {
  14287. "description": "附件地址",
  14288. "type": "string"
  14289. },
  14290. "endtime": {
  14291. "description": "预售结束时间",
  14292. "type": "string"
  14293. },
  14294. "goodscode": {
  14295. "description": "商品代码",
  14296. "type": "string"
  14297. },
  14298. "goodsid": {
  14299. "description": "商品ID",
  14300. "type": "integer"
  14301. },
  14302. "goodsname": {
  14303. "description": "商品名称",
  14304. "type": "string"
  14305. },
  14306. "goodunit": {
  14307. "description": "报价单位",
  14308. "type": "string"
  14309. },
  14310. "handlestatus": {
  14311. "description": "处理状态",
  14312. "type": "integer"
  14313. },
  14314. "marketid": {
  14315. "description": "预售市场ID",
  14316. "type": "integer"
  14317. },
  14318. "marketname": {
  14319. "description": "预售市场名称",
  14320. "type": "string"
  14321. },
  14322. "presaleqty": {
  14323. "description": "预售数量",
  14324. "type": "integer"
  14325. },
  14326. "relatedgoodscode": {
  14327. "description": "关联交易合约代码",
  14328. "type": "string"
  14329. },
  14330. "relatedgoodsid": {
  14331. "description": "关联交易合约ID",
  14332. "type": "integer"
  14333. },
  14334. "relatedgoodsname": {
  14335. "description": "关联交易合约名称",
  14336. "type": "string"
  14337. },
  14338. "starttime": {
  14339. "description": "预售开始时间",
  14340. "type": "string"
  14341. },
  14342. "tradedate": {
  14343. "description": "交易日(yyyyMMdd)",
  14344. "type": "string"
  14345. },
  14346. "trademode": {
  14347. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  14348. "type": "integer"
  14349. },
  14350. "userid": {
  14351. "description": "申请人ID",
  14352. "type": "integer"
  14353. }
  14354. }
  14355. },
  14356. "cptrade.Cptradeusergoodsdata": {
  14357. "type": "object",
  14358. "required": [
  14359. "accountid",
  14360. "goodsid"
  14361. ],
  14362. "properties": {
  14363. "EnabledQty": {
  14364. "description": "可用量",
  14365. "type": "integer"
  14366. },
  14367. "GoodsCode": {
  14368. "description": "订单商品代码",
  14369. "type": "string"
  14370. },
  14371. "GoodsName": {
  14372. "description": "订单商品名称",
  14373. "type": "string"
  14374. },
  14375. "WRStandardCode": {
  14376. "description": "仓单标准代码",
  14377. "type": "string"
  14378. },
  14379. "WRStandardName": {
  14380. "description": "仓单标准名称",
  14381. "type": "string"
  14382. },
  14383. "accountid": {
  14384. "description": "账户ID",
  14385. "type": "integer"
  14386. },
  14387. "cancelqty": {
  14388. "description": "注销量",
  14389. "type": "integer"
  14390. },
  14391. "curpresaleqty": {
  14392. "description": "当前预售量",
  14393. "type": "integer"
  14394. },
  14395. "deliveryqty": {
  14396. "description": "交割量",
  14397. "type": "integer"
  14398. },
  14399. "freezeamount": {
  14400. "description": "冻结金额",
  14401. "type": "number"
  14402. },
  14403. "goodsid": {
  14404. "description": "商品ID",
  14405. "type": "integer"
  14406. },
  14407. "goodunit": {
  14408. "description": "报价单位",
  14409. "type": "string"
  14410. },
  14411. "hasspotfreeze": {
  14412. "description": "是否有现货冻结 - 0:否 1:有",
  14413. "type": "integer"
  14414. },
  14415. "inqty": {
  14416. "description": "转入量(总数量)",
  14417. "type": "integer"
  14418. },
  14419. "marketid": {
  14420. "description": "市场ID",
  14421. "type": "integer"
  14422. },
  14423. "presaledamount": {
  14424. "description": "已预售总金额",
  14425. "type": "integer"
  14426. },
  14427. "presaledqty": {
  14428. "description": "已预售量",
  14429. "type": "integer"
  14430. },
  14431. "userid": {
  14432. "description": "用户ID",
  14433. "type": "integer"
  14434. },
  14435. "wrstandardid": {
  14436. "description": "仓单标准ID",
  14437. "type": "integer"
  14438. }
  14439. }
  14440. },
  14441. "cptrade.QueryCPTradeMyBidRsp": {
  14442. "type": "object",
  14443. "required": [
  14444. "accountid",
  14445. "goodsid",
  14446. "marketid",
  14447. "orderid",
  14448. "orderqty",
  14449. "ordertime",
  14450. "tradeprice",
  14451. "tradeqty"
  14452. ],
  14453. "properties": {
  14454. "accountid": {
  14455. "description": "账户ID[报价币种]",
  14456. "type": "integer"
  14457. },
  14458. "goodsid": {
  14459. "description": "商品ID",
  14460. "type": "integer"
  14461. },
  14462. "goodunit": {
  14463. "description": "报价单位",
  14464. "type": "string"
  14465. },
  14466. "marketid": {
  14467. "description": "市场ID",
  14468. "type": "integer"
  14469. },
  14470. "orderid": {
  14471. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14472. "type": "integer"
  14473. },
  14474. "orderprice": {
  14475. "description": "委托价格",
  14476. "type": "number"
  14477. },
  14478. "orderqty": {
  14479. "description": "委托数量",
  14480. "type": "integer"
  14481. },
  14482. "ordertime": {
  14483. "description": "委托时间",
  14484. "type": "string"
  14485. },
  14486. "ordertotalprice": {
  14487. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  14488. "type": "number"
  14489. },
  14490. "ordertotalweight": {
  14491. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  14492. "type": "integer"
  14493. },
  14494. "totaltotalprice": {
  14495. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  14496. "type": "number"
  14497. },
  14498. "tradeprice": {
  14499. "description": "成交价格",
  14500. "type": "number"
  14501. },
  14502. "tradeqty": {
  14503. "description": "成交数量",
  14504. "type": "integer"
  14505. }
  14506. }
  14507. },
  14508. "cptrade.QueryCPTradeOrderDetailRsq": {
  14509. "type": "object",
  14510. "required": [
  14511. "accountid",
  14512. "buildtype",
  14513. "buyorsell",
  14514. "goodsid",
  14515. "marketid",
  14516. "memberuserid",
  14517. "operatetype",
  14518. "orderqty",
  14519. "ordertime",
  14520. "pricemode",
  14521. "strorderid",
  14522. "tradedate",
  14523. "validtype"
  14524. ],
  14525. "properties": {
  14526. "accountid": {
  14527. "description": "账户ID[报价币种]",
  14528. "type": "integer"
  14529. },
  14530. "buildtype": {
  14531. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  14532. "type": "integer"
  14533. },
  14534. "buyorsell": {
  14535. "description": "买卖 - 0:买 1:卖",
  14536. "type": "integer"
  14537. },
  14538. "cancelorderid": {
  14539. "description": "撤单单号(撤单时填写)",
  14540. "type": "integer"
  14541. },
  14542. "cancelqty": {
  14543. "description": "撤单数量",
  14544. "type": "integer"
  14545. },
  14546. "clientordertime": {
  14547. "description": "客户端委托时间",
  14548. "type": "string"
  14549. },
  14550. "clientticket": {
  14551. "description": "客户端流水号",
  14552. "type": "string"
  14553. },
  14554. "clienttype": {
  14555. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14556. "type": "integer"
  14557. },
  14558. "closeexchagechargevalue": {
  14559. "description": "平仓交易所手续费设置值",
  14560. "type": "number"
  14561. },
  14562. "closefeealgorithm": {
  14563. "description": "平仓手续费收取方式 1:比率 2:固定",
  14564. "type": "integer"
  14565. },
  14566. "closefreezecharge": {
  14567. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  14568. "type": "number"
  14569. },
  14570. "closememberchargevalue": {
  14571. "description": "平仓会员手续费设置值",
  14572. "type": "number"
  14573. },
  14574. "closeqty": {
  14575. "description": "平仓数量(先建后平操作 需要记录)",
  14576. "type": "integer"
  14577. },
  14578. "closetradeqty": {
  14579. "description": "平仓成交数量(先建后平操作,需要记录)",
  14580. "type": "integer"
  14581. },
  14582. "closeunfreezecharge": {
  14583. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  14584. "type": "number"
  14585. },
  14586. "delistingtype": {
  14587. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  14588. "type": "integer"
  14589. },
  14590. "freezecharge": {
  14591. "description": "冻结手续费",
  14592. "type": "number"
  14593. },
  14594. "freezemargin": {
  14595. "description": "冻结保证金(冻结交易金额)",
  14596. "type": "number"
  14597. },
  14598. "gcaccountid": {
  14599. "description": "账户ID[合约币种]",
  14600. "type": "integer"
  14601. },
  14602. "goodsid": {
  14603. "description": "商品ID",
  14604. "type": "integer"
  14605. },
  14606. "isconfirmexercise": {
  14607. "description": "是否确认行权- 0:否 1:是",
  14608. "type": "integer"
  14609. },
  14610. "ispreexercise": {
  14611. "description": "是否预申报- 0:否 1:是",
  14612. "type": "integer"
  14613. },
  14614. "listingselecttype": {
  14615. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14616. "type": "integer"
  14617. },
  14618. "marginalgorithm": {
  14619. "description": "保证金收取方式 1:比率 2:固定",
  14620. "type": "integer"
  14621. },
  14622. "marginvalue": {
  14623. "description": "即市保证金设置值",
  14624. "type": "number"
  14625. },
  14626. "marketid": {
  14627. "description": "市场ID",
  14628. "type": "integer"
  14629. },
  14630. "marketmaxsub": {
  14631. "description": "市价最大偏移范围",
  14632. "type": "number"
  14633. },
  14634. "memberuserid": {
  14635. "description": "所属会员UserID",
  14636. "type": "integer"
  14637. },
  14638. "openexchagechargevalue": {
  14639. "description": "建仓交易所手续费设置值",
  14640. "type": "number"
  14641. },
  14642. "openfeealgorithm": {
  14643. "description": "建仓手续费收取方式 1:比率 2:固定",
  14644. "type": "integer"
  14645. },
  14646. "openfreezecharge": {
  14647. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  14648. "type": "number"
  14649. },
  14650. "openmemberchargevalue": {
  14651. "description": "建仓会员手续费设置值",
  14652. "type": "number"
  14653. },
  14654. "openqty": {
  14655. "description": "开仓数量(先建后平操作,需要记录)",
  14656. "type": "integer"
  14657. },
  14658. "opentradeqty": {
  14659. "description": "开仓成交数量(先建后平操作,需要记录)",
  14660. "type": "integer"
  14661. },
  14662. "openunfreezecharge": {
  14663. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  14664. "type": "number"
  14665. },
  14666. "operatetype": {
  14667. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  14668. "type": "integer"
  14669. },
  14670. "operatorid": {
  14671. "description": "登录账号(LoginID)",
  14672. "type": "integer"
  14673. },
  14674. "optiontype": {
  14675. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  14676. "type": "integer"
  14677. },
  14678. "orderprice": {
  14679. "description": "委托价格",
  14680. "type": "number"
  14681. },
  14682. "orderqty": {
  14683. "description": "委托数量",
  14684. "type": "integer"
  14685. },
  14686. "ordersrc": {
  14687. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  14688. "type": "integer"
  14689. },
  14690. "orderstatus": {
  14691. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14692. "type": "integer"
  14693. },
  14694. "ordertime": {
  14695. "description": "委托时间",
  14696. "type": "string"
  14697. },
  14698. "preexerciseprice": {
  14699. "description": "预申报价格",
  14700. "type": "number"
  14701. },
  14702. "premium": {
  14703. "description": "权利金",
  14704. "type": "number"
  14705. },
  14706. "preorderid": {
  14707. "description": "关联预埋单号(止盈止损单时填写)",
  14708. "type": "integer"
  14709. },
  14710. "pricemode": {
  14711. "description": "取价方式 - 1:市价 2: 限价",
  14712. "type": "integer"
  14713. },
  14714. "quoteid": {
  14715. "description": "报价单ID",
  14716. "type": "integer"
  14717. },
  14718. "relatedid": {
  14719. "description": "关联单号(交割单)",
  14720. "type": "integer"
  14721. },
  14722. "retcode": {
  14723. "description": "错误代码",
  14724. "type": "integer"
  14725. },
  14726. "sessionid": {
  14727. "description": "会话ID",
  14728. "type": "integer"
  14729. },
  14730. "strorderid": {
  14731. "description": "委托单号",
  14732. "type": "string"
  14733. },
  14734. "tradedate": {
  14735. "description": "交易日(yyyyMMdd)",
  14736. "type": "string"
  14737. },
  14738. "tradeproperty": {
  14739. "description": "交易属性",
  14740. "type": "integer"
  14741. },
  14742. "tradeqty": {
  14743. "description": "成交数量",
  14744. "type": "integer"
  14745. },
  14746. "unfreezecharge": {
  14747. "description": "解冻手续费",
  14748. "type": "number"
  14749. },
  14750. "unfreezemargin": {
  14751. "description": "解冻保证金",
  14752. "type": "number"
  14753. },
  14754. "updatetime": {
  14755. "description": "更新时间",
  14756. "type": "string"
  14757. },
  14758. "uuid": {
  14759. "description": "发起端唯一id",
  14760. "type": "string"
  14761. },
  14762. "validtime": {
  14763. "description": "有效期限",
  14764. "type": "string"
  14765. },
  14766. "validtype": {
  14767. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  14768. "type": "integer"
  14769. },
  14770. "volumetype": {
  14771. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  14772. "type": "integer"
  14773. }
  14774. }
  14775. },
  14776. "cptrade.QueryMyCPTradeGoodsRsp": {
  14777. "type": "object",
  14778. "required": [
  14779. "goodscode",
  14780. "goodsid",
  14781. "goodsname",
  14782. "marketid",
  14783. "relatedgoodscode",
  14784. "relatedgoodsname"
  14785. ],
  14786. "properties": {
  14787. "accountid": {
  14788. "description": "卖方账户ID",
  14789. "type": "integer"
  14790. },
  14791. "agreeunit": {
  14792. "description": "合约单位",
  14793. "type": "number"
  14794. },
  14795. "applyid": {
  14796. "description": "关联申请ID",
  14797. "type": "integer"
  14798. },
  14799. "attachmenturl": {
  14800. "description": "附件地址",
  14801. "type": "string"
  14802. },
  14803. "createtime": {
  14804. "description": "创建时间",
  14805. "type": "string"
  14806. },
  14807. "currencyid": {
  14808. "description": "报价货币ID",
  14809. "type": "integer"
  14810. },
  14811. "decimalplace": {
  14812. "description": "报价小数位",
  14813. "type": "integer"
  14814. },
  14815. "endtime": {
  14816. "description": "预售结束时间",
  14817. "type": "string"
  14818. },
  14819. "floorprice": {
  14820. "description": "底价[大宗式竞拍]",
  14821. "type": "number"
  14822. },
  14823. "goodscode": {
  14824. "description": "商品代码(预售)",
  14825. "type": "string"
  14826. },
  14827. "goodsdetail": {
  14828. "description": "详情[大宗]",
  14829. "type": "string"
  14830. },
  14831. "goodsid": {
  14832. "description": "商品ID(自增ID SEQ_GOODS)",
  14833. "type": "integer"
  14834. },
  14835. "goodsname": {
  14836. "description": "商品名称(预售)",
  14837. "type": "string"
  14838. },
  14839. "goodunit": {
  14840. "description": "报价单位",
  14841. "type": "string"
  14842. },
  14843. "goodunitid": {
  14844. "description": "报价单位ID",
  14845. "type": "integer"
  14846. },
  14847. "marketid": {
  14848. "description": "所属市场ID",
  14849. "type": "integer"
  14850. },
  14851. "marketname": {
  14852. "description": "预售市场名称",
  14853. "type": "string"
  14854. },
  14855. "presaledamount": {
  14856. "description": "已预售总金额(预售结束时更新)",
  14857. "type": "number"
  14858. },
  14859. "presaledqty": {
  14860. "description": "已预售量(预售结束时更新)",
  14861. "type": "integer"
  14862. },
  14863. "presalemode": {
  14864. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  14865. "type": "integer"
  14866. },
  14867. "presaleqty": {
  14868. "description": "预售数量",
  14869. "type": "integer"
  14870. },
  14871. "refprice": {
  14872. "description": "参考价格[一口价]",
  14873. "type": "number"
  14874. },
  14875. "relatedgoodscode": {
  14876. "description": "商品代码(订单)",
  14877. "type": "string"
  14878. },
  14879. "relatedgoodsid": {
  14880. "description": "关联交易合约ID",
  14881. "type": "integer"
  14882. },
  14883. "relatedgoodsname": {
  14884. "description": "商品名称(订单)",
  14885. "type": "string"
  14886. },
  14887. "relatedmarketid": {
  14888. "description": "关联交易合约市场ID",
  14889. "type": "integer"
  14890. },
  14891. "sellstatus": {
  14892. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  14893. "type": "integer"
  14894. },
  14895. "startprice": {
  14896. "description": "起拍价[大宗式竞拍]",
  14897. "type": "number"
  14898. },
  14899. "starttime": {
  14900. "description": "预售开始时间",
  14901. "type": "string"
  14902. },
  14903. "tradedate": {
  14904. "description": "交易日(yyyyMMdd)",
  14905. "type": "string"
  14906. },
  14907. "tradeprice": {
  14908. "description": "成交价[大宗]",
  14909. "type": "number"
  14910. },
  14911. "userid": {
  14912. "description": "卖方用户ID",
  14913. "type": "integer"
  14914. }
  14915. }
  14916. },
  14917. "cptrade.QueryPresaleGoodsExRsp": {
  14918. "type": "object",
  14919. "required": [
  14920. "goodsid"
  14921. ],
  14922. "properties": {
  14923. "attachmenturl": {
  14924. "description": "附件地址",
  14925. "type": "string"
  14926. },
  14927. "createtime": {
  14928. "description": "创建时间",
  14929. "type": "string"
  14930. },
  14931. "endtime": {
  14932. "description": "预售结束时间",
  14933. "type": "string"
  14934. },
  14935. "floorprice": {
  14936. "description": "底价[大宗式竞拍]",
  14937. "type": "number"
  14938. },
  14939. "goodsdetail": {
  14940. "description": "详情[大宗]",
  14941. "type": "string"
  14942. },
  14943. "goodsid": {
  14944. "description": "商品ID(预售)",
  14945. "type": "integer"
  14946. },
  14947. "goodunit": {
  14948. "description": "报价单位",
  14949. "type": "string"
  14950. },
  14951. "marketid": {
  14952. "description": "预售市场ID - 根据预售模式选择市场",
  14953. "type": "integer"
  14954. },
  14955. "presaledamount": {
  14956. "description": "已预售总金额(预售结束时更新)",
  14957. "type": "number"
  14958. },
  14959. "presaledqty": {
  14960. "description": "已预售量(预售结束时更新)",
  14961. "type": "integer"
  14962. },
  14963. "presalemode": {
  14964. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  14965. "type": "integer"
  14966. },
  14967. "presaleqty": {
  14968. "description": "预售数量",
  14969. "type": "integer"
  14970. },
  14971. "refprice": {
  14972. "description": "参考价格[一口价]",
  14973. "type": "number"
  14974. },
  14975. "relatedgoodsid": {
  14976. "description": "关联交易合约ID",
  14977. "type": "integer"
  14978. },
  14979. "relatedmarketid": {
  14980. "description": "关联交易合约市场ID",
  14981. "type": "integer"
  14982. },
  14983. "sellstatus": {
  14984. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  14985. "type": "integer"
  14986. },
  14987. "startprice": {
  14988. "description": "起拍价[大宗式竞拍]",
  14989. "type": "number"
  14990. },
  14991. "starttime": {
  14992. "description": "预售开始时间",
  14993. "type": "string"
  14994. },
  14995. "tradedate": {
  14996. "description": "交易日(yyyyMMdd)",
  14997. "type": "string"
  14998. },
  14999. "tradeprice": {
  15000. "description": "成交价[大宗]",
  15001. "type": "number"
  15002. }
  15003. }
  15004. },
  15005. "delivery.QueryDeliveryRelationRsp": {
  15006. "type": "object",
  15007. "required": [
  15008. "begindate",
  15009. "enddate",
  15010. "goodsid",
  15011. "mindeliveryqty",
  15012. "xdeliveryratio"
  15013. ],
  15014. "properties": {
  15015. "begindate": {
  15016. "description": "起始日期(yyyyMMdd)",
  15017. "type": "string"
  15018. },
  15019. "buytemplateid": {
  15020. "description": "买履约计划模板ID",
  15021. "type": "integer"
  15022. },
  15023. "deliverygoodscode": {
  15024. "description": "品种代码",
  15025. "type": "string"
  15026. },
  15027. "deliverygoodsid": {
  15028. "description": "交割商品",
  15029. "type": "integer"
  15030. },
  15031. "deliverygoodsname": {
  15032. "description": "品种名称",
  15033. "type": "string"
  15034. },
  15035. "deliverymode": {
  15036. "description": "交割方式 - 1:点选式 2:申报式",
  15037. "type": "integer"
  15038. },
  15039. "deliverypricerule": {
  15040. "description": "交割价规则- 1:行情价 2:建仓价",
  15041. "type": "integer"
  15042. },
  15043. "deliverytype": {
  15044. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  15045. "type": "integer"
  15046. },
  15047. "enddate": {
  15048. "description": "结束日期(yyyyMMdd)",
  15049. "type": "string"
  15050. },
  15051. "enumdicname": {
  15052. "description": "品类单位名称",
  15053. "type": "string"
  15054. },
  15055. "goodscode": {
  15056. "description": "商品代码",
  15057. "type": "string"
  15058. },
  15059. "goodsid": {
  15060. "description": "交易合约ID",
  15061. "type": "integer"
  15062. },
  15063. "goodsname": {
  15064. "description": "商品名称",
  15065. "type": "string"
  15066. },
  15067. "marketid": {
  15068. "description": "市场ID",
  15069. "type": "integer"
  15070. },
  15071. "mindeliveryqty": {
  15072. "description": "最小交割系数(K)",
  15073. "type": "integer"
  15074. },
  15075. "p2deliveryprice": {
  15076. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  15077. "type": "number"
  15078. },
  15079. "p2deliveryratio": {
  15080. "description": "P2合约系数(p)",
  15081. "type": "integer"
  15082. },
  15083. "p2goodsid": {
  15084. "description": "P2合约ID",
  15085. "type": "integer"
  15086. },
  15087. "p2pricemode": {
  15088. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  15089. "type": "integer"
  15090. },
  15091. "pdeliveryprice": {
  15092. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  15093. "type": "number"
  15094. },
  15095. "pdeliveryratio": {
  15096. "description": "P合约系数(n)",
  15097. "type": "integer"
  15098. },
  15099. "pgoodscode": {
  15100. "description": "p合约代码",
  15101. "type": "string"
  15102. },
  15103. "pgoodsid": {
  15104. "description": "P合约ID",
  15105. "type": "integer"
  15106. },
  15107. "ppricemode": {
  15108. "description": "P合约价格方式 - 1:商品价 2:固定值",
  15109. "type": "integer"
  15110. },
  15111. "rratio": {
  15112. "description": "兑换系数(R)",
  15113. "type": "integer"
  15114. },
  15115. "rratio1": {
  15116. "description": "兑换系数(交易合约)(R1)",
  15117. "type": "integer"
  15118. },
  15119. "rratio2": {
  15120. "description": "兑换系数(仓单标准)(R2)",
  15121. "type": "integer"
  15122. },
  15123. "selltemplateid": {
  15124. "description": "卖履约计划模板ID",
  15125. "type": "integer"
  15126. },
  15127. "wrstandardid": {
  15128. "description": "仓单标准ID",
  15129. "type": "integer"
  15130. },
  15131. "xdeliveryratio": {
  15132. "description": "交易合约系数(m)",
  15133. "type": "integer"
  15134. }
  15135. }
  15136. },
  15137. "ermcp.ExposureDetailRsp": {
  15138. "type": "object",
  15139. "properties": {
  15140. "areauserid": {
  15141. "description": "机构ID",
  15142. "type": "integer"
  15143. },
  15144. "changeQty": {
  15145. "description": "套保变动量",
  15146. "type": "number"
  15147. },
  15148. "contracttype": {
  15149. "description": "现货合同类型 - 1:采购 -1:销售",
  15150. "type": "integer"
  15151. },
  15152. "convertfactor": {
  15153. "description": "标仓系数",
  15154. "type": "number"
  15155. },
  15156. "convertratio": {
  15157. "description": "套保系数",
  15158. "type": "number"
  15159. },
  15160. "createtime": {
  15161. "description": "时间",
  15162. "type": "string"
  15163. },
  15164. "enumdicname": {
  15165. "description": "现货商品单位名称",
  15166. "type": "string"
  15167. },
  15168. "logtype": {
  15169. "description": "类型 - 1:套保计划 2:现货合同",
  15170. "type": "integer"
  15171. },
  15172. "middlegoodsId": {
  15173. "description": "套保商品id",
  15174. "type": "integer"
  15175. },
  15176. "middlegoodscode": {
  15177. "description": "套保商品代码",
  15178. "type": "string"
  15179. },
  15180. "middlegoodsname": {
  15181. "description": "套保商品名称",
  15182. "type": "string"
  15183. },
  15184. "qty": {
  15185. "description": "数量",
  15186. "type": "number"
  15187. },
  15188. "relateNo": {
  15189. "description": "现货合同/套保计划编号",
  15190. "type": "string"
  15191. },
  15192. "wrstandardcode": {
  15193. "description": "现货商品代码",
  15194. "type": "string"
  15195. },
  15196. "wrstandardid": {
  15197. "description": "现货商品ID",
  15198. "type": "integer"
  15199. },
  15200. "wrstandardname": {
  15201. "description": "现货商品名称",
  15202. "type": "string"
  15203. }
  15204. }
  15205. },
  15206. "ermcp.ExposureHedgePosDetailRsp": {
  15207. "type": "object",
  15208. "properties": {
  15209. "buyorsell": {
  15210. "description": "买卖方向 0-买 1-卖",
  15211. "type": "integer"
  15212. },
  15213. "channelbuildtype": {
  15214. "description": "开平方向 1-建仓 2-平仓",
  15215. "type": "integer"
  15216. },
  15217. "goodscode": {
  15218. "description": "商品代码",
  15219. "type": "string"
  15220. },
  15221. "goodsname": {
  15222. "description": "商品名称",
  15223. "type": "string"
  15224. },
  15225. "hedgegoodsid": {
  15226. "description": "商品id",
  15227. "type": "integer"
  15228. },
  15229. "tradeqty": {
  15230. "description": "数量(成交数量)",
  15231. "type": "integer"
  15232. },
  15233. "tradetime": {
  15234. "description": "时间(成交时间)",
  15235. "type": "string"
  15236. }
  15237. }
  15238. },
  15239. "ermcp.ExposureHedgePositionRsp": {
  15240. "type": "object",
  15241. "properties": {
  15242. "accountid": {
  15243. "description": "资金账号[外部母账户]",
  15244. "type": "integer"
  15245. },
  15246. "curbuyposition": {
  15247. "description": "期末买头寸",
  15248. "type": "integer"
  15249. },
  15250. "cursellposition": {
  15251. "description": "期末卖头寸",
  15252. "type": "integer"
  15253. },
  15254. "curtdbuyposition": {
  15255. "description": "期末今日买头寸",
  15256. "type": "integer"
  15257. },
  15258. "curtdsellposition": {
  15259. "description": "期末今日卖头寸",
  15260. "type": "integer"
  15261. },
  15262. "curydbuyposition": {
  15263. "description": "期末上日买头寸",
  15264. "type": "integer"
  15265. },
  15266. "curydsellposition": {
  15267. "description": "期末上日卖头寸",
  15268. "type": "integer"
  15269. },
  15270. "decreaseqty": {
  15271. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  15272. "type": "integer"
  15273. },
  15274. "fretdbuyposition": {
  15275. "description": "冻结今日买头寸",
  15276. "type": "integer"
  15277. },
  15278. "fretdsellposition": {
  15279. "description": "冻结今日卖头寸",
  15280. "type": "integer"
  15281. },
  15282. "freydbuyposition": {
  15283. "description": "冻结上日买头寸",
  15284. "type": "integer"
  15285. },
  15286. "freydsellposition": {
  15287. "description": "冻结上日卖头寸",
  15288. "type": "integer"
  15289. },
  15290. "goodscode": {
  15291. "description": "商品代码",
  15292. "type": "string"
  15293. },
  15294. "goodsid": {
  15295. "description": "商品id",
  15296. "type": "integer"
  15297. },
  15298. "goodsname": {
  15299. "description": "商品名称",
  15300. "type": "string"
  15301. },
  15302. "hedgeaccountcode": {
  15303. "description": "对冲账号",
  15304. "type": "string"
  15305. },
  15306. "hedgegoodsid": {
  15307. "description": "对冲合约ID",
  15308. "type": "integer"
  15309. },
  15310. "increaseqty": {
  15311. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  15312. "type": "integer"
  15313. },
  15314. "marketid": {
  15315. "description": "市场ID",
  15316. "type": "integer"
  15317. },
  15318. "relateduserid": {
  15319. "description": "关联用户id",
  15320. "type": "integer"
  15321. },
  15322. "totalcurqty": {
  15323. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  15324. "type": "integer"
  15325. },
  15326. "totalydqty": {
  15327. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  15328. "type": "integer"
  15329. },
  15330. "tradedate": {
  15331. "description": "交易日(yyyyMMdd)",
  15332. "type": "string"
  15333. },
  15334. "ydbuyposition": {
  15335. "description": "期初买头寸",
  15336. "type": "integer"
  15337. },
  15338. "ydsellposition": {
  15339. "description": "期初卖头寸",
  15340. "type": "integer"
  15341. }
  15342. }
  15343. },
  15344. "ermcp.ExposureSpotDetailRsp": {
  15345. "type": "object",
  15346. "properties": {
  15347. "contracttype": {
  15348. "description": "合同类型 1-采购 -1-销售",
  15349. "type": "integer"
  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. "qty": {
  15364. "description": "数量",
  15365. "type": "number"
  15366. },
  15367. "recordname": {
  15368. "description": "类型名称",
  15369. "type": "string"
  15370. },
  15371. "relatedid": {
  15372. "description": "套保计划ID/现货合同ID",
  15373. "type": "string"
  15374. },
  15375. "relatedno": {
  15376. "description": "编号",
  15377. "type": "string"
  15378. },
  15379. "strtime": {
  15380. "description": "时间",
  15381. "type": "string"
  15382. },
  15383. "wrstandardcode": {
  15384. "description": "现货商品代码",
  15385. "type": "string"
  15386. },
  15387. "wrstandardname": {
  15388. "description": "现货商品名称",
  15389. "type": "string"
  15390. }
  15391. }
  15392. },
  15393. "ermcp.ExposureSpotRsp": {
  15394. "type": "object",
  15395. "properties": {
  15396. "areauserid": {
  15397. "description": "所属机构",
  15398. "type": "integer"
  15399. },
  15400. "decreaseqty": {
  15401. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15402. "type": "number"
  15403. },
  15404. "increaseqty": {
  15405. "description": "增加数量=销售计划数量+采购已定价数量",
  15406. "type": "number"
  15407. },
  15408. "oritoalspotqty": {
  15409. "description": "昨日数量",
  15410. "type": "number"
  15411. },
  15412. "totalspotqty": {
  15413. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15414. "type": "number"
  15415. },
  15416. "updatetime": {
  15417. "description": "更新时间",
  15418. "type": "string"
  15419. },
  15420. "wrstandardcode": {
  15421. "description": "现货品种代码",
  15422. "type": "string"
  15423. },
  15424. "wrstandardid": {
  15425. "description": "现货商品ID",
  15426. "type": "integer"
  15427. },
  15428. "wrstandardname": {
  15429. "description": "现货品种",
  15430. "type": "string"
  15431. }
  15432. }
  15433. },
  15434. "ermcp.HisExposureRsp": {
  15435. "type": "object",
  15436. "properties": {
  15437. "data": {
  15438. "description": "历史敞口",
  15439. "type": "array",
  15440. "items": {
  15441. "$ref": "#/definitions/models.ErmcpHisExposure"
  15442. }
  15443. },
  15444. "enumdicname": {
  15445. "description": "单位名称",
  15446. "type": "string"
  15447. },
  15448. "middlegoodscode": {
  15449. "description": "套保品种代码",
  15450. "type": "string"
  15451. },
  15452. "middlegoodsid": {
  15453. "description": "套保品种ID",
  15454. "type": "integer"
  15455. },
  15456. "middlegoodsname": {
  15457. "description": "套保品种名称",
  15458. "type": "string"
  15459. }
  15460. }
  15461. },
  15462. "ermcp.PendingAuditCntRsp": {
  15463. "type": "object",
  15464. "properties": {
  15465. "areastockqty": {
  15466. "description": "待审核数量: 库存申请",
  15467. "type": "integer"
  15468. },
  15469. "businessdjqty": {
  15470. "description": "待审核数量: 点价",
  15471. "type": "integer"
  15472. },
  15473. "businessfpqty": {
  15474. "description": "待审核数量: 发票",
  15475. "type": "integer"
  15476. },
  15477. "businessjsqty": {
  15478. "description": "待审核数量: 结算",
  15479. "type": "integer"
  15480. },
  15481. "businesskxqty": {
  15482. "description": "待审核数量: 款项",
  15483. "type": "integer"
  15484. },
  15485. "hedgeplanqty": {
  15486. "description": "待审核数量: 套保计划",
  15487. "type": "integer"
  15488. },
  15489. "spotcontractqty": {
  15490. "description": "待审核数量: 现货合同",
  15491. "type": "integer"
  15492. },
  15493. "userqty": {
  15494. "description": "待审核数量: 用户",
  15495. "type": "integer"
  15496. }
  15497. }
  15498. },
  15499. "ermcp.QryAvalidGPRsp": {
  15500. "type": "object",
  15501. "properties": {
  15502. "goodsgroupid": {
  15503. "description": "期货品种id",
  15504. "type": "integer"
  15505. },
  15506. "goodsgroupname": {
  15507. "description": "期货品种名称",
  15508. "type": "string"
  15509. },
  15510. "goodunitid": {
  15511. "description": "品种单位id",
  15512. "type": "integer"
  15513. },
  15514. "goodunitname": {
  15515. "description": "品种单位名称",
  15516. "type": "string"
  15517. },
  15518. "outergroupcode": {
  15519. "description": "期货品种代码",
  15520. "type": "string"
  15521. }
  15522. }
  15523. },
  15524. "ermcp.QryBusinessDjRsp": {
  15525. "type": "object",
  15526. "properties": {
  15527. "amount": {
  15528. "description": "点价金额=(点价价格+升贴水)*点价数量",
  15529. "type": "number"
  15530. },
  15531. "applyid": {
  15532. "description": "申请人",
  15533. "type": "string"
  15534. },
  15535. "applyname": {
  15536. "description": "申请人名称",
  15537. "type": "string"
  15538. },
  15539. "applystatus": {
  15540. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15541. "type": "integer"
  15542. },
  15543. "applytime": {
  15544. "description": "申请时间",
  15545. "type": "string"
  15546. },
  15547. "attachurl": {
  15548. "description": "附件",
  15549. "type": "string"
  15550. },
  15551. "auditid": {
  15552. "description": "审核人ID",
  15553. "type": "string"
  15554. },
  15555. "auditname": {
  15556. "description": "审核人名称",
  15557. "type": "string"
  15558. },
  15559. "audittime": {
  15560. "description": "审核时间",
  15561. "type": "string"
  15562. },
  15563. "buyusername": {
  15564. "description": "采购方名称",
  15565. "type": "string"
  15566. },
  15567. "contractno": {
  15568. "description": "合同编号",
  15569. "type": "string"
  15570. },
  15571. "contractstatus": {
  15572. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15573. "type": "integer"
  15574. },
  15575. "contracttype": {
  15576. "description": "现货合同类型 - 1:采购 -1:销售",
  15577. "type": "integer"
  15578. },
  15579. "deliverygoodscode": {
  15580. "description": "现货品种代码",
  15581. "type": "string"
  15582. },
  15583. "deliverygoodsid": {
  15584. "description": "现货商品ID",
  15585. "type": "integer"
  15586. },
  15587. "deliverygoodsname": {
  15588. "description": "现货品种名称",
  15589. "type": "string"
  15590. },
  15591. "enumdicname": {
  15592. "description": "单位名称",
  15593. "type": "string"
  15594. },
  15595. "goodscode": {
  15596. "description": "点价合约",
  15597. "type": "string"
  15598. },
  15599. "goodsname": {
  15600. "description": "商品名称",
  15601. "type": "string"
  15602. },
  15603. "operateapplyid": {
  15604. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15605. "type": "string"
  15606. },
  15607. "operateapplytype": {
  15608. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15609. "type": "integer"
  15610. },
  15611. "pricedPrice": {
  15612. "description": "点价价格(非必填)",
  15613. "type": "number"
  15614. },
  15615. "pricedQty": {
  15616. "description": "点价数量(非必填)",
  15617. "type": "number"
  15618. },
  15619. "pricemove": {
  15620. "description": "升贴水",
  15621. "type": "number"
  15622. },
  15623. "pricetype": {
  15624. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15625. "type": "integer"
  15626. },
  15627. "relatedid": {
  15628. "description": "现货合同ID",
  15629. "type": "string"
  15630. },
  15631. "sellusername": {
  15632. "description": "销售方名字",
  15633. "type": "string"
  15634. },
  15635. "userid": {
  15636. "description": "用户ID",
  15637. "type": "integer"
  15638. },
  15639. "wrstandardcode": {
  15640. "description": "品类代码",
  15641. "type": "string"
  15642. },
  15643. "wrstandardid": {
  15644. "description": "品类id",
  15645. "type": "integer"
  15646. },
  15647. "wrstandardname": {
  15648. "description": "品类名称",
  15649. "type": "string"
  15650. }
  15651. }
  15652. },
  15653. "ermcp.QryBussinessFpRsp": {
  15654. "type": "object",
  15655. "properties": {
  15656. "applyid": {
  15657. "description": "申请人",
  15658. "type": "string"
  15659. },
  15660. "applyname": {
  15661. "description": "申请人名称",
  15662. "type": "string"
  15663. },
  15664. "applystatus": {
  15665. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15666. "type": "integer"
  15667. },
  15668. "applytime": {
  15669. "description": "申请时间",
  15670. "type": "string"
  15671. },
  15672. "attachurl": {
  15673. "description": "附件",
  15674. "type": "string"
  15675. },
  15676. "auditid": {
  15677. "description": "审核人ID",
  15678. "type": "string"
  15679. },
  15680. "auditname": {
  15681. "description": "审核人名称",
  15682. "type": "string"
  15683. },
  15684. "audittime": {
  15685. "description": "审核时间",
  15686. "type": "string"
  15687. },
  15688. "buyusername": {
  15689. "description": "采购方名称",
  15690. "type": "string"
  15691. },
  15692. "contractno": {
  15693. "description": "合同编号",
  15694. "type": "string"
  15695. },
  15696. "contractstatus": {
  15697. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15698. "type": "integer"
  15699. },
  15700. "contracttype": {
  15701. "description": "现货合同类型 - 1:采购 -1:销售",
  15702. "type": "integer"
  15703. },
  15704. "deliverygoodscode": {
  15705. "description": "现货品种代码",
  15706. "type": "string"
  15707. },
  15708. "deliverygoodsid": {
  15709. "description": "现货商品ID",
  15710. "type": "integer"
  15711. },
  15712. "deliverygoodsname": {
  15713. "description": "现货品种名称",
  15714. "type": "string"
  15715. },
  15716. "enumdicname": {
  15717. "description": "单位名称",
  15718. "type": "string"
  15719. },
  15720. "goodscode": {
  15721. "description": "点价合约",
  15722. "type": "string"
  15723. },
  15724. "goodsname": {
  15725. "description": "商品名称",
  15726. "type": "string"
  15727. },
  15728. "invoiceAmount": {
  15729. "description": "已开收票金额(销售为开票,采购为收票)",
  15730. "type": "number"
  15731. },
  15732. "operateapplyid": {
  15733. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15734. "type": "string"
  15735. },
  15736. "operateapplytype": {
  15737. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15738. "type": "integer"
  15739. },
  15740. "pricemove": {
  15741. "description": "升贴水",
  15742. "type": "number"
  15743. },
  15744. "pricetype": {
  15745. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15746. "type": "integer"
  15747. },
  15748. "relatedid": {
  15749. "description": "现货合同ID",
  15750. "type": "string"
  15751. },
  15752. "sellusername": {
  15753. "description": "销售方名字",
  15754. "type": "string"
  15755. },
  15756. "userid": {
  15757. "description": "用户ID",
  15758. "type": "integer"
  15759. },
  15760. "wrstandardcode": {
  15761. "description": "品类代码",
  15762. "type": "string"
  15763. },
  15764. "wrstandardid": {
  15765. "description": "品类id",
  15766. "type": "integer"
  15767. },
  15768. "wrstandardname": {
  15769. "description": "品类名称",
  15770. "type": "string"
  15771. }
  15772. }
  15773. },
  15774. "ermcp.QryBussinessJsExRsp": {
  15775. "type": "object",
  15776. "properties": {
  15777. "applyid": {
  15778. "description": "申请人",
  15779. "type": "string"
  15780. },
  15781. "applyname": {
  15782. "description": "申请人名称",
  15783. "type": "string"
  15784. },
  15785. "applystatus": {
  15786. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15787. "type": "integer"
  15788. },
  15789. "applytime": {
  15790. "description": "申请时间",
  15791. "type": "string"
  15792. },
  15793. "attachurl": {
  15794. "description": "附件",
  15795. "type": "string"
  15796. },
  15797. "auditid": {
  15798. "description": "审核人ID",
  15799. "type": "string"
  15800. },
  15801. "auditname": {
  15802. "description": "审核人名称",
  15803. "type": "string"
  15804. },
  15805. "audittime": {
  15806. "description": "审核时间",
  15807. "type": "string"
  15808. },
  15809. "buyusername": {
  15810. "description": "采购方名称",
  15811. "type": "string"
  15812. },
  15813. "contractno": {
  15814. "description": "合同编号",
  15815. "type": "string"
  15816. },
  15817. "contractstatus": {
  15818. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15819. "type": "integer"
  15820. },
  15821. "contracttype": {
  15822. "description": "现货合同类型 - 1:采购 -1:销售",
  15823. "type": "integer"
  15824. },
  15825. "deliverygoodscode": {
  15826. "description": "现货品种代码",
  15827. "type": "string"
  15828. },
  15829. "deliverygoodsid": {
  15830. "description": "现货商品ID",
  15831. "type": "integer"
  15832. },
  15833. "deliverygoodsname": {
  15834. "description": "现货品种名称",
  15835. "type": "string"
  15836. },
  15837. "enumdicname": {
  15838. "description": "单位名称",
  15839. "type": "string"
  15840. },
  15841. "goodscode": {
  15842. "description": "点价合约",
  15843. "type": "string"
  15844. },
  15845. "goodsname": {
  15846. "description": "商品名称",
  15847. "type": "string"
  15848. },
  15849. "operateapplyid": {
  15850. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15851. "type": "string"
  15852. },
  15853. "operateapplytype": {
  15854. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15855. "type": "integer"
  15856. },
  15857. "pricemove": {
  15858. "description": "升贴水",
  15859. "type": "number"
  15860. },
  15861. "pricetype": {
  15862. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15863. "type": "integer"
  15864. },
  15865. "reckontype": {
  15866. "description": "结算类型",
  15867. "type": "string"
  15868. },
  15869. "reckonvalue": {
  15870. "description": "值",
  15871. "type": "number"
  15872. },
  15873. "relatedid": {
  15874. "description": "现货合同ID",
  15875. "type": "string"
  15876. },
  15877. "sellusername": {
  15878. "description": "销售方名字",
  15879. "type": "string"
  15880. },
  15881. "userid": {
  15882. "description": "用户ID",
  15883. "type": "integer"
  15884. },
  15885. "wrstandardcode": {
  15886. "description": "品类代码",
  15887. "type": "string"
  15888. },
  15889. "wrstandardid": {
  15890. "description": "品类id",
  15891. "type": "integer"
  15892. },
  15893. "wrstandardname": {
  15894. "description": "品类名称",
  15895. "type": "string"
  15896. }
  15897. }
  15898. },
  15899. "ermcp.QryBussinessJsRsp": {
  15900. "type": "object",
  15901. "properties": {
  15902. "addmargin": {
  15903. "description": "追加保证金(非必填)",
  15904. "type": "number"
  15905. },
  15906. "applyid": {
  15907. "description": "申请人",
  15908. "type": "string"
  15909. },
  15910. "applyname": {
  15911. "description": "申请人名称",
  15912. "type": "string"
  15913. },
  15914. "applystatus": {
  15915. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15916. "type": "integer"
  15917. },
  15918. "applytime": {
  15919. "description": "申请时间",
  15920. "type": "string"
  15921. },
  15922. "attachurl": {
  15923. "description": "附件",
  15924. "type": "string"
  15925. },
  15926. "auditid": {
  15927. "description": "审核人ID",
  15928. "type": "string"
  15929. },
  15930. "auditname": {
  15931. "description": "审核人名称",
  15932. "type": "string"
  15933. },
  15934. "audittime": {
  15935. "description": "审核时间",
  15936. "type": "string"
  15937. },
  15938. "buyusername": {
  15939. "description": "采购方名称",
  15940. "type": "string"
  15941. },
  15942. "contractno": {
  15943. "description": "合同编号",
  15944. "type": "string"
  15945. },
  15946. "contractstatus": {
  15947. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15948. "type": "integer"
  15949. },
  15950. "contracttype": {
  15951. "description": "现货合同类型 - 1:采购 -1:销售",
  15952. "type": "integer"
  15953. },
  15954. "decmargin": {
  15955. "description": "减少保证金(非必填)",
  15956. "type": "number"
  15957. },
  15958. "deliverygoodscode": {
  15959. "description": "现货品种代码",
  15960. "type": "string"
  15961. },
  15962. "deliverygoodsid": {
  15963. "description": "现货商品ID",
  15964. "type": "integer"
  15965. },
  15966. "deliverygoodsname": {
  15967. "description": "现货品种名称",
  15968. "type": "string"
  15969. },
  15970. "enumdicname": {
  15971. "description": "单位名称",
  15972. "type": "string"
  15973. },
  15974. "goodscode": {
  15975. "description": "点价合约",
  15976. "type": "string"
  15977. },
  15978. "goodsname": {
  15979. "description": "商品名称",
  15980. "type": "string"
  15981. },
  15982. "operateapplyid": {
  15983. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15984. "type": "string"
  15985. },
  15986. "operateapplytype": {
  15987. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15988. "type": "integer"
  15989. },
  15990. "pricemove": {
  15991. "description": "升贴水",
  15992. "type": "number"
  15993. },
  15994. "pricetype": {
  15995. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15996. "type": "integer"
  15997. },
  15998. "reckonadjustamount": {
  15999. "description": "结算调整金额(非必填)",
  16000. "type": "number"
  16001. },
  16002. "reckonosamount": {
  16003. "description": "结算溢短金额(非必填)",
  16004. "type": "number"
  16005. },
  16006. "reckonotheramount": {
  16007. "description": "结算其他费用(非必填)",
  16008. "type": "number"
  16009. },
  16010. "reckonrealqty": {
  16011. "description": "结算实际数量(非必填)",
  16012. "type": "number"
  16013. },
  16014. "relatedid": {
  16015. "description": "现货合同ID",
  16016. "type": "string"
  16017. },
  16018. "sellusername": {
  16019. "description": "销售方名字",
  16020. "type": "string"
  16021. },
  16022. "userid": {
  16023. "description": "用户ID",
  16024. "type": "integer"
  16025. },
  16026. "wrstandardcode": {
  16027. "description": "品类代码",
  16028. "type": "string"
  16029. },
  16030. "wrstandardid": {
  16031. "description": "品类id",
  16032. "type": "integer"
  16033. },
  16034. "wrstandardname": {
  16035. "description": "品类名称",
  16036. "type": "string"
  16037. }
  16038. }
  16039. },
  16040. "ermcp.QryBussinessKxRsp": {
  16041. "type": "object",
  16042. "properties": {
  16043. "applyid": {
  16044. "description": "申请人",
  16045. "type": "string"
  16046. },
  16047. "applyname": {
  16048. "description": "申请人名称",
  16049. "type": "string"
  16050. },
  16051. "applystatus": {
  16052. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16053. "type": "integer"
  16054. },
  16055. "applytime": {
  16056. "description": "申请时间",
  16057. "type": "string"
  16058. },
  16059. "attachurl": {
  16060. "description": "附件",
  16061. "type": "string"
  16062. },
  16063. "auditid": {
  16064. "description": "审核人ID",
  16065. "type": "string"
  16066. },
  16067. "auditname": {
  16068. "description": "审核人名称",
  16069. "type": "string"
  16070. },
  16071. "audittime": {
  16072. "description": "审核时间",
  16073. "type": "string"
  16074. },
  16075. "buyusername": {
  16076. "description": "采购方名称",
  16077. "type": "string"
  16078. },
  16079. "contractno": {
  16080. "description": "合同编号",
  16081. "type": "string"
  16082. },
  16083. "contractstatus": {
  16084. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16085. "type": "integer"
  16086. },
  16087. "contracttype": {
  16088. "description": "现货合同类型 - 1:采购 -1:销售",
  16089. "type": "integer"
  16090. },
  16091. "deductamount": {
  16092. "description": "退款(非必填)",
  16093. "type": "number"
  16094. },
  16095. "deliverygoodscode": {
  16096. "description": "现货品种代码",
  16097. "type": "string"
  16098. },
  16099. "deliverygoodsid": {
  16100. "description": "现货商品ID",
  16101. "type": "integer"
  16102. },
  16103. "deliverygoodsname": {
  16104. "description": "现货品种名称",
  16105. "type": "string"
  16106. },
  16107. "enumdicname": {
  16108. "description": "单位名称",
  16109. "type": "string"
  16110. },
  16111. "goodscode": {
  16112. "description": "点价合约",
  16113. "type": "string"
  16114. },
  16115. "goodsname": {
  16116. "description": "商品名称",
  16117. "type": "string"
  16118. },
  16119. "kxtype": {
  16120. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  16121. "type": "integer"
  16122. },
  16123. "operateapplyid": {
  16124. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16125. "type": "string"
  16126. },
  16127. "operateapplytype": {
  16128. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16129. "type": "integer"
  16130. },
  16131. "payamount": {
  16132. "description": "收付款(非必填)",
  16133. "type": "number"
  16134. },
  16135. "pricemove": {
  16136. "description": "升贴水",
  16137. "type": "number"
  16138. },
  16139. "pricetype": {
  16140. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16141. "type": "integer"
  16142. },
  16143. "relatedid": {
  16144. "description": "现货合同ID",
  16145. "type": "string"
  16146. },
  16147. "sellusername": {
  16148. "description": "销售方名字",
  16149. "type": "string"
  16150. },
  16151. "userid": {
  16152. "description": "用户ID",
  16153. "type": "integer"
  16154. },
  16155. "wrstandardcode": {
  16156. "description": "品类代码",
  16157. "type": "string"
  16158. },
  16159. "wrstandardid": {
  16160. "description": "品类id",
  16161. "type": "integer"
  16162. },
  16163. "wrstandardname": {
  16164. "description": "品类名称",
  16165. "type": "string"
  16166. }
  16167. }
  16168. },
  16169. "ermcp.QryGGCovertCfgRsp": {
  16170. "type": "object",
  16171. "properties": {
  16172. "convertratio": {
  16173. "description": "折算系数",
  16174. "type": "number"
  16175. },
  16176. "destgoodsgroupid": {
  16177. "description": "目标品种ID",
  16178. "type": "integer"
  16179. },
  16180. "dstcode": {
  16181. "description": "目录品种代码",
  16182. "type": "string"
  16183. },
  16184. "dstexchangecode": {
  16185. "description": "目标期货交易所",
  16186. "type": "string"
  16187. },
  16188. "dstname": {
  16189. "description": "目标品种名称",
  16190. "type": "string"
  16191. },
  16192. "dstunitid": {
  16193. "description": "目标品种单位ID",
  16194. "type": "integer"
  16195. },
  16196. "dstunitidname": {
  16197. "description": "目标品种单位名称",
  16198. "type": "string"
  16199. },
  16200. "modifytime": {
  16201. "description": "修改时间",
  16202. "type": "string"
  16203. },
  16204. "srccode": {
  16205. "description": "源品种代码",
  16206. "type": "string"
  16207. },
  16208. "srcexchangecode": {
  16209. "description": "源期货交易所",
  16210. "type": "string"
  16211. },
  16212. "srcgoodsgroupid": {
  16213. "description": "源品种ID",
  16214. "type": "integer"
  16215. },
  16216. "srcname": {
  16217. "description": "源品种名称",
  16218. "type": "string"
  16219. },
  16220. "srcunitid": {
  16221. "description": "源品种单位ID",
  16222. "type": "integer"
  16223. },
  16224. "srcunitidname": {
  16225. "description": "源品种单位名称",
  16226. "type": "string"
  16227. }
  16228. }
  16229. },
  16230. "ermcp.QryMGChangeLogRsp": {
  16231. "type": "object",
  16232. "properties": {
  16233. "aftervalue": {
  16234. "description": "变更后",
  16235. "type": "number"
  16236. },
  16237. "applyid": {
  16238. "description": "操作人",
  16239. "type": "integer"
  16240. },
  16241. "applyname": {
  16242. "description": "操作人名称",
  16243. "type": "string"
  16244. },
  16245. "applysrc": {
  16246. "description": "操作来源 - 1:管理端 2:终端",
  16247. "type": "integer"
  16248. },
  16249. "beforevalue": {
  16250. "description": "变更前",
  16251. "type": "number"
  16252. },
  16253. "changelogtype": {
  16254. "description": "变更流水类型 - 1:套保比率变更",
  16255. "type": "integer"
  16256. },
  16257. "handlestatus": {
  16258. "description": "处理状态",
  16259. "type": "integer"
  16260. },
  16261. "logdatetime": {
  16262. "description": "流水日期",
  16263. "type": "string"
  16264. },
  16265. "logid": {
  16266. "description": "流水ID",
  16267. "type": "integer"
  16268. },
  16269. "logremark": {
  16270. "description": "流水备注",
  16271. "type": "string"
  16272. },
  16273. "middlegoodsid": {
  16274. "description": "套保品种ID",
  16275. "type": "integer"
  16276. },
  16277. "tradedate": {
  16278. "description": "交易日(yyyyMMdd)",
  16279. "type": "string"
  16280. },
  16281. "updatetime": {
  16282. "description": "更新时间",
  16283. "type": "string"
  16284. }
  16285. }
  16286. },
  16287. "ermcp.QryMiddleGoodsDetailRsp": {
  16288. "type": "object",
  16289. "properties": {
  16290. "cvList": {
  16291. "description": "期货品种折算列表",
  16292. "type": "array",
  16293. "items": {
  16294. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  16295. }
  16296. },
  16297. "mg": {
  16298. "description": "套保品种基本信息",
  16299. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16300. },
  16301. "wrcList": {
  16302. "description": "现货品种列表(现货商品折算配置)",
  16303. "type": "array",
  16304. "items": {
  16305. "$ref": "#/definitions/models.WRSConverTDetail"
  16306. }
  16307. }
  16308. }
  16309. },
  16310. "ermcp.QryMiddleGoodsRsp": {
  16311. "type": "object",
  16312. "properties": {
  16313. "areauserid": {
  16314. "description": "机构用户ID",
  16315. "type": "integer"
  16316. },
  16317. "createtime": {
  16318. "description": "修改时间",
  16319. "type": "string"
  16320. },
  16321. "enumdicname": {
  16322. "description": "单位名称",
  16323. "type": "string"
  16324. },
  16325. "evaluateratio": {
  16326. "description": "估价系数",
  16327. "type": "number"
  16328. },
  16329. "goodsgroupid": {
  16330. "description": "关联期货品种ID",
  16331. "type": "integer"
  16332. },
  16333. "goodsunitid": {
  16334. "description": "单位ID",
  16335. "type": "integer"
  16336. },
  16337. "isvalid": {
  16338. "description": "状态 0-无效(停用) 1-有效(正常)",
  16339. "type": "integer"
  16340. },
  16341. "middlegoodscode": {
  16342. "description": "套保品种代码",
  16343. "type": "string"
  16344. },
  16345. "middlegoodsid": {
  16346. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16347. "type": "integer"
  16348. },
  16349. "middlegoodsname": {
  16350. "description": "套保品种名称",
  16351. "type": "string"
  16352. },
  16353. "modifytime": {
  16354. "description": "修改时间",
  16355. "type": "string"
  16356. },
  16357. "needarbitrageratio": {
  16358. "description": "套利比例",
  16359. "type": "number"
  16360. },
  16361. "needhedgeratio": {
  16362. "description": "套保比率",
  16363. "type": "number"
  16364. },
  16365. "qtydecimalplace": {
  16366. "description": "数量小数位",
  16367. "type": "integer"
  16368. },
  16369. "relatedgoodsid": {
  16370. "description": "关联交易商品ID",
  16371. "type": "integer"
  16372. },
  16373. "relatedgoodstype": {
  16374. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16375. "type": "integer"
  16376. },
  16377. "remark": {
  16378. "description": "备注",
  16379. "type": "string"
  16380. }
  16381. }
  16382. },
  16383. "ermcp.QryOPLogRsp": {
  16384. "type": "object",
  16385. "properties": {
  16386. "aftervalue": {
  16387. "description": "变更后",
  16388. "type": "number"
  16389. },
  16390. "applyid": {
  16391. "description": "操作人ID",
  16392. "type": "string"
  16393. },
  16394. "applyname": {
  16395. "description": "操作人名称",
  16396. "type": "string"
  16397. },
  16398. "beforevalue": {
  16399. "description": "变更前",
  16400. "type": "number"
  16401. },
  16402. "biztype": {
  16403. "description": "业务类型 - 1:套保计划 2:现货合同",
  16404. "type": "integer"
  16405. },
  16406. "contracttype": {
  16407. "description": "现货合同类型 - 1:采购 -1:销售",
  16408. "type": "integer"
  16409. },
  16410. "logvalue": {
  16411. "description": "数值",
  16412. "type": "number"
  16413. },
  16414. "operatelogtype": {
  16415. "description": "操作流水类型",
  16416. "type": "integer"
  16417. },
  16418. "operatelogtypedesc": {
  16419. "description": "操作流水类型名称",
  16420. "type": "string"
  16421. },
  16422. "relatedid": {
  16423. "description": "现货合同ID\\套保计划",
  16424. "type": "string"
  16425. },
  16426. "updatetime": {
  16427. "description": "更新时间",
  16428. "type": "string"
  16429. }
  16430. }
  16431. },
  16432. "ermcp.QryUserInfoRsp": {
  16433. "type": "object",
  16434. "properties": {
  16435. "address": {
  16436. "description": "通讯地址",
  16437. "type": "string"
  16438. },
  16439. "attachment1": {
  16440. "description": "附件1",
  16441. "type": "string"
  16442. },
  16443. "audittime": {
  16444. "description": "审核时间",
  16445. "type": "string"
  16446. },
  16447. "cardbackphotourl": {
  16448. "description": "证件反面图片地址",
  16449. "type": "string"
  16450. },
  16451. "cardfrontphotourl": {
  16452. "description": "证件正面图片地址",
  16453. "type": "string"
  16454. },
  16455. "cardnum": {
  16456. "description": "证件号码",
  16457. "type": "string"
  16458. },
  16459. "cardtype": {
  16460. "description": "证件类型",
  16461. "type": "integer"
  16462. },
  16463. "cardtypename": {
  16464. "description": "证件类型名称",
  16465. "type": "string"
  16466. },
  16467. "cityid": {
  16468. "description": "市",
  16469. "type": "integer"
  16470. },
  16471. "contactname": {
  16472. "description": "联系人",
  16473. "type": "string"
  16474. },
  16475. "countryid": {
  16476. "description": "国家",
  16477. "type": "integer"
  16478. },
  16479. "createtime": {
  16480. "description": "创建时间",
  16481. "type": "string"
  16482. },
  16483. "customername": {
  16484. "description": "企业名称",
  16485. "type": "string"
  16486. },
  16487. "districtid": {
  16488. "description": "区域",
  16489. "type": "integer"
  16490. },
  16491. "email": {
  16492. "description": "邮件",
  16493. "type": "string"
  16494. },
  16495. "legalpersonname": {
  16496. "description": "法人姓名(企业)",
  16497. "type": "string"
  16498. },
  16499. "memberuserid": {
  16500. "description": "所属机构ID",
  16501. "type": "integer"
  16502. },
  16503. "mobile": {
  16504. "description": "手机号码",
  16505. "type": "string"
  16506. },
  16507. "modifytime": {
  16508. "description": "修改时间",
  16509. "type": "string"
  16510. },
  16511. "nickname": {
  16512. "description": "昵称",
  16513. "type": "string"
  16514. },
  16515. "provinceid": {
  16516. "description": "省",
  16517. "type": "integer"
  16518. },
  16519. "remark": {
  16520. "description": "备注",
  16521. "type": "string"
  16522. },
  16523. "status": {
  16524. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16525. "type": "integer"
  16526. },
  16527. "statusdesc": {
  16528. "description": "账户状态中文描述",
  16529. "type": "string"
  16530. },
  16531. "taxpayernum": {
  16532. "description": "纳税人识别号",
  16533. "type": "string"
  16534. },
  16535. "telphone": {
  16536. "description": "联系电话",
  16537. "type": "string"
  16538. },
  16539. "userid": {
  16540. "description": "用户ID",
  16541. "type": "integer"
  16542. },
  16543. "userinfotype": {
  16544. "description": "客户类型",
  16545. "type": "string"
  16546. }
  16547. }
  16548. },
  16549. "ermcp.QryWarehouseRsp": {
  16550. "type": "object",
  16551. "properties": {
  16552. "address": {
  16553. "description": "详细地址",
  16554. "type": "string"
  16555. },
  16556. "areauserid": {
  16557. "description": "所属机构",
  16558. "type": "integer"
  16559. },
  16560. "autoid": {
  16561. "description": "自增ID(仓库ID)",
  16562. "type": "integer"
  16563. },
  16564. "cityid": {
  16565. "description": "市",
  16566. "type": "integer"
  16567. },
  16568. "contactname": {
  16569. "description": "联系人",
  16570. "type": "string"
  16571. },
  16572. "contactnum": {
  16573. "description": "联系电话",
  16574. "type": "string"
  16575. },
  16576. "countryid": {
  16577. "description": "国家",
  16578. "type": "integer"
  16579. },
  16580. "createtime": {
  16581. "description": "创建时间",
  16582. "type": "string"
  16583. },
  16584. "districtid": {
  16585. "description": "区",
  16586. "type": "integer"
  16587. },
  16588. "hasvideo": {
  16589. "description": "是否有视频 - 0:无 1:有",
  16590. "type": "integer"
  16591. },
  16592. "provinceid": {
  16593. "description": "省",
  16594. "type": "integer"
  16595. },
  16596. "remark": {
  16597. "description": "审核备注",
  16598. "type": "string"
  16599. },
  16600. "videourl": {
  16601. "description": "视频地址",
  16602. "type": "string"
  16603. },
  16604. "warehousecode": {
  16605. "description": "仓库代码",
  16606. "type": "string"
  16607. },
  16608. "warehousename": {
  16609. "description": "仓库名称",
  16610. "type": "string"
  16611. },
  16612. "warehousestatus": {
  16613. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16614. "type": "integer"
  16615. },
  16616. "warehousetype": {
  16617. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16618. "type": "integer"
  16619. }
  16620. }
  16621. },
  16622. "ermcp.QueryErmcpTradePositionRsp": {
  16623. "type": "object",
  16624. "properties": {
  16625. "agreeunit": {
  16626. "description": "合约单位",
  16627. "type": "number"
  16628. },
  16629. "buyorsell": {
  16630. "description": "方向 - 0:买 1:卖",
  16631. "type": "integer"
  16632. },
  16633. "curpositionqty": {
  16634. "description": "持仓(总仓数量, 期末头寸)",
  16635. "type": "integer"
  16636. },
  16637. "curtdposition": {
  16638. "description": "今仓数量(期末今日头寸)",
  16639. "type": "integer"
  16640. },
  16641. "curtdpositionenabled": {
  16642. "description": "今仓可用",
  16643. "type": "integer"
  16644. },
  16645. "decimalplace": {
  16646. "description": "报价小数位",
  16647. "type": "integer"
  16648. },
  16649. "enableqty": {
  16650. "description": "可用(总仓可用)",
  16651. "type": "integer"
  16652. },
  16653. "exexchangename": {
  16654. "description": "外部交易所名称",
  16655. "type": "string"
  16656. },
  16657. "goodscode": {
  16658. "description": "商品代码(内部)",
  16659. "type": "string"
  16660. },
  16661. "goodsid": {
  16662. "description": "商品ID(自增ID SEQ_GOODS)",
  16663. "type": "integer"
  16664. },
  16665. "goodsname": {
  16666. "description": "商品名称",
  16667. "type": "string"
  16668. },
  16669. "last": {
  16670. "description": "现价",
  16671. "type": "number"
  16672. },
  16673. "marketid": {
  16674. "description": "所属市场ID",
  16675. "type": "integer"
  16676. },
  16677. "openaverageprice": {
  16678. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  16679. "type": "number"
  16680. },
  16681. "opencost": {
  16682. "description": "开仓成本",
  16683. "type": "number"
  16684. },
  16685. "openpl": {
  16686. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  16687. "type": "number"
  16688. },
  16689. "outgoodscode": {
  16690. "description": "商品代码(外部)",
  16691. "type": "string"
  16692. },
  16693. "positionaverageprice": {
  16694. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  16695. "type": "number"
  16696. },
  16697. "positioncost": {
  16698. "description": "持仓成本",
  16699. "type": "number"
  16700. },
  16701. "positionpl": {
  16702. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  16703. "type": "number"
  16704. },
  16705. "positionplrate": {
  16706. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  16707. "type": "number"
  16708. },
  16709. "usedmargin": {
  16710. "description": "占用保证金",
  16711. "type": "number"
  16712. }
  16713. }
  16714. },
  16715. "ermcp.RealtimeExposurePositionRsp": {
  16716. "type": "object",
  16717. "properties": {
  16718. "agreeunit": {
  16719. "description": "合约单位",
  16720. "type": "string"
  16721. },
  16722. "areauserid": {
  16723. "description": "所属机构id",
  16724. "type": "integer"
  16725. },
  16726. "convertratio": {
  16727. "description": "期货品种系数(折算系数)",
  16728. "type": "number"
  16729. },
  16730. "curqty": {
  16731. "description": "当前持仓",
  16732. "type": "integer"
  16733. },
  16734. "diffhedgeqty": {
  16735. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  16736. "type": "number"
  16737. },
  16738. "diffqty": {
  16739. "description": "持仓变动量=当前持仓-昨日持仓",
  16740. "type": "integer"
  16741. },
  16742. "goodscode": {
  16743. "description": "商品代码",
  16744. "type": "string"
  16745. },
  16746. "goodsid": {
  16747. "description": "商品id",
  16748. "type": "integer"
  16749. },
  16750. "goodsname": {
  16751. "description": "商品名称",
  16752. "type": "string"
  16753. },
  16754. "middlegoodsid": {
  16755. "description": "套保商品id",
  16756. "type": "integer"
  16757. },
  16758. "ydqty": {
  16759. "description": "昨日持仓",
  16760. "type": "integer"
  16761. }
  16762. }
  16763. },
  16764. "ermcp.RealtimeExposureRsp": {
  16765. "type": "object",
  16766. "properties": {
  16767. "AreaUserID": {
  16768. "description": "所属机构",
  16769. "type": "integer"
  16770. },
  16771. "BuyFutureQty": {
  16772. "description": "买入期货数量",
  16773. "type": "number"
  16774. },
  16775. "BuyPlanQty": {
  16776. "description": "采购计划数量",
  16777. "type": "number"
  16778. },
  16779. "BuyPricedQty": {
  16780. "description": "采购合同已定价数量",
  16781. "type": "number"
  16782. },
  16783. "MiddleGoodsCode": {
  16784. "description": "套保品种代码",
  16785. "type": "string"
  16786. },
  16787. "MiddleGoodsHedgeRatio": {
  16788. "description": "套保比例",
  16789. "type": "number"
  16790. },
  16791. "MiddleGoodsID": {
  16792. "description": "套保品种",
  16793. "type": "integer"
  16794. },
  16795. "MiddleGoodsName": {
  16796. "description": "套保品种名称",
  16797. "type": "string"
  16798. },
  16799. "NeedHedgeExposoure": {
  16800. "description": "应套保敞口(套保敞口)",
  16801. "type": "number"
  16802. },
  16803. "NeedHedgeRatio": {
  16804. "description": "应套保敞口比例",
  16805. "type": "number"
  16806. },
  16807. "OriBuyFutureQty": {
  16808. "description": "期初买入期货数量",
  16809. "type": "number"
  16810. },
  16811. "OriBuyPlanQty": {
  16812. "description": "期初采购计划数量",
  16813. "type": "number"
  16814. },
  16815. "OriBuyPricedQty": {
  16816. "description": "期初采购合同已定价数量",
  16817. "type": "number"
  16818. },
  16819. "OriSellFutureQty": {
  16820. "description": "期初卖出期货数量",
  16821. "type": "number"
  16822. },
  16823. "OriSellPlanQty": {
  16824. "description": "期初销售计划数量",
  16825. "type": "number"
  16826. },
  16827. "OriSellPricedQty": {
  16828. "description": "期初销售合同已定价数量",
  16829. "type": "number"
  16830. },
  16831. "SellFutureQty": {
  16832. "description": "卖出期货数量",
  16833. "type": "number"
  16834. },
  16835. "SellPlanQty": {
  16836. "description": "销售计划数量",
  16837. "type": "number"
  16838. },
  16839. "SellPricedQty": {
  16840. "description": "销售合同已定价数量",
  16841. "type": "number"
  16842. },
  16843. "TotalExposure": {
  16844. "description": "总敞口 平安:净敞口",
  16845. "type": "number"
  16846. },
  16847. "TotalFutureQty": {
  16848. "description": "期货总量 平安:保值净持仓量",
  16849. "type": "number"
  16850. },
  16851. "TotalHedgeRatio": {
  16852. "description": "敞口比例",
  16853. "type": "number"
  16854. },
  16855. "TotalNeedHedgeQty": {
  16856. "description": "应套保总量(现货应套保总量)",
  16857. "type": "number"
  16858. },
  16859. "TotalSpotQty": {
  16860. "description": "现货总量 平安:采销定价净值",
  16861. "type": "number"
  16862. },
  16863. "arbitrageqty": {
  16864. "description": "套利量",
  16865. "type": "number"
  16866. },
  16867. "diffArbitrageQty": {
  16868. "description": "套利变动量",
  16869. "type": "number"
  16870. },
  16871. "diffExposoureQty": {
  16872. "description": "变动量(套保敞口)",
  16873. "type": "number"
  16874. },
  16875. "diffFutuQty": {
  16876. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  16877. "type": "number"
  16878. },
  16879. "diffHedgeQty": {
  16880. "description": "套保变动量",
  16881. "type": "number"
  16882. },
  16883. "diffQty": {
  16884. "description": "变动量(总敞口) 平安:净敞口今日变动",
  16885. "type": "number"
  16886. },
  16887. "diffSpotHedgeQty": {
  16888. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  16889. "type": "number"
  16890. },
  16891. "diffSpotQty": {
  16892. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  16893. "type": "number"
  16894. },
  16895. "enumdicname": {
  16896. "description": "单位名称",
  16897. "type": "string"
  16898. },
  16899. "hedgeqty": {
  16900. "description": "套保量",
  16901. "type": "number"
  16902. },
  16903. "needarbitrageqty": {
  16904. "description": "应套利量",
  16905. "type": "number"
  16906. },
  16907. "needarbitrageratio": {
  16908. "description": "套利比例",
  16909. "type": "number"
  16910. },
  16911. "needhedgeqty": {
  16912. "description": "应套保量",
  16913. "type": "number"
  16914. },
  16915. "oriTotalFutuQty": {
  16916. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  16917. "type": "number"
  16918. },
  16919. "oriTotalSpotQty": {
  16920. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  16921. "type": "number"
  16922. },
  16923. "oriarbitrageqty": {
  16924. "description": "期初套利量",
  16925. "type": "number"
  16926. },
  16927. "orihedgeqty": {
  16928. "description": "期初套保量",
  16929. "type": "number"
  16930. },
  16931. "orineedhedgeexposoure": {
  16932. "description": "期初套保敞口",
  16933. "type": "number"
  16934. },
  16935. "oritotalexposure": {
  16936. "description": "期初总敞口",
  16937. "type": "number"
  16938. },
  16939. "oritotalfutureqty": {
  16940. "description": "期初期货总量",
  16941. "type": "number"
  16942. },
  16943. "oritotalneedhedgeqty": {
  16944. "description": "期初现货应套保量",
  16945. "type": "number"
  16946. }
  16947. }
  16948. },
  16949. "erms2.QueryArbitrageStrategyRsp": {
  16950. "type": "object",
  16951. "required": [
  16952. "asapplyid"
  16953. ],
  16954. "properties": {
  16955. "applybasis": {
  16956. "description": "申请基差",
  16957. "type": "number"
  16958. },
  16959. "asapplyid": {
  16960. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  16961. "type": "string"
  16962. },
  16963. "asname": {
  16964. "description": "策略名称",
  16965. "type": "string"
  16966. },
  16967. "asno": {
  16968. "description": "策略编号",
  16969. "type": "string"
  16970. },
  16971. "basischangepl": {
  16972. "description": "基差变动损益[结算更新]",
  16973. "type": "number"
  16974. },
  16975. "biztype": {
  16976. "description": "业务类型 - 1:正向套利 -1:反向套利",
  16977. "type": "integer"
  16978. },
  16979. "closetradedate": {
  16980. "description": "完结交易日(yyyyMMdd)",
  16981. "type": "string"
  16982. },
  16983. "curbasis": {
  16984. "description": "当前基差[结算更新]",
  16985. "type": "number"
  16986. },
  16987. "deliverygoodsid": {
  16988. "description": "现货品种ID",
  16989. "type": "integer"
  16990. },
  16991. "futureavgprice": {
  16992. "description": "期货建仓均价",
  16993. "type": "number"
  16994. },
  16995. "futurecloseamount": {
  16996. "description": "期货平仓金额",
  16997. "type": "number"
  16998. },
  16999. "futurecloseqty": {
  17000. "description": "期货平仓数量",
  17001. "type": "number"
  17002. },
  17003. "futureopenamount": {
  17004. "description": "期货开仓金额",
  17005. "type": "number"
  17006. },
  17007. "futureopenqty": {
  17008. "description": "期货开仓数量",
  17009. "type": "number"
  17010. },
  17011. "futurepl": {
  17012. "description": "期货总盈亏[结算更新]",
  17013. "type": "number"
  17014. },
  17015. "futureqty": {
  17016. "description": "期货持仓数量",
  17017. "type": "number"
  17018. },
  17019. "futurequote": {
  17020. "description": "期货额度",
  17021. "type": "number"
  17022. },
  17023. "goodsgroupid": {
  17024. "description": "期货品种ID",
  17025. "type": "integer"
  17026. },
  17027. "marketid": {
  17028. "description": "市场ID",
  17029. "type": "integer"
  17030. },
  17031. "netexposure": {
  17032. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  17033. "type": "number"
  17034. },
  17035. "netexposurepl": {
  17036. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  17037. "type": "number"
  17038. },
  17039. "netexposurerate": {
  17040. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  17041. "type": "number"
  17042. },
  17043. "openbasis": {
  17044. "description": "建仓基差",
  17045. "type": "number"
  17046. },
  17047. "pricedspotqty": {
  17048. "description": "已定价现货数量",
  17049. "type": "number"
  17050. },
  17051. "pricedspotqtynotax": {
  17052. "description": "已定价现货不含税数量",
  17053. "type": "number"
  17054. },
  17055. "remark": {
  17056. "description": "备注",
  17057. "type": "string"
  17058. },
  17059. "spotavgprice": {
  17060. "description": "现货均价",
  17061. "type": "number"
  17062. },
  17063. "spotbuyamount": {
  17064. "description": "现货采购金额",
  17065. "type": "number"
  17066. },
  17067. "spotbuyqty": {
  17068. "description": "现货采购数量",
  17069. "type": "number"
  17070. },
  17071. "spotpl": {
  17072. "description": "现货总盈亏[结算更新]",
  17073. "type": "number"
  17074. },
  17075. "spotquota": {
  17076. "description": "现货额度",
  17077. "type": "number"
  17078. },
  17079. "spotsellamount": {
  17080. "description": "现货销售金额",
  17081. "type": "number"
  17082. },
  17083. "spotsellqty": {
  17084. "description": "现货销售数量",
  17085. "type": "number"
  17086. },
  17087. "spotusedquota": {
  17088. "description": "现货占用资金",
  17089. "type": "number"
  17090. },
  17091. "strategystatus": {
  17092. "description": "策略状态 - 0:未结束 1:已结束",
  17093. "type": "integer"
  17094. },
  17095. "totalpl": {
  17096. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  17097. "type": "number"
  17098. },
  17099. "tradedate": {
  17100. "description": "交易日(yyyyMMdd)",
  17101. "type": "string"
  17102. },
  17103. "updatetime": {
  17104. "description": "更新时间",
  17105. "type": "string"
  17106. },
  17107. "usedquota": {
  17108. "description": "已占用资金",
  17109. "type": "number"
  17110. },
  17111. "userid": {
  17112. "description": "所属机构",
  17113. "type": "integer"
  17114. }
  17115. }
  17116. },
  17117. "erms2.QueryInnerTradeDetailRsp": {
  17118. "type": "object",
  17119. "required": [
  17120. "asapplyid",
  17121. "buyorsell",
  17122. "goodscode",
  17123. "goodsgroupid",
  17124. "goodsgroupname",
  17125. "goodsname",
  17126. "tradeid"
  17127. ],
  17128. "properties": {
  17129. "accountid": {
  17130. "description": "账号ID",
  17131. "type": "integer"
  17132. },
  17133. "agreeunit": {
  17134. "description": "合约单位",
  17135. "type": "number"
  17136. },
  17137. "asapplyid": {
  17138. "description": "策略申请ID",
  17139. "type": "integer"
  17140. },
  17141. "asname": {
  17142. "description": "策略名称",
  17143. "type": "string"
  17144. },
  17145. "asno": {
  17146. "description": "策略编号",
  17147. "type": "string"
  17148. },
  17149. "buyorsell": {
  17150. "description": "方向 - 0:买 1:卖",
  17151. "type": "integer"
  17152. },
  17153. "channelbuildtype": {
  17154. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  17155. "type": "integer"
  17156. },
  17157. "closetype": {
  17158. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  17159. "type": "integer"
  17160. },
  17161. "decimalplace": {
  17162. "description": "报价小数位",
  17163. "type": "integer"
  17164. },
  17165. "detailtype": {
  17166. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  17167. "type": "integer"
  17168. },
  17169. "exexchangecode": {
  17170. "description": "外部交易所代码",
  17171. "type": "string"
  17172. },
  17173. "exexchangename": {
  17174. "description": "外部交易所名称",
  17175. "type": "string"
  17176. },
  17177. "goodscode": {
  17178. "description": "商品代码(合约)",
  17179. "type": "string"
  17180. },
  17181. "goodsgroupid": {
  17182. "description": "商品组ID(品种ID)",
  17183. "type": "integer"
  17184. },
  17185. "goodsgroupname": {
  17186. "description": "商品组名称(品种)",
  17187. "type": "string"
  17188. },
  17189. "goodsid": {
  17190. "description": "商品ID",
  17191. "type": "integer"
  17192. },
  17193. "goodsname": {
  17194. "description": "商品名称(合约)",
  17195. "type": "string"
  17196. },
  17197. "goodunit": {
  17198. "description": "报价单位",
  17199. "type": "string"
  17200. },
  17201. "marketid": {
  17202. "description": "市场ID",
  17203. "type": "integer"
  17204. },
  17205. "orderid": {
  17206. "description": "委托单号",
  17207. "type": "string"
  17208. },
  17209. "outgoodscode": {
  17210. "description": "商品代码(外部)",
  17211. "type": "string"
  17212. },
  17213. "relatedouttradeid": {
  17214. "description": "关联外部成交单ID",
  17215. "type": "string"
  17216. },
  17217. "remark": {
  17218. "description": "备注",
  17219. "type": "string"
  17220. },
  17221. "spotcontractid": {
  17222. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  17223. "type": "integer"
  17224. },
  17225. "spotcontractno": {
  17226. "description": "现货合同编号",
  17227. "type": "string"
  17228. },
  17229. "tradeid": {
  17230. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17231. "type": "string"
  17232. },
  17233. "tradeprice": {
  17234. "description": "成交价格",
  17235. "type": "number"
  17236. },
  17237. "tradeqty": {
  17238. "description": "成交数量",
  17239. "type": "integer"
  17240. },
  17241. "tradetime": {
  17242. "description": "成交时间",
  17243. "type": "string"
  17244. },
  17245. "updatetime": {
  17246. "description": "更新时间",
  17247. "type": "string"
  17248. }
  17249. }
  17250. },
  17251. "erms2.QuerySpotContractRsp": {
  17252. "type": "object",
  17253. "required": [
  17254. "spotcontractid"
  17255. ],
  17256. "properties": {
  17257. "accountid": {
  17258. "description": "资金账户ID",
  17259. "type": "integer"
  17260. },
  17261. "areauserid": {
  17262. "description": "所属机构",
  17263. "type": "integer"
  17264. },
  17265. "closedate": {
  17266. "description": "终止日期",
  17267. "type": "string"
  17268. },
  17269. "closeremark": {
  17270. "description": "结束备注",
  17271. "type": "string"
  17272. },
  17273. "closetradedate": {
  17274. "description": "完结交易日(yyyyMMdd)",
  17275. "type": "string"
  17276. },
  17277. "closetype": {
  17278. "description": "终止类型 - 1:违约 2:提前终止",
  17279. "type": "integer"
  17280. },
  17281. "contractamount": {
  17282. "description": "合同金额",
  17283. "type": "number"
  17284. },
  17285. "contractattachment": {
  17286. "description": "合同附件",
  17287. "type": "string"
  17288. },
  17289. "contractno": {
  17290. "description": "现货合同编号",
  17291. "type": "string"
  17292. },
  17293. "contractqty": {
  17294. "description": "合同数量(数值) (用于计算)",
  17295. "type": "number"
  17296. },
  17297. "contractqtychar": {
  17298. "description": "合同数量\\已订价数量 (用于显示)",
  17299. "type": "string"
  17300. },
  17301. "contractstatus": {
  17302. "description": "合同状态 - 0:未结束 1:已结束",
  17303. "type": "integer"
  17304. },
  17305. "contracttype": {
  17306. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  17307. "type": "integer"
  17308. },
  17309. "customeraccountid": {
  17310. "description": "客户资金账户ID",
  17311. "type": "integer"
  17312. },
  17313. "customeruserid": {
  17314. "description": "客户ID",
  17315. "type": "integer"
  17316. },
  17317. "deliverygoodsdesc": {
  17318. "description": "品种说明",
  17319. "type": "string"
  17320. },
  17321. "deliverygoodsid": {
  17322. "description": "现货品种ID",
  17323. "type": "integer"
  17324. },
  17325. "handlestatus": {
  17326. "description": "处理状态",
  17327. "type": "integer"
  17328. },
  17329. "invoiceatt": {
  17330. "description": "发票附件",
  17331. "type": "string"
  17332. },
  17333. "invoicedatetime": {
  17334. "description": "开收票更新时间",
  17335. "type": "string"
  17336. },
  17337. "invoiceopentime": {
  17338. "description": "开票时间",
  17339. "type": "string"
  17340. },
  17341. "invoiceremark": {
  17342. "description": "发票备注",
  17343. "type": "string"
  17344. },
  17345. "invoicestatus": {
  17346. "description": "开收票状态 - 0:未开票 1:已开票",
  17347. "type": "integer"
  17348. },
  17349. "lastdate": {
  17350. "description": "交货时间",
  17351. "type": "string"
  17352. },
  17353. "marketid": {
  17354. "description": "市场ID",
  17355. "type": "integer"
  17356. },
  17357. "paydatetime": {
  17358. "description": "收付款更新时间",
  17359. "type": "string"
  17360. },
  17361. "payremark": {
  17362. "description": "收付款备注",
  17363. "type": "string"
  17364. },
  17365. "paystatus": {
  17366. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  17367. "type": "integer"
  17368. },
  17369. "positionqty": {
  17370. "description": "头寸数量 - 合同数量去小数部分",
  17371. "type": "integer"
  17372. },
  17373. "producttype": {
  17374. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17375. "type": "integer"
  17376. },
  17377. "relatedqty": {
  17378. "description": "已关联数量",
  17379. "type": "number"
  17380. },
  17381. "relatedstatus": {
  17382. "description": "关联完结状态 - 0:未结束 1:已结束",
  17383. "type": "integer"
  17384. },
  17385. "remark": {
  17386. "description": "备注",
  17387. "type": "string"
  17388. },
  17389. "signdate": {
  17390. "description": "签订日期",
  17391. "type": "string"
  17392. },
  17393. "spotcontractid": {
  17394. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  17395. "type": "string"
  17396. },
  17397. "spotdatetime": {
  17398. "description": "收发货更新时间",
  17399. "type": "string"
  17400. },
  17401. "spotprice": {
  17402. "description": "价格",
  17403. "type": "number"
  17404. },
  17405. "spotremark": {
  17406. "description": "收发货备注",
  17407. "type": "string"
  17408. },
  17409. "spotstatus": {
  17410. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  17411. "type": "integer"
  17412. },
  17413. "tradedate": {
  17414. "description": "交易日(yyyyMMdd)",
  17415. "type": "string"
  17416. },
  17417. "userid": {
  17418. "description": "业务员用户ID",
  17419. "type": "integer"
  17420. },
  17421. "warehouseid": {
  17422. "description": "仓库ID",
  17423. "type": "integer"
  17424. },
  17425. "wrfactortypeid": {
  17426. "description": "仓单要素类型ID",
  17427. "type": "integer"
  17428. },
  17429. "wrstandardid": {
  17430. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  17431. "type": "integer"
  17432. }
  17433. }
  17434. },
  17435. "erms3.AddErms2ASApplyReq": {
  17436. "type": "object",
  17437. "required": [
  17438. "asapplyid"
  17439. ],
  17440. "properties": {
  17441. "applybasis": {
  17442. "description": "申请基差",
  17443. "type": "number"
  17444. },
  17445. "applystatus": {
  17446. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17447. "type": "integer"
  17448. },
  17449. "asapplyid": {
  17450. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  17451. "type": "integer"
  17452. },
  17453. "asname": {
  17454. "description": "策略名称",
  17455. "type": "string"
  17456. },
  17457. "asno": {
  17458. "description": "策略编号",
  17459. "type": "string"
  17460. },
  17461. "auditid": {
  17462. "description": "审核人",
  17463. "type": "integer"
  17464. },
  17465. "auditremark": {
  17466. "description": "审核备注",
  17467. "type": "string"
  17468. },
  17469. "audittime": {
  17470. "description": "审核时间",
  17471. "type": "string"
  17472. },
  17473. "biztype": {
  17474. "description": "业务类型 - 1:正向套利 2:反向套利",
  17475. "type": "integer"
  17476. },
  17477. "createtime": {
  17478. "description": "创建时间",
  17479. "type": "string"
  17480. },
  17481. "creatorid": {
  17482. "description": "创建人",
  17483. "type": "integer"
  17484. },
  17485. "deliverygoodsid": {
  17486. "description": "现货品种ID",
  17487. "type": "integer"
  17488. },
  17489. "futurequote": {
  17490. "description": "期货额度",
  17491. "type": "number"
  17492. },
  17493. "goodsgroupid": {
  17494. "description": "期货品种ID",
  17495. "type": "integer"
  17496. },
  17497. "marketid": {
  17498. "description": "市场ID",
  17499. "type": "integer"
  17500. },
  17501. "remark": {
  17502. "description": "备注",
  17503. "type": "string"
  17504. },
  17505. "spotquota": {
  17506. "description": "现货额度",
  17507. "type": "number"
  17508. },
  17509. "tradedate": {
  17510. "description": "交易日(yyyyMMdd)",
  17511. "type": "string"
  17512. },
  17513. "userid": {
  17514. "description": "所属机构",
  17515. "type": "integer"
  17516. }
  17517. }
  17518. },
  17519. "erms3.AddErms2SpotTradeApplyReq": {
  17520. "type": "object",
  17521. "required": [
  17522. "spottradeid"
  17523. ],
  17524. "properties": {
  17525. "applyjsondetail": {
  17526. "description": "申请明细(JSON)",
  17527. "type": "string"
  17528. },
  17529. "applystatus": {
  17530. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17531. "type": "integer"
  17532. },
  17533. "areauserid": {
  17534. "description": "所属机构",
  17535. "type": "integer"
  17536. },
  17537. "auditid": {
  17538. "description": "审核人",
  17539. "type": "integer"
  17540. },
  17541. "auditremark": {
  17542. "description": "审核备注",
  17543. "type": "string"
  17544. },
  17545. "audittime": {
  17546. "description": "审核时间",
  17547. "type": "string"
  17548. },
  17549. "createtime": {
  17550. "description": "创建时间",
  17551. "type": "string"
  17552. },
  17553. "creatorid": {
  17554. "description": "创建人",
  17555. "type": "integer"
  17556. },
  17557. "deliverygoodsid": {
  17558. "description": "现货品种ID",
  17559. "type": "integer"
  17560. },
  17561. "futureaccountid": {
  17562. "description": "期货资金账户",
  17563. "type": "integer"
  17564. },
  17565. "goodsgroupid": {
  17566. "description": "期货品种",
  17567. "type": "integer"
  17568. },
  17569. "marketid": {
  17570. "description": "市场ID",
  17571. "type": "integer"
  17572. },
  17573. "remark": {
  17574. "description": "备注",
  17575. "type": "string"
  17576. },
  17577. "spotaccountid": {
  17578. "description": "现货资金账户",
  17579. "type": "integer"
  17580. },
  17581. "spottradeid": {
  17582. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  17583. "type": "integer"
  17584. },
  17585. "spottradename": {
  17586. "description": "业务名称",
  17587. "type": "string"
  17588. },
  17589. "spottradeno": {
  17590. "description": "业务编号",
  17591. "type": "string"
  17592. },
  17593. "tradedate": {
  17594. "description": "交易日(yyyyMMdd)",
  17595. "type": "string"
  17596. },
  17597. "wrstandardid": {
  17598. "description": "仓单标准ID",
  17599. "type": "integer"
  17600. }
  17601. }
  17602. },
  17603. "erms3.AddSpotContractApplyReq": {
  17604. "type": "object",
  17605. "required": [
  17606. "accountid",
  17607. "areauserid",
  17608. "contractno",
  17609. "contracttype",
  17610. "customeraccountid",
  17611. "customeruserid",
  17612. "details",
  17613. "orimargin",
  17614. "signdate"
  17615. ],
  17616. "properties": {
  17617. "accountid": {
  17618. "description": "资金账户ID",
  17619. "type": "integer"
  17620. },
  17621. "areauserid": {
  17622. "description": "所属机构",
  17623. "type": "integer"
  17624. },
  17625. "contractattachment": {
  17626. "description": "合同附件",
  17627. "type": "string"
  17628. },
  17629. "contractno": {
  17630. "description": "现货合同编号",
  17631. "type": "string"
  17632. },
  17633. "contracttype": {
  17634. "description": "现货合同类型 - 1:采购 -1:销售",
  17635. "type": "integer"
  17636. },
  17637. "creatorid": {
  17638. "description": "申请人",
  17639. "type": "integer"
  17640. },
  17641. "customeraccountid": {
  17642. "description": "客户资金账户ID",
  17643. "type": "integer"
  17644. },
  17645. "customeruserid": {
  17646. "description": "客户ID",
  17647. "type": "integer"
  17648. },
  17649. "details": {
  17650. "description": "明细",
  17651. "type": "array",
  17652. "items": {
  17653. "$ref": "#/definitions/erms3.SoptContractDetail"
  17654. }
  17655. },
  17656. "orimargin": {
  17657. "description": "初始保证金",
  17658. "type": "number"
  17659. },
  17660. "remark": {
  17661. "description": "备注",
  17662. "type": "string"
  17663. },
  17664. "signdate": {
  17665. "description": "签订日期",
  17666. "type": "string"
  17667. }
  17668. }
  17669. },
  17670. "erms3.AddSpotContractApplyRsp": {
  17671. "type": "object",
  17672. "required": [
  17673. "contractno"
  17674. ],
  17675. "properties": {
  17676. "contractno": {
  17677. "description": "现货合同编号",
  17678. "type": "string"
  17679. },
  17680. "spotcontractid": {
  17681. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  17682. "type": "integer"
  17683. }
  17684. }
  17685. },
  17686. "erms3.AddUserInfoApplyReq": {
  17687. "type": "object",
  17688. "required": [
  17689. "userid"
  17690. ],
  17691. "properties": {
  17692. "accountid": {
  17693. "description": "交易系统帐号Id (加密存储)",
  17694. "type": "integer"
  17695. },
  17696. "areacode": {
  17697. "description": "机构代码",
  17698. "type": "string"
  17699. },
  17700. "areaid": {
  17701. "description": "机构Id",
  17702. "type": "integer"
  17703. },
  17704. "attachment1": {
  17705. "description": "附件1",
  17706. "type": "string"
  17707. },
  17708. "attachment2": {
  17709. "description": "附件2",
  17710. "type": "string"
  17711. },
  17712. "attachment3": {
  17713. "description": "附件3",
  17714. "type": "string"
  17715. },
  17716. "attachment4": {
  17717. "description": "附件4",
  17718. "type": "string"
  17719. },
  17720. "attachment5": {
  17721. "description": "附件5",
  17722. "type": "string"
  17723. },
  17724. "auditedby": {
  17725. "description": "审核人",
  17726. "type": "string"
  17727. },
  17728. "auditime": {
  17729. "description": "审核时间",
  17730. "type": "string"
  17731. },
  17732. "auditsrc": {
  17733. "description": "审核来源 - 1:管理端 2:终端",
  17734. "type": "integer"
  17735. },
  17736. "bankaccount": {
  17737. "description": "银行帐号 (加密存储)",
  17738. "type": "string"
  17739. },
  17740. "bankaccountname": {
  17741. "description": "收款人名称",
  17742. "type": "string"
  17743. },
  17744. "bankcardbackphotourl": {
  17745. "description": "银行卡背面照地址",
  17746. "type": "string"
  17747. },
  17748. "bankcardfrontphotourl": {
  17749. "description": "银行卡正面照地址",
  17750. "type": "string"
  17751. },
  17752. "bankid": {
  17753. "description": "银行编码",
  17754. "type": "string"
  17755. },
  17756. "bankname": {
  17757. "description": "银行名称",
  17758. "type": "string"
  17759. },
  17760. "bankpictureurl": {
  17761. "description": "银行卡正面地址",
  17762. "type": "string"
  17763. },
  17764. "biznature": {
  17765. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17766. "type": "integer"
  17767. },
  17768. "bizscope": {
  17769. "description": "企业经营范围(企业)",
  17770. "type": "string"
  17771. },
  17772. "biztype": {
  17773. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  17774. "type": "integer"
  17775. },
  17776. "brokerid": {
  17777. "description": "经纪人ID(加密存储)",
  17778. "type": "string"
  17779. },
  17780. "cardaddress": {
  17781. "description": "证件地址 (加密存储)",
  17782. "type": "string"
  17783. },
  17784. "cardbackphotourl": {
  17785. "description": "背面证件照地址",
  17786. "type": "string"
  17787. },
  17788. "cardfrontphotourl": {
  17789. "description": "正面证件照地址",
  17790. "type": "string"
  17791. },
  17792. "cardnum": {
  17793. "description": "证件号码 (加密存储)",
  17794. "type": "string"
  17795. },
  17796. "cardtype": {
  17797. "description": "证件类型",
  17798. "type": "integer"
  17799. },
  17800. "cityid": {
  17801. "description": "市",
  17802. "type": "integer"
  17803. },
  17804. "company": {
  17805. "description": "公司(个人)",
  17806. "type": "string"
  17807. },
  17808. "contactcardbackphotourl": {
  17809. "description": "联系人证件背面图片地址",
  17810. "type": "string"
  17811. },
  17812. "contactcardfrontphotourl": {
  17813. "description": "联系人证件正面图片地址",
  17814. "type": "string"
  17815. },
  17816. "contactname": {
  17817. "description": "联系人",
  17818. "type": "string"
  17819. },
  17820. "countryid": {
  17821. "description": "国家",
  17822. "type": "integer"
  17823. },
  17824. "createtime": {
  17825. "description": "开户申请时间",
  17826. "type": "string"
  17827. },
  17828. "cusbankid": {
  17829. "description": "签约类型",
  17830. "type": "string"
  17831. },
  17832. "cusbankname": {
  17833. "description": "签约类型名称",
  17834. "type": "string"
  17835. },
  17836. "customername": {
  17837. "description": "客户名称(企业名称)",
  17838. "type": "string"
  17839. },
  17840. "districtid": {
  17841. "description": "地区",
  17842. "type": "integer"
  17843. },
  17844. "email": {
  17845. "description": "Email地址(加密存储)",
  17846. "type": "string"
  17847. },
  17848. "halfbodyphotourl": {
  17849. "description": "半身照地址",
  17850. "type": "string"
  17851. },
  17852. "headurl": {
  17853. "description": "头像地址",
  17854. "type": "string"
  17855. },
  17856. "ipaddress": {
  17857. "description": "IP地址",
  17858. "type": "string"
  17859. },
  17860. "isvalidate": {
  17861. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  17862. "type": "string"
  17863. },
  17864. "legalcardbackphotourl": {
  17865. "description": "法人身份证背面照地址",
  17866. "type": "string"
  17867. },
  17868. "legalcardfrontphotourl": {
  17869. "description": "法人身份证正面照地址",
  17870. "type": "string"
  17871. },
  17872. "legalpersonname": {
  17873. "description": "法人姓名(企业)",
  17874. "type": "string"
  17875. },
  17876. "logincode": {
  17877. "description": "登录帐号 (加密存储)",
  17878. "type": "string"
  17879. },
  17880. "memberareaid": {
  17881. "description": "所属会员ID",
  17882. "type": "integer"
  17883. },
  17884. "mobile2": {
  17885. "description": "手机号码[明文-尚志]",
  17886. "type": "string"
  17887. },
  17888. "mobilephone": {
  17889. "description": "手机号码 (加密存储)",
  17890. "type": "string"
  17891. },
  17892. "modifiedby": {
  17893. "description": "修改人帐号",
  17894. "type": "integer"
  17895. },
  17896. "modifiedtime": {
  17897. "description": "修改时间",
  17898. "type": "string"
  17899. },
  17900. "nickname": {
  17901. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  17902. "type": "string"
  17903. },
  17904. "openmode": {
  17905. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  17906. "type": "integer"
  17907. },
  17908. "otherurl": {
  17909. "description": "其它图片地址[使用分号分隔]",
  17910. "type": "string"
  17911. },
  17912. "postalcode": {
  17913. "description": "邮政编码",
  17914. "type": "string"
  17915. },
  17916. "provinceid": {
  17917. "description": "省",
  17918. "type": "integer"
  17919. },
  17920. "proxystatementurl": {
  17921. "description": "授权委托书",
  17922. "type": "string"
  17923. },
  17924. "qq": {
  17925. "description": "QQ(加密存储",
  17926. "type": "string"
  17927. },
  17928. "referral": {
  17929. "description": "推荐人编码",
  17930. "type": "string"
  17931. },
  17932. "remark": {
  17933. "description": "备注",
  17934. "type": "string"
  17935. },
  17936. "removebeforestatus": {
  17937. "description": "REMOVEBEFORESTATUS",
  17938. "type": "integer"
  17939. },
  17940. "sex": {
  17941. "description": "性别 - 0:女 1:男",
  17942. "type": "integer"
  17943. },
  17944. "signedstatus": {
  17945. "description": "账户一号签签约状态",
  17946. "type": "integer"
  17947. },
  17948. "signpdfurl": {
  17949. "description": "签约pdf文件",
  17950. "type": "string"
  17951. },
  17952. "subbranch": {
  17953. "description": "开户支行",
  17954. "type": "string"
  17955. },
  17956. "taxpayernum": {
  17957. "description": "纳税人识别号",
  17958. "type": "string"
  17959. },
  17960. "telphone": {
  17961. "description": "联系电话(加密存储)",
  17962. "type": "string"
  17963. },
  17964. "userid": {
  17965. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  17966. "type": "integer"
  17967. },
  17968. "userinfotype": {
  17969. "description": "用户信息类型 - 1:个人 2:企业",
  17970. "type": "integer"
  17971. },
  17972. "username": {
  17973. "description": "用户姓名",
  17974. "type": "string"
  17975. },
  17976. "userstate": {
  17977. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  17978. "type": "integer"
  17979. },
  17980. "usertype": {
  17981. "description": "用户类型 - 1:投资者 2:机构",
  17982. "type": "integer"
  17983. },
  17984. "videourl": {
  17985. "description": "视频地址",
  17986. "type": "string"
  17987. },
  17988. "wechat": {
  17989. "description": "微信号 (加密存储)",
  17990. "type": "string"
  17991. }
  17992. }
  17993. },
  17994. "erms3.CustomerInfo": {
  17995. "type": "object",
  17996. "required": [
  17997. "userid"
  17998. ],
  17999. "properties": {
  18000. "accountids": {
  18001. "description": "资金账户ID列表",
  18002. "type": "array",
  18003. "items": {
  18004. "type": "integer"
  18005. }
  18006. },
  18007. "customername": {
  18008. "description": "名称(企业名称)",
  18009. "type": "string"
  18010. },
  18011. "mobile": {
  18012. "description": "手机号码",
  18013. "type": "string"
  18014. },
  18015. "userid": {
  18016. "description": "用户ID",
  18017. "type": "integer"
  18018. }
  18019. }
  18020. },
  18021. "erms3.ModifyUserInfoApplyReq": {
  18022. "type": "object",
  18023. "required": [
  18024. "userid"
  18025. ],
  18026. "properties": {
  18027. "accountid": {
  18028. "description": "交易系统帐号Id (加密存储)",
  18029. "type": "integer"
  18030. },
  18031. "areacode": {
  18032. "description": "机构代码",
  18033. "type": "string"
  18034. },
  18035. "areaid": {
  18036. "description": "机构Id",
  18037. "type": "integer"
  18038. },
  18039. "attachment1": {
  18040. "description": "附件1",
  18041. "type": "string"
  18042. },
  18043. "attachment2": {
  18044. "description": "附件2",
  18045. "type": "string"
  18046. },
  18047. "attachment3": {
  18048. "description": "附件3",
  18049. "type": "string"
  18050. },
  18051. "attachment4": {
  18052. "description": "附件4",
  18053. "type": "string"
  18054. },
  18055. "attachment5": {
  18056. "description": "附件5",
  18057. "type": "string"
  18058. },
  18059. "auditedby": {
  18060. "description": "审核人",
  18061. "type": "string"
  18062. },
  18063. "auditime": {
  18064. "description": "审核时间",
  18065. "type": "string"
  18066. },
  18067. "auditsrc": {
  18068. "description": "审核来源 - 1:管理端 2:终端",
  18069. "type": "integer"
  18070. },
  18071. "bankaccount": {
  18072. "description": "银行帐号 (加密存储)",
  18073. "type": "string"
  18074. },
  18075. "bankaccountname": {
  18076. "description": "收款人名称",
  18077. "type": "string"
  18078. },
  18079. "bankcardbackphotourl": {
  18080. "description": "银行卡背面照地址",
  18081. "type": "string"
  18082. },
  18083. "bankcardfrontphotourl": {
  18084. "description": "银行卡正面照地址",
  18085. "type": "string"
  18086. },
  18087. "bankid": {
  18088. "description": "银行编码",
  18089. "type": "string"
  18090. },
  18091. "bankname": {
  18092. "description": "银行名称",
  18093. "type": "string"
  18094. },
  18095. "bankpictureurl": {
  18096. "description": "银行卡正面地址",
  18097. "type": "string"
  18098. },
  18099. "biznature": {
  18100. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18101. "type": "integer"
  18102. },
  18103. "bizscope": {
  18104. "description": "企业经营范围(企业)",
  18105. "type": "string"
  18106. },
  18107. "biztype": {
  18108. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18109. "type": "integer"
  18110. },
  18111. "brokerid": {
  18112. "description": "经纪人ID(加密存储)",
  18113. "type": "string"
  18114. },
  18115. "cardaddress": {
  18116. "description": "证件地址 (加密存储)",
  18117. "type": "string"
  18118. },
  18119. "cardbackphotourl": {
  18120. "description": "背面证件照地址",
  18121. "type": "string"
  18122. },
  18123. "cardfrontphotourl": {
  18124. "description": "正面证件照地址",
  18125. "type": "string"
  18126. },
  18127. "cardnum": {
  18128. "description": "证件号码 (加密存储)",
  18129. "type": "string"
  18130. },
  18131. "cardtype": {
  18132. "description": "证件类型",
  18133. "type": "integer"
  18134. },
  18135. "cityid": {
  18136. "description": "市",
  18137. "type": "integer"
  18138. },
  18139. "company": {
  18140. "description": "公司(个人)",
  18141. "type": "string"
  18142. },
  18143. "contactcardbackphotourl": {
  18144. "description": "联系人证件背面图片地址",
  18145. "type": "string"
  18146. },
  18147. "contactcardfrontphotourl": {
  18148. "description": "联系人证件正面图片地址",
  18149. "type": "string"
  18150. },
  18151. "contactname": {
  18152. "description": "联系人",
  18153. "type": "string"
  18154. },
  18155. "countryid": {
  18156. "description": "国家",
  18157. "type": "integer"
  18158. },
  18159. "createtime": {
  18160. "description": "开户申请时间",
  18161. "type": "string"
  18162. },
  18163. "cusbankid": {
  18164. "description": "签约类型",
  18165. "type": "string"
  18166. },
  18167. "cusbankname": {
  18168. "description": "签约类型名称",
  18169. "type": "string"
  18170. },
  18171. "customername": {
  18172. "description": "客户名称(企业名称)",
  18173. "type": "string"
  18174. },
  18175. "districtid": {
  18176. "description": "地区",
  18177. "type": "integer"
  18178. },
  18179. "email": {
  18180. "description": "Email地址(加密存储)",
  18181. "type": "string"
  18182. },
  18183. "halfbodyphotourl": {
  18184. "description": "半身照地址",
  18185. "type": "string"
  18186. },
  18187. "headurl": {
  18188. "description": "头像地址",
  18189. "type": "string"
  18190. },
  18191. "ipaddress": {
  18192. "description": "IP地址",
  18193. "type": "string"
  18194. },
  18195. "isvalidate": {
  18196. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18197. "type": "string"
  18198. },
  18199. "legalcardbackphotourl": {
  18200. "description": "法人身份证背面照地址",
  18201. "type": "string"
  18202. },
  18203. "legalcardfrontphotourl": {
  18204. "description": "法人身份证正面照地址",
  18205. "type": "string"
  18206. },
  18207. "legalpersonname": {
  18208. "description": "法人姓名(企业)",
  18209. "type": "string"
  18210. },
  18211. "logincode": {
  18212. "description": "登录帐号 (加密存储)",
  18213. "type": "string"
  18214. },
  18215. "memberareaid": {
  18216. "description": "所属会员ID",
  18217. "type": "integer"
  18218. },
  18219. "mobile2": {
  18220. "description": "手机号码[明文-尚志]",
  18221. "type": "string"
  18222. },
  18223. "mobilephone": {
  18224. "description": "手机号码 (加密存储)",
  18225. "type": "string"
  18226. },
  18227. "modifiedby": {
  18228. "description": "修改人帐号",
  18229. "type": "integer"
  18230. },
  18231. "modifiedtime": {
  18232. "description": "修改时间",
  18233. "type": "string"
  18234. },
  18235. "nickname": {
  18236. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18237. "type": "string"
  18238. },
  18239. "openmode": {
  18240. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18241. "type": "integer"
  18242. },
  18243. "otherurl": {
  18244. "description": "其它图片地址[使用分号分隔]",
  18245. "type": "string"
  18246. },
  18247. "postalcode": {
  18248. "description": "邮政编码",
  18249. "type": "string"
  18250. },
  18251. "provinceid": {
  18252. "description": "省",
  18253. "type": "integer"
  18254. },
  18255. "proxystatementurl": {
  18256. "description": "授权委托书",
  18257. "type": "string"
  18258. },
  18259. "qq": {
  18260. "description": "QQ(加密存储",
  18261. "type": "string"
  18262. },
  18263. "referral": {
  18264. "description": "推荐人编码",
  18265. "type": "string"
  18266. },
  18267. "remark": {
  18268. "description": "备注",
  18269. "type": "string"
  18270. },
  18271. "removebeforestatus": {
  18272. "description": "REMOVEBEFORESTATUS",
  18273. "type": "integer"
  18274. },
  18275. "sex": {
  18276. "description": "性别 - 0:女 1:男",
  18277. "type": "integer"
  18278. },
  18279. "signedstatus": {
  18280. "description": "账户一号签签约状态",
  18281. "type": "integer"
  18282. },
  18283. "signpdfurl": {
  18284. "description": "签约pdf文件",
  18285. "type": "string"
  18286. },
  18287. "subbranch": {
  18288. "description": "开户支行",
  18289. "type": "string"
  18290. },
  18291. "taxpayernum": {
  18292. "description": "纳税人识别号",
  18293. "type": "string"
  18294. },
  18295. "telphone": {
  18296. "description": "联系电话(加密存储)",
  18297. "type": "string"
  18298. },
  18299. "userid": {
  18300. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18301. "type": "integer"
  18302. },
  18303. "userinfotype": {
  18304. "description": "用户信息类型 - 1:个人 2:企业",
  18305. "type": "integer"
  18306. },
  18307. "username": {
  18308. "description": "用户姓名",
  18309. "type": "string"
  18310. },
  18311. "userstate": {
  18312. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18313. "type": "integer"
  18314. },
  18315. "usertype": {
  18316. "description": "用户类型 - 1:投资者 2:机构",
  18317. "type": "integer"
  18318. },
  18319. "videourl": {
  18320. "description": "视频地址",
  18321. "type": "string"
  18322. },
  18323. "wechat": {
  18324. "description": "微信号 (加密存储)",
  18325. "type": "string"
  18326. }
  18327. }
  18328. },
  18329. "erms3.QryAuditContractRsp": {
  18330. "type": "object",
  18331. "required": [
  18332. "matchcustomername",
  18333. "spotcontractid"
  18334. ],
  18335. "properties": {
  18336. "accountid": {
  18337. "description": "交易员ID",
  18338. "type": "string"
  18339. },
  18340. "applystatus": {
  18341. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18342. "type": "integer"
  18343. },
  18344. "curdeliveryqty": {
  18345. "description": "未交收量",
  18346. "type": "integer"
  18347. },
  18348. "customername": {
  18349. "description": "采购方ID",
  18350. "type": "string"
  18351. },
  18352. "deliverygoodsid": {
  18353. "description": "品种ID",
  18354. "type": "string"
  18355. },
  18356. "deliveryqty": {
  18357. "description": "交收量",
  18358. "type": "integer"
  18359. },
  18360. "enumdicname": {
  18361. "description": "单位名称",
  18362. "type": "string"
  18363. },
  18364. "matchaccountid": {
  18365. "description": "业务员ID",
  18366. "type": "string"
  18367. },
  18368. "matchcustomername": {
  18369. "description": "销售方ID",
  18370. "type": "string"
  18371. },
  18372. "pricedqty": {
  18373. "description": "定价量",
  18374. "type": "number"
  18375. },
  18376. "signdate": {
  18377. "description": "签订日期",
  18378. "type": "string"
  18379. },
  18380. "spotcontractid": {
  18381. "description": "合同ID",
  18382. "type": "string"
  18383. },
  18384. "totaldqty": {
  18385. "description": "合同量",
  18386. "type": "number"
  18387. },
  18388. "unpricedqty": {
  18389. "description": "未定价量",
  18390. "type": "number"
  18391. },
  18392. "wrstandardname": {
  18393. "description": "商品名称",
  18394. "type": "string"
  18395. }
  18396. }
  18397. },
  18398. "erms3.QryPendingBizRsp": {
  18399. "type": "object",
  18400. "properties": {
  18401. "accountid": {
  18402. "description": "现货账户",
  18403. "type": "string"
  18404. },
  18405. "areaname": {
  18406. "description": "所属部门",
  18407. "type": "string"
  18408. },
  18409. "bizid": {
  18410. "description": "业务ID",
  18411. "type": "string"
  18412. },
  18413. "bizname": {
  18414. "description": "业务名称",
  18415. "type": "string"
  18416. },
  18417. "status": {
  18418. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18419. "type": "integer"
  18420. },
  18421. "type": {
  18422. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  18423. "type": "integer"
  18424. }
  18425. }
  18426. },
  18427. "erms3.QueryBusinessInfoRsp": {
  18428. "type": "object",
  18429. "properties": {
  18430. "businessid": {
  18431. "description": "业务ID.",
  18432. "type": "integer"
  18433. },
  18434. "buyamount": {
  18435. "description": "采购额.",
  18436. "type": "number"
  18437. },
  18438. "buyqty": {
  18439. "description": "采购量.",
  18440. "type": "string"
  18441. },
  18442. "futurepl": {
  18443. "description": "期货盈亏.",
  18444. "type": "number"
  18445. },
  18446. "futureqty": {
  18447. "description": "期货敞口.",
  18448. "type": "string"
  18449. },
  18450. "goodsid": {
  18451. "description": "商品名称/商品代码.",
  18452. "type": "string"
  18453. },
  18454. "hedgingqty": {
  18455. "description": "套保量.",
  18456. "type": "string"
  18457. },
  18458. "sellamount": {
  18459. "description": "销售额.",
  18460. "type": "number"
  18461. },
  18462. "sellqty": {
  18463. "description": "销售量.",
  18464. "type": "string"
  18465. },
  18466. "spotmarketvalue": {
  18467. "description": "现货市值.",
  18468. "type": "number"
  18469. },
  18470. "spotpl": {
  18471. "description": "浮动权益.",
  18472. "type": "number"
  18473. },
  18474. "spotqty": {
  18475. "description": "现货量.",
  18476. "type": "string"
  18477. },
  18478. "statu": {
  18479. "description": "状态,0-未结束 1-已结束.",
  18480. "type": "integer"
  18481. },
  18482. "totalpl": {
  18483. "description": "总盈亏.",
  18484. "type": "number"
  18485. },
  18486. "totalqty": {
  18487. "description": "总敞口.",
  18488. "type": "string"
  18489. },
  18490. "type": {
  18491. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  18492. "type": "integer"
  18493. }
  18494. }
  18495. },
  18496. "erms3.QuerySpotContractAppleFormRsp": {
  18497. "type": "object",
  18498. "properties": {
  18499. "goodses": {
  18500. "description": "合约列表",
  18501. "type": "array",
  18502. "items": {
  18503. "$ref": "#/definitions/models.GoodsIDAndName"
  18504. }
  18505. },
  18506. "oppositeusers": {
  18507. "description": "对方账号列表",
  18508. "type": "array",
  18509. "items": {
  18510. "$ref": "#/definitions/erms3.CustomerInfo"
  18511. }
  18512. },
  18513. "ouruser": {
  18514. "description": "我方账号",
  18515. "$ref": "#/definitions/erms3.CustomerInfo"
  18516. },
  18517. "warehouseinfos": {
  18518. "description": "仓库信息列表",
  18519. "type": "array",
  18520. "items": {
  18521. "$ref": "#/definitions/models.Warehouseinfo"
  18522. }
  18523. },
  18524. "wrstandards": {
  18525. "description": "仓单标准列表",
  18526. "type": "array",
  18527. "items": {
  18528. "$ref": "#/definitions/models.WRStandardInfo"
  18529. }
  18530. }
  18531. }
  18532. },
  18533. "erms3.QuerySpotContractInfoRsp": {
  18534. "type": "object",
  18535. "properties": {
  18536. "accountid": {
  18537. "description": "表示交易员ID.",
  18538. "type": "integer"
  18539. },
  18540. "curdeliveryqty": {
  18541. "description": "表示未交收量.",
  18542. "type": "number"
  18543. },
  18544. "customername": {
  18545. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  18546. "type": "string"
  18547. },
  18548. "deliverygoodsid": {
  18549. "description": "表示品种ID.",
  18550. "type": "string"
  18551. },
  18552. "deliveryqty": {
  18553. "description": "表示交收量.",
  18554. "type": "number"
  18555. },
  18556. "matchaccountid": {
  18557. "description": "表示业务员ID.",
  18558. "type": "integer"
  18559. },
  18560. "matchcustomername": {
  18561. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  18562. "type": "string"
  18563. },
  18564. "priceqty": {
  18565. "description": "表示定价量.",
  18566. "type": "number"
  18567. },
  18568. "relatedbizid": {
  18569. "description": "表示业务ID.",
  18570. "type": "string"
  18571. },
  18572. "signdate": {
  18573. "description": "表示签订日期.",
  18574. "type": "string"
  18575. },
  18576. "spotcontractid": {
  18577. "description": "合同ID",
  18578. "type": "string"
  18579. },
  18580. "status": {
  18581. "description": "表示状态,0-履约中 1-已完成.",
  18582. "type": "integer"
  18583. },
  18584. "totalqty": {
  18585. "description": "表示合同量.",
  18586. "type": "number"
  18587. },
  18588. "unpricedqty": {
  18589. "description": "表示未定价量.",
  18590. "type": "number"
  18591. },
  18592. "wrstandardname": {
  18593. "description": "表示商品ID.",
  18594. "type": "string"
  18595. }
  18596. }
  18597. },
  18598. "erms3.QueryUserInfoAppliesRsp": {
  18599. "type": "object",
  18600. "required": [
  18601. "userid"
  18602. ],
  18603. "properties": {
  18604. "biznature": {
  18605. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18606. "type": "integer"
  18607. },
  18608. "contactname": {
  18609. "description": "联系人",
  18610. "type": "string"
  18611. },
  18612. "createtime": {
  18613. "description": "开户申请时间",
  18614. "type": "string"
  18615. },
  18616. "userid": {
  18617. "description": "用户ID(自增ID)",
  18618. "type": "integer"
  18619. },
  18620. "userinfotype": {
  18621. "description": "用户信息类型 - 1:个人 2:企业",
  18622. "type": "integer"
  18623. },
  18624. "username": {
  18625. "description": "用户姓名",
  18626. "type": "string"
  18627. },
  18628. "userstate": {
  18629. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18630. "type": "integer"
  18631. }
  18632. }
  18633. },
  18634. "erms3.QueryUserInfosRsp": {
  18635. "type": "object",
  18636. "required": [
  18637. "userid"
  18638. ],
  18639. "properties": {
  18640. "biznature": {
  18641. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18642. "type": "integer"
  18643. },
  18644. "contactname": {
  18645. "description": "联系人",
  18646. "type": "string"
  18647. },
  18648. "customername": {
  18649. "description": "客户名称(企业名称)",
  18650. "type": "string"
  18651. },
  18652. "userid": {
  18653. "description": "用户ID",
  18654. "type": "integer"
  18655. },
  18656. "userinfotype": {
  18657. "description": "用户信息类型 - 1:个人 2:企业",
  18658. "type": "integer"
  18659. },
  18660. "userstatus": {
  18661. "description": "用户状态 - 1:正常 2:注销",
  18662. "type": "integer"
  18663. }
  18664. }
  18665. },
  18666. "erms3.SoptContractDetail": {
  18667. "type": "object",
  18668. "required": [
  18669. "deliverygoodsid",
  18670. "producttype",
  18671. "unitname",
  18672. "warehouseid",
  18673. "wrstandardid",
  18674. "wrstandardname"
  18675. ],
  18676. "properties": {
  18677. "deliverygoodsdesc": {
  18678. "description": "现货品种说明",
  18679. "type": "string"
  18680. },
  18681. "deliverygoodsid": {
  18682. "description": "现货品种ID",
  18683. "type": "integer"
  18684. },
  18685. "deliverygoodsname": {
  18686. "description": "现货品种名称",
  18687. "type": "string"
  18688. },
  18689. "pointdesc": {
  18690. "description": "点价描述",
  18691. "type": "string"
  18692. },
  18693. "producttype": {
  18694. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  18695. "type": "integer"
  18696. },
  18697. "producttypename": {
  18698. "description": "产品类型名称",
  18699. "type": "string"
  18700. },
  18701. "spotPointOrderVoList": {
  18702. "description": "点价列表",
  18703. "type": "array",
  18704. "items": {
  18705. "$ref": "#/definitions/erms3.SpotPointOrder"
  18706. }
  18707. },
  18708. "spotPriceOrderList": {
  18709. "description": "定价列表",
  18710. "type": "array",
  18711. "items": {
  18712. "$ref": "#/definitions/erms3.SpotPriceOrder"
  18713. }
  18714. },
  18715. "unitname": {
  18716. "description": "单位名称",
  18717. "type": "string"
  18718. },
  18719. "warehouseid": {
  18720. "description": "仓库ID",
  18721. "type": "integer"
  18722. },
  18723. "warehousename": {
  18724. "description": "仓库名称",
  18725. "type": "string"
  18726. },
  18727. "wrstandardid": {
  18728. "description": "交易标的ID",
  18729. "type": "integer"
  18730. },
  18731. "wrstandardname": {
  18732. "description": "交易标的名称",
  18733. "type": "string"
  18734. }
  18735. }
  18736. },
  18737. "erms3.SpotPointOrder": {
  18738. "type": "object",
  18739. "required": [
  18740. "basic",
  18741. "goodsid",
  18742. "qty"
  18743. ],
  18744. "properties": {
  18745. "basic": {
  18746. "description": "基差",
  18747. "type": "number"
  18748. },
  18749. "deliveryenddate": {
  18750. "description": "交收结束日期",
  18751. "type": "string"
  18752. },
  18753. "deliverystartdate": {
  18754. "description": "交收开始日期",
  18755. "type": "string"
  18756. },
  18757. "enddate": {
  18758. "description": "点价结束日期",
  18759. "type": "string"
  18760. },
  18761. "goodsid": {
  18762. "description": "商品ID",
  18763. "type": "integer"
  18764. },
  18765. "goodsname": {
  18766. "description": "商品名称",
  18767. "type": "string"
  18768. },
  18769. "qty": {
  18770. "description": "数量",
  18771. "type": "number"
  18772. },
  18773. "startdate": {
  18774. "description": "点价开始日期",
  18775. "type": "string"
  18776. }
  18777. }
  18778. },
  18779. "erms3.SpotPriceOrder": {
  18780. "type": "object",
  18781. "required": [
  18782. "amount",
  18783. "price",
  18784. "qty"
  18785. ],
  18786. "properties": {
  18787. "amount": {
  18788. "description": "金额",
  18789. "type": "number"
  18790. },
  18791. "deliveryenddate": {
  18792. "description": "交收结束日期",
  18793. "type": "string"
  18794. },
  18795. "deliverystartdate": {
  18796. "description": "交收开始日期",
  18797. "type": "string"
  18798. },
  18799. "price": {
  18800. "description": "价格",
  18801. "type": "number"
  18802. },
  18803. "qty": {
  18804. "description": "数量",
  18805. "type": "number"
  18806. }
  18807. }
  18808. },
  18809. "hsby.GetHsbyMyCountRsp": {
  18810. "type": "object",
  18811. "properties": {
  18812. "myCouponCount": {
  18813. "description": "我的优惠卷数量",
  18814. "type": "integer"
  18815. },
  18816. "myOrderDetailListingCount": {
  18817. "description": "我的订单求购中数量",
  18818. "type": "integer"
  18819. },
  18820. "myOrderDetailPreCount": {
  18821. "description": "我的订单抢购中数量",
  18822. "type": "integer"
  18823. },
  18824. "myPackageUnReceiveCount": {
  18825. "description": "我的包裹待收货数量",
  18826. "type": "integer"
  18827. },
  18828. "myPackageUnSendCount": {
  18829. "description": "我的包裹待发货数量",
  18830. "type": "integer"
  18831. },
  18832. "myPayOrderCount": {
  18833. "description": "我的订单待付款数量",
  18834. "type": "integer"
  18835. }
  18836. }
  18837. },
  18838. "hsby.QueryProvincesAndCitiesRsp": {
  18839. "type": "object",
  18840. "properties": {
  18841. "cities": {
  18842. "description": "市",
  18843. "type": "array",
  18844. "items": {
  18845. "$ref": "#/definitions/models.Division"
  18846. }
  18847. },
  18848. "province": {
  18849. "description": "省",
  18850. "$ref": "#/definitions/models.Division"
  18851. }
  18852. }
  18853. },
  18854. "models.Arearole": {
  18855. "type": "object",
  18856. "required": [
  18857. "roletype",
  18858. "userid"
  18859. ],
  18860. "properties": {
  18861. "createtime": {
  18862. "description": "创建时间",
  18863. "type": "string"
  18864. },
  18865. "creatorid": {
  18866. "description": "创建人ID",
  18867. "type": "integer"
  18868. },
  18869. "fromuserid": {
  18870. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  18871. "type": "integer"
  18872. },
  18873. "isreturnscore": {
  18874. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  18875. "type": "integer"
  18876. },
  18877. "modifierid": {
  18878. "description": "修改人ID",
  18879. "type": "integer"
  18880. },
  18881. "modifytime": {
  18882. "description": "修改时间",
  18883. "type": "string"
  18884. },
  18885. "orgtype": {
  18886. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  18887. "type": "integer"
  18888. },
  18889. "outuserid": {
  18890. "description": "外部账户[场外期权做市商]",
  18891. "type": "string"
  18892. },
  18893. "parentuserid": {
  18894. "description": "上级组织机构(组织机构)",
  18895. "type": "integer"
  18896. },
  18897. "roletype": {
  18898. "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:门店",
  18899. "type": "integer"
  18900. },
  18901. "rootuserid": {
  18902. "description": "顶级组织机构用户ID(组织机构)",
  18903. "type": "integer"
  18904. },
  18905. "shoppassword": {
  18906. "description": "商城店铺登陆密码(商城店铺角色使用)",
  18907. "type": "string"
  18908. },
  18909. "sublevelpath": {
  18910. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  18911. "type": "string"
  18912. },
  18913. "suborgtype": {
  18914. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  18915. "type": "integer"
  18916. },
  18917. "tradeaccountid": {
  18918. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  18919. "type": "integer"
  18920. },
  18921. "transurl": {
  18922. "description": "物流地址(物流机构)",
  18923. "type": "string"
  18924. },
  18925. "userid": {
  18926. "description": "机构用户ID其他做市关系,都设置为 1",
  18927. "type": "integer"
  18928. }
  18929. }
  18930. },
  18931. "models.Clientfixedadconfig": {
  18932. "type": "object",
  18933. "required": [
  18934. "adsort",
  18935. "adtype"
  18936. ],
  18937. "properties": {
  18938. "adsort": {
  18939. "description": "排序",
  18940. "type": "integer"
  18941. },
  18942. "adtype": {
  18943. "description": "广告位类型 - 1:新品抢购(HSBY)",
  18944. "type": "integer"
  18945. },
  18946. "areauserid": {
  18947. "description": "所属机构ID",
  18948. "type": "integer"
  18949. },
  18950. "createdate": {
  18951. "description": "创建时间",
  18952. "type": "string"
  18953. },
  18954. "creatorid": {
  18955. "description": "创建人",
  18956. "type": "integer"
  18957. },
  18958. "imagepath": {
  18959. "description": "图片",
  18960. "type": "string"
  18961. },
  18962. "isshow": {
  18963. "description": "是否展示 - 0:不展示 1:展示",
  18964. "type": "integer"
  18965. },
  18966. "modifierid": {
  18967. "description": "操作人",
  18968. "type": "integer"
  18969. },
  18970. "recsize": {
  18971. "description": "推荐尺寸",
  18972. "type": "string"
  18973. },
  18974. "title": {
  18975. "description": "标题",
  18976. "type": "string"
  18977. },
  18978. "updatedate": {
  18979. "description": "更新时间",
  18980. "type": "string"
  18981. },
  18982. "urlcontent": {
  18983. "description": "链接(地址或商品ID)",
  18984. "type": "string"
  18985. },
  18986. "urltype": {
  18987. "description": "链接类型 - 1:直接地址 2:商品ID",
  18988. "type": "integer"
  18989. }
  18990. }
  18991. },
  18992. "models.Division": {
  18993. "type": "object",
  18994. "required": [
  18995. "autoid",
  18996. "divisioncode"
  18997. ],
  18998. "properties": {
  18999. "autoid": {
  19000. "description": "自增ID",
  19001. "type": "integer"
  19002. },
  19003. "divisioncode": {
  19004. "description": "行政代码",
  19005. "type": "string"
  19006. },
  19007. "divisionlevel": {
  19008. "description": "行政级别",
  19009. "type": "string"
  19010. },
  19011. "divisionname": {
  19012. "description": "行政名称",
  19013. "type": "string"
  19014. },
  19015. "modifierid": {
  19016. "description": "修改人",
  19017. "type": "integer"
  19018. },
  19019. "modifytime": {
  19020. "description": "修改时间",
  19021. "type": "string"
  19022. },
  19023. "parentcode": {
  19024. "description": "上级行政代码",
  19025. "type": "string"
  19026. },
  19027. "pathname": {
  19028. "description": "路径名称",
  19029. "type": "string"
  19030. },
  19031. "postcode": {
  19032. "description": "邮政编码",
  19033. "type": "string"
  19034. },
  19035. "separablename": {
  19036. "description": "可拆分的全称",
  19037. "type": "string"
  19038. },
  19039. "shortcode": {
  19040. "description": "地区简码",
  19041. "type": "string"
  19042. }
  19043. }
  19044. },
  19045. "models.Enumdicitem": {
  19046. "type": "object",
  19047. "required": [
  19048. "autoid",
  19049. "enumdiccode",
  19050. "enumdicid",
  19051. "enumitemname"
  19052. ],
  19053. "properties": {
  19054. "autoid": {
  19055. "description": "自增ID",
  19056. "type": "integer"
  19057. },
  19058. "bankmappedvalue": {
  19059. "description": "银行服务对应值",
  19060. "type": "string"
  19061. },
  19062. "enumdiccode": {
  19063. "description": "所属枚举代码",
  19064. "type": "string"
  19065. },
  19066. "enumdicid": {
  19067. "description": "所属枚举ID",
  19068. "type": "integer"
  19069. },
  19070. "enumdicname": {
  19071. "description": "枚举项名称",
  19072. "type": "string"
  19073. },
  19074. "enumitemname": {
  19075. "description": "枚举项值",
  19076. "type": "integer"
  19077. },
  19078. "enumitemstatus": {
  19079. "description": "枚举项状态 - 1.启用 2.不启用",
  19080. "type": "integer"
  19081. },
  19082. "enumitemvalue": {
  19083. "description": "通用值 - [币种通用简写]",
  19084. "type": "string"
  19085. },
  19086. "param1": {
  19087. "description": "参数1[币种:币种小数位]",
  19088. "type": "string"
  19089. },
  19090. "param2": {
  19091. "description": "参数1[币种:币种显示单位]",
  19092. "type": "string"
  19093. },
  19094. "remark": {
  19095. "description": "备注",
  19096. "type": "string"
  19097. }
  19098. }
  19099. },
  19100. "models.Ermcp3AreaSpot": {
  19101. "type": "object",
  19102. "properties": {
  19103. "areauserid": {
  19104. "description": "所属机构",
  19105. "type": "integer"
  19106. },
  19107. "convertratio": {
  19108. "description": "套保系数",
  19109. "type": "number"
  19110. },
  19111. "decreaseqty": {
  19112. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  19113. "type": "number"
  19114. },
  19115. "enumdicname": {
  19116. "description": "单位名称",
  19117. "type": "string"
  19118. },
  19119. "increaseqty": {
  19120. "description": "增加数量=销售计划数量+采购已定价数量",
  19121. "type": "number"
  19122. },
  19123. "oritoalspotqty": {
  19124. "description": "昨日数量",
  19125. "type": "number"
  19126. },
  19127. "totalspotqty": {
  19128. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  19129. "type": "number"
  19130. },
  19131. "unitid": {
  19132. "description": "现货商品单位id",
  19133. "type": "integer"
  19134. },
  19135. "updatetime": {
  19136. "description": "更新时间",
  19137. "type": "string"
  19138. },
  19139. "wrstandardcode": {
  19140. "description": "现货商品代码",
  19141. "type": "string"
  19142. },
  19143. "wrstandardid": {
  19144. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19145. "type": "integer"
  19146. },
  19147. "wrstandardname": {
  19148. "description": "现货商品名称",
  19149. "type": "string"
  19150. }
  19151. }
  19152. },
  19153. "models.Ermcp3AreaSpotDetail": {
  19154. "type": "object",
  19155. "properties": {
  19156. "contracttype": {
  19157. "description": "合同类型 1-采购 -1-销售",
  19158. "type": "integer"
  19159. },
  19160. "createtime": {
  19161. "description": "创建时间",
  19162. "type": "string"
  19163. },
  19164. "enumdicname": {
  19165. "description": "现货商品单位名称",
  19166. "type": "string"
  19167. },
  19168. "logtype": {
  19169. "description": "记录类型 1-套保 2-现货合同",
  19170. "type": "integer"
  19171. },
  19172. "qty": {
  19173. "description": "数量",
  19174. "type": "number"
  19175. },
  19176. "recordname": {
  19177. "description": "类型名称",
  19178. "type": "string"
  19179. },
  19180. "relatedid": {
  19181. "description": "套保计划ID/现货合同ID",
  19182. "type": "string"
  19183. },
  19184. "relatedno": {
  19185. "description": "编号",
  19186. "type": "string"
  19187. },
  19188. "strtime": {
  19189. "description": "时间",
  19190. "type": "string"
  19191. },
  19192. "wrstandardcode": {
  19193. "description": "现货商品代码",
  19194. "type": "string"
  19195. },
  19196. "wrstandardid": {
  19197. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19198. "type": "integer"
  19199. },
  19200. "wrstandardname": {
  19201. "description": "现货商品名称",
  19202. "type": "string"
  19203. }
  19204. }
  19205. },
  19206. "models.Ermcp3AreaSpotPLReport": {
  19207. "type": "object",
  19208. "properties": {
  19209. "accountid": {
  19210. "description": "期货账户ID (作废, 默认为0)",
  19211. "type": "integer"
  19212. },
  19213. "accountname": {
  19214. "description": "机构名称",
  19215. "type": "string"
  19216. },
  19217. "actualpl": {
  19218. "description": "现货损益",
  19219. "type": "number"
  19220. },
  19221. "areauserid": {
  19222. "description": "所属机构\\交易用户ID",
  19223. "type": "integer"
  19224. },
  19225. "begindate": {
  19226. "description": "开始交易日",
  19227. "type": "string"
  19228. },
  19229. "biztype": {
  19230. "description": "业务类型 - 1:套保 2:套利",
  19231. "type": "integer"
  19232. },
  19233. "brandname": {
  19234. "description": "品牌名称",
  19235. "type": "string"
  19236. },
  19237. "curamount": {
  19238. "description": "期末额",
  19239. "type": "number"
  19240. },
  19241. "curaverageprice": {
  19242. "description": "期末均价",
  19243. "type": "number"
  19244. },
  19245. "curbuyamount": {
  19246. "description": "期末采购总额",
  19247. "type": "number"
  19248. },
  19249. "curbuyqty": {
  19250. "description": "期末采购总量",
  19251. "type": "number"
  19252. },
  19253. "curmarketvalue": {
  19254. "description": "参考市值(期末市值)",
  19255. "type": "number"
  19256. },
  19257. "curqty": {
  19258. "description": "期末量",
  19259. "type": "number"
  19260. },
  19261. "currencyid": {
  19262. "description": "结算币种ID【原值】",
  19263. "type": "integer"
  19264. },
  19265. "currencyname": {
  19266. "description": "币种名称",
  19267. "type": "string"
  19268. },
  19269. "cursellamount": {
  19270. "description": "期末销售总额",
  19271. "type": "number"
  19272. },
  19273. "cursellqty": {
  19274. "description": "期末销售总量",
  19275. "type": "number"
  19276. },
  19277. "curspotprice": {
  19278. "description": "参考市价(最新价)",
  19279. "type": "number"
  19280. },
  19281. "cycletime": {
  19282. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19283. "type": "string"
  19284. },
  19285. "cycletype": {
  19286. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19287. "type": "integer"
  19288. },
  19289. "deliverygoodscode": {
  19290. "description": "现货商品代码",
  19291. "type": "string"
  19292. },
  19293. "deliverygoodsid": {
  19294. "description": "现货品种ID",
  19295. "type": "integer"
  19296. },
  19297. "deliverygoodsname": {
  19298. "description": "现货商品名称",
  19299. "type": "string"
  19300. },
  19301. "enddate": {
  19302. "description": "结束交易日",
  19303. "type": "string"
  19304. },
  19305. "enumdicname": {
  19306. "description": "现货商品单位名称",
  19307. "type": "string"
  19308. },
  19309. "floatpl": {
  19310. "description": "浮动损益",
  19311. "type": "number"
  19312. },
  19313. "goodsunitid": {
  19314. "description": "现货商品单位id",
  19315. "type": "integer"
  19316. },
  19317. "oriamount": {
  19318. "description": "期初额",
  19319. "type": "number"
  19320. },
  19321. "oriaverageprice": {
  19322. "description": "期初均价",
  19323. "type": "number"
  19324. },
  19325. "oribuyamount": {
  19326. "description": "期初采购总额",
  19327. "type": "number"
  19328. },
  19329. "oribuyqty": {
  19330. "description": "期初采购总量",
  19331. "type": "number"
  19332. },
  19333. "oriqty": {
  19334. "description": "期初量",
  19335. "type": "number"
  19336. },
  19337. "orisellamount": {
  19338. "description": "期初销售总额",
  19339. "type": "number"
  19340. },
  19341. "orisellqty": {
  19342. "description": "期初销售总量",
  19343. "type": "number"
  19344. },
  19345. "reckondate": {
  19346. "description": "日照时期(yyyyMMdd)",
  19347. "type": "string"
  19348. },
  19349. "spotgoodsbrandid": {
  19350. "description": "现货品牌ID",
  19351. "type": "integer"
  19352. },
  19353. "todaybuyamount": {
  19354. "description": "今日采购额(今采购额)",
  19355. "type": "number"
  19356. },
  19357. "todaybuyaverageprice": {
  19358. "description": "今日采购均价",
  19359. "type": "number"
  19360. },
  19361. "todaybuyqty": {
  19362. "description": "今日采购量(今采购量)",
  19363. "type": "number"
  19364. },
  19365. "todayinqty": {
  19366. "description": "今日入库量(今入库量)",
  19367. "type": "number"
  19368. },
  19369. "todayoutqty": {
  19370. "description": "今日出库量(今出库量)",
  19371. "type": "number"
  19372. },
  19373. "todaysellamount": {
  19374. "description": "今日销售额(今销售额)",
  19375. "type": "number"
  19376. },
  19377. "todaysellaverageprice": {
  19378. "description": "今日销售均价",
  19379. "type": "number"
  19380. },
  19381. "todaysellqty": {
  19382. "description": "今日销售量(今销售量)",
  19383. "type": "number"
  19384. },
  19385. "unitid": {
  19386. "description": "品类单位id",
  19387. "type": "integer"
  19388. },
  19389. "unitidname": {
  19390. "description": "品类单位名称",
  19391. "type": "string"
  19392. },
  19393. "updatetime": {
  19394. "description": "更新时间",
  19395. "type": "string"
  19396. },
  19397. "wrfactortypeid": {
  19398. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19399. "type": "integer"
  19400. },
  19401. "wrstandardcode": {
  19402. "description": "品类代码",
  19403. "type": "string"
  19404. },
  19405. "wrstandardid": {
  19406. "description": "现货品类ID",
  19407. "type": "integer"
  19408. },
  19409. "wrstandardname": {
  19410. "description": "品类名称",
  19411. "type": "string"
  19412. }
  19413. }
  19414. },
  19415. "models.Ermcp3AreaStock": {
  19416. "type": "object",
  19417. "required": [
  19418. "userid"
  19419. ],
  19420. "properties": {
  19421. "brandname": {
  19422. "description": "品牌名称",
  19423. "type": "string"
  19424. },
  19425. "curstock": {
  19426. "description": "期末库存量(今日量)",
  19427. "type": "number"
  19428. },
  19429. "deliverygoodscode": {
  19430. "description": "现货品种代码",
  19431. "type": "string"
  19432. },
  19433. "deliverygoodsid": {
  19434. "description": "现货品种id",
  19435. "type": "integer"
  19436. },
  19437. "deliverygoodsname": {
  19438. "description": "现货品种名称",
  19439. "type": "string"
  19440. },
  19441. "enumdicname": {
  19442. "description": "单位名称",
  19443. "type": "string"
  19444. },
  19445. "goodsunitid": {
  19446. "description": "现货商品单位id",
  19447. "type": "integer"
  19448. },
  19449. "oristock": {
  19450. "description": "期初库存量(昨日量)",
  19451. "type": "number"
  19452. },
  19453. "spotgoodsbrandid": {
  19454. "description": "现货品牌ID",
  19455. "type": "integer"
  19456. },
  19457. "todaybuyinqty": {
  19458. "description": "今日采购入库量",
  19459. "type": "number"
  19460. },
  19461. "todayproduceinqty": {
  19462. "description": "今日生产入库量",
  19463. "type": "number"
  19464. },
  19465. "todayproduceoutqty": {
  19466. "description": "今日生产出库量",
  19467. "type": "number"
  19468. },
  19469. "todayselloutqty": {
  19470. "description": "今日销售出库量",
  19471. "type": "number"
  19472. },
  19473. "unitid": {
  19474. "description": "单位id",
  19475. "type": "integer"
  19476. },
  19477. "updatetime": {
  19478. "description": "更新时间",
  19479. "type": "string"
  19480. },
  19481. "userid": {
  19482. "description": "机构ID",
  19483. "type": "integer"
  19484. },
  19485. "username": {
  19486. "description": "机构名称",
  19487. "type": "string"
  19488. },
  19489. "warehousecode": {
  19490. "description": "仓库代码",
  19491. "type": "string"
  19492. },
  19493. "warehouseinfoid": {
  19494. "description": "仓库ID",
  19495. "type": "string"
  19496. },
  19497. "warehousename": {
  19498. "description": "仓库名称",
  19499. "type": "string"
  19500. },
  19501. "warehousetype": {
  19502. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19503. "type": "integer"
  19504. },
  19505. "wrstandardcode": {
  19506. "description": "品类代码",
  19507. "type": "string"
  19508. },
  19509. "wrstandardid": {
  19510. "description": "品类ID",
  19511. "type": "string"
  19512. },
  19513. "wrstandardname": {
  19514. "description": "品类名称",
  19515. "type": "string"
  19516. }
  19517. }
  19518. },
  19519. "models.Ermcp3AreaStockApply": {
  19520. "type": "object",
  19521. "properties": {
  19522. "applyid": {
  19523. "description": "申请人",
  19524. "type": "integer"
  19525. },
  19526. "applyname": {
  19527. "description": "申请人名称",
  19528. "type": "string"
  19529. },
  19530. "applyremark": {
  19531. "description": "申请备注",
  19532. "type": "string"
  19533. },
  19534. "applysrc": {
  19535. "description": "申请来源 - 1:管理端 2:终端",
  19536. "type": "integer"
  19537. },
  19538. "applystatus": {
  19539. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19540. "type": "integer"
  19541. },
  19542. "applytime": {
  19543. "description": "申请时间",
  19544. "type": "string"
  19545. },
  19546. "auditid": {
  19547. "description": "审核人",
  19548. "type": "integer"
  19549. },
  19550. "auditname": {
  19551. "description": "审核人名称",
  19552. "type": "string"
  19553. },
  19554. "auditremark": {
  19555. "description": "审核备注",
  19556. "type": "string"
  19557. },
  19558. "auditsrc": {
  19559. "description": "审核来源 - 1:管理端 2:终端",
  19560. "type": "integer"
  19561. },
  19562. "audittime": {
  19563. "description": "审核时间",
  19564. "type": "string"
  19565. },
  19566. "audittradedate": {
  19567. "description": "审核交易日(yyyyMMdd)",
  19568. "type": "string"
  19569. },
  19570. "brandname": {
  19571. "description": "品牌名称",
  19572. "type": "string"
  19573. },
  19574. "buynickname": {
  19575. "description": "采购方昵称",
  19576. "type": "string"
  19577. },
  19578. "buyuserid": {
  19579. "description": "采购方userid",
  19580. "type": "integer"
  19581. },
  19582. "buyusername": {
  19583. "description": "采购方名称",
  19584. "type": "string"
  19585. },
  19586. "contractno": {
  19587. "description": "合同编号",
  19588. "type": "string"
  19589. },
  19590. "contractqty": {
  19591. "description": "合同量",
  19592. "type": "number"
  19593. },
  19594. "contracttype": {
  19595. "description": "现货合同类型 - 1:采购 -1:销售",
  19596. "type": "integer"
  19597. },
  19598. "deliverygoodscode": {
  19599. "description": "现货品种代码",
  19600. "type": "string"
  19601. },
  19602. "deliverygoodsid": {
  19603. "description": "现货品种id",
  19604. "type": "integer"
  19605. },
  19606. "deliverygoodsname": {
  19607. "description": "现货品种名称",
  19608. "type": "string"
  19609. },
  19610. "detailjson": {
  19611. "description": "明细数据",
  19612. "type": "string"
  19613. },
  19614. "enumdicname": {
  19615. "description": "现货商品单位名称",
  19616. "type": "string"
  19617. },
  19618. "inoutapplyid": {
  19619. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  19620. "type": "string"
  19621. },
  19622. "inouttype": {
  19623. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  19624. "type": "integer"
  19625. },
  19626. "pricetype": {
  19627. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19628. "type": "integer"
  19629. },
  19630. "qty": {
  19631. "description": "数量",
  19632. "type": "number"
  19633. },
  19634. "sellnickname": {
  19635. "description": "销售方昵称",
  19636. "type": "string"
  19637. },
  19638. "selluserid": {
  19639. "description": "销售方userid",
  19640. "type": "integer"
  19641. },
  19642. "sellusername": {
  19643. "description": "销售方名称",
  19644. "type": "string"
  19645. },
  19646. "spotcontractid": {
  19647. "description": "关联现货合同ID",
  19648. "type": "string"
  19649. },
  19650. "spotgoodsbrandid": {
  19651. "description": "现货品牌ID",
  19652. "type": "integer"
  19653. },
  19654. "unitid": {
  19655. "description": "单位id",
  19656. "type": "integer"
  19657. },
  19658. "userid": {
  19659. "description": "机构ID",
  19660. "type": "integer"
  19661. },
  19662. "warehousecode": {
  19663. "description": "仓库代码",
  19664. "type": "string"
  19665. },
  19666. "warehouseinfoid": {
  19667. "description": "现货仓库ID",
  19668. "type": "string"
  19669. },
  19670. "warehousename": {
  19671. "description": "仓库名称",
  19672. "type": "string"
  19673. },
  19674. "warehousetype": {
  19675. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19676. "type": "integer"
  19677. },
  19678. "wrstandardcode": {
  19679. "description": "品类代码",
  19680. "type": "string"
  19681. },
  19682. "wrstandardid": {
  19683. "description": "品类ID",
  19684. "type": "integer"
  19685. },
  19686. "wrstandardname": {
  19687. "description": "品类名称",
  19688. "type": "string"
  19689. }
  19690. }
  19691. },
  19692. "models.Ermcp3AreaStockApplySum": {
  19693. "type": "object",
  19694. "properties": {
  19695. "brandname": {
  19696. "description": "品牌名称",
  19697. "type": "string"
  19698. },
  19699. "inouttype": {
  19700. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  19701. "type": "integer"
  19702. },
  19703. "spotcontractid": {
  19704. "description": "关联现货合同ID",
  19705. "type": "string"
  19706. },
  19707. "spotgoodsbrandid": {
  19708. "description": "品牌id",
  19709. "type": "integer"
  19710. },
  19711. "totalqty": {
  19712. "description": "总数量",
  19713. "type": "number"
  19714. },
  19715. "wrstandardid": {
  19716. "description": "品类id",
  19717. "type": "integer"
  19718. },
  19719. "wrstandardname": {
  19720. "description": "品类名称",
  19721. "type": "string"
  19722. }
  19723. }
  19724. },
  19725. "models.Ermcp3AreaStockReportEx": {
  19726. "type": "object",
  19727. "properties": {
  19728. "begindate": {
  19729. "description": "开始交易日",
  19730. "type": "string"
  19731. },
  19732. "brandname": {
  19733. "description": "品牌名称",
  19734. "type": "string"
  19735. },
  19736. "curstock": {
  19737. "description": "期末库存量",
  19738. "type": "number"
  19739. },
  19740. "cycletime": {
  19741. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19742. "type": "string"
  19743. },
  19744. "cycletype": {
  19745. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19746. "type": "integer"
  19747. },
  19748. "deliverygoodscode": {
  19749. "description": "现货品种代码",
  19750. "type": "string"
  19751. },
  19752. "deliverygoodsid": {
  19753. "description": "现货品种id",
  19754. "type": "integer"
  19755. },
  19756. "deliverygoodsname": {
  19757. "description": "现货品种名称",
  19758. "type": "string"
  19759. },
  19760. "diffqty": {
  19761. "description": "库存变化量 = 期末 - 期初",
  19762. "type": "number"
  19763. },
  19764. "enddate": {
  19765. "description": "结束交易日",
  19766. "type": "string"
  19767. },
  19768. "enumdicname": {
  19769. "description": "单位名称",
  19770. "type": "string"
  19771. },
  19772. "goodsunitid": {
  19773. "description": "现货单位id",
  19774. "type": "integer"
  19775. },
  19776. "oristock": {
  19777. "description": "期初库存量",
  19778. "type": "number"
  19779. },
  19780. "reckondate": {
  19781. "description": "日照时期(yyyyMMdd)",
  19782. "type": "string"
  19783. },
  19784. "spotgoodsbrandid": {
  19785. "description": "现货品牌ID",
  19786. "type": "integer"
  19787. },
  19788. "todaybuyinqty": {
  19789. "description": "今采购入库量",
  19790. "type": "number"
  19791. },
  19792. "todayproduceinqty": {
  19793. "description": "今内部入库量",
  19794. "type": "number"
  19795. },
  19796. "todayproduceoutqty": {
  19797. "description": "今内部出库量",
  19798. "type": "number"
  19799. },
  19800. "todayselloutqty": {
  19801. "description": "今销售出库量",
  19802. "type": "number"
  19803. },
  19804. "unbuyinqty": {
  19805. "description": "采购未入库量(数据库未找到相关字段?)",
  19806. "type": "number"
  19807. },
  19808. "unitid": {
  19809. "description": "品类单位id",
  19810. "type": "integer"
  19811. },
  19812. "unselloutqty": {
  19813. "description": "销售未出库量(数据库未找到相关字段?)",
  19814. "type": "number"
  19815. },
  19816. "updatetime": {
  19817. "description": "更新时间",
  19818. "type": "string"
  19819. },
  19820. "userid": {
  19821. "description": "机构ID",
  19822. "type": "integer"
  19823. },
  19824. "username": {
  19825. "description": "机构名称",
  19826. "type": "string"
  19827. },
  19828. "warehousecode": {
  19829. "description": "仓库代码",
  19830. "type": "string"
  19831. },
  19832. "warehouseinfoid": {
  19833. "description": "仓库ID",
  19834. "type": "string"
  19835. },
  19836. "warehousename": {
  19837. "description": "仓库名称",
  19838. "type": "string"
  19839. },
  19840. "warehousetype": {
  19841. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19842. "type": "integer"
  19843. },
  19844. "wrstandardcode": {
  19845. "description": "品类代码",
  19846. "type": "string"
  19847. },
  19848. "wrstandardid": {
  19849. "description": "品类ID",
  19850. "type": "integer"
  19851. },
  19852. "wrstandardname": {
  19853. "description": "品类名称",
  19854. "type": "string"
  19855. }
  19856. }
  19857. },
  19858. "models.Ermcp3ArealSumPL": {
  19859. "type": "object",
  19860. "properties": {
  19861. "accountname": {
  19862. "description": "机构名称",
  19863. "type": "string"
  19864. },
  19865. "areauserid": {
  19866. "description": "所属机构\\交易用户ID",
  19867. "type": "integer"
  19868. },
  19869. "begindate": {
  19870. "description": "开始交易日",
  19871. "type": "string"
  19872. },
  19873. "currencyid": {
  19874. "description": "结算币种ID",
  19875. "type": "integer"
  19876. },
  19877. "currencyname": {
  19878. "description": "币种名称",
  19879. "type": "string"
  19880. },
  19881. "cycletime": {
  19882. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19883. "type": "string"
  19884. },
  19885. "cycletype": {
  19886. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19887. "type": "integer"
  19888. },
  19889. "enddate": {
  19890. "description": "结束交易日",
  19891. "type": "string"
  19892. },
  19893. "enumdicname": {
  19894. "description": "单位名称(套保品种)",
  19895. "type": "string"
  19896. },
  19897. "futureactualpl": {
  19898. "description": "期货损益",
  19899. "type": "number"
  19900. },
  19901. "futurefloatpl": {
  19902. "description": "期货浮动损益",
  19903. "type": "number"
  19904. },
  19905. "futurespotratio": {
  19906. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  19907. "type": "number"
  19908. },
  19909. "goodsunitid": {
  19910. "description": "套保品种单位id",
  19911. "type": "integer"
  19912. },
  19913. "hedgeexposurepl": {
  19914. "description": "套保敞口损益",
  19915. "type": "number"
  19916. },
  19917. "middlegoodscode": {
  19918. "description": "套保品种代码",
  19919. "type": "string"
  19920. },
  19921. "middlegoodsid": {
  19922. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  19923. "type": "integer"
  19924. },
  19925. "middlegoodsname": {
  19926. "description": "套保品种名称",
  19927. "type": "string"
  19928. },
  19929. "reckondate": {
  19930. "description": "日照时期(yyyyMMdd)",
  19931. "type": "string"
  19932. },
  19933. "spotactualpl": {
  19934. "description": "现货损益",
  19935. "type": "number"
  19936. },
  19937. "spotfloatpl": {
  19938. "description": "现货浮动损益",
  19939. "type": "number"
  19940. },
  19941. "sumactualpl": {
  19942. "description": "实际损益 = (ActualPL + FutureActualPL)",
  19943. "type": "number"
  19944. },
  19945. "sumpl": {
  19946. "description": "总敞口损益 | 汇总损益",
  19947. "type": "number"
  19948. },
  19949. "totalfutureqty": {
  19950. "description": "期货头寸总量",
  19951. "type": "number"
  19952. },
  19953. "totalneedhedgeqty": {
  19954. "description": "应套保总量",
  19955. "type": "number"
  19956. },
  19957. "totalspotqty": {
  19958. "description": "现货头寸总量",
  19959. "type": "number"
  19960. },
  19961. "updatetime": {
  19962. "description": "更新时间",
  19963. "type": "string"
  19964. }
  19965. }
  19966. },
  19967. "models.Ermcp3Brand": {
  19968. "type": "object",
  19969. "properties": {
  19970. "areauserid": {
  19971. "description": "用户id",
  19972. "type": "integer"
  19973. },
  19974. "brandid": {
  19975. "description": "品牌id",
  19976. "type": "integer"
  19977. },
  19978. "brandname": {
  19979. "description": "品牌名称",
  19980. "type": "string"
  19981. },
  19982. "deliverygoodsid": {
  19983. "description": "品种ID",
  19984. "type": "integer"
  19985. },
  19986. "isvalid": {
  19987. "description": "是否有效",
  19988. "type": "integer"
  19989. }
  19990. }
  19991. },
  19992. "models.Ermcp3Contract": {
  19993. "type": "object",
  19994. "properties": {
  19995. "accountid": {
  19996. "description": "期货账户id",
  19997. "type": "string"
  19998. },
  19999. "amount": {
  20000. "description": "金额 [1:一口价、3:暂定价]",
  20001. "type": "number"
  20002. },
  20003. "attachment": {
  20004. "description": "附件",
  20005. "type": "string"
  20006. },
  20007. "auditremark": {
  20008. "description": "审核意见",
  20009. "type": "string"
  20010. },
  20011. "audittime": {
  20012. "description": "审核时间",
  20013. "type": "string"
  20014. },
  20015. "biztype": {
  20016. "description": "业务类型 1-套保 2-套利",
  20017. "type": "integer"
  20018. },
  20019. "brandname": {
  20020. "description": "品牌名称",
  20021. "type": "string"
  20022. },
  20023. "buynickname": {
  20024. "description": "销售方昵称",
  20025. "type": "string"
  20026. },
  20027. "buyuserid": {
  20028. "description": "采购方ID",
  20029. "type": "integer"
  20030. },
  20031. "buyusername": {
  20032. "description": "采购方名称",
  20033. "type": "string"
  20034. },
  20035. "contracctstatus": {
  20036. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20037. "type": "integer"
  20038. },
  20039. "contractmargin": {
  20040. "description": "合同保证金",
  20041. "type": "number"
  20042. },
  20043. "contractno": {
  20044. "description": "现货合同编号",
  20045. "type": "string"
  20046. },
  20047. "contracttype": {
  20048. "description": "现货合同类型 - 1:采购 -1:销售",
  20049. "type": "integer"
  20050. },
  20051. "convertfactor": {
  20052. "description": "标仓系数(品类)",
  20053. "type": "number"
  20054. },
  20055. "createtime": {
  20056. "description": "创建时间",
  20057. "type": "string"
  20058. },
  20059. "currencyid": {
  20060. "description": "币种id",
  20061. "type": "integer"
  20062. },
  20063. "currencyname": {
  20064. "description": "币种名称",
  20065. "type": "string"
  20066. },
  20067. "deliveryenddate": {
  20068. "description": "交收期(结束)",
  20069. "type": "string"
  20070. },
  20071. "deliverygoodscode": {
  20072. "description": "现货品种代码",
  20073. "type": "string"
  20074. },
  20075. "deliverygoodsid": {
  20076. "description": "现货品种ID",
  20077. "type": "integer"
  20078. },
  20079. "deliverygoodsname": {
  20080. "description": "现货品种名称",
  20081. "type": "string"
  20082. },
  20083. "deliverystartdate": {
  20084. "description": "交收期(开始)",
  20085. "type": "string"
  20086. },
  20087. "enddate": {
  20088. "description": "点价结束日期 [2:点价 3:暂定价]",
  20089. "type": "string"
  20090. },
  20091. "enumdicname": {
  20092. "description": "单位名称",
  20093. "type": "string"
  20094. },
  20095. "goodscode": {
  20096. "description": "点价合约代码",
  20097. "type": "string"
  20098. },
  20099. "goodsid": {
  20100. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  20101. "type": "integer"
  20102. },
  20103. "goodsname": {
  20104. "description": "点价商品名称",
  20105. "type": "string"
  20106. },
  20107. "margin": {
  20108. "description": "当前保证金",
  20109. "type": "number"
  20110. },
  20111. "meruserid": {
  20112. "description": "跟单员id",
  20113. "type": "integer"
  20114. },
  20115. "meruserlogincode": {
  20116. "description": "跟单员登录代码",
  20117. "type": "string"
  20118. },
  20119. "merusername": {
  20120. "description": "跟单员名称",
  20121. "type": "string"
  20122. },
  20123. "price": {
  20124. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  20125. "type": "number"
  20126. },
  20127. "pricemove": {
  20128. "description": "升贴水 [2:点价 3:暂定价]",
  20129. "type": "number"
  20130. },
  20131. "pricetype": {
  20132. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20133. "type": "integer"
  20134. },
  20135. "producttype": {
  20136. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20137. "type": "integer"
  20138. },
  20139. "qty": {
  20140. "description": "数量",
  20141. "type": "number"
  20142. },
  20143. "remark": {
  20144. "description": "备注",
  20145. "type": "string"
  20146. },
  20147. "saleuserid": {
  20148. "description": "业务员id",
  20149. "type": "integer"
  20150. },
  20151. "saleuserlogincode": {
  20152. "description": "业务员登录代码",
  20153. "type": "string"
  20154. },
  20155. "saleusername": {
  20156. "description": "业务员名称",
  20157. "type": "string"
  20158. },
  20159. "sellnickname": {
  20160. "description": "采购方昵称",
  20161. "type": "string"
  20162. },
  20163. "selluserid": {
  20164. "description": "销售方ID",
  20165. "type": "integer"
  20166. },
  20167. "sellusername": {
  20168. "description": "销售方名称",
  20169. "type": "string"
  20170. },
  20171. "spotcontractid": {
  20172. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  20173. "type": "string"
  20174. },
  20175. "spotgoodsbrandid": {
  20176. "description": "现货品牌ID(DGFactoryItem表的ID)",
  20177. "type": "integer"
  20178. },
  20179. "spotgoodsdesc": {
  20180. "description": "商品型号",
  20181. "type": "string"
  20182. },
  20183. "startdate": {
  20184. "description": "点价开始日期 [2:点价 3:暂定价]",
  20185. "type": "string"
  20186. },
  20187. "subjectid": {
  20188. "description": "交易主体ID",
  20189. "type": "string"
  20190. },
  20191. "subjectname": {
  20192. "description": "交易主体名称",
  20193. "type": "string"
  20194. },
  20195. "tradeuserid": {
  20196. "description": "交易员id",
  20197. "type": "integer"
  20198. },
  20199. "tradeuserlogincode": {
  20200. "description": "交易员登录代码",
  20201. "type": "string"
  20202. },
  20203. "tradeusername": {
  20204. "description": "交易员名称",
  20205. "type": "string"
  20206. },
  20207. "unitid": {
  20208. "description": "单位id(取品类上的单位id)",
  20209. "type": "integer"
  20210. },
  20211. "updatetime": {
  20212. "description": "更新时间",
  20213. "type": "string"
  20214. },
  20215. "userid": {
  20216. "description": "所属机构ID",
  20217. "type": "integer"
  20218. },
  20219. "vatrate": {
  20220. "description": "增值税率",
  20221. "type": "number"
  20222. },
  20223. "wrstandardcode": {
  20224. "description": "品类代码",
  20225. "type": "string"
  20226. },
  20227. "wrstandardid": {
  20228. "description": "品类ID",
  20229. "type": "integer"
  20230. },
  20231. "wrstandardname": {
  20232. "description": "品类名称",
  20233. "type": "string"
  20234. }
  20235. }
  20236. },
  20237. "models.Ermcp3ExposureContractDetail": {
  20238. "type": "object",
  20239. "properties": {
  20240. "biztype": {
  20241. "description": "业务类型 1-套保 2-套利",
  20242. "type": "integer"
  20243. },
  20244. "brandname": {
  20245. "description": "品牌名称",
  20246. "type": "string"
  20247. },
  20248. "buyuserid": {
  20249. "description": "采购方id",
  20250. "type": "integer"
  20251. },
  20252. "buyusername": {
  20253. "description": "采购方名称",
  20254. "type": "string"
  20255. },
  20256. "contractno": {
  20257. "description": "合同编号",
  20258. "type": "string"
  20259. },
  20260. "contracttype": {
  20261. "description": "现货合同类型 - 1:采购 -1:销售",
  20262. "type": "integer"
  20263. },
  20264. "convertfactor": {
  20265. "description": "标仓系数",
  20266. "type": "number"
  20267. },
  20268. "convertratio": {
  20269. "description": "折算系数(套保品种)",
  20270. "type": "number"
  20271. },
  20272. "curqty": {
  20273. "description": "今定价量",
  20274. "type": "number"
  20275. },
  20276. "deliverygoodscode": {
  20277. "description": "现货商品代码",
  20278. "type": "string"
  20279. },
  20280. "deliverygoodsid": {
  20281. "description": "现货商品id",
  20282. "type": "integer"
  20283. },
  20284. "deliverygoodsname": {
  20285. "description": "现货商品名称",
  20286. "type": "string"
  20287. },
  20288. "diffhedgeqty": {
  20289. "description": "套保变动量",
  20290. "type": "number"
  20291. },
  20292. "diffneedhedgeqty": {
  20293. "description": "应套保变动量",
  20294. "type": "number"
  20295. },
  20296. "diffqty": {
  20297. "description": "套保品种今变动量",
  20298. "type": "number"
  20299. },
  20300. "enumdicname": {
  20301. "description": "单位名称",
  20302. "type": "string"
  20303. },
  20304. "mgunitname": {
  20305. "description": "套保品种单位名称",
  20306. "type": "string"
  20307. },
  20308. "middlegoodscode": {
  20309. "description": "套保品种代码",
  20310. "type": "string"
  20311. },
  20312. "middlegoodsid": {
  20313. "description": "套保品种id",
  20314. "type": "integer"
  20315. },
  20316. "middlegoodsname": {
  20317. "description": "套保品种名称",
  20318. "type": "string"
  20319. },
  20320. "needarbitrageratio": {
  20321. "description": "应套利比例",
  20322. "type": "number"
  20323. },
  20324. "needhedgeratio": {
  20325. "description": "应套保比例",
  20326. "type": "number"
  20327. },
  20328. "pricedqty": {
  20329. "description": "已定价量",
  20330. "type": "number"
  20331. },
  20332. "qty": {
  20333. "description": "合同量",
  20334. "type": "number"
  20335. },
  20336. "selluserid": {
  20337. "description": "销售方id",
  20338. "type": "integer"
  20339. },
  20340. "sellusername": {
  20341. "description": "销售方名称",
  20342. "type": "string"
  20343. },
  20344. "spotcontractid": {
  20345. "description": "合同id",
  20346. "type": "string"
  20347. },
  20348. "todaypricedqty": {
  20349. "description": "今定价量",
  20350. "type": "number"
  20351. },
  20352. "tradedate": {
  20353. "description": "交易日",
  20354. "type": "string"
  20355. },
  20356. "unitid": {
  20357. "description": "品类单位id",
  20358. "type": "integer"
  20359. },
  20360. "userid": {
  20361. "description": "机构id",
  20362. "type": "integer"
  20363. },
  20364. "username": {
  20365. "description": "交易用户",
  20366. "type": "string"
  20367. },
  20368. "wrstandardcode": {
  20369. "description": "品类代码",
  20370. "type": "string"
  20371. },
  20372. "wrstandardid": {
  20373. "description": "品类id",
  20374. "type": "integer"
  20375. },
  20376. "wrstandardname": {
  20377. "description": "品类名称",
  20378. "type": "string"
  20379. }
  20380. }
  20381. },
  20382. "models.Ermcp3ExposureDetail": {
  20383. "type": "object",
  20384. "properties": {
  20385. "areauserid": {
  20386. "description": "机构ID",
  20387. "type": "integer"
  20388. },
  20389. "changeQty": {
  20390. "description": "套保变动量",
  20391. "type": "number"
  20392. },
  20393. "contracttype": {
  20394. "description": "现货合同类型 - 1:采购 -1:销售",
  20395. "type": "integer"
  20396. },
  20397. "convertfactor": {
  20398. "description": "标仓系数",
  20399. "type": "number"
  20400. },
  20401. "convertratio": {
  20402. "description": "折算系数",
  20403. "type": "number"
  20404. },
  20405. "createtime": {
  20406. "description": "时间",
  20407. "type": "string"
  20408. },
  20409. "enumdicname": {
  20410. "description": "现货商品单位名称",
  20411. "type": "string"
  20412. },
  20413. "logtype": {
  20414. "description": "类型 - 1:套保计划 2:现货合同",
  20415. "type": "integer"
  20416. },
  20417. "mgunitid": {
  20418. "description": "套保品种单位id",
  20419. "type": "integer"
  20420. },
  20421. "mgunitidname": {
  20422. "description": "套保品种单位名称",
  20423. "type": "string"
  20424. },
  20425. "middlegoodsId": {
  20426. "description": "套保商品id",
  20427. "type": "integer"
  20428. },
  20429. "middlegoodscode": {
  20430. "description": "套保商品代码",
  20431. "type": "string"
  20432. },
  20433. "middlegoodsname": {
  20434. "description": "套保商品名称",
  20435. "type": "string"
  20436. },
  20437. "qty": {
  20438. "description": "数量",
  20439. "type": "number"
  20440. },
  20441. "relateNo": {
  20442. "description": "现货合同/套保计划编号",
  20443. "type": "string"
  20444. },
  20445. "unitid": {
  20446. "description": "现货商品单位id",
  20447. "type": "integer"
  20448. },
  20449. "wrstandardcode": {
  20450. "description": "现货商品代码",
  20451. "type": "string"
  20452. },
  20453. "wrstandardid": {
  20454. "description": "现货商品ID(SEQ_WRSTANDARD)",
  20455. "type": "integer"
  20456. },
  20457. "wrstandardname": {
  20458. "description": "现货商品名称",
  20459. "type": "string"
  20460. }
  20461. }
  20462. },
  20463. "models.Ermcp3ExposureFutuDetail": {
  20464. "type": "object",
  20465. "properties": {
  20466. "accountid": {
  20467. "description": "交易账户id",
  20468. "type": "integer"
  20469. },
  20470. "accountname": {
  20471. "description": "交易账户",
  20472. "type": "string"
  20473. },
  20474. "begindate": {
  20475. "description": "开始交易日",
  20476. "type": "string"
  20477. },
  20478. "buyorsell": {
  20479. "description": "方向 0-买 1-卖",
  20480. "type": "integer"
  20481. },
  20482. "diffmgqty": {
  20483. "description": "套保品种今变化量",
  20484. "type": "number"
  20485. },
  20486. "diffneedqty": {
  20487. "description": "应套保总量变化量",
  20488. "type": "number"
  20489. },
  20490. "difftradeqty": {
  20491. "description": "交易品种今变化量",
  20492. "type": "number"
  20493. },
  20494. "enddate": {
  20495. "description": "结束交易日",
  20496. "type": "string"
  20497. },
  20498. "enumdicname": {
  20499. "description": "单位名称",
  20500. "type": "string"
  20501. },
  20502. "goodscode": {
  20503. "description": "商品代码",
  20504. "type": "string"
  20505. },
  20506. "goodsid": {
  20507. "description": "商品id",
  20508. "type": "integer"
  20509. },
  20510. "goodsname": {
  20511. "description": "商品名称",
  20512. "type": "string"
  20513. },
  20514. "holdqty": {
  20515. "description": "期末持仓量",
  20516. "type": "number"
  20517. },
  20518. "middlegoodscode": {
  20519. "description": "套保商品代码",
  20520. "type": "string"
  20521. },
  20522. "middlegoodsid": {
  20523. "description": "套保商品id",
  20524. "type": "integer"
  20525. },
  20526. "middlegoodsname": {
  20527. "description": "套保商品名称",
  20528. "type": "string"
  20529. },
  20530. "oriholdqty": {
  20531. "description": "期初持仓量",
  20532. "type": "number"
  20533. },
  20534. "todaycloseqty": {
  20535. "description": "今平仓量",
  20536. "type": "number"
  20537. },
  20538. "todayopenqty": {
  20539. "description": "今开仓量",
  20540. "type": "number"
  20541. },
  20542. "tradedate": {
  20543. "description": "交易日",
  20544. "type": "string"
  20545. }
  20546. }
  20547. },
  20548. "models.Ermcp3ExposureHedgeplanDetail": {
  20549. "type": "object",
  20550. "properties": {
  20551. "biztype": {
  20552. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  20553. "type": "integer"
  20554. },
  20555. "changqty": {
  20556. "description": "应套保总量变化量",
  20557. "type": "number"
  20558. },
  20559. "contracttype": {
  20560. "description": "计划类型 - 1:采购 -1:销售",
  20561. "type": "integer"
  20562. },
  20563. "convertratio": {
  20564. "description": "折算系数(套保品种)",
  20565. "type": "number"
  20566. },
  20567. "deliverygoodscode": {
  20568. "description": "现货商品代码",
  20569. "type": "string"
  20570. },
  20571. "deliverygoodsid": {
  20572. "description": "现货商品id",
  20573. "type": "integer"
  20574. },
  20575. "deliverygoodsname": {
  20576. "description": "现货商吕名称",
  20577. "type": "string"
  20578. },
  20579. "dgunitid": {
  20580. "description": "现货商品单位id",
  20581. "type": "integer"
  20582. },
  20583. "dgunitidname": {
  20584. "description": "单位名称(现货商品)",
  20585. "type": "string"
  20586. },
  20587. "diffqty": {
  20588. "description": "套保品种今变动量",
  20589. "type": "number"
  20590. },
  20591. "enumdicname": {
  20592. "description": "单位名称(品类)",
  20593. "type": "string"
  20594. },
  20595. "hedgeplanid": {
  20596. "description": "套保计划id",
  20597. "type": "string"
  20598. },
  20599. "hedgeplanno": {
  20600. "description": "套保计划名称",
  20601. "type": "string"
  20602. },
  20603. "hedgeplanstatus": {
  20604. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20605. "type": "integer"
  20606. },
  20607. "mgunitidname": {
  20608. "description": "单位名称(套保商品)",
  20609. "type": "string"
  20610. },
  20611. "middlegoodscode": {
  20612. "description": "套保品种代码",
  20613. "type": "string"
  20614. },
  20615. "middlegoodsid": {
  20616. "description": "套保品种id",
  20617. "type": "integer"
  20618. },
  20619. "middlegoodsname": {
  20620. "description": "套保品种名称",
  20621. "type": "string"
  20622. },
  20623. "needarbitrageratio": {
  20624. "description": "应套利比例",
  20625. "type": "number"
  20626. },
  20627. "needhedgeratio": {
  20628. "description": "应套保比例",
  20629. "type": "number"
  20630. },
  20631. "pricedqty": {
  20632. "description": "已定价量",
  20633. "type": "number"
  20634. },
  20635. "qty": {
  20636. "description": "合同量",
  20637. "type": "number"
  20638. },
  20639. "tradedate": {
  20640. "description": "交易日(登记日)",
  20641. "type": "string"
  20642. },
  20643. "unitid": {
  20644. "description": "品类单位id",
  20645. "type": "integer"
  20646. },
  20647. "userid": {
  20648. "description": "机构id",
  20649. "type": "integer"
  20650. },
  20651. "wrstandardcode": {
  20652. "description": "品类代码",
  20653. "type": "string"
  20654. },
  20655. "wrstandardid": {
  20656. "description": "品类id",
  20657. "type": "integer"
  20658. },
  20659. "wrstandardname": {
  20660. "description": "品类名称",
  20661. "type": "string"
  20662. }
  20663. }
  20664. },
  20665. "models.Ermcp3ExposureParamChLog": {
  20666. "type": "object",
  20667. "properties": {
  20668. "accountid": {
  20669. "description": "期货账户ID (作废, 默认为0)",
  20670. "type": "integer"
  20671. },
  20672. "aftervalue": {
  20673. "description": "应套保\\套利量变更后(调整后应套保总量)",
  20674. "type": "number"
  20675. },
  20676. "areauserid": {
  20677. "description": "所属机构\\交易用户ID",
  20678. "type": "integer"
  20679. },
  20680. "beforevalue": {
  20681. "description": "应套保\\套利量变更前(调整前应套保总量)",
  20682. "type": "number"
  20683. },
  20684. "begindate": {
  20685. "description": "开始交易日",
  20686. "type": "string"
  20687. },
  20688. "changelogtype": {
  20689. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  20690. "type": "integer"
  20691. },
  20692. "curvalue": {
  20693. "description": "当前套保\\套利量(套保总量|套利总量)",
  20694. "type": "number"
  20695. },
  20696. "diffvalue": {
  20697. "description": "应套保总量变化量",
  20698. "type": "number"
  20699. },
  20700. "enddate": {
  20701. "description": "结束交易日",
  20702. "type": "string"
  20703. },
  20704. "logdatetime": {
  20705. "description": "流水日期",
  20706. "type": "string"
  20707. },
  20708. "logid": {
  20709. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  20710. "type": "string"
  20711. },
  20712. "middlegoodscode": {
  20713. "description": "套保品种代码",
  20714. "type": "string"
  20715. },
  20716. "middlegoodsid": {
  20717. "description": "套保品种",
  20718. "type": "integer"
  20719. },
  20720. "middlegoodsname": {
  20721. "description": "套保品种名称",
  20722. "type": "string"
  20723. },
  20724. "paramaftervalue": {
  20725. "description": "参数变更后(调整后参数值)",
  20726. "type": "number"
  20727. },
  20728. "parambeforevalue": {
  20729. "description": "参数变更前(调整前参数值)",
  20730. "type": "number"
  20731. },
  20732. "tradedate": {
  20733. "description": "交易日(yyyyMMdd)",
  20734. "type": "string"
  20735. }
  20736. }
  20737. },
  20738. "models.Ermcp3ExpourseReport": {
  20739. "type": "object",
  20740. "properties": {
  20741. "accountid": {
  20742. "description": "期货账户ID (作废, 默认为0)",
  20743. "type": "integer"
  20744. },
  20745. "accountname": {
  20746. "description": "机构名称",
  20747. "type": "string"
  20748. },
  20749. "arbitrageqty": {
  20750. "description": "套利量",
  20751. "type": "number"
  20752. },
  20753. "areauserid": {
  20754. "description": "所属机构\\交易用户ID",
  20755. "type": "integer"
  20756. },
  20757. "begindate": {
  20758. "description": "开始交易日",
  20759. "type": "string"
  20760. },
  20761. "buyfutureqty": {
  20762. "description": "买入期货数量",
  20763. "type": "number"
  20764. },
  20765. "buyplanqty": {
  20766. "description": "采购计划数量",
  20767. "type": "number"
  20768. },
  20769. "buypricedqty": {
  20770. "description": "采购合同已定价数量",
  20771. "type": "number"
  20772. },
  20773. "cycletime": {
  20774. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20775. "type": "string"
  20776. },
  20777. "cycletype": {
  20778. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20779. "type": "integer"
  20780. },
  20781. "diffexposure": {
  20782. "description": "变动量(套保敞口)",
  20783. "type": "number"
  20784. },
  20785. "difffutuqty": {
  20786. "description": "变动量(期货)",
  20787. "type": "number"
  20788. },
  20789. "diffhedgeqty": {
  20790. "description": "变动量(现货应套保总量)",
  20791. "type": "number"
  20792. },
  20793. "diffmgqtya": {
  20794. "description": "套保变动量",
  20795. "type": "number"
  20796. },
  20797. "diffmgqtyb": {
  20798. "description": "套利变动量",
  20799. "type": "number"
  20800. },
  20801. "diffqty": {
  20802. "description": "变动量(总敞口)",
  20803. "type": "number"
  20804. },
  20805. "diffspotqty": {
  20806. "description": "变动量(现货)",
  20807. "type": "number"
  20808. },
  20809. "enddate": {
  20810. "description": "结束交易日",
  20811. "type": "string"
  20812. },
  20813. "enumdicname": {
  20814. "description": "单位名称",
  20815. "type": "string"
  20816. },
  20817. "hedgeqty": {
  20818. "description": "套保量",
  20819. "type": "number"
  20820. },
  20821. "mgneedhedgeratio": {
  20822. "description": "套保比例(套保品的)",
  20823. "type": "number"
  20824. },
  20825. "middlegoodsid": {
  20826. "description": "套保品种ID",
  20827. "type": "integer"
  20828. },
  20829. "middlegoodsname": {
  20830. "description": "套保商品名称",
  20831. "type": "string"
  20832. },
  20833. "middlgoodscode": {
  20834. "description": "套保商品代码",
  20835. "type": "string"
  20836. },
  20837. "needarbitrageqty": {
  20838. "description": "应套利量",
  20839. "type": "number"
  20840. },
  20841. "needarbitrageratio": {
  20842. "description": "套利比例(套保品的)",
  20843. "type": "number"
  20844. },
  20845. "needhedgeexposoure": {
  20846. "description": "应套保敞口(套保敞口)",
  20847. "type": "number"
  20848. },
  20849. "needhedgeqty": {
  20850. "description": "应套保量",
  20851. "type": "number"
  20852. },
  20853. "needhedgeratio": {
  20854. "description": "应套保敞口比例",
  20855. "type": "number"
  20856. },
  20857. "oriarbitrageqty": {
  20858. "description": "期初套利量",
  20859. "type": "number"
  20860. },
  20861. "oribuyfutureqty": {
  20862. "description": "期初买入期货数量",
  20863. "type": "number"
  20864. },
  20865. "oribuyplanqty": {
  20866. "description": "期初采购计划数量",
  20867. "type": "number"
  20868. },
  20869. "oribuypricedqty": {
  20870. "description": "期初采购合同已定价数量",
  20871. "type": "number"
  20872. },
  20873. "orihedgeqty": {
  20874. "description": "期初套保量",
  20875. "type": "number"
  20876. },
  20877. "orineedarbitrageqty": {
  20878. "description": "期初应套利量",
  20879. "type": "number"
  20880. },
  20881. "orineedhedgeexposoure": {
  20882. "description": "期初应套保敞口",
  20883. "type": "number"
  20884. },
  20885. "orineedhedgeqty": {
  20886. "description": "期初应套保量",
  20887. "type": "number"
  20888. },
  20889. "orisellfutureqty": {
  20890. "description": "期初卖出期货数量",
  20891. "type": "number"
  20892. },
  20893. "orisellplanqty": {
  20894. "description": "期初销售计划数量",
  20895. "type": "number"
  20896. },
  20897. "orisellpricedqty": {
  20898. "description": "期初销售合同已定价数量",
  20899. "type": "number"
  20900. },
  20901. "oritotalexposure": {
  20902. "description": "期初实时总敞口",
  20903. "type": "number"
  20904. },
  20905. "oritotalfutureqty": {
  20906. "description": "期初期货头寸总量",
  20907. "type": "number"
  20908. },
  20909. "oritotalneedhedgeqty": {
  20910. "description": "期初应套保总量",
  20911. "type": "number"
  20912. },
  20913. "oritotalspotqty": {
  20914. "description": "期初现货头寸总量",
  20915. "type": "number"
  20916. },
  20917. "reckondate": {
  20918. "description": "日照时期(yyyyMMdd)",
  20919. "type": "string"
  20920. },
  20921. "sellfutureqty": {
  20922. "description": "卖出期货数量",
  20923. "type": "number"
  20924. },
  20925. "sellplanqty": {
  20926. "description": "销售计划数量",
  20927. "type": "number"
  20928. },
  20929. "sellpricedqty": {
  20930. "description": "销售合同已定价数量",
  20931. "type": "number"
  20932. },
  20933. "totalexposure": {
  20934. "description": "实时总敞口(总敞口)",
  20935. "type": "number"
  20936. },
  20937. "totalfutureqty": {
  20938. "description": "期货头寸总量(期货总量)",
  20939. "type": "number"
  20940. },
  20941. "totalhedgeratio": {
  20942. "description": "敞口比例",
  20943. "type": "number"
  20944. },
  20945. "totalneedhedgeqty": {
  20946. "description": "应套保总量(现货应套保总量)",
  20947. "type": "number"
  20948. },
  20949. "totalspotqty": {
  20950. "description": "现货头寸总量",
  20951. "type": "number"
  20952. },
  20953. "unitid": {
  20954. "description": "单位id",
  20955. "type": "integer"
  20956. },
  20957. "updatetime": {
  20958. "description": "更新时间",
  20959. "type": "string"
  20960. }
  20961. }
  20962. },
  20963. "models.Ermcp3FinanceReport": {
  20964. "type": "object",
  20965. "properties": {
  20966. "accountname": {
  20967. "description": "机构名称",
  20968. "type": "string"
  20969. },
  20970. "areauserid": {
  20971. "description": "所属机构\\交易用户ID",
  20972. "type": "integer"
  20973. },
  20974. "begindate": {
  20975. "description": "开始交易日",
  20976. "type": "string"
  20977. },
  20978. "biztype": {
  20979. "description": "业务类型 - 1:套保 2:套利",
  20980. "type": "integer"
  20981. },
  20982. "brandname": {
  20983. "description": "品牌名称",
  20984. "type": "string"
  20985. },
  20986. "buypreinvoicedamount": {
  20987. "description": "采购预收票额(预收票额)",
  20988. "type": "number"
  20989. },
  20990. "buyprepaidamount": {
  20991. "description": "采购预付款额(预付货款额)",
  20992. "type": "number"
  20993. },
  20994. "buytodayinvoiceamount": {
  20995. "description": "采购今收票额(今收票额)",
  20996. "type": "number"
  20997. },
  20998. "buytodayrefundamount": {
  20999. "description": "采购今收退款额(今收退款额)",
  21000. "type": "number"
  21001. },
  21002. "buytodaysettleamount": {
  21003. "description": "采购今付款额(今付货款额)",
  21004. "type": "number"
  21005. },
  21006. "buyuninvoicedamount": {
  21007. "description": "采购应收票额(应收票额)",
  21008. "type": "number"
  21009. },
  21010. "buyunpaidamount": {
  21011. "description": "采购应付款额(应付货款额)",
  21012. "type": "number"
  21013. },
  21014. "currencyid": {
  21015. "description": "结算币种ID",
  21016. "type": "integer"
  21017. },
  21018. "currencyname": {
  21019. "description": "币种名称",
  21020. "type": "string"
  21021. },
  21022. "cycletime": {
  21023. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21024. "type": "string"
  21025. },
  21026. "cycletype": {
  21027. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21028. "type": "integer"
  21029. },
  21030. "deliverygoodscode": {
  21031. "description": "现货品种代码",
  21032. "type": "string"
  21033. },
  21034. "deliverygoodsid": {
  21035. "description": "现货品种ID",
  21036. "type": "integer"
  21037. },
  21038. "deliverygoodsname": {
  21039. "description": "现货品种名称",
  21040. "type": "string"
  21041. },
  21042. "enddate": {
  21043. "description": "结束交易日",
  21044. "type": "string"
  21045. },
  21046. "reckondate": {
  21047. "description": "日照时期(yyyyMMdd)",
  21048. "type": "string"
  21049. },
  21050. "sellpreinvoicedamount": {
  21051. "description": "销售预开票额(预开票额)",
  21052. "type": "number"
  21053. },
  21054. "sellprepaidamount": {
  21055. "description": "销售预收款额(预收货款额)",
  21056. "type": "number"
  21057. },
  21058. "selltodayinvoiceamount": {
  21059. "description": "销售今开票额(今开票额)",
  21060. "type": "number"
  21061. },
  21062. "selltodayrefundamount": {
  21063. "description": "销售今付退款额(今付退款额)",
  21064. "type": "number"
  21065. },
  21066. "selltodaysettleamount": {
  21067. "description": "销售今收款额(今收货款额)",
  21068. "type": "number"
  21069. },
  21070. "selluninvoicedamount": {
  21071. "description": "销售应开票额(应开票额)",
  21072. "type": "number"
  21073. },
  21074. "sellunpaidamount": {
  21075. "description": "销售应收款额(应收货款额)",
  21076. "type": "number"
  21077. },
  21078. "spotgoodsbrandid": {
  21079. "description": "现货品牌ID",
  21080. "type": "integer"
  21081. },
  21082. "todaypaysum": {
  21083. "description": "今付款合计",
  21084. "type": "number"
  21085. },
  21086. "todayreceivesum": {
  21087. "description": "今收款合计",
  21088. "type": "number"
  21089. },
  21090. "updatetime": {
  21091. "description": "更新时间",
  21092. "type": "string"
  21093. },
  21094. "wrfactortypeid": {
  21095. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  21096. "type": "integer"
  21097. },
  21098. "wrstandardcode": {
  21099. "description": "品类代码",
  21100. "type": "string"
  21101. },
  21102. "wrstandardid": {
  21103. "description": "现货商品ID",
  21104. "type": "integer"
  21105. },
  21106. "wrstandardname": {
  21107. "description": "品类名称",
  21108. "type": "string"
  21109. }
  21110. }
  21111. },
  21112. "models.Ermcp3GoodsGroup": {
  21113. "type": "object",
  21114. "required": [
  21115. "areauserid"
  21116. ],
  21117. "properties": {
  21118. "agreeunit": {
  21119. "description": "合约单位",
  21120. "type": "number"
  21121. },
  21122. "areauserid": {
  21123. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  21124. "type": "integer"
  21125. },
  21126. "canshort": {
  21127. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  21128. "type": "integer"
  21129. },
  21130. "closepricemode": {
  21131. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21132. "type": "integer"
  21133. },
  21134. "createtime": {
  21135. "description": "创建时间",
  21136. "type": "string"
  21137. },
  21138. "creatorid": {
  21139. "description": "创建人",
  21140. "type": "integer"
  21141. },
  21142. "currencyid": {
  21143. "description": "报价货币ID",
  21144. "type": "integer"
  21145. },
  21146. "decimalplace": {
  21147. "description": "报价小数位",
  21148. "type": "integer"
  21149. },
  21150. "enumdicname": {
  21151. "description": "单位名称",
  21152. "type": "string"
  21153. },
  21154. "exchangefullname": {
  21155. "description": "交易所全称",
  21156. "type": "string"
  21157. },
  21158. "excludecfg": {
  21159. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  21160. "type": "integer"
  21161. },
  21162. "exexchangecode": {
  21163. "description": "交易所代码",
  21164. "type": "string"
  21165. },
  21166. "exexchangeid": {
  21167. "description": "外部交易所ID[通道交易]",
  21168. "type": "integer"
  21169. },
  21170. "exexchangename": {
  21171. "description": "交易所名称",
  21172. "type": "string"
  21173. },
  21174. "goodsgroupid": {
  21175. "description": "商品组ID(自增ID)",
  21176. "type": "integer"
  21177. },
  21178. "goodsgroupname": {
  21179. "description": "商品组名称",
  21180. "type": "string"
  21181. },
  21182. "goodsgroupstatus": {
  21183. "description": "商品组状态 - 1:正常 2:注销",
  21184. "type": "integer"
  21185. },
  21186. "goodunitid": {
  21187. "description": "报价单位ID",
  21188. "type": "integer"
  21189. },
  21190. "groupcategroyid": {
  21191. "description": "品种分类ID",
  21192. "type": "integer"
  21193. },
  21194. "innerdealmode": {
  21195. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21196. "type": "integer"
  21197. },
  21198. "marketid": {
  21199. "description": "所属市场ID",
  21200. "type": "integer"
  21201. },
  21202. "modifierid": {
  21203. "description": "修改人",
  21204. "type": "integer"
  21205. },
  21206. "modifytime": {
  21207. "description": "修改时间",
  21208. "type": "string"
  21209. },
  21210. "outerdealmode": {
  21211. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21212. "type": "integer"
  21213. },
  21214. "outergroupcode": {
  21215. "description": "外部商品组代码[通道交易]",
  21216. "type": "string"
  21217. },
  21218. "quoteminunit": {
  21219. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21220. "type": "integer"
  21221. },
  21222. "quotesourcegroupid": {
  21223. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  21224. "type": "integer"
  21225. },
  21226. "syncgoodsqty": {
  21227. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  21228. "type": "integer"
  21229. }
  21230. }
  21231. },
  21232. "models.Ermcp3HedgePlan": {
  21233. "type": "object",
  21234. "properties": {
  21235. "accountid": {
  21236. "description": "资金账号",
  21237. "type": "integer"
  21238. },
  21239. "areauserid": {
  21240. "description": "用户ID",
  21241. "type": "integer"
  21242. },
  21243. "auditid": {
  21244. "description": "审核id",
  21245. "type": "integer"
  21246. },
  21247. "auditname": {
  21248. "description": "审核人名称",
  21249. "type": "string"
  21250. },
  21251. "auditremark": {
  21252. "description": "审核备注",
  21253. "type": "string"
  21254. },
  21255. "auditsrc": {
  21256. "description": "审核来源 1-管理端 2-终端",
  21257. "type": "integer"
  21258. },
  21259. "audittime": {
  21260. "description": "审核时间",
  21261. "type": "string"
  21262. },
  21263. "contracttype": {
  21264. "description": "计划类型 - 1:采购 -1:销售",
  21265. "type": "integer"
  21266. },
  21267. "convertfactor": {
  21268. "description": "标仓系数",
  21269. "type": "number"
  21270. },
  21271. "createtime": {
  21272. "description": "创建时间",
  21273. "type": "string"
  21274. },
  21275. "currencyid": {
  21276. "description": "币种id",
  21277. "type": "integer"
  21278. },
  21279. "currencyname": {
  21280. "description": "币种名称",
  21281. "type": "string"
  21282. },
  21283. "deliverygoodscode": {
  21284. "description": "现货品种代码",
  21285. "type": "string"
  21286. },
  21287. "deliverygoodsid": {
  21288. "description": "现货品种ID",
  21289. "type": "integer"
  21290. },
  21291. "deliverygoodsname": {
  21292. "description": "现货品种名称",
  21293. "type": "string"
  21294. },
  21295. "enumdicname": {
  21296. "description": "单位名称(现货商品)",
  21297. "type": "string"
  21298. },
  21299. "hedgeplanid": {
  21300. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  21301. "type": "string"
  21302. },
  21303. "hedgeplanno": {
  21304. "description": "套保计划编号(名称)",
  21305. "type": "string"
  21306. },
  21307. "hedgeplanstatus": {
  21308. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21309. "type": "integer"
  21310. },
  21311. "planqty": {
  21312. "description": "计划数量",
  21313. "type": "number"
  21314. },
  21315. "plantime": {
  21316. "description": "计划时间",
  21317. "type": "string"
  21318. },
  21319. "producttype": {
  21320. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  21321. "type": "integer"
  21322. },
  21323. "remark": {
  21324. "description": "备注",
  21325. "type": "string"
  21326. },
  21327. "spotgoodsdesc": {
  21328. "description": "商品型号",
  21329. "type": "string"
  21330. },
  21331. "taaccountname": {
  21332. "description": "资金账号名称",
  21333. "type": "string"
  21334. },
  21335. "tradeuserid": {
  21336. "description": "交易用户id",
  21337. "type": "integer"
  21338. },
  21339. "tradeusername": {
  21340. "description": "交易用户名称",
  21341. "type": "string"
  21342. },
  21343. "unitid": {
  21344. "description": "单位id(现货商品)",
  21345. "type": "integer"
  21346. },
  21347. "updatetime": {
  21348. "description": "更新时间",
  21349. "type": "string"
  21350. },
  21351. "vatrate": {
  21352. "description": "增值税率",
  21353. "type": "number"
  21354. },
  21355. "wrstandardcode": {
  21356. "description": "品类代码",
  21357. "type": "string"
  21358. },
  21359. "wrstandardid": {
  21360. "description": "品类id",
  21361. "type": "integer"
  21362. },
  21363. "wrstandardname": {
  21364. "description": "品类名称",
  21365. "type": "string"
  21366. },
  21367. "wrunitid": {
  21368. "description": "品类单位id",
  21369. "type": "integer"
  21370. },
  21371. "wrunitidame": {
  21372. "description": "品类单位名称",
  21373. "type": "string"
  21374. }
  21375. }
  21376. },
  21377. "models.Ermcp3InnerTradeLink": {
  21378. "type": "object",
  21379. "properties": {
  21380. "accountid": {
  21381. "description": "期货账号代码 | 资金账号ID",
  21382. "type": "integer"
  21383. },
  21384. "buyorsell": {
  21385. "description": "方向 - 0:买 1:卖",
  21386. "type": "integer"
  21387. },
  21388. "channelbuildtype": {
  21389. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21390. "type": "integer"
  21391. },
  21392. "currencyid": {
  21393. "description": "币种id",
  21394. "type": "integer"
  21395. },
  21396. "currencyname": {
  21397. "description": "结算币种 名称",
  21398. "type": "string"
  21399. },
  21400. "goodscode": {
  21401. "description": "商品代码",
  21402. "type": "string"
  21403. },
  21404. "goodsid": {
  21405. "description": "商品ID",
  21406. "type": "integer"
  21407. },
  21408. "goodsname": {
  21409. "description": "商品名称",
  21410. "type": "string"
  21411. },
  21412. "outtradeid": {
  21413. "description": "外部成交单号",
  21414. "type": "string"
  21415. },
  21416. "taname": {
  21417. "description": "期货账户名称",
  21418. "type": "string"
  21419. },
  21420. "tradeid": {
  21421. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21422. "type": "string"
  21423. },
  21424. "tradeprice": {
  21425. "description": "成交价格",
  21426. "type": "number"
  21427. },
  21428. "tradeqty": {
  21429. "description": "期货成交数量",
  21430. "type": "integer"
  21431. },
  21432. "tradetime": {
  21433. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  21434. "type": "string"
  21435. },
  21436. "username": {
  21437. "description": "用户名称",
  21438. "type": "string"
  21439. }
  21440. }
  21441. },
  21442. "models.Ermcp3OutTradeLink": {
  21443. "type": "object",
  21444. "properties": {
  21445. "buyorsell": {
  21446. "description": "买卖方向 - 0:买 1:卖",
  21447. "type": "integer"
  21448. },
  21449. "channelbuildtype": {
  21450. "description": "开平标志- 0:无 1:建仓 2:平仓",
  21451. "type": "integer"
  21452. },
  21453. "currencyname": {
  21454. "description": "币种名称",
  21455. "type": "string"
  21456. },
  21457. "exexchangecode": {
  21458. "description": "交易所代码",
  21459. "type": "string"
  21460. },
  21461. "exexchangename": {
  21462. "description": "交易所名称",
  21463. "type": "string"
  21464. },
  21465. "goodscode": {
  21466. "description": "合约代码",
  21467. "type": "string"
  21468. },
  21469. "goodsid": {
  21470. "description": "合约id",
  21471. "type": "integer"
  21472. },
  21473. "goodsname": {
  21474. "description": "合约名称",
  21475. "type": "string"
  21476. },
  21477. "hasinnerorder": {
  21478. "description": "是否有内部单关联 - 0:无 1:有",
  21479. "type": "integer"
  21480. },
  21481. "hedgeaccountcode": {
  21482. "description": "外部账号 | 对冲账号",
  21483. "type": "string"
  21484. },
  21485. "outtradeid": {
  21486. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21487. "type": "string"
  21488. },
  21489. "tradeprice": {
  21490. "description": "成交价格",
  21491. "type": "number"
  21492. },
  21493. "tradeqty": {
  21494. "description": "成交数量",
  21495. "type": "integer"
  21496. },
  21497. "tradetime": {
  21498. "description": "成交时间",
  21499. "type": "string"
  21500. }
  21501. }
  21502. },
  21503. "models.Ermcp3PaAreaAuditCfg": {
  21504. "type": "object",
  21505. "properties": {
  21506. "areauserid": {
  21507. "description": "用户ID",
  21508. "type": "integer"
  21509. },
  21510. "buyinauditflag": {
  21511. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  21512. "type": "integer"
  21513. },
  21514. "costratioauditflag": {
  21515. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  21516. "type": "integer"
  21517. },
  21518. "customerauditflag": {
  21519. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  21520. "type": "integer"
  21521. },
  21522. "deliveryauditflag": {
  21523. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  21524. "type": "integer"
  21525. },
  21526. "invoiceauditflag": {
  21527. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  21528. "type": "integer"
  21529. },
  21530. "mgneedhedgeratioauditflag": {
  21531. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  21532. "type": "integer"
  21533. },
  21534. "moneyauditflag": {
  21535. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  21536. "type": "integer"
  21537. },
  21538. "operatorid": {
  21539. "description": "操作人",
  21540. "type": "integer"
  21541. },
  21542. "operatorsrc": {
  21543. "description": "操作来源 - 1:管理端 2:终端",
  21544. "type": "integer"
  21545. },
  21546. "pointpriceauditflag": {
  21547. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  21548. "type": "integer"
  21549. },
  21550. "produceinauditflag": {
  21551. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  21552. "type": "integer"
  21553. },
  21554. "produceoutauditflag": {
  21555. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  21556. "type": "integer"
  21557. },
  21558. "selloutauditflag": {
  21559. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  21560. "type": "integer"
  21561. },
  21562. "sgconvertratioauditflag": {
  21563. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  21564. "type": "integer"
  21565. },
  21566. "sgvtaratioauditflag": {
  21567. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  21568. "type": "integer"
  21569. },
  21570. "spotcontractauditflag": {
  21571. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  21572. "type": "integer"
  21573. },
  21574. "updatetime": {
  21575. "description": "更新时间",
  21576. "type": "string"
  21577. }
  21578. }
  21579. },
  21580. "models.Ermcp3PaAreaSubject": {
  21581. "type": "object",
  21582. "properties": {
  21583. "areauserid": {
  21584. "description": "所属机构",
  21585. "type": "integer"
  21586. },
  21587. "canmodify": {
  21588. "description": "是否可修改 - 0:否 1:是",
  21589. "type": "integer"
  21590. },
  21591. "createtime": {
  21592. "description": "创建时间",
  21593. "type": "string"
  21594. },
  21595. "creatorid": {
  21596. "description": "创建人ID",
  21597. "type": "string"
  21598. },
  21599. "creatorsrc": {
  21600. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  21601. "type": "integer"
  21602. },
  21603. "modifierid": {
  21604. "description": "修改人",
  21605. "type": "string"
  21606. },
  21607. "modifiersrc": {
  21608. "description": "修改人来源 - 1:管理端 2:终端",
  21609. "type": "integer"
  21610. },
  21611. "modifytime": {
  21612. "description": "修改时间",
  21613. "type": "string"
  21614. },
  21615. "parentsubjectid": {
  21616. "description": "上级主体ID",
  21617. "type": "string"
  21618. },
  21619. "remark": {
  21620. "description": "备注",
  21621. "type": "string"
  21622. },
  21623. "subjectid": {
  21624. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  21625. "type": "integer"
  21626. },
  21627. "subjectname": {
  21628. "description": "主体名称",
  21629. "type": "string"
  21630. },
  21631. "subjectstatus": {
  21632. "description": "主体状态 - 1:正常 2: 停用",
  21633. "type": "integer"
  21634. },
  21635. "subjecttype": {
  21636. "description": "主体类型 - 1:交易主体 2:业务部门",
  21637. "type": "integer"
  21638. }
  21639. }
  21640. },
  21641. "models.Ermcp3PaTradeLink": {
  21642. "type": "object",
  21643. "properties": {
  21644. "accountid": {
  21645. "description": "期货账户代码 | 账号ID",
  21646. "type": "integer"
  21647. },
  21648. "agreeunit": {
  21649. "description": "合约乘数",
  21650. "type": "number"
  21651. },
  21652. "buyorsell": {
  21653. "description": "方向 - 0:买 1:卖",
  21654. "type": "integer"
  21655. },
  21656. "channelbuildtype": {
  21657. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21658. "type": "integer"
  21659. },
  21660. "charge": {
  21661. "description": "手续费",
  21662. "type": "number"
  21663. },
  21664. "closepl": {
  21665. "description": "平仓盈亏",
  21666. "type": "number"
  21667. },
  21668. "closetype": {
  21669. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  21670. "type": "integer"
  21671. },
  21672. "convertratio": {
  21673. "description": "折算系数",
  21674. "type": "number"
  21675. },
  21676. "enumdicname": {
  21677. "description": "单位名称",
  21678. "type": "string"
  21679. },
  21680. "executeprice": {
  21681. "description": "执行价 [期权]",
  21682. "type": "integer"
  21683. },
  21684. "goodscode": {
  21685. "description": "合约代码",
  21686. "type": "string"
  21687. },
  21688. "goodsgroupid": {
  21689. "description": "对冲品种ID[期货合约商品组ID]",
  21690. "type": "integer"
  21691. },
  21692. "goodsid": {
  21693. "description": "商品ID",
  21694. "type": "integer"
  21695. },
  21696. "goodsname": {
  21697. "description": "合约名称",
  21698. "type": "string"
  21699. },
  21700. "goodunitid": {
  21701. "description": "单位id",
  21702. "type": "integer"
  21703. },
  21704. "hedgeflag": {
  21705. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  21706. "type": "integer"
  21707. },
  21708. "marketid": {
  21709. "description": "市场ID",
  21710. "type": "integer"
  21711. },
  21712. "middlegoodsid": {
  21713. "description": "套保品种ID",
  21714. "type": "integer"
  21715. },
  21716. "middlegoodsqty": {
  21717. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  21718. "type": "number"
  21719. },
  21720. "optioncode": {
  21721. "description": "期权代码 [期权]",
  21722. "type": "string"
  21723. },
  21724. "ordertype": {
  21725. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  21726. "type": "integer"
  21727. },
  21728. "ordertypename": {
  21729. "description": "订单类型",
  21730. "type": "string"
  21731. },
  21732. "parentaccountid": {
  21733. "description": "所属母账户",
  21734. "type": "integer"
  21735. },
  21736. "premium": {
  21737. "description": "权利金 [期权]",
  21738. "type": "number"
  21739. },
  21740. "relatedlot": {
  21741. "description": "已关联数量(已关联数量手) | db:关联手数",
  21742. "type": "number"
  21743. },
  21744. "relatedouttradeid": {
  21745. "description": "关联外部成交单ID",
  21746. "type": "string"
  21747. },
  21748. "relatedqty": {
  21749. "description": "关联数量",
  21750. "type": "number"
  21751. },
  21752. "spotcontractid": {
  21753. "description": "现货合同ID [4:套期保值\\10\\11]",
  21754. "type": "string"
  21755. },
  21756. "taname": {
  21757. "description": "期货账户名称",
  21758. "type": "string"
  21759. },
  21760. "tradeamount": {
  21761. "description": "成交金额(账户)",
  21762. "type": "number"
  21763. },
  21764. "tradedate": {
  21765. "description": "交易日(yyyyMMdd)",
  21766. "type": "string"
  21767. },
  21768. "tradeid": {
  21769. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21770. "type": "string"
  21771. },
  21772. "tradelot": {
  21773. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  21774. "type": "integer"
  21775. },
  21776. "tradeprice": {
  21777. "description": "成交价格",
  21778. "type": "number"
  21779. },
  21780. "tradetime": {
  21781. "description": "时间 | db:成交时间",
  21782. "type": "string"
  21783. },
  21784. "tradetype": {
  21785. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  21786. "type": "integer"
  21787. },
  21788. "userid": {
  21789. "description": "所属机构 - 所属母账户的UserID",
  21790. "type": "string"
  21791. },
  21792. "username": {
  21793. "description": "用户名称",
  21794. "type": "string"
  21795. }
  21796. }
  21797. },
  21798. "models.Ermcp3ParamChangeApp": {
  21799. "type": "object",
  21800. "properties": {
  21801. "aftervalue": {
  21802. "description": "变更后",
  21803. "type": "number"
  21804. },
  21805. "applicationid": {
  21806. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  21807. "type": "string"
  21808. },
  21809. "applyid": {
  21810. "description": "申请人",
  21811. "type": "string"
  21812. },
  21813. "applyname": {
  21814. "description": "申请人名称(代码)",
  21815. "type": "string"
  21816. },
  21817. "applyremark": {
  21818. "description": "申请备注",
  21819. "type": "string"
  21820. },
  21821. "applysrc": {
  21822. "description": "申请来源 - 1:管理端 2:终端",
  21823. "type": "integer"
  21824. },
  21825. "applystatus": {
  21826. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  21827. "type": "integer"
  21828. },
  21829. "applytime": {
  21830. "description": "申请时间",
  21831. "type": "string"
  21832. },
  21833. "areauserid": {
  21834. "description": "所属机构用户ID",
  21835. "type": "integer"
  21836. },
  21837. "auditid": {
  21838. "description": "审核人",
  21839. "type": "string"
  21840. },
  21841. "auditname": {
  21842. "description": "审核人名称(代码)",
  21843. "type": "string"
  21844. },
  21845. "auditremark": {
  21846. "description": "审核备注",
  21847. "type": "string"
  21848. },
  21849. "auditsrc": {
  21850. "description": "审核来源 - 1:管理端 2:终端",
  21851. "type": "integer"
  21852. },
  21853. "audittime": {
  21854. "description": "审核时间",
  21855. "type": "string"
  21856. },
  21857. "audittradedate": {
  21858. "description": "审核交易日(yyyyMMdd)",
  21859. "type": "string"
  21860. },
  21861. "beforevalue": {
  21862. "description": "变更前",
  21863. "type": "number"
  21864. },
  21865. "deliverygoodscode": {
  21866. "description": "品种代码",
  21867. "type": "string"
  21868. },
  21869. "deliverygoodsid": {
  21870. "description": "品种id",
  21871. "type": "integer"
  21872. },
  21873. "deliverygoodsname": {
  21874. "description": "品种名称",
  21875. "type": "string"
  21876. },
  21877. "middlegoodscode": {
  21878. "description": "套保品种代码",
  21879. "type": "string"
  21880. },
  21881. "middlegoodsid": {
  21882. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  21883. "type": "integer"
  21884. },
  21885. "middlegoodsname": {
  21886. "description": "套保品种名称",
  21887. "type": "string"
  21888. },
  21889. "operatetype": {
  21890. "description": "操作类型 - 1:新增 2:修改",
  21891. "type": "integer"
  21892. },
  21893. "paramchangetype": {
  21894. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  21895. "type": "integer"
  21896. },
  21897. "wrstandardcode": {
  21898. "description": "现货商品代码",
  21899. "type": "string"
  21900. },
  21901. "wrstandardid": {
  21902. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  21903. "type": "integer"
  21904. },
  21905. "wrstandardname": {
  21906. "description": "现货商品名称",
  21907. "type": "string"
  21908. }
  21909. }
  21910. },
  21911. "models.Ermcp3RootUserAccount": {
  21912. "type": "object",
  21913. "properties": {
  21914. "accountname": {
  21915. "description": "账户名称(机构名称)",
  21916. "type": "string"
  21917. },
  21918. "accountstatus": {
  21919. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  21920. "type": "integer"
  21921. },
  21922. "applysrc": {
  21923. "description": "申请来源 - 1:管理端 2:终端",
  21924. "type": "integer"
  21925. },
  21926. "auditremark": {
  21927. "description": "审核备注",
  21928. "type": "string"
  21929. },
  21930. "auditsrc": {
  21931. "description": "审核来源 - 1:管理端 2:终端",
  21932. "type": "integer"
  21933. },
  21934. "audittime": {
  21935. "description": "审核时间",
  21936. "type": "string"
  21937. },
  21938. "audituserid": {
  21939. "description": "审核人",
  21940. "type": "integer"
  21941. },
  21942. "broker": {
  21943. "description": "所属经纪人ID",
  21944. "type": "integer"
  21945. },
  21946. "canceltime": {
  21947. "description": "销户时间",
  21948. "type": "string"
  21949. },
  21950. "canceluserid": {
  21951. "description": "销户人",
  21952. "type": "integer"
  21953. },
  21954. "canrecommend": {
  21955. "description": "是否可推荐 - 0:不可 1;可",
  21956. "type": "integer"
  21957. },
  21958. "createtime": {
  21959. "description": "创建时间",
  21960. "type": "string"
  21961. },
  21962. "creatorid": {
  21963. "description": "创建人",
  21964. "type": "integer"
  21965. },
  21966. "hasauth": {
  21967. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  21968. "type": "integer"
  21969. },
  21970. "isanonymous": {
  21971. "description": "是否匿名下单 - 0:否 1:是",
  21972. "type": "integer"
  21973. },
  21974. "maxinvestornum": {
  21975. "description": "最大用户数(经纪会员下投资者个数)",
  21976. "type": "integer"
  21977. },
  21978. "memberuserid": {
  21979. "description": "所属会员ID",
  21980. "type": "integer"
  21981. },
  21982. "modifierid": {
  21983. "description": "修改人",
  21984. "type": "integer"
  21985. },
  21986. "modifyremark": {
  21987. "description": "变更备注",
  21988. "type": "string"
  21989. },
  21990. "modifystatus": {
  21991. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  21992. "type": "integer"
  21993. },
  21994. "modifytime": {
  21995. "description": "修改时间",
  21996. "type": "string"
  21997. },
  21998. "parenttopuser": {
  21999. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  22000. "type": "string"
  22001. },
  22002. "parentuserid": {
  22003. "description": "所属机构ID",
  22004. "type": "integer"
  22005. },
  22006. "reckonaccountid": {
  22007. "description": "默认结算资金账号ID(机构分润使用) 作废",
  22008. "type": "integer"
  22009. },
  22010. "refercount": {
  22011. "description": "推荐总人数",
  22012. "type": "integer"
  22013. },
  22014. "refereeuserid": {
  22015. "description": "推荐人ID",
  22016. "type": "integer"
  22017. },
  22018. "refernum": {
  22019. "description": "推荐码",
  22020. "type": "string"
  22021. },
  22022. "rootuserid": {
  22023. "description": "根用户ID",
  22024. "type": "integer"
  22025. },
  22026. "subaccountlevel": {
  22027. "description": "子账户层数",
  22028. "type": "integer"
  22029. },
  22030. "subarealevelpath": {
  22031. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22032. "type": "string"
  22033. },
  22034. "userid": {
  22035. "description": "用户ID",
  22036. "type": "integer"
  22037. },
  22038. "usertype": {
  22039. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  22040. "type": "integer"
  22041. }
  22042. }
  22043. },
  22044. "models.Ermcp3SCMiddleGoods": {
  22045. "type": "object",
  22046. "properties": {
  22047. "contractno": {
  22048. "description": "合同编号",
  22049. "type": "string"
  22050. },
  22051. "contracttype": {
  22052. "description": "合同类型 1:采购 -1:销售",
  22053. "type": "integer"
  22054. },
  22055. "customername": {
  22056. "description": "对手手名称",
  22057. "type": "string"
  22058. },
  22059. "customeruserid": {
  22060. "description": "对手id",
  22061. "type": "integer"
  22062. },
  22063. "deliverygoodscode": {
  22064. "description": "现货品种代码",
  22065. "type": "string"
  22066. },
  22067. "deliverygoodsid": {
  22068. "description": "现货品种ID",
  22069. "type": "integer"
  22070. },
  22071. "deliverygoodsname": {
  22072. "description": "现货品种名称",
  22073. "type": "string"
  22074. },
  22075. "enumdicname": {
  22076. "description": "现货单位名称",
  22077. "type": "string"
  22078. },
  22079. "middlegoodsid": {
  22080. "description": "套保品种ID",
  22081. "type": "integer"
  22082. },
  22083. "middlegoodspricedqty3": {
  22084. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  22085. "type": "number"
  22086. },
  22087. "needhedgeratio": {
  22088. "description": "套保比例",
  22089. "type": "number"
  22090. },
  22091. "pricedqty": {
  22092. "description": "已定价量",
  22093. "type": "number"
  22094. },
  22095. "relatedmiddlegoodsqty": {
  22096. "description": "已关联量(套保品种)(期货)",
  22097. "type": "number"
  22098. },
  22099. "spotcontractid": {
  22100. "description": "合同编号",
  22101. "type": "string"
  22102. },
  22103. "unitid": {
  22104. "description": "现货单位id",
  22105. "type": "integer"
  22106. },
  22107. "userid": {
  22108. "description": "用户id",
  22109. "type": "integer"
  22110. },
  22111. "vatrate": {
  22112. "description": "增值税率",
  22113. "type": "number"
  22114. },
  22115. "wrstandardcode": {
  22116. "description": "现货商品代码",
  22117. "type": "string"
  22118. },
  22119. "wrstandardid": {
  22120. "description": "现货商品id",
  22121. "type": "integer"
  22122. },
  22123. "wrstandardname": {
  22124. "description": "现货商品名称",
  22125. "type": "string"
  22126. }
  22127. }
  22128. },
  22129. "models.Ermcp3SCMiddleGoodsReport": {
  22130. "type": "object",
  22131. "properties": {
  22132. "begindate": {
  22133. "description": "开始交易日",
  22134. "type": "string"
  22135. },
  22136. "contractno": {
  22137. "description": "合同编号",
  22138. "type": "string"
  22139. },
  22140. "contracttype": {
  22141. "description": "合同类型 1:采购 -1:销售",
  22142. "type": "integer"
  22143. },
  22144. "convertratio": {
  22145. "description": "折算系数",
  22146. "type": "number"
  22147. },
  22148. "cycletime": {
  22149. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22150. "type": "string"
  22151. },
  22152. "cycletype": {
  22153. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22154. "type": "integer"
  22155. },
  22156. "deliverygoodscode": {
  22157. "description": "品种代码",
  22158. "type": "string"
  22159. },
  22160. "deliverygoodsid": {
  22161. "description": "现货品种ID",
  22162. "type": "integer"
  22163. },
  22164. "deliverygoodsname": {
  22165. "description": "品种名称",
  22166. "type": "string"
  22167. },
  22168. "diffprice": {
  22169. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  22170. "type": "number"
  22171. },
  22172. "diffqty": {
  22173. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  22174. "type": "number"
  22175. },
  22176. "enddate": {
  22177. "description": "结束交易日",
  22178. "type": "string"
  22179. },
  22180. "hedgeplanqty": {
  22181. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  22182. "type": "number"
  22183. },
  22184. "matchname": {
  22185. "description": "交易对手方(个人:用户名称 企业:简称)",
  22186. "type": "string"
  22187. },
  22188. "middlegoodscode": {
  22189. "description": "套保品种代码",
  22190. "type": "string"
  22191. },
  22192. "middlegoodsid": {
  22193. "description": "套保品种ID",
  22194. "type": "integer"
  22195. },
  22196. "middlegoodsname": {
  22197. "description": "套保品种名称",
  22198. "type": "string"
  22199. },
  22200. "middlegoodspricedqty": {
  22201. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  22202. "type": "number"
  22203. },
  22204. "middlegoodspricedqty2": {
  22205. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  22206. "type": "number"
  22207. },
  22208. "middlegoodspricedqty3": {
  22209. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  22210. "type": "number"
  22211. },
  22212. "needhedgeratio": {
  22213. "description": "套保系数",
  22214. "type": "number"
  22215. },
  22216. "pricedamount": {
  22217. "description": "已定价额(现货)",
  22218. "type": "number"
  22219. },
  22220. "pricedamount2": {
  22221. "description": "已定价额(现货-基价额)",
  22222. "type": "number"
  22223. },
  22224. "pricedqty": {
  22225. "description": "已定价量(现货)",
  22226. "type": "number"
  22227. },
  22228. "reckondate": {
  22229. "description": "日照时期(yyyyMMdd)",
  22230. "type": "string"
  22231. },
  22232. "relatedmiddlegoodsamount": {
  22233. "description": "已关联额(期货)",
  22234. "type": "number"
  22235. },
  22236. "relatedmiddlegoodsqty": {
  22237. "description": "已关联量(套保品种)(期货)",
  22238. "type": "number"
  22239. },
  22240. "spotcontractid": {
  22241. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22242. "type": "string"
  22243. },
  22244. "todayavgfutuprice": {
  22245. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /TodayRelatedMiddleGoodsQty",
  22246. "type": "number"
  22247. },
  22248. "todayavgprice": {
  22249. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  22250. "type": "number"
  22251. },
  22252. "todayavgprice2": {
  22253. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  22254. "type": "number"
  22255. },
  22256. "todaypricedamount": {
  22257. "description": "今日定价额(现货)",
  22258. "type": "number"
  22259. },
  22260. "todaypricedamount2": {
  22261. "description": "今日定价额(现货-基价额)",
  22262. "type": "number"
  22263. },
  22264. "todaypricedqty": {
  22265. "description": "今日定价量(现货)",
  22266. "type": "number"
  22267. },
  22268. "todayrelatedmiddlegoodsamount": {
  22269. "description": "今日关联额(期货)",
  22270. "type": "number"
  22271. },
  22272. "todayrelatedmiddlegoodsqty": {
  22273. "description": "今日关联量(期货)",
  22274. "type": "number"
  22275. },
  22276. "updatetime": {
  22277. "description": "更新时间",
  22278. "type": "string"
  22279. },
  22280. "userid": {
  22281. "description": "合同所属用户id",
  22282. "type": "integer"
  22283. },
  22284. "vatrate": {
  22285. "description": "增值税率",
  22286. "type": "number"
  22287. },
  22288. "wrstandardcode": {
  22289. "description": "商品(品类) 代码",
  22290. "type": "string"
  22291. },
  22292. "wrstandardid": {
  22293. "description": "现货商品ID",
  22294. "type": "integer"
  22295. },
  22296. "wrstandardname": {
  22297. "description": "商品(品类) 名称",
  22298. "type": "string"
  22299. }
  22300. }
  22301. },
  22302. "models.Ermcp3SellBuyContract": {
  22303. "type": "object",
  22304. "properties": {
  22305. "accountid": {
  22306. "description": "期货账户id",
  22307. "type": "string"
  22308. },
  22309. "accountname": {
  22310. "description": "账户名称",
  22311. "type": "string"
  22312. },
  22313. "attachment": {
  22314. "description": "附件",
  22315. "type": "string"
  22316. },
  22317. "audittime": {
  22318. "description": "审核时间",
  22319. "type": "string"
  22320. },
  22321. "biztype": {
  22322. "description": "业务类型 1-套保 2-套利",
  22323. "type": "integer"
  22324. },
  22325. "brandname": {
  22326. "description": "品牌名称",
  22327. "type": "string"
  22328. },
  22329. "contracctstatus": {
  22330. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22331. "type": "integer"
  22332. },
  22333. "contractmargin": {
  22334. "description": "合同保证金",
  22335. "type": "number"
  22336. },
  22337. "contractno": {
  22338. "description": "合同编号",
  22339. "type": "string"
  22340. },
  22341. "contracttype": {
  22342. "description": "合同类型 1-采购, -1-销售",
  22343. "type": "integer"
  22344. },
  22345. "convertfactor": {
  22346. "description": "标仓系数(品类)",
  22347. "type": "number"
  22348. },
  22349. "createtime": {
  22350. "description": "创建时间",
  22351. "type": "string"
  22352. },
  22353. "currencyid": {
  22354. "description": "币种id",
  22355. "type": "integer"
  22356. },
  22357. "currencyname": {
  22358. "description": "币种名称",
  22359. "type": "string"
  22360. },
  22361. "daikaiamount": {
  22362. "description": "应收(开)票额",
  22363. "type": "number"
  22364. },
  22365. "deliveryenddate": {
  22366. "description": "交割结束日",
  22367. "type": "string"
  22368. },
  22369. "deliverygoodscode": {
  22370. "description": "现货品种代码",
  22371. "type": "string"
  22372. },
  22373. "deliverygoodsid": {
  22374. "description": "现货商品ID",
  22375. "type": "integer"
  22376. },
  22377. "deliverygoodsname": {
  22378. "description": "现货品种名称",
  22379. "type": "string"
  22380. },
  22381. "deliverystartdate": {
  22382. "description": "交割开始日",
  22383. "type": "string"
  22384. },
  22385. "enddate": {
  22386. "description": "点价结束日",
  22387. "type": "string"
  22388. },
  22389. "enumdicname": {
  22390. "description": "单位名称",
  22391. "type": "string"
  22392. },
  22393. "goodscode": {
  22394. "description": "点价商品代码",
  22395. "type": "string"
  22396. },
  22397. "goodsid": {
  22398. "description": "点价商品ID",
  22399. "type": "integer"
  22400. },
  22401. "goodsname": {
  22402. "description": "点价商品名称",
  22403. "type": "string"
  22404. },
  22405. "invoiceamount": {
  22406. "description": "已开票额",
  22407. "type": "number"
  22408. },
  22409. "loanamount": {
  22410. "description": "贷款总额=已定价额+调整金额",
  22411. "type": "number"
  22412. },
  22413. "margin": {
  22414. "description": "保证金",
  22415. "type": "number"
  22416. },
  22417. "meruserid": {
  22418. "description": "跟单员id",
  22419. "type": "integer"
  22420. },
  22421. "meruserlogincode": {
  22422. "description": "跟单员登录代码",
  22423. "type": "string"
  22424. },
  22425. "merusername": {
  22426. "description": "跟单员名称",
  22427. "type": "string"
  22428. },
  22429. "nickname": {
  22430. "description": "账户昵称",
  22431. "type": "string"
  22432. },
  22433. "payamount": {
  22434. "description": "已收付额(收款或付款)",
  22435. "type": "number"
  22436. },
  22437. "preinvoiceamount": {
  22438. "description": "预收(开)票额",
  22439. "type": "number"
  22440. },
  22441. "prepayamount": {
  22442. "description": "预收付额",
  22443. "type": "number"
  22444. },
  22445. "price": {
  22446. "description": "价格",
  22447. "type": "number"
  22448. },
  22449. "pricedamount": {
  22450. "description": "已定价额",
  22451. "type": "number"
  22452. },
  22453. "pricedavg": {
  22454. "description": "已点均价",
  22455. "type": "number"
  22456. },
  22457. "pricedqty": {
  22458. "description": "已定价量",
  22459. "type": "number"
  22460. },
  22461. "pricemove": {
  22462. "description": "升贴水",
  22463. "type": "number"
  22464. },
  22465. "pricetype": {
  22466. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22467. "type": "integer"
  22468. },
  22469. "producttype": {
  22470. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  22471. "type": "integer"
  22472. },
  22473. "qty": {
  22474. "description": "合同量",
  22475. "type": "number"
  22476. },
  22477. "reckonadjustamount": {
  22478. "description": "调整金额",
  22479. "type": "number"
  22480. },
  22481. "reckonedamount": {
  22482. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  22483. "type": "number"
  22484. },
  22485. "reckonotheramount": {
  22486. "description": "其它费用",
  22487. "type": "number"
  22488. },
  22489. "reckonrealqty": {
  22490. "description": "已确定量",
  22491. "type": "number"
  22492. },
  22493. "remark": {
  22494. "description": "备注",
  22495. "type": "string"
  22496. },
  22497. "saleuserid": {
  22498. "description": "业务员id",
  22499. "type": "integer"
  22500. },
  22501. "saleuserlogincode": {
  22502. "description": "业务员登录代码",
  22503. "type": "string"
  22504. },
  22505. "saleusername": {
  22506. "description": "业务员名称",
  22507. "type": "string"
  22508. },
  22509. "spotcontractid": {
  22510. "description": "合同ID",
  22511. "type": "string"
  22512. },
  22513. "spotgoodsbrandid": {
  22514. "description": "现货品牌ID(DGFactoryItem表的ID)",
  22515. "type": "integer"
  22516. },
  22517. "spotgoodsdesc": {
  22518. "description": "商品型号(商品规格)",
  22519. "type": "string"
  22520. },
  22521. "startdate": {
  22522. "description": "点价开始日",
  22523. "type": "string"
  22524. },
  22525. "subjectid": {
  22526. "description": "交易主体ID",
  22527. "type": "string"
  22528. },
  22529. "subjectname": {
  22530. "description": "交易主体名称",
  22531. "type": "string"
  22532. },
  22533. "totalamount": {
  22534. "description": "合计总额",
  22535. "type": "number"
  22536. },
  22537. "tradeuserid": {
  22538. "description": "交易员id",
  22539. "type": "integer"
  22540. },
  22541. "tradeuserlogincode": {
  22542. "description": "交易员登录代码",
  22543. "type": "string"
  22544. },
  22545. "tradeusername": {
  22546. "description": "交易员名称",
  22547. "type": "string"
  22548. },
  22549. "unpayamount": {
  22550. "description": "应收付款额(应支付或应收款)",
  22551. "type": "number"
  22552. },
  22553. "unpricedqty": {
  22554. "description": "未定价量",
  22555. "type": "number"
  22556. },
  22557. "unsureqty": {
  22558. "description": "未确定量",
  22559. "type": "number"
  22560. },
  22561. "userid": {
  22562. "description": "机构ID",
  22563. "type": "integer"
  22564. },
  22565. "vatrate": {
  22566. "description": "增值税率",
  22567. "type": "number"
  22568. },
  22569. "wrstandardcode": {
  22570. "description": "品类代码",
  22571. "type": "string"
  22572. },
  22573. "wrstandardid": {
  22574. "description": "品类ID",
  22575. "type": "integer"
  22576. },
  22577. "wrstandardname": {
  22578. "description": "品类名称",
  22579. "type": "string"
  22580. }
  22581. }
  22582. },
  22583. "models.Ermcp3SpotGoodsPrice": {
  22584. "type": "object",
  22585. "properties": {
  22586. "areauserid": {
  22587. "description": "所属机构id",
  22588. "type": "integer"
  22589. },
  22590. "brandname": {
  22591. "description": "品牌名称",
  22592. "type": "string"
  22593. },
  22594. "currencyid": {
  22595. "description": "报价货币ID",
  22596. "type": "integer"
  22597. },
  22598. "currencyname": {
  22599. "description": "币种名称",
  22600. "type": "string"
  22601. },
  22602. "deliverygoodscode": {
  22603. "description": "现货商品代码",
  22604. "type": "string"
  22605. },
  22606. "deliverygoodsid": {
  22607. "description": "现货商品id",
  22608. "type": "integer"
  22609. },
  22610. "deliverygoodsname": {
  22611. "description": "现货商品名称",
  22612. "type": "string"
  22613. },
  22614. "enumdicname": {
  22615. "description": "现货商品单位名称",
  22616. "type": "string"
  22617. },
  22618. "gbenumdicname": {
  22619. "description": "品类单位名称",
  22620. "type": "string"
  22621. },
  22622. "gmunitid": {
  22623. "description": "品类单位id",
  22624. "type": "integer"
  22625. },
  22626. "isvalid": {
  22627. "description": "是否有效 - 0:无效 1:有效",
  22628. "type": "integer"
  22629. },
  22630. "operateid": {
  22631. "description": "最后操作人",
  22632. "type": "integer"
  22633. },
  22634. "operatesrc": {
  22635. "description": "最后操作来源 - 1:管理端 2:终端",
  22636. "type": "integer"
  22637. },
  22638. "operatetime": {
  22639. "description": "最后操作时间",
  22640. "type": "string"
  22641. },
  22642. "operatorname": {
  22643. "description": "操作人名称",
  22644. "type": "string"
  22645. },
  22646. "spotgoodsbrandid": {
  22647. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  22648. "type": "integer"
  22649. },
  22650. "spotgoodsprice": {
  22651. "description": "现货价格",
  22652. "type": "number"
  22653. },
  22654. "tradedate": {
  22655. "description": "交易日(yyyyMMdd)",
  22656. "type": "string"
  22657. },
  22658. "unitid": {
  22659. "description": "现货商品单位id",
  22660. "type": "integer"
  22661. },
  22662. "wrstandardcode": {
  22663. "description": "品类代码",
  22664. "type": "string"
  22665. },
  22666. "wrstandardid": {
  22667. "description": "现货品类ID(通用则为0)",
  22668. "type": "integer"
  22669. },
  22670. "wrstandardname": {
  22671. "description": "品类名称",
  22672. "type": "string"
  22673. }
  22674. }
  22675. },
  22676. "models.Ermcp3SpotGoodsPriceLog": {
  22677. "type": "object",
  22678. "properties": {
  22679. "areauserid": {
  22680. "description": "所属机构id",
  22681. "type": "integer"
  22682. },
  22683. "brandname": {
  22684. "description": "品牌名称",
  22685. "type": "string"
  22686. },
  22687. "currencyid": {
  22688. "description": "报价货币ID",
  22689. "type": "integer"
  22690. },
  22691. "deliverygoodscode": {
  22692. "description": "现货商品代码",
  22693. "type": "string"
  22694. },
  22695. "deliverygoodsid": {
  22696. "description": "现货商品id",
  22697. "type": "integer"
  22698. },
  22699. "deliverygoodsname": {
  22700. "description": "现货商品名称",
  22701. "type": "string"
  22702. },
  22703. "enumdicname": {
  22704. "description": "现货商品单位名称",
  22705. "type": "string"
  22706. },
  22707. "gbenumdicname": {
  22708. "description": "品类单位名称",
  22709. "type": "string"
  22710. },
  22711. "gmunitid": {
  22712. "description": "品类单位id",
  22713. "type": "integer"
  22714. },
  22715. "logid": {
  22716. "description": "日志id",
  22717. "type": "integer"
  22718. },
  22719. "operateid": {
  22720. "description": "最后操作人",
  22721. "type": "integer"
  22722. },
  22723. "operatesrc": {
  22724. "description": "最后操作来源 - 1:管理端 2:终端",
  22725. "type": "integer"
  22726. },
  22727. "operatetime": {
  22728. "description": "最后操作时间",
  22729. "type": "string"
  22730. },
  22731. "operatorname": {
  22732. "description": "操作人名称",
  22733. "type": "string"
  22734. },
  22735. "spotgoodsbrandid": {
  22736. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  22737. "type": "integer"
  22738. },
  22739. "spotgoodsprice": {
  22740. "description": "现货价格",
  22741. "type": "number"
  22742. },
  22743. "tradedate": {
  22744. "description": "交易日(yyyyMMdd)",
  22745. "type": "string"
  22746. },
  22747. "unitid": {
  22748. "description": "现货商品单位id",
  22749. "type": "integer"
  22750. },
  22751. "wrstandardcode": {
  22752. "description": "品类代码",
  22753. "type": "string"
  22754. },
  22755. "wrstandardid": {
  22756. "description": "现货品类ID(通用则为0)",
  22757. "type": "integer"
  22758. },
  22759. "wrstandardname": {
  22760. "description": "品类名称",
  22761. "type": "string"
  22762. }
  22763. }
  22764. },
  22765. "models.Ermcp3SubTaaccount": {
  22766. "type": "object",
  22767. "properties": {
  22768. "accountid": {
  22769. "description": "资金账户ID",
  22770. "type": "integer"
  22771. },
  22772. "parentaccountcode": {
  22773. "description": "所属根账号代码(母账号代码)",
  22774. "type": "string"
  22775. },
  22776. "parentaccountid": {
  22777. "description": "所属根账号(母账号)",
  22778. "type": "integer"
  22779. },
  22780. "taname": {
  22781. "description": "资金账号名称",
  22782. "type": "string"
  22783. },
  22784. "tradestatus": {
  22785. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  22786. "type": "integer"
  22787. },
  22788. "username": {
  22789. "description": "交易用户",
  22790. "type": "string"
  22791. }
  22792. }
  22793. },
  22794. "models.Ermcp3TaFutuReDataReport": {
  22795. "type": "object",
  22796. "properties": {
  22797. "accountid": {
  22798. "description": "交易账户",
  22799. "type": "integer"
  22800. },
  22801. "accountname": {
  22802. "description": "交易账号名称",
  22803. "type": "string"
  22804. },
  22805. "agreeunit": {
  22806. "description": "商品合约单位",
  22807. "type": "number"
  22808. },
  22809. "begindate": {
  22810. "description": "开始交易日",
  22811. "type": "string"
  22812. },
  22813. "buyorsell": {
  22814. "description": "持仓方向",
  22815. "type": "integer"
  22816. },
  22817. "charge": {
  22818. "description": "手续费",
  22819. "type": "number"
  22820. },
  22821. "closeavgprice": {
  22822. "description": "平仓均价",
  22823. "type": "number"
  22824. },
  22825. "closepl": {
  22826. "description": "平仓损益",
  22827. "type": "number"
  22828. },
  22829. "currencyid": {
  22830. "description": "结算币种ID",
  22831. "type": "integer"
  22832. },
  22833. "currencyname": {
  22834. "description": "币种名称",
  22835. "type": "string"
  22836. },
  22837. "cycletime": {
  22838. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22839. "type": "string"
  22840. },
  22841. "cycletype": {
  22842. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22843. "type": "integer"
  22844. },
  22845. "enddate": {
  22846. "description": "结束交易日",
  22847. "type": "string"
  22848. },
  22849. "enumdicname": {
  22850. "description": "单位名称",
  22851. "type": "string"
  22852. },
  22853. "floatpl": {
  22854. "description": "浮动损益",
  22855. "type": "number"
  22856. },
  22857. "goodscode": {
  22858. "description": "交易合约代码",
  22859. "type": "string"
  22860. },
  22861. "goodsgroupid": {
  22862. "description": "交易品种",
  22863. "type": "integer"
  22864. },
  22865. "goodsgroupname": {
  22866. "description": "交易品种名称",
  22867. "type": "string"
  22868. },
  22869. "goodsgroupspotqty": {
  22870. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  22871. "type": "number"
  22872. },
  22873. "goodsid": {
  22874. "description": "交易合约",
  22875. "type": "integer"
  22876. },
  22877. "goodsname": {
  22878. "description": "交易合约名称",
  22879. "type": "string"
  22880. },
  22881. "goodunitid": {
  22882. "description": "交易合约单位id",
  22883. "type": "integer"
  22884. },
  22885. "holdamount": {
  22886. "description": "期末持仓额",
  22887. "type": "number"
  22888. },
  22889. "holdqty": {
  22890. "description": "期末持仓量",
  22891. "type": "number"
  22892. },
  22893. "lastholdamount": {
  22894. "description": "当前持仓额",
  22895. "type": "number"
  22896. },
  22897. "lastprice": {
  22898. "description": "最新价",
  22899. "type": "number"
  22900. },
  22901. "middlegoodsid": {
  22902. "description": "套保品种id",
  22903. "type": "integer"
  22904. },
  22905. "middlegoodsname": {
  22906. "description": "套保商品名称",
  22907. "type": "string"
  22908. },
  22909. "middlegoodsqty": {
  22910. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  22911. "type": "number"
  22912. },
  22913. "middlgoodscode": {
  22914. "description": "套保商品代码",
  22915. "type": "string"
  22916. },
  22917. "openamount": {
  22918. "description": "期末开仓额",
  22919. "type": "number"
  22920. },
  22921. "openavgprice": {
  22922. "description": "开仓均价",
  22923. "type": "number"
  22924. },
  22925. "oriholdamount": {
  22926. "description": "期初持仓额",
  22927. "type": "number"
  22928. },
  22929. "oriholdqty": {
  22930. "description": "期初持仓量",
  22931. "type": "number"
  22932. },
  22933. "oriopenamount": {
  22934. "description": "期初开仓额",
  22935. "type": "number"
  22936. },
  22937. "outergroupcode": {
  22938. "description": "交易品种代码",
  22939. "type": "string"
  22940. },
  22941. "qtydecimalplace": {
  22942. "description": "成交量小数位",
  22943. "type": "integer"
  22944. },
  22945. "reckondate": {
  22946. "description": "日照时期(yyyyMMdd)",
  22947. "type": "string"
  22948. },
  22949. "reckonholdamount": {
  22950. "description": "结算持仓额",
  22951. "type": "number"
  22952. },
  22953. "reckonpl": {
  22954. "description": "结算损益",
  22955. "type": "number"
  22956. },
  22957. "reckonpl2": {
  22958. "description": "结算逐笔盈亏",
  22959. "type": "number"
  22960. },
  22961. "reckonprice": {
  22962. "description": "结算价",
  22963. "type": "number"
  22964. },
  22965. "relateduserid": {
  22966. "description": "账户关联用户ID",
  22967. "type": "integer"
  22968. },
  22969. "todaycloseamount": {
  22970. "description": "今平仓额",
  22971. "type": "number"
  22972. },
  22973. "todaycloseqty": {
  22974. "description": "今平仓量",
  22975. "type": "number"
  22976. },
  22977. "todaygoodsgroupspotqty": {
  22978. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  22979. "type": "number"
  22980. },
  22981. "todaymiddlegoodsqty": {
  22982. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  22983. "type": "number"
  22984. },
  22985. "todayopenamount": {
  22986. "description": "今开仓额",
  22987. "type": "number"
  22988. },
  22989. "todayopenqty": {
  22990. "description": "今开仓量",
  22991. "type": "number"
  22992. },
  22993. "userid": {
  22994. "description": "账户所属用户ID",
  22995. "type": "integer"
  22996. }
  22997. }
  22998. },
  22999. "models.Ermcp3TradeLinkDetail": {
  23000. "type": "object",
  23001. "properties": {
  23002. "accountid": {
  23003. "description": "资金账号",
  23004. "type": "integer"
  23005. },
  23006. "agreeunit": {
  23007. "description": "合约乘数",
  23008. "type": "number"
  23009. },
  23010. "areauserid": {
  23011. "description": "所属机构",
  23012. "type": "string"
  23013. },
  23014. "bizsubjectid": {
  23015. "description": "归属业务部门ID - SubjectID",
  23016. "type": "string"
  23017. },
  23018. "buyorsell": {
  23019. "description": "方向 - 0:买 1:卖",
  23020. "type": "integer"
  23021. },
  23022. "channelbuildtype": {
  23023. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  23024. "type": "integer"
  23025. },
  23026. "contractno": {
  23027. "description": "现货编号 (合同编号)",
  23028. "type": "string"
  23029. },
  23030. "convertratio": {
  23031. "description": "折算系数",
  23032. "type": "number"
  23033. },
  23034. "createtime": {
  23035. "description": "关联时间 | 创建时间",
  23036. "type": "string"
  23037. },
  23038. "creatorid": {
  23039. "description": "创建人ID",
  23040. "type": "string"
  23041. },
  23042. "creatorsrc": {
  23043. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  23044. "type": "integer"
  23045. },
  23046. "enumdicname": {
  23047. "description": "单位名称",
  23048. "type": "string"
  23049. },
  23050. "goodscode": {
  23051. "description": "合约代码",
  23052. "type": "string"
  23053. },
  23054. "goodsgroupid": {
  23055. "description": "对冲品种ID[期货合约商品组ID]",
  23056. "type": "integer"
  23057. },
  23058. "goodsid": {
  23059. "description": "商品ID",
  23060. "type": "integer"
  23061. },
  23062. "goodsname": {
  23063. "description": "合约名称",
  23064. "type": "string"
  23065. },
  23066. "hedgeflag": {
  23067. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  23068. "type": "integer"
  23069. },
  23070. "linkdetailid": {
  23071. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  23072. "type": "string"
  23073. },
  23074. "linkstatus": {
  23075. "description": "关联状态 - 1:成功 2:失败",
  23076. "type": "integer"
  23077. },
  23078. "middlegoodsid": {
  23079. "description": "套保品种ID",
  23080. "type": "integer"
  23081. },
  23082. "relatedlot": {
  23083. "description": "关联手数",
  23084. "type": "number"
  23085. },
  23086. "relatedmode": {
  23087. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  23088. "type": "integer"
  23089. },
  23090. "relatedqty": {
  23091. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  23092. "type": "number"
  23093. },
  23094. "retcode": {
  23095. "description": "返回码",
  23096. "type": "integer"
  23097. },
  23098. "saleuserid": {
  23099. "description": "业务员ID",
  23100. "type": "string"
  23101. },
  23102. "spotcontractid": {
  23103. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  23104. "type": "string"
  23105. },
  23106. "taname": {
  23107. "description": "期货账户",
  23108. "type": "string"
  23109. },
  23110. "tradedate": {
  23111. "description": "关联交易日(yyyyMMdd)",
  23112. "type": "string"
  23113. },
  23114. "tradeid": {
  23115. "description": "期货订单号 | 内部成交单ID",
  23116. "type": "string"
  23117. },
  23118. "tradelot": {
  23119. "description": "成交数量 | 成交手数",
  23120. "type": "integer"
  23121. },
  23122. "tradeprice": {
  23123. "description": "成交价格",
  23124. "type": "number"
  23125. },
  23126. "tradetime": {
  23127. "description": "期货成交时间",
  23128. "type": "string"
  23129. },
  23130. "tradetradedate": {
  23131. "description": "成交交易日(yyyyMMdd)",
  23132. "type": "string"
  23133. },
  23134. "username": {
  23135. "description": "用户名称",
  23136. "type": "string"
  23137. }
  23138. }
  23139. },
  23140. "models.Ermcp3Wrstandard": {
  23141. "type": "object",
  23142. "properties": {
  23143. "areauserid": {
  23144. "description": "所属机构",
  23145. "type": "integer"
  23146. },
  23147. "cantrade": {
  23148. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  23149. "type": "integer"
  23150. },
  23151. "convertfactor": {
  23152. "description": "标仓系数",
  23153. "type": "number"
  23154. },
  23155. "createtime": {
  23156. "description": "创建时间",
  23157. "type": "string"
  23158. },
  23159. "creatorid": {
  23160. "description": "创建人",
  23161. "type": "integer"
  23162. },
  23163. "deliverygoodsid": {
  23164. "description": "现货品种ID",
  23165. "type": "integer"
  23166. },
  23167. "enumdicname": {
  23168. "description": "品类单位名称",
  23169. "type": "string"
  23170. },
  23171. "isvalid": {
  23172. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  23173. "type": "integer"
  23174. },
  23175. "minivalue": {
  23176. "description": "最小变动值",
  23177. "type": "integer"
  23178. },
  23179. "minivaluedp": {
  23180. "description": "最小变动值小数位",
  23181. "type": "integer"
  23182. },
  23183. "realminivalue": {
  23184. "description": "实际最小变动值",
  23185. "type": "integer"
  23186. },
  23187. "realminivaluedp": {
  23188. "description": "实际最小变动值小数位",
  23189. "type": "integer"
  23190. },
  23191. "remark": {
  23192. "description": "备注",
  23193. "type": "string"
  23194. },
  23195. "unitid": {
  23196. "description": "品类单位ID",
  23197. "type": "integer"
  23198. },
  23199. "updatetime": {
  23200. "description": "更新时间",
  23201. "type": "string"
  23202. },
  23203. "wrstandardcode": {
  23204. "description": "品类代码",
  23205. "type": "string"
  23206. },
  23207. "wrstandardid": {
  23208. "description": "品类ID(SEQ_WRSTANDARD)",
  23209. "type": "integer"
  23210. },
  23211. "wrstandardname": {
  23212. "description": "品类名称",
  23213. "type": "string"
  23214. }
  23215. }
  23216. },
  23217. "models.ErmcpBizGroupEx": {
  23218. "type": "object",
  23219. "properties": {
  23220. "acclist": {
  23221. "description": "账号列表",
  23222. "type": "array",
  23223. "items": {
  23224. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  23225. }
  23226. },
  23227. "bizgroupid": {
  23228. "description": "业务分组id",
  23229. "type": "integer"
  23230. },
  23231. "biztype": {
  23232. "description": "业务类型 1-套保 2-套利",
  23233. "type": "integer"
  23234. },
  23235. "wrlist": {
  23236. "description": "现货商品表",
  23237. "type": "array",
  23238. "items": {
  23239. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  23240. }
  23241. }
  23242. }
  23243. },
  23244. "models.ErmcpBizGroupSpotGoods": {
  23245. "type": "object",
  23246. "properties": {
  23247. "areauserid": {
  23248. "description": "所属机构id",
  23249. "type": "integer"
  23250. },
  23251. "bizgroupid": {
  23252. "description": "分组id",
  23253. "type": "integer"
  23254. },
  23255. "biztype": {
  23256. "description": "业务类型 1-套保 2-套利",
  23257. "type": "integer"
  23258. },
  23259. "deliverygoodscode": {
  23260. "description": "现货商品代码",
  23261. "type": "string"
  23262. },
  23263. "deliverygoodsid": {
  23264. "description": "现货商品id",
  23265. "type": "integer"
  23266. },
  23267. "deliverygoodsname": {
  23268. "description": "现货商品名称",
  23269. "type": "string"
  23270. },
  23271. "unitid": {
  23272. "description": "现货商品单位id",
  23273. "type": "integer"
  23274. }
  23275. }
  23276. },
  23277. "models.ErmcpBizGroupTaAccount": {
  23278. "type": "object",
  23279. "properties": {
  23280. "accountid": {
  23281. "description": "账号id",
  23282. "type": "integer"
  23283. },
  23284. "accountname": {
  23285. "description": "账号名称",
  23286. "type": "string"
  23287. },
  23288. "areauserid": {
  23289. "description": "所属机构id",
  23290. "type": "integer"
  23291. },
  23292. "bizgroupid": {
  23293. "description": "业务分组id",
  23294. "type": "integer"
  23295. },
  23296. "ismain": {
  23297. "description": "是否主账号 1-是 0-否",
  23298. "type": "integer"
  23299. }
  23300. }
  23301. },
  23302. "models.ErmcpDGFactoryItem": {
  23303. "type": "object",
  23304. "properties": {
  23305. "areauserid": {
  23306. "description": "用户id",
  23307. "type": "integer"
  23308. },
  23309. "deliverygoodsid": {
  23310. "description": "现货品种ID",
  23311. "type": "integer"
  23312. },
  23313. "dgfactoryitemid": {
  23314. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  23315. "type": "integer"
  23316. },
  23317. "dgfactoryitemtypeid": {
  23318. "description": "要素项类型",
  23319. "type": "integer"
  23320. },
  23321. "dgfactoryitemvalue": {
  23322. "description": "要素项值(类型为仓库时填写仓库名称)",
  23323. "type": "string"
  23324. },
  23325. "isvalid": {
  23326. "description": "是否有效 - 0:无效 1:有效",
  23327. "type": "integer"
  23328. },
  23329. "orderindex": {
  23330. "description": "顺序",
  23331. "type": "integer"
  23332. },
  23333. "warehouseid": {
  23334. "description": "仓库ID(类型为仓库时填写)",
  23335. "type": "integer"
  23336. }
  23337. }
  23338. },
  23339. "models.ErmcpDeliveryGoods": {
  23340. "type": "object",
  23341. "properties": {
  23342. "agreeunit": {
  23343. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  23344. "type": "integer"
  23345. },
  23346. "areauserid": {
  23347. "description": "所属机构",
  23348. "type": "integer"
  23349. },
  23350. "auditflag": {
  23351. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  23352. "type": "integer"
  23353. },
  23354. "categoryid": {
  23355. "description": "类别ID(SEQ_WRCATEGORY)",
  23356. "type": "integer"
  23357. },
  23358. "deliverygoodscode": {
  23359. "description": "现货品种代码",
  23360. "type": "string"
  23361. },
  23362. "deliverygoodsid": {
  23363. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  23364. "type": "integer"
  23365. },
  23366. "deliverygoodsname": {
  23367. "description": "现货品种名称",
  23368. "type": "string"
  23369. },
  23370. "deliverygoodstype": {
  23371. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  23372. "type": "integer"
  23373. },
  23374. "dgstatus": {
  23375. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  23376. "type": "integer"
  23377. },
  23378. "enumdicname": {
  23379. "description": "现货品种单位名称",
  23380. "type": "string"
  23381. },
  23382. "goodsunitid": {
  23383. "description": "现货品种单位ID",
  23384. "type": "integer"
  23385. },
  23386. "isvalid": {
  23387. "description": "是否有效 - 0:无效 1:有效",
  23388. "type": "integer"
  23389. },
  23390. "qtydecimalplace": {
  23391. "description": "成交量小数位",
  23392. "type": "integer"
  23393. },
  23394. "remark": {
  23395. "description": "备注",
  23396. "type": "string"
  23397. },
  23398. "standardqty": {
  23399. "description": "标准数量(库位数量) [标准品特有]",
  23400. "type": "integer"
  23401. },
  23402. "standardqtyrange": {
  23403. "description": "标准数量偏差范围 [标准品特有]",
  23404. "type": "integer"
  23405. }
  23406. }
  23407. },
  23408. "models.ErmcpFuturesCompany": {
  23409. "type": "object",
  23410. "properties": {
  23411. "brokerid": {
  23412. "description": "经纪公司代码",
  23413. "type": "string"
  23414. },
  23415. "channeladdress": {
  23416. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  23417. "type": "string"
  23418. },
  23419. "channelid": {
  23420. "description": "对冲渠道ID",
  23421. "type": "string"
  23422. },
  23423. "createtime": {
  23424. "description": "创建时间",
  23425. "type": "string"
  23426. },
  23427. "creatorid": {
  23428. "description": "创建人",
  23429. "type": "string"
  23430. },
  23431. "fcid": {
  23432. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  23433. "type": "integer"
  23434. },
  23435. "fcname": {
  23436. "description": "期货公司名称",
  23437. "type": "string"
  23438. },
  23439. "isvalid": {
  23440. "description": "是否有效 - 0:无效 1:有效",
  23441. "type": "integer"
  23442. },
  23443. "mhpaddress": {
  23444. "description": "MHP服务地址(IP:Port)",
  23445. "type": "string"
  23446. },
  23447. "riskrulegroupid": {
  23448. "description": "风控规则组ID",
  23449. "type": "string"
  23450. },
  23451. "tradefeetmpid": {
  23452. "description": "手续费模板ID[TradeConfigTmpType为2]",
  23453. "type": "string"
  23454. },
  23455. "trademargintmpid": {
  23456. "description": "保证金模板ID [TradeConfigTmpType为1]",
  23457. "type": "string"
  23458. },
  23459. "traderatetmpid": {
  23460. "description": "汇率模板ID[TradeConfigTmpType为3]",
  23461. "type": "string"
  23462. },
  23463. "updatetime": {
  23464. "description": "更新时间",
  23465. "type": "string"
  23466. },
  23467. "updatorid": {
  23468. "description": "更新人",
  23469. "type": "string"
  23470. }
  23471. }
  23472. },
  23473. "models.ErmcpGGConvertCfg": {
  23474. "type": "object",
  23475. "properties": {
  23476. "convertratio": {
  23477. "description": "折算系数",
  23478. "type": "number"
  23479. },
  23480. "destgoodsgroupid": {
  23481. "description": "目标品种ID",
  23482. "type": "integer"
  23483. },
  23484. "dstcode": {
  23485. "description": "目录品种代码",
  23486. "type": "string"
  23487. },
  23488. "dstexchangecode": {
  23489. "description": "目标期货交易所",
  23490. "type": "string"
  23491. },
  23492. "dstname": {
  23493. "description": "目标品种名称",
  23494. "type": "string"
  23495. },
  23496. "dstunitid": {
  23497. "description": "目标品种单位ID",
  23498. "type": "integer"
  23499. },
  23500. "dstunitidname": {
  23501. "description": "目标品种单位名称",
  23502. "type": "string"
  23503. },
  23504. "modifytime": {
  23505. "description": "修改时间",
  23506. "type": "string"
  23507. },
  23508. "srccode": {
  23509. "description": "源品种代码",
  23510. "type": "string"
  23511. },
  23512. "srcexchangecode": {
  23513. "description": "源期货交易所",
  23514. "type": "string"
  23515. },
  23516. "srcgoodsgroupid": {
  23517. "description": "源品种ID",
  23518. "type": "integer"
  23519. },
  23520. "srcname": {
  23521. "description": "源品种名称",
  23522. "type": "string"
  23523. },
  23524. "srcunitid": {
  23525. "description": "源品种单位ID",
  23526. "type": "integer"
  23527. },
  23528. "srcunitidname": {
  23529. "description": "源品种单位名称",
  23530. "type": "string"
  23531. }
  23532. }
  23533. },
  23534. "models.ErmcpGoods": {
  23535. "type": "object",
  23536. "required": [
  23537. "goodscode",
  23538. "goodsid",
  23539. "goodsname",
  23540. "marketid"
  23541. ],
  23542. "properties": {
  23543. "agreeunit": {
  23544. "description": "合约单位",
  23545. "type": "number"
  23546. },
  23547. "areauserid": {
  23548. "description": "所属机构",
  23549. "type": "integer"
  23550. },
  23551. "auditaccountid": {
  23552. "description": "审核操作员账号",
  23553. "type": "integer"
  23554. },
  23555. "audittime": {
  23556. "description": "审核时间",
  23557. "type": "string"
  23558. },
  23559. "cancelaccountid": {
  23560. "description": "注销操作员账号",
  23561. "type": "integer"
  23562. },
  23563. "canceltime": {
  23564. "description": "注销时间",
  23565. "type": "string"
  23566. },
  23567. "closepricemode": {
  23568. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23569. "type": "integer"
  23570. },
  23571. "closepriceparam": {
  23572. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  23573. "type": "number"
  23574. },
  23575. "createtime": {
  23576. "description": "创建时间",
  23577. "type": "string"
  23578. },
  23579. "creatorid": {
  23580. "description": "创建人",
  23581. "type": "integer"
  23582. },
  23583. "currencyid": {
  23584. "description": "报价货币ID",
  23585. "type": "integer"
  23586. },
  23587. "cutmode": {
  23588. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  23589. "type": "integer"
  23590. },
  23591. "decimalplace": {
  23592. "description": "报价小数位",
  23593. "type": "integer"
  23594. },
  23595. "delistingdate": {
  23596. "description": "商品退市时间(状态:退市) -- 已作废",
  23597. "type": "string"
  23598. },
  23599. "delistingmode": {
  23600. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  23601. "type": "integer"
  23602. },
  23603. "deliveryflag": {
  23604. "description": "交割标志 - 0:不可交割 1:可交割",
  23605. "type": "integer"
  23606. },
  23607. "enumdicname": {
  23608. "description": "单位名称",
  23609. "type": "string"
  23610. },
  23611. "forceclosemode": {
  23612. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  23613. "type": "integer"
  23614. },
  23615. "forceclosevalue": {
  23616. "description": "定期强平参数 [收益权]",
  23617. "type": "integer"
  23618. },
  23619. "goodscode": {
  23620. "description": "商品代码(内部)",
  23621. "type": "string"
  23622. },
  23623. "goodscurrencyid": {
  23624. "description": "合约货币ID",
  23625. "type": "integer"
  23626. },
  23627. "goodsgroupid": {
  23628. "description": "所属商品组ID",
  23629. "type": "integer"
  23630. },
  23631. "goodsid": {
  23632. "description": "商品ID(自增ID SEQ_GOODS)",
  23633. "type": "integer"
  23634. },
  23635. "goodsname": {
  23636. "description": "商品名称",
  23637. "type": "string"
  23638. },
  23639. "goodsquotetype": {
  23640. "description": "合约报价类型: 1-直接报价 2-间接报价",
  23641. "type": "integer"
  23642. },
  23643. "goodsstatus": {
  23644. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  23645. "type": "integer"
  23646. },
  23647. "goodstradetype": {
  23648. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  23649. "type": "integer"
  23650. },
  23651. "goodunitid": {
  23652. "description": "报价单位ID",
  23653. "type": "integer"
  23654. },
  23655. "hasquoter": {
  23656. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  23657. "type": "integer"
  23658. },
  23659. "hqprotecttime": {
  23660. "description": "行情保护时间(秒)",
  23661. "type": "integer"
  23662. },
  23663. "innerdealmode": {
  23664. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  23665. "type": "integer"
  23666. },
  23667. "isbuylimited": {
  23668. "description": "是否限制建仓量 - 0:不限制 1:限制",
  23669. "type": "integer"
  23670. },
  23671. "isvisible": {
  23672. "description": "游客是否可见 - 0:不可见 1:可见",
  23673. "type": "integer"
  23674. },
  23675. "lasttradedate": {
  23676. "description": "最后交易日期(状态:待退市)",
  23677. "type": "string"
  23678. },
  23679. "listingdate": {
  23680. "description": "交易开始日期",
  23681. "type": "string"
  23682. },
  23683. "marketid": {
  23684. "description": "所属市场ID",
  23685. "type": "integer"
  23686. },
  23687. "modifierid": {
  23688. "description": "修改人",
  23689. "type": "integer"
  23690. },
  23691. "modifystatus": {
  23692. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  23693. "type": "integer"
  23694. },
  23695. "modifytime": {
  23696. "description": "修改时间",
  23697. "type": "string"
  23698. },
  23699. "outerdealmode": {
  23700. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  23701. "type": "integer"
  23702. },
  23703. "outgoodscode": {
  23704. "description": "商品代码(外部)",
  23705. "type": "string"
  23706. },
  23707. "pictureurl": {
  23708. "description": "商品图片",
  23709. "type": "string"
  23710. },
  23711. "qtydecimalplace": {
  23712. "description": "成交量小数位",
  23713. "type": "integer"
  23714. },
  23715. "quotegear": {
  23716. "description": "行情档位(1-10)",
  23717. "type": "integer"
  23718. },
  23719. "quoteminunit": {
  23720. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23721. "type": "integer"
  23722. },
  23723. "quoteshowtype": {
  23724. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  23725. "type": "integer"
  23726. },
  23727. "quoteshowtypeinterval": {
  23728. "description": "行情报价间隔时间(秒)(成交价时为0)",
  23729. "type": "integer"
  23730. },
  23731. "relatedgoodsid": {
  23732. "description": "关联参考商品ID",
  23733. "type": "integer"
  23734. },
  23735. "remark": {
  23736. "description": "备注",
  23737. "type": "string"
  23738. },
  23739. "trademode": {
  23740. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23741. "type": "integer"
  23742. }
  23743. }
  23744. },
  23745. "models.ErmcpGoodsBrand": {
  23746. "type": "object",
  23747. "properties": {
  23748. "areauserid": {
  23749. "description": "所属机构",
  23750. "type": "integer"
  23751. },
  23752. "brandid": {
  23753. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  23754. "type": "integer"
  23755. },
  23756. "brandname": {
  23757. "description": "品牌名称",
  23758. "type": "string"
  23759. },
  23760. "createtime": {
  23761. "description": "创建时间",
  23762. "type": "string"
  23763. },
  23764. "creatorid": {
  23765. "description": "创建人",
  23766. "type": "integer"
  23767. },
  23768. "creatorsrc": {
  23769. "description": "创建人来源 - 1:管理端 2:终端",
  23770. "type": "integer"
  23771. },
  23772. "deliverygoodsid": {
  23773. "description": "现货品种ID",
  23774. "type": "integer"
  23775. },
  23776. "isvalid": {
  23777. "description": "是否有效 - 0:无效 1:有效",
  23778. "type": "integer"
  23779. },
  23780. "updatetime": {
  23781. "description": "更新时间",
  23782. "type": "string"
  23783. },
  23784. "updatorid": {
  23785. "description": "更新人",
  23786. "type": "integer"
  23787. },
  23788. "updatorsrc": {
  23789. "description": "更新人来源 - 1:管理端 2:终端",
  23790. "type": "integer"
  23791. },
  23792. "wrstandardid": {
  23793. "description": "现货商品ID",
  23794. "type": "integer"
  23795. }
  23796. }
  23797. },
  23798. "models.ErmcpGoodsModel": {
  23799. "type": "object",
  23800. "properties": {
  23801. "areauserid": {
  23802. "description": "所属机构",
  23803. "type": "integer"
  23804. },
  23805. "convertfactor": {
  23806. "description": "标仓系数",
  23807. "type": "number"
  23808. },
  23809. "createtime": {
  23810. "description": "创建时间",
  23811. "type": "string"
  23812. },
  23813. "creatorid": {
  23814. "description": "创建人",
  23815. "type": "integer"
  23816. },
  23817. "creatorsrc": {
  23818. "description": "创建人来源 - 1:管理端 2:终端",
  23819. "type": "integer"
  23820. },
  23821. "deliverygoodsid": {
  23822. "description": "现货品种ID",
  23823. "type": "integer"
  23824. },
  23825. "isvalid": {
  23826. "description": "是否有效 - 0:无效 1:有效",
  23827. "type": "integer"
  23828. },
  23829. "modelid": {
  23830. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  23831. "type": "integer"
  23832. },
  23833. "modelname": {
  23834. "description": "型号名称",
  23835. "type": "string"
  23836. },
  23837. "updatetime": {
  23838. "description": "更新时间",
  23839. "type": "string"
  23840. },
  23841. "updatorid": {
  23842. "description": "更新人",
  23843. "type": "integer"
  23844. },
  23845. "updatorsrc": {
  23846. "description": "更新人来源 - 1:管理端 2:终端",
  23847. "type": "integer"
  23848. },
  23849. "wrstandardid": {
  23850. "description": "现货商品ID",
  23851. "type": "integer"
  23852. }
  23853. }
  23854. },
  23855. "models.ErmcpHisExposure": {
  23856. "type": "object",
  23857. "properties": {
  23858. "needhedgeexposoure": {
  23859. "description": "应套保敞口",
  23860. "type": "number"
  23861. },
  23862. "reckondate": {
  23863. "description": "日照时期(yyyyMMdd)",
  23864. "type": "string"
  23865. },
  23866. "totalexposure": {
  23867. "description": "总敞口",
  23868. "type": "number"
  23869. }
  23870. }
  23871. },
  23872. "models.ErmcpLoginTaAccount": {
  23873. "type": "object",
  23874. "properties": {
  23875. "accountid": {
  23876. "description": "账号id",
  23877. "type": "integer"
  23878. },
  23879. "accountname": {
  23880. "description": "账号名称",
  23881. "type": "string"
  23882. }
  23883. }
  23884. },
  23885. "models.ErmcpLoginUser": {
  23886. "type": "object",
  23887. "properties": {
  23888. "acclist": {
  23889. "description": "关联资金账号",
  23890. "type": "array",
  23891. "items": {
  23892. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  23893. }
  23894. },
  23895. "accountname": {
  23896. "description": "用户名称",
  23897. "type": "string"
  23898. },
  23899. "clientroleid": {
  23900. "description": "角色id(usertype=2)",
  23901. "type": "integer"
  23902. },
  23903. "createtime": {
  23904. "description": "创建时间",
  23905. "type": "string"
  23906. },
  23907. "logincode": {
  23908. "description": "登录代码",
  23909. "type": "string"
  23910. },
  23911. "loginid": {
  23912. "description": "登录id(LOGINID)",
  23913. "type": "integer"
  23914. },
  23915. "loginname": {
  23916. "description": "登录名称(loginaccount表中的accountname字段)",
  23917. "type": "string"
  23918. },
  23919. "loginstatus": {
  23920. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  23921. "type": "integer"
  23922. },
  23923. "memberuserid": {
  23924. "description": "所属会员id",
  23925. "type": "integer"
  23926. },
  23927. "mobile": {
  23928. "description": "手机号",
  23929. "type": "string"
  23930. },
  23931. "modifytime": {
  23932. "description": "修改时间",
  23933. "type": "string"
  23934. },
  23935. "password": {
  23936. "description": "密码(不可解密)",
  23937. "type": "string"
  23938. },
  23939. "rolename": {
  23940. "description": "角色名称",
  23941. "type": "string"
  23942. },
  23943. "rolestatus": {
  23944. "description": "角色状态 1-启用 2-停用",
  23945. "type": "integer"
  23946. },
  23947. "roletype": {
  23948. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  23949. "type": "string"
  23950. },
  23951. "userid": {
  23952. "description": "用户id",
  23953. "type": "integer"
  23954. },
  23955. "usertype": {
  23956. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  23957. "type": "integer"
  23958. }
  23959. }
  23960. },
  23961. "models.ErmcpLoginUserEx": {
  23962. "type": "object",
  23963. "properties": {
  23964. "accountstatus": {
  23965. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  23966. "type": "integer"
  23967. },
  23968. "mobile": {
  23969. "description": "手机号",
  23970. "type": "string"
  23971. },
  23972. "querytype": {
  23973. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  23974. "type": "integer"
  23975. },
  23976. "roleid": {
  23977. "description": "角色id(交易账户-\u003e用户id)",
  23978. "type": "integer"
  23979. },
  23980. "rolename": {
  23981. "description": "角色名称(交易账户-\u003e用户名称)",
  23982. "type": "string"
  23983. },
  23984. "userlist": {
  23985. "description": "用户列表",
  23986. "type": "array",
  23987. "items": {
  23988. "$ref": "#/definitions/models.ErmcpLoginUser"
  23989. }
  23990. },
  23991. "usertype": {
  23992. "description": "用户类型 2-机构 7-企业成员(云平台)",
  23993. "type": "integer"
  23994. }
  23995. }
  23996. },
  23997. "models.ErmcpMiddleGoodsModel": {
  23998. "type": "object",
  23999. "properties": {
  24000. "areauserid": {
  24001. "description": "机构用户ID",
  24002. "type": "integer"
  24003. },
  24004. "createtime": {
  24005. "description": "修改时间",
  24006. "type": "string"
  24007. },
  24008. "enumdicname": {
  24009. "description": "单位名称",
  24010. "type": "string"
  24011. },
  24012. "evaluateratio": {
  24013. "description": "估价系数",
  24014. "type": "number"
  24015. },
  24016. "goodsgroupid": {
  24017. "description": "关联期货品种ID",
  24018. "type": "integer"
  24019. },
  24020. "goodsunitid": {
  24021. "description": "单位ID",
  24022. "type": "integer"
  24023. },
  24024. "isvalid": {
  24025. "description": "状态 0-无效(停用) 1-有效(正常)",
  24026. "type": "integer"
  24027. },
  24028. "middlegoodscode": {
  24029. "description": "套保品种代码",
  24030. "type": "string"
  24031. },
  24032. "middlegoodsid": {
  24033. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  24034. "type": "integer"
  24035. },
  24036. "middlegoodsname": {
  24037. "description": "套保品种名称",
  24038. "type": "string"
  24039. },
  24040. "modifytime": {
  24041. "description": "修改时间",
  24042. "type": "string"
  24043. },
  24044. "needarbitrageratio": {
  24045. "description": "套利比例",
  24046. "type": "number"
  24047. },
  24048. "needhedgeratio": {
  24049. "description": "套保比率",
  24050. "type": "number"
  24051. },
  24052. "qtydecimalplace": {
  24053. "description": "数量小数位",
  24054. "type": "integer"
  24055. },
  24056. "relatedgoodsid": {
  24057. "description": "关联交易商品ID",
  24058. "type": "integer"
  24059. },
  24060. "relatedgoodstype": {
  24061. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  24062. "type": "integer"
  24063. },
  24064. "remark": {
  24065. "description": "备注",
  24066. "type": "string"
  24067. }
  24068. }
  24069. },
  24070. "models.ErmcpMiddlegoodsRelateGoods": {
  24071. "type": "object",
  24072. "properties": {
  24073. "agreeunit": {
  24074. "description": "合约乘数",
  24075. "type": "number"
  24076. },
  24077. "convertratio": {
  24078. "description": "折算系数",
  24079. "type": "number"
  24080. },
  24081. "enumdicname": {
  24082. "description": "单位名称(交易商品)",
  24083. "type": "string"
  24084. },
  24085. "goodscode": {
  24086. "description": "交易商品代码",
  24087. "type": "string"
  24088. },
  24089. "goodsgroupid": {
  24090. "description": "交易品种id",
  24091. "type": "integer"
  24092. },
  24093. "goodsid": {
  24094. "description": "商品Id",
  24095. "type": "integer"
  24096. },
  24097. "goodsname": {
  24098. "description": "交易商品名称",
  24099. "type": "string"
  24100. },
  24101. "goodunitid": {
  24102. "description": "交易商品单位id",
  24103. "type": "integer"
  24104. },
  24105. "middlegoodsid": {
  24106. "description": "套保商品id",
  24107. "type": "integer"
  24108. },
  24109. "middlegoodsname": {
  24110. "description": "套保商品名称",
  24111. "type": "string"
  24112. },
  24113. "middlegoodsswcode": {
  24114. "description": "套保商品代码",
  24115. "type": "string"
  24116. },
  24117. "needarbitrageratio": {
  24118. "description": "应套利比例",
  24119. "type": "number"
  24120. },
  24121. "needhedgeratio": {
  24122. "description": "应套保比例",
  24123. "type": "number"
  24124. }
  24125. }
  24126. },
  24127. "models.ErmcpRole": {
  24128. "type": "object",
  24129. "properties": {
  24130. "areauserid": {
  24131. "description": "所属机构",
  24132. "type": "integer"
  24133. },
  24134. "autoid": {
  24135. "description": "角色ID(自增ID)",
  24136. "type": "integer"
  24137. },
  24138. "modifierid": {
  24139. "description": "修改人(创建人)",
  24140. "type": "integer"
  24141. },
  24142. "modifiername": {
  24143. "description": "修改人名称",
  24144. "type": "string"
  24145. },
  24146. "modifytime": {
  24147. "description": "修改时间(创建时间)",
  24148. "type": "string"
  24149. },
  24150. "rolename": {
  24151. "description": "角色名称",
  24152. "type": "string"
  24153. },
  24154. "rolestatus": {
  24155. "description": "角色状态 - 1:启用 2:停用",
  24156. "type": "integer"
  24157. },
  24158. "roletype": {
  24159. "description": "角色类型 - 1- 管理端 2- 交易端",
  24160. "type": "integer"
  24161. }
  24162. }
  24163. },
  24164. "models.ErmcpRoleMenu": {
  24165. "type": "object",
  24166. "properties": {
  24167. "iconame": {
  24168. "description": "菜单图标",
  24169. "type": "string"
  24170. },
  24171. "ishadrole": {
  24172. "description": "是否有权限",
  24173. "type": "boolean"
  24174. },
  24175. "menutype": {
  24176. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  24177. "type": "integer"
  24178. },
  24179. "parentcode": {
  24180. "description": "上级资源代码",
  24181. "type": "string"
  24182. },
  24183. "remark": {
  24184. "description": "菜单备注",
  24185. "type": "string"
  24186. },
  24187. "resourcecode": {
  24188. "description": "菜单代码",
  24189. "type": "string"
  24190. },
  24191. "resourcelevel": {
  24192. "description": "级别",
  24193. "type": "integer"
  24194. },
  24195. "resourcename": {
  24196. "description": "菜单名称",
  24197. "type": "string"
  24198. },
  24199. "roleid": {
  24200. "description": "角色id",
  24201. "type": "integer"
  24202. },
  24203. "sort": {
  24204. "description": "排序",
  24205. "type": "integer"
  24206. },
  24207. "url": {
  24208. "description": "URL",
  24209. "type": "string"
  24210. },
  24211. "userid": {
  24212. "description": "用户id",
  24213. "type": "integer"
  24214. }
  24215. }
  24216. },
  24217. "models.ErmcpRoleMenuEx": {
  24218. "type": "object",
  24219. "properties": {
  24220. "menu": {
  24221. "description": "父级菜单",
  24222. "$ref": "#/definitions/models.ErmcpRoleMenu"
  24223. },
  24224. "subMenu": {
  24225. "description": "子级菜单",
  24226. "type": "array",
  24227. "items": {
  24228. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  24229. }
  24230. }
  24231. }
  24232. },
  24233. "models.ErmcpTaAccount": {
  24234. "type": "object",
  24235. "properties": {
  24236. "accountid": {
  24237. "description": "账户id",
  24238. "type": "integer"
  24239. },
  24240. "accountname": {
  24241. "description": "账户名称",
  24242. "type": "string"
  24243. },
  24244. "currencyid": {
  24245. "description": "币种id",
  24246. "type": "integer"
  24247. },
  24248. "hedgeaccountcode": {
  24249. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24250. "type": "string"
  24251. },
  24252. "ismain": {
  24253. "description": "是否主账户 0-否 1-是",
  24254. "type": "integer"
  24255. },
  24256. "parentaccountid": {
  24257. "description": "父账户id",
  24258. "type": "integer"
  24259. },
  24260. "relateduserid": {
  24261. "description": "关联userid",
  24262. "type": "integer"
  24263. },
  24264. "tradefeetmpid": {
  24265. "description": "手续费模板id",
  24266. "type": "integer"
  24267. },
  24268. "tradefeetmpname": {
  24269. "description": "手续费模板名称",
  24270. "type": "string"
  24271. },
  24272. "trademargintmpid": {
  24273. "description": "保证金模板id",
  24274. "type": "integer"
  24275. },
  24276. "trademargintmpname": {
  24277. "description": "保证金模板名称",
  24278. "type": "string"
  24279. },
  24280. "traderatetmpid": {
  24281. "description": "汇率模板id",
  24282. "type": "integer"
  24283. },
  24284. "traderatetmpname": {
  24285. "description": "汇率模板名称",
  24286. "type": "string"
  24287. },
  24288. "tradestatus": {
  24289. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24290. "type": "integer"
  24291. },
  24292. "userid": {
  24293. "description": "用户id",
  24294. "type": "integer"
  24295. }
  24296. }
  24297. },
  24298. "models.ErmcpTaAccountEx": {
  24299. "type": "object",
  24300. "properties": {
  24301. "mainAcc": {
  24302. "description": "主账号",
  24303. "$ref": "#/definitions/models.ErmcpTaAccountM"
  24304. },
  24305. "subacclist": {
  24306. "description": "子账号列表",
  24307. "type": "array",
  24308. "items": {
  24309. "$ref": "#/definitions/models.ErmcpTaAccount"
  24310. }
  24311. }
  24312. }
  24313. },
  24314. "models.ErmcpTaAccountInfo": {
  24315. "type": "object",
  24316. "properties": {
  24317. "accountid": {
  24318. "description": "资金账户ID",
  24319. "type": "integer"
  24320. },
  24321. "accountname": {
  24322. "description": "账户名称",
  24323. "type": "string"
  24324. },
  24325. "balance": {
  24326. "description": "期初余额",
  24327. "type": "number"
  24328. },
  24329. "capitalbalance": {
  24330. "description": "本金余额[外部子账户实际出入金余额]",
  24331. "type": "number"
  24332. },
  24333. "closepl": {
  24334. "description": "今日平仓盈亏",
  24335. "type": "number"
  24336. },
  24337. "creditdecrease": {
  24338. "description": "今日授信减少",
  24339. "type": "number"
  24340. },
  24341. "creditincrease": {
  24342. "description": "今日授信增加",
  24343. "type": "number"
  24344. },
  24345. "curdebt": {
  24346. "description": "期末欠款",
  24347. "type": "number"
  24348. },
  24349. "currencyid": {
  24350. "description": "货币ID",
  24351. "type": "integer"
  24352. },
  24353. "currentbalance": {
  24354. "description": "期末余额",
  24355. "type": "number"
  24356. },
  24357. "freezecharge": {
  24358. "description": "手续费冻结",
  24359. "type": "number"
  24360. },
  24361. "freezemargin": {
  24362. "description": "冻结保证金",
  24363. "type": "number"
  24364. },
  24365. "fromaccountid": {
  24366. "description": "所属上级账户",
  24367. "type": "integer"
  24368. },
  24369. "inamount": {
  24370. "description": "今日入金金额(包括三方入金)",
  24371. "type": "number"
  24372. },
  24373. "ismain": {
  24374. "description": "是否母账号 0:不是母账户 1:是母账户",
  24375. "type": "integer"
  24376. },
  24377. "mortgagecredit": {
  24378. "description": "授信金额",
  24379. "type": "number"
  24380. },
  24381. "oridebt": {
  24382. "description": "期初欠款",
  24383. "type": "number"
  24384. },
  24385. "orifreezecharge": {
  24386. "description": "期初手续费冻结",
  24387. "type": "number"
  24388. },
  24389. "orifreezemargin": {
  24390. "description": "期初冻结保证金",
  24391. "type": "number"
  24392. },
  24393. "orimortgagecredit": {
  24394. "description": "期初授信金额",
  24395. "type": "number"
  24396. },
  24397. "oriothercredit": {
  24398. "description": "期初其它授信金额",
  24399. "type": "number"
  24400. },
  24401. "oriotherfreezemargin": {
  24402. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  24403. "type": "number"
  24404. },
  24405. "orioutamountfreeze": {
  24406. "description": "期初出金冻结",
  24407. "type": "number"
  24408. },
  24409. "oriusedmargin": {
  24410. "description": "期初占用保证金",
  24411. "type": "number"
  24412. },
  24413. "othercredit": {
  24414. "description": "其它授信金额",
  24415. "type": "number"
  24416. },
  24417. "othercreditdecrease": {
  24418. "description": "今日其它授信减少",
  24419. "type": "number"
  24420. },
  24421. "othercreditincrease": {
  24422. "description": "今日其它授信增加",
  24423. "type": "number"
  24424. },
  24425. "otherfreezemargin": {
  24426. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  24427. "type": "number"
  24428. },
  24429. "outamount": {
  24430. "description": "今日出金金额(包括三方出金)",
  24431. "type": "number"
  24432. },
  24433. "outamountfreeze": {
  24434. "description": "出金冻结",
  24435. "type": "number"
  24436. },
  24437. "outthreshold": {
  24438. "description": "出金阈值",
  24439. "type": "number"
  24440. },
  24441. "parentaccountid": {
  24442. "description": "所属根账号",
  24443. "type": "integer"
  24444. },
  24445. "paycharge": {
  24446. "description": "今日手续费支出",
  24447. "type": "number"
  24448. },
  24449. "relateduserid": {
  24450. "description": "关联用户",
  24451. "type": "integer"
  24452. },
  24453. "signstatus": {
  24454. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  24455. "type": "integer"
  24456. },
  24457. "sublevelpath": {
  24458. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  24459. "type": "string"
  24460. },
  24461. "taaccounttype": {
  24462. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  24463. "type": "integer"
  24464. },
  24465. "thirdinamount": {
  24466. "description": "今日三方入金",
  24467. "type": "number"
  24468. },
  24469. "thirdoutamount": {
  24470. "description": "今日三方出金",
  24471. "type": "number"
  24472. },
  24473. "tradestatus": {
  24474. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24475. "type": "integer"
  24476. },
  24477. "transferamount": {
  24478. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  24479. "type": "number"
  24480. },
  24481. "usedmargin": {
  24482. "description": "占用保证金",
  24483. "type": "number"
  24484. },
  24485. "userid": {
  24486. "description": "用户ID",
  24487. "type": "integer"
  24488. }
  24489. }
  24490. },
  24491. "models.ErmcpTaAccountM": {
  24492. "type": "object",
  24493. "properties": {
  24494. "accountid": {
  24495. "description": "账户id",
  24496. "type": "integer"
  24497. },
  24498. "accountname": {
  24499. "description": "账户名称",
  24500. "type": "string"
  24501. },
  24502. "currencyid": {
  24503. "description": "币种id",
  24504. "type": "integer"
  24505. },
  24506. "fcid": {
  24507. "description": "期货公司id",
  24508. "type": "integer"
  24509. },
  24510. "fcname": {
  24511. "description": "期货公司代码",
  24512. "type": "string"
  24513. },
  24514. "hedgeaccountcode": {
  24515. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24516. "type": "string"
  24517. },
  24518. "ismain": {
  24519. "description": "是否主账户 0-否 1-是",
  24520. "type": "integer"
  24521. },
  24522. "parentaccountid": {
  24523. "description": "父账户id",
  24524. "type": "integer"
  24525. },
  24526. "relateduserid": {
  24527. "description": "关联userid",
  24528. "type": "integer"
  24529. },
  24530. "tradefeetmpid": {
  24531. "description": "手续费模板id",
  24532. "type": "integer"
  24533. },
  24534. "tradefeetmpname": {
  24535. "description": "手续费模板名称",
  24536. "type": "string"
  24537. },
  24538. "trademargintmpid": {
  24539. "description": "保证金模板id",
  24540. "type": "integer"
  24541. },
  24542. "trademargintmpname": {
  24543. "description": "保证金模板名称",
  24544. "type": "string"
  24545. },
  24546. "traderatetmpid": {
  24547. "description": "汇率模板id",
  24548. "type": "integer"
  24549. },
  24550. "traderatetmpname": {
  24551. "description": "汇率模板名称",
  24552. "type": "string"
  24553. },
  24554. "tradestatus": {
  24555. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24556. "type": "integer"
  24557. },
  24558. "userid": {
  24559. "description": "用户id",
  24560. "type": "integer"
  24561. }
  24562. }
  24563. },
  24564. "models.ErmcpTradeConfigTMP": {
  24565. "type": "object",
  24566. "properties": {
  24567. "areauserid": {
  24568. "description": "所属机构",
  24569. "type": "integer"
  24570. },
  24571. "basiccurrencyid": {
  24572. "description": "基本币种ID[汇率] - 目标币种",
  24573. "type": "integer"
  24574. },
  24575. "mainaccountid": {
  24576. "description": "主账户ID",
  24577. "type": "integer"
  24578. },
  24579. "modifierid": {
  24580. "description": "修改人",
  24581. "type": "integer"
  24582. },
  24583. "remark": {
  24584. "description": "备注",
  24585. "type": "string"
  24586. },
  24587. "tradeconfigtmpid": {
  24588. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  24589. "type": "integer"
  24590. },
  24591. "tradeconfigtmpname": {
  24592. "description": "交易配置模板名称",
  24593. "type": "string"
  24594. },
  24595. "tradeconfigtmptype": {
  24596. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  24597. "type": "integer"
  24598. },
  24599. "updatetime": {
  24600. "description": "更新时间",
  24601. "type": "string"
  24602. }
  24603. }
  24604. },
  24605. "models.Externalexchange": {
  24606. "type": "object",
  24607. "required": [
  24608. "autoid"
  24609. ],
  24610. "properties": {
  24611. "autoid": {
  24612. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  24613. "type": "integer"
  24614. },
  24615. "exchangefullname": {
  24616. "description": "外部交易所全称",
  24617. "type": "string"
  24618. },
  24619. "exexchangecode": {
  24620. "description": "外部交易所代码",
  24621. "type": "string"
  24622. },
  24623. "exexchangename": {
  24624. "description": "外部交易所名称(简称)",
  24625. "type": "string"
  24626. },
  24627. "ismarketprice": {
  24628. "description": "是否支持市价 - 0:不支持 1:支持",
  24629. "type": "integer"
  24630. },
  24631. "quotegear": {
  24632. "description": "行情档位(1-10)",
  24633. "type": "integer"
  24634. },
  24635. "showbrokerflag": {
  24636. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  24637. "type": "integer"
  24638. },
  24639. "updatetime": {
  24640. "description": "更新时间",
  24641. "type": "string"
  24642. }
  24643. }
  24644. },
  24645. "models.Funcmenulist": {
  24646. "type": "object",
  24647. "required": [
  24648. "resourcecode"
  24649. ],
  24650. "properties": {
  24651. "iconame": {
  24652. "description": "菜单图标",
  24653. "type": "string"
  24654. },
  24655. "menutype": {
  24656. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  24657. "type": "integer"
  24658. },
  24659. "parentcode": {
  24660. "description": "上级资源代码",
  24661. "type": "string"
  24662. },
  24663. "remark": {
  24664. "description": "备注",
  24665. "type": "string"
  24666. },
  24667. "resourcecode": {
  24668. "description": "资源代码",
  24669. "type": "string"
  24670. },
  24671. "resourcelevel": {
  24672. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  24673. "type": "integer"
  24674. },
  24675. "resourcename": {
  24676. "description": "资源名",
  24677. "type": "string"
  24678. },
  24679. "sort": {
  24680. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  24681. "type": "integer"
  24682. },
  24683. "url": {
  24684. "description": "URL",
  24685. "type": "string"
  24686. }
  24687. }
  24688. },
  24689. "models.Goods": {
  24690. "type": "object",
  24691. "required": [
  24692. "goodscode",
  24693. "goodsid",
  24694. "goodsname",
  24695. "marketid"
  24696. ],
  24697. "properties": {
  24698. "agreeunit": {
  24699. "description": "合约单位",
  24700. "type": "number"
  24701. },
  24702. "areauserid": {
  24703. "description": "所属机构",
  24704. "type": "integer"
  24705. },
  24706. "auditaccountid": {
  24707. "description": "审核操作员账号",
  24708. "type": "integer"
  24709. },
  24710. "audittime": {
  24711. "description": "审核时间",
  24712. "type": "string"
  24713. },
  24714. "cancelaccountid": {
  24715. "description": "注销操作员账号",
  24716. "type": "integer"
  24717. },
  24718. "canceltime": {
  24719. "description": "注销时间",
  24720. "type": "string"
  24721. },
  24722. "closepricemode": {
  24723. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24724. "type": "integer"
  24725. },
  24726. "closepriceparam": {
  24727. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  24728. "type": "number"
  24729. },
  24730. "createtime": {
  24731. "description": "创建时间",
  24732. "type": "string"
  24733. },
  24734. "creatorid": {
  24735. "description": "创建人",
  24736. "type": "integer"
  24737. },
  24738. "currencyid": {
  24739. "description": "报价货币ID",
  24740. "type": "integer"
  24741. },
  24742. "cutmode": {
  24743. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  24744. "type": "integer"
  24745. },
  24746. "decimalplace": {
  24747. "description": "报价小数位",
  24748. "type": "integer"
  24749. },
  24750. "delistingdate": {
  24751. "description": "商品退市时间(状态:退市) -- 已作废",
  24752. "type": "string"
  24753. },
  24754. "delistingmode": {
  24755. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  24756. "type": "integer"
  24757. },
  24758. "deliveryflag": {
  24759. "description": "交割标志 - 0:不可交割 1:可交割",
  24760. "type": "integer"
  24761. },
  24762. "forceclosemode": {
  24763. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  24764. "type": "integer"
  24765. },
  24766. "forceclosevalue": {
  24767. "description": "定期强平参数 [收益权]",
  24768. "type": "integer"
  24769. },
  24770. "goodscode": {
  24771. "description": "商品代码(内部)",
  24772. "type": "string"
  24773. },
  24774. "goodscurrencyid": {
  24775. "description": "合约货币ID",
  24776. "type": "integer"
  24777. },
  24778. "goodsgroupid": {
  24779. "description": "所属商品组ID",
  24780. "type": "integer"
  24781. },
  24782. "goodsid": {
  24783. "description": "商品ID(自增ID SEQ_GOODS)",
  24784. "type": "integer"
  24785. },
  24786. "goodsname": {
  24787. "description": "商品名称",
  24788. "type": "string"
  24789. },
  24790. "goodsquotetype": {
  24791. "description": "合约报价类型: 1-直接报价 2-间接报价",
  24792. "type": "integer"
  24793. },
  24794. "goodsstatus": {
  24795. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  24796. "type": "integer"
  24797. },
  24798. "goodstradetype": {
  24799. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  24800. "type": "integer"
  24801. },
  24802. "goodunitid": {
  24803. "description": "报价单位ID",
  24804. "type": "integer"
  24805. },
  24806. "hasquoter": {
  24807. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  24808. "type": "integer"
  24809. },
  24810. "hqprotecttime": {
  24811. "description": "行情保护时间(秒)",
  24812. "type": "integer"
  24813. },
  24814. "innerdealmode": {
  24815. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24816. "type": "integer"
  24817. },
  24818. "isbuylimited": {
  24819. "description": "是否限制建仓量 - 0:不限制 1:限制",
  24820. "type": "integer"
  24821. },
  24822. "isvisible": {
  24823. "description": "游客是否可见 - 0:不可见 1:可见",
  24824. "type": "integer"
  24825. },
  24826. "lasttradedate": {
  24827. "description": "最后交易日期(状态:待退市)",
  24828. "type": "string"
  24829. },
  24830. "listingdate": {
  24831. "description": "交易开始日期",
  24832. "type": "string"
  24833. },
  24834. "marketid": {
  24835. "description": "所属市场ID",
  24836. "type": "integer"
  24837. },
  24838. "modifierid": {
  24839. "description": "修改人",
  24840. "type": "integer"
  24841. },
  24842. "modifystatus": {
  24843. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  24844. "type": "integer"
  24845. },
  24846. "modifytime": {
  24847. "description": "修改时间",
  24848. "type": "string"
  24849. },
  24850. "outerdealmode": {
  24851. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24852. "type": "integer"
  24853. },
  24854. "outgoodscode": {
  24855. "description": "商品代码(外部)",
  24856. "type": "string"
  24857. },
  24858. "pictureurl": {
  24859. "description": "商品图片",
  24860. "type": "string"
  24861. },
  24862. "qtydecimalplace": {
  24863. "description": "成交量小数位",
  24864. "type": "integer"
  24865. },
  24866. "quotegear": {
  24867. "description": "行情档位(1-10)",
  24868. "type": "integer"
  24869. },
  24870. "quoteminunit": {
  24871. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24872. "type": "integer"
  24873. },
  24874. "quoteshowtype": {
  24875. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  24876. "type": "integer"
  24877. },
  24878. "quoteshowtypeinterval": {
  24879. "description": "行情报价间隔时间(秒)(成交价时为0)",
  24880. "type": "integer"
  24881. },
  24882. "remark": {
  24883. "description": "备注",
  24884. "type": "string"
  24885. }
  24886. }
  24887. },
  24888. "models.GoodsIDAndName": {
  24889. "type": "object",
  24890. "required": [
  24891. "goodscode",
  24892. "goodsid",
  24893. "goodsname",
  24894. "marketid"
  24895. ],
  24896. "properties": {
  24897. "goodscode": {
  24898. "description": "商品代码(内部)",
  24899. "type": "string"
  24900. },
  24901. "goodsid": {
  24902. "description": "商品ID(自增ID SEQ_GOODS)",
  24903. "type": "integer"
  24904. },
  24905. "goodsname": {
  24906. "description": "商品名称",
  24907. "type": "string"
  24908. },
  24909. "marketid": {
  24910. "description": "所属市场ID",
  24911. "type": "integer"
  24912. }
  24913. }
  24914. },
  24915. "models.Goodsgroup": {
  24916. "type": "object",
  24917. "required": [
  24918. "goodsgroupid",
  24919. "goodsgroupname",
  24920. "goodsgroupstatus",
  24921. "marketid"
  24922. ],
  24923. "properties": {
  24924. "agreeunit": {
  24925. "description": "合约单位",
  24926. "type": "number"
  24927. },
  24928. "canshort": {
  24929. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  24930. "type": "integer"
  24931. },
  24932. "closepricemode": {
  24933. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24934. "type": "integer"
  24935. },
  24936. "closepriceparam": {
  24937. "description": "强平最新价浮动比例 - 方式为2时使用",
  24938. "type": "number"
  24939. },
  24940. "createtime": {
  24941. "description": "创建时间",
  24942. "type": "string"
  24943. },
  24944. "creatorid": {
  24945. "description": "创建人",
  24946. "type": "integer"
  24947. },
  24948. "currencyid": {
  24949. "description": "报价货币ID",
  24950. "type": "integer"
  24951. },
  24952. "decimalplace": {
  24953. "description": "报价小数位",
  24954. "type": "integer"
  24955. },
  24956. "exercisetype": {
  24957. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  24958. "type": "integer"
  24959. },
  24960. "exexchangeid": {
  24961. "description": "外部交易所ID[通道交易]",
  24962. "type": "integer"
  24963. },
  24964. "goodsgroupid": {
  24965. "description": "商品组ID(自增ID)",
  24966. "type": "integer"
  24967. },
  24968. "goodsgroupname": {
  24969. "description": "商品组名称",
  24970. "type": "string"
  24971. },
  24972. "goodsgroupstatus": {
  24973. "description": "商品组状态 - 1:正常 2:注销",
  24974. "type": "integer"
  24975. },
  24976. "goodunitid": {
  24977. "description": "报价单位ID",
  24978. "type": "integer"
  24979. },
  24980. "innerdealmode": {
  24981. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24982. "type": "integer"
  24983. },
  24984. "isbuylimited": {
  24985. "description": "是否限制建仓量 - 0:不限制 1:限制",
  24986. "type": "integer"
  24987. },
  24988. "marketid": {
  24989. "description": "所属市场ID",
  24990. "type": "integer"
  24991. },
  24992. "modifierid": {
  24993. "description": "修改人",
  24994. "type": "integer"
  24995. },
  24996. "modifytime": {
  24997. "description": "修改时间",
  24998. "type": "string"
  24999. },
  25000. "outerdealmode": {
  25001. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25002. "type": "integer"
  25003. },
  25004. "outergroupcode": {
  25005. "description": "外部商品组代码[通道交易]",
  25006. "type": "string"
  25007. },
  25008. "premiumdecimalplace": {
  25009. "description": "权利金小数位[场外期权]",
  25010. "type": "integer"
  25011. },
  25012. "premiumspreadalgorithm": {
  25013. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  25014. "type": "integer"
  25015. },
  25016. "premiumspreadvalue": {
  25017. "description": "权利金点差值[场外期权]",
  25018. "type": "number"
  25019. },
  25020. "qtydecimalplace": {
  25021. "description": "成交量小数位",
  25022. "type": "integer"
  25023. },
  25024. "quotegear": {
  25025. "description": "行情档位(1-10)",
  25026. "type": "integer"
  25027. },
  25028. "quoteminunit": {
  25029. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25030. "type": "integer"
  25031. },
  25032. "quoterid": {
  25033. "description": "报价商ID[场外期权]",
  25034. "type": "integer"
  25035. },
  25036. "quotesourcegroupid": {
  25037. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  25038. "type": "integer"
  25039. },
  25040. "syncgoodsqty": {
  25041. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  25042. "type": "integer"
  25043. }
  25044. }
  25045. },
  25046. "models.Goodssortbypreposition": {
  25047. "type": "object",
  25048. "required": [
  25049. "goodscode",
  25050. "tradedate"
  25051. ],
  25052. "properties": {
  25053. "goodscode": {
  25054. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  25055. "type": "string"
  25056. },
  25057. "goodsgroupcode": {
  25058. "description": "品种代码",
  25059. "type": "string"
  25060. },
  25061. "prepositionqty": {
  25062. "description": "昨持仓量",
  25063. "type": "integer"
  25064. },
  25065. "sortindex": {
  25066. "description": "排序",
  25067. "type": "integer"
  25068. },
  25069. "tradedate": {
  25070. "description": "交易日",
  25071. "type": "string"
  25072. },
  25073. "updatetime": {
  25074. "description": "更新时间",
  25075. "type": "string"
  25076. }
  25077. }
  25078. },
  25079. "models.Hedgeinnerholderdetail": {
  25080. "type": "object",
  25081. "required": [
  25082. "buyorsell",
  25083. "tradeid"
  25084. ],
  25085. "properties": {
  25086. "accountid": {
  25087. "description": "账号ID",
  25088. "type": "integer"
  25089. },
  25090. "buyorsell": {
  25091. "description": "方向 - 0:买 1:卖",
  25092. "type": "integer"
  25093. },
  25094. "freezeqty": {
  25095. "description": "冻结数量 - 按单平使用",
  25096. "type": "integer"
  25097. },
  25098. "goodsid": {
  25099. "description": "商品ID",
  25100. "type": "integer"
  25101. },
  25102. "holderamount": {
  25103. "description": "持仓金额 [商品币种]",
  25104. "type": "number"
  25105. },
  25106. "holderdays": {
  25107. "description": "剩余冻结天数",
  25108. "type": "integer"
  25109. },
  25110. "holderprice": {
  25111. "description": "持仓价格",
  25112. "type": "number"
  25113. },
  25114. "holderqty": {
  25115. "description": "持仓数量",
  25116. "type": "integer"
  25117. },
  25118. "marketid": {
  25119. "description": "市场ID",
  25120. "type": "integer"
  25121. },
  25122. "openprice": {
  25123. "description": "建仓价格",
  25124. "type": "number"
  25125. },
  25126. "openqty": {
  25127. "description": "建仓数量",
  25128. "type": "integer"
  25129. },
  25130. "parentaccountid": {
  25131. "description": "所属母账户",
  25132. "type": "integer"
  25133. },
  25134. "releaseamount": {
  25135. "description": "释放持仓金额[商品币种]",
  25136. "type": "number"
  25137. },
  25138. "tradeamount": {
  25139. "description": "成交金额[账户]",
  25140. "type": "number"
  25141. },
  25142. "tradedate": {
  25143. "description": "交易日(yyyyMMdd)",
  25144. "type": "string"
  25145. },
  25146. "tradeid": {
  25147. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25148. "type": "string"
  25149. },
  25150. "tradetime": {
  25151. "description": "交易时间",
  25152. "type": "string"
  25153. }
  25154. }
  25155. },
  25156. "models.Hedgemarketopenlog": {
  25157. "type": "object",
  25158. "required": [
  25159. "accountid"
  25160. ],
  25161. "properties": {
  25162. "accountid": {
  25163. "description": "资金账号[外部母账户]",
  25164. "type": "integer"
  25165. },
  25166. "fcname": {
  25167. "description": "期货公司名称",
  25168. "type": "string"
  25169. },
  25170. "handlestatus": {
  25171. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  25172. "type": "integer"
  25173. },
  25174. "marketid": {
  25175. "description": "市场ID",
  25176. "type": "integer"
  25177. },
  25178. "status": {
  25179. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  25180. "type": "integer"
  25181. },
  25182. "tradedate": {
  25183. "description": "交易日(yyyyMMdd)",
  25184. "type": "string"
  25185. },
  25186. "updatetime": {
  25187. "description": "更新时间",
  25188. "type": "string"
  25189. }
  25190. }
  25191. },
  25192. "models.HsbyBuyMyPayOrder": {
  25193. "type": "object",
  25194. "required": [
  25195. "goodscode",
  25196. "goodsname",
  25197. "tradeid",
  25198. "trademode"
  25199. ],
  25200. "properties": {
  25201. "agreeunit": {
  25202. "description": "合约单位",
  25203. "type": "number"
  25204. },
  25205. "buyaccountid": {
  25206. "description": "买方账号ID[报价币种]",
  25207. "type": "integer"
  25208. },
  25209. "buyorderid": {
  25210. "description": "买方委托单号",
  25211. "type": "string"
  25212. },
  25213. "createtime": {
  25214. "description": "创建时间",
  25215. "type": "string"
  25216. },
  25217. "currencysign": {
  25218. "description": "货币符号",
  25219. "type": "string"
  25220. },
  25221. "decimalplace": {
  25222. "description": "报价小数位",
  25223. "type": "integer"
  25224. },
  25225. "goodscode": {
  25226. "description": "商品代码(内部)",
  25227. "type": "string"
  25228. },
  25229. "goodsid": {
  25230. "description": "商品ID",
  25231. "type": "integer"
  25232. },
  25233. "goodsname": {
  25234. "description": "商品名称",
  25235. "type": "string"
  25236. },
  25237. "marketid": {
  25238. "description": "市场ID",
  25239. "type": "integer"
  25240. },
  25241. "offamount": {
  25242. "description": "优惠金额",
  25243. "type": "number"
  25244. },
  25245. "originalamount": {
  25246. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  25247. "type": "number"
  25248. },
  25249. "payamount": {
  25250. "description": "支付金额 = TradeAmount + TradeCharge",
  25251. "type": "number"
  25252. },
  25253. "payflag": {
  25254. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  25255. "type": "integer"
  25256. },
  25257. "paylimitedtime": {
  25258. "description": "支付期限",
  25259. "type": "string"
  25260. },
  25261. "paytime": {
  25262. "description": "付款时间",
  25263. "type": "string"
  25264. },
  25265. "picurls1": {
  25266. "description": "预售商品介绍图片[多张用逗号分隔]",
  25267. "type": "string"
  25268. },
  25269. "picurls2": {
  25270. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25271. "type": "string"
  25272. },
  25273. "sellaccountid": {
  25274. "description": "卖方账号ID[报价币种]",
  25275. "type": "integer"
  25276. },
  25277. "sellorderid": {
  25278. "description": "卖方委托单号",
  25279. "type": "string"
  25280. },
  25281. "tradeamount": {
  25282. "description": "成交金额",
  25283. "type": "number"
  25284. },
  25285. "tradecharge": {
  25286. "description": "成交手续费(买方)",
  25287. "type": "number"
  25288. },
  25289. "tradedate": {
  25290. "description": "交易日(yyyyMMdd)",
  25291. "type": "string"
  25292. },
  25293. "tradeid": {
  25294. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25295. "type": "string"
  25296. },
  25297. "trademode": {
  25298. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25299. "type": "integer"
  25300. },
  25301. "tradeprice": {
  25302. "description": "成交价格",
  25303. "type": "number"
  25304. },
  25305. "tradeqty": {
  25306. "description": "成交数量",
  25307. "type": "integer"
  25308. },
  25309. "vendorname1": {
  25310. "description": "预售商品供应商名称",
  25311. "type": "string"
  25312. },
  25313. "vendorname2": {
  25314. "description": "挂牌商品供应商名称",
  25315. "type": "string"
  25316. }
  25317. }
  25318. },
  25319. "models.HsbyBuyMyTradeDetail": {
  25320. "type": "object",
  25321. "required": [
  25322. "accountid",
  25323. "buyorsell",
  25324. "goodscode",
  25325. "goodsid",
  25326. "goodsname",
  25327. "marketid",
  25328. "orderid",
  25329. "qty",
  25330. "time",
  25331. "trademode"
  25332. ],
  25333. "properties": {
  25334. "accountid": {
  25335. "description": "账户ID[报价币种]",
  25336. "type": "integer"
  25337. },
  25338. "agreeunit": {
  25339. "description": "合约单位",
  25340. "type": "number"
  25341. },
  25342. "amount": {
  25343. "description": "金额 = 价格 * 数量 * 合约单位",
  25344. "type": "number"
  25345. },
  25346. "buyorsell": {
  25347. "description": "买卖 - 0:买 1:卖",
  25348. "type": "integer"
  25349. },
  25350. "currencysign": {
  25351. "description": "货币符号",
  25352. "type": "string"
  25353. },
  25354. "decimalplace": {
  25355. "description": "报价小数位",
  25356. "type": "integer"
  25357. },
  25358. "goodscode": {
  25359. "description": "商品代码(内部)",
  25360. "type": "string"
  25361. },
  25362. "goodsid": {
  25363. "description": "商品ID",
  25364. "type": "integer"
  25365. },
  25366. "goodsname": {
  25367. "description": "商品名称",
  25368. "type": "string"
  25369. },
  25370. "marketid": {
  25371. "description": "市场ID",
  25372. "type": "integer"
  25373. },
  25374. "orderamount": {
  25375. "description": "委托金额",
  25376. "type": "number"
  25377. },
  25378. "orderid": {
  25379. "description": "单号(成交单号)",
  25380. "type": "string"
  25381. },
  25382. "picurls1": {
  25383. "description": "预售商品介绍图片[多张用逗号分隔]",
  25384. "type": "string"
  25385. },
  25386. "picurls2": {
  25387. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25388. "type": "string"
  25389. },
  25390. "price": {
  25391. "description": "价格",
  25392. "type": "number"
  25393. },
  25394. "qty": {
  25395. "description": "数量",
  25396. "type": "integer"
  25397. },
  25398. "time": {
  25399. "description": "时间",
  25400. "type": "string"
  25401. },
  25402. "trademode": {
  25403. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25404. "type": "integer"
  25405. },
  25406. "vendorname1": {
  25407. "description": "预售商品供应商名称",
  25408. "type": "string"
  25409. },
  25410. "vendorname2": {
  25411. "description": "挂牌商品供应商名称",
  25412. "type": "string"
  25413. }
  25414. }
  25415. },
  25416. "models.HsbyGoodsOrderDetail": {
  25417. "type": "object",
  25418. "required": [
  25419. "buyorsell",
  25420. "orderid",
  25421. "ordertime"
  25422. ],
  25423. "properties": {
  25424. "buyorsell": {
  25425. "description": "买卖 - 0:买 1:卖",
  25426. "type": "integer"
  25427. },
  25428. "currencysign": {
  25429. "description": "货币符号",
  25430. "type": "string"
  25431. },
  25432. "customername": {
  25433. "description": "客户名称(企业名称),已脱敏",
  25434. "type": "string"
  25435. },
  25436. "enableqty": {
  25437. "description": "可用数量",
  25438. "type": "integer"
  25439. },
  25440. "goodunit": {
  25441. "description": "报价单位",
  25442. "type": "string"
  25443. },
  25444. "orderid": {
  25445. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25446. "type": "string"
  25447. },
  25448. "orderprice": {
  25449. "description": "委托价格",
  25450. "type": "number"
  25451. },
  25452. "ordertime": {
  25453. "description": "委托时间",
  25454. "type": "string"
  25455. }
  25456. }
  25457. },
  25458. "models.HsbyListingGoodsDetail": {
  25459. "type": "object",
  25460. "required": [
  25461. "goodscode",
  25462. "goodsid",
  25463. "goodsname",
  25464. "marketid",
  25465. "trademode"
  25466. ],
  25467. "properties": {
  25468. "agreeunit": {
  25469. "description": "合约单位",
  25470. "type": "number"
  25471. },
  25472. "buymaxqty": {
  25473. "description": "购买上限 [71] - 0为不限",
  25474. "type": "integer"
  25475. },
  25476. "currency": {
  25477. "description": "货币",
  25478. "type": "string"
  25479. },
  25480. "currencysign": {
  25481. "description": "货币符号",
  25482. "type": "string"
  25483. },
  25484. "decimalplace": {
  25485. "description": "报价小数位",
  25486. "type": "integer"
  25487. },
  25488. "desccityid": {
  25489. "description": "目的地(市)ID",
  25490. "type": "integer"
  25491. },
  25492. "descprovinceid": {
  25493. "description": "目的地(省)ID",
  25494. "type": "integer"
  25495. },
  25496. "goodscode": {
  25497. "description": "商品代码(内部)",
  25498. "type": "string"
  25499. },
  25500. "goodsdesc": {
  25501. "description": "商品详情",
  25502. "type": "string"
  25503. },
  25504. "goodsid": {
  25505. "description": "商品ID(自增ID SEQ_GOODS)",
  25506. "type": "integer"
  25507. },
  25508. "goodsname": {
  25509. "description": "商品名称",
  25510. "type": "string"
  25511. },
  25512. "goodsprice": {
  25513. "description": "商品价格",
  25514. "type": "number"
  25515. },
  25516. "hotindex": {
  25517. "description": "景点热度",
  25518. "type": "integer"
  25519. },
  25520. "last": {
  25521. "description": "现价",
  25522. "type": "number"
  25523. },
  25524. "limitdown": {
  25525. "description": "跌停价",
  25526. "type": "number"
  25527. },
  25528. "limitup": {
  25529. "description": "涨停价",
  25530. "type": "number"
  25531. },
  25532. "lotsize": {
  25533. "description": "手数最小变动单位",
  25534. "type": "integer"
  25535. },
  25536. "marketid": {
  25537. "description": "所属市场ID",
  25538. "type": "integer"
  25539. },
  25540. "picurls": {
  25541. "description": "介绍图片[多张用逗号分隔]",
  25542. "type": "string"
  25543. },
  25544. "quoteminunit": {
  25545. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25546. "type": "integer"
  25547. },
  25548. "stepvalue": {
  25549. "description": "价格最小变动单位",
  25550. "type": "number"
  25551. },
  25552. "trademode": {
  25553. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25554. "type": "integer"
  25555. },
  25556. "vendorattr": {
  25557. "description": "供应商附件(多张,逗号分隔)",
  25558. "type": "string"
  25559. },
  25560. "vendorname": {
  25561. "description": "供应商名称",
  25562. "type": "string"
  25563. },
  25564. "vendorphone": {
  25565. "description": "供应商客服电话",
  25566. "type": "string"
  25567. },
  25568. "videourls": {
  25569. "description": "介绍视频[多张用逗号分隔]",
  25570. "type": "string"
  25571. }
  25572. }
  25573. },
  25574. "models.HsbyMarketGoods": {
  25575. "type": "object",
  25576. "required": [
  25577. "accountid",
  25578. "buyorsell",
  25579. "goodscode",
  25580. "goodsid",
  25581. "goodsname",
  25582. "marketid",
  25583. "orderid",
  25584. "trademode"
  25585. ],
  25586. "properties": {
  25587. "accountid": {
  25588. "description": "账户ID[报价币种]",
  25589. "type": "integer"
  25590. },
  25591. "agreeunit": {
  25592. "description": "合约单位",
  25593. "type": "number"
  25594. },
  25595. "buyorsell": {
  25596. "description": "买卖 - 0:买 1:卖",
  25597. "type": "integer"
  25598. },
  25599. "categoryid": {
  25600. "description": "类别ID(WRCATEGORY)",
  25601. "type": "integer"
  25602. },
  25603. "currency": {
  25604. "description": "货币",
  25605. "type": "string"
  25606. },
  25607. "currencysign": {
  25608. "description": "货币符号",
  25609. "type": "string"
  25610. },
  25611. "customername": {
  25612. "description": "卖家名称",
  25613. "type": "string"
  25614. },
  25615. "decimalplace": {
  25616. "description": "报价小数位",
  25617. "type": "integer"
  25618. },
  25619. "goodscode": {
  25620. "description": "商品代码(内部)",
  25621. "type": "string"
  25622. },
  25623. "goodsid": {
  25624. "description": "商品ID",
  25625. "type": "integer"
  25626. },
  25627. "goodsname": {
  25628. "description": "商品名称",
  25629. "type": "string"
  25630. },
  25631. "goodsprice": {
  25632. "description": "商品价格",
  25633. "type": "number"
  25634. },
  25635. "hascoupon": {
  25636. "description": "是否可用优惠卷",
  25637. "type": "boolean"
  25638. },
  25639. "hotindex": {
  25640. "description": "景点热度",
  25641. "type": "integer"
  25642. },
  25643. "marketid": {
  25644. "description": "市场ID",
  25645. "type": "integer"
  25646. },
  25647. "orderid": {
  25648. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25649. "type": "string"
  25650. },
  25651. "orderprice": {
  25652. "description": "委托价格",
  25653. "type": "number"
  25654. },
  25655. "orderstatus": {
  25656. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  25657. "type": "integer"
  25658. },
  25659. "picurls": {
  25660. "description": "介绍图片[多张用逗号分隔]",
  25661. "type": "string"
  25662. },
  25663. "quoteminunit": {
  25664. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25665. "type": "integer"
  25666. },
  25667. "sellUserID": {
  25668. "description": "卖方UserID",
  25669. "type": "integer"
  25670. },
  25671. "trademode": {
  25672. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25673. "type": "integer"
  25674. },
  25675. "videourls": {
  25676. "description": "介绍视频[多张用逗号分隔]",
  25677. "type": "string"
  25678. }
  25679. }
  25680. },
  25681. "models.HsbyMarketGoodsDetail": {
  25682. "type": "object",
  25683. "required": [
  25684. "accountid",
  25685. "buyorsell",
  25686. "goodscode",
  25687. "goodsid",
  25688. "goodsname",
  25689. "marketid",
  25690. "orderid",
  25691. "orderqty",
  25692. "trademode"
  25693. ],
  25694. "properties": {
  25695. "accountid": {
  25696. "description": "账户ID[报价币种]",
  25697. "type": "integer"
  25698. },
  25699. "agreeunit": {
  25700. "description": "合约单位",
  25701. "type": "number"
  25702. },
  25703. "buymaxqty": {
  25704. "description": "购买上限 [71] - 0为不限",
  25705. "type": "integer"
  25706. },
  25707. "buyorsell": {
  25708. "description": "买卖 - 0:买 1:卖",
  25709. "type": "integer"
  25710. },
  25711. "cancelqty": {
  25712. "description": "撤单数量",
  25713. "type": "integer"
  25714. },
  25715. "categoryid": {
  25716. "description": "类别ID(WRCATEGORY)",
  25717. "type": "integer"
  25718. },
  25719. "currency": {
  25720. "description": "货币",
  25721. "type": "string"
  25722. },
  25723. "currencysign": {
  25724. "description": "货币符号",
  25725. "type": "string"
  25726. },
  25727. "customername": {
  25728. "description": "卖家名称",
  25729. "type": "string"
  25730. },
  25731. "decimalplace": {
  25732. "description": "报价小数位",
  25733. "type": "integer"
  25734. },
  25735. "goodscode": {
  25736. "description": "商品代码(内部)",
  25737. "type": "string"
  25738. },
  25739. "goodsdesc": {
  25740. "description": "商品详情",
  25741. "type": "string"
  25742. },
  25743. "goodsid": {
  25744. "description": "商品ID",
  25745. "type": "integer"
  25746. },
  25747. "goodsname": {
  25748. "description": "商品名称",
  25749. "type": "string"
  25750. },
  25751. "goodsprice": {
  25752. "description": "商品价格",
  25753. "type": "number"
  25754. },
  25755. "hotindex": {
  25756. "description": "景点热度",
  25757. "type": "integer"
  25758. },
  25759. "lotsize": {
  25760. "description": "手数最小变动单位",
  25761. "type": "integer"
  25762. },
  25763. "marketid": {
  25764. "description": "市场ID",
  25765. "type": "integer"
  25766. },
  25767. "orderid": {
  25768. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25769. "type": "string"
  25770. },
  25771. "orderprice": {
  25772. "description": "委托价格",
  25773. "type": "number"
  25774. },
  25775. "orderqty": {
  25776. "description": "委托数量",
  25777. "type": "integer"
  25778. },
  25779. "orderstatus": {
  25780. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  25781. "type": "integer"
  25782. },
  25783. "picurls": {
  25784. "description": "介绍图片[多张用逗号分隔]",
  25785. "type": "string"
  25786. },
  25787. "quoteminunit": {
  25788. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25789. "type": "integer"
  25790. },
  25791. "sellUserID": {
  25792. "description": "卖方UserID",
  25793. "type": "integer"
  25794. },
  25795. "trademode": {
  25796. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25797. "type": "integer"
  25798. },
  25799. "tradeqty": {
  25800. "description": "成交数量",
  25801. "type": "integer"
  25802. },
  25803. "vendorattr": {
  25804. "description": "供应商附件(多张,逗号分隔)",
  25805. "type": "string"
  25806. },
  25807. "vendorname": {
  25808. "description": "供应商名称",
  25809. "type": "string"
  25810. },
  25811. "vendorphone": {
  25812. "description": "供应商客服电话",
  25813. "type": "string"
  25814. },
  25815. "videourls": {
  25816. "description": "介绍视频[多张用逗号分隔]",
  25817. "type": "string"
  25818. }
  25819. }
  25820. },
  25821. "models.HsbyMarketInfo": {
  25822. "type": "object",
  25823. "required": [
  25824. "marketid",
  25825. "marketstatus",
  25826. "trademode"
  25827. ],
  25828. "properties": {
  25829. "marketid": {
  25830. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  25831. "type": "integer"
  25832. },
  25833. "marketname": {
  25834. "description": "市场名称",
  25835. "type": "string"
  25836. },
  25837. "marketstatus": {
  25838. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  25839. "type": "integer"
  25840. },
  25841. "trademode": {
  25842. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25843. "type": "integer"
  25844. }
  25845. }
  25846. },
  25847. "models.HsbyMyGoods": {
  25848. "type": "object",
  25849. "required": [
  25850. "accountid",
  25851. "goodscode",
  25852. "goodsid",
  25853. "goodsname",
  25854. "marketid",
  25855. "trademode"
  25856. ],
  25857. "properties": {
  25858. "accountid": {
  25859. "description": "账号Id",
  25860. "type": "integer"
  25861. },
  25862. "agreeunit": {
  25863. "description": "合约单位",
  25864. "type": "number"
  25865. },
  25866. "buyaverageprice": {
  25867. "description": "持仓均价",
  25868. "type": "number"
  25869. },
  25870. "buycurholderamount": {
  25871. "description": "买当前持仓总金额[商品币种]",
  25872. "type": "number"
  25873. },
  25874. "buycurpositionqty": {
  25875. "description": "买当前持仓总数量",
  25876. "type": "integer"
  25877. },
  25878. "buymaxqty": {
  25879. "description": "购买上限 [71] - 0为不限",
  25880. "type": "integer"
  25881. },
  25882. "currencysign": {
  25883. "description": "货币符号",
  25884. "type": "string"
  25885. },
  25886. "decimalplace": {
  25887. "description": "报价小数位",
  25888. "type": "integer"
  25889. },
  25890. "enableqty": {
  25891. "description": "可用数量",
  25892. "type": "integer"
  25893. },
  25894. "goodscode": {
  25895. "description": "商品代码(内部)",
  25896. "type": "string"
  25897. },
  25898. "goodsid": {
  25899. "description": "商品Id",
  25900. "type": "integer"
  25901. },
  25902. "goodsname": {
  25903. "description": "商品名称",
  25904. "type": "string"
  25905. },
  25906. "goodsprice": {
  25907. "description": "商品价格",
  25908. "type": "number"
  25909. },
  25910. "goodsstatus": {
  25911. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  25912. "type": "integer"
  25913. },
  25914. "last": {
  25915. "description": "现价(仅使用于挂牌点选)",
  25916. "type": "number"
  25917. },
  25918. "limitdown": {
  25919. "description": "跌停价(仅使用于挂牌点选)",
  25920. "type": "number"
  25921. },
  25922. "limitup": {
  25923. "description": "涨停价(仅使用于挂牌点选)",
  25924. "type": "number"
  25925. },
  25926. "lotsize": {
  25927. "description": "手数最小变动单位",
  25928. "type": "integer"
  25929. },
  25930. "marketid": {
  25931. "description": "所属市场ID",
  25932. "type": "integer"
  25933. },
  25934. "picurls": {
  25935. "description": "介绍图片[多张用逗号分隔]",
  25936. "type": "string"
  25937. },
  25938. "quoteminunit": {
  25939. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25940. "type": "integer"
  25941. },
  25942. "stepvalue": {
  25943. "description": "价格最小变动单位",
  25944. "type": "number"
  25945. },
  25946. "trademode": {
  25947. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25948. "type": "integer"
  25949. }
  25950. }
  25951. },
  25952. "models.HsbyMyPackage": {
  25953. "type": "object",
  25954. "required": [
  25955. "goodscode",
  25956. "goodsname",
  25957. "takeorderid",
  25958. "trademode"
  25959. ],
  25960. "properties": {
  25961. "accountid": {
  25962. "description": "账户ID",
  25963. "type": "integer"
  25964. },
  25965. "address": {
  25966. "description": "提货人详细地址",
  25967. "type": "string"
  25968. },
  25969. "agreeunit": {
  25970. "description": "合约单位",
  25971. "type": "number"
  25972. },
  25973. "amount": {
  25974. "description": "提货金额",
  25975. "type": "number"
  25976. },
  25977. "auditer": {
  25978. "description": "审核人",
  25979. "type": "integer"
  25980. },
  25981. "audittime": {
  25982. "description": "审核时间",
  25983. "type": "string"
  25984. },
  25985. "averageprice": {
  25986. "description": "均价",
  25987. "type": "number"
  25988. },
  25989. "cardnum": {
  25990. "description": "提货人证件号码",
  25991. "type": "string"
  25992. },
  25993. "cardtypeid": {
  25994. "description": "提货人证件类型",
  25995. "type": "integer"
  25996. },
  25997. "checkremark": {
  25998. "description": "审核备注",
  25999. "type": "string"
  26000. },
  26001. "currencysign": {
  26002. "description": "货币符号",
  26003. "type": "string"
  26004. },
  26005. "decimalplace": {
  26006. "description": "报价小数位",
  26007. "type": "integer"
  26008. },
  26009. "goodscode": {
  26010. "description": "商品代码(内部)",
  26011. "type": "string"
  26012. },
  26013. "goodsid": {
  26014. "description": "商品ID",
  26015. "type": "integer"
  26016. },
  26017. "goodsname": {
  26018. "description": "商品名称",
  26019. "type": "string"
  26020. },
  26021. "handlestatus": {
  26022. "description": "处理状态",
  26023. "type": "integer"
  26024. },
  26025. "marketid": {
  26026. "description": "市场ID",
  26027. "type": "integer"
  26028. },
  26029. "phonenum": {
  26030. "description": "提货人联系方式",
  26031. "type": "string"
  26032. },
  26033. "picurls": {
  26034. "description": "介绍图片[多张用逗号分隔]",
  26035. "type": "string"
  26036. },
  26037. "qty": {
  26038. "description": "提货数量",
  26039. "type": "number"
  26040. },
  26041. "recivername": {
  26042. "description": "提货人姓名",
  26043. "type": "string"
  26044. },
  26045. "reqtime": {
  26046. "description": "更新时间",
  26047. "type": "string"
  26048. },
  26049. "takemode": {
  26050. "description": "提货方式 - 2:自提 3:配送",
  26051. "type": "integer"
  26052. },
  26053. "takeorderid": {
  26054. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  26055. "type": "string"
  26056. },
  26057. "takeorderstatus": {
  26058. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  26059. "type": "integer"
  26060. },
  26061. "takeremark": {
  26062. "description": "提货备注",
  26063. "type": "string"
  26064. },
  26065. "tradedate": {
  26066. "description": "交易日(yyyyMMdd)",
  26067. "type": "string"
  26068. },
  26069. "trademode": {
  26070. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26071. "type": "integer"
  26072. },
  26073. "userid": {
  26074. "description": "用户ID",
  26075. "type": "integer"
  26076. },
  26077. "vendorname": {
  26078. "description": "供应商名称",
  26079. "type": "string"
  26080. }
  26081. }
  26082. },
  26083. "models.HsbyPreGoods": {
  26084. "type": "object",
  26085. "required": [
  26086. "goodscode",
  26087. "goodsid",
  26088. "goodsname",
  26089. "marketid",
  26090. "trademode"
  26091. ],
  26092. "properties": {
  26093. "agreeunit": {
  26094. "description": "合约单位",
  26095. "type": "number"
  26096. },
  26097. "currency": {
  26098. "description": "货币",
  26099. "type": "string"
  26100. },
  26101. "currencysign": {
  26102. "description": "货币符号",
  26103. "type": "string"
  26104. },
  26105. "decimalplace": {
  26106. "description": "报价小数位",
  26107. "type": "integer"
  26108. },
  26109. "desccityid": {
  26110. "description": "目的地(市)",
  26111. "type": "integer"
  26112. },
  26113. "descprovinceid": {
  26114. "description": "目的地(省)",
  26115. "type": "integer"
  26116. },
  26117. "enableqty": {
  26118. "description": "剩余数量",
  26119. "type": "integer"
  26120. },
  26121. "goodscode": {
  26122. "description": "商品代码(内部)",
  26123. "type": "string"
  26124. },
  26125. "goodsid": {
  26126. "description": "商品ID(自增ID SEQ_GOODS)",
  26127. "type": "integer"
  26128. },
  26129. "goodsname": {
  26130. "description": "商品名称",
  26131. "type": "string"
  26132. },
  26133. "goodsstatus": {
  26134. "description": "商品状态- 2:未上市 3:上市",
  26135. "type": "integer"
  26136. },
  26137. "lasttradedate": {
  26138. "description": "最后交易日期(状态:待退市)",
  26139. "type": "string"
  26140. },
  26141. "listingdate": {
  26142. "description": "交易开始日期",
  26143. "type": "string"
  26144. },
  26145. "marketid": {
  26146. "description": "所属市场ID",
  26147. "type": "integer"
  26148. },
  26149. "picurls": {
  26150. "description": "介绍图片[多张用逗号分隔]",
  26151. "type": "string"
  26152. },
  26153. "presaledqty": {
  26154. "description": "已预售量(预售结束时更新)",
  26155. "type": "integer"
  26156. },
  26157. "presaleqty": {
  26158. "description": "预售数量",
  26159. "type": "integer"
  26160. },
  26161. "quoteminunit": {
  26162. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26163. "type": "integer"
  26164. },
  26165. "refprice": {
  26166. "description": "参考价格[一口价]",
  26167. "type": "number"
  26168. },
  26169. "relatedgoodsid": {
  26170. "description": "关联交易合约ID",
  26171. "type": "integer"
  26172. },
  26173. "trademode": {
  26174. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26175. "type": "integer"
  26176. },
  26177. "videourls": {
  26178. "description": "介绍视频[多张用逗号分隔]",
  26179. "type": "string"
  26180. }
  26181. }
  26182. },
  26183. "models.HsbyPreGoodsDetail": {
  26184. "type": "object",
  26185. "required": [
  26186. "goodscode",
  26187. "goodsid",
  26188. "goodsname",
  26189. "marketid",
  26190. "trademode"
  26191. ],
  26192. "properties": {
  26193. "agreeunit": {
  26194. "description": "合约单位",
  26195. "type": "number"
  26196. },
  26197. "buymaxqty": {
  26198. "description": "购买上限 [71] - 0为不限",
  26199. "type": "integer"
  26200. },
  26201. "currency": {
  26202. "description": "货币",
  26203. "type": "string"
  26204. },
  26205. "currencysign": {
  26206. "description": "货币符号",
  26207. "type": "string"
  26208. },
  26209. "customername": {
  26210. "description": "发行单位",
  26211. "type": "string"
  26212. },
  26213. "decimalplace": {
  26214. "description": "报价小数位",
  26215. "type": "integer"
  26216. },
  26217. "desccityid": {
  26218. "description": "目的地(市)ID",
  26219. "type": "integer"
  26220. },
  26221. "descprovinceid": {
  26222. "description": "目的地(省)ID",
  26223. "type": "integer"
  26224. },
  26225. "enableqty": {
  26226. "description": "剩余数量",
  26227. "type": "integer"
  26228. },
  26229. "goodscode": {
  26230. "description": "商品代码(内部)",
  26231. "type": "string"
  26232. },
  26233. "goodsdesc": {
  26234. "description": "商品详情",
  26235. "type": "string"
  26236. },
  26237. "goodsid": {
  26238. "description": "商品ID(自增ID SEQ_GOODS)",
  26239. "type": "integer"
  26240. },
  26241. "goodsname": {
  26242. "description": "商品名称",
  26243. "type": "string"
  26244. },
  26245. "goodsstatus": {
  26246. "description": "商品状态- 2:未上市 3:上市",
  26247. "type": "integer"
  26248. },
  26249. "goodunit": {
  26250. "description": "报价单位",
  26251. "type": "string"
  26252. },
  26253. "lasttradedate": {
  26254. "description": "最后交易日期(状态:待退市)",
  26255. "type": "string"
  26256. },
  26257. "listingdate": {
  26258. "description": "交易开始日期",
  26259. "type": "string"
  26260. },
  26261. "lotsize": {
  26262. "description": "手数最小变动单位",
  26263. "type": "integer"
  26264. },
  26265. "marketid": {
  26266. "description": "所属市场ID",
  26267. "type": "integer"
  26268. },
  26269. "picurls": {
  26270. "description": "介绍图片[多张用逗号分隔]",
  26271. "type": "string"
  26272. },
  26273. "presaledqty": {
  26274. "description": "已预售量(预售结束时更新)",
  26275. "type": "integer"
  26276. },
  26277. "presaleqty": {
  26278. "description": "预售数量",
  26279. "type": "integer"
  26280. },
  26281. "quoteminunit": {
  26282. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26283. "type": "integer"
  26284. },
  26285. "refprice": {
  26286. "description": "参考价格[一口价]",
  26287. "type": "number"
  26288. },
  26289. "relatedgoodsid": {
  26290. "description": "关联交易合约ID",
  26291. "type": "integer"
  26292. },
  26293. "stepvalue": {
  26294. "description": "价格最小变动单位",
  26295. "type": "number"
  26296. },
  26297. "trademode": {
  26298. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26299. "type": "integer"
  26300. },
  26301. "vendorattr": {
  26302. "description": "供应商附件(多张,逗号分隔)",
  26303. "type": "string"
  26304. },
  26305. "vendorname": {
  26306. "description": "供应商名称",
  26307. "type": "string"
  26308. },
  26309. "vendorphone": {
  26310. "description": "供应商客服电话",
  26311. "type": "string"
  26312. },
  26313. "videourls": {
  26314. "description": "介绍视频[多张用逗号分隔]",
  26315. "type": "string"
  26316. }
  26317. }
  26318. },
  26319. "models.HsbySellCollectionOrder": {
  26320. "type": "object",
  26321. "required": [
  26322. "goodscode",
  26323. "goodsname",
  26324. "tradeid",
  26325. "trademode"
  26326. ],
  26327. "properties": {
  26328. "agreeunit": {
  26329. "description": "合约单位",
  26330. "type": "number"
  26331. },
  26332. "buyaccountid": {
  26333. "description": "买方账号ID[报价币种]",
  26334. "type": "integer"
  26335. },
  26336. "buyorderid": {
  26337. "description": "买方委托单号",
  26338. "type": "string"
  26339. },
  26340. "createtime": {
  26341. "description": "创建时间",
  26342. "type": "string"
  26343. },
  26344. "currencysign": {
  26345. "description": "货币符号",
  26346. "type": "string"
  26347. },
  26348. "decimalplace": {
  26349. "description": "报价小数位",
  26350. "type": "integer"
  26351. },
  26352. "goodscode": {
  26353. "description": "商品代码(内部)",
  26354. "type": "string"
  26355. },
  26356. "goodsid": {
  26357. "description": "商品ID",
  26358. "type": "integer"
  26359. },
  26360. "goodsname": {
  26361. "description": "商品名称",
  26362. "type": "string"
  26363. },
  26364. "marketid": {
  26365. "description": "市场ID",
  26366. "type": "integer"
  26367. },
  26368. "offamount": {
  26369. "description": "优惠金额",
  26370. "type": "number"
  26371. },
  26372. "payamount": {
  26373. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  26374. "type": "number"
  26375. },
  26376. "payflag": {
  26377. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26378. "type": "integer"
  26379. },
  26380. "paylimitedtime": {
  26381. "description": "支付期限",
  26382. "type": "string"
  26383. },
  26384. "paytime": {
  26385. "description": "付款时间",
  26386. "type": "string"
  26387. },
  26388. "picurls": {
  26389. "description": "商品介绍图片[多张用逗号分隔]",
  26390. "type": "string"
  26391. },
  26392. "sellaccountid": {
  26393. "description": "卖方账号ID[报价币种]",
  26394. "type": "integer"
  26395. },
  26396. "sellorderid": {
  26397. "description": "卖方委托单号",
  26398. "type": "string"
  26399. },
  26400. "tradeamount": {
  26401. "description": "成交金额",
  26402. "type": "number"
  26403. },
  26404. "tradecharge": {
  26405. "description": "成交手续费(买方)",
  26406. "type": "number"
  26407. },
  26408. "tradedate": {
  26409. "description": "交易日(yyyyMMdd)",
  26410. "type": "string"
  26411. },
  26412. "tradeid": {
  26413. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26414. "type": "string"
  26415. },
  26416. "trademode": {
  26417. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26418. "type": "integer"
  26419. },
  26420. "tradeprice": {
  26421. "description": "成交价格",
  26422. "type": "number"
  26423. },
  26424. "tradeqty": {
  26425. "description": "成交数量",
  26426. "type": "integer"
  26427. }
  26428. }
  26429. },
  26430. "models.HsbySellMyDetail": {
  26431. "type": "object",
  26432. "required": [
  26433. "accountid",
  26434. "buyorsell",
  26435. "goodscode",
  26436. "goodsid",
  26437. "goodsname",
  26438. "marketid",
  26439. "orderid",
  26440. "time",
  26441. "trademode"
  26442. ],
  26443. "properties": {
  26444. "accountid": {
  26445. "description": "账户ID[报价币种]",
  26446. "type": "integer"
  26447. },
  26448. "agreeunit": {
  26449. "description": "合约单位",
  26450. "type": "number"
  26451. },
  26452. "buyorsell": {
  26453. "description": "买卖 - 0:买 1:卖",
  26454. "type": "integer"
  26455. },
  26456. "currencysign": {
  26457. "description": "货币符号",
  26458. "type": "string"
  26459. },
  26460. "decimalplace": {
  26461. "description": "报价小数位",
  26462. "type": "integer"
  26463. },
  26464. "goodscode": {
  26465. "description": "商品代码(内部)",
  26466. "type": "string"
  26467. },
  26468. "goodsid": {
  26469. "description": "商品ID",
  26470. "type": "integer"
  26471. },
  26472. "goodsname": {
  26473. "description": "商品名称",
  26474. "type": "string"
  26475. },
  26476. "marketid": {
  26477. "description": "市场ID",
  26478. "type": "integer"
  26479. },
  26480. "orderid": {
  26481. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  26482. "type": "string"
  26483. },
  26484. "ordertype": {
  26485. "description": "单据类型:0 - 发布中, 1 - 已完成",
  26486. "type": "integer"
  26487. },
  26488. "picurls": {
  26489. "description": "介绍图片[多张用逗号分隔]",
  26490. "type": "string"
  26491. },
  26492. "price": {
  26493. "description": "价格",
  26494. "type": "number"
  26495. },
  26496. "qty": {
  26497. "description": "数量",
  26498. "type": "integer"
  26499. },
  26500. "time": {
  26501. "description": "时间",
  26502. "type": "string"
  26503. },
  26504. "trademode": {
  26505. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26506. "type": "integer"
  26507. },
  26508. "vendorname": {
  26509. "description": "供应商名称",
  26510. "type": "string"
  26511. }
  26512. }
  26513. },
  26514. "models.HsbyTopGoods": {
  26515. "type": "object",
  26516. "required": [
  26517. "goodscode",
  26518. "goodsid",
  26519. "goodsname",
  26520. "marketid",
  26521. "trademode"
  26522. ],
  26523. "properties": {
  26524. "agreeunit": {
  26525. "description": "合约单位",
  26526. "type": "number"
  26527. },
  26528. "currency": {
  26529. "description": "货币",
  26530. "type": "string"
  26531. },
  26532. "currencysign": {
  26533. "description": "货币符号",
  26534. "type": "string"
  26535. },
  26536. "decimalplace": {
  26537. "description": "报价小数位",
  26538. "type": "integer"
  26539. },
  26540. "desccityid": {
  26541. "description": "目的地(市)",
  26542. "type": "integer"
  26543. },
  26544. "descprovinceid": {
  26545. "description": "目的地(省)",
  26546. "type": "integer"
  26547. },
  26548. "goodscode": {
  26549. "description": "商品代码(内部)",
  26550. "type": "string"
  26551. },
  26552. "goodsid": {
  26553. "description": "商品ID(自增ID SEQ_GOODS)",
  26554. "type": "integer"
  26555. },
  26556. "goodsname": {
  26557. "description": "商品名称",
  26558. "type": "string"
  26559. },
  26560. "hotindex": {
  26561. "description": "景点热度",
  26562. "type": "integer"
  26563. },
  26564. "last": {
  26565. "description": "现价",
  26566. "type": "number"
  26567. },
  26568. "marketid": {
  26569. "description": "所属市场ID",
  26570. "type": "integer"
  26571. },
  26572. "picurls": {
  26573. "description": "介绍图片[多张用逗号分隔]",
  26574. "type": "string"
  26575. },
  26576. "quoteminunit": {
  26577. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26578. "type": "integer"
  26579. },
  26580. "trademode": {
  26581. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26582. "type": "integer"
  26583. },
  26584. "videourls": {
  26585. "description": "介绍视频[多张用逗号分隔]",
  26586. "type": "string"
  26587. }
  26588. }
  26589. },
  26590. "models.HybsMyBuyOrderDetail": {
  26591. "type": "object",
  26592. "required": [
  26593. "accountid",
  26594. "buyorsell",
  26595. "goodscode",
  26596. "goodsid",
  26597. "goodsname",
  26598. "marketid",
  26599. "orderid",
  26600. "orderqty",
  26601. "ordertime",
  26602. "trademode"
  26603. ],
  26604. "properties": {
  26605. "accountid": {
  26606. "description": "账户ID[报价币种]",
  26607. "type": "integer"
  26608. },
  26609. "agreeunit": {
  26610. "description": "合约单位",
  26611. "type": "number"
  26612. },
  26613. "buyorsell": {
  26614. "description": "买卖 - 0:买 1:卖",
  26615. "type": "integer"
  26616. },
  26617. "cancelqty": {
  26618. "description": "撤单数量",
  26619. "type": "integer"
  26620. },
  26621. "currencysign": {
  26622. "description": "货币符号",
  26623. "type": "string"
  26624. },
  26625. "decimalplace": {
  26626. "description": "报价小数位",
  26627. "type": "integer"
  26628. },
  26629. "goodscode": {
  26630. "description": "商品代码(内部)",
  26631. "type": "string"
  26632. },
  26633. "goodsid": {
  26634. "description": "商品ID",
  26635. "type": "integer"
  26636. },
  26637. "goodsname": {
  26638. "description": "商品名称",
  26639. "type": "string"
  26640. },
  26641. "listingselecttype": {
  26642. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  26643. "type": "integer"
  26644. },
  26645. "marketid": {
  26646. "description": "市场ID",
  26647. "type": "integer"
  26648. },
  26649. "mybuystatus": {
  26650. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  26651. "type": "integer"
  26652. },
  26653. "orderamount": {
  26654. "description": "委托金额",
  26655. "type": "number"
  26656. },
  26657. "orderid": {
  26658. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26659. "type": "string"
  26660. },
  26661. "orderprice": {
  26662. "description": "委托价格",
  26663. "type": "number"
  26664. },
  26665. "orderqty": {
  26666. "description": "委托数量",
  26667. "type": "integer"
  26668. },
  26669. "orderstatus": {
  26670. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26671. "type": "integer"
  26672. },
  26673. "ordertime": {
  26674. "description": "委托时间",
  26675. "type": "string"
  26676. },
  26677. "picurls1": {
  26678. "description": "预售商品介绍图片[多张用逗号分隔]",
  26679. "type": "string"
  26680. },
  26681. "picurls2": {
  26682. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  26683. "type": "string"
  26684. },
  26685. "trademode": {
  26686. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26687. "type": "integer"
  26688. },
  26689. "tradeqty": {
  26690. "description": "成交数量",
  26691. "type": "integer"
  26692. },
  26693. "vendorname1": {
  26694. "description": "预售商品供应商名称",
  26695. "type": "string"
  26696. },
  26697. "vendorname2": {
  26698. "description": "挂牌商品供应商名称",
  26699. "type": "string"
  26700. }
  26701. }
  26702. },
  26703. "models.Loginaccount": {
  26704. "type": "object",
  26705. "required": [
  26706. "loginid"
  26707. ],
  26708. "properties": {
  26709. "accountname": {
  26710. "description": "账户名称",
  26711. "type": "string"
  26712. },
  26713. "canoutin": {
  26714. "description": "是否可出入金 - 0:不可 1:可",
  26715. "type": "integer"
  26716. },
  26717. "clientroleid": {
  26718. "description": "终端角色ID",
  26719. "type": "integer"
  26720. },
  26721. "haslogined": {
  26722. "description": "是否已登录 - 0:未登录 1:已登录",
  26723. "type": "integer"
  26724. },
  26725. "hasupdatedpwd": {
  26726. "description": "是否已更改密码 - 0:未修改 1:已修改",
  26727. "type": "integer"
  26728. },
  26729. "lastloginip": {
  26730. "description": "最新登录地址",
  26731. "type": "string"
  26732. },
  26733. "lastloginmode": {
  26734. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  26735. "type": "integer"
  26736. },
  26737. "lastloginremark": {
  26738. "description": "最新登录描述",
  26739. "type": "string"
  26740. },
  26741. "lastlogintime": {
  26742. "description": "最新登录时间",
  26743. "type": "string"
  26744. },
  26745. "logincode": {
  26746. "description": "登录代码",
  26747. "type": "string"
  26748. },
  26749. "loginfailnum": {
  26750. "description": "连续登录失败次数(登录成功时清零)",
  26751. "type": "integer"
  26752. },
  26753. "loginid": {
  26754. "description": "登陆账号",
  26755. "type": "integer"
  26756. },
  26757. "loginport": {
  26758. "description": "最新登录端口",
  26759. "type": "integer"
  26760. },
  26761. "loginstatus": {
  26762. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  26763. "type": "integer"
  26764. },
  26765. "loginusertype": {
  26766. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  26767. "type": "integer"
  26768. },
  26769. "mobile": {
  26770. "description": "手机号码(加密存储)",
  26771. "type": "string"
  26772. },
  26773. "modifierid": {
  26774. "description": "修改人",
  26775. "type": "integer"
  26776. },
  26777. "modifysrc": {
  26778. "description": "审核来源 - 1:管理端 2:终端",
  26779. "type": "integer"
  26780. },
  26781. "modifytime": {
  26782. "description": "修改时间",
  26783. "type": "string"
  26784. },
  26785. "password": {
  26786. "description": "登陆密码",
  26787. "type": "string"
  26788. },
  26789. "pwdwrongcount": {
  26790. "description": "密码错误次数",
  26791. "type": "integer"
  26792. },
  26793. "relateduserid": {
  26794. "description": "关联用户ID(机构)",
  26795. "type": "integer"
  26796. },
  26797. "taaccountrighttype": {
  26798. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  26799. "type": "integer"
  26800. },
  26801. "unfreezetime": {
  26802. "description": "账户解冻时间",
  26803. "type": "string"
  26804. },
  26805. "userid": {
  26806. "description": "用户ID",
  26807. "type": "integer"
  26808. }
  26809. }
  26810. },
  26811. "models.MainAccountInfo": {
  26812. "type": "object",
  26813. "properties": {
  26814. "accountid": {
  26815. "description": "账号id",
  26816. "type": "integer"
  26817. },
  26818. "accountname": {
  26819. "description": "账号名称(taaccount表中的名称)",
  26820. "type": "string"
  26821. },
  26822. "appid": {
  26823. "description": "AppID",
  26824. "type": "string"
  26825. },
  26826. "authcode": {
  26827. "description": "授权码",
  26828. "type": "string"
  26829. },
  26830. "brokerid": {
  26831. "description": "经纪商id",
  26832. "type": "string"
  26833. },
  26834. "fcid": {
  26835. "description": "期货公司id",
  26836. "type": "integer"
  26837. },
  26838. "fcname": {
  26839. "description": "期货公司代码",
  26840. "type": "string"
  26841. },
  26842. "hedgeaccountcode": {
  26843. "description": "外部账号代码(主账号登录代码)",
  26844. "type": "string"
  26845. },
  26846. "hedgeaccountpwd": {
  26847. "description": "密码",
  26848. "type": "string"
  26849. },
  26850. "ismain": {
  26851. "description": "是否主账号",
  26852. "type": "integer"
  26853. },
  26854. "relateduserid": {
  26855. "description": "关联用户id",
  26856. "type": "integer"
  26857. },
  26858. "userid": {
  26859. "description": "关联用户id",
  26860. "type": "integer"
  26861. }
  26862. }
  26863. },
  26864. "models.Market": {
  26865. "type": "object",
  26866. "required": [
  26867. "marketid",
  26868. "marketstatus",
  26869. "openmethod",
  26870. "reckonpricealgorithm",
  26871. "trademode",
  26872. "tradeproperty"
  26873. ],
  26874. "properties": {
  26875. "auctionwrtype": {
  26876. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  26877. "type": "integer"
  26878. },
  26879. "canacceptquote": {
  26880. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  26881. "type": "integer"
  26882. },
  26883. "cangoodsexercise": {
  26884. "description": "[期权]是否可现货行权- 0:否 1:是",
  26885. "type": "integer"
  26886. },
  26887. "cangoodsexercisetype": {
  26888. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  26889. "type": "integer"
  26890. },
  26891. "canmanualquotestrike": {
  26892. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  26893. "type": "integer"
  26894. },
  26895. "canmutistage": {
  26896. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  26897. "type": "integer"
  26898. },
  26899. "canpreexercise": {
  26900. "description": "[期权]是否可预申报- 0:否 1:是",
  26901. "type": "integer"
  26902. },
  26903. "clearinterval": {
  26904. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  26905. "type": "integer"
  26906. },
  26907. "contracttmp": {
  26908. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  26909. "type": "string"
  26910. },
  26911. "exchareaid": {
  26912. "description": "所属交易所,可以没有",
  26913. "type": "integer"
  26914. },
  26915. "goodstype": {
  26916. "description": "商品类型 - 1:交易商品 2:仓单商品",
  26917. "type": "integer"
  26918. },
  26919. "hasrebate": {
  26920. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  26921. "type": "integer"
  26922. },
  26923. "hastradecredit": {
  26924. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  26925. "type": "integer"
  26926. },
  26927. "haswr": {
  26928. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  26929. "type": "integer"
  26930. },
  26931. "isdeductmargin": {
  26932. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  26933. "type": "integer"
  26934. },
  26935. "isrecordsource": {
  26936. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  26937. "type": "integer"
  26938. },
  26939. "isreleasemargin": {
  26940. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  26941. "type": "integer"
  26942. },
  26943. "marginformula": {
  26944. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  26945. "type": "integer"
  26946. },
  26947. "marginformula2": {
  26948. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  26949. "type": "integer"
  26950. },
  26951. "marketid": {
  26952. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  26953. "type": "integer"
  26954. },
  26955. "marketname": {
  26956. "description": "市场名称",
  26957. "type": "string"
  26958. },
  26959. "marketserviceid": {
  26960. "description": "市场服务ID",
  26961. "type": "integer"
  26962. },
  26963. "marketstatus": {
  26964. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  26965. "type": "integer"
  26966. },
  26967. "markettype": {
  26968. "description": "市场类型- 1:非交易服务 2:交易服务",
  26969. "type": "integer"
  26970. },
  26971. "matchermode": {
  26972. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  26973. "type": "integer"
  26974. },
  26975. "openmethod": {
  26976. "description": "开盘模式 - 0 自动 1手动",
  26977. "type": "integer"
  26978. },
  26979. "otcuserid": {
  26980. "description": "场外期权做市商[场外期权]",
  26981. "type": "integer"
  26982. },
  26983. "outersynctime": {
  26984. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  26985. "type": "string"
  26986. },
  26987. "pendingflag": {
  26988. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  26989. "type": "integer"
  26990. },
  26991. "pendingtime": {
  26992. "description": "待开市时间[通道交易-对冲](HH:mm)",
  26993. "type": "string"
  26994. },
  26995. "performancetempid": {
  26996. "description": "履约计划模板ID - 作废",
  26997. "type": "integer"
  26998. },
  26999. "premiumquotemode": {
  27000. "description": "权利金报价方式 - 1:自动 2:手动",
  27001. "type": "integer"
  27002. },
  27003. "rebateratio": {
  27004. "description": "返利比率[竞价式]",
  27005. "type": "number"
  27006. },
  27007. "reckonorder": {
  27008. "description": "结算顺序",
  27009. "type": "integer"
  27010. },
  27011. "reckonpricealgorithm": {
  27012. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  27013. "type": "integer"
  27014. },
  27015. "reckonpriceparam": {
  27016. "description": "结算价参数",
  27017. "type": "integer"
  27018. },
  27019. "reckontime": {
  27020. "description": "结算时间[通道交易-对冲](HH:mm)",
  27021. "type": "string"
  27022. },
  27023. "roleprioritytype": {
  27024. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  27025. "type": "integer"
  27026. },
  27027. "selllistingauditflag": {
  27028. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  27029. "type": "integer"
  27030. },
  27031. "trademarkettype": {
  27032. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  27033. "type": "integer"
  27034. },
  27035. "trademode": {
  27036. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27037. "type": "integer"
  27038. },
  27039. "tradeproperty": {
  27040. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  27041. "type": "integer"
  27042. },
  27043. "tradetype": {
  27044. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  27045. "type": "integer"
  27046. }
  27047. }
  27048. },
  27049. "models.Marketrun": {
  27050. "type": "object",
  27051. "required": [
  27052. "marketid",
  27053. "nexttradedate",
  27054. "reckonflag",
  27055. "runstatus",
  27056. "tradedate",
  27057. "tradedate2"
  27058. ],
  27059. "properties": {
  27060. "afternexttradedate": {
  27061. "description": "下下交易日",
  27062. "type": "string"
  27063. },
  27064. "clearquoteflag": {
  27065. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  27066. "type": "integer"
  27067. },
  27068. "lastreckondate": {
  27069. "description": "最新交易日(结算成功)",
  27070. "type": "string"
  27071. },
  27072. "machinedate": {
  27073. "description": "机器时间",
  27074. "type": "string"
  27075. },
  27076. "manualflag": {
  27077. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  27078. "type": "integer"
  27079. },
  27080. "marketid": {
  27081. "description": "市场ID",
  27082. "type": "integer"
  27083. },
  27084. "nexttradedate": {
  27085. "description": "下一交易日",
  27086. "type": "string"
  27087. },
  27088. "pretradedate": {
  27089. "description": "上一交易日",
  27090. "type": "string"
  27091. },
  27092. "reckonflag": {
  27093. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  27094. "type": "integer"
  27095. },
  27096. "runstatus": {
  27097. "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.今日免清算",
  27098. "type": "integer"
  27099. },
  27100. "sectionid": {
  27101. "description": "时间段号[多时段时用]",
  27102. "type": "integer"
  27103. },
  27104. "tradedate": {
  27105. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  27106. "type": "string"
  27107. },
  27108. "tradedate2": {
  27109. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  27110. "type": "string"
  27111. },
  27112. "updatetime": {
  27113. "description": "更新时间",
  27114. "type": "string"
  27115. }
  27116. }
  27117. },
  27118. "models.Messageboard": {
  27119. "type": "object",
  27120. "required": [
  27121. "messageboardid"
  27122. ],
  27123. "properties": {
  27124. "contactnum": {
  27125. "description": "联系电话",
  27126. "type": "string"
  27127. },
  27128. "createtime": {
  27129. "description": "创建时间",
  27130. "type": "string"
  27131. },
  27132. "message": {
  27133. "description": "留言信息",
  27134. "type": "string"
  27135. },
  27136. "messageboardid": {
  27137. "description": "留言簿ID(SEQ_MessageBoard)",
  27138. "type": "integer"
  27139. },
  27140. "userid": {
  27141. "description": "用户ID",
  27142. "type": "integer"
  27143. }
  27144. }
  27145. },
  27146. "models.MyCoupon": {
  27147. "type": "object",
  27148. "required": [
  27149. "accountid",
  27150. "coupontypeid"
  27151. ],
  27152. "properties": {
  27153. "accountid": {
  27154. "description": "资金账户ID",
  27155. "type": "integer"
  27156. },
  27157. "areauserid": {
  27158. "description": "所属机构",
  27159. "type": "integer"
  27160. },
  27161. "conditionvalue": {
  27162. "description": "条件阈值(可为0)",
  27163. "type": "number"
  27164. },
  27165. "couponcategroy": {
  27166. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  27167. "type": "integer"
  27168. },
  27169. "couponname": {
  27170. "description": "优惠券名称",
  27171. "type": "string"
  27172. },
  27173. "coupontypeid": {
  27174. "description": "优惠券类型ID",
  27175. "type": "string"
  27176. },
  27177. "couponvalue": {
  27178. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27179. "type": "number"
  27180. },
  27181. "curfreezeqty": {
  27182. "description": "期末冻结数量",
  27183. "type": "integer"
  27184. },
  27185. "curqty": {
  27186. "description": "期末数量",
  27187. "type": "integer"
  27188. },
  27189. "isgeneral": {
  27190. "description": "是否通用券 - 0:否 1:是",
  27191. "type": "integer"
  27192. },
  27193. "isunusable": {
  27194. "description": "是否不可用",
  27195. "type": "boolean"
  27196. },
  27197. "limitedflag": {
  27198. "description": "是否指定商品 - 0:不限 1:限制",
  27199. "type": "integer"
  27200. },
  27201. "limitedgoodsids": {
  27202. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  27203. "type": "string"
  27204. },
  27205. "orifreezeqty": {
  27206. "description": "期初冻结数量",
  27207. "type": "integer"
  27208. },
  27209. "oriqty": {
  27210. "description": "期初数量",
  27211. "type": "integer"
  27212. },
  27213. "reasontype": {
  27214. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  27215. "type": "integer"
  27216. },
  27217. "todaydecrease": {
  27218. "description": "今日减少",
  27219. "type": "integer"
  27220. },
  27221. "todayincrease": {
  27222. "description": "今日增加",
  27223. "type": "integer"
  27224. },
  27225. "userid": {
  27226. "description": "用户ID",
  27227. "type": "integer"
  27228. },
  27229. "userscope": {
  27230. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  27231. "type": "string"
  27232. }
  27233. }
  27234. },
  27235. "models.MyCouponHold": {
  27236. "type": "object",
  27237. "required": [
  27238. "couponholdid"
  27239. ],
  27240. "properties": {
  27241. "accountid": {
  27242. "description": "资金账户ID",
  27243. "type": "integer"
  27244. },
  27245. "conditionvalue": {
  27246. "description": "条件阈值(可为0)",
  27247. "type": "number"
  27248. },
  27249. "couponcategroy": {
  27250. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  27251. "type": "integer"
  27252. },
  27253. "couponholdid": {
  27254. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  27255. "type": "string"
  27256. },
  27257. "couponname": {
  27258. "description": "优惠券名称",
  27259. "type": "string"
  27260. },
  27261. "coupontypeid": {
  27262. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  27263. "type": "string"
  27264. },
  27265. "couponvalue": {
  27266. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27267. "type": "number"
  27268. },
  27269. "createtime": {
  27270. "description": "创建时间",
  27271. "type": "string"
  27272. },
  27273. "enddate": {
  27274. "description": "结束日期",
  27275. "type": "string"
  27276. },
  27277. "giveapplyid": {
  27278. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  27279. "type": "integer"
  27280. },
  27281. "holdstatus": {
  27282. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  27283. "type": "integer"
  27284. },
  27285. "isgeneral": {
  27286. "description": "是否通用券 - 0:否 1:是",
  27287. "type": "integer"
  27288. },
  27289. "limitedflag": {
  27290. "description": "是否指定商品 - 0:不限 1:限制",
  27291. "type": "integer"
  27292. },
  27293. "limitedgoodsids": {
  27294. "description": "指定商品IDs[逗号分隔]",
  27295. "type": "string"
  27296. },
  27297. "qty": {
  27298. "description": "数量(按1平铺)",
  27299. "type": "integer"
  27300. },
  27301. "startdate": {
  27302. "description": "开始日期",
  27303. "type": "string"
  27304. },
  27305. "userid": {
  27306. "description": "用户ID",
  27307. "type": "integer"
  27308. },
  27309. "userscope": {
  27310. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  27311. "type": "string"
  27312. }
  27313. }
  27314. },
  27315. "models.MyUsedCoupon": {
  27316. "type": "object",
  27317. "required": [
  27318. "coupontypeid",
  27319. "orderid"
  27320. ],
  27321. "properties": {
  27322. "accountid": {
  27323. "description": "资金账户ID(买方)",
  27324. "type": "integer"
  27325. },
  27326. "conditionvalue": {
  27327. "description": "条件阈值(可为0)",
  27328. "type": "number"
  27329. },
  27330. "couponcategroy": {
  27331. "description": "种类 - 1:现金券 2:折扣券",
  27332. "type": "integer"
  27333. },
  27334. "couponname": {
  27335. "description": "优惠券名称",
  27336. "type": "string"
  27337. },
  27338. "coupontypeid": {
  27339. "description": "优惠券类型ID(买方)",
  27340. "type": "string"
  27341. },
  27342. "couponvalue": {
  27343. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  27344. "type": "number"
  27345. },
  27346. "createtime": {
  27347. "description": "创建时间",
  27348. "type": "string"
  27349. },
  27350. "goodsid": {
  27351. "description": "商品ID",
  27352. "type": "integer"
  27353. },
  27354. "handlestatus": {
  27355. "description": "处理状态",
  27356. "type": "integer"
  27357. },
  27358. "marketid": {
  27359. "description": "市场ID",
  27360. "type": "integer"
  27361. },
  27362. "offamount": {
  27363. "description": "优惠金额",
  27364. "type": "number"
  27365. },
  27366. "orderid": {
  27367. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27368. "type": "string"
  27369. },
  27370. "sellaccountid": {
  27371. "description": "资金账户ID(卖方)",
  27372. "type": "integer"
  27373. },
  27374. "tradeamount": {
  27375. "description": "成交金额",
  27376. "type": "number"
  27377. },
  27378. "tradeid": {
  27379. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27380. "type": "string"
  27381. },
  27382. "usedqty": {
  27383. "description": "使用数量",
  27384. "type": "integer"
  27385. }
  27386. }
  27387. },
  27388. "models.OperationPrimaryMenu": {
  27389. "type": "object",
  27390. "properties": {
  27391. "Children": {
  27392. "description": "二级功能菜单",
  27393. "type": "array",
  27394. "items": {
  27395. "$ref": "#/definitions/models.OperationSecondaryMenu"
  27396. }
  27397. },
  27398. "Key": {
  27399. "description": "菜单KEY",
  27400. "type": "string"
  27401. },
  27402. "Label": {
  27403. "description": "菜单标题",
  27404. "type": "string"
  27405. }
  27406. }
  27407. },
  27408. "models.OperationSecondaryMenu": {
  27409. "type": "object",
  27410. "properties": {
  27411. "Key": {
  27412. "description": "菜单KEY",
  27413. "type": "string"
  27414. },
  27415. "Label": {
  27416. "description": "菜单标题",
  27417. "type": "string"
  27418. },
  27419. "TabList": {
  27420. "description": "三级功能菜单",
  27421. "type": "array",
  27422. "items": {
  27423. "$ref": "#/definitions/models.OperationTabMenu"
  27424. }
  27425. }
  27426. }
  27427. },
  27428. "models.OperationTabMenu": {
  27429. "type": "object",
  27430. "properties": {
  27431. "Key": {
  27432. "description": "菜单KEY",
  27433. "type": "string"
  27434. },
  27435. "Label": {
  27436. "description": "菜单标题",
  27437. "type": "string"
  27438. }
  27439. }
  27440. },
  27441. "models.QhjAccountOutInApply": {
  27442. "type": "object",
  27443. "properties": {
  27444. "accountcode": {
  27445. "description": "资金账号",
  27446. "type": "string"
  27447. },
  27448. "accountname": {
  27449. "description": "用户名称(名称)",
  27450. "type": "string"
  27451. },
  27452. "accountpwd": {
  27453. "description": "资金密码",
  27454. "type": "string"
  27455. },
  27456. "accountticket": {
  27457. "description": "最新账户服务流水号",
  27458. "type": "string"
  27459. },
  27460. "amount": {
  27461. "description": "金额",
  27462. "type": "number"
  27463. },
  27464. "applyremark": {
  27465. "description": "申请备注",
  27466. "type": "string"
  27467. },
  27468. "applystatus": {
  27469. "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: 复审通过,账户冻结金额检查中;",
  27470. "type": "integer"
  27471. },
  27472. "auditid": {
  27473. "description": "审核人",
  27474. "type": "integer"
  27475. },
  27476. "audittime": {
  27477. "description": "审核时间",
  27478. "type": "string"
  27479. },
  27480. "bank_apply_ticket": {
  27481. "description": "银行申请流水",
  27482. "type": "string"
  27483. },
  27484. "bankaccountname": {
  27485. "description": "银行账户名",
  27486. "type": "string"
  27487. },
  27488. "bankaccountno": {
  27489. "description": "银行卡号",
  27490. "type": "string"
  27491. },
  27492. "bankid": {
  27493. "description": "银行编号",
  27494. "type": "string"
  27495. },
  27496. "bankticket": {
  27497. "description": "银行流水",
  27498. "type": "string"
  27499. },
  27500. "branchbankid": {
  27501. "description": "银行支行号",
  27502. "type": "string"
  27503. },
  27504. "branchbankname": {
  27505. "description": "银行支行名称",
  27506. "type": "string"
  27507. },
  27508. "capamountout": {
  27509. "description": "出金(劣后本金) - 外部子账户",
  27510. "type": "number"
  27511. },
  27512. "certificatephotourl": {
  27513. "description": "凭证地址",
  27514. "type": "string"
  27515. },
  27516. "charge": {
  27517. "description": "手续费",
  27518. "type": "number"
  27519. },
  27520. "checkerrorflag": {
  27521. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  27522. "type": "integer"
  27523. },
  27524. "currency": {
  27525. "description": "币种",
  27526. "type": "string"
  27527. },
  27528. "cusbankid": {
  27529. "description": "托管银行编号",
  27530. "type": "string"
  27531. },
  27532. "exchticket": {
  27533. "description": "银行服务流水号",
  27534. "type": "string"
  27535. },
  27536. "executetype": {
  27537. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  27538. "type": "integer"
  27539. },
  27540. "extendinfo": {
  27541. "description": "扩展信息",
  27542. "type": "string"
  27543. },
  27544. "extoperateid": {
  27545. "description": "交易服务流水号",
  27546. "type": "integer"
  27547. },
  27548. "infamount": {
  27549. "description": "劣后金额(自有)",
  27550. "type": "number"
  27551. },
  27552. "logincode": {
  27553. "description": "登录账号(账号)",
  27554. "type": "string"
  27555. },
  27556. "netaddr": {
  27557. "description": "调转网址",
  27558. "type": "string"
  27559. },
  27560. "priamount": {
  27561. "description": "优先金额(授信)",
  27562. "type": "number"
  27563. },
  27564. "reauditid": {
  27565. "description": "复审人",
  27566. "type": "integer"
  27567. },
  27568. "reauditremark": {
  27569. "description": "复审备注",
  27570. "type": "string"
  27571. },
  27572. "reaudittime": {
  27573. "description": "复审时间",
  27574. "type": "string"
  27575. },
  27576. "relatedorderid": {
  27577. "description": "三方关联ID",
  27578. "type": "string"
  27579. },
  27580. "remark": {
  27581. "description": "备注",
  27582. "type": "string"
  27583. },
  27584. "remark2": {
  27585. "description": "备注(失败原因)",
  27586. "type": "string"
  27587. },
  27588. "soucreamount": {
  27589. "description": "原始出入金金额",
  27590. "type": "number"
  27591. },
  27592. "soucrecurrencyid": {
  27593. "description": "原始出入金币种",
  27594. "type": "integer"
  27595. },
  27596. "tradedate": {
  27597. "description": "交易日(yyyyMMdd)",
  27598. "type": "string"
  27599. },
  27600. "updatetime": {
  27601. "description": "更新时间(申请时间)",
  27602. "type": "string"
  27603. },
  27604. "userid": {
  27605. "description": "用户id",
  27606. "type": "integer"
  27607. },
  27608. "userinfotype": {
  27609. "description": "账户类型 1-个人 2-企业",
  27610. "type": "integer"
  27611. }
  27612. }
  27613. },
  27614. "models.QhjAgreementChangeLog": {
  27615. "type": "object",
  27616. "properties": {
  27617. "agreementcontent": {
  27618. "description": "协议内容",
  27619. "type": "string"
  27620. },
  27621. "agreementfrequency": {
  27622. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  27623. "type": "integer"
  27624. },
  27625. "agreementid": {
  27626. "description": "协议ID",
  27627. "type": "integer"
  27628. },
  27629. "agreementname": {
  27630. "description": "协议名称",
  27631. "type": "string"
  27632. },
  27633. "agreementno": {
  27634. "description": "协议编号",
  27635. "type": "string"
  27636. },
  27637. "agreementtype": {
  27638. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27639. "type": "integer"
  27640. },
  27641. "agreementversion": {
  27642. "description": "协议版本号",
  27643. "type": "integer"
  27644. },
  27645. "logid": {
  27646. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  27647. "type": "integer"
  27648. },
  27649. "reviserid": {
  27650. "description": "修改人",
  27651. "type": "integer"
  27652. },
  27653. "revisersrc": {
  27654. "description": "修改来源 - 1:管理端 2:终端",
  27655. "type": "integer"
  27656. },
  27657. "updatetime": {
  27658. "description": "更新时间",
  27659. "type": "string"
  27660. }
  27661. }
  27662. },
  27663. "models.QhjAgreementConfig": {
  27664. "type": "object",
  27665. "properties": {
  27666. "agreementcontent": {
  27667. "description": "协议内容",
  27668. "type": "string"
  27669. },
  27670. "agreementfrequency": {
  27671. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  27672. "type": "integer"
  27673. },
  27674. "agreementid": {
  27675. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  27676. "type": "integer"
  27677. },
  27678. "agreementname": {
  27679. "description": "协议名称",
  27680. "type": "string"
  27681. },
  27682. "agreementno": {
  27683. "description": "协议编号",
  27684. "type": "string"
  27685. },
  27686. "agreementtype": {
  27687. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27688. "type": "integer"
  27689. },
  27690. "agreementversion": {
  27691. "description": "协议版本号(从1开始每次修改加1)",
  27692. "type": "integer"
  27693. },
  27694. "createtime": {
  27695. "description": "创建时间",
  27696. "type": "string"
  27697. },
  27698. "creatorid": {
  27699. "description": "创建人",
  27700. "type": "integer"
  27701. },
  27702. "creatorsrc": {
  27703. "description": "创建来源 - 1:管理端 2:终端",
  27704. "type": "integer"
  27705. },
  27706. "isvalid": {
  27707. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  27708. "type": "integer"
  27709. },
  27710. "reviserid": {
  27711. "description": "修改人",
  27712. "type": "integer"
  27713. },
  27714. "revisersrc": {
  27715. "description": "修改来源 - 1:管理端 2:终端",
  27716. "type": "integer"
  27717. },
  27718. "updatetime": {
  27719. "description": "更新时间",
  27720. "type": "string"
  27721. }
  27722. }
  27723. },
  27724. "models.QhjAreaFinanceConfig": {
  27725. "type": "object",
  27726. "properties": {
  27727. "additionalratio": {
  27728. "description": "追加款比例",
  27729. "type": "number"
  27730. },
  27731. "advanceratio": {
  27732. "description": "预付款比例",
  27733. "type": "number"
  27734. },
  27735. "alarmratio": {
  27736. "description": "告警比例",
  27737. "type": "number"
  27738. },
  27739. "consumptiondirectreward": {
  27740. "description": "消费直推奖励值",
  27741. "type": "number"
  27742. },
  27743. "consumptionenabled": {
  27744. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  27745. "type": "integer"
  27746. },
  27747. "consumptionindirectreward": {
  27748. "description": "消费间推奖励值",
  27749. "type": "number"
  27750. },
  27751. "consumptionmodel": {
  27752. "description": "消费奖励方式 - 1:比率 2:固定",
  27753. "type": "integer"
  27754. },
  27755. "customerservicenum": {
  27756. "description": "客服电话",
  27757. "type": "string"
  27758. },
  27759. "dayinterestrate": {
  27760. "description": "日利率",
  27761. "type": "number"
  27762. },
  27763. "disableconsumptiontips": {
  27764. "description": "关闭消费奖励提示",
  27765. "type": "string"
  27766. },
  27767. "modifierid": {
  27768. "description": "修改人ID",
  27769. "type": "integer"
  27770. },
  27771. "modifysrc": {
  27772. "description": "审核来源 - 1:管理端 2:终端",
  27773. "type": "integer"
  27774. },
  27775. "modifytime": {
  27776. "description": "修改时间",
  27777. "type": "string"
  27778. },
  27779. "promotionvalue": {
  27780. "description": "推广奖励值(固定)",
  27781. "type": "number"
  27782. },
  27783. "scoreconfigvalue1": {
  27784. "description": "提货积分配置1",
  27785. "type": "integer"
  27786. },
  27787. "scoreconfigvalue2": {
  27788. "description": "提货积分配置2",
  27789. "type": "integer"
  27790. },
  27791. "userid": {
  27792. "description": "机构用户ID其他做市关系,都设置为 1",
  27793. "type": "integer"
  27794. },
  27795. "username": {
  27796. "description": "用户名称",
  27797. "type": "string"
  27798. }
  27799. }
  27800. },
  27801. "models.QhjBankAccountSign": {
  27802. "type": "object",
  27803. "properties": {
  27804. "accountcode": {
  27805. "description": "资金账号",
  27806. "type": "string"
  27807. },
  27808. "accountname": {
  27809. "description": "资金账号对应的账号名(UserName)",
  27810. "type": "string"
  27811. },
  27812. "accountname2": {
  27813. "description": "资金账号对应的账号名(UserName) - 密文",
  27814. "type": "string"
  27815. },
  27816. "accounttype": {
  27817. "description": "账户类型(UserType)",
  27818. "type": "integer"
  27819. },
  27820. "applicationtime": {
  27821. "description": "最后一次更新的时间",
  27822. "type": "string"
  27823. },
  27824. "applyexchticket": {
  27825. "description": "申请流水",
  27826. "type": "string"
  27827. },
  27828. "auditid": {
  27829. "description": "审核人",
  27830. "type": "integer"
  27831. },
  27832. "audittime": {
  27833. "description": "审核时间",
  27834. "type": "string"
  27835. },
  27836. "bankaccountname": {
  27837. "description": "签约银行卡账号名",
  27838. "type": "string"
  27839. },
  27840. "bankaccountname2": {
  27841. "description": "签约银行卡账号名 - 密文",
  27842. "type": "string"
  27843. },
  27844. "bankaccountno": {
  27845. "description": "银行卡号",
  27846. "type": "string"
  27847. },
  27848. "bankaccountno2": {
  27849. "description": "银行卡号 - 密文",
  27850. "type": "string"
  27851. },
  27852. "bankaccounttype": {
  27853. "description": "银行账户类型 - 1-对私; 2-对公",
  27854. "type": "integer"
  27855. },
  27856. "bankcardtype": {
  27857. "description": "银行卡类型",
  27858. "type": "integer"
  27859. },
  27860. "bankchildaccount": {
  27861. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  27862. "type": "string"
  27863. },
  27864. "bankcity": {
  27865. "description": "开户行城市",
  27866. "type": "string"
  27867. },
  27868. "bankid": {
  27869. "description": "签约银行ID",
  27870. "type": "string"
  27871. },
  27872. "bankname": {
  27873. "description": "签约银行名称",
  27874. "type": "string"
  27875. },
  27876. "bankprovince": {
  27877. "description": "开户行省份",
  27878. "type": "string"
  27879. },
  27880. "branchbankid": {
  27881. "description": "签约银行支行号",
  27882. "type": "string"
  27883. },
  27884. "branchbankname": {
  27885. "description": "签约银行支行名称",
  27886. "type": "string"
  27887. },
  27888. "cardno": {
  27889. "description": "证件号码",
  27890. "type": "string"
  27891. },
  27892. "cardno2": {
  27893. "description": "证件号码 - 密文",
  27894. "type": "string"
  27895. },
  27896. "cardtype": {
  27897. "description": "证件类型",
  27898. "type": "string"
  27899. },
  27900. "currency": {
  27901. "description": "币种",
  27902. "type": "string"
  27903. },
  27904. "cusbankid": {
  27905. "description": "托管银行编号",
  27906. "type": "string"
  27907. },
  27908. "direct": {
  27909. "description": "方向(可以判断那方先发起的签约)",
  27910. "type": "integer"
  27911. },
  27912. "exchticket": {
  27913. "description": "最后一次签约成功的流水号",
  27914. "type": "string"
  27915. },
  27916. "extendinfo": {
  27917. "description": "扩展信息(JSON字符串)",
  27918. "type": "string"
  27919. },
  27920. "mobilephone": {
  27921. "description": "手机号",
  27922. "type": "string"
  27923. },
  27924. "mobilephone2": {
  27925. "description": "手机号 - 密文",
  27926. "type": "string"
  27927. },
  27928. "netaddr": {
  27929. "description": "调转网址",
  27930. "type": "string"
  27931. },
  27932. "relateduserid": {
  27933. "description": "关联使用者userid",
  27934. "type": "integer"
  27935. },
  27936. "signstatus": {
  27937. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  27938. "type": "integer"
  27939. },
  27940. "updatetime": {
  27941. "description": "更新时间(签解约更新时间)",
  27942. "type": "string"
  27943. }
  27944. }
  27945. },
  27946. "models.QhjBankInfo": {
  27947. "type": "object",
  27948. "properties": {
  27949. "bankid": {
  27950. "description": "银行ID",
  27951. "type": "string"
  27952. },
  27953. "bankname": {
  27954. "description": "银行名称",
  27955. "type": "string"
  27956. },
  27957. "clearbankno": {
  27958. "description": "清算系统银行编号",
  27959. "type": "string"
  27960. },
  27961. "orderindex": {
  27962. "description": "排序顺序",
  27963. "type": "integer"
  27964. },
  27965. "status": {
  27966. "description": "状态 - 0:正常 1:注销",
  27967. "type": "integer"
  27968. }
  27969. }
  27970. },
  27971. "models.QhjBrokerApply": {
  27972. "type": "object",
  27973. "properties": {
  27974. "applicantid": {
  27975. "description": "申请人",
  27976. "type": "integer"
  27977. },
  27978. "applysrc": {
  27979. "description": "申请来源 - 1:管理端 2:终端",
  27980. "type": "integer"
  27981. },
  27982. "applystatus": {
  27983. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  27984. "type": "integer"
  27985. },
  27986. "applytime": {
  27987. "description": "申请时间",
  27988. "type": "string"
  27989. },
  27990. "auditorid": {
  27991. "description": "审核人",
  27992. "type": "integer"
  27993. },
  27994. "auditremark": {
  27995. "description": "审核备注",
  27996. "type": "string"
  27997. },
  27998. "auditsrc": {
  27999. "description": "审核来源 - 1:管理端 2:终端",
  28000. "type": "integer"
  28001. },
  28002. "audittime": {
  28003. "description": "审核时间",
  28004. "type": "string"
  28005. },
  28006. "audittradedate": {
  28007. "description": "审核交易日(yyyyMMdd)",
  28008. "type": "string"
  28009. },
  28010. "brokerapplyid": {
  28011. "description": "申请ID(SEQ_BROKERAPPLY)",
  28012. "type": "integer"
  28013. },
  28014. "cardbackphotourl": {
  28015. "description": "证件背面图片地址",
  28016. "type": "string"
  28017. },
  28018. "cardfrontphotourl": {
  28019. "description": "证件正面图片地址",
  28020. "type": "string"
  28021. },
  28022. "cardnum": {
  28023. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  28024. "type": "string"
  28025. },
  28026. "customername": {
  28027. "description": "姓名",
  28028. "type": "string"
  28029. },
  28030. "logincode": {
  28031. "description": "登录代码",
  28032. "type": "string"
  28033. },
  28034. "mobile": {
  28035. "description": "手机号码",
  28036. "type": "string"
  28037. },
  28038. "parentuserid": {
  28039. "description": "所属机构id",
  28040. "type": "integer"
  28041. },
  28042. "parentusername": {
  28043. "description": "所属机构名称",
  28044. "type": "string"
  28045. },
  28046. "refereeuserid": {
  28047. "description": "推荐人id(经纪人)",
  28048. "type": "integer"
  28049. },
  28050. "refernum": {
  28051. "description": "推荐码",
  28052. "type": "string"
  28053. },
  28054. "remark": {
  28055. "description": "备注",
  28056. "type": "string"
  28057. },
  28058. "subarealevelpath": {
  28059. "description": "层级路径",
  28060. "type": "string"
  28061. },
  28062. "tradedate": {
  28063. "description": "交易日(yyyyMMdd)",
  28064. "type": "string"
  28065. },
  28066. "userid": {
  28067. "description": "申请人用户ID",
  28068. "type": "integer"
  28069. },
  28070. "userinfotype": {
  28071. "description": "用户类型 1-个人 2-企业",
  28072. "type": "integer"
  28073. },
  28074. "username": {
  28075. "description": "用户名称",
  28076. "type": "string"
  28077. }
  28078. }
  28079. },
  28080. "models.QhjBrokerApplyEx": {
  28081. "type": "object",
  28082. "properties": {
  28083. "applylist": {
  28084. "description": "经纪人申请记录(只返回最新一条)",
  28085. "type": "array",
  28086. "items": {
  28087. "$ref": "#/definitions/models.QhjBrokerApply"
  28088. }
  28089. },
  28090. "canrecommend": {
  28091. "description": "是否经纪人 0-不是 1-是",
  28092. "type": "integer"
  28093. },
  28094. "refernum": {
  28095. "description": "推荐码",
  28096. "type": "string"
  28097. },
  28098. "userid": {
  28099. "description": "用户id",
  28100. "type": "integer"
  28101. },
  28102. "userinfotype": {
  28103. "description": "用户类型 1-个人 2-企业",
  28104. "type": "integer"
  28105. }
  28106. }
  28107. },
  28108. "models.QhjBrokerRewardLog": {
  28109. "type": "object",
  28110. "properties": {
  28111. "accountid": {
  28112. "description": "资金账号ID",
  28113. "type": "integer"
  28114. },
  28115. "createtime": {
  28116. "description": "创建时间(时间)",
  28117. "type": "string"
  28118. },
  28119. "handlestatus": {
  28120. "description": "处理状态",
  28121. "type": "integer"
  28122. },
  28123. "logid": {
  28124. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28125. "type": "string"
  28126. },
  28127. "marketid": {
  28128. "description": "市场ID",
  28129. "type": "integer"
  28130. },
  28131. "mmaccountid": {
  28132. "description": "做市商资金账号ID",
  28133. "type": "string"
  28134. },
  28135. "mmuserid": {
  28136. "description": "做市商用户ID",
  28137. "type": "string"
  28138. },
  28139. "rewardamount": {
  28140. "description": "奖励金额",
  28141. "type": "number"
  28142. },
  28143. "rewardmodel": {
  28144. "description": "消费奖励方式 - 1:比率 2:固定",
  28145. "type": "integer"
  28146. },
  28147. "rewardtype": {
  28148. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  28149. "type": "integer"
  28150. },
  28151. "rewardvalue": {
  28152. "description": "配置奖励值",
  28153. "type": "number"
  28154. },
  28155. "srcamount": {
  28156. "description": "成交金额 [消费奖励] (金额)",
  28157. "type": "number"
  28158. },
  28159. "srcgoodsid": {
  28160. "description": "来源商品ID [消费奖励]",
  28161. "type": "string"
  28162. },
  28163. "srctime": {
  28164. "description": "来源时间 (成交时间) [消费奖励]",
  28165. "type": "string"
  28166. },
  28167. "srctradeid": {
  28168. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  28169. "type": "string"
  28170. },
  28171. "srcuserid": {
  28172. "description": "来源用户ID(推广账户)",
  28173. "type": "string"
  28174. },
  28175. "srcusername": {
  28176. "description": "推广账户名称",
  28177. "type": "string"
  28178. },
  28179. "tradedate": {
  28180. "description": "交易日(yyyyMMdd)",
  28181. "type": "string"
  28182. },
  28183. "userid": {
  28184. "description": "经纪人用户ID",
  28185. "type": "integer"
  28186. }
  28187. }
  28188. },
  28189. "models.QhjContract": {
  28190. "type": "object",
  28191. "properties": {
  28192. "contractconfirmtime": {
  28193. "description": "合同确认时间(时间)",
  28194. "type": "string"
  28195. },
  28196. "currisklevel": {
  28197. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  28198. "type": "integer"
  28199. },
  28200. "decimalplace": {
  28201. "description": "商品报价小数位",
  28202. "type": "integer"
  28203. },
  28204. "enumdicname": {
  28205. "description": "单位名称",
  28206. "type": "string"
  28207. },
  28208. "goodscode": {
  28209. "description": "商品代码",
  28210. "type": "string"
  28211. },
  28212. "goodsid": {
  28213. "description": "商品ID [5:融资单]",
  28214. "type": "integer"
  28215. },
  28216. "goodsname": {
  28217. "description": "商品名称",
  28218. "type": "string"
  28219. },
  28220. "goodunitid": {
  28221. "description": "商品单位id",
  28222. "type": "integer"
  28223. },
  28224. "initmargin": {
  28225. "description": "初始保证金(首付款)",
  28226. "type": "number"
  28227. },
  28228. "lenderamount": {
  28229. "description": "贷款金额(总额|订单总额)",
  28230. "type": "number"
  28231. },
  28232. "marginratio": {
  28233. "description": "保证金比率(首付比例)",
  28234. "type": "number"
  28235. },
  28236. "payamount": {
  28237. "description": "已付(已付货款)",
  28238. "type": "number"
  28239. },
  28240. "reckonrecovermargin": {
  28241. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  28242. "type": "number"
  28243. },
  28244. "recoveredmargin": {
  28245. "description": "已追缴保证金",
  28246. "type": "number"
  28247. },
  28248. "remainamount": {
  28249. "description": "合同剩余金额(融资额)",
  28250. "type": "number"
  28251. },
  28252. "scfcontractid": {
  28253. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28254. "type": "string"
  28255. },
  28256. "scfcontractstatus": {
  28257. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  28258. "type": "integer"
  28259. },
  28260. "scfcontracttype": {
  28261. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  28262. "type": "integer"
  28263. },
  28264. "totalinterest": {
  28265. "description": "已计总利息(利息)",
  28266. "type": "number"
  28267. },
  28268. "tradeprice": {
  28269. "description": "成交价格(成本价格)",
  28270. "type": "number"
  28271. },
  28272. "userid": {
  28273. "description": "用户ID",
  28274. "type": "integer"
  28275. },
  28276. "username": {
  28277. "description": "用户名称",
  28278. "type": "string"
  28279. },
  28280. "wrqty": {
  28281. "description": "仓单数量(数量)",
  28282. "type": "number"
  28283. }
  28284. }
  28285. },
  28286. "models.QhjContractLog": {
  28287. "type": "object",
  28288. "properties": {
  28289. "amount": {
  28290. "description": "支付金额",
  28291. "type": "number"
  28292. },
  28293. "amounttype": {
  28294. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  28295. "type": "integer"
  28296. },
  28297. "logid": {
  28298. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28299. "type": "string"
  28300. },
  28301. "remainamount": {
  28302. "description": "剩余货款",
  28303. "type": "number"
  28304. },
  28305. "scfcontractid": {
  28306. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28307. "type": "integer"
  28308. },
  28309. "updatetime": {
  28310. "description": "更新时间",
  28311. "type": "string"
  28312. }
  28313. }
  28314. },
  28315. "models.QhjCusBankSignBankEx": {
  28316. "type": "object",
  28317. "properties": {
  28318. "banklst": {
  28319. "description": "银行列表",
  28320. "type": "array",
  28321. "items": {
  28322. "$ref": "#/definitions/models.QhjBankInfo"
  28323. }
  28324. },
  28325. "canallot": {
  28326. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  28327. "type": "integer"
  28328. },
  28329. "canallotquery": {
  28330. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  28331. "type": "integer"
  28332. },
  28333. "canbindcard": {
  28334. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  28335. "type": "integer"
  28336. },
  28337. "caninamount": {
  28338. "description": "是否可入金 - 0:不可 1:可以",
  28339. "type": "integer"
  28340. },
  28341. "caninamount2": {
  28342. "description": "是否可入金(网银端) - 0:不可 1:可以",
  28343. "type": "integer"
  28344. },
  28345. "canmodifybankcard": {
  28346. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  28347. "type": "integer"
  28348. },
  28349. "canmodifyphone": {
  28350. "description": "是否可修改手机号 - 0:不可 1:可以",
  28351. "type": "integer"
  28352. },
  28353. "canmodifysigninfo": {
  28354. "description": "是否可修改签约信息 - 0:不可 1:可以",
  28355. "type": "integer"
  28356. },
  28357. "canoutamount": {
  28358. "description": "是否可出金 - 0:不可 1:可以",
  28359. "type": "integer"
  28360. },
  28361. "canoutamount2": {
  28362. "description": "是否可出金(网银端) - 0:不可 1:可以",
  28363. "type": "integer"
  28364. },
  28365. "canrelease": {
  28366. "description": "是否可解约 - 0:不可 1:可以",
  28367. "type": "integer"
  28368. },
  28369. "canrelease2": {
  28370. "description": "是否可解约(网银端) - 0:不可 1:可以",
  28371. "type": "integer"
  28372. },
  28373. "cansign": {
  28374. "description": "是否可签约 - 0:不可 1:可以",
  28375. "type": "integer"
  28376. },
  28377. "cansign2": {
  28378. "description": "是否可签约(网银端) - 0:不可 1:可以",
  28379. "type": "integer"
  28380. },
  28381. "currency": {
  28382. "description": "币种",
  28383. "type": "string"
  28384. },
  28385. "cusbankid": {
  28386. "description": "托管银行编号(对应清算中心TRAN_NO)",
  28387. "type": "string"
  28388. },
  28389. "cusbankname": {
  28390. "description": "银行业务名称",
  28391. "type": "string"
  28392. },
  28393. "cusbankshortname": {
  28394. "description": "银行业务简称",
  28395. "type": "string"
  28396. },
  28397. "exchbankid": {
  28398. "description": "交易所开户银行ID",
  28399. "type": "string"
  28400. },
  28401. "exchpaybankaccname": {
  28402. "description": "交易所支出结算账户户名",
  28403. "type": "string"
  28404. },
  28405. "exchpaybankaccno": {
  28406. "description": "交易所支出结算账户",
  28407. "type": "string"
  28408. },
  28409. "isneedcheck": {
  28410. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  28411. "type": "integer"
  28412. },
  28413. "isneedclear": {
  28414. "description": "是否需要清算 - 0:不需要 1:需要",
  28415. "type": "integer"
  28416. },
  28417. "lastcheckstatus": {
  28418. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  28419. "type": "integer"
  28420. },
  28421. "lastchecktime": {
  28422. "description": "最后对账时间",
  28423. "type": "string"
  28424. },
  28425. "lastclearstatus": {
  28426. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  28427. "type": "integer"
  28428. },
  28429. "lastcleartime": {
  28430. "description": "最后清算时间",
  28431. "type": "string"
  28432. },
  28433. "lastsignintime": {
  28434. "description": "最后签到时间",
  28435. "type": "string"
  28436. },
  28437. "lastsignouttime": {
  28438. "description": "最后签退时间",
  28439. "type": "string"
  28440. },
  28441. "riskinfo": {
  28442. "description": "签约风险提示书",
  28443. "type": "string"
  28444. },
  28445. "signstatus": {
  28446. "description": "当前签到/签退状态 - 1:签到 2:签退",
  28447. "type": "integer"
  28448. },
  28449. "tradedate": {
  28450. "description": "交易日(yyyyMMdd)",
  28451. "type": "string"
  28452. },
  28453. "updatetime": {
  28454. "description": "当前签到/签退更新时间",
  28455. "type": "string"
  28456. }
  28457. }
  28458. },
  28459. "models.QhjCustomer": {
  28460. "type": "object",
  28461. "properties": {
  28462. "address": {
  28463. "description": "通讯地址",
  28464. "type": "string"
  28465. },
  28466. "attachment1": {
  28467. "description": "附件1",
  28468. "type": "string"
  28469. },
  28470. "audittime": {
  28471. "description": "审核时间",
  28472. "type": "string"
  28473. },
  28474. "cardbackphotourl": {
  28475. "description": "证件反面图片地址",
  28476. "type": "string"
  28477. },
  28478. "cardfrontphotourl": {
  28479. "description": "证件正面图片地址",
  28480. "type": "string"
  28481. },
  28482. "cardnum": {
  28483. "description": "证件号码",
  28484. "type": "string"
  28485. },
  28486. "cardtype": {
  28487. "description": "证件类型",
  28488. "type": "integer"
  28489. },
  28490. "cardtypename": {
  28491. "description": "证件类型名称",
  28492. "type": "string"
  28493. },
  28494. "cityid": {
  28495. "description": "市",
  28496. "type": "integer"
  28497. },
  28498. "cityname": {
  28499. "description": "城市名称",
  28500. "type": "string"
  28501. },
  28502. "contactname": {
  28503. "description": "联系人",
  28504. "type": "string"
  28505. },
  28506. "countryid": {
  28507. "description": "国家",
  28508. "type": "integer"
  28509. },
  28510. "countryname": {
  28511. "description": "国家名称",
  28512. "type": "string"
  28513. },
  28514. "createtime": {
  28515. "description": "创建时间",
  28516. "type": "string"
  28517. },
  28518. "customername": {
  28519. "description": "客户名称",
  28520. "type": "string"
  28521. },
  28522. "districtid": {
  28523. "description": "区域",
  28524. "type": "integer"
  28525. },
  28526. "districtname": {
  28527. "description": "地区名称",
  28528. "type": "string"
  28529. },
  28530. "email": {
  28531. "description": "邮件",
  28532. "type": "string"
  28533. },
  28534. "legalpersonname": {
  28535. "description": "法人姓名(企业)",
  28536. "type": "string"
  28537. },
  28538. "logincode": {
  28539. "description": "登录账号(代码)",
  28540. "type": "string"
  28541. },
  28542. "memberuserid": {
  28543. "description": "所属机构ID(所属会员)",
  28544. "type": "integer"
  28545. },
  28546. "memberusername": {
  28547. "description": "所属会员名称",
  28548. "type": "string"
  28549. },
  28550. "mobile": {
  28551. "description": "手机号码",
  28552. "type": "string"
  28553. },
  28554. "modifytime": {
  28555. "description": "修改时间",
  28556. "type": "string"
  28557. },
  28558. "nickname": {
  28559. "description": "昵称",
  28560. "type": "string"
  28561. },
  28562. "parentuserid": {
  28563. "description": "上级机构(所属机构)",
  28564. "type": "integer"
  28565. },
  28566. "parentusername": {
  28567. "description": "所属机构名称",
  28568. "type": "string"
  28569. },
  28570. "provinceid": {
  28571. "description": "省",
  28572. "type": "integer"
  28573. },
  28574. "provincename": {
  28575. "description": "省名称",
  28576. "type": "string"
  28577. },
  28578. "proxystatementurl": {
  28579. "description": "授权委托书",
  28580. "type": "string"
  28581. },
  28582. "remark": {
  28583. "description": "备注",
  28584. "type": "string"
  28585. },
  28586. "status": {
  28587. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  28588. "type": "integer"
  28589. },
  28590. "statusdesc": {
  28591. "description": "账户状态中文描述",
  28592. "type": "string"
  28593. },
  28594. "taxpayernum": {
  28595. "description": "纳税人识别号",
  28596. "type": "string"
  28597. },
  28598. "telphone": {
  28599. "description": "联系电话",
  28600. "type": "string"
  28601. },
  28602. "userid": {
  28603. "description": "用户ID",
  28604. "type": "integer"
  28605. },
  28606. "userinfotype": {
  28607. "description": "客户类型 1-个人 2-企业",
  28608. "type": "integer"
  28609. },
  28610. "username": {
  28611. "description": "用户名称",
  28612. "type": "string"
  28613. }
  28614. }
  28615. },
  28616. "models.QhjCustomerSignLog": {
  28617. "type": "object",
  28618. "properties": {
  28619. "agreementcontent": {
  28620. "description": "协议内容",
  28621. "type": "string"
  28622. },
  28623. "agreementid": {
  28624. "description": "协议ID",
  28625. "type": "integer"
  28626. },
  28627. "agreementname": {
  28628. "description": "协议名称",
  28629. "type": "string"
  28630. },
  28631. "agreementno": {
  28632. "description": "协议编号",
  28633. "type": "string"
  28634. },
  28635. "agreementtype": {
  28636. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28637. "type": "integer"
  28638. },
  28639. "agreementversion": {
  28640. "description": "协议版本号",
  28641. "type": "integer"
  28642. },
  28643. "createtime": {
  28644. "description": "创建时间",
  28645. "type": "string"
  28646. },
  28647. "goodscode": {
  28648. "description": "商品代码",
  28649. "type": "string"
  28650. },
  28651. "goodsid": {
  28652. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28653. "type": "integer"
  28654. },
  28655. "goodsname": {
  28656. "description": "商品名称",
  28657. "type": "string"
  28658. },
  28659. "logid": {
  28660. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  28661. "type": "integer"
  28662. },
  28663. "nodetype": {
  28664. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  28665. "type": "integer"
  28666. },
  28667. "signadressurl": {
  28668. "description": "签约文件地址",
  28669. "type": "string"
  28670. },
  28671. "signtimestamp": {
  28672. "description": "签约状态时间戳",
  28673. "type": "string"
  28674. },
  28675. "userid": {
  28676. "description": "客户ID",
  28677. "type": "integer"
  28678. },
  28679. "username": {
  28680. "description": "客户名称",
  28681. "type": "string"
  28682. }
  28683. }
  28684. },
  28685. "models.QhjCustomerSignStatus": {
  28686. "type": "object",
  28687. "properties": {
  28688. "createtime": {
  28689. "description": "创建时间",
  28690. "type": "string"
  28691. },
  28692. "goodscode": {
  28693. "description": "商品代码",
  28694. "type": "string"
  28695. },
  28696. "goodsid": {
  28697. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28698. "type": "integer"
  28699. },
  28700. "goodsname": {
  28701. "description": "商品名称",
  28702. "type": "string"
  28703. },
  28704. "nodetype": {
  28705. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  28706. "type": "integer"
  28707. },
  28708. "signtimestamp": {
  28709. "description": "签约状态时间戳",
  28710. "type": "string"
  28711. },
  28712. "tradedate": {
  28713. "description": "创建交易日(yyyyMMdd)",
  28714. "type": "string"
  28715. },
  28716. "updatetime": {
  28717. "description": "更新时间",
  28718. "type": "string"
  28719. },
  28720. "userid": {
  28721. "description": "客户ID",
  28722. "type": "integer"
  28723. },
  28724. "username": {
  28725. "description": "客户名称",
  28726. "type": "string"
  28727. }
  28728. }
  28729. },
  28730. "models.QhjMgrAccountOutInApply": {
  28731. "type": "object",
  28732. "properties": {
  28733. "accountcode": {
  28734. "description": "资金账号",
  28735. "type": "string"
  28736. },
  28737. "accountname": {
  28738. "description": "用户名称(名称)",
  28739. "type": "string"
  28740. },
  28741. "accountpwd": {
  28742. "description": "资金密码",
  28743. "type": "string"
  28744. },
  28745. "accountticket": {
  28746. "description": "最新账户服务流水号",
  28747. "type": "string"
  28748. },
  28749. "amount": {
  28750. "description": "金额",
  28751. "type": "number"
  28752. },
  28753. "applyremark": {
  28754. "description": "申请备注",
  28755. "type": "string"
  28756. },
  28757. "applystatus": {
  28758. "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: 复审通过,账户冻结金额检查中;",
  28759. "type": "integer"
  28760. },
  28761. "auditid": {
  28762. "description": "审核人",
  28763. "type": "integer"
  28764. },
  28765. "audittime": {
  28766. "description": "审核时间",
  28767. "type": "string"
  28768. },
  28769. "bank_apply_ticket": {
  28770. "description": "银行申请流水",
  28771. "type": "string"
  28772. },
  28773. "bankaccountname": {
  28774. "description": "银行账户名",
  28775. "type": "string"
  28776. },
  28777. "bankaccountno": {
  28778. "description": "银行卡号",
  28779. "type": "string"
  28780. },
  28781. "bankid": {
  28782. "description": "银行编号",
  28783. "type": "string"
  28784. },
  28785. "bankname": {
  28786. "description": "银行名称",
  28787. "type": "string"
  28788. },
  28789. "bankticket": {
  28790. "description": "银行流水",
  28791. "type": "string"
  28792. },
  28793. "branchbankid": {
  28794. "description": "银行支行号",
  28795. "type": "string"
  28796. },
  28797. "branchbankname": {
  28798. "description": "银行支行名称",
  28799. "type": "string"
  28800. },
  28801. "capamountout": {
  28802. "description": "出金(劣后本金) - 外部子账户",
  28803. "type": "number"
  28804. },
  28805. "certificatephotourl": {
  28806. "description": "凭证地址",
  28807. "type": "string"
  28808. },
  28809. "charge": {
  28810. "description": "手续费",
  28811. "type": "number"
  28812. },
  28813. "checkerrorflag": {
  28814. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  28815. "type": "integer"
  28816. },
  28817. "currency": {
  28818. "description": "币种",
  28819. "type": "string"
  28820. },
  28821. "cusbankid": {
  28822. "description": "托管银行编号",
  28823. "type": "string"
  28824. },
  28825. "exchticket": {
  28826. "description": "银行服务流水号",
  28827. "type": "string"
  28828. },
  28829. "executetype": {
  28830. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  28831. "type": "integer"
  28832. },
  28833. "extendinfo": {
  28834. "description": "扩展信息",
  28835. "type": "string"
  28836. },
  28837. "extoperateid": {
  28838. "description": "交易服务流水号",
  28839. "type": "integer"
  28840. },
  28841. "infamount": {
  28842. "description": "劣后金额(自有)",
  28843. "type": "number"
  28844. },
  28845. "logincode": {
  28846. "description": "登录账号(账号)",
  28847. "type": "string"
  28848. },
  28849. "netaddr": {
  28850. "description": "调转网址",
  28851. "type": "string"
  28852. },
  28853. "priamount": {
  28854. "description": "优先金额(授信)",
  28855. "type": "number"
  28856. },
  28857. "reauditid": {
  28858. "description": "复审人",
  28859. "type": "integer"
  28860. },
  28861. "reauditremark": {
  28862. "description": "复审备注",
  28863. "type": "string"
  28864. },
  28865. "reaudittime": {
  28866. "description": "复审时间",
  28867. "type": "string"
  28868. },
  28869. "relatedorderid": {
  28870. "description": "三方关联ID",
  28871. "type": "string"
  28872. },
  28873. "remark": {
  28874. "description": "备注",
  28875. "type": "string"
  28876. },
  28877. "remark2": {
  28878. "description": "备注(失败原因)",
  28879. "type": "string"
  28880. },
  28881. "soucreamount": {
  28882. "description": "原始出入金金额",
  28883. "type": "number"
  28884. },
  28885. "soucrecurrencyid": {
  28886. "description": "原始出入金币种",
  28887. "type": "integer"
  28888. },
  28889. "tradedate": {
  28890. "description": "交易日(yyyyMMdd)",
  28891. "type": "string"
  28892. },
  28893. "updatetime": {
  28894. "description": "更新时间(申请时间)",
  28895. "type": "string"
  28896. },
  28897. "userid": {
  28898. "description": "用户id",
  28899. "type": "integer"
  28900. },
  28901. "userinfotype": {
  28902. "description": "账户类型 1-个人 2-企业",
  28903. "type": "integer"
  28904. }
  28905. }
  28906. },
  28907. "models.QhjMgrBrokerApply": {
  28908. "type": "object",
  28909. "properties": {
  28910. "applicantid": {
  28911. "description": "申请人",
  28912. "type": "integer"
  28913. },
  28914. "applysrc": {
  28915. "description": "申请来源 - 1:管理端 2:终端",
  28916. "type": "integer"
  28917. },
  28918. "applystatus": {
  28919. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  28920. "type": "integer"
  28921. },
  28922. "applytime": {
  28923. "description": "申请时间",
  28924. "type": "string"
  28925. },
  28926. "auditorid": {
  28927. "description": "审核人",
  28928. "type": "integer"
  28929. },
  28930. "auditremark": {
  28931. "description": "审核备注",
  28932. "type": "string"
  28933. },
  28934. "auditsrc": {
  28935. "description": "审核来源 - 1:管理端 2:终端",
  28936. "type": "integer"
  28937. },
  28938. "audittime": {
  28939. "description": "审核时间",
  28940. "type": "string"
  28941. },
  28942. "audittradedate": {
  28943. "description": "审核交易日(yyyyMMdd)",
  28944. "type": "string"
  28945. },
  28946. "brokerapplyid": {
  28947. "description": "申请ID(SEQ_BROKERAPPLY)",
  28948. "type": "integer"
  28949. },
  28950. "cardbackphotourl": {
  28951. "description": "证件背面图片地址",
  28952. "type": "string"
  28953. },
  28954. "cardfrontphotourl": {
  28955. "description": "证件正面图片地址",
  28956. "type": "string"
  28957. },
  28958. "cardnum": {
  28959. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  28960. "type": "string"
  28961. },
  28962. "customername": {
  28963. "description": "姓名",
  28964. "type": "string"
  28965. },
  28966. "filterstatus": {
  28967. "description": "筛选条件",
  28968. "type": "string"
  28969. },
  28970. "logincode": {
  28971. "description": "登录代码",
  28972. "type": "string"
  28973. },
  28974. "mobile": {
  28975. "description": "手机号码",
  28976. "type": "string"
  28977. },
  28978. "parentuserid": {
  28979. "description": "所属机构id",
  28980. "type": "integer"
  28981. },
  28982. "parentusername": {
  28983. "description": "所属机构名称",
  28984. "type": "string"
  28985. },
  28986. "refereeuserid": {
  28987. "description": "推荐人id(经纪人)",
  28988. "type": "integer"
  28989. },
  28990. "refernum": {
  28991. "description": "推荐码",
  28992. "type": "string"
  28993. },
  28994. "remark": {
  28995. "description": "备注",
  28996. "type": "string"
  28997. },
  28998. "subarealevelpath": {
  28999. "description": "层级路径",
  29000. "type": "string"
  29001. },
  29002. "tradedate": {
  29003. "description": "交易日(yyyyMMdd)",
  29004. "type": "string"
  29005. },
  29006. "userid": {
  29007. "description": "申请人用户ID",
  29008. "type": "integer"
  29009. },
  29010. "userinfotype": {
  29011. "description": "用户类型 1-个人 2-企业",
  29012. "type": "integer"
  29013. },
  29014. "username": {
  29015. "description": "用户名称",
  29016. "type": "string"
  29017. }
  29018. }
  29019. },
  29020. "models.QhjMgrBrokerRewardReport": {
  29021. "type": "object",
  29022. "properties": {
  29023. "createtime": {
  29024. "description": "创建时间(注册时间)",
  29025. "type": "string"
  29026. },
  29027. "cycletime": {
  29028. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  29029. "type": "string"
  29030. },
  29031. "cycletype": {
  29032. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  29033. "type": "integer"
  29034. },
  29035. "directtotalnum": {
  29036. "description": "直推总人数【期末】",
  29037. "type": "integer"
  29038. },
  29039. "indirecttotalnum": {
  29040. "description": "间推总人数【期末】",
  29041. "type": "integer"
  29042. },
  29043. "mobile": {
  29044. "description": "电话号码",
  29045. "type": "string"
  29046. },
  29047. "refereeuserid": {
  29048. "description": "推荐人id(经纪人id)",
  29049. "type": "integer"
  29050. },
  29051. "refereeusername": {
  29052. "description": "推荐人名称(经纪人) 上级经纪人名称",
  29053. "type": "string"
  29054. },
  29055. "refernum": {
  29056. "description": "推荐码",
  29057. "type": "string"
  29058. },
  29059. "subarealevelpath": {
  29060. "description": "用户层级路径",
  29061. "type": "string"
  29062. },
  29063. "todayrewardamount": {
  29064. "description": "奖励总金额【汇总】",
  29065. "type": "number"
  29066. },
  29067. "updatetime": {
  29068. "description": "更新时间",
  29069. "type": "string"
  29070. },
  29071. "userid": {
  29072. "description": "经纪人用户ID",
  29073. "type": "integer"
  29074. },
  29075. "userinfotype": {
  29076. "description": "用户类型 1-个人 2-企业",
  29077. "type": "integer"
  29078. },
  29079. "username": {
  29080. "description": "用户名称",
  29081. "type": "string"
  29082. }
  29083. }
  29084. },
  29085. "models.QhjMgrContract": {
  29086. "type": "object",
  29087. "properties": {
  29088. "contractconfirmtime": {
  29089. "description": "合同确认时间(时间)",
  29090. "type": "string"
  29091. },
  29092. "currisklevel": {
  29093. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  29094. "type": "integer"
  29095. },
  29096. "decimalplace": {
  29097. "description": "商品报价小数位",
  29098. "type": "integer"
  29099. },
  29100. "enumdicname": {
  29101. "description": "单位名称",
  29102. "type": "string"
  29103. },
  29104. "goodscode": {
  29105. "description": "商品代码",
  29106. "type": "string"
  29107. },
  29108. "goodsid": {
  29109. "description": "商品ID [5:融资单]",
  29110. "type": "integer"
  29111. },
  29112. "goodsname": {
  29113. "description": "商品名称",
  29114. "type": "string"
  29115. },
  29116. "goodunitid": {
  29117. "description": "商品单位id",
  29118. "type": "integer"
  29119. },
  29120. "initmargin": {
  29121. "description": "初始保证金(首付款)",
  29122. "type": "number"
  29123. },
  29124. "lenderamount": {
  29125. "description": "贷款金额(总额|订单总额)",
  29126. "type": "number"
  29127. },
  29128. "logincode": {
  29129. "description": "账号(登录代码)",
  29130. "type": "string"
  29131. },
  29132. "marginratio": {
  29133. "description": "保证金比率(首付比例)",
  29134. "type": "number"
  29135. },
  29136. "mobile": {
  29137. "description": "电话号码(用户资料里的电话)",
  29138. "type": "string"
  29139. },
  29140. "payamount": {
  29141. "description": "已付(已付货款)",
  29142. "type": "number"
  29143. },
  29144. "reckonrecovermargin": {
  29145. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  29146. "type": "number"
  29147. },
  29148. "recoveredmargin": {
  29149. "description": "已追缴保证金",
  29150. "type": "number"
  29151. },
  29152. "remainamount": {
  29153. "description": "合同剩余金额(融资额)",
  29154. "type": "number"
  29155. },
  29156. "scfcontractid": {
  29157. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  29158. "type": "string"
  29159. },
  29160. "scfcontractstatus": {
  29161. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  29162. "type": "integer"
  29163. },
  29164. "scfcontracttype": {
  29165. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  29166. "type": "integer"
  29167. },
  29168. "totalinterest": {
  29169. "description": "已计总利息(利息)",
  29170. "type": "number"
  29171. },
  29172. "tradedate": {
  29173. "description": "交易日",
  29174. "type": "string"
  29175. },
  29176. "tradeprice": {
  29177. "description": "成交价格(成本价格)",
  29178. "type": "number"
  29179. },
  29180. "userid": {
  29181. "description": "用户ID",
  29182. "type": "integer"
  29183. },
  29184. "userinfotype": {
  29185. "description": "用户类型 1-个人 2-企业",
  29186. "type": "integer"
  29187. },
  29188. "username": {
  29189. "description": "用户名称",
  29190. "type": "string"
  29191. },
  29192. "wrqty": {
  29193. "description": "仓单数量(数量)",
  29194. "type": "number"
  29195. }
  29196. }
  29197. },
  29198. "models.QhjMgrCustomer": {
  29199. "type": "object",
  29200. "properties": {
  29201. "address": {
  29202. "description": "通讯地址",
  29203. "type": "string"
  29204. },
  29205. "attachment1": {
  29206. "description": "附件1",
  29207. "type": "string"
  29208. },
  29209. "audittime": {
  29210. "description": "审核时间",
  29211. "type": "string"
  29212. },
  29213. "birthday": {
  29214. "description": "生日",
  29215. "type": "string"
  29216. },
  29217. "brokerid": {
  29218. "description": "所属客户经理id",
  29219. "type": "integer"
  29220. },
  29221. "brokername": {
  29222. "description": "所属客户经理名称",
  29223. "type": "string"
  29224. },
  29225. "cardbackphotourl": {
  29226. "description": "证件反面图片地址",
  29227. "type": "string"
  29228. },
  29229. "cardfrontphotourl": {
  29230. "description": "证件正面图片地址",
  29231. "type": "string"
  29232. },
  29233. "cardnum": {
  29234. "description": "证件号码",
  29235. "type": "string"
  29236. },
  29237. "cardtype": {
  29238. "description": "证件类型",
  29239. "type": "integer"
  29240. },
  29241. "cardtypename": {
  29242. "description": "证件类型名称",
  29243. "type": "string"
  29244. },
  29245. "cityid": {
  29246. "description": "市",
  29247. "type": "integer"
  29248. },
  29249. "cityname": {
  29250. "description": "城市名称",
  29251. "type": "string"
  29252. },
  29253. "contactname": {
  29254. "description": "联系人",
  29255. "type": "string"
  29256. },
  29257. "countryid": {
  29258. "description": "国家",
  29259. "type": "integer"
  29260. },
  29261. "countryname": {
  29262. "description": "国家名称",
  29263. "type": "string"
  29264. },
  29265. "createtime": {
  29266. "description": "创建时间",
  29267. "type": "string"
  29268. },
  29269. "customername": {
  29270. "description": "客户名称",
  29271. "type": "string"
  29272. },
  29273. "districtid": {
  29274. "description": "区域",
  29275. "type": "integer"
  29276. },
  29277. "districtname": {
  29278. "description": "地区名称",
  29279. "type": "string"
  29280. },
  29281. "email": {
  29282. "description": "邮件",
  29283. "type": "string"
  29284. },
  29285. "legalpersonname": {
  29286. "description": "法人姓名(企业)",
  29287. "type": "string"
  29288. },
  29289. "logincode": {
  29290. "description": "登录账号(代码)",
  29291. "type": "string"
  29292. },
  29293. "memberuserid": {
  29294. "description": "所属机构ID(所属会员)",
  29295. "type": "integer"
  29296. },
  29297. "memberusername": {
  29298. "description": "所属会员名称",
  29299. "type": "string"
  29300. },
  29301. "mobile": {
  29302. "description": "手机号码",
  29303. "type": "string"
  29304. },
  29305. "modifytime": {
  29306. "description": "修改时间",
  29307. "type": "string"
  29308. },
  29309. "nickname": {
  29310. "description": "昵称",
  29311. "type": "string"
  29312. },
  29313. "parentuserid": {
  29314. "description": "上级机构(所属机构)",
  29315. "type": "integer"
  29316. },
  29317. "parentusername": {
  29318. "description": "所属机构名称",
  29319. "type": "string"
  29320. },
  29321. "provinceid": {
  29322. "description": "省",
  29323. "type": "integer"
  29324. },
  29325. "provincename": {
  29326. "description": "省名称",
  29327. "type": "string"
  29328. },
  29329. "proxystatementurl": {
  29330. "description": "授权委托书",
  29331. "type": "string"
  29332. },
  29333. "querytype": {
  29334. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  29335. "type": "integer"
  29336. },
  29337. "remark": {
  29338. "description": "备注",
  29339. "type": "string"
  29340. },
  29341. "sex": {
  29342. "description": "性别 0-女 1-男",
  29343. "type": "integer"
  29344. },
  29345. "status": {
  29346. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29347. "type": "integer"
  29348. },
  29349. "statusdesc": {
  29350. "description": "账户状态中文描述",
  29351. "type": "string"
  29352. },
  29353. "taxpayernum": {
  29354. "description": "纳税人识别号",
  29355. "type": "string"
  29356. },
  29357. "telphone": {
  29358. "description": "联系电话",
  29359. "type": "string"
  29360. },
  29361. "userid": {
  29362. "description": "用户ID",
  29363. "type": "integer"
  29364. },
  29365. "userinfotype": {
  29366. "description": "客户类型 1-个人 2-企业",
  29367. "type": "integer"
  29368. },
  29369. "username": {
  29370. "description": "用户名称",
  29371. "type": "string"
  29372. }
  29373. }
  29374. },
  29375. "models.QhjMgrPickGoods": {
  29376. "type": "object",
  29377. "properties": {
  29378. "enumdicname": {
  29379. "description": "单位名称(提货商品)",
  29380. "type": "string"
  29381. },
  29382. "goodsid": {
  29383. "description": "商品id",
  29384. "type": "integer"
  29385. },
  29386. "imageaddress": {
  29387. "description": "图片",
  29388. "type": "string"
  29389. },
  29390. "modifierid": {
  29391. "description": "修改人",
  29392. "type": "integer"
  29393. },
  29394. "modifiername": {
  29395. "description": "修改人名称",
  29396. "type": "string"
  29397. },
  29398. "modifysrc": {
  29399. "description": "修改来源 - 1:管理端 2:终端",
  29400. "type": "integer"
  29401. },
  29402. "pickupgoodsagreeunit": {
  29403. "description": "合约乘数",
  29404. "type": "number"
  29405. },
  29406. "pickupgoodsdesc": {
  29407. "description": "描述",
  29408. "type": "string"
  29409. },
  29410. "pickupgoodsid": {
  29411. "description": "提货商品ID",
  29412. "type": "string"
  29413. },
  29414. "pickupgoodsname": {
  29415. "description": "提货商品名称",
  29416. "type": "string"
  29417. },
  29418. "pickupgoodsstatus": {
  29419. "description": "状态 - 1:正常 2:停用 3:注销",
  29420. "type": "integer"
  29421. },
  29422. "pickupgoodsunitid": {
  29423. "description": "单位ID",
  29424. "type": "integer"
  29425. },
  29426. "pickupratio": {
  29427. "description": "提货系数",
  29428. "type": "number"
  29429. },
  29430. "preparedays": {
  29431. "description": "备货期(天)",
  29432. "type": "integer"
  29433. },
  29434. "remark": {
  29435. "description": "备注",
  29436. "type": "string"
  29437. },
  29438. "updatetime": {
  29439. "description": "更新时间",
  29440. "type": "string"
  29441. }
  29442. }
  29443. },
  29444. "models.QhjMgrPositionRsp": {
  29445. "type": "object",
  29446. "properties": {
  29447. "accountid": {
  29448. "description": "账号Id",
  29449. "type": "integer"
  29450. },
  29451. "accountname": {
  29452. "description": "用户名称",
  29453. "type": "string"
  29454. },
  29455. "agreeunit": {
  29456. "description": "合约乘数",
  29457. "type": "number"
  29458. },
  29459. "averageprice": {
  29460. "description": "均价",
  29461. "type": "number"
  29462. },
  29463. "avialqty": {
  29464. "description": "可用数量",
  29465. "type": "number"
  29466. },
  29467. "decimalplace": {
  29468. "description": "报价小数位",
  29469. "type": "integer"
  29470. },
  29471. "enumdicname": {
  29472. "description": "单位名称(商品)",
  29473. "type": "string"
  29474. },
  29475. "frozenqty": {
  29476. "description": "冻结数量",
  29477. "type": "number"
  29478. },
  29479. "goodscode": {
  29480. "description": "商品代码(内部)",
  29481. "type": "string"
  29482. },
  29483. "goodsid": {
  29484. "description": "商品Id",
  29485. "type": "integer"
  29486. },
  29487. "goodsname": {
  29488. "description": "商品名称",
  29489. "type": "string"
  29490. },
  29491. "goodunitid": {
  29492. "description": "报价单位ID",
  29493. "type": "integer"
  29494. },
  29495. "holderamount": {
  29496. "description": "金额",
  29497. "type": "number"
  29498. },
  29499. "holderqty": {
  29500. "description": "持有数量",
  29501. "type": "number"
  29502. },
  29503. "holdertype": {
  29504. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  29505. "type": "integer"
  29506. },
  29507. "logincode": {
  29508. "description": "登录代码(账户)",
  29509. "type": "string"
  29510. },
  29511. "marketid": {
  29512. "description": "市场id",
  29513. "type": "integer"
  29514. },
  29515. "qtydecimalplace": {
  29516. "description": "成交量小数位",
  29517. "type": "integer"
  29518. },
  29519. "trademode": {
  29520. "description": "交易模式",
  29521. "type": "integer"
  29522. },
  29523. "userid": {
  29524. "description": "用户id",
  29525. "type": "integer"
  29526. },
  29527. "userinfotype": {
  29528. "description": "账户类型 1-个人 2-企业",
  29529. "type": "integer"
  29530. }
  29531. }
  29532. },
  29533. "models.QhjMgrSubArea": {
  29534. "type": "object",
  29535. "properties": {
  29536. "accountname": {
  29537. "description": "账户名称(机构名称)",
  29538. "type": "string"
  29539. },
  29540. "memberuserid": {
  29541. "description": "所属会员ID",
  29542. "type": "integer"
  29543. },
  29544. "parenttopuser": {
  29545. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  29546. "type": "string"
  29547. },
  29548. "parentuserid": {
  29549. "description": "所属机构ID",
  29550. "type": "integer"
  29551. },
  29552. "rootuserid": {
  29553. "description": "根用户ID",
  29554. "type": "string"
  29555. },
  29556. "subaccountlevel": {
  29557. "description": "子账户层数",
  29558. "type": "integer"
  29559. },
  29560. "subarealevelpath": {
  29561. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  29562. "type": "string"
  29563. },
  29564. "userid": {
  29565. "description": "用户ID",
  29566. "type": "integer"
  29567. },
  29568. "usertype": {
  29569. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  29570. "type": "integer"
  29571. }
  29572. }
  29573. },
  29574. "models.QhjMgrTradeDetailRsp": {
  29575. "type": "object",
  29576. "properties": {
  29577. "accountid": {
  29578. "description": "资金账号",
  29579. "type": "integer"
  29580. },
  29581. "accountname": {
  29582. "description": "用户名称",
  29583. "type": "string"
  29584. },
  29585. "agreeunit": {
  29586. "description": "合约乘数",
  29587. "type": "number"
  29588. },
  29589. "buyorsell": {
  29590. "description": "成交类型(方向) 0:买 1:卖",
  29591. "type": "integer"
  29592. },
  29593. "decimalplace": {
  29594. "description": "报价小数位",
  29595. "type": "integer"
  29596. },
  29597. "enumdicname": {
  29598. "description": "单位名称(商品)",
  29599. "type": "string"
  29600. },
  29601. "goodscode": {
  29602. "description": "商品代码(内部)",
  29603. "type": "string"
  29604. },
  29605. "goodsid": {
  29606. "description": "商品id",
  29607. "type": "integer"
  29608. },
  29609. "goodsname": {
  29610. "description": "商品名称",
  29611. "type": "string"
  29612. },
  29613. "goodunitid": {
  29614. "description": "报价单位ID",
  29615. "type": "integer"
  29616. },
  29617. "logincode": {
  29618. "description": "登录代码(账户)",
  29619. "type": "string"
  29620. },
  29621. "marketid": {
  29622. "description": "市场id",
  29623. "type": "integer"
  29624. },
  29625. "orderid": {
  29626. "description": "关联委托单号",
  29627. "type": "string"
  29628. },
  29629. "qtydecimalplace": {
  29630. "description": "成交量小数位",
  29631. "type": "integer"
  29632. },
  29633. "tradeamount": {
  29634. "description": "金额",
  29635. "type": "number"
  29636. },
  29637. "tradedate": {
  29638. "description": "交易日",
  29639. "type": "string"
  29640. },
  29641. "tradeid": {
  29642. "description": "成交单号",
  29643. "type": "string"
  29644. },
  29645. "trademode": {
  29646. "description": "交易模式",
  29647. "type": "integer"
  29648. },
  29649. "tradeprice": {
  29650. "description": "价格",
  29651. "type": "number"
  29652. },
  29653. "tradeqty": {
  29654. "description": "数量",
  29655. "type": "number"
  29656. },
  29657. "tradetime": {
  29658. "description": "成交时间",
  29659. "type": "string"
  29660. },
  29661. "userid": {
  29662. "description": "用户id",
  29663. "type": "integer"
  29664. },
  29665. "userinfotype": {
  29666. "description": "账户类型 1-个人 2-企业",
  29667. "type": "integer"
  29668. }
  29669. }
  29670. },
  29671. "models.QhjMgrTradeOrderDetailRsp": {
  29672. "type": "object",
  29673. "properties": {
  29674. "accountid": {
  29675. "description": "资金账号",
  29676. "type": "integer"
  29677. },
  29678. "accountname": {
  29679. "description": "用户名称",
  29680. "type": "string"
  29681. },
  29682. "agreeunit": {
  29683. "description": "合约乘数",
  29684. "type": "number"
  29685. },
  29686. "amount": {
  29687. "description": "金额",
  29688. "type": "number"
  29689. },
  29690. "decimalplace": {
  29691. "description": "报价小数位",
  29692. "type": "integer"
  29693. },
  29694. "enumdicname": {
  29695. "description": "单位名称(商品)",
  29696. "type": "string"
  29697. },
  29698. "goodscode": {
  29699. "description": "商品代码(内部)",
  29700. "type": "string"
  29701. },
  29702. "goodsid": {
  29703. "description": "商品id",
  29704. "type": "integer"
  29705. },
  29706. "goodsname": {
  29707. "description": "商品名称",
  29708. "type": "string"
  29709. },
  29710. "goodunitid": {
  29711. "description": "报价单位ID",
  29712. "type": "integer"
  29713. },
  29714. "logincode": {
  29715. "description": "登录代码(账户)",
  29716. "type": "string"
  29717. },
  29718. "marketid": {
  29719. "description": "市场id",
  29720. "type": "integer"
  29721. },
  29722. "orderid": {
  29723. "description": "关联委托单号",
  29724. "type": "string"
  29725. },
  29726. "orderprice": {
  29727. "description": "价格",
  29728. "type": "number"
  29729. },
  29730. "orderqty": {
  29731. "description": "数量",
  29732. "type": "number"
  29733. },
  29734. "orderstatus": {
  29735. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  29736. "type": "integer"
  29737. },
  29738. "ordertime": {
  29739. "description": "委托时间",
  29740. "type": "string"
  29741. },
  29742. "qtydecimalplace": {
  29743. "description": "成交量小数位",
  29744. "type": "integer"
  29745. },
  29746. "tradedate": {
  29747. "description": "交易日",
  29748. "type": "string"
  29749. },
  29750. "trademode": {
  29751. "description": "交易模式",
  29752. "type": "integer"
  29753. },
  29754. "userid": {
  29755. "description": "用户id",
  29756. "type": "integer"
  29757. },
  29758. "userinfotype": {
  29759. "description": "账户类型 1-个人 2-企业",
  29760. "type": "integer"
  29761. }
  29762. }
  29763. },
  29764. "models.QhjMgrTradePayOrder": {
  29765. "type": "object",
  29766. "properties": {
  29767. "accountname": {
  29768. "description": "用户名称",
  29769. "type": "string"
  29770. },
  29771. "advanceratio": {
  29772. "description": "首付比率",
  29773. "type": "number"
  29774. },
  29775. "agreeunit": {
  29776. "description": "合约乘数",
  29777. "type": "number"
  29778. },
  29779. "buyaccountid": {
  29780. "description": "买方账号ID[报价币种]",
  29781. "type": "integer"
  29782. },
  29783. "buyorderid": {
  29784. "description": "买方委托单号(关联单号)",
  29785. "type": "string"
  29786. },
  29787. "createtime": {
  29788. "description": "创建时间",
  29789. "type": "string"
  29790. },
  29791. "decimalplace": {
  29792. "description": "报价小数位",
  29793. "type": "integer"
  29794. },
  29795. "enumdicname": {
  29796. "description": "单位名称(商品)",
  29797. "type": "string"
  29798. },
  29799. "goodscode": {
  29800. "description": "商品代码(内部)",
  29801. "type": "string"
  29802. },
  29803. "goodsid": {
  29804. "description": "商品ID",
  29805. "type": "integer"
  29806. },
  29807. "goodsname": {
  29808. "description": "商品名称",
  29809. "type": "string"
  29810. },
  29811. "goodunitid": {
  29812. "description": "报价单位ID",
  29813. "type": "integer"
  29814. },
  29815. "logincode": {
  29816. "description": "登录代码(账户)",
  29817. "type": "string"
  29818. },
  29819. "marketid": {
  29820. "description": "市场id",
  29821. "type": "integer"
  29822. },
  29823. "offamount": {
  29824. "description": "优惠金额",
  29825. "type": "number"
  29826. },
  29827. "operatetype": {
  29828. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  29829. "type": "integer"
  29830. },
  29831. "payamount": {
  29832. "description": "支付金额(金额)",
  29833. "type": "number"
  29834. },
  29835. "payflag": {
  29836. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  29837. "type": "integer"
  29838. },
  29839. "paylimitedtime": {
  29840. "description": "支付期限",
  29841. "type": "string"
  29842. },
  29843. "paytime": {
  29844. "description": "付款时间",
  29845. "type": "string"
  29846. },
  29847. "qtydecimalplace": {
  29848. "description": "成交量小数位",
  29849. "type": "integer"
  29850. },
  29851. "sellaccountid": {
  29852. "description": "卖方账号ID[报价币种]",
  29853. "type": "integer"
  29854. },
  29855. "sellorderid": {
  29856. "description": "卖方委托单号",
  29857. "type": "string"
  29858. },
  29859. "tradeamount": {
  29860. "description": "成交金额(优惠后金额)",
  29861. "type": "number"
  29862. },
  29863. "tradecharge": {
  29864. "description": "成交手续费(买方)",
  29865. "type": "number"
  29866. },
  29867. "tradedate": {
  29868. "description": "交易日(yyyyMMdd)",
  29869. "type": "string"
  29870. },
  29871. "tradeid": {
  29872. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29873. "type": "string"
  29874. },
  29875. "trademode": {
  29876. "description": "交易模式",
  29877. "type": "integer"
  29878. },
  29879. "tradeprice": {
  29880. "description": "成交价格(价格)",
  29881. "type": "number"
  29882. },
  29883. "tradeqty": {
  29884. "description": "成交数量(数量)",
  29885. "type": "number"
  29886. },
  29887. "tradetime": {
  29888. "description": "成交时间",
  29889. "type": "string"
  29890. },
  29891. "userid": {
  29892. "description": "用户id",
  29893. "type": "integer"
  29894. },
  29895. "userinfotype": {
  29896. "description": "账户类型 1-个人 2-企业",
  29897. "type": "integer"
  29898. }
  29899. }
  29900. },
  29901. "models.QhjMyTeamEx": {
  29902. "type": "object",
  29903. "properties": {
  29904. "accountname": {
  29905. "description": "用户名称",
  29906. "type": "string"
  29907. },
  29908. "accountstatus": {
  29909. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29910. "type": "integer"
  29911. },
  29912. "createtime": {
  29913. "description": "创建时间",
  29914. "type": "string"
  29915. },
  29916. "mobile": {
  29917. "description": "手机号码",
  29918. "type": "string"
  29919. },
  29920. "refereeuserid": {
  29921. "description": "推荐人id",
  29922. "type": "integer"
  29923. },
  29924. "refernum": {
  29925. "description": "推荐码",
  29926. "type": "string"
  29927. },
  29928. "subList": {
  29929. "type": "array",
  29930. "items": {
  29931. "$ref": "#/definitions/models.QhjMyTeamEx"
  29932. }
  29933. },
  29934. "userid": {
  29935. "description": "用户id",
  29936. "type": "integer"
  29937. },
  29938. "userinfotype": {
  29939. "description": "用户类型 1-个人 2-企业",
  29940. "type": "integer"
  29941. }
  29942. }
  29943. },
  29944. "models.QhjNodeAgreementConfig": {
  29945. "type": "object",
  29946. "properties": {
  29947. "agreementcontent": {
  29948. "description": "协议内容",
  29949. "type": "string"
  29950. },
  29951. "agreementid": {
  29952. "description": "协议ID",
  29953. "type": "integer"
  29954. },
  29955. "agreementname": {
  29956. "description": "协议名称",
  29957. "type": "string"
  29958. },
  29959. "agreementno": {
  29960. "description": "协议编号",
  29961. "type": "string"
  29962. },
  29963. "agreementtype": {
  29964. "description": "协议类型 - 1:注册 2:登录 3:交易",
  29965. "type": "integer"
  29966. },
  29967. "agreementversion": {
  29968. "description": "协议版本号",
  29969. "type": "integer"
  29970. },
  29971. "configid": {
  29972. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  29973. "type": "integer"
  29974. },
  29975. "createtime": {
  29976. "description": "创建时间",
  29977. "type": "string"
  29978. },
  29979. "goodsid": {
  29980. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29981. "type": "integer"
  29982. },
  29983. "nodetype": {
  29984. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  29985. "type": "integer"
  29986. }
  29987. }
  29988. },
  29989. "models.QhjParentAreaList": {
  29990. "type": "object",
  29991. "properties": {
  29992. "accountname": {
  29993. "description": "账户名称(机构名称)",
  29994. "type": "string"
  29995. },
  29996. "userid": {
  29997. "description": "用户ID",
  29998. "type": "integer"
  29999. },
  30000. "usertype": {
  30001. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30002. "type": "integer"
  30003. }
  30004. }
  30005. },
  30006. "models.QhjPayOrder": {
  30007. "type": "object",
  30008. "properties": {
  30009. "advanceratio": {
  30010. "description": "首付比率",
  30011. "type": "number"
  30012. },
  30013. "buyaccountid": {
  30014. "description": "买方账号ID[报价币种]",
  30015. "type": "integer"
  30016. },
  30017. "buyorderid": {
  30018. "description": "买方委托单号",
  30019. "type": "string"
  30020. },
  30021. "createtime": {
  30022. "description": "创建时间",
  30023. "type": "string"
  30024. },
  30025. "decimalplace": {
  30026. "description": "商品报价小数位",
  30027. "type": "integer"
  30028. },
  30029. "enumdicname": {
  30030. "description": "单位名称",
  30031. "type": "string"
  30032. },
  30033. "goodscode": {
  30034. "description": "商品代码",
  30035. "type": "string"
  30036. },
  30037. "goodsid": {
  30038. "description": "商品ID",
  30039. "type": "integer"
  30040. },
  30041. "goodsname": {
  30042. "description": "商品名称",
  30043. "type": "string"
  30044. },
  30045. "goodunitid": {
  30046. "description": "商品单位id",
  30047. "type": "integer"
  30048. },
  30049. "marketid": {
  30050. "description": "市场ID",
  30051. "type": "integer"
  30052. },
  30053. "offamount": {
  30054. "description": "优惠金额",
  30055. "type": "number"
  30056. },
  30057. "operatetype": {
  30058. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30059. "type": "integer"
  30060. },
  30061. "payamount": {
  30062. "description": "支付金额",
  30063. "type": "number"
  30064. },
  30065. "payflag": {
  30066. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30067. "type": "integer"
  30068. },
  30069. "paylimitedtime": {
  30070. "description": "支付期限",
  30071. "type": "string"
  30072. },
  30073. "paytime": {
  30074. "description": "付款时间",
  30075. "type": "string"
  30076. },
  30077. "qtydecimalplace": {
  30078. "description": "成交量小数位",
  30079. "type": "integer"
  30080. },
  30081. "sellaccountid": {
  30082. "description": "卖方账号ID[报价币种]",
  30083. "type": "integer"
  30084. },
  30085. "sellorderid": {
  30086. "description": "卖方委托单号",
  30087. "type": "string"
  30088. },
  30089. "tradeamount": {
  30090. "description": "成交金额(优惠后金额)",
  30091. "type": "number"
  30092. },
  30093. "tradecharge": {
  30094. "description": "成交手续费(买方)",
  30095. "type": "number"
  30096. },
  30097. "tradedate": {
  30098. "description": "交易日(yyyyMMdd)",
  30099. "type": "string"
  30100. },
  30101. "tradeid": {
  30102. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30103. "type": "string"
  30104. },
  30105. "tradeprice": {
  30106. "description": "成交价格",
  30107. "type": "number"
  30108. },
  30109. "tradeqty": {
  30110. "description": "成交数量",
  30111. "type": "number"
  30112. }
  30113. }
  30114. },
  30115. "models.QhjPickArea": {
  30116. "type": "object",
  30117. "properties": {
  30118. "address": {
  30119. "description": "详细地址",
  30120. "type": "string"
  30121. },
  30122. "cityid": {
  30123. "description": "市",
  30124. "type": "integer"
  30125. },
  30126. "cityname": {
  30127. "description": "城市名称",
  30128. "type": "string"
  30129. },
  30130. "countryid": {
  30131. "description": "国家",
  30132. "type": "integer"
  30133. },
  30134. "countryname": {
  30135. "description": "国家名称",
  30136. "type": "string"
  30137. },
  30138. "districtid": {
  30139. "description": "地区",
  30140. "type": "integer"
  30141. },
  30142. "districtname": {
  30143. "description": "地区名称",
  30144. "type": "string"
  30145. },
  30146. "fromuserid": {
  30147. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  30148. "type": "integer"
  30149. },
  30150. "fromusername": {
  30151. "description": "所属机构名称",
  30152. "type": "string"
  30153. },
  30154. "provinceid": {
  30155. "description": "省",
  30156. "type": "integer"
  30157. },
  30158. "provincename": {
  30159. "description": "省名称",
  30160. "type": "string"
  30161. },
  30162. "suborgtype": {
  30163. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  30164. "type": "integer"
  30165. },
  30166. "userid": {
  30167. "description": "机构用户ID 其他做市关系,都设置为 1",
  30168. "type": "integer"
  30169. },
  30170. "username": {
  30171. "description": "机构用户名称(门店门称)",
  30172. "type": "string"
  30173. }
  30174. }
  30175. },
  30176. "models.QhjPickGoods": {
  30177. "type": "object",
  30178. "properties": {
  30179. "enumdicname": {
  30180. "description": "单位名称(提货商品)",
  30181. "type": "string"
  30182. },
  30183. "goodsid": {
  30184. "description": "商品id",
  30185. "type": "integer"
  30186. },
  30187. "imageaddress": {
  30188. "description": "图片",
  30189. "type": "string"
  30190. },
  30191. "modifierid": {
  30192. "description": "修改人",
  30193. "type": "integer"
  30194. },
  30195. "modifiername": {
  30196. "description": "修改人名称",
  30197. "type": "string"
  30198. },
  30199. "modifysrc": {
  30200. "description": "修改来源 - 1:管理端 2:终端",
  30201. "type": "integer"
  30202. },
  30203. "pickupgoodsagreeunit": {
  30204. "description": "合约乘数",
  30205. "type": "number"
  30206. },
  30207. "pickupgoodsdesc": {
  30208. "description": "描述",
  30209. "type": "string"
  30210. },
  30211. "pickupgoodsid": {
  30212. "description": "提货商品ID",
  30213. "type": "string"
  30214. },
  30215. "pickupgoodsname": {
  30216. "description": "提货商品名称",
  30217. "type": "string"
  30218. },
  30219. "pickupgoodsstatus": {
  30220. "description": "状态 - 1:正常 2:停用 3:注销",
  30221. "type": "integer"
  30222. },
  30223. "pickupgoodsunitid": {
  30224. "description": "单位ID",
  30225. "type": "integer"
  30226. },
  30227. "pickupratio": {
  30228. "description": "提货系数",
  30229. "type": "number"
  30230. },
  30231. "preparedays": {
  30232. "description": "备货期(天)",
  30233. "type": "integer"
  30234. },
  30235. "remark": {
  30236. "description": "备注",
  30237. "type": "string"
  30238. },
  30239. "updatetime": {
  30240. "description": "更新时间",
  30241. "type": "string"
  30242. }
  30243. }
  30244. },
  30245. "models.QhjRSTriggerLog": {
  30246. "type": "object",
  30247. "properties": {
  30248. "accountid": {
  30249. "description": "用户资金账户",
  30250. "type": "integer"
  30251. },
  30252. "accountname": {
  30253. "description": "账号名称(ACCOUNTID对应的名称)",
  30254. "type": "string"
  30255. },
  30256. "currencyid": {
  30257. "description": "币种id",
  30258. "type": "integer"
  30259. },
  30260. "currencyname": {
  30261. "description": "币种名称",
  30262. "type": "string"
  30263. },
  30264. "decimalplace": {
  30265. "description": "商品报价小数位",
  30266. "type": "integer"
  30267. },
  30268. "enumdicname": {
  30269. "description": "单位名称",
  30270. "type": "string"
  30271. },
  30272. "goodscode": {
  30273. "description": "定投商品代码",
  30274. "type": "string"
  30275. },
  30276. "goodsid": {
  30277. "description": "定投商品ID",
  30278. "type": "integer"
  30279. },
  30280. "goodsname": {
  30281. "description": "定投商品名称",
  30282. "type": "string"
  30283. },
  30284. "goodunitid": {
  30285. "description": "定投商品单位id",
  30286. "type": "integer"
  30287. },
  30288. "logid": {
  30289. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  30290. "type": "string"
  30291. },
  30292. "logincode": {
  30293. "description": "账号(登录代码)",
  30294. "type": "string"
  30295. },
  30296. "qtydecimalplace": {
  30297. "description": "成交量小数位",
  30298. "type": "integer"
  30299. },
  30300. "regularlycycle": {
  30301. "description": "定投频率 - 1:每周 2:每月",
  30302. "type": "integer"
  30303. },
  30304. "regularlycyclevalue": {
  30305. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30306. "type": "string"
  30307. },
  30308. "regularlymode": {
  30309. "description": "定投方式 - 1:按数量 2:按金额",
  30310. "type": "integer"
  30311. },
  30312. "regularlymodevalue": {
  30313. "description": "定投方式值 - 数量或金额",
  30314. "type": "number"
  30315. },
  30316. "regularlystrategyid": {
  30317. "description": "定投策略ID",
  30318. "type": "integer"
  30319. },
  30320. "retcode": {
  30321. "description": "错误码",
  30322. "type": "string"
  30323. },
  30324. "tradeid": {
  30325. "description": "成交单ID",
  30326. "type": "string"
  30327. },
  30328. "triggeramount": {
  30329. "description": "触发金额",
  30330. "type": "number"
  30331. },
  30332. "triggerqty": {
  30333. "description": "触发数量",
  30334. "type": "number"
  30335. },
  30336. "triggerstatus": {
  30337. "description": "触发状态 - 1:成功 2:失败",
  30338. "type": "integer"
  30339. },
  30340. "triggertime": {
  30341. "description": "触发时间",
  30342. "type": "string"
  30343. },
  30344. "triggertradedate": {
  30345. "description": "触发交易日",
  30346. "type": "string"
  30347. },
  30348. "userid": {
  30349. "description": "所属用户ID",
  30350. "type": "integer"
  30351. },
  30352. "userinfotype": {
  30353. "description": "用户类型 1-个人 2-企业",
  30354. "type": "integer"
  30355. },
  30356. "username": {
  30357. "description": "用户名称(userid对应的名称)",
  30358. "type": "string"
  30359. }
  30360. }
  30361. },
  30362. "models.QhjRStrategy": {
  30363. "type": "object",
  30364. "properties": {
  30365. "accountid": {
  30366. "description": "用户资金账户",
  30367. "type": "integer"
  30368. },
  30369. "accountname": {
  30370. "description": "账号名称(ACCOUNTID对应的名称)",
  30371. "type": "string"
  30372. },
  30373. "currencyid": {
  30374. "description": "币种id",
  30375. "type": "integer"
  30376. },
  30377. "currencyname": {
  30378. "description": "币种名称",
  30379. "type": "string"
  30380. },
  30381. "decimalplace": {
  30382. "description": "商品报价小数位",
  30383. "type": "integer"
  30384. },
  30385. "enumdicname": {
  30386. "description": "单位名称",
  30387. "type": "string"
  30388. },
  30389. "goodscode": {
  30390. "description": "定投商品代码",
  30391. "type": "string"
  30392. },
  30393. "goodsid": {
  30394. "description": "定投商品ID",
  30395. "type": "integer"
  30396. },
  30397. "goodsname": {
  30398. "description": "定投商品名称",
  30399. "type": "string"
  30400. },
  30401. "goodunitid": {
  30402. "description": "定投商品单位id",
  30403. "type": "integer"
  30404. },
  30405. "lasteffecttradedate": {
  30406. "description": "最新生效交易日",
  30407. "type": "string"
  30408. },
  30409. "laststoptradedate": {
  30410. "description": "最新暂停交易日",
  30411. "type": "string"
  30412. },
  30413. "lasttriggertradedate": {
  30414. "description": "最新触发交易日",
  30415. "type": "string"
  30416. },
  30417. "logincode": {
  30418. "description": "账号(登录代码)",
  30419. "type": "string"
  30420. },
  30421. "nexttriggeramount": {
  30422. "description": "下次触发金额",
  30423. "type": "number"
  30424. },
  30425. "nexttriggerdate": {
  30426. "description": "下次触发日期",
  30427. "type": "string"
  30428. },
  30429. "nexttriggerqty": {
  30430. "description": "下次触发数量 [按小数位放大值]",
  30431. "type": "number"
  30432. },
  30433. "qtydecimalplace": {
  30434. "description": "成交量小数位",
  30435. "type": "integer"
  30436. },
  30437. "regularlycycle": {
  30438. "description": "定投频率 - 1:每周 2:每月",
  30439. "type": "integer"
  30440. },
  30441. "regularlycyclevalue": {
  30442. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30443. "type": "string"
  30444. },
  30445. "regularlymode": {
  30446. "description": "定投方式 - 1:按数量 2:按金额",
  30447. "type": "integer"
  30448. },
  30449. "regularlymodevalue": {
  30450. "description": "定投方式值 - 数量或金额",
  30451. "type": "number"
  30452. },
  30453. "regularlystrategyid": {
  30454. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  30455. "type": "integer"
  30456. },
  30457. "regularlystrategystatus": {
  30458. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  30459. "type": "integer"
  30460. },
  30461. "remark": {
  30462. "description": "备注",
  30463. "type": "string"
  30464. },
  30465. "triggersuccesstimes": {
  30466. "description": "累计定投成功次数",
  30467. "type": "string"
  30468. },
  30469. "triggertotalamount": {
  30470. "description": "累计定投金额(成功)",
  30471. "type": "number"
  30472. },
  30473. "triggertotalqty": {
  30474. "description": "累计定投数量(成功) [按小数位放大值]",
  30475. "type": "number"
  30476. },
  30477. "triggertotaltimes": {
  30478. "description": "累计定投总次数",
  30479. "type": "string"
  30480. },
  30481. "updatesrc": {
  30482. "description": "更新来源 - 1:管理端 2:终端",
  30483. "type": "integer"
  30484. },
  30485. "updatetime": {
  30486. "description": "更新时间",
  30487. "type": "string"
  30488. },
  30489. "updatorid": {
  30490. "description": "更新人",
  30491. "type": "string"
  30492. },
  30493. "userid": {
  30494. "description": "所属用户ID",
  30495. "type": "integer"
  30496. },
  30497. "userinfotype": {
  30498. "description": "用户类型 1-个人 2-企业",
  30499. "type": "integer"
  30500. },
  30501. "username": {
  30502. "description": "用户名称(userid对应的名称)",
  30503. "type": "string"
  30504. }
  30505. }
  30506. },
  30507. "models.QhjReckonPriceLog": {
  30508. "type": "object",
  30509. "properties": {
  30510. "decimalplace": {
  30511. "description": "商品报价小数位",
  30512. "type": "integer"
  30513. },
  30514. "goodscode": {
  30515. "description": "商品代码",
  30516. "type": "string"
  30517. },
  30518. "goodsid": {
  30519. "description": "商品ID",
  30520. "type": "integer"
  30521. },
  30522. "goodsname": {
  30523. "description": "商品名称",
  30524. "type": "string"
  30525. },
  30526. "lastreckonprice": {
  30527. "description": "上日结算价",
  30528. "type": "number"
  30529. },
  30530. "nextdnlimitprice": {
  30531. "description": "下个交易日跌停价",
  30532. "type": "number"
  30533. },
  30534. "nexttrade": {
  30535. "description": "下个交易日",
  30536. "type": "string"
  30537. },
  30538. "nextuplimitprice": {
  30539. "description": "下个交易日涨停价",
  30540. "type": "number"
  30541. },
  30542. "reckonprice": {
  30543. "description": "今日结算价(定投价)",
  30544. "type": "number"
  30545. },
  30546. "reckontime": {
  30547. "description": "结算时间",
  30548. "type": "string"
  30549. },
  30550. "totalholderqty": {
  30551. "description": "总持仓数",
  30552. "type": "integer"
  30553. },
  30554. "totalstock": {
  30555. "description": "总库存",
  30556. "type": "integer"
  30557. },
  30558. "tradedate": {
  30559. "description": "交易日",
  30560. "type": "string"
  30561. },
  30562. "updowncount": {
  30563. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  30564. "type": "integer"
  30565. },
  30566. "updownflag": {
  30567. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  30568. "type": "integer"
  30569. },
  30570. "updownrate": {
  30571. "description": "今日涨跌幅",
  30572. "type": "number"
  30573. },
  30574. "updownrate_2d": {
  30575. "description": "连续两日涨跌幅",
  30576. "type": "number"
  30577. },
  30578. "updownrate_3d": {
  30579. "description": "连续三日涨跌幅",
  30580. "type": "number"
  30581. }
  30582. }
  30583. },
  30584. "models.QhjScoreLog": {
  30585. "type": "object",
  30586. "properties": {
  30587. "accountid": {
  30588. "description": "账户ID",
  30589. "type": "integer"
  30590. },
  30591. "createtime": {
  30592. "description": "创建时间(时间)",
  30593. "type": "string"
  30594. },
  30595. "goodsid": {
  30596. "description": "商品ID",
  30597. "type": "integer"
  30598. },
  30599. "hasuploaded": {
  30600. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  30601. "type": "integer"
  30602. },
  30603. "logid": {
  30604. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30605. "type": "string"
  30606. },
  30607. "marketid": {
  30608. "description": "市场ID",
  30609. "type": "integer"
  30610. },
  30611. "relatedamount": {
  30612. "description": "关联金额",
  30613. "type": "number"
  30614. },
  30615. "relatedorderid": {
  30616. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  30617. "type": "string"
  30618. },
  30619. "scoreconfigvalue1": {
  30620. "description": "积分配置1",
  30621. "type": "integer"
  30622. },
  30623. "scoreconfigvalue2": {
  30624. "description": "积分配置1",
  30625. "type": "integer"
  30626. },
  30627. "scoretype": {
  30628. "description": "积分类型 - 1:提货积分",
  30629. "type": "integer"
  30630. },
  30631. "scorevalue": {
  30632. "description": "积分",
  30633. "type": "number"
  30634. },
  30635. "tradedate": {
  30636. "description": "交易日(yyyyMMdd)",
  30637. "type": "string"
  30638. },
  30639. "uploadedtime": {
  30640. "description": "同步时间",
  30641. "type": "string"
  30642. },
  30643. "userid": {
  30644. "description": "用户ID",
  30645. "type": "integer"
  30646. }
  30647. }
  30648. },
  30649. "models.QhjSiteColumnDetail": {
  30650. "type": "object",
  30651. "properties": {
  30652. "author": {
  30653. "description": "作者",
  30654. "type": "string"
  30655. },
  30656. "brief": {
  30657. "description": "简介",
  30658. "type": "string"
  30659. },
  30660. "columnid": {
  30661. "description": "所属栏目",
  30662. "type": "integer"
  30663. },
  30664. "context": {
  30665. "description": "内容",
  30666. "type": "string"
  30667. },
  30668. "coverimage": {
  30669. "description": "封面图片",
  30670. "type": "string"
  30671. },
  30672. "creaedate": {
  30673. "description": "创建时间",
  30674. "type": "string"
  30675. },
  30676. "creatorid": {
  30677. "description": "创建人",
  30678. "type": "integer"
  30679. },
  30680. "hits": {
  30681. "description": "点击数",
  30682. "type": "integer"
  30683. },
  30684. "id": {
  30685. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  30686. "type": "integer"
  30687. },
  30688. "isshow": {
  30689. "description": "是否展示 - 0:不展示 1:展示",
  30690. "type": "integer"
  30691. },
  30692. "istop": {
  30693. "description": "是否置顶 - 0:不置 1:置顶",
  30694. "type": "integer"
  30695. },
  30696. "modifierid": {
  30697. "description": "操作人",
  30698. "type": "integer"
  30699. },
  30700. "publishdate": {
  30701. "description": "发布日期",
  30702. "type": "string"
  30703. },
  30704. "status": {
  30705. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  30706. "type": "integer"
  30707. },
  30708. "title": {
  30709. "description": "标题",
  30710. "type": "string"
  30711. },
  30712. "updatedate": {
  30713. "description": "修改时间",
  30714. "type": "string"
  30715. },
  30716. "userid": {
  30717. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  30718. "type": "integer"
  30719. },
  30720. "username": {
  30721. "description": "用户名称",
  30722. "type": "string"
  30723. }
  30724. }
  30725. },
  30726. "models.QhjTeamOrder": {
  30727. "type": "object",
  30728. "properties": {
  30729. "accountid": {
  30730. "description": "账户ID[报价币种]",
  30731. "type": "integer"
  30732. },
  30733. "accountname": {
  30734. "description": "账户名称",
  30735. "type": "string"
  30736. },
  30737. "agreeunit": {
  30738. "description": "合约乘数",
  30739. "type": "number"
  30740. },
  30741. "buyorsell": {
  30742. "description": "方向 - 0:买 1:卖",
  30743. "type": "integer"
  30744. },
  30745. "decimalplace": {
  30746. "description": "报价小数位",
  30747. "type": "integer"
  30748. },
  30749. "enumdicname": {
  30750. "description": "单位名称",
  30751. "type": "string"
  30752. },
  30753. "goodscode": {
  30754. "description": "商品代码(内部)",
  30755. "type": "string"
  30756. },
  30757. "goodsid": {
  30758. "description": "商品ID",
  30759. "type": "integer"
  30760. },
  30761. "goodsname": {
  30762. "description": "商品名称",
  30763. "type": "string"
  30764. },
  30765. "goodunitid": {
  30766. "description": "报价单位ID",
  30767. "type": "integer"
  30768. },
  30769. "marketid": {
  30770. "description": "市场ID",
  30771. "type": "integer"
  30772. },
  30773. "marketname": {
  30774. "description": "市场名称",
  30775. "type": "string"
  30776. },
  30777. "qtydecimalplace": {
  30778. "description": "成交量小数位",
  30779. "type": "integer"
  30780. },
  30781. "refereeuserid": {
  30782. "description": "推荐人ID",
  30783. "type": "integer"
  30784. },
  30785. "tradeamount": {
  30786. "description": "成交金额[账户币种,用于所有权]",
  30787. "type": "number"
  30788. },
  30789. "tradedate": {
  30790. "description": "交易日(yyyyMMdd)",
  30791. "type": "string"
  30792. },
  30793. "trademode": {
  30794. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30795. "type": "integer"
  30796. },
  30797. "tradeprice": {
  30798. "description": "成交价格",
  30799. "type": "number"
  30800. },
  30801. "tradeqty": {
  30802. "description": "成交数量",
  30803. "type": "number"
  30804. },
  30805. "tradetime": {
  30806. "description": "成交时间",
  30807. "type": "string"
  30808. },
  30809. "userid": {
  30810. "description": "用户ID",
  30811. "type": "integer"
  30812. }
  30813. }
  30814. },
  30815. "models.QhjTradeGoodsPickup": {
  30816. "type": "object",
  30817. "properties": {
  30818. "accountid": {
  30819. "description": "账户ID",
  30820. "type": "integer"
  30821. },
  30822. "address": {
  30823. "description": "提货人详细地址",
  30824. "type": "string"
  30825. },
  30826. "amount": {
  30827. "description": "提货金额",
  30828. "type": "number"
  30829. },
  30830. "artradedate": {
  30831. "description": "自动收货交易日(yyyyMMdd)",
  30832. "type": "string"
  30833. },
  30834. "auditer": {
  30835. "description": "审核人",
  30836. "type": "integer"
  30837. },
  30838. "auditsrc": {
  30839. "description": "更新来源 - 1:管理端 2:终端",
  30840. "type": "integer"
  30841. },
  30842. "audittime": {
  30843. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  30844. "type": "string"
  30845. },
  30846. "audittradedate": {
  30847. "description": "审核交易日(yyyyMMdd)",
  30848. "type": "string"
  30849. },
  30850. "cardnum": {
  30851. "description": "提货人证件号码",
  30852. "type": "string"
  30853. },
  30854. "cardtypeid": {
  30855. "description": "提货人证件类型",
  30856. "type": "integer"
  30857. },
  30858. "checkremark": {
  30859. "description": "审核备注",
  30860. "type": "string"
  30861. },
  30862. "cityid": {
  30863. "description": "市",
  30864. "type": "integer"
  30865. },
  30866. "cityname": {
  30867. "description": "城市名称",
  30868. "type": "string"
  30869. },
  30870. "confirmtime": {
  30871. "description": "取货时间 或 收货时间",
  30872. "type": "string"
  30873. },
  30874. "countryid": {
  30875. "description": "国家",
  30876. "type": "integer"
  30877. },
  30878. "countryname": {
  30879. "description": "国家名称",
  30880. "type": "string"
  30881. },
  30882. "decimalplace": {
  30883. "description": "商品报价小数位",
  30884. "type": "integer"
  30885. },
  30886. "districtid": {
  30887. "description": "地区",
  30888. "type": "integer"
  30889. },
  30890. "districtname": {
  30891. "description": "地区名称",
  30892. "type": "string"
  30893. },
  30894. "enumdicname": {
  30895. "description": "单位名称(提货商品)",
  30896. "type": "string"
  30897. },
  30898. "expresscompany": {
  30899. "description": "物流公司",
  30900. "type": "string"
  30901. },
  30902. "expressnum": {
  30903. "description": "物流单号",
  30904. "type": "string"
  30905. },
  30906. "goodsagreeunit": {
  30907. "description": "交易商品乘数",
  30908. "type": "number"
  30909. },
  30910. "goodscode": {
  30911. "description": "商品代码",
  30912. "type": "string"
  30913. },
  30914. "goodsid": {
  30915. "description": "商品ID",
  30916. "type": "integer"
  30917. },
  30918. "goodsname": {
  30919. "description": "商品名称",
  30920. "type": "string"
  30921. },
  30922. "goodsqty": {
  30923. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  30924. "type": "number"
  30925. },
  30926. "handlestatus": {
  30927. "description": "处理状态",
  30928. "type": "integer"
  30929. },
  30930. "logincode": {
  30931. "description": "账号(登录代码, 有可能为空)",
  30932. "type": "string"
  30933. },
  30934. "marketid": {
  30935. "description": "市场ID",
  30936. "type": "integer"
  30937. },
  30938. "phonenum": {
  30939. "description": "提货人联系方式",
  30940. "type": "string"
  30941. },
  30942. "pickupgoodsagreeunit": {
  30943. "description": "提货商品合约乘数",
  30944. "type": "number"
  30945. },
  30946. "pickupgoodsid": {
  30947. "description": "提货商品ID",
  30948. "type": "string"
  30949. },
  30950. "pickupgoodsname": {
  30951. "description": "提货商品名称",
  30952. "type": "string"
  30953. },
  30954. "pickupgoodsqty": {
  30955. "description": "提货商品手数(数量)",
  30956. "type": "number"
  30957. },
  30958. "pickupgoodsunitid": {
  30959. "description": "单位ID(提货商品)",
  30960. "type": "integer"
  30961. },
  30962. "pickupratio": {
  30963. "description": "提货系数",
  30964. "type": "number"
  30965. },
  30966. "preparedays": {
  30967. "description": "备货期(天)-提货单明细表",
  30968. "type": "integer"
  30969. },
  30970. "provinceid": {
  30971. "description": "省",
  30972. "type": "integer"
  30973. },
  30974. "provincename": {
  30975. "description": "省名称",
  30976. "type": "string"
  30977. },
  30978. "qty": {
  30979. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  30980. "type": "number"
  30981. },
  30982. "qtydecimalplace": {
  30983. "description": "商品数量小数位",
  30984. "type": "integer"
  30985. },
  30986. "recivername": {
  30987. "description": "提货人姓名",
  30988. "type": "string"
  30989. },
  30990. "reqtime": {
  30991. "description": "提货申请时间",
  30992. "type": "string"
  30993. },
  30994. "storeuserid": {
  30995. "description": "门店用户ID (千海金)",
  30996. "type": "integer"
  30997. },
  30998. "storeusername": {
  30999. "description": "门店用户名称",
  31000. "type": "string"
  31001. },
  31002. "takemode": {
  31003. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  31004. "type": "integer"
  31005. },
  31006. "takeorderid": {
  31007. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  31008. "type": "string"
  31009. },
  31010. "takeorderstatus": {
  31011. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  31012. "type": "integer"
  31013. },
  31014. "takeremark": {
  31015. "description": "提货备注",
  31016. "type": "string"
  31017. },
  31018. "tradedate": {
  31019. "description": "交易日(yyyyMMdd)",
  31020. "type": "string"
  31021. },
  31022. "updatetime": {
  31023. "description": "更新时间",
  31024. "type": "string"
  31025. },
  31026. "userid": {
  31027. "description": "用户ID",
  31028. "type": "integer"
  31029. },
  31030. "userinfotype": {
  31031. "description": "客户类型 1-个人 2-企业",
  31032. "type": "integer"
  31033. },
  31034. "username": {
  31035. "description": "用户名称",
  31036. "type": "string"
  31037. }
  31038. }
  31039. },
  31040. "models.QhjUserNodeCfgAndStatus": {
  31041. "type": "object",
  31042. "properties": {
  31043. "agreementcontent": {
  31044. "description": "协议内容",
  31045. "type": "string"
  31046. },
  31047. "agreementid": {
  31048. "description": "协议ID",
  31049. "type": "integer"
  31050. },
  31051. "agreementname": {
  31052. "description": "协议名称",
  31053. "type": "string"
  31054. },
  31055. "agreementno": {
  31056. "description": "协议编号",
  31057. "type": "string"
  31058. },
  31059. "agreementtype": {
  31060. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31061. "type": "integer"
  31062. },
  31063. "agreementversion": {
  31064. "description": "协议版本号",
  31065. "type": "integer"
  31066. },
  31067. "configid": {
  31068. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  31069. "type": "integer"
  31070. },
  31071. "createtime": {
  31072. "description": "创建时间",
  31073. "type": "string"
  31074. },
  31075. "goodsid": {
  31076. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  31077. "type": "integer"
  31078. },
  31079. "nodetype": {
  31080. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  31081. "type": "integer"
  31082. },
  31083. "signtimestamp": {
  31084. "description": "签约状态时间戳(最近一次)",
  31085. "type": "string"
  31086. },
  31087. "tradedate": {
  31088. "description": "签约交易日(yyyyMMdd)",
  31089. "type": "string"
  31090. },
  31091. "userid": {
  31092. "description": "客户ID",
  31093. "type": "integer"
  31094. }
  31095. }
  31096. },
  31097. "models.Qhjgoodsex": {
  31098. "type": "object",
  31099. "properties": {
  31100. "canfinance": {
  31101. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  31102. "type": "integer"
  31103. },
  31104. "canregularlybuy": {
  31105. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  31106. "type": "integer"
  31107. },
  31108. "defaulttradeuserid": {
  31109. "description": "默认交易用户ID",
  31110. "type": "integer"
  31111. },
  31112. "deliverygoodsid": {
  31113. "description": "现货品种ID",
  31114. "type": "integer"
  31115. },
  31116. "goodsid": {
  31117. "description": "商品ID(自增ID SEQ_GOODS)",
  31118. "type": "integer"
  31119. },
  31120. "minamount": {
  31121. "description": "最小购买金额",
  31122. "type": "number"
  31123. },
  31124. "regularlybuyminamount": {
  31125. "description": "定投最小金额",
  31126. "type": "number"
  31127. },
  31128. "regularlybuyminqty": {
  31129. "description": "定投最小数量",
  31130. "type": "number"
  31131. },
  31132. "spotgoodsbrandid": {
  31133. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  31134. "type": "integer"
  31135. },
  31136. "visibilityforenterprise": {
  31137. "description": "企业客户是否可见 - 0:不可见 1:可见",
  31138. "type": "integer"
  31139. },
  31140. "visibilityforpersonal": {
  31141. "description": "个人客户是否可见 - 0:不可见 1:可见",
  31142. "type": "integer"
  31143. },
  31144. "wrstandardid": {
  31145. "description": "现货商品ID",
  31146. "type": "integer"
  31147. }
  31148. }
  31149. },
  31150. "models.QueryErrorInfosRsp": {
  31151. "type": "object",
  31152. "required": [
  31153. "errorid"
  31154. ],
  31155. "properties": {
  31156. "description": {
  31157. "description": "异常描述",
  31158. "type": "string"
  31159. },
  31160. "errorcode": {
  31161. "description": "异常代码",
  31162. "type": "string"
  31163. },
  31164. "errorid": {
  31165. "description": "异常ID",
  31166. "type": "integer"
  31167. },
  31168. "modulecode": {
  31169. "description": "所属模块",
  31170. "type": "string"
  31171. },
  31172. "operatecode": {
  31173. "description": "所属操作",
  31174. "type": "string"
  31175. },
  31176. "rownumber": {
  31177. "description": "行号",
  31178. "type": "string"
  31179. }
  31180. }
  31181. },
  31182. "models.QueryHedgeOrderDetailRsp": {
  31183. "type": "object",
  31184. "properties": {
  31185. "accountid": {
  31186. "description": "账户ID",
  31187. "type": "integer"
  31188. },
  31189. "buyorsell": {
  31190. "description": "买卖 - 0:买 1:卖",
  31191. "type": "integer"
  31192. },
  31193. "cancellogincode": {
  31194. "description": "撤单人",
  31195. "type": "string"
  31196. },
  31197. "channelbuildtype": {
  31198. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  31199. "type": "integer"
  31200. },
  31201. "channelinnerorderstatus": {
  31202. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  31203. "type": "integer"
  31204. },
  31205. "channeloperatetype": {
  31206. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  31207. "type": "integer"
  31208. },
  31209. "closetype": {
  31210. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31211. "type": "integer"
  31212. },
  31213. "curexchangerate": {
  31214. "description": "当前汇率",
  31215. "type": "number"
  31216. },
  31217. "exchangefullname": {
  31218. "description": "外部交易所全称",
  31219. "type": "string"
  31220. },
  31221. "goodscode": {
  31222. "description": "商品代码(内部)",
  31223. "type": "string"
  31224. },
  31225. "goodsid": {
  31226. "description": "商品ID",
  31227. "type": "integer"
  31228. },
  31229. "goodsname": {
  31230. "description": "商品名称",
  31231. "type": "string"
  31232. },
  31233. "marketid": {
  31234. "description": "市场ID",
  31235. "type": "integer"
  31236. },
  31237. "openfreezemargin": {
  31238. "description": "冻结保证金(冻结交易金额)",
  31239. "type": "number"
  31240. },
  31241. "orderid": {
  31242. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31243. "type": "string"
  31244. },
  31245. "orderlogincode": {
  31246. "description": "委托人",
  31247. "type": "string"
  31248. },
  31249. "orderprice": {
  31250. "description": "委托价格(账户)",
  31251. "type": "number"
  31252. },
  31253. "orderqty": {
  31254. "description": "委托数量",
  31255. "type": "integer"
  31256. },
  31257. "ordertime": {
  31258. "description": "委托时间",
  31259. "type": "string"
  31260. },
  31261. "pricemode": {
  31262. "description": "取价方式 - 1:市价 2: 限价",
  31263. "type": "integer"
  31264. },
  31265. "tradedate": {
  31266. "description": "交易日(yyyyMMdd)",
  31267. "type": "string"
  31268. },
  31269. "tradeqty": {
  31270. "description": "成交数量",
  31271. "type": "integer"
  31272. }
  31273. }
  31274. },
  31275. "models.QueryHedgeTradeDetailRsp": {
  31276. "type": "object",
  31277. "properties": {
  31278. "accountid": {
  31279. "description": "账号ID",
  31280. "type": "integer"
  31281. },
  31282. "buyorsell": {
  31283. "description": "方向 - 0:买 1:卖",
  31284. "type": "integer"
  31285. },
  31286. "channelbuildtype": {
  31287. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  31288. "type": "integer"
  31289. },
  31290. "closecharge": {
  31291. "description": "平仓手续费(账户)",
  31292. "type": "number"
  31293. },
  31294. "closecharge2": {
  31295. "description": "平仓手续费(商品)",
  31296. "type": "number"
  31297. },
  31298. "closepl": {
  31299. "description": "平仓盈亏(账户)",
  31300. "type": "number"
  31301. },
  31302. "closepl2": {
  31303. "description": "平仓盈亏(商品)",
  31304. "type": "number"
  31305. },
  31306. "closepl3": {
  31307. "description": "平仓盈亏(账户)(逐笔)",
  31308. "type": "number"
  31309. },
  31310. "closepl4": {
  31311. "description": "平仓盈亏(商品)(逐笔)",
  31312. "type": "number"
  31313. },
  31314. "closetype": {
  31315. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31316. "type": "integer"
  31317. },
  31318. "curexchangerate": {
  31319. "description": "当前汇率",
  31320. "type": "number"
  31321. },
  31322. "exchangefullname": {
  31323. "description": "外部交易所全称",
  31324. "type": "string"
  31325. },
  31326. "goodscode": {
  31327. "description": "商品代码(内部)",
  31328. "type": "string"
  31329. },
  31330. "goodsid": {
  31331. "description": "商品ID",
  31332. "type": "integer"
  31333. },
  31334. "goodsname": {
  31335. "description": "商品名称",
  31336. "type": "string"
  31337. },
  31338. "marketid": {
  31339. "description": "市场ID",
  31340. "type": "integer"
  31341. },
  31342. "opencharge": {
  31343. "description": "建仓手续费(账户)",
  31344. "type": "number"
  31345. },
  31346. "opencharge2": {
  31347. "description": "建仓手续费(商品)",
  31348. "type": "number"
  31349. },
  31350. "orderid": {
  31351. "description": "委托单号",
  31352. "type": "string"
  31353. },
  31354. "orderlogincode": {
  31355. "description": "委托人",
  31356. "type": "string"
  31357. },
  31358. "tradeamount": {
  31359. "description": "成交金额(账户)",
  31360. "type": "number"
  31361. },
  31362. "tradedate": {
  31363. "description": "交易日(yyyyMMdd)",
  31364. "type": "string"
  31365. },
  31366. "tradeid": {
  31367. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31368. "type": "string"
  31369. },
  31370. "tradeprice": {
  31371. "description": "成交价格",
  31372. "type": "number"
  31373. },
  31374. "tradeqty": {
  31375. "description": "成交数量",
  31376. "type": "integer"
  31377. },
  31378. "tradetime": {
  31379. "description": "成交时间",
  31380. "type": "string"
  31381. },
  31382. "tradetype": {
  31383. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  31384. "type": "integer"
  31385. }
  31386. }
  31387. },
  31388. "models.QuotePrimaryMenu": {
  31389. "type": "object",
  31390. "properties": {
  31391. "Index": {
  31392. "description": "序号",
  31393. "type": "integer"
  31394. },
  31395. "Key": {
  31396. "description": "键名",
  31397. "type": "string"
  31398. },
  31399. "Name": {
  31400. "description": "菜单名称",
  31401. "type": "string"
  31402. },
  31403. "SubMenus": {
  31404. "description": "子菜单",
  31405. "type": "array",
  31406. "items": {
  31407. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  31408. }
  31409. },
  31410. "SubTitleType": {
  31411. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  31412. "type": "integer"
  31413. },
  31414. "TradeModes": {
  31415. "description": "包含市场交易类型",
  31416. "type": "string"
  31417. }
  31418. }
  31419. },
  31420. "models.QuoteSecondaryMenu": {
  31421. "type": "object",
  31422. "properties": {
  31423. "ExExchangeCode": {
  31424. "description": "外部交易所代码",
  31425. "type": "string"
  31426. },
  31427. "ExExchangeID": {
  31428. "description": "外部交易所ID",
  31429. "type": "integer"
  31430. },
  31431. "GoodsGroupIDs": {
  31432. "description": "商品组ID列表",
  31433. "type": "array",
  31434. "items": {
  31435. "type": "integer"
  31436. }
  31437. },
  31438. "Index": {
  31439. "description": "序号",
  31440. "type": "integer"
  31441. },
  31442. "MarketID": {
  31443. "description": "市场ID",
  31444. "type": "integer"
  31445. },
  31446. "MenuTitle": {
  31447. "description": "菜单标题(市场名称或外部交易所名称)",
  31448. "type": "string"
  31449. },
  31450. "TradeMode": {
  31451. "description": "交易模式",
  31452. "type": "integer"
  31453. }
  31454. }
  31455. },
  31456. "models.RoleMenu": {
  31457. "type": "object",
  31458. "properties": {
  31459. "hasright": {
  31460. "description": "是否有权限 0-没有权限 1-有权限",
  31461. "type": "integer"
  31462. },
  31463. "iconame": {
  31464. "description": "菜单图标",
  31465. "type": "string"
  31466. },
  31467. "menutype": {
  31468. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  31469. "type": "integer"
  31470. },
  31471. "parentcode": {
  31472. "description": "上级资源代码",
  31473. "type": "string"
  31474. },
  31475. "remark": {
  31476. "description": "菜单备注",
  31477. "type": "string"
  31478. },
  31479. "resourcecode": {
  31480. "description": "菜单代码",
  31481. "type": "string"
  31482. },
  31483. "resourcelevel": {
  31484. "description": "级别",
  31485. "type": "integer"
  31486. },
  31487. "resourcename": {
  31488. "description": "菜单名称",
  31489. "type": "string"
  31490. },
  31491. "roleid": {
  31492. "description": "角色id",
  31493. "type": "integer"
  31494. },
  31495. "sort": {
  31496. "description": "排序",
  31497. "type": "integer"
  31498. },
  31499. "subMenu": {
  31500. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  31501. "type": "array",
  31502. "items": {
  31503. "$ref": "#/definitions/models.RoleMenu"
  31504. }
  31505. },
  31506. "url": {
  31507. "description": "URL",
  31508. "type": "string"
  31509. },
  31510. "userid": {
  31511. "description": "用户id",
  31512. "type": "integer"
  31513. }
  31514. }
  31515. },
  31516. "models.SearchGoods": {
  31517. "type": "object",
  31518. "required": [
  31519. "goodscode",
  31520. "goodsid",
  31521. "goodsname",
  31522. "marketid",
  31523. "trademode"
  31524. ],
  31525. "properties": {
  31526. "goodscode": {
  31527. "description": "商品代码(内部)",
  31528. "type": "string"
  31529. },
  31530. "goodsid": {
  31531. "description": "商品ID(自增ID SEQ_GOODS)",
  31532. "type": "integer"
  31533. },
  31534. "goodsname": {
  31535. "description": "商品名称",
  31536. "type": "string"
  31537. },
  31538. "marketid": {
  31539. "description": "所属市场ID",
  31540. "type": "integer"
  31541. },
  31542. "marketname": {
  31543. "description": "市场名称",
  31544. "type": "string"
  31545. },
  31546. "trademode": {
  31547. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31548. "type": "integer"
  31549. }
  31550. }
  31551. },
  31552. "models.Systemparam": {
  31553. "type": "object",
  31554. "required": [
  31555. "paramcode"
  31556. ],
  31557. "properties": {
  31558. "loginid": {
  31559. "description": "更新用户账号,登录账号",
  31560. "type": "string"
  31561. },
  31562. "modifyflag": {
  31563. "description": "修改标志0 不允许修改 1 允许修改",
  31564. "type": "integer"
  31565. },
  31566. "paramcode": {
  31567. "description": "参数代码",
  31568. "type": "string"
  31569. },
  31570. "paramname": {
  31571. "description": "参数名",
  31572. "type": "string"
  31573. },
  31574. "paramtype": {
  31575. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  31576. "type": "integer"
  31577. },
  31578. "paramvalue": {
  31579. "description": "参数值",
  31580. "type": "string"
  31581. },
  31582. "paramvalue2": {
  31583. "description": "参数值(CLOB)",
  31584. "type": "string"
  31585. },
  31586. "regexpress": {
  31587. "description": "正则表达式",
  31588. "type": "string"
  31589. },
  31590. "remark": {
  31591. "description": "备注",
  31592. "type": "string"
  31593. },
  31594. "serverip": {
  31595. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  31596. "type": "string"
  31597. },
  31598. "showflag": {
  31599. "description": "是否显示0 不显示 1 显示",
  31600. "type": "integer"
  31601. },
  31602. "updatetime": {
  31603. "description": "更新时间",
  31604. "type": "string"
  31605. },
  31606. "userid": {
  31607. "description": "更新用户ID",
  31608. "type": "integer"
  31609. }
  31610. }
  31611. },
  31612. "models.Szdz3convertconfig": {
  31613. "type": "object",
  31614. "required": [
  31615. "converttype",
  31616. "innergoodsid",
  31617. "outergoodscode"
  31618. ],
  31619. "properties": {
  31620. "canin": {
  31621. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  31622. "type": "integer"
  31623. },
  31624. "canout": {
  31625. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  31626. "type": "integer"
  31627. },
  31628. "converttype": {
  31629. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  31630. "type": "integer"
  31631. },
  31632. "createtime": {
  31633. "description": "创建时间",
  31634. "type": "string"
  31635. },
  31636. "creatorid": {
  31637. "description": "创建人",
  31638. "type": "integer"
  31639. },
  31640. "daymaxvalue": {
  31641. "description": "当日最大转入限制",
  31642. "type": "number"
  31643. },
  31644. "freezedays": {
  31645. "description": "冻结天数 [5:花生米转交易]",
  31646. "type": "integer"
  31647. },
  31648. "innergoodsid": {
  31649. "description": "内部商品ID[交易]",
  31650. "type": "integer"
  31651. },
  31652. "inratio": {
  31653. "description": "目标值",
  31654. "type": "integer"
  31655. },
  31656. "modifierid": {
  31657. "description": "修改人",
  31658. "type": "integer"
  31659. },
  31660. "modifytime": {
  31661. "description": "修改时间",
  31662. "type": "string"
  31663. },
  31664. "outergoodscode": {
  31665. "description": "外部商品代码[JD\\PD]",
  31666. "type": "string"
  31667. },
  31668. "outratio": {
  31669. "description": "源值",
  31670. "type": "integer"
  31671. },
  31672. "pddecimalplace": {
  31673. "description": "PD小数位",
  31674. "type": "integer"
  31675. },
  31676. "timemaxvalue": {
  31677. "description": "单次最大转入限制",
  31678. "type": "number"
  31679. },
  31680. "timeminvalue": {
  31681. "description": "单次最小转入限制",
  31682. "type": "number"
  31683. }
  31684. }
  31685. },
  31686. "models.Szdz3searchwhitelist": {
  31687. "type": "object",
  31688. "required": [
  31689. "userid"
  31690. ],
  31691. "properties": {
  31692. "createtime": {
  31693. "description": "创建时间",
  31694. "type": "string"
  31695. },
  31696. "creatorid": {
  31697. "description": "创建人",
  31698. "type": "integer"
  31699. },
  31700. "modifierid": {
  31701. "description": "修改人",
  31702. "type": "integer"
  31703. },
  31704. "modifytime": {
  31705. "description": "修改时间",
  31706. "type": "string"
  31707. },
  31708. "userid": {
  31709. "description": "用户ID",
  31710. "type": "integer"
  31711. }
  31712. }
  31713. },
  31714. "models.TBGoods": {
  31715. "type": "object",
  31716. "properties": {
  31717. "agreeunit": {
  31718. "description": "合约乘数",
  31719. "type": "number"
  31720. },
  31721. "enumdicname": {
  31722. "description": "单位名称",
  31723. "type": "string"
  31724. },
  31725. "goodscode": {
  31726. "description": "商品代码(内部)",
  31727. "type": "string"
  31728. },
  31729. "goodsid": {
  31730. "description": "商品ID(自增ID SEQ_GOODS)",
  31731. "type": "integer"
  31732. },
  31733. "goodsname": {
  31734. "description": "商品名称",
  31735. "type": "string"
  31736. }
  31737. }
  31738. },
  31739. "models.TBGoodsGroup": {
  31740. "type": "object",
  31741. "properties": {
  31742. "convertratio": {
  31743. "description": "折算系数",
  31744. "type": "number"
  31745. },
  31746. "enumdicname": {
  31747. "description": "单位名称",
  31748. "type": "string"
  31749. },
  31750. "exexchangecode": {
  31751. "description": "交易所代码",
  31752. "type": "string"
  31753. },
  31754. "exexchangename": {
  31755. "description": "交易所名称",
  31756. "type": "string"
  31757. },
  31758. "gdlst": {
  31759. "description": "商品列表",
  31760. "type": "array",
  31761. "items": {
  31762. "$ref": "#/definitions/models.TBGoods"
  31763. }
  31764. },
  31765. "goodsgroupid": {
  31766. "description": "商品组ID(自增ID)",
  31767. "type": "integer"
  31768. },
  31769. "goodsgroupname": {
  31770. "description": "商品组名称",
  31771. "type": "string"
  31772. },
  31773. "goodunitid": {
  31774. "description": "报价单位ID",
  31775. "type": "integer"
  31776. }
  31777. }
  31778. },
  31779. "models.TBMiddleGoods": {
  31780. "type": "object",
  31781. "properties": {
  31782. "areauserid": {
  31783. "description": "机构用户ID",
  31784. "type": "integer"
  31785. },
  31786. "enumdicname": {
  31787. "description": "单位名称",
  31788. "type": "string"
  31789. },
  31790. "gplst": {
  31791. "description": "期货品种列表",
  31792. "type": "array",
  31793. "items": {
  31794. "$ref": "#/definitions/models.TBGoodsGroup"
  31795. }
  31796. },
  31797. "middlegoodscode": {
  31798. "description": "套保品种代码",
  31799. "type": "string"
  31800. },
  31801. "middlegoodsid": {
  31802. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  31803. "type": "integer"
  31804. },
  31805. "middlegoodsname": {
  31806. "description": "套保品种名称",
  31807. "type": "string"
  31808. },
  31809. "needarbitrageratio": {
  31810. "description": "套利比率",
  31811. "type": "number"
  31812. },
  31813. "needhedgeratio": {
  31814. "description": "套保比率",
  31815. "type": "number"
  31816. },
  31817. "wdlst": {
  31818. "description": "商品信息列表(现货品类)",
  31819. "type": "array",
  31820. "items": {
  31821. "$ref": "#/definitions/models.TBWrstandard"
  31822. }
  31823. }
  31824. }
  31825. },
  31826. "models.TBWrstandard": {
  31827. "type": "object",
  31828. "properties": {
  31829. "convertratio": {
  31830. "description": "折算系数",
  31831. "type": "number"
  31832. },
  31833. "deliverygoodsname": {
  31834. "description": "品种名称",
  31835. "type": "string"
  31836. },
  31837. "enumdicname": {
  31838. "description": "单位名称",
  31839. "type": "string"
  31840. },
  31841. "vatrate": {
  31842. "description": "增值税率",
  31843. "type": "number"
  31844. },
  31845. "wrstandardcode": {
  31846. "description": "现货商品代码",
  31847. "type": "string"
  31848. },
  31849. "wrstandardid": {
  31850. "description": "现货商品ID(SEQ_WRSTANDARD)",
  31851. "type": "integer"
  31852. },
  31853. "wrstandardname": {
  31854. "description": "现货商品名称",
  31855. "type": "string"
  31856. }
  31857. }
  31858. },
  31859. "models.Taaccount": {
  31860. "type": "object",
  31861. "required": [
  31862. "accountid",
  31863. "userid"
  31864. ],
  31865. "properties": {
  31866. "accountflag": {
  31867. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  31868. "type": "integer"
  31869. },
  31870. "accountid": {
  31871. "description": "资金账户ID",
  31872. "type": "integer"
  31873. },
  31874. "accountname": {
  31875. "description": "账户名称",
  31876. "type": "string"
  31877. },
  31878. "balance": {
  31879. "description": "期初余额",
  31880. "type": "number"
  31881. },
  31882. "capitalbalance": {
  31883. "description": "本金余额[外部子账户实际出入金余额]",
  31884. "type": "number"
  31885. },
  31886. "changeflag": {
  31887. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  31888. "type": "integer"
  31889. },
  31890. "changetime": {
  31891. "description": "账户状态变更时间",
  31892. "type": "string"
  31893. },
  31894. "closepl": {
  31895. "description": "今日平仓盈亏",
  31896. "type": "number"
  31897. },
  31898. "creditdecrease": {
  31899. "description": "今日授信减少",
  31900. "type": "number"
  31901. },
  31902. "creditincrease": {
  31903. "description": "今日授信增加",
  31904. "type": "number"
  31905. },
  31906. "curamount": {
  31907. "description": "总市值(从持仓中统计)",
  31908. "type": "number"
  31909. },
  31910. "currencyid": {
  31911. "description": "货币ID",
  31912. "type": "integer"
  31913. },
  31914. "currentbalance": {
  31915. "description": "期末余额",
  31916. "type": "number"
  31917. },
  31918. "freezecharge": {
  31919. "description": "手续费冻结",
  31920. "type": "number"
  31921. },
  31922. "freezemargin": {
  31923. "description": "冻结保证金",
  31924. "type": "number"
  31925. },
  31926. "fromaccountid": {
  31927. "description": "所属上级账户",
  31928. "type": "integer"
  31929. },
  31930. "inamount": {
  31931. "description": "今日入金金额(包括三方入金)",
  31932. "type": "number"
  31933. },
  31934. "ismain": {
  31935. "description": "是否母账号 0:不是母账户 1:是母账户",
  31936. "type": "integer"
  31937. },
  31938. "ismarketaccount": {
  31939. "description": "是否机构接单账号 0:不是 1:是",
  31940. "type": "integer"
  31941. },
  31942. "isreckonaccount": {
  31943. "description": "是否机构分润账号 0:不是 1:是",
  31944. "type": "integer"
  31945. },
  31946. "mortgagecredit": {
  31947. "description": "授信金额",
  31948. "type": "number"
  31949. },
  31950. "orifreezecharge": {
  31951. "description": "期初手续费冻结",
  31952. "type": "number"
  31953. },
  31954. "orifreezemargin": {
  31955. "description": "期初冻结保证金",
  31956. "type": "number"
  31957. },
  31958. "orimortgagecredit": {
  31959. "description": "期初授信金额",
  31960. "type": "number"
  31961. },
  31962. "oriothercredit": {
  31963. "description": "期初其它授信金额",
  31964. "type": "number"
  31965. },
  31966. "oriotherfreezemargin": {
  31967. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  31968. "type": "number"
  31969. },
  31970. "orioutamountfreeze": {
  31971. "description": "期初出金冻结",
  31972. "type": "number"
  31973. },
  31974. "oriusedmargin": {
  31975. "description": "期初占用保证金",
  31976. "type": "number"
  31977. },
  31978. "othercredit": {
  31979. "description": "其它授信金额",
  31980. "type": "number"
  31981. },
  31982. "othercreditdecrease": {
  31983. "description": "今日其它授信减少",
  31984. "type": "number"
  31985. },
  31986. "othercreditincrease": {
  31987. "description": "今日其它授信增加",
  31988. "type": "number"
  31989. },
  31990. "otherfreezemargin": {
  31991. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  31992. "type": "number"
  31993. },
  31994. "otherincome": {
  31995. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  31996. "type": "number"
  31997. },
  31998. "otherpay": {
  31999. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  32000. "type": "number"
  32001. },
  32002. "outamount": {
  32003. "description": "今日出金金额(包括三方出金)",
  32004. "type": "number"
  32005. },
  32006. "outamountfreeze": {
  32007. "description": "出金冻结",
  32008. "type": "number"
  32009. },
  32010. "outthreshold": {
  32011. "description": "出金阈值",
  32012. "type": "number"
  32013. },
  32014. "parentaccountid": {
  32015. "description": "所属根账号",
  32016. "type": "integer"
  32017. },
  32018. "paycharge": {
  32019. "description": "今日手续费支出",
  32020. "type": "number"
  32021. },
  32022. "relatedaccountstatus": {
  32023. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  32024. "type": "integer"
  32025. },
  32026. "relateduserid": {
  32027. "description": "关联用户",
  32028. "type": "integer"
  32029. },
  32030. "remainamount": {
  32031. "description": "融资额(从融资合同中统计)",
  32032. "type": "number"
  32033. },
  32034. "serivcegroup": {
  32035. "description": "服务分组",
  32036. "type": "integer"
  32037. },
  32038. "signstatus": {
  32039. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  32040. "type": "integer"
  32041. },
  32042. "sublevelpath": {
  32043. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  32044. "type": "string"
  32045. },
  32046. "taaccounttype": {
  32047. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  32048. "type": "integer"
  32049. },
  32050. "thirdinamount": {
  32051. "description": "今日三方入金",
  32052. "type": "number"
  32053. },
  32054. "thirdoutamount": {
  32055. "description": "今日三方出金",
  32056. "type": "number"
  32057. },
  32058. "tradestatus": {
  32059. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  32060. "type": "integer"
  32061. },
  32062. "tradestatuschangetime": {
  32063. "description": "激活时间",
  32064. "type": "string"
  32065. },
  32066. "transferamount": {
  32067. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  32068. "type": "number"
  32069. },
  32070. "usedmargin": {
  32071. "description": "占用保证金",
  32072. "type": "number"
  32073. },
  32074. "userid": {
  32075. "description": "用户ID",
  32076. "type": "integer"
  32077. }
  32078. }
  32079. },
  32080. "models.Tablecolumnconfig": {
  32081. "type": "object",
  32082. "required": [
  32083. "autoid"
  32084. ],
  32085. "properties": {
  32086. "aligntype": {
  32087. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  32088. "type": "integer"
  32089. },
  32090. "autoid": {
  32091. "description": "AutoID",
  32092. "type": "integer"
  32093. },
  32094. "columnfield": {
  32095. "description": "列字段",
  32096. "type": "string"
  32097. },
  32098. "columntitle": {
  32099. "description": "列Title",
  32100. "type": "string"
  32101. },
  32102. "columnwidth": {
  32103. "description": "列宽",
  32104. "type": "string"
  32105. },
  32106. "formatterstring": {
  32107. "description": "格式化字符",
  32108. "type": "string"
  32109. },
  32110. "formattertype": {
  32111. "description": "格式化类型",
  32112. "type": "string"
  32113. },
  32114. "groupname": {
  32115. "description": "表头分组名称",
  32116. "type": "string"
  32117. },
  32118. "isshow": {
  32119. "description": "是否显示 - 0:不显示 1:显示",
  32120. "type": "integer"
  32121. },
  32122. "needsummary": {
  32123. "description": "是否需要汇总 - 0:不需要 1:需要",
  32124. "type": "integer"
  32125. },
  32126. "orderindex": {
  32127. "description": "顺序",
  32128. "type": "integer"
  32129. },
  32130. "remark": {
  32131. "description": "备注",
  32132. "type": "string"
  32133. },
  32134. "summarytype": {
  32135. "description": "汇总类型 - 1:加总 2:最后一个",
  32136. "type": "integer"
  32137. },
  32138. "tablekey": {
  32139. "description": "列表Key",
  32140. "type": "string"
  32141. }
  32142. }
  32143. },
  32144. "models.TjmdQuoteGoods": {
  32145. "type": "object",
  32146. "properties": {
  32147. "buyqty": {
  32148. "description": "买量(暂不做, 无值, 保留字段)",
  32149. "type": "number"
  32150. },
  32151. "goodscode": {
  32152. "description": "合约代码",
  32153. "type": "string"
  32154. },
  32155. "goodsgroupid": {
  32156. "description": "商品组ID(自增ID)",
  32157. "type": "integer"
  32158. },
  32159. "goodsgroupname": {
  32160. "description": "商品组名称",
  32161. "type": "string"
  32162. },
  32163. "goodsid": {
  32164. "description": "合约id",
  32165. "type": "integer"
  32166. },
  32167. "goodsname": {
  32168. "description": "合约名称",
  32169. "type": "string"
  32170. },
  32171. "refgoodscode": {
  32172. "description": "标的合约代码",
  32173. "type": "string"
  32174. },
  32175. "refgoodsid": {
  32176. "description": "标的合约id",
  32177. "type": "integer"
  32178. },
  32179. "refgoodsname": {
  32180. "description": "标的合约名称",
  32181. "type": "string"
  32182. },
  32183. "sellqty": {
  32184. "description": "卖量(暂不做, 无值, 保留字段)",
  32185. "type": "number"
  32186. }
  32187. }
  32188. },
  32189. "models.TjmdTodayAccountMargin": {
  32190. "type": "object",
  32191. "properties": {
  32192. "accountid": {
  32193. "description": "账号ID",
  32194. "type": "integer"
  32195. },
  32196. "goodsid": {
  32197. "description": "商品ID",
  32198. "type": "integer"
  32199. },
  32200. "infoc": {
  32201. "description": "配置参数",
  32202. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  32203. },
  32204. "marketid": {
  32205. "description": "市场ID",
  32206. "type": "integer"
  32207. }
  32208. }
  32209. },
  32210. "models.TjmdTradeOrderDetail": {
  32211. "type": "object",
  32212. "properties": {
  32213. "buyorsell": {
  32214. "description": "买卖方向 0-买 1-卖",
  32215. "type": "integer"
  32216. },
  32217. "goodsid": {
  32218. "description": "商品id",
  32219. "type": "integer"
  32220. },
  32221. "marketmaxsub": {
  32222. "description": "市价最大偏移范围 [浮动价 - 点差]",
  32223. "type": "number"
  32224. },
  32225. "orderid": {
  32226. "description": "委托单号",
  32227. "type": "string"
  32228. },
  32229. "orderprice": {
  32230. "description": "委托价格",
  32231. "type": "number"
  32232. },
  32233. "orderqty": {
  32234. "description": "委托数量",
  32235. "type": "integer"
  32236. },
  32237. "pricemode": {
  32238. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  32239. "type": "integer"
  32240. },
  32241. "userid": {
  32242. "description": "用户id",
  32243. "type": "integer"
  32244. },
  32245. "username": {
  32246. "description": "用户名称(已脱敏)",
  32247. "type": "string"
  32248. }
  32249. }
  32250. },
  32251. "models.TjmdTransferApply": {
  32252. "type": "object",
  32253. "properties": {
  32254. "applyid": {
  32255. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  32256. "type": "integer"
  32257. },
  32258. "applystatus": {
  32259. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  32260. "type": "integer"
  32261. },
  32262. "applytime": {
  32263. "description": "申请时间(时间)",
  32264. "type": "string"
  32265. },
  32266. "auditremark": {
  32267. "description": "审核备注(拒绝原因?)",
  32268. "type": "string"
  32269. },
  32270. "buyorsell": {
  32271. "description": "买卖 - 0:买 1:卖",
  32272. "type": "integer"
  32273. },
  32274. "goodscode": {
  32275. "description": "商品代码",
  32276. "type": "string"
  32277. },
  32278. "goodsid": {
  32279. "description": "商品ID",
  32280. "type": "integer"
  32281. },
  32282. "goodsname": {
  32283. "description": "商品名称",
  32284. "type": "string"
  32285. },
  32286. "marketid": {
  32287. "description": "市场ID",
  32288. "type": "integer"
  32289. },
  32290. "qty": {
  32291. "description": "转让数量(数量)",
  32292. "type": "number"
  32293. },
  32294. "tradeid": {
  32295. "description": "成交单号(关联持仓)",
  32296. "type": "string"
  32297. },
  32298. "transferamount": {
  32299. "description": "转让总金额(金额)",
  32300. "type": "number"
  32301. },
  32302. "transferprice": {
  32303. "description": "转让价格(协议价格)",
  32304. "type": "number"
  32305. }
  32306. }
  32307. },
  32308. "models.TradeHolderDetail": {
  32309. "type": "object",
  32310. "properties": {
  32311. "accountid": {
  32312. "description": "账号ID",
  32313. "type": "integer"
  32314. },
  32315. "agreeunit": {
  32316. "description": "合约乘数",
  32317. "type": "number"
  32318. },
  32319. "buyorsell": {
  32320. "description": "方向 - 0:买 1:卖",
  32321. "type": "integer"
  32322. },
  32323. "currencyid": {
  32324. "description": "商品币种id",
  32325. "type": "integer"
  32326. },
  32327. "currencyname": {
  32328. "description": "币种名称",
  32329. "type": "string"
  32330. },
  32331. "decimalplace": {
  32332. "description": "商品价格小数位",
  32333. "type": "integer"
  32334. },
  32335. "enumdicname": {
  32336. "description": "商品单位名称",
  32337. "type": "string"
  32338. },
  32339. "expirecycle": {
  32340. "description": "行权周期(天) - 1:滚动行权时填写",
  32341. "type": "integer"
  32342. },
  32343. "expiredate": {
  32344. "description": "行权日(yyyyMMdd) - 到期日",
  32345. "type": "string"
  32346. },
  32347. "expiretype": {
  32348. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  32349. "type": "integer"
  32350. },
  32351. "freezeqty": {
  32352. "description": "冻结数量",
  32353. "type": "number"
  32354. },
  32355. "goodscode": {
  32356. "description": "商品代码",
  32357. "type": "string"
  32358. },
  32359. "goodsid": {
  32360. "description": "商品ID",
  32361. "type": "integer"
  32362. },
  32363. "goodsname": {
  32364. "description": "商品名称",
  32365. "type": "string"
  32366. },
  32367. "goodunitid": {
  32368. "description": "商品单位id",
  32369. "type": "integer"
  32370. },
  32371. "holderamount": {
  32372. "description": "持仓金额",
  32373. "type": "number"
  32374. },
  32375. "holdercredit": {
  32376. "description": "持仓授信金额",
  32377. "type": "number"
  32378. },
  32379. "holderdays": {
  32380. "description": "剩余冻结天数",
  32381. "type": "integer"
  32382. },
  32383. "holderprice": {
  32384. "description": "持仓价格",
  32385. "type": "number"
  32386. },
  32387. "holderqty": {
  32388. "description": "持仓数量",
  32389. "type": "number"
  32390. },
  32391. "isconfirmexercise": {
  32392. "description": "是否确认行权- 0:否 1:是",
  32393. "type": "integer"
  32394. },
  32395. "ispreexercise": {
  32396. "description": "是否预申报- 0:否 1:是 2:不可行权",
  32397. "type": "integer"
  32398. },
  32399. "marketid": {
  32400. "description": "市场id",
  32401. "type": "integer"
  32402. },
  32403. "marketname": {
  32404. "description": "市场名称",
  32405. "type": "string"
  32406. },
  32407. "openprice": {
  32408. "description": "建仓价格",
  32409. "type": "number"
  32410. },
  32411. "openqty": {
  32412. "description": "建仓数量",
  32413. "type": "number"
  32414. },
  32415. "optiontype": {
  32416. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  32417. "type": "integer"
  32418. },
  32419. "preexerciseprice": {
  32420. "description": "预申报价格",
  32421. "type": "number"
  32422. },
  32423. "premium": {
  32424. "description": "权利金",
  32425. "type": "number"
  32426. },
  32427. "qtydecimalplace": {
  32428. "description": "商品成交量小数位",
  32429. "type": "integer"
  32430. },
  32431. "refgoodscode": {
  32432. "description": "标的合约代码",
  32433. "type": "string"
  32434. },
  32435. "refgoodsid": {
  32436. "description": "标的合约id",
  32437. "type": "integer"
  32438. },
  32439. "releaseamount": {
  32440. "description": "释放持仓金额",
  32441. "type": "number"
  32442. },
  32443. "releaseholdercredit": {
  32444. "description": "释放持仓授信金额",
  32445. "type": "number"
  32446. },
  32447. "taname": {
  32448. "description": "资金账号名称",
  32449. "type": "string"
  32450. },
  32451. "tradeamount": {
  32452. "description": "成交金额",
  32453. "type": "number"
  32454. },
  32455. "tradedate": {
  32456. "description": "交易日(yyyyMMdd)",
  32457. "type": "string"
  32458. },
  32459. "tradeid": {
  32460. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32461. "type": "string"
  32462. },
  32463. "trademode": {
  32464. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  32465. "type": "integer"
  32466. },
  32467. "tradeproperty": {
  32468. "description": "交易属性",
  32469. "type": "integer"
  32470. },
  32471. "tradetime": {
  32472. "description": "交易时间",
  32473. "type": "string"
  32474. },
  32475. "userid": {
  32476. "description": "用户id",
  32477. "type": "integer"
  32478. },
  32479. "username": {
  32480. "description": "用户名称",
  32481. "type": "string"
  32482. }
  32483. }
  32484. },
  32485. "models.UserCollectConfig": {
  32486. "type": "object",
  32487. "properties": {
  32488. "accountstatus": {
  32489. "description": "账户状态 - 1:正常 2:停用 3:注销",
  32490. "type": "integer"
  32491. },
  32492. "collectaccountname": {
  32493. "description": "收款人账户名称",
  32494. "type": "string"
  32495. },
  32496. "collectaccountno": {
  32497. "description": "收款人账户",
  32498. "type": "string"
  32499. },
  32500. "collectbankname": {
  32501. "description": "收款人开户行",
  32502. "type": "string"
  32503. },
  32504. "collectbranchbankname": {
  32505. "description": "收款人开户支行",
  32506. "type": "string"
  32507. },
  32508. "collectconfigid": {
  32509. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  32510. "type": "string"
  32511. },
  32512. "remark": {
  32513. "description": "备注",
  32514. "type": "string"
  32515. },
  32516. "userid": {
  32517. "description": "收款人用户ID",
  32518. "type": "integer"
  32519. }
  32520. }
  32521. },
  32522. "models.UserReceiveInfo": {
  32523. "type": "object",
  32524. "properties": {
  32525. "address": {
  32526. "description": "提货人详细地址",
  32527. "type": "string"
  32528. },
  32529. "autoid": {
  32530. "description": "AutoID",
  32531. "type": "integer"
  32532. },
  32533. "cardnum": {
  32534. "description": "证件号码(加密存储)",
  32535. "type": "string"
  32536. },
  32537. "cardtypeid": {
  32538. "description": "证件类型",
  32539. "type": "integer"
  32540. },
  32541. "cityid": {
  32542. "description": "市",
  32543. "type": "integer"
  32544. },
  32545. "cityname": {
  32546. "description": "城市名称",
  32547. "type": "string"
  32548. },
  32549. "countryid": {
  32550. "description": "国家",
  32551. "type": "integer"
  32552. },
  32553. "countryname": {
  32554. "description": "国家名称",
  32555. "type": "string"
  32556. },
  32557. "districtid": {
  32558. "description": "地区",
  32559. "type": "integer"
  32560. },
  32561. "districtname": {
  32562. "description": "地区名称",
  32563. "type": "string"
  32564. },
  32565. "hasencrypt": {
  32566. "description": "数据是否已加密 - 0:未加密 1:已加密",
  32567. "type": "integer"
  32568. },
  32569. "isdefault": {
  32570. "description": "是否默认地址 - 0:否 1:是",
  32571. "type": "integer"
  32572. },
  32573. "phonenum": {
  32574. "description": "提货人联系方式(加密存储)",
  32575. "type": "string"
  32576. },
  32577. "provinceid": {
  32578. "description": "省",
  32579. "type": "integer"
  32580. },
  32581. "provincename": {
  32582. "description": "省名称",
  32583. "type": "string"
  32584. },
  32585. "receivername": {
  32586. "description": "提货人姓名",
  32587. "type": "string"
  32588. },
  32589. "takeremark": {
  32590. "description": "提货备注",
  32591. "type": "string"
  32592. },
  32593. "userid": {
  32594. "description": "用户ID",
  32595. "type": "integer"
  32596. }
  32597. }
  32598. },
  32599. "models.Useraccount": {
  32600. "type": "object",
  32601. "required": [
  32602. "userid"
  32603. ],
  32604. "properties": {
  32605. "accountname": {
  32606. "description": "账户名称(机构名称)",
  32607. "type": "string"
  32608. },
  32609. "accountstatus": {
  32610. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  32611. "type": "integer"
  32612. },
  32613. "applysrc": {
  32614. "description": "申请来源 - 1:管理端 2:终端",
  32615. "type": "integer"
  32616. },
  32617. "auditremark": {
  32618. "description": "审核备注",
  32619. "type": "string"
  32620. },
  32621. "auditsrc": {
  32622. "description": "审核来源 - 1:管理端 2:终端",
  32623. "type": "integer"
  32624. },
  32625. "audittime": {
  32626. "description": "审核时间",
  32627. "type": "string"
  32628. },
  32629. "audituserid": {
  32630. "description": "审核人",
  32631. "type": "integer"
  32632. },
  32633. "broker": {
  32634. "description": "所属经纪人ID",
  32635. "type": "integer"
  32636. },
  32637. "canceltime": {
  32638. "description": "销户时间",
  32639. "type": "string"
  32640. },
  32641. "canceluserid": {
  32642. "description": "销户人",
  32643. "type": "integer"
  32644. },
  32645. "canrecommend": {
  32646. "description": "是否可推荐 - 0:不可 1;可",
  32647. "type": "integer"
  32648. },
  32649. "createtime": {
  32650. "description": "创建时间",
  32651. "type": "string"
  32652. },
  32653. "creatorid": {
  32654. "description": "创建人",
  32655. "type": "integer"
  32656. },
  32657. "hasauth": {
  32658. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  32659. "type": "integer"
  32660. },
  32661. "isanonymous": {
  32662. "description": "是否匿名下单 - 0:否 1:是",
  32663. "type": "integer"
  32664. },
  32665. "maxinvestornum": {
  32666. "description": "最大用户数(经纪会员下投资者个数)",
  32667. "type": "integer"
  32668. },
  32669. "memberuserid": {
  32670. "description": "所属会员ID",
  32671. "type": "integer"
  32672. },
  32673. "modifierid": {
  32674. "description": "修改人",
  32675. "type": "integer"
  32676. },
  32677. "modifyremark": {
  32678. "description": "变更备注",
  32679. "type": "string"
  32680. },
  32681. "modifystatus": {
  32682. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  32683. "type": "integer"
  32684. },
  32685. "modifytime": {
  32686. "description": "修改时间",
  32687. "type": "string"
  32688. },
  32689. "parenttopuser": {
  32690. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  32691. "type": "string"
  32692. },
  32693. "parentuserid": {
  32694. "description": "所属机构ID",
  32695. "type": "integer"
  32696. },
  32697. "reckonaccountid": {
  32698. "description": "默认结算资金账号ID(机构分润使用) 作废",
  32699. "type": "integer"
  32700. },
  32701. "refercount": {
  32702. "description": "推荐总人数",
  32703. "type": "integer"
  32704. },
  32705. "refereeuserid": {
  32706. "description": "推荐人ID",
  32707. "type": "integer"
  32708. },
  32709. "refernum": {
  32710. "description": "推荐码",
  32711. "type": "string"
  32712. },
  32713. "rootuserid": {
  32714. "description": "根用户ID",
  32715. "type": "integer"
  32716. },
  32717. "subaccountlevel": {
  32718. "description": "子账户层数",
  32719. "type": "integer"
  32720. },
  32721. "subarealevelpath": {
  32722. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  32723. "type": "string"
  32724. },
  32725. "userid": {
  32726. "description": "用户ID",
  32727. "type": "integer"
  32728. },
  32729. "usertype": {
  32730. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  32731. "type": "integer"
  32732. }
  32733. }
  32734. },
  32735. "models.Userfavoritegoods": {
  32736. "type": "object",
  32737. "required": [
  32738. "goodsid"
  32739. ],
  32740. "properties": {
  32741. "goodsid": {
  32742. "description": "商品ID",
  32743. "type": "integer"
  32744. }
  32745. }
  32746. },
  32747. "models.Userinfo": {
  32748. "type": "object",
  32749. "required": [
  32750. "userid"
  32751. ],
  32752. "properties": {
  32753. "address": {
  32754. "description": "地址",
  32755. "type": "string"
  32756. },
  32757. "attachment1": {
  32758. "description": "附件1",
  32759. "type": "string"
  32760. },
  32761. "attachment2": {
  32762. "description": "附件2",
  32763. "type": "string"
  32764. },
  32765. "bankaccount": {
  32766. "description": "银行帐号 (加密存储)",
  32767. "type": "string"
  32768. },
  32769. "bankaccountname": {
  32770. "description": "收款人名称",
  32771. "type": "string"
  32772. },
  32773. "bankcardfrontphotourl": {
  32774. "description": "银行卡正面照地址",
  32775. "type": "string"
  32776. },
  32777. "bankid": {
  32778. "description": "银行编码",
  32779. "type": "string"
  32780. },
  32781. "bankname": {
  32782. "description": "银行名称",
  32783. "type": "string"
  32784. },
  32785. "biznature": {
  32786. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  32787. "type": "integer"
  32788. },
  32789. "bizscope": {
  32790. "description": "企业经营范围(企业)",
  32791. "type": "string"
  32792. },
  32793. "cardbackphotourl": {
  32794. "description": "证件背面图片地址",
  32795. "type": "string"
  32796. },
  32797. "cardfrontphotourl": {
  32798. "description": "证件正面图片地址",
  32799. "type": "string"
  32800. },
  32801. "cardnum": {
  32802. "description": "证件号码(加密存储)",
  32803. "type": "string"
  32804. },
  32805. "cardtypeid": {
  32806. "description": "证件类型ID",
  32807. "type": "integer"
  32808. },
  32809. "cityid": {
  32810. "description": "市",
  32811. "type": "integer"
  32812. },
  32813. "company": {
  32814. "description": "公司(个人)",
  32815. "type": "string"
  32816. },
  32817. "contactname": {
  32818. "description": "联系人",
  32819. "type": "string"
  32820. },
  32821. "countryid": {
  32822. "description": "国家",
  32823. "type": "integer"
  32824. },
  32825. "createtime": {
  32826. "description": "创建时间",
  32827. "type": "string"
  32828. },
  32829. "creatorid": {
  32830. "description": "创建人",
  32831. "type": "integer"
  32832. },
  32833. "customername": {
  32834. "description": "客户名称(企业名称)",
  32835. "type": "string"
  32836. },
  32837. "districtid": {
  32838. "description": "地区",
  32839. "type": "integer"
  32840. },
  32841. "email": {
  32842. "description": "邮件(加密存储)",
  32843. "type": "string"
  32844. },
  32845. "fax": {
  32846. "description": "传真(加密存储)",
  32847. "type": "string"
  32848. },
  32849. "halfbodyphotourl": {
  32850. "description": "半身照地址",
  32851. "type": "string"
  32852. },
  32853. "hasencrypt": {
  32854. "description": "数据是否已加密 - 0:未加密 1:已加密",
  32855. "type": "integer"
  32856. },
  32857. "headurl": {
  32858. "description": "头像地址",
  32859. "type": "string"
  32860. },
  32861. "legalcardbackphotourl": {
  32862. "description": "法人身份证背面照地址",
  32863. "type": "string"
  32864. },
  32865. "legalcardfrontphotourl": {
  32866. "description": "法人身份证正面照地址",
  32867. "type": "string"
  32868. },
  32869. "legalpersonname": {
  32870. "description": "法人姓名(企业)",
  32871. "type": "string"
  32872. },
  32873. "mobile": {
  32874. "description": "手机号码(加密存储)",
  32875. "type": "string"
  32876. },
  32877. "mobile2": {
  32878. "description": "手机号码[明文-尚志]",
  32879. "type": "string"
  32880. },
  32881. "modifierid": {
  32882. "description": "修改人",
  32883. "type": "integer"
  32884. },
  32885. "modifiertime": {
  32886. "description": "修改时间",
  32887. "type": "string"
  32888. },
  32889. "needinvoice": {
  32890. "description": "是否需要发票 - 0:不需要 1:需要",
  32891. "type": "integer"
  32892. },
  32893. "nickname": {
  32894. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  32895. "type": "string"
  32896. },
  32897. "openmode": {
  32898. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  32899. "type": "integer"
  32900. },
  32901. "otherurl": {
  32902. "description": "其它图片地址[使用分号分隔]",
  32903. "type": "string"
  32904. },
  32905. "postalcode": {
  32906. "description": "邮政编码",
  32907. "type": "string"
  32908. },
  32909. "provinceid": {
  32910. "description": "省",
  32911. "type": "integer"
  32912. },
  32913. "qq": {
  32914. "description": "QQ(加密存储",
  32915. "type": "string"
  32916. },
  32917. "remark": {
  32918. "description": "备注",
  32919. "type": "string"
  32920. },
  32921. "sex": {
  32922. "description": "用户性别 0: 女 1: 男",
  32923. "type": "integer"
  32924. },
  32925. "signpdfurl": {
  32926. "description": "签约pdf文件",
  32927. "type": "string"
  32928. },
  32929. "telphone": {
  32930. "description": "联系电话(加密存储)",
  32931. "type": "string"
  32932. },
  32933. "userid": {
  32934. "description": "用户ID",
  32935. "type": "integer"
  32936. },
  32937. "userinfotype": {
  32938. "description": "用户信息类型 - 1:个人 2:企业",
  32939. "type": "integer"
  32940. },
  32941. "userstatus": {
  32942. "description": "用户状态 - 1:正常 2:注销",
  32943. "type": "integer"
  32944. },
  32945. "usertype": {
  32946. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  32947. "type": "integer"
  32948. },
  32949. "wechat": {
  32950. "description": "微信(加密存储)",
  32951. "type": "string"
  32952. },
  32953. "wskhinfo": {
  32954. "description": "开户申请信息(JSON)",
  32955. "type": "string"
  32956. }
  32957. }
  32958. },
  32959. "models.WRSConverTDetail": {
  32960. "type": "object",
  32961. "properties": {
  32962. "convertratio": {
  32963. "description": "套保系数",
  32964. "type": "number"
  32965. },
  32966. "deliverygoodscode": {
  32967. "description": "现货商品代码",
  32968. "type": "string"
  32969. },
  32970. "deliverygoodsid": {
  32971. "description": "现货品种ID",
  32972. "type": "integer"
  32973. },
  32974. "deliverygoodsname": {
  32975. "description": "现货商品名称",
  32976. "type": "string"
  32977. },
  32978. "enumdicname": {
  32979. "description": "单位名称",
  32980. "type": "string"
  32981. },
  32982. "goodsunitid": {
  32983. "description": "套保品种单位id",
  32984. "type": "integer"
  32985. },
  32986. "middlegoodscode": {
  32987. "description": "套保品种代码",
  32988. "type": "string"
  32989. },
  32990. "middlegoodsid": {
  32991. "description": "套保品种ID",
  32992. "type": "integer"
  32993. },
  32994. "middlegoodsname": {
  32995. "description": "套保品种名称",
  32996. "type": "string"
  32997. },
  32998. "modifytime": {
  32999. "description": "修改时间",
  33000. "type": "string"
  33001. },
  33002. "wrstandardid": {
  33003. "description": "品类ID",
  33004. "type": "integer"
  33005. }
  33006. }
  33007. },
  33008. "models.WRStandardInfo": {
  33009. "type": "object",
  33010. "required": [
  33011. "wrstandardid"
  33012. ],
  33013. "properties": {
  33014. "areauserid": {
  33015. "description": "所属机构",
  33016. "type": "integer"
  33017. },
  33018. "convertfactor": {
  33019. "description": "标仓系数",
  33020. "type": "number"
  33021. },
  33022. "createtime": {
  33023. "description": "创建时间",
  33024. "type": "string"
  33025. },
  33026. "creatorid": {
  33027. "description": "创建人",
  33028. "type": "integer"
  33029. },
  33030. "deliverygoodsid": {
  33031. "description": "品种ID",
  33032. "type": "integer"
  33033. },
  33034. "deliverygoodsname": {
  33035. "description": "交割商品名称",
  33036. "type": "string"
  33037. },
  33038. "factoryitemjson": {
  33039. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  33040. "type": "string"
  33041. },
  33042. "isvalid": {
  33043. "description": "是否有效 - 0:无效 1:有效",
  33044. "type": "integer"
  33045. },
  33046. "minivalue": {
  33047. "description": "最小变动值",
  33048. "type": "integer"
  33049. },
  33050. "minivaluedp": {
  33051. "description": "最小变动值小数位",
  33052. "type": "integer"
  33053. },
  33054. "realminivalue": {
  33055. "description": "实际最小变动值",
  33056. "type": "integer"
  33057. },
  33058. "realminivaluedp": {
  33059. "description": "实际最小变动值小数位",
  33060. "type": "integer"
  33061. },
  33062. "remark": {
  33063. "description": "备注",
  33064. "type": "string"
  33065. },
  33066. "unitid": {
  33067. "description": "单位ID",
  33068. "type": "integer"
  33069. },
  33070. "unitname": {
  33071. "description": "单位",
  33072. "type": "string"
  33073. },
  33074. "updatetime": {
  33075. "description": "更新时间",
  33076. "type": "string"
  33077. },
  33078. "updatorid": {
  33079. "description": "更新人",
  33080. "type": "integer"
  33081. },
  33082. "wrsstatus": {
  33083. "description": "状态 - 作废 - 0:未激活 1:正常",
  33084. "type": "integer"
  33085. },
  33086. "wrstandardcode": {
  33087. "description": "现货品类代码",
  33088. "type": "string"
  33089. },
  33090. "wrstandardid": {
  33091. "description": "现货品类ID(SEQ_WRSTANDARD)",
  33092. "type": "integer"
  33093. },
  33094. "wrstandardname": {
  33095. "description": "现货品类名称",
  33096. "type": "string"
  33097. }
  33098. }
  33099. },
  33100. "models.WRTradeBargainApply": {
  33101. "type": "object",
  33102. "properties": {
  33103. "accountid": {
  33104. "description": "摘牌资金账号",
  33105. "type": "integer"
  33106. },
  33107. "applyprice": {
  33108. "description": "申请价格(议价价格)",
  33109. "type": "string"
  33110. },
  33111. "applyqty": {
  33112. "description": "摘牌数量(议价数量)",
  33113. "type": "number"
  33114. },
  33115. "applyremark": {
  33116. "description": "申请备注",
  33117. "type": "string"
  33118. },
  33119. "applystatus": {
  33120. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  33121. "type": "integer"
  33122. },
  33123. "applytime": {
  33124. "description": "申请时间(议价时间)",
  33125. "type": "string"
  33126. },
  33127. "buyorsell": {
  33128. "description": "买卖(挂牌类型) - 0:买 1:卖",
  33129. "type": "integer"
  33130. },
  33131. "confirmremark": {
  33132. "description": "确认备注",
  33133. "type": "string"
  33134. },
  33135. "confirmtime": {
  33136. "description": "确认时间",
  33137. "type": "string"
  33138. },
  33139. "confirmuserid": {
  33140. "description": "确认人",
  33141. "type": "integer"
  33142. },
  33143. "deliverygoodscode": {
  33144. "description": "品种代码",
  33145. "type": "string"
  33146. },
  33147. "deliverygoodsid": {
  33148. "description": "品种ID",
  33149. "type": "integer"
  33150. },
  33151. "deliverygoodsname": {
  33152. "description": "品种名称",
  33153. "type": "string"
  33154. },
  33155. "deliverymonth": {
  33156. "description": "交收月",
  33157. "type": "string"
  33158. },
  33159. "enumdicname": {
  33160. "description": "单位名称",
  33161. "type": "string"
  33162. },
  33163. "fixedprice": {
  33164. "description": "挂牌价格",
  33165. "type": "number"
  33166. },
  33167. "handlestatus": {
  33168. "description": "处理状态",
  33169. "type": "integer"
  33170. },
  33171. "marginvalue": {
  33172. "description": "履约保证金比例",
  33173. "type": "number"
  33174. },
  33175. "marketid": {
  33176. "description": "市场ID",
  33177. "type": "integer"
  33178. },
  33179. "matchaccountid": {
  33180. "description": "挂牌方资金账号",
  33181. "type": "integer"
  33182. },
  33183. "matchuserid": {
  33184. "description": "挂牌方用户id",
  33185. "type": "integer"
  33186. },
  33187. "matchusername": {
  33188. "description": "挂牌方用户名称(已脱敏)",
  33189. "type": "string"
  33190. },
  33191. "minivalue": {
  33192. "description": "现货商品最小变动值",
  33193. "type": "integer"
  33194. },
  33195. "optioncompare": {
  33196. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33197. "type": "string"
  33198. },
  33199. "orderqty": {
  33200. "description": "挂牌数量",
  33201. "type": "integer"
  33202. },
  33203. "refprice": {
  33204. "description": "参考价格",
  33205. "type": "string"
  33206. },
  33207. "retcode": {
  33208. "description": "委托返回代码",
  33209. "type": "integer"
  33210. },
  33211. "templatename": {
  33212. "description": "履约方式(履约模板名称)",
  33213. "type": "string"
  33214. },
  33215. "tradedate": {
  33216. "description": "交易日(yyyyMMdd)",
  33217. "type": "string"
  33218. },
  33219. "userid": {
  33220. "description": "摘牌人用户ID(议价人ID)",
  33221. "type": "integer"
  33222. },
  33223. "username": {
  33224. "description": "议价人名字(已脱敏)",
  33225. "type": "string"
  33226. },
  33227. "validtime": {
  33228. "description": "有效期限",
  33229. "type": "string"
  33230. },
  33231. "warehouseid": {
  33232. "description": "仓库ID",
  33233. "type": "integer"
  33234. },
  33235. "warehousename": {
  33236. "description": "仓库名称",
  33237. "type": "string"
  33238. },
  33239. "wrbargainid": {
  33240. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  33241. "type": "string"
  33242. },
  33243. "wrfactortypeid": {
  33244. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33245. "type": "string"
  33246. },
  33247. "wrfactortypename": {
  33248. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33249. "type": "string"
  33250. },
  33251. "wrstandardcode": {
  33252. "description": "现货商品代码",
  33253. "type": "string"
  33254. },
  33255. "wrstandardid": {
  33256. "description": "现货商品ID",
  33257. "type": "integer"
  33258. },
  33259. "wrstandardname": {
  33260. "description": "商品名称",
  33261. "type": "string"
  33262. },
  33263. "wrtradeorderid": {
  33264. "description": "关联委托单ID",
  33265. "type": "string"
  33266. },
  33267. "wrtypename": {
  33268. "description": "商品",
  33269. "type": "string"
  33270. }
  33271. }
  33272. },
  33273. "models.Warehouseinfo": {
  33274. "type": "object",
  33275. "required": [
  33276. "autoid",
  33277. "warehousecode"
  33278. ],
  33279. "properties": {
  33280. "address": {
  33281. "description": "详细地址",
  33282. "type": "string"
  33283. },
  33284. "areauserid": {
  33285. "description": "所属机构",
  33286. "type": "integer"
  33287. },
  33288. "autoid": {
  33289. "description": "自增ID",
  33290. "type": "integer"
  33291. },
  33292. "cityid": {
  33293. "description": "市",
  33294. "type": "integer"
  33295. },
  33296. "contactname": {
  33297. "description": "联系人",
  33298. "type": "string"
  33299. },
  33300. "contactnum": {
  33301. "description": "联系电话",
  33302. "type": "string"
  33303. },
  33304. "countryid": {
  33305. "description": "国家",
  33306. "type": "integer"
  33307. },
  33308. "createtime": {
  33309. "description": "创建时间",
  33310. "type": "string"
  33311. },
  33312. "districtid": {
  33313. "description": "区",
  33314. "type": "integer"
  33315. },
  33316. "hasvideo": {
  33317. "description": "是否有视频 - 0:无 1:有",
  33318. "type": "integer"
  33319. },
  33320. "provinceid": {
  33321. "description": "省",
  33322. "type": "integer"
  33323. },
  33324. "remark": {
  33325. "description": "审核备注",
  33326. "type": "string"
  33327. },
  33328. "videourl": {
  33329. "description": "视频地址",
  33330. "type": "string"
  33331. },
  33332. "warehousecode": {
  33333. "description": "仓库代码",
  33334. "type": "string"
  33335. },
  33336. "warehousename": {
  33337. "description": "仓库名称",
  33338. "type": "string"
  33339. },
  33340. "warehousestatus": {
  33341. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  33342. "type": "integer"
  33343. },
  33344. "warehousetype": {
  33345. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  33346. "type": "integer"
  33347. }
  33348. }
  33349. },
  33350. "models.WrAverageTradePrice": {
  33351. "type": "object",
  33352. "properties": {
  33353. "averageprice": {
  33354. "description": "成交均价",
  33355. "type": "number"
  33356. },
  33357. "tradedate": {
  33358. "description": "交易日yyyymm",
  33359. "type": "string"
  33360. }
  33361. }
  33362. },
  33363. "models.WrBsGoodsInfo": {
  33364. "type": "object",
  33365. "properties": {
  33366. "buyorsell": {
  33367. "description": "买卖方向 0-买 1-卖",
  33368. "type": "integer"
  33369. },
  33370. "goodsid": {
  33371. "description": "交易合约ID",
  33372. "type": "integer"
  33373. },
  33374. "lstitem": {
  33375. "description": "商品信息项",
  33376. "type": "array",
  33377. "items": {
  33378. "$ref": "#/definitions/models.WrTypeItem"
  33379. }
  33380. },
  33381. "lststep": {
  33382. "description": "履约规则",
  33383. "type": "array",
  33384. "items": {
  33385. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  33386. }
  33387. }
  33388. }
  33389. },
  33390. "models.WrBuybackDetail": {
  33391. "type": "object",
  33392. "properties": {
  33393. "buybackamount": {
  33394. "description": "回购金额",
  33395. "type": "number"
  33396. },
  33397. "buybackqty": {
  33398. "description": "回购数量",
  33399. "type": "number"
  33400. },
  33401. "buybackreleasemargin": {
  33402. "description": "回购释放保证金",
  33403. "type": "number"
  33404. },
  33405. "buybacktime": {
  33406. "description": "回购时间",
  33407. "type": "string"
  33408. },
  33409. "errordesc": {
  33410. "description": "错误描述",
  33411. "type": "string"
  33412. },
  33413. "handlestatus": {
  33414. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  33415. "type": "integer"
  33416. },
  33417. "relatedwrid": {
  33418. "description": "关联仓单ID",
  33419. "type": "integer"
  33420. },
  33421. "scfcontractid": {
  33422. "description": "SCF合同ID",
  33423. "type": "string"
  33424. },
  33425. "scfwrbuybackid": {
  33426. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  33427. "type": "integer"
  33428. },
  33429. "tradedate": {
  33430. "description": "交易日(yyyyMMdd)",
  33431. "type": "string"
  33432. }
  33433. }
  33434. },
  33435. "models.WrDeliveryAvalidHoldLB": {
  33436. "type": "object",
  33437. "properties": {
  33438. "accountid": {
  33439. "description": "资金账号",
  33440. "type": "integer"
  33441. },
  33442. "avalidqty": {
  33443. "description": "数量(可点选数量)",
  33444. "type": "number"
  33445. },
  33446. "deliverygoodsid": {
  33447. "description": "品种id",
  33448. "type": "integer"
  33449. },
  33450. "enumdicname": {
  33451. "description": "单位名称",
  33452. "type": "string"
  33453. },
  33454. "goodsid": {
  33455. "description": "x合约商品id",
  33456. "type": "integer"
  33457. },
  33458. "ladingbillid": {
  33459. "description": "提单id",
  33460. "type": "string"
  33461. },
  33462. "pgoodscode": {
  33463. "description": "p商品代码(点价合约)",
  33464. "type": "string"
  33465. },
  33466. "pgoodsid": {
  33467. "description": "p商品id(点价合约)",
  33468. "type": "integer"
  33469. },
  33470. "pgoodsname": {
  33471. "description": "p商品名称(点价合约)",
  33472. "type": "string"
  33473. },
  33474. "pricemove": {
  33475. "description": "升贴水",
  33476. "type": "number"
  33477. },
  33478. "subnum": {
  33479. "description": "提单子id",
  33480. "type": "integer"
  33481. },
  33482. "userid": {
  33483. "description": "用户id",
  33484. "type": "integer"
  33485. },
  33486. "username": {
  33487. "description": "仓单持有人",
  33488. "type": "string"
  33489. },
  33490. "warehousecode": {
  33491. "description": "仓库代码",
  33492. "type": "string"
  33493. },
  33494. "warehouseid": {
  33495. "description": "仓库id",
  33496. "type": "integer"
  33497. },
  33498. "warehousename": {
  33499. "description": "仓库名称",
  33500. "type": "string"
  33501. },
  33502. "wrfactortypeid": {
  33503. "description": "仓单要素id",
  33504. "type": "string"
  33505. },
  33506. "wrstandardcode": {
  33507. "description": "品代码",
  33508. "type": "string"
  33509. },
  33510. "wrstandardid": {
  33511. "description": "品类d",
  33512. "type": "integer"
  33513. },
  33514. "wrstandardname": {
  33515. "description": "品类名称",
  33516. "type": "string"
  33517. },
  33518. "wrtypename": {
  33519. "description": "商品",
  33520. "type": "string"
  33521. },
  33522. "xgoodscode": {
  33523. "description": "x合约代码",
  33524. "type": "string"
  33525. },
  33526. "xgoodsname": {
  33527. "description": "x合约名称",
  33528. "type": "string"
  33529. }
  33530. }
  33531. },
  33532. "models.WrDeliveryDetail": {
  33533. "type": "object",
  33534. "properties": {
  33535. "accountid": {
  33536. "description": "账号ID",
  33537. "type": "integer"
  33538. },
  33539. "averageprice": {
  33540. "description": "交割均价 = 交割金额 / 交割数量",
  33541. "type": "number"
  33542. },
  33543. "buyorsell": {
  33544. "description": "方向 - 0:买 1:卖",
  33545. "type": "integer"
  33546. },
  33547. "deliveryamount": {
  33548. "description": "货款金额(X总货款+P总货款)",
  33549. "type": "number"
  33550. },
  33551. "deliveryid": {
  33552. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  33553. "type": "string"
  33554. },
  33555. "deliveryorderid": {
  33556. "description": "申报单号",
  33557. "type": "string"
  33558. },
  33559. "deliverypricemove": {
  33560. "description": "升贴水(升贴水总额)",
  33561. "type": "number"
  33562. },
  33563. "deliveryqty": {
  33564. "description": "交收数量(点选数量)",
  33565. "type": "number"
  33566. },
  33567. "deliverystatus": {
  33568. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  33569. "type": "integer"
  33570. },
  33571. "deliverytime": {
  33572. "description": "交割时间",
  33573. "type": "string"
  33574. },
  33575. "deliverytotalamount": {
  33576. "description": "交收金额",
  33577. "type": "number"
  33578. },
  33579. "enumdicname": {
  33580. "description": "单位名称",
  33581. "type": "string"
  33582. },
  33583. "matchaccountid": {
  33584. "description": "对手账号ID",
  33585. "type": "integer"
  33586. },
  33587. "matchusername": {
  33588. "description": "对手方名称(仓单持有人)",
  33589. "type": "string"
  33590. },
  33591. "p1goodsremainamount": {
  33592. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  33593. "type": "number"
  33594. },
  33595. "pdeliverycloseqty": {
  33596. "description": "p合约平仓数量",
  33597. "type": "number"
  33598. },
  33599. "pdeliveryprice": {
  33600. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  33601. "type": "number"
  33602. },
  33603. "pgoodscode": {
  33604. "description": "商品代码",
  33605. "type": "string"
  33606. },
  33607. "pgoodsid": {
  33608. "description": "p点选合约id",
  33609. "type": "integer"
  33610. },
  33611. "pgoodsname": {
  33612. "description": "商品名称",
  33613. "type": "string"
  33614. },
  33615. "ppricemode": {
  33616. "description": "点价价格方式 - 1:商品价 2:固定值",
  33617. "type": "integer"
  33618. },
  33619. "tradedate": {
  33620. "description": "交易日(yyyymmdd)",
  33621. "type": "string"
  33622. },
  33623. "userid": {
  33624. "description": "用户id",
  33625. "type": "integer"
  33626. },
  33627. "username": {
  33628. "description": "用户名称",
  33629. "type": "string"
  33630. },
  33631. "warehousename": {
  33632. "description": "仓库名称",
  33633. "type": "string"
  33634. },
  33635. "wrfactortypeid": {
  33636. "description": "仓单要素类型ID",
  33637. "type": "string"
  33638. },
  33639. "wrtypename": {
  33640. "description": "商品",
  33641. "type": "string"
  33642. },
  33643. "xdeliverycloseqty": {
  33644. "description": "合约数量",
  33645. "type": "number"
  33646. },
  33647. "xgoodsamount": {
  33648. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  33649. "type": "number"
  33650. },
  33651. "xgoodscode": {
  33652. "description": "商品代码",
  33653. "type": "string"
  33654. },
  33655. "xgoodsid": {
  33656. "description": "x交易合约ID",
  33657. "type": "integer"
  33658. },
  33659. "xgoodsname": {
  33660. "description": "商品名称",
  33661. "type": "string"
  33662. }
  33663. }
  33664. },
  33665. "models.WrFAProductDetail": {
  33666. "type": "object",
  33667. "properties": {
  33668. "accountid": {
  33669. "description": "资金账号",
  33670. "type": "integer"
  33671. },
  33672. "areauserid": {
  33673. "description": "金融机构ID",
  33674. "type": "integer"
  33675. },
  33676. "financingdays": {
  33677. "description": "天数(天)",
  33678. "type": "integer"
  33679. },
  33680. "interestminlen": {
  33681. "description": "最小起息天数",
  33682. "type": "integer"
  33683. },
  33684. "interestrate": {
  33685. "description": "利率",
  33686. "type": "number"
  33687. },
  33688. "interestratemode": {
  33689. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  33690. "type": "integer"
  33691. },
  33692. "interestsettlemode": {
  33693. "description": "结息方式 - 1:按日结息 3:按月结息",
  33694. "type": "integer"
  33695. },
  33696. "interestsettlevalue": {
  33697. "description": "结息方式值",
  33698. "type": "integer"
  33699. },
  33700. "isautoloan": {
  33701. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  33702. "type": "integer"
  33703. },
  33704. "loantag": {
  33705. "description": "放款标识: \"放款快\" 或者为空",
  33706. "type": "string"
  33707. },
  33708. "marginratio": {
  33709. "description": "保证金比率质押率 - [仓单质押]",
  33710. "type": "number"
  33711. },
  33712. "productdetailid": {
  33713. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  33714. "type": "integer"
  33715. },
  33716. "productid": {
  33717. "description": "金融产品ID",
  33718. "type": "integer"
  33719. },
  33720. "productname": {
  33721. "description": "产品名称",
  33722. "type": "string"
  33723. },
  33724. "updatetime": {
  33725. "description": "更新时间",
  33726. "type": "string"
  33727. },
  33728. "username": {
  33729. "description": "融出方",
  33730. "type": "string"
  33731. }
  33732. }
  33733. },
  33734. "models.WrFactorTypeInfo": {
  33735. "type": "object",
  33736. "properties": {
  33737. "deliverygoodscode": {
  33738. "description": "品种代码",
  33739. "type": "string"
  33740. },
  33741. "deliverygoodsname": {
  33742. "description": "品种名称",
  33743. "type": "string"
  33744. },
  33745. "dgfactoryitemid": {
  33746. "description": "选择项id",
  33747. "type": "integer"
  33748. },
  33749. "dgfactoryitemtypeid": {
  33750. "description": "要素选择项ID (1-仓库 2-品牌)",
  33751. "type": "integer"
  33752. },
  33753. "dgfactoryitemvalue": {
  33754. "description": "要素项值",
  33755. "type": "string"
  33756. },
  33757. "itemtypename": {
  33758. "description": "要素项名称",
  33759. "type": "string"
  33760. },
  33761. "optioncompare": {
  33762. "description": "选择比较串",
  33763. "type": "string"
  33764. },
  33765. "warehouseid": {
  33766. "description": "仓库id",
  33767. "type": "integer"
  33768. },
  33769. "wrfactortypeid": {
  33770. "description": "仓单要素ID",
  33771. "type": "string"
  33772. },
  33773. "wrfactortypename": {
  33774. "description": "要素名称",
  33775. "type": "string"
  33776. },
  33777. "wrfactortypename2": {
  33778. "description": "要素名称(不含仓库)",
  33779. "type": "string"
  33780. },
  33781. "wrstandardcode": {
  33782. "description": "品类代码",
  33783. "type": "string"
  33784. },
  33785. "wrstandardid": {
  33786. "description": "品类id",
  33787. "type": "integer"
  33788. },
  33789. "wrstandardname": {
  33790. "description": "品类名称",
  33791. "type": "string"
  33792. }
  33793. }
  33794. },
  33795. "models.WrFilterItem": {
  33796. "type": "object",
  33797. "properties": {
  33798. "itemcode": {
  33799. "description": "代码",
  33800. "type": "string"
  33801. },
  33802. "itemid": {
  33803. "description": "项id",
  33804. "type": "integer"
  33805. },
  33806. "itemname": {
  33807. "description": "名称",
  33808. "type": "string"
  33809. },
  33810. "itemtype": {
  33811. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  33812. "type": "integer"
  33813. }
  33814. }
  33815. },
  33816. "models.WrFinanceBuyApply": {
  33817. "type": "object",
  33818. "properties": {
  33819. "applydate": {
  33820. "description": "申请时间",
  33821. "type": "string"
  33822. },
  33823. "applystatus": {
  33824. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  33825. "type": "integer"
  33826. },
  33827. "applyuserid": {
  33828. "description": "申请人",
  33829. "type": "integer"
  33830. },
  33831. "auditdate": {
  33832. "description": "审核时间",
  33833. "type": "string"
  33834. },
  33835. "auditremark": {
  33836. "description": "审核备注",
  33837. "type": "string"
  33838. },
  33839. "audituserid": {
  33840. "description": "审核人",
  33841. "type": "integer"
  33842. },
  33843. "buyaccountid": {
  33844. "description": "买方资金账号",
  33845. "type": "integer"
  33846. },
  33847. "buyorsell": {
  33848. "description": "买卖 - 0:买 1:卖",
  33849. "type": "integer"
  33850. },
  33851. "buyuserid": {
  33852. "description": "买方用户ID",
  33853. "type": "integer"
  33854. },
  33855. "buyusername": {
  33856. "description": "买方名称",
  33857. "type": "string"
  33858. },
  33859. "buywrtradeorderid": {
  33860. "description": "融资方买委托单ID",
  33861. "type": "string"
  33862. },
  33863. "deliverygoodscode": {
  33864. "description": "品种代码",
  33865. "type": "string"
  33866. },
  33867. "deliverygoodsid": {
  33868. "description": "品种ID",
  33869. "type": "integer"
  33870. },
  33871. "deliverygoodsname": {
  33872. "description": "品种名称",
  33873. "type": "string"
  33874. },
  33875. "deliverymonth": {
  33876. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  33877. "type": "string"
  33878. },
  33879. "enumdicname": {
  33880. "description": "单位名称",
  33881. "type": "string"
  33882. },
  33883. "financeaccountid": {
  33884. "description": "融资方资金帐户ID",
  33885. "type": "integer"
  33886. },
  33887. "financeapplyid": {
  33888. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33889. "type": "string"
  33890. },
  33891. "financeareauserid": {
  33892. "description": "融资方用户ID",
  33893. "type": "string"
  33894. },
  33895. "financename": {
  33896. "description": "融出方名称",
  33897. "type": "string"
  33898. },
  33899. "financetype": {
  33900. "description": "融资类型 1-融资回购",
  33901. "type": "integer"
  33902. },
  33903. "financingdays": {
  33904. "description": "天数(天)",
  33905. "type": "integer"
  33906. },
  33907. "freezebuymargin": {
  33908. "description": "冻结融资保证金(买方)",
  33909. "type": "number"
  33910. },
  33911. "handleremark": {
  33912. "description": "处理备注",
  33913. "type": "string"
  33914. },
  33915. "handlestatus": {
  33916. "description": "处理状态",
  33917. "type": "integer"
  33918. },
  33919. "interestminlen": {
  33920. "description": "最小起息天数",
  33921. "type": "integer"
  33922. },
  33923. "interestrate": {
  33924. "description": "利率",
  33925. "type": "number"
  33926. },
  33927. "interestratemode": {
  33928. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  33929. "type": "integer"
  33930. },
  33931. "interestsettlemode": {
  33932. "description": "结息方式 - 1:按日结息 3:按月结息",
  33933. "type": "integer"
  33934. },
  33935. "interestsettlevalue": {
  33936. "description": "结息方式值",
  33937. "type": "integer"
  33938. },
  33939. "isautoloan": {
  33940. "description": "是否自动放款 - 0:手动 1:自动",
  33941. "type": "integer"
  33942. },
  33943. "marginratio": {
  33944. "description": "保证金比率质押率 - [仓单质押]",
  33945. "type": "number"
  33946. },
  33947. "marketid": {
  33948. "description": "市场ID",
  33949. "type": "integer"
  33950. },
  33951. "minivalue": {
  33952. "description": "现货商品最小变动值",
  33953. "type": "integer"
  33954. },
  33955. "optioncompare": {
  33956. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33957. "type": "string"
  33958. },
  33959. "orderqty": {
  33960. "description": "委托数量(商品数量)",
  33961. "type": "number"
  33962. },
  33963. "productdetailid": {
  33964. "description": "产品组合ID",
  33965. "type": "integer"
  33966. },
  33967. "productid": {
  33968. "description": "金融产品ID",
  33969. "type": "integer"
  33970. },
  33971. "productname": {
  33972. "description": "产品名称",
  33973. "type": "string"
  33974. },
  33975. "remark": {
  33976. "description": "备注",
  33977. "type": "string"
  33978. },
  33979. "scfcontractid": {
  33980. "description": "仓单回购合同ID",
  33981. "type": "string"
  33982. },
  33983. "sellaccountid": {
  33984. "description": "卖方资金账号",
  33985. "type": "integer"
  33986. },
  33987. "selluserid": {
  33988. "description": "卖方用户ID",
  33989. "type": "integer"
  33990. },
  33991. "sellwrtradeorderid": {
  33992. "description": "卖方委托单ID",
  33993. "type": "string"
  33994. },
  33995. "tradeamount": {
  33996. "description": "成交金额(借款金额)",
  33997. "type": "number"
  33998. },
  33999. "tradedate": {
  34000. "description": "交易日(yyyyMMdd)",
  34001. "type": "string"
  34002. },
  34003. "tradeprice": {
  34004. "description": "成交价格",
  34005. "type": "number"
  34006. },
  34007. "warehouseid": {
  34008. "description": "仓库ID",
  34009. "type": "integer"
  34010. },
  34011. "warehousename": {
  34012. "description": "仓库名称",
  34013. "type": "string"
  34014. },
  34015. "wrfactortypeid": {
  34016. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34017. "type": "string"
  34018. },
  34019. "wrfactortypename": {
  34020. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34021. "type": "string"
  34022. },
  34023. "wrpricetype": {
  34024. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  34025. "type": "integer"
  34026. },
  34027. "wrstandardcode": {
  34028. "description": "现货商品代码",
  34029. "type": "string"
  34030. },
  34031. "wrstandardid": {
  34032. "description": "现货商品ID",
  34033. "type": "integer"
  34034. },
  34035. "wrstandardname": {
  34036. "description": "商品名称",
  34037. "type": "string"
  34038. },
  34039. "wrtypename": {
  34040. "description": "商品",
  34041. "type": "string"
  34042. }
  34043. }
  34044. },
  34045. "models.WrFriendApply": {
  34046. "type": "object",
  34047. "properties": {
  34048. "applicantid": {
  34049. "description": "申请人",
  34050. "type": "integer"
  34051. },
  34052. "applyname": {
  34053. "description": "申请人名称",
  34054. "type": "string"
  34055. },
  34056. "applysrc": {
  34057. "description": "申请来源 - 1:管理端 2:终端",
  34058. "type": "integer"
  34059. },
  34060. "applystatus": {
  34061. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  34062. "type": "integer"
  34063. },
  34064. "applytime": {
  34065. "description": "申请时间",
  34066. "type": "string"
  34067. },
  34068. "auditname": {
  34069. "description": "审核人名称",
  34070. "type": "string"
  34071. },
  34072. "auditorid": {
  34073. "description": "审核人",
  34074. "type": "integer"
  34075. },
  34076. "auditremark": {
  34077. "description": "审核备注",
  34078. "type": "string"
  34079. },
  34080. "auditsrc": {
  34081. "description": "审核来源 - 1:管理端 2:终端",
  34082. "type": "integer"
  34083. },
  34084. "audittime": {
  34085. "description": "审核时间",
  34086. "type": "string"
  34087. },
  34088. "friendapplyid": {
  34089. "description": "申请ID(SEQ_FRIENDAPPLY)",
  34090. "type": "string"
  34091. },
  34092. "friendname": {
  34093. "description": "好友名字(已脱敏)",
  34094. "type": "string"
  34095. },
  34096. "frienduserid": {
  34097. "description": "好友用户ID",
  34098. "type": "string"
  34099. },
  34100. "remark": {
  34101. "description": "备注",
  34102. "type": "string"
  34103. },
  34104. "userid": {
  34105. "description": "申请人用户ID",
  34106. "type": "integer"
  34107. }
  34108. }
  34109. },
  34110. "models.WrFtDeliveryGoods": {
  34111. "type": "object",
  34112. "properties": {
  34113. "deliverygoodscode": {
  34114. "description": "品种代码",
  34115. "type": "string"
  34116. },
  34117. "deliverygoodsid": {
  34118. "description": "品种ID",
  34119. "type": "integer"
  34120. },
  34121. "deliverygoodsname": {
  34122. "description": "品种名称",
  34123. "type": "string"
  34124. },
  34125. "wdlst": {
  34126. "description": "商品列表",
  34127. "type": "array",
  34128. "items": {
  34129. "$ref": "#/definitions/models.WrFtWrstandard"
  34130. }
  34131. }
  34132. }
  34133. },
  34134. "models.WrFtWrstandard": {
  34135. "type": "object",
  34136. "properties": {
  34137. "enumdicname": {
  34138. "description": "单位名称",
  34139. "type": "string"
  34140. },
  34141. "minivalue": {
  34142. "description": "最小变动值",
  34143. "type": "integer"
  34144. },
  34145. "wrstandardcode": {
  34146. "description": "现货商品代码",
  34147. "type": "string"
  34148. },
  34149. "wrstandardid": {
  34150. "description": "现货商品ID",
  34151. "type": "integer"
  34152. },
  34153. "wrstandardname": {
  34154. "description": "商品名称",
  34155. "type": "string"
  34156. }
  34157. }
  34158. },
  34159. "models.WrGoodsInfo": {
  34160. "type": "object",
  34161. "properties": {
  34162. "haswr": {
  34163. "description": "0:仓单预售 1:仓单贸易",
  34164. "type": "integer"
  34165. },
  34166. "lstitem": {
  34167. "description": "商品信息项",
  34168. "type": "array",
  34169. "items": {
  34170. "$ref": "#/definitions/models.WrTypeItem"
  34171. }
  34172. },
  34173. "lststep": {
  34174. "description": "履约规则",
  34175. "type": "array",
  34176. "items": {
  34177. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34178. }
  34179. },
  34180. "marketid": {
  34181. "description": "市场id",
  34182. "type": "integer"
  34183. }
  34184. }
  34185. },
  34186. "models.WrGoodsPerformanceStep": {
  34187. "type": "object",
  34188. "properties": {
  34189. "autoid": {
  34190. "description": "AutoID",
  34191. "type": "integer"
  34192. },
  34193. "isauto": {
  34194. "description": "是否自动 - 0:不自动 1:自动",
  34195. "type": "integer"
  34196. },
  34197. "remark": {
  34198. "description": "备注",
  34199. "type": "string"
  34200. },
  34201. "stepdate": {
  34202. "description": "天数信息(T+N)",
  34203. "type": "string"
  34204. },
  34205. "stepdays": {
  34206. "description": "距离上一步天数",
  34207. "type": "integer"
  34208. },
  34209. "stepindex": {
  34210. "description": "步骤序号",
  34211. "type": "integer"
  34212. },
  34213. "stepinfo": {
  34214. "description": "步骤信息(步骤名称+步骤值)",
  34215. "type": "string"
  34216. },
  34217. "steptypeid": {
  34218. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  34219. "type": "integer"
  34220. },
  34221. "steptypename": {
  34222. "description": "步骤名称",
  34223. "type": "string"
  34224. },
  34225. "stepvalue": {
  34226. "description": "步骤值",
  34227. "type": "number"
  34228. },
  34229. "templateid": {
  34230. "description": "履约计划模板ID",
  34231. "type": "integer"
  34232. }
  34233. }
  34234. },
  34235. "models.WrHoldLB": {
  34236. "type": "object",
  34237. "properties": {
  34238. "accountid": {
  34239. "description": "持有人帐户ID",
  34240. "type": "integer"
  34241. },
  34242. "createtime": {
  34243. "description": "创建时间(过户时间)",
  34244. "type": "string"
  34245. },
  34246. "deliverygoodscode": {
  34247. "description": "品种代码",
  34248. "type": "string"
  34249. },
  34250. "deliverygoodsid": {
  34251. "description": "品种ID",
  34252. "type": "integer"
  34253. },
  34254. "deliverygoodsname": {
  34255. "description": "品种名称",
  34256. "type": "string"
  34257. },
  34258. "enableqty": {
  34259. "description": "可用数量",
  34260. "type": "number"
  34261. },
  34262. "enumdicname": {
  34263. "description": "单位名称",
  34264. "type": "string"
  34265. },
  34266. "freezerqty": {
  34267. "description": "冻结数量",
  34268. "type": "number"
  34269. },
  34270. "ladingbillid": {
  34271. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  34272. "type": "string"
  34273. },
  34274. "minivalue": {
  34275. "description": "现货商品最小变动值",
  34276. "type": "integer"
  34277. },
  34278. "optioncompare": {
  34279. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34280. "type": "string"
  34281. },
  34282. "parentsubnum": {
  34283. "description": "拆分父子单号",
  34284. "type": "integer"
  34285. },
  34286. "pledgeqty": {
  34287. "description": "质押数量",
  34288. "type": "number"
  34289. },
  34290. "qty": {
  34291. "description": "数量",
  34292. "type": "number"
  34293. },
  34294. "subnum": {
  34295. "description": "提单子单号",
  34296. "type": "integer"
  34297. },
  34298. "tradedate": {
  34299. "description": "交易日(yyyyMMdd)",
  34300. "type": "string"
  34301. },
  34302. "userid": {
  34303. "description": "持有人ID",
  34304. "type": "integer"
  34305. },
  34306. "warehouseid": {
  34307. "description": "仓库ID",
  34308. "type": "integer"
  34309. },
  34310. "warehousename": {
  34311. "description": "仓库名称",
  34312. "type": "string"
  34313. },
  34314. "wrfactortypeid": {
  34315. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34316. "type": "string"
  34317. },
  34318. "wrfactortypename": {
  34319. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34320. "type": "string"
  34321. },
  34322. "wrholdeno": {
  34323. "description": "仓单编号",
  34324. "type": "string"
  34325. },
  34326. "wrid": {
  34327. "description": "仓单变更ID",
  34328. "type": "string"
  34329. },
  34330. "wrstandardcode": {
  34331. "description": "现货商品代码",
  34332. "type": "string"
  34333. },
  34334. "wrstandardid": {
  34335. "description": "现货商品ID",
  34336. "type": "integer"
  34337. },
  34338. "wrstandardname": {
  34339. "description": "商品名称",
  34340. "type": "string"
  34341. },
  34342. "wrtypename": {
  34343. "description": "商品",
  34344. "type": "string"
  34345. }
  34346. }
  34347. },
  34348. "models.WrMarketTradeConfig": {
  34349. "type": "object",
  34350. "properties": {
  34351. "basisdownratio": {
  34352. "description": "浮动价基差下限比例(仓单贸易)",
  34353. "type": "number"
  34354. },
  34355. "basisupratio": {
  34356. "description": "浮动价基差上限比例(仓单贸易)",
  34357. "type": "number"
  34358. },
  34359. "buychargealgorithm": {
  34360. "description": "买方手续费收取方式 1:比率 2:固定",
  34361. "type": "integer"
  34362. },
  34363. "buychargealgorithm2": {
  34364. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  34365. "type": "integer"
  34366. },
  34367. "buychargealgorithmvalue": {
  34368. "description": "买方手续费设置值(交易所部分)",
  34369. "type": "number"
  34370. },
  34371. "buychargealgorithmvalue2": {
  34372. "description": "买方手续费设置值(会员部分)",
  34373. "type": "number"
  34374. },
  34375. "buychargealgorithmvalue3": {
  34376. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  34377. "type": "number"
  34378. },
  34379. "buychargealgorithmvalue4": {
  34380. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  34381. "type": "number"
  34382. },
  34383. "buyfirstmarginalgorithm": {
  34384. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  34385. "type": "integer"
  34386. },
  34387. "buyfirstmarginvalue": {
  34388. "description": "买方出价保证金设置值 - [竞拍]",
  34389. "type": "number"
  34390. },
  34391. "buymarginalgorithm": {
  34392. "description": "买方保证金方式 - 1:比率 2:固定",
  34393. "type": "integer"
  34394. },
  34395. "buymarginvalue": {
  34396. "description": "买方保证金设置值",
  34397. "type": "number"
  34398. },
  34399. "buyreleaseratio": {
  34400. "description": "买方释放比率[2:分步履约]",
  34401. "type": "number"
  34402. },
  34403. "executemode": {
  34404. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  34405. "type": "integer"
  34406. },
  34407. "executeside": {
  34408. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  34409. "type": "integer"
  34410. },
  34411. "failedchargealgorithm": {
  34412. "description": "流拍手续费收取方式 1:比率 2:固定",
  34413. "type": "integer"
  34414. },
  34415. "failedchargevalue": {
  34416. "description": "流拍手续费设置值",
  34417. "type": "number"
  34418. },
  34419. "failedchargevalue2": {
  34420. "description": "流拍卖方手续费设置值",
  34421. "type": "number"
  34422. },
  34423. "holddays": {
  34424. "description": "合同期限[2:分步履约]",
  34425. "type": "integer"
  34426. },
  34427. "marketid": {
  34428. "description": "市场ID-仓单贸易、竞拍、预售",
  34429. "type": "integer"
  34430. },
  34431. "minqty": {
  34432. "description": "最小执行量[2:分步履约]",
  34433. "type": "number"
  34434. },
  34435. "modifierid": {
  34436. "description": "修改人",
  34437. "type": "integer"
  34438. },
  34439. "performancetempid": {
  34440. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  34441. "type": "integer"
  34442. },
  34443. "performancetempid2": {
  34444. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  34445. "type": "integer"
  34446. },
  34447. "performanceway": {
  34448. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  34449. "type": "integer"
  34450. },
  34451. "sellchargealgorithm": {
  34452. "description": "卖方手续费收取方式 1:比率 2:固定",
  34453. "type": "integer"
  34454. },
  34455. "sellchargealgorithm2": {
  34456. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  34457. "type": "integer"
  34458. },
  34459. "sellchargealgorithmvalue": {
  34460. "description": "卖方手续费设置值(交易所部分)",
  34461. "type": "number"
  34462. },
  34463. "sellchargealgorithmvalue2": {
  34464. "description": "卖方手续费设置值(会员部分)",
  34465. "type": "number"
  34466. },
  34467. "sellchargealgorithmvalue3": {
  34468. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  34469. "type": "number"
  34470. },
  34471. "sellchargealgorithmvalue4": {
  34472. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  34473. "type": "number"
  34474. },
  34475. "sellmarginalgorithm": {
  34476. "description": "卖方保证金方式 - 1:比率 2:固定",
  34477. "type": "integer"
  34478. },
  34479. "sellmarginvalue": {
  34480. "description": "卖方保证金设置值",
  34481. "type": "number"
  34482. },
  34483. "sellmarginvalue2": {
  34484. "description": "卖方保证金设置值(无仓单)",
  34485. "type": "number"
  34486. },
  34487. "sellreleaseratio": {
  34488. "description": "卖方释放比率[2:分步履约]",
  34489. "type": "number"
  34490. },
  34491. "updatetime": {
  34492. "description": "更新时间",
  34493. "type": "string"
  34494. }
  34495. }
  34496. },
  34497. "models.WrOrderDetail": {
  34498. "type": "object",
  34499. "properties": {
  34500. "accountid": {
  34501. "description": "交易账号(资金账号)",
  34502. "type": "integer"
  34503. },
  34504. "allfriendsflag": {
  34505. "description": "是否全好友可见 - 0:否 1:是",
  34506. "type": "integer"
  34507. },
  34508. "amount": {
  34509. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  34510. "type": "number"
  34511. },
  34512. "buyorsell": {
  34513. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  34514. "type": "integer"
  34515. },
  34516. "canbargain": {
  34517. "description": "是否可议价 - 0:不可 1:可",
  34518. "type": "integer"
  34519. },
  34520. "cancelqty": {
  34521. "description": "撤销数量",
  34522. "type": "number"
  34523. },
  34524. "canpart": {
  34525. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  34526. "type": "integer"
  34527. },
  34528. "delistminqty": {
  34529. "description": "起摘数量",
  34530. "type": "integer"
  34531. },
  34532. "deliverygoodscode": {
  34533. "description": "品种代码",
  34534. "type": "string"
  34535. },
  34536. "deliverygoodsid": {
  34537. "description": "品种ID",
  34538. "type": "integer"
  34539. },
  34540. "deliverygoodsname": {
  34541. "description": "品种名称",
  34542. "type": "string"
  34543. },
  34544. "deliverymonth": {
  34545. "description": "交收月",
  34546. "type": "string"
  34547. },
  34548. "enumdicname": {
  34549. "description": "单位名称",
  34550. "type": "string"
  34551. },
  34552. "fixedprice": {
  34553. "description": "固定价格 - [挂牌]",
  34554. "type": "number"
  34555. },
  34556. "freezemargin": {
  34557. "description": "冻结保证金(保证金)",
  34558. "type": "number"
  34559. },
  34560. "futupricemove": {
  34561. "description": "期货升贴水",
  34562. "type": "number"
  34563. },
  34564. "futushow": {
  34565. "description": "期货合约/升贴水",
  34566. "type": "string"
  34567. },
  34568. "goodscode": {
  34569. "description": "期货合约",
  34570. "type": "string"
  34571. },
  34572. "goodsid": {
  34573. "description": "期货商品id",
  34574. "type": "integer"
  34575. },
  34576. "goodsname": {
  34577. "description": "商品名称",
  34578. "type": "string"
  34579. },
  34580. "haswr": {
  34581. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  34582. "type": "integer"
  34583. },
  34584. "isspecified": {
  34585. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  34586. "type": "integer"
  34587. },
  34588. "ladingbillid": {
  34589. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  34590. "type": "string"
  34591. },
  34592. "marginvalue": {
  34593. "description": "保证金设置值(履约保证金)",
  34594. "type": "number"
  34595. },
  34596. "marketid": {
  34597. "description": "市场ID",
  34598. "type": "integer"
  34599. },
  34600. "matchusername": {
  34601. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  34602. "type": "string"
  34603. },
  34604. "minivalue": {
  34605. "description": "现货商品最小变动值",
  34606. "type": "integer"
  34607. },
  34608. "optioncompare": {
  34609. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34610. "type": "string"
  34611. },
  34612. "orderqty": {
  34613. "description": "委托数量",
  34614. "type": "number"
  34615. },
  34616. "ordertime": {
  34617. "description": "委托时间(挂牌时间)",
  34618. "type": "string"
  34619. },
  34620. "performancetemplateid": {
  34621. "description": "履约模板id",
  34622. "type": "integer"
  34623. },
  34624. "pricemove": {
  34625. "description": "升贴水(浮动价时填写) - [挂牌]",
  34626. "type": "number"
  34627. },
  34628. "taname": {
  34629. "description": "交易用户名称(资金账号名称)",
  34630. "type": "string"
  34631. },
  34632. "tradedate": {
  34633. "description": "交易日(yyyyMMdd)",
  34634. "type": "string"
  34635. },
  34636. "tradeprice": {
  34637. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  34638. "type": "number"
  34639. },
  34640. "tradeqty": {
  34641. "description": "成交数量",
  34642. "type": "number"
  34643. },
  34644. "userid": {
  34645. "description": "用户ID",
  34646. "type": "integer"
  34647. },
  34648. "validtime": {
  34649. "description": "挂牌有效期",
  34650. "type": "string"
  34651. },
  34652. "warehouseid": {
  34653. "description": "仓库ID",
  34654. "type": "integer"
  34655. },
  34656. "warehousename": {
  34657. "description": "仓库名称",
  34658. "type": "string"
  34659. },
  34660. "wrfactortypeid": {
  34661. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34662. "type": "string"
  34663. },
  34664. "wrfactortypename": {
  34665. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34666. "type": "string"
  34667. },
  34668. "wrpricetype": {
  34669. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  34670. "type": "integer"
  34671. },
  34672. "wrstandardcode": {
  34673. "description": "现货商品代码",
  34674. "type": "string"
  34675. },
  34676. "wrstandardid": {
  34677. "description": "现货商品ID",
  34678. "type": "integer"
  34679. },
  34680. "wrstandardname": {
  34681. "description": "商品名称",
  34682. "type": "string"
  34683. },
  34684. "wrtradeorderid": {
  34685. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34686. "type": "string"
  34687. },
  34688. "wrtradeorderstatus": {
  34689. "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:撤单解冻贷款失败",
  34690. "type": "integer"
  34691. },
  34692. "wrtradetype": {
  34693. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  34694. "type": "integer"
  34695. },
  34696. "wrtypename": {
  34697. "description": "商品",
  34698. "type": "string"
  34699. }
  34700. }
  34701. },
  34702. "models.WrOrderQuote": {
  34703. "type": "object",
  34704. "properties": {
  34705. "buyprice": {
  34706. "description": "买价",
  34707. "type": "number"
  34708. },
  34709. "buypricemove": {
  34710. "description": "买升贴水(基差)",
  34711. "type": "number"
  34712. },
  34713. "buyqty": {
  34714. "description": "买量",
  34715. "type": "number"
  34716. },
  34717. "deliverygoodscode": {
  34718. "description": "品种代码",
  34719. "type": "string"
  34720. },
  34721. "deliverygoodsid": {
  34722. "description": "品种id",
  34723. "type": "integer"
  34724. },
  34725. "deliverygoodsname": {
  34726. "description": "品种名称",
  34727. "type": "string"
  34728. },
  34729. "deliverymonth": {
  34730. "description": "交收月",
  34731. "type": "string"
  34732. },
  34733. "enumdicname": {
  34734. "description": "单位名称",
  34735. "type": "string"
  34736. },
  34737. "goodscode": {
  34738. "description": "商品合约(浮动价列表才有)",
  34739. "type": "string"
  34740. },
  34741. "goodsid": {
  34742. "description": "商品id(浮动价列表才有)",
  34743. "type": "integer"
  34744. },
  34745. "minivalue": {
  34746. "description": "现货商品最小变动值",
  34747. "type": "integer"
  34748. },
  34749. "sellprice": {
  34750. "description": "卖价",
  34751. "type": "number"
  34752. },
  34753. "sellpricemove": {
  34754. "description": "卖升贴水(基差)",
  34755. "type": "number"
  34756. },
  34757. "sellqty": {
  34758. "description": "卖量",
  34759. "type": "number"
  34760. },
  34761. "warehousecode": {
  34762. "description": "仓库代码",
  34763. "type": "string"
  34764. },
  34765. "warehouseid": {
  34766. "description": "仓库id",
  34767. "type": "integer"
  34768. },
  34769. "warehousename": {
  34770. "description": "仓库名称",
  34771. "type": "string"
  34772. },
  34773. "wrfactortypeid": {
  34774. "description": "仓单要素id",
  34775. "type": "string"
  34776. },
  34777. "wrfactortypename": {
  34778. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34779. "type": "string"
  34780. },
  34781. "wrgoodsname": {
  34782. "description": "商品(商品名称+仓库要素名称 拼接)",
  34783. "type": "string"
  34784. },
  34785. "wrstandardcode": {
  34786. "description": "商品代码",
  34787. "type": "string"
  34788. },
  34789. "wrstandardid": {
  34790. "description": "商品id",
  34791. "type": "integer"
  34792. },
  34793. "wrstandardname": {
  34794. "description": "商品名称",
  34795. "type": "string"
  34796. }
  34797. }
  34798. },
  34799. "models.WrOrderQuoteDetail": {
  34800. "type": "object",
  34801. "properties": {
  34802. "buyorsell": {
  34803. "description": "买卖 - 0:买 1:卖",
  34804. "type": "integer"
  34805. },
  34806. "delistminqty": {
  34807. "description": "起摘数量",
  34808. "type": "number"
  34809. },
  34810. "deliverymonth": {
  34811. "description": "交收月",
  34812. "type": "string"
  34813. },
  34814. "enumdicname": {
  34815. "description": "单位名称",
  34816. "type": "string"
  34817. },
  34818. "fixedprice": {
  34819. "description": "买(卖)价",
  34820. "type": "number"
  34821. },
  34822. "minivalue": {
  34823. "description": "现货商品最小变动值",
  34824. "type": "integer"
  34825. },
  34826. "orderqty": {
  34827. "description": "买(卖)量(=委托量-成交量)",
  34828. "type": "number"
  34829. },
  34830. "ordertime": {
  34831. "description": "委托时间",
  34832. "type": "string"
  34833. },
  34834. "pricemove": {
  34835. "description": "买(卖)升贴水- 基差",
  34836. "type": "number"
  34837. },
  34838. "userid": {
  34839. "description": "购买方(销售方)用户ID",
  34840. "type": "integer"
  34841. },
  34842. "username": {
  34843. "description": "购买方(销售方)",
  34844. "type": "string"
  34845. },
  34846. "wrtradeorderid": {
  34847. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34848. "type": "string"
  34849. }
  34850. }
  34851. },
  34852. "models.WrOutInApply": {
  34853. "type": "object",
  34854. "properties": {
  34855. "applyid": {
  34856. "description": "申请单id",
  34857. "type": "string"
  34858. },
  34859. "applystatus": {
  34860. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  34861. "type": "integer"
  34862. },
  34863. "applytime": {
  34864. "description": "申请时间",
  34865. "type": "string"
  34866. },
  34867. "applytype": {
  34868. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  34869. "type": "integer"
  34870. },
  34871. "deliverygoodscode": {
  34872. "description": "品种代码",
  34873. "type": "string"
  34874. },
  34875. "deliverygoodsid": {
  34876. "description": "品种ID",
  34877. "type": "integer"
  34878. },
  34879. "deliverygoodsname": {
  34880. "description": "品种名称",
  34881. "type": "string"
  34882. },
  34883. "enumdicname": {
  34884. "description": "单位名称",
  34885. "type": "string"
  34886. },
  34887. "expresscompany": {
  34888. "description": "物流公司",
  34889. "type": "string"
  34890. },
  34891. "expressnum": {
  34892. "description": "物流单号",
  34893. "type": "string"
  34894. },
  34895. "minivalue": {
  34896. "description": "现货商品最小变动值",
  34897. "type": "integer"
  34898. },
  34899. "optioncompare": {
  34900. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34901. "type": "string"
  34902. },
  34903. "qty": {
  34904. "description": "数量",
  34905. "type": "integer"
  34906. },
  34907. "userid": {
  34908. "description": "用户id",
  34909. "type": "integer"
  34910. },
  34911. "warehouseid": {
  34912. "description": "仓库ID",
  34913. "type": "integer"
  34914. },
  34915. "warehousename": {
  34916. "description": "仓库名称",
  34917. "type": "string"
  34918. },
  34919. "wrfactortypeid": {
  34920. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34921. "type": "string"
  34922. },
  34923. "wrfactortypename": {
  34924. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34925. "type": "string"
  34926. },
  34927. "wrstandardcode": {
  34928. "description": "现货商品代码",
  34929. "type": "string"
  34930. },
  34931. "wrstandardid": {
  34932. "description": "现货商品ID",
  34933. "type": "integer"
  34934. },
  34935. "wrstandardname": {
  34936. "description": "商品名称",
  34937. "type": "string"
  34938. },
  34939. "wrtypename": {
  34940. "description": "商品",
  34941. "type": "string"
  34942. }
  34943. }
  34944. },
  34945. "models.WrPerformancePlan": {
  34946. "type": "object",
  34947. "required": [
  34948. "userid"
  34949. ],
  34950. "properties": {
  34951. "activatemonth": {
  34952. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  34953. "type": "string"
  34954. },
  34955. "amount": {
  34956. "description": "履约金额(总金额)",
  34957. "type": "number"
  34958. },
  34959. "buyaccountid": {
  34960. "description": "买方账号",
  34961. "type": "integer"
  34962. },
  34963. "buyerfreezeamount": {
  34964. "description": "履约冻结(买履约)",
  34965. "type": "number"
  34966. },
  34967. "buyerfreezeamountremain": {
  34968. "description": "履约冻结剩余(买履约)",
  34969. "type": "number"
  34970. },
  34971. "buyorsell": {
  34972. "description": "买卖方向 0-买 1-卖",
  34973. "type": "integer"
  34974. },
  34975. "buypaidamount": {
  34976. "description": "买方已冻/已扣金额 (已付金额)",
  34977. "type": "number"
  34978. },
  34979. "buyusername": {
  34980. "description": "买方名字",
  34981. "type": "string"
  34982. },
  34983. "contractid": {
  34984. "description": "合同ID",
  34985. "type": "integer"
  34986. },
  34987. "createtime": {
  34988. "description": "创建时间",
  34989. "type": "string"
  34990. },
  34991. "creatorid": {
  34992. "description": "创建人",
  34993. "type": "integer"
  34994. },
  34995. "curstepdeadline": {
  34996. "description": "当前步骤到期时间",
  34997. "type": "string"
  34998. },
  34999. "curstepid": {
  35000. "description": "当前步骤ID",
  35001. "type": "string"
  35002. },
  35003. "curstepname": {
  35004. "description": "当前步骤名称",
  35005. "type": "string"
  35006. },
  35007. "deliverygoodscode": {
  35008. "description": "品种代码",
  35009. "type": "string"
  35010. },
  35011. "deliverygoodsid": {
  35012. "description": "品种ID",
  35013. "type": "integer"
  35014. },
  35015. "deliverygoodsname": {
  35016. "description": "品种名称",
  35017. "type": "string"
  35018. },
  35019. "enumdicname": {
  35020. "description": "单位名称",
  35021. "type": "string"
  35022. },
  35023. "expressfee": {
  35024. "description": "运费",
  35025. "type": "number"
  35026. },
  35027. "expressfeeconfirmed": {
  35028. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  35029. "type": "integer"
  35030. },
  35031. "hasovershort": {
  35032. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  35033. "type": "integer"
  35034. },
  35035. "haswr": {
  35036. "description": "类型 0-仓单预售 1-仓单贸易",
  35037. "type": "integer"
  35038. },
  35039. "marketid": {
  35040. "description": "市场ID",
  35041. "type": "integer"
  35042. },
  35043. "middleaccountid": {
  35044. "description": "中间商资金账号ID",
  35045. "type": "integer"
  35046. },
  35047. "middleuserid": {
  35048. "description": "中间商用户ID",
  35049. "type": "integer"
  35050. },
  35051. "minivalue": {
  35052. "description": "现货商品最小变动值",
  35053. "type": "integer"
  35054. },
  35055. "optioncompare": {
  35056. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35057. "type": "string"
  35058. },
  35059. "overshortamount": {
  35060. "description": "溢短金额",
  35061. "type": "number"
  35062. },
  35063. "overshortqty": {
  35064. "description": "溢短数量",
  35065. "type": "number"
  35066. },
  35067. "paymenttype": {
  35068. "description": "付款方式 - 1:冻结 2:扣款",
  35069. "type": "integer"
  35070. },
  35071. "performanceplanid": {
  35072. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  35073. "type": "string"
  35074. },
  35075. "performancestatus": {
  35076. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  35077. "type": "integer"
  35078. },
  35079. "performancetype": {
  35080. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  35081. "type": "integer"
  35082. },
  35083. "qty": {
  35084. "description": "履约数量",
  35085. "type": "number"
  35086. },
  35087. "relatedorderid": {
  35088. "description": "关联单号(履约类型的关联单号)",
  35089. "type": "string"
  35090. },
  35091. "remark": {
  35092. "description": "备注",
  35093. "type": "string"
  35094. },
  35095. "sellaccountid": {
  35096. "description": "卖方账号",
  35097. "type": "integer"
  35098. },
  35099. "sellerfreezeamount": {
  35100. "description": "履约冻结(卖履约)",
  35101. "type": "number"
  35102. },
  35103. "sellerfreezeamountremain": {
  35104. "description": "履约冻结剩余(卖履约)",
  35105. "type": "number"
  35106. },
  35107. "sellreceivedamount": {
  35108. "description": "卖方已收金额",
  35109. "type": "number"
  35110. },
  35111. "sellusername": {
  35112. "description": "卖方名字",
  35113. "type": "string"
  35114. },
  35115. "shipremark": {
  35116. "description": "发货备注[物流单号]",
  35117. "type": "string"
  35118. },
  35119. "starttime": {
  35120. "description": "开始时间",
  35121. "type": "string"
  35122. },
  35123. "steptypeid": {
  35124. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  35125. "type": "integer"
  35126. },
  35127. "typename": {
  35128. "description": "履约类型 名称",
  35129. "type": "string"
  35130. },
  35131. "unpaidamount": {
  35132. "description": "剩余款(待支付金额)",
  35133. "type": "number"
  35134. },
  35135. "userid": {
  35136. "description": "用户id",
  35137. "type": "integer"
  35138. },
  35139. "warehouseid": {
  35140. "description": "仓库ID",
  35141. "type": "integer"
  35142. },
  35143. "warehousename": {
  35144. "description": "仓库名称",
  35145. "type": "string"
  35146. },
  35147. "wrfactortypeid": {
  35148. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35149. "type": "string"
  35150. },
  35151. "wrfactortypename": {
  35152. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35153. "type": "string"
  35154. },
  35155. "wrstandardcode": {
  35156. "description": "现货商品代码",
  35157. "type": "string"
  35158. },
  35159. "wrstandardid": {
  35160. "description": "现货商品ID",
  35161. "type": "integer"
  35162. },
  35163. "wrstandardname": {
  35164. "description": "商品名称",
  35165. "type": "string"
  35166. },
  35167. "wrtransferuserid": {
  35168. "description": "仓单受让用户",
  35169. "type": "integer"
  35170. },
  35171. "wrtypename": {
  35172. "description": "商品",
  35173. "type": "string"
  35174. }
  35175. }
  35176. },
  35177. "models.WrPerformancePlanStep": {
  35178. "type": "object",
  35179. "properties": {
  35180. "delaydays": {
  35181. "description": "延期申请天数",
  35182. "type": "integer"
  35183. },
  35184. "deliverygoodscode": {
  35185. "description": "品种代码",
  35186. "type": "string"
  35187. },
  35188. "deliverygoodsid": {
  35189. "description": "品种ID",
  35190. "type": "integer"
  35191. },
  35192. "deliverygoodsname": {
  35193. "description": "品种名称",
  35194. "type": "string"
  35195. },
  35196. "endtime": {
  35197. "description": "结束日期",
  35198. "type": "string"
  35199. },
  35200. "enumdicname": {
  35201. "description": "单位名称",
  35202. "type": "string"
  35203. },
  35204. "executeside": {
  35205. "description": "步骤执行方 - 1:买方 2:卖方",
  35206. "type": "integer"
  35207. },
  35208. "handlestatus": {
  35209. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  35210. "type": "integer"
  35211. },
  35212. "isauto": {
  35213. "description": "是否自动 - 0:不自动 1:自动",
  35214. "type": "integer"
  35215. },
  35216. "islastreceivestep": {
  35217. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  35218. "type": "integer"
  35219. },
  35220. "minivalue": {
  35221. "description": "现货商品最小变动值",
  35222. "type": "integer"
  35223. },
  35224. "optioncompare": {
  35225. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35226. "type": "string"
  35227. },
  35228. "overdays": {
  35229. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  35230. "type": "integer"
  35231. },
  35232. "performancestepid": {
  35233. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  35234. "type": "string"
  35235. },
  35236. "planid": {
  35237. "description": "所属履约计划ID",
  35238. "type": "string"
  35239. },
  35240. "realamount": {
  35241. "description": "实际完成金额",
  35242. "type": "number"
  35243. },
  35244. "relatedorderid": {
  35245. "description": "关联单号",
  35246. "type": "string"
  35247. },
  35248. "remaindays": {
  35249. "description": "剩余天数",
  35250. "type": "integer"
  35251. },
  35252. "remark": {
  35253. "description": "错误备注",
  35254. "type": "string"
  35255. },
  35256. "starttime": {
  35257. "description": "开始日期",
  35258. "type": "string"
  35259. },
  35260. "stepamount": {
  35261. "description": "步骤金额",
  35262. "type": "number"
  35263. },
  35264. "stepdays": {
  35265. "description": "距离上一步天数(分钟)",
  35266. "type": "integer"
  35267. },
  35268. "stepindex": {
  35269. "description": "步骤序号",
  35270. "type": "integer"
  35271. },
  35272. "steplanchtype": {
  35273. "description": "步骤启动类型 - 1:系统自动 2:手动",
  35274. "type": "integer"
  35275. },
  35276. "stepremark": {
  35277. "description": "步骤备注",
  35278. "type": "string"
  35279. },
  35280. "stepstatus": {
  35281. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  35282. "type": "integer"
  35283. },
  35284. "steptypeid": {
  35285. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  35286. "type": "integer"
  35287. },
  35288. "steptypename": {
  35289. "description": "步骤名称",
  35290. "type": "string"
  35291. },
  35292. "stepvalue": {
  35293. "description": "步骤值",
  35294. "type": "number"
  35295. },
  35296. "warehouseid": {
  35297. "description": "仓库ID",
  35298. "type": "integer"
  35299. },
  35300. "warehousename": {
  35301. "description": "仓库名称",
  35302. "type": "string"
  35303. },
  35304. "wrfactortypeid": {
  35305. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35306. "type": "string"
  35307. },
  35308. "wrfactortypename": {
  35309. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35310. "type": "string"
  35311. },
  35312. "wrstandardcode": {
  35313. "description": "现货商品代码",
  35314. "type": "string"
  35315. },
  35316. "wrstandardid": {
  35317. "description": "现货商品ID",
  35318. "type": "integer"
  35319. },
  35320. "wrstandardname": {
  35321. "description": "商品名称",
  35322. "type": "string"
  35323. },
  35324. "wrtypename": {
  35325. "description": "商品",
  35326. "type": "string"
  35327. }
  35328. }
  35329. },
  35330. "models.WrPerformanceStepType": {
  35331. "type": "object",
  35332. "properties": {
  35333. "canauto": {
  35334. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  35335. "type": "integer"
  35336. },
  35337. "steptypeid": {
  35338. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  35339. "type": "integer"
  35340. },
  35341. "steptypename": {
  35342. "description": "步骤类型名称",
  35343. "type": "string"
  35344. }
  35345. }
  35346. },
  35347. "models.WrPerformanceTemplateEx": {
  35348. "type": "object",
  35349. "properties": {
  35350. "autoid": {
  35351. "description": "AutoID 模板id",
  35352. "type": "integer"
  35353. },
  35354. "createtime": {
  35355. "description": "创建时间",
  35356. "type": "string"
  35357. },
  35358. "creatorid": {
  35359. "description": "创建人",
  35360. "type": "integer"
  35361. },
  35362. "lstStep": {
  35363. "description": "步骤信息列表",
  35364. "type": "array",
  35365. "items": {
  35366. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  35367. }
  35368. },
  35369. "paymenttype": {
  35370. "description": "支付方式 - 1:冻结 2:扣款",
  35371. "type": "integer"
  35372. },
  35373. "takemode": {
  35374. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  35375. "type": "integer"
  35376. },
  35377. "templatename": {
  35378. "description": "模板名称",
  35379. "type": "string"
  35380. },
  35381. "templatetype": {
  35382. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  35383. "type": "integer"
  35384. },
  35385. "userid": {
  35386. "description": "所属用户",
  35387. "type": "integer"
  35388. }
  35389. }
  35390. },
  35391. "models.WrPosition": {
  35392. "type": "object",
  35393. "properties": {
  35394. "accountid": {
  35395. "description": "帐户ID",
  35396. "type": "integer"
  35397. },
  35398. "buyexcuteqty": {
  35399. "description": "采购履约中数量",
  35400. "type": "number"
  35401. },
  35402. "creditcurqty": {
  35403. "description": "授信当前数量(预售仓单:预售当前量)",
  35404. "type": "number"
  35405. },
  35406. "creditenableqty": {
  35407. "description": "授信可用数量(预售仓单: 可用数量)",
  35408. "type": "number"
  35409. },
  35410. "creditfreezeqty": {
  35411. "description": "授信冻结数量(预售仓单: 当前数量)",
  35412. "type": "number"
  35413. },
  35414. "credittotalqty": {
  35415. "description": "授信总数量(预售仓单:预售总量)",
  35416. "type": "number"
  35417. },
  35418. "credittradeqty": {
  35419. "description": "授信成交数量(预售仓单:成交总量)",
  35420. "type": "number"
  35421. },
  35422. "deliverygoodscode": {
  35423. "description": "品种代码",
  35424. "type": "string"
  35425. },
  35426. "deliverygoodsid": {
  35427. "description": "品种ID",
  35428. "type": "integer"
  35429. },
  35430. "deliverygoodsname": {
  35431. "description": "品种名称",
  35432. "type": "string"
  35433. },
  35434. "enalbeqty": {
  35435. "description": "可用数量",
  35436. "type": "number"
  35437. },
  35438. "enumdicname": {
  35439. "description": "单位名称",
  35440. "type": "string"
  35441. },
  35442. "freezeqty": {
  35443. "description": "总冻结数量",
  35444. "type": "number"
  35445. },
  35446. "haswr": {
  35447. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35448. "type": "integer"
  35449. },
  35450. "minivalue": {
  35451. "description": "现货商品最小变动值",
  35452. "type": "integer"
  35453. },
  35454. "modifytime": {
  35455. "description": "修改时间(过户时间)",
  35456. "type": "string"
  35457. },
  35458. "optioncompare": {
  35459. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35460. "type": "string"
  35461. },
  35462. "pledgeqty": {
  35463. "description": "质押数量",
  35464. "type": "number"
  35465. },
  35466. "querytype": {
  35467. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  35468. "type": "integer"
  35469. },
  35470. "sellexcuteqty": {
  35471. "description": "销售履约中数量",
  35472. "type": "number"
  35473. },
  35474. "totalqty": {
  35475. "description": "总数量(库存数量)",
  35476. "type": "number"
  35477. },
  35478. "warehouseid": {
  35479. "description": "仓库ID",
  35480. "type": "integer"
  35481. },
  35482. "warehousename": {
  35483. "description": "仓库名称",
  35484. "type": "string"
  35485. },
  35486. "wrfactortypeid": {
  35487. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35488. "type": "string"
  35489. },
  35490. "wrfactortypename": {
  35491. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35492. "type": "string"
  35493. },
  35494. "wrpositionid": {
  35495. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  35496. "type": "string"
  35497. },
  35498. "wrpositionno": {
  35499. "description": "仓单编号",
  35500. "type": "string"
  35501. },
  35502. "wrstandardcode": {
  35503. "description": "现货商品代码",
  35504. "type": "string"
  35505. },
  35506. "wrstandardid": {
  35507. "description": "现货商品ID",
  35508. "type": "integer"
  35509. },
  35510. "wrstandardname": {
  35511. "description": "商品名称",
  35512. "type": "string"
  35513. },
  35514. "wrtypename": {
  35515. "description": "商品",
  35516. "type": "string"
  35517. },
  35518. "wruserid": {
  35519. "description": "持有人ID",
  35520. "type": "integer"
  35521. }
  35522. }
  35523. },
  35524. "models.WrQuoteOrderMyq": {
  35525. "type": "object",
  35526. "properties": {
  35527. "buyorsell": {
  35528. "description": "买卖 - 0:买 1:卖",
  35529. "type": "integer"
  35530. },
  35531. "canbargain": {
  35532. "description": "是否可议价 - 0:不可 1:可",
  35533. "type": "integer"
  35534. },
  35535. "canpart": {
  35536. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  35537. "type": "integer"
  35538. },
  35539. "delistminqty": {
  35540. "description": "起摘数量",
  35541. "type": "number"
  35542. },
  35543. "deliverygoodscode": {
  35544. "description": "品种代码",
  35545. "type": "string"
  35546. },
  35547. "deliverygoodsid": {
  35548. "description": "品种ID",
  35549. "type": "integer"
  35550. },
  35551. "deliverygoodsname": {
  35552. "description": "品种名称",
  35553. "type": "string"
  35554. },
  35555. "deliverymonth": {
  35556. "description": "交收月",
  35557. "type": "string"
  35558. },
  35559. "enumdicname": {
  35560. "description": "单位名称",
  35561. "type": "string"
  35562. },
  35563. "fixedprice": {
  35564. "description": "买(卖)价",
  35565. "type": "number"
  35566. },
  35567. "goodscode": {
  35568. "description": "商品合约代码",
  35569. "type": "string"
  35570. },
  35571. "marginflag": {
  35572. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  35573. "type": "integer"
  35574. },
  35575. "marginvalue": {
  35576. "description": "保证金设置值",
  35577. "type": "number"
  35578. },
  35579. "minivalue": {
  35580. "description": "现货商品最小变动值",
  35581. "type": "integer"
  35582. },
  35583. "orderqty": {
  35584. "description": "买(卖)量(=委托量-成交量)",
  35585. "type": "number"
  35586. },
  35587. "ordertime": {
  35588. "description": "委托时间",
  35589. "type": "string"
  35590. },
  35591. "performancetemplateid": {
  35592. "description": "履约模板id",
  35593. "type": "integer"
  35594. },
  35595. "pricemove": {
  35596. "description": "买(卖)升贴水- 基差",
  35597. "type": "number"
  35598. },
  35599. "templatename": {
  35600. "description": "履约模板名称",
  35601. "type": "string"
  35602. },
  35603. "userid": {
  35604. "description": "购买方(销售方)用户ID",
  35605. "type": "integer"
  35606. },
  35607. "username": {
  35608. "description": "购买方(销售方)",
  35609. "type": "string"
  35610. },
  35611. "validtime": {
  35612. "description": "有效期限",
  35613. "type": "string"
  35614. },
  35615. "validtype": {
  35616. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  35617. "type": "integer"
  35618. },
  35619. "warehousename": {
  35620. "description": "仓库名称",
  35621. "type": "string"
  35622. },
  35623. "wrfactortypeid": {
  35624. "description": "仓单要素id",
  35625. "type": "string"
  35626. },
  35627. "wrstandardcode": {
  35628. "description": "现货商品代码",
  35629. "type": "string"
  35630. },
  35631. "wrstandardid": {
  35632. "description": "现货商品ID",
  35633. "type": "integer"
  35634. },
  35635. "wrstandardname": {
  35636. "description": "商品名称",
  35637. "type": "string"
  35638. },
  35639. "wrtradeorderid": {
  35640. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35641. "type": "string"
  35642. },
  35643. "wrtypename": {
  35644. "description": "商品",
  35645. "type": "string"
  35646. }
  35647. }
  35648. },
  35649. "models.WrScfContract": {
  35650. "type": "object",
  35651. "properties": {
  35652. "borroweruserid": {
  35653. "description": "借款用户ID",
  35654. "type": "integer"
  35655. },
  35656. "buybackwrpositionqty": {
  35657. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  35658. "type": "number"
  35659. },
  35660. "closeinterest": {
  35661. "description": "已结利息 -\u003e 已结费用",
  35662. "type": "number"
  35663. },
  35664. "currisklevel": {
  35665. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  35666. "type": "integer"
  35667. },
  35668. "deadline": {
  35669. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  35670. "type": "string"
  35671. },
  35672. "deliverygoodscode": {
  35673. "description": "品种代码",
  35674. "type": "string"
  35675. },
  35676. "deliverygoodsid": {
  35677. "description": "品种ID",
  35678. "type": "integer"
  35679. },
  35680. "deliverygoodsname": {
  35681. "description": "品种名称",
  35682. "type": "string"
  35683. },
  35684. "enumdicname": {
  35685. "description": "单位名称",
  35686. "type": "string"
  35687. },
  35688. "financingdays": {
  35689. "description": "天数(天)",
  35690. "type": "integer"
  35691. },
  35692. "initmargin": {
  35693. "description": "保证金 - [仓单回购]",
  35694. "type": "number"
  35695. },
  35696. "interestamount": {
  35697. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  35698. "type": "number"
  35699. },
  35700. "interestdebt": {
  35701. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  35702. "type": "number"
  35703. },
  35704. "interestminlen": {
  35705. "description": "最小起息天数",
  35706. "type": "integer"
  35707. },
  35708. "interestrate": {
  35709. "description": "利率",
  35710. "type": "number"
  35711. },
  35712. "interestratemode": {
  35713. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  35714. "type": "integer"
  35715. },
  35716. "interestsettlemode": {
  35717. "description": "结息方式 - 1:按日结息 3:按月结息",
  35718. "type": "integer"
  35719. },
  35720. "interestsettlevalue": {
  35721. "description": "结息方式值",
  35722. "type": "integer"
  35723. },
  35724. "isautoloan": {
  35725. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  35726. "type": "integer"
  35727. },
  35728. "lastcloseinterestday": {
  35729. "description": "最近结息日(yyyyMMdd)",
  35730. "type": "string"
  35731. },
  35732. "lenderamount": {
  35733. "description": "贷款金额 -\u003e 借款金额",
  35734. "type": "number"
  35735. },
  35736. "lenderuserid": {
  35737. "description": "贷款方用户ID -\u003e 融出方用户ID",
  35738. "type": "integer"
  35739. },
  35740. "lenderusername": {
  35741. "description": "融出方",
  35742. "type": "string"
  35743. },
  35744. "marginratio": {
  35745. "description": "保证金比率质押率 - [仓单质押]",
  35746. "type": "number"
  35747. },
  35748. "marketid": {
  35749. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  35750. "type": "integer"
  35751. },
  35752. "minivalue": {
  35753. "description": "现货商品最小变动值",
  35754. "type": "integer"
  35755. },
  35756. "optioncompare": {
  35757. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35758. "type": "string"
  35759. },
  35760. "pricemove": {
  35761. "description": "估值升贴水值",
  35762. "type": "number"
  35763. },
  35764. "productdetailid": {
  35765. "description": "产品组合ID",
  35766. "type": "integer"
  35767. },
  35768. "productid": {
  35769. "description": "金融产品ID",
  35770. "type": "integer"
  35771. },
  35772. "productname": {
  35773. "description": "产品名称",
  35774. "type": "string"
  35775. },
  35776. "remainamount": {
  35777. "description": "合同剩余金额 -\u003e 剩余金额",
  35778. "type": "number"
  35779. },
  35780. "remainwrpositionqty": {
  35781. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  35782. "type": "number"
  35783. },
  35784. "remark": {
  35785. "description": "备注",
  35786. "type": "string"
  35787. },
  35788. "scfcontractid": {
  35789. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  35790. "type": "string"
  35791. },
  35792. "scfcontractstatus": {
  35793. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  35794. "type": "integer"
  35795. },
  35796. "scfcontracttype": {
  35797. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  35798. "type": "integer"
  35799. },
  35800. "startinterestday": {
  35801. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  35802. "type": "string"
  35803. },
  35804. "totalinterest": {
  35805. "description": "已计利息 -\u003e 已计费用",
  35806. "type": "number"
  35807. },
  35808. "unpaidinterest": {
  35809. "description": "未结费用",
  35810. "type": "number"
  35811. },
  35812. "updatetime": {
  35813. "description": "更新时间",
  35814. "type": "string"
  35815. },
  35816. "warehouseid": {
  35817. "description": "仓库ID",
  35818. "type": "integer"
  35819. },
  35820. "warehousename": {
  35821. "description": "仓库名称",
  35822. "type": "string"
  35823. },
  35824. "wrfactortypeid": {
  35825. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35826. "type": "string"
  35827. },
  35828. "wrfactortypename": {
  35829. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35830. "type": "string"
  35831. },
  35832. "wrqty": {
  35833. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  35834. "type": "number"
  35835. },
  35836. "wrstandardcode": {
  35837. "description": "现货商品代码",
  35838. "type": "string"
  35839. },
  35840. "wrstandardid": {
  35841. "description": "现货商品ID",
  35842. "type": "integer"
  35843. },
  35844. "wrstandardname": {
  35845. "description": "商品名称",
  35846. "type": "string"
  35847. },
  35848. "wrtypename": {
  35849. "description": "商品",
  35850. "type": "string"
  35851. }
  35852. }
  35853. },
  35854. "models.WrScfContractInterest": {
  35855. "type": "object",
  35856. "properties": {
  35857. "closeinterest": {
  35858. "description": "已结利息",
  35859. "type": "number"
  35860. },
  35861. "closeintereststatus": {
  35862. "description": "结息状态 - 1:未结 2:已结",
  35863. "type": "integer"
  35864. },
  35865. "closetime": {
  35866. "description": "结息时间",
  35867. "type": "string"
  35868. },
  35869. "closetradedate": {
  35870. "description": "结息交易日",
  35871. "type": "string"
  35872. },
  35873. "creatorid": {
  35874. "description": "操作人ID",
  35875. "type": "integer"
  35876. },
  35877. "dayrate": {
  35878. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  35879. "type": "number"
  35880. },
  35881. "interest": {
  35882. "description": "利息",
  35883. "type": "number"
  35884. },
  35885. "interestamount": {
  35886. "description": "计息金额",
  35887. "type": "number"
  35888. },
  35889. "interestday": {
  35890. "description": "计息日(yyyyMMdd)",
  35891. "type": "string"
  35892. },
  35893. "scfcontractid": {
  35894. "description": "SCF合同ID",
  35895. "type": "string"
  35896. },
  35897. "scfcontractinterestid": {
  35898. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  35899. "type": "integer"
  35900. },
  35901. "updatetime": {
  35902. "description": "更新时间",
  35903. "type": "string"
  35904. }
  35905. }
  35906. },
  35907. "models.WrSpecialMatchOrder": {
  35908. "type": "object",
  35909. "properties": {
  35910. "amount": {
  35911. "description": "金额 = 数量 * 价格",
  35912. "type": "number"
  35913. },
  35914. "buyorsell": {
  35915. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  35916. "type": "integer"
  35917. },
  35918. "cancelqty": {
  35919. "description": "撤销数量",
  35920. "type": "number"
  35921. },
  35922. "deliverygoodscode": {
  35923. "description": "品种代码",
  35924. "type": "string"
  35925. },
  35926. "deliverygoodsid": {
  35927. "description": "品种ID",
  35928. "type": "integer"
  35929. },
  35930. "deliverygoodsname": {
  35931. "description": "品种名称",
  35932. "type": "string"
  35933. },
  35934. "enumdicname": {
  35935. "description": "单位名称",
  35936. "type": "string"
  35937. },
  35938. "fixedprice": {
  35939. "description": "固定价格(价格)",
  35940. "type": "number"
  35941. },
  35942. "haswr": {
  35943. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35944. "type": "integer"
  35945. },
  35946. "marketid": {
  35947. "description": "市场ID",
  35948. "type": "integer"
  35949. },
  35950. "matchuserid": {
  35951. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  35952. "type": "integer"
  35953. },
  35954. "matchusername": {
  35955. "description": "指定方",
  35956. "type": "string"
  35957. },
  35958. "minivalue": {
  35959. "description": "现货商品最小变动值",
  35960. "type": "integer"
  35961. },
  35962. "optioncompare": {
  35963. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35964. "type": "string"
  35965. },
  35966. "orderqty": {
  35967. "description": "委托数量",
  35968. "type": "number"
  35969. },
  35970. "ordertime": {
  35971. "description": "委托时间",
  35972. "type": "string"
  35973. },
  35974. "pricemove": {
  35975. "description": "升贴水(浮动价时填写) - [挂牌]",
  35976. "type": "number"
  35977. },
  35978. "tradedate": {
  35979. "description": "交易日(yyyyMMdd)",
  35980. "type": "string"
  35981. },
  35982. "tradeprice": {
  35983. "description": "成交价格",
  35984. "type": "number"
  35985. },
  35986. "tradeqty": {
  35987. "description": "成交数量",
  35988. "type": "number"
  35989. },
  35990. "userid": {
  35991. "description": "用户ID",
  35992. "type": "integer"
  35993. },
  35994. "username": {
  35995. "description": "发起方",
  35996. "type": "string"
  35997. },
  35998. "warehouseid": {
  35999. "description": "仓库ID",
  36000. "type": "integer"
  36001. },
  36002. "warehousename": {
  36003. "description": "仓库名称",
  36004. "type": "string"
  36005. },
  36006. "wrfactortypeid": {
  36007. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36008. "type": "string"
  36009. },
  36010. "wrfactortypename": {
  36011. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36012. "type": "string"
  36013. },
  36014. "wrpricetype": {
  36015. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  36016. "type": "integer"
  36017. },
  36018. "wrstandardcode": {
  36019. "description": "现货商品代码",
  36020. "type": "string"
  36021. },
  36022. "wrstandardid": {
  36023. "description": "现货商品ID",
  36024. "type": "integer"
  36025. },
  36026. "wrstandardname": {
  36027. "description": "商品名称",
  36028. "type": "string"
  36029. },
  36030. "wrtradeorderid": {
  36031. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36032. "type": "string"
  36033. },
  36034. "wrtradeorderstatus": {
  36035. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  36036. "type": "integer"
  36037. },
  36038. "wrtradetype": {
  36039. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36040. "type": "integer"
  36041. },
  36042. "wrtypename": {
  36043. "description": "商品",
  36044. "type": "string"
  36045. }
  36046. }
  36047. },
  36048. "models.WrStandardFactoryItem": {
  36049. "type": "object",
  36050. "properties": {
  36051. "dgfactoryitemid": {
  36052. "description": "选择项id",
  36053. "type": "integer"
  36054. },
  36055. "dgfactoryitemvalue": {
  36056. "description": "要素项值",
  36057. "type": "string"
  36058. },
  36059. "warehouseid": {
  36060. "description": "仓库id",
  36061. "type": "integer"
  36062. }
  36063. }
  36064. },
  36065. "models.WrStandardFactoryItemEx": {
  36066. "type": "object",
  36067. "properties": {
  36068. "dgfactoryitemtypeid": {
  36069. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  36070. "type": "integer"
  36071. },
  36072. "itemlst": {
  36073. "description": "要素项列表",
  36074. "type": "array",
  36075. "items": {
  36076. "$ref": "#/definitions/models.WrStandardFactoryItem"
  36077. }
  36078. },
  36079. "itemtypename": {
  36080. "description": "要素项类型名称",
  36081. "type": "string"
  36082. },
  36083. "wrstandardid": {
  36084. "description": "品类",
  36085. "type": "integer"
  36086. }
  36087. }
  36088. },
  36089. "models.WrTradeDetail": {
  36090. "type": "object",
  36091. "properties": {
  36092. "accountid": {
  36093. "description": "资金账号",
  36094. "type": "integer"
  36095. },
  36096. "buyorsell": {
  36097. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  36098. "type": "integer"
  36099. },
  36100. "chargevalue": {
  36101. "description": "手续费",
  36102. "type": "number"
  36103. },
  36104. "deliverygoodscode": {
  36105. "description": "品种代码",
  36106. "type": "string"
  36107. },
  36108. "deliverygoodsid": {
  36109. "description": "品种ID",
  36110. "type": "integer"
  36111. },
  36112. "deliverygoodsname": {
  36113. "description": "品种名称",
  36114. "type": "string"
  36115. },
  36116. "deliverymonth": {
  36117. "description": "交收月",
  36118. "type": "string"
  36119. },
  36120. "enumdicname": {
  36121. "description": "单位名称",
  36122. "type": "string"
  36123. },
  36124. "haswr": {
  36125. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36126. "type": "integer"
  36127. },
  36128. "marketid": {
  36129. "description": "市场ID",
  36130. "type": "integer"
  36131. },
  36132. "matchaccountid": {
  36133. "description": "对手账号",
  36134. "type": "integer"
  36135. },
  36136. "matchusername": {
  36137. "description": "对手方",
  36138. "type": "string"
  36139. },
  36140. "minivalue": {
  36141. "description": "现货商品最小变动值",
  36142. "type": "integer"
  36143. },
  36144. "optioncompare": {
  36145. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36146. "type": "string"
  36147. },
  36148. "tradedate": {
  36149. "description": "交易日(yyyyMMdd)",
  36150. "type": "string"
  36151. },
  36152. "tradeprice": {
  36153. "description": "成交价格",
  36154. "type": "number"
  36155. },
  36156. "tradeqty": {
  36157. "description": "成交数量",
  36158. "type": "number"
  36159. },
  36160. "tradetime": {
  36161. "description": "成交时间",
  36162. "type": "string"
  36163. },
  36164. "userid": {
  36165. "description": "用户ID",
  36166. "type": "integer"
  36167. },
  36168. "warehouseid": {
  36169. "description": "仓库ID",
  36170. "type": "integer"
  36171. },
  36172. "warehousename": {
  36173. "description": "仓库名称",
  36174. "type": "string"
  36175. },
  36176. "wrfactortypeid": {
  36177. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36178. "type": "string"
  36179. },
  36180. "wrfactortypename": {
  36181. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36182. "type": "string"
  36183. },
  36184. "wrstandardcode": {
  36185. "description": "现货商品代码",
  36186. "type": "string"
  36187. },
  36188. "wrstandardid": {
  36189. "description": "现货商品ID",
  36190. "type": "integer"
  36191. },
  36192. "wrstandardname": {
  36193. "description": "商品名称",
  36194. "type": "string"
  36195. },
  36196. "wrtradedetailid": {
  36197. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  36198. "type": "string"
  36199. },
  36200. "wrtradetype": {
  36201. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36202. "type": "integer"
  36203. },
  36204. "wrtypename": {
  36205. "description": "商品",
  36206. "type": "string"
  36207. }
  36208. }
  36209. },
  36210. "models.WrTradeOrderDetail": {
  36211. "type": "object",
  36212. "properties": {
  36213. "buyorsell": {
  36214. "description": "买卖方向 0-买 1-卖",
  36215. "type": "integer"
  36216. },
  36217. "goodsid": {
  36218. "description": "商品id",
  36219. "type": "integer"
  36220. },
  36221. "orderid": {
  36222. "description": "委托单号",
  36223. "type": "string"
  36224. },
  36225. "orderprice": {
  36226. "description": "委托价格",
  36227. "type": "number"
  36228. },
  36229. "orderqty": {
  36230. "description": "委托数量",
  36231. "type": "integer"
  36232. },
  36233. "userid": {
  36234. "description": "用户id",
  36235. "type": "integer"
  36236. },
  36237. "username": {
  36238. "description": "用户名称(已脱敏)",
  36239. "type": "string"
  36240. }
  36241. }
  36242. },
  36243. "models.WrTypeItem": {
  36244. "type": "object",
  36245. "properties": {
  36246. "name": {
  36247. "description": "名称",
  36248. "type": "string"
  36249. },
  36250. "value": {
  36251. "description": "值",
  36252. "type": "string"
  36253. }
  36254. }
  36255. },
  36256. "models.WrUserFriend": {
  36257. "type": "object",
  36258. "properties": {
  36259. "friendname": {
  36260. "description": "朋友名称(已脱敏)",
  36261. "type": "string"
  36262. },
  36263. "frienduserid": {
  36264. "description": "朋友id",
  36265. "type": "integer"
  36266. },
  36267. "isfriend": {
  36268. "description": "是否好友 0-不是 1-是",
  36269. "type": "integer"
  36270. },
  36271. "userid": {
  36272. "description": "用户id",
  36273. "type": "integer"
  36274. }
  36275. }
  36276. },
  36277. "models.WrUserReceiptInfo": {
  36278. "type": "object",
  36279. "properties": {
  36280. "address": {
  36281. "description": "地址[发票类型:企业]",
  36282. "type": "string"
  36283. },
  36284. "autoid": {
  36285. "description": "AutoID",
  36286. "type": "integer"
  36287. },
  36288. "contactinfo": {
  36289. "description": "联系方式",
  36290. "type": "string"
  36291. },
  36292. "idnum": {
  36293. "description": "身份证号码[发票类型:个人]",
  36294. "type": "string"
  36295. },
  36296. "isdefault": {
  36297. "description": "是否默认地址 - 0:否 1:是",
  36298. "type": "integer"
  36299. },
  36300. "receiptaccount": {
  36301. "description": "发票帐号[发票类型:企业]",
  36302. "type": "string"
  36303. },
  36304. "receiptbank": {
  36305. "description": "发票开户行[发票类型:企业]",
  36306. "type": "string"
  36307. },
  36308. "receipttype": {
  36309. "description": "发票类型 - 1:个人 2:企业",
  36310. "type": "integer"
  36311. },
  36312. "taxpayerid": {
  36313. "description": "纳税人识别号",
  36314. "type": "string"
  36315. },
  36316. "userid": {
  36317. "description": "用户ID",
  36318. "type": "integer"
  36319. },
  36320. "username": {
  36321. "description": "户名(个人姓名或企业名称)",
  36322. "type": "string"
  36323. }
  36324. }
  36325. },
  36326. "models.XHBRAND": {
  36327. "type": "object",
  36328. "properties": {
  36329. "brandid": {
  36330. "description": "品牌id",
  36331. "type": "integer"
  36332. },
  36333. "brandname": {
  36334. "description": "品牌名称",
  36335. "type": "string"
  36336. },
  36337. "isvalid": {
  36338. "description": "是否有效 0-无效 1-有效",
  36339. "type": "integer"
  36340. }
  36341. }
  36342. },
  36343. "models.XHDeliveryGoods": {
  36344. "type": "object",
  36345. "properties": {
  36346. "areauserid": {
  36347. "description": "所属机构",
  36348. "type": "integer"
  36349. },
  36350. "bdlst": {
  36351. "description": "品牌列表",
  36352. "type": "array",
  36353. "items": {
  36354. "$ref": "#/definitions/models.XHBRAND"
  36355. }
  36356. },
  36357. "deliverygoodscode": {
  36358. "description": "现货品种代码",
  36359. "type": "string"
  36360. },
  36361. "deliverygoodsid": {
  36362. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  36363. "type": "integer"
  36364. },
  36365. "deliverygoodsname": {
  36366. "description": "现货品种名称",
  36367. "type": "string"
  36368. },
  36369. "dgstatus": {
  36370. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  36371. "type": "integer"
  36372. },
  36373. "isvalid": {
  36374. "description": "是否有效 - 0:无效 1:有效",
  36375. "type": "integer"
  36376. },
  36377. "remark": {
  36378. "description": "备注",
  36379. "type": "string"
  36380. },
  36381. "unitid": {
  36382. "description": "单位id(目前看,数据库中是空值)",
  36383. "type": "integer"
  36384. },
  36385. "wdlst": {
  36386. "description": "品类(现货商品)列表",
  36387. "type": "array",
  36388. "items": {
  36389. "$ref": "#/definitions/models.XHWrstandard"
  36390. }
  36391. }
  36392. }
  36393. },
  36394. "models.XHMiddleGoods": {
  36395. "type": "object",
  36396. "properties": {
  36397. "convertratio": {
  36398. "description": "拆算系数",
  36399. "type": "number"
  36400. },
  36401. "costratio": {
  36402. "description": "成本权重",
  36403. "type": "number"
  36404. },
  36405. "deliverygoodsid": {
  36406. "description": "现货商品id",
  36407. "type": "integer"
  36408. },
  36409. "enumdicname": {
  36410. "description": "单位名称",
  36411. "type": "string"
  36412. },
  36413. "gplst": {
  36414. "description": "期货品种列表",
  36415. "type": "array",
  36416. "items": {
  36417. "$ref": "#/definitions/models.TBGoodsGroup"
  36418. }
  36419. },
  36420. "middlegoodscode": {
  36421. "description": "套保品种代码",
  36422. "type": "string"
  36423. },
  36424. "middlegoodsid": {
  36425. "description": "套保品种id",
  36426. "type": "integer"
  36427. },
  36428. "middlegoodsname": {
  36429. "description": "套保品种名称",
  36430. "type": "string"
  36431. },
  36432. "unitid": {
  36433. "description": "单位id",
  36434. "type": "integer"
  36435. }
  36436. }
  36437. },
  36438. "models.XHWrstandard": {
  36439. "type": "object",
  36440. "properties": {
  36441. "deliverygoodsid": {
  36442. "description": "品种ID",
  36443. "type": "integer"
  36444. },
  36445. "enumdicname": {
  36446. "description": "单位名称",
  36447. "type": "string"
  36448. },
  36449. "mglst": {
  36450. "description": "套保品列表",
  36451. "type": "array",
  36452. "items": {
  36453. "$ref": "#/definitions/models.XHMiddleGoods"
  36454. }
  36455. },
  36456. "unitid": {
  36457. "description": "单位id",
  36458. "type": "integer"
  36459. },
  36460. "vatrate": {
  36461. "description": "增值税率",
  36462. "type": "number"
  36463. },
  36464. "wrstandardcode": {
  36465. "description": "现货商品代码",
  36466. "type": "string"
  36467. },
  36468. "wrstandardid": {
  36469. "description": "现货商品ID(SEQ_WRSTANDARD)",
  36470. "type": "integer"
  36471. },
  36472. "wrstandardname": {
  36473. "description": "现货商品名称",
  36474. "type": "string"
  36475. }
  36476. }
  36477. },
  36478. "order.QueryHisTradeDetailRsp": {
  36479. "type": "object",
  36480. "required": [
  36481. "accountid",
  36482. "buyorsell",
  36483. "goodsid",
  36484. "histradedate",
  36485. "marketid",
  36486. "memberuserid",
  36487. "orderid",
  36488. "tradeamount",
  36489. "tradedate",
  36490. "tradeid",
  36491. "tradeprice",
  36492. "tradeqty",
  36493. "tradetime"
  36494. ],
  36495. "properties": {
  36496. "accountid": {
  36497. "description": "账户ID[报价币种]",
  36498. "type": "integer"
  36499. },
  36500. "advanceratio": {
  36501. "description": "首付比率",
  36502. "type": "number"
  36503. },
  36504. "buildtype": {
  36505. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  36506. "type": "integer"
  36507. },
  36508. "buyorsell": {
  36509. "description": "方向 - 0:买 1:卖",
  36510. "type": "integer"
  36511. },
  36512. "charge": {
  36513. "description": "手续费",
  36514. "type": "number"
  36515. },
  36516. "closecharge": {
  36517. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  36518. "type": "number"
  36519. },
  36520. "closeexchagechargevalue": {
  36521. "description": "平仓交易所手续费设置值",
  36522. "type": "number"
  36523. },
  36524. "closefeealgorithm": {
  36525. "description": "平仓手续费收取方式 1:比率 2:固定",
  36526. "type": "integer"
  36527. },
  36528. "closememberchargevalue": {
  36529. "description": "平仓会员手续费设置值",
  36530. "type": "number"
  36531. },
  36532. "closepl": {
  36533. "description": "平仓盈亏",
  36534. "type": "number"
  36535. },
  36536. "closepl2": {
  36537. "description": "平仓盈亏[逐笔]",
  36538. "type": "number"
  36539. },
  36540. "closeqty": {
  36541. "description": "平仓数量(先建后平操作 需要记录)",
  36542. "type": "number"
  36543. },
  36544. "creditamount": {
  36545. "description": "授信金额",
  36546. "type": "number"
  36547. },
  36548. "decimalplace": {
  36549. "description": "商品报价小数位",
  36550. "type": "integer"
  36551. },
  36552. "enumdicname": {
  36553. "description": "单位名称",
  36554. "type": "string"
  36555. },
  36556. "gcaccountid": {
  36557. "description": "账户ID[合约币种]",
  36558. "type": "integer"
  36559. },
  36560. "goodscode": {
  36561. "description": "商品代码",
  36562. "type": "string"
  36563. },
  36564. "goodsid": {
  36565. "description": "商品ID",
  36566. "type": "integer"
  36567. },
  36568. "goodsname": {
  36569. "description": "商品名称",
  36570. "type": "string"
  36571. },
  36572. "goodunitid": {
  36573. "description": "商品单位id",
  36574. "type": "integer"
  36575. },
  36576. "histradedate": {
  36577. "description": "历史交易日",
  36578. "type": "string"
  36579. },
  36580. "intclosepl": {
  36581. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  36582. "type": "integer"
  36583. },
  36584. "isconfirmexercise": {
  36585. "description": "是否确认行权- 0:否 1:是",
  36586. "type": "integer"
  36587. },
  36588. "ismain": {
  36589. "description": "是否主单 - 0:不是 1:是",
  36590. "type": "integer"
  36591. },
  36592. "ispreexercise": {
  36593. "description": "是否预申报- 0:否 1:是",
  36594. "type": "integer"
  36595. },
  36596. "isreckoned": {
  36597. "description": "是否结算 - 0:未结算 1:已结算",
  36598. "type": "integer"
  36599. },
  36600. "isvaliddata": {
  36601. "description": "是否有效 - 0:无效 1:有效",
  36602. "type": "integer"
  36603. },
  36604. "listingselecttype": {
  36605. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  36606. "type": "integer"
  36607. },
  36608. "marketid": {
  36609. "description": "市场ID",
  36610. "type": "integer"
  36611. },
  36612. "marketname": {
  36613. "description": "市场名称",
  36614. "type": "string"
  36615. },
  36616. "matchaccountid": {
  36617. "description": "对手账号id",
  36618. "type": "integer"
  36619. },
  36620. "memberuserid": {
  36621. "description": "会员id 个人投资者 需要填写",
  36622. "type": "integer"
  36623. },
  36624. "opencharge": {
  36625. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  36626. "type": "number"
  36627. },
  36628. "openexchagechargevalue": {
  36629. "description": "建仓交易所手续费设置值",
  36630. "type": "number"
  36631. },
  36632. "openfeealgorithm": {
  36633. "description": "建仓手续费收取方式 1:比率 2:固定",
  36634. "type": "integer"
  36635. },
  36636. "openmemberchargevalue": {
  36637. "description": "建仓会员手续费设置值",
  36638. "type": "number"
  36639. },
  36640. "openqty": {
  36641. "description": "开仓数量(先建后平操作 需要记录)",
  36642. "type": "number"
  36643. },
  36644. "optiontype": {
  36645. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  36646. "type": "integer"
  36647. },
  36648. "orderid": {
  36649. "description": "委托单号",
  36650. "type": "string"
  36651. },
  36652. "payamount": {
  36653. "description": "支付金额(付款金额)",
  36654. "type": "number"
  36655. },
  36656. "performanceplanid": {
  36657. "description": "履约计划ID[期权]",
  36658. "type": "integer"
  36659. },
  36660. "performancestatus": {
  36661. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  36662. "type": "integer"
  36663. },
  36664. "preexerciseprice": {
  36665. "description": "预申报价格",
  36666. "type": "number"
  36667. },
  36668. "premium": {
  36669. "description": "权利金 - [持仓单的权利金]",
  36670. "type": "number"
  36671. },
  36672. "qtydecimalplace": {
  36673. "description": "商品报价小数位",
  36674. "type": "integer"
  36675. },
  36676. "recvamount": {
  36677. "description": "到账金额 = 成交金额 - 手续费",
  36678. "type": "number"
  36679. },
  36680. "relatedouttradeid": {
  36681. "description": "关联外部成交单ID",
  36682. "type": "integer"
  36683. },
  36684. "status": {
  36685. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  36686. "type": "integer"
  36687. },
  36688. "totalamount": {
  36689. "description": "订单总额 = 成交金额 + 手续费",
  36690. "type": "number"
  36691. },
  36692. "tradeamount": {
  36693. "description": "成交金额[账户币种,用于所有权]",
  36694. "type": "number"
  36695. },
  36696. "tradedate": {
  36697. "description": "交易日(yyyyMMdd)",
  36698. "type": "string"
  36699. },
  36700. "tradeid": {
  36701. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36702. "type": "string"
  36703. },
  36704. "trademode": {
  36705. "description": "交易模式",
  36706. "type": "integer"
  36707. },
  36708. "tradeprice": {
  36709. "description": "成交价格",
  36710. "type": "number"
  36711. },
  36712. "tradeproperty": {
  36713. "description": "交易属性",
  36714. "type": "integer"
  36715. },
  36716. "tradeqty": {
  36717. "description": "成交数量",
  36718. "type": "number"
  36719. },
  36720. "tradetime": {
  36721. "description": "成交时间",
  36722. "type": "string"
  36723. },
  36724. "tradetype": {
  36725. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  36726. "type": "integer"
  36727. }
  36728. }
  36729. },
  36730. "order.QueryHisTradeOrderDetailRsp": {
  36731. "type": "object",
  36732. "required": [
  36733. "accountid",
  36734. "buildtype",
  36735. "buyorsell",
  36736. "goodsid",
  36737. "histradedate",
  36738. "marketid",
  36739. "memberuserid",
  36740. "operatetype",
  36741. "orderid",
  36742. "orderqty",
  36743. "ordertime",
  36744. "pricemode",
  36745. "tradedate",
  36746. "validtype"
  36747. ],
  36748. "properties": {
  36749. "accountid": {
  36750. "description": "账户ID[报价币种]",
  36751. "type": "integer"
  36752. },
  36753. "buildtype": {
  36754. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  36755. "type": "integer"
  36756. },
  36757. "buyorsell": {
  36758. "description": "买卖 - 0:买 1:卖",
  36759. "type": "integer"
  36760. },
  36761. "cancelorderid": {
  36762. "description": "撤单单号(撤单时填写)",
  36763. "type": "string"
  36764. },
  36765. "cancelqty": {
  36766. "description": "撤单数量",
  36767. "type": "number"
  36768. },
  36769. "clientordertime": {
  36770. "description": "客户端委托时间",
  36771. "type": "string"
  36772. },
  36773. "clientticket": {
  36774. "description": "客户端流水号",
  36775. "type": "string"
  36776. },
  36777. "clienttype": {
  36778. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  36779. "type": "integer"
  36780. },
  36781. "closeexchagechargevalue": {
  36782. "description": "平仓交易所手续费设置值",
  36783. "type": "number"
  36784. },
  36785. "closefeealgorithm": {
  36786. "description": "平仓手续费收取方式 1:比率 2:固定",
  36787. "type": "integer"
  36788. },
  36789. "closefreezecharge": {
  36790. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  36791. "type": "number"
  36792. },
  36793. "closememberchargevalue": {
  36794. "description": "平仓会员手续费设置值",
  36795. "type": "number"
  36796. },
  36797. "closeqty": {
  36798. "description": "平仓数量(先建后平操作 需要记录)",
  36799. "type": "number"
  36800. },
  36801. "closetradeqty": {
  36802. "description": "平仓成交数量(先建后平操作,需要记录)",
  36803. "type": "number"
  36804. },
  36805. "closeunfreezecharge": {
  36806. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  36807. "type": "number"
  36808. },
  36809. "decimalplace": {
  36810. "description": "商品报价小数位",
  36811. "type": "integer"
  36812. },
  36813. "delistingtype": {
  36814. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  36815. "type": "integer"
  36816. },
  36817. "enumdicname": {
  36818. "description": "单位名称",
  36819. "type": "string"
  36820. },
  36821. "freezecharge": {
  36822. "description": "冻结手续费",
  36823. "type": "number"
  36824. },
  36825. "freezemargin": {
  36826. "description": "冻结保证金(冻结交易金额)",
  36827. "type": "number"
  36828. },
  36829. "gcaccountid": {
  36830. "description": "账户ID[合约币种]",
  36831. "type": "integer"
  36832. },
  36833. "goodscode": {
  36834. "description": "商品代码",
  36835. "type": "string"
  36836. },
  36837. "goodsid": {
  36838. "description": "商品ID",
  36839. "type": "integer"
  36840. },
  36841. "goodsname": {
  36842. "description": "商品名称",
  36843. "type": "string"
  36844. },
  36845. "goodunitid": {
  36846. "description": "商品单位id",
  36847. "type": "integer"
  36848. },
  36849. "histradedate": {
  36850. "description": "历史交易日",
  36851. "type": "string"
  36852. },
  36853. "isconfirmexercise": {
  36854. "description": "是否确认行权- 0:否 1:是",
  36855. "type": "integer"
  36856. },
  36857. "ispreexercise": {
  36858. "description": "是否预申报- 0:否 1:是",
  36859. "type": "integer"
  36860. },
  36861. "isvaliddata": {
  36862. "description": "是否有效 - 0:无效 1:有效",
  36863. "type": "integer"
  36864. },
  36865. "listingselecttype": {
  36866. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  36867. "type": "integer"
  36868. },
  36869. "marginalgorithm": {
  36870. "description": "保证金收取方式 1:比率 2:固定",
  36871. "type": "integer"
  36872. },
  36873. "marginvalue": {
  36874. "description": "即市保证金设置值",
  36875. "type": "number"
  36876. },
  36877. "marketid": {
  36878. "description": "市场ID",
  36879. "type": "integer"
  36880. },
  36881. "marketmaxsub": {
  36882. "description": "市价最大偏移范围",
  36883. "type": "number"
  36884. },
  36885. "marketname": {
  36886. "description": "市场名称",
  36887. "type": "string"
  36888. },
  36889. "memberuserid": {
  36890. "description": "所属会员UserID",
  36891. "type": "integer"
  36892. },
  36893. "openexchagechargevalue": {
  36894. "description": "建仓交易所手续费设置值",
  36895. "type": "number"
  36896. },
  36897. "openfeealgorithm": {
  36898. "description": "建仓手续费收取方式 1:比率 2:固定",
  36899. "type": "integer"
  36900. },
  36901. "openfreezecharge": {
  36902. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  36903. "type": "number"
  36904. },
  36905. "openmemberchargevalue": {
  36906. "description": "建仓会员手续费设置值",
  36907. "type": "number"
  36908. },
  36909. "openqty": {
  36910. "description": "开仓数量(先建后平操作,需要记录)",
  36911. "type": "number"
  36912. },
  36913. "opentradeqty": {
  36914. "description": "开仓成交数量(先建后平操作,需要记录)",
  36915. "type": "number"
  36916. },
  36917. "openunfreezecharge": {
  36918. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  36919. "type": "number"
  36920. },
  36921. "operatetype": {
  36922. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  36923. "type": "integer"
  36924. },
  36925. "operatorid": {
  36926. "description": "登录账号(LoginID)",
  36927. "type": "integer"
  36928. },
  36929. "optiontype": {
  36930. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  36931. "type": "integer"
  36932. },
  36933. "orderid": {
  36934. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36935. "type": "string"
  36936. },
  36937. "orderprice": {
  36938. "description": "委托价格",
  36939. "type": "number"
  36940. },
  36941. "orderqty": {
  36942. "description": "委托数量",
  36943. "type": "number"
  36944. },
  36945. "ordersrc": {
  36946. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  36947. "type": "integer"
  36948. },
  36949. "orderstatus": {
  36950. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  36951. "type": "integer"
  36952. },
  36953. "ordertime": {
  36954. "description": "委托时间",
  36955. "type": "string"
  36956. },
  36957. "preexerciseprice": {
  36958. "description": "预申报价格",
  36959. "type": "number"
  36960. },
  36961. "premium": {
  36962. "description": "权利金",
  36963. "type": "number"
  36964. },
  36965. "preorderid": {
  36966. "description": "关联预埋单号(止盈止损单时填写)",
  36967. "type": "string"
  36968. },
  36969. "pricemode": {
  36970. "description": "取价方式 - 1:市价 2: 限价",
  36971. "type": "integer"
  36972. },
  36973. "qtydecimalplace": {
  36974. "description": "成交量小数位",
  36975. "type": "integer"
  36976. },
  36977. "quoteid": {
  36978. "description": "报价单ID",
  36979. "type": "integer"
  36980. },
  36981. "relatedid": {
  36982. "description": "关联单号(交割单)",
  36983. "type": "string"
  36984. },
  36985. "retcode": {
  36986. "description": "错误代码",
  36987. "type": "integer"
  36988. },
  36989. "sessionid": {
  36990. "description": "会话ID",
  36991. "type": "integer"
  36992. },
  36993. "tradedate": {
  36994. "description": "交易日(yyyyMMdd)",
  36995. "type": "string"
  36996. },
  36997. "trademode": {
  36998. "description": "交易模式",
  36999. "type": "integer"
  37000. },
  37001. "tradeproperty": {
  37002. "description": "交易属性",
  37003. "type": "integer"
  37004. },
  37005. "tradeqty": {
  37006. "description": "成交数量",
  37007. "type": "number"
  37008. },
  37009. "unfreezecharge": {
  37010. "description": "解冻手续费",
  37011. "type": "number"
  37012. },
  37013. "unfreezemargin": {
  37014. "description": "解冻保证金",
  37015. "type": "number"
  37016. },
  37017. "updatetime": {
  37018. "description": "更新时间",
  37019. "type": "string"
  37020. },
  37021. "uuid": {
  37022. "description": "发起端唯一id",
  37023. "type": "string"
  37024. },
  37025. "validtime": {
  37026. "description": "有效期限",
  37027. "type": "string"
  37028. },
  37029. "validtype": {
  37030. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  37031. "type": "integer"
  37032. },
  37033. "volumetype": {
  37034. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  37035. "type": "integer"
  37036. }
  37037. }
  37038. },
  37039. "order.QueryTradeDetailRsp": {
  37040. "type": "object",
  37041. "required": [
  37042. "accountid",
  37043. "buyorsell",
  37044. "goodsid",
  37045. "marketid",
  37046. "memberuserid",
  37047. "orderid",
  37048. "tradeamount",
  37049. "tradedate",
  37050. "tradeid",
  37051. "tradeprice",
  37052. "tradeqty",
  37053. "tradetime"
  37054. ],
  37055. "properties": {
  37056. "accountid": {
  37057. "description": "账户ID[报价币种]",
  37058. "type": "integer"
  37059. },
  37060. "advanceratio": {
  37061. "description": "首付比率",
  37062. "type": "number"
  37063. },
  37064. "buildtype": {
  37065. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  37066. "type": "integer"
  37067. },
  37068. "buyorsell": {
  37069. "description": "方向 - 0:买 1:卖",
  37070. "type": "integer"
  37071. },
  37072. "charge": {
  37073. "description": "手续费",
  37074. "type": "number"
  37075. },
  37076. "closecharge": {
  37077. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37078. "type": "number"
  37079. },
  37080. "closeexchagechargevalue": {
  37081. "description": "平仓交易所手续费设置值",
  37082. "type": "number"
  37083. },
  37084. "closefeealgorithm": {
  37085. "description": "平仓手续费收取方式 1:比率 2:固定",
  37086. "type": "integer"
  37087. },
  37088. "closememberchargevalue": {
  37089. "description": "平仓会员手续费设置值",
  37090. "type": "number"
  37091. },
  37092. "closepl": {
  37093. "description": "平仓盈亏",
  37094. "type": "number"
  37095. },
  37096. "closepl2": {
  37097. "description": "平仓盈亏[逐笔]",
  37098. "type": "number"
  37099. },
  37100. "closeqty": {
  37101. "description": "平仓数量(先建后平操作 需要记录)",
  37102. "type": "number"
  37103. },
  37104. "creditamount": {
  37105. "description": "授信金额",
  37106. "type": "number"
  37107. },
  37108. "decimalplace": {
  37109. "description": "商品报价小数位",
  37110. "type": "integer"
  37111. },
  37112. "enumdicname": {
  37113. "description": "单位名称",
  37114. "type": "string"
  37115. },
  37116. "gcaccountid": {
  37117. "description": "账户ID[合约币种]",
  37118. "type": "integer"
  37119. },
  37120. "goodscode": {
  37121. "description": "商品代码",
  37122. "type": "string"
  37123. },
  37124. "goodsid": {
  37125. "description": "商品ID",
  37126. "type": "integer"
  37127. },
  37128. "goodsname": {
  37129. "description": "商品名称",
  37130. "type": "string"
  37131. },
  37132. "goodunitid": {
  37133. "description": "商品单位id",
  37134. "type": "integer"
  37135. },
  37136. "intclosepl": {
  37137. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  37138. "type": "integer"
  37139. },
  37140. "isconfirmexercise": {
  37141. "description": "是否确认行权- 0:否 1:是",
  37142. "type": "integer"
  37143. },
  37144. "ismain": {
  37145. "description": "是否主单 - 0:不是 1:是",
  37146. "type": "integer"
  37147. },
  37148. "ispreexercise": {
  37149. "description": "是否预申报- 0:否 1:是",
  37150. "type": "integer"
  37151. },
  37152. "isreckoned": {
  37153. "description": "是否结算 - 0:未结算 1:已结算",
  37154. "type": "integer"
  37155. },
  37156. "listingselecttype": {
  37157. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37158. "type": "integer"
  37159. },
  37160. "marketid": {
  37161. "description": "市场ID",
  37162. "type": "integer"
  37163. },
  37164. "marketname": {
  37165. "description": "市场名称",
  37166. "type": "string"
  37167. },
  37168. "matchaccountid": {
  37169. "description": "对手账号id",
  37170. "type": "integer"
  37171. },
  37172. "memberuserid": {
  37173. "description": "会员id 个人投资者 需要填写",
  37174. "type": "integer"
  37175. },
  37176. "opencharge": {
  37177. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37178. "type": "number"
  37179. },
  37180. "openexchagechargevalue": {
  37181. "description": "建仓交易所手续费设置值",
  37182. "type": "number"
  37183. },
  37184. "openfeealgorithm": {
  37185. "description": "建仓手续费收取方式 1:比率 2:固定",
  37186. "type": "integer"
  37187. },
  37188. "openmemberchargevalue": {
  37189. "description": "建仓会员手续费设置值",
  37190. "type": "number"
  37191. },
  37192. "openqty": {
  37193. "description": "开仓数量(先建后平操作 需要记录)",
  37194. "type": "number"
  37195. },
  37196. "optiontype": {
  37197. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37198. "type": "integer"
  37199. },
  37200. "orderid": {
  37201. "description": "委托单号",
  37202. "type": "string"
  37203. },
  37204. "payamount": {
  37205. "description": "支付金额(付款金额)",
  37206. "type": "number"
  37207. },
  37208. "performanceplanid": {
  37209. "description": "履约计划ID[期权]",
  37210. "type": "integer"
  37211. },
  37212. "performancestatus": {
  37213. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  37214. "type": "integer"
  37215. },
  37216. "preexerciseprice": {
  37217. "description": "预申报价格",
  37218. "type": "number"
  37219. },
  37220. "premium": {
  37221. "description": "权利金 - [持仓单的权利金]",
  37222. "type": "number"
  37223. },
  37224. "qtydecimalplace": {
  37225. "description": "商品报价小数位",
  37226. "type": "integer"
  37227. },
  37228. "recvamount": {
  37229. "description": "到账金额 = 成交金额 - 手续费",
  37230. "type": "number"
  37231. },
  37232. "relatedouttradeid": {
  37233. "description": "关联外部成交单ID",
  37234. "type": "integer"
  37235. },
  37236. "status": {
  37237. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  37238. "type": "integer"
  37239. },
  37240. "totalamount": {
  37241. "description": "订单总额 = 成交金额 + 手续费",
  37242. "type": "number"
  37243. },
  37244. "tradeamount": {
  37245. "description": "成交金额[账户币种,用于所有权]",
  37246. "type": "number"
  37247. },
  37248. "tradedate": {
  37249. "description": "交易日(yyyyMMdd)",
  37250. "type": "string"
  37251. },
  37252. "tradeid": {
  37253. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37254. "type": "string"
  37255. },
  37256. "trademode": {
  37257. "description": "交易模式",
  37258. "type": "integer"
  37259. },
  37260. "tradeprice": {
  37261. "description": "成交价格",
  37262. "type": "number"
  37263. },
  37264. "tradeproperty": {
  37265. "description": "交易属性",
  37266. "type": "integer"
  37267. },
  37268. "tradeqty": {
  37269. "description": "成交数量",
  37270. "type": "number"
  37271. },
  37272. "tradetime": {
  37273. "description": "成交时间",
  37274. "type": "string"
  37275. },
  37276. "tradetype": {
  37277. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  37278. "type": "integer"
  37279. }
  37280. }
  37281. },
  37282. "order.QueryTradeOrderDetailRsp": {
  37283. "type": "object",
  37284. "required": [
  37285. "accountid",
  37286. "buildtype",
  37287. "buyorsell",
  37288. "goodsid",
  37289. "marketid",
  37290. "operatetype",
  37291. "orderqty",
  37292. "ordertime",
  37293. "pricemode",
  37294. "tradedate",
  37295. "validtype"
  37296. ],
  37297. "properties": {
  37298. "accountid": {
  37299. "description": "账户ID[报价币种]",
  37300. "type": "integer"
  37301. },
  37302. "buildtype": {
  37303. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  37304. "type": "integer"
  37305. },
  37306. "buyorsell": {
  37307. "description": "买卖 - 0:买 1:卖",
  37308. "type": "integer"
  37309. },
  37310. "cancelorderid": {
  37311. "description": "撤单单号(撤单时填写)",
  37312. "type": "string"
  37313. },
  37314. "cancelqty": {
  37315. "description": "撤单数量",
  37316. "type": "number"
  37317. },
  37318. "clienttype": {
  37319. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  37320. "type": "integer"
  37321. },
  37322. "closefreezecharge": {
  37323. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  37324. "type": "number"
  37325. },
  37326. "closeqty": {
  37327. "description": "平仓数量(先建后平操作 需要记录)",
  37328. "type": "number"
  37329. },
  37330. "closetradeqty": {
  37331. "description": "平仓成交数量(先建后平操作,需要记录)",
  37332. "type": "number"
  37333. },
  37334. "closeunfreezecharge": {
  37335. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  37336. "type": "number"
  37337. },
  37338. "decimalplace": {
  37339. "description": "商品报价小数位",
  37340. "type": "integer"
  37341. },
  37342. "delistingtype": {
  37343. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  37344. "type": "integer"
  37345. },
  37346. "enableqty": {
  37347. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  37348. "type": "number"
  37349. },
  37350. "enumdicname": {
  37351. "description": "单位名称",
  37352. "type": "string"
  37353. },
  37354. "freezecharge": {
  37355. "description": "冻结手续费",
  37356. "type": "number"
  37357. },
  37358. "freezemargin": {
  37359. "description": "冻结保证金(冻结交易金额)",
  37360. "type": "number"
  37361. },
  37362. "goodscode": {
  37363. "description": "商品代码",
  37364. "type": "string"
  37365. },
  37366. "goodsid": {
  37367. "description": "商品ID",
  37368. "type": "integer"
  37369. },
  37370. "goodsname": {
  37371. "description": "商品名称",
  37372. "type": "string"
  37373. },
  37374. "goodunitid": {
  37375. "description": "商品单位id",
  37376. "type": "integer"
  37377. },
  37378. "listingselecttype": {
  37379. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37380. "type": "integer"
  37381. },
  37382. "marketid": {
  37383. "description": "市场ID",
  37384. "type": "integer"
  37385. },
  37386. "marketname": {
  37387. "description": "市场名称",
  37388. "type": "string"
  37389. },
  37390. "openfreezecharge": {
  37391. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  37392. "type": "number"
  37393. },
  37394. "openqty": {
  37395. "description": "开仓数量(先建后平操作,需要记录)",
  37396. "type": "number"
  37397. },
  37398. "opentradeqty": {
  37399. "description": "开仓成交数量(先建后平操作,需要记录)",
  37400. "type": "number"
  37401. },
  37402. "openunfreezecharge": {
  37403. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  37404. "type": "number"
  37405. },
  37406. "operatetype": {
  37407. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  37408. "type": "integer"
  37409. },
  37410. "operatorid": {
  37411. "description": "登录账号(LoginID)",
  37412. "type": "integer"
  37413. },
  37414. "orderid": {
  37415. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37416. "type": "string"
  37417. },
  37418. "orderprice": {
  37419. "description": "委托价格",
  37420. "type": "number"
  37421. },
  37422. "orderqty": {
  37423. "description": "委托数量",
  37424. "type": "number"
  37425. },
  37426. "ordersrc": {
  37427. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  37428. "type": "integer"
  37429. },
  37430. "orderstatus": {
  37431. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  37432. "type": "integer"
  37433. },
  37434. "ordertime": {
  37435. "description": "委托时间",
  37436. "type": "string"
  37437. },
  37438. "preorderid": {
  37439. "description": "关联预埋单号(止盈止损单时填写)",
  37440. "type": "string"
  37441. },
  37442. "pricemode": {
  37443. "description": "取价方式 - 1:市价 2: 限价",
  37444. "type": "integer"
  37445. },
  37446. "qtydecimalplace": {
  37447. "description": "商品报价小数位",
  37448. "type": "integer"
  37449. },
  37450. "relatedid": {
  37451. "description": "关联单号(交割单)",
  37452. "type": "string"
  37453. },
  37454. "tradedate": {
  37455. "description": "交易日(yyyyMMdd)",
  37456. "type": "string"
  37457. },
  37458. "trademode": {
  37459. "description": "交易模式",
  37460. "type": "integer"
  37461. },
  37462. "tradeqty": {
  37463. "description": "成交数量",
  37464. "type": "number"
  37465. },
  37466. "unfreezecharge": {
  37467. "description": "解冻手续费",
  37468. "type": "number"
  37469. },
  37470. "unfreezemargin": {
  37471. "description": "解冻保证金",
  37472. "type": "number"
  37473. },
  37474. "validtime": {
  37475. "description": "有效期限",
  37476. "type": "string"
  37477. },
  37478. "validtype": {
  37479. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  37480. "type": "integer"
  37481. },
  37482. "volumetype": {
  37483. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  37484. "type": "integer"
  37485. }
  37486. }
  37487. },
  37488. "order.QueryTradePositionRsp": {
  37489. "type": "object",
  37490. "required": [
  37491. "goodsid"
  37492. ],
  37493. "properties": {
  37494. "accountid": {
  37495. "description": "资金账户",
  37496. "type": "integer"
  37497. },
  37498. "agreeunit": {
  37499. "description": "合约单位",
  37500. "type": "number"
  37501. },
  37502. "averageprice": {
  37503. "description": "持仓均价",
  37504. "type": "number"
  37505. },
  37506. "buyorsell": {
  37507. "description": "方向 - 0:买 1:卖",
  37508. "type": "integer"
  37509. },
  37510. "closetotalqty": {
  37511. "description": "平仓总数量",
  37512. "type": "number"
  37513. },
  37514. "curholderamount": {
  37515. "description": "当前持仓总金额[商品币种]",
  37516. "type": "number"
  37517. },
  37518. "curpositionqty": {
  37519. "description": "当前持仓总数量",
  37520. "type": "number"
  37521. },
  37522. "currencyid": {
  37523. "description": "报价货币ID",
  37524. "type": "integer"
  37525. },
  37526. "curtdposition": {
  37527. "description": "期末今日头寸",
  37528. "type": "number"
  37529. },
  37530. "decimalplace": {
  37531. "description": "报价小数位",
  37532. "type": "integer"
  37533. },
  37534. "enableqty": {
  37535. "description": "可用量",
  37536. "type": "number"
  37537. },
  37538. "fretdposition": {
  37539. "description": "冻结今日头寸",
  37540. "type": "number"
  37541. },
  37542. "frozenqty": {
  37543. "description": "持仓冻结数量",
  37544. "type": "number"
  37545. },
  37546. "goodscode": {
  37547. "description": "商品代码",
  37548. "type": "string"
  37549. },
  37550. "goodsid": {
  37551. "description": "商品Id",
  37552. "type": "integer"
  37553. },
  37554. "goodsname": {
  37555. "description": "商品名称",
  37556. "type": "string"
  37557. },
  37558. "goodunit": {
  37559. "description": "报价单位",
  37560. "type": "string"
  37561. },
  37562. "goodunitid": {
  37563. "description": "报价单位ID",
  37564. "type": "integer"
  37565. },
  37566. "holderamount": {
  37567. "description": "期初持仓总金额[商品币种]",
  37568. "type": "number"
  37569. },
  37570. "lastprice": {
  37571. "description": "最新价",
  37572. "type": "number"
  37573. },
  37574. "marketamount": {
  37575. "description": "市值",
  37576. "type": "number"
  37577. },
  37578. "marketid": {
  37579. "description": "所属市场ID",
  37580. "type": "integer"
  37581. },
  37582. "openreqqty": {
  37583. "description": "开仓申请数量(用于比较最大持仓数量)",
  37584. "type": "number"
  37585. },
  37586. "opentotalqty": {
  37587. "description": "开仓总数量",
  37588. "type": "number"
  37589. },
  37590. "otherfrozenqty": {
  37591. "description": "持仓其他冻结数量(交割冻结)",
  37592. "type": "number"
  37593. },
  37594. "positionpl": {
  37595. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  37596. "type": "number"
  37597. },
  37598. "positionplrate": {
  37599. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  37600. "type": "number"
  37601. },
  37602. "positionqty": {
  37603. "description": "期初持仓数量",
  37604. "type": "number"
  37605. },
  37606. "qtydecimalplace": {
  37607. "description": "成交量小数位",
  37608. "type": "integer"
  37609. },
  37610. "refgoodscode": {
  37611. "description": "参考商品代码",
  37612. "type": "string"
  37613. },
  37614. "refgoodsid": {
  37615. "description": "参考商品ID",
  37616. "type": "integer"
  37617. },
  37618. "tnqty": {
  37619. "description": "T+N冻结总量",
  37620. "type": "number"
  37621. },
  37622. "tnusedqty": {
  37623. "description": "T+N使用量(可以使用T+N的冻结数量)",
  37624. "type": "number"
  37625. },
  37626. "trademode": {
  37627. "description": "交易模式",
  37628. "type": "integer"
  37629. },
  37630. "tradeproperty": {
  37631. "description": "交易属性",
  37632. "type": "integer"
  37633. },
  37634. "usedmargin": {
  37635. "description": "占用保证金[商品币种]",
  37636. "type": "number"
  37637. }
  37638. }
  37639. },
  37640. "pb.GoodsMarginCfgStruct": {
  37641. "type": "object",
  37642. "properties": {
  37643. "CustomerTypeID": {
  37644. "description": "投资者客户类型",
  37645. "type": "integer"
  37646. },
  37647. "GoodsID": {
  37648. "description": "商品ID",
  37649. "type": "integer"
  37650. },
  37651. "IsDefault": {
  37652. "description": "是否默认标志位",
  37653. "type": "integer"
  37654. },
  37655. "LockMarginValue": {
  37656. "description": "锁仓保证金",
  37657. "type": "number"
  37658. },
  37659. "MarginAlgorithm": {
  37660. "description": "保证金计算方式",
  37661. "type": "integer"
  37662. },
  37663. "MarketMarginValue": {
  37664. "description": "即市保证金值",
  37665. "type": "number"
  37666. },
  37667. "RealMarginAlgorithm": {
  37668. "description": "实付保证金计算方式",
  37669. "type": "integer"
  37670. },
  37671. "RealMarginValue": {
  37672. "description": "实付比例",
  37673. "type": "number"
  37674. },
  37675. "ReckonMarginValue": {
  37676. "description": "结算保证金值",
  37677. "type": "number"
  37678. }
  37679. }
  37680. },
  37681. "quote.HistoryData": {
  37682. "type": "object",
  37683. "properties": {
  37684. "c": {
  37685. "description": "收盘价",
  37686. "type": "number"
  37687. },
  37688. "f": {
  37689. "description": "是否补充数据",
  37690. "type": "boolean"
  37691. },
  37692. "h": {
  37693. "description": "最高价",
  37694. "type": "number"
  37695. },
  37696. "hv": {
  37697. "description": "持仓量",
  37698. "type": "integer"
  37699. },
  37700. "l": {
  37701. "description": "最低价",
  37702. "type": "number"
  37703. },
  37704. "o": {
  37705. "description": "开盘价",
  37706. "type": "number"
  37707. },
  37708. "s": {
  37709. "description": "结算价,日线周期(包括)以上才有",
  37710. "type": "number"
  37711. },
  37712. "ts": {
  37713. "description": "时间",
  37714. "type": "string"
  37715. },
  37716. "tt": {
  37717. "description": "总金额",
  37718. "type": "number"
  37719. },
  37720. "tv": {
  37721. "description": "总量(成交量)",
  37722. "type": "integer"
  37723. }
  37724. }
  37725. },
  37726. "quote.HistoryTikData": {
  37727. "type": "object",
  37728. "properties": {
  37729. "AV": {
  37730. "description": "卖量",
  37731. "type": "integer"
  37732. },
  37733. "Ask": {
  37734. "description": "卖价",
  37735. "type": "number"
  37736. },
  37737. "BV": {
  37738. "description": "买量",
  37739. "type": "integer"
  37740. },
  37741. "Bid": {
  37742. "description": "买价",
  37743. "type": "number"
  37744. },
  37745. "HI": {
  37746. "description": "单笔持仓",
  37747. "type": "integer"
  37748. },
  37749. "HV": {
  37750. "description": "持仓量",
  37751. "type": "integer"
  37752. },
  37753. "PE": {
  37754. "description": "现价",
  37755. "type": "number"
  37756. },
  37757. "TDR": {
  37758. "description": "交易方向,0:买 1:卖",
  37759. "type": "integer"
  37760. },
  37761. "TK": {
  37762. "description": "交易类型",
  37763. "type": "integer"
  37764. },
  37765. "TS": {
  37766. "description": "行情时间文本",
  37767. "type": "string"
  37768. },
  37769. "TT": {
  37770. "description": "现金额",
  37771. "type": "number"
  37772. },
  37773. "Vol": {
  37774. "description": "现量",
  37775. "type": "integer"
  37776. }
  37777. }
  37778. },
  37779. "quote.QueryQuoteDayRsp": {
  37780. "type": "object",
  37781. "properties": {
  37782. "ask": {
  37783. "description": "卖1",
  37784. "type": "number"
  37785. },
  37786. "ask10": {
  37787. "description": "卖10",
  37788. "type": "number"
  37789. },
  37790. "ask2": {
  37791. "description": "卖2",
  37792. "type": "number"
  37793. },
  37794. "ask3": {
  37795. "description": "卖3",
  37796. "type": "number"
  37797. },
  37798. "ask4": {
  37799. "description": "卖4",
  37800. "type": "number"
  37801. },
  37802. "ask5": {
  37803. "description": "卖5",
  37804. "type": "number"
  37805. },
  37806. "ask6": {
  37807. "description": "卖6",
  37808. "type": "number"
  37809. },
  37810. "ask7": {
  37811. "description": "卖7",
  37812. "type": "number"
  37813. },
  37814. "ask8": {
  37815. "description": "卖8",
  37816. "type": "number"
  37817. },
  37818. "ask9": {
  37819. "description": "卖9",
  37820. "type": "number"
  37821. },
  37822. "askorderid": {
  37823. "description": "卖单号1",
  37824. "type": "integer"
  37825. },
  37826. "askorderid2": {
  37827. "description": "卖单号2",
  37828. "type": "integer"
  37829. },
  37830. "askorderid3": {
  37831. "description": "卖单号3",
  37832. "type": "integer"
  37833. },
  37834. "askorderid4": {
  37835. "description": "卖单号4",
  37836. "type": "integer"
  37837. },
  37838. "askorderid5": {
  37839. "description": "卖单号5",
  37840. "type": "integer"
  37841. },
  37842. "askordervolume": {
  37843. "description": "卖单量1",
  37844. "type": "integer"
  37845. },
  37846. "askordervolume10": {
  37847. "description": "卖单量10",
  37848. "type": "integer"
  37849. },
  37850. "askordervolume2": {
  37851. "description": "卖单量2",
  37852. "type": "integer"
  37853. },
  37854. "askordervolume3": {
  37855. "description": "卖单量3",
  37856. "type": "integer"
  37857. },
  37858. "askordervolume4": {
  37859. "description": "卖单量4",
  37860. "type": "integer"
  37861. },
  37862. "askordervolume5": {
  37863. "description": "卖单量5",
  37864. "type": "integer"
  37865. },
  37866. "askordervolume6": {
  37867. "description": "卖单量6",
  37868. "type": "integer"
  37869. },
  37870. "askordervolume7": {
  37871. "description": "卖单量7",
  37872. "type": "integer"
  37873. },
  37874. "askordervolume8": {
  37875. "description": "卖单量8",
  37876. "type": "integer"
  37877. },
  37878. "askordervolume9": {
  37879. "description": "卖单量9",
  37880. "type": "integer"
  37881. },
  37882. "askqueueinfo": {
  37883. "description": "大利市卖港股用",
  37884. "type": "string"
  37885. },
  37886. "askvolume": {
  37887. "description": "卖量1",
  37888. "type": "integer"
  37889. },
  37890. "askvolume10": {
  37891. "description": "卖量10",
  37892. "type": "integer"
  37893. },
  37894. "askvolume2": {
  37895. "description": "卖量2",
  37896. "type": "integer"
  37897. },
  37898. "askvolume3": {
  37899. "description": "卖量3",
  37900. "type": "integer"
  37901. },
  37902. "askvolume4": {
  37903. "description": "卖量4",
  37904. "type": "integer"
  37905. },
  37906. "askvolume5": {
  37907. "description": "卖量5",
  37908. "type": "integer"
  37909. },
  37910. "askvolume6": {
  37911. "description": "卖量6",
  37912. "type": "integer"
  37913. },
  37914. "askvolume7": {
  37915. "description": "卖量7",
  37916. "type": "integer"
  37917. },
  37918. "askvolume8": {
  37919. "description": "卖量8",
  37920. "type": "integer"
  37921. },
  37922. "askvolume9": {
  37923. "description": "卖量9",
  37924. "type": "integer"
  37925. },
  37926. "averageprice": {
  37927. "description": "均价",
  37928. "type": "number"
  37929. },
  37930. "bid": {
  37931. "description": "买1",
  37932. "type": "number"
  37933. },
  37934. "bid10": {
  37935. "description": "买10",
  37936. "type": "number"
  37937. },
  37938. "bid2": {
  37939. "description": "买2",
  37940. "type": "number"
  37941. },
  37942. "bid3": {
  37943. "description": "买3",
  37944. "type": "number"
  37945. },
  37946. "bid4": {
  37947. "description": "买4",
  37948. "type": "number"
  37949. },
  37950. "bid5": {
  37951. "description": "买5",
  37952. "type": "number"
  37953. },
  37954. "bid6": {
  37955. "description": "买6",
  37956. "type": "number"
  37957. },
  37958. "bid7": {
  37959. "description": "买7",
  37960. "type": "number"
  37961. },
  37962. "bid8": {
  37963. "description": "买8",
  37964. "type": "number"
  37965. },
  37966. "bid9": {
  37967. "description": "买9",
  37968. "type": "number"
  37969. },
  37970. "bidorderid": {
  37971. "description": "买单号1",
  37972. "type": "integer"
  37973. },
  37974. "bidorderid2": {
  37975. "description": "买单号2",
  37976. "type": "integer"
  37977. },
  37978. "bidorderid3": {
  37979. "description": "买单号3",
  37980. "type": "integer"
  37981. },
  37982. "bidorderid4": {
  37983. "description": "买单号4",
  37984. "type": "integer"
  37985. },
  37986. "bidorderid5": {
  37987. "description": "买单号5",
  37988. "type": "integer"
  37989. },
  37990. "bidordervolume": {
  37991. "description": "买单量1",
  37992. "type": "integer"
  37993. },
  37994. "bidordervolume10": {
  37995. "description": "买单量10",
  37996. "type": "integer"
  37997. },
  37998. "bidordervolume2": {
  37999. "description": "买单量2",
  38000. "type": "integer"
  38001. },
  38002. "bidordervolume3": {
  38003. "description": "买单量3",
  38004. "type": "integer"
  38005. },
  38006. "bidordervolume4": {
  38007. "description": "买单量4",
  38008. "type": "integer"
  38009. },
  38010. "bidordervolume5": {
  38011. "description": "买单量5",
  38012. "type": "integer"
  38013. },
  38014. "bidordervolume6": {
  38015. "description": "买单量6",
  38016. "type": "integer"
  38017. },
  38018. "bidordervolume7": {
  38019. "description": "买单量7",
  38020. "type": "integer"
  38021. },
  38022. "bidordervolume8": {
  38023. "description": "买单量8",
  38024. "type": "integer"
  38025. },
  38026. "bidordervolume9": {
  38027. "description": "买单量9",
  38028. "type": "integer"
  38029. },
  38030. "bidqueueinfo": {
  38031. "description": "大利市买港股用",
  38032. "type": "string"
  38033. },
  38034. "bidvolume": {
  38035. "description": "买量1",
  38036. "type": "integer"
  38037. },
  38038. "bidvolume10": {
  38039. "description": "买量10",
  38040. "type": "integer"
  38041. },
  38042. "bidvolume2": {
  38043. "description": "买量2",
  38044. "type": "integer"
  38045. },
  38046. "bidvolume3": {
  38047. "description": "买量3",
  38048. "type": "integer"
  38049. },
  38050. "bidvolume4": {
  38051. "description": "买量4",
  38052. "type": "integer"
  38053. },
  38054. "bidvolume5": {
  38055. "description": "买量5",
  38056. "type": "integer"
  38057. },
  38058. "bidvolume6": {
  38059. "description": "买量6",
  38060. "type": "integer"
  38061. },
  38062. "bidvolume7": {
  38063. "description": "买量7",
  38064. "type": "integer"
  38065. },
  38066. "bidvolume8": {
  38067. "description": "买量8",
  38068. "type": "integer"
  38069. },
  38070. "bidvolume9": {
  38071. "description": "买量9",
  38072. "type": "integer"
  38073. },
  38074. "calloptionpremiums": {
  38075. "description": "认购期权1",
  38076. "type": "integer"
  38077. },
  38078. "calloptionpremiums2": {
  38079. "description": "认购期权2",
  38080. "type": "integer"
  38081. },
  38082. "calloptionpremiums3": {
  38083. "description": "认购期权3",
  38084. "type": "integer"
  38085. },
  38086. "calloptionpremiums4": {
  38087. "description": "认购期权4",
  38088. "type": "integer"
  38089. },
  38090. "calloptionpremiums5": {
  38091. "description": "认购期权5",
  38092. "type": "integer"
  38093. },
  38094. "cleartime": {
  38095. "description": "清盘时间",
  38096. "type": "integer"
  38097. },
  38098. "exchangecode": {
  38099. "description": "交易所代码",
  38100. "type": "integer"
  38101. },
  38102. "exchangedate": {
  38103. "description": "交易日",
  38104. "type": "integer"
  38105. },
  38106. "goodscode": {
  38107. "description": "商品代码",
  38108. "type": "string"
  38109. },
  38110. "grepmarketprice": {
  38111. "description": "暗盘价 港股专用",
  38112. "type": "number"
  38113. },
  38114. "highest": {
  38115. "description": "最高价",
  38116. "type": "number"
  38117. },
  38118. "holdincrement": {
  38119. "description": "单笔持仓",
  38120. "type": "integer"
  38121. },
  38122. "holdvolume": {
  38123. "description": "持仓",
  38124. "type": "integer"
  38125. },
  38126. "iep": {
  38127. "description": "平衡价 港股专用",
  38128. "type": "number"
  38129. },
  38130. "iev": {
  38131. "description": "平衡量 港股专用",
  38132. "type": "number"
  38133. },
  38134. "inventory": {
  38135. "description": "库存",
  38136. "type": "integer"
  38137. },
  38138. "iscleared": {
  38139. "description": "是否清盘标志",
  38140. "type": "integer"
  38141. },
  38142. "issettled": {
  38143. "description": "是否结算标志",
  38144. "type": "integer"
  38145. },
  38146. "last": {
  38147. "description": "最新价",
  38148. "type": "number"
  38149. },
  38150. "lastlot": {
  38151. "description": "最新成交手数",
  38152. "type": "integer"
  38153. },
  38154. "lasttime": {
  38155. "description": "行情时间(只有现价变化行情时间才变化)",
  38156. "type": "string"
  38157. },
  38158. "lastturnover": {
  38159. "description": "最新成交金额",
  38160. "type": "number"
  38161. },
  38162. "lastvolume": {
  38163. "description": "最新成交量",
  38164. "type": "integer"
  38165. },
  38166. "limitdown": {
  38167. "description": "跌停价",
  38168. "type": "number"
  38169. },
  38170. "limitup": {
  38171. "description": "涨停价",
  38172. "type": "number"
  38173. },
  38174. "lowest": {
  38175. "description": "最低价",
  38176. "type": "number"
  38177. },
  38178. "nontotalholdervolume": {
  38179. "description": "非交易持仓量",
  38180. "type": "integer"
  38181. },
  38182. "nontotallot": {
  38183. "description": "非交易总手数",
  38184. "type": "integer"
  38185. },
  38186. "nontotalturnover": {
  38187. "description": "非交易总金额",
  38188. "type": "integer"
  38189. },
  38190. "nontotalvolume": {
  38191. "description": "非交易总量",
  38192. "type": "integer"
  38193. },
  38194. "opened": {
  38195. "description": "开盘价",
  38196. "type": "number"
  38197. },
  38198. "opentime": {
  38199. "description": "开盘时间",
  38200. "type": "string"
  38201. },
  38202. "orderid": {
  38203. "description": "序号",
  38204. "type": "integer"
  38205. },
  38206. "preclose": {
  38207. "description": "昨收",
  38208. "type": "number"
  38209. },
  38210. "preholdvolume": {
  38211. "description": "昨持仓",
  38212. "type": "integer"
  38213. },
  38214. "presettle": {
  38215. "description": "昨结价",
  38216. "type": "number"
  38217. },
  38218. "publictradetype": {
  38219. "description": "公共交易标志类型 港股专用",
  38220. "type": "string"
  38221. },
  38222. "putoptionpremiums": {
  38223. "description": "认沽期权1",
  38224. "type": "integer"
  38225. },
  38226. "putoptionpremiums2": {
  38227. "description": "认沽期权2",
  38228. "type": "integer"
  38229. },
  38230. "putoptionpremiums3": {
  38231. "description": "认沽期权3",
  38232. "type": "integer"
  38233. },
  38234. "putoptionpremiums4": {
  38235. "description": "认沽期权4",
  38236. "type": "integer"
  38237. },
  38238. "putoptionpremiums5": {
  38239. "description": "认沽期权5",
  38240. "type": "integer"
  38241. },
  38242. "settle": {
  38243. "description": "结算价",
  38244. "type": "number"
  38245. },
  38246. "strikeprice": {
  38247. "description": "发行价",
  38248. "type": "number"
  38249. },
  38250. "totalaskvolume": {
  38251. "description": "内盘",
  38252. "type": "integer"
  38253. },
  38254. "totalbidvolume": {
  38255. "description": "外盘",
  38256. "type": "integer"
  38257. },
  38258. "totallot": {
  38259. "description": "总手数",
  38260. "type": "integer"
  38261. },
  38262. "totalturnover": {
  38263. "description": "总金额",
  38264. "type": "number"
  38265. },
  38266. "totalvolume": {
  38267. "description": "总量",
  38268. "type": "integer"
  38269. },
  38270. "utclasttime": {
  38271. "description": "utc的行情时间",
  38272. "type": "string"
  38273. }
  38274. }
  38275. },
  38276. "quote.QueryTSDataRsp": {
  38277. "type": "object",
  38278. "properties": {
  38279. "Count": {
  38280. "description": "交易日应有数据个数",
  38281. "type": "integer"
  38282. },
  38283. "decimalPlace": {
  38284. "description": "小数位",
  38285. "type": "integer"
  38286. },
  38287. "endTime": {
  38288. "description": "结束时间",
  38289. "type": "string"
  38290. },
  38291. "goodsCode": {
  38292. "description": "商品代码",
  38293. "type": "string"
  38294. },
  38295. "historyDatas": {
  38296. "description": "历史数据",
  38297. "type": "array",
  38298. "items": {
  38299. "$ref": "#/definitions/quote.HistoryData"
  38300. }
  38301. },
  38302. "outGoodsCode": {
  38303. "description": "外部商品代码",
  38304. "type": "string"
  38305. },
  38306. "preSettle": {
  38307. "description": "昨结价",
  38308. "type": "number"
  38309. },
  38310. "runSteps": {
  38311. "description": "交易日开休市计划",
  38312. "type": "array",
  38313. "items": {
  38314. "$ref": "#/definitions/quote.TSDataRunStep"
  38315. }
  38316. },
  38317. "startTime": {
  38318. "description": "开始时间",
  38319. "type": "string"
  38320. },
  38321. "tradeDate": {
  38322. "description": "交易日",
  38323. "type": "string"
  38324. }
  38325. }
  38326. },
  38327. "quote.TSDataRunStep": {
  38328. "type": "object",
  38329. "properties": {
  38330. "end": {
  38331. "description": "真实结束时间",
  38332. "type": "string"
  38333. },
  38334. "endflag": {
  38335. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  38336. "type": "integer"
  38337. },
  38338. "endtime": {
  38339. "description": "结束时间(HH:mm)",
  38340. "type": "string"
  38341. },
  38342. "endweekday": {
  38343. "description": "结束周几",
  38344. "type": "integer"
  38345. },
  38346. "groupid": {
  38347. "description": "分组ID",
  38348. "type": "integer"
  38349. },
  38350. "runstep": {
  38351. "description": "运行阶段 - 2:连续交易",
  38352. "type": "integer"
  38353. },
  38354. "sectionid": {
  38355. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  38356. "type": "integer"
  38357. },
  38358. "start": {
  38359. "description": "真实开始时间",
  38360. "type": "string"
  38361. },
  38362. "startflag": {
  38363. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  38364. "type": "integer"
  38365. },
  38366. "starttime": {
  38367. "description": "起始时间(HH:mm)",
  38368. "type": "string"
  38369. },
  38370. "startweekday": {
  38371. "description": "起始周几",
  38372. "type": "integer"
  38373. },
  38374. "tradeweekday": {
  38375. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  38376. "type": "integer"
  38377. }
  38378. }
  38379. },
  38380. "szdz.QueryConvertLogRsp": {
  38381. "type": "object",
  38382. "required": [
  38383. "logid"
  38384. ],
  38385. "properties": {
  38386. "accountid": {
  38387. "description": "资金账户ID",
  38388. "type": "integer"
  38389. },
  38390. "clientticket": {
  38391. "description": "客户端流水号",
  38392. "type": "string"
  38393. },
  38394. "converttype": {
  38395. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  38396. "type": "integer"
  38397. },
  38398. "createtime": {
  38399. "description": "记账时间",
  38400. "type": "string"
  38401. },
  38402. "daymaxvalue": {
  38403. "description": "配置当日最大转入限制",
  38404. "type": "number"
  38405. },
  38406. "daymaxvalue2": {
  38407. "description": "配置当日最大转入限制(转入)",
  38408. "type": "number"
  38409. },
  38410. "goodscode": {
  38411. "description": "商品代码",
  38412. "type": "string"
  38413. },
  38414. "goodsname": {
  38415. "description": "商品名称",
  38416. "type": "string"
  38417. },
  38418. "handlestatus": {
  38419. "description": "处理状态",
  38420. "type": "integer"
  38421. },
  38422. "innergoodsid": {
  38423. "description": "内部商品ID",
  38424. "type": "integer"
  38425. },
  38426. "inratio": {
  38427. "description": "配置转入比值",
  38428. "type": "integer"
  38429. },
  38430. "invalue": {
  38431. "description": "目标值",
  38432. "type": "number"
  38433. },
  38434. "logid": {
  38435. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38436. "type": "integer"
  38437. },
  38438. "mobile": {
  38439. "description": "手机号码(加密存储)",
  38440. "type": "string"
  38441. },
  38442. "outergoodscode": {
  38443. "description": "外部商品代码[JD\\PD]",
  38444. "type": "string"
  38445. },
  38446. "outratio": {
  38447. "description": "配置转出比值",
  38448. "type": "integer"
  38449. },
  38450. "outvalue": {
  38451. "description": "源值",
  38452. "type": "number"
  38453. },
  38454. "pddecimalplace": {
  38455. "description": "PD小数位",
  38456. "type": "integer"
  38457. },
  38458. "qty": {
  38459. "description": "数量",
  38460. "type": "string"
  38461. },
  38462. "remark": {
  38463. "description": "备注",
  38464. "type": "string"
  38465. },
  38466. "sessionid": {
  38467. "description": "会话ID",
  38468. "type": "integer"
  38469. },
  38470. "timemaxvalue": {
  38471. "description": "配置单次最大转入限制",
  38472. "type": "number"
  38473. },
  38474. "timemaxvalue2": {
  38475. "description": "配置单次最大转入限制(转入)",
  38476. "type": "number"
  38477. },
  38478. "timeminvalue": {
  38479. "description": "配置单次最小数量限制",
  38480. "type": "number"
  38481. },
  38482. "timeminvalue2": {
  38483. "description": "配置单次最小数量限制(转入)",
  38484. "type": "number"
  38485. },
  38486. "tradedate": {
  38487. "description": "交易日(yyyyMMdd)",
  38488. "type": "string"
  38489. },
  38490. "userid": {
  38491. "description": "用户ID",
  38492. "type": "integer"
  38493. }
  38494. }
  38495. },
  38496. "szdz.QueryGoodsPickupRsp": {
  38497. "type": "object",
  38498. "required": [
  38499. "takeorderid"
  38500. ],
  38501. "properties": {
  38502. "accountid": {
  38503. "description": "账户ID",
  38504. "type": "integer"
  38505. },
  38506. "address": {
  38507. "description": "提货人详细地址",
  38508. "type": "string"
  38509. },
  38510. "auditer": {
  38511. "description": "审核人",
  38512. "type": "integer"
  38513. },
  38514. "audittime": {
  38515. "description": "审核时间",
  38516. "type": "string"
  38517. },
  38518. "cardnum": {
  38519. "description": "提货人证件号码",
  38520. "type": "string"
  38521. },
  38522. "cardtypeid": {
  38523. "description": "提货人证件类型",
  38524. "type": "integer"
  38525. },
  38526. "checkremark": {
  38527. "description": "审核备注",
  38528. "type": "string"
  38529. },
  38530. "goodscode": {
  38531. "description": "商品代码",
  38532. "type": "string"
  38533. },
  38534. "goodsid": {
  38535. "description": "商品ID",
  38536. "type": "integer"
  38537. },
  38538. "goodsname": {
  38539. "description": "商品名称",
  38540. "type": "string"
  38541. },
  38542. "handlestatus": {
  38543. "description": "处理状态",
  38544. "type": "integer"
  38545. },
  38546. "marketid": {
  38547. "description": "市场ID",
  38548. "type": "integer"
  38549. },
  38550. "phonenum": {
  38551. "description": "提货人联系方式",
  38552. "type": "string"
  38553. },
  38554. "qty": {
  38555. "description": "提货数量",
  38556. "type": "number"
  38557. },
  38558. "recivername": {
  38559. "description": "提货人姓名",
  38560. "type": "string"
  38561. },
  38562. "reqtime": {
  38563. "description": "更新时间",
  38564. "type": "string"
  38565. },
  38566. "takemode": {
  38567. "description": "提货方式 - 2:自提 3:配送",
  38568. "type": "integer"
  38569. },
  38570. "takeorderid": {
  38571. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  38572. "type": "string"
  38573. },
  38574. "takeorderstatus": {
  38575. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  38576. "type": "integer"
  38577. },
  38578. "takeremark": {
  38579. "description": "提货备注",
  38580. "type": "string"
  38581. },
  38582. "tradedate": {
  38583. "description": "交易日(yyyyMMdd)",
  38584. "type": "string"
  38585. },
  38586. "userid": {
  38587. "description": "用户ID",
  38588. "type": "integer"
  38589. }
  38590. }
  38591. },
  38592. "szdz.QueryRecieptOrderRsp": {
  38593. "type": "object",
  38594. "required": [
  38595. "ordertime"
  38596. ],
  38597. "properties": {
  38598. "accountName": {
  38599. "description": "所属账号名称(已脱敏)",
  38600. "type": "string"
  38601. },
  38602. "accountid": {
  38603. "description": "资金账号",
  38604. "type": "integer"
  38605. },
  38606. "buyorsell": {
  38607. "description": "方向 - 0:买 1:卖",
  38608. "type": "integer"
  38609. },
  38610. "enableqty": {
  38611. "description": "可摘数量",
  38612. "type": "integer"
  38613. },
  38614. "goodscode": {
  38615. "description": "商品代码",
  38616. "type": "string"
  38617. },
  38618. "goodsid": {
  38619. "description": "商品ID",
  38620. "type": "integer"
  38621. },
  38622. "goodsname": {
  38623. "description": "商品名称",
  38624. "type": "string"
  38625. },
  38626. "orderid": {
  38627. "description": "委托单号",
  38628. "type": "string"
  38629. },
  38630. "orderprice": {
  38631. "description": "委托价格",
  38632. "type": "number"
  38633. },
  38634. "ordertime": {
  38635. "description": "委托时间",
  38636. "type": "string"
  38637. },
  38638. "tradedate": {
  38639. "description": "交易日(yyyyMMdd)",
  38640. "type": "string"
  38641. }
  38642. }
  38643. },
  38644. "szdz.QuerySZDZTradePositionRsp": {
  38645. "type": "object",
  38646. "properties": {
  38647. "accountid": {
  38648. "description": "账号Id",
  38649. "type": "integer"
  38650. },
  38651. "agreeunit": {
  38652. "description": "合约单位",
  38653. "type": "number"
  38654. },
  38655. "averageprice": {
  38656. "description": "持仓均价",
  38657. "type": "number"
  38658. },
  38659. "buyorsell": {
  38660. "description": "方向 - 0:买 1:卖",
  38661. "type": "integer"
  38662. },
  38663. "closetotalqty": {
  38664. "description": "平仓总数量",
  38665. "type": "integer"
  38666. },
  38667. "curholderamount": {
  38668. "description": "当前持仓总金额",
  38669. "type": "number"
  38670. },
  38671. "curpositionqty": {
  38672. "description": "当前持仓总数量",
  38673. "type": "integer"
  38674. },
  38675. "currencyid": {
  38676. "description": "报价货币ID",
  38677. "type": "integer"
  38678. },
  38679. "curtdposition": {
  38680. "description": "期末今日头寸",
  38681. "type": "integer"
  38682. },
  38683. "decimalplace": {
  38684. "description": "报价小数位",
  38685. "type": "integer"
  38686. },
  38687. "enableqty": {
  38688. "description": "可用量",
  38689. "type": "integer"
  38690. },
  38691. "fretdposition": {
  38692. "description": "冻结今日头寸",
  38693. "type": "integer"
  38694. },
  38695. "frozenqty": {
  38696. "description": "持仓冻结数量",
  38697. "type": "integer"
  38698. },
  38699. "goodscode": {
  38700. "description": "商品代码(内部)",
  38701. "type": "string"
  38702. },
  38703. "goodsid": {
  38704. "description": "商品Id",
  38705. "type": "integer"
  38706. },
  38707. "goodsname": {
  38708. "description": "商品名称",
  38709. "type": "string"
  38710. },
  38711. "goodunit": {
  38712. "description": "报价单位",
  38713. "type": "string"
  38714. },
  38715. "goodunitid": {
  38716. "description": "报价单位ID",
  38717. "type": "integer"
  38718. },
  38719. "holderamount": {
  38720. "description": "期初持仓总金额",
  38721. "type": "number"
  38722. },
  38723. "marketid": {
  38724. "description": "市场ID",
  38725. "type": "integer"
  38726. },
  38727. "openreqqty": {
  38728. "description": "开仓申请数量",
  38729. "type": "integer"
  38730. },
  38731. "opentotalqty": {
  38732. "description": "开仓总数量",
  38733. "type": "integer"
  38734. },
  38735. "otherfrozenqty": {
  38736. "description": "持仓其他冻结数量(交割冻结)",
  38737. "type": "integer"
  38738. },
  38739. "positionqty": {
  38740. "description": "期初持仓数量",
  38741. "type": "integer"
  38742. },
  38743. "szdz3freezqty": {
  38744. "description": "尚志大宗转换冻结总数量",
  38745. "type": "integer"
  38746. },
  38747. "tnqty": {
  38748. "description": "T+N冻结总量",
  38749. "type": "integer"
  38750. },
  38751. "tnusedqty": {
  38752. "description": "T+N使用量",
  38753. "type": "integer"
  38754. },
  38755. "trademode": {
  38756. "description": "交易模式",
  38757. "type": "integer"
  38758. },
  38759. "usedmargin": {
  38760. "description": "占用保证金",
  38761. "type": "number"
  38762. }
  38763. }
  38764. },
  38765. "taaccount.QueryAmountLogRsp": {
  38766. "type": "object",
  38767. "required": [
  38768. "accountid",
  38769. "amount",
  38770. "amountadjusttype",
  38771. "autoid",
  38772. "balance",
  38773. "createtime",
  38774. "currentbalance",
  38775. "operatetype"
  38776. ],
  38777. "properties": {
  38778. "OPERATETYPENAME": {
  38779. "description": "资金操作类型名称",
  38780. "type": "string"
  38781. },
  38782. "accountid": {
  38783. "description": "资金账户ID",
  38784. "type": "integer"
  38785. },
  38786. "agoodscode": {
  38787. "description": "竞拍商品代码",
  38788. "type": "string"
  38789. },
  38790. "agoodsname": {
  38791. "description": "竞拍商品名称",
  38792. "type": "string"
  38793. },
  38794. "amount": {
  38795. "description": "资金金额",
  38796. "type": "number"
  38797. },
  38798. "amountadjusttype": {
  38799. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  38800. "type": "integer"
  38801. },
  38802. "autoid": {
  38803. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  38804. "type": "integer"
  38805. },
  38806. "balance": {
  38807. "description": "期初余额",
  38808. "type": "number"
  38809. },
  38810. "businesscode": {
  38811. "description": "业务编号",
  38812. "type": "integer"
  38813. },
  38814. "createtime": {
  38815. "description": "发生时间",
  38816. "type": "string"
  38817. },
  38818. "currencyid": {
  38819. "description": "币种ID",
  38820. "type": "integer"
  38821. },
  38822. "currentbalance": {
  38823. "description": "期末余额(变动后金额)",
  38824. "type": "number"
  38825. },
  38826. "dgoodscode": {
  38827. "description": "交割商品代码",
  38828. "type": "string"
  38829. },
  38830. "dgoodsname": {
  38831. "description": "交割商品名称",
  38832. "type": "string"
  38833. },
  38834. "goodscode": {
  38835. "description": "商品代码",
  38836. "type": "string"
  38837. },
  38838. "goodsid": {
  38839. "description": "商品ID",
  38840. "type": "integer"
  38841. },
  38842. "goodsname": {
  38843. "description": "商品名称",
  38844. "type": "string"
  38845. },
  38846. "marketid": {
  38847. "description": "市场ID",
  38848. "type": "integer"
  38849. },
  38850. "marketname": {
  38851. "description": "市场名称",
  38852. "type": "string"
  38853. },
  38854. "moneyticket": {
  38855. "description": "资金流水号:银行端流水号",
  38856. "type": "integer"
  38857. },
  38858. "operatetype": {
  38859. "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:营销收款",
  38860. "type": "integer"
  38861. },
  38862. "relationorderid": {
  38863. "description": "关联单号",
  38864. "type": "string"
  38865. },
  38866. "remark": {
  38867. "description": "备注",
  38868. "type": "string"
  38869. },
  38870. "trademode": {
  38871. "description": "交易模式",
  38872. "type": "integer"
  38873. }
  38874. }
  38875. },
  38876. "taaccount.QueryHisAmountLogRsp": {
  38877. "type": "object",
  38878. "required": [
  38879. "accountid",
  38880. "amount",
  38881. "amountadjusttype",
  38882. "autoid",
  38883. "balance",
  38884. "createtime",
  38885. "currentbalance",
  38886. "histradedate",
  38887. "operatetype"
  38888. ],
  38889. "properties": {
  38890. "OPERATETYPENAME": {
  38891. "description": "资金操作类型名称",
  38892. "type": "string"
  38893. },
  38894. "accountid": {
  38895. "description": "资金账户ID",
  38896. "type": "integer"
  38897. },
  38898. "agoodscode": {
  38899. "description": "竞拍商品代码",
  38900. "type": "string"
  38901. },
  38902. "agoodsname": {
  38903. "description": "竞拍商品名称",
  38904. "type": "string"
  38905. },
  38906. "amount": {
  38907. "description": "资金金额",
  38908. "type": "number"
  38909. },
  38910. "amountadjusttype": {
  38911. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  38912. "type": "integer"
  38913. },
  38914. "autoid": {
  38915. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  38916. "type": "integer"
  38917. },
  38918. "balance": {
  38919. "description": "期初余额",
  38920. "type": "number"
  38921. },
  38922. "businesscode": {
  38923. "description": "业务编号",
  38924. "type": "integer"
  38925. },
  38926. "createtime": {
  38927. "description": "发生时间",
  38928. "type": "string"
  38929. },
  38930. "currencyid": {
  38931. "description": "币种ID",
  38932. "type": "integer"
  38933. },
  38934. "currentbalance": {
  38935. "description": "期末余额(变动后金额)",
  38936. "type": "number"
  38937. },
  38938. "dgoodscode": {
  38939. "description": "交割商品代码",
  38940. "type": "string"
  38941. },
  38942. "dgoodsname": {
  38943. "description": "交割商品名称",
  38944. "type": "string"
  38945. },
  38946. "goodscode": {
  38947. "description": "商品代码",
  38948. "type": "string"
  38949. },
  38950. "goodsid": {
  38951. "description": "商品ID",
  38952. "type": "integer"
  38953. },
  38954. "goodsname": {
  38955. "description": "商品名称",
  38956. "type": "string"
  38957. },
  38958. "histradedate": {
  38959. "description": "历史交易日",
  38960. "type": "string"
  38961. },
  38962. "isvaliddata": {
  38963. "description": "是否有效 - 0:无效 1:有效",
  38964. "type": "integer"
  38965. },
  38966. "marketid": {
  38967. "description": "市场ID",
  38968. "type": "integer"
  38969. },
  38970. "marketname": {
  38971. "description": "市场名称",
  38972. "type": "string"
  38973. },
  38974. "moneyticket": {
  38975. "description": "资金流水号:银行端流水号",
  38976. "type": "integer"
  38977. },
  38978. "operatetype": {
  38979. "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:营销收款",
  38980. "type": "integer"
  38981. },
  38982. "relationorderid": {
  38983. "description": "关联单号",
  38984. "type": "string"
  38985. },
  38986. "remark": {
  38987. "description": "备注",
  38988. "type": "string"
  38989. },
  38990. "trademode": {
  38991. "description": "交易模式",
  38992. "type": "integer"
  38993. }
  38994. }
  38995. },
  38996. "trade.QueryRecieptOrderRsp": {
  38997. "type": "object",
  38998. "required": [
  38999. "ordertime"
  39000. ],
  39001. "properties": {
  39002. "accountName": {
  39003. "description": "所属账号名称(已脱敏)",
  39004. "type": "string"
  39005. },
  39006. "accountid": {
  39007. "description": "资金账号",
  39008. "type": "integer"
  39009. },
  39010. "buyorsell": {
  39011. "description": "方向 - 0:买 1:卖",
  39012. "type": "integer"
  39013. },
  39014. "enableqty": {
  39015. "description": "可摘数量",
  39016. "type": "integer"
  39017. },
  39018. "goodscode": {
  39019. "description": "商品代码",
  39020. "type": "string"
  39021. },
  39022. "goodsid": {
  39023. "description": "商品ID",
  39024. "type": "integer"
  39025. },
  39026. "goodsname": {
  39027. "description": "商品名称",
  39028. "type": "string"
  39029. },
  39030. "orderid": {
  39031. "description": "委托单号",
  39032. "type": "string"
  39033. },
  39034. "orderprice": {
  39035. "description": "委托价格",
  39036. "type": "number"
  39037. },
  39038. "ordertime": {
  39039. "description": "委托时间",
  39040. "type": "string"
  39041. },
  39042. "tradedate": {
  39043. "description": "交易日(yyyyMMdd)",
  39044. "type": "string"
  39045. }
  39046. }
  39047. },
  39048. "user.LoginQueryRsp": {
  39049. "type": "object",
  39050. "properties": {
  39051. "areaRoles": {
  39052. "description": "所属角色信息",
  39053. "type": "array",
  39054. "items": {
  39055. "$ref": "#/definitions/models.Arearole"
  39056. }
  39057. },
  39058. "externalExchanges": {
  39059. "description": "外部交易所",
  39060. "type": "array",
  39061. "items": {
  39062. "$ref": "#/definitions/models.Externalexchange"
  39063. }
  39064. },
  39065. "goodsgroups": {
  39066. "description": "商品组",
  39067. "type": "array",
  39068. "items": {
  39069. "$ref": "#/definitions/models.Goodsgroup"
  39070. }
  39071. },
  39072. "loginAccount": {
  39073. "description": "登录账号",
  39074. "$ref": "#/definitions/models.Loginaccount"
  39075. },
  39076. "markets": {
  39077. "description": "市场",
  39078. "type": "array",
  39079. "items": {
  39080. "$ref": "#/definitions/models.Market"
  39081. }
  39082. },
  39083. "systemParams": {
  39084. "description": "系统参数",
  39085. "type": "array",
  39086. "items": {
  39087. "$ref": "#/definitions/models.Systemparam"
  39088. }
  39089. },
  39090. "userAccount": {
  39091. "description": "用户账号",
  39092. "$ref": "#/definitions/models.Useraccount"
  39093. },
  39094. "userInfo": {
  39095. "description": "用户信息",
  39096. "$ref": "#/definitions/models.Userinfo"
  39097. },
  39098. "username": {
  39099. "description": "用户姓名",
  39100. "type": "string"
  39101. }
  39102. }
  39103. }
  39104. },
  39105. "securityDefinitions": {
  39106. "ApiKeyAuth": {
  39107. "type": "apiKey",
  39108. "name": "Authorization",
  39109. "in": "header"
  39110. }
  39111. }
  39112. }