swagger.json 1.6 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015400164001740018400194002040021400224002340024400254002640027400284002940030400314003240033400344003540036400374003840039400404004140042400434004440045400464004740048400494005040051400524005340054400554005640057400584005940060400614006240063400644006540066400674006840069400704007140072400734007440075400764007740078400794008040081400824008340084400854008640087400884008940090400914009240093400944009540096400974009840099401004010140102401034010440105401064010740108401094011040111401124011340114401154011640117401184011940120401214012240123401244012540126401274012840129401304013140132401334013440135401364013740138401394014040141401424014340144401454014640147401484014940150401514015240153401544015540156401574015840159401604016140162401634016440165401664016740168401694017040171401724017340174401754017640177401784017940180401814018240183401844018540186401874018840189401904019140192401934019440195401964019740198401994020040201402024020340204402054020640207402084020940210402114021240213402144021540216402174021840219402204022140222402234022440225402264022740228402294023040231402324023340234402354023640237402384023940240402414024240243402444024540246402474024840249402504025140252402534025440255402564025740258402594026040261402624026340264402654026640267402684026940270402714027240273402744027540276402774027840279402804028140282402834028440285402864028740288402894029040291402924029340294402954029640297402984029940300403014030240303403044030540306403074030840309403104031140312403134031440315403164031740318403194032040321403224032340324403254032640327403284032940330403314033240333403344033540336403374033840339403404034140342403434034440345403464034740348403494035040351403524035340354403554035640357403584035940360403614036240363403644036540366403674036840369403704037140372403734037440375403764037740378403794038040381403824038340384403854038640387403884038940390403914039240393403944039540396403974039840399404004040140402404034040440405404064040740408404094041040411404124041340414404154041640417404184041940420404214042240423404244042540426404274042840429404304043140432404334043440435404364043740438404394044040441404424044340444404454044640447404484044940450404514045240453404544045540456404574045840459404604046140462404634046440465404664046740468404694047040471404724047340474404754047640477404784047940480404814048240483404844048540486404874048840489404904049140492404934049440495404964049740498404994050040501405024050340504405054050640507405084050940510405114051240513405144051540516405174051840519405204052140522405234052440525405264052740528405294053040531405324053340534405354053640537405384053940540405414054240543405444054540546405474054840549405504055140552405534055440555405564055740558405594056040561405624056340564405654056640567405684056940570405714057240573405744057540576405774057840579405804058140582405834058440585405864058740588405894059040591405924059340594405954059640597405984059940600406014060240603406044060540606406074060840609406104061140612406134061440615406164061740618406194062040621406224062340624406254062640627406284062940630406314063240633406344063540636406374063840639406404064140642406434064440645406464064740648406494065040651406524065340654406554065640657406584065940660406614066240663406644066540666406674066840669406704067140672406734067440675406764067740678406794068040681406824068340684406854068640687406884068940690406914069240693406944069540696406974069840699407004070140702407034070440705407064070740708407094071040711407124071340714407154071640717407184071940720407214072240723407244072540726407274072840729407304073140732407334073440735407364073740738407394074040741407424074340744407454074640747407484074940750407514075240753407544075540756407574075840759407604076140762407634076440765407664076740768407694077040771407724077340774407754077640777407784077940780407814078240783407844078540786407874078840789407904079140792407934079440795407964079740798407994080040801408024080340804408054080640807408084080940810408114081240813408144081540816408174081840819408204082140822408234082440825408264082740828408294083040831408324083340834408354083640837408384083940840408414084240843408444084540846408474084840849408504085140852408534085440855408564085740858408594086040861408624086340864408654086640867408684086940870408714087240873408744087540876408774087840879408804088140882408834088440885408864088740888408894089040891408924089340894408954089640897408984089940900409014090240903409044090540906409074090840909409104091140912409134091440915409164091740918409194092040921409224092340924409254092640927409284092940930409314093240933409344093540936409374093840939409404094140942409434094440945409464094740948409494095040951409524095340954409554095640957409584095940960409614096240963409644096540966409674096840969409704097140972409734097440975409764097740978409794098040981409824098340984409854098640987409884098940990409914099240993409944099540996409974099840999410004100141002410034100441005410064100741008410094101041011410124101341014410154101641017410184101941020410214102241023410244102541026410274102841029410304103141032410334103441035410364103741038410394104041041410424104341044410454104641047410484104941050410514105241053410544105541056410574105841059410604106141062410634106441065410664106741068410694107041071410724107341074410754107641077410784107941080410814108241083410844108541086410874108841089410904109141092410934109441095410964109741098410994110041101411024110341104411054110641107411084110941110411114111241113411144111541116411174111841119411204112141122411234112441125411264112741128411294113041131411324113341134411354113641137411384113941140411414114241143411444114541146411474114841149411504115141152411534115441155411564115741158411594116041161411624116341164411654116641167411684116941170411714117241173411744117541176411774117841179411804118141182411834118441185411864118741188411894119041191411924119341194411954119641197411984119941200412014120241203412044120541206412074120841209412104121141212412134121441215412164121741218412194122041221412224122341224412254122641227412284122941230412314123241233412344123541236412374123841239412404124141242412434124441245412464124741248412494125041251412524125341254412554125641257412584125941260412614126241263412644126541266412674126841269412704127141272412734127441275412764127741278412794128041281412824128341284412854128641287412884128941290412914129241293412944129541296412974129841299413004130141302413034130441305413064130741308413094131041311413124131341314413154131641317413184131941320413214132241323413244132541326413274132841329413304133141332413334133441335413364133741338413394134041341413424134341344413454134641347413484134941350413514135241353413544135541356413574135841359413604136141362413634136441365413664136741368413694137041371413724137341374413754137641377413784137941380413814138241383413844138541386413874138841389413904139141392413934139441395413964139741398413994140041401414024140341404414054140641407414084140941410414114141241413414144141541416414174141841419414204142141422414234142441425414264142741428414294143041431414324143341434414354143641437414384143941440414414144241443414444144541446414474144841449414504145141452414534145441455414564145741458414594146041461414624146341464414654146641467414684146941470414714147241473414744147541476414774147841479414804148141482414834148441485414864148741488414894149041491414924149341494414954149641497414984149941500415014150241503415044150541506415074150841509415104151141512415134151441515415164151741518415194152041521415224152341524415254152641527415284152941530415314153241533415344153541536415374153841539415404154141542415434154441545415464154741548415494155041551415524155341554415554155641557415584155941560415614156241563415644156541566415674156841569415704157141572415734157441575415764157741578415794158041581415824158341584415854158641587415884158941590415914159241593415944159541596415974159841599416004160141602416034160441605416064160741608416094161041611416124161341614416154161641617416184161941620416214162241623416244162541626416274162841629416304163141632416334163441635416364163741638416394164041641416424164341644416454164641647416484164941650416514165241653416544165541656416574165841659416604166141662416634166441665416664166741668416694167041671416724167341674416754167641677416784167941680416814168241683416844168541686416874168841689416904169141692416934169441695416964169741698416994170041701417024170341704417054170641707417084170941710417114171241713417144171541716417174171841719417204172141722417234172441725417264172741728417294173041731417324173341734417354173641737417384173941740417414174241743417444174541746417474174841749417504175141752417534175441755417564175741758417594176041761417624176341764417654176641767417684176941770417714177241773417744177541776417774177841779417804178141782417834178441785417864178741788417894179041791417924179341794417954179641797417984179941800418014180241803418044180541806418074180841809418104181141812418134181441815418164181741818418194182041821418224182341824418254182641827418284182941830418314183241833418344183541836418374183841839418404184141842418434184441845418464184741848418494185041851418524185341854418554185641857418584185941860418614186241863418644186541866418674186841869418704187141872418734187441875418764187741878418794188041881418824188341884418854188641887418884188941890418914189241893418944189541896418974189841899419004190141902419034190441905419064190741908419094191041911419124191341914419154191641917419184191941920419214192241923419244192541926419274192841929419304193141932419334193441935419364193741938419394194041941419424194341944419454194641947419484194941950419514195241953419544195541956419574195841959419604196141962419634196441965419664196741968419694197041971419724197341974419754197641977419784197941980419814198241983419844198541986419874198841989419904199141992419934199441995419964199741998419994200042001420024200342004420054200642007420084200942010420114201242013420144201542016420174201842019420204202142022420234202442025420264202742028420294203042031420324203342034420354203642037420384203942040420414204242043420444204542046420474204842049420504205142052420534205442055420564205742058420594206042061420624206342064420654206642067420684206942070420714207242073420744207542076420774207842079420804208142082420834208442085420864208742088420894209042091420924209342094420954209642097420984209942100421014210242103421044210542106421074210842109421104211142112421134211442115421164211742118421194212042121421224212342124421254212642127421284212942130421314213242133421344213542136421374213842139421404214142142421434214442145421464214742148421494215042151421524215342154421554215642157421584215942160421614216242163421644216542166421674216842169421704217142172421734217442175421764217742178421794218042181421824218342184421854218642187421884218942190421914219242193421944219542196421974219842199422004220142202422034220442205422064220742208422094221042211422124221342214422154221642217422184221942220422214222242223422244222542226422274222842229422304223142232422334223442235422364223742238422394224042241422424224342244422454224642247422484224942250422514225242253422544225542256422574225842259422604226142262422634226442265422664226742268422694227042271422724227342274422754227642277422784227942280422814228242283422844228542286422874228842289422904229142292422934229442295422964229742298422994230042301423024230342304423054230642307423084230942310423114231242313423144231542316423174231842319423204232142322423234232442325423264232742328423294233042331423324233342334423354233642337423384233942340423414234242343423444234542346423474234842349423504235142352423534235442355423564235742358423594236042361423624236342364423654236642367423684236942370423714237242373423744237542376423774237842379423804238142382423834238442385423864238742388423894239042391423924239342394423954239642397423984239942400424014240242403424044240542406424074240842409424104241142412424134241442415424164241742418424194242042421424224242342424424254242642427424284242942430424314243242433424344243542436424374243842439424404244142442424434244442445424464244742448424494245042451424524245342454424554245642457424584245942460424614246242463424644246542466424674246842469424704247142472424734247442475424764247742478424794248042481424824248342484424854248642487424884248942490424914249242493424944249542496424974249842499425004250142502425034250442505425064250742508425094251042511425124251342514425154251642517425184251942520425214252242523425244252542526425274252842529425304253142532425334253442535425364253742538425394254042541425424254342544425454254642547425484254942550425514255242553425544255542556425574255842559425604256142562425634256442565425664256742568425694257042571425724257342574425754257642577425784257942580425814258242583425844258542586425874258842589425904259142592425934259442595425964259742598425994260042601426024260342604426054260642607426084260942610426114261242613426144261542616426174261842619426204262142622426234262442625426264262742628426294263042631426324263342634426354263642637426384263942640426414264242643426444264542646426474264842649426504265142652426534265442655426564265742658426594266042661426624266342664426654266642667426684266942670426714267242673426744267542676426774267842679426804268142682426834268442685426864268742688426894269042691426924269342694426954269642697426984269942700427014270242703427044270542706427074270842709427104271142712427134271442715427164271742718427194272042721427224272342724427254272642727427284272942730427314273242733427344273542736427374273842739427404274142742427434274442745427464274742748427494275042751427524275342754427554275642757427584275942760427614276242763427644276542766427674276842769427704277142772427734277442775427764277742778427794278042781427824278342784427854278642787427884278942790427914279242793427944279542796427974279842799428004280142802428034280442805428064280742808428094281042811428124281342814428154281642817428184281942820428214282242823428244282542826428274282842829428304283142832428334283442835428364283742838428394284042841428424284342844428454284642847428484284942850428514285242853428544285542856428574285842859428604286142862428634286442865428664286742868428694287042871428724287342874428754287642877428784287942880428814288242883428844288542886428874288842889428904289142892428934289442895428964289742898428994290042901429024290342904429054290642907429084290942910429114291242913429144291542916429174291842919429204292142922429234292442925429264292742928429294293042931429324293342934429354293642937429384293942940429414294242943429444294542946429474294842949429504295142952429534295442955429564295742958429594296042961429624296342964429654296642967429684296942970429714297242973429744297542976429774297842979429804298142982429834298442985429864298742988429894299042991429924299342994429954299642997429984299943000430014300243003430044300543006430074300843009430104301143012430134301443015430164301743018430194302043021430224302343024430254302643027430284302943030430314303243033430344303543036430374303843039430404304143042430434304443045430464304743048430494305043051430524305343054430554305643057430584305943060430614306243063430644306543066430674306843069430704307143072430734307443075430764307743078430794308043081430824308343084430854308643087430884308943090430914309243093430944309543096430974309843099431004310143102431034310443105431064310743108431094311043111431124311343114431154311643117431184311943120431214312243123431244312543126431274312843129431304313143132431334313443135431364313743138431394314043141431424314343144431454314643147431484314943150431514315243153431544315543156431574315843159431604316143162431634316443165431664316743168431694317043171431724317343174431754317643177431784317943180431814318243183431844318543186431874318843189431904319143192431934319443195431964319743198431994320043201432024320343204432054320643207432084320943210432114321243213432144321543216432174321843219432204322143222432234322443225432264322743228432294323043231432324323343234432354323643237432384323943240432414324243243432444324543246432474324843249432504325143252432534325443255432564325743258432594326043261432624326343264432654326643267432684326943270432714327243273432744327543276432774327843279432804328143282432834328443285432864328743288432894329043291432924329343294432954329643297432984329943300433014330243303433044330543306433074330843309433104331143312433134331443315433164331743318433194332043321433224332343324433254332643327433284332943330433314333243333433344333543336433374333843339433404334143342433434334443345433464334743348433494335043351433524335343354433554335643357433584335943360433614336243363433644336543366433674336843369433704337143372433734337443375433764337743378433794338043381433824338343384433854338643387433884338943390433914339243393433944339543396433974339843399434004340143402434034340443405434064340743408434094341043411434124341343414434154341643417434184341943420434214342243423434244342543426434274342843429434304343143432434334343443435434364343743438434394344043441434424344343444434454344643447434484344943450434514345243453434544345543456434574345843459434604346143462434634346443465434664346743468434694347043471434724347343474434754347643477434784347943480434814348243483434844348543486434874348843489434904349143492434934349443495434964349743498434994350043501435024350343504435054350643507435084350943510435114351243513435144351543516435174351843519435204352143522435234352443525435264352743528435294353043531435324353343534435354353643537435384353943540435414354243543435444354543546435474354843549435504355143552435534355443555435564355743558435594356043561435624356343564435654356643567435684356943570435714357243573435744357543576435774357843579435804358143582435834358443585435864358743588435894359043591435924359343594435954359643597435984359943600436014360243603436044360543606436074360843609436104361143612436134361443615436164361743618436194362043621436224362343624436254362643627436284362943630436314363243633436344363543636436374363843639436404364143642436434364443645436464364743648436494365043651436524365343654436554365643657436584365943660436614366243663436644366543666436674366843669436704367143672436734367443675436764367743678436794368043681436824368343684436854368643687436884368943690436914369243693436944369543696436974369843699437004370143702437034370443705437064370743708437094371043711437124371343714437154371643717437184371943720437214372243723437244372543726437274372843729437304373143732437334373443735437364373743738437394374043741437424374343744437454374643747437484374943750437514375243753437544375543756437574375843759437604376143762437634376443765437664376743768437694377043771437724377343774437754377643777437784377943780437814378243783437844378543786437874378843789437904379143792437934379443795437964379743798437994380043801438024380343804438054380643807438084380943810438114381243813438144381543816438174381843819438204382143822438234382443825438264382743828438294383043831438324383343834438354383643837438384383943840438414384243843438444384543846438474384843849438504385143852438534385443855438564385743858438594386043861438624386343864438654386643867438684386943870438714387243873438744387543876438774387843879438804388143882438834388443885438864388743888438894389043891438924389343894438954389643897438984389943900439014390243903439044390543906439074390843909439104391143912439134391443915439164391743918439194392043921439224392343924439254392643927439284392943930439314393243933439344393543936439374393843939439404394143942439434394443945439464394743948439494395043951439524395343954439554395643957439584395943960439614396243963439644396543966439674396843969439704397143972439734397443975439764397743978439794398043981439824398343984439854398643987439884398943990439914399243993439944399543996439974399843999440004400144002440034400444005440064400744008440094401044011440124401344014440154401644017440184401944020440214402244023440244402544026440274402844029440304403144032440334403444035440364403744038440394404044041440424404344044440454404644047440484404944050440514405244053440544405544056440574405844059440604406144062440634406444065440664406744068440694407044071440724407344074440754407644077440784407944080440814408244083440844408544086440874408844089440904409144092440934409444095440964409744098440994410044101441024410344104441054410644107441084410944110441114411244113441144411544116441174411844119441204412144122441234412444125441264412744128441294413044131441324413344134441354413644137441384413944140441414414244143441444414544146441474414844149441504415144152441534415444155441564415744158441594416044161441624416344164441654416644167441684416944170441714417244173441744417544176441774417844179441804418144182441834418444185441864418744188441894419044191441924419344194441954419644197441984419944200442014420244203442044420544206442074420844209442104421144212442134421444215442164421744218442194422044221442224422344224442254422644227442284422944230442314423244233442344423544236442374423844239442404424144242442434424444245442464424744248442494425044251442524425344254442554425644257442584425944260442614426244263442644426544266442674426844269442704427144272442734427444275442764427744278442794428044281442824428344284442854428644287442884428944290442914429244293442944429544296442974429844299443004430144302443034430444305443064430744308443094431044311443124431344314443154431644317443184431944320443214432244323443244432544326443274432844329443304433144332443334433444335443364433744338443394434044341443424434344344443454434644347443484434944350443514435244353443544435544356443574435844359443604436144362443634436444365443664436744368443694437044371443724437344374443754437644377443784437944380443814438244383443844438544386443874438844389443904439144392443934439444395443964439744398443994440044401444024440344404444054440644407444084440944410444114441244413444144441544416444174441844419444204442144422444234442444425444264442744428444294443044431444324443344434444354443644437444384443944440444414444244443444444444544446444474444844449444504445144452444534445444455444564445744458444594446044461444624446344464444654446644467444684446944470444714447244473444744447544476444774447844479444804448144482444834448444485444864448744488444894449044491444924449344494444954449644497444984449944500445014450244503445044450544506445074450844509445104451144512445134451444515445164451744518445194452044521445224452344524445254452644527445284452944530445314453244533445344453544536445374453844539445404454144542445434454444545445464454744548445494455044551445524455344554445554455644557445584455944560445614456244563445644456544566445674456844569445704457144572445734457444575445764457744578445794458044581445824458344584445854458644587445884458944590445914459244593445944459544596445974459844599446004460144602446034460444605446064460744608446094461044611446124461344614446154461644617446184461944620446214462244623446244462544626446274462844629446304463144632446334463444635446364463744638446394464044641446424464344644446454464644647446484464944650446514465244653446544465544656446574465844659446604466144662446634466444665446664466744668446694467044671446724467344674446754467644677446784467944680446814468244683446844468544686446874468844689446904469144692446934469444695446964469744698446994470044701447024470344704447054470644707447084470944710447114471244713447144471544716447174471844719447204472144722447234472444725447264472744728447294473044731447324473344734447354473644737447384473944740447414474244743447444474544746447474474844749447504475144752447534475444755447564475744758447594476044761447624476344764447654476644767447684476944770447714477244773447744477544776447774477844779447804478144782447834478444785447864478744788447894479044791447924479344794447954479644797447984479944800448014480244803448044480544806448074480844809448104481144812448134481444815448164481744818448194482044821448224482344824448254482644827448284482944830448314483244833448344483544836448374483844839448404484144842448434484444845448464484744848448494485044851448524485344854448554485644857448584485944860448614486244863448644486544866448674486844869448704487144872448734487444875448764487744878448794488044881448824488344884448854488644887448884488944890448914489244893448944489544896448974489844899449004490144902449034490444905449064490744908449094491044911449124491344914449154491644917449184491944920449214492244923449244492544926449274492844929449304493144932449334493444935449364493744938449394494044941449424494344944449454494644947449484494944950449514495244953449544495544956449574495844959449604496144962449634496444965449664496744968449694497044971449724497344974449754497644977449784497944980449814498244983449844498544986449874498844989449904499144992449934499444995449964499744998449994500045001450024500345004450054500645007450084500945010450114501245013450144501545016450174501845019450204502145022450234502445025450264502745028450294503045031450324503345034450354503645037450384503945040450414504245043450444504545046450474504845049450504505145052450534505445055450564505745058450594506045061450624506345064450654506645067450684506945070450714507245073450744507545076450774507845079450804508145082450834508445085450864508745088450894509045091450924509345094450954509645097450984509945100451014510245103451044510545106451074510845109451104511145112451134511445115451164511745118451194512045121451224512345124451254512645127451284512945130451314513245133451344513545136451374513845139451404514145142451434514445145451464514745148451494515045151451524515345154451554515645157451584515945160451614516245163451644516545166451674516845169451704517145172451734517445175451764517745178451794518045181451824518345184451854518645187451884518945190451914519245193451944519545196451974519845199452004520145202452034520445205452064520745208452094521045211452124521345214452154521645217452184521945220452214522245223452244522545226452274522845229452304523145232452334523445235452364523745238452394524045241452424524345244452454524645247452484524945250452514525245253452544525545256452574525845259452604526145262452634526445265452664526745268452694527045271452724527345274452754527645277452784527945280452814528245283452844528545286452874528845289452904529145292
  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/DeleteNewFuncmenu": {
  356. "delete": {
  357. "security": [
  358. {
  359. "ApiKeyAuth": []
  360. }
  361. ],
  362. "consumes": [
  363. "application/json"
  364. ],
  365. "produces": [
  366. "application/json"
  367. ],
  368. "tags": [
  369. "通用服务"
  370. ],
  371. "summary": "删除菜单表数据",
  372. "parameters": [
  373. {
  374. "description": "菜单表数据,只需要resourcecode字段即可",
  375. "name": "data",
  376. "in": "body",
  377. "required": true,
  378. "schema": {
  379. "$ref": "#/definitions/models.NewFuncmenulist"
  380. }
  381. }
  382. ],
  383. "responses": {
  384. "200": {
  385. "description": "OK",
  386. "schema": {
  387. "$ref": "#/definitions/app.Response"
  388. }
  389. },
  390. "500": {
  391. "description": "Internal Server Error",
  392. "schema": {
  393. "$ref": "#/definitions/app.Response"
  394. }
  395. }
  396. }
  397. }
  398. },
  399. "/Common/FindNewFuncmenu": {
  400. "get": {
  401. "security": [
  402. {
  403. "ApiKeyAuth": []
  404. }
  405. ],
  406. "produces": [
  407. "application/json"
  408. ],
  409. "tags": [
  410. "通用服务"
  411. ],
  412. "summary": "获取菜单表数据",
  413. "parameters": [
  414. {
  415. "type": "string",
  416. "description": "资源代码",
  417. "name": "resourcecode",
  418. "in": "query"
  419. },
  420. {
  421. "type": "string",
  422. "description": "上级资源代码",
  423. "name": "parentcode",
  424. "in": "query"
  425. },
  426. {
  427. "type": "string",
  428. "description": "资源名(Title), 模糊查询",
  429. "name": "resourcename",
  430. "in": "query"
  431. },
  432. {
  433. "type": "string",
  434. "description": "菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  435. "name": "menutype",
  436. "in": "query"
  437. }
  438. ],
  439. "responses": {
  440. "200": {
  441. "description": "OK",
  442. "schema": {
  443. "type": "array",
  444. "items": {
  445. "$ref": "#/definitions/models.NewFuncmenulist"
  446. }
  447. }
  448. },
  449. "500": {
  450. "description": "Internal Server Error",
  451. "schema": {
  452. "$ref": "#/definitions/app.Response"
  453. }
  454. }
  455. }
  456. }
  457. },
  458. "/Common/GetAllEnums": {
  459. "get": {
  460. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  461. "produces": [
  462. "application/json"
  463. ],
  464. "tags": [
  465. "通用服务"
  466. ],
  467. "summary": "获取所有枚举信息",
  468. "parameters": [
  469. {
  470. "type": "integer",
  471. "description": "起始自增ID",
  472. "name": "autoid",
  473. "in": "query"
  474. }
  475. ],
  476. "responses": {
  477. "200": {
  478. "description": "OK",
  479. "schema": {
  480. "$ref": "#/definitions/models.Enumdicitem"
  481. }
  482. },
  483. "500": {
  484. "description": "Internal Server Error",
  485. "schema": {
  486. "$ref": "#/definitions/app.Response"
  487. }
  488. }
  489. }
  490. }
  491. },
  492. "/Common/GetClientMenus": {
  493. "get": {
  494. "security": [
  495. {
  496. "ApiKeyAuth": []
  497. }
  498. ],
  499. "produces": [
  500. "application/json"
  501. ],
  502. "tags": [
  503. "通用服务"
  504. ],
  505. "summary": "获取交易端菜单",
  506. "parameters": [
  507. {
  508. "type": "integer",
  509. "description": "登录账号",
  510. "name": "loginID",
  511. "in": "query",
  512. "required": true
  513. },
  514. {
  515. "type": "integer",
  516. "description": "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据",
  517. "name": "clientType",
  518. "in": "query"
  519. },
  520. {
  521. "type": "string",
  522. "description": "分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台",
  523. "name": "name",
  524. "in": "query"
  525. }
  526. ],
  527. "responses": {
  528. "200": {
  529. "description": "OK",
  530. "schema": {
  531. "type": "array",
  532. "items": {
  533. "$ref": "#/definitions/common.ClientMenu"
  534. }
  535. }
  536. },
  537. "500": {
  538. "description": "Internal Server Error",
  539. "schema": {
  540. "$ref": "#/definitions/app.Response"
  541. }
  542. }
  543. }
  544. }
  545. },
  546. "/Common/GetClientNewFuncmenu": {
  547. "get": {
  548. "security": [
  549. {
  550. "ApiKeyAuth": []
  551. }
  552. ],
  553. "produces": [
  554. "application/json"
  555. ],
  556. "tags": [
  557. "通用服务"
  558. ],
  559. "summary": "获取终端菜单",
  560. "parameters": [
  561. {
  562. "type": "integer",
  563. "description": "登录账号",
  564. "name": "loginid",
  565. "in": "query",
  566. "required": true
  567. }
  568. ],
  569. "responses": {
  570. "200": {
  571. "description": "OK",
  572. "schema": {
  573. "type": "array",
  574. "items": {
  575. "$ref": "#/definitions/models.NewFuncmenulist"
  576. }
  577. }
  578. },
  579. "500": {
  580. "description": "Internal Server Error",
  581. "schema": {
  582. "$ref": "#/definitions/app.Response"
  583. }
  584. }
  585. }
  586. }
  587. },
  588. "/Common/GetDivisions": {
  589. "get": {
  590. "produces": [
  591. "application/json"
  592. ],
  593. "tags": [
  594. "通用服务"
  595. ],
  596. "summary": "查询区域信息",
  597. "responses": {
  598. "200": {
  599. "description": "OK",
  600. "schema": {
  601. "$ref": "#/definitions/models.Division"
  602. }
  603. },
  604. "500": {
  605. "description": "Internal Server Error",
  606. "schema": {
  607. "$ref": "#/definitions/app.Response"
  608. }
  609. }
  610. }
  611. }
  612. },
  613. "/Common/GetPCWebMenus": {
  614. "get": {
  615. "security": [
  616. {
  617. "ApiKeyAuth": []
  618. }
  619. ],
  620. "produces": [
  621. "application/json"
  622. ],
  623. "tags": [
  624. "通用服务"
  625. ],
  626. "summary": "获取PCWeb交易端菜单",
  627. "parameters": [
  628. {
  629. "type": "integer",
  630. "description": "登录账号",
  631. "name": "loginID",
  632. "in": "query",
  633. "required": true
  634. },
  635. {
  636. "type": "string",
  637. "description": "分支名称,ermcp:风管云平台,不传默认返回ermcp",
  638. "name": "name",
  639. "in": "query"
  640. }
  641. ],
  642. "responses": {
  643. "200": {
  644. "description": "OK",
  645. "schema": {
  646. "type": "array",
  647. "items": {
  648. "$ref": "#/definitions/common.PCWebMenu"
  649. }
  650. }
  651. },
  652. "500": {
  653. "description": "Internal Server Error",
  654. "schema": {
  655. "$ref": "#/definitions/app.Response"
  656. }
  657. }
  658. }
  659. }
  660. },
  661. "/Common/GetServerTime": {
  662. "get": {
  663. "produces": [
  664. "application/json"
  665. ],
  666. "tags": [
  667. "通用服务"
  668. ],
  669. "summary": "获取服务器时间",
  670. "responses": {
  671. "200": {
  672. "description": "OK",
  673. "schema": {
  674. "$ref": "#/definitions/app.Response"
  675. }
  676. },
  677. "500": {
  678. "description": "Internal Server Error",
  679. "schema": {
  680. "$ref": "#/definitions/app.Response"
  681. }
  682. }
  683. }
  684. }
  685. },
  686. "/Common/InsertNewFuncmenu": {
  687. "post": {
  688. "security": [
  689. {
  690. "ApiKeyAuth": []
  691. }
  692. ],
  693. "consumes": [
  694. "application/json"
  695. ],
  696. "produces": [
  697. "application/json"
  698. ],
  699. "tags": [
  700. "通用服务"
  701. ],
  702. "summary": "插入菜单表数据",
  703. "parameters": [
  704. {
  705. "description": "菜单表数据",
  706. "name": "data",
  707. "in": "body",
  708. "required": true,
  709. "schema": {
  710. "$ref": "#/definitions/models.NewFuncmenulist"
  711. }
  712. }
  713. ],
  714. "responses": {
  715. "200": {
  716. "description": "OK",
  717. "schema": {
  718. "$ref": "#/definitions/app.Response"
  719. }
  720. },
  721. "500": {
  722. "description": "Internal Server Error",
  723. "schema": {
  724. "$ref": "#/definitions/app.Response"
  725. }
  726. }
  727. }
  728. }
  729. },
  730. "/Common/NoticeReaded": {
  731. "post": {
  732. "security": [
  733. {
  734. "ApiKeyAuth": []
  735. }
  736. ],
  737. "produces": [
  738. "application/json"
  739. ],
  740. "tags": [
  741. "通用服务"
  742. ],
  743. "summary": "通知公告设置已读请求",
  744. "parameters": [
  745. {
  746. "type": "integer",
  747. "description": "登录账号",
  748. "name": "loginID",
  749. "in": "query",
  750. "required": true
  751. },
  752. {
  753. "type": "integer",
  754. "description": "通知公告ID",
  755. "name": "noticeID",
  756. "in": "query",
  757. "required": true
  758. }
  759. ],
  760. "responses": {
  761. "200": {
  762. "description": "OK",
  763. "schema": {
  764. "$ref": "#/definitions/app.Response"
  765. }
  766. },
  767. "500": {
  768. "description": "Internal Server Error",
  769. "schema": {
  770. "$ref": "#/definitions/app.Response"
  771. }
  772. }
  773. }
  774. }
  775. },
  776. "/Common/QueryErrorInfos": {
  777. "get": {
  778. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  779. "produces": [
  780. "application/json"
  781. ],
  782. "tags": [
  783. "通用服务"
  784. ],
  785. "summary": "获取数据库错误信息",
  786. "parameters": [
  787. {
  788. "type": "string",
  789. "description": "起始行号前索引",
  790. "name": "rowNumber",
  791. "in": "query"
  792. }
  793. ],
  794. "responses": {
  795. "200": {
  796. "description": "OK",
  797. "schema": {
  798. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  799. }
  800. },
  801. "500": {
  802. "description": "Internal Server Error",
  803. "schema": {
  804. "$ref": "#/definitions/app.Response"
  805. }
  806. }
  807. }
  808. }
  809. },
  810. "/Common/QueryImageConfigs": {
  811. "get": {
  812. "produces": [
  813. "application/json"
  814. ],
  815. "tags": [
  816. "通用服务"
  817. ],
  818. "summary": "查询轮播图配置信息",
  819. "parameters": [
  820. {
  821. "type": "integer",
  822. "description": "用户id",
  823. "name": "userId",
  824. "in": "query"
  825. },
  826. {
  827. "type": "integer",
  828. "description": "类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)",
  829. "name": "imageType",
  830. "in": "query"
  831. }
  832. ],
  833. "responses": {
  834. "200": {
  835. "description": "OK",
  836. "schema": {
  837. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  838. }
  839. },
  840. "500": {
  841. "description": "Internal Server Error",
  842. "schema": {
  843. "$ref": "#/definitions/app.Response"
  844. }
  845. }
  846. }
  847. }
  848. },
  849. "/Common/QueryNotice": {
  850. "get": {
  851. "security": [
  852. {
  853. "ApiKeyAuth": []
  854. }
  855. ],
  856. "produces": [
  857. "application/json"
  858. ],
  859. "tags": [
  860. "通用服务"
  861. ],
  862. "summary": "通知公告系统消息查询",
  863. "parameters": [
  864. {
  865. "type": "integer",
  866. "description": "页码",
  867. "name": "page",
  868. "in": "query"
  869. },
  870. {
  871. "type": "integer",
  872. "description": "每页条数",
  873. "name": "pagesize",
  874. "in": "query"
  875. },
  876. {
  877. "type": "integer",
  878. "description": "登录账号",
  879. "name": "loginID",
  880. "in": "query",
  881. "required": true
  882. },
  883. {
  884. "type": "integer",
  885. "description": "消息类型 - 1:公告通知 2:系统消息",
  886. "name": "msgType",
  887. "in": "query"
  888. },
  889. {
  890. "type": "boolean",
  891. "description": "是否只获取未读信息",
  892. "name": "onlyUnRead",
  893. "in": "query"
  894. },
  895. {
  896. "type": "integer",
  897. "description": "自增ID,传入后会返回这个ID后面的记录",
  898. "name": "lastID",
  899. "in": "query"
  900. }
  901. ],
  902. "responses": {
  903. "200": {
  904. "description": "OK",
  905. "schema": {
  906. "$ref": "#/definitions/common.QueryNoticeRsp"
  907. }
  908. },
  909. "500": {
  910. "description": "Internal Server Error",
  911. "schema": {
  912. "$ref": "#/definitions/app.Response"
  913. }
  914. }
  915. }
  916. }
  917. },
  918. "/Common/QueryProvincesAndCities": {
  919. "get": {
  920. "produces": [
  921. "application/json"
  922. ],
  923. "tags": [
  924. "通用服务"
  925. ],
  926. "summary": "查询省市信息(不包括区)",
  927. "parameters": [
  928. {
  929. "type": "integer",
  930. "description": "省ID",
  931. "name": "provinceID",
  932. "in": "query"
  933. }
  934. ],
  935. "responses": {
  936. "200": {
  937. "description": "OK",
  938. "schema": {
  939. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  940. }
  941. },
  942. "500": {
  943. "description": "Internal Server Error",
  944. "schema": {
  945. "$ref": "#/definitions/app.Response"
  946. }
  947. }
  948. }
  949. }
  950. },
  951. "/Common/QueryTableDefine": {
  952. "get": {
  953. "produces": [
  954. "application/json"
  955. ],
  956. "tags": [
  957. "通用服务"
  958. ],
  959. "summary": "查询交易端列表头信息",
  960. "parameters": [
  961. {
  962. "type": "string",
  963. "description": "表key",
  964. "name": "tableKey",
  965. "in": "query"
  966. },
  967. {
  968. "type": "integer",
  969. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  970. "name": "tableType",
  971. "in": "query"
  972. }
  973. ],
  974. "responses": {
  975. "200": {
  976. "description": "OK",
  977. "schema": {
  978. "$ref": "#/definitions/common.QueryTableDefineRsp"
  979. }
  980. },
  981. "500": {
  982. "description": "Internal Server Error",
  983. "schema": {
  984. "$ref": "#/definitions/app.Response"
  985. }
  986. }
  987. }
  988. }
  989. },
  990. "/Common/QueryTraderMenu": {
  991. "get": {
  992. "produces": [
  993. "application/json"
  994. ],
  995. "tags": [
  996. "通用服务"
  997. ],
  998. "summary": "查询交易端菜单",
  999. "parameters": [
  1000. {
  1001. "type": "integer",
  1002. "description": "登录账号",
  1003. "name": "loginid",
  1004. "in": "query",
  1005. "required": true
  1006. }
  1007. ],
  1008. "responses": {
  1009. "200": {
  1010. "description": "OK",
  1011. "schema": {
  1012. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  1013. }
  1014. },
  1015. "500": {
  1016. "description": "Internal Server Error",
  1017. "schema": {
  1018. "$ref": "#/definitions/app.Response"
  1019. }
  1020. }
  1021. }
  1022. }
  1023. },
  1024. "/Common/UpdateNewFuncmenu": {
  1025. "put": {
  1026. "security": [
  1027. {
  1028. "ApiKeyAuth": []
  1029. }
  1030. ],
  1031. "consumes": [
  1032. "application/json"
  1033. ],
  1034. "produces": [
  1035. "application/json"
  1036. ],
  1037. "tags": [
  1038. "通用服务"
  1039. ],
  1040. "summary": "更新菜单表数据",
  1041. "parameters": [
  1042. {
  1043. "description": "菜单表数据",
  1044. "name": "data",
  1045. "in": "body",
  1046. "required": true,
  1047. "schema": {
  1048. "$ref": "#/definitions/models.NewFuncmenulist"
  1049. }
  1050. }
  1051. ],
  1052. "responses": {
  1053. "200": {
  1054. "description": "OK",
  1055. "schema": {
  1056. "$ref": "#/definitions/app.Response"
  1057. }
  1058. },
  1059. "500": {
  1060. "description": "Internal Server Error",
  1061. "schema": {
  1062. "$ref": "#/definitions/app.Response"
  1063. }
  1064. }
  1065. }
  1066. }
  1067. },
  1068. "/Delivery/QueryDeliveryRelation": {
  1069. "get": {
  1070. "security": [
  1071. {
  1072. "ApiKeyAuth": []
  1073. }
  1074. ],
  1075. "produces": [
  1076. "application/json"
  1077. ],
  1078. "tags": [
  1079. "交割服务"
  1080. ],
  1081. "summary": "查询商品交割关系表",
  1082. "parameters": [
  1083. {
  1084. "type": "integer",
  1085. "description": "商品ID",
  1086. "name": "goodsid",
  1087. "in": "query"
  1088. },
  1089. {
  1090. "type": "integer",
  1091. "description": "品种ID",
  1092. "name": "deliverygoodsid",
  1093. "in": "query"
  1094. },
  1095. {
  1096. "type": "integer",
  1097. "description": "市场ID",
  1098. "name": "marketid",
  1099. "in": "query"
  1100. }
  1101. ],
  1102. "responses": {
  1103. "200": {
  1104. "description": "OK",
  1105. "schema": {
  1106. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  1107. }
  1108. },
  1109. "500": {
  1110. "description": "Internal Server Error",
  1111. "schema": {
  1112. "$ref": "#/definitions/app.Response"
  1113. }
  1114. }
  1115. }
  1116. }
  1117. },
  1118. "/Ermcp/GetErmcpGoods": {
  1119. "get": {
  1120. "security": [
  1121. {
  1122. "ApiKeyAuth": []
  1123. }
  1124. ],
  1125. "produces": [
  1126. "application/json"
  1127. ],
  1128. "tags": [
  1129. "企业风险管理(app)"
  1130. ],
  1131. "summary": "查询企业风管期货商品信息",
  1132. "parameters": [
  1133. {
  1134. "type": "integer",
  1135. "description": "用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)",
  1136. "name": "userid",
  1137. "in": "query"
  1138. },
  1139. {
  1140. "type": "string",
  1141. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  1142. "name": "lastUpdateTime",
  1143. "in": "query"
  1144. }
  1145. ],
  1146. "responses": {
  1147. "200": {
  1148. "description": "OK",
  1149. "schema": {
  1150. "$ref": "#/definitions/models.ErmcpGoods"
  1151. }
  1152. },
  1153. "500": {
  1154. "description": "Internal Server Error",
  1155. "schema": {
  1156. "$ref": "#/definitions/app.Response"
  1157. }
  1158. }
  1159. }
  1160. }
  1161. },
  1162. "/Ermcp/GetErmcpGoodsSortByPosition": {
  1163. "get": {
  1164. "security": [
  1165. {
  1166. "ApiKeyAuth": []
  1167. }
  1168. ],
  1169. "produces": [
  1170. "application/json"
  1171. ],
  1172. "tags": [
  1173. "企业风险管理(app)"
  1174. ],
  1175. "summary": "查询企业风管期货主力、次主力商品信息",
  1176. "parameters": [
  1177. {
  1178. "type": "string",
  1179. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  1180. "name": "sortIndex",
  1181. "in": "query"
  1182. }
  1183. ],
  1184. "responses": {
  1185. "200": {
  1186. "description": "OK",
  1187. "schema": {
  1188. "$ref": "#/definitions/models.Goodssortbypreposition"
  1189. }
  1190. },
  1191. "500": {
  1192. "description": "Internal Server Error",
  1193. "schema": {
  1194. "$ref": "#/definitions/app.Response"
  1195. }
  1196. }
  1197. }
  1198. }
  1199. },
  1200. "/Ermcp/GetErmcpOutAccountStatus": {
  1201. "get": {
  1202. "security": [
  1203. {
  1204. "ApiKeyAuth": []
  1205. }
  1206. ],
  1207. "produces": [
  1208. "application/json"
  1209. ],
  1210. "tags": [
  1211. "企业风险管理(app)"
  1212. ],
  1213. "summary": "获取目标登录账号当前对冲账号在线状态",
  1214. "parameters": [
  1215. {
  1216. "type": "integer",
  1217. "description": "登录账号",
  1218. "name": "loginID",
  1219. "in": "query",
  1220. "required": true
  1221. }
  1222. ],
  1223. "responses": {
  1224. "200": {
  1225. "description": "OK",
  1226. "schema": {
  1227. "$ref": "#/definitions/models.Hedgemarketopenlog"
  1228. }
  1229. },
  1230. "500": {
  1231. "description": "Internal Server Error",
  1232. "schema": {
  1233. "$ref": "#/definitions/app.Response"
  1234. }
  1235. }
  1236. }
  1237. }
  1238. },
  1239. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  1240. "get": {
  1241. "security": [
  1242. {
  1243. "ApiKeyAuth": []
  1244. }
  1245. ],
  1246. "produces": [
  1247. "application/json"
  1248. ],
  1249. "tags": [
  1250. "企业风险管理(app)"
  1251. ],
  1252. "summary": "获取企业风管终端权限",
  1253. "parameters": [
  1254. {
  1255. "type": "integer",
  1256. "description": "登录账号",
  1257. "name": "loginID",
  1258. "in": "query",
  1259. "required": true
  1260. }
  1261. ],
  1262. "responses": {
  1263. "200": {
  1264. "description": "OK",
  1265. "schema": {
  1266. "$ref": "#/definitions/models.Funcmenulist"
  1267. }
  1268. },
  1269. "500": {
  1270. "description": "Internal Server Error",
  1271. "schema": {
  1272. "$ref": "#/definitions/app.Response"
  1273. }
  1274. }
  1275. }
  1276. }
  1277. },
  1278. "/Ermcp/QueryAccMgrBizGroupSet": {
  1279. "get": {
  1280. "security": [
  1281. {
  1282. "ApiKeyAuth": []
  1283. }
  1284. ],
  1285. "produces": [
  1286. "application/json"
  1287. ],
  1288. "tags": [
  1289. "企业风险管理(app)"
  1290. ],
  1291. "summary": "查询业务类型分组(账户管理/账户设置)",
  1292. "parameters": [
  1293. {
  1294. "type": "integer",
  1295. "description": "用户ID",
  1296. "name": "userid",
  1297. "in": "query",
  1298. "required": true
  1299. },
  1300. {
  1301. "type": "integer",
  1302. "description": "现货商品id",
  1303. "name": "deliverygoodsid",
  1304. "in": "query"
  1305. }
  1306. ],
  1307. "responses": {
  1308. "200": {
  1309. "description": "OK",
  1310. "schema": {
  1311. "type": "array",
  1312. "items": {
  1313. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1314. }
  1315. }
  1316. },
  1317. "500": {
  1318. "description": "Internal Server Error",
  1319. "schema": {
  1320. "$ref": "#/definitions/app.Response"
  1321. }
  1322. }
  1323. }
  1324. }
  1325. },
  1326. "/Ermcp/QueryAccMgrLoginUser": {
  1327. "get": {
  1328. "security": [
  1329. {
  1330. "ApiKeyAuth": []
  1331. }
  1332. ],
  1333. "produces": [
  1334. "application/json"
  1335. ],
  1336. "tags": [
  1337. "企业风险管理(app)"
  1338. ],
  1339. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1340. "parameters": [
  1341. {
  1342. "type": "integer",
  1343. "description": "用户ID",
  1344. "name": "userid",
  1345. "in": "query",
  1346. "required": true
  1347. },
  1348. {
  1349. "type": "integer",
  1350. "description": "用户类型 2-机构 7-企业成员",
  1351. "name": "usertype",
  1352. "in": "query"
  1353. },
  1354. {
  1355. "type": "integer",
  1356. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1357. "name": "querytype",
  1358. "in": "query",
  1359. "required": true
  1360. }
  1361. ],
  1362. "responses": {
  1363. "200": {
  1364. "description": "OK",
  1365. "schema": {
  1366. "type": "array",
  1367. "items": {
  1368. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1369. }
  1370. }
  1371. },
  1372. "500": {
  1373. "description": "Internal Server Error",
  1374. "schema": {
  1375. "$ref": "#/definitions/app.Response"
  1376. }
  1377. }
  1378. }
  1379. }
  1380. },
  1381. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1382. "get": {
  1383. "security": [
  1384. {
  1385. "ApiKeyAuth": []
  1386. }
  1387. ],
  1388. "produces": [
  1389. "application/json"
  1390. ],
  1391. "tags": [
  1392. "企业风险管理(app)"
  1393. ],
  1394. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1395. "parameters": [
  1396. {
  1397. "type": "integer",
  1398. "description": "用户ID",
  1399. "name": "userid",
  1400. "in": "query"
  1401. },
  1402. {
  1403. "type": "integer",
  1404. "description": "主账号id",
  1405. "name": "accountid",
  1406. "in": "query"
  1407. }
  1408. ],
  1409. "responses": {
  1410. "200": {
  1411. "description": "OK",
  1412. "schema": {
  1413. "type": "array",
  1414. "items": {
  1415. "$ref": "#/definitions/models.MainAccountInfo"
  1416. }
  1417. }
  1418. },
  1419. "500": {
  1420. "description": "Internal Server Error",
  1421. "schema": {
  1422. "$ref": "#/definitions/app.Response"
  1423. }
  1424. }
  1425. }
  1426. }
  1427. },
  1428. "/Ermcp/QueryAccMgrRole": {
  1429. "get": {
  1430. "security": [
  1431. {
  1432. "ApiKeyAuth": []
  1433. }
  1434. ],
  1435. "produces": [
  1436. "application/json"
  1437. ],
  1438. "tags": [
  1439. "企业风险管理(app)"
  1440. ],
  1441. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1442. "parameters": [
  1443. {
  1444. "type": "integer",
  1445. "description": "用户ID",
  1446. "name": "userid",
  1447. "in": "query",
  1448. "required": true
  1449. }
  1450. ],
  1451. "responses": {
  1452. "200": {
  1453. "description": "OK",
  1454. "schema": {
  1455. "type": "array",
  1456. "items": {
  1457. "$ref": "#/definitions/models.ErmcpRole"
  1458. }
  1459. }
  1460. },
  1461. "500": {
  1462. "description": "Internal Server Error",
  1463. "schema": {
  1464. "$ref": "#/definitions/app.Response"
  1465. }
  1466. }
  1467. }
  1468. }
  1469. },
  1470. "/Ermcp/QueryAccMgrRoleMenu": {
  1471. "get": {
  1472. "security": [
  1473. {
  1474. "ApiKeyAuth": []
  1475. }
  1476. ],
  1477. "produces": [
  1478. "application/json"
  1479. ],
  1480. "tags": [
  1481. "企业风险管理(app)"
  1482. ],
  1483. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1484. "parameters": [
  1485. {
  1486. "type": "integer",
  1487. "description": "用户ID",
  1488. "name": "userid",
  1489. "in": "query",
  1490. "required": true
  1491. },
  1492. {
  1493. "type": "string",
  1494. "description": "角色id(可多个,逗号隔开)",
  1495. "name": "roleid",
  1496. "in": "query"
  1497. },
  1498. {
  1499. "type": "integer",
  1500. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1501. "name": "menutype",
  1502. "in": "query"
  1503. }
  1504. ],
  1505. "responses": {
  1506. "200": {
  1507. "description": "OK",
  1508. "schema": {
  1509. "type": "array",
  1510. "items": {
  1511. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1512. }
  1513. }
  1514. },
  1515. "500": {
  1516. "description": "Internal Server Error",
  1517. "schema": {
  1518. "$ref": "#/definitions/app.Response"
  1519. }
  1520. }
  1521. }
  1522. }
  1523. },
  1524. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1525. "get": {
  1526. "security": [
  1527. {
  1528. "ApiKeyAuth": []
  1529. }
  1530. ],
  1531. "produces": [
  1532. "application/json"
  1533. ],
  1534. "tags": [
  1535. "企业风险管理(app)"
  1536. ],
  1537. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1538. "parameters": [
  1539. {
  1540. "type": "integer",
  1541. "description": "用户ID",
  1542. "name": "userid",
  1543. "in": "query",
  1544. "required": true
  1545. },
  1546. {
  1547. "type": "integer",
  1548. "description": "账号id",
  1549. "name": "accountid",
  1550. "in": "query"
  1551. }
  1552. ],
  1553. "responses": {
  1554. "200": {
  1555. "description": "OK",
  1556. "schema": {
  1557. "type": "array",
  1558. "items": {
  1559. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1560. }
  1561. }
  1562. },
  1563. "500": {
  1564. "description": "Internal Server Error",
  1565. "schema": {
  1566. "$ref": "#/definitions/app.Response"
  1567. }
  1568. }
  1569. }
  1570. }
  1571. },
  1572. "/Ermcp/QueryAccMgrTaaccount": {
  1573. "get": {
  1574. "security": [
  1575. {
  1576. "ApiKeyAuth": []
  1577. }
  1578. ],
  1579. "produces": [
  1580. "application/json"
  1581. ],
  1582. "tags": [
  1583. "企业风险管理(app)"
  1584. ],
  1585. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1586. "parameters": [
  1587. {
  1588. "type": "integer",
  1589. "description": "用户ID",
  1590. "name": "userid",
  1591. "in": "query",
  1592. "required": true
  1593. }
  1594. ],
  1595. "responses": {
  1596. "200": {
  1597. "description": "OK",
  1598. "schema": {
  1599. "type": "array",
  1600. "items": {
  1601. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1602. }
  1603. }
  1604. },
  1605. "500": {
  1606. "description": "Internal Server Error",
  1607. "schema": {
  1608. "$ref": "#/definitions/app.Response"
  1609. }
  1610. }
  1611. }
  1612. }
  1613. },
  1614. "/Ermcp/QueryAvaildGoodsGroup": {
  1615. "get": {
  1616. "security": [
  1617. {
  1618. "ApiKeyAuth": []
  1619. }
  1620. ],
  1621. "produces": [
  1622. "application/json"
  1623. ],
  1624. "tags": [
  1625. "企业风险管理(app)"
  1626. ],
  1627. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1628. "parameters": [
  1629. {
  1630. "type": "integer",
  1631. "description": "所属机构ID",
  1632. "name": "userid",
  1633. "in": "query",
  1634. "required": true
  1635. }
  1636. ],
  1637. "responses": {
  1638. "200": {
  1639. "description": "OK",
  1640. "schema": {
  1641. "type": "array",
  1642. "items": {
  1643. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1644. }
  1645. }
  1646. },
  1647. "500": {
  1648. "description": "Internal Server Error",
  1649. "schema": {
  1650. "$ref": "#/definitions/app.Response"
  1651. }
  1652. }
  1653. }
  1654. }
  1655. },
  1656. "/Ermcp/QueryBusinessDj": {
  1657. "get": {
  1658. "security": [
  1659. {
  1660. "ApiKeyAuth": []
  1661. }
  1662. ],
  1663. "produces": [
  1664. "application/json"
  1665. ],
  1666. "tags": [
  1667. "企业风险管理(app)"
  1668. ],
  1669. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1670. "parameters": [
  1671. {
  1672. "type": "integer",
  1673. "description": "用户ID",
  1674. "name": "UserId",
  1675. "in": "query",
  1676. "required": true
  1677. },
  1678. {
  1679. "type": "integer",
  1680. "description": "用户类型 2-机构 7-企业成员",
  1681. "name": "usertype",
  1682. "in": "query"
  1683. },
  1684. {
  1685. "type": "string",
  1686. "description": "现货合同ID, 不填则查所有",
  1687. "name": "relatedid",
  1688. "in": "query"
  1689. },
  1690. {
  1691. "type": "string",
  1692. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1693. "name": "applystatus",
  1694. "in": "query"
  1695. }
  1696. ],
  1697. "responses": {
  1698. "200": {
  1699. "description": "OK",
  1700. "schema": {
  1701. "type": "array",
  1702. "items": {
  1703. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1704. }
  1705. }
  1706. },
  1707. "500": {
  1708. "description": "Internal Server Error",
  1709. "schema": {
  1710. "$ref": "#/definitions/app.Response"
  1711. }
  1712. }
  1713. }
  1714. }
  1715. },
  1716. "/Ermcp/QueryBusinessFp": {
  1717. "get": {
  1718. "security": [
  1719. {
  1720. "ApiKeyAuth": []
  1721. }
  1722. ],
  1723. "produces": [
  1724. "application/json"
  1725. ],
  1726. "tags": [
  1727. "企业风险管理(app)"
  1728. ],
  1729. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1730. "parameters": [
  1731. {
  1732. "type": "integer",
  1733. "description": "用户ID",
  1734. "name": "UserId",
  1735. "in": "query",
  1736. "required": true
  1737. },
  1738. {
  1739. "type": "integer",
  1740. "description": "用户类型 2-机构 7-企业成员",
  1741. "name": "usertype",
  1742. "in": "query"
  1743. },
  1744. {
  1745. "type": "string",
  1746. "description": "现货合同ID, 不填则查所有",
  1747. "name": "relatedid",
  1748. "in": "query"
  1749. },
  1750. {
  1751. "type": "string",
  1752. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1753. "name": "applystatus",
  1754. "in": "query"
  1755. }
  1756. ],
  1757. "responses": {
  1758. "200": {
  1759. "description": "OK",
  1760. "schema": {
  1761. "type": "array",
  1762. "items": {
  1763. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1764. }
  1765. }
  1766. },
  1767. "500": {
  1768. "description": "Internal Server Error",
  1769. "schema": {
  1770. "$ref": "#/definitions/app.Response"
  1771. }
  1772. }
  1773. }
  1774. }
  1775. },
  1776. "/Ermcp/QueryBusinessJs": {
  1777. "get": {
  1778. "security": [
  1779. {
  1780. "ApiKeyAuth": []
  1781. }
  1782. ],
  1783. "produces": [
  1784. "application/json"
  1785. ],
  1786. "tags": [
  1787. "企业风险管理(app)"
  1788. ],
  1789. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1790. "parameters": [
  1791. {
  1792. "type": "integer",
  1793. "description": "用户ID",
  1794. "name": "UserId",
  1795. "in": "query",
  1796. "required": true
  1797. },
  1798. {
  1799. "type": "integer",
  1800. "description": "用户类型 2-机构 7-企业成员",
  1801. "name": "usertype",
  1802. "in": "query"
  1803. },
  1804. {
  1805. "type": "string",
  1806. "description": "现货合同ID, 不填则查所有",
  1807. "name": "relatedid",
  1808. "in": "query"
  1809. },
  1810. {
  1811. "type": "string",
  1812. "description": "操作申请id",
  1813. "name": "operateapplyid",
  1814. "in": "query"
  1815. },
  1816. {
  1817. "type": "string",
  1818. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1819. "name": "applystatus",
  1820. "in": "query"
  1821. }
  1822. ],
  1823. "responses": {
  1824. "200": {
  1825. "description": "OK",
  1826. "schema": {
  1827. "type": "array",
  1828. "items": {
  1829. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1830. }
  1831. }
  1832. },
  1833. "500": {
  1834. "description": "Internal Server Error",
  1835. "schema": {
  1836. "$ref": "#/definitions/app.Response"
  1837. }
  1838. }
  1839. }
  1840. }
  1841. },
  1842. "/Ermcp/QueryBusinessJsEx": {
  1843. "get": {
  1844. "security": [
  1845. {
  1846. "ApiKeyAuth": []
  1847. }
  1848. ],
  1849. "produces": [
  1850. "application/json"
  1851. ],
  1852. "tags": [
  1853. "企业风险管理(app)"
  1854. ],
  1855. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1856. "parameters": [
  1857. {
  1858. "type": "integer",
  1859. "description": "用户ID",
  1860. "name": "UserId",
  1861. "in": "query",
  1862. "required": true
  1863. },
  1864. {
  1865. "type": "integer",
  1866. "description": "用户类型 2-机构 7-企业成员",
  1867. "name": "usertype",
  1868. "in": "query"
  1869. },
  1870. {
  1871. "type": "string",
  1872. "description": "现货合同ID, 不填则查所有",
  1873. "name": "relatedid",
  1874. "in": "query"
  1875. },
  1876. {
  1877. "type": "string",
  1878. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1879. "name": "applystatus",
  1880. "in": "query"
  1881. }
  1882. ],
  1883. "responses": {
  1884. "200": {
  1885. "description": "OK",
  1886. "schema": {
  1887. "type": "array",
  1888. "items": {
  1889. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1890. }
  1891. }
  1892. },
  1893. "500": {
  1894. "description": "Internal Server Error",
  1895. "schema": {
  1896. "$ref": "#/definitions/app.Response"
  1897. }
  1898. }
  1899. }
  1900. }
  1901. },
  1902. "/Ermcp/QueryBusinessKx": {
  1903. "get": {
  1904. "security": [
  1905. {
  1906. "ApiKeyAuth": []
  1907. }
  1908. ],
  1909. "produces": [
  1910. "application/json"
  1911. ],
  1912. "tags": [
  1913. "企业风险管理(app)"
  1914. ],
  1915. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1916. "parameters": [
  1917. {
  1918. "type": "integer",
  1919. "description": "用户ID",
  1920. "name": "UserId",
  1921. "in": "query",
  1922. "required": true
  1923. },
  1924. {
  1925. "type": "integer",
  1926. "description": "用户类型 2-机构 7-企业成员",
  1927. "name": "usertype",
  1928. "in": "query"
  1929. },
  1930. {
  1931. "type": "string",
  1932. "description": "现货合同ID, 不填则查所有",
  1933. "name": "relatedid",
  1934. "in": "query"
  1935. },
  1936. {
  1937. "type": "string",
  1938. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1939. "name": "applystatus",
  1940. "in": "query"
  1941. }
  1942. ],
  1943. "responses": {
  1944. "200": {
  1945. "description": "OK",
  1946. "schema": {
  1947. "type": "array",
  1948. "items": {
  1949. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1950. }
  1951. }
  1952. },
  1953. "500": {
  1954. "description": "Internal Server Error",
  1955. "schema": {
  1956. "$ref": "#/definitions/app.Response"
  1957. }
  1958. }
  1959. }
  1960. }
  1961. },
  1962. "/Ermcp/QueryChangeLog": {
  1963. "get": {
  1964. "security": [
  1965. {
  1966. "ApiKeyAuth": []
  1967. }
  1968. ],
  1969. "produces": [
  1970. "application/json"
  1971. ],
  1972. "tags": [
  1973. "企业风险管理(app)"
  1974. ],
  1975. "summary": "查询变更记录",
  1976. "parameters": [
  1977. {
  1978. "type": "string",
  1979. "description": "合同ID",
  1980. "name": "RelatedId",
  1981. "in": "query",
  1982. "required": true
  1983. }
  1984. ],
  1985. "responses": {
  1986. "200": {
  1987. "description": "OK",
  1988. "schema": {
  1989. "type": "array",
  1990. "items": {
  1991. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1992. }
  1993. }
  1994. },
  1995. "500": {
  1996. "description": "Internal Server Error",
  1997. "schema": {
  1998. "$ref": "#/definitions/app.Response"
  1999. }
  2000. }
  2001. }
  2002. }
  2003. },
  2004. "/Ermcp/QueryErmcpHisOrderDetails": {
  2005. "get": {
  2006. "security": [
  2007. {
  2008. "ApiKeyAuth": []
  2009. }
  2010. ],
  2011. "produces": [
  2012. "application/json"
  2013. ],
  2014. "tags": [
  2015. "企业风险管理(app)"
  2016. ],
  2017. "summary": "获取企业风管期货历史委托单信息",
  2018. "parameters": [
  2019. {
  2020. "type": "integer",
  2021. "description": "资金账户ID",
  2022. "name": "accountID",
  2023. "in": "query",
  2024. "required": true
  2025. },
  2026. {
  2027. "type": "string",
  2028. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2029. "name": "startDate",
  2030. "in": "query"
  2031. },
  2032. {
  2033. "type": "string",
  2034. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2035. "name": "endDate",
  2036. "in": "query"
  2037. }
  2038. ],
  2039. "responses": {
  2040. "200": {
  2041. "description": "OK",
  2042. "schema": {
  2043. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2044. }
  2045. },
  2046. "500": {
  2047. "description": "Internal Server Error",
  2048. "schema": {
  2049. "$ref": "#/definitions/app.Response"
  2050. }
  2051. }
  2052. }
  2053. }
  2054. },
  2055. "/Ermcp/QueryErmcpHisTradeDetails": {
  2056. "get": {
  2057. "security": [
  2058. {
  2059. "ApiKeyAuth": []
  2060. }
  2061. ],
  2062. "produces": [
  2063. "application/json"
  2064. ],
  2065. "tags": [
  2066. "企业风险管理(app)"
  2067. ],
  2068. "summary": "获取企业风管期货历史成交单信息",
  2069. "parameters": [
  2070. {
  2071. "type": "integer",
  2072. "description": "资金账户ID",
  2073. "name": "accountID",
  2074. "in": "query",
  2075. "required": true
  2076. },
  2077. {
  2078. "type": "integer",
  2079. "description": "商品ID",
  2080. "name": "goodsID",
  2081. "in": "query"
  2082. },
  2083. {
  2084. "type": "integer",
  2085. "description": "买卖方向,0:买 1:卖",
  2086. "name": "buyOrSell",
  2087. "in": "query"
  2088. },
  2089. {
  2090. "type": "integer",
  2091. "description": "关联委托单号",
  2092. "name": "orderID",
  2093. "in": "query"
  2094. },
  2095. {
  2096. "type": "string",
  2097. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2098. "name": "startDate",
  2099. "in": "query"
  2100. },
  2101. {
  2102. "type": "string",
  2103. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2104. "name": "endDate",
  2105. "in": "query"
  2106. }
  2107. ],
  2108. "responses": {
  2109. "200": {
  2110. "description": "OK",
  2111. "schema": {
  2112. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2113. }
  2114. },
  2115. "500": {
  2116. "description": "Internal Server Error",
  2117. "schema": {
  2118. "$ref": "#/definitions/app.Response"
  2119. }
  2120. }
  2121. }
  2122. }
  2123. },
  2124. "/Ermcp/QueryErmcpInnerHolderDetails": {
  2125. "get": {
  2126. "security": [
  2127. {
  2128. "ApiKeyAuth": []
  2129. }
  2130. ],
  2131. "produces": [
  2132. "application/json"
  2133. ],
  2134. "tags": [
  2135. "企业风险管理(app)"
  2136. ],
  2137. "summary": "获取企业风管期货内部持仓单信息",
  2138. "parameters": [
  2139. {
  2140. "type": "integer",
  2141. "description": "资金账户ID",
  2142. "name": "accountID",
  2143. "in": "query",
  2144. "required": true
  2145. },
  2146. {
  2147. "type": "integer",
  2148. "description": "商品ID",
  2149. "name": "goodsID",
  2150. "in": "query"
  2151. },
  2152. {
  2153. "type": "integer",
  2154. "description": "买卖方向,0:买 1:卖",
  2155. "name": "buyOrSell",
  2156. "in": "query"
  2157. }
  2158. ],
  2159. "responses": {
  2160. "200": {
  2161. "description": "OK",
  2162. "schema": {
  2163. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  2164. }
  2165. },
  2166. "500": {
  2167. "description": "Internal Server Error",
  2168. "schema": {
  2169. "$ref": "#/definitions/app.Response"
  2170. }
  2171. }
  2172. }
  2173. }
  2174. },
  2175. "/Ermcp/QueryErmcpOrderDetails": {
  2176. "get": {
  2177. "security": [
  2178. {
  2179. "ApiKeyAuth": []
  2180. }
  2181. ],
  2182. "produces": [
  2183. "application/json"
  2184. ],
  2185. "tags": [
  2186. "企业风险管理(app)"
  2187. ],
  2188. "summary": "获取企业风管期货委托单信息",
  2189. "parameters": [
  2190. {
  2191. "type": "integer",
  2192. "description": "资金账户ID",
  2193. "name": "accountID",
  2194. "in": "query",
  2195. "required": true
  2196. }
  2197. ],
  2198. "responses": {
  2199. "200": {
  2200. "description": "OK",
  2201. "schema": {
  2202. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2203. }
  2204. },
  2205. "500": {
  2206. "description": "Internal Server Error",
  2207. "schema": {
  2208. "$ref": "#/definitions/app.Response"
  2209. }
  2210. }
  2211. }
  2212. }
  2213. },
  2214. "/Ermcp/QueryErmcpTradeDetails": {
  2215. "get": {
  2216. "security": [
  2217. {
  2218. "ApiKeyAuth": []
  2219. }
  2220. ],
  2221. "produces": [
  2222. "application/json"
  2223. ],
  2224. "tags": [
  2225. "企业风险管理(app)"
  2226. ],
  2227. "summary": "获取企业风管期货成交单信息",
  2228. "parameters": [
  2229. {
  2230. "type": "integer",
  2231. "description": "资金账户ID",
  2232. "name": "accountID",
  2233. "in": "query",
  2234. "required": true
  2235. },
  2236. {
  2237. "type": "integer",
  2238. "description": "商品ID",
  2239. "name": "goodsID",
  2240. "in": "query"
  2241. },
  2242. {
  2243. "type": "integer",
  2244. "description": "买卖方向,0:买 1:卖",
  2245. "name": "buyOrSell",
  2246. "in": "query"
  2247. },
  2248. {
  2249. "type": "integer",
  2250. "description": "关联委托单号",
  2251. "name": "orderID",
  2252. "in": "query"
  2253. }
  2254. ],
  2255. "responses": {
  2256. "200": {
  2257. "description": "OK",
  2258. "schema": {
  2259. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2260. }
  2261. },
  2262. "500": {
  2263. "description": "Internal Server Error",
  2264. "schema": {
  2265. "$ref": "#/definitions/app.Response"
  2266. }
  2267. }
  2268. }
  2269. }
  2270. },
  2271. "/Ermcp/QueryErmcpTradePosition": {
  2272. "get": {
  2273. "security": [
  2274. {
  2275. "ApiKeyAuth": []
  2276. }
  2277. ],
  2278. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2279. "produces": [
  2280. "application/json"
  2281. ],
  2282. "tags": [
  2283. "企业风险管理(app)"
  2284. ],
  2285. "summary": "获取企业风管期货持仓头寸信息",
  2286. "parameters": [
  2287. {
  2288. "type": "integer",
  2289. "description": "资金账户ID",
  2290. "name": "accountID",
  2291. "in": "query",
  2292. "required": true
  2293. },
  2294. {
  2295. "type": "integer",
  2296. "description": "所属市场ID",
  2297. "name": "marketID",
  2298. "in": "query"
  2299. }
  2300. ],
  2301. "responses": {
  2302. "200": {
  2303. "description": "OK",
  2304. "schema": {
  2305. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2306. }
  2307. },
  2308. "500": {
  2309. "description": "Internal Server Error",
  2310. "schema": {
  2311. "$ref": "#/definitions/app.Response"
  2312. }
  2313. }
  2314. }
  2315. }
  2316. },
  2317. "/Ermcp/QueryExposureDetail": {
  2318. "get": {
  2319. "security": [
  2320. {
  2321. "ApiKeyAuth": []
  2322. }
  2323. ],
  2324. "produces": [
  2325. "application/json"
  2326. ],
  2327. "tags": [
  2328. "企业风险管理(app)"
  2329. ],
  2330. "summary": "查询敞口现货明细",
  2331. "parameters": [
  2332. {
  2333. "type": "integer",
  2334. "description": "所属机构ID",
  2335. "name": "areaUserId",
  2336. "in": "query",
  2337. "required": true
  2338. },
  2339. {
  2340. "type": "integer",
  2341. "description": "套保商品",
  2342. "name": "middleGoodsId",
  2343. "in": "query",
  2344. "required": true
  2345. }
  2346. ],
  2347. "responses": {
  2348. "200": {
  2349. "description": "OK",
  2350. "schema": {
  2351. "type": "array",
  2352. "items": {
  2353. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2354. }
  2355. }
  2356. },
  2357. "500": {
  2358. "description": "Internal Server Error",
  2359. "schema": {
  2360. "$ref": "#/definitions/app.Response"
  2361. }
  2362. }
  2363. }
  2364. }
  2365. },
  2366. "/Ermcp/QueryExposureGoods": {
  2367. "get": {
  2368. "security": [
  2369. {
  2370. "ApiKeyAuth": []
  2371. }
  2372. ],
  2373. "produces": [
  2374. "application/json"
  2375. ],
  2376. "tags": [
  2377. "企业风险管理(app)"
  2378. ],
  2379. "summary": "查询敞口主力合约",
  2380. "parameters": [
  2381. {
  2382. "type": "integer",
  2383. "description": "套保商品id",
  2384. "name": "middlegoodsid",
  2385. "in": "query",
  2386. "required": true
  2387. }
  2388. ],
  2389. "responses": {
  2390. "200": {
  2391. "description": "OK",
  2392. "schema": {
  2393. "type": "array",
  2394. "items": {
  2395. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2396. }
  2397. }
  2398. },
  2399. "500": {
  2400. "description": "Internal Server Error",
  2401. "schema": {
  2402. "$ref": "#/definitions/app.Response"
  2403. }
  2404. }
  2405. }
  2406. }
  2407. },
  2408. "/Ermcp/QueryExposureHedgePosition": {
  2409. "get": {
  2410. "security": [
  2411. {
  2412. "ApiKeyAuth": []
  2413. }
  2414. ],
  2415. "produces": [
  2416. "application/json"
  2417. ],
  2418. "tags": [
  2419. "企业风险管理(app)"
  2420. ],
  2421. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2422. "parameters": [
  2423. {
  2424. "type": "integer",
  2425. "description": "用户id",
  2426. "name": "userid",
  2427. "in": "query",
  2428. "required": true
  2429. }
  2430. ],
  2431. "responses": {
  2432. "200": {
  2433. "description": "OK",
  2434. "schema": {
  2435. "type": "array",
  2436. "items": {
  2437. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2438. }
  2439. }
  2440. },
  2441. "500": {
  2442. "description": "Internal Server Error",
  2443. "schema": {
  2444. "$ref": "#/definitions/app.Response"
  2445. }
  2446. }
  2447. }
  2448. }
  2449. },
  2450. "/Ermcp/QueryExposureHedgePositionDetail": {
  2451. "get": {
  2452. "security": [
  2453. {
  2454. "ApiKeyAuth": []
  2455. }
  2456. ],
  2457. "produces": [
  2458. "application/json"
  2459. ],
  2460. "tags": [
  2461. "企业风险管理(app)"
  2462. ],
  2463. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2464. "parameters": [
  2465. {
  2466. "type": "integer",
  2467. "description": "所属机构ID",
  2468. "name": "userid",
  2469. "in": "query",
  2470. "required": true
  2471. },
  2472. {
  2473. "type": "integer",
  2474. "description": "商品id",
  2475. "name": "goodsId",
  2476. "in": "query",
  2477. "required": true
  2478. }
  2479. ],
  2480. "responses": {
  2481. "200": {
  2482. "description": "OK",
  2483. "schema": {
  2484. "type": "array",
  2485. "items": {
  2486. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2487. }
  2488. }
  2489. },
  2490. "500": {
  2491. "description": "Internal Server Error",
  2492. "schema": {
  2493. "$ref": "#/definitions/app.Response"
  2494. }
  2495. }
  2496. }
  2497. }
  2498. },
  2499. "/Ermcp/QueryExposureSpot": {
  2500. "get": {
  2501. "security": [
  2502. {
  2503. "ApiKeyAuth": []
  2504. }
  2505. ],
  2506. "produces": [
  2507. "application/json"
  2508. ],
  2509. "tags": [
  2510. "企业风险管理(app)"
  2511. ],
  2512. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2513. "parameters": [
  2514. {
  2515. "type": "integer",
  2516. "description": "所属机构ID",
  2517. "name": "areaUserId",
  2518. "in": "query",
  2519. "required": true
  2520. }
  2521. ],
  2522. "responses": {
  2523. "200": {
  2524. "description": "OK",
  2525. "schema": {
  2526. "type": "array",
  2527. "items": {
  2528. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2529. }
  2530. }
  2531. },
  2532. "500": {
  2533. "description": "Internal Server Error",
  2534. "schema": {
  2535. "$ref": "#/definitions/app.Response"
  2536. }
  2537. }
  2538. }
  2539. }
  2540. },
  2541. "/Ermcp/QueryExposureSpotDetail": {
  2542. "get": {
  2543. "security": [
  2544. {
  2545. "ApiKeyAuth": []
  2546. }
  2547. ],
  2548. "produces": [
  2549. "application/json"
  2550. ],
  2551. "tags": [
  2552. "企业风险管理(app)"
  2553. ],
  2554. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2555. "parameters": [
  2556. {
  2557. "type": "integer",
  2558. "description": "所属机构ID",
  2559. "name": "areaUserId",
  2560. "in": "query",
  2561. "required": true
  2562. },
  2563. {
  2564. "type": "integer",
  2565. "description": "现货品种ID",
  2566. "name": "wrstandardId",
  2567. "in": "query",
  2568. "required": true
  2569. }
  2570. ],
  2571. "responses": {
  2572. "200": {
  2573. "description": "OK",
  2574. "schema": {
  2575. "type": "array",
  2576. "items": {
  2577. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2578. }
  2579. }
  2580. },
  2581. "500": {
  2582. "description": "Internal Server Error",
  2583. "schema": {
  2584. "$ref": "#/definitions/app.Response"
  2585. }
  2586. }
  2587. }
  2588. }
  2589. },
  2590. "/Ermcp/QueryFuturesCompany": {
  2591. "get": {
  2592. "security": [
  2593. {
  2594. "ApiKeyAuth": []
  2595. }
  2596. ],
  2597. "produces": [
  2598. "application/json"
  2599. ],
  2600. "tags": [
  2601. "企业风险管理(app)"
  2602. ],
  2603. "summary": "查询期货公司",
  2604. "responses": {
  2605. "200": {
  2606. "description": "OK",
  2607. "schema": {
  2608. "type": "array",
  2609. "items": {
  2610. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2611. }
  2612. }
  2613. },
  2614. "500": {
  2615. "description": "Internal Server Error",
  2616. "schema": {
  2617. "$ref": "#/definitions/app.Response"
  2618. }
  2619. }
  2620. }
  2621. }
  2622. },
  2623. "/Ermcp/QueryGGConvertConfig": {
  2624. "get": {
  2625. "security": [
  2626. {
  2627. "ApiKeyAuth": []
  2628. }
  2629. ],
  2630. "produces": [
  2631. "application/json"
  2632. ],
  2633. "tags": [
  2634. "企业风险管理(app)"
  2635. ],
  2636. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2637. "parameters": [
  2638. {
  2639. "type": "integer",
  2640. "description": "品种id(不填则查所有)",
  2641. "name": "goodsgroupid",
  2642. "in": "query"
  2643. }
  2644. ],
  2645. "responses": {
  2646. "200": {
  2647. "description": "OK",
  2648. "schema": {
  2649. "type": "array",
  2650. "items": {
  2651. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2652. }
  2653. }
  2654. },
  2655. "500": {
  2656. "description": "Internal Server Error",
  2657. "schema": {
  2658. "$ref": "#/definitions/app.Response"
  2659. }
  2660. }
  2661. }
  2662. }
  2663. },
  2664. "/Ermcp/QueryGoodsBrand": {
  2665. "get": {
  2666. "security": [
  2667. {
  2668. "ApiKeyAuth": []
  2669. }
  2670. ],
  2671. "produces": [
  2672. "application/json"
  2673. ],
  2674. "tags": [
  2675. "企业风险管理(app)"
  2676. ],
  2677. "summary": "查询商品品牌",
  2678. "parameters": [
  2679. {
  2680. "type": "integer",
  2681. "description": "用户ID",
  2682. "name": "userid",
  2683. "in": "query",
  2684. "required": true
  2685. },
  2686. {
  2687. "type": "integer",
  2688. "description": "现货商品ID",
  2689. "name": "wrstandardid",
  2690. "in": "query"
  2691. }
  2692. ],
  2693. "responses": {
  2694. "200": {
  2695. "description": "OK",
  2696. "schema": {
  2697. "type": "array",
  2698. "items": {
  2699. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2700. }
  2701. }
  2702. },
  2703. "500": {
  2704. "description": "Internal Server Error",
  2705. "schema": {
  2706. "$ref": "#/definitions/app.Response"
  2707. }
  2708. }
  2709. }
  2710. }
  2711. },
  2712. "/Ermcp/QueryGoodsModel": {
  2713. "get": {
  2714. "security": [
  2715. {
  2716. "ApiKeyAuth": []
  2717. }
  2718. ],
  2719. "produces": [
  2720. "application/json"
  2721. ],
  2722. "tags": [
  2723. "企业风险管理(app)"
  2724. ],
  2725. "summary": "查询商品型号",
  2726. "parameters": [
  2727. {
  2728. "type": "integer",
  2729. "description": "用户ID",
  2730. "name": "userid",
  2731. "in": "query",
  2732. "required": true
  2733. }
  2734. ],
  2735. "responses": {
  2736. "200": {
  2737. "description": "OK",
  2738. "schema": {
  2739. "type": "array",
  2740. "items": {
  2741. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2742. }
  2743. }
  2744. },
  2745. "500": {
  2746. "description": "Internal Server Error",
  2747. "schema": {
  2748. "$ref": "#/definitions/app.Response"
  2749. }
  2750. }
  2751. }
  2752. }
  2753. },
  2754. "/Ermcp/QueryHisExposure": {
  2755. "get": {
  2756. "security": [
  2757. {
  2758. "ApiKeyAuth": []
  2759. }
  2760. ],
  2761. "produces": [
  2762. "application/json"
  2763. ],
  2764. "tags": [
  2765. "企业风险管理(app)"
  2766. ],
  2767. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2768. "parameters": [
  2769. {
  2770. "type": "integer",
  2771. "description": "用户id",
  2772. "name": "userid",
  2773. "in": "query",
  2774. "required": true
  2775. },
  2776. {
  2777. "type": "integer",
  2778. "description": "每个品种记录数",
  2779. "name": "lastNum",
  2780. "in": "query",
  2781. "required": true
  2782. }
  2783. ],
  2784. "responses": {
  2785. "200": {
  2786. "description": "OK",
  2787. "schema": {
  2788. "type": "array",
  2789. "items": {
  2790. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2791. }
  2792. }
  2793. },
  2794. "500": {
  2795. "description": "Internal Server Error",
  2796. "schema": {
  2797. "$ref": "#/definitions/app.Response"
  2798. }
  2799. }
  2800. }
  2801. }
  2802. },
  2803. "/Ermcp/QueryMiddleGoods": {
  2804. "get": {
  2805. "security": [
  2806. {
  2807. "ApiKeyAuth": []
  2808. }
  2809. ],
  2810. "produces": [
  2811. "application/json"
  2812. ],
  2813. "tags": [
  2814. "企业风险管理(app)"
  2815. ],
  2816. "summary": "查询套保品种(菜单:套保品种)",
  2817. "parameters": [
  2818. {
  2819. "type": "integer",
  2820. "description": "所属机构ID",
  2821. "name": "userid",
  2822. "in": "query",
  2823. "required": true
  2824. },
  2825. {
  2826. "type": "integer",
  2827. "description": "状态 0-停用 1-正常",
  2828. "name": "status",
  2829. "in": "query",
  2830. "required": true
  2831. }
  2832. ],
  2833. "responses": {
  2834. "200": {
  2835. "description": "OK",
  2836. "schema": {
  2837. "type": "array",
  2838. "items": {
  2839. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2840. }
  2841. }
  2842. },
  2843. "500": {
  2844. "description": "Internal Server Error",
  2845. "schema": {
  2846. "$ref": "#/definitions/app.Response"
  2847. }
  2848. }
  2849. }
  2850. }
  2851. },
  2852. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2853. "get": {
  2854. "security": [
  2855. {
  2856. "ApiKeyAuth": []
  2857. }
  2858. ],
  2859. "produces": [
  2860. "application/json"
  2861. ],
  2862. "tags": [
  2863. "企业风险管理(app)"
  2864. ],
  2865. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2866. "parameters": [
  2867. {
  2868. "type": "integer",
  2869. "description": "所属机构ID",
  2870. "name": "userid",
  2871. "in": "query",
  2872. "required": true
  2873. },
  2874. {
  2875. "type": "integer",
  2876. "description": "套保品种id",
  2877. "name": "middlegoodsid",
  2878. "in": "query",
  2879. "required": true
  2880. }
  2881. ],
  2882. "responses": {
  2883. "200": {
  2884. "description": "OK",
  2885. "schema": {
  2886. "type": "array",
  2887. "items": {
  2888. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2889. }
  2890. }
  2891. },
  2892. "500": {
  2893. "description": "Internal Server Error",
  2894. "schema": {
  2895. "$ref": "#/definitions/app.Response"
  2896. }
  2897. }
  2898. }
  2899. }
  2900. },
  2901. "/Ermcp/QueryMiddleGoodsDetail": {
  2902. "get": {
  2903. "security": [
  2904. {
  2905. "ApiKeyAuth": []
  2906. }
  2907. ],
  2908. "produces": [
  2909. "application/json"
  2910. ],
  2911. "tags": [
  2912. "企业风险管理(app)"
  2913. ],
  2914. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2915. "parameters": [
  2916. {
  2917. "type": "integer",
  2918. "description": "所属机构ID",
  2919. "name": "userid",
  2920. "in": "query",
  2921. "required": true
  2922. },
  2923. {
  2924. "type": "integer",
  2925. "description": "套保品种id",
  2926. "name": "middlegoodsid",
  2927. "in": "query"
  2928. }
  2929. ],
  2930. "responses": {
  2931. "200": {
  2932. "description": "OK",
  2933. "schema": {
  2934. "type": "array",
  2935. "items": {
  2936. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2937. }
  2938. }
  2939. },
  2940. "500": {
  2941. "description": "Internal Server Error",
  2942. "schema": {
  2943. "$ref": "#/definitions/app.Response"
  2944. }
  2945. }
  2946. }
  2947. }
  2948. },
  2949. "/Ermcp/QueryPendingAuditInfo": {
  2950. "get": {
  2951. "security": [
  2952. {
  2953. "ApiKeyAuth": []
  2954. }
  2955. ],
  2956. "produces": [
  2957. "application/json"
  2958. ],
  2959. "tags": [
  2960. "企业风险管理(app)"
  2961. ],
  2962. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2963. "parameters": [
  2964. {
  2965. "type": "integer",
  2966. "description": "用户ID",
  2967. "name": "UserId",
  2968. "in": "query",
  2969. "required": true
  2970. }
  2971. ],
  2972. "responses": {
  2973. "200": {
  2974. "description": "OK",
  2975. "schema": {
  2976. "type": "array",
  2977. "items": {
  2978. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2979. }
  2980. }
  2981. },
  2982. "500": {
  2983. "description": "Internal Server Error",
  2984. "schema": {
  2985. "$ref": "#/definitions/app.Response"
  2986. }
  2987. }
  2988. }
  2989. }
  2990. },
  2991. "/Ermcp/QueryRealtimeExposure": {
  2992. "get": {
  2993. "security": [
  2994. {
  2995. "ApiKeyAuth": []
  2996. }
  2997. ],
  2998. "produces": [
  2999. "application/json"
  3000. ],
  3001. "tags": [
  3002. "企业风险管理(app)"
  3003. ],
  3004. "summary": "查询实时敞口",
  3005. "parameters": [
  3006. {
  3007. "type": "integer",
  3008. "description": "所属机构ID",
  3009. "name": "userid",
  3010. "in": "query",
  3011. "required": true
  3012. }
  3013. ],
  3014. "responses": {
  3015. "200": {
  3016. "description": "OK",
  3017. "schema": {
  3018. "type": "array",
  3019. "items": {
  3020. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3021. }
  3022. }
  3023. },
  3024. "500": {
  3025. "description": "Internal Server Error",
  3026. "schema": {
  3027. "$ref": "#/definitions/app.Response"
  3028. }
  3029. }
  3030. }
  3031. }
  3032. },
  3033. "/Ermcp/QueryRealtimeExposurePosition": {
  3034. "get": {
  3035. "security": [
  3036. {
  3037. "ApiKeyAuth": []
  3038. }
  3039. ],
  3040. "produces": [
  3041. "application/json"
  3042. ],
  3043. "tags": [
  3044. "企业风险管理(app)"
  3045. ],
  3046. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3047. "parameters": [
  3048. {
  3049. "type": "integer",
  3050. "description": "用户id",
  3051. "name": "userid",
  3052. "in": "query",
  3053. "required": true
  3054. },
  3055. {
  3056. "type": "integer",
  3057. "description": "套保商品ID",
  3058. "name": "middleGoodsId",
  3059. "in": "query",
  3060. "required": true
  3061. }
  3062. ],
  3063. "responses": {
  3064. "200": {
  3065. "description": "OK",
  3066. "schema": {
  3067. "type": "array",
  3068. "items": {
  3069. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3070. }
  3071. }
  3072. },
  3073. "500": {
  3074. "description": "Internal Server Error",
  3075. "schema": {
  3076. "$ref": "#/definitions/app.Response"
  3077. }
  3078. }
  3079. }
  3080. }
  3081. },
  3082. "/Ermcp/QueryRoleMenu": {
  3083. "get": {
  3084. "security": [
  3085. {
  3086. "ApiKeyAuth": []
  3087. }
  3088. ],
  3089. "produces": [
  3090. "application/json"
  3091. ],
  3092. "tags": [
  3093. "企业风险管理(app)"
  3094. ],
  3095. "summary": "查询角色菜单和权限",
  3096. "parameters": [
  3097. {
  3098. "type": "integer",
  3099. "description": "登录ID",
  3100. "name": "loginid",
  3101. "in": "query",
  3102. "required": true
  3103. },
  3104. {
  3105. "type": "integer",
  3106. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  3107. "name": "menutype",
  3108. "in": "query"
  3109. }
  3110. ],
  3111. "responses": {
  3112. "200": {
  3113. "description": "OK",
  3114. "schema": {
  3115. "type": "array",
  3116. "items": {
  3117. "$ref": "#/definitions/models.RoleMenu"
  3118. }
  3119. }
  3120. },
  3121. "500": {
  3122. "description": "Internal Server Error",
  3123. "schema": {
  3124. "$ref": "#/definitions/app.Response"
  3125. }
  3126. }
  3127. }
  3128. }
  3129. },
  3130. "/Ermcp/QueryTradeConfigTMP": {
  3131. "get": {
  3132. "security": [
  3133. {
  3134. "ApiKeyAuth": []
  3135. }
  3136. ],
  3137. "produces": [
  3138. "application/json"
  3139. ],
  3140. "tags": [
  3141. "企业风险管理(app)"
  3142. ],
  3143. "summary": "查询交易模板配置",
  3144. "parameters": [
  3145. {
  3146. "type": "integer",
  3147. "description": "所属机构id",
  3148. "name": "areauserid",
  3149. "in": "query"
  3150. }
  3151. ],
  3152. "responses": {
  3153. "200": {
  3154. "description": "OK",
  3155. "schema": {
  3156. "type": "array",
  3157. "items": {
  3158. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  3159. }
  3160. }
  3161. },
  3162. "500": {
  3163. "description": "Internal Server Error",
  3164. "schema": {
  3165. "$ref": "#/definitions/app.Response"
  3166. }
  3167. }
  3168. }
  3169. }
  3170. },
  3171. "/Ermcp/QueryUserInfo": {
  3172. "get": {
  3173. "security": [
  3174. {
  3175. "ApiKeyAuth": []
  3176. }
  3177. ],
  3178. "produces": [
  3179. "application/json"
  3180. ],
  3181. "tags": [
  3182. "企业风险管理(app)"
  3183. ],
  3184. "summary": "查询客户资料",
  3185. "parameters": [
  3186. {
  3187. "type": "integer",
  3188. "description": "所属机构用户ID",
  3189. "name": "MemberUserID",
  3190. "in": "query",
  3191. "required": true
  3192. },
  3193. {
  3194. "type": "integer",
  3195. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3196. "name": "queryType",
  3197. "in": "query",
  3198. "required": true
  3199. }
  3200. ],
  3201. "responses": {
  3202. "200": {
  3203. "description": "OK",
  3204. "schema": {
  3205. "type": "array",
  3206. "items": {
  3207. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3208. }
  3209. }
  3210. },
  3211. "500": {
  3212. "description": "Internal Server Error",
  3213. "schema": {
  3214. "$ref": "#/definitions/app.Response"
  3215. }
  3216. }
  3217. }
  3218. }
  3219. },
  3220. "/Ermcp/QueryWarehouseInfo": {
  3221. "get": {
  3222. "security": [
  3223. {
  3224. "ApiKeyAuth": []
  3225. }
  3226. ],
  3227. "produces": [
  3228. "application/json"
  3229. ],
  3230. "tags": [
  3231. "企业风险管理(app)"
  3232. ],
  3233. "summary": "查询仓库信息",
  3234. "parameters": [
  3235. {
  3236. "type": "integer",
  3237. "description": "用户ID",
  3238. "name": "userid",
  3239. "in": "query",
  3240. "required": true
  3241. },
  3242. {
  3243. "type": "string",
  3244. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3245. "name": "status",
  3246. "in": "query"
  3247. }
  3248. ],
  3249. "responses": {
  3250. "200": {
  3251. "description": "OK",
  3252. "schema": {
  3253. "type": "array",
  3254. "items": {
  3255. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3256. }
  3257. }
  3258. },
  3259. "500": {
  3260. "description": "Internal Server Error",
  3261. "schema": {
  3262. "$ref": "#/definitions/app.Response"
  3263. }
  3264. }
  3265. }
  3266. }
  3267. },
  3268. "/Ermcp3/QryAreaExpourseContractDetail": {
  3269. "get": {
  3270. "security": [
  3271. {
  3272. "ApiKeyAuth": []
  3273. }
  3274. ],
  3275. "produces": [
  3276. "application/json"
  3277. ],
  3278. "tags": [
  3279. "企业风险管理v3(app)"
  3280. ],
  3281. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3282. "parameters": [
  3283. {
  3284. "type": "integer",
  3285. "description": "用户ID",
  3286. "name": "userid",
  3287. "in": "query",
  3288. "required": true
  3289. },
  3290. {
  3291. "type": "integer",
  3292. "description": "套保商品id",
  3293. "name": "middlegoodsid",
  3294. "in": "query",
  3295. "required": true
  3296. },
  3297. {
  3298. "type": "integer",
  3299. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3300. "name": "cycletype",
  3301. "in": "query",
  3302. "required": true
  3303. },
  3304. {
  3305. "type": "string",
  3306. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3307. "name": "cycletime",
  3308. "in": "query",
  3309. "required": true
  3310. }
  3311. ],
  3312. "responses": {
  3313. "200": {
  3314. "description": "OK",
  3315. "schema": {
  3316. "type": "array",
  3317. "items": {
  3318. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3319. }
  3320. }
  3321. },
  3322. "500": {
  3323. "description": "Internal Server Error",
  3324. "schema": {
  3325. "$ref": "#/definitions/app.Response"
  3326. }
  3327. }
  3328. }
  3329. }
  3330. },
  3331. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3332. "get": {
  3333. "security": [
  3334. {
  3335. "ApiKeyAuth": []
  3336. }
  3337. ],
  3338. "produces": [
  3339. "application/json"
  3340. ],
  3341. "tags": [
  3342. "企业风险管理v3(app)"
  3343. ],
  3344. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3345. "parameters": [
  3346. {
  3347. "type": "integer",
  3348. "description": "用户ID",
  3349. "name": "userid",
  3350. "in": "query",
  3351. "required": true
  3352. },
  3353. {
  3354. "type": "integer",
  3355. "description": "套保商品id",
  3356. "name": "middlegoodsid",
  3357. "in": "query",
  3358. "required": true
  3359. },
  3360. {
  3361. "type": "integer",
  3362. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3363. "name": "cycletype",
  3364. "in": "query",
  3365. "required": true
  3366. },
  3367. {
  3368. "type": "string",
  3369. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3370. "name": "cycletime",
  3371. "in": "query",
  3372. "required": true
  3373. }
  3374. ],
  3375. "responses": {
  3376. "200": {
  3377. "description": "OK",
  3378. "schema": {
  3379. "type": "array",
  3380. "items": {
  3381. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3382. }
  3383. }
  3384. },
  3385. "500": {
  3386. "description": "Internal Server Error",
  3387. "schema": {
  3388. "$ref": "#/definitions/app.Response"
  3389. }
  3390. }
  3391. }
  3392. }
  3393. },
  3394. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3395. "get": {
  3396. "security": [
  3397. {
  3398. "ApiKeyAuth": []
  3399. }
  3400. ],
  3401. "produces": [
  3402. "application/json"
  3403. ],
  3404. "tags": [
  3405. "企业风险管理v3(app)"
  3406. ],
  3407. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3408. "parameters": [
  3409. {
  3410. "type": "integer",
  3411. "description": "用户ID",
  3412. "name": "userid",
  3413. "in": "query",
  3414. "required": true
  3415. },
  3416. {
  3417. "type": "integer",
  3418. "description": "套保商品id",
  3419. "name": "middlegoodsid",
  3420. "in": "query",
  3421. "required": true
  3422. },
  3423. {
  3424. "type": "integer",
  3425. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3426. "name": "cycletype",
  3427. "in": "query",
  3428. "required": true
  3429. },
  3430. {
  3431. "type": "string",
  3432. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3433. "name": "cycletime",
  3434. "in": "query",
  3435. "required": true
  3436. }
  3437. ],
  3438. "responses": {
  3439. "200": {
  3440. "description": "OK",
  3441. "schema": {
  3442. "type": "array",
  3443. "items": {
  3444. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3445. }
  3446. }
  3447. },
  3448. "500": {
  3449. "description": "Internal Server Error",
  3450. "schema": {
  3451. "$ref": "#/definitions/app.Response"
  3452. }
  3453. }
  3454. }
  3455. }
  3456. },
  3457. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3458. "get": {
  3459. "security": [
  3460. {
  3461. "ApiKeyAuth": []
  3462. }
  3463. ],
  3464. "produces": [
  3465. "application/json"
  3466. ],
  3467. "tags": [
  3468. "企业风险管理v3(app)"
  3469. ],
  3470. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3471. "parameters": [
  3472. {
  3473. "type": "integer",
  3474. "description": "用户ID",
  3475. "name": "userid",
  3476. "in": "query",
  3477. "required": true
  3478. },
  3479. {
  3480. "type": "integer",
  3481. "description": "套保商品id",
  3482. "name": "middlegoodsid",
  3483. "in": "query",
  3484. "required": true
  3485. },
  3486. {
  3487. "type": "integer",
  3488. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3489. "name": "cycletype",
  3490. "in": "query",
  3491. "required": true
  3492. },
  3493. {
  3494. "type": "string",
  3495. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3496. "name": "cycletime",
  3497. "in": "query",
  3498. "required": true
  3499. }
  3500. ],
  3501. "responses": {
  3502. "200": {
  3503. "description": "OK",
  3504. "schema": {
  3505. "type": "array",
  3506. "items": {
  3507. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3508. }
  3509. }
  3510. },
  3511. "500": {
  3512. "description": "Internal Server Error",
  3513. "schema": {
  3514. "$ref": "#/definitions/app.Response"
  3515. }
  3516. }
  3517. }
  3518. }
  3519. },
  3520. "/Ermcp3/QryAreaExpourseReport": {
  3521. "get": {
  3522. "security": [
  3523. {
  3524. "ApiKeyAuth": []
  3525. }
  3526. ],
  3527. "produces": [
  3528. "application/json"
  3529. ],
  3530. "tags": [
  3531. "企业风险管理v3(app)"
  3532. ],
  3533. "summary": "查询敞口报表",
  3534. "parameters": [
  3535. {
  3536. "type": "integer",
  3537. "description": "用户ID",
  3538. "name": "userid",
  3539. "in": "query",
  3540. "required": true
  3541. },
  3542. {
  3543. "type": "integer",
  3544. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3545. "name": "querytype",
  3546. "in": "query",
  3547. "required": true
  3548. },
  3549. {
  3550. "type": "integer",
  3551. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3552. "name": "cycletype",
  3553. "in": "query",
  3554. "required": true
  3555. },
  3556. {
  3557. "type": "string",
  3558. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3559. "name": "cycletime",
  3560. "in": "query",
  3561. "required": true
  3562. }
  3563. ],
  3564. "responses": {
  3565. "200": {
  3566. "description": "OK",
  3567. "schema": {
  3568. "type": "array",
  3569. "items": {
  3570. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3571. }
  3572. }
  3573. },
  3574. "500": {
  3575. "description": "Internal Server Error",
  3576. "schema": {
  3577. "$ref": "#/definitions/app.Response"
  3578. }
  3579. }
  3580. }
  3581. }
  3582. },
  3583. "/Ermcp3/QryAreaSpotplReport": {
  3584. "get": {
  3585. "security": [
  3586. {
  3587. "ApiKeyAuth": []
  3588. }
  3589. ],
  3590. "description": "目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1",
  3591. "produces": [
  3592. "application/json"
  3593. ],
  3594. "tags": [
  3595. "企业风险管理v3(app)"
  3596. ],
  3597. "summary": "查询现货报表",
  3598. "parameters": [
  3599. {
  3600. "type": "integer",
  3601. "description": "用户ID",
  3602. "name": "userid",
  3603. "in": "query",
  3604. "required": true
  3605. },
  3606. {
  3607. "type": "integer",
  3608. "description": "查询类型 1-报表 2-报表明细",
  3609. "name": "querytype",
  3610. "in": "query",
  3611. "required": true
  3612. },
  3613. {
  3614. "type": "integer",
  3615. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3616. "name": "cycletype",
  3617. "in": "query",
  3618. "required": true
  3619. },
  3620. {
  3621. "type": "string",
  3622. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3623. "name": "cycletime",
  3624. "in": "query",
  3625. "required": true
  3626. },
  3627. {
  3628. "type": "integer",
  3629. "description": "现货品种id(明细必填)",
  3630. "name": "deliverygoodsid",
  3631. "in": "query"
  3632. },
  3633. {
  3634. "type": "integer",
  3635. "description": "币种id(明细必填)",
  3636. "name": "currencyid",
  3637. "in": "query"
  3638. },
  3639. {
  3640. "type": "integer",
  3641. "description": "日/周/月报表汇总维度 1:品种+品类",
  3642. "name": "sumflag",
  3643. "in": "query"
  3644. }
  3645. ],
  3646. "responses": {
  3647. "200": {
  3648. "description": "OK",
  3649. "schema": {
  3650. "type": "array",
  3651. "items": {
  3652. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3653. }
  3654. }
  3655. },
  3656. "500": {
  3657. "description": "Internal Server Error",
  3658. "schema": {
  3659. "$ref": "#/definitions/app.Response"
  3660. }
  3661. }
  3662. }
  3663. }
  3664. },
  3665. "/Ermcp3/QryAreaStockReport": {
  3666. "get": {
  3667. "security": [
  3668. {
  3669. "ApiKeyAuth": []
  3670. }
  3671. ],
  3672. "produces": [
  3673. "application/json"
  3674. ],
  3675. "tags": [
  3676. "企业风险管理v3(app)"
  3677. ],
  3678. "summary": "查询库存报表",
  3679. "parameters": [
  3680. {
  3681. "type": "integer",
  3682. "description": "用户ID",
  3683. "name": "userid",
  3684. "in": "query",
  3685. "required": true
  3686. },
  3687. {
  3688. "type": "integer",
  3689. "description": "查询类型 1-报表 2-报表明细",
  3690. "name": "querytype",
  3691. "in": "query",
  3692. "required": true
  3693. },
  3694. {
  3695. "type": "integer",
  3696. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3697. "name": "cycletype",
  3698. "in": "query",
  3699. "required": true
  3700. },
  3701. {
  3702. "type": "string",
  3703. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3704. "name": "cycletime",
  3705. "in": "query",
  3706. "required": true
  3707. },
  3708. {
  3709. "type": "string",
  3710. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3711. "name": "sumfields",
  3712. "in": "query"
  3713. },
  3714. {
  3715. "type": "integer",
  3716. "description": "品种ID",
  3717. "name": "deliverygoodsid",
  3718. "in": "query"
  3719. },
  3720. {
  3721. "type": "integer",
  3722. "description": "品类ID",
  3723. "name": "wrstandardid",
  3724. "in": "query"
  3725. },
  3726. {
  3727. "type": "integer",
  3728. "description": "品牌ID",
  3729. "name": "spotgoodsbrandid",
  3730. "in": "query"
  3731. },
  3732. {
  3733. "type": "integer",
  3734. "description": "仓库ID",
  3735. "name": "warehouseinfoid",
  3736. "in": "query"
  3737. }
  3738. ],
  3739. "responses": {
  3740. "200": {
  3741. "description": "OK",
  3742. "schema": {
  3743. "type": "array",
  3744. "items": {
  3745. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3746. }
  3747. }
  3748. },
  3749. "500": {
  3750. "description": "Internal Server Error",
  3751. "schema": {
  3752. "$ref": "#/definitions/app.Response"
  3753. }
  3754. }
  3755. }
  3756. }
  3757. },
  3758. "/Ermcp3/QryAreaSumPL": {
  3759. "get": {
  3760. "security": [
  3761. {
  3762. "ApiKeyAuth": []
  3763. }
  3764. ],
  3765. "produces": [
  3766. "application/json"
  3767. ],
  3768. "tags": [
  3769. "企业风险管理v3(app)"
  3770. ],
  3771. "summary": "查询汇总损益表",
  3772. "parameters": [
  3773. {
  3774. "type": "integer",
  3775. "description": "用户ID",
  3776. "name": "userid",
  3777. "in": "query",
  3778. "required": true
  3779. },
  3780. {
  3781. "type": "integer",
  3782. "description": "查询类型 1-报表 2-报表明细",
  3783. "name": "querytype",
  3784. "in": "query",
  3785. "required": true
  3786. },
  3787. {
  3788. "type": "integer",
  3789. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3790. "name": "cycletype",
  3791. "in": "query",
  3792. "required": true
  3793. },
  3794. {
  3795. "type": "string",
  3796. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3797. "name": "cycletime",
  3798. "in": "query",
  3799. "required": true
  3800. },
  3801. {
  3802. "type": "integer",
  3803. "description": "币种id(明细必填)",
  3804. "name": "currencyid",
  3805. "in": "query"
  3806. },
  3807. {
  3808. "type": "integer",
  3809. "description": "套保品种ID, 查询类型为2时起效",
  3810. "name": "middlegoodsid",
  3811. "in": "query"
  3812. }
  3813. ],
  3814. "responses": {
  3815. "200": {
  3816. "description": "OK",
  3817. "schema": {
  3818. "type": "array",
  3819. "items": {
  3820. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3821. }
  3822. }
  3823. },
  3824. "500": {
  3825. "description": "Internal Server Error",
  3826. "schema": {
  3827. "$ref": "#/definitions/app.Response"
  3828. }
  3829. }
  3830. }
  3831. }
  3832. },
  3833. "/Ermcp3/QryFinanceReport": {
  3834. "get": {
  3835. "security": [
  3836. {
  3837. "ApiKeyAuth": []
  3838. }
  3839. ],
  3840. "produces": [
  3841. "application/json"
  3842. ],
  3843. "tags": [
  3844. "企业风险管理v3(app)"
  3845. ],
  3846. "summary": "查询财务报表",
  3847. "parameters": [
  3848. {
  3849. "type": "integer",
  3850. "description": "用户ID",
  3851. "name": "userid",
  3852. "in": "query",
  3853. "required": true
  3854. },
  3855. {
  3856. "type": "integer",
  3857. "description": "查询类型 1-报表 2-报表明细",
  3858. "name": "querytype",
  3859. "in": "query",
  3860. "required": true
  3861. },
  3862. {
  3863. "type": "integer",
  3864. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3865. "name": "cycletype",
  3866. "in": "query",
  3867. "required": true
  3868. },
  3869. {
  3870. "type": "string",
  3871. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3872. "name": "cycletime",
  3873. "in": "query",
  3874. "required": true
  3875. },
  3876. {
  3877. "type": "integer",
  3878. "description": "币种id(报表明细必填)",
  3879. "name": "currencyid",
  3880. "in": "query"
  3881. },
  3882. {
  3883. "type": "string",
  3884. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3885. "name": "sumfields",
  3886. "in": "query"
  3887. }
  3888. ],
  3889. "responses": {
  3890. "200": {
  3891. "description": "OK",
  3892. "schema": {
  3893. "type": "array",
  3894. "items": {
  3895. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3896. }
  3897. }
  3898. },
  3899. "500": {
  3900. "description": "Internal Server Error",
  3901. "schema": {
  3902. "$ref": "#/definitions/app.Response"
  3903. }
  3904. }
  3905. }
  3906. }
  3907. },
  3908. "/Ermcp3/QrySCMiddleGoodsReport": {
  3909. "get": {
  3910. "security": [
  3911. {
  3912. "ApiKeyAuth": []
  3913. }
  3914. ],
  3915. "produces": [
  3916. "application/json"
  3917. ],
  3918. "tags": [
  3919. "企业风险管理v3(app)"
  3920. ],
  3921. "summary": "查询定价报表",
  3922. "parameters": [
  3923. {
  3924. "type": "integer",
  3925. "description": "用户ID",
  3926. "name": "userid",
  3927. "in": "query",
  3928. "required": true
  3929. },
  3930. {
  3931. "type": "integer",
  3932. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3933. "name": "cycletype",
  3934. "in": "query",
  3935. "required": true
  3936. },
  3937. {
  3938. "type": "string",
  3939. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3940. "name": "cycletime",
  3941. "in": "query",
  3942. "required": true
  3943. },
  3944. {
  3945. "type": "integer",
  3946. "description": "合同id",
  3947. "name": "spotcontractid",
  3948. "in": "query"
  3949. },
  3950. {
  3951. "type": "integer",
  3952. "description": "套保品种id",
  3953. "name": "middlegoodsid",
  3954. "in": "query"
  3955. },
  3956. {
  3957. "type": "integer",
  3958. "description": "现货品种id",
  3959. "name": "deliverygoodsid",
  3960. "in": "query"
  3961. },
  3962. {
  3963. "type": "integer",
  3964. "description": "现货商品id",
  3965. "name": "wrstandardid",
  3966. "in": "query"
  3967. },
  3968. {
  3969. "type": "string",
  3970. "description": "合同编号(模糊匹配)",
  3971. "name": "contractno",
  3972. "in": "query"
  3973. }
  3974. ],
  3975. "responses": {
  3976. "200": {
  3977. "description": "OK",
  3978. "schema": {
  3979. "type": "array",
  3980. "items": {
  3981. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  3982. }
  3983. }
  3984. },
  3985. "500": {
  3986. "description": "Internal Server Error",
  3987. "schema": {
  3988. "$ref": "#/definitions/app.Response"
  3989. }
  3990. }
  3991. }
  3992. }
  3993. },
  3994. "/Ermcp3/QryTaFutureDataReport": {
  3995. "get": {
  3996. "security": [
  3997. {
  3998. "ApiKeyAuth": []
  3999. }
  4000. ],
  4001. "produces": [
  4002. "application/json"
  4003. ],
  4004. "tags": [
  4005. "企业风险管理v3(app)"
  4006. ],
  4007. "summary": "查询期货报表",
  4008. "parameters": [
  4009. {
  4010. "type": "integer",
  4011. "description": "用户ID",
  4012. "name": "userid",
  4013. "in": "query",
  4014. "required": true
  4015. },
  4016. {
  4017. "type": "integer",
  4018. "description": "查询类型 1-报表 2-报表明细",
  4019. "name": "querytype",
  4020. "in": "query",
  4021. "required": true
  4022. },
  4023. {
  4024. "type": "integer",
  4025. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  4026. "name": "cycletype",
  4027. "in": "query",
  4028. "required": true
  4029. },
  4030. {
  4031. "type": "string",
  4032. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  4033. "name": "cycletime",
  4034. "in": "query",
  4035. "required": true
  4036. },
  4037. {
  4038. "type": "integer",
  4039. "description": "币种id(查明细必填)",
  4040. "name": "currencyid",
  4041. "in": "query"
  4042. },
  4043. {
  4044. "type": "integer",
  4045. "description": "品种id(查明细必填)",
  4046. "name": "goodsgroupid",
  4047. "in": "query"
  4048. },
  4049. {
  4050. "type": "integer",
  4051. "description": "商品id(查明细必填)",
  4052. "name": "goodsid",
  4053. "in": "query"
  4054. },
  4055. {
  4056. "type": "integer",
  4057. "description": "买卖方向(查明细必填)",
  4058. "name": "buyorsell",
  4059. "in": "query"
  4060. }
  4061. ],
  4062. "responses": {
  4063. "200": {
  4064. "description": "OK",
  4065. "schema": {
  4066. "type": "array",
  4067. "items": {
  4068. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  4069. }
  4070. }
  4071. },
  4072. "500": {
  4073. "description": "Internal Server Error",
  4074. "schema": {
  4075. "$ref": "#/definitions/app.Response"
  4076. }
  4077. }
  4078. }
  4079. }
  4080. },
  4081. "/Ermcp3/QueryAreaStock": {
  4082. "get": {
  4083. "security": [
  4084. {
  4085. "ApiKeyAuth": []
  4086. }
  4087. ],
  4088. "produces": [
  4089. "application/json"
  4090. ],
  4091. "tags": [
  4092. "企业风险管理v3(app)"
  4093. ],
  4094. "summary": "查询机构库存(库存管理/当前库存)",
  4095. "parameters": [
  4096. {
  4097. "type": "integer",
  4098. "description": "用户ID",
  4099. "name": "userid",
  4100. "in": "query",
  4101. "required": true
  4102. }
  4103. ],
  4104. "responses": {
  4105. "200": {
  4106. "description": "OK",
  4107. "schema": {
  4108. "type": "array",
  4109. "items": {
  4110. "$ref": "#/definitions/models.Ermcp3AreaStock"
  4111. }
  4112. }
  4113. },
  4114. "500": {
  4115. "description": "Internal Server Error",
  4116. "schema": {
  4117. "$ref": "#/definitions/app.Response"
  4118. }
  4119. }
  4120. }
  4121. }
  4122. },
  4123. "/Ermcp3/QueryAreaStockApply": {
  4124. "get": {
  4125. "security": [
  4126. {
  4127. "ApiKeyAuth": []
  4128. }
  4129. ],
  4130. "produces": [
  4131. "application/json"
  4132. ],
  4133. "tags": [
  4134. "企业风险管理v3(app)"
  4135. ],
  4136. "summary": "查询库存申请(出入库记录|库存审核)",
  4137. "parameters": [
  4138. {
  4139. "type": "integer",
  4140. "description": "用户ID",
  4141. "name": "userid",
  4142. "in": "query",
  4143. "required": true
  4144. },
  4145. {
  4146. "type": "integer",
  4147. "description": "用户类型 2-机构 7-企业成员",
  4148. "name": "usertype",
  4149. "in": "query"
  4150. },
  4151. {
  4152. "type": "integer",
  4153. "description": "现货商品ID",
  4154. "name": "deliverygoodsid",
  4155. "in": "query"
  4156. },
  4157. {
  4158. "type": "string",
  4159. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  4160. "name": "inouttype",
  4161. "in": "query"
  4162. },
  4163. {
  4164. "type": "integer",
  4165. "description": "合同ID",
  4166. "name": "spotcontractid",
  4167. "in": "query"
  4168. },
  4169. {
  4170. "type": "integer",
  4171. "description": "品类ID",
  4172. "name": "wrstandardid",
  4173. "in": "query"
  4174. },
  4175. {
  4176. "type": "integer",
  4177. "description": "品牌ID",
  4178. "name": "spotgoodsbrandid",
  4179. "in": "query"
  4180. },
  4181. {
  4182. "type": "integer",
  4183. "description": "仓库ID",
  4184. "name": "warehouseinfoid",
  4185. "in": "query"
  4186. },
  4187. {
  4188. "type": "string",
  4189. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4190. "name": "applystatus",
  4191. "in": "query"
  4192. }
  4193. ],
  4194. "responses": {
  4195. "200": {
  4196. "description": "OK",
  4197. "schema": {
  4198. "type": "array",
  4199. "items": {
  4200. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  4201. }
  4202. }
  4203. },
  4204. "500": {
  4205. "description": "Internal Server Error",
  4206. "schema": {
  4207. "$ref": "#/definitions/app.Response"
  4208. }
  4209. }
  4210. }
  4211. }
  4212. },
  4213. "/Ermcp3/QueryAreaStockApplySum": {
  4214. "get": {
  4215. "security": [
  4216. {
  4217. "ApiKeyAuth": []
  4218. }
  4219. ],
  4220. "produces": [
  4221. "application/json"
  4222. ],
  4223. "tags": [
  4224. "企业风险管理v3(app)"
  4225. ],
  4226. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  4227. "parameters": [
  4228. {
  4229. "type": "integer",
  4230. "description": "合同ID",
  4231. "name": "spotcontractid",
  4232. "in": "query",
  4233. "required": true
  4234. }
  4235. ],
  4236. "responses": {
  4237. "200": {
  4238. "description": "OK",
  4239. "schema": {
  4240. "type": "array",
  4241. "items": {
  4242. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4243. }
  4244. }
  4245. },
  4246. "500": {
  4247. "description": "Internal Server Error",
  4248. "schema": {
  4249. "$ref": "#/definitions/app.Response"
  4250. }
  4251. }
  4252. }
  4253. }
  4254. },
  4255. "/Ermcp3/QueryDGFactoryItem": {
  4256. "get": {
  4257. "security": [
  4258. {
  4259. "ApiKeyAuth": []
  4260. }
  4261. ],
  4262. "produces": [
  4263. "application/json"
  4264. ],
  4265. "tags": [
  4266. "企业风险管理v3(app)"
  4267. ],
  4268. "summary": "查询品种要素定义项",
  4269. "parameters": [
  4270. {
  4271. "type": "integer",
  4272. "description": "用户id",
  4273. "name": "userid",
  4274. "in": "query"
  4275. },
  4276. {
  4277. "type": "integer",
  4278. "description": "用户类型 2-机构 7-企业成员",
  4279. "name": "usertype",
  4280. "in": "query"
  4281. },
  4282. {
  4283. "type": "integer",
  4284. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4285. "name": "dgfactoryitemid",
  4286. "in": "query"
  4287. },
  4288. {
  4289. "type": "integer",
  4290. "description": "现货品种ID",
  4291. "name": "deliverygoodsid",
  4292. "in": "query"
  4293. },
  4294. {
  4295. "type": "integer",
  4296. "description": "要素项类型",
  4297. "name": "dgfactoryitemtypeid",
  4298. "in": "query"
  4299. },
  4300. {
  4301. "type": "integer",
  4302. "description": "顺序",
  4303. "name": "orderindex",
  4304. "in": "query"
  4305. }
  4306. ],
  4307. "responses": {
  4308. "200": {
  4309. "description": "OK",
  4310. "schema": {
  4311. "type": "array",
  4312. "items": {
  4313. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4314. }
  4315. }
  4316. },
  4317. "500": {
  4318. "description": "Internal Server Error",
  4319. "schema": {
  4320. "$ref": "#/definitions/app.Response"
  4321. }
  4322. }
  4323. }
  4324. }
  4325. },
  4326. "/Ermcp3/QueryDeliveryGoods": {
  4327. "get": {
  4328. "security": [
  4329. {
  4330. "ApiKeyAuth": []
  4331. }
  4332. ],
  4333. "produces": [
  4334. "application/json"
  4335. ],
  4336. "tags": [
  4337. "企业风险管理v3(app)"
  4338. ],
  4339. "summary": "查询现货商品",
  4340. "parameters": [
  4341. {
  4342. "type": "integer",
  4343. "description": "用户id",
  4344. "name": "userid",
  4345. "in": "query",
  4346. "required": true
  4347. },
  4348. {
  4349. "type": "integer",
  4350. "description": "用户类型 2-机构 7-企业成员",
  4351. "name": "usertype",
  4352. "in": "query"
  4353. },
  4354. {
  4355. "type": "integer",
  4356. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4357. "name": "excludecfg",
  4358. "in": "query"
  4359. }
  4360. ],
  4361. "responses": {
  4362. "200": {
  4363. "description": "OK",
  4364. "schema": {
  4365. "type": "array",
  4366. "items": {
  4367. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4368. }
  4369. }
  4370. },
  4371. "500": {
  4372. "description": "Internal Server Error",
  4373. "schema": {
  4374. "$ref": "#/definitions/app.Response"
  4375. }
  4376. }
  4377. }
  4378. }
  4379. },
  4380. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4381. "get": {
  4382. "security": [
  4383. {
  4384. "ApiKeyAuth": []
  4385. }
  4386. ],
  4387. "produces": [
  4388. "application/json"
  4389. ],
  4390. "tags": [
  4391. "企业风险管理v3(app)"
  4392. ],
  4393. "summary": "查询现货商品详情",
  4394. "parameters": [
  4395. {
  4396. "type": "integer",
  4397. "description": "用户id",
  4398. "name": "userid",
  4399. "in": "query",
  4400. "required": true
  4401. },
  4402. {
  4403. "type": "integer",
  4404. "description": "用户类型 2-机构 7-企业成员",
  4405. "name": "usertype",
  4406. "in": "query"
  4407. },
  4408. {
  4409. "type": "integer",
  4410. "description": "现货商品id",
  4411. "name": "deliverygoodsid",
  4412. "in": "query"
  4413. },
  4414. {
  4415. "type": "integer",
  4416. "description": "过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示",
  4417. "name": "filtersubempty",
  4418. "in": "query"
  4419. }
  4420. ],
  4421. "responses": {
  4422. "200": {
  4423. "description": "OK",
  4424. "schema": {
  4425. "type": "array",
  4426. "items": {
  4427. "$ref": "#/definitions/models.XHDeliveryGoods"
  4428. }
  4429. }
  4430. },
  4431. "500": {
  4432. "description": "Internal Server Error",
  4433. "schema": {
  4434. "$ref": "#/definitions/app.Response"
  4435. }
  4436. }
  4437. }
  4438. }
  4439. },
  4440. "/Ermcp3/QueryErmcp3ContractMiddleGoodsCfg": {
  4441. "get": {
  4442. "security": [
  4443. {
  4444. "ApiKeyAuth": []
  4445. }
  4446. ],
  4447. "produces": [
  4448. "application/json"
  4449. ],
  4450. "tags": [
  4451. "企业风险管理v3(app)"
  4452. ],
  4453. "summary": "查询现货合同期现配置信息",
  4454. "parameters": [
  4455. {
  4456. "type": "string",
  4457. "description": "合同id",
  4458. "name": "spotcontractid",
  4459. "in": "query",
  4460. "required": true
  4461. }
  4462. ],
  4463. "responses": {
  4464. "200": {
  4465. "description": "OK",
  4466. "schema": {
  4467. "type": "array",
  4468. "items": {
  4469. "$ref": "#/definitions/models.Ermcp3ContractMiddleGoodsCfg"
  4470. }
  4471. }
  4472. },
  4473. "500": {
  4474. "description": "Internal Server Error",
  4475. "schema": {
  4476. "$ref": "#/definitions/app.Response"
  4477. }
  4478. }
  4479. }
  4480. }
  4481. },
  4482. "/Ermcp3/QueryExposureDetail": {
  4483. "get": {
  4484. "security": [
  4485. {
  4486. "ApiKeyAuth": []
  4487. }
  4488. ],
  4489. "produces": [
  4490. "application/json"
  4491. ],
  4492. "tags": [
  4493. "企业风险管理v3(app)"
  4494. ],
  4495. "summary": "查询敞口现货明细",
  4496. "parameters": [
  4497. {
  4498. "type": "integer",
  4499. "description": "用户id",
  4500. "name": "userid",
  4501. "in": "query",
  4502. "required": true
  4503. },
  4504. {
  4505. "type": "integer",
  4506. "description": "用户类型 2-机构 7-企业成员",
  4507. "name": "usertype",
  4508. "in": "query"
  4509. },
  4510. {
  4511. "type": "integer",
  4512. "description": "套保商品",
  4513. "name": "middlegoodsid",
  4514. "in": "query",
  4515. "required": true
  4516. }
  4517. ],
  4518. "responses": {
  4519. "200": {
  4520. "description": "OK",
  4521. "schema": {
  4522. "type": "array",
  4523. "items": {
  4524. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4525. }
  4526. }
  4527. },
  4528. "500": {
  4529. "description": "Internal Server Error",
  4530. "schema": {
  4531. "$ref": "#/definitions/app.Response"
  4532. }
  4533. }
  4534. }
  4535. }
  4536. },
  4537. "/Ermcp3/QueryExposureSpot": {
  4538. "get": {
  4539. "security": [
  4540. {
  4541. "ApiKeyAuth": []
  4542. }
  4543. ],
  4544. "produces": [
  4545. "application/json"
  4546. ],
  4547. "tags": [
  4548. "企业风险管理v3(app)"
  4549. ],
  4550. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4551. "parameters": [
  4552. {
  4553. "type": "integer",
  4554. "description": "用户id",
  4555. "name": "userid",
  4556. "in": "query",
  4557. "required": true
  4558. },
  4559. {
  4560. "type": "integer",
  4561. "description": "用户类型 2-机构 7-企业成员",
  4562. "name": "usertype",
  4563. "in": "query"
  4564. }
  4565. ],
  4566. "responses": {
  4567. "200": {
  4568. "description": "OK",
  4569. "schema": {
  4570. "type": "array",
  4571. "items": {
  4572. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4573. }
  4574. }
  4575. },
  4576. "500": {
  4577. "description": "Internal Server Error",
  4578. "schema": {
  4579. "$ref": "#/definitions/app.Response"
  4580. }
  4581. }
  4582. }
  4583. }
  4584. },
  4585. "/Ermcp3/QueryExposureSpotDetail": {
  4586. "get": {
  4587. "security": [
  4588. {
  4589. "ApiKeyAuth": []
  4590. }
  4591. ],
  4592. "produces": [
  4593. "application/json"
  4594. ],
  4595. "tags": [
  4596. "企业风险管理v3(app)"
  4597. ],
  4598. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4599. "parameters": [
  4600. {
  4601. "type": "integer",
  4602. "description": "用户id",
  4603. "name": "userid",
  4604. "in": "query",
  4605. "required": true
  4606. },
  4607. {
  4608. "type": "integer",
  4609. "description": "用户类型 2-机构 7-企业成员",
  4610. "name": "usertype",
  4611. "in": "query"
  4612. },
  4613. {
  4614. "type": "integer",
  4615. "description": "现货商品ID",
  4616. "name": "wrstandardid",
  4617. "in": "query",
  4618. "required": true
  4619. }
  4620. ],
  4621. "responses": {
  4622. "200": {
  4623. "description": "OK",
  4624. "schema": {
  4625. "type": "array",
  4626. "items": {
  4627. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4628. }
  4629. }
  4630. },
  4631. "500": {
  4632. "description": "Internal Server Error",
  4633. "schema": {
  4634. "$ref": "#/definitions/app.Response"
  4635. }
  4636. }
  4637. }
  4638. }
  4639. },
  4640. "/Ermcp3/QueryGoodsGroup": {
  4641. "get": {
  4642. "security": [
  4643. {
  4644. "ApiKeyAuth": []
  4645. }
  4646. ],
  4647. "produces": [
  4648. "application/json"
  4649. ],
  4650. "tags": [
  4651. "企业风险管理v3(app)"
  4652. ],
  4653. "summary": "查询期货商品组",
  4654. "parameters": [
  4655. {
  4656. "type": "integer",
  4657. "description": "用户id",
  4658. "name": "userid",
  4659. "in": "query",
  4660. "required": true
  4661. },
  4662. {
  4663. "type": "integer",
  4664. "description": "用户类型 2-机构 7-企业成员",
  4665. "name": "usertype",
  4666. "in": "query"
  4667. },
  4668. {
  4669. "type": "integer",
  4670. "description": "排除套保品中已关联的商品组 1-排除",
  4671. "name": "excludecfg",
  4672. "in": "query"
  4673. }
  4674. ],
  4675. "responses": {
  4676. "200": {
  4677. "description": "OK",
  4678. "schema": {
  4679. "type": "array",
  4680. "items": {
  4681. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4682. }
  4683. }
  4684. },
  4685. "500": {
  4686. "description": "Internal Server Error",
  4687. "schema": {
  4688. "$ref": "#/definitions/app.Response"
  4689. }
  4690. }
  4691. }
  4692. }
  4693. },
  4694. "/Ermcp3/QueryGoodsWrstandard": {
  4695. "get": {
  4696. "security": [
  4697. {
  4698. "ApiKeyAuth": []
  4699. }
  4700. ],
  4701. "produces": [
  4702. "application/json"
  4703. ],
  4704. "tags": [
  4705. "企业风险管理v3(app)"
  4706. ],
  4707. "summary": "查询商品品类",
  4708. "parameters": [
  4709. {
  4710. "type": "integer",
  4711. "description": "用户id",
  4712. "name": "userid",
  4713. "in": "query",
  4714. "required": true
  4715. },
  4716. {
  4717. "type": "integer",
  4718. "description": "用户类型 2-机构 7-企业成员",
  4719. "name": "usertype",
  4720. "in": "query"
  4721. },
  4722. {
  4723. "type": "integer",
  4724. "description": "现货商品id",
  4725. "name": "deliverygoodsid",
  4726. "in": "query"
  4727. }
  4728. ],
  4729. "responses": {
  4730. "200": {
  4731. "description": "OK",
  4732. "schema": {
  4733. "type": "array",
  4734. "items": {
  4735. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4736. }
  4737. }
  4738. },
  4739. "500": {
  4740. "description": "Internal Server Error",
  4741. "schema": {
  4742. "$ref": "#/definitions/app.Response"
  4743. }
  4744. }
  4745. }
  4746. }
  4747. },
  4748. "/Ermcp3/QueryGoodsbrand": {
  4749. "get": {
  4750. "security": [
  4751. {
  4752. "ApiKeyAuth": []
  4753. }
  4754. ],
  4755. "produces": [
  4756. "application/json"
  4757. ],
  4758. "tags": [
  4759. "企业风险管理v3(app)"
  4760. ],
  4761. "summary": "查询商品品牌",
  4762. "parameters": [
  4763. {
  4764. "type": "integer",
  4765. "description": "用户id",
  4766. "name": "userid",
  4767. "in": "query",
  4768. "required": true
  4769. },
  4770. {
  4771. "type": "integer",
  4772. "description": "用户类型 2-机构 7-企业成员",
  4773. "name": "usertype",
  4774. "in": "query"
  4775. }
  4776. ],
  4777. "responses": {
  4778. "200": {
  4779. "description": "OK",
  4780. "schema": {
  4781. "type": "array",
  4782. "items": {
  4783. "$ref": "#/definitions/models.Ermcp3Brand"
  4784. }
  4785. }
  4786. },
  4787. "500": {
  4788. "description": "Internal Server Error",
  4789. "schema": {
  4790. "$ref": "#/definitions/app.Response"
  4791. }
  4792. }
  4793. }
  4794. }
  4795. },
  4796. "/Ermcp3/QueryHPMiddleGoods": {
  4797. "get": {
  4798. "security": [
  4799. {
  4800. "ApiKeyAuth": []
  4801. }
  4802. ],
  4803. "produces": [
  4804. "application/json"
  4805. ],
  4806. "tags": [
  4807. "企业风险管理v3(app)"
  4808. ],
  4809. "summary": "查询可关联套保计划",
  4810. "parameters": [
  4811. {
  4812. "type": "integer",
  4813. "description": "用户ID(填登录用户的userid)",
  4814. "name": "userid",
  4815. "in": "query",
  4816. "required": true
  4817. },
  4818. {
  4819. "type": "integer",
  4820. "description": "买卖方向 0-买 1-卖",
  4821. "name": "buyorsell",
  4822. "in": "query",
  4823. "required": true
  4824. },
  4825. {
  4826. "type": "integer",
  4827. "description": "商品组id",
  4828. "name": "goodsgroupid",
  4829. "in": "query",
  4830. "required": true
  4831. },
  4832. {
  4833. "type": "string",
  4834. "description": "套保计划编号(模糊匹配)",
  4835. "name": "hedgeplanno",
  4836. "in": "query"
  4837. },
  4838. {
  4839. "type": "string",
  4840. "description": "现货商品名称(模糊匹配)",
  4841. "name": "wrstandardname",
  4842. "in": "query"
  4843. }
  4844. ],
  4845. "responses": {
  4846. "200": {
  4847. "description": "OK",
  4848. "schema": {
  4849. "type": "array",
  4850. "items": {
  4851. "$ref": "#/definitions/models.Ermcp3HPMiddleGoods"
  4852. }
  4853. }
  4854. },
  4855. "500": {
  4856. "description": "Internal Server Error",
  4857. "schema": {
  4858. "$ref": "#/definitions/app.Response"
  4859. }
  4860. }
  4861. }
  4862. }
  4863. },
  4864. "/Ermcp3/QueryHedgePlan": {
  4865. "get": {
  4866. "security": [
  4867. {
  4868. "ApiKeyAuth": []
  4869. }
  4870. ],
  4871. "produces": [
  4872. "application/json"
  4873. ],
  4874. "tags": [
  4875. "企业风险管理v3(app)"
  4876. ],
  4877. "summary": "查询套保计划",
  4878. "parameters": [
  4879. {
  4880. "type": "integer",
  4881. "description": "用户ID",
  4882. "name": "userid",
  4883. "in": "query",
  4884. "required": true
  4885. },
  4886. {
  4887. "type": "integer",
  4888. "description": "用户类型 2-机构 7-企业成员",
  4889. "name": "usertype",
  4890. "in": "query"
  4891. },
  4892. {
  4893. "type": "string",
  4894. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4895. "name": "hedgeplanstatus",
  4896. "in": "query",
  4897. "required": true
  4898. }
  4899. ],
  4900. "responses": {
  4901. "200": {
  4902. "description": "OK",
  4903. "schema": {
  4904. "type": "array",
  4905. "items": {
  4906. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4907. }
  4908. }
  4909. },
  4910. "500": {
  4911. "description": "Internal Server Error",
  4912. "schema": {
  4913. "$ref": "#/definitions/app.Response"
  4914. }
  4915. }
  4916. }
  4917. }
  4918. },
  4919. "/Ermcp3/QueryInnerTradeLink": {
  4920. "get": {
  4921. "security": [
  4922. {
  4923. "ApiKeyAuth": []
  4924. }
  4925. ],
  4926. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  4927. "produces": [
  4928. "application/json"
  4929. ],
  4930. "tags": [
  4931. "企业风险管理v3(app)"
  4932. ],
  4933. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  4934. "parameters": [
  4935. {
  4936. "type": "integer",
  4937. "description": "外部成交单号",
  4938. "name": "outtradeid",
  4939. "in": "query",
  4940. "required": true
  4941. }
  4942. ],
  4943. "responses": {
  4944. "200": {
  4945. "description": "OK",
  4946. "schema": {
  4947. "type": "array",
  4948. "items": {
  4949. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  4950. }
  4951. }
  4952. },
  4953. "500": {
  4954. "description": "Internal Server Error",
  4955. "schema": {
  4956. "$ref": "#/definitions/app.Response"
  4957. }
  4958. }
  4959. }
  4960. }
  4961. },
  4962. "/Ermcp3/QueryMiddleGoodsDetail": {
  4963. "get": {
  4964. "security": [
  4965. {
  4966. "ApiKeyAuth": []
  4967. }
  4968. ],
  4969. "produces": [
  4970. "application/json"
  4971. ],
  4972. "tags": [
  4973. "企业风险管理v3(app)"
  4974. ],
  4975. "summary": "查询套保品种详情(套保品种/商品详情)",
  4976. "parameters": [
  4977. {
  4978. "type": "integer",
  4979. "description": "用户id",
  4980. "name": "userid",
  4981. "in": "query",
  4982. "required": true
  4983. },
  4984. {
  4985. "type": "integer",
  4986. "description": "用户类型 2-机构 7-企业成员",
  4987. "name": "usertype",
  4988. "in": "query"
  4989. },
  4990. {
  4991. "type": "integer",
  4992. "description": "套保品种id",
  4993. "name": "middlegoodsid",
  4994. "in": "query"
  4995. }
  4996. ],
  4997. "responses": {
  4998. "200": {
  4999. "description": "OK",
  5000. "schema": {
  5001. "type": "array",
  5002. "items": {
  5003. "$ref": "#/definitions/models.TBMiddleGoods"
  5004. }
  5005. }
  5006. },
  5007. "500": {
  5008. "description": "Internal Server Error",
  5009. "schema": {
  5010. "$ref": "#/definitions/app.Response"
  5011. }
  5012. }
  5013. }
  5014. }
  5015. },
  5016. "/Ermcp3/QueryOutTradeLink": {
  5017. "get": {
  5018. "security": [
  5019. {
  5020. "ApiKeyAuth": []
  5021. }
  5022. ],
  5023. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  5024. "produces": [
  5025. "application/json"
  5026. ],
  5027. "tags": [
  5028. "企业风险管理v3(app)"
  5029. ],
  5030. "summary": "查询外部成交单关联",
  5031. "parameters": [
  5032. {
  5033. "type": "integer",
  5034. "description": "用户ID(填登录用户的userid)",
  5035. "name": "userid",
  5036. "in": "query",
  5037. "required": true
  5038. },
  5039. {
  5040. "type": "string",
  5041. "description": "外部订单号(模糊匹配)",
  5042. "name": "outtradeid",
  5043. "in": "query"
  5044. },
  5045. {
  5046. "type": "string",
  5047. "description": "合约名称/代码(模糊匹配)",
  5048. "name": "goodsname",
  5049. "in": "query"
  5050. },
  5051. {
  5052. "type": "integer",
  5053. "description": "关联状态 0-未关联 1-已关联",
  5054. "name": "hasinnerorder",
  5055. "in": "query"
  5056. }
  5057. ],
  5058. "responses": {
  5059. "200": {
  5060. "description": "OK",
  5061. "schema": {
  5062. "type": "array",
  5063. "items": {
  5064. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  5065. }
  5066. }
  5067. },
  5068. "500": {
  5069. "description": "Internal Server Error",
  5070. "schema": {
  5071. "$ref": "#/definitions/app.Response"
  5072. }
  5073. }
  5074. }
  5075. }
  5076. },
  5077. "/Ermcp3/QueryPaAreaAuditCfg": {
  5078. "get": {
  5079. "security": [
  5080. {
  5081. "ApiKeyAuth": []
  5082. }
  5083. ],
  5084. "produces": [
  5085. "application/json"
  5086. ],
  5087. "tags": [
  5088. "企业风险管理v3(app)"
  5089. ],
  5090. "summary": "查询审核设置",
  5091. "parameters": [
  5092. {
  5093. "type": "integer",
  5094. "description": "用户id",
  5095. "name": "userid",
  5096. "in": "query",
  5097. "required": true
  5098. }
  5099. ],
  5100. "responses": {
  5101. "200": {
  5102. "description": "OK",
  5103. "schema": {
  5104. "type": "array",
  5105. "items": {
  5106. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  5107. }
  5108. }
  5109. },
  5110. "500": {
  5111. "description": "Internal Server Error",
  5112. "schema": {
  5113. "$ref": "#/definitions/app.Response"
  5114. }
  5115. }
  5116. }
  5117. }
  5118. },
  5119. "/Ermcp3/QueryPaAreaSubject": {
  5120. "get": {
  5121. "security": [
  5122. {
  5123. "ApiKeyAuth": []
  5124. }
  5125. ],
  5126. "produces": [
  5127. "application/json"
  5128. ],
  5129. "tags": [
  5130. "企业风险管理v3(app)"
  5131. ],
  5132. "summary": "查询交易主体",
  5133. "parameters": [
  5134. {
  5135. "type": "integer",
  5136. "description": "用户id",
  5137. "name": "userid",
  5138. "in": "query",
  5139. "required": true
  5140. },
  5141. {
  5142. "type": "integer",
  5143. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  5144. "name": "subjectid",
  5145. "in": "query"
  5146. },
  5147. {
  5148. "type": "integer",
  5149. "description": "主体类型 - 1:交易主体 2:业务部门",
  5150. "name": "subjecttype",
  5151. "in": "query"
  5152. },
  5153. {
  5154. "type": "integer",
  5155. "description": "主体状态 - 1:正常 2: 停用",
  5156. "name": "subjectstatus",
  5157. "in": "query"
  5158. }
  5159. ],
  5160. "responses": {
  5161. "200": {
  5162. "description": "OK",
  5163. "schema": {
  5164. "type": "array",
  5165. "items": {
  5166. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  5167. }
  5168. }
  5169. },
  5170. "500": {
  5171. "description": "Internal Server Error",
  5172. "schema": {
  5173. "$ref": "#/definitions/app.Response"
  5174. }
  5175. }
  5176. }
  5177. }
  5178. },
  5179. "/Ermcp3/QueryPaTradeLink": {
  5180. "get": {
  5181. "security": [
  5182. {
  5183. "ApiKeyAuth": []
  5184. }
  5185. ],
  5186. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  5187. "produces": [
  5188. "application/json"
  5189. ],
  5190. "tags": [
  5191. "企业风险管理v3(app)"
  5192. ],
  5193. "summary": "查询期现单据关联",
  5194. "parameters": [
  5195. {
  5196. "type": "integer",
  5197. "description": "用户ID",
  5198. "name": "userid",
  5199. "in": "query",
  5200. "required": true
  5201. }
  5202. ],
  5203. "responses": {
  5204. "200": {
  5205. "description": "OK",
  5206. "schema": {
  5207. "type": "array",
  5208. "items": {
  5209. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  5210. }
  5211. }
  5212. },
  5213. "500": {
  5214. "description": "Internal Server Error",
  5215. "schema": {
  5216. "$ref": "#/definitions/app.Response"
  5217. }
  5218. }
  5219. }
  5220. }
  5221. },
  5222. "/Ermcp3/QueryPaTradeLinkDetail": {
  5223. "get": {
  5224. "security": [
  5225. {
  5226. "ApiKeyAuth": []
  5227. }
  5228. ],
  5229. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  5230. "produces": [
  5231. "application/json"
  5232. ],
  5233. "tags": [
  5234. "企业风险管理v3(app)"
  5235. ],
  5236. "summary": "查询期现关联记录",
  5237. "parameters": [
  5238. {
  5239. "type": "integer",
  5240. "description": "用户ID(填登录用户的userid)",
  5241. "name": "userid",
  5242. "in": "query",
  5243. "required": true
  5244. },
  5245. {
  5246. "type": "integer",
  5247. "description": "关联状态 1:成功 2:失败 3:解绑",
  5248. "name": "linkstatus",
  5249. "in": "query"
  5250. },
  5251. {
  5252. "type": "string",
  5253. "description": "期货订单号(模糊匹配)",
  5254. "name": "tradeid",
  5255. "in": "query"
  5256. },
  5257. {
  5258. "type": "string",
  5259. "description": "现货编号(模糊匹配)",
  5260. "name": "contractno",
  5261. "in": "query"
  5262. },
  5263. {
  5264. "type": "string",
  5265. "description": "期货账户(模糊匹配)",
  5266. "name": "taname",
  5267. "in": "query"
  5268. }
  5269. ],
  5270. "responses": {
  5271. "200": {
  5272. "description": "OK",
  5273. "schema": {
  5274. "type": "array",
  5275. "items": {
  5276. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  5277. }
  5278. }
  5279. },
  5280. "500": {
  5281. "description": "Internal Server Error",
  5282. "schema": {
  5283. "$ref": "#/definitions/app.Response"
  5284. }
  5285. }
  5286. }
  5287. }
  5288. },
  5289. "/Ermcp3/QueryParamChangeApp": {
  5290. "get": {
  5291. "security": [
  5292. {
  5293. "ApiKeyAuth": []
  5294. }
  5295. ],
  5296. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  5297. "produces": [
  5298. "application/json"
  5299. ],
  5300. "tags": [
  5301. "企业风险管理v3(app)"
  5302. ],
  5303. "summary": "查询现货商品参数变更申请(流水)",
  5304. "parameters": [
  5305. {
  5306. "type": "integer",
  5307. "description": "用户ID",
  5308. "name": "userid",
  5309. "in": "query",
  5310. "required": true
  5311. },
  5312. {
  5313. "type": "integer",
  5314. "description": "现货品种id",
  5315. "name": "deliverygoodsid",
  5316. "in": "query"
  5317. },
  5318. {
  5319. "type": "integer",
  5320. "description": "现货商品id",
  5321. "name": "wrstandardid",
  5322. "in": "query"
  5323. },
  5324. {
  5325. "type": "integer",
  5326. "description": "套保商品id",
  5327. "name": "middlegoodsid",
  5328. "in": "query"
  5329. },
  5330. {
  5331. "type": "integer",
  5332. "description": "操作类型 1:新增 2:修改",
  5333. "name": "operatetype",
  5334. "in": "query"
  5335. },
  5336. {
  5337. "type": "integer",
  5338. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  5339. "name": "paramchangetype",
  5340. "in": "query"
  5341. },
  5342. {
  5343. "type": "string",
  5344. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5345. "name": "ftstatus",
  5346. "in": "query"
  5347. }
  5348. ],
  5349. "responses": {
  5350. "200": {
  5351. "description": "OK",
  5352. "schema": {
  5353. "type": "array",
  5354. "items": {
  5355. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  5356. }
  5357. }
  5358. },
  5359. "500": {
  5360. "description": "Internal Server Error",
  5361. "schema": {
  5362. "$ref": "#/definitions/app.Response"
  5363. }
  5364. }
  5365. }
  5366. }
  5367. },
  5368. "/Ermcp3/QueryRootUserAccount": {
  5369. "get": {
  5370. "security": [
  5371. {
  5372. "ApiKeyAuth": []
  5373. }
  5374. ],
  5375. "produces": [
  5376. "application/json"
  5377. ],
  5378. "tags": [
  5379. "企业风险管理v3(app)"
  5380. ],
  5381. "summary": "查询顶级用户信息",
  5382. "parameters": [
  5383. {
  5384. "type": "integer",
  5385. "description": "用户ID",
  5386. "name": "userid",
  5387. "in": "query",
  5388. "required": true
  5389. }
  5390. ],
  5391. "responses": {
  5392. "200": {
  5393. "description": "OK",
  5394. "schema": {
  5395. "type": "array",
  5396. "items": {
  5397. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5398. }
  5399. }
  5400. },
  5401. "500": {
  5402. "description": "Internal Server Error",
  5403. "schema": {
  5404. "$ref": "#/definitions/app.Response"
  5405. }
  5406. }
  5407. }
  5408. }
  5409. },
  5410. "/Ermcp3/QuerySCMiddleGoods": {
  5411. "get": {
  5412. "security": [
  5413. {
  5414. "ApiKeyAuth": []
  5415. }
  5416. ],
  5417. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5418. "produces": [
  5419. "application/json"
  5420. ],
  5421. "tags": [
  5422. "企业风险管理v3(app)"
  5423. ],
  5424. "summary": "查询现货订单",
  5425. "parameters": [
  5426. {
  5427. "type": "integer",
  5428. "description": "用户ID(填登录用户的userid)",
  5429. "name": "userid",
  5430. "in": "query",
  5431. "required": true
  5432. },
  5433. {
  5434. "type": "integer",
  5435. "description": "买卖方向 0-买 1-卖",
  5436. "name": "buyorsell",
  5437. "in": "query",
  5438. "required": true
  5439. },
  5440. {
  5441. "type": "integer",
  5442. "description": "商品组id",
  5443. "name": "goodsgroupid",
  5444. "in": "query",
  5445. "required": true
  5446. },
  5447. {
  5448. "type": "integer",
  5449. "description": "业务类型 1:套保 2:套利",
  5450. "name": "biztype",
  5451. "in": "query"
  5452. },
  5453. {
  5454. "type": "string",
  5455. "description": "现货编号(模糊匹配)",
  5456. "name": "contractno",
  5457. "in": "query"
  5458. },
  5459. {
  5460. "type": "string",
  5461. "description": "对手方(模糊匹配)",
  5462. "name": "customername",
  5463. "in": "query"
  5464. },
  5465. {
  5466. "type": "string",
  5467. "description": "现货商品名称(模糊匹配)",
  5468. "name": "wrstandardname",
  5469. "in": "query"
  5470. }
  5471. ],
  5472. "responses": {
  5473. "200": {
  5474. "description": "OK",
  5475. "schema": {
  5476. "type": "array",
  5477. "items": {
  5478. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5479. }
  5480. }
  5481. },
  5482. "500": {
  5483. "description": "Internal Server Error",
  5484. "schema": {
  5485. "$ref": "#/definitions/app.Response"
  5486. }
  5487. }
  5488. }
  5489. }
  5490. },
  5491. "/Ermcp3/QuerySpotContract": {
  5492. "get": {
  5493. "security": [
  5494. {
  5495. "ApiKeyAuth": []
  5496. }
  5497. ],
  5498. "produces": [
  5499. "application/json"
  5500. ],
  5501. "tags": [
  5502. "企业风险管理v3(app)"
  5503. ],
  5504. "summary": "查询现货合同",
  5505. "parameters": [
  5506. {
  5507. "type": "integer",
  5508. "description": "用户id(当指定contractid, userid可不填)",
  5509. "name": "userid",
  5510. "in": "query",
  5511. "required": true
  5512. },
  5513. {
  5514. "type": "integer",
  5515. "description": "用户类型 2-机构 7-企业成员",
  5516. "name": "usertype",
  5517. "in": "query"
  5518. },
  5519. {
  5520. "type": "integer",
  5521. "description": "合同类型 1-采购, -1-销售",
  5522. "name": "contracttype",
  5523. "in": "query"
  5524. },
  5525. {
  5526. "type": "string",
  5527. "description": "查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成",
  5528. "name": "querytype",
  5529. "in": "query"
  5530. },
  5531. {
  5532. "type": "string",
  5533. "description": "合同ID(SpotContractId)",
  5534. "name": "contractid",
  5535. "in": "query"
  5536. },
  5537. {
  5538. "type": "string",
  5539. "description": "合同编号(模糊匹配)",
  5540. "name": "contractno",
  5541. "in": "query"
  5542. },
  5543. {
  5544. "type": "string",
  5545. "description": "商品名称(模糊匹配)",
  5546. "name": "wrstandardname",
  5547. "in": "query"
  5548. },
  5549. {
  5550. "type": "string",
  5551. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5552. "name": "status",
  5553. "in": "query"
  5554. },
  5555. {
  5556. "type": "integer",
  5557. "description": "是否只查今日的合同 1-查今日合同",
  5558. "name": "istoday",
  5559. "in": "query"
  5560. }
  5561. ],
  5562. "responses": {
  5563. "200": {
  5564. "description": "OK",
  5565. "schema": {
  5566. "type": "array",
  5567. "items": {
  5568. "$ref": "#/definitions/models.Ermcp3Contract"
  5569. }
  5570. }
  5571. },
  5572. "500": {
  5573. "description": "Internal Server Error",
  5574. "schema": {
  5575. "$ref": "#/definitions/app.Response"
  5576. }
  5577. }
  5578. }
  5579. }
  5580. },
  5581. "/Ermcp3/QuerySpotContractBS": {
  5582. "get": {
  5583. "security": [
  5584. {
  5585. "ApiKeyAuth": []
  5586. }
  5587. ],
  5588. "produces": [
  5589. "application/json"
  5590. ],
  5591. "tags": [
  5592. "企业风险管理v3(app)"
  5593. ],
  5594. "summary": "查询合同(采购/销售)",
  5595. "parameters": [
  5596. {
  5597. "type": "integer",
  5598. "description": "用户id",
  5599. "name": "userid",
  5600. "in": "query",
  5601. "required": true
  5602. },
  5603. {
  5604. "type": "integer",
  5605. "description": "用户类型 2-机构 7-企业成员",
  5606. "name": "usertype",
  5607. "in": "query"
  5608. },
  5609. {
  5610. "type": "integer",
  5611. "description": "合同类型 1-采购, -1-销售",
  5612. "name": "contracttype",
  5613. "in": "query",
  5614. "required": true
  5615. },
  5616. {
  5617. "type": "integer",
  5618. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5619. "name": "querytype",
  5620. "in": "query"
  5621. },
  5622. {
  5623. "type": "string",
  5624. "description": "合同ID(SpotContractId)",
  5625. "name": "contractid",
  5626. "in": "query"
  5627. },
  5628. {
  5629. "type": "string",
  5630. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5631. "name": "status",
  5632. "in": "query"
  5633. },
  5634. {
  5635. "type": "integer",
  5636. "description": "是否只查今日的合同 1-查今日合同",
  5637. "name": "istoday",
  5638. "in": "query"
  5639. }
  5640. ],
  5641. "responses": {
  5642. "200": {
  5643. "description": "OK",
  5644. "schema": {
  5645. "type": "array",
  5646. "items": {
  5647. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5648. }
  5649. }
  5650. },
  5651. "500": {
  5652. "description": "Internal Server Error",
  5653. "schema": {
  5654. "$ref": "#/definitions/app.Response"
  5655. }
  5656. }
  5657. }
  5658. }
  5659. },
  5660. "/Ermcp3/QuerySpotGoodsPrice": {
  5661. "get": {
  5662. "security": [
  5663. {
  5664. "ApiKeyAuth": []
  5665. }
  5666. ],
  5667. "produces": [
  5668. "application/json"
  5669. ],
  5670. "tags": [
  5671. "企业风险管理v3(app)"
  5672. ],
  5673. "summary": "查询现货市价(现货市价)",
  5674. "parameters": [
  5675. {
  5676. "type": "integer",
  5677. "description": "用户ID",
  5678. "name": "userid",
  5679. "in": "query",
  5680. "required": true
  5681. }
  5682. ],
  5683. "responses": {
  5684. "200": {
  5685. "description": "OK",
  5686. "schema": {
  5687. "type": "array",
  5688. "items": {
  5689. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5690. }
  5691. }
  5692. },
  5693. "500": {
  5694. "description": "Internal Server Error",
  5695. "schema": {
  5696. "$ref": "#/definitions/app.Response"
  5697. }
  5698. }
  5699. }
  5700. }
  5701. },
  5702. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5703. "get": {
  5704. "security": [
  5705. {
  5706. "ApiKeyAuth": []
  5707. }
  5708. ],
  5709. "produces": [
  5710. "application/json"
  5711. ],
  5712. "tags": [
  5713. "企业风险管理v3(app)"
  5714. ],
  5715. "summary": "查询现货市价详情(现货市价/详情)",
  5716. "parameters": [
  5717. {
  5718. "type": "integer",
  5719. "description": "用户ID",
  5720. "name": "userid",
  5721. "in": "query",
  5722. "required": true
  5723. },
  5724. {
  5725. "type": "integer",
  5726. "description": "现货商品ID",
  5727. "name": "deliverygoodsid",
  5728. "in": "query",
  5729. "required": true
  5730. },
  5731. {
  5732. "type": "integer",
  5733. "description": "品牌ID",
  5734. "name": "brandid",
  5735. "in": "query"
  5736. },
  5737. {
  5738. "type": "integer",
  5739. "description": "品类ID",
  5740. "name": "wrstandardid",
  5741. "in": "query"
  5742. }
  5743. ],
  5744. "responses": {
  5745. "200": {
  5746. "description": "OK",
  5747. "schema": {
  5748. "type": "array",
  5749. "items": {
  5750. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5751. }
  5752. }
  5753. },
  5754. "500": {
  5755. "description": "Internal Server Error",
  5756. "schema": {
  5757. "$ref": "#/definitions/app.Response"
  5758. }
  5759. }
  5760. }
  5761. }
  5762. },
  5763. "/Ermcp3/QuerySubTaaccount": {
  5764. "get": {
  5765. "security": [
  5766. {
  5767. "ApiKeyAuth": []
  5768. }
  5769. ],
  5770. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5771. "produces": [
  5772. "application/json"
  5773. ],
  5774. "tags": [
  5775. "企业风险管理v3(app)"
  5776. ],
  5777. "summary": "查询期货子账户",
  5778. "parameters": [
  5779. {
  5780. "type": "integer",
  5781. "description": "母账号id",
  5782. "name": "parentaccountid",
  5783. "in": "query"
  5784. },
  5785. {
  5786. "type": "string",
  5787. "description": "母账号代码",
  5788. "name": "parentaccountcode",
  5789. "in": "query"
  5790. }
  5791. ],
  5792. "responses": {
  5793. "200": {
  5794. "description": "OK",
  5795. "schema": {
  5796. "type": "array",
  5797. "items": {
  5798. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5799. }
  5800. }
  5801. },
  5802. "500": {
  5803. "description": "Internal Server Error",
  5804. "schema": {
  5805. "$ref": "#/definitions/app.Response"
  5806. }
  5807. }
  5808. }
  5809. }
  5810. },
  5811. "/Ermcp8/QueryERMCP2HedgedItemSpotDetail": {
  5812. "get": {
  5813. "security": [
  5814. {
  5815. "ApiKeyAuth": []
  5816. }
  5817. ],
  5818. "produces": [
  5819. "application/json"
  5820. ],
  5821. "tags": [
  5822. "企业风险管理v8"
  5823. ],
  5824. "summary": "现货成交明细查询",
  5825. "parameters": [
  5826. {
  5827. "type": "integer",
  5828. "description": "套期项目ID",
  5829. "name": "hedgeditemid",
  5830. "in": "query",
  5831. "required": true
  5832. }
  5833. ],
  5834. "responses": {
  5835. "200": {
  5836. "description": "OK",
  5837. "schema": {
  5838. "type": "array",
  5839. "items": {
  5840. "$ref": "#/definitions/models.Ermcp2hedgeditemspotDetail"
  5841. }
  5842. }
  5843. },
  5844. "500": {
  5845. "description": "Internal Server Error",
  5846. "schema": {
  5847. "$ref": "#/definitions/app.Response"
  5848. }
  5849. }
  5850. }
  5851. }
  5852. },
  5853. "/Ermcp8/QueryERMCP2HedgedItemspot": {
  5854. "get": {
  5855. "security": [
  5856. {
  5857. "ApiKeyAuth": []
  5858. }
  5859. ],
  5860. "produces": [
  5861. "application/json"
  5862. ],
  5863. "tags": [
  5864. "企业风险管理v8"
  5865. ],
  5866. "summary": "套期计划明细查询",
  5867. "parameters": [
  5868. {
  5869. "type": "integer",
  5870. "description": "套期项目ID",
  5871. "name": "hedgeditemid",
  5872. "in": "query",
  5873. "required": true
  5874. }
  5875. ],
  5876. "responses": {
  5877. "200": {
  5878. "description": "OK",
  5879. "schema": {
  5880. "type": "array",
  5881. "items": {
  5882. "$ref": "#/definitions/models.Ermcp2hedgeditemspot"
  5883. }
  5884. }
  5885. },
  5886. "500": {
  5887. "description": "Internal Server Error",
  5888. "schema": {
  5889. "$ref": "#/definitions/app.Response"
  5890. }
  5891. }
  5892. }
  5893. }
  5894. },
  5895. "/Ermcp8/QueryERMCPJRLinkPos": {
  5896. "get": {
  5897. "security": [
  5898. {
  5899. "ApiKeyAuth": []
  5900. }
  5901. ],
  5902. "produces": [
  5903. "application/json"
  5904. ],
  5905. "tags": [
  5906. "企业风险管理v8"
  5907. ],
  5908. "summary": "期货持仓明细查询",
  5909. "parameters": [
  5910. {
  5911. "type": "integer",
  5912. "description": "套期项目ID",
  5913. "name": "hedgeditemid",
  5914. "in": "query",
  5915. "required": true
  5916. }
  5917. ],
  5918. "responses": {
  5919. "200": {
  5920. "description": "OK",
  5921. "schema": {
  5922. "type": "array",
  5923. "items": {
  5924. "$ref": "#/definitions/models.Ermcpjrlinkpos"
  5925. }
  5926. }
  5927. },
  5928. "500": {
  5929. "description": "Internal Server Error",
  5930. "schema": {
  5931. "$ref": "#/definitions/app.Response"
  5932. }
  5933. }
  5934. }
  5935. }
  5936. },
  5937. "/Ermcp8/QueryERMCPPatradeLinkDetail": {
  5938. "get": {
  5939. "security": [
  5940. {
  5941. "ApiKeyAuth": []
  5942. }
  5943. ],
  5944. "produces": [
  5945. "application/json"
  5946. ],
  5947. "tags": [
  5948. "企业风险管理v8"
  5949. ],
  5950. "summary": "期货成交单明细查询",
  5951. "parameters": [
  5952. {
  5953. "type": "integer",
  5954. "description": "套期项目ID",
  5955. "name": "hedgeditemid",
  5956. "in": "query",
  5957. "required": true
  5958. }
  5959. ],
  5960. "responses": {
  5961. "200": {
  5962. "description": "OK",
  5963. "schema": {
  5964. "type": "array",
  5965. "items": {
  5966. "$ref": "#/definitions/models.Ermcppatradelinkdetail"
  5967. }
  5968. }
  5969. },
  5970. "500": {
  5971. "description": "Internal Server Error",
  5972. "schema": {
  5973. "$ref": "#/definitions/app.Response"
  5974. }
  5975. }
  5976. }
  5977. }
  5978. },
  5979. "/Ermcp8/QueryErmcp2AreaExposure": {
  5980. "get": {
  5981. "security": [
  5982. {
  5983. "ApiKeyAuth": []
  5984. }
  5985. ],
  5986. "produces": [
  5987. "application/json"
  5988. ],
  5989. "tags": [
  5990. "企业风险管理v8"
  5991. ],
  5992. "summary": "企业敞口查询",
  5993. "parameters": [
  5994. {
  5995. "type": "string",
  5996. "description": "用户ID",
  5997. "name": "userid",
  5998. "in": "query",
  5999. "required": true
  6000. }
  6001. ],
  6002. "responses": {
  6003. "200": {
  6004. "description": "OK",
  6005. "schema": {
  6006. "type": "array",
  6007. "items": {
  6008. "$ref": "#/definitions/models.Ermcp2AreaExposure"
  6009. }
  6010. }
  6011. },
  6012. "500": {
  6013. "description": "Internal Server Error",
  6014. "schema": {
  6015. "$ref": "#/definitions/app.Response"
  6016. }
  6017. }
  6018. }
  6019. }
  6020. },
  6021. "/Ermcp8/QueryErmcp2HedgedItem": {
  6022. "get": {
  6023. "security": [
  6024. {
  6025. "ApiKeyAuth": []
  6026. }
  6027. ],
  6028. "description": "已完成项目查询 -\u003e 项目状态 = 3:正常完结 or 5:异常完结",
  6029. "produces": [
  6030. "application/json"
  6031. ],
  6032. "tags": [
  6033. "企业风险管理v8"
  6034. ],
  6035. "summary": "查询被套期项目信息",
  6036. "parameters": [
  6037. {
  6038. "type": "string",
  6039. "description": "用户ID",
  6040. "name": "userid",
  6041. "in": "query",
  6042. "required": true
  6043. },
  6044. {
  6045. "type": "integer",
  6046. "description": "套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  6047. "name": "hedgedtype",
  6048. "in": "query"
  6049. },
  6050. {
  6051. "type": "integer",
  6052. "description": "项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6053. "name": "hedgeditemstatus",
  6054. "in": "query"
  6055. }
  6056. ],
  6057. "responses": {
  6058. "200": {
  6059. "description": "OK",
  6060. "schema": {
  6061. "type": "array",
  6062. "items": {
  6063. "$ref": "#/definitions/models.Ermcp2hedgeditem"
  6064. }
  6065. }
  6066. },
  6067. "500": {
  6068. "description": "Internal Server Error",
  6069. "schema": {
  6070. "$ref": "#/definitions/app.Response"
  6071. }
  6072. }
  6073. }
  6074. }
  6075. },
  6076. "/Ermcp8/QueryErmcp2HedgedItemLink": {
  6077. "get": {
  6078. "security": [
  6079. {
  6080. "ApiKeyAuth": []
  6081. }
  6082. ],
  6083. "produces": [
  6084. "application/json"
  6085. ],
  6086. "tags": [
  6087. "企业风险管理v8"
  6088. ],
  6089. "summary": "现货合同关联被套期项目查询",
  6090. "parameters": [
  6091. {
  6092. "type": "integer",
  6093. "description": "现货合同ID",
  6094. "name": "spotcontractid",
  6095. "in": "query",
  6096. "required": true
  6097. }
  6098. ],
  6099. "responses": {
  6100. "200": {
  6101. "description": "OK",
  6102. "schema": {
  6103. "type": "array",
  6104. "items": {
  6105. "$ref": "#/definitions/models.Ermcp2hedgeditemlink"
  6106. }
  6107. }
  6108. },
  6109. "500": {
  6110. "description": "Internal Server Error",
  6111. "schema": {
  6112. "$ref": "#/definitions/app.Response"
  6113. }
  6114. }
  6115. }
  6116. }
  6117. },
  6118. "/Ermcp8/QueryErmcp2HedgedItemsDetail": {
  6119. "get": {
  6120. "security": [
  6121. {
  6122. "ApiKeyAuth": []
  6123. }
  6124. ],
  6125. "produces": [
  6126. "application/json"
  6127. ],
  6128. "tags": [
  6129. "企业风险管理v8"
  6130. ],
  6131. "summary": "敞口明细 - 计划变动明细",
  6132. "parameters": [
  6133. {
  6134. "type": "integer",
  6135. "description": "用户ID",
  6136. "name": "userid",
  6137. "in": "query",
  6138. "required": true
  6139. },
  6140. {
  6141. "type": "integer",
  6142. "description": "套保品种ID",
  6143. "name": "middlegoodsid",
  6144. "in": "query",
  6145. "required": true
  6146. }
  6147. ],
  6148. "responses": {
  6149. "200": {
  6150. "description": "OK",
  6151. "schema": {
  6152. "type": "array",
  6153. "items": {
  6154. "$ref": "#/definitions/models.Ermcp2hedgeditemsDetail"
  6155. }
  6156. }
  6157. },
  6158. "500": {
  6159. "description": "Internal Server Error",
  6160. "schema": {
  6161. "$ref": "#/definitions/app.Response"
  6162. }
  6163. }
  6164. }
  6165. }
  6166. },
  6167. "/Ermcp8/QueryErmcp2StockSpotChangeLog": {
  6168. "get": {
  6169. "security": [
  6170. {
  6171. "ApiKeyAuth": []
  6172. }
  6173. ],
  6174. "produces": [
  6175. "application/json"
  6176. ],
  6177. "tags": [
  6178. "企业风险管理v8"
  6179. ],
  6180. "summary": "敞口明细 - 现货变动明细查询",
  6181. "parameters": [
  6182. {
  6183. "type": "integer",
  6184. "description": "用户ID",
  6185. "name": "userid",
  6186. "in": "query",
  6187. "required": true
  6188. },
  6189. {
  6190. "type": "integer",
  6191. "description": "套保品种ID",
  6192. "name": "middlegoodsid",
  6193. "in": "query",
  6194. "required": true
  6195. }
  6196. ],
  6197. "responses": {
  6198. "200": {
  6199. "description": "OK",
  6200. "schema": {
  6201. "type": "array",
  6202. "items": {
  6203. "$ref": "#/definitions/models.Ermcp2stockspotchangelog"
  6204. }
  6205. }
  6206. },
  6207. "500": {
  6208. "description": "Internal Server Error",
  6209. "schema": {
  6210. "$ref": "#/definitions/app.Response"
  6211. }
  6212. }
  6213. }
  6214. }
  6215. },
  6216. "/Ermcp8/QueryErmcp8EnableHedgeditem": {
  6217. "get": {
  6218. "security": [
  6219. {
  6220. "ApiKeyAuth": []
  6221. }
  6222. ],
  6223. "produces": [
  6224. "application/json"
  6225. ],
  6226. "tags": [
  6227. "企业风险管理v8"
  6228. ],
  6229. "summary": "可关联项目查询",
  6230. "parameters": [
  6231. {
  6232. "type": "integer",
  6233. "description": "用户ID",
  6234. "name": "userid",
  6235. "in": "query",
  6236. "required": true
  6237. },
  6238. {
  6239. "type": "integer",
  6240. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  6241. "name": "spottype",
  6242. "in": "query",
  6243. "required": true
  6244. },
  6245. {
  6246. "type": "integer",
  6247. "description": "现货商品ID",
  6248. "name": "wrstandardid",
  6249. "in": "query"
  6250. }
  6251. ],
  6252. "responses": {
  6253. "200": {
  6254. "description": "OK",
  6255. "schema": {
  6256. "type": "array",
  6257. "items": {
  6258. "$ref": "#/definitions/models.Ermcp8EnableHedgeditem"
  6259. }
  6260. }
  6261. },
  6262. "500": {
  6263. "description": "Internal Server Error",
  6264. "schema": {
  6265. "$ref": "#/definitions/app.Response"
  6266. }
  6267. }
  6268. }
  6269. }
  6270. },
  6271. "/Ermcp8/QueryErmcp8HedgeditemReport": {
  6272. "get": {
  6273. "security": [
  6274. {
  6275. "ApiKeyAuth": []
  6276. }
  6277. ],
  6278. "produces": [
  6279. "application/json"
  6280. ],
  6281. "tags": [
  6282. "企业风险管理v8"
  6283. ],
  6284. "summary": "套期项目报表查询",
  6285. "parameters": [
  6286. {
  6287. "type": "integer",
  6288. "description": "用户ID",
  6289. "name": "userid",
  6290. "in": "query",
  6291. "required": true
  6292. },
  6293. {
  6294. "type": "integer",
  6295. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  6296. "name": "cycletype",
  6297. "in": "query"
  6298. },
  6299. {
  6300. "type": "string",
  6301. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  6302. "name": "cycletime",
  6303. "in": "query",
  6304. "required": true
  6305. },
  6306. {
  6307. "type": "integer",
  6308. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  6309. "name": "hedgedtype",
  6310. "in": "query"
  6311. },
  6312. {
  6313. "type": "integer",
  6314. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6315. "name": "hedgeditemstatus",
  6316. "in": "query"
  6317. },
  6318. {
  6319. "type": "string",
  6320. "description": "项目编号,模糊查询",
  6321. "name": "hedgeditemnum",
  6322. "in": "query"
  6323. },
  6324. {
  6325. "type": "integer",
  6326. "description": "现货商品ID",
  6327. "name": "wrstandardid",
  6328. "in": "query"
  6329. }
  6330. ],
  6331. "responses": {
  6332. "200": {
  6333. "description": "OK",
  6334. "schema": {
  6335. "type": "array",
  6336. "items": {
  6337. "$ref": "#/definitions/models.Ermcp8HedgeditemReport"
  6338. }
  6339. }
  6340. },
  6341. "500": {
  6342. "description": "Internal Server Error",
  6343. "schema": {
  6344. "$ref": "#/definitions/app.Response"
  6345. }
  6346. }
  6347. }
  6348. }
  6349. },
  6350. "/Ermcp8/QueryErmcp8RunningHedgeditem": {
  6351. "get": {
  6352. "security": [
  6353. {
  6354. "ApiKeyAuth": []
  6355. }
  6356. ],
  6357. "produces": [
  6358. "application/json"
  6359. ],
  6360. "tags": [
  6361. "企业风险管理v8"
  6362. ],
  6363. "summary": "查询执行中项目查询信息",
  6364. "parameters": [
  6365. {
  6366. "type": "string",
  6367. "description": "用户ID",
  6368. "name": "userid",
  6369. "in": "query",
  6370. "required": true
  6371. }
  6372. ],
  6373. "responses": {
  6374. "200": {
  6375. "description": "OK",
  6376. "schema": {
  6377. "type": "array",
  6378. "items": {
  6379. "$ref": "#/definitions/models.Ermcp8RunningHedgeditem"
  6380. }
  6381. }
  6382. },
  6383. "500": {
  6384. "description": "Internal Server Error",
  6385. "schema": {
  6386. "$ref": "#/definitions/app.Response"
  6387. }
  6388. }
  6389. }
  6390. }
  6391. },
  6392. "/Ermcp8/QueryInternalEnableTradeDetail": {
  6393. "get": {
  6394. "security": [
  6395. {
  6396. "ApiKeyAuth": []
  6397. }
  6398. ],
  6399. "produces": [
  6400. "application/json"
  6401. ],
  6402. "tags": [
  6403. "企业风险管理v8"
  6404. ],
  6405. "summary": "内部成交单可关联项目查询",
  6406. "parameters": [
  6407. {
  6408. "type": "integer",
  6409. "description": "企业ID",
  6410. "name": "areauserid",
  6411. "in": "query",
  6412. "required": true
  6413. },
  6414. {
  6415. "type": "integer",
  6416. "description": "期货合约ID",
  6417. "name": "goodsid",
  6418. "in": "query",
  6419. "required": true
  6420. },
  6421. {
  6422. "type": "integer",
  6423. "description": "交易用户ID",
  6424. "name": "tradeuserid",
  6425. "in": "query",
  6426. "required": true
  6427. }
  6428. ],
  6429. "responses": {
  6430. "200": {
  6431. "description": "OK",
  6432. "schema": {
  6433. "type": "array",
  6434. "items": {
  6435. "$ref": "#/definitions/models.InternalEnableTradeDetail"
  6436. }
  6437. }
  6438. },
  6439. "500": {
  6440. "description": "Internal Server Error",
  6441. "schema": {
  6442. "$ref": "#/definitions/app.Response"
  6443. }
  6444. }
  6445. }
  6446. }
  6447. },
  6448. "/Ermcp8/QueryInternalUncorrelatedTradeDetail": {
  6449. "get": {
  6450. "security": [
  6451. {
  6452. "ApiKeyAuth": []
  6453. }
  6454. ],
  6455. "produces": [
  6456. "application/json"
  6457. ],
  6458. "tags": [
  6459. "企业风险管理v8"
  6460. ],
  6461. "summary": "内部未关联成交单查询",
  6462. "parameters": [
  6463. {
  6464. "type": "integer",
  6465. "description": "用户编号",
  6466. "name": "userid",
  6467. "in": "query",
  6468. "required": true
  6469. },
  6470. {
  6471. "type": "string",
  6472. "description": "起始日期(格式yyyymmdd)",
  6473. "name": "begindate",
  6474. "in": "query"
  6475. },
  6476. {
  6477. "type": "string",
  6478. "description": "终止日期(格式yyyymmdd)",
  6479. "name": "enddate",
  6480. "in": "query"
  6481. },
  6482. {
  6483. "type": "string",
  6484. "description": "合约代码",
  6485. "name": "goodscode",
  6486. "in": "query"
  6487. },
  6488. {
  6489. "type": "string",
  6490. "description": "合约名称",
  6491. "name": "goodsname",
  6492. "in": "query"
  6493. },
  6494. {
  6495. "type": "integer",
  6496. "description": "成交单号",
  6497. "name": "tradeid",
  6498. "in": "query"
  6499. },
  6500. {
  6501. "type": "integer",
  6502. "description": "方向 - 0:买 1:卖",
  6503. "name": "buyorsell",
  6504. "in": "query"
  6505. },
  6506. {
  6507. "type": "string",
  6508. "description": "套期主体",
  6509. "name": "accountname",
  6510. "in": "query"
  6511. }
  6512. ],
  6513. "responses": {
  6514. "200": {
  6515. "description": "OK",
  6516. "schema": {
  6517. "type": "array",
  6518. "items": {
  6519. "$ref": "#/definitions/models.InternalUncorrelatedTradeDetail"
  6520. }
  6521. }
  6522. },
  6523. "500": {
  6524. "description": "Internal Server Error",
  6525. "schema": {
  6526. "$ref": "#/definitions/app.Response"
  6527. }
  6528. }
  6529. }
  6530. }
  6531. },
  6532. "/Ermcp8/QueryMarketCalendar": {
  6533. "get": {
  6534. "security": [
  6535. {
  6536. "ApiKeyAuth": []
  6537. }
  6538. ],
  6539. "produces": [
  6540. "application/json"
  6541. ],
  6542. "tags": [
  6543. "企业风险管理v8"
  6544. ],
  6545. "summary": "市场节假日查询",
  6546. "parameters": [
  6547. {
  6548. "type": "integer",
  6549. "description": "市场ID",
  6550. "name": "marketid",
  6551. "in": "query"
  6552. }
  6553. ],
  6554. "responses": {
  6555. "200": {
  6556. "description": "OK",
  6557. "schema": {
  6558. "type": "array",
  6559. "items": {
  6560. "$ref": "#/definitions/models.Marketcalendar"
  6561. }
  6562. }
  6563. },
  6564. "500": {
  6565. "description": "Internal Server Error",
  6566. "schema": {
  6567. "$ref": "#/definitions/app.Response"
  6568. }
  6569. }
  6570. }
  6571. }
  6572. },
  6573. "/Ermcp8/QueryPatradeLinkDetail": {
  6574. "get": {
  6575. "security": [
  6576. {
  6577. "ApiKeyAuth": []
  6578. }
  6579. ],
  6580. "produces": [
  6581. "application/json"
  6582. ],
  6583. "tags": [
  6584. "企业风险管理v8"
  6585. ],
  6586. "summary": "敞口明细 - 期货变动明细",
  6587. "parameters": [
  6588. {
  6589. "type": "integer",
  6590. "description": "用户ID",
  6591. "name": "userid",
  6592. "in": "query",
  6593. "required": true
  6594. },
  6595. {
  6596. "type": "integer",
  6597. "description": "套保品种ID",
  6598. "name": "middlegoodsid",
  6599. "in": "query",
  6600. "required": true
  6601. }
  6602. ],
  6603. "responses": {
  6604. "200": {
  6605. "description": "OK",
  6606. "schema": {
  6607. "type": "array",
  6608. "items": {
  6609. "$ref": "#/definitions/models.Patradelinkdetail"
  6610. }
  6611. }
  6612. },
  6613. "500": {
  6614. "description": "Internal Server Error",
  6615. "schema": {
  6616. "$ref": "#/definitions/app.Response"
  6617. }
  6618. }
  6619. }
  6620. }
  6621. },
  6622. "/Ermcp8/QueryUnLinkErmcpHedgePlan": {
  6623. "get": {
  6624. "security": [
  6625. {
  6626. "ApiKeyAuth": []
  6627. }
  6628. ],
  6629. "produces": [
  6630. "application/json"
  6631. ],
  6632. "tags": [
  6633. "企业风险管理v8"
  6634. ],
  6635. "summary": "未关联购销计划",
  6636. "parameters": [
  6637. {
  6638. "type": "integer",
  6639. "description": "企业ID",
  6640. "name": "areauserid",
  6641. "in": "query",
  6642. "required": true
  6643. },
  6644. {
  6645. "type": "integer",
  6646. "description": "计划类型 - 1:采购 -1:销售",
  6647. "name": "contracttype",
  6648. "in": "query"
  6649. },
  6650. {
  6651. "type": "string",
  6652. "description": "计划编号,模糊查询",
  6653. "name": "hedgeplanno",
  6654. "in": "query"
  6655. },
  6656. {
  6657. "type": "string",
  6658. "description": "现货商品,模糊查询",
  6659. "name": "wrstandardname",
  6660. "in": "query"
  6661. }
  6662. ],
  6663. "responses": {
  6664. "200": {
  6665. "description": "OK",
  6666. "schema": {
  6667. "type": "array",
  6668. "items": {
  6669. "$ref": "#/definitions/models.Unlinkermcphedgeplan"
  6670. }
  6671. }
  6672. },
  6673. "500": {
  6674. "description": "Internal Server Error",
  6675. "schema": {
  6676. "$ref": "#/definitions/app.Response"
  6677. }
  6678. }
  6679. }
  6680. }
  6681. },
  6682. "/Ermcp8/QueryUnLinkSpotContract": {
  6683. "get": {
  6684. "security": [
  6685. {
  6686. "ApiKeyAuth": []
  6687. }
  6688. ],
  6689. "produces": [
  6690. "application/json"
  6691. ],
  6692. "tags": [
  6693. "企业风险管理v8"
  6694. ],
  6695. "summary": "未关联合同查询",
  6696. "parameters": [
  6697. {
  6698. "type": "integer",
  6699. "description": "用户ID",
  6700. "name": "userid",
  6701. "in": "query",
  6702. "required": true
  6703. },
  6704. {
  6705. "type": "integer",
  6706. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6707. "name": "pricetype",
  6708. "in": "query"
  6709. },
  6710. {
  6711. "type": "string",
  6712. "description": "合同编号, 模拟查询",
  6713. "name": "contractno",
  6714. "in": "query"
  6715. },
  6716. {
  6717. "type": "string",
  6718. "description": "对手方, 模拟查询",
  6719. "name": "customername",
  6720. "in": "query"
  6721. },
  6722. {
  6723. "type": "integer",
  6724. "description": "项合同类型 - 1:采购 -1:销售",
  6725. "name": "contracttype",
  6726. "in": "query"
  6727. }
  6728. ],
  6729. "responses": {
  6730. "200": {
  6731. "description": "OK",
  6732. "schema": {
  6733. "type": "array",
  6734. "items": {
  6735. "$ref": "#/definitions/models.ErmcpSpotContractModelEx"
  6736. }
  6737. }
  6738. },
  6739. "500": {
  6740. "description": "Internal Server Error",
  6741. "schema": {
  6742. "$ref": "#/definitions/app.Response"
  6743. }
  6744. }
  6745. }
  6746. }
  6747. },
  6748. "/Erms2/QueryArbitrageStrategy": {
  6749. "get": {
  6750. "security": [
  6751. {
  6752. "ApiKeyAuth": []
  6753. }
  6754. ],
  6755. "produces": [
  6756. "application/json"
  6757. ],
  6758. "tags": [
  6759. "风险管理"
  6760. ],
  6761. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  6762. "parameters": [
  6763. {
  6764. "type": "integer",
  6765. "description": "账户ID",
  6766. "name": "userid",
  6767. "in": "query",
  6768. "required": true
  6769. },
  6770. {
  6771. "type": "string",
  6772. "description": "商品组ID(品种ID)",
  6773. "name": "goodsgroupid",
  6774. "in": "query"
  6775. }
  6776. ],
  6777. "responses": {
  6778. "200": {
  6779. "description": "OK",
  6780. "schema": {
  6781. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  6782. }
  6783. },
  6784. "500": {
  6785. "description": "Internal Server Error",
  6786. "schema": {
  6787. "$ref": "#/definitions/app.Response"
  6788. }
  6789. }
  6790. }
  6791. }
  6792. },
  6793. "/Erms2/QueryInnerTradeDetail": {
  6794. "get": {
  6795. "security": [
  6796. {
  6797. "ApiKeyAuth": []
  6798. }
  6799. ],
  6800. "produces": [
  6801. "application/json"
  6802. ],
  6803. "tags": [
  6804. "风险管理"
  6805. ],
  6806. "summary": "查询内部成交单信息",
  6807. "parameters": [
  6808. {
  6809. "type": "integer",
  6810. "description": "资金账户",
  6811. "name": "accountid",
  6812. "in": "query",
  6813. "required": true
  6814. }
  6815. ],
  6816. "responses": {
  6817. "200": {
  6818. "description": "OK",
  6819. "schema": {
  6820. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  6821. }
  6822. },
  6823. "500": {
  6824. "description": "Internal Server Error",
  6825. "schema": {
  6826. "$ref": "#/definitions/app.Response"
  6827. }
  6828. }
  6829. }
  6830. }
  6831. },
  6832. "/Erms2/QuerySpotContract": {
  6833. "get": {
  6834. "security": [
  6835. {
  6836. "ApiKeyAuth": []
  6837. }
  6838. ],
  6839. "produces": [
  6840. "application/json"
  6841. ],
  6842. "tags": [
  6843. "风险管理"
  6844. ],
  6845. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  6846. "parameters": [
  6847. {
  6848. "type": "integer",
  6849. "description": "策略申请ID",
  6850. "name": "asapplyid",
  6851. "in": "query",
  6852. "required": true
  6853. },
  6854. {
  6855. "type": "integer",
  6856. "description": "现货合同ID",
  6857. "name": "spotcontractid",
  6858. "in": "query"
  6859. }
  6860. ],
  6861. "responses": {
  6862. "200": {
  6863. "description": "OK",
  6864. "schema": {
  6865. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  6866. }
  6867. },
  6868. "500": {
  6869. "description": "Internal Server Error",
  6870. "schema": {
  6871. "$ref": "#/definitions/app.Response"
  6872. }
  6873. }
  6874. }
  6875. }
  6876. },
  6877. "/Erms3/AddErms2ASApply": {
  6878. "post": {
  6879. "security": [
  6880. {
  6881. "ApiKeyAuth": []
  6882. }
  6883. ],
  6884. "produces": [
  6885. "application/json"
  6886. ],
  6887. "tags": [
  6888. "风险管理v3"
  6889. ],
  6890. "summary": "新增期现套利业务申请",
  6891. "parameters": [
  6892. {
  6893. "description": "申请参数",
  6894. "name": "jsonBody",
  6895. "in": "body",
  6896. "required": true,
  6897. "schema": {
  6898. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  6899. }
  6900. }
  6901. ],
  6902. "responses": {
  6903. "200": {
  6904. "description": "OK",
  6905. "schema": {
  6906. "$ref": "#/definitions/app.Response"
  6907. }
  6908. },
  6909. "500": {
  6910. "description": "Internal Server Error",
  6911. "schema": {
  6912. "$ref": "#/definitions/app.Response"
  6913. }
  6914. }
  6915. }
  6916. }
  6917. },
  6918. "/Erms3/AddErms2SpotTradeApply": {
  6919. "post": {
  6920. "security": [
  6921. {
  6922. "ApiKeyAuth": []
  6923. }
  6924. ],
  6925. "produces": [
  6926. "application/json"
  6927. ],
  6928. "tags": [
  6929. "风险管理v3"
  6930. ],
  6931. "summary": "新增现货贸易业务申请",
  6932. "parameters": [
  6933. {
  6934. "description": "申请参数",
  6935. "name": "jsonBody",
  6936. "in": "body",
  6937. "required": true,
  6938. "schema": {
  6939. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  6940. }
  6941. }
  6942. ],
  6943. "responses": {
  6944. "200": {
  6945. "description": "OK",
  6946. "schema": {
  6947. "$ref": "#/definitions/app.Response"
  6948. }
  6949. },
  6950. "500": {
  6951. "description": "Internal Server Error",
  6952. "schema": {
  6953. "$ref": "#/definitions/app.Response"
  6954. }
  6955. }
  6956. }
  6957. }
  6958. },
  6959. "/Erms3/AddSpotContractApply": {
  6960. "post": {
  6961. "security": [
  6962. {
  6963. "ApiKeyAuth": []
  6964. }
  6965. ],
  6966. "produces": [
  6967. "application/json"
  6968. ],
  6969. "tags": [
  6970. "风险管理v3"
  6971. ],
  6972. "summary": "新增现货合同申请",
  6973. "parameters": [
  6974. {
  6975. "description": "申请参数",
  6976. "name": "jsonBody",
  6977. "in": "body",
  6978. "required": true,
  6979. "schema": {
  6980. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  6981. }
  6982. }
  6983. ],
  6984. "responses": {
  6985. "200": {
  6986. "description": "OK",
  6987. "schema": {
  6988. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  6989. }
  6990. },
  6991. "500": {
  6992. "description": "Internal Server Error",
  6993. "schema": {
  6994. "$ref": "#/definitions/app.Response"
  6995. }
  6996. }
  6997. }
  6998. }
  6999. },
  7000. "/Erms3/AddUserInfoApply": {
  7001. "post": {
  7002. "security": [
  7003. {
  7004. "ApiKeyAuth": []
  7005. }
  7006. ],
  7007. "produces": [
  7008. "application/json"
  7009. ],
  7010. "tags": [
  7011. "风险管理v3"
  7012. ],
  7013. "summary": "新增客户申请",
  7014. "parameters": [
  7015. {
  7016. "description": "用户信息",
  7017. "name": "jsonBody",
  7018. "in": "body",
  7019. "required": true,
  7020. "schema": {
  7021. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  7022. }
  7023. }
  7024. ],
  7025. "responses": {
  7026. "200": {
  7027. "description": "OK",
  7028. "schema": {
  7029. "$ref": "#/definitions/app.Response"
  7030. }
  7031. },
  7032. "500": {
  7033. "description": "Internal Server Error",
  7034. "schema": {
  7035. "$ref": "#/definitions/app.Response"
  7036. }
  7037. }
  7038. }
  7039. }
  7040. },
  7041. "/Erms3/DeleteUserInfoApply": {
  7042. "get": {
  7043. "security": [
  7044. {
  7045. "ApiKeyAuth": []
  7046. }
  7047. ],
  7048. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  7049. "produces": [
  7050. "application/json"
  7051. ],
  7052. "tags": [
  7053. "风险管理v3"
  7054. ],
  7055. "summary": "删除客户申请",
  7056. "parameters": [
  7057. {
  7058. "type": "integer",
  7059. "description": "用户ID",
  7060. "name": "userID",
  7061. "in": "query",
  7062. "required": true
  7063. }
  7064. ],
  7065. "responses": {
  7066. "200": {
  7067. "description": "OK",
  7068. "schema": {
  7069. "$ref": "#/definitions/app.Response"
  7070. }
  7071. },
  7072. "500": {
  7073. "description": "Internal Server Error",
  7074. "schema": {
  7075. "$ref": "#/definitions/app.Response"
  7076. }
  7077. }
  7078. }
  7079. }
  7080. },
  7081. "/Erms3/ModifyUserInfoApply": {
  7082. "post": {
  7083. "security": [
  7084. {
  7085. "ApiKeyAuth": []
  7086. }
  7087. ],
  7088. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  7089. "produces": [
  7090. "application/json"
  7091. ],
  7092. "tags": [
  7093. "风险管理v3"
  7094. ],
  7095. "summary": "修改客户申请",
  7096. "parameters": [
  7097. {
  7098. "description": "用户信息",
  7099. "name": "jsonBody",
  7100. "in": "body",
  7101. "required": true,
  7102. "schema": {
  7103. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  7104. }
  7105. }
  7106. ],
  7107. "responses": {
  7108. "200": {
  7109. "description": "OK",
  7110. "schema": {
  7111. "$ref": "#/definitions/app.Response"
  7112. }
  7113. },
  7114. "500": {
  7115. "description": "Internal Server Error",
  7116. "schema": {
  7117. "$ref": "#/definitions/app.Response"
  7118. }
  7119. }
  7120. }
  7121. }
  7122. },
  7123. "/Erms3/QueryBusinessInfo": {
  7124. "get": {
  7125. "security": [
  7126. {
  7127. "ApiKeyAuth": []
  7128. }
  7129. ],
  7130. "produces": [
  7131. "application/json"
  7132. ],
  7133. "tags": [
  7134. "风险管理v3"
  7135. ],
  7136. "summary": "查询业务表单数据",
  7137. "parameters": [
  7138. {
  7139. "type": "string",
  7140. "description": "资金账号ID列表,用逗号分隔",
  7141. "name": "accountids",
  7142. "in": "query",
  7143. "required": true
  7144. },
  7145. {
  7146. "type": "integer",
  7147. "description": "状态,0为未结束 1为已结束",
  7148. "name": "status",
  7149. "in": "query",
  7150. "required": true
  7151. }
  7152. ],
  7153. "responses": {
  7154. "200": {
  7155. "description": "OK",
  7156. "schema": {
  7157. "type": "array",
  7158. "items": {
  7159. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  7160. }
  7161. }
  7162. },
  7163. "500": {
  7164. "description": "Internal Server Error",
  7165. "schema": {
  7166. "$ref": "#/definitions/app.Response"
  7167. }
  7168. }
  7169. }
  7170. }
  7171. },
  7172. "/Erms3/QueryPendingAuditContract": {
  7173. "get": {
  7174. "security": [
  7175. {
  7176. "ApiKeyAuth": []
  7177. }
  7178. ],
  7179. "produces": [
  7180. "application/json"
  7181. ],
  7182. "tags": [
  7183. "风险管理v3"
  7184. ],
  7185. "summary": "查询待审核合同",
  7186. "parameters": [
  7187. {
  7188. "type": "string",
  7189. "description": "资金账号ID列表,逗号隔开",
  7190. "name": "accountids",
  7191. "in": "query",
  7192. "required": true
  7193. },
  7194. {
  7195. "type": "integer",
  7196. "description": "合同类型 1-采购 -1-销售",
  7197. "name": "contracttype",
  7198. "in": "query",
  7199. "required": true
  7200. },
  7201. {
  7202. "type": "integer",
  7203. "description": "合同模式 1-普通 2-回购",
  7204. "name": "contractmode",
  7205. "in": "query",
  7206. "required": true
  7207. }
  7208. ],
  7209. "responses": {
  7210. "200": {
  7211. "description": "OK",
  7212. "schema": {
  7213. "type": "array",
  7214. "items": {
  7215. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  7216. }
  7217. }
  7218. },
  7219. "500": {
  7220. "description": "Internal Server Error",
  7221. "schema": {
  7222. "$ref": "#/definitions/app.Response"
  7223. }
  7224. }
  7225. }
  7226. }
  7227. },
  7228. "/Erms3/QueryPendingBusiness": {
  7229. "get": {
  7230. "security": [
  7231. {
  7232. "ApiKeyAuth": []
  7233. }
  7234. ],
  7235. "produces": [
  7236. "application/json"
  7237. ],
  7238. "tags": [
  7239. "风险管理v3"
  7240. ],
  7241. "summary": "查询待审核基差贸易业务",
  7242. "parameters": [
  7243. {
  7244. "type": "string",
  7245. "description": "资金账号ID列表,逗号隔开",
  7246. "name": "accountids",
  7247. "in": "query",
  7248. "required": true
  7249. }
  7250. ],
  7251. "responses": {
  7252. "200": {
  7253. "description": "OK",
  7254. "schema": {
  7255. "type": "array",
  7256. "items": {
  7257. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  7258. }
  7259. }
  7260. },
  7261. "500": {
  7262. "description": "Internal Server Error",
  7263. "schema": {
  7264. "$ref": "#/definitions/app.Response"
  7265. }
  7266. }
  7267. }
  7268. }
  7269. },
  7270. "/Erms3/QuerySpotContractAppleForm": {
  7271. "get": {
  7272. "security": [
  7273. {
  7274. "ApiKeyAuth": []
  7275. }
  7276. ],
  7277. "produces": [
  7278. "application/json"
  7279. ],
  7280. "tags": [
  7281. "风险管理v3"
  7282. ],
  7283. "summary": "查询合同申请表单数据",
  7284. "parameters": [
  7285. {
  7286. "type": "integer",
  7287. "description": "登录账号",
  7288. "name": "loginID",
  7289. "in": "query",
  7290. "required": true
  7291. }
  7292. ],
  7293. "responses": {
  7294. "200": {
  7295. "description": "OK",
  7296. "schema": {
  7297. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  7298. }
  7299. },
  7300. "500": {
  7301. "description": "Internal Server Error",
  7302. "schema": {
  7303. "$ref": "#/definitions/app.Response"
  7304. }
  7305. }
  7306. }
  7307. }
  7308. },
  7309. "/Erms3/QuerySpotContractDetail": {
  7310. "get": {
  7311. "security": [
  7312. {
  7313. "ApiKeyAuth": []
  7314. }
  7315. ],
  7316. "produces": [
  7317. "application/json"
  7318. ],
  7319. "tags": [
  7320. "风险管理v3"
  7321. ],
  7322. "summary": "查询合同详细信息",
  7323. "parameters": [
  7324. {
  7325. "type": "string",
  7326. "description": "资金账号ID列表,用逗号分隔",
  7327. "name": "accountids",
  7328. "in": "query",
  7329. "required": true
  7330. },
  7331. {
  7332. "type": "integer",
  7333. "description": "合同类型,1为采购合同 -1为销售合同",
  7334. "name": "contracttype",
  7335. "in": "query",
  7336. "required": true
  7337. },
  7338. {
  7339. "type": "integer",
  7340. "description": "合同模式,1为普通合同 2为回购销售合同",
  7341. "name": "contractmode",
  7342. "in": "query",
  7343. "required": true
  7344. },
  7345. {
  7346. "type": "integer",
  7347. "description": "状态,0为履约中 1为已完成",
  7348. "name": "status",
  7349. "in": "query",
  7350. "required": true
  7351. }
  7352. ],
  7353. "responses": {
  7354. "200": {
  7355. "description": "OK",
  7356. "schema": {
  7357. "type": "array",
  7358. "items": {
  7359. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  7360. }
  7361. }
  7362. },
  7363. "500": {
  7364. "description": "Internal Server Error",
  7365. "schema": {
  7366. "$ref": "#/definitions/app.Response"
  7367. }
  7368. }
  7369. }
  7370. }
  7371. },
  7372. "/Erms3/QueryUserInfoApplies": {
  7373. "get": {
  7374. "security": [
  7375. {
  7376. "ApiKeyAuth": []
  7377. }
  7378. ],
  7379. "produces": [
  7380. "application/json"
  7381. ],
  7382. "tags": [
  7383. "风险管理v3"
  7384. ],
  7385. "summary": "客户申请信息查询",
  7386. "parameters": [
  7387. {
  7388. "type": "integer",
  7389. "description": "页码",
  7390. "name": "page",
  7391. "in": "query"
  7392. },
  7393. {
  7394. "type": "integer",
  7395. "description": "每页条数",
  7396. "name": "pagesize",
  7397. "in": "query"
  7398. },
  7399. {
  7400. "type": "string",
  7401. "description": "客户名称,支持模糊查询",
  7402. "name": "userName",
  7403. "in": "query"
  7404. }
  7405. ],
  7406. "responses": {
  7407. "200": {
  7408. "description": "OK",
  7409. "schema": {
  7410. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  7411. }
  7412. },
  7413. "500": {
  7414. "description": "Internal Server Error",
  7415. "schema": {
  7416. "$ref": "#/definitions/app.Response"
  7417. }
  7418. }
  7419. }
  7420. }
  7421. },
  7422. "/Erms3/QueryUserInfos": {
  7423. "get": {
  7424. "security": [
  7425. {
  7426. "ApiKeyAuth": []
  7427. }
  7428. ],
  7429. "produces": [
  7430. "application/json"
  7431. ],
  7432. "tags": [
  7433. "风险管理v3"
  7434. ],
  7435. "summary": "客户信息查询",
  7436. "parameters": [
  7437. {
  7438. "type": "integer",
  7439. "description": "页码",
  7440. "name": "page",
  7441. "in": "query"
  7442. },
  7443. {
  7444. "type": "integer",
  7445. "description": "每页条数",
  7446. "name": "pagesize",
  7447. "in": "query"
  7448. },
  7449. {
  7450. "type": "string",
  7451. "description": "客户名称,支持模糊查询",
  7452. "name": "userName",
  7453. "in": "query"
  7454. }
  7455. ],
  7456. "responses": {
  7457. "200": {
  7458. "description": "OK",
  7459. "schema": {
  7460. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  7461. }
  7462. },
  7463. "500": {
  7464. "description": "Internal Server Error",
  7465. "schema": {
  7466. "$ref": "#/definitions/app.Response"
  7467. }
  7468. }
  7469. }
  7470. }
  7471. },
  7472. "/HSBY/GetHsbyMyCount": {
  7473. "get": {
  7474. "security": [
  7475. {
  7476. "ApiKeyAuth": []
  7477. }
  7478. ],
  7479. "description": "说明: 不包括已完成的数量。",
  7480. "produces": [
  7481. "application/json"
  7482. ],
  7483. "tags": [
  7484. "定制【海商报业】"
  7485. ],
  7486. "summary": "获取我的订单与包裹数量",
  7487. "parameters": [
  7488. {
  7489. "type": "string",
  7490. "description": "资金账户列表,格式:1,2,3",
  7491. "name": "accountIDs",
  7492. "in": "query",
  7493. "required": true
  7494. }
  7495. ],
  7496. "responses": {
  7497. "200": {
  7498. "description": "OK",
  7499. "schema": {
  7500. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  7501. }
  7502. },
  7503. "500": {
  7504. "description": "Internal Server Error",
  7505. "schema": {
  7506. "$ref": "#/definitions/app.Response"
  7507. }
  7508. }
  7509. }
  7510. }
  7511. },
  7512. "/HSBY/QueryClientFixedADConfigs": {
  7513. "get": {
  7514. "security": [
  7515. {
  7516. "ApiKeyAuth": []
  7517. }
  7518. ],
  7519. "produces": [
  7520. "application/json"
  7521. ],
  7522. "tags": [
  7523. "定制【海商报业】"
  7524. ],
  7525. "summary": "获取终端固定广告配置",
  7526. "responses": {
  7527. "200": {
  7528. "description": "OK",
  7529. "schema": {
  7530. "$ref": "#/definitions/models.Clientfixedadconfig"
  7531. }
  7532. },
  7533. "500": {
  7534. "description": "Internal Server Error",
  7535. "schema": {
  7536. "$ref": "#/definitions/app.Response"
  7537. }
  7538. }
  7539. }
  7540. }
  7541. },
  7542. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  7543. "get": {
  7544. "security": [
  7545. {
  7546. "ApiKeyAuth": []
  7547. }
  7548. ],
  7549. "produces": [
  7550. "application/json"
  7551. ],
  7552. "tags": [
  7553. "定制【海商报业】"
  7554. ],
  7555. "summary": "查询\"我的订单 - 已完成\"单据信息",
  7556. "parameters": [
  7557. {
  7558. "type": "integer",
  7559. "description": "页码",
  7560. "name": "page",
  7561. "in": "query"
  7562. },
  7563. {
  7564. "type": "integer",
  7565. "description": "每页条数",
  7566. "name": "pagesize",
  7567. "in": "query"
  7568. },
  7569. {
  7570. "type": "string",
  7571. "description": "资金账户列表,格式:1,2,3",
  7572. "name": "accountIDs",
  7573. "in": "query",
  7574. "required": true
  7575. }
  7576. ],
  7577. "responses": {
  7578. "200": {
  7579. "description": "OK",
  7580. "schema": {
  7581. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  7582. }
  7583. },
  7584. "500": {
  7585. "description": "Internal Server Error",
  7586. "schema": {
  7587. "$ref": "#/definitions/app.Response"
  7588. }
  7589. }
  7590. }
  7591. }
  7592. },
  7593. "/HSBY/QueryHsbyGoodsOrderDetails": {
  7594. "get": {
  7595. "security": [
  7596. {
  7597. "ApiKeyAuth": []
  7598. }
  7599. ],
  7600. "description": "说明:查询结果已按委托价格和委托时间排序",
  7601. "produces": [
  7602. "application/json"
  7603. ],
  7604. "tags": [
  7605. "定制【海商报业】"
  7606. ],
  7607. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  7608. "parameters": [
  7609. {
  7610. "type": "integer",
  7611. "description": "商品ID",
  7612. "name": "goodsID",
  7613. "in": "query",
  7614. "required": true
  7615. },
  7616. {
  7617. "type": "string",
  7618. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  7619. "name": "accountIDs",
  7620. "in": "query"
  7621. },
  7622. {
  7623. "type": "integer",
  7624. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  7625. "name": "buyOrSell",
  7626. "in": "query"
  7627. },
  7628. {
  7629. "type": "number",
  7630. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  7631. "name": "price",
  7632. "in": "query"
  7633. },
  7634. {
  7635. "type": "integer",
  7636. "description": "档位,不传则默认为3档",
  7637. "name": "speed",
  7638. "in": "query"
  7639. }
  7640. ],
  7641. "responses": {
  7642. "200": {
  7643. "description": "OK",
  7644. "schema": {
  7645. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  7646. }
  7647. },
  7648. "500": {
  7649. "description": "Internal Server Error",
  7650. "schema": {
  7651. "$ref": "#/definitions/app.Response"
  7652. }
  7653. }
  7654. }
  7655. }
  7656. },
  7657. "/HSBY/QueryHsbyListingGoodsDetail": {
  7658. "get": {
  7659. "security": [
  7660. {
  7661. "ApiKeyAuth": []
  7662. }
  7663. ],
  7664. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  7665. "produces": [
  7666. "application/json"
  7667. ],
  7668. "tags": [
  7669. "定制【海商报业】"
  7670. ],
  7671. "summary": "查询二级市场(挂牌点选)商品信息详情",
  7672. "parameters": [
  7673. {
  7674. "type": "integer",
  7675. "description": "商品ID",
  7676. "name": "goodsID",
  7677. "in": "query",
  7678. "required": true
  7679. },
  7680. {
  7681. "type": "integer",
  7682. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  7683. "name": "accountID",
  7684. "in": "query"
  7685. }
  7686. ],
  7687. "responses": {
  7688. "200": {
  7689. "description": "OK",
  7690. "schema": {
  7691. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  7692. }
  7693. },
  7694. "500": {
  7695. "description": "Internal Server Error",
  7696. "schema": {
  7697. "$ref": "#/definitions/app.Response"
  7698. }
  7699. }
  7700. }
  7701. }
  7702. },
  7703. "/HSBY/QueryHsbyMarketGoodsDetail": {
  7704. "get": {
  7705. "security": [
  7706. {
  7707. "ApiKeyAuth": []
  7708. }
  7709. ],
  7710. "produces": [
  7711. "application/json"
  7712. ],
  7713. "tags": [
  7714. "定制【海商报业】"
  7715. ],
  7716. "summary": "查询三级市场(商城)商品信息详情",
  7717. "parameters": [
  7718. {
  7719. "type": "integer",
  7720. "description": "委托单号",
  7721. "name": "orderID",
  7722. "in": "query",
  7723. "required": true
  7724. },
  7725. {
  7726. "type": "integer",
  7727. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  7728. "name": "accountID",
  7729. "in": "query"
  7730. }
  7731. ],
  7732. "responses": {
  7733. "200": {
  7734. "description": "OK",
  7735. "schema": {
  7736. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  7737. }
  7738. },
  7739. "500": {
  7740. "description": "Internal Server Error",
  7741. "schema": {
  7742. "$ref": "#/definitions/app.Response"
  7743. }
  7744. }
  7745. }
  7746. }
  7747. },
  7748. "/HSBY/QueryHsbyMarketGoodses": {
  7749. "get": {
  7750. "security": [
  7751. {
  7752. "ApiKeyAuth": []
  7753. }
  7754. ],
  7755. "produces": [
  7756. "application/json"
  7757. ],
  7758. "tags": [
  7759. "定制【海商报业】"
  7760. ],
  7761. "summary": "查询特卖商品列表(三级商城)",
  7762. "parameters": [
  7763. {
  7764. "type": "integer",
  7765. "description": "页码",
  7766. "name": "page",
  7767. "in": "query"
  7768. },
  7769. {
  7770. "type": "integer",
  7771. "description": "每页条数",
  7772. "name": "pagesize",
  7773. "in": "query"
  7774. },
  7775. {
  7776. "type": "string",
  7777. "description": "市场ID列表,格式:1,2,3",
  7778. "name": "marketIDs",
  7779. "in": "query",
  7780. "required": true
  7781. },
  7782. {
  7783. "type": "integer",
  7784. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  7785. "name": "accountID",
  7786. "in": "query",
  7787. "required": true
  7788. },
  7789. {
  7790. "type": "integer",
  7791. "description": "类别ID",
  7792. "name": "categoryID",
  7793. "in": "query"
  7794. },
  7795. {
  7796. "type": "string",
  7797. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  7798. "name": "goodsIDs",
  7799. "in": "query"
  7800. },
  7801. {
  7802. "type": "integer",
  7803. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  7804. "name": "couponTypeID",
  7805. "in": "query"
  7806. }
  7807. ],
  7808. "responses": {
  7809. "200": {
  7810. "description": "OK",
  7811. "schema": {
  7812. "$ref": "#/definitions/models.HsbyMarketGoods"
  7813. }
  7814. },
  7815. "500": {
  7816. "description": "Internal Server Error",
  7817. "schema": {
  7818. "$ref": "#/definitions/app.Response"
  7819. }
  7820. }
  7821. }
  7822. }
  7823. },
  7824. "/HSBY/QueryHsbyMarkets": {
  7825. "get": {
  7826. "security": [
  7827. {
  7828. "ApiKeyAuth": []
  7829. }
  7830. ],
  7831. "produces": [
  7832. "application/json"
  7833. ],
  7834. "tags": [
  7835. "定制【海商报业】"
  7836. ],
  7837. "summary": "查询海商报业相关市场信息",
  7838. "responses": {
  7839. "200": {
  7840. "description": "OK",
  7841. "schema": {
  7842. "$ref": "#/definitions/models.HsbyMarketInfo"
  7843. }
  7844. },
  7845. "500": {
  7846. "description": "Internal Server Error",
  7847. "schema": {
  7848. "$ref": "#/definitions/app.Response"
  7849. }
  7850. }
  7851. }
  7852. }
  7853. },
  7854. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  7855. "get": {
  7856. "security": [
  7857. {
  7858. "ApiKeyAuth": []
  7859. }
  7860. ],
  7861. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  7862. "produces": [
  7863. "application/json"
  7864. ],
  7865. "tags": [
  7866. "定制【海商报业】"
  7867. ],
  7868. "summary": "查询“我的订单”信息",
  7869. "parameters": [
  7870. {
  7871. "type": "string",
  7872. "description": "资金账户列表,格式:1,2,3",
  7873. "name": "accountIDs",
  7874. "in": "query",
  7875. "required": true
  7876. }
  7877. ],
  7878. "responses": {
  7879. "200": {
  7880. "description": "OK",
  7881. "schema": {
  7882. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  7883. }
  7884. },
  7885. "500": {
  7886. "description": "Internal Server Error",
  7887. "schema": {
  7888. "$ref": "#/definitions/app.Response"
  7889. }
  7890. }
  7891. }
  7892. }
  7893. },
  7894. "/HSBY/QueryHsbyMyGoods": {
  7895. "get": {
  7896. "security": [
  7897. {
  7898. "ApiKeyAuth": []
  7899. }
  7900. ],
  7901. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  7902. "produces": [
  7903. "application/json"
  7904. ],
  7905. "tags": [
  7906. "定制【海商报业】"
  7907. ],
  7908. "summary": "查询“我的商品”信息",
  7909. "parameters": [
  7910. {
  7911. "type": "string",
  7912. "description": "资金账户列表,格式:1,2,3",
  7913. "name": "accountIDs",
  7914. "in": "query",
  7915. "required": true
  7916. }
  7917. ],
  7918. "responses": {
  7919. "200": {
  7920. "description": "OK",
  7921. "schema": {
  7922. "$ref": "#/definitions/models.HsbyMyGoods"
  7923. }
  7924. },
  7925. "500": {
  7926. "description": "Internal Server Error",
  7927. "schema": {
  7928. "$ref": "#/definitions/app.Response"
  7929. }
  7930. }
  7931. }
  7932. }
  7933. },
  7934. "/HSBY/QueryHsbyMyPackages": {
  7935. "get": {
  7936. "security": [
  7937. {
  7938. "ApiKeyAuth": []
  7939. }
  7940. ],
  7941. "produces": [
  7942. "application/json"
  7943. ],
  7944. "tags": [
  7945. "定制【海商报业】"
  7946. ],
  7947. "summary": "查询我的包裹信息",
  7948. "parameters": [
  7949. {
  7950. "type": "string",
  7951. "description": "资金账户列表,格式:1,2,3",
  7952. "name": "accountIDs",
  7953. "in": "query",
  7954. "required": true
  7955. },
  7956. {
  7957. "type": "integer",
  7958. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7959. "name": "takeOrderStatus",
  7960. "in": "query"
  7961. }
  7962. ],
  7963. "responses": {
  7964. "200": {
  7965. "description": "OK",
  7966. "schema": {
  7967. "$ref": "#/definitions/models.HsbyMyPackage"
  7968. }
  7969. },
  7970. "500": {
  7971. "description": "Internal Server Error",
  7972. "schema": {
  7973. "$ref": "#/definitions/app.Response"
  7974. }
  7975. }
  7976. }
  7977. }
  7978. },
  7979. "/HSBY/QueryHsbyPreGoodsDetail": {
  7980. "get": {
  7981. "security": [
  7982. {
  7983. "ApiKeyAuth": []
  7984. }
  7985. ],
  7986. "produces": [
  7987. "application/json"
  7988. ],
  7989. "tags": [
  7990. "定制【海商报业】"
  7991. ],
  7992. "summary": "查询一级市场(预售)商品信息详情",
  7993. "parameters": [
  7994. {
  7995. "type": "integer",
  7996. "description": "商品ID",
  7997. "name": "goodsID",
  7998. "in": "query",
  7999. "required": true
  8000. },
  8001. {
  8002. "type": "integer",
  8003. "description": "资金账户,主要用于获取预售商品购买上限",
  8004. "name": "accountID",
  8005. "in": "query"
  8006. }
  8007. ],
  8008. "responses": {
  8009. "200": {
  8010. "description": "OK",
  8011. "schema": {
  8012. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  8013. }
  8014. },
  8015. "500": {
  8016. "description": "Internal Server Error",
  8017. "schema": {
  8018. "$ref": "#/definitions/app.Response"
  8019. }
  8020. }
  8021. }
  8022. }
  8023. },
  8024. "/HSBY/QueryHsbyPreGoodses": {
  8025. "get": {
  8026. "security": [
  8027. {
  8028. "ApiKeyAuth": []
  8029. }
  8030. ],
  8031. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  8032. "produces": [
  8033. "application/json"
  8034. ],
  8035. "tags": [
  8036. "定制【海商报业】"
  8037. ],
  8038. "summary": "查询新品上市商品列表(一级市场预售)",
  8039. "parameters": [
  8040. {
  8041. "type": "integer",
  8042. "description": "页码",
  8043. "name": "page",
  8044. "in": "query"
  8045. },
  8046. {
  8047. "type": "integer",
  8048. "description": "每页条数",
  8049. "name": "pagesize",
  8050. "in": "query"
  8051. },
  8052. {
  8053. "type": "string",
  8054. "description": "市场ID列表,格式:1,2,3",
  8055. "name": "marketIDs",
  8056. "in": "query",
  8057. "required": true
  8058. },
  8059. {
  8060. "type": "integer",
  8061. "description": "目的地(省)ID",
  8062. "name": "descProvinceID",
  8063. "in": "query"
  8064. },
  8065. {
  8066. "type": "integer",
  8067. "description": "目的地(市)ID",
  8068. "name": "descCityID",
  8069. "in": "query"
  8070. }
  8071. ],
  8072. "responses": {
  8073. "200": {
  8074. "description": "OK",
  8075. "schema": {
  8076. "$ref": "#/definitions/models.HsbyPreGoods"
  8077. }
  8078. },
  8079. "500": {
  8080. "description": "Internal Server Error",
  8081. "schema": {
  8082. "$ref": "#/definitions/app.Response"
  8083. }
  8084. }
  8085. }
  8086. }
  8087. },
  8088. "/HSBY/QueryHsbySellMyDetails": {
  8089. "get": {
  8090. "security": [
  8091. {
  8092. "ApiKeyAuth": []
  8093. }
  8094. ],
  8095. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  8096. "produces": [
  8097. "application/json"
  8098. ],
  8099. "tags": [
  8100. "定制【海商报业】"
  8101. ],
  8102. "summary": "查询\"我的闲置\"单据信息",
  8103. "parameters": [
  8104. {
  8105. "type": "integer",
  8106. "description": "页码",
  8107. "name": "page",
  8108. "in": "query"
  8109. },
  8110. {
  8111. "type": "integer",
  8112. "description": "每页条数",
  8113. "name": "pagesize",
  8114. "in": "query"
  8115. },
  8116. {
  8117. "type": "string",
  8118. "description": "资金账户列表,格式:1,2,3",
  8119. "name": "accountIDs",
  8120. "in": "query",
  8121. "required": true
  8122. },
  8123. {
  8124. "type": "integer",
  8125. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  8126. "name": "orderType",
  8127. "in": "query"
  8128. }
  8129. ],
  8130. "responses": {
  8131. "200": {
  8132. "description": "OK",
  8133. "schema": {
  8134. "$ref": "#/definitions/models.HsbySellMyDetail"
  8135. }
  8136. },
  8137. "500": {
  8138. "description": "Internal Server Error",
  8139. "schema": {
  8140. "$ref": "#/definitions/app.Response"
  8141. }
  8142. }
  8143. }
  8144. }
  8145. },
  8146. "/HSBY/QueryHsbyTopGoodses": {
  8147. "get": {
  8148. "security": [
  8149. {
  8150. "ApiKeyAuth": []
  8151. }
  8152. ],
  8153. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  8154. "produces": [
  8155. "application/json"
  8156. ],
  8157. "tags": [
  8158. "定制【海商报业】"
  8159. ],
  8160. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  8161. "parameters": [
  8162. {
  8163. "type": "integer",
  8164. "description": "页码",
  8165. "name": "page",
  8166. "in": "query"
  8167. },
  8168. {
  8169. "type": "integer",
  8170. "description": "每页条数",
  8171. "name": "pagesize",
  8172. "in": "query"
  8173. },
  8174. {
  8175. "type": "string",
  8176. "description": "市场ID列表,格式:1,2,3",
  8177. "name": "marketIDs",
  8178. "in": "query",
  8179. "required": true
  8180. },
  8181. {
  8182. "type": "integer",
  8183. "description": "目的地(省)ID",
  8184. "name": "descProvinceID",
  8185. "in": "query"
  8186. },
  8187. {
  8188. "type": "integer",
  8189. "description": "目的地(市)ID",
  8190. "name": "descCityID",
  8191. "in": "query"
  8192. }
  8193. ],
  8194. "responses": {
  8195. "200": {
  8196. "description": "OK",
  8197. "schema": {
  8198. "$ref": "#/definitions/models.HsbyTopGoods"
  8199. }
  8200. },
  8201. "500": {
  8202. "description": "Internal Server Error",
  8203. "schema": {
  8204. "$ref": "#/definitions/app.Response"
  8205. }
  8206. }
  8207. }
  8208. }
  8209. },
  8210. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  8211. "get": {
  8212. "security": [
  8213. {
  8214. "ApiKeyAuth": []
  8215. }
  8216. ],
  8217. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  8218. "produces": [
  8219. "application/json"
  8220. ],
  8221. "tags": [
  8222. "定制【海商报业】"
  8223. ],
  8224. "summary": "查询游客三级市场(商城)商品信息详情",
  8225. "parameters": [
  8226. {
  8227. "type": "integer",
  8228. "description": "商品ID",
  8229. "name": "goodsID",
  8230. "in": "query",
  8231. "required": true
  8232. }
  8233. ],
  8234. "responses": {
  8235. "200": {
  8236. "description": "OK",
  8237. "schema": {
  8238. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  8239. }
  8240. },
  8241. "500": {
  8242. "description": "Internal Server Error",
  8243. "schema": {
  8244. "$ref": "#/definitions/app.Response"
  8245. }
  8246. }
  8247. }
  8248. }
  8249. },
  8250. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  8251. "get": {
  8252. "security": [
  8253. {
  8254. "ApiKeyAuth": []
  8255. }
  8256. ],
  8257. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  8258. "produces": [
  8259. "application/json"
  8260. ],
  8261. "tags": [
  8262. "定制【海商报业】"
  8263. ],
  8264. "summary": "查询游客特卖商品列表(三级商城)",
  8265. "parameters": [
  8266. {
  8267. "type": "integer",
  8268. "description": "页码",
  8269. "name": "page",
  8270. "in": "query"
  8271. },
  8272. {
  8273. "type": "integer",
  8274. "description": "每页条数",
  8275. "name": "pagesize",
  8276. "in": "query"
  8277. },
  8278. {
  8279. "type": "string",
  8280. "description": "市场ID列表,格式:1,2,3",
  8281. "name": "marketIDs",
  8282. "in": "query",
  8283. "required": true
  8284. },
  8285. {
  8286. "type": "integer",
  8287. "description": "类别ID",
  8288. "name": "categoryID",
  8289. "in": "query"
  8290. },
  8291. {
  8292. "type": "string",
  8293. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  8294. "name": "goodsIDs",
  8295. "in": "query"
  8296. }
  8297. ],
  8298. "responses": {
  8299. "200": {
  8300. "description": "OK",
  8301. "schema": {
  8302. "$ref": "#/definitions/models.HsbyMarketGoods"
  8303. }
  8304. },
  8305. "500": {
  8306. "description": "Internal Server Error",
  8307. "schema": {
  8308. "$ref": "#/definitions/app.Response"
  8309. }
  8310. }
  8311. }
  8312. }
  8313. },
  8314. "/HSBY/QueryMyCollectionOrders": {
  8315. "get": {
  8316. "security": [
  8317. {
  8318. "ApiKeyAuth": []
  8319. }
  8320. ],
  8321. "produces": [
  8322. "application/json"
  8323. ],
  8324. "tags": [
  8325. "定制【海商报业】"
  8326. ],
  8327. "summary": "我的闲置中收款信息查询",
  8328. "parameters": [
  8329. {
  8330. "type": "integer",
  8331. "description": "页码",
  8332. "name": "page",
  8333. "in": "query"
  8334. },
  8335. {
  8336. "type": "integer",
  8337. "description": "每页条数",
  8338. "name": "pagesize",
  8339. "in": "query"
  8340. },
  8341. {
  8342. "type": "string",
  8343. "description": "资金账户,格式:1,2,3",
  8344. "name": "accountIDs",
  8345. "in": "query",
  8346. "required": true
  8347. }
  8348. ],
  8349. "responses": {
  8350. "200": {
  8351. "description": "OK",
  8352. "schema": {
  8353. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  8354. }
  8355. },
  8356. "500": {
  8357. "description": "Internal Server Error",
  8358. "schema": {
  8359. "$ref": "#/definitions/app.Response"
  8360. }
  8361. }
  8362. }
  8363. }
  8364. },
  8365. "/HSBY/QueryMyCouponHolds": {
  8366. "get": {
  8367. "security": [
  8368. {
  8369. "ApiKeyAuth": []
  8370. }
  8371. ],
  8372. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  8373. "produces": [
  8374. "application/json"
  8375. ],
  8376. "tags": [
  8377. "定制【海商报业】"
  8378. ],
  8379. "summary": "我的优惠卷持仓查询",
  8380. "parameters": [
  8381. {
  8382. "type": "string",
  8383. "description": "资金账户列表,格式:1,2,3",
  8384. "name": "accountIDs",
  8385. "in": "query",
  8386. "required": true
  8387. },
  8388. {
  8389. "type": "string",
  8390. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  8391. "name": "holdStatus",
  8392. "in": "query"
  8393. }
  8394. ],
  8395. "responses": {
  8396. "200": {
  8397. "description": "OK",
  8398. "schema": {
  8399. "$ref": "#/definitions/models.MyCouponHold"
  8400. }
  8401. },
  8402. "500": {
  8403. "description": "Internal Server Error",
  8404. "schema": {
  8405. "$ref": "#/definitions/app.Response"
  8406. }
  8407. }
  8408. }
  8409. }
  8410. },
  8411. "/HSBY/QueryMyCoupons": {
  8412. "get": {
  8413. "security": [
  8414. {
  8415. "ApiKeyAuth": []
  8416. }
  8417. ],
  8418. "produces": [
  8419. "application/json"
  8420. ],
  8421. "tags": [
  8422. "定制【海商报业】"
  8423. ],
  8424. "summary": "我的优惠卷查询",
  8425. "parameters": [
  8426. {
  8427. "type": "string",
  8428. "description": "资金账户列表,格式:1,2,3",
  8429. "name": "accountIDs",
  8430. "in": "query",
  8431. "required": true
  8432. },
  8433. {
  8434. "type": "integer",
  8435. "description": "商品ID, 一般与sellUserID配套传入",
  8436. "name": "goodsID",
  8437. "in": "query"
  8438. },
  8439. {
  8440. "type": "integer",
  8441. "description": "卖方UserID",
  8442. "name": "sellUserID",
  8443. "in": "query"
  8444. }
  8445. ],
  8446. "responses": {
  8447. "200": {
  8448. "description": "OK",
  8449. "schema": {
  8450. "$ref": "#/definitions/models.MyCoupon"
  8451. }
  8452. },
  8453. "500": {
  8454. "description": "Internal Server Error",
  8455. "schema": {
  8456. "$ref": "#/definitions/app.Response"
  8457. }
  8458. }
  8459. }
  8460. }
  8461. },
  8462. "/HSBY/QueryMyPayOrders": {
  8463. "get": {
  8464. "security": [
  8465. {
  8466. "ApiKeyAuth": []
  8467. }
  8468. ],
  8469. "produces": [
  8470. "application/json"
  8471. ],
  8472. "tags": [
  8473. "定制【海商报业】"
  8474. ],
  8475. "summary": "获取我的订单中待付款信息",
  8476. "parameters": [
  8477. {
  8478. "type": "integer",
  8479. "description": "页码",
  8480. "name": "page",
  8481. "in": "query"
  8482. },
  8483. {
  8484. "type": "integer",
  8485. "description": "每页条数",
  8486. "name": "pagesize",
  8487. "in": "query"
  8488. },
  8489. {
  8490. "type": "string",
  8491. "description": "资金账户列表,格式:1,2,3",
  8492. "name": "accountIDs",
  8493. "in": "query",
  8494. "required": true
  8495. },
  8496. {
  8497. "type": "integer",
  8498. "description": "买方委托单号",
  8499. "name": "buyOrderID",
  8500. "in": "query"
  8501. },
  8502. {
  8503. "type": "integer",
  8504. "description": "卖方委托单号",
  8505. "name": "sellOrderID",
  8506. "in": "query"
  8507. }
  8508. ],
  8509. "responses": {
  8510. "200": {
  8511. "description": "OK",
  8512. "schema": {
  8513. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  8514. }
  8515. },
  8516. "500": {
  8517. "description": "Internal Server Error",
  8518. "schema": {
  8519. "$ref": "#/definitions/app.Response"
  8520. }
  8521. }
  8522. }
  8523. }
  8524. },
  8525. "/HSBY/QueryMyUsedCoupon": {
  8526. "get": {
  8527. "security": [
  8528. {
  8529. "ApiKeyAuth": []
  8530. }
  8531. ],
  8532. "produces": [
  8533. "application/json"
  8534. ],
  8535. "tags": [
  8536. "定制【海商报业】"
  8537. ],
  8538. "summary": "已使用优惠卷查询",
  8539. "parameters": [
  8540. {
  8541. "type": "string",
  8542. "description": "资金账户列表,格式:1,2,3",
  8543. "name": "accountIDs",
  8544. "in": "query",
  8545. "required": true
  8546. }
  8547. ],
  8548. "responses": {
  8549. "200": {
  8550. "description": "OK",
  8551. "schema": {
  8552. "$ref": "#/definitions/models.MyUsedCoupon"
  8553. }
  8554. },
  8555. "500": {
  8556. "description": "Internal Server Error",
  8557. "schema": {
  8558. "$ref": "#/definitions/app.Response"
  8559. }
  8560. }
  8561. }
  8562. }
  8563. },
  8564. "/HSBY/QueryProvincesAndCities": {
  8565. "get": {
  8566. "security": [
  8567. {
  8568. "ApiKeyAuth": []
  8569. }
  8570. ],
  8571. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  8572. "produces": [
  8573. "application/json"
  8574. ],
  8575. "tags": [
  8576. "定制【海商报业】"
  8577. ],
  8578. "summary": "查询省市信息(不包括区)",
  8579. "parameters": [
  8580. {
  8581. "type": "integer",
  8582. "description": "省ID",
  8583. "name": "provinceID",
  8584. "in": "query"
  8585. }
  8586. ],
  8587. "responses": {
  8588. "200": {
  8589. "description": "OK",
  8590. "schema": {
  8591. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  8592. }
  8593. },
  8594. "500": {
  8595. "description": "Internal Server Error",
  8596. "schema": {
  8597. "$ref": "#/definitions/app.Response"
  8598. }
  8599. }
  8600. }
  8601. }
  8602. },
  8603. "/HSBY/SetHsbyMyPackagesStatus": {
  8604. "post": {
  8605. "security": [
  8606. {
  8607. "ApiKeyAuth": []
  8608. }
  8609. ],
  8610. "produces": [
  8611. "application/json"
  8612. ],
  8613. "tags": [
  8614. "定制【海商报业】"
  8615. ],
  8616. "summary": "设置我的包裹已收货状态",
  8617. "parameters": [
  8618. {
  8619. "type": "string",
  8620. "description": "提货单号",
  8621. "name": "takeOrderID",
  8622. "in": "query",
  8623. "required": true
  8624. },
  8625. {
  8626. "type": "integer",
  8627. "description": "资金账号",
  8628. "name": "accountID",
  8629. "in": "query",
  8630. "required": true
  8631. }
  8632. ],
  8633. "responses": {
  8634. "200": {
  8635. "description": "OK",
  8636. "schema": {
  8637. "$ref": "#/definitions/app.Response"
  8638. }
  8639. },
  8640. "500": {
  8641. "description": "Internal Server Error",
  8642. "schema": {
  8643. "$ref": "#/definitions/app.Response"
  8644. }
  8645. }
  8646. }
  8647. }
  8648. },
  8649. "/Market/GetAllExExchanges": {
  8650. "get": {
  8651. "security": [
  8652. {
  8653. "ApiKeyAuth": []
  8654. }
  8655. ],
  8656. "produces": [
  8657. "application/json"
  8658. ],
  8659. "tags": [
  8660. "通用市场"
  8661. ],
  8662. "summary": "获取所有外部交易所信息",
  8663. "responses": {
  8664. "200": {
  8665. "description": "OK",
  8666. "schema": {
  8667. "$ref": "#/definitions/models.Goods"
  8668. }
  8669. },
  8670. "500": {
  8671. "description": "Internal Server Error",
  8672. "schema": {
  8673. "$ref": "#/definitions/app.Response"
  8674. }
  8675. }
  8676. }
  8677. }
  8678. },
  8679. "/Market/QueryGoodsesByLoginID": {
  8680. "get": {
  8681. "security": [
  8682. {
  8683. "ApiKeyAuth": []
  8684. }
  8685. ],
  8686. "produces": [
  8687. "application/json"
  8688. ],
  8689. "tags": [
  8690. "通用市场"
  8691. ],
  8692. "summary": "获取登录账号有权限的商品信息",
  8693. "parameters": [
  8694. {
  8695. "type": "integer",
  8696. "description": "登录账号",
  8697. "name": "loginID",
  8698. "in": "query",
  8699. "required": true
  8700. },
  8701. {
  8702. "type": "string",
  8703. "description": "市场ID列表,格式:1,2,3",
  8704. "name": "marketIDs",
  8705. "in": "query"
  8706. }
  8707. ],
  8708. "responses": {
  8709. "200": {
  8710. "description": "OK",
  8711. "schema": {
  8712. "$ref": "#/definitions/models.Goods"
  8713. }
  8714. },
  8715. "500": {
  8716. "description": "Internal Server Error",
  8717. "schema": {
  8718. "$ref": "#/definitions/app.Response"
  8719. }
  8720. }
  8721. }
  8722. }
  8723. },
  8724. "/Market/QueryMarketRun": {
  8725. "get": {
  8726. "security": [
  8727. {
  8728. "ApiKeyAuth": []
  8729. }
  8730. ],
  8731. "produces": [
  8732. "application/json"
  8733. ],
  8734. "tags": [
  8735. "通用市场"
  8736. ],
  8737. "summary": "查询市场运行信息",
  8738. "parameters": [
  8739. {
  8740. "type": "integer",
  8741. "description": "市场ID,不传返回所有",
  8742. "name": "marketID",
  8743. "in": "query"
  8744. }
  8745. ],
  8746. "responses": {
  8747. "200": {
  8748. "description": "OK",
  8749. "schema": {
  8750. "$ref": "#/definitions/models.Marketrun"
  8751. }
  8752. },
  8753. "500": {
  8754. "description": "Internal Server Error",
  8755. "schema": {
  8756. "$ref": "#/definitions/app.Response"
  8757. }
  8758. }
  8759. }
  8760. }
  8761. },
  8762. "/Market/QueryMarketsByLoginID": {
  8763. "get": {
  8764. "security": [
  8765. {
  8766. "ApiKeyAuth": []
  8767. }
  8768. ],
  8769. "produces": [
  8770. "application/json"
  8771. ],
  8772. "tags": [
  8773. "通用市场"
  8774. ],
  8775. "summary": "获取登录账号有权限的市场信息",
  8776. "parameters": [
  8777. {
  8778. "type": "integer",
  8779. "description": "登录账号",
  8780. "name": "loginID",
  8781. "in": "query",
  8782. "required": true
  8783. }
  8784. ],
  8785. "responses": {
  8786. "200": {
  8787. "description": "OK",
  8788. "schema": {
  8789. "$ref": "#/definitions/models.Market"
  8790. }
  8791. },
  8792. "500": {
  8793. "description": "Internal Server Error",
  8794. "schema": {
  8795. "$ref": "#/definitions/app.Response"
  8796. }
  8797. }
  8798. }
  8799. }
  8800. },
  8801. "/Order/QueryHisTradeDetail": {
  8802. "get": {
  8803. "security": [
  8804. {
  8805. "ApiKeyAuth": []
  8806. }
  8807. ],
  8808. "produces": [
  8809. "application/json"
  8810. ],
  8811. "tags": [
  8812. "通用单据"
  8813. ],
  8814. "summary": "历史成交单查询(合约市场)",
  8815. "parameters": [
  8816. {
  8817. "type": "string",
  8818. "description": "资金账户 - 格式:1,2,3",
  8819. "name": "accountID",
  8820. "in": "query",
  8821. "required": true
  8822. },
  8823. {
  8824. "type": "integer",
  8825. "description": "成交单号",
  8826. "name": "tradeID",
  8827. "in": "query"
  8828. },
  8829. {
  8830. "type": "integer",
  8831. "description": "委托单号",
  8832. "name": "orderID",
  8833. "in": "query"
  8834. },
  8835. {
  8836. "type": "integer",
  8837. "description": "商品ID",
  8838. "name": "goodsID",
  8839. "in": "query"
  8840. },
  8841. {
  8842. "type": "string",
  8843. "description": "交易模式 - 格式:1,2,3",
  8844. "name": "tradeMode",
  8845. "in": "query"
  8846. },
  8847. {
  8848. "type": "integer",
  8849. "description": "委托单据类型",
  8850. "name": "buildType",
  8851. "in": "query"
  8852. },
  8853. {
  8854. "type": "string",
  8855. "description": "成交类别 - 格式:1,2,3",
  8856. "name": "tradeType",
  8857. "in": "query"
  8858. },
  8859. {
  8860. "type": "string",
  8861. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8862. "name": "startDate",
  8863. "in": "query"
  8864. },
  8865. {
  8866. "type": "string",
  8867. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8868. "name": "endDate",
  8869. "in": "query"
  8870. }
  8871. ],
  8872. "responses": {
  8873. "200": {
  8874. "description": "OK",
  8875. "schema": {
  8876. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  8877. }
  8878. },
  8879. "500": {
  8880. "description": "Internal Server Error",
  8881. "schema": {
  8882. "$ref": "#/definitions/app.Response"
  8883. }
  8884. }
  8885. }
  8886. }
  8887. },
  8888. "/Order/QueryHisTradeOrderDetail": {
  8889. "get": {
  8890. "security": [
  8891. {
  8892. "ApiKeyAuth": []
  8893. }
  8894. ],
  8895. "produces": [
  8896. "application/json"
  8897. ],
  8898. "tags": [
  8899. "通用单据"
  8900. ],
  8901. "summary": "历史委托单查询请求(合约市场)",
  8902. "parameters": [
  8903. {
  8904. "type": "string",
  8905. "description": "资金账户 - 格式:1,2,3",
  8906. "name": "accountID",
  8907. "in": "query",
  8908. "required": true
  8909. },
  8910. {
  8911. "type": "string",
  8912. "description": "交易模式 - 格式:1,2,3",
  8913. "name": "tradeMode",
  8914. "in": "query"
  8915. },
  8916. {
  8917. "type": "string",
  8918. "description": "委托状态 - 格式:1,2,3",
  8919. "name": "orderStatus",
  8920. "in": "query"
  8921. },
  8922. {
  8923. "type": "integer",
  8924. "description": "委托单号",
  8925. "name": "orderID",
  8926. "in": "query"
  8927. },
  8928. {
  8929. "type": "string",
  8930. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8931. "name": "startDate",
  8932. "in": "query"
  8933. },
  8934. {
  8935. "type": "string",
  8936. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8937. "name": "endDate",
  8938. "in": "query"
  8939. }
  8940. ],
  8941. "responses": {
  8942. "200": {
  8943. "description": "OK",
  8944. "schema": {
  8945. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  8946. }
  8947. },
  8948. "500": {
  8949. "description": "Internal Server Error",
  8950. "schema": {
  8951. "$ref": "#/definitions/app.Response"
  8952. }
  8953. }
  8954. }
  8955. }
  8956. },
  8957. "/Order/QueryTradeDetail": {
  8958. "get": {
  8959. "security": [
  8960. {
  8961. "ApiKeyAuth": []
  8962. }
  8963. ],
  8964. "produces": [
  8965. "application/json"
  8966. ],
  8967. "tags": [
  8968. "通用单据"
  8969. ],
  8970. "summary": "成交单查询(合约市场)",
  8971. "parameters": [
  8972. {
  8973. "type": "string",
  8974. "description": "资金账户 - 格式:1,2,3",
  8975. "name": "accountID",
  8976. "in": "query",
  8977. "required": true
  8978. },
  8979. {
  8980. "type": "integer",
  8981. "description": "成交单号",
  8982. "name": "tradeID",
  8983. "in": "query"
  8984. },
  8985. {
  8986. "type": "integer",
  8987. "description": "委托单号",
  8988. "name": "orderID",
  8989. "in": "query"
  8990. },
  8991. {
  8992. "type": "string",
  8993. "description": "交易模式 - 格式:1,2,3",
  8994. "name": "tradeMode",
  8995. "in": "query"
  8996. },
  8997. {
  8998. "type": "integer",
  8999. "description": "委托单据类型",
  9000. "name": "buildType",
  9001. "in": "query"
  9002. },
  9003. {
  9004. "type": "string",
  9005. "description": "成交类别 - 格式:1,2,3",
  9006. "name": "tradeType",
  9007. "in": "query"
  9008. },
  9009. {
  9010. "type": "integer",
  9011. "description": "商品ID",
  9012. "name": "goodsID",
  9013. "in": "query"
  9014. }
  9015. ],
  9016. "responses": {
  9017. "200": {
  9018. "description": "OK",
  9019. "schema": {
  9020. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  9021. }
  9022. },
  9023. "500": {
  9024. "description": "Internal Server Error",
  9025. "schema": {
  9026. "$ref": "#/definitions/app.Response"
  9027. }
  9028. }
  9029. }
  9030. }
  9031. },
  9032. "/Order/QueryTradeHolderDetail": {
  9033. "get": {
  9034. "security": [
  9035. {
  9036. "ApiKeyAuth": []
  9037. }
  9038. ],
  9039. "produces": [
  9040. "application/json"
  9041. ],
  9042. "tags": [
  9043. "通用单据"
  9044. ],
  9045. "summary": "查询持仓明细",
  9046. "parameters": [
  9047. {
  9048. "type": "integer",
  9049. "description": "用户id",
  9050. "name": "userid",
  9051. "in": "query"
  9052. },
  9053. {
  9054. "type": "string",
  9055. "description": "资金账号, 格式 1,2,3",
  9056. "name": "accids",
  9057. "in": "query"
  9058. },
  9059. {
  9060. "type": "string",
  9061. "description": "交易模式, 格式 1,2,3",
  9062. "name": "trademodes",
  9063. "in": "query"
  9064. },
  9065. {
  9066. "type": "string",
  9067. "description": "市场id, 格式 1,2,3",
  9068. "name": "marketids",
  9069. "in": "query"
  9070. },
  9071. {
  9072. "type": "integer",
  9073. "description": "商品id",
  9074. "name": "goodsid",
  9075. "in": "query"
  9076. },
  9077. {
  9078. "type": "integer",
  9079. "description": "买卖方向 0-买 1-卖",
  9080. "name": "buyorsell",
  9081. "in": "query"
  9082. }
  9083. ],
  9084. "responses": {
  9085. "200": {
  9086. "description": "OK",
  9087. "schema": {
  9088. "type": "array",
  9089. "items": {
  9090. "$ref": "#/definitions/models.TradeHolderDetail"
  9091. }
  9092. }
  9093. },
  9094. "500": {
  9095. "description": "Internal Server Error",
  9096. "schema": {
  9097. "$ref": "#/definitions/app.Response"
  9098. }
  9099. }
  9100. }
  9101. }
  9102. },
  9103. "/Order/QueryTradeOrderDetail": {
  9104. "get": {
  9105. "security": [
  9106. {
  9107. "ApiKeyAuth": []
  9108. }
  9109. ],
  9110. "produces": [
  9111. "application/json"
  9112. ],
  9113. "tags": [
  9114. "通用单据"
  9115. ],
  9116. "summary": "委托单查询请求(合约市场)",
  9117. "parameters": [
  9118. {
  9119. "type": "string",
  9120. "description": "资金账户 - 格式:1,2,3",
  9121. "name": "accountID",
  9122. "in": "query",
  9123. "required": true
  9124. },
  9125. {
  9126. "type": "string",
  9127. "description": "交易模式 - 格式:1,2,3",
  9128. "name": "tradeMode",
  9129. "in": "query"
  9130. },
  9131. {
  9132. "type": "string",
  9133. "description": "委托状态 - 格式:1,2,3",
  9134. "name": "orderStatus",
  9135. "in": "query"
  9136. },
  9137. {
  9138. "type": "integer",
  9139. "description": "委托单号",
  9140. "name": "orderID",
  9141. "in": "query"
  9142. }
  9143. ],
  9144. "responses": {
  9145. "200": {
  9146. "description": "OK",
  9147. "schema": {
  9148. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  9149. }
  9150. },
  9151. "500": {
  9152. "description": "Internal Server Error",
  9153. "schema": {
  9154. "$ref": "#/definitions/app.Response"
  9155. }
  9156. }
  9157. }
  9158. }
  9159. },
  9160. "/Order/QueryTradePosition": {
  9161. "get": {
  9162. "security": [
  9163. {
  9164. "ApiKeyAuth": []
  9165. }
  9166. ],
  9167. "produces": [
  9168. "application/json"
  9169. ],
  9170. "tags": [
  9171. "通用单据"
  9172. ],
  9173. "summary": "持仓汇总查询(合约市场)",
  9174. "parameters": [
  9175. {
  9176. "type": "string",
  9177. "description": "资金账户 - 格式:1,2,3",
  9178. "name": "accountID",
  9179. "in": "query",
  9180. "required": true
  9181. },
  9182. {
  9183. "type": "string",
  9184. "description": "交易模式 - 格式:1,2,3",
  9185. "name": "tradeMode",
  9186. "in": "query"
  9187. }
  9188. ],
  9189. "responses": {
  9190. "200": {
  9191. "description": "OK",
  9192. "schema": {
  9193. "$ref": "#/definitions/order.QueryTradePositionRsp"
  9194. }
  9195. },
  9196. "500": {
  9197. "description": "Internal Server Error",
  9198. "schema": {
  9199. "$ref": "#/definitions/app.Response"
  9200. }
  9201. }
  9202. }
  9203. }
  9204. },
  9205. "/Qhj/QueryAccountInOutApply": {
  9206. "get": {
  9207. "security": [
  9208. {
  9209. "ApiKeyAuth": []
  9210. }
  9211. ],
  9212. "produces": [
  9213. "application/json"
  9214. ],
  9215. "tags": [
  9216. "大连千海金"
  9217. ],
  9218. "summary": "查询充值提现",
  9219. "parameters": [
  9220. {
  9221. "type": "integer",
  9222. "description": "用户ID",
  9223. "name": "userid",
  9224. "in": "query",
  9225. "required": true
  9226. },
  9227. {
  9228. "type": "string",
  9229. "description": "申请起始日期(格式yyyymmdd)",
  9230. "name": "begindate",
  9231. "in": "query"
  9232. },
  9233. {
  9234. "type": "string",
  9235. "description": "申请截止日期(格式yyyymmdd)",
  9236. "name": "enddate",
  9237. "in": "query"
  9238. },
  9239. {
  9240. "type": "string",
  9241. "description": "模糊搜索名称",
  9242. "name": "likename",
  9243. "in": "query"
  9244. }
  9245. ],
  9246. "responses": {
  9247. "200": {
  9248. "description": "OK",
  9249. "schema": {
  9250. "type": "array",
  9251. "items": {
  9252. "$ref": "#/definitions/models.QhjAccountOutInApply"
  9253. }
  9254. }
  9255. },
  9256. "500": {
  9257. "description": "Internal Server Error",
  9258. "schema": {
  9259. "$ref": "#/definitions/app.Response"
  9260. }
  9261. }
  9262. }
  9263. }
  9264. },
  9265. "/Qhj/QueryAreaFinanceConfig": {
  9266. "get": {
  9267. "security": [
  9268. {
  9269. "ApiKeyAuth": []
  9270. }
  9271. ],
  9272. "produces": [
  9273. "application/json"
  9274. ],
  9275. "tags": [
  9276. "大连千海金"
  9277. ],
  9278. "summary": "查询企业配置表",
  9279. "parameters": [
  9280. {
  9281. "type": "integer",
  9282. "description": "机构用户ID 其他做市关系,都设置为 1",
  9283. "name": "userid",
  9284. "in": "query"
  9285. }
  9286. ],
  9287. "responses": {
  9288. "200": {
  9289. "description": "OK",
  9290. "schema": {
  9291. "type": "array",
  9292. "items": {
  9293. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  9294. }
  9295. }
  9296. },
  9297. "500": {
  9298. "description": "Internal Server Error",
  9299. "schema": {
  9300. "$ref": "#/definitions/app.Response"
  9301. }
  9302. }
  9303. }
  9304. }
  9305. },
  9306. "/Qhj/QueryBankAccountSign": {
  9307. "get": {
  9308. "security": [
  9309. {
  9310. "ApiKeyAuth": []
  9311. }
  9312. ],
  9313. "produces": [
  9314. "application/json"
  9315. ],
  9316. "tags": [
  9317. "大连千海金"
  9318. ],
  9319. "summary": "查询签约银行信息(提现账户管理)",
  9320. "parameters": [
  9321. {
  9322. "type": "integer",
  9323. "description": "用户ID",
  9324. "name": "userid",
  9325. "in": "query",
  9326. "required": true
  9327. }
  9328. ],
  9329. "responses": {
  9330. "200": {
  9331. "description": "OK",
  9332. "schema": {
  9333. "type": "array",
  9334. "items": {
  9335. "$ref": "#/definitions/models.QhjBankAccountSign"
  9336. }
  9337. }
  9338. },
  9339. "500": {
  9340. "description": "Internal Server Error",
  9341. "schema": {
  9342. "$ref": "#/definitions/app.Response"
  9343. }
  9344. }
  9345. }
  9346. }
  9347. },
  9348. "/Qhj/QueryBankInfo": {
  9349. "get": {
  9350. "security": [
  9351. {
  9352. "ApiKeyAuth": []
  9353. }
  9354. ],
  9355. "produces": [
  9356. "application/json"
  9357. ],
  9358. "tags": [
  9359. "大连千海金"
  9360. ],
  9361. "summary": "查询开户行",
  9362. "responses": {
  9363. "200": {
  9364. "description": "OK",
  9365. "schema": {
  9366. "type": "array",
  9367. "items": {
  9368. "$ref": "#/definitions/models.QhjBankInfo"
  9369. }
  9370. }
  9371. },
  9372. "500": {
  9373. "description": "Internal Server Error",
  9374. "schema": {
  9375. "$ref": "#/definitions/app.Response"
  9376. }
  9377. }
  9378. }
  9379. }
  9380. },
  9381. "/Qhj/QueryBrokerApply": {
  9382. "get": {
  9383. "security": [
  9384. {
  9385. "ApiKeyAuth": []
  9386. }
  9387. ],
  9388. "produces": [
  9389. "application/json"
  9390. ],
  9391. "tags": [
  9392. "大连千海金"
  9393. ],
  9394. "summary": "查询经纪人申请",
  9395. "parameters": [
  9396. {
  9397. "type": "integer",
  9398. "description": "所属机构ID",
  9399. "name": "userid",
  9400. "in": "query"
  9401. },
  9402. {
  9403. "type": "string",
  9404. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9405. "name": "filterstatus",
  9406. "in": "query"
  9407. }
  9408. ],
  9409. "responses": {
  9410. "200": {
  9411. "description": "OK",
  9412. "schema": {
  9413. "type": "array",
  9414. "items": {
  9415. "$ref": "#/definitions/models.QhjBrokerApply"
  9416. }
  9417. }
  9418. },
  9419. "500": {
  9420. "description": "Internal Server Error",
  9421. "schema": {
  9422. "$ref": "#/definitions/app.Response"
  9423. }
  9424. }
  9425. }
  9426. }
  9427. },
  9428. "/Qhj/QueryBrokerApplyEx": {
  9429. "get": {
  9430. "security": [
  9431. {
  9432. "ApiKeyAuth": []
  9433. }
  9434. ],
  9435. "produces": [
  9436. "application/json"
  9437. ],
  9438. "tags": [
  9439. "大连千海金"
  9440. ],
  9441. "summary": "查询经纪人信息和申请记录",
  9442. "parameters": [
  9443. {
  9444. "type": "integer",
  9445. "description": "所属机构ID",
  9446. "name": "userid",
  9447. "in": "query"
  9448. }
  9449. ],
  9450. "responses": {
  9451. "200": {
  9452. "description": "OK",
  9453. "schema": {
  9454. "type": "array",
  9455. "items": {
  9456. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  9457. }
  9458. }
  9459. },
  9460. "500": {
  9461. "description": "Internal Server Error",
  9462. "schema": {
  9463. "$ref": "#/definitions/app.Response"
  9464. }
  9465. }
  9466. }
  9467. }
  9468. },
  9469. "/Qhj/QueryBrokerRewardLog": {
  9470. "get": {
  9471. "security": [
  9472. {
  9473. "ApiKeyAuth": []
  9474. }
  9475. ],
  9476. "produces": [
  9477. "application/json"
  9478. ],
  9479. "tags": [
  9480. "大连千海金"
  9481. ],
  9482. "summary": "查询奖励流水(我的奖励)",
  9483. "parameters": [
  9484. {
  9485. "type": "integer",
  9486. "description": "用户ID",
  9487. "name": "userid",
  9488. "in": "query",
  9489. "required": true
  9490. },
  9491. {
  9492. "type": "string",
  9493. "description": "开始交易日(yyyymmdd)",
  9494. "name": "begindate",
  9495. "in": "query"
  9496. },
  9497. {
  9498. "type": "string",
  9499. "description": "结束交易日(yyyymmdd)",
  9500. "name": "enddate",
  9501. "in": "query"
  9502. }
  9503. ],
  9504. "responses": {
  9505. "200": {
  9506. "description": "OK",
  9507. "schema": {
  9508. "type": "array",
  9509. "items": {
  9510. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  9511. }
  9512. }
  9513. },
  9514. "500": {
  9515. "description": "Internal Server Error",
  9516. "schema": {
  9517. "$ref": "#/definitions/app.Response"
  9518. }
  9519. }
  9520. }
  9521. }
  9522. },
  9523. "/Qhj/QueryContract": {
  9524. "get": {
  9525. "security": [
  9526. {
  9527. "ApiKeyAuth": []
  9528. }
  9529. ],
  9530. "produces": [
  9531. "application/json"
  9532. ],
  9533. "tags": [
  9534. "大连千海金"
  9535. ],
  9536. "summary": "查询融资明细(合同)",
  9537. "parameters": [
  9538. {
  9539. "type": "integer",
  9540. "description": "用户ID",
  9541. "name": "userid",
  9542. "in": "query"
  9543. },
  9544. {
  9545. "type": "integer",
  9546. "description": "scf合同id",
  9547. "name": "scfcontractid",
  9548. "in": "query"
  9549. }
  9550. ],
  9551. "responses": {
  9552. "200": {
  9553. "description": "OK",
  9554. "schema": {
  9555. "type": "array",
  9556. "items": {
  9557. "$ref": "#/definitions/models.QhjContract"
  9558. }
  9559. }
  9560. },
  9561. "500": {
  9562. "description": "Internal Server Error",
  9563. "schema": {
  9564. "$ref": "#/definitions/app.Response"
  9565. }
  9566. }
  9567. }
  9568. }
  9569. },
  9570. "/Qhj/QueryContractLog": {
  9571. "get": {
  9572. "security": [
  9573. {
  9574. "ApiKeyAuth": []
  9575. }
  9576. ],
  9577. "produces": [
  9578. "application/json"
  9579. ],
  9580. "tags": [
  9581. "大连千海金"
  9582. ],
  9583. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  9584. "parameters": [
  9585. {
  9586. "type": "integer",
  9587. "description": "scf合同id",
  9588. "name": "scfcontractid",
  9589. "in": "query",
  9590. "required": true
  9591. },
  9592. {
  9593. "type": "string",
  9594. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  9595. "name": "amounttype",
  9596. "in": "query"
  9597. }
  9598. ],
  9599. "responses": {
  9600. "200": {
  9601. "description": "OK",
  9602. "schema": {
  9603. "type": "array",
  9604. "items": {
  9605. "$ref": "#/definitions/models.QhjContractLog"
  9606. }
  9607. }
  9608. },
  9609. "500": {
  9610. "description": "Internal Server Error",
  9611. "schema": {
  9612. "$ref": "#/definitions/app.Response"
  9613. }
  9614. }
  9615. }
  9616. }
  9617. },
  9618. "/Qhj/QueryCusBankSignBank": {
  9619. "get": {
  9620. "security": [
  9621. {
  9622. "ApiKeyAuth": []
  9623. }
  9624. ],
  9625. "produces": [
  9626. "application/json"
  9627. ],
  9628. "tags": [
  9629. "大连千海金"
  9630. ],
  9631. "summary": "查询托管银行",
  9632. "responses": {
  9633. "200": {
  9634. "description": "OK",
  9635. "schema": {
  9636. "type": "array",
  9637. "items": {
  9638. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  9639. }
  9640. }
  9641. },
  9642. "500": {
  9643. "description": "Internal Server Error",
  9644. "schema": {
  9645. "$ref": "#/definitions/app.Response"
  9646. }
  9647. }
  9648. }
  9649. }
  9650. },
  9651. "/Qhj/QueryCustomerInfo": {
  9652. "get": {
  9653. "security": [
  9654. {
  9655. "ApiKeyAuth": []
  9656. }
  9657. ],
  9658. "produces": [
  9659. "application/json"
  9660. ],
  9661. "tags": [
  9662. "大连千海金"
  9663. ],
  9664. "summary": "查询客户资料",
  9665. "parameters": [
  9666. {
  9667. "type": "integer",
  9668. "description": "用户ID",
  9669. "name": "userid",
  9670. "in": "query",
  9671. "required": true
  9672. },
  9673. {
  9674. "type": "integer",
  9675. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9676. "name": "querytype",
  9677. "in": "query",
  9678. "required": true
  9679. },
  9680. {
  9681. "type": "integer",
  9682. "description": "客户类型 1-个人 2-企业",
  9683. "name": "userinfotype",
  9684. "in": "query"
  9685. },
  9686. {
  9687. "type": "string",
  9688. "description": "客户名称(模糊匹配)",
  9689. "name": "customername",
  9690. "in": "query"
  9691. },
  9692. {
  9693. "type": "string",
  9694. "description": "昵称(模糊匹配)",
  9695. "name": "nickname",
  9696. "in": "query"
  9697. },
  9698. {
  9699. "type": "integer",
  9700. "description": "是否包含子级 1-包含",
  9701. "name": "includesub",
  9702. "in": "query"
  9703. }
  9704. ],
  9705. "responses": {
  9706. "200": {
  9707. "description": "OK",
  9708. "schema": {
  9709. "type": "array",
  9710. "items": {
  9711. "$ref": "#/definitions/models.QhjCustomer"
  9712. }
  9713. }
  9714. },
  9715. "500": {
  9716. "description": "Internal Server Error",
  9717. "schema": {
  9718. "$ref": "#/definitions/app.Response"
  9719. }
  9720. }
  9721. }
  9722. }
  9723. },
  9724. "/Qhj/QueryGoodsEx": {
  9725. "get": {
  9726. "security": [
  9727. {
  9728. "ApiKeyAuth": []
  9729. }
  9730. ],
  9731. "produces": [
  9732. "application/json"
  9733. ],
  9734. "tags": [
  9735. "大连千海金"
  9736. ],
  9737. "summary": "交易商品扩展表",
  9738. "parameters": [
  9739. {
  9740. "type": "integer",
  9741. "description": "商品id",
  9742. "name": "goodsid",
  9743. "in": "query"
  9744. }
  9745. ],
  9746. "responses": {
  9747. "200": {
  9748. "description": "OK",
  9749. "schema": {
  9750. "type": "array",
  9751. "items": {
  9752. "$ref": "#/definitions/models.Qhjgoodsex"
  9753. }
  9754. }
  9755. },
  9756. "500": {
  9757. "description": "Internal Server Error",
  9758. "schema": {
  9759. "$ref": "#/definitions/app.Response"
  9760. }
  9761. }
  9762. }
  9763. }
  9764. },
  9765. "/Qhj/QueryMyTeam": {
  9766. "get": {
  9767. "security": [
  9768. {
  9769. "ApiKeyAuth": []
  9770. }
  9771. ],
  9772. "produces": [
  9773. "application/json"
  9774. ],
  9775. "tags": [
  9776. "大连千海金"
  9777. ],
  9778. "summary": "查询我的团队",
  9779. "parameters": [
  9780. {
  9781. "type": "integer",
  9782. "description": "用户ID",
  9783. "name": "userid",
  9784. "in": "query",
  9785. "required": true
  9786. }
  9787. ],
  9788. "responses": {
  9789. "200": {
  9790. "description": "OK",
  9791. "schema": {
  9792. "type": "array",
  9793. "items": {
  9794. "$ref": "#/definitions/models.QhjMyTeamEx"
  9795. }
  9796. }
  9797. },
  9798. "500": {
  9799. "description": "Internal Server Error",
  9800. "schema": {
  9801. "$ref": "#/definitions/app.Response"
  9802. }
  9803. }
  9804. }
  9805. }
  9806. },
  9807. "/Qhj/QueryMyTeamOrder": {
  9808. "get": {
  9809. "security": [
  9810. {
  9811. "ApiKeyAuth": []
  9812. }
  9813. ],
  9814. "produces": [
  9815. "application/json"
  9816. ],
  9817. "tags": [
  9818. "大连千海金"
  9819. ],
  9820. "summary": "查询团队订单(我的团队/团队订单)",
  9821. "parameters": [
  9822. {
  9823. "type": "integer",
  9824. "description": "页码",
  9825. "name": "page",
  9826. "in": "query"
  9827. },
  9828. {
  9829. "type": "integer",
  9830. "description": "每页条数",
  9831. "name": "pagesize",
  9832. "in": "query"
  9833. },
  9834. {
  9835. "type": "integer",
  9836. "description": "用户ID",
  9837. "name": "userid",
  9838. "in": "query",
  9839. "required": true
  9840. },
  9841. {
  9842. "type": "integer",
  9843. "description": "交易模式",
  9844. "name": "trademode",
  9845. "in": "query"
  9846. },
  9847. {
  9848. "type": "string",
  9849. "description": "名称(模糊搜索账户)",
  9850. "name": "filtername",
  9851. "in": "query"
  9852. }
  9853. ],
  9854. "responses": {
  9855. "200": {
  9856. "description": "OK",
  9857. "schema": {
  9858. "type": "array",
  9859. "items": {
  9860. "$ref": "#/definitions/models.QhjTeamOrder"
  9861. }
  9862. }
  9863. },
  9864. "500": {
  9865. "description": "Internal Server Error",
  9866. "schema": {
  9867. "$ref": "#/definitions/app.Response"
  9868. }
  9869. }
  9870. }
  9871. }
  9872. },
  9873. "/Qhj/QueryParentAreaList": {
  9874. "get": {
  9875. "security": [
  9876. {
  9877. "ApiKeyAuth": []
  9878. }
  9879. ],
  9880. "produces": [
  9881. "application/json"
  9882. ],
  9883. "tags": [
  9884. "大连千海金"
  9885. ],
  9886. "summary": "查询所属机构列表",
  9887. "parameters": [
  9888. {
  9889. "type": "integer",
  9890. "description": "用户ID",
  9891. "name": "userid",
  9892. "in": "query",
  9893. "required": true
  9894. }
  9895. ],
  9896. "responses": {
  9897. "200": {
  9898. "description": "OK",
  9899. "schema": {
  9900. "type": "array",
  9901. "items": {
  9902. "$ref": "#/definitions/models.QhjParentAreaList"
  9903. }
  9904. }
  9905. },
  9906. "500": {
  9907. "description": "Internal Server Error",
  9908. "schema": {
  9909. "$ref": "#/definitions/app.Response"
  9910. }
  9911. }
  9912. }
  9913. }
  9914. },
  9915. "/Qhj/QueryPayOrder": {
  9916. "get": {
  9917. "security": [
  9918. {
  9919. "ApiKeyAuth": []
  9920. }
  9921. ],
  9922. "produces": [
  9923. "application/json"
  9924. ],
  9925. "tags": [
  9926. "大连千海金"
  9927. ],
  9928. "summary": "查询待付款单据",
  9929. "parameters": [
  9930. {
  9931. "type": "integer",
  9932. "description": "资金账号id",
  9933. "name": "accountid",
  9934. "in": "query",
  9935. "required": true
  9936. },
  9937. {
  9938. "type": "integer",
  9939. "description": "成交单号",
  9940. "name": "tradeid",
  9941. "in": "query"
  9942. },
  9943. {
  9944. "type": "string",
  9945. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9946. "name": "payflag",
  9947. "in": "query"
  9948. }
  9949. ],
  9950. "responses": {
  9951. "200": {
  9952. "description": "OK",
  9953. "schema": {
  9954. "type": "array",
  9955. "items": {
  9956. "$ref": "#/definitions/models.QhjPayOrder"
  9957. }
  9958. }
  9959. },
  9960. "500": {
  9961. "description": "Internal Server Error",
  9962. "schema": {
  9963. "$ref": "#/definitions/app.Response"
  9964. }
  9965. }
  9966. }
  9967. }
  9968. },
  9969. "/Qhj/QueryPickArea": {
  9970. "get": {
  9971. "security": [
  9972. {
  9973. "ApiKeyAuth": []
  9974. }
  9975. ],
  9976. "produces": [
  9977. "application/json"
  9978. ],
  9979. "tags": [
  9980. "大连千海金"
  9981. ],
  9982. "summary": "查询提货门店",
  9983. "parameters": [
  9984. {
  9985. "type": "integer",
  9986. "description": "用户ID",
  9987. "name": "userid",
  9988. "in": "query"
  9989. }
  9990. ],
  9991. "responses": {
  9992. "200": {
  9993. "description": "OK",
  9994. "schema": {
  9995. "type": "array",
  9996. "items": {
  9997. "$ref": "#/definitions/models.QhjPickArea"
  9998. }
  9999. }
  10000. },
  10001. "500": {
  10002. "description": "Internal Server Error",
  10003. "schema": {
  10004. "$ref": "#/definitions/app.Response"
  10005. }
  10006. }
  10007. }
  10008. }
  10009. },
  10010. "/Qhj/QueryPickGoods": {
  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": "goodsid",
  10029. "in": "query",
  10030. "required": true
  10031. },
  10032. {
  10033. "type": "string",
  10034. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  10035. "name": "status",
  10036. "in": "query"
  10037. }
  10038. ],
  10039. "responses": {
  10040. "200": {
  10041. "description": "OK",
  10042. "schema": {
  10043. "type": "array",
  10044. "items": {
  10045. "$ref": "#/definitions/models.QhjPickGoods"
  10046. }
  10047. }
  10048. },
  10049. "500": {
  10050. "description": "Internal Server Error",
  10051. "schema": {
  10052. "$ref": "#/definitions/app.Response"
  10053. }
  10054. }
  10055. }
  10056. }
  10057. },
  10058. "/Qhj/QueryRSTriggerLog": {
  10059. "get": {
  10060. "security": [
  10061. {
  10062. "ApiKeyAuth": []
  10063. }
  10064. ],
  10065. "produces": [
  10066. "application/json"
  10067. ],
  10068. "tags": [
  10069. "大连千海金"
  10070. ],
  10071. "summary": "查询定投记录(定投管理/详情/定投记录)",
  10072. "parameters": [
  10073. {
  10074. "type": "integer",
  10075. "description": "用户ID",
  10076. "name": "userid",
  10077. "in": "query"
  10078. },
  10079. {
  10080. "type": "integer",
  10081. "description": "定投策略id",
  10082. "name": "regularlystrategyid",
  10083. "in": "query"
  10084. },
  10085. {
  10086. "type": "integer",
  10087. "description": "商品id",
  10088. "name": "goodsid",
  10089. "in": "query"
  10090. },
  10091. {
  10092. "type": "string",
  10093. "description": "开始交易日(yyyymmdd)",
  10094. "name": "begindate",
  10095. "in": "query"
  10096. },
  10097. {
  10098. "type": "string",
  10099. "description": "结束交易日(yyyymmdd)",
  10100. "name": "enddate",
  10101. "in": "query"
  10102. },
  10103. {
  10104. "type": "string",
  10105. "description": "名称(模糊搜索账户)",
  10106. "name": "filtername",
  10107. "in": "query"
  10108. }
  10109. ],
  10110. "responses": {
  10111. "200": {
  10112. "description": "OK",
  10113. "schema": {
  10114. "type": "array",
  10115. "items": {
  10116. "$ref": "#/definitions/models.QhjRSTriggerLog"
  10117. }
  10118. }
  10119. },
  10120. "500": {
  10121. "description": "Internal Server Error",
  10122. "schema": {
  10123. "$ref": "#/definitions/app.Response"
  10124. }
  10125. }
  10126. }
  10127. }
  10128. },
  10129. "/Qhj/QueryRStrategy": {
  10130. "get": {
  10131. "security": [
  10132. {
  10133. "ApiKeyAuth": []
  10134. }
  10135. ],
  10136. "produces": [
  10137. "application/json"
  10138. ],
  10139. "tags": [
  10140. "大连千海金"
  10141. ],
  10142. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  10143. "parameters": [
  10144. {
  10145. "type": "integer",
  10146. "description": "用户ID",
  10147. "name": "userid",
  10148. "in": "query"
  10149. },
  10150. {
  10151. "type": "integer",
  10152. "description": "商品id",
  10153. "name": "goodsid",
  10154. "in": "query"
  10155. },
  10156. {
  10157. "type": "string",
  10158. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  10159. "name": "status",
  10160. "in": "query"
  10161. },
  10162. {
  10163. "type": "string",
  10164. "description": "名称(模糊搜索账户)",
  10165. "name": "filtername",
  10166. "in": "query"
  10167. }
  10168. ],
  10169. "responses": {
  10170. "200": {
  10171. "description": "OK",
  10172. "schema": {
  10173. "type": "array",
  10174. "items": {
  10175. "$ref": "#/definitions/models.QhjRStrategy"
  10176. }
  10177. }
  10178. },
  10179. "500": {
  10180. "description": "Internal Server Error",
  10181. "schema": {
  10182. "$ref": "#/definitions/app.Response"
  10183. }
  10184. }
  10185. }
  10186. }
  10187. },
  10188. "/Qhj/QueryReckonPriceLog": {
  10189. "get": {
  10190. "security": [
  10191. {
  10192. "ApiKeyAuth": []
  10193. }
  10194. ],
  10195. "produces": [
  10196. "application/json"
  10197. ],
  10198. "tags": [
  10199. "大连千海金"
  10200. ],
  10201. "summary": "查询定投价(结算价)",
  10202. "parameters": [
  10203. {
  10204. "type": "integer",
  10205. "description": "商品ID",
  10206. "name": "goodsid",
  10207. "in": "query"
  10208. },
  10209. {
  10210. "type": "string",
  10211. "description": "交易日 格式(yyyymmdd)",
  10212. "name": "tradedate",
  10213. "in": "query"
  10214. }
  10215. ],
  10216. "responses": {
  10217. "200": {
  10218. "description": "OK",
  10219. "schema": {
  10220. "type": "array",
  10221. "items": {
  10222. "$ref": "#/definitions/models.QhjReckonPriceLog"
  10223. }
  10224. }
  10225. },
  10226. "500": {
  10227. "description": "Internal Server Error",
  10228. "schema": {
  10229. "$ref": "#/definitions/app.Response"
  10230. }
  10231. }
  10232. }
  10233. }
  10234. },
  10235. "/Qhj/QueryScoreLog": {
  10236. "get": {
  10237. "security": [
  10238. {
  10239. "ApiKeyAuth": []
  10240. }
  10241. ],
  10242. "produces": [
  10243. "application/json"
  10244. ],
  10245. "tags": [
  10246. "大连千海金"
  10247. ],
  10248. "summary": "查询积分流水(我的积分)",
  10249. "parameters": [
  10250. {
  10251. "type": "integer",
  10252. "description": "用户ID",
  10253. "name": "userid",
  10254. "in": "query",
  10255. "required": true
  10256. },
  10257. {
  10258. "type": "string",
  10259. "description": "开始交易日(yyyymmdd)",
  10260. "name": "begindate",
  10261. "in": "query"
  10262. },
  10263. {
  10264. "type": "string",
  10265. "description": "结束交易日(yyyymmdd)",
  10266. "name": "enddate",
  10267. "in": "query"
  10268. },
  10269. {
  10270. "type": "integer",
  10271. "description": "最近多少条",
  10272. "name": "lastnum",
  10273. "in": "query"
  10274. }
  10275. ],
  10276. "responses": {
  10277. "200": {
  10278. "description": "OK",
  10279. "schema": {
  10280. "type": "array",
  10281. "items": {
  10282. "$ref": "#/definitions/models.QhjScoreLog"
  10283. }
  10284. }
  10285. },
  10286. "500": {
  10287. "description": "Internal Server Error",
  10288. "schema": {
  10289. "$ref": "#/definitions/app.Response"
  10290. }
  10291. }
  10292. }
  10293. }
  10294. },
  10295. "/Qhj/QuerySiteColumnDetail": {
  10296. "get": {
  10297. "security": [
  10298. {
  10299. "ApiKeyAuth": []
  10300. }
  10301. ],
  10302. "produces": [
  10303. "application/json"
  10304. ],
  10305. "tags": [
  10306. "大连千海金"
  10307. ],
  10308. "summary": "查询资讯",
  10309. "parameters": [
  10310. {
  10311. "type": "integer",
  10312. "description": "用户ID",
  10313. "name": "userid",
  10314. "in": "query",
  10315. "required": true
  10316. }
  10317. ],
  10318. "responses": {
  10319. "200": {
  10320. "description": "OK",
  10321. "schema": {
  10322. "type": "array",
  10323. "items": {
  10324. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  10325. }
  10326. }
  10327. },
  10328. "500": {
  10329. "description": "Internal Server Error",
  10330. "schema": {
  10331. "$ref": "#/definitions/app.Response"
  10332. }
  10333. }
  10334. }
  10335. }
  10336. },
  10337. "/Qhj/QueryTradeGoodsPickup": {
  10338. "get": {
  10339. "security": [
  10340. {
  10341. "ApiKeyAuth": []
  10342. }
  10343. ],
  10344. "produces": [
  10345. "application/json"
  10346. ],
  10347. "tags": [
  10348. "大连千海金"
  10349. ],
  10350. "summary": "查询提货",
  10351. "parameters": [
  10352. {
  10353. "type": "integer",
  10354. "description": "用户ID",
  10355. "name": "userid",
  10356. "in": "query",
  10357. "required": true
  10358. },
  10359. {
  10360. "type": "integer",
  10361. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  10362. "name": "takeorderstatus",
  10363. "in": "query"
  10364. }
  10365. ],
  10366. "responses": {
  10367. "200": {
  10368. "description": "OK",
  10369. "schema": {
  10370. "type": "array",
  10371. "items": {
  10372. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  10373. }
  10374. }
  10375. },
  10376. "500": {
  10377. "description": "Internal Server Error",
  10378. "schema": {
  10379. "$ref": "#/definitions/app.Response"
  10380. }
  10381. }
  10382. }
  10383. }
  10384. },
  10385. "/Qhj/QueryUserCollectConfig": {
  10386. "get": {
  10387. "security": [
  10388. {
  10389. "ApiKeyAuth": []
  10390. }
  10391. ],
  10392. "produces": [
  10393. "application/json"
  10394. ],
  10395. "tags": [
  10396. "大连千海金"
  10397. ],
  10398. "summary": "查询提现账户设置",
  10399. "parameters": [
  10400. {
  10401. "type": "integer",
  10402. "description": "用户ID",
  10403. "name": "userid",
  10404. "in": "query",
  10405. "required": true
  10406. }
  10407. ],
  10408. "responses": {
  10409. "200": {
  10410. "description": "OK",
  10411. "schema": {
  10412. "type": "array",
  10413. "items": {
  10414. "$ref": "#/definitions/models.UserCollectConfig"
  10415. }
  10416. }
  10417. },
  10418. "500": {
  10419. "description": "Internal Server Error",
  10420. "schema": {
  10421. "$ref": "#/definitions/app.Response"
  10422. }
  10423. }
  10424. }
  10425. }
  10426. },
  10427. "/Qhj/QueryUserReceiveInfo": {
  10428. "get": {
  10429. "security": [
  10430. {
  10431. "ApiKeyAuth": []
  10432. }
  10433. ],
  10434. "produces": [
  10435. "application/json"
  10436. ],
  10437. "tags": [
  10438. "大连千海金"
  10439. ],
  10440. "summary": "查询收货地址信息",
  10441. "parameters": [
  10442. {
  10443. "type": "integer",
  10444. "description": "用户ID",
  10445. "name": "userid",
  10446. "in": "query",
  10447. "required": true
  10448. }
  10449. ],
  10450. "responses": {
  10451. "200": {
  10452. "description": "OK",
  10453. "schema": {
  10454. "type": "array",
  10455. "items": {
  10456. "$ref": "#/definitions/models.UserReceiveInfo"
  10457. }
  10458. }
  10459. },
  10460. "500": {
  10461. "description": "Internal Server Error",
  10462. "schema": {
  10463. "$ref": "#/definitions/app.Response"
  10464. }
  10465. }
  10466. }
  10467. }
  10468. },
  10469. "/QhjMgr/QueryAccountInOutApply": {
  10470. "get": {
  10471. "security": [
  10472. {
  10473. "ApiKeyAuth": []
  10474. }
  10475. ],
  10476. "produces": [
  10477. "application/json"
  10478. ],
  10479. "tags": [
  10480. "大连千海金(PCWeb)"
  10481. ],
  10482. "summary": "查询充值提现",
  10483. "parameters": [
  10484. {
  10485. "type": "integer",
  10486. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  10487. "name": "querytype",
  10488. "in": "query",
  10489. "required": true
  10490. },
  10491. {
  10492. "type": "integer",
  10493. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  10494. "name": "applystatus",
  10495. "in": "query"
  10496. },
  10497. {
  10498. "type": "string",
  10499. "description": "申请起始日期(格式yyyymmdd)",
  10500. "name": "begindate",
  10501. "in": "query"
  10502. },
  10503. {
  10504. "type": "string",
  10505. "description": "申请截止日期(格式yyyymmdd)",
  10506. "name": "enddate",
  10507. "in": "query"
  10508. },
  10509. {
  10510. "type": "string",
  10511. "description": "模糊搜索名称",
  10512. "name": "likename",
  10513. "in": "query"
  10514. }
  10515. ],
  10516. "responses": {
  10517. "200": {
  10518. "description": "OK",
  10519. "schema": {
  10520. "type": "array",
  10521. "items": {
  10522. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  10523. }
  10524. }
  10525. },
  10526. "500": {
  10527. "description": "Internal Server Error",
  10528. "schema": {
  10529. "$ref": "#/definitions/app.Response"
  10530. }
  10531. }
  10532. }
  10533. }
  10534. },
  10535. "/QhjMgr/QueryBrokerApply": {
  10536. "get": {
  10537. "security": [
  10538. {
  10539. "ApiKeyAuth": []
  10540. }
  10541. ],
  10542. "produces": [
  10543. "application/json"
  10544. ],
  10545. "tags": [
  10546. "大连千海金(PCWeb)"
  10547. ],
  10548. "summary": "查询经纪人申请",
  10549. "parameters": [
  10550. {
  10551. "type": "integer",
  10552. "description": "所属机构ID",
  10553. "name": "userid",
  10554. "in": "query"
  10555. },
  10556. {
  10557. "type": "string",
  10558. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10559. "name": "filterstatus",
  10560. "in": "query"
  10561. },
  10562. {
  10563. "type": "string",
  10564. "description": "名称(模糊匹配)",
  10565. "name": "filtername",
  10566. "in": "query"
  10567. },
  10568. {
  10569. "type": "integer",
  10570. "description": "是否包含子级 1-包含",
  10571. "name": "includesub",
  10572. "in": "query"
  10573. }
  10574. ],
  10575. "responses": {
  10576. "200": {
  10577. "description": "OK",
  10578. "schema": {
  10579. "type": "array",
  10580. "items": {
  10581. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  10582. }
  10583. }
  10584. },
  10585. "500": {
  10586. "description": "Internal Server Error",
  10587. "schema": {
  10588. "$ref": "#/definitions/app.Response"
  10589. }
  10590. }
  10591. }
  10592. }
  10593. },
  10594. "/QhjMgr/QueryBrokerRewardReport": {
  10595. "get": {
  10596. "security": [
  10597. {
  10598. "ApiKeyAuth": []
  10599. }
  10600. ],
  10601. "produces": [
  10602. "application/json"
  10603. ],
  10604. "tags": [
  10605. "大连千海金(PCWeb)"
  10606. ],
  10607. "summary": "查询经纪人奖励报表(废弃)",
  10608. "parameters": [
  10609. {
  10610. "type": "integer",
  10611. "description": "所属机构ID",
  10612. "name": "userid",
  10613. "in": "query",
  10614. "required": true
  10615. },
  10616. {
  10617. "type": "integer",
  10618. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  10619. "name": "cycletype",
  10620. "in": "query",
  10621. "required": true
  10622. },
  10623. {
  10624. "type": "string",
  10625. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  10626. "name": "cycletime",
  10627. "in": "query",
  10628. "required": true
  10629. },
  10630. {
  10631. "type": "string",
  10632. "description": "名称(模糊匹配)",
  10633. "name": "filtername",
  10634. "in": "query"
  10635. },
  10636. {
  10637. "type": "integer",
  10638. "description": "是否包含子级 1-包含",
  10639. "name": "includesub",
  10640. "in": "query"
  10641. }
  10642. ],
  10643. "responses": {
  10644. "200": {
  10645. "description": "OK",
  10646. "schema": {
  10647. "type": "array",
  10648. "items": {
  10649. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  10650. }
  10651. }
  10652. },
  10653. "500": {
  10654. "description": "Internal Server Error",
  10655. "schema": {
  10656. "$ref": "#/definitions/app.Response"
  10657. }
  10658. }
  10659. }
  10660. }
  10661. },
  10662. "/QhjMgr/QueryContract": {
  10663. "get": {
  10664. "security": [
  10665. {
  10666. "ApiKeyAuth": []
  10667. }
  10668. ],
  10669. "produces": [
  10670. "application/json"
  10671. ],
  10672. "tags": [
  10673. "大连千海金(PCWeb)"
  10674. ],
  10675. "summary": "查询融资信息(合同)",
  10676. "parameters": [
  10677. {
  10678. "type": "integer",
  10679. "description": "用户ID",
  10680. "name": "userid",
  10681. "in": "query"
  10682. },
  10683. {
  10684. "type": "integer",
  10685. "description": "商品id",
  10686. "name": "goodsid",
  10687. "in": "query"
  10688. },
  10689. {
  10690. "type": "string",
  10691. "description": "名称(模糊搜索账户)",
  10692. "name": "filtername",
  10693. "in": "query"
  10694. },
  10695. {
  10696. "type": "string",
  10697. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  10698. "name": "risklevel",
  10699. "in": "query"
  10700. },
  10701. {
  10702. "type": "string",
  10703. "description": "开始交易日(yyyymmdd)",
  10704. "name": "begindate",
  10705. "in": "query"
  10706. },
  10707. {
  10708. "type": "string",
  10709. "description": "结束交易日(yyyymmdd)",
  10710. "name": "enddate",
  10711. "in": "query"
  10712. }
  10713. ],
  10714. "responses": {
  10715. "200": {
  10716. "description": "OK",
  10717. "schema": {
  10718. "type": "array",
  10719. "items": {
  10720. "$ref": "#/definitions/models.QhjMgrContract"
  10721. }
  10722. }
  10723. },
  10724. "500": {
  10725. "description": "Internal Server Error",
  10726. "schema": {
  10727. "$ref": "#/definitions/app.Response"
  10728. }
  10729. }
  10730. }
  10731. }
  10732. },
  10733. "/QhjMgr/QueryCustomerInfo": {
  10734. "get": {
  10735. "security": [
  10736. {
  10737. "ApiKeyAuth": []
  10738. }
  10739. ],
  10740. "produces": [
  10741. "application/json"
  10742. ],
  10743. "tags": [
  10744. "大连千海金(PCWeb)"
  10745. ],
  10746. "summary": "查询客户资料",
  10747. "parameters": [
  10748. {
  10749. "type": "integer",
  10750. "description": "用户ID",
  10751. "name": "userid",
  10752. "in": "query",
  10753. "required": true
  10754. },
  10755. {
  10756. "type": "integer",
  10757. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  10758. "name": "querytype",
  10759. "in": "query",
  10760. "required": true
  10761. },
  10762. {
  10763. "type": "integer",
  10764. "description": "客户类型 1-个人 2-企业",
  10765. "name": "userinfotype",
  10766. "in": "query"
  10767. },
  10768. {
  10769. "type": "string",
  10770. "description": "客户名称(模糊匹配)",
  10771. "name": "customername",
  10772. "in": "query"
  10773. },
  10774. {
  10775. "type": "string",
  10776. "description": "昵称(模糊匹配)",
  10777. "name": "nickname",
  10778. "in": "query"
  10779. },
  10780. {
  10781. "type": "string",
  10782. "description": "所属客户经理(模糊匹配)",
  10783. "name": "brokername",
  10784. "in": "query"
  10785. },
  10786. {
  10787. "type": "string",
  10788. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  10789. "name": "birthday",
  10790. "in": "query"
  10791. },
  10792. {
  10793. "type": "integer",
  10794. "description": "是否包含子级 1-包含",
  10795. "name": "includesub",
  10796. "in": "query"
  10797. }
  10798. ],
  10799. "responses": {
  10800. "200": {
  10801. "description": "OK",
  10802. "schema": {
  10803. "type": "array",
  10804. "items": {
  10805. "$ref": "#/definitions/models.QhjMgrCustomer"
  10806. }
  10807. }
  10808. },
  10809. "500": {
  10810. "description": "Internal Server Error",
  10811. "schema": {
  10812. "$ref": "#/definitions/app.Response"
  10813. }
  10814. }
  10815. }
  10816. }
  10817. },
  10818. "/QhjMgr/QueryPickGoods": {
  10819. "get": {
  10820. "security": [
  10821. {
  10822. "ApiKeyAuth": []
  10823. }
  10824. ],
  10825. "produces": [
  10826. "application/json"
  10827. ],
  10828. "tags": [
  10829. "大连千海金(PCWeb)"
  10830. ],
  10831. "summary": "查询提货商品",
  10832. "parameters": [
  10833. {
  10834. "type": "string",
  10835. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  10836. "name": "status",
  10837. "in": "query"
  10838. }
  10839. ],
  10840. "responses": {
  10841. "200": {
  10842. "description": "OK",
  10843. "schema": {
  10844. "type": "array",
  10845. "items": {
  10846. "$ref": "#/definitions/models.QhjMgrPickGoods"
  10847. }
  10848. }
  10849. },
  10850. "500": {
  10851. "description": "Internal Server Error",
  10852. "schema": {
  10853. "$ref": "#/definitions/app.Response"
  10854. }
  10855. }
  10856. }
  10857. }
  10858. },
  10859. "/QhjMgr/QuerySubArea": {
  10860. "get": {
  10861. "security": [
  10862. {
  10863. "ApiKeyAuth": []
  10864. }
  10865. ],
  10866. "produces": [
  10867. "application/json"
  10868. ],
  10869. "tags": [
  10870. "大连千海金(PCWeb)"
  10871. ],
  10872. "summary": "查询子机构列表",
  10873. "parameters": [
  10874. {
  10875. "type": "integer",
  10876. "description": "用户ID",
  10877. "name": "userid",
  10878. "in": "query",
  10879. "required": true
  10880. }
  10881. ],
  10882. "responses": {
  10883. "200": {
  10884. "description": "OK",
  10885. "schema": {
  10886. "type": "array",
  10887. "items": {
  10888. "$ref": "#/definitions/models.QhjMgrSubArea"
  10889. }
  10890. }
  10891. },
  10892. "500": {
  10893. "description": "Internal Server Error",
  10894. "schema": {
  10895. "$ref": "#/definitions/app.Response"
  10896. }
  10897. }
  10898. }
  10899. }
  10900. },
  10901. "/QhjMgr/QueryTradeDetail": {
  10902. "get": {
  10903. "security": [
  10904. {
  10905. "ApiKeyAuth": []
  10906. }
  10907. ],
  10908. "produces": [
  10909. "application/json"
  10910. ],
  10911. "tags": [
  10912. "大连千海金(PCWeb)"
  10913. ],
  10914. "summary": "查询成交明细",
  10915. "parameters": [
  10916. {
  10917. "type": "integer",
  10918. "description": "用户ID",
  10919. "name": "userid",
  10920. "in": "query",
  10921. "required": true
  10922. },
  10923. {
  10924. "type": "integer",
  10925. "description": "用户类型 1-个人 2-企业",
  10926. "name": "userinfotype",
  10927. "in": "query"
  10928. },
  10929. {
  10930. "type": "integer",
  10931. "description": "交易模式",
  10932. "name": "trademode",
  10933. "in": "query"
  10934. },
  10935. {
  10936. "type": "integer",
  10937. "description": "商品id",
  10938. "name": "goodsid",
  10939. "in": "query"
  10940. },
  10941. {
  10942. "type": "string",
  10943. "description": "名称(模糊搜索账户)",
  10944. "name": "filtername",
  10945. "in": "query"
  10946. },
  10947. {
  10948. "type": "string",
  10949. "description": "开始交易日(yyyymmdd)",
  10950. "name": "begindate",
  10951. "in": "query"
  10952. },
  10953. {
  10954. "type": "string",
  10955. "description": "结束交易日(yyyymmdd)",
  10956. "name": "enddate",
  10957. "in": "query"
  10958. },
  10959. {
  10960. "type": "integer",
  10961. "description": "是否包含子级 1-包含",
  10962. "name": "includesub",
  10963. "in": "query"
  10964. }
  10965. ],
  10966. "responses": {
  10967. "200": {
  10968. "description": "OK",
  10969. "schema": {
  10970. "type": "array",
  10971. "items": {
  10972. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  10973. }
  10974. }
  10975. },
  10976. "500": {
  10977. "description": "Internal Server Error",
  10978. "schema": {
  10979. "$ref": "#/definitions/app.Response"
  10980. }
  10981. }
  10982. }
  10983. }
  10984. },
  10985. "/QhjMgr/QueryTradeOrderDetail": {
  10986. "get": {
  10987. "security": [
  10988. {
  10989. "ApiKeyAuth": []
  10990. }
  10991. ],
  10992. "produces": [
  10993. "application/json"
  10994. ],
  10995. "tags": [
  10996. "大连千海金(PCWeb)"
  10997. ],
  10998. "summary": "查询委托明细",
  10999. "parameters": [
  11000. {
  11001. "type": "integer",
  11002. "description": "用户ID",
  11003. "name": "userid",
  11004. "in": "query",
  11005. "required": true
  11006. },
  11007. {
  11008. "type": "integer",
  11009. "description": "用户类型 1-个人 2-企业",
  11010. "name": "userinfotype",
  11011. "in": "query"
  11012. },
  11013. {
  11014. "type": "integer",
  11015. "description": "交易模式",
  11016. "name": "trademode",
  11017. "in": "query"
  11018. },
  11019. {
  11020. "type": "integer",
  11021. "description": "商品id",
  11022. "name": "goodsid",
  11023. "in": "query"
  11024. },
  11025. {
  11026. "type": "string",
  11027. "description": "名称(模糊搜索账户)",
  11028. "name": "filtername",
  11029. "in": "query"
  11030. },
  11031. {
  11032. "type": "string",
  11033. "description": "开始交易日(yyyymmdd)",
  11034. "name": "begindate",
  11035. "in": "query"
  11036. },
  11037. {
  11038. "type": "string",
  11039. "description": "结束交易日(yyyymmdd)",
  11040. "name": "enddate",
  11041. "in": "query"
  11042. },
  11043. {
  11044. "type": "integer",
  11045. "description": "是否包含子级 1-包含",
  11046. "name": "includesub",
  11047. "in": "query"
  11048. }
  11049. ],
  11050. "responses": {
  11051. "200": {
  11052. "description": "OK",
  11053. "schema": {
  11054. "type": "array",
  11055. "items": {
  11056. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  11057. }
  11058. }
  11059. },
  11060. "500": {
  11061. "description": "Internal Server Error",
  11062. "schema": {
  11063. "$ref": "#/definitions/app.Response"
  11064. }
  11065. }
  11066. }
  11067. }
  11068. },
  11069. "/QhjMgr/QueryTradePayOrder": {
  11070. "get": {
  11071. "security": [
  11072. {
  11073. "ApiKeyAuth": []
  11074. }
  11075. ],
  11076. "produces": [
  11077. "application/json"
  11078. ],
  11079. "tags": [
  11080. "大连千海金(PCWeb)"
  11081. ],
  11082. "summary": "查询待付款单",
  11083. "parameters": [
  11084. {
  11085. "type": "integer",
  11086. "description": "用户ID",
  11087. "name": "userid",
  11088. "in": "query",
  11089. "required": true
  11090. },
  11091. {
  11092. "type": "string",
  11093. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  11094. "name": "payflag",
  11095. "in": "query"
  11096. },
  11097. {
  11098. "type": "integer",
  11099. "description": "用户类型 1-个人 2-企业",
  11100. "name": "userinfotype",
  11101. "in": "query"
  11102. },
  11103. {
  11104. "type": "integer",
  11105. "description": "交易模式",
  11106. "name": "trademode",
  11107. "in": "query"
  11108. },
  11109. {
  11110. "type": "integer",
  11111. "description": "商品id",
  11112. "name": "goodsid",
  11113. "in": "query"
  11114. },
  11115. {
  11116. "type": "string",
  11117. "description": "名称(模糊搜索账户)",
  11118. "name": "filtername",
  11119. "in": "query"
  11120. },
  11121. {
  11122. "type": "string",
  11123. "description": "开始交易日(yyyymmdd)",
  11124. "name": "begindate",
  11125. "in": "query"
  11126. },
  11127. {
  11128. "type": "string",
  11129. "description": "结束交易日(yyyymmdd)",
  11130. "name": "enddate",
  11131. "in": "query"
  11132. },
  11133. {
  11134. "type": "integer",
  11135. "description": "是否包含子级 1-包含",
  11136. "name": "includesub",
  11137. "in": "query"
  11138. }
  11139. ],
  11140. "responses": {
  11141. "200": {
  11142. "description": "OK",
  11143. "schema": {
  11144. "type": "array",
  11145. "items": {
  11146. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  11147. }
  11148. }
  11149. },
  11150. "500": {
  11151. "description": "Internal Server Error",
  11152. "schema": {
  11153. "$ref": "#/definitions/app.Response"
  11154. }
  11155. }
  11156. }
  11157. }
  11158. },
  11159. "/QhjMgr/QueryTradePosition": {
  11160. "get": {
  11161. "security": [
  11162. {
  11163. "ApiKeyAuth": []
  11164. }
  11165. ],
  11166. "produces": [
  11167. "application/json"
  11168. ],
  11169. "tags": [
  11170. "大连千海金(PCWeb)"
  11171. ],
  11172. "summary": "查询持仓汇总",
  11173. "parameters": [
  11174. {
  11175. "type": "integer",
  11176. "description": "用户ID",
  11177. "name": "userid",
  11178. "in": "query",
  11179. "required": true
  11180. },
  11181. {
  11182. "type": "integer",
  11183. "description": "用户类型 1-个人 2-企业",
  11184. "name": "userinfotype",
  11185. "in": "query"
  11186. },
  11187. {
  11188. "type": "integer",
  11189. "description": "交易模式",
  11190. "name": "trademode",
  11191. "in": "query"
  11192. },
  11193. {
  11194. "type": "integer",
  11195. "description": "商品id",
  11196. "name": "goodsid",
  11197. "in": "query"
  11198. },
  11199. {
  11200. "type": "string",
  11201. "description": "名称(模糊搜索账户)",
  11202. "name": "filtername",
  11203. "in": "query"
  11204. },
  11205. {
  11206. "type": "integer",
  11207. "description": "是否包含子级 1-包含",
  11208. "name": "includesub",
  11209. "in": "query"
  11210. }
  11211. ],
  11212. "responses": {
  11213. "200": {
  11214. "description": "OK",
  11215. "schema": {
  11216. "type": "array",
  11217. "items": {
  11218. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  11219. }
  11220. }
  11221. },
  11222. "500": {
  11223. "description": "Internal Server Error",
  11224. "schema": {
  11225. "$ref": "#/definitions/app.Response"
  11226. }
  11227. }
  11228. }
  11229. }
  11230. },
  11231. "/QhjSys/QueryAgreementChangeLog": {
  11232. "get": {
  11233. "security": [
  11234. {
  11235. "ApiKeyAuth": []
  11236. }
  11237. ],
  11238. "produces": [
  11239. "application/json"
  11240. ],
  11241. "tags": [
  11242. "大连千海金(协议和签约信息)"
  11243. ],
  11244. "summary": "查询协议配置变更流水",
  11245. "parameters": [
  11246. {
  11247. "type": "integer",
  11248. "description": "协议ID",
  11249. "name": "agreementid",
  11250. "in": "query"
  11251. },
  11252. {
  11253. "type": "integer",
  11254. "description": "协议版本号",
  11255. "name": "agreementversion",
  11256. "in": "query"
  11257. },
  11258. {
  11259. "type": "integer",
  11260. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11261. "name": "agreementtype",
  11262. "in": "query"
  11263. },
  11264. {
  11265. "type": "string",
  11266. "description": "协议编号(模糊匹配)",
  11267. "name": "agreementno",
  11268. "in": "query"
  11269. },
  11270. {
  11271. "type": "string",
  11272. "description": "协议名称(模糊匹配)",
  11273. "name": "agreementname",
  11274. "in": "query"
  11275. }
  11276. ],
  11277. "responses": {
  11278. "200": {
  11279. "description": "OK",
  11280. "schema": {
  11281. "type": "array",
  11282. "items": {
  11283. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  11284. }
  11285. }
  11286. },
  11287. "500": {
  11288. "description": "Internal Server Error",
  11289. "schema": {
  11290. "$ref": "#/definitions/app.Response"
  11291. }
  11292. }
  11293. }
  11294. }
  11295. },
  11296. "/QhjSys/QueryAgreementConfig": {
  11297. "get": {
  11298. "security": [
  11299. {
  11300. "ApiKeyAuth": []
  11301. }
  11302. ],
  11303. "produces": [
  11304. "application/json"
  11305. ],
  11306. "tags": [
  11307. "大连千海金(协议和签约信息)"
  11308. ],
  11309. "summary": "查询协议配置",
  11310. "parameters": [
  11311. {
  11312. "type": "integer",
  11313. "description": "协议ID",
  11314. "name": "agreementid",
  11315. "in": "query"
  11316. },
  11317. {
  11318. "type": "integer",
  11319. "description": "协议版本号",
  11320. "name": "agreementversion",
  11321. "in": "query"
  11322. },
  11323. {
  11324. "type": "integer",
  11325. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11326. "name": "agreementtype",
  11327. "in": "query"
  11328. },
  11329. {
  11330. "type": "integer",
  11331. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  11332. "name": "isvalid",
  11333. "in": "query"
  11334. },
  11335. {
  11336. "type": "string",
  11337. "description": "协议编号(模糊匹配)",
  11338. "name": "agreementno",
  11339. "in": "query"
  11340. },
  11341. {
  11342. "type": "string",
  11343. "description": "协议名称(模糊匹配)",
  11344. "name": "agreementname",
  11345. "in": "query"
  11346. }
  11347. ],
  11348. "responses": {
  11349. "200": {
  11350. "description": "OK",
  11351. "schema": {
  11352. "type": "array",
  11353. "items": {
  11354. "$ref": "#/definitions/models.QhjAgreementConfig"
  11355. }
  11356. }
  11357. },
  11358. "500": {
  11359. "description": "Internal Server Error",
  11360. "schema": {
  11361. "$ref": "#/definitions/app.Response"
  11362. }
  11363. }
  11364. }
  11365. }
  11366. },
  11367. "/QhjSys/QueryCustomerSignStatus": {
  11368. "get": {
  11369. "security": [
  11370. {
  11371. "ApiKeyAuth": []
  11372. }
  11373. ],
  11374. "produces": [
  11375. "application/json"
  11376. ],
  11377. "tags": [
  11378. "大连千海金(协议和签约信息)"
  11379. ],
  11380. "summary": "查询客户协议签约状态",
  11381. "parameters": [
  11382. {
  11383. "type": "integer",
  11384. "description": "客户ID",
  11385. "name": "userid",
  11386. "in": "query"
  11387. },
  11388. {
  11389. "type": "integer",
  11390. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  11391. "name": "nodetype",
  11392. "in": "query"
  11393. },
  11394. {
  11395. "type": "integer",
  11396. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11397. "name": "goodsid",
  11398. "in": "query"
  11399. },
  11400. {
  11401. "type": "string",
  11402. "description": "创建交易日(yyyyMMdd)",
  11403. "name": "tradedate",
  11404. "in": "query"
  11405. },
  11406. {
  11407. "type": "string",
  11408. "description": "用户名称(模糊匹配)",
  11409. "name": "username",
  11410. "in": "query"
  11411. }
  11412. ],
  11413. "responses": {
  11414. "200": {
  11415. "description": "OK",
  11416. "schema": {
  11417. "type": "array",
  11418. "items": {
  11419. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  11420. }
  11421. }
  11422. },
  11423. "500": {
  11424. "description": "Internal Server Error",
  11425. "schema": {
  11426. "$ref": "#/definitions/app.Response"
  11427. }
  11428. }
  11429. }
  11430. }
  11431. },
  11432. "/QhjSys/QueryNodeAgreementConfig": {
  11433. "get": {
  11434. "security": [
  11435. {
  11436. "ApiKeyAuth": []
  11437. }
  11438. ],
  11439. "produces": [
  11440. "application/json"
  11441. ],
  11442. "tags": [
  11443. "大连千海金(协议和签约信息)"
  11444. ],
  11445. "summary": "查询协议节点配置",
  11446. "parameters": [
  11447. {
  11448. "type": "integer",
  11449. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  11450. "name": "configid",
  11451. "in": "query"
  11452. },
  11453. {
  11454. "type": "integer",
  11455. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11456. "name": "nodetype",
  11457. "in": "query"
  11458. },
  11459. {
  11460. "type": "integer",
  11461. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11462. "name": "goodsid",
  11463. "in": "query"
  11464. },
  11465. {
  11466. "type": "integer",
  11467. "description": "协议ID",
  11468. "name": "agreementid",
  11469. "in": "query"
  11470. },
  11471. {
  11472. "type": "integer",
  11473. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11474. "name": "agreementtype",
  11475. "in": "query"
  11476. },
  11477. {
  11478. "type": "integer",
  11479. "description": "协议版本号",
  11480. "name": "agreementversion",
  11481. "in": "query"
  11482. },
  11483. {
  11484. "type": "string",
  11485. "description": "协议编号(模糊匹配)",
  11486. "name": "agreementno",
  11487. "in": "query"
  11488. },
  11489. {
  11490. "type": "string",
  11491. "description": "协议名称(模糊匹配)",
  11492. "name": "agreementname",
  11493. "in": "query"
  11494. }
  11495. ],
  11496. "responses": {
  11497. "200": {
  11498. "description": "OK",
  11499. "schema": {
  11500. "type": "array",
  11501. "items": {
  11502. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  11503. }
  11504. }
  11505. },
  11506. "500": {
  11507. "description": "Internal Server Error",
  11508. "schema": {
  11509. "$ref": "#/definitions/app.Response"
  11510. }
  11511. }
  11512. }
  11513. }
  11514. },
  11515. "/QhjSys/QueryQhjCustomerSignLog": {
  11516. "get": {
  11517. "security": [
  11518. {
  11519. "ApiKeyAuth": []
  11520. }
  11521. ],
  11522. "produces": [
  11523. "application/json"
  11524. ],
  11525. "tags": [
  11526. "大连千海金(协议和签约信息)"
  11527. ],
  11528. "summary": "查询客户协议签约流水",
  11529. "parameters": [
  11530. {
  11531. "type": "integer",
  11532. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  11533. "name": "logid",
  11534. "in": "query"
  11535. },
  11536. {
  11537. "type": "integer",
  11538. "description": "客户ID",
  11539. "name": "userid",
  11540. "in": "query"
  11541. },
  11542. {
  11543. "type": "integer",
  11544. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11545. "name": "nodetype",
  11546. "in": "query"
  11547. },
  11548. {
  11549. "type": "integer",
  11550. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11551. "name": "goodsid",
  11552. "in": "query"
  11553. },
  11554. {
  11555. "type": "integer",
  11556. "description": "协议ID",
  11557. "name": "agreementid",
  11558. "in": "query"
  11559. },
  11560. {
  11561. "type": "string",
  11562. "description": "用户名称(模糊匹配)",
  11563. "name": "username",
  11564. "in": "query"
  11565. },
  11566. {
  11567. "type": "string",
  11568. "description": "协议编号(模糊匹配)",
  11569. "name": "agreementno",
  11570. "in": "query"
  11571. },
  11572. {
  11573. "type": "string",
  11574. "description": "协议名称(模糊匹配)",
  11575. "name": "agreementname",
  11576. "in": "query"
  11577. }
  11578. ],
  11579. "responses": {
  11580. "200": {
  11581. "description": "OK",
  11582. "schema": {
  11583. "type": "array",
  11584. "items": {
  11585. "$ref": "#/definitions/models.QhjCustomerSignLog"
  11586. }
  11587. }
  11588. },
  11589. "500": {
  11590. "description": "Internal Server Error",
  11591. "schema": {
  11592. "$ref": "#/definitions/app.Response"
  11593. }
  11594. }
  11595. }
  11596. }
  11597. },
  11598. "/QhjSys/QueryUserNodeCfgAndStatus": {
  11599. "get": {
  11600. "security": [
  11601. {
  11602. "ApiKeyAuth": []
  11603. }
  11604. ],
  11605. "produces": [
  11606. "application/json"
  11607. ],
  11608. "tags": [
  11609. "大连千海金(协议和签约信息)"
  11610. ],
  11611. "summary": "查询用户协议节点配置和状态",
  11612. "parameters": [
  11613. {
  11614. "type": "integer",
  11615. "description": "客户ID",
  11616. "name": "userid",
  11617. "in": "query"
  11618. },
  11619. {
  11620. "type": "integer",
  11621. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  11622. "name": "configid",
  11623. "in": "query"
  11624. },
  11625. {
  11626. "type": "string",
  11627. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11628. "name": "nodetype",
  11629. "in": "query"
  11630. },
  11631. {
  11632. "type": "integer",
  11633. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11634. "name": "goodsid",
  11635. "in": "query"
  11636. },
  11637. {
  11638. "type": "integer",
  11639. "description": "协议ID",
  11640. "name": "agreementid",
  11641. "in": "query"
  11642. },
  11643. {
  11644. "type": "integer",
  11645. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11646. "name": "agreementtype",
  11647. "in": "query"
  11648. },
  11649. {
  11650. "type": "integer",
  11651. "description": "协议版本号",
  11652. "name": "agreementversion",
  11653. "in": "query"
  11654. },
  11655. {
  11656. "type": "string",
  11657. "description": "协议编号(模糊匹配)",
  11658. "name": "agreementno",
  11659. "in": "query"
  11660. },
  11661. {
  11662. "type": "string",
  11663. "description": "协议名称(模糊匹配)",
  11664. "name": "agreementname",
  11665. "in": "query"
  11666. }
  11667. ],
  11668. "responses": {
  11669. "200": {
  11670. "description": "OK",
  11671. "schema": {
  11672. "type": "array",
  11673. "items": {
  11674. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  11675. }
  11676. }
  11677. },
  11678. "500": {
  11679. "description": "Internal Server Error",
  11680. "schema": {
  11681. "$ref": "#/definitions/app.Response"
  11682. }
  11683. }
  11684. }
  11685. }
  11686. },
  11687. "/Quote/QueryHistoryDatas": {
  11688. "get": {
  11689. "security": [
  11690. {
  11691. "ApiKeyAuth": []
  11692. }
  11693. ],
  11694. "produces": [
  11695. "application/json"
  11696. ],
  11697. "tags": [
  11698. "行情服务"
  11699. ],
  11700. "summary": "查询行情历史数据",
  11701. "parameters": [
  11702. {
  11703. "type": "integer",
  11704. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 12:周线 13:月线 14:年线",
  11705. "name": "cycleType",
  11706. "in": "query",
  11707. "required": true
  11708. },
  11709. {
  11710. "type": "string",
  11711. "description": "商品代码",
  11712. "name": "goodsCode",
  11713. "in": "query",
  11714. "required": true
  11715. },
  11716. {
  11717. "type": "string",
  11718. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  11719. "name": "startTime",
  11720. "in": "query"
  11721. },
  11722. {
  11723. "type": "string",
  11724. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  11725. "name": "endTime",
  11726. "in": "query"
  11727. },
  11728. {
  11729. "type": "integer",
  11730. "description": "条数",
  11731. "name": "count",
  11732. "in": "query"
  11733. },
  11734. {
  11735. "type": "boolean",
  11736. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  11737. "name": "isAsc",
  11738. "in": "query"
  11739. }
  11740. ],
  11741. "responses": {
  11742. "200": {
  11743. "description": "OK",
  11744. "schema": {
  11745. "$ref": "#/definitions/quote.HistoryData"
  11746. }
  11747. },
  11748. "500": {
  11749. "description": "Internal Server Error",
  11750. "schema": {
  11751. "$ref": "#/definitions/app.Response"
  11752. }
  11753. }
  11754. }
  11755. }
  11756. },
  11757. "/Quote/QueryHistoryTikDatas": {
  11758. "get": {
  11759. "security": [
  11760. {
  11761. "ApiKeyAuth": []
  11762. }
  11763. ],
  11764. "produces": [
  11765. "application/json"
  11766. ],
  11767. "tags": [
  11768. "行情服务"
  11769. ],
  11770. "summary": "查询行情Tik数据",
  11771. "parameters": [
  11772. {
  11773. "type": "string",
  11774. "description": "商品代码",
  11775. "name": "goodsCode",
  11776. "in": "query",
  11777. "required": true
  11778. },
  11779. {
  11780. "type": "string",
  11781. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  11782. "name": "startTime",
  11783. "in": "query"
  11784. },
  11785. {
  11786. "type": "string",
  11787. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  11788. "name": "endTime",
  11789. "in": "query"
  11790. },
  11791. {
  11792. "type": "integer",
  11793. "description": "条数",
  11794. "name": "count",
  11795. "in": "query"
  11796. },
  11797. {
  11798. "type": "boolean",
  11799. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  11800. "name": "isAsc",
  11801. "in": "query"
  11802. }
  11803. ],
  11804. "responses": {
  11805. "200": {
  11806. "description": "OK",
  11807. "schema": {
  11808. "$ref": "#/definitions/quote.HistoryTikData"
  11809. }
  11810. },
  11811. "500": {
  11812. "description": "Internal Server Error",
  11813. "schema": {
  11814. "$ref": "#/definitions/app.Response"
  11815. }
  11816. }
  11817. }
  11818. }
  11819. },
  11820. "/Quote/QueryQuoteDay": {
  11821. "get": {
  11822. "security": [
  11823. {
  11824. "ApiKeyAuth": []
  11825. }
  11826. ],
  11827. "produces": [
  11828. "application/json"
  11829. ],
  11830. "tags": [
  11831. "行情服务"
  11832. ],
  11833. "summary": "获取商品盘面信息",
  11834. "parameters": [
  11835. {
  11836. "type": "string",
  11837. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  11838. "name": "goodsCodes",
  11839. "in": "query"
  11840. }
  11841. ],
  11842. "responses": {
  11843. "200": {
  11844. "description": "OK",
  11845. "schema": {
  11846. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  11847. }
  11848. },
  11849. "500": {
  11850. "description": "Internal Server Error",
  11851. "schema": {
  11852. "$ref": "#/definitions/app.Response"
  11853. }
  11854. }
  11855. }
  11856. }
  11857. },
  11858. "/Quote/QueryTSData": {
  11859. "get": {
  11860. "security": [
  11861. {
  11862. "ApiKeyAuth": []
  11863. }
  11864. ],
  11865. "produces": [
  11866. "application/json"
  11867. ],
  11868. "tags": [
  11869. "行情服务"
  11870. ],
  11871. "summary": "分时图数据查询",
  11872. "parameters": [
  11873. {
  11874. "type": "string",
  11875. "description": "商品代码",
  11876. "name": "goodsCode",
  11877. "in": "query",
  11878. "required": true
  11879. }
  11880. ],
  11881. "responses": {
  11882. "200": {
  11883. "description": "OK",
  11884. "schema": {
  11885. "$ref": "#/definitions/quote.QueryTSDataRsp"
  11886. }
  11887. },
  11888. "500": {
  11889. "description": "Internal Server Error",
  11890. "schema": {
  11891. "$ref": "#/definitions/app.Response"
  11892. }
  11893. }
  11894. }
  11895. }
  11896. },
  11897. "/SZDZ/QueryConvertConfig": {
  11898. "get": {
  11899. "security": [
  11900. {
  11901. "ApiKeyAuth": []
  11902. }
  11903. ],
  11904. "produces": [
  11905. "application/json"
  11906. ],
  11907. "tags": [
  11908. "定制【尚志大宗】"
  11909. ],
  11910. "summary": "查询交易系统转换设置",
  11911. "parameters": [
  11912. {
  11913. "type": "integer",
  11914. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  11915. "name": "convertType",
  11916. "in": "query"
  11917. },
  11918. {
  11919. "type": "string",
  11920. "description": "外部商品代码[JD\\PD]",
  11921. "name": "outerGoodsCode",
  11922. "in": "query"
  11923. },
  11924. {
  11925. "type": "string",
  11926. "description": "内部商品ID列表[交易],格式:1,2,3",
  11927. "name": "innerGoodsIDs",
  11928. "in": "query"
  11929. }
  11930. ],
  11931. "responses": {
  11932. "200": {
  11933. "description": "OK",
  11934. "schema": {
  11935. "$ref": "#/definitions/models.Szdz3convertconfig"
  11936. }
  11937. },
  11938. "500": {
  11939. "description": "Internal Server Error",
  11940. "schema": {
  11941. "$ref": "#/definitions/app.Response"
  11942. }
  11943. }
  11944. }
  11945. }
  11946. },
  11947. "/SZDZ/QueryConvertLog": {
  11948. "get": {
  11949. "security": [
  11950. {
  11951. "ApiKeyAuth": []
  11952. }
  11953. ],
  11954. "produces": [
  11955. "application/json"
  11956. ],
  11957. "tags": [
  11958. "定制【尚志大宗】"
  11959. ],
  11960. "summary": "交易系统转换流水查询",
  11961. "parameters": [
  11962. {
  11963. "type": "string",
  11964. "description": "资金账户 - 格式:1,2,3",
  11965. "name": "accountID",
  11966. "in": "query",
  11967. "required": true
  11968. },
  11969. {
  11970. "type": "string",
  11971. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  11972. "name": "startDate",
  11973. "in": "query"
  11974. },
  11975. {
  11976. "type": "string",
  11977. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  11978. "name": "endDate",
  11979. "in": "query"
  11980. }
  11981. ],
  11982. "responses": {
  11983. "200": {
  11984. "description": "OK",
  11985. "schema": {
  11986. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  11987. }
  11988. },
  11989. "500": {
  11990. "description": "Internal Server Error",
  11991. "schema": {
  11992. "$ref": "#/definitions/app.Response"
  11993. }
  11994. }
  11995. }
  11996. }
  11997. },
  11998. "/SZDZ/QueryGoodsPickup": {
  11999. "get": {
  12000. "security": [
  12001. {
  12002. "ApiKeyAuth": []
  12003. }
  12004. ],
  12005. "produces": [
  12006. "application/json"
  12007. ],
  12008. "tags": [
  12009. "定制【尚志大宗】"
  12010. ],
  12011. "summary": "商品提货单查询",
  12012. "parameters": [
  12013. {
  12014. "type": "string",
  12015. "description": "资金账户 - 格式:1,2,3",
  12016. "name": "accountID",
  12017. "in": "query",
  12018. "required": true
  12019. },
  12020. {
  12021. "type": "integer",
  12022. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  12023. "name": "takeOrderStatus",
  12024. "in": "query"
  12025. }
  12026. ],
  12027. "responses": {
  12028. "200": {
  12029. "description": "OK",
  12030. "schema": {
  12031. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  12032. }
  12033. },
  12034. "500": {
  12035. "description": "Internal Server Error",
  12036. "schema": {
  12037. "$ref": "#/definitions/app.Response"
  12038. }
  12039. }
  12040. }
  12041. }
  12042. },
  12043. "/SZDZ/QueryRecieptOrder": {
  12044. "get": {
  12045. "security": [
  12046. {
  12047. "ApiKeyAuth": []
  12048. }
  12049. ],
  12050. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  12051. "produces": [
  12052. "application/json"
  12053. ],
  12054. "tags": [
  12055. "定制【尚志大宗】"
  12056. ],
  12057. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  12058. "parameters": [
  12059. {
  12060. "type": "integer",
  12061. "description": "页码",
  12062. "name": "page",
  12063. "in": "query"
  12064. },
  12065. {
  12066. "type": "integer",
  12067. "description": "每页条数",
  12068. "name": "pagesize",
  12069. "in": "query"
  12070. },
  12071. {
  12072. "type": "integer",
  12073. "description": "商品ID",
  12074. "name": "goodsID",
  12075. "in": "query",
  12076. "required": true
  12077. },
  12078. {
  12079. "type": "string",
  12080. "description": "所属账户名称",
  12081. "name": "accountName",
  12082. "in": "query"
  12083. },
  12084. {
  12085. "type": "integer",
  12086. "description": "市场ID",
  12087. "name": "marketID",
  12088. "in": "query"
  12089. },
  12090. {
  12091. "type": "integer",
  12092. "description": "方向 - 0:买 1:卖",
  12093. "name": "buyorsell",
  12094. "in": "query",
  12095. "required": true
  12096. }
  12097. ],
  12098. "responses": {
  12099. "200": {
  12100. "description": "OK",
  12101. "schema": {
  12102. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  12103. }
  12104. },
  12105. "500": {
  12106. "description": "Internal Server Error",
  12107. "schema": {
  12108. "$ref": "#/definitions/app.Response"
  12109. }
  12110. }
  12111. }
  12112. }
  12113. },
  12114. "/SZDZ/QuerySZDZTradePosition": {
  12115. "get": {
  12116. "security": [
  12117. {
  12118. "ApiKeyAuth": []
  12119. }
  12120. ],
  12121. "produces": [
  12122. "application/json"
  12123. ],
  12124. "tags": [
  12125. "定制【尚志大宗】"
  12126. ],
  12127. "summary": "持仓汇总查询(尚志大宗)",
  12128. "parameters": [
  12129. {
  12130. "type": "integer",
  12131. "description": "资金账户",
  12132. "name": "accountID",
  12133. "in": "query",
  12134. "required": true
  12135. }
  12136. ],
  12137. "responses": {
  12138. "200": {
  12139. "description": "OK",
  12140. "schema": {
  12141. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  12142. }
  12143. },
  12144. "500": {
  12145. "description": "Internal Server Error",
  12146. "schema": {
  12147. "$ref": "#/definitions/app.Response"
  12148. }
  12149. }
  12150. }
  12151. }
  12152. },
  12153. "/SZDZ/SearchWhite": {
  12154. "get": {
  12155. "security": [
  12156. {
  12157. "ApiKeyAuth": []
  12158. }
  12159. ],
  12160. "produces": [
  12161. "application/json"
  12162. ],
  12163. "tags": [
  12164. "定制【尚志大宗】"
  12165. ],
  12166. "summary": "搜索白名单",
  12167. "parameters": [
  12168. {
  12169. "type": "integer",
  12170. "description": "用户ID",
  12171. "name": "userID",
  12172. "in": "query",
  12173. "required": true
  12174. }
  12175. ],
  12176. "responses": {
  12177. "200": {
  12178. "description": "OK",
  12179. "schema": {
  12180. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  12181. }
  12182. },
  12183. "500": {
  12184. "description": "Internal Server Error",
  12185. "schema": {
  12186. "$ref": "#/definitions/app.Response"
  12187. }
  12188. }
  12189. }
  12190. }
  12191. },
  12192. "/Search/SearchGoodses": {
  12193. "get": {
  12194. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  12195. "produces": [
  12196. "application/json"
  12197. ],
  12198. "tags": [
  12199. "检索服务"
  12200. ],
  12201. "summary": "检索商品信息",
  12202. "parameters": [
  12203. {
  12204. "type": "string",
  12205. "description": "检索内容",
  12206. "name": "content",
  12207. "in": "query",
  12208. "required": true
  12209. },
  12210. {
  12211. "type": "string",
  12212. "description": "交易模式,格式:1,2,3",
  12213. "name": "tradeModes",
  12214. "in": "query"
  12215. }
  12216. ],
  12217. "responses": {
  12218. "200": {
  12219. "description": "OK",
  12220. "schema": {
  12221. "$ref": "#/definitions/models.SearchGoods"
  12222. }
  12223. },
  12224. "500": {
  12225. "description": "Internal Server Error",
  12226. "schema": {
  12227. "$ref": "#/definitions/app.Response"
  12228. }
  12229. }
  12230. }
  12231. }
  12232. },
  12233. "/TaAccount/GetTaAccounts": {
  12234. "get": {
  12235. "security": [
  12236. {
  12237. "ApiKeyAuth": []
  12238. }
  12239. ],
  12240. "produces": [
  12241. "application/json"
  12242. ],
  12243. "tags": [
  12244. "资金账户"
  12245. ],
  12246. "summary": "获取资金账户信息",
  12247. "parameters": [
  12248. {
  12249. "type": "integer",
  12250. "description": "登录账户",
  12251. "name": "loginID",
  12252. "in": "query",
  12253. "required": true
  12254. },
  12255. {
  12256. "type": "integer",
  12257. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  12258. "name": "taAccountType",
  12259. "in": "query"
  12260. }
  12261. ],
  12262. "responses": {
  12263. "200": {
  12264. "description": "OK",
  12265. "schema": {
  12266. "$ref": "#/definitions/models.Taaccount"
  12267. }
  12268. },
  12269. "500": {
  12270. "description": "Internal Server Error",
  12271. "schema": {
  12272. "$ref": "#/definitions/app.Response"
  12273. }
  12274. }
  12275. }
  12276. }
  12277. },
  12278. "/TaAccount/QueryAmountLog": {
  12279. "get": {
  12280. "security": [
  12281. {
  12282. "ApiKeyAuth": []
  12283. }
  12284. ],
  12285. "produces": [
  12286. "application/json"
  12287. ],
  12288. "tags": [
  12289. "资金账户"
  12290. ],
  12291. "summary": "资金流水查询(当前)",
  12292. "parameters": [
  12293. {
  12294. "type": "integer",
  12295. "description": "页码",
  12296. "name": "page",
  12297. "in": "query"
  12298. },
  12299. {
  12300. "type": "integer",
  12301. "description": "每页条数",
  12302. "name": "pagesize",
  12303. "in": "query"
  12304. },
  12305. {
  12306. "type": "string",
  12307. "description": "资金账户 - 格式:1,2,3",
  12308. "name": "accountID",
  12309. "in": "query",
  12310. "required": true
  12311. },
  12312. {
  12313. "type": "string",
  12314. "description": "资金操作类型 - 格式:1,2,3",
  12315. "name": "OperateType",
  12316. "in": "query"
  12317. }
  12318. ],
  12319. "responses": {
  12320. "200": {
  12321. "description": "OK",
  12322. "schema": {
  12323. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  12324. }
  12325. },
  12326. "500": {
  12327. "description": "Internal Server Error",
  12328. "schema": {
  12329. "$ref": "#/definitions/app.Response"
  12330. }
  12331. }
  12332. }
  12333. }
  12334. },
  12335. "/TaAccount/QueryHisAmountLog": {
  12336. "get": {
  12337. "security": [
  12338. {
  12339. "ApiKeyAuth": []
  12340. }
  12341. ],
  12342. "produces": [
  12343. "application/json"
  12344. ],
  12345. "tags": [
  12346. "资金账户"
  12347. ],
  12348. "summary": "资金流水查询(历史)",
  12349. "parameters": [
  12350. {
  12351. "type": "integer",
  12352. "description": "页码",
  12353. "name": "page",
  12354. "in": "query"
  12355. },
  12356. {
  12357. "type": "integer",
  12358. "description": "每页条数",
  12359. "name": "pagesize",
  12360. "in": "query"
  12361. },
  12362. {
  12363. "type": "string",
  12364. "description": "资金账户 - 格式:1,2,3",
  12365. "name": "accountID",
  12366. "in": "query",
  12367. "required": true
  12368. },
  12369. {
  12370. "type": "string",
  12371. "description": "资金操作类型 - 格式:1,2,3",
  12372. "name": "OperateType",
  12373. "in": "query"
  12374. },
  12375. {
  12376. "type": "string",
  12377. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  12378. "name": "startDate",
  12379. "in": "query"
  12380. },
  12381. {
  12382. "type": "string",
  12383. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  12384. "name": "endDate",
  12385. "in": "query"
  12386. }
  12387. ],
  12388. "responses": {
  12389. "200": {
  12390. "description": "OK",
  12391. "schema": {
  12392. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  12393. }
  12394. },
  12395. "500": {
  12396. "description": "Internal Server Error",
  12397. "schema": {
  12398. "$ref": "#/definitions/app.Response"
  12399. }
  12400. }
  12401. }
  12402. }
  12403. },
  12404. "/TaAccount/QueryRelatedTaAccount": {
  12405. "get": {
  12406. "security": [
  12407. {
  12408. "ApiKeyAuth": []
  12409. }
  12410. ],
  12411. "produces": [
  12412. "application/json"
  12413. ],
  12414. "tags": [
  12415. "资金账户"
  12416. ],
  12417. "summary": "查询关联资金账户信息",
  12418. "parameters": [
  12419. {
  12420. "type": "integer",
  12421. "description": "关联UserID",
  12422. "name": "relateduserid",
  12423. "in": "query",
  12424. "required": true
  12425. }
  12426. ],
  12427. "responses": {
  12428. "200": {
  12429. "description": "OK",
  12430. "schema": {
  12431. "type": "array",
  12432. "items": {
  12433. "$ref": "#/definitions/models.RelatedTaAccount"
  12434. }
  12435. }
  12436. },
  12437. "500": {
  12438. "description": "Internal Server Error",
  12439. "schema": {
  12440. "$ref": "#/definitions/app.Response"
  12441. }
  12442. }
  12443. }
  12444. }
  12445. },
  12446. "/Tjmd/QueryQuoteGoodsList": {
  12447. "get": {
  12448. "security": [
  12449. {
  12450. "ApiKeyAuth": []
  12451. }
  12452. ],
  12453. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  12454. "produces": [
  12455. "application/json"
  12456. ],
  12457. "tags": [
  12458. "天津麦顿"
  12459. ],
  12460. "summary": "查询掉期报价列表",
  12461. "parameters": [
  12462. {
  12463. "type": "integer",
  12464. "description": "用户类型",
  12465. "name": "usertype",
  12466. "in": "query",
  12467. "required": true
  12468. },
  12469. {
  12470. "type": "string",
  12471. "description": "市场id, 格式 1,2,3",
  12472. "name": "marketids",
  12473. "in": "query"
  12474. },
  12475. {
  12476. "type": "integer",
  12477. "description": "商品组id",
  12478. "name": "goodsgroupid",
  12479. "in": "query"
  12480. },
  12481. {
  12482. "type": "integer",
  12483. "description": "商品id",
  12484. "name": "goodsid",
  12485. "in": "query"
  12486. }
  12487. ],
  12488. "responses": {
  12489. "200": {
  12490. "description": "OK",
  12491. "schema": {
  12492. "type": "array",
  12493. "items": {
  12494. "$ref": "#/definitions/models.TjmdQuoteGoods"
  12495. }
  12496. }
  12497. },
  12498. "500": {
  12499. "description": "Internal Server Error",
  12500. "schema": {
  12501. "$ref": "#/definitions/app.Response"
  12502. }
  12503. }
  12504. }
  12505. }
  12506. },
  12507. "/Tjmd/QueryTjmdHolderDetailTradeInfo": {
  12508. "get": {
  12509. "security": [
  12510. {
  12511. "ApiKeyAuth": []
  12512. }
  12513. ],
  12514. "produces": [
  12515. "application/json"
  12516. ],
  12517. "tags": [
  12518. "天津麦顿"
  12519. ],
  12520. "summary": "掉期商品订单详情(交易确认书)",
  12521. "parameters": [
  12522. {
  12523. "type": "string",
  12524. "description": "成交单号",
  12525. "name": "tradeid",
  12526. "in": "query",
  12527. "required": true
  12528. }
  12529. ],
  12530. "responses": {
  12531. "200": {
  12532. "description": "OK",
  12533. "schema": {
  12534. "type": "array",
  12535. "items": {
  12536. "$ref": "#/definitions/models.TjmdHolderDetailTradeInfo"
  12537. }
  12538. }
  12539. },
  12540. "500": {
  12541. "description": "Internal Server Error",
  12542. "schema": {
  12543. "$ref": "#/definitions/app.Response"
  12544. }
  12545. }
  12546. }
  12547. }
  12548. },
  12549. "/Tjmd/QueryTjmdMarketSection": {
  12550. "get": {
  12551. "security": [
  12552. {
  12553. "ApiKeyAuth": []
  12554. }
  12555. ],
  12556. "produces": [
  12557. "application/json"
  12558. ],
  12559. "tags": [
  12560. "天津麦顿"
  12561. ],
  12562. "summary": "查询市场板块",
  12563. "responses": {
  12564. "200": {
  12565. "description": "OK",
  12566. "schema": {
  12567. "type": "array",
  12568. "items": {
  12569. "$ref": "#/definitions/models.TjmdMarketSection"
  12570. }
  12571. }
  12572. },
  12573. "500": {
  12574. "description": "Internal Server Error",
  12575. "schema": {
  12576. "$ref": "#/definitions/app.Response"
  12577. }
  12578. }
  12579. }
  12580. }
  12581. },
  12582. "/Tjmd/QueryTjmdTodayAccountMargin": {
  12583. "get": {
  12584. "security": [
  12585. {
  12586. "ApiKeyAuth": []
  12587. }
  12588. ],
  12589. "produces": [
  12590. "application/json"
  12591. ],
  12592. "tags": [
  12593. "天津麦顿"
  12594. ],
  12595. "summary": "查询今日账户保证金配置",
  12596. "parameters": [
  12597. {
  12598. "type": "string",
  12599. "description": "市场id",
  12600. "name": "marketid",
  12601. "in": "query"
  12602. },
  12603. {
  12604. "type": "string",
  12605. "description": "商品id",
  12606. "name": "goodsid",
  12607. "in": "query"
  12608. },
  12609. {
  12610. "type": "string",
  12611. "description": "资金账号",
  12612. "name": "accountid",
  12613. "in": "query"
  12614. }
  12615. ],
  12616. "responses": {
  12617. "200": {
  12618. "description": "OK",
  12619. "schema": {
  12620. "type": "array",
  12621. "items": {
  12622. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  12623. }
  12624. }
  12625. },
  12626. "500": {
  12627. "description": "Internal Server Error",
  12628. "schema": {
  12629. "$ref": "#/definitions/app.Response"
  12630. }
  12631. }
  12632. }
  12633. }
  12634. },
  12635. "/Tjmd/QueryTjmdTradeOrderDetail": {
  12636. "get": {
  12637. "security": [
  12638. {
  12639. "ApiKeyAuth": []
  12640. }
  12641. ],
  12642. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  12643. "produces": [
  12644. "application/json"
  12645. ],
  12646. "tags": [
  12647. "天津麦顿"
  12648. ],
  12649. "summary": "查询掉期买卖大厅",
  12650. "parameters": [
  12651. {
  12652. "type": "integer",
  12653. "description": "页码",
  12654. "name": "page",
  12655. "in": "query"
  12656. },
  12657. {
  12658. "type": "integer",
  12659. "description": "每页条数",
  12660. "name": "pagesize",
  12661. "in": "query"
  12662. },
  12663. {
  12664. "type": "integer",
  12665. "description": "用户id",
  12666. "name": "userid",
  12667. "in": "query",
  12668. "required": true
  12669. },
  12670. {
  12671. "type": "integer",
  12672. "description": "用户类型",
  12673. "name": "usertype",
  12674. "in": "query",
  12675. "required": true
  12676. },
  12677. {
  12678. "type": "string",
  12679. "description": "市场id, 格式 1,2,3",
  12680. "name": "marketids",
  12681. "in": "query"
  12682. },
  12683. {
  12684. "type": "integer",
  12685. "description": "商品id",
  12686. "name": "goodsid",
  12687. "in": "query",
  12688. "required": true
  12689. },
  12690. {
  12691. "type": "integer",
  12692. "description": "买卖方向 0-买 1-卖",
  12693. "name": "buyorsell",
  12694. "in": "query",
  12695. "required": true
  12696. }
  12697. ],
  12698. "responses": {
  12699. "200": {
  12700. "description": "OK",
  12701. "schema": {
  12702. "type": "array",
  12703. "items": {
  12704. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  12705. }
  12706. }
  12707. },
  12708. "500": {
  12709. "description": "Internal Server Error",
  12710. "schema": {
  12711. "$ref": "#/definitions/app.Response"
  12712. }
  12713. }
  12714. }
  12715. }
  12716. },
  12717. "/Tjmd/QueryTjmdTransferApply": {
  12718. "get": {
  12719. "security": [
  12720. {
  12721. "ApiKeyAuth": []
  12722. }
  12723. ],
  12724. "produces": [
  12725. "application/json"
  12726. ],
  12727. "tags": [
  12728. "天津麦顿"
  12729. ],
  12730. "summary": "查询掉期协议单",
  12731. "parameters": [
  12732. {
  12733. "type": "integer",
  12734. "description": "类型 1-我的申请 2-对方申请",
  12735. "name": "applytype",
  12736. "in": "query",
  12737. "required": true
  12738. },
  12739. {
  12740. "type": "string",
  12741. "description": "市场id, 格式 1,2,3",
  12742. "name": "marketids",
  12743. "in": "query"
  12744. },
  12745. {
  12746. "type": "string",
  12747. "description": "资金账号, 格式 25000000001,25000000003",
  12748. "name": "accountids",
  12749. "in": "query"
  12750. },
  12751. {
  12752. "type": "string",
  12753. "description": "开始交易日(yyyymmdd)",
  12754. "name": "begindate",
  12755. "in": "query"
  12756. },
  12757. {
  12758. "type": "string",
  12759. "description": "结束交易日(yyyymmdd)",
  12760. "name": "enddate",
  12761. "in": "query"
  12762. }
  12763. ],
  12764. "responses": {
  12765. "200": {
  12766. "description": "OK",
  12767. "schema": {
  12768. "type": "array",
  12769. "items": {
  12770. "$ref": "#/definitions/models.TjmdTransferApply"
  12771. }
  12772. }
  12773. },
  12774. "500": {
  12775. "description": "Internal Server Error",
  12776. "schema": {
  12777. "$ref": "#/definitions/app.Response"
  12778. }
  12779. }
  12780. }
  12781. }
  12782. },
  12783. "/Trade/QueryRecieptOrder": {
  12784. "get": {
  12785. "security": [
  12786. {
  12787. "ApiKeyAuth": []
  12788. }
  12789. ],
  12790. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  12791. "produces": [
  12792. "application/json"
  12793. ],
  12794. "tags": [
  12795. "通用交易"
  12796. ],
  12797. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  12798. "parameters": [
  12799. {
  12800. "type": "integer",
  12801. "description": "页码",
  12802. "name": "page",
  12803. "in": "query"
  12804. },
  12805. {
  12806. "type": "integer",
  12807. "description": "每页条数",
  12808. "name": "pagesize",
  12809. "in": "query"
  12810. },
  12811. {
  12812. "type": "integer",
  12813. "description": "商品ID",
  12814. "name": "goodsID",
  12815. "in": "query",
  12816. "required": true
  12817. },
  12818. {
  12819. "type": "string",
  12820. "description": "所属账户名称",
  12821. "name": "accountName",
  12822. "in": "query"
  12823. },
  12824. {
  12825. "type": "integer",
  12826. "description": "市场ID",
  12827. "name": "marketID",
  12828. "in": "query"
  12829. },
  12830. {
  12831. "type": "integer",
  12832. "description": "方向 - 0:买 1:卖",
  12833. "name": "buyorsell",
  12834. "in": "query",
  12835. "required": true
  12836. }
  12837. ],
  12838. "responses": {
  12839. "200": {
  12840. "description": "OK",
  12841. "schema": {
  12842. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  12843. }
  12844. },
  12845. "500": {
  12846. "description": "Internal Server Error",
  12847. "schema": {
  12848. "$ref": "#/definitions/app.Response"
  12849. }
  12850. }
  12851. }
  12852. }
  12853. },
  12854. "/User/AddMessageBoard": {
  12855. "post": {
  12856. "security": [
  12857. {
  12858. "ApiKeyAuth": []
  12859. }
  12860. ],
  12861. "produces": [
  12862. "application/json"
  12863. ],
  12864. "tags": [
  12865. "用户信息"
  12866. ],
  12867. "summary": "添加用户留言板信息",
  12868. "parameters": [
  12869. {
  12870. "type": "integer",
  12871. "description": "用户ID",
  12872. "name": "userID",
  12873. "in": "query",
  12874. "required": true
  12875. },
  12876. {
  12877. "type": "string",
  12878. "description": "留言信息",
  12879. "name": "message",
  12880. "in": "query",
  12881. "required": true
  12882. },
  12883. {
  12884. "type": "string",
  12885. "description": "联系电话",
  12886. "name": "contactNum",
  12887. "in": "query",
  12888. "required": true
  12889. }
  12890. ],
  12891. "responses": {
  12892. "200": {
  12893. "description": "OK",
  12894. "schema": {
  12895. "$ref": "#/definitions/app.Response"
  12896. }
  12897. },
  12898. "500": {
  12899. "description": "Internal Server Error",
  12900. "schema": {
  12901. "$ref": "#/definitions/app.Response"
  12902. }
  12903. }
  12904. }
  12905. }
  12906. },
  12907. "/User/AddUserFavoriteGoods": {
  12908. "post": {
  12909. "security": [
  12910. {
  12911. "ApiKeyAuth": []
  12912. }
  12913. ],
  12914. "produces": [
  12915. "application/json"
  12916. ],
  12917. "tags": [
  12918. "用户信息"
  12919. ],
  12920. "summary": "添加用户商品收藏信息",
  12921. "parameters": [
  12922. {
  12923. "type": "integer",
  12924. "description": "用户ID",
  12925. "name": "userID",
  12926. "in": "query",
  12927. "required": true
  12928. },
  12929. {
  12930. "type": "integer",
  12931. "description": "商品ID",
  12932. "name": "goodsID",
  12933. "in": "query",
  12934. "required": true
  12935. }
  12936. ],
  12937. "responses": {
  12938. "200": {
  12939. "description": "OK",
  12940. "schema": {
  12941. "$ref": "#/definitions/app.Response"
  12942. }
  12943. },
  12944. "500": {
  12945. "description": "Internal Server Error",
  12946. "schema": {
  12947. "$ref": "#/definitions/app.Response"
  12948. }
  12949. }
  12950. }
  12951. }
  12952. },
  12953. "/User/GetLoginID": {
  12954. "get": {
  12955. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  12956. "produces": [
  12957. "application/json"
  12958. ],
  12959. "tags": [
  12960. "用户信息"
  12961. ],
  12962. "summary": "获取登录ID",
  12963. "parameters": [
  12964. {
  12965. "type": "string",
  12966. "description": "登录代码",
  12967. "name": "username",
  12968. "in": "query",
  12969. "required": true
  12970. }
  12971. ],
  12972. "responses": {
  12973. "200": {
  12974. "description": "OK",
  12975. "schema": {
  12976. "$ref": "#/definitions/app.Response"
  12977. }
  12978. },
  12979. "500": {
  12980. "description": "Internal Server Error",
  12981. "schema": {
  12982. "$ref": "#/definitions/app.Response"
  12983. }
  12984. }
  12985. }
  12986. }
  12987. },
  12988. "/User/GetUserAccount": {
  12989. "get": {
  12990. "security": [
  12991. {
  12992. "ApiKeyAuth": []
  12993. }
  12994. ],
  12995. "produces": [
  12996. "application/json"
  12997. ],
  12998. "tags": [
  12999. "用户信息"
  13000. ],
  13001. "summary": "获取用户账号信息",
  13002. "parameters": [
  13003. {
  13004. "type": "integer",
  13005. "description": "用户ID",
  13006. "name": "userID",
  13007. "in": "query",
  13008. "required": true
  13009. }
  13010. ],
  13011. "responses": {
  13012. "200": {
  13013. "description": "OK",
  13014. "schema": {
  13015. "$ref": "#/definitions/models.Useraccount"
  13016. }
  13017. },
  13018. "500": {
  13019. "description": "Internal Server Error",
  13020. "schema": {
  13021. "$ref": "#/definitions/app.Response"
  13022. }
  13023. }
  13024. }
  13025. }
  13026. },
  13027. "/User/GetUserAuthStatus": {
  13028. "get": {
  13029. "security": [
  13030. {
  13031. "ApiKeyAuth": []
  13032. }
  13033. ],
  13034. "produces": [
  13035. "application/json"
  13036. ],
  13037. "tags": [
  13038. "用户信息"
  13039. ],
  13040. "summary": "获取用户实名认证状态",
  13041. "parameters": [
  13042. {
  13043. "type": "integer",
  13044. "description": "用户ID",
  13045. "name": "userID",
  13046. "in": "query",
  13047. "required": true
  13048. }
  13049. ],
  13050. "responses": {
  13051. "200": {
  13052. "description": "OK",
  13053. "schema": {
  13054. "$ref": "#/definitions/app.Response"
  13055. }
  13056. },
  13057. "500": {
  13058. "description": "Internal Server Error",
  13059. "schema": {
  13060. "$ref": "#/definitions/app.Response"
  13061. }
  13062. }
  13063. }
  13064. }
  13065. },
  13066. "/User/LoginQuery": {
  13067. "get": {
  13068. "security": [
  13069. {
  13070. "ApiKeyAuth": []
  13071. }
  13072. ],
  13073. "produces": [
  13074. "application/json"
  13075. ],
  13076. "tags": [
  13077. "用户信息"
  13078. ],
  13079. "summary": "账户登录后信息查询",
  13080. "parameters": [
  13081. {
  13082. "type": "integer",
  13083. "description": "登录账号",
  13084. "name": "loginID",
  13085. "in": "query",
  13086. "required": true
  13087. }
  13088. ],
  13089. "responses": {
  13090. "200": {
  13091. "description": "OK",
  13092. "schema": {
  13093. "$ref": "#/definitions/user.LoginQueryRsp"
  13094. }
  13095. },
  13096. "500": {
  13097. "description": "Internal Server Error",
  13098. "schema": {
  13099. "$ref": "#/definitions/app.Response"
  13100. }
  13101. }
  13102. }
  13103. }
  13104. },
  13105. "/User/QueryMessageBoard": {
  13106. "get": {
  13107. "security": [
  13108. {
  13109. "ApiKeyAuth": []
  13110. }
  13111. ],
  13112. "produces": [
  13113. "application/json"
  13114. ],
  13115. "tags": [
  13116. "用户信息"
  13117. ],
  13118. "summary": "获取用户留言板信息",
  13119. "parameters": [
  13120. {
  13121. "type": "integer",
  13122. "description": "用户ID",
  13123. "name": "userID",
  13124. "in": "query",
  13125. "required": true
  13126. }
  13127. ],
  13128. "responses": {
  13129. "200": {
  13130. "description": "OK",
  13131. "schema": {
  13132. "$ref": "#/definitions/models.Messageboard"
  13133. }
  13134. },
  13135. "500": {
  13136. "description": "Internal Server Error",
  13137. "schema": {
  13138. "$ref": "#/definitions/app.Response"
  13139. }
  13140. }
  13141. }
  13142. }
  13143. },
  13144. "/User/QueryUserFavoriteGoodses": {
  13145. "get": {
  13146. "security": [
  13147. {
  13148. "ApiKeyAuth": []
  13149. }
  13150. ],
  13151. "produces": [
  13152. "application/json"
  13153. ],
  13154. "tags": [
  13155. "用户信息"
  13156. ],
  13157. "summary": "获取用户商品收藏信息",
  13158. "parameters": [
  13159. {
  13160. "type": "integer",
  13161. "description": "用户ID",
  13162. "name": "userID",
  13163. "in": "query",
  13164. "required": true
  13165. }
  13166. ],
  13167. "responses": {
  13168. "200": {
  13169. "description": "OK",
  13170. "schema": {
  13171. "$ref": "#/definitions/models.Userfavoritegoods"
  13172. }
  13173. },
  13174. "500": {
  13175. "description": "Internal Server Error",
  13176. "schema": {
  13177. "$ref": "#/definitions/app.Response"
  13178. }
  13179. }
  13180. }
  13181. }
  13182. },
  13183. "/User/QueryUserInfo": {
  13184. "get": {
  13185. "security": [
  13186. {
  13187. "ApiKeyAuth": []
  13188. }
  13189. ],
  13190. "produces": [
  13191. "application/json"
  13192. ],
  13193. "tags": [
  13194. "用户信息"
  13195. ],
  13196. "summary": "获取用户信息",
  13197. "parameters": [
  13198. {
  13199. "type": "integer",
  13200. "description": "用户ID",
  13201. "name": "userID",
  13202. "in": "query",
  13203. "required": true
  13204. },
  13205. {
  13206. "type": "boolean",
  13207. "description": "是否解密",
  13208. "name": "isDecrypt",
  13209. "in": "query"
  13210. }
  13211. ],
  13212. "responses": {
  13213. "200": {
  13214. "description": "OK",
  13215. "schema": {
  13216. "$ref": "#/definitions/models.Userinfo"
  13217. }
  13218. },
  13219. "500": {
  13220. "description": "Internal Server Error",
  13221. "schema": {
  13222. "$ref": "#/definitions/app.Response"
  13223. }
  13224. }
  13225. }
  13226. }
  13227. },
  13228. "/User/QueryUserReferNum": {
  13229. "get": {
  13230. "produces": [
  13231. "application/json"
  13232. ],
  13233. "tags": [
  13234. "用户信息"
  13235. ],
  13236. "summary": "获取用户邀请码",
  13237. "parameters": [
  13238. {
  13239. "type": "integer",
  13240. "description": "用户ID",
  13241. "name": "userID",
  13242. "in": "query",
  13243. "required": true
  13244. }
  13245. ],
  13246. "responses": {
  13247. "200": {
  13248. "description": "OK",
  13249. "schema": {
  13250. "$ref": "#/definitions/app.Response"
  13251. }
  13252. },
  13253. "500": {
  13254. "description": "Internal Server Error",
  13255. "schema": {
  13256. "$ref": "#/definitions/app.Response"
  13257. }
  13258. }
  13259. }
  13260. }
  13261. },
  13262. "/User/RemoveUserFavoriteGoods": {
  13263. "post": {
  13264. "security": [
  13265. {
  13266. "ApiKeyAuth": []
  13267. }
  13268. ],
  13269. "produces": [
  13270. "application/json"
  13271. ],
  13272. "tags": [
  13273. "用户信息"
  13274. ],
  13275. "summary": "移除用户商品收藏信息",
  13276. "parameters": [
  13277. {
  13278. "type": "integer",
  13279. "description": "用户ID",
  13280. "name": "userID",
  13281. "in": "query",
  13282. "required": true
  13283. },
  13284. {
  13285. "type": "integer",
  13286. "description": "商品ID",
  13287. "name": "goodsID",
  13288. "in": "query",
  13289. "required": true
  13290. }
  13291. ],
  13292. "responses": {
  13293. "200": {
  13294. "description": "OK",
  13295. "schema": {
  13296. "$ref": "#/definitions/app.Response"
  13297. }
  13298. },
  13299. "500": {
  13300. "description": "Internal Server Error",
  13301. "schema": {
  13302. "$ref": "#/definitions/app.Response"
  13303. }
  13304. }
  13305. }
  13306. }
  13307. },
  13308. "/User/UpdateUserAccountStatus": {
  13309. "post": {
  13310. "security": [
  13311. {
  13312. "ApiKeyAuth": []
  13313. }
  13314. ],
  13315. "produces": [
  13316. "application/json"
  13317. ],
  13318. "tags": [
  13319. "用户信息"
  13320. ],
  13321. "summary": "更新用户状态",
  13322. "parameters": [
  13323. {
  13324. "type": "integer",
  13325. "description": "用户ID",
  13326. "name": "userID",
  13327. "in": "query",
  13328. "required": true
  13329. },
  13330. {
  13331. "type": "integer",
  13332. "description": "账户状态 - 4:正常 6:注销(停用)",
  13333. "name": "accountStatus",
  13334. "in": "query",
  13335. "required": true
  13336. }
  13337. ],
  13338. "responses": {
  13339. "200": {
  13340. "description": "OK",
  13341. "schema": {
  13342. "$ref": "#/definitions/app.Response"
  13343. }
  13344. },
  13345. "500": {
  13346. "description": "Internal Server Error",
  13347. "schema": {
  13348. "$ref": "#/definitions/app.Response"
  13349. }
  13350. }
  13351. }
  13352. }
  13353. },
  13354. "/WRTrade/GetAllDeliveryGoods": {
  13355. "get": {
  13356. "security": [
  13357. {
  13358. "ApiKeyAuth": []
  13359. }
  13360. ],
  13361. "produces": [
  13362. "application/json"
  13363. ],
  13364. "tags": [
  13365. "仓单贸易",
  13366. "仓单贸易"
  13367. ],
  13368. "summary": "获取带仓单分类的种类信息",
  13369. "responses": {
  13370. "200": {
  13371. "description": "OK",
  13372. "schema": {
  13373. "$ref": "#/definitions/app.Response"
  13374. }
  13375. },
  13376. "500": {
  13377. "description": "Internal Server Error",
  13378. "schema": {
  13379. "$ref": "#/definitions/app.Response"
  13380. }
  13381. }
  13382. }
  13383. }
  13384. },
  13385. "/WrTrade2/InsertXhcpSellBackApply": {
  13386. "post": {
  13387. "security": [
  13388. {
  13389. "ApiKeyAuth": []
  13390. }
  13391. ],
  13392. "produces": [
  13393. "application/json"
  13394. ],
  13395. "tags": [
  13396. "仓单贸易v2"
  13397. ],
  13398. "summary": "新增回收申请(新会陈皮)",
  13399. "parameters": [
  13400. {
  13401. "description": "回收申请",
  13402. "name": "jsonBody",
  13403. "in": "body",
  13404. "required": true,
  13405. "schema": {
  13406. "$ref": "#/definitions/models.XhcpSellBackApplyEx"
  13407. }
  13408. }
  13409. ],
  13410. "responses": {
  13411. "200": {
  13412. "description": "OK",
  13413. "schema": {
  13414. "$ref": "#/definitions/app.Response"
  13415. }
  13416. },
  13417. "500": {
  13418. "description": "Internal Server Error",
  13419. "schema": {
  13420. "$ref": "#/definitions/app.Response"
  13421. }
  13422. }
  13423. }
  13424. }
  13425. },
  13426. "/WrTrade2/QueryDeliveryGoodsSection": {
  13427. "get": {
  13428. "security": [
  13429. {
  13430. "ApiKeyAuth": []
  13431. }
  13432. ],
  13433. "produces": [
  13434. "application/json"
  13435. ],
  13436. "tags": [
  13437. "仓单贸易v2"
  13438. ],
  13439. "summary": "查询板块(分类)",
  13440. "responses": {
  13441. "200": {
  13442. "description": "OK",
  13443. "schema": {
  13444. "type": "array",
  13445. "items": {
  13446. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  13447. }
  13448. }
  13449. },
  13450. "500": {
  13451. "description": "Internal Server Error",
  13452. "schema": {
  13453. "$ref": "#/definitions/app.Response"
  13454. }
  13455. }
  13456. }
  13457. }
  13458. },
  13459. "/WrTrade2/QueryFaProductDetail": {
  13460. "get": {
  13461. "security": [
  13462. {
  13463. "ApiKeyAuth": []
  13464. }
  13465. ],
  13466. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  13467. "produces": [
  13468. "application/json"
  13469. ],
  13470. "tags": [
  13471. "仓单贸易v2"
  13472. ],
  13473. "summary": "查询融资产品列表",
  13474. "parameters": [
  13475. {
  13476. "type": "integer",
  13477. "description": "仓单要素id",
  13478. "name": "wrfactortypeid",
  13479. "in": "query",
  13480. "required": true
  13481. }
  13482. ],
  13483. "responses": {
  13484. "200": {
  13485. "description": "OK",
  13486. "schema": {
  13487. "type": "array",
  13488. "items": {
  13489. "$ref": "#/definitions/models.WrFAProductDetail"
  13490. }
  13491. }
  13492. },
  13493. "500": {
  13494. "description": "Internal Server Error",
  13495. "schema": {
  13496. "$ref": "#/definitions/app.Response"
  13497. }
  13498. }
  13499. }
  13500. }
  13501. },
  13502. "/WrTrade2/QueryFilterItem": {
  13503. "get": {
  13504. "security": [
  13505. {
  13506. "ApiKeyAuth": []
  13507. }
  13508. ],
  13509. "produces": [
  13510. "application/json"
  13511. ],
  13512. "tags": [
  13513. "仓单贸易v2"
  13514. ],
  13515. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  13516. "parameters": [
  13517. {
  13518. "type": "string",
  13519. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  13520. "name": "itype",
  13521. "in": "query",
  13522. "required": true
  13523. }
  13524. ],
  13525. "responses": {
  13526. "200": {
  13527. "description": "OK",
  13528. "schema": {
  13529. "type": "array",
  13530. "items": {
  13531. "$ref": "#/definitions/models.WrFilterItem"
  13532. }
  13533. }
  13534. },
  13535. "500": {
  13536. "description": "Internal Server Error",
  13537. "schema": {
  13538. "$ref": "#/definitions/app.Response"
  13539. }
  13540. }
  13541. }
  13542. }
  13543. },
  13544. "/WrTrade2/QueryFtDeliveryGoods": {
  13545. "get": {
  13546. "security": [
  13547. {
  13548. "ApiKeyAuth": []
  13549. }
  13550. ],
  13551. "produces": [
  13552. "application/json"
  13553. ],
  13554. "tags": [
  13555. "仓单贸易v2"
  13556. ],
  13557. "summary": "查询品种品类筛选框列表",
  13558. "responses": {
  13559. "200": {
  13560. "description": "OK",
  13561. "schema": {
  13562. "type": "array",
  13563. "items": {
  13564. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  13565. }
  13566. }
  13567. },
  13568. "500": {
  13569. "description": "Internal Server Error",
  13570. "schema": {
  13571. "$ref": "#/definitions/app.Response"
  13572. }
  13573. }
  13574. }
  13575. }
  13576. },
  13577. "/WrTrade2/QueryHoldLB": {
  13578. "get": {
  13579. "security": [
  13580. {
  13581. "ApiKeyAuth": []
  13582. }
  13583. ],
  13584. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  13585. "produces": [
  13586. "application/json"
  13587. ],
  13588. "tags": [
  13589. "仓单贸易v2"
  13590. ],
  13591. "summary": "查询仓单持有记录",
  13592. "parameters": [
  13593. {
  13594. "type": "integer",
  13595. "description": "资金账号",
  13596. "name": "accountid",
  13597. "in": "query",
  13598. "required": true
  13599. },
  13600. {
  13601. "type": "integer",
  13602. "description": "仓库id",
  13603. "name": "warehouseid",
  13604. "in": "query"
  13605. },
  13606. {
  13607. "type": "integer",
  13608. "description": "品种id",
  13609. "name": "deliverygoodsid",
  13610. "in": "query"
  13611. },
  13612. {
  13613. "type": "integer",
  13614. "description": "品类id",
  13615. "name": "wrstandardid",
  13616. "in": "query"
  13617. },
  13618. {
  13619. "type": "integer",
  13620. "description": "仓单要素id",
  13621. "name": "wrfactortypeid",
  13622. "in": "query"
  13623. },
  13624. {
  13625. "type": "string",
  13626. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13627. "name": "dgitemname",
  13628. "in": "query"
  13629. }
  13630. ],
  13631. "responses": {
  13632. "200": {
  13633. "description": "OK",
  13634. "schema": {
  13635. "type": "array",
  13636. "items": {
  13637. "$ref": "#/definitions/models.WrHoldLB"
  13638. }
  13639. }
  13640. },
  13641. "500": {
  13642. "description": "Internal Server Error",
  13643. "schema": {
  13644. "$ref": "#/definitions/app.Response"
  13645. }
  13646. }
  13647. }
  13648. }
  13649. },
  13650. "/WrTrade2/QueryOrderQuote": {
  13651. "get": {
  13652. "security": [
  13653. {
  13654. "ApiKeyAuth": []
  13655. }
  13656. ],
  13657. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  13658. "produces": [
  13659. "application/json"
  13660. ],
  13661. "tags": [
  13662. "仓单贸易v2"
  13663. ],
  13664. "summary": "查询大厅行情列表",
  13665. "parameters": [
  13666. {
  13667. "type": "integer",
  13668. "description": "页码",
  13669. "name": "page",
  13670. "in": "query"
  13671. },
  13672. {
  13673. "type": "integer",
  13674. "description": "每页条数",
  13675. "name": "pagesize",
  13676. "in": "query"
  13677. },
  13678. {
  13679. "type": "integer",
  13680. "description": "仓单贸易市场id",
  13681. "name": "marketid",
  13682. "in": "query"
  13683. },
  13684. {
  13685. "type": "integer",
  13686. "description": "价格方式 - 1:固定价 2-浮动价",
  13687. "name": "wrpricetype",
  13688. "in": "query",
  13689. "required": true
  13690. },
  13691. {
  13692. "type": "integer",
  13693. "description": "0:仓单预售 1:仓单贸易",
  13694. "name": "haswr",
  13695. "in": "query"
  13696. },
  13697. {
  13698. "type": "string",
  13699. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13700. "name": "dgitemname",
  13701. "in": "query"
  13702. },
  13703. {
  13704. "type": "integer",
  13705. "description": "仓库id(筛选条件)",
  13706. "name": "warehouseid",
  13707. "in": "query"
  13708. },
  13709. {
  13710. "type": "integer",
  13711. "description": "品种id",
  13712. "name": "deliverygoodsid",
  13713. "in": "query"
  13714. },
  13715. {
  13716. "type": "integer",
  13717. "description": "品类id",
  13718. "name": "wrstandardid",
  13719. "in": "query"
  13720. },
  13721. {
  13722. "type": "integer",
  13723. "description": "品牌id(dgfactoryitemid)",
  13724. "name": "brandid",
  13725. "in": "query"
  13726. },
  13727. {
  13728. "type": "integer",
  13729. "description": "年份id(dgfactoryitemid)",
  13730. "name": "yearsid",
  13731. "in": "query"
  13732. },
  13733. {
  13734. "type": "integer",
  13735. "description": "仓单要素id",
  13736. "name": "wrfactortypeid",
  13737. "in": "query"
  13738. },
  13739. {
  13740. "type": "string",
  13741. "description": "交收月(yyyy-mm) 仓单预售填写",
  13742. "name": "deliverymonth",
  13743. "in": "query"
  13744. }
  13745. ],
  13746. "responses": {
  13747. "200": {
  13748. "description": "OK",
  13749. "schema": {
  13750. "type": "array",
  13751. "items": {
  13752. "$ref": "#/definitions/models.WrOrderQuote"
  13753. }
  13754. }
  13755. },
  13756. "500": {
  13757. "description": "Internal Server Error",
  13758. "schema": {
  13759. "$ref": "#/definitions/app.Response"
  13760. }
  13761. }
  13762. }
  13763. }
  13764. },
  13765. "/WrTrade2/QueryOrderQuoteDetail": {
  13766. "get": {
  13767. "security": [
  13768. {
  13769. "ApiKeyAuth": []
  13770. }
  13771. ],
  13772. "produces": [
  13773. "application/json"
  13774. ],
  13775. "tags": [
  13776. "仓单贸易v2"
  13777. ],
  13778. "summary": "查询买卖大厅",
  13779. "parameters": [
  13780. {
  13781. "type": "integer",
  13782. "description": "页码",
  13783. "name": "page",
  13784. "in": "query"
  13785. },
  13786. {
  13787. "type": "integer",
  13788. "description": "每页条数",
  13789. "name": "pagesize",
  13790. "in": "query"
  13791. },
  13792. {
  13793. "type": "integer",
  13794. "description": "仓单贸易市场id",
  13795. "name": "marketid",
  13796. "in": "query"
  13797. },
  13798. {
  13799. "type": "integer",
  13800. "description": "价格方式 - 1:固定价 2-浮动价",
  13801. "name": "wrpricetype",
  13802. "in": "query",
  13803. "required": true
  13804. },
  13805. {
  13806. "type": "integer",
  13807. "description": "0:仓单预售 1:仓单贸易",
  13808. "name": "haswr",
  13809. "in": "query"
  13810. },
  13811. {
  13812. "type": "integer",
  13813. "description": "仓单要素id",
  13814. "name": "wrfactortypeid",
  13815. "in": "query",
  13816. "required": true
  13817. },
  13818. {
  13819. "type": "integer",
  13820. "description": "期货商品id(浮动价方式时填)",
  13821. "name": "goodsid",
  13822. "in": "query"
  13823. },
  13824. {
  13825. "type": "integer",
  13826. "description": "买卖方向 0-买 1-卖",
  13827. "name": "buyorsell",
  13828. "in": "query",
  13829. "required": true
  13830. },
  13831. {
  13832. "type": "string",
  13833. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  13834. "name": "deliverymonth",
  13835. "in": "query"
  13836. }
  13837. ],
  13838. "responses": {
  13839. "200": {
  13840. "description": "OK",
  13841. "schema": {
  13842. "type": "array",
  13843. "items": {
  13844. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  13845. }
  13846. }
  13847. },
  13848. "500": {
  13849. "description": "Internal Server Error",
  13850. "schema": {
  13851. "$ref": "#/definitions/app.Response"
  13852. }
  13853. }
  13854. }
  13855. }
  13856. },
  13857. "/WrTrade2/QueryOrderQuoteMyq": {
  13858. "get": {
  13859. "security": [
  13860. {
  13861. "ApiKeyAuth": []
  13862. }
  13863. ],
  13864. "produces": [
  13865. "application/json"
  13866. ],
  13867. "tags": [
  13868. "仓单贸易v2"
  13869. ],
  13870. "summary": "查询贸易圈挂牌大厅",
  13871. "parameters": [
  13872. {
  13873. "type": "integer",
  13874. "description": "页码",
  13875. "name": "page",
  13876. "in": "query"
  13877. },
  13878. {
  13879. "type": "integer",
  13880. "description": "每页条数",
  13881. "name": "pagesize",
  13882. "in": "query"
  13883. },
  13884. {
  13885. "type": "integer",
  13886. "description": "用户id",
  13887. "name": "userid",
  13888. "in": "query",
  13889. "required": true
  13890. },
  13891. {
  13892. "type": "integer",
  13893. "description": "仓单贸易市场id",
  13894. "name": "marketid",
  13895. "in": "query"
  13896. },
  13897. {
  13898. "type": "integer",
  13899. "description": "0:仓单预售 1:仓单贸易",
  13900. "name": "haswr",
  13901. "in": "query"
  13902. },
  13903. {
  13904. "type": "integer",
  13905. "description": "买卖方向 0-买 1-卖",
  13906. "name": "buyorsell",
  13907. "in": "query",
  13908. "required": true
  13909. },
  13910. {
  13911. "type": "integer",
  13912. "description": "品种id",
  13913. "name": "deliverygoodsid",
  13914. "in": "query"
  13915. },
  13916. {
  13917. "type": "integer",
  13918. "description": "品类id",
  13919. "name": "wrstandardid",
  13920. "in": "query"
  13921. },
  13922. {
  13923. "type": "string",
  13924. "description": "交收月(yyyy-mm) 仓单预售填写",
  13925. "name": "deliverymonth",
  13926. "in": "query"
  13927. },
  13928. {
  13929. "type": "string",
  13930. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13931. "name": "dgitemname",
  13932. "in": "query"
  13933. }
  13934. ],
  13935. "responses": {
  13936. "200": {
  13937. "description": "OK",
  13938. "schema": {
  13939. "type": "array",
  13940. "items": {
  13941. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  13942. }
  13943. }
  13944. },
  13945. "500": {
  13946. "description": "Internal Server Error",
  13947. "schema": {
  13948. "$ref": "#/definitions/app.Response"
  13949. }
  13950. }
  13951. }
  13952. }
  13953. },
  13954. "/WrTrade2/QueryPerformancePlan": {
  13955. "get": {
  13956. "security": [
  13957. {
  13958. "ApiKeyAuth": []
  13959. }
  13960. ],
  13961. "produces": [
  13962. "application/json"
  13963. ],
  13964. "tags": [
  13965. "仓单贸易v2"
  13966. ],
  13967. "summary": "查询履约信息",
  13968. "parameters": [
  13969. {
  13970. "type": "integer",
  13971. "description": "用户id",
  13972. "name": "userid",
  13973. "in": "query",
  13974. "required": true
  13975. },
  13976. {
  13977. "type": "integer",
  13978. "description": "买卖方向 0-买 1-卖",
  13979. "name": "buyorsell",
  13980. "in": "query",
  13981. "required": true
  13982. },
  13983. {
  13984. "type": "string",
  13985. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  13986. "name": "status",
  13987. "in": "query"
  13988. },
  13989. {
  13990. "type": "string",
  13991. "description": "开始交易日(yyyymmdd)",
  13992. "name": "begindate",
  13993. "in": "query"
  13994. },
  13995. {
  13996. "type": "string",
  13997. "description": "结束交易日(yyyymmdd)",
  13998. "name": "enddate",
  13999. "in": "query"
  14000. }
  14001. ],
  14002. "responses": {
  14003. "200": {
  14004. "description": "OK",
  14005. "schema": {
  14006. "type": "array",
  14007. "items": {
  14008. "$ref": "#/definitions/models.WrPerformancePlan"
  14009. }
  14010. }
  14011. },
  14012. "500": {
  14013. "description": "Internal Server Error",
  14014. "schema": {
  14015. "$ref": "#/definitions/app.Response"
  14016. }
  14017. }
  14018. }
  14019. }
  14020. },
  14021. "/WrTrade2/QueryPermancePlanTmp": {
  14022. "get": {
  14023. "security": [
  14024. {
  14025. "ApiKeyAuth": []
  14026. }
  14027. ],
  14028. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  14029. "produces": [
  14030. "application/json"
  14031. ],
  14032. "tags": [
  14033. "仓单贸易v2"
  14034. ],
  14035. "summary": "查询履约模板",
  14036. "parameters": [
  14037. {
  14038. "type": "integer",
  14039. "description": "用户id",
  14040. "name": "userid",
  14041. "in": "query"
  14042. },
  14043. {
  14044. "type": "string",
  14045. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  14046. "name": "tmptype",
  14047. "in": "query"
  14048. },
  14049. {
  14050. "type": "integer",
  14051. "description": "是否包含公共模板(用户id为空的) 1-包含",
  14052. "name": "includepub",
  14053. "in": "query"
  14054. },
  14055. {
  14056. "type": "integer",
  14057. "description": "市场id(天津麦顿指定此参数,其它不用)",
  14058. "name": "marketid",
  14059. "in": "query"
  14060. }
  14061. ],
  14062. "responses": {
  14063. "200": {
  14064. "description": "OK",
  14065. "schema": {
  14066. "type": "array",
  14067. "items": {
  14068. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  14069. }
  14070. }
  14071. },
  14072. "500": {
  14073. "description": "Internal Server Error",
  14074. "schema": {
  14075. "$ref": "#/definitions/app.Response"
  14076. }
  14077. }
  14078. }
  14079. }
  14080. },
  14081. "/WrTrade2/QuerySiteColumnDetail": {
  14082. "get": {
  14083. "security": [
  14084. {
  14085. "ApiKeyAuth": []
  14086. }
  14087. ],
  14088. "produces": [
  14089. "application/json"
  14090. ],
  14091. "tags": [
  14092. "仓单贸易v2"
  14093. ],
  14094. "summary": "查询资讯",
  14095. "parameters": [
  14096. {
  14097. "type": "integer",
  14098. "description": "页码",
  14099. "name": "page",
  14100. "in": "query"
  14101. },
  14102. {
  14103. "type": "integer",
  14104. "description": "每页条数",
  14105. "name": "pagesize",
  14106. "in": "query"
  14107. },
  14108. {
  14109. "type": "integer",
  14110. "description": "所属栏目id",
  14111. "name": "columnid",
  14112. "in": "query"
  14113. }
  14114. ],
  14115. "responses": {
  14116. "200": {
  14117. "description": "OK",
  14118. "schema": {
  14119. "type": "array",
  14120. "items": {
  14121. "$ref": "#/definitions/models.WrSiteColumnDetail"
  14122. }
  14123. }
  14124. },
  14125. "500": {
  14126. "description": "Internal Server Error",
  14127. "schema": {
  14128. "$ref": "#/definitions/app.Response"
  14129. }
  14130. }
  14131. }
  14132. }
  14133. },
  14134. "/WrTrade2/QuerySpotGroupTradeSum": {
  14135. "get": {
  14136. "security": [
  14137. {
  14138. "ApiKeyAuth": []
  14139. }
  14140. ],
  14141. "produces": [
  14142. "application/json"
  14143. ],
  14144. "tags": [
  14145. "仓单贸易v2"
  14146. ],
  14147. "summary": "查询指数",
  14148. "responses": {
  14149. "200": {
  14150. "description": "OK",
  14151. "schema": {
  14152. "type": "array",
  14153. "items": {
  14154. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  14155. }
  14156. }
  14157. },
  14158. "500": {
  14159. "description": "Internal Server Error",
  14160. "schema": {
  14161. "$ref": "#/definitions/app.Response"
  14162. }
  14163. }
  14164. }
  14165. }
  14166. },
  14167. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  14168. "get": {
  14169. "security": [
  14170. {
  14171. "ApiKeyAuth": []
  14172. }
  14173. ],
  14174. "description": "查询的结果将会按日期 从小到大 排序",
  14175. "produces": [
  14176. "application/json"
  14177. ],
  14178. "tags": [
  14179. "仓单贸易v2"
  14180. ],
  14181. "summary": "查询指数详细(价格走势图)",
  14182. "parameters": [
  14183. {
  14184. "type": "integer",
  14185. "description": "现货商品id",
  14186. "name": "deliverygoodsid",
  14187. "in": "query",
  14188. "required": true
  14189. },
  14190. {
  14191. "type": "integer",
  14192. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  14193. "name": "lastnum",
  14194. "in": "query"
  14195. }
  14196. ],
  14197. "responses": {
  14198. "200": {
  14199. "description": "OK",
  14200. "schema": {
  14201. "type": "array",
  14202. "items": {
  14203. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  14204. }
  14205. }
  14206. },
  14207. "500": {
  14208. "description": "Internal Server Error",
  14209. "schema": {
  14210. "$ref": "#/definitions/app.Response"
  14211. }
  14212. }
  14213. }
  14214. }
  14215. },
  14216. "/WrTrade2/QueryWrAverageTradePrice": {
  14217. "get": {
  14218. "security": [
  14219. {
  14220. "ApiKeyAuth": []
  14221. }
  14222. ],
  14223. "produces": [
  14224. "application/json"
  14225. ],
  14226. "tags": [
  14227. "仓单贸易v2"
  14228. ],
  14229. "summary": "查询成交价(历史走势)",
  14230. "parameters": [
  14231. {
  14232. "type": "integer",
  14233. "description": "页码",
  14234. "name": "page",
  14235. "in": "query"
  14236. },
  14237. {
  14238. "type": "integer",
  14239. "description": "每页条数",
  14240. "name": "pagesize",
  14241. "in": "query"
  14242. },
  14243. {
  14244. "type": "integer",
  14245. "description": "0:仓单预售 1:仓单贸易",
  14246. "name": "haswr",
  14247. "in": "query",
  14248. "required": true
  14249. },
  14250. {
  14251. "type": "integer",
  14252. "description": "仓单要素id",
  14253. "name": "wrfactortypeid",
  14254. "in": "query",
  14255. "required": true
  14256. }
  14257. ],
  14258. "responses": {
  14259. "200": {
  14260. "description": "OK",
  14261. "schema": {
  14262. "type": "array",
  14263. "items": {
  14264. "$ref": "#/definitions/models.WrAverageTradePrice"
  14265. }
  14266. }
  14267. },
  14268. "500": {
  14269. "description": "Internal Server Error",
  14270. "schema": {
  14271. "$ref": "#/definitions/app.Response"
  14272. }
  14273. }
  14274. }
  14275. }
  14276. },
  14277. "/WrTrade2/QueryWrBrandAndYears": {
  14278. "get": {
  14279. "security": [
  14280. {
  14281. "ApiKeyAuth": []
  14282. }
  14283. ],
  14284. "produces": [
  14285. "application/json"
  14286. ],
  14287. "tags": [
  14288. "仓单贸易v2"
  14289. ],
  14290. "summary": "查询品牌和年份",
  14291. "responses": {
  14292. "200": {
  14293. "description": "OK",
  14294. "schema": {
  14295. "type": "array",
  14296. "items": {
  14297. "$ref": "#/definitions/models.WrBrandAndYears"
  14298. }
  14299. }
  14300. },
  14301. "500": {
  14302. "description": "Internal Server Error",
  14303. "schema": {
  14304. "$ref": "#/definitions/app.Response"
  14305. }
  14306. }
  14307. }
  14308. }
  14309. },
  14310. "/WrTrade2/QueryWrBsGoodsInfo": {
  14311. "get": {
  14312. "security": [
  14313. {
  14314. "ApiKeyAuth": []
  14315. }
  14316. ],
  14317. "description": "合约交易/买卖大厅/详情",
  14318. "produces": [
  14319. "application/json"
  14320. ],
  14321. "tags": [
  14322. "仓单贸易v2"
  14323. ],
  14324. "summary": "查询合约交易买卖大厅详情",
  14325. "parameters": [
  14326. {
  14327. "type": "integer",
  14328. "description": "商品id",
  14329. "name": "goodsid",
  14330. "in": "query",
  14331. "required": true
  14332. }
  14333. ],
  14334. "responses": {
  14335. "200": {
  14336. "description": "OK",
  14337. "schema": {
  14338. "type": "array",
  14339. "items": {
  14340. "$ref": "#/definitions/models.WrBsGoodsInfo"
  14341. }
  14342. }
  14343. },
  14344. "500": {
  14345. "description": "Internal Server Error",
  14346. "schema": {
  14347. "$ref": "#/definitions/app.Response"
  14348. }
  14349. }
  14350. }
  14351. }
  14352. },
  14353. "/WrTrade2/QueryWrBuybackDetail": {
  14354. "get": {
  14355. "security": [
  14356. {
  14357. "ApiKeyAuth": []
  14358. }
  14359. ],
  14360. "produces": [
  14361. "application/json"
  14362. ],
  14363. "tags": [
  14364. "仓单贸易v2"
  14365. ],
  14366. "summary": "查询仓单回购明细",
  14367. "parameters": [
  14368. {
  14369. "type": "integer",
  14370. "description": "融资合同id",
  14371. "name": "scfcontractid",
  14372. "in": "query"
  14373. }
  14374. ],
  14375. "responses": {
  14376. "200": {
  14377. "description": "OK",
  14378. "schema": {
  14379. "type": "array",
  14380. "items": {
  14381. "$ref": "#/definitions/models.WrBuybackDetail"
  14382. }
  14383. }
  14384. },
  14385. "500": {
  14386. "description": "Internal Server Error",
  14387. "schema": {
  14388. "$ref": "#/definitions/app.Response"
  14389. }
  14390. }
  14391. }
  14392. }
  14393. },
  14394. "/WrTrade2/QueryWrClientAdSpaceConfig": {
  14395. "get": {
  14396. "security": [
  14397. {
  14398. "ApiKeyAuth": []
  14399. }
  14400. ],
  14401. "produces": [
  14402. "application/json"
  14403. ],
  14404. "tags": [
  14405. "仓单贸易v2"
  14406. ],
  14407. "summary": "查询固定广告配置",
  14408. "responses": {
  14409. "200": {
  14410. "description": "OK",
  14411. "schema": {
  14412. "type": "array",
  14413. "items": {
  14414. "$ref": "#/definitions/models.WrClientAdSpaceConfig"
  14415. }
  14416. }
  14417. },
  14418. "500": {
  14419. "description": "Internal Server Error",
  14420. "schema": {
  14421. "$ref": "#/definitions/app.Response"
  14422. }
  14423. }
  14424. }
  14425. }
  14426. },
  14427. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  14428. "get": {
  14429. "security": [
  14430. {
  14431. "ApiKeyAuth": []
  14432. }
  14433. ],
  14434. "produces": [
  14435. "application/json"
  14436. ],
  14437. "tags": [
  14438. "仓单贸易v2"
  14439. ],
  14440. "summary": "查询合约交收可点选仓单",
  14441. "parameters": [
  14442. {
  14443. "type": "integer",
  14444. "description": "资金账号",
  14445. "name": "accountid",
  14446. "in": "query",
  14447. "required": true
  14448. },
  14449. {
  14450. "type": "integer",
  14451. "description": "商品id",
  14452. "name": "goodsid",
  14453. "in": "query",
  14454. "required": true
  14455. }
  14456. ],
  14457. "responses": {
  14458. "200": {
  14459. "description": "OK",
  14460. "schema": {
  14461. "type": "array",
  14462. "items": {
  14463. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  14464. }
  14465. }
  14466. },
  14467. "500": {
  14468. "description": "Internal Server Error",
  14469. "schema": {
  14470. "$ref": "#/definitions/app.Response"
  14471. }
  14472. }
  14473. }
  14474. }
  14475. },
  14476. "/WrTrade2/QueryWrDeliveryDetail": {
  14477. "get": {
  14478. "security": [
  14479. {
  14480. "ApiKeyAuth": []
  14481. }
  14482. ],
  14483. "produces": [
  14484. "application/json"
  14485. ],
  14486. "tags": [
  14487. "仓单贸易v2"
  14488. ],
  14489. "summary": "查询交收",
  14490. "parameters": [
  14491. {
  14492. "type": "integer",
  14493. "description": "用户id",
  14494. "name": "userid",
  14495. "in": "query",
  14496. "required": true
  14497. },
  14498. {
  14499. "type": "integer",
  14500. "description": "资金账号id",
  14501. "name": "accountid",
  14502. "in": "query"
  14503. },
  14504. {
  14505. "type": "string",
  14506. "description": "开始交易日(yyyymmdd)",
  14507. "name": "begindate",
  14508. "in": "query"
  14509. },
  14510. {
  14511. "type": "string",
  14512. "description": "结束交易日(yyyymmdd)",
  14513. "name": "enddate",
  14514. "in": "query"
  14515. }
  14516. ],
  14517. "responses": {
  14518. "200": {
  14519. "description": "OK",
  14520. "schema": {
  14521. "type": "array",
  14522. "items": {
  14523. "$ref": "#/definitions/models.WrDeliveryDetail"
  14524. }
  14525. }
  14526. },
  14527. "500": {
  14528. "description": "Internal Server Error",
  14529. "schema": {
  14530. "$ref": "#/definitions/app.Response"
  14531. }
  14532. }
  14533. }
  14534. }
  14535. },
  14536. "/WrTrade2/QueryWrDraftUserInfo": {
  14537. "get": {
  14538. "security": [
  14539. {
  14540. "ApiKeyAuth": []
  14541. }
  14542. ],
  14543. "produces": [
  14544. "application/json"
  14545. ],
  14546. "tags": [
  14547. "仓单贸易v2"
  14548. ],
  14549. "summary": "查询实名认证信息",
  14550. "parameters": [
  14551. {
  14552. "type": "integer",
  14553. "description": "用户ID",
  14554. "name": "userid",
  14555. "in": "query",
  14556. "required": true
  14557. },
  14558. {
  14559. "type": "integer",
  14560. "description": "用户状态 1:正常 2:注销",
  14561. "name": "userstatus",
  14562. "in": "query"
  14563. }
  14564. ],
  14565. "responses": {
  14566. "200": {
  14567. "description": "OK",
  14568. "schema": {
  14569. "type": "array",
  14570. "items": {
  14571. "$ref": "#/definitions/models.WrDraftUserInfo"
  14572. }
  14573. }
  14574. },
  14575. "500": {
  14576. "description": "Internal Server Error",
  14577. "schema": {
  14578. "$ref": "#/definitions/app.Response"
  14579. }
  14580. }
  14581. }
  14582. }
  14583. },
  14584. "/WrTrade2/QueryWrFactorTypeInfo": {
  14585. "get": {
  14586. "security": [
  14587. {
  14588. "ApiKeyAuth": []
  14589. }
  14590. ],
  14591. "produces": [
  14592. "application/json"
  14593. ],
  14594. "tags": [
  14595. "仓单贸易v2"
  14596. ],
  14597. "summary": "查询仓单要素详细信息",
  14598. "parameters": [
  14599. {
  14600. "type": "integer",
  14601. "description": "仓单要素id",
  14602. "name": "wrfactortypeid",
  14603. "in": "query",
  14604. "required": true
  14605. }
  14606. ],
  14607. "responses": {
  14608. "200": {
  14609. "description": "OK",
  14610. "schema": {
  14611. "type": "array",
  14612. "items": {
  14613. "$ref": "#/definitions/models.WrFactorTypeInfo"
  14614. }
  14615. }
  14616. },
  14617. "500": {
  14618. "description": "Internal Server Error",
  14619. "schema": {
  14620. "$ref": "#/definitions/app.Response"
  14621. }
  14622. }
  14623. }
  14624. }
  14625. },
  14626. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  14627. "get": {
  14628. "security": [
  14629. {
  14630. "ApiKeyAuth": []
  14631. }
  14632. ],
  14633. "produces": [
  14634. "application/json"
  14635. ],
  14636. "tags": [
  14637. "仓单贸易v2"
  14638. ],
  14639. "summary": "查询仓单要素详细信息列表项",
  14640. "parameters": [
  14641. {
  14642. "type": "integer",
  14643. "description": "仓单要素id",
  14644. "name": "wrfactortypeid",
  14645. "in": "query",
  14646. "required": true
  14647. }
  14648. ],
  14649. "responses": {
  14650. "200": {
  14651. "description": "OK",
  14652. "schema": {
  14653. "type": "array",
  14654. "items": {
  14655. "$ref": "#/definitions/models.WrTypeItem"
  14656. }
  14657. }
  14658. },
  14659. "500": {
  14660. "description": "Internal Server Error",
  14661. "schema": {
  14662. "$ref": "#/definitions/app.Response"
  14663. }
  14664. }
  14665. }
  14666. }
  14667. },
  14668. "/WrTrade2/QueryWrFinanceBuyApply": {
  14669. "get": {
  14670. "security": [
  14671. {
  14672. "ApiKeyAuth": []
  14673. }
  14674. ],
  14675. "description": "页面 融资信息+ / 申请单",
  14676. "produces": [
  14677. "application/json"
  14678. ],
  14679. "tags": [
  14680. "仓单贸易v2"
  14681. ],
  14682. "summary": "查询融资购买申请",
  14683. "parameters": [
  14684. {
  14685. "type": "integer",
  14686. "description": "用户id",
  14687. "name": "userid",
  14688. "in": "query",
  14689. "required": true
  14690. }
  14691. ],
  14692. "responses": {
  14693. "200": {
  14694. "description": "OK",
  14695. "schema": {
  14696. "type": "array",
  14697. "items": {
  14698. "$ref": "#/definitions/models.WrFinanceBuyApply"
  14699. }
  14700. }
  14701. },
  14702. "500": {
  14703. "description": "Internal Server Error",
  14704. "schema": {
  14705. "$ref": "#/definitions/app.Response"
  14706. }
  14707. }
  14708. }
  14709. }
  14710. },
  14711. "/WrTrade2/QueryWrFriendApply": {
  14712. "get": {
  14713. "security": [
  14714. {
  14715. "ApiKeyAuth": []
  14716. }
  14717. ],
  14718. "produces": [
  14719. "application/json"
  14720. ],
  14721. "tags": [
  14722. "仓单贸易v2"
  14723. ],
  14724. "summary": "查询好友申请记录",
  14725. "parameters": [
  14726. {
  14727. "type": "integer",
  14728. "description": "用户id",
  14729. "name": "userid",
  14730. "in": "query",
  14731. "required": true
  14732. }
  14733. ],
  14734. "responses": {
  14735. "200": {
  14736. "description": "OK",
  14737. "schema": {
  14738. "type": "array",
  14739. "items": {
  14740. "$ref": "#/definitions/models.WrFriendApply"
  14741. }
  14742. }
  14743. },
  14744. "500": {
  14745. "description": "Internal Server Error",
  14746. "schema": {
  14747. "$ref": "#/definitions/app.Response"
  14748. }
  14749. }
  14750. }
  14751. }
  14752. },
  14753. "/WrTrade2/QueryWrGoodsInfo": {
  14754. "get": {
  14755. "security": [
  14756. {
  14757. "ApiKeyAuth": []
  14758. }
  14759. ],
  14760. "produces": [
  14761. "application/json"
  14762. ],
  14763. "tags": [
  14764. "仓单贸易v2"
  14765. ],
  14766. "summary": "查询仓单商品信息",
  14767. "parameters": [
  14768. {
  14769. "type": "integer",
  14770. "description": "仓单贸易市场id",
  14771. "name": "marketid",
  14772. "in": "query"
  14773. },
  14774. {
  14775. "type": "integer",
  14776. "description": "0:仓单预售 1:仓单贸易",
  14777. "name": "haswr",
  14778. "in": "query",
  14779. "required": true
  14780. },
  14781. {
  14782. "type": "integer",
  14783. "description": "仓单要素id",
  14784. "name": "wrfactortypeid",
  14785. "in": "query",
  14786. "required": true
  14787. },
  14788. {
  14789. "type": "integer",
  14790. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  14791. "name": "tmplateid",
  14792. "in": "query"
  14793. }
  14794. ],
  14795. "responses": {
  14796. "200": {
  14797. "description": "OK",
  14798. "schema": {
  14799. "type": "array",
  14800. "items": {
  14801. "$ref": "#/definitions/models.WrGoodsInfo"
  14802. }
  14803. }
  14804. },
  14805. "500": {
  14806. "description": "Internal Server Error",
  14807. "schema": {
  14808. "$ref": "#/definitions/app.Response"
  14809. }
  14810. }
  14811. }
  14812. }
  14813. },
  14814. "/WrTrade2/QueryWrMarketTradeConfig": {
  14815. "get": {
  14816. "security": [
  14817. {
  14818. "ApiKeyAuth": []
  14819. }
  14820. ],
  14821. "produces": [
  14822. "application/json"
  14823. ],
  14824. "tags": [
  14825. "仓单贸易v2"
  14826. ],
  14827. "summary": "查询市场交易参数配置",
  14828. "parameters": [
  14829. {
  14830. "type": "integer",
  14831. "description": "市场id",
  14832. "name": "marketid",
  14833. "in": "query"
  14834. }
  14835. ],
  14836. "responses": {
  14837. "200": {
  14838. "description": "OK",
  14839. "schema": {
  14840. "type": "array",
  14841. "items": {
  14842. "$ref": "#/definitions/models.WrMarketTradeConfig"
  14843. }
  14844. }
  14845. },
  14846. "500": {
  14847. "description": "Internal Server Error",
  14848. "schema": {
  14849. "$ref": "#/definitions/app.Response"
  14850. }
  14851. }
  14852. }
  14853. }
  14854. },
  14855. "/WrTrade2/QueryWrOrderDetail": {
  14856. "get": {
  14857. "security": [
  14858. {
  14859. "ApiKeyAuth": []
  14860. }
  14861. ],
  14862. "description": "页面 现货仓单 | 预售仓单 -\u003e 委托单",
  14863. "produces": [
  14864. "application/json"
  14865. ],
  14866. "tags": [
  14867. "仓单贸易v2"
  14868. ],
  14869. "summary": "查询仓单委托单",
  14870. "parameters": [
  14871. {
  14872. "type": "integer",
  14873. "description": "页码",
  14874. "name": "page",
  14875. "in": "query"
  14876. },
  14877. {
  14878. "type": "integer",
  14879. "description": "每页条数",
  14880. "name": "pagesize",
  14881. "in": "query"
  14882. },
  14883. {
  14884. "type": "integer",
  14885. "description": "用户id",
  14886. "name": "userid",
  14887. "in": "query",
  14888. "required": true
  14889. },
  14890. {
  14891. "type": "integer",
  14892. "description": "仓单贸易市场id",
  14893. "name": "marketid",
  14894. "in": "query"
  14895. },
  14896. {
  14897. "type": "integer",
  14898. "description": "0:仓单预售 1:仓单贸易",
  14899. "name": "haswr",
  14900. "in": "query",
  14901. "required": true
  14902. },
  14903. {
  14904. "type": "integer",
  14905. "description": "是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场",
  14906. "name": "bcancel",
  14907. "in": "query"
  14908. },
  14909. {
  14910. "type": "integer",
  14911. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  14912. "name": "wrtradetype",
  14913. "in": "query"
  14914. },
  14915. {
  14916. "type": "string",
  14917. "description": "开始交易日(yyyymmdd)",
  14918. "name": "begindate",
  14919. "in": "query"
  14920. },
  14921. {
  14922. "type": "string",
  14923. "description": "结束交易日(yyyymmdd)",
  14924. "name": "enddate",
  14925. "in": "query"
  14926. }
  14927. ],
  14928. "responses": {
  14929. "200": {
  14930. "description": "OK",
  14931. "schema": {
  14932. "type": "array",
  14933. "items": {
  14934. "$ref": "#/definitions/models.WrOrderDetail"
  14935. }
  14936. }
  14937. },
  14938. "500": {
  14939. "description": "Internal Server Error",
  14940. "schema": {
  14941. "$ref": "#/definitions/app.Response"
  14942. }
  14943. }
  14944. }
  14945. }
  14946. },
  14947. "/WrTrade2/QueryWrOutInApply": {
  14948. "get": {
  14949. "security": [
  14950. {
  14951. "ApiKeyAuth": []
  14952. }
  14953. ],
  14954. "produces": [
  14955. "application/json"
  14956. ],
  14957. "tags": [
  14958. "仓单贸易v2"
  14959. ],
  14960. "summary": "查询提货申请",
  14961. "parameters": [
  14962. {
  14963. "type": "integer",
  14964. "description": "用户id",
  14965. "name": "userid",
  14966. "in": "query",
  14967. "required": true
  14968. },
  14969. {
  14970. "type": "string",
  14971. "description": "开始交易日(yyyymmdd)",
  14972. "name": "begindate",
  14973. "in": "query"
  14974. },
  14975. {
  14976. "type": "string",
  14977. "description": "结束交易日(yyyymmdd)",
  14978. "name": "enddate",
  14979. "in": "query"
  14980. }
  14981. ],
  14982. "responses": {
  14983. "200": {
  14984. "description": "OK",
  14985. "schema": {
  14986. "type": "array",
  14987. "items": {
  14988. "$ref": "#/definitions/models.WrOutInApply"
  14989. }
  14990. }
  14991. },
  14992. "500": {
  14993. "description": "Internal Server Error",
  14994. "schema": {
  14995. "$ref": "#/definitions/app.Response"
  14996. }
  14997. }
  14998. }
  14999. }
  15000. },
  15001. "/WrTrade2/QueryWrPerformancePlanStep": {
  15002. "get": {
  15003. "security": [
  15004. {
  15005. "ApiKeyAuth": []
  15006. }
  15007. ],
  15008. "produces": [
  15009. "application/json"
  15010. ],
  15011. "tags": [
  15012. "仓单贸易v2"
  15013. ],
  15014. "summary": "查询履约信息详情",
  15015. "parameters": [
  15016. {
  15017. "type": "integer",
  15018. "description": "履约计划id(performanceplanid)",
  15019. "name": "planid",
  15020. "in": "query",
  15021. "required": true
  15022. },
  15023. {
  15024. "type": "integer",
  15025. "description": "当前步骤id",
  15026. "name": "curstepid",
  15027. "in": "query"
  15028. }
  15029. ],
  15030. "responses": {
  15031. "200": {
  15032. "description": "OK",
  15033. "schema": {
  15034. "type": "array",
  15035. "items": {
  15036. "$ref": "#/definitions/models.WrPerformancePlanStep"
  15037. }
  15038. }
  15039. },
  15040. "500": {
  15041. "description": "Internal Server Error",
  15042. "schema": {
  15043. "$ref": "#/definitions/app.Response"
  15044. }
  15045. }
  15046. }
  15047. }
  15048. },
  15049. "/WrTrade2/QueryWrPerformanceStepType": {
  15050. "get": {
  15051. "security": [
  15052. {
  15053. "ApiKeyAuth": []
  15054. }
  15055. ],
  15056. "produces": [
  15057. "application/json"
  15058. ],
  15059. "tags": [
  15060. "仓单贸易v2"
  15061. ],
  15062. "summary": "查询履约步骤枚举",
  15063. "responses": {
  15064. "200": {
  15065. "description": "OK",
  15066. "schema": {
  15067. "type": "array",
  15068. "items": {
  15069. "$ref": "#/definitions/models.WrPerformanceStepType"
  15070. }
  15071. }
  15072. },
  15073. "500": {
  15074. "description": "Internal Server Error",
  15075. "schema": {
  15076. "$ref": "#/definitions/app.Response"
  15077. }
  15078. }
  15079. }
  15080. }
  15081. },
  15082. "/WrTrade2/QueryWrPosition": {
  15083. "get": {
  15084. "security": [
  15085. {
  15086. "ApiKeyAuth": []
  15087. }
  15088. ],
  15089. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  15090. "produces": [
  15091. "application/json"
  15092. ],
  15093. "tags": [
  15094. "仓单贸易v2"
  15095. ],
  15096. "summary": "查询现货(预售)仓单持仓",
  15097. "parameters": [
  15098. {
  15099. "type": "integer",
  15100. "description": "用户id",
  15101. "name": "userid",
  15102. "in": "query",
  15103. "required": true
  15104. },
  15105. {
  15106. "type": "integer",
  15107. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  15108. "name": "querytype",
  15109. "in": "query",
  15110. "required": true
  15111. },
  15112. {
  15113. "type": "integer",
  15114. "description": "0:仓单预售 1:仓单贸易",
  15115. "name": "haswr",
  15116. "in": "query",
  15117. "required": true
  15118. },
  15119. {
  15120. "type": "string",
  15121. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  15122. "name": "dgitemname",
  15123. "in": "query"
  15124. },
  15125. {
  15126. "type": "integer",
  15127. "description": "仓库id(筛选条件)",
  15128. "name": "warehouseid",
  15129. "in": "query"
  15130. },
  15131. {
  15132. "type": "integer",
  15133. "description": "品种id",
  15134. "name": "deliverygoodsid",
  15135. "in": "query"
  15136. },
  15137. {
  15138. "type": "integer",
  15139. "description": "品类id",
  15140. "name": "wrstandardid",
  15141. "in": "query"
  15142. }
  15143. ],
  15144. "responses": {
  15145. "200": {
  15146. "description": "OK",
  15147. "schema": {
  15148. "type": "array",
  15149. "items": {
  15150. "$ref": "#/definitions/models.WrPosition"
  15151. }
  15152. }
  15153. },
  15154. "500": {
  15155. "description": "Internal Server Error",
  15156. "schema": {
  15157. "$ref": "#/definitions/app.Response"
  15158. }
  15159. }
  15160. }
  15161. }
  15162. },
  15163. "/WrTrade2/QueryWrPreSaleInfo": {
  15164. "get": {
  15165. "security": [
  15166. {
  15167. "ApiKeyAuth": []
  15168. }
  15169. ],
  15170. "produces": [
  15171. "application/json"
  15172. ],
  15173. "tags": [
  15174. "仓单贸易v2"
  15175. ],
  15176. "summary": "查询新品发布",
  15177. "parameters": [
  15178. {
  15179. "type": "integer",
  15180. "description": "市场id",
  15181. "name": "marketid",
  15182. "in": "query"
  15183. },
  15184. {
  15185. "type": "string",
  15186. "description": "预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭",
  15187. "name": "presalestatus",
  15188. "in": "query"
  15189. },
  15190. {
  15191. "type": "integer",
  15192. "description": "摇号标识 - 0:未摇号 1:已摇号",
  15193. "name": "lotteryflag",
  15194. "in": "query"
  15195. },
  15196. {
  15197. "type": "integer",
  15198. "description": "最近多少条记录(按创建时间倒序)",
  15199. "name": "lastnum",
  15200. "in": "query"
  15201. }
  15202. ],
  15203. "responses": {
  15204. "200": {
  15205. "description": "OK",
  15206. "schema": {
  15207. "type": "array",
  15208. "items": {
  15209. "$ref": "#/definitions/models.WrPreSaleInfo"
  15210. }
  15211. }
  15212. },
  15213. "500": {
  15214. "description": "Internal Server Error",
  15215. "schema": {
  15216. "$ref": "#/definitions/app.Response"
  15217. }
  15218. }
  15219. }
  15220. }
  15221. },
  15222. "/WrTrade2/QueryWrReckonSpotGoodsTradeSum": {
  15223. "get": {
  15224. "security": [
  15225. {
  15226. "ApiKeyAuth": []
  15227. }
  15228. ],
  15229. "produces": [
  15230. "application/json"
  15231. ],
  15232. "tags": [
  15233. "仓单贸易v2"
  15234. ],
  15235. "summary": "查询价格走势",
  15236. "parameters": [
  15237. {
  15238. "type": "integer",
  15239. "description": "市场id",
  15240. "name": "marketid",
  15241. "in": "query",
  15242. "required": true
  15243. },
  15244. {
  15245. "type": "integer",
  15246. "description": "现货商品id",
  15247. "name": "wrstandardid",
  15248. "in": "query",
  15249. "required": true
  15250. },
  15251. {
  15252. "type": "string",
  15253. "description": "开始交易日(yyyymmdd)",
  15254. "name": "begindate",
  15255. "in": "query"
  15256. },
  15257. {
  15258. "type": "string",
  15259. "description": "结束交易日(yyyymmdd)",
  15260. "name": "enddate",
  15261. "in": "query"
  15262. },
  15263. {
  15264. "type": "integer",
  15265. "description": "最近多少条记录(按交易日倒序)",
  15266. "name": "lastnum",
  15267. "in": "query"
  15268. },
  15269. {
  15270. "type": "boolean",
  15271. "description": "是否今日",
  15272. "name": "istoday",
  15273. "in": "query"
  15274. }
  15275. ],
  15276. "responses": {
  15277. "200": {
  15278. "description": "OK",
  15279. "schema": {
  15280. "type": "array",
  15281. "items": {
  15282. "$ref": "#/definitions/models.WrReckonSpotGoodsTradeSum"
  15283. }
  15284. }
  15285. },
  15286. "500": {
  15287. "description": "Internal Server Error",
  15288. "schema": {
  15289. "$ref": "#/definitions/app.Response"
  15290. }
  15291. }
  15292. }
  15293. }
  15294. },
  15295. "/WrTrade2/QueryWrScfContract": {
  15296. "get": {
  15297. "security": [
  15298. {
  15299. "ApiKeyAuth": []
  15300. }
  15301. ],
  15302. "produces": [
  15303. "application/json"
  15304. ],
  15305. "tags": [
  15306. "仓单贸易v2"
  15307. ],
  15308. "summary": "查询仓单贸易融资合同",
  15309. "parameters": [
  15310. {
  15311. "type": "integer",
  15312. "description": "用户id",
  15313. "name": "userid",
  15314. "in": "query",
  15315. "required": true
  15316. },
  15317. {
  15318. "type": "integer",
  15319. "description": "融资合同id",
  15320. "name": "scfcontractid",
  15321. "in": "query"
  15322. }
  15323. ],
  15324. "responses": {
  15325. "200": {
  15326. "description": "OK",
  15327. "schema": {
  15328. "type": "array",
  15329. "items": {
  15330. "$ref": "#/definitions/models.WrScfContract"
  15331. }
  15332. }
  15333. },
  15334. "500": {
  15335. "description": "Internal Server Error",
  15336. "schema": {
  15337. "$ref": "#/definitions/app.Response"
  15338. }
  15339. }
  15340. }
  15341. }
  15342. },
  15343. "/WrTrade2/QueryWrScfContractInterest": {
  15344. "get": {
  15345. "security": [
  15346. {
  15347. "ApiKeyAuth": []
  15348. }
  15349. ],
  15350. "produces": [
  15351. "application/json"
  15352. ],
  15353. "tags": [
  15354. "仓单贸易v2"
  15355. ],
  15356. "summary": "查询融资合同费用明细",
  15357. "parameters": [
  15358. {
  15359. "type": "integer",
  15360. "description": "融资合同id",
  15361. "name": "scfcontractid",
  15362. "in": "query"
  15363. }
  15364. ],
  15365. "responses": {
  15366. "200": {
  15367. "description": "OK",
  15368. "schema": {
  15369. "type": "array",
  15370. "items": {
  15371. "$ref": "#/definitions/models.WrScfContractInterest"
  15372. }
  15373. }
  15374. },
  15375. "500": {
  15376. "description": "Internal Server Error",
  15377. "schema": {
  15378. "$ref": "#/definitions/app.Response"
  15379. }
  15380. }
  15381. }
  15382. }
  15383. },
  15384. "/WrTrade2/QueryWrSearchUser": {
  15385. "get": {
  15386. "security": [
  15387. {
  15388. "ApiKeyAuth": []
  15389. }
  15390. ],
  15391. "produces": [
  15392. "application/json"
  15393. ],
  15394. "tags": [
  15395. "仓单贸易v2"
  15396. ],
  15397. "summary": "查询用户",
  15398. "parameters": [
  15399. {
  15400. "type": "string",
  15401. "description": "用户名称(模糊匹配)",
  15402. "name": "username",
  15403. "in": "query",
  15404. "required": true
  15405. }
  15406. ],
  15407. "responses": {
  15408. "200": {
  15409. "description": "OK",
  15410. "schema": {
  15411. "type": "array",
  15412. "items": {
  15413. "$ref": "#/definitions/models.WrSearchUser"
  15414. }
  15415. }
  15416. },
  15417. "500": {
  15418. "description": "Internal Server Error",
  15419. "schema": {
  15420. "$ref": "#/definitions/app.Response"
  15421. }
  15422. }
  15423. }
  15424. }
  15425. },
  15426. "/WrTrade2/QueryWrSpecialMatchOrder": {
  15427. "get": {
  15428. "security": [
  15429. {
  15430. "ApiKeyAuth": []
  15431. }
  15432. ],
  15433. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  15434. "produces": [
  15435. "application/json"
  15436. ],
  15437. "tags": [
  15438. "仓单贸易v2"
  15439. ],
  15440. "summary": "查询指定成交",
  15441. "parameters": [
  15442. {
  15443. "type": "integer",
  15444. "description": "页码",
  15445. "name": "page",
  15446. "in": "query"
  15447. },
  15448. {
  15449. "type": "integer",
  15450. "description": "每页条数",
  15451. "name": "pagesize",
  15452. "in": "query"
  15453. },
  15454. {
  15455. "type": "integer",
  15456. "description": "用户id",
  15457. "name": "userid",
  15458. "in": "query",
  15459. "required": true
  15460. },
  15461. {
  15462. "type": "integer",
  15463. "description": "仓单贸易市场id",
  15464. "name": "marketid",
  15465. "in": "query"
  15466. },
  15467. {
  15468. "type": "integer",
  15469. "description": "0:仓单预售 1:仓单贸易",
  15470. "name": "haswr",
  15471. "in": "query",
  15472. "required": true
  15473. },
  15474. {
  15475. "type": "integer",
  15476. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  15477. "name": "isspecified",
  15478. "in": "query"
  15479. }
  15480. ],
  15481. "responses": {
  15482. "200": {
  15483. "description": "OK",
  15484. "schema": {
  15485. "type": "array",
  15486. "items": {
  15487. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  15488. }
  15489. }
  15490. },
  15491. "500": {
  15492. "description": "Internal Server Error",
  15493. "schema": {
  15494. "$ref": "#/definitions/app.Response"
  15495. }
  15496. }
  15497. }
  15498. }
  15499. },
  15500. "/WrTrade2/QueryWrStandardFactoryItem": {
  15501. "get": {
  15502. "security": [
  15503. {
  15504. "ApiKeyAuth": []
  15505. }
  15506. ],
  15507. "produces": [
  15508. "application/json"
  15509. ],
  15510. "tags": [
  15511. "仓单贸易v2"
  15512. ],
  15513. "summary": "查询品类要素定义项",
  15514. "parameters": [
  15515. {
  15516. "type": "integer",
  15517. "description": "品类id",
  15518. "name": "wrstandardid",
  15519. "in": "query",
  15520. "required": true
  15521. }
  15522. ],
  15523. "responses": {
  15524. "200": {
  15525. "description": "OK",
  15526. "schema": {
  15527. "type": "array",
  15528. "items": {
  15529. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  15530. }
  15531. }
  15532. },
  15533. "500": {
  15534. "description": "Internal Server Error",
  15535. "schema": {
  15536. "$ref": "#/definitions/app.Response"
  15537. }
  15538. }
  15539. }
  15540. }
  15541. },
  15542. "/WrTrade2/QueryWrTradeBargainApply": {
  15543. "get": {
  15544. "security": [
  15545. {
  15546. "ApiKeyAuth": []
  15547. }
  15548. ],
  15549. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  15550. "produces": [
  15551. "application/json"
  15552. ],
  15553. "tags": [
  15554. "仓单贸易v2"
  15555. ],
  15556. "summary": "查询议价单",
  15557. "parameters": [
  15558. {
  15559. "type": "integer",
  15560. "description": "议价人id(摘牌方)",
  15561. "name": "userid",
  15562. "in": "query"
  15563. },
  15564. {
  15565. "type": "integer",
  15566. "description": "挂牌方id(查对方议价时,填写此项)",
  15567. "name": "matchuserid",
  15568. "in": "query"
  15569. },
  15570. {
  15571. "type": "integer",
  15572. "description": "关联委托单id",
  15573. "name": "wrtradeorderid",
  15574. "in": "query"
  15575. },
  15576. {
  15577. "type": "integer",
  15578. "description": "0:仓单预售 1:仓单贸易",
  15579. "name": "haswr",
  15580. "in": "query",
  15581. "required": true
  15582. },
  15583. {
  15584. "type": "string",
  15585. "description": "开始交易日(yyyymmdd)",
  15586. "name": "begindate",
  15587. "in": "query"
  15588. },
  15589. {
  15590. "type": "string",
  15591. "description": "结束交易日(yyyymmdd)",
  15592. "name": "enddate",
  15593. "in": "query"
  15594. }
  15595. ],
  15596. "responses": {
  15597. "200": {
  15598. "description": "OK",
  15599. "schema": {
  15600. "type": "array",
  15601. "items": {
  15602. "$ref": "#/definitions/models.WRTradeBargainApply"
  15603. }
  15604. }
  15605. },
  15606. "500": {
  15607. "description": "Internal Server Error",
  15608. "schema": {
  15609. "$ref": "#/definitions/app.Response"
  15610. }
  15611. }
  15612. }
  15613. }
  15614. },
  15615. "/WrTrade2/QueryWrTradeDetail": {
  15616. "get": {
  15617. "security": [
  15618. {
  15619. "ApiKeyAuth": []
  15620. }
  15621. ],
  15622. "produces": [
  15623. "application/json"
  15624. ],
  15625. "tags": [
  15626. "仓单贸易v2"
  15627. ],
  15628. "summary": "查询仓单成交明细",
  15629. "parameters": [
  15630. {
  15631. "type": "integer",
  15632. "description": "页码",
  15633. "name": "page",
  15634. "in": "query"
  15635. },
  15636. {
  15637. "type": "integer",
  15638. "description": "每页条数",
  15639. "name": "pagesize",
  15640. "in": "query"
  15641. },
  15642. {
  15643. "type": "integer",
  15644. "description": "用户id",
  15645. "name": "userid",
  15646. "in": "query",
  15647. "required": true
  15648. },
  15649. {
  15650. "type": "integer",
  15651. "description": "仓单贸易市场id",
  15652. "name": "marketid",
  15653. "in": "query"
  15654. },
  15655. {
  15656. "type": "integer",
  15657. "description": "0:仓单预售 1:仓单贸易",
  15658. "name": "haswr",
  15659. "in": "query",
  15660. "required": true
  15661. },
  15662. {
  15663. "type": "string",
  15664. "description": "开始交易日(yyyymmdd)",
  15665. "name": "begindate",
  15666. "in": "query"
  15667. },
  15668. {
  15669. "type": "string",
  15670. "description": "结束交易日(yyyymmdd)",
  15671. "name": "enddate",
  15672. "in": "query"
  15673. }
  15674. ],
  15675. "responses": {
  15676. "200": {
  15677. "description": "OK",
  15678. "schema": {
  15679. "type": "array",
  15680. "items": {
  15681. "$ref": "#/definitions/models.WrTradeDetail"
  15682. }
  15683. }
  15684. },
  15685. "500": {
  15686. "description": "Internal Server Error",
  15687. "schema": {
  15688. "$ref": "#/definitions/app.Response"
  15689. }
  15690. }
  15691. }
  15692. }
  15693. },
  15694. "/WrTrade2/QueryWrTradeOrderDetail": {
  15695. "get": {
  15696. "security": [
  15697. {
  15698. "ApiKeyAuth": []
  15699. }
  15700. ],
  15701. "produces": [
  15702. "application/json"
  15703. ],
  15704. "tags": [
  15705. "仓单贸易v2"
  15706. ],
  15707. "summary": "查询合约交易买卖大厅",
  15708. "parameters": [
  15709. {
  15710. "type": "integer",
  15711. "description": "页码",
  15712. "name": "page",
  15713. "in": "query"
  15714. },
  15715. {
  15716. "type": "integer",
  15717. "description": "每页条数",
  15718. "name": "pagesize",
  15719. "in": "query"
  15720. },
  15721. {
  15722. "type": "integer",
  15723. "description": "商品id",
  15724. "name": "goodsid",
  15725. "in": "query",
  15726. "required": true
  15727. },
  15728. {
  15729. "type": "integer",
  15730. "description": "买卖方向 0-买 1-卖",
  15731. "name": "buyorsell",
  15732. "in": "query",
  15733. "required": true
  15734. }
  15735. ],
  15736. "responses": {
  15737. "200": {
  15738. "description": "OK",
  15739. "schema": {
  15740. "type": "array",
  15741. "items": {
  15742. "$ref": "#/definitions/models.WrTradeOrderDetail"
  15743. }
  15744. }
  15745. },
  15746. "500": {
  15747. "description": "Internal Server Error",
  15748. "schema": {
  15749. "$ref": "#/definitions/app.Response"
  15750. }
  15751. }
  15752. }
  15753. }
  15754. },
  15755. "/WrTrade2/QueryWrTradeQuote": {
  15756. "get": {
  15757. "security": [
  15758. {
  15759. "ApiKeyAuth": []
  15760. }
  15761. ],
  15762. "produces": [
  15763. "application/json"
  15764. ],
  15765. "tags": [
  15766. "仓单贸易v2"
  15767. ],
  15768. "summary": "查询仓单贸易成交行情",
  15769. "parameters": [
  15770. {
  15771. "type": "integer",
  15772. "description": "现货商品id",
  15773. "name": "wrstandardid",
  15774. "in": "query",
  15775. "required": true
  15776. },
  15777. {
  15778. "type": "string",
  15779. "description": "开始日期(yyyymmdd)",
  15780. "name": "begindate",
  15781. "in": "query",
  15782. "required": true
  15783. },
  15784. {
  15785. "type": "string",
  15786. "description": "结束日期(yyyymmdd)",
  15787. "name": "enddate",
  15788. "in": "query",
  15789. "required": true
  15790. },
  15791. {
  15792. "type": "integer",
  15793. "description": "市场id",
  15794. "name": "marketid",
  15795. "in": "query"
  15796. }
  15797. ],
  15798. "responses": {
  15799. "200": {
  15800. "description": "OK",
  15801. "schema": {
  15802. "type": "array",
  15803. "items": {
  15804. "$ref": "#/definitions/models.Wrtradetradequote"
  15805. }
  15806. }
  15807. },
  15808. "500": {
  15809. "description": "Internal Server Error",
  15810. "schema": {
  15811. "$ref": "#/definitions/app.Response"
  15812. }
  15813. }
  15814. }
  15815. }
  15816. },
  15817. "/WrTrade2/QueryWrUserFriend": {
  15818. "get": {
  15819. "security": [
  15820. {
  15821. "ApiKeyAuth": []
  15822. }
  15823. ],
  15824. "produces": [
  15825. "application/json"
  15826. ],
  15827. "tags": [
  15828. "仓单贸易v2"
  15829. ],
  15830. "summary": "查询我的朋友",
  15831. "parameters": [
  15832. {
  15833. "type": "integer",
  15834. "description": "用户id",
  15835. "name": "userid",
  15836. "in": "query",
  15837. "required": true
  15838. },
  15839. {
  15840. "type": "integer",
  15841. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  15842. "name": "newuserid",
  15843. "in": "query"
  15844. }
  15845. ],
  15846. "responses": {
  15847. "200": {
  15848. "description": "OK",
  15849. "schema": {
  15850. "type": "array",
  15851. "items": {
  15852. "$ref": "#/definitions/models.WrUserFriend"
  15853. }
  15854. }
  15855. },
  15856. "500": {
  15857. "description": "Internal Server Error",
  15858. "schema": {
  15859. "$ref": "#/definitions/app.Response"
  15860. }
  15861. }
  15862. }
  15863. }
  15864. },
  15865. "/WrTrade2/QueryWrUserReceiptInfo": {
  15866. "get": {
  15867. "security": [
  15868. {
  15869. "ApiKeyAuth": []
  15870. }
  15871. ],
  15872. "produces": [
  15873. "application/json"
  15874. ],
  15875. "tags": [
  15876. "仓单贸易v2"
  15877. ],
  15878. "summary": "查询发票信息",
  15879. "parameters": [
  15880. {
  15881. "type": "integer",
  15882. "description": "用户id",
  15883. "name": "userid",
  15884. "in": "query"
  15885. },
  15886. {
  15887. "type": "integer",
  15888. "description": "发票类型 - 1:个人 2:企业",
  15889. "name": "receipttype",
  15890. "in": "query"
  15891. }
  15892. ],
  15893. "responses": {
  15894. "200": {
  15895. "description": "OK",
  15896. "schema": {
  15897. "type": "array",
  15898. "items": {
  15899. "$ref": "#/definitions/models.WrUserReceiptInfo"
  15900. }
  15901. }
  15902. },
  15903. "500": {
  15904. "description": "Internal Server Error",
  15905. "schema": {
  15906. "$ref": "#/definitions/app.Response"
  15907. }
  15908. }
  15909. }
  15910. }
  15911. },
  15912. "/WrTrade2/QueryXhcpSellBackApply": {
  15913. "get": {
  15914. "security": [
  15915. {
  15916. "ApiKeyAuth": []
  15917. }
  15918. ],
  15919. "produces": [
  15920. "application/json"
  15921. ],
  15922. "tags": [
  15923. "仓单贸易v2"
  15924. ],
  15925. "summary": "查询我的回收申请(新会陈皮)",
  15926. "parameters": [
  15927. {
  15928. "type": "integer",
  15929. "description": "用户ID",
  15930. "name": "userid",
  15931. "in": "query",
  15932. "required": true
  15933. }
  15934. ],
  15935. "responses": {
  15936. "200": {
  15937. "description": "OK",
  15938. "schema": {
  15939. "type": "array",
  15940. "items": {
  15941. "$ref": "#/definitions/models.Xhcpsellbackapply"
  15942. }
  15943. }
  15944. },
  15945. "500": {
  15946. "description": "Internal Server Error",
  15947. "schema": {
  15948. "$ref": "#/definitions/app.Response"
  15949. }
  15950. }
  15951. }
  15952. }
  15953. },
  15954. "/ZJ/GetBankTip": {
  15955. "get": {
  15956. "produces": [
  15957. "application/json"
  15958. ],
  15959. "tags": [
  15960. "中江"
  15961. ],
  15962. "summary": "获取中江网银端出入金提示信息",
  15963. "responses": {
  15964. "200": {
  15965. "description": "OK",
  15966. "schema": {
  15967. "type": "string"
  15968. }
  15969. },
  15970. "500": {
  15971. "description": "Internal Server Error",
  15972. "schema": {
  15973. "$ref": "#/definitions/app.Response"
  15974. }
  15975. }
  15976. }
  15977. }
  15978. },
  15979. "/ZJ/GetCusBankChannels": {
  15980. "get": {
  15981. "produces": [
  15982. "application/json"
  15983. ],
  15984. "tags": [
  15985. "中江"
  15986. ],
  15987. "summary": "获取中江出入金渠道显示列表",
  15988. "responses": {
  15989. "200": {
  15990. "description": "OK",
  15991. "schema": {
  15992. "type": "array",
  15993. "items": {
  15994. "type": "string"
  15995. }
  15996. }
  15997. },
  15998. "500": {
  15999. "description": "Internal Server Error",
  16000. "schema": {
  16001. "$ref": "#/definitions/app.Response"
  16002. }
  16003. }
  16004. }
  16005. }
  16006. }
  16007. },
  16008. "definitions": {
  16009. "app.Response": {
  16010. "type": "object",
  16011. "properties": {
  16012. "code": {
  16013. "type": "integer"
  16014. },
  16015. "data": {
  16016. "type": "object"
  16017. },
  16018. "msg": {
  16019. "type": "string"
  16020. },
  16021. "page": {
  16022. "description": "页码",
  16023. "type": "integer"
  16024. },
  16025. "pagesize": {
  16026. "description": "每页条数",
  16027. "type": "integer"
  16028. },
  16029. "total": {
  16030. "description": "总条数",
  16031. "type": "integer"
  16032. }
  16033. }
  16034. },
  16035. "common.ClientMenu": {
  16036. "type": "object",
  16037. "properties": {
  16038. "children": {
  16039. "description": "子菜单列表",
  16040. "type": "array",
  16041. "items": {
  16042. "$ref": "#/definitions/common.ClientMenu"
  16043. }
  16044. },
  16045. "code": {
  16046. "description": "ID",
  16047. "type": "string"
  16048. },
  16049. "isshow": {
  16050. "description": "是否显示",
  16051. "type": "boolean"
  16052. },
  16053. "remark": {
  16054. "description": "备注",
  16055. "type": "string"
  16056. },
  16057. "rulekey": {
  16058. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  16059. "type": "string"
  16060. },
  16061. "sort": {
  16062. "description": "排序",
  16063. "type": "integer"
  16064. },
  16065. "title": {
  16066. "description": "标题",
  16067. "type": "string"
  16068. },
  16069. "type": {
  16070. "description": "类型,1:菜单 2:按钮",
  16071. "type": "integer"
  16072. },
  16073. "url": {
  16074. "description": "URL",
  16075. "type": "string"
  16076. }
  16077. }
  16078. },
  16079. "common.PCWebMenu": {
  16080. "type": "object",
  16081. "properties": {
  16082. "auth": {
  16083. "description": "页面权限列表",
  16084. "type": "array",
  16085. "items": {
  16086. "$ref": "#/definitions/common.PCWebMenuAuth"
  16087. }
  16088. },
  16089. "children": {
  16090. "description": "子菜单列表",
  16091. "type": "array",
  16092. "items": {
  16093. "$ref": "#/definitions/common.PCWebMenu"
  16094. }
  16095. },
  16096. "code": {
  16097. "description": "ID,新版本中权限KEY也是这个字段",
  16098. "type": "string"
  16099. },
  16100. "component": {
  16101. "description": "路由组件",
  16102. "type": "string"
  16103. },
  16104. "isshow": {
  16105. "description": "是否显示",
  16106. "type": "boolean"
  16107. },
  16108. "path": {
  16109. "description": "路由路径",
  16110. "type": "string"
  16111. },
  16112. "remark": {
  16113. "description": "备注",
  16114. "type": "string"
  16115. },
  16116. "rulekey": {
  16117. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  16118. "type": "string"
  16119. },
  16120. "sort": {
  16121. "description": "排序",
  16122. "type": "integer"
  16123. },
  16124. "title": {
  16125. "description": "标题",
  16126. "type": "string"
  16127. },
  16128. "url": {
  16129. "description": "URL",
  16130. "type": "string"
  16131. }
  16132. }
  16133. },
  16134. "common.PCWebMenuAuth": {
  16135. "type": "object",
  16136. "properties": {
  16137. "code": {
  16138. "description": "ID,新版本中权限KEY也是这个字段",
  16139. "type": "string"
  16140. },
  16141. "isshow": {
  16142. "description": "是否显示",
  16143. "type": "boolean"
  16144. },
  16145. "label": {
  16146. "description": "标题",
  16147. "type": "string"
  16148. },
  16149. "remark": {
  16150. "description": "备注",
  16151. "type": "string"
  16152. },
  16153. "rulekey": {
  16154. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  16155. "type": "string"
  16156. }
  16157. }
  16158. },
  16159. "common.QueryImageConfigsRsp": {
  16160. "type": "object",
  16161. "required": [
  16162. "configid"
  16163. ],
  16164. "properties": {
  16165. "areauserid": {
  16166. "description": "所属机构ID",
  16167. "type": "integer"
  16168. },
  16169. "configid": {
  16170. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  16171. "type": "integer"
  16172. },
  16173. "createdate": {
  16174. "description": "创建时间",
  16175. "type": "string"
  16176. },
  16177. "creatorid": {
  16178. "description": "创建人",
  16179. "type": "integer"
  16180. },
  16181. "imagedetailpath": {
  16182. "description": "详情图片 [UrlType = 3时 有且必填,其它类型不需要]",
  16183. "type": "string"
  16184. },
  16185. "imagepath": {
  16186. "description": "图片",
  16187. "type": "string"
  16188. },
  16189. "imagetype": {
  16190. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  16191. "type": "integer"
  16192. },
  16193. "isshow": {
  16194. "description": "是否展示 - 0:不展示 1:展示",
  16195. "type": "integer"
  16196. },
  16197. "marketid": {
  16198. "description": "市场ID",
  16199. "type": "integer"
  16200. },
  16201. "modifierid": {
  16202. "description": "操作人",
  16203. "type": "integer"
  16204. },
  16205. "sort": {
  16206. "description": "排序",
  16207. "type": "integer"
  16208. },
  16209. "title": {
  16210. "description": "标题",
  16211. "type": "string"
  16212. },
  16213. "trademode": {
  16214. "description": "交易模式",
  16215. "type": "integer"
  16216. },
  16217. "updatedate": {
  16218. "description": "修改时间",
  16219. "type": "string"
  16220. },
  16221. "url": {
  16222. "description": "链接(地址或商品ID)",
  16223. "type": "string"
  16224. },
  16225. "urltype": {
  16226. "description": "链接类型 - 1:直接地址 2:商品ID",
  16227. "type": "integer"
  16228. }
  16229. }
  16230. },
  16231. "common.QueryNoticeRsp": {
  16232. "type": "object",
  16233. "required": [
  16234. "autoid"
  16235. ],
  16236. "properties": {
  16237. "auditoruserid": {
  16238. "description": "审核人",
  16239. "type": "integer"
  16240. },
  16241. "auditremark": {
  16242. "description": "审核备注",
  16243. "type": "string"
  16244. },
  16245. "audittime": {
  16246. "description": "审核日期",
  16247. "type": "string"
  16248. },
  16249. "autoid": {
  16250. "description": "自增ID",
  16251. "type": "integer"
  16252. },
  16253. "content": {
  16254. "description": "内容",
  16255. "type": "string"
  16256. },
  16257. "createtime": {
  16258. "description": "创建时间",
  16259. "type": "string"
  16260. },
  16261. "creatorid": {
  16262. "description": "建仓人",
  16263. "type": "integer"
  16264. },
  16265. "endtime": {
  16266. "description": "结束时间",
  16267. "type": "string"
  16268. },
  16269. "istop": {
  16270. "description": "是否置顶 - 0:不置顶 1:置顶",
  16271. "type": "integer"
  16272. },
  16273. "msgiconurl": {
  16274. "description": "消息图标Url",
  16275. "type": "string"
  16276. },
  16277. "msgtype": {
  16278. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  16279. "type": "integer"
  16280. },
  16281. "publisher": {
  16282. "description": "消息发布者",
  16283. "type": "string"
  16284. },
  16285. "readed": {
  16286. "description": "是否已读",
  16287. "type": "boolean"
  16288. },
  16289. "scheduletime": {
  16290. "description": "计划发送时间",
  16291. "type": "string"
  16292. },
  16293. "sendtype": {
  16294. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  16295. "type": "integer"
  16296. },
  16297. "sentstatus": {
  16298. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  16299. "type": "integer"
  16300. },
  16301. "title": {
  16302. "description": "标题",
  16303. "type": "string"
  16304. },
  16305. "userid": {
  16306. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  16307. "type": "integer"
  16308. }
  16309. }
  16310. },
  16311. "common.QueryProvincesAndCitiesRsp": {
  16312. "type": "object",
  16313. "properties": {
  16314. "cities": {
  16315. "description": "市",
  16316. "type": "array",
  16317. "items": {
  16318. "$ref": "#/definitions/models.Division"
  16319. }
  16320. },
  16321. "province": {
  16322. "description": "省",
  16323. "$ref": "#/definitions/models.Division"
  16324. }
  16325. }
  16326. },
  16327. "common.QueryTableDefineRsp": {
  16328. "type": "object",
  16329. "required": [
  16330. "tablekey"
  16331. ],
  16332. "properties": {
  16333. "columns": {
  16334. "description": "列头信息数组",
  16335. "type": "array",
  16336. "items": {
  16337. "$ref": "#/definitions/models.Tablecolumnconfig"
  16338. }
  16339. },
  16340. "remark": {
  16341. "description": "Remark",
  16342. "type": "string"
  16343. },
  16344. "tabelmenu": {
  16345. "description": "列表菜单",
  16346. "type": "string"
  16347. },
  16348. "tablekey": {
  16349. "description": "列表Key",
  16350. "type": "string"
  16351. },
  16352. "tablename": {
  16353. "description": "列表名称",
  16354. "type": "string"
  16355. },
  16356. "tabletype": {
  16357. "description": "列表类型 - 1:管理端 2:终端",
  16358. "type": "integer"
  16359. }
  16360. }
  16361. },
  16362. "common.QueryTraderMenuRsp": {
  16363. "type": "object",
  16364. "properties": {
  16365. "OperationMenu": {
  16366. "description": "功能菜单",
  16367. "type": "array",
  16368. "items": {
  16369. "$ref": "#/definitions/models.OperationPrimaryMenu"
  16370. }
  16371. },
  16372. "QuoteMenu": {
  16373. "description": "报价牌分类菜单",
  16374. "type": "array",
  16375. "items": {
  16376. "$ref": "#/definitions/models.QuotePrimaryMenu"
  16377. }
  16378. }
  16379. }
  16380. },
  16381. "cptrade.Cptradepositioncancel": {
  16382. "type": "object",
  16383. "required": [
  16384. "cancelid"
  16385. ],
  16386. "properties": {
  16387. "accountid": {
  16388. "description": "申请人账户ID",
  16389. "type": "integer"
  16390. },
  16391. "applystatus": {
  16392. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  16393. "type": "integer"
  16394. },
  16395. "applytime": {
  16396. "description": "申请时间",
  16397. "type": "string"
  16398. },
  16399. "cancelid": {
  16400. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  16401. "type": "integer"
  16402. },
  16403. "cancelqty": {
  16404. "description": "注销数量",
  16405. "type": "integer"
  16406. },
  16407. "createtime": {
  16408. "description": "创建时间",
  16409. "type": "string"
  16410. },
  16411. "creatorid": {
  16412. "description": "创建人ID",
  16413. "type": "integer"
  16414. },
  16415. "creatorname": {
  16416. "description": "创建人",
  16417. "type": "string"
  16418. },
  16419. "goodscode": {
  16420. "description": "订单商品代码",
  16421. "type": "string"
  16422. },
  16423. "goodsid": {
  16424. "description": "商品ID",
  16425. "type": "integer"
  16426. },
  16427. "goodsname": {
  16428. "description": "订单商品名称",
  16429. "type": "string"
  16430. },
  16431. "goodunit": {
  16432. "description": "报价单位",
  16433. "type": "string"
  16434. },
  16435. "handlestatus": {
  16436. "description": "处理状态",
  16437. "type": "integer"
  16438. },
  16439. "marketid": {
  16440. "description": "市场ID",
  16441. "type": "integer"
  16442. },
  16443. "marketname": {
  16444. "description": "市场名称",
  16445. "type": "string"
  16446. },
  16447. "tradedate": {
  16448. "description": "交易日(yyyyMMdd)",
  16449. "type": "string"
  16450. },
  16451. "userid": {
  16452. "description": "申请人ID",
  16453. "type": "integer"
  16454. }
  16455. }
  16456. },
  16457. "cptrade.Cptradepresaleapply": {
  16458. "type": "object",
  16459. "required": [
  16460. "applyid"
  16461. ],
  16462. "properties": {
  16463. "accountid": {
  16464. "description": "申请人账户ID",
  16465. "type": "integer"
  16466. },
  16467. "applyid": {
  16468. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  16469. "type": "integer"
  16470. },
  16471. "applyremark": {
  16472. "description": "申请备注",
  16473. "type": "string"
  16474. },
  16475. "applystatus": {
  16476. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  16477. "type": "integer"
  16478. },
  16479. "applytime": {
  16480. "description": "申请时间",
  16481. "type": "string"
  16482. },
  16483. "attachmenturl": {
  16484. "description": "附件地址",
  16485. "type": "string"
  16486. },
  16487. "endtime": {
  16488. "description": "预售结束时间",
  16489. "type": "string"
  16490. },
  16491. "goodscode": {
  16492. "description": "商品代码",
  16493. "type": "string"
  16494. },
  16495. "goodsid": {
  16496. "description": "商品ID",
  16497. "type": "integer"
  16498. },
  16499. "goodsname": {
  16500. "description": "商品名称",
  16501. "type": "string"
  16502. },
  16503. "goodunit": {
  16504. "description": "报价单位",
  16505. "type": "string"
  16506. },
  16507. "handlestatus": {
  16508. "description": "处理状态",
  16509. "type": "integer"
  16510. },
  16511. "marketid": {
  16512. "description": "预售市场ID",
  16513. "type": "integer"
  16514. },
  16515. "marketname": {
  16516. "description": "预售市场名称",
  16517. "type": "string"
  16518. },
  16519. "presaleqty": {
  16520. "description": "预售数量",
  16521. "type": "integer"
  16522. },
  16523. "relatedgoodscode": {
  16524. "description": "关联交易合约代码",
  16525. "type": "string"
  16526. },
  16527. "relatedgoodsid": {
  16528. "description": "关联交易合约ID",
  16529. "type": "integer"
  16530. },
  16531. "relatedgoodsname": {
  16532. "description": "关联交易合约名称",
  16533. "type": "string"
  16534. },
  16535. "starttime": {
  16536. "description": "预售开始时间",
  16537. "type": "string"
  16538. },
  16539. "tradedate": {
  16540. "description": "交易日(yyyyMMdd)",
  16541. "type": "string"
  16542. },
  16543. "trademode": {
  16544. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  16545. "type": "integer"
  16546. },
  16547. "userid": {
  16548. "description": "申请人ID",
  16549. "type": "integer"
  16550. }
  16551. }
  16552. },
  16553. "cptrade.Cptradeusergoodsdata": {
  16554. "type": "object",
  16555. "required": [
  16556. "accountid",
  16557. "goodsid"
  16558. ],
  16559. "properties": {
  16560. "EnabledQty": {
  16561. "description": "可用量",
  16562. "type": "integer"
  16563. },
  16564. "GoodsCode": {
  16565. "description": "订单商品代码",
  16566. "type": "string"
  16567. },
  16568. "GoodsName": {
  16569. "description": "订单商品名称",
  16570. "type": "string"
  16571. },
  16572. "WRStandardCode": {
  16573. "description": "仓单标准代码",
  16574. "type": "string"
  16575. },
  16576. "WRStandardName": {
  16577. "description": "仓单标准名称",
  16578. "type": "string"
  16579. },
  16580. "accountid": {
  16581. "description": "账户ID",
  16582. "type": "integer"
  16583. },
  16584. "cancelqty": {
  16585. "description": "注销量",
  16586. "type": "integer"
  16587. },
  16588. "curpresaleqty": {
  16589. "description": "当前预售量",
  16590. "type": "integer"
  16591. },
  16592. "deliveryqty": {
  16593. "description": "交割量",
  16594. "type": "integer"
  16595. },
  16596. "freezeamount": {
  16597. "description": "冻结金额",
  16598. "type": "number"
  16599. },
  16600. "goodsid": {
  16601. "description": "商品ID",
  16602. "type": "integer"
  16603. },
  16604. "goodunit": {
  16605. "description": "报价单位",
  16606. "type": "string"
  16607. },
  16608. "hasspotfreeze": {
  16609. "description": "是否有现货冻结 - 0:否 1:有",
  16610. "type": "integer"
  16611. },
  16612. "inqty": {
  16613. "description": "转入量(总数量)",
  16614. "type": "integer"
  16615. },
  16616. "marketid": {
  16617. "description": "市场ID",
  16618. "type": "integer"
  16619. },
  16620. "presaledamount": {
  16621. "description": "已预售总金额",
  16622. "type": "integer"
  16623. },
  16624. "presaledqty": {
  16625. "description": "已预售量",
  16626. "type": "integer"
  16627. },
  16628. "userid": {
  16629. "description": "用户ID",
  16630. "type": "integer"
  16631. },
  16632. "wrstandardid": {
  16633. "description": "仓单标准ID",
  16634. "type": "integer"
  16635. }
  16636. }
  16637. },
  16638. "cptrade.QueryCPTradeMyBidRsp": {
  16639. "type": "object",
  16640. "required": [
  16641. "accountid",
  16642. "goodsid",
  16643. "marketid",
  16644. "orderid",
  16645. "orderqty",
  16646. "ordertime",
  16647. "tradeprice",
  16648. "tradeqty"
  16649. ],
  16650. "properties": {
  16651. "accountid": {
  16652. "description": "账户ID[报价币种]",
  16653. "type": "integer"
  16654. },
  16655. "goodsid": {
  16656. "description": "商品ID",
  16657. "type": "integer"
  16658. },
  16659. "goodunit": {
  16660. "description": "报价单位",
  16661. "type": "string"
  16662. },
  16663. "marketid": {
  16664. "description": "市场ID",
  16665. "type": "integer"
  16666. },
  16667. "orderid": {
  16668. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16669. "type": "integer"
  16670. },
  16671. "orderprice": {
  16672. "description": "委托价格",
  16673. "type": "number"
  16674. },
  16675. "orderqty": {
  16676. "description": "委托数量",
  16677. "type": "integer"
  16678. },
  16679. "ordertime": {
  16680. "description": "委托时间",
  16681. "type": "string"
  16682. },
  16683. "ordertotalprice": {
  16684. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  16685. "type": "number"
  16686. },
  16687. "ordertotalweight": {
  16688. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  16689. "type": "integer"
  16690. },
  16691. "totaltotalprice": {
  16692. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  16693. "type": "number"
  16694. },
  16695. "tradeprice": {
  16696. "description": "成交价格",
  16697. "type": "number"
  16698. },
  16699. "tradeqty": {
  16700. "description": "成交数量",
  16701. "type": "integer"
  16702. }
  16703. }
  16704. },
  16705. "cptrade.QueryCPTradeOrderDetailRsq": {
  16706. "type": "object",
  16707. "required": [
  16708. "accountid",
  16709. "buildtype",
  16710. "buyorsell",
  16711. "goodsid",
  16712. "marketid",
  16713. "memberuserid",
  16714. "operatetype",
  16715. "orderqty",
  16716. "ordertime",
  16717. "pricemode",
  16718. "strorderid",
  16719. "tradedate",
  16720. "validtype"
  16721. ],
  16722. "properties": {
  16723. "accountid": {
  16724. "description": "账户ID[报价币种]",
  16725. "type": "integer"
  16726. },
  16727. "buildtype": {
  16728. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16729. "type": "integer"
  16730. },
  16731. "buyorsell": {
  16732. "description": "买卖 - 0:买 1:卖",
  16733. "type": "integer"
  16734. },
  16735. "cancelorderid": {
  16736. "description": "撤单单号(撤单时填写)",
  16737. "type": "integer"
  16738. },
  16739. "cancelqty": {
  16740. "description": "撤单数量",
  16741. "type": "integer"
  16742. },
  16743. "clientordertime": {
  16744. "description": "客户端委托时间",
  16745. "type": "string"
  16746. },
  16747. "clientticket": {
  16748. "description": "客户端流水号",
  16749. "type": "string"
  16750. },
  16751. "clienttype": {
  16752. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16753. "type": "integer"
  16754. },
  16755. "closeexchagechargevalue": {
  16756. "description": "平仓交易所手续费设置值",
  16757. "type": "number"
  16758. },
  16759. "closefeealgorithm": {
  16760. "description": "平仓手续费收取方式 1:比率 2:固定",
  16761. "type": "integer"
  16762. },
  16763. "closefreezecharge": {
  16764. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16765. "type": "number"
  16766. },
  16767. "closememberchargevalue": {
  16768. "description": "平仓会员手续费设置值",
  16769. "type": "number"
  16770. },
  16771. "closeqty": {
  16772. "description": "平仓数量(先建后平操作 需要记录)",
  16773. "type": "integer"
  16774. },
  16775. "closetradeqty": {
  16776. "description": "平仓成交数量(先建后平操作,需要记录)",
  16777. "type": "integer"
  16778. },
  16779. "closeunfreezecharge": {
  16780. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16781. "type": "number"
  16782. },
  16783. "delistingtype": {
  16784. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16785. "type": "integer"
  16786. },
  16787. "freezecharge": {
  16788. "description": "冻结手续费",
  16789. "type": "number"
  16790. },
  16791. "freezemargin": {
  16792. "description": "冻结保证金(冻结交易金额)",
  16793. "type": "number"
  16794. },
  16795. "gcaccountid": {
  16796. "description": "账户ID[合约币种]",
  16797. "type": "integer"
  16798. },
  16799. "goodsid": {
  16800. "description": "商品ID",
  16801. "type": "integer"
  16802. },
  16803. "isconfirmexercise": {
  16804. "description": "是否确认行权- 0:否 1:是",
  16805. "type": "integer"
  16806. },
  16807. "ispreexercise": {
  16808. "description": "是否预申报- 0:否 1:是",
  16809. "type": "integer"
  16810. },
  16811. "listingselecttype": {
  16812. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16813. "type": "integer"
  16814. },
  16815. "marginalgorithm": {
  16816. "description": "保证金收取方式 1:比率 2:固定",
  16817. "type": "integer"
  16818. },
  16819. "marginvalue": {
  16820. "description": "即市保证金设置值",
  16821. "type": "number"
  16822. },
  16823. "marketid": {
  16824. "description": "市场ID",
  16825. "type": "integer"
  16826. },
  16827. "marketmaxsub": {
  16828. "description": "市价最大偏移范围",
  16829. "type": "number"
  16830. },
  16831. "memberuserid": {
  16832. "description": "所属会员UserID",
  16833. "type": "integer"
  16834. },
  16835. "openexchagechargevalue": {
  16836. "description": "建仓交易所手续费设置值",
  16837. "type": "number"
  16838. },
  16839. "openfeealgorithm": {
  16840. "description": "建仓手续费收取方式 1:比率 2:固定",
  16841. "type": "integer"
  16842. },
  16843. "openfreezecharge": {
  16844. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16845. "type": "number"
  16846. },
  16847. "openmemberchargevalue": {
  16848. "description": "建仓会员手续费设置值",
  16849. "type": "number"
  16850. },
  16851. "openqty": {
  16852. "description": "开仓数量(先建后平操作,需要记录)",
  16853. "type": "integer"
  16854. },
  16855. "opentradeqty": {
  16856. "description": "开仓成交数量(先建后平操作,需要记录)",
  16857. "type": "integer"
  16858. },
  16859. "openunfreezecharge": {
  16860. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16861. "type": "number"
  16862. },
  16863. "operatetype": {
  16864. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16865. "type": "integer"
  16866. },
  16867. "operatorid": {
  16868. "description": "登录账号(LoginID)",
  16869. "type": "integer"
  16870. },
  16871. "optiontype": {
  16872. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16873. "type": "integer"
  16874. },
  16875. "orderprice": {
  16876. "description": "委托价格",
  16877. "type": "number"
  16878. },
  16879. "orderqty": {
  16880. "description": "委托数量",
  16881. "type": "integer"
  16882. },
  16883. "ordersrc": {
  16884. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16885. "type": "integer"
  16886. },
  16887. "orderstatus": {
  16888. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16889. "type": "integer"
  16890. },
  16891. "ordertime": {
  16892. "description": "委托时间",
  16893. "type": "string"
  16894. },
  16895. "preexerciseprice": {
  16896. "description": "预申报价格",
  16897. "type": "number"
  16898. },
  16899. "premium": {
  16900. "description": "权利金",
  16901. "type": "number"
  16902. },
  16903. "preorderid": {
  16904. "description": "关联预埋单号(止盈止损单时填写)",
  16905. "type": "integer"
  16906. },
  16907. "pricemode": {
  16908. "description": "取价方式 - 1:市价 2: 限价",
  16909. "type": "integer"
  16910. },
  16911. "quoteid": {
  16912. "description": "报价单ID",
  16913. "type": "integer"
  16914. },
  16915. "relatedid": {
  16916. "description": "关联单号(交割单)",
  16917. "type": "integer"
  16918. },
  16919. "retcode": {
  16920. "description": "错误代码",
  16921. "type": "integer"
  16922. },
  16923. "sessionid": {
  16924. "description": "会话ID",
  16925. "type": "integer"
  16926. },
  16927. "strorderid": {
  16928. "description": "委托单号",
  16929. "type": "string"
  16930. },
  16931. "tradedate": {
  16932. "description": "交易日(yyyyMMdd)",
  16933. "type": "string"
  16934. },
  16935. "tradeproperty": {
  16936. "description": "交易属性",
  16937. "type": "integer"
  16938. },
  16939. "tradeqty": {
  16940. "description": "成交数量",
  16941. "type": "integer"
  16942. },
  16943. "unfreezecharge": {
  16944. "description": "解冻手续费",
  16945. "type": "number"
  16946. },
  16947. "unfreezemargin": {
  16948. "description": "解冻保证金",
  16949. "type": "number"
  16950. },
  16951. "updatetime": {
  16952. "description": "更新时间",
  16953. "type": "string"
  16954. },
  16955. "uuid": {
  16956. "description": "发起端唯一id",
  16957. "type": "string"
  16958. },
  16959. "validtime": {
  16960. "description": "有效期限",
  16961. "type": "string"
  16962. },
  16963. "validtype": {
  16964. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16965. "type": "integer"
  16966. },
  16967. "volumetype": {
  16968. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16969. "type": "integer"
  16970. }
  16971. }
  16972. },
  16973. "cptrade.QueryMyCPTradeGoodsRsp": {
  16974. "type": "object",
  16975. "required": [
  16976. "goodscode",
  16977. "goodsid",
  16978. "goodsname",
  16979. "marketid",
  16980. "relatedgoodscode",
  16981. "relatedgoodsname"
  16982. ],
  16983. "properties": {
  16984. "accountid": {
  16985. "description": "卖方账户ID",
  16986. "type": "integer"
  16987. },
  16988. "agreeunit": {
  16989. "description": "合约单位",
  16990. "type": "number"
  16991. },
  16992. "applyid": {
  16993. "description": "关联申请ID",
  16994. "type": "integer"
  16995. },
  16996. "attachmenturl": {
  16997. "description": "附件地址",
  16998. "type": "string"
  16999. },
  17000. "createtime": {
  17001. "description": "创建时间",
  17002. "type": "string"
  17003. },
  17004. "currencyid": {
  17005. "description": "报价货币ID",
  17006. "type": "integer"
  17007. },
  17008. "decimalplace": {
  17009. "description": "报价小数位",
  17010. "type": "integer"
  17011. },
  17012. "endtime": {
  17013. "description": "预售结束时间",
  17014. "type": "string"
  17015. },
  17016. "floorprice": {
  17017. "description": "底价[大宗式竞拍]",
  17018. "type": "number"
  17019. },
  17020. "goodscode": {
  17021. "description": "商品代码(预售)",
  17022. "type": "string"
  17023. },
  17024. "goodsdetail": {
  17025. "description": "详情[大宗]",
  17026. "type": "string"
  17027. },
  17028. "goodsid": {
  17029. "description": "商品ID(自增ID SEQ_GOODS)",
  17030. "type": "integer"
  17031. },
  17032. "goodsname": {
  17033. "description": "商品名称(预售)",
  17034. "type": "string"
  17035. },
  17036. "goodunit": {
  17037. "description": "报价单位",
  17038. "type": "string"
  17039. },
  17040. "goodunitid": {
  17041. "description": "报价单位ID",
  17042. "type": "integer"
  17043. },
  17044. "marketid": {
  17045. "description": "所属市场ID",
  17046. "type": "integer"
  17047. },
  17048. "marketname": {
  17049. "description": "预售市场名称",
  17050. "type": "string"
  17051. },
  17052. "presaledamount": {
  17053. "description": "已预售总金额(预售结束时更新)",
  17054. "type": "number"
  17055. },
  17056. "presaledqty": {
  17057. "description": "已预售量(预售结束时更新)",
  17058. "type": "integer"
  17059. },
  17060. "presalemode": {
  17061. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  17062. "type": "integer"
  17063. },
  17064. "presaleqty": {
  17065. "description": "预售数量",
  17066. "type": "integer"
  17067. },
  17068. "refprice": {
  17069. "description": "参考价格[一口价]",
  17070. "type": "number"
  17071. },
  17072. "relatedgoodscode": {
  17073. "description": "商品代码(订单)",
  17074. "type": "string"
  17075. },
  17076. "relatedgoodsid": {
  17077. "description": "关联交易合约ID",
  17078. "type": "integer"
  17079. },
  17080. "relatedgoodsname": {
  17081. "description": "商品名称(订单)",
  17082. "type": "string"
  17083. },
  17084. "relatedmarketid": {
  17085. "description": "关联交易合约市场ID",
  17086. "type": "integer"
  17087. },
  17088. "sellstatus": {
  17089. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  17090. "type": "integer"
  17091. },
  17092. "startprice": {
  17093. "description": "起拍价[大宗式竞拍]",
  17094. "type": "number"
  17095. },
  17096. "starttime": {
  17097. "description": "预售开始时间",
  17098. "type": "string"
  17099. },
  17100. "tradedate": {
  17101. "description": "交易日(yyyyMMdd)",
  17102. "type": "string"
  17103. },
  17104. "tradeprice": {
  17105. "description": "成交价[大宗]",
  17106. "type": "number"
  17107. },
  17108. "userid": {
  17109. "description": "卖方用户ID",
  17110. "type": "integer"
  17111. }
  17112. }
  17113. },
  17114. "cptrade.QueryPresaleGoodsExRsp": {
  17115. "type": "object",
  17116. "required": [
  17117. "goodsid"
  17118. ],
  17119. "properties": {
  17120. "attachmenturl": {
  17121. "description": "附件地址",
  17122. "type": "string"
  17123. },
  17124. "createtime": {
  17125. "description": "创建时间",
  17126. "type": "string"
  17127. },
  17128. "endtime": {
  17129. "description": "预售结束时间",
  17130. "type": "string"
  17131. },
  17132. "floorprice": {
  17133. "description": "底价[大宗式竞拍]",
  17134. "type": "number"
  17135. },
  17136. "goodsdetail": {
  17137. "description": "详情[大宗]",
  17138. "type": "string"
  17139. },
  17140. "goodsid": {
  17141. "description": "商品ID(预售)",
  17142. "type": "integer"
  17143. },
  17144. "goodunit": {
  17145. "description": "报价单位",
  17146. "type": "string"
  17147. },
  17148. "marketid": {
  17149. "description": "预售市场ID - 根据预售模式选择市场",
  17150. "type": "integer"
  17151. },
  17152. "presaledamount": {
  17153. "description": "已预售总金额(预售结束时更新)",
  17154. "type": "number"
  17155. },
  17156. "presaledqty": {
  17157. "description": "已预售量(预售结束时更新)",
  17158. "type": "integer"
  17159. },
  17160. "presalemode": {
  17161. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  17162. "type": "integer"
  17163. },
  17164. "presaleqty": {
  17165. "description": "预售数量",
  17166. "type": "integer"
  17167. },
  17168. "refprice": {
  17169. "description": "参考价格[一口价]",
  17170. "type": "number"
  17171. },
  17172. "relatedgoodsid": {
  17173. "description": "关联交易合约ID",
  17174. "type": "integer"
  17175. },
  17176. "relatedmarketid": {
  17177. "description": "关联交易合约市场ID",
  17178. "type": "integer"
  17179. },
  17180. "sellstatus": {
  17181. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  17182. "type": "integer"
  17183. },
  17184. "startprice": {
  17185. "description": "起拍价[大宗式竞拍]",
  17186. "type": "number"
  17187. },
  17188. "starttime": {
  17189. "description": "预售开始时间",
  17190. "type": "string"
  17191. },
  17192. "tradedate": {
  17193. "description": "交易日(yyyyMMdd)",
  17194. "type": "string"
  17195. },
  17196. "tradeprice": {
  17197. "description": "成交价[大宗]",
  17198. "type": "number"
  17199. }
  17200. }
  17201. },
  17202. "delivery.QueryDeliveryRelationRsp": {
  17203. "type": "object",
  17204. "required": [
  17205. "begindate",
  17206. "enddate",
  17207. "goodsid",
  17208. "mindeliveryqty",
  17209. "xdeliveryratio"
  17210. ],
  17211. "properties": {
  17212. "begindate": {
  17213. "description": "起始日期(yyyyMMdd)",
  17214. "type": "string"
  17215. },
  17216. "buytemplateid": {
  17217. "description": "买履约计划模板ID",
  17218. "type": "integer"
  17219. },
  17220. "deliverygoodscode": {
  17221. "description": "品种代码",
  17222. "type": "string"
  17223. },
  17224. "deliverygoodsid": {
  17225. "description": "交割商品",
  17226. "type": "integer"
  17227. },
  17228. "deliverygoodsname": {
  17229. "description": "品种名称",
  17230. "type": "string"
  17231. },
  17232. "deliverymode": {
  17233. "description": "交割方式 - 1:点选式 2:申报式",
  17234. "type": "integer"
  17235. },
  17236. "deliverypricerule": {
  17237. "description": "交割价规则- 1:行情价 2:建仓价",
  17238. "type": "integer"
  17239. },
  17240. "deliverytype": {
  17241. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  17242. "type": "integer"
  17243. },
  17244. "enddate": {
  17245. "description": "结束日期(yyyyMMdd)",
  17246. "type": "string"
  17247. },
  17248. "enumdicname": {
  17249. "description": "品类单位名称",
  17250. "type": "string"
  17251. },
  17252. "goodscode": {
  17253. "description": "商品代码",
  17254. "type": "string"
  17255. },
  17256. "goodsid": {
  17257. "description": "交易合约ID",
  17258. "type": "integer"
  17259. },
  17260. "goodsname": {
  17261. "description": "商品名称",
  17262. "type": "string"
  17263. },
  17264. "marketid": {
  17265. "description": "市场ID",
  17266. "type": "integer"
  17267. },
  17268. "mindeliveryqty": {
  17269. "description": "最小交割系数(K)",
  17270. "type": "integer"
  17271. },
  17272. "p2deliveryprice": {
  17273. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  17274. "type": "number"
  17275. },
  17276. "p2deliveryratio": {
  17277. "description": "P2合约系数(p)",
  17278. "type": "integer"
  17279. },
  17280. "p2goodsid": {
  17281. "description": "P2合约ID",
  17282. "type": "integer"
  17283. },
  17284. "p2pricemode": {
  17285. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  17286. "type": "integer"
  17287. },
  17288. "pdeliveryprice": {
  17289. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  17290. "type": "number"
  17291. },
  17292. "pdeliveryratio": {
  17293. "description": "P合约系数(n)",
  17294. "type": "integer"
  17295. },
  17296. "pgoodscode": {
  17297. "description": "p合约代码",
  17298. "type": "string"
  17299. },
  17300. "pgoodsid": {
  17301. "description": "P合约ID",
  17302. "type": "integer"
  17303. },
  17304. "ppricemode": {
  17305. "description": "P合约价格方式 - 1:商品价 2:固定值",
  17306. "type": "integer"
  17307. },
  17308. "rratio": {
  17309. "description": "兑换系数(R)",
  17310. "type": "integer"
  17311. },
  17312. "rratio1": {
  17313. "description": "兑换系数(交易合约)(R1)",
  17314. "type": "integer"
  17315. },
  17316. "rratio2": {
  17317. "description": "兑换系数(仓单标准)(R2)",
  17318. "type": "integer"
  17319. },
  17320. "selltemplateid": {
  17321. "description": "卖履约计划模板ID",
  17322. "type": "integer"
  17323. },
  17324. "wrstandardid": {
  17325. "description": "仓单标准ID",
  17326. "type": "integer"
  17327. },
  17328. "xdeliveryratio": {
  17329. "description": "交易合约系数(m)",
  17330. "type": "integer"
  17331. }
  17332. }
  17333. },
  17334. "ermcp.ExposureDetailRsp": {
  17335. "type": "object",
  17336. "properties": {
  17337. "areauserid": {
  17338. "description": "机构ID",
  17339. "type": "integer"
  17340. },
  17341. "changeQty": {
  17342. "description": "套保变动量",
  17343. "type": "number"
  17344. },
  17345. "contracttype": {
  17346. "description": "现货合同类型 - 1:采购 -1:销售",
  17347. "type": "integer"
  17348. },
  17349. "convertfactor": {
  17350. "description": "标仓系数",
  17351. "type": "number"
  17352. },
  17353. "convertratio": {
  17354. "description": "套保系数",
  17355. "type": "number"
  17356. },
  17357. "createtime": {
  17358. "description": "时间",
  17359. "type": "string"
  17360. },
  17361. "enumdicname": {
  17362. "description": "现货商品单位名称",
  17363. "type": "string"
  17364. },
  17365. "logtype": {
  17366. "description": "类型 - 1:套保计划 2:现货合同",
  17367. "type": "integer"
  17368. },
  17369. "middlegoodsId": {
  17370. "description": "套保商品id",
  17371. "type": "integer"
  17372. },
  17373. "middlegoodscode": {
  17374. "description": "套保商品代码",
  17375. "type": "string"
  17376. },
  17377. "middlegoodsname": {
  17378. "description": "套保商品名称",
  17379. "type": "string"
  17380. },
  17381. "qty": {
  17382. "description": "数量",
  17383. "type": "number"
  17384. },
  17385. "relateNo": {
  17386. "description": "现货合同/套保计划编号",
  17387. "type": "string"
  17388. },
  17389. "wrstandardcode": {
  17390. "description": "现货商品代码",
  17391. "type": "string"
  17392. },
  17393. "wrstandardid": {
  17394. "description": "现货商品ID",
  17395. "type": "integer"
  17396. },
  17397. "wrstandardname": {
  17398. "description": "现货商品名称",
  17399. "type": "string"
  17400. }
  17401. }
  17402. },
  17403. "ermcp.ExposureHedgePosDetailRsp": {
  17404. "type": "object",
  17405. "properties": {
  17406. "buyorsell": {
  17407. "description": "买卖方向 0-买 1-卖",
  17408. "type": "integer"
  17409. },
  17410. "channelbuildtype": {
  17411. "description": "开平方向 1-建仓 2-平仓",
  17412. "type": "integer"
  17413. },
  17414. "goodscode": {
  17415. "description": "商品代码",
  17416. "type": "string"
  17417. },
  17418. "goodsname": {
  17419. "description": "商品名称",
  17420. "type": "string"
  17421. },
  17422. "hedgegoodsid": {
  17423. "description": "商品id",
  17424. "type": "integer"
  17425. },
  17426. "tradeqty": {
  17427. "description": "数量(成交数量)",
  17428. "type": "integer"
  17429. },
  17430. "tradetime": {
  17431. "description": "时间(成交时间)",
  17432. "type": "string"
  17433. }
  17434. }
  17435. },
  17436. "ermcp.ExposureHedgePositionRsp": {
  17437. "type": "object",
  17438. "properties": {
  17439. "accountid": {
  17440. "description": "资金账号[外部母账户]",
  17441. "type": "integer"
  17442. },
  17443. "curbuyposition": {
  17444. "description": "期末买头寸",
  17445. "type": "integer"
  17446. },
  17447. "cursellposition": {
  17448. "description": "期末卖头寸",
  17449. "type": "integer"
  17450. },
  17451. "curtdbuyposition": {
  17452. "description": "期末今日买头寸",
  17453. "type": "integer"
  17454. },
  17455. "curtdsellposition": {
  17456. "description": "期末今日卖头寸",
  17457. "type": "integer"
  17458. },
  17459. "curydbuyposition": {
  17460. "description": "期末上日买头寸",
  17461. "type": "integer"
  17462. },
  17463. "curydsellposition": {
  17464. "description": "期末上日卖头寸",
  17465. "type": "integer"
  17466. },
  17467. "decreaseqty": {
  17468. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  17469. "type": "integer"
  17470. },
  17471. "fretdbuyposition": {
  17472. "description": "冻结今日买头寸",
  17473. "type": "integer"
  17474. },
  17475. "fretdsellposition": {
  17476. "description": "冻结今日卖头寸",
  17477. "type": "integer"
  17478. },
  17479. "freydbuyposition": {
  17480. "description": "冻结上日买头寸",
  17481. "type": "integer"
  17482. },
  17483. "freydsellposition": {
  17484. "description": "冻结上日卖头寸",
  17485. "type": "integer"
  17486. },
  17487. "goodscode": {
  17488. "description": "商品代码",
  17489. "type": "string"
  17490. },
  17491. "goodsid": {
  17492. "description": "商品id",
  17493. "type": "integer"
  17494. },
  17495. "goodsname": {
  17496. "description": "商品名称",
  17497. "type": "string"
  17498. },
  17499. "hedgeaccountcode": {
  17500. "description": "对冲账号",
  17501. "type": "string"
  17502. },
  17503. "hedgegoodsid": {
  17504. "description": "对冲合约ID",
  17505. "type": "integer"
  17506. },
  17507. "increaseqty": {
  17508. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  17509. "type": "integer"
  17510. },
  17511. "marketid": {
  17512. "description": "市场ID",
  17513. "type": "integer"
  17514. },
  17515. "relateduserid": {
  17516. "description": "关联用户id",
  17517. "type": "integer"
  17518. },
  17519. "totalcurqty": {
  17520. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  17521. "type": "integer"
  17522. },
  17523. "totalydqty": {
  17524. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  17525. "type": "integer"
  17526. },
  17527. "tradedate": {
  17528. "description": "交易日(yyyyMMdd)",
  17529. "type": "string"
  17530. },
  17531. "ydbuyposition": {
  17532. "description": "期初买头寸",
  17533. "type": "integer"
  17534. },
  17535. "ydsellposition": {
  17536. "description": "期初卖头寸",
  17537. "type": "integer"
  17538. }
  17539. }
  17540. },
  17541. "ermcp.ExposureSpotDetailRsp": {
  17542. "type": "object",
  17543. "properties": {
  17544. "contracttype": {
  17545. "description": "合同类型 1-采购 -1-销售",
  17546. "type": "integer"
  17547. },
  17548. "createtime": {
  17549. "description": "创建时间",
  17550. "type": "string"
  17551. },
  17552. "enumdicname": {
  17553. "description": "现货商品单位名称",
  17554. "type": "string"
  17555. },
  17556. "logtype": {
  17557. "description": "记录类型 1-套保 2-现货合同",
  17558. "type": "integer"
  17559. },
  17560. "qty": {
  17561. "description": "数量",
  17562. "type": "number"
  17563. },
  17564. "recordname": {
  17565. "description": "类型名称",
  17566. "type": "string"
  17567. },
  17568. "relatedid": {
  17569. "description": "套保计划ID/现货合同ID",
  17570. "type": "string"
  17571. },
  17572. "relatedno": {
  17573. "description": "编号",
  17574. "type": "string"
  17575. },
  17576. "strtime": {
  17577. "description": "时间",
  17578. "type": "string"
  17579. },
  17580. "wrstandardcode": {
  17581. "description": "现货商品代码",
  17582. "type": "string"
  17583. },
  17584. "wrstandardname": {
  17585. "description": "现货商品名称",
  17586. "type": "string"
  17587. }
  17588. }
  17589. },
  17590. "ermcp.ExposureSpotRsp": {
  17591. "type": "object",
  17592. "properties": {
  17593. "areauserid": {
  17594. "description": "所属机构",
  17595. "type": "integer"
  17596. },
  17597. "decreaseqty": {
  17598. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  17599. "type": "number"
  17600. },
  17601. "increaseqty": {
  17602. "description": "增加数量=销售计划数量+采购已定价数量",
  17603. "type": "number"
  17604. },
  17605. "oritoalspotqty": {
  17606. "description": "昨日数量",
  17607. "type": "number"
  17608. },
  17609. "totalspotqty": {
  17610. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  17611. "type": "number"
  17612. },
  17613. "updatetime": {
  17614. "description": "更新时间",
  17615. "type": "string"
  17616. },
  17617. "wrstandardcode": {
  17618. "description": "现货品种代码",
  17619. "type": "string"
  17620. },
  17621. "wrstandardid": {
  17622. "description": "现货商品ID",
  17623. "type": "integer"
  17624. },
  17625. "wrstandardname": {
  17626. "description": "现货品种",
  17627. "type": "string"
  17628. }
  17629. }
  17630. },
  17631. "ermcp.HisExposureRsp": {
  17632. "type": "object",
  17633. "properties": {
  17634. "data": {
  17635. "description": "历史敞口",
  17636. "type": "array",
  17637. "items": {
  17638. "$ref": "#/definitions/models.ErmcpHisExposure"
  17639. }
  17640. },
  17641. "enumdicname": {
  17642. "description": "单位名称",
  17643. "type": "string"
  17644. },
  17645. "middlegoodscode": {
  17646. "description": "套保品种代码",
  17647. "type": "string"
  17648. },
  17649. "middlegoodsid": {
  17650. "description": "套保品种ID",
  17651. "type": "integer"
  17652. },
  17653. "middlegoodsname": {
  17654. "description": "套保品种名称",
  17655. "type": "string"
  17656. }
  17657. }
  17658. },
  17659. "ermcp.PendingAuditCntRsp": {
  17660. "type": "object",
  17661. "properties": {
  17662. "areastockqty": {
  17663. "description": "待审核数量: 库存申请",
  17664. "type": "integer"
  17665. },
  17666. "businessdjqty": {
  17667. "description": "待审核数量: 点价",
  17668. "type": "integer"
  17669. },
  17670. "businessfpqty": {
  17671. "description": "待审核数量: 发票",
  17672. "type": "integer"
  17673. },
  17674. "businessjsqty": {
  17675. "description": "待审核数量: 结算",
  17676. "type": "integer"
  17677. },
  17678. "businesskxqty": {
  17679. "description": "待审核数量: 款项",
  17680. "type": "integer"
  17681. },
  17682. "hedgeplanqty": {
  17683. "description": "待审核数量: 套保计划",
  17684. "type": "integer"
  17685. },
  17686. "spotcontractqty": {
  17687. "description": "待审核数量: 现货合同",
  17688. "type": "integer"
  17689. },
  17690. "userqty": {
  17691. "description": "待审核数量: 用户",
  17692. "type": "integer"
  17693. }
  17694. }
  17695. },
  17696. "ermcp.QryAvalidGPRsp": {
  17697. "type": "object",
  17698. "properties": {
  17699. "goodsgroupid": {
  17700. "description": "期货品种id",
  17701. "type": "integer"
  17702. },
  17703. "goodsgroupname": {
  17704. "description": "期货品种名称",
  17705. "type": "string"
  17706. },
  17707. "goodunitid": {
  17708. "description": "品种单位id",
  17709. "type": "integer"
  17710. },
  17711. "goodunitname": {
  17712. "description": "品种单位名称",
  17713. "type": "string"
  17714. },
  17715. "outergroupcode": {
  17716. "description": "期货品种代码",
  17717. "type": "string"
  17718. }
  17719. }
  17720. },
  17721. "ermcp.QryBusinessDjRsp": {
  17722. "type": "object",
  17723. "properties": {
  17724. "amount": {
  17725. "description": "点价金额=(点价价格+升贴水)*点价数量",
  17726. "type": "number"
  17727. },
  17728. "applyid": {
  17729. "description": "申请人",
  17730. "type": "string"
  17731. },
  17732. "applyname": {
  17733. "description": "申请人名称",
  17734. "type": "string"
  17735. },
  17736. "applystatus": {
  17737. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17738. "type": "integer"
  17739. },
  17740. "applytime": {
  17741. "description": "申请时间",
  17742. "type": "string"
  17743. },
  17744. "attachurl": {
  17745. "description": "附件",
  17746. "type": "string"
  17747. },
  17748. "auditid": {
  17749. "description": "审核人ID",
  17750. "type": "string"
  17751. },
  17752. "auditname": {
  17753. "description": "审核人名称",
  17754. "type": "string"
  17755. },
  17756. "auditremark": {
  17757. "description": "审核备注",
  17758. "type": "string"
  17759. },
  17760. "audittime": {
  17761. "description": "审核时间",
  17762. "type": "string"
  17763. },
  17764. "buyusername": {
  17765. "description": "采购方名称",
  17766. "type": "string"
  17767. },
  17768. "contractno": {
  17769. "description": "合同编号",
  17770. "type": "string"
  17771. },
  17772. "contractstatus": {
  17773. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17774. "type": "integer"
  17775. },
  17776. "contracttype": {
  17777. "description": "现货合同类型 - 1:采购 -1:销售",
  17778. "type": "integer"
  17779. },
  17780. "deliverygoodscode": {
  17781. "description": "现货品种代码",
  17782. "type": "string"
  17783. },
  17784. "deliverygoodsid": {
  17785. "description": "现货商品ID",
  17786. "type": "integer"
  17787. },
  17788. "deliverygoodsname": {
  17789. "description": "现货品种名称",
  17790. "type": "string"
  17791. },
  17792. "enumdicname": {
  17793. "description": "单位名称",
  17794. "type": "string"
  17795. },
  17796. "goodscode": {
  17797. "description": "点价合约",
  17798. "type": "string"
  17799. },
  17800. "goodsname": {
  17801. "description": "商品名称",
  17802. "type": "string"
  17803. },
  17804. "operateapplyid": {
  17805. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17806. "type": "string"
  17807. },
  17808. "operateapplytype": {
  17809. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17810. "type": "integer"
  17811. },
  17812. "pricedPrice": {
  17813. "description": "点价价格(非必填)",
  17814. "type": "number"
  17815. },
  17816. "pricedQty": {
  17817. "description": "点价数量(非必填)",
  17818. "type": "number"
  17819. },
  17820. "pricemove": {
  17821. "description": "升贴水",
  17822. "type": "number"
  17823. },
  17824. "pricetype": {
  17825. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17826. "type": "integer"
  17827. },
  17828. "relatedid": {
  17829. "description": "现货合同ID",
  17830. "type": "string"
  17831. },
  17832. "sellusername": {
  17833. "description": "销售方名字",
  17834. "type": "string"
  17835. },
  17836. "userid": {
  17837. "description": "用户ID",
  17838. "type": "integer"
  17839. },
  17840. "wrstandardcode": {
  17841. "description": "品类代码",
  17842. "type": "string"
  17843. },
  17844. "wrstandardid": {
  17845. "description": "品类id",
  17846. "type": "integer"
  17847. },
  17848. "wrstandardname": {
  17849. "description": "品类名称",
  17850. "type": "string"
  17851. }
  17852. }
  17853. },
  17854. "ermcp.QryBussinessFpRsp": {
  17855. "type": "object",
  17856. "properties": {
  17857. "applyid": {
  17858. "description": "申请人",
  17859. "type": "string"
  17860. },
  17861. "applyname": {
  17862. "description": "申请人名称",
  17863. "type": "string"
  17864. },
  17865. "applystatus": {
  17866. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17867. "type": "integer"
  17868. },
  17869. "applytime": {
  17870. "description": "申请时间",
  17871. "type": "string"
  17872. },
  17873. "attachurl": {
  17874. "description": "附件",
  17875. "type": "string"
  17876. },
  17877. "auditid": {
  17878. "description": "审核人ID",
  17879. "type": "string"
  17880. },
  17881. "auditname": {
  17882. "description": "审核人名称",
  17883. "type": "string"
  17884. },
  17885. "auditremark": {
  17886. "description": "审核备注",
  17887. "type": "string"
  17888. },
  17889. "audittime": {
  17890. "description": "审核时间",
  17891. "type": "string"
  17892. },
  17893. "buyusername": {
  17894. "description": "采购方名称",
  17895. "type": "string"
  17896. },
  17897. "contractno": {
  17898. "description": "合同编号",
  17899. "type": "string"
  17900. },
  17901. "contractstatus": {
  17902. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17903. "type": "integer"
  17904. },
  17905. "contracttype": {
  17906. "description": "现货合同类型 - 1:采购 -1:销售",
  17907. "type": "integer"
  17908. },
  17909. "deliverygoodscode": {
  17910. "description": "现货品种代码",
  17911. "type": "string"
  17912. },
  17913. "deliverygoodsid": {
  17914. "description": "现货商品ID",
  17915. "type": "integer"
  17916. },
  17917. "deliverygoodsname": {
  17918. "description": "现货品种名称",
  17919. "type": "string"
  17920. },
  17921. "enumdicname": {
  17922. "description": "单位名称",
  17923. "type": "string"
  17924. },
  17925. "goodscode": {
  17926. "description": "点价合约",
  17927. "type": "string"
  17928. },
  17929. "goodsname": {
  17930. "description": "商品名称",
  17931. "type": "string"
  17932. },
  17933. "invoiceamount": {
  17934. "description": "已开收票金额(销售为开票,采购为收票)",
  17935. "type": "number"
  17936. },
  17937. "operateapplyid": {
  17938. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17939. "type": "string"
  17940. },
  17941. "operateapplytype": {
  17942. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17943. "type": "integer"
  17944. },
  17945. "pricemove": {
  17946. "description": "升贴水",
  17947. "type": "number"
  17948. },
  17949. "pricetype": {
  17950. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17951. "type": "integer"
  17952. },
  17953. "relatedid": {
  17954. "description": "现货合同ID",
  17955. "type": "string"
  17956. },
  17957. "sellusername": {
  17958. "description": "销售方名字",
  17959. "type": "string"
  17960. },
  17961. "userid": {
  17962. "description": "用户ID",
  17963. "type": "integer"
  17964. },
  17965. "wrstandardcode": {
  17966. "description": "品类代码",
  17967. "type": "string"
  17968. },
  17969. "wrstandardid": {
  17970. "description": "品类id",
  17971. "type": "integer"
  17972. },
  17973. "wrstandardname": {
  17974. "description": "品类名称",
  17975. "type": "string"
  17976. }
  17977. }
  17978. },
  17979. "ermcp.QryBussinessJsExRsp": {
  17980. "type": "object",
  17981. "properties": {
  17982. "applyid": {
  17983. "description": "申请人",
  17984. "type": "string"
  17985. },
  17986. "applyname": {
  17987. "description": "申请人名称",
  17988. "type": "string"
  17989. },
  17990. "applystatus": {
  17991. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17992. "type": "integer"
  17993. },
  17994. "applytime": {
  17995. "description": "申请时间",
  17996. "type": "string"
  17997. },
  17998. "attachurl": {
  17999. "description": "附件",
  18000. "type": "string"
  18001. },
  18002. "auditid": {
  18003. "description": "审核人ID",
  18004. "type": "string"
  18005. },
  18006. "auditname": {
  18007. "description": "审核人名称",
  18008. "type": "string"
  18009. },
  18010. "auditremark": {
  18011. "description": "审核备注",
  18012. "type": "string"
  18013. },
  18014. "audittime": {
  18015. "description": "审核时间",
  18016. "type": "string"
  18017. },
  18018. "buyusername": {
  18019. "description": "采购方名称",
  18020. "type": "string"
  18021. },
  18022. "contractno": {
  18023. "description": "合同编号",
  18024. "type": "string"
  18025. },
  18026. "contractstatus": {
  18027. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18028. "type": "integer"
  18029. },
  18030. "contracttype": {
  18031. "description": "现货合同类型 - 1:采购 -1:销售",
  18032. "type": "integer"
  18033. },
  18034. "deliverygoodscode": {
  18035. "description": "现货品种代码",
  18036. "type": "string"
  18037. },
  18038. "deliverygoodsid": {
  18039. "description": "现货商品ID",
  18040. "type": "integer"
  18041. },
  18042. "deliverygoodsname": {
  18043. "description": "现货品种名称",
  18044. "type": "string"
  18045. },
  18046. "enumdicname": {
  18047. "description": "单位名称",
  18048. "type": "string"
  18049. },
  18050. "goodscode": {
  18051. "description": "点价合约",
  18052. "type": "string"
  18053. },
  18054. "goodsname": {
  18055. "description": "商品名称",
  18056. "type": "string"
  18057. },
  18058. "operateapplyid": {
  18059. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18060. "type": "string"
  18061. },
  18062. "operateapplytype": {
  18063. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18064. "type": "integer"
  18065. },
  18066. "pricemove": {
  18067. "description": "升贴水",
  18068. "type": "number"
  18069. },
  18070. "pricetype": {
  18071. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18072. "type": "integer"
  18073. },
  18074. "reckontype": {
  18075. "description": "结算类型",
  18076. "type": "string"
  18077. },
  18078. "reckonvalue": {
  18079. "description": "值",
  18080. "type": "number"
  18081. },
  18082. "relatedid": {
  18083. "description": "现货合同ID",
  18084. "type": "string"
  18085. },
  18086. "sellusername": {
  18087. "description": "销售方名字",
  18088. "type": "string"
  18089. },
  18090. "userid": {
  18091. "description": "用户ID",
  18092. "type": "integer"
  18093. },
  18094. "wrstandardcode": {
  18095. "description": "品类代码",
  18096. "type": "string"
  18097. },
  18098. "wrstandardid": {
  18099. "description": "品类id",
  18100. "type": "integer"
  18101. },
  18102. "wrstandardname": {
  18103. "description": "品类名称",
  18104. "type": "string"
  18105. }
  18106. }
  18107. },
  18108. "ermcp.QryBussinessJsRsp": {
  18109. "type": "object",
  18110. "properties": {
  18111. "addmargin": {
  18112. "description": "追加保证金(非必填)",
  18113. "type": "number"
  18114. },
  18115. "applyid": {
  18116. "description": "申请人",
  18117. "type": "string"
  18118. },
  18119. "applyname": {
  18120. "description": "申请人名称",
  18121. "type": "string"
  18122. },
  18123. "applystatus": {
  18124. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18125. "type": "integer"
  18126. },
  18127. "applytime": {
  18128. "description": "申请时间",
  18129. "type": "string"
  18130. },
  18131. "attachurl": {
  18132. "description": "附件",
  18133. "type": "string"
  18134. },
  18135. "auditid": {
  18136. "description": "审核人ID",
  18137. "type": "string"
  18138. },
  18139. "auditname": {
  18140. "description": "审核人名称",
  18141. "type": "string"
  18142. },
  18143. "auditremark": {
  18144. "description": "审核备注",
  18145. "type": "string"
  18146. },
  18147. "audittime": {
  18148. "description": "审核时间",
  18149. "type": "string"
  18150. },
  18151. "buyusername": {
  18152. "description": "采购方名称",
  18153. "type": "string"
  18154. },
  18155. "contractno": {
  18156. "description": "合同编号",
  18157. "type": "string"
  18158. },
  18159. "contractstatus": {
  18160. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18161. "type": "integer"
  18162. },
  18163. "contracttype": {
  18164. "description": "现货合同类型 - 1:采购 -1:销售",
  18165. "type": "integer"
  18166. },
  18167. "decmargin": {
  18168. "description": "减少保证金(非必填)",
  18169. "type": "number"
  18170. },
  18171. "deliverygoodscode": {
  18172. "description": "现货品种代码",
  18173. "type": "string"
  18174. },
  18175. "deliverygoodsid": {
  18176. "description": "现货商品ID",
  18177. "type": "integer"
  18178. },
  18179. "deliverygoodsname": {
  18180. "description": "现货品种名称",
  18181. "type": "string"
  18182. },
  18183. "enumdicname": {
  18184. "description": "单位名称",
  18185. "type": "string"
  18186. },
  18187. "goodscode": {
  18188. "description": "点价合约",
  18189. "type": "string"
  18190. },
  18191. "goodsname": {
  18192. "description": "商品名称",
  18193. "type": "string"
  18194. },
  18195. "operateapplyid": {
  18196. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18197. "type": "string"
  18198. },
  18199. "operateapplytype": {
  18200. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18201. "type": "integer"
  18202. },
  18203. "pricemove": {
  18204. "description": "升贴水",
  18205. "type": "number"
  18206. },
  18207. "pricetype": {
  18208. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18209. "type": "integer"
  18210. },
  18211. "reckonadjustamount": {
  18212. "description": "结算调整金额(非必填)",
  18213. "type": "number"
  18214. },
  18215. "reckonosamount": {
  18216. "description": "结算溢短金额(非必填)",
  18217. "type": "number"
  18218. },
  18219. "reckonotheramount": {
  18220. "description": "结算其他费用(非必填)",
  18221. "type": "number"
  18222. },
  18223. "reckonrealqty": {
  18224. "description": "结算实际数量(非必填)",
  18225. "type": "number"
  18226. },
  18227. "relatedid": {
  18228. "description": "现货合同ID",
  18229. "type": "string"
  18230. },
  18231. "sellusername": {
  18232. "description": "销售方名字",
  18233. "type": "string"
  18234. },
  18235. "userid": {
  18236. "description": "用户ID",
  18237. "type": "integer"
  18238. },
  18239. "wrstandardcode": {
  18240. "description": "品类代码",
  18241. "type": "string"
  18242. },
  18243. "wrstandardid": {
  18244. "description": "品类id",
  18245. "type": "integer"
  18246. },
  18247. "wrstandardname": {
  18248. "description": "品类名称",
  18249. "type": "string"
  18250. }
  18251. }
  18252. },
  18253. "ermcp.QryBussinessKxRsp": {
  18254. "type": "object",
  18255. "properties": {
  18256. "applyid": {
  18257. "description": "申请人",
  18258. "type": "string"
  18259. },
  18260. "applyname": {
  18261. "description": "申请人名称",
  18262. "type": "string"
  18263. },
  18264. "applystatus": {
  18265. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18266. "type": "integer"
  18267. },
  18268. "applytime": {
  18269. "description": "申请时间",
  18270. "type": "string"
  18271. },
  18272. "attachurl": {
  18273. "description": "附件",
  18274. "type": "string"
  18275. },
  18276. "auditid": {
  18277. "description": "审核人ID",
  18278. "type": "string"
  18279. },
  18280. "auditname": {
  18281. "description": "审核人名称",
  18282. "type": "string"
  18283. },
  18284. "auditremark": {
  18285. "description": "审核备注",
  18286. "type": "string"
  18287. },
  18288. "audittime": {
  18289. "description": "审核时间",
  18290. "type": "string"
  18291. },
  18292. "buyusername": {
  18293. "description": "采购方名称",
  18294. "type": "string"
  18295. },
  18296. "contractno": {
  18297. "description": "合同编号",
  18298. "type": "string"
  18299. },
  18300. "contractstatus": {
  18301. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18302. "type": "integer"
  18303. },
  18304. "contracttype": {
  18305. "description": "现货合同类型 - 1:采购 -1:销售",
  18306. "type": "integer"
  18307. },
  18308. "deductamount": {
  18309. "description": "退款(非必填)",
  18310. "type": "number"
  18311. },
  18312. "deliverygoodscode": {
  18313. "description": "现货品种代码",
  18314. "type": "string"
  18315. },
  18316. "deliverygoodsid": {
  18317. "description": "现货商品ID",
  18318. "type": "integer"
  18319. },
  18320. "deliverygoodsname": {
  18321. "description": "现货品种名称",
  18322. "type": "string"
  18323. },
  18324. "enumdicname": {
  18325. "description": "单位名称",
  18326. "type": "string"
  18327. },
  18328. "goodscode": {
  18329. "description": "点价合约",
  18330. "type": "string"
  18331. },
  18332. "goodsname": {
  18333. "description": "商品名称",
  18334. "type": "string"
  18335. },
  18336. "kxtype": {
  18337. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  18338. "type": "integer"
  18339. },
  18340. "operateapplyid": {
  18341. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18342. "type": "string"
  18343. },
  18344. "operateapplytype": {
  18345. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18346. "type": "integer"
  18347. },
  18348. "payamount": {
  18349. "description": "收付款(非必填)",
  18350. "type": "number"
  18351. },
  18352. "pricemove": {
  18353. "description": "升贴水",
  18354. "type": "number"
  18355. },
  18356. "pricetype": {
  18357. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18358. "type": "integer"
  18359. },
  18360. "relatedid": {
  18361. "description": "现货合同ID",
  18362. "type": "string"
  18363. },
  18364. "sellusername": {
  18365. "description": "销售方名字",
  18366. "type": "string"
  18367. },
  18368. "userid": {
  18369. "description": "用户ID",
  18370. "type": "integer"
  18371. },
  18372. "wrstandardcode": {
  18373. "description": "品类代码",
  18374. "type": "string"
  18375. },
  18376. "wrstandardid": {
  18377. "description": "品类id",
  18378. "type": "integer"
  18379. },
  18380. "wrstandardname": {
  18381. "description": "品类名称",
  18382. "type": "string"
  18383. }
  18384. }
  18385. },
  18386. "ermcp.QryGGCovertCfgRsp": {
  18387. "type": "object",
  18388. "properties": {
  18389. "convertratio": {
  18390. "description": "折算系数",
  18391. "type": "number"
  18392. },
  18393. "destgoodsgroupid": {
  18394. "description": "目标品种ID",
  18395. "type": "integer"
  18396. },
  18397. "dstcode": {
  18398. "description": "目录品种代码",
  18399. "type": "string"
  18400. },
  18401. "dstexchangecode": {
  18402. "description": "目标期货交易所",
  18403. "type": "string"
  18404. },
  18405. "dstname": {
  18406. "description": "目标品种名称",
  18407. "type": "string"
  18408. },
  18409. "dstunitid": {
  18410. "description": "目标品种单位ID",
  18411. "type": "integer"
  18412. },
  18413. "dstunitidname": {
  18414. "description": "目标品种单位名称",
  18415. "type": "string"
  18416. },
  18417. "modifytime": {
  18418. "description": "修改时间",
  18419. "type": "string"
  18420. },
  18421. "srccode": {
  18422. "description": "源品种代码",
  18423. "type": "string"
  18424. },
  18425. "srcexchangecode": {
  18426. "description": "源期货交易所",
  18427. "type": "string"
  18428. },
  18429. "srcgoodsgroupid": {
  18430. "description": "源品种ID",
  18431. "type": "integer"
  18432. },
  18433. "srcname": {
  18434. "description": "源品种名称",
  18435. "type": "string"
  18436. },
  18437. "srcunitid": {
  18438. "description": "源品种单位ID",
  18439. "type": "integer"
  18440. },
  18441. "srcunitidname": {
  18442. "description": "源品种单位名称",
  18443. "type": "string"
  18444. }
  18445. }
  18446. },
  18447. "ermcp.QryMGChangeLogRsp": {
  18448. "type": "object",
  18449. "properties": {
  18450. "aftervalue": {
  18451. "description": "变更后",
  18452. "type": "number"
  18453. },
  18454. "applyid": {
  18455. "description": "操作人",
  18456. "type": "integer"
  18457. },
  18458. "applyname": {
  18459. "description": "操作人名称",
  18460. "type": "string"
  18461. },
  18462. "applysrc": {
  18463. "description": "操作来源 - 1:管理端 2:终端",
  18464. "type": "integer"
  18465. },
  18466. "beforevalue": {
  18467. "description": "变更前",
  18468. "type": "number"
  18469. },
  18470. "changelogtype": {
  18471. "description": "变更流水类型 - 1:套保比率变更",
  18472. "type": "integer"
  18473. },
  18474. "handlestatus": {
  18475. "description": "处理状态",
  18476. "type": "integer"
  18477. },
  18478. "logdatetime": {
  18479. "description": "流水日期",
  18480. "type": "string"
  18481. },
  18482. "logid": {
  18483. "description": "流水ID",
  18484. "type": "integer"
  18485. },
  18486. "logremark": {
  18487. "description": "流水备注",
  18488. "type": "string"
  18489. },
  18490. "middlegoodsid": {
  18491. "description": "套保品种ID",
  18492. "type": "integer"
  18493. },
  18494. "tradedate": {
  18495. "description": "交易日(yyyyMMdd)",
  18496. "type": "string"
  18497. },
  18498. "updatetime": {
  18499. "description": "更新时间",
  18500. "type": "string"
  18501. }
  18502. }
  18503. },
  18504. "ermcp.QryMiddleGoodsDetailRsp": {
  18505. "type": "object",
  18506. "properties": {
  18507. "cvList": {
  18508. "description": "期货品种折算列表",
  18509. "type": "array",
  18510. "items": {
  18511. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  18512. }
  18513. },
  18514. "mg": {
  18515. "description": "套保品种基本信息",
  18516. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18517. },
  18518. "wrcList": {
  18519. "description": "现货品种列表(现货商品折算配置)",
  18520. "type": "array",
  18521. "items": {
  18522. "$ref": "#/definitions/models.WRSConverTDetail"
  18523. }
  18524. }
  18525. }
  18526. },
  18527. "ermcp.QryMiddleGoodsRsp": {
  18528. "type": "object",
  18529. "properties": {
  18530. "areauserid": {
  18531. "description": "机构用户ID",
  18532. "type": "integer"
  18533. },
  18534. "createtime": {
  18535. "description": "修改时间",
  18536. "type": "string"
  18537. },
  18538. "enumdicname": {
  18539. "description": "单位名称",
  18540. "type": "string"
  18541. },
  18542. "evaluateratio": {
  18543. "description": "估价系数",
  18544. "type": "number"
  18545. },
  18546. "goodsgroupid": {
  18547. "description": "关联期货品种ID",
  18548. "type": "integer"
  18549. },
  18550. "goodsunitid": {
  18551. "description": "单位ID",
  18552. "type": "integer"
  18553. },
  18554. "isvalid": {
  18555. "description": "状态 0-无效(停用) 1-有效(正常)",
  18556. "type": "integer"
  18557. },
  18558. "middlegoodscode": {
  18559. "description": "套保品种代码",
  18560. "type": "string"
  18561. },
  18562. "middlegoodsid": {
  18563. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  18564. "type": "integer"
  18565. },
  18566. "middlegoodsname": {
  18567. "description": "套保品种名称",
  18568. "type": "string"
  18569. },
  18570. "modifytime": {
  18571. "description": "修改时间",
  18572. "type": "string"
  18573. },
  18574. "needarbitrageratio": {
  18575. "description": "套利比例",
  18576. "type": "number"
  18577. },
  18578. "needhedgeratio": {
  18579. "description": "套保比率",
  18580. "type": "number"
  18581. },
  18582. "qtydecimalplace": {
  18583. "description": "数量小数位",
  18584. "type": "integer"
  18585. },
  18586. "relatedgoodsid": {
  18587. "description": "关联交易商品ID",
  18588. "type": "integer"
  18589. },
  18590. "relatedgoodstype": {
  18591. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  18592. "type": "integer"
  18593. },
  18594. "remark": {
  18595. "description": "备注",
  18596. "type": "string"
  18597. }
  18598. }
  18599. },
  18600. "ermcp.QryOPLogRsp": {
  18601. "type": "object",
  18602. "properties": {
  18603. "aftervalue": {
  18604. "description": "变更后",
  18605. "type": "number"
  18606. },
  18607. "applyid": {
  18608. "description": "操作人ID",
  18609. "type": "string"
  18610. },
  18611. "applyname": {
  18612. "description": "操作人名称",
  18613. "type": "string"
  18614. },
  18615. "beforevalue": {
  18616. "description": "变更前",
  18617. "type": "number"
  18618. },
  18619. "biztype": {
  18620. "description": "业务类型 - 1:套保计划 2:现货合同",
  18621. "type": "integer"
  18622. },
  18623. "contracttype": {
  18624. "description": "现货合同类型 - 1:采购 -1:销售",
  18625. "type": "integer"
  18626. },
  18627. "logvalue": {
  18628. "description": "数值",
  18629. "type": "number"
  18630. },
  18631. "operatelogtype": {
  18632. "description": "操作流水类型",
  18633. "type": "integer"
  18634. },
  18635. "operatelogtypedesc": {
  18636. "description": "操作流水类型名称",
  18637. "type": "string"
  18638. },
  18639. "relatedid": {
  18640. "description": "现货合同ID\\套保计划",
  18641. "type": "string"
  18642. },
  18643. "updatetime": {
  18644. "description": "更新时间",
  18645. "type": "string"
  18646. }
  18647. }
  18648. },
  18649. "ermcp.QryUserInfoRsp": {
  18650. "type": "object",
  18651. "properties": {
  18652. "address": {
  18653. "description": "通讯地址",
  18654. "type": "string"
  18655. },
  18656. "attachment1": {
  18657. "description": "附件1",
  18658. "type": "string"
  18659. },
  18660. "audittime": {
  18661. "description": "审核时间",
  18662. "type": "string"
  18663. },
  18664. "cardbackphotourl": {
  18665. "description": "证件反面图片地址",
  18666. "type": "string"
  18667. },
  18668. "cardfrontphotourl": {
  18669. "description": "证件正面图片地址",
  18670. "type": "string"
  18671. },
  18672. "cardnum": {
  18673. "description": "证件号码",
  18674. "type": "string"
  18675. },
  18676. "cardtype": {
  18677. "description": "证件类型",
  18678. "type": "integer"
  18679. },
  18680. "cardtypename": {
  18681. "description": "证件类型名称",
  18682. "type": "string"
  18683. },
  18684. "cityid": {
  18685. "description": "市",
  18686. "type": "integer"
  18687. },
  18688. "contactname": {
  18689. "description": "联系人",
  18690. "type": "string"
  18691. },
  18692. "countryid": {
  18693. "description": "国家",
  18694. "type": "integer"
  18695. },
  18696. "createtime": {
  18697. "description": "创建时间",
  18698. "type": "string"
  18699. },
  18700. "customername": {
  18701. "description": "企业名称",
  18702. "type": "string"
  18703. },
  18704. "districtid": {
  18705. "description": "区域",
  18706. "type": "integer"
  18707. },
  18708. "email": {
  18709. "description": "邮件",
  18710. "type": "string"
  18711. },
  18712. "legalpersonname": {
  18713. "description": "法人姓名(企业)",
  18714. "type": "string"
  18715. },
  18716. "memberuserid": {
  18717. "description": "所属机构ID",
  18718. "type": "integer"
  18719. },
  18720. "mobile": {
  18721. "description": "手机号码",
  18722. "type": "string"
  18723. },
  18724. "modifytime": {
  18725. "description": "修改时间",
  18726. "type": "string"
  18727. },
  18728. "nickname": {
  18729. "description": "昵称",
  18730. "type": "string"
  18731. },
  18732. "provinceid": {
  18733. "description": "省",
  18734. "type": "integer"
  18735. },
  18736. "remark": {
  18737. "description": "备注",
  18738. "type": "string"
  18739. },
  18740. "status": {
  18741. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  18742. "type": "integer"
  18743. },
  18744. "statusdesc": {
  18745. "description": "账户状态中文描述",
  18746. "type": "string"
  18747. },
  18748. "taxpayernum": {
  18749. "description": "纳税人识别号",
  18750. "type": "string"
  18751. },
  18752. "telphone": {
  18753. "description": "联系电话",
  18754. "type": "string"
  18755. },
  18756. "userid": {
  18757. "description": "用户ID",
  18758. "type": "integer"
  18759. },
  18760. "userinfotype": {
  18761. "description": "客户类型",
  18762. "type": "string"
  18763. }
  18764. }
  18765. },
  18766. "ermcp.QryWarehouseRsp": {
  18767. "type": "object",
  18768. "properties": {
  18769. "address": {
  18770. "description": "详细地址",
  18771. "type": "string"
  18772. },
  18773. "areauserid": {
  18774. "description": "所属机构",
  18775. "type": "integer"
  18776. },
  18777. "autoid": {
  18778. "description": "自增ID(仓库ID)",
  18779. "type": "integer"
  18780. },
  18781. "cityid": {
  18782. "description": "市",
  18783. "type": "integer"
  18784. },
  18785. "contactname": {
  18786. "description": "联系人",
  18787. "type": "string"
  18788. },
  18789. "contactnum": {
  18790. "description": "联系电话",
  18791. "type": "string"
  18792. },
  18793. "countryid": {
  18794. "description": "国家",
  18795. "type": "integer"
  18796. },
  18797. "createtime": {
  18798. "description": "创建时间",
  18799. "type": "string"
  18800. },
  18801. "districtid": {
  18802. "description": "区",
  18803. "type": "integer"
  18804. },
  18805. "hasvideo": {
  18806. "description": "是否有视频 - 0:无 1:有",
  18807. "type": "integer"
  18808. },
  18809. "provinceid": {
  18810. "description": "省",
  18811. "type": "integer"
  18812. },
  18813. "remark": {
  18814. "description": "审核备注",
  18815. "type": "string"
  18816. },
  18817. "videourl": {
  18818. "description": "视频地址",
  18819. "type": "string"
  18820. },
  18821. "warehousecode": {
  18822. "description": "仓库代码",
  18823. "type": "string"
  18824. },
  18825. "warehousename": {
  18826. "description": "仓库名称",
  18827. "type": "string"
  18828. },
  18829. "warehousestatus": {
  18830. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  18831. "type": "integer"
  18832. },
  18833. "warehousetype": {
  18834. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  18835. "type": "integer"
  18836. }
  18837. }
  18838. },
  18839. "ermcp.QueryErmcpTradePositionRsp": {
  18840. "type": "object",
  18841. "properties": {
  18842. "agreeunit": {
  18843. "description": "合约单位",
  18844. "type": "number"
  18845. },
  18846. "buyorsell": {
  18847. "description": "方向 - 0:买 1:卖",
  18848. "type": "integer"
  18849. },
  18850. "curpositionqty": {
  18851. "description": "持仓(总仓数量, 期末头寸)",
  18852. "type": "integer"
  18853. },
  18854. "curtdposition": {
  18855. "description": "今仓数量(期末今日头寸)",
  18856. "type": "integer"
  18857. },
  18858. "curtdpositionenabled": {
  18859. "description": "今仓可用",
  18860. "type": "integer"
  18861. },
  18862. "decimalplace": {
  18863. "description": "报价小数位",
  18864. "type": "integer"
  18865. },
  18866. "enableqty": {
  18867. "description": "可用(总仓可用)",
  18868. "type": "integer"
  18869. },
  18870. "exexchangename": {
  18871. "description": "外部交易所名称",
  18872. "type": "string"
  18873. },
  18874. "exexehangecode": {
  18875. "description": "外部交易所代码",
  18876. "type": "string"
  18877. },
  18878. "exexehangeid": {
  18879. "description": "外部交易所id",
  18880. "type": "integer"
  18881. },
  18882. "goodscode": {
  18883. "description": "商品代码(内部)",
  18884. "type": "string"
  18885. },
  18886. "goodsid": {
  18887. "description": "商品ID(自增ID SEQ_GOODS)",
  18888. "type": "integer"
  18889. },
  18890. "goodsname": {
  18891. "description": "商品名称",
  18892. "type": "string"
  18893. },
  18894. "last": {
  18895. "description": "现价",
  18896. "type": "number"
  18897. },
  18898. "marketid": {
  18899. "description": "所属市场ID",
  18900. "type": "integer"
  18901. },
  18902. "openaverageprice": {
  18903. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  18904. "type": "number"
  18905. },
  18906. "opencost": {
  18907. "description": "开仓成本",
  18908. "type": "number"
  18909. },
  18910. "openpl": {
  18911. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  18912. "type": "number"
  18913. },
  18914. "outgoodscode": {
  18915. "description": "商品代码(外部)",
  18916. "type": "string"
  18917. },
  18918. "positionaverageprice": {
  18919. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  18920. "type": "number"
  18921. },
  18922. "positioncost": {
  18923. "description": "持仓成本",
  18924. "type": "number"
  18925. },
  18926. "positionpl": {
  18927. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  18928. "type": "number"
  18929. },
  18930. "positionplrate": {
  18931. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  18932. "type": "number"
  18933. },
  18934. "usedmargin": {
  18935. "description": "占用保证金",
  18936. "type": "number"
  18937. }
  18938. }
  18939. },
  18940. "ermcp.RealtimeExposurePositionRsp": {
  18941. "type": "object",
  18942. "properties": {
  18943. "agreeunit": {
  18944. "description": "合约单位",
  18945. "type": "string"
  18946. },
  18947. "areauserid": {
  18948. "description": "所属机构id",
  18949. "type": "integer"
  18950. },
  18951. "convertratio": {
  18952. "description": "期货品种系数(折算系数)",
  18953. "type": "number"
  18954. },
  18955. "curhedgeqty": {
  18956. "description": "期货套期量 = 当前持仓*期货合约单位*期货品种系数",
  18957. "type": "number"
  18958. },
  18959. "curqty": {
  18960. "description": "当前持仓",
  18961. "type": "integer"
  18962. },
  18963. "diffhedgeqty": {
  18964. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  18965. "type": "number"
  18966. },
  18967. "diffqty": {
  18968. "description": "持仓变动量=当前持仓-昨日持仓",
  18969. "type": "integer"
  18970. },
  18971. "goodscode": {
  18972. "description": "商品代码",
  18973. "type": "string"
  18974. },
  18975. "goodsid": {
  18976. "description": "商品id",
  18977. "type": "integer"
  18978. },
  18979. "goodsname": {
  18980. "description": "商品名称",
  18981. "type": "string"
  18982. },
  18983. "hedgeaccountcode": {
  18984. "description": "对冲账号(只有外部账号才有值)",
  18985. "type": "string"
  18986. },
  18987. "middlegoodscode": {
  18988. "description": "套保商品代码",
  18989. "type": "string"
  18990. },
  18991. "middlegoodsid": {
  18992. "description": "套保商品id",
  18993. "type": "integer"
  18994. },
  18995. "middlegoodsname": {
  18996. "description": "套保商品名称",
  18997. "type": "string"
  18998. },
  18999. "ydqty": {
  19000. "description": "昨日持仓",
  19001. "type": "integer"
  19002. }
  19003. }
  19004. },
  19005. "ermcp.RealtimeExposureRsp": {
  19006. "type": "object",
  19007. "properties": {
  19008. "AreaUserID": {
  19009. "description": "所属机构",
  19010. "type": "integer"
  19011. },
  19012. "BuyFutureQty": {
  19013. "description": "买入期货数量",
  19014. "type": "number"
  19015. },
  19016. "BuyPlanQty": {
  19017. "description": "采购计划数量",
  19018. "type": "number"
  19019. },
  19020. "BuyPricedQty": {
  19021. "description": "采购合同已定价数量",
  19022. "type": "number"
  19023. },
  19024. "MiddleGoodsCode": {
  19025. "description": "套保品种代码",
  19026. "type": "string"
  19027. },
  19028. "MiddleGoodsHedgeRatio": {
  19029. "description": "套保比例",
  19030. "type": "number"
  19031. },
  19032. "MiddleGoodsID": {
  19033. "description": "套保品种",
  19034. "type": "integer"
  19035. },
  19036. "MiddleGoodsName": {
  19037. "description": "套保品种名称",
  19038. "type": "string"
  19039. },
  19040. "NeedHedgeExposoure": {
  19041. "description": "应套保敞口(套保敞口)",
  19042. "type": "number"
  19043. },
  19044. "NeedHedgeRatio": {
  19045. "description": "应套保敞口比例",
  19046. "type": "number"
  19047. },
  19048. "OriBuyFutureQty": {
  19049. "description": "期初买入期货数量",
  19050. "type": "number"
  19051. },
  19052. "OriBuyPlanQty": {
  19053. "description": "期初采购计划数量",
  19054. "type": "number"
  19055. },
  19056. "OriBuyPricedQty": {
  19057. "description": "期初采购合同已定价数量",
  19058. "type": "number"
  19059. },
  19060. "OriSellFutureQty": {
  19061. "description": "期初卖出期货数量",
  19062. "type": "number"
  19063. },
  19064. "OriSellPlanQty": {
  19065. "description": "期初销售计划数量",
  19066. "type": "number"
  19067. },
  19068. "OriSellPricedQty": {
  19069. "description": "期初销售合同已定价数量",
  19070. "type": "number"
  19071. },
  19072. "OriTotalSpotQty": {
  19073. "description": "期初现货总量",
  19074. "type": "number"
  19075. },
  19076. "SellFutureQty": {
  19077. "description": "卖出期货数量",
  19078. "type": "number"
  19079. },
  19080. "SellPlanQty": {
  19081. "description": "销售计划数量",
  19082. "type": "number"
  19083. },
  19084. "SellPricedQty": {
  19085. "description": "销售合同已定价数量",
  19086. "type": "number"
  19087. },
  19088. "TotalExposure": {
  19089. "description": "总敞口 平安:净敞口",
  19090. "type": "number"
  19091. },
  19092. "TotalFutureQty": {
  19093. "description": "期货总量 平安:保值净持仓量",
  19094. "type": "number"
  19095. },
  19096. "TotalHedgeRatio": {
  19097. "description": "敞口比例",
  19098. "type": "number"
  19099. },
  19100. "TotalNeedHedgeQty": {
  19101. "description": "应套保总量(现货应套保总量)",
  19102. "type": "number"
  19103. },
  19104. "TotalSpotQty": {
  19105. "description": "现货总量 平安:采销定价净值",
  19106. "type": "number"
  19107. },
  19108. "arbitrageqty": {
  19109. "description": "套利量",
  19110. "type": "number"
  19111. },
  19112. "diffArbitrageQty": {
  19113. "description": "套利变动量",
  19114. "type": "number"
  19115. },
  19116. "diffExposoureQty": {
  19117. "description": "变动量(套保敞口)",
  19118. "type": "number"
  19119. },
  19120. "diffFutuQty": {
  19121. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  19122. "type": "number"
  19123. },
  19124. "diffHedgeQty": {
  19125. "description": "套保变动量",
  19126. "type": "number"
  19127. },
  19128. "diffQty": {
  19129. "description": "变动量(总敞口) 平安:净敞口今日变动",
  19130. "type": "number"
  19131. },
  19132. "diffSpotHedgeQty": {
  19133. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  19134. "type": "number"
  19135. },
  19136. "diffSpotQty": {
  19137. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  19138. "type": "number"
  19139. },
  19140. "enumdicname": {
  19141. "description": "单位名称",
  19142. "type": "string"
  19143. },
  19144. "hedgeqty": {
  19145. "description": "套保量",
  19146. "type": "number"
  19147. },
  19148. "needarbitrageqty": {
  19149. "description": "应套利量",
  19150. "type": "number"
  19151. },
  19152. "needarbitrageratio": {
  19153. "description": "套利比例",
  19154. "type": "number"
  19155. },
  19156. "needhedgeqty": {
  19157. "description": "应套保量",
  19158. "type": "number"
  19159. },
  19160. "oriarbitrageqty": {
  19161. "description": "期初套利量",
  19162. "type": "number"
  19163. },
  19164. "orihedgeqty": {
  19165. "description": "期初套保量",
  19166. "type": "number"
  19167. },
  19168. "orineedhedgeexposoure": {
  19169. "description": "期初套保敞口",
  19170. "type": "number"
  19171. },
  19172. "oritotalexposure": {
  19173. "description": "期初总敞口",
  19174. "type": "number"
  19175. },
  19176. "oritotalfutureqty": {
  19177. "description": "期初期货总量",
  19178. "type": "number"
  19179. },
  19180. "oritotalneedhedgeqty": {
  19181. "description": "期初现货应套保量",
  19182. "type": "number"
  19183. }
  19184. }
  19185. },
  19186. "erms2.QueryArbitrageStrategyRsp": {
  19187. "type": "object",
  19188. "required": [
  19189. "asapplyid"
  19190. ],
  19191. "properties": {
  19192. "applybasis": {
  19193. "description": "申请基差",
  19194. "type": "number"
  19195. },
  19196. "asapplyid": {
  19197. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  19198. "type": "string"
  19199. },
  19200. "asname": {
  19201. "description": "策略名称",
  19202. "type": "string"
  19203. },
  19204. "asno": {
  19205. "description": "策略编号",
  19206. "type": "string"
  19207. },
  19208. "basischangepl": {
  19209. "description": "基差变动损益[结算更新]",
  19210. "type": "number"
  19211. },
  19212. "biztype": {
  19213. "description": "业务类型 - 1:正向套利 -1:反向套利",
  19214. "type": "integer"
  19215. },
  19216. "closetradedate": {
  19217. "description": "完结交易日(yyyyMMdd)",
  19218. "type": "string"
  19219. },
  19220. "curbasis": {
  19221. "description": "当前基差[结算更新]",
  19222. "type": "number"
  19223. },
  19224. "deliverygoodsid": {
  19225. "description": "现货品种ID",
  19226. "type": "integer"
  19227. },
  19228. "futureavgprice": {
  19229. "description": "期货建仓均价",
  19230. "type": "number"
  19231. },
  19232. "futurecloseamount": {
  19233. "description": "期货平仓金额",
  19234. "type": "number"
  19235. },
  19236. "futurecloseqty": {
  19237. "description": "期货平仓数量",
  19238. "type": "number"
  19239. },
  19240. "futureopenamount": {
  19241. "description": "期货开仓金额",
  19242. "type": "number"
  19243. },
  19244. "futureopenqty": {
  19245. "description": "期货开仓数量",
  19246. "type": "number"
  19247. },
  19248. "futurepl": {
  19249. "description": "期货总盈亏[结算更新]",
  19250. "type": "number"
  19251. },
  19252. "futureqty": {
  19253. "description": "期货持仓数量",
  19254. "type": "number"
  19255. },
  19256. "futurequote": {
  19257. "description": "期货额度",
  19258. "type": "number"
  19259. },
  19260. "goodsgroupid": {
  19261. "description": "期货品种ID",
  19262. "type": "integer"
  19263. },
  19264. "marketid": {
  19265. "description": "市场ID",
  19266. "type": "integer"
  19267. },
  19268. "netexposure": {
  19269. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  19270. "type": "number"
  19271. },
  19272. "netexposurepl": {
  19273. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  19274. "type": "number"
  19275. },
  19276. "netexposurerate": {
  19277. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  19278. "type": "number"
  19279. },
  19280. "openbasis": {
  19281. "description": "建仓基差",
  19282. "type": "number"
  19283. },
  19284. "pricedspotqty": {
  19285. "description": "已定价现货数量",
  19286. "type": "number"
  19287. },
  19288. "pricedspotqtynotax": {
  19289. "description": "已定价现货不含税数量",
  19290. "type": "number"
  19291. },
  19292. "remark": {
  19293. "description": "备注",
  19294. "type": "string"
  19295. },
  19296. "spotavgprice": {
  19297. "description": "现货均价",
  19298. "type": "number"
  19299. },
  19300. "spotbuyamount": {
  19301. "description": "现货采购金额",
  19302. "type": "number"
  19303. },
  19304. "spotbuyqty": {
  19305. "description": "现货采购数量",
  19306. "type": "number"
  19307. },
  19308. "spotpl": {
  19309. "description": "现货总盈亏[结算更新]",
  19310. "type": "number"
  19311. },
  19312. "spotquota": {
  19313. "description": "现货额度",
  19314. "type": "number"
  19315. },
  19316. "spotsellamount": {
  19317. "description": "现货销售金额",
  19318. "type": "number"
  19319. },
  19320. "spotsellqty": {
  19321. "description": "现货销售数量",
  19322. "type": "number"
  19323. },
  19324. "spotusedquota": {
  19325. "description": "现货占用资金",
  19326. "type": "number"
  19327. },
  19328. "strategystatus": {
  19329. "description": "策略状态 - 0:未结束 1:已结束",
  19330. "type": "integer"
  19331. },
  19332. "totalpl": {
  19333. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  19334. "type": "number"
  19335. },
  19336. "tradedate": {
  19337. "description": "交易日(yyyyMMdd)",
  19338. "type": "string"
  19339. },
  19340. "updatetime": {
  19341. "description": "更新时间",
  19342. "type": "string"
  19343. },
  19344. "usedquota": {
  19345. "description": "已占用资金",
  19346. "type": "number"
  19347. },
  19348. "userid": {
  19349. "description": "所属机构",
  19350. "type": "integer"
  19351. }
  19352. }
  19353. },
  19354. "erms2.QueryInnerTradeDetailRsp": {
  19355. "type": "object",
  19356. "required": [
  19357. "asapplyid",
  19358. "buyorsell",
  19359. "goodscode",
  19360. "goodsgroupid",
  19361. "goodsgroupname",
  19362. "goodsname",
  19363. "tradeid"
  19364. ],
  19365. "properties": {
  19366. "accountid": {
  19367. "description": "账号ID",
  19368. "type": "integer"
  19369. },
  19370. "agreeunit": {
  19371. "description": "合约单位",
  19372. "type": "number"
  19373. },
  19374. "asapplyid": {
  19375. "description": "策略申请ID",
  19376. "type": "integer"
  19377. },
  19378. "asname": {
  19379. "description": "策略名称",
  19380. "type": "string"
  19381. },
  19382. "asno": {
  19383. "description": "策略编号",
  19384. "type": "string"
  19385. },
  19386. "buyorsell": {
  19387. "description": "方向 - 0:买 1:卖",
  19388. "type": "integer"
  19389. },
  19390. "channelbuildtype": {
  19391. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  19392. "type": "integer"
  19393. },
  19394. "closetype": {
  19395. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  19396. "type": "integer"
  19397. },
  19398. "decimalplace": {
  19399. "description": "报价小数位",
  19400. "type": "integer"
  19401. },
  19402. "detailtype": {
  19403. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  19404. "type": "integer"
  19405. },
  19406. "exexchangecode": {
  19407. "description": "外部交易所代码",
  19408. "type": "string"
  19409. },
  19410. "exexchangename": {
  19411. "description": "外部交易所名称",
  19412. "type": "string"
  19413. },
  19414. "goodscode": {
  19415. "description": "商品代码(合约)",
  19416. "type": "string"
  19417. },
  19418. "goodsgroupid": {
  19419. "description": "商品组ID(品种ID)",
  19420. "type": "integer"
  19421. },
  19422. "goodsgroupname": {
  19423. "description": "商品组名称(品种)",
  19424. "type": "string"
  19425. },
  19426. "goodsid": {
  19427. "description": "商品ID",
  19428. "type": "integer"
  19429. },
  19430. "goodsname": {
  19431. "description": "商品名称(合约)",
  19432. "type": "string"
  19433. },
  19434. "goodunit": {
  19435. "description": "报价单位",
  19436. "type": "string"
  19437. },
  19438. "marketid": {
  19439. "description": "市场ID",
  19440. "type": "integer"
  19441. },
  19442. "orderid": {
  19443. "description": "委托单号",
  19444. "type": "string"
  19445. },
  19446. "outgoodscode": {
  19447. "description": "商品代码(外部)",
  19448. "type": "string"
  19449. },
  19450. "relatedouttradeid": {
  19451. "description": "关联外部成交单ID",
  19452. "type": "string"
  19453. },
  19454. "remark": {
  19455. "description": "备注",
  19456. "type": "string"
  19457. },
  19458. "spotcontractid": {
  19459. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  19460. "type": "integer"
  19461. },
  19462. "spotcontractno": {
  19463. "description": "现货合同编号",
  19464. "type": "string"
  19465. },
  19466. "tradeid": {
  19467. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19468. "type": "string"
  19469. },
  19470. "tradeprice": {
  19471. "description": "成交价格",
  19472. "type": "number"
  19473. },
  19474. "tradeqty": {
  19475. "description": "成交数量",
  19476. "type": "integer"
  19477. },
  19478. "tradetime": {
  19479. "description": "成交时间",
  19480. "type": "string"
  19481. },
  19482. "updatetime": {
  19483. "description": "更新时间",
  19484. "type": "string"
  19485. }
  19486. }
  19487. },
  19488. "erms2.QuerySpotContractRsp": {
  19489. "type": "object",
  19490. "required": [
  19491. "spotcontractid"
  19492. ],
  19493. "properties": {
  19494. "accountid": {
  19495. "description": "资金账户ID",
  19496. "type": "integer"
  19497. },
  19498. "areauserid": {
  19499. "description": "所属机构",
  19500. "type": "integer"
  19501. },
  19502. "closedate": {
  19503. "description": "终止日期",
  19504. "type": "string"
  19505. },
  19506. "closeremark": {
  19507. "description": "结束备注",
  19508. "type": "string"
  19509. },
  19510. "closetradedate": {
  19511. "description": "完结交易日(yyyyMMdd)",
  19512. "type": "string"
  19513. },
  19514. "closetype": {
  19515. "description": "终止类型 - 1:违约 2:提前终止",
  19516. "type": "integer"
  19517. },
  19518. "contractamount": {
  19519. "description": "合同金额",
  19520. "type": "number"
  19521. },
  19522. "contractattachment": {
  19523. "description": "合同附件",
  19524. "type": "string"
  19525. },
  19526. "contractno": {
  19527. "description": "现货合同编号",
  19528. "type": "string"
  19529. },
  19530. "contractqty": {
  19531. "description": "合同数量(数值) (用于计算)",
  19532. "type": "number"
  19533. },
  19534. "contractqtychar": {
  19535. "description": "合同数量\\已订价数量 (用于显示)",
  19536. "type": "string"
  19537. },
  19538. "contractstatus": {
  19539. "description": "合同状态 - 0:未结束 1:已结束",
  19540. "type": "integer"
  19541. },
  19542. "contracttype": {
  19543. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  19544. "type": "integer"
  19545. },
  19546. "customeraccountid": {
  19547. "description": "客户资金账户ID",
  19548. "type": "integer"
  19549. },
  19550. "customeruserid": {
  19551. "description": "客户ID",
  19552. "type": "integer"
  19553. },
  19554. "deliverygoodsdesc": {
  19555. "description": "品种说明",
  19556. "type": "string"
  19557. },
  19558. "deliverygoodsid": {
  19559. "description": "现货品种ID",
  19560. "type": "integer"
  19561. },
  19562. "handlestatus": {
  19563. "description": "处理状态",
  19564. "type": "integer"
  19565. },
  19566. "invoiceatt": {
  19567. "description": "发票附件",
  19568. "type": "string"
  19569. },
  19570. "invoicedatetime": {
  19571. "description": "开收票更新时间",
  19572. "type": "string"
  19573. },
  19574. "invoiceopentime": {
  19575. "description": "开票时间",
  19576. "type": "string"
  19577. },
  19578. "invoiceremark": {
  19579. "description": "发票备注",
  19580. "type": "string"
  19581. },
  19582. "invoicestatus": {
  19583. "description": "开收票状态 - 0:未开票 1:已开票",
  19584. "type": "integer"
  19585. },
  19586. "lastdate": {
  19587. "description": "交货时间",
  19588. "type": "string"
  19589. },
  19590. "marketid": {
  19591. "description": "市场ID",
  19592. "type": "integer"
  19593. },
  19594. "paydatetime": {
  19595. "description": "收付款更新时间",
  19596. "type": "string"
  19597. },
  19598. "payremark": {
  19599. "description": "收付款备注",
  19600. "type": "string"
  19601. },
  19602. "paystatus": {
  19603. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  19604. "type": "integer"
  19605. },
  19606. "positionqty": {
  19607. "description": "头寸数量 - 合同数量去小数部分",
  19608. "type": "integer"
  19609. },
  19610. "producttype": {
  19611. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  19612. "type": "integer"
  19613. },
  19614. "relatedqty": {
  19615. "description": "已关联数量",
  19616. "type": "number"
  19617. },
  19618. "relatedstatus": {
  19619. "description": "关联完结状态 - 0:未结束 1:已结束",
  19620. "type": "integer"
  19621. },
  19622. "remark": {
  19623. "description": "备注",
  19624. "type": "string"
  19625. },
  19626. "signdate": {
  19627. "description": "签订日期",
  19628. "type": "string"
  19629. },
  19630. "spotcontractid": {
  19631. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  19632. "type": "string"
  19633. },
  19634. "spotdatetime": {
  19635. "description": "收发货更新时间",
  19636. "type": "string"
  19637. },
  19638. "spotprice": {
  19639. "description": "价格",
  19640. "type": "number"
  19641. },
  19642. "spotremark": {
  19643. "description": "收发货备注",
  19644. "type": "string"
  19645. },
  19646. "spotstatus": {
  19647. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  19648. "type": "integer"
  19649. },
  19650. "tradedate": {
  19651. "description": "交易日(yyyyMMdd)",
  19652. "type": "string"
  19653. },
  19654. "userid": {
  19655. "description": "业务员用户ID",
  19656. "type": "integer"
  19657. },
  19658. "warehouseid": {
  19659. "description": "仓库ID",
  19660. "type": "integer"
  19661. },
  19662. "wrfactortypeid": {
  19663. "description": "仓单要素类型ID",
  19664. "type": "integer"
  19665. },
  19666. "wrstandardid": {
  19667. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  19668. "type": "integer"
  19669. }
  19670. }
  19671. },
  19672. "erms3.AddErms2ASApplyReq": {
  19673. "type": "object",
  19674. "required": [
  19675. "asapplyid"
  19676. ],
  19677. "properties": {
  19678. "applybasis": {
  19679. "description": "申请基差",
  19680. "type": "number"
  19681. },
  19682. "applystatus": {
  19683. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19684. "type": "integer"
  19685. },
  19686. "asapplyid": {
  19687. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  19688. "type": "integer"
  19689. },
  19690. "asname": {
  19691. "description": "策略名称",
  19692. "type": "string"
  19693. },
  19694. "asno": {
  19695. "description": "策略编号",
  19696. "type": "string"
  19697. },
  19698. "auditid": {
  19699. "description": "审核人",
  19700. "type": "integer"
  19701. },
  19702. "auditremark": {
  19703. "description": "审核备注",
  19704. "type": "string"
  19705. },
  19706. "audittime": {
  19707. "description": "审核时间",
  19708. "type": "string"
  19709. },
  19710. "biztype": {
  19711. "description": "业务类型 - 1:正向套利 2:反向套利",
  19712. "type": "integer"
  19713. },
  19714. "createtime": {
  19715. "description": "创建时间",
  19716. "type": "string"
  19717. },
  19718. "creatorid": {
  19719. "description": "创建人",
  19720. "type": "integer"
  19721. },
  19722. "deliverygoodsid": {
  19723. "description": "现货品种ID",
  19724. "type": "integer"
  19725. },
  19726. "futurequote": {
  19727. "description": "期货额度",
  19728. "type": "number"
  19729. },
  19730. "goodsgroupid": {
  19731. "description": "期货品种ID",
  19732. "type": "integer"
  19733. },
  19734. "marketid": {
  19735. "description": "市场ID",
  19736. "type": "integer"
  19737. },
  19738. "remark": {
  19739. "description": "备注",
  19740. "type": "string"
  19741. },
  19742. "spotquota": {
  19743. "description": "现货额度",
  19744. "type": "number"
  19745. },
  19746. "tradedate": {
  19747. "description": "交易日(yyyyMMdd)",
  19748. "type": "string"
  19749. },
  19750. "userid": {
  19751. "description": "所属机构",
  19752. "type": "integer"
  19753. }
  19754. }
  19755. },
  19756. "erms3.AddErms2SpotTradeApplyReq": {
  19757. "type": "object",
  19758. "required": [
  19759. "spottradeid"
  19760. ],
  19761. "properties": {
  19762. "applyjsondetail": {
  19763. "description": "申请明细(JSON)",
  19764. "type": "string"
  19765. },
  19766. "applystatus": {
  19767. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19768. "type": "integer"
  19769. },
  19770. "areauserid": {
  19771. "description": "所属机构",
  19772. "type": "integer"
  19773. },
  19774. "auditid": {
  19775. "description": "审核人",
  19776. "type": "integer"
  19777. },
  19778. "auditremark": {
  19779. "description": "审核备注",
  19780. "type": "string"
  19781. },
  19782. "audittime": {
  19783. "description": "审核时间",
  19784. "type": "string"
  19785. },
  19786. "createtime": {
  19787. "description": "创建时间",
  19788. "type": "string"
  19789. },
  19790. "creatorid": {
  19791. "description": "创建人",
  19792. "type": "integer"
  19793. },
  19794. "deliverygoodsid": {
  19795. "description": "现货品种ID",
  19796. "type": "integer"
  19797. },
  19798. "futureaccountid": {
  19799. "description": "期货资金账户",
  19800. "type": "integer"
  19801. },
  19802. "goodsgroupid": {
  19803. "description": "期货品种",
  19804. "type": "integer"
  19805. },
  19806. "marketid": {
  19807. "description": "市场ID",
  19808. "type": "integer"
  19809. },
  19810. "remark": {
  19811. "description": "备注",
  19812. "type": "string"
  19813. },
  19814. "spotaccountid": {
  19815. "description": "现货资金账户",
  19816. "type": "integer"
  19817. },
  19818. "spottradeid": {
  19819. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  19820. "type": "integer"
  19821. },
  19822. "spottradename": {
  19823. "description": "业务名称",
  19824. "type": "string"
  19825. },
  19826. "spottradeno": {
  19827. "description": "业务编号",
  19828. "type": "string"
  19829. },
  19830. "tradedate": {
  19831. "description": "交易日(yyyyMMdd)",
  19832. "type": "string"
  19833. },
  19834. "wrstandardid": {
  19835. "description": "仓单标准ID",
  19836. "type": "integer"
  19837. }
  19838. }
  19839. },
  19840. "erms3.AddSpotContractApplyReq": {
  19841. "type": "object",
  19842. "required": [
  19843. "accountid",
  19844. "areauserid",
  19845. "contractno",
  19846. "contracttype",
  19847. "customeraccountid",
  19848. "customeruserid",
  19849. "details",
  19850. "orimargin",
  19851. "signdate"
  19852. ],
  19853. "properties": {
  19854. "accountid": {
  19855. "description": "资金账户ID",
  19856. "type": "integer"
  19857. },
  19858. "areauserid": {
  19859. "description": "所属机构",
  19860. "type": "integer"
  19861. },
  19862. "contractattachment": {
  19863. "description": "合同附件",
  19864. "type": "string"
  19865. },
  19866. "contractno": {
  19867. "description": "现货合同编号",
  19868. "type": "string"
  19869. },
  19870. "contracttype": {
  19871. "description": "现货合同类型 - 1:采购 -1:销售",
  19872. "type": "integer"
  19873. },
  19874. "creatorid": {
  19875. "description": "申请人",
  19876. "type": "integer"
  19877. },
  19878. "customeraccountid": {
  19879. "description": "客户资金账户ID",
  19880. "type": "integer"
  19881. },
  19882. "customeruserid": {
  19883. "description": "客户ID",
  19884. "type": "integer"
  19885. },
  19886. "details": {
  19887. "description": "明细",
  19888. "type": "array",
  19889. "items": {
  19890. "$ref": "#/definitions/erms3.SoptContractDetail"
  19891. }
  19892. },
  19893. "orimargin": {
  19894. "description": "初始保证金",
  19895. "type": "number"
  19896. },
  19897. "remark": {
  19898. "description": "备注",
  19899. "type": "string"
  19900. },
  19901. "signdate": {
  19902. "description": "签订日期",
  19903. "type": "string"
  19904. }
  19905. }
  19906. },
  19907. "erms3.AddSpotContractApplyRsp": {
  19908. "type": "object",
  19909. "required": [
  19910. "contractno"
  19911. ],
  19912. "properties": {
  19913. "contractno": {
  19914. "description": "现货合同编号",
  19915. "type": "string"
  19916. },
  19917. "spotcontractid": {
  19918. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  19919. "type": "integer"
  19920. }
  19921. }
  19922. },
  19923. "erms3.AddUserInfoApplyReq": {
  19924. "type": "object",
  19925. "required": [
  19926. "userid"
  19927. ],
  19928. "properties": {
  19929. "accountid": {
  19930. "description": "交易系统帐号Id (加密存储)",
  19931. "type": "integer"
  19932. },
  19933. "areacode": {
  19934. "description": "机构代码",
  19935. "type": "string"
  19936. },
  19937. "areaid": {
  19938. "description": "机构Id",
  19939. "type": "integer"
  19940. },
  19941. "attachment1": {
  19942. "description": "附件1",
  19943. "type": "string"
  19944. },
  19945. "attachment2": {
  19946. "description": "附件2",
  19947. "type": "string"
  19948. },
  19949. "attachment3": {
  19950. "description": "附件3",
  19951. "type": "string"
  19952. },
  19953. "attachment4": {
  19954. "description": "附件4",
  19955. "type": "string"
  19956. },
  19957. "attachment5": {
  19958. "description": "附件5",
  19959. "type": "string"
  19960. },
  19961. "auditedby": {
  19962. "description": "审核人",
  19963. "type": "string"
  19964. },
  19965. "auditime": {
  19966. "description": "审核时间",
  19967. "type": "string"
  19968. },
  19969. "auditsrc": {
  19970. "description": "审核来源 - 1:管理端 2:终端",
  19971. "type": "integer"
  19972. },
  19973. "bankaccount": {
  19974. "description": "银行帐号 (加密存储)",
  19975. "type": "string"
  19976. },
  19977. "bankaccountname": {
  19978. "description": "收款人名称",
  19979. "type": "string"
  19980. },
  19981. "bankcardbackphotourl": {
  19982. "description": "银行卡背面照地址",
  19983. "type": "string"
  19984. },
  19985. "bankcardfrontphotourl": {
  19986. "description": "银行卡正面照地址",
  19987. "type": "string"
  19988. },
  19989. "bankid": {
  19990. "description": "银行编码",
  19991. "type": "string"
  19992. },
  19993. "bankname": {
  19994. "description": "银行名称",
  19995. "type": "string"
  19996. },
  19997. "bankpictureurl": {
  19998. "description": "银行卡正面地址",
  19999. "type": "string"
  20000. },
  20001. "biznature": {
  20002. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20003. "type": "integer"
  20004. },
  20005. "bizscope": {
  20006. "description": "企业经营范围(企业)",
  20007. "type": "string"
  20008. },
  20009. "biztype": {
  20010. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  20011. "type": "integer"
  20012. },
  20013. "brokerid": {
  20014. "description": "经纪人ID(加密存储)",
  20015. "type": "string"
  20016. },
  20017. "cardaddress": {
  20018. "description": "证件地址 (加密存储)",
  20019. "type": "string"
  20020. },
  20021. "cardbackphotourl": {
  20022. "description": "背面证件照地址",
  20023. "type": "string"
  20024. },
  20025. "cardfrontphotourl": {
  20026. "description": "正面证件照地址",
  20027. "type": "string"
  20028. },
  20029. "cardnum": {
  20030. "description": "证件号码 (加密存储)",
  20031. "type": "string"
  20032. },
  20033. "cardtype": {
  20034. "description": "证件类型",
  20035. "type": "integer"
  20036. },
  20037. "cityid": {
  20038. "description": "市",
  20039. "type": "integer"
  20040. },
  20041. "company": {
  20042. "description": "公司(个人)",
  20043. "type": "string"
  20044. },
  20045. "contactcardbackphotourl": {
  20046. "description": "联系人证件背面图片地址",
  20047. "type": "string"
  20048. },
  20049. "contactcardfrontphotourl": {
  20050. "description": "联系人证件正面图片地址",
  20051. "type": "string"
  20052. },
  20053. "contactname": {
  20054. "description": "联系人",
  20055. "type": "string"
  20056. },
  20057. "countryid": {
  20058. "description": "国家",
  20059. "type": "integer"
  20060. },
  20061. "createtime": {
  20062. "description": "开户申请时间",
  20063. "type": "string"
  20064. },
  20065. "cusbankid": {
  20066. "description": "签约类型",
  20067. "type": "string"
  20068. },
  20069. "cusbankname": {
  20070. "description": "签约类型名称",
  20071. "type": "string"
  20072. },
  20073. "customername": {
  20074. "description": "客户名称(企业名称)",
  20075. "type": "string"
  20076. },
  20077. "districtid": {
  20078. "description": "地区",
  20079. "type": "integer"
  20080. },
  20081. "email": {
  20082. "description": "Email地址(加密存储)",
  20083. "type": "string"
  20084. },
  20085. "halfbodyphotourl": {
  20086. "description": "半身照地址",
  20087. "type": "string"
  20088. },
  20089. "headurl": {
  20090. "description": "头像地址",
  20091. "type": "string"
  20092. },
  20093. "ipaddress": {
  20094. "description": "IP地址",
  20095. "type": "string"
  20096. },
  20097. "isvalidate": {
  20098. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  20099. "type": "string"
  20100. },
  20101. "legalcardbackphotourl": {
  20102. "description": "法人身份证背面照地址",
  20103. "type": "string"
  20104. },
  20105. "legalcardfrontphotourl": {
  20106. "description": "法人身份证正面照地址",
  20107. "type": "string"
  20108. },
  20109. "legalpersonname": {
  20110. "description": "法人姓名(企业)",
  20111. "type": "string"
  20112. },
  20113. "logincode": {
  20114. "description": "登录帐号 (加密存储)",
  20115. "type": "string"
  20116. },
  20117. "memberareaid": {
  20118. "description": "所属会员ID",
  20119. "type": "integer"
  20120. },
  20121. "mobile2": {
  20122. "description": "手机号码[明文-尚志]",
  20123. "type": "string"
  20124. },
  20125. "mobilephone": {
  20126. "description": "手机号码 (加密存储)",
  20127. "type": "string"
  20128. },
  20129. "modifiedby": {
  20130. "description": "修改人帐号",
  20131. "type": "integer"
  20132. },
  20133. "modifiedtime": {
  20134. "description": "修改时间",
  20135. "type": "string"
  20136. },
  20137. "nickname": {
  20138. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  20139. "type": "string"
  20140. },
  20141. "openmode": {
  20142. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  20143. "type": "integer"
  20144. },
  20145. "otherurl": {
  20146. "description": "其它图片地址[使用分号分隔]",
  20147. "type": "string"
  20148. },
  20149. "postalcode": {
  20150. "description": "邮政编码",
  20151. "type": "string"
  20152. },
  20153. "provinceid": {
  20154. "description": "省",
  20155. "type": "integer"
  20156. },
  20157. "proxystatementurl": {
  20158. "description": "授权委托书",
  20159. "type": "string"
  20160. },
  20161. "qq": {
  20162. "description": "QQ(加密存储",
  20163. "type": "string"
  20164. },
  20165. "referral": {
  20166. "description": "推荐人编码",
  20167. "type": "string"
  20168. },
  20169. "remark": {
  20170. "description": "备注",
  20171. "type": "string"
  20172. },
  20173. "removebeforestatus": {
  20174. "description": "REMOVEBEFORESTATUS",
  20175. "type": "integer"
  20176. },
  20177. "sex": {
  20178. "description": "性别 - 0:女 1:男",
  20179. "type": "integer"
  20180. },
  20181. "signedstatus": {
  20182. "description": "账户一号签签约状态",
  20183. "type": "integer"
  20184. },
  20185. "signpdfurl": {
  20186. "description": "签约pdf文件",
  20187. "type": "string"
  20188. },
  20189. "subbranch": {
  20190. "description": "开户支行",
  20191. "type": "string"
  20192. },
  20193. "taxpayernum": {
  20194. "description": "纳税人识别号",
  20195. "type": "string"
  20196. },
  20197. "telphone": {
  20198. "description": "联系电话(加密存储)",
  20199. "type": "string"
  20200. },
  20201. "userid": {
  20202. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  20203. "type": "integer"
  20204. },
  20205. "userinfotype": {
  20206. "description": "用户信息类型 - 1:个人 2:企业",
  20207. "type": "integer"
  20208. },
  20209. "username": {
  20210. "description": "用户姓名",
  20211. "type": "string"
  20212. },
  20213. "userstate": {
  20214. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20215. "type": "integer"
  20216. },
  20217. "usertype": {
  20218. "description": "用户类型 - 1:投资者 2:机构",
  20219. "type": "integer"
  20220. },
  20221. "videourl": {
  20222. "description": "视频地址",
  20223. "type": "string"
  20224. },
  20225. "wechat": {
  20226. "description": "微信号 (加密存储)",
  20227. "type": "string"
  20228. }
  20229. }
  20230. },
  20231. "erms3.CustomerInfo": {
  20232. "type": "object",
  20233. "required": [
  20234. "userid"
  20235. ],
  20236. "properties": {
  20237. "accountids": {
  20238. "description": "资金账户ID列表",
  20239. "type": "array",
  20240. "items": {
  20241. "type": "integer"
  20242. }
  20243. },
  20244. "customername": {
  20245. "description": "名称(企业名称)",
  20246. "type": "string"
  20247. },
  20248. "mobile": {
  20249. "description": "手机号码",
  20250. "type": "string"
  20251. },
  20252. "userid": {
  20253. "description": "用户ID",
  20254. "type": "integer"
  20255. }
  20256. }
  20257. },
  20258. "erms3.ModifyUserInfoApplyReq": {
  20259. "type": "object",
  20260. "required": [
  20261. "userid"
  20262. ],
  20263. "properties": {
  20264. "accountid": {
  20265. "description": "交易系统帐号Id (加密存储)",
  20266. "type": "integer"
  20267. },
  20268. "areacode": {
  20269. "description": "机构代码",
  20270. "type": "string"
  20271. },
  20272. "areaid": {
  20273. "description": "机构Id",
  20274. "type": "integer"
  20275. },
  20276. "attachment1": {
  20277. "description": "附件1",
  20278. "type": "string"
  20279. },
  20280. "attachment2": {
  20281. "description": "附件2",
  20282. "type": "string"
  20283. },
  20284. "attachment3": {
  20285. "description": "附件3",
  20286. "type": "string"
  20287. },
  20288. "attachment4": {
  20289. "description": "附件4",
  20290. "type": "string"
  20291. },
  20292. "attachment5": {
  20293. "description": "附件5",
  20294. "type": "string"
  20295. },
  20296. "auditedby": {
  20297. "description": "审核人",
  20298. "type": "string"
  20299. },
  20300. "auditime": {
  20301. "description": "审核时间",
  20302. "type": "string"
  20303. },
  20304. "auditsrc": {
  20305. "description": "审核来源 - 1:管理端 2:终端",
  20306. "type": "integer"
  20307. },
  20308. "bankaccount": {
  20309. "description": "银行帐号 (加密存储)",
  20310. "type": "string"
  20311. },
  20312. "bankaccountname": {
  20313. "description": "收款人名称",
  20314. "type": "string"
  20315. },
  20316. "bankcardbackphotourl": {
  20317. "description": "银行卡背面照地址",
  20318. "type": "string"
  20319. },
  20320. "bankcardfrontphotourl": {
  20321. "description": "银行卡正面照地址",
  20322. "type": "string"
  20323. },
  20324. "bankid": {
  20325. "description": "银行编码",
  20326. "type": "string"
  20327. },
  20328. "bankname": {
  20329. "description": "银行名称",
  20330. "type": "string"
  20331. },
  20332. "bankpictureurl": {
  20333. "description": "银行卡正面地址",
  20334. "type": "string"
  20335. },
  20336. "biznature": {
  20337. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20338. "type": "integer"
  20339. },
  20340. "bizscope": {
  20341. "description": "企业经营范围(企业)",
  20342. "type": "string"
  20343. },
  20344. "biztype": {
  20345. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  20346. "type": "integer"
  20347. },
  20348. "brokerid": {
  20349. "description": "经纪人ID(加密存储)",
  20350. "type": "string"
  20351. },
  20352. "cardaddress": {
  20353. "description": "证件地址 (加密存储)",
  20354. "type": "string"
  20355. },
  20356. "cardbackphotourl": {
  20357. "description": "背面证件照地址",
  20358. "type": "string"
  20359. },
  20360. "cardfrontphotourl": {
  20361. "description": "正面证件照地址",
  20362. "type": "string"
  20363. },
  20364. "cardnum": {
  20365. "description": "证件号码 (加密存储)",
  20366. "type": "string"
  20367. },
  20368. "cardtype": {
  20369. "description": "证件类型",
  20370. "type": "integer"
  20371. },
  20372. "cityid": {
  20373. "description": "市",
  20374. "type": "integer"
  20375. },
  20376. "company": {
  20377. "description": "公司(个人)",
  20378. "type": "string"
  20379. },
  20380. "contactcardbackphotourl": {
  20381. "description": "联系人证件背面图片地址",
  20382. "type": "string"
  20383. },
  20384. "contactcardfrontphotourl": {
  20385. "description": "联系人证件正面图片地址",
  20386. "type": "string"
  20387. },
  20388. "contactname": {
  20389. "description": "联系人",
  20390. "type": "string"
  20391. },
  20392. "countryid": {
  20393. "description": "国家",
  20394. "type": "integer"
  20395. },
  20396. "createtime": {
  20397. "description": "开户申请时间",
  20398. "type": "string"
  20399. },
  20400. "cusbankid": {
  20401. "description": "签约类型",
  20402. "type": "string"
  20403. },
  20404. "cusbankname": {
  20405. "description": "签约类型名称",
  20406. "type": "string"
  20407. },
  20408. "customername": {
  20409. "description": "客户名称(企业名称)",
  20410. "type": "string"
  20411. },
  20412. "districtid": {
  20413. "description": "地区",
  20414. "type": "integer"
  20415. },
  20416. "email": {
  20417. "description": "Email地址(加密存储)",
  20418. "type": "string"
  20419. },
  20420. "halfbodyphotourl": {
  20421. "description": "半身照地址",
  20422. "type": "string"
  20423. },
  20424. "headurl": {
  20425. "description": "头像地址",
  20426. "type": "string"
  20427. },
  20428. "ipaddress": {
  20429. "description": "IP地址",
  20430. "type": "string"
  20431. },
  20432. "isvalidate": {
  20433. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  20434. "type": "string"
  20435. },
  20436. "legalcardbackphotourl": {
  20437. "description": "法人身份证背面照地址",
  20438. "type": "string"
  20439. },
  20440. "legalcardfrontphotourl": {
  20441. "description": "法人身份证正面照地址",
  20442. "type": "string"
  20443. },
  20444. "legalpersonname": {
  20445. "description": "法人姓名(企业)",
  20446. "type": "string"
  20447. },
  20448. "logincode": {
  20449. "description": "登录帐号 (加密存储)",
  20450. "type": "string"
  20451. },
  20452. "memberareaid": {
  20453. "description": "所属会员ID",
  20454. "type": "integer"
  20455. },
  20456. "mobile2": {
  20457. "description": "手机号码[明文-尚志]",
  20458. "type": "string"
  20459. },
  20460. "mobilephone": {
  20461. "description": "手机号码 (加密存储)",
  20462. "type": "string"
  20463. },
  20464. "modifiedby": {
  20465. "description": "修改人帐号",
  20466. "type": "integer"
  20467. },
  20468. "modifiedtime": {
  20469. "description": "修改时间",
  20470. "type": "string"
  20471. },
  20472. "nickname": {
  20473. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  20474. "type": "string"
  20475. },
  20476. "openmode": {
  20477. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  20478. "type": "integer"
  20479. },
  20480. "otherurl": {
  20481. "description": "其它图片地址[使用分号分隔]",
  20482. "type": "string"
  20483. },
  20484. "postalcode": {
  20485. "description": "邮政编码",
  20486. "type": "string"
  20487. },
  20488. "provinceid": {
  20489. "description": "省",
  20490. "type": "integer"
  20491. },
  20492. "proxystatementurl": {
  20493. "description": "授权委托书",
  20494. "type": "string"
  20495. },
  20496. "qq": {
  20497. "description": "QQ(加密存储",
  20498. "type": "string"
  20499. },
  20500. "referral": {
  20501. "description": "推荐人编码",
  20502. "type": "string"
  20503. },
  20504. "remark": {
  20505. "description": "备注",
  20506. "type": "string"
  20507. },
  20508. "removebeforestatus": {
  20509. "description": "REMOVEBEFORESTATUS",
  20510. "type": "integer"
  20511. },
  20512. "sex": {
  20513. "description": "性别 - 0:女 1:男",
  20514. "type": "integer"
  20515. },
  20516. "signedstatus": {
  20517. "description": "账户一号签签约状态",
  20518. "type": "integer"
  20519. },
  20520. "signpdfurl": {
  20521. "description": "签约pdf文件",
  20522. "type": "string"
  20523. },
  20524. "subbranch": {
  20525. "description": "开户支行",
  20526. "type": "string"
  20527. },
  20528. "taxpayernum": {
  20529. "description": "纳税人识别号",
  20530. "type": "string"
  20531. },
  20532. "telphone": {
  20533. "description": "联系电话(加密存储)",
  20534. "type": "string"
  20535. },
  20536. "userid": {
  20537. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  20538. "type": "integer"
  20539. },
  20540. "userinfotype": {
  20541. "description": "用户信息类型 - 1:个人 2:企业",
  20542. "type": "integer"
  20543. },
  20544. "username": {
  20545. "description": "用户姓名",
  20546. "type": "string"
  20547. },
  20548. "userstate": {
  20549. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20550. "type": "integer"
  20551. },
  20552. "usertype": {
  20553. "description": "用户类型 - 1:投资者 2:机构",
  20554. "type": "integer"
  20555. },
  20556. "videourl": {
  20557. "description": "视频地址",
  20558. "type": "string"
  20559. },
  20560. "wechat": {
  20561. "description": "微信号 (加密存储)",
  20562. "type": "string"
  20563. }
  20564. }
  20565. },
  20566. "erms3.QryAuditContractRsp": {
  20567. "type": "object",
  20568. "required": [
  20569. "matchcustomername",
  20570. "spotcontractid"
  20571. ],
  20572. "properties": {
  20573. "accountid": {
  20574. "description": "交易员ID",
  20575. "type": "string"
  20576. },
  20577. "applystatus": {
  20578. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20579. "type": "integer"
  20580. },
  20581. "curdeliveryqty": {
  20582. "description": "未交收量",
  20583. "type": "integer"
  20584. },
  20585. "customername": {
  20586. "description": "采购方ID",
  20587. "type": "string"
  20588. },
  20589. "deliverygoodsid": {
  20590. "description": "品种ID",
  20591. "type": "string"
  20592. },
  20593. "deliveryqty": {
  20594. "description": "交收量",
  20595. "type": "integer"
  20596. },
  20597. "enumdicname": {
  20598. "description": "单位名称",
  20599. "type": "string"
  20600. },
  20601. "matchaccountid": {
  20602. "description": "业务员ID",
  20603. "type": "string"
  20604. },
  20605. "matchcustomername": {
  20606. "description": "销售方ID",
  20607. "type": "string"
  20608. },
  20609. "pricedqty": {
  20610. "description": "定价量",
  20611. "type": "number"
  20612. },
  20613. "signdate": {
  20614. "description": "签订日期",
  20615. "type": "string"
  20616. },
  20617. "spotcontractid": {
  20618. "description": "合同ID",
  20619. "type": "string"
  20620. },
  20621. "totaldqty": {
  20622. "description": "合同量",
  20623. "type": "number"
  20624. },
  20625. "unpricedqty": {
  20626. "description": "未定价量",
  20627. "type": "number"
  20628. },
  20629. "wrstandardname": {
  20630. "description": "商品名称",
  20631. "type": "string"
  20632. }
  20633. }
  20634. },
  20635. "erms3.QryPendingBizRsp": {
  20636. "type": "object",
  20637. "properties": {
  20638. "accountid": {
  20639. "description": "现货账户",
  20640. "type": "string"
  20641. },
  20642. "areaname": {
  20643. "description": "所属部门",
  20644. "type": "string"
  20645. },
  20646. "bizid": {
  20647. "description": "业务ID",
  20648. "type": "string"
  20649. },
  20650. "bizname": {
  20651. "description": "业务名称",
  20652. "type": "string"
  20653. },
  20654. "status": {
  20655. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20656. "type": "integer"
  20657. },
  20658. "type": {
  20659. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  20660. "type": "integer"
  20661. }
  20662. }
  20663. },
  20664. "erms3.QueryBusinessInfoRsp": {
  20665. "type": "object",
  20666. "properties": {
  20667. "businessid": {
  20668. "description": "业务ID.",
  20669. "type": "integer"
  20670. },
  20671. "buyamount": {
  20672. "description": "采购额.",
  20673. "type": "number"
  20674. },
  20675. "buyqty": {
  20676. "description": "采购量.",
  20677. "type": "string"
  20678. },
  20679. "futurepl": {
  20680. "description": "期货盈亏.",
  20681. "type": "number"
  20682. },
  20683. "futureqty": {
  20684. "description": "期货敞口.",
  20685. "type": "string"
  20686. },
  20687. "goodsid": {
  20688. "description": "商品名称/商品代码.",
  20689. "type": "string"
  20690. },
  20691. "hedgingqty": {
  20692. "description": "套保量.",
  20693. "type": "string"
  20694. },
  20695. "sellamount": {
  20696. "description": "销售额.",
  20697. "type": "number"
  20698. },
  20699. "sellqty": {
  20700. "description": "销售量.",
  20701. "type": "string"
  20702. },
  20703. "spotmarketvalue": {
  20704. "description": "现货市值.",
  20705. "type": "number"
  20706. },
  20707. "spotpl": {
  20708. "description": "浮动权益.",
  20709. "type": "number"
  20710. },
  20711. "spotqty": {
  20712. "description": "现货量.",
  20713. "type": "string"
  20714. },
  20715. "statu": {
  20716. "description": "状态,0-未结束 1-已结束.",
  20717. "type": "integer"
  20718. },
  20719. "totalpl": {
  20720. "description": "总盈亏.",
  20721. "type": "number"
  20722. },
  20723. "totalqty": {
  20724. "description": "总敞口.",
  20725. "type": "string"
  20726. },
  20727. "type": {
  20728. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  20729. "type": "integer"
  20730. }
  20731. }
  20732. },
  20733. "erms3.QuerySpotContractAppleFormRsp": {
  20734. "type": "object",
  20735. "properties": {
  20736. "goodses": {
  20737. "description": "合约列表",
  20738. "type": "array",
  20739. "items": {
  20740. "$ref": "#/definitions/models.GoodsIDAndName"
  20741. }
  20742. },
  20743. "oppositeusers": {
  20744. "description": "对方账号列表",
  20745. "type": "array",
  20746. "items": {
  20747. "$ref": "#/definitions/erms3.CustomerInfo"
  20748. }
  20749. },
  20750. "ouruser": {
  20751. "description": "我方账号",
  20752. "$ref": "#/definitions/erms3.CustomerInfo"
  20753. },
  20754. "warehouseinfos": {
  20755. "description": "仓库信息列表",
  20756. "type": "array",
  20757. "items": {
  20758. "$ref": "#/definitions/models.Warehouseinfo"
  20759. }
  20760. },
  20761. "wrstandards": {
  20762. "description": "仓单标准列表",
  20763. "type": "array",
  20764. "items": {
  20765. "$ref": "#/definitions/models.WRStandardInfo"
  20766. }
  20767. }
  20768. }
  20769. },
  20770. "erms3.QuerySpotContractInfoRsp": {
  20771. "type": "object",
  20772. "properties": {
  20773. "accountid": {
  20774. "description": "表示交易员ID.",
  20775. "type": "integer"
  20776. },
  20777. "curdeliveryqty": {
  20778. "description": "表示未交收量.",
  20779. "type": "number"
  20780. },
  20781. "customername": {
  20782. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  20783. "type": "string"
  20784. },
  20785. "deliverygoodsid": {
  20786. "description": "表示品种ID.",
  20787. "type": "string"
  20788. },
  20789. "deliveryqty": {
  20790. "description": "表示交收量.",
  20791. "type": "number"
  20792. },
  20793. "matchaccountid": {
  20794. "description": "表示业务员ID.",
  20795. "type": "integer"
  20796. },
  20797. "matchcustomername": {
  20798. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  20799. "type": "string"
  20800. },
  20801. "priceqty": {
  20802. "description": "表示定价量.",
  20803. "type": "number"
  20804. },
  20805. "relatedbizid": {
  20806. "description": "表示业务ID.",
  20807. "type": "string"
  20808. },
  20809. "signdate": {
  20810. "description": "表示签订日期.",
  20811. "type": "string"
  20812. },
  20813. "spotcontractid": {
  20814. "description": "合同ID",
  20815. "type": "string"
  20816. },
  20817. "status": {
  20818. "description": "表示状态,0-履约中 1-已完成.",
  20819. "type": "integer"
  20820. },
  20821. "totalqty": {
  20822. "description": "表示合同量.",
  20823. "type": "number"
  20824. },
  20825. "unpricedqty": {
  20826. "description": "表示未定价量.",
  20827. "type": "number"
  20828. },
  20829. "wrstandardname": {
  20830. "description": "表示商品ID.",
  20831. "type": "string"
  20832. }
  20833. }
  20834. },
  20835. "erms3.QueryUserInfoAppliesRsp": {
  20836. "type": "object",
  20837. "required": [
  20838. "userid"
  20839. ],
  20840. "properties": {
  20841. "biznature": {
  20842. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20843. "type": "integer"
  20844. },
  20845. "contactname": {
  20846. "description": "联系人",
  20847. "type": "string"
  20848. },
  20849. "createtime": {
  20850. "description": "开户申请时间",
  20851. "type": "string"
  20852. },
  20853. "userid": {
  20854. "description": "用户ID(自增ID)",
  20855. "type": "integer"
  20856. },
  20857. "userinfotype": {
  20858. "description": "用户信息类型 - 1:个人 2:企业",
  20859. "type": "integer"
  20860. },
  20861. "username": {
  20862. "description": "用户姓名",
  20863. "type": "string"
  20864. },
  20865. "userstate": {
  20866. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20867. "type": "integer"
  20868. }
  20869. }
  20870. },
  20871. "erms3.QueryUserInfosRsp": {
  20872. "type": "object",
  20873. "required": [
  20874. "userid"
  20875. ],
  20876. "properties": {
  20877. "biznature": {
  20878. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20879. "type": "integer"
  20880. },
  20881. "contactname": {
  20882. "description": "联系人",
  20883. "type": "string"
  20884. },
  20885. "customername": {
  20886. "description": "客户名称(企业名称)",
  20887. "type": "string"
  20888. },
  20889. "userid": {
  20890. "description": "用户ID",
  20891. "type": "integer"
  20892. },
  20893. "userinfotype": {
  20894. "description": "用户信息类型 - 1:个人 2:企业",
  20895. "type": "integer"
  20896. },
  20897. "userstatus": {
  20898. "description": "用户状态 - 1:正常 2:注销",
  20899. "type": "integer"
  20900. }
  20901. }
  20902. },
  20903. "erms3.SoptContractDetail": {
  20904. "type": "object",
  20905. "required": [
  20906. "deliverygoodsid",
  20907. "producttype",
  20908. "unitname",
  20909. "warehouseid",
  20910. "wrstandardid",
  20911. "wrstandardname"
  20912. ],
  20913. "properties": {
  20914. "deliverygoodsdesc": {
  20915. "description": "现货品种说明",
  20916. "type": "string"
  20917. },
  20918. "deliverygoodsid": {
  20919. "description": "现货品种ID",
  20920. "type": "integer"
  20921. },
  20922. "deliverygoodsname": {
  20923. "description": "现货品种名称",
  20924. "type": "string"
  20925. },
  20926. "pointdesc": {
  20927. "description": "点价描述",
  20928. "type": "string"
  20929. },
  20930. "producttype": {
  20931. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  20932. "type": "integer"
  20933. },
  20934. "producttypename": {
  20935. "description": "产品类型名称",
  20936. "type": "string"
  20937. },
  20938. "spotPointOrderVoList": {
  20939. "description": "点价列表",
  20940. "type": "array",
  20941. "items": {
  20942. "$ref": "#/definitions/erms3.SpotPointOrder"
  20943. }
  20944. },
  20945. "spotPriceOrderList": {
  20946. "description": "定价列表",
  20947. "type": "array",
  20948. "items": {
  20949. "$ref": "#/definitions/erms3.SpotPriceOrder"
  20950. }
  20951. },
  20952. "unitname": {
  20953. "description": "单位名称",
  20954. "type": "string"
  20955. },
  20956. "warehouseid": {
  20957. "description": "仓库ID",
  20958. "type": "integer"
  20959. },
  20960. "warehousename": {
  20961. "description": "仓库名称",
  20962. "type": "string"
  20963. },
  20964. "wrstandardid": {
  20965. "description": "交易标的ID",
  20966. "type": "integer"
  20967. },
  20968. "wrstandardname": {
  20969. "description": "交易标的名称",
  20970. "type": "string"
  20971. }
  20972. }
  20973. },
  20974. "erms3.SpotPointOrder": {
  20975. "type": "object",
  20976. "required": [
  20977. "basic",
  20978. "goodsid",
  20979. "qty"
  20980. ],
  20981. "properties": {
  20982. "basic": {
  20983. "description": "基差",
  20984. "type": "number"
  20985. },
  20986. "deliveryenddate": {
  20987. "description": "交收结束日期",
  20988. "type": "string"
  20989. },
  20990. "deliverystartdate": {
  20991. "description": "交收开始日期",
  20992. "type": "string"
  20993. },
  20994. "enddate": {
  20995. "description": "点价结束日期",
  20996. "type": "string"
  20997. },
  20998. "goodsid": {
  20999. "description": "商品ID",
  21000. "type": "integer"
  21001. },
  21002. "goodsname": {
  21003. "description": "商品名称",
  21004. "type": "string"
  21005. },
  21006. "qty": {
  21007. "description": "数量",
  21008. "type": "number"
  21009. },
  21010. "startdate": {
  21011. "description": "点价开始日期",
  21012. "type": "string"
  21013. }
  21014. }
  21015. },
  21016. "erms3.SpotPriceOrder": {
  21017. "type": "object",
  21018. "required": [
  21019. "amount",
  21020. "price",
  21021. "qty"
  21022. ],
  21023. "properties": {
  21024. "amount": {
  21025. "description": "金额",
  21026. "type": "number"
  21027. },
  21028. "deliveryenddate": {
  21029. "description": "交收结束日期",
  21030. "type": "string"
  21031. },
  21032. "deliverystartdate": {
  21033. "description": "交收开始日期",
  21034. "type": "string"
  21035. },
  21036. "price": {
  21037. "description": "价格",
  21038. "type": "number"
  21039. },
  21040. "qty": {
  21041. "description": "数量",
  21042. "type": "number"
  21043. }
  21044. }
  21045. },
  21046. "hsby.GetHsbyMyCountRsp": {
  21047. "type": "object",
  21048. "properties": {
  21049. "myCouponCount": {
  21050. "description": "我的优惠卷数量",
  21051. "type": "integer"
  21052. },
  21053. "myOrderDetailListingCount": {
  21054. "description": "我的订单求购中数量",
  21055. "type": "integer"
  21056. },
  21057. "myOrderDetailPreCount": {
  21058. "description": "我的订单抢购中数量",
  21059. "type": "integer"
  21060. },
  21061. "myPackageUnReceiveCount": {
  21062. "description": "我的包裹待收货数量",
  21063. "type": "integer"
  21064. },
  21065. "myPackageUnSendCount": {
  21066. "description": "我的包裹待发货数量",
  21067. "type": "integer"
  21068. },
  21069. "myPayOrderCount": {
  21070. "description": "我的订单待付款数量",
  21071. "type": "integer"
  21072. }
  21073. }
  21074. },
  21075. "hsby.QueryProvincesAndCitiesRsp": {
  21076. "type": "object",
  21077. "properties": {
  21078. "cities": {
  21079. "description": "市",
  21080. "type": "array",
  21081. "items": {
  21082. "$ref": "#/definitions/models.Division"
  21083. }
  21084. },
  21085. "province": {
  21086. "description": "省",
  21087. "$ref": "#/definitions/models.Division"
  21088. }
  21089. }
  21090. },
  21091. "models.Arearole": {
  21092. "type": "object",
  21093. "required": [
  21094. "roletype",
  21095. "userid"
  21096. ],
  21097. "properties": {
  21098. "createtime": {
  21099. "description": "创建时间",
  21100. "type": "string"
  21101. },
  21102. "creatorid": {
  21103. "description": "创建人ID",
  21104. "type": "integer"
  21105. },
  21106. "fromuserid": {
  21107. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  21108. "type": "integer"
  21109. },
  21110. "isreturnscore": {
  21111. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  21112. "type": "integer"
  21113. },
  21114. "modifierid": {
  21115. "description": "修改人ID",
  21116. "type": "integer"
  21117. },
  21118. "modifytime": {
  21119. "description": "修改时间",
  21120. "type": "string"
  21121. },
  21122. "orgtype": {
  21123. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  21124. "type": "integer"
  21125. },
  21126. "outuserid": {
  21127. "description": "外部账户[场外期权做市商]",
  21128. "type": "string"
  21129. },
  21130. "parentuserid": {
  21131. "description": "上级组织机构(组织机构)",
  21132. "type": "integer"
  21133. },
  21134. "roletype": {
  21135. "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:门店",
  21136. "type": "integer"
  21137. },
  21138. "rootuserid": {
  21139. "description": "顶级组织机构用户ID(组织机构)",
  21140. "type": "integer"
  21141. },
  21142. "shoppassword": {
  21143. "description": "商城店铺登陆密码(商城店铺角色使用)",
  21144. "type": "string"
  21145. },
  21146. "sublevelpath": {
  21147. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  21148. "type": "string"
  21149. },
  21150. "suborgtype": {
  21151. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  21152. "type": "integer"
  21153. },
  21154. "tradeaccountid": {
  21155. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  21156. "type": "integer"
  21157. },
  21158. "transurl": {
  21159. "description": "物流地址(物流机构)",
  21160. "type": "string"
  21161. },
  21162. "userid": {
  21163. "description": "机构用户ID其他做市关系,都设置为 1",
  21164. "type": "integer"
  21165. }
  21166. }
  21167. },
  21168. "models.Clientfixedadconfig": {
  21169. "type": "object",
  21170. "required": [
  21171. "adsort",
  21172. "adtype"
  21173. ],
  21174. "properties": {
  21175. "adsort": {
  21176. "description": "排序",
  21177. "type": "integer"
  21178. },
  21179. "adtype": {
  21180. "description": "广告位类型 - 1:新品抢购(HSBY)",
  21181. "type": "integer"
  21182. },
  21183. "areauserid": {
  21184. "description": "所属机构ID",
  21185. "type": "integer"
  21186. },
  21187. "createdate": {
  21188. "description": "创建时间",
  21189. "type": "string"
  21190. },
  21191. "creatorid": {
  21192. "description": "创建人",
  21193. "type": "integer"
  21194. },
  21195. "imagepath": {
  21196. "description": "图片",
  21197. "type": "string"
  21198. },
  21199. "isshow": {
  21200. "description": "是否展示 - 0:不展示 1:展示",
  21201. "type": "integer"
  21202. },
  21203. "modifierid": {
  21204. "description": "操作人",
  21205. "type": "integer"
  21206. },
  21207. "recsize": {
  21208. "description": "推荐尺寸",
  21209. "type": "string"
  21210. },
  21211. "title": {
  21212. "description": "标题",
  21213. "type": "string"
  21214. },
  21215. "updatedate": {
  21216. "description": "更新时间",
  21217. "type": "string"
  21218. },
  21219. "urlcontent": {
  21220. "description": "链接(地址或商品ID)",
  21221. "type": "string"
  21222. },
  21223. "urltype": {
  21224. "description": "链接类型 - 1:直接地址 2:商品ID",
  21225. "type": "integer"
  21226. }
  21227. }
  21228. },
  21229. "models.DgFactoryItem": {
  21230. "type": "object",
  21231. "properties": {
  21232. "dgfactoryitemid": {
  21233. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  21234. "type": "integer"
  21235. },
  21236. "dgfactoryitemtypeid": {
  21237. "description": "要素项类型",
  21238. "type": "integer"
  21239. },
  21240. "dgfactoryitemvalue": {
  21241. "description": "要素项值(类型为仓库时填写仓库名称)",
  21242. "type": "string"
  21243. },
  21244. "orderindex": {
  21245. "description": "顺序",
  21246. "type": "integer"
  21247. }
  21248. }
  21249. },
  21250. "models.Division": {
  21251. "type": "object",
  21252. "required": [
  21253. "autoid",
  21254. "divisioncode"
  21255. ],
  21256. "properties": {
  21257. "autoid": {
  21258. "description": "自增ID",
  21259. "type": "integer"
  21260. },
  21261. "divisioncode": {
  21262. "description": "行政代码",
  21263. "type": "string"
  21264. },
  21265. "divisionlevel": {
  21266. "description": "行政级别",
  21267. "type": "string"
  21268. },
  21269. "divisionname": {
  21270. "description": "行政名称",
  21271. "type": "string"
  21272. },
  21273. "modifierid": {
  21274. "description": "修改人",
  21275. "type": "integer"
  21276. },
  21277. "modifytime": {
  21278. "description": "修改时间",
  21279. "type": "string"
  21280. },
  21281. "parentcode": {
  21282. "description": "上级行政代码",
  21283. "type": "string"
  21284. },
  21285. "pathname": {
  21286. "description": "路径名称",
  21287. "type": "string"
  21288. },
  21289. "postcode": {
  21290. "description": "邮政编码",
  21291. "type": "string"
  21292. },
  21293. "separablename": {
  21294. "description": "可拆分的全称",
  21295. "type": "string"
  21296. },
  21297. "shortcode": {
  21298. "description": "地区简码",
  21299. "type": "string"
  21300. }
  21301. }
  21302. },
  21303. "models.Enumdicitem": {
  21304. "type": "object",
  21305. "required": [
  21306. "autoid",
  21307. "enumdiccode",
  21308. "enumdicid",
  21309. "enumitemname"
  21310. ],
  21311. "properties": {
  21312. "autoid": {
  21313. "description": "自增ID",
  21314. "type": "integer"
  21315. },
  21316. "bankmappedvalue": {
  21317. "description": "银行服务对应值",
  21318. "type": "string"
  21319. },
  21320. "enumdiccode": {
  21321. "description": "所属枚举代码",
  21322. "type": "string"
  21323. },
  21324. "enumdicid": {
  21325. "description": "所属枚举ID",
  21326. "type": "integer"
  21327. },
  21328. "enumdicname": {
  21329. "description": "枚举项名称",
  21330. "type": "string"
  21331. },
  21332. "enumitemname": {
  21333. "description": "枚举项值",
  21334. "type": "integer"
  21335. },
  21336. "enumitemstatus": {
  21337. "description": "枚举项状态 - 1.启用 2.不启用",
  21338. "type": "integer"
  21339. },
  21340. "enumitemvalue": {
  21341. "description": "通用值 - [币种通用简写]",
  21342. "type": "string"
  21343. },
  21344. "param1": {
  21345. "description": "参数1[币种:币种小数位]",
  21346. "type": "string"
  21347. },
  21348. "param2": {
  21349. "description": "参数1[币种:币种显示单位]",
  21350. "type": "string"
  21351. },
  21352. "remark": {
  21353. "description": "备注",
  21354. "type": "string"
  21355. }
  21356. }
  21357. },
  21358. "models.Ermcp2AreaExposure": {
  21359. "type": "object",
  21360. "properties": {
  21361. "areauserid": {
  21362. "description": "所属机构",
  21363. "type": "integer"
  21364. },
  21365. "enumdicname": {
  21366. "description": "单位",
  21367. "type": "string"
  21368. },
  21369. "futureqty": {
  21370. "description": "期货套期量",
  21371. "type": "number"
  21372. },
  21373. "futureqtychange": {
  21374. "description": "期货变动量 = FutureQty - OriFutureQty",
  21375. "type": "number"
  21376. },
  21377. "goodsunitid": {
  21378. "description": "单位ID",
  21379. "type": "integer"
  21380. },
  21381. "hedgedspotexposure": {
  21382. "description": "被套期现货敞口量",
  21383. "type": "number"
  21384. },
  21385. "hedgedspratio": {
  21386. "description": "套期期现比例 = 期货套期量/被套期现货敞口量",
  21387. "type": "number"
  21388. },
  21389. "hedgedtotalexposourechange": {
  21390. "description": "被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure",
  21391. "type": "number"
  21392. },
  21393. "hedgedtotalexposure": {
  21394. "description": "套期敞口量 = 被套期现货敞口量+期货套期量",
  21395. "type": "number"
  21396. },
  21397. "hedgeplanqty": {
  21398. "description": "套期计划量",
  21399. "type": "number"
  21400. },
  21401. "hedgeplanqtychange": {
  21402. "description": "计划变动量 = HedgePlanQty - OriHedgePlanQty",
  21403. "type": "number"
  21404. },
  21405. "hedgespotqty": {
  21406. "description": "被套期现货量",
  21407. "type": "number"
  21408. },
  21409. "middlegoodsid": {
  21410. "description": "套保品种",
  21411. "type": "integer"
  21412. },
  21413. "middlegoodsname": {
  21414. "description": "套保品种名称",
  21415. "type": "string"
  21416. },
  21417. "orifutureqty": {
  21418. "description": "期初期货套期量",
  21419. "type": "number"
  21420. },
  21421. "orihedgedspotexposure": {
  21422. "description": "期初被套期现货敞口量",
  21423. "type": "number"
  21424. },
  21425. "orihedgedtotalexposure": {
  21426. "description": "期初套期敞口量",
  21427. "type": "number"
  21428. },
  21429. "orihedgeplanqty": {
  21430. "description": "期初套期计划量",
  21431. "type": "number"
  21432. },
  21433. "orihedgespotqty": {
  21434. "description": "期初被套期现货量",
  21435. "type": "number"
  21436. },
  21437. "orispotexposure": {
  21438. "description": "期初现货敞口量",
  21439. "type": "number"
  21440. },
  21441. "orispotqty": {
  21442. "description": "期初现货总量",
  21443. "type": "number"
  21444. },
  21445. "oritotalexposure": {
  21446. "description": "期初总敞口量",
  21447. "type": "number"
  21448. },
  21449. "spotexposure": {
  21450. "description": "现货敞口量",
  21451. "type": "number"
  21452. },
  21453. "spotqty": {
  21454. "description": "现货总量",
  21455. "type": "number"
  21456. },
  21457. "spotqtychange": {
  21458. "description": "现货变动量 = SpotQty - OriSpotQty",
  21459. "type": "number"
  21460. },
  21461. "spratio": {
  21462. "description": "总期现比例 = 期货套期量/现货敞口量",
  21463. "type": "number"
  21464. },
  21465. "totalexposure": {
  21466. "description": "总敞口量 = 现货敞口量 + 期货套期量",
  21467. "type": "number"
  21468. },
  21469. "totalexposurechange": {
  21470. "description": "总敞口变动量 = TotalExposure - OriTotalExposure",
  21471. "type": "number"
  21472. },
  21473. "updatetime": {
  21474. "description": "更新时间 --DATE",
  21475. "type": "string"
  21476. }
  21477. }
  21478. },
  21479. "models.Ermcp2hedgeditem": {
  21480. "type": "object",
  21481. "properties": {
  21482. "accountname": {
  21483. "description": "套期主体",
  21484. "type": "string"
  21485. },
  21486. "applyid": {
  21487. "description": "申请人",
  21488. "type": "integer"
  21489. },
  21490. "applysrc": {
  21491. "description": "申请来源 - 1:管理端 2:终端",
  21492. "type": "integer"
  21493. },
  21494. "areauserid": {
  21495. "description": "企业ID",
  21496. "type": "integer"
  21497. },
  21498. "auditid": {
  21499. "description": "审核人",
  21500. "type": "integer"
  21501. },
  21502. "auditremark": {
  21503. "description": "审核备注",
  21504. "type": "string"
  21505. },
  21506. "auditsrc": {
  21507. "description": "审核来源 - 1:管理端 2:终端",
  21508. "type": "integer"
  21509. },
  21510. "audittime": {
  21511. "description": "审核时间",
  21512. "type": "string"
  21513. },
  21514. "audittradedate": {
  21515. "description": "审核交易日(yyyyMMdd)",
  21516. "type": "string"
  21517. },
  21518. "createtime": {
  21519. "description": "申请时间",
  21520. "type": "string"
  21521. },
  21522. "curprice": {
  21523. "description": "当前市场价",
  21524. "type": "number"
  21525. },
  21526. "curstock": {
  21527. "description": "期末库存量 = 采购总量 - 销售总量",
  21528. "type": "number"
  21529. },
  21530. "deliverygoodsid": {
  21531. "description": "现货品种ID",
  21532. "type": "integer"
  21533. },
  21534. "enddate": {
  21535. "description": "完成日期",
  21536. "type": "string"
  21537. },
  21538. "endtradedate": {
  21539. "description": "完成交易日",
  21540. "type": "string"
  21541. },
  21542. "enumdicname": {
  21543. "description": "单位",
  21544. "type": "string"
  21545. },
  21546. "exeamount": {
  21547. "description": "执行市价总额",
  21548. "type": "number"
  21549. },
  21550. "exeavgprice": {
  21551. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  21552. "type": "number"
  21553. },
  21554. "execontractamount": {
  21555. "description": "执行定价总额",
  21556. "type": "number"
  21557. },
  21558. "exeqty": {
  21559. "description": "执行现货量",
  21560. "type": "number"
  21561. },
  21562. "exerestamount": {
  21563. "description": "执行剩余市价总额【现货贸易】",
  21564. "type": "number"
  21565. },
  21566. "futurefloatpl": {
  21567. "description": "期货浮动损益",
  21568. "type": "number"
  21569. },
  21570. "futurehedgepl": {
  21571. "description": "期货实际损益",
  21572. "type": "number"
  21573. },
  21574. "futurehedgeplchange": {
  21575. "description": "期货实际损益变动",
  21576. "type": "number"
  21577. },
  21578. "futurepl": {
  21579. "description": "期货套期损益",
  21580. "type": "number"
  21581. },
  21582. "futureplchange": {
  21583. "description": "期货套期损益变动",
  21584. "type": "number"
  21585. },
  21586. "hedgeamount": {
  21587. "description": "套期市价总额",
  21588. "type": "number"
  21589. },
  21590. "hedgecontractamount": {
  21591. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  21592. "type": "number"
  21593. },
  21594. "hedgeditemid": {
  21595. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  21596. "type": "string"
  21597. },
  21598. "hedgeditemname": {
  21599. "description": "项目名称",
  21600. "type": "string"
  21601. },
  21602. "hedgeditemnum": {
  21603. "description": "项目编号",
  21604. "type": "string"
  21605. },
  21606. "hedgeditemstatus": {
  21607. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21608. "type": "integer"
  21609. },
  21610. "hedgedtype": {
  21611. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21612. "type": "integer"
  21613. },
  21614. "hedgeqty": {
  21615. "description": "套期现货量",
  21616. "type": "number"
  21617. },
  21618. "hedgerate": {
  21619. "description": "套保比率",
  21620. "type": "number"
  21621. },
  21622. "hedgerestamount": {
  21623. "description": "套期剩余市价总额【现货贸易】",
  21624. "type": "number"
  21625. },
  21626. "hedgesumpl": {
  21627. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  21628. "type": "number"
  21629. },
  21630. "middlegoodslist": {
  21631. "description": "套期商品列表",
  21632. "type": "array",
  21633. "items": {
  21634. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  21635. }
  21636. },
  21637. "oriavgprice": {
  21638. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  21639. "type": "number"
  21640. },
  21641. "orifuturehedgepl": {
  21642. "description": "期初期货实际损益",
  21643. "type": "number"
  21644. },
  21645. "orifuturepl": {
  21646. "description": "期初期货套期损益",
  21647. "type": "number"
  21648. },
  21649. "orispothedgepl": {
  21650. "description": "期初现货实际损益",
  21651. "type": "number"
  21652. },
  21653. "orispotpl": {
  21654. "description": "期初现货套期损益",
  21655. "type": "number"
  21656. },
  21657. "planenddate": {
  21658. "description": "计划结束日期",
  21659. "type": "string"
  21660. },
  21661. "planstartdate": {
  21662. "description": "计划开始日期",
  21663. "type": "string"
  21664. },
  21665. "remark": {
  21666. "description": "备注",
  21667. "type": "string"
  21668. },
  21669. "spotbookamount": {
  21670. "description": "现货账面总额",
  21671. "type": "number"
  21672. },
  21673. "spotfloatpl": {
  21674. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  21675. "type": "number"
  21676. },
  21677. "spothedgepl": {
  21678. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  21679. "type": "number"
  21680. },
  21681. "spothedgeplchange": {
  21682. "description": "现货实际损益变动",
  21683. "type": "number"
  21684. },
  21685. "spotpl": {
  21686. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  21687. "type": "number"
  21688. },
  21689. "spotplchange": {
  21690. "description": "现货套期损益变动",
  21691. "type": "number"
  21692. },
  21693. "spottradepl": {
  21694. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  21695. "type": "number"
  21696. },
  21697. "sumobspl": {
  21698. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  21699. "type": "number"
  21700. },
  21701. "tradeuserid": {
  21702. "description": "交易用户ID",
  21703. "type": "integer"
  21704. },
  21705. "unexeqty": {
  21706. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  21707. "type": "number"
  21708. },
  21709. "updatetime": {
  21710. "description": "更新时间",
  21711. "type": "string"
  21712. },
  21713. "vatpl": {
  21714. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  21715. "type": "number"
  21716. },
  21717. "vatrate": {
  21718. "description": "增值税",
  21719. "type": "number"
  21720. },
  21721. "wrstandardid": {
  21722. "description": "现货商品ID",
  21723. "type": "integer"
  21724. },
  21725. "wrstandardname": {
  21726. "description": "商品名称",
  21727. "type": "string"
  21728. }
  21729. }
  21730. },
  21731. "models.Ermcp2hedgeditemlink": {
  21732. "type": "object",
  21733. "required": [
  21734. "relatedspotcontractid"
  21735. ],
  21736. "properties": {
  21737. "areauserid": {
  21738. "description": "企业ID",
  21739. "type": "integer"
  21740. },
  21741. "createtime": {
  21742. "description": "[关联时间]创建时间",
  21743. "type": "string"
  21744. },
  21745. "customeruserid": {
  21746. "description": "对手方 【3:采购合同 4:销售合同】",
  21747. "type": "integer"
  21748. },
  21749. "deliverygoodsid": {
  21750. "description": "现货品种ID",
  21751. "type": "integer"
  21752. },
  21753. "enumdicname": {
  21754. "description": "单位",
  21755. "type": "string"
  21756. },
  21757. "hedgeditemid": {
  21758. "description": "被套期项目ID",
  21759. "type": "integer"
  21760. },
  21761. "hedgeditemlinkid": {
  21762. "description": "现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)",
  21763. "type": "integer"
  21764. },
  21765. "hedgeditemnum": {
  21766. "description": "项目编号",
  21767. "type": "string"
  21768. },
  21769. "hedgedtype": {
  21770. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21771. "type": "integer"
  21772. },
  21773. "relatedamount": {
  21774. "description": "市价总额 = 关联数量 * 期初市场价",
  21775. "type": "number"
  21776. },
  21777. "relatedhedgeplanid": {
  21778. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21779. "type": "integer"
  21780. },
  21781. "relatedqty": {
  21782. "description": "关联数量",
  21783. "type": "number"
  21784. },
  21785. "relatedspotcontractid": {
  21786. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21787. "type": "integer"
  21788. },
  21789. "relatedtype": {
  21790. "description": "关联类型 - 1:套期关联 2:执行关联",
  21791. "type": "integer"
  21792. },
  21793. "spotgoodsbrandid": {
  21794. "description": "现货品牌ID",
  21795. "type": "integer"
  21796. },
  21797. "spotpricedamount": {
  21798. "description": "[关联定价总额]定价总额",
  21799. "type": "number"
  21800. },
  21801. "spotpricedavgprice": {
  21802. "description": "[关联现货均价]现货均价 = 定价总额 / 关联数量",
  21803. "type": "number"
  21804. },
  21805. "spottype": {
  21806. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21807. "type": "integer"
  21808. },
  21809. "tradeuserid": {
  21810. "description": "交易用户ID",
  21811. "type": "integer"
  21812. },
  21813. "unexeqty": {
  21814. "description": "未执行现货量【项目关联时值】",
  21815. "type": "number"
  21816. },
  21817. "wrstandardid": {
  21818. "description": "现货商品ID",
  21819. "type": "integer"
  21820. },
  21821. "wrstandardname": {
  21822. "description": "现货商品",
  21823. "type": "string"
  21824. }
  21825. }
  21826. },
  21827. "models.Ermcp2hedgeditemsDetail": {
  21828. "type": "object",
  21829. "properties": {
  21830. "accountname": {
  21831. "description": "套期主体",
  21832. "type": "string"
  21833. },
  21834. "areauserid": {
  21835. "description": "企业ID",
  21836. "type": "integer"
  21837. },
  21838. "createtime": {
  21839. "description": "[日期时间]创建时间",
  21840. "type": "string"
  21841. },
  21842. "customeruserid": {
  21843. "description": "对手方 【3:采购合同 4:销售合同】",
  21844. "type": "integer"
  21845. },
  21846. "deliverygoodsid": {
  21847. "description": "现货品种ID",
  21848. "type": "integer"
  21849. },
  21850. "enumdicname": {
  21851. "description": "单位",
  21852. "type": "string"
  21853. },
  21854. "hedgeditemid": {
  21855. "description": "被套期项目ID",
  21856. "type": "string"
  21857. },
  21858. "hedgeditemspotid": {
  21859. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  21860. "type": "string"
  21861. },
  21862. "hedgedtype": {
  21863. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21864. "type": "integer"
  21865. },
  21866. "hedgeplanno": {
  21867. "description": "计划编号",
  21868. "type": "string"
  21869. },
  21870. "middlegoodschange": {
  21871. "description": "套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))",
  21872. "type": "number"
  21873. },
  21874. "oriavgprice": {
  21875. "description": "期初市场价[当初市场价]",
  21876. "type": "number"
  21877. },
  21878. "relatedamount": {
  21879. "description": "市价总额 = 关联数量 * 期初市场价",
  21880. "type": "number"
  21881. },
  21882. "relatedhedgeplanid": {
  21883. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21884. "type": "integer"
  21885. },
  21886. "relatedqty": {
  21887. "description": "[期间变化量]关联数量",
  21888. "type": "number"
  21889. },
  21890. "relatedspotcontractid": {
  21891. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21892. "type": "integer"
  21893. },
  21894. "relatedtype": {
  21895. "description": "关联类型 - 1:套期关联 2:执行关联",
  21896. "type": "integer"
  21897. },
  21898. "spotgoodsbrandid": {
  21899. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  21900. "type": "integer"
  21901. },
  21902. "spotpricedamount": {
  21903. "description": "定价总额",
  21904. "type": "number"
  21905. },
  21906. "spotpricedavgprice": {
  21907. "description": "现货均价 = 定价总额 / 关联数量",
  21908. "type": "number"
  21909. },
  21910. "spottype": {
  21911. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21912. "type": "integer"
  21913. },
  21914. "tradeuserid": {
  21915. "description": "交易用户ID",
  21916. "type": "integer"
  21917. },
  21918. "unexeqty": {
  21919. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  21920. "type": "number"
  21921. },
  21922. "wrstandardid": {
  21923. "description": "现货商品ID",
  21924. "type": "integer"
  21925. },
  21926. "wrstandardname": {
  21927. "description": "现货商品",
  21928. "type": "string"
  21929. }
  21930. }
  21931. },
  21932. "models.Ermcp2hedgeditemspot": {
  21933. "type": "object",
  21934. "required": [
  21935. "hedgeditemid"
  21936. ],
  21937. "properties": {
  21938. "areauserid": {
  21939. "description": "企业ID",
  21940. "type": "integer"
  21941. },
  21942. "createtime": {
  21943. "description": "创建时间",
  21944. "type": "string"
  21945. },
  21946. "customeruserid": {
  21947. "description": "对手方 【3:采购合同 4:销售合同】",
  21948. "type": "integer"
  21949. },
  21950. "deliverygoodsid": {
  21951. "description": "现货品种ID",
  21952. "type": "integer"
  21953. },
  21954. "enumdicname": {
  21955. "description": "单位",
  21956. "type": "string"
  21957. },
  21958. "hedgeditemid": {
  21959. "description": "被套期项目ID",
  21960. "type": "string"
  21961. },
  21962. "hedgeditemspotid": {
  21963. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  21964. "type": "string"
  21965. },
  21966. "hedgedtype": {
  21967. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21968. "type": "integer"
  21969. },
  21970. "hedgeplanno": {
  21971. "description": "计划编号",
  21972. "type": "string"
  21973. },
  21974. "oriavgprice": {
  21975. "description": "期初市场价[当初市场价]",
  21976. "type": "number"
  21977. },
  21978. "relatedamount": {
  21979. "description": "市价总额 = 关联数量 * 期初市场价",
  21980. "type": "number"
  21981. },
  21982. "relatedhedgeplanid": {
  21983. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21984. "type": "integer"
  21985. },
  21986. "relatedqty": {
  21987. "description": "关联数量[数量]",
  21988. "type": "number"
  21989. },
  21990. "relatedspotcontractid": {
  21991. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21992. "type": "integer"
  21993. },
  21994. "relatedtype": {
  21995. "description": "关联类型 - 1:套期关联 2:执行关联",
  21996. "type": "integer"
  21997. },
  21998. "spotgoodsbrandid": {
  21999. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  22000. "type": "integer"
  22001. },
  22002. "spotpricedamount": {
  22003. "description": "定价总额",
  22004. "type": "number"
  22005. },
  22006. "spotpricedavgprice": {
  22007. "description": "现货均价 = 定价总额 / 关联数量",
  22008. "type": "number"
  22009. },
  22010. "spottype": {
  22011. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  22012. "type": "integer"
  22013. },
  22014. "tradeuserid": {
  22015. "description": "交易用户ID",
  22016. "type": "integer"
  22017. },
  22018. "wrstandardid": {
  22019. "description": "现货商品ID",
  22020. "type": "integer"
  22021. },
  22022. "wrstandardname": {
  22023. "description": "现货商品",
  22024. "type": "string"
  22025. }
  22026. }
  22027. },
  22028. "models.Ermcp2hedgeditemspotDetail": {
  22029. "type": "object",
  22030. "required": [
  22031. "hedgeditemid"
  22032. ],
  22033. "properties": {
  22034. "accountname": {
  22035. "description": "对手方",
  22036. "type": "string"
  22037. },
  22038. "areauserid": {
  22039. "description": "企业ID",
  22040. "type": "integer"
  22041. },
  22042. "brandname": {
  22043. "description": "品牌",
  22044. "type": "string"
  22045. },
  22046. "contractno": {
  22047. "description": "合同编号",
  22048. "type": "string"
  22049. },
  22050. "createtime": {
  22051. "description": "创建时间",
  22052. "type": "string"
  22053. },
  22054. "customeruserid": {
  22055. "description": "对手方 【3:采购合同 4:销售合同】",
  22056. "type": "integer"
  22057. },
  22058. "deliverygoodsid": {
  22059. "description": "现货品种ID",
  22060. "type": "integer"
  22061. },
  22062. "enumdicname": {
  22063. "description": "单位",
  22064. "type": "string"
  22065. },
  22066. "hedgeditemid": {
  22067. "description": "被套期项目ID",
  22068. "type": "string"
  22069. },
  22070. "hedgeditemspotid": {
  22071. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  22072. "type": "string"
  22073. },
  22074. "hedgedtype": {
  22075. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22076. "type": "integer"
  22077. },
  22078. "oriavgprice": {
  22079. "description": "期初市场价[当初市场价]",
  22080. "type": "number"
  22081. },
  22082. "relatedamount": {
  22083. "description": "市价总额 = 关联数量 * 期初市场价",
  22084. "type": "number"
  22085. },
  22086. "relatedhedgeplanid": {
  22087. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  22088. "type": "integer"
  22089. },
  22090. "relatedqty": {
  22091. "description": "关联数量[数量]",
  22092. "type": "number"
  22093. },
  22094. "relatedspotcontractid": {
  22095. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  22096. "type": "integer"
  22097. },
  22098. "relatedtype": {
  22099. "description": "关联类型 - 1:套期关联 2:执行关联",
  22100. "type": "integer"
  22101. },
  22102. "spotgoodsbrandid": {
  22103. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  22104. "type": "integer"
  22105. },
  22106. "spotpricedamount": {
  22107. "description": "定价总额[金额]",
  22108. "type": "number"
  22109. },
  22110. "spotpricedavgprice": {
  22111. "description": "现货均价 = 定价总额 / 关联数量",
  22112. "type": "number"
  22113. },
  22114. "spottype": {
  22115. "description": "现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  22116. "type": "integer"
  22117. },
  22118. "tradeuserid": {
  22119. "description": "交易用户ID",
  22120. "type": "integer"
  22121. },
  22122. "wrstandardid": {
  22123. "description": "现货商品ID",
  22124. "type": "integer"
  22125. },
  22126. "wrstandardname": {
  22127. "description": "现货商品",
  22128. "type": "string"
  22129. }
  22130. }
  22131. },
  22132. "models.Ermcp2himiddlegoods": {
  22133. "type": "object",
  22134. "required": [
  22135. "hedgeditemid",
  22136. "middlegoodsid"
  22137. ],
  22138. "properties": {
  22139. "futurehedgeqty": {
  22140. "description": "期货持仓套期量",
  22141. "type": "number"
  22142. },
  22143. "hedgeditemid": {
  22144. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  22145. "type": "integer"
  22146. },
  22147. "hiexpsoure": {
  22148. "description": "期现敞口量 = 未执行套期量 + 期货持仓套期量",
  22149. "type": "number"
  22150. },
  22151. "middlegoodscode": {
  22152. "description": "套保商品代码",
  22153. "type": "string"
  22154. },
  22155. "middlegoodsid": {
  22156. "description": "套保品种ID",
  22157. "type": "integer"
  22158. },
  22159. "middlegoodsname": {
  22160. "description": "套保商品名称",
  22161. "type": "string"
  22162. },
  22163. "unexehedgeqty": {
  22164. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  22165. "type": "number"
  22166. }
  22167. }
  22168. },
  22169. "models.Ermcp2stockspotchangelog": {
  22170. "type": "object",
  22171. "properties": {
  22172. "accountname": {
  22173. "description": "套期主体",
  22174. "type": "string"
  22175. },
  22176. "aftervalue": {
  22177. "description": "现货量",
  22178. "type": "number"
  22179. },
  22180. "beforevalue": {
  22181. "description": "变更前现货量",
  22182. "type": "number"
  22183. },
  22184. "contractno": {
  22185. "description": "[编号]现货合同编号",
  22186. "type": "string"
  22187. },
  22188. "contracttype": {
  22189. "description": "现货合同类型 - 1:采购 -1:销售",
  22190. "type": "integer"
  22191. },
  22192. "createtime": {
  22193. "description": "创建时间",
  22194. "type": "string"
  22195. },
  22196. "customerusername": {
  22197. "description": "对手方",
  22198. "type": "string"
  22199. },
  22200. "deliverygoodsid": {
  22201. "description": "现货品种ID",
  22202. "type": "integer"
  22203. },
  22204. "exetype": {
  22205. "description": "执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库",
  22206. "type": "integer"
  22207. },
  22208. "logid": {
  22209. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  22210. "type": "string"
  22211. },
  22212. "logvalue": {
  22213. "description": "[期间变化量]现货量变更值",
  22214. "type": "number"
  22215. },
  22216. "middlegoodschange": {
  22217. "description": "套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))",
  22218. "type": "number"
  22219. },
  22220. "operatelogtype": {
  22221. "description": "操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库 27:生产出库",
  22222. "type": "integer"
  22223. },
  22224. "relatedid": {
  22225. "description": "现货合同ID",
  22226. "type": "integer"
  22227. },
  22228. "spotgoodsbrandid": {
  22229. "description": "现货品牌ID",
  22230. "type": "integer"
  22231. },
  22232. "tradedate": {
  22233. "description": "交易日(yyyyMMdd)",
  22234. "type": "string"
  22235. },
  22236. "userid": {
  22237. "description": "机构ID",
  22238. "type": "integer"
  22239. },
  22240. "warehouseinfoid": {
  22241. "description": "仓库ID",
  22242. "type": "integer"
  22243. },
  22244. "wrfactortypeid": {
  22245. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  22246. "type": "integer"
  22247. },
  22248. "wrstandardid": {
  22249. "description": "现货商品ID",
  22250. "type": "integer"
  22251. },
  22252. "wrstandardname": {
  22253. "description": "商品名称",
  22254. "type": "string"
  22255. }
  22256. }
  22257. },
  22258. "models.Ermcp3AreaSpot": {
  22259. "type": "object",
  22260. "properties": {
  22261. "areauserid": {
  22262. "description": "所属机构",
  22263. "type": "integer"
  22264. },
  22265. "convertratio": {
  22266. "description": "套保系数",
  22267. "type": "number"
  22268. },
  22269. "decreaseqty": {
  22270. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  22271. "type": "number"
  22272. },
  22273. "enumdicname": {
  22274. "description": "单位名称",
  22275. "type": "string"
  22276. },
  22277. "increaseqty": {
  22278. "description": "增加数量=销售计划数量+采购已定价数量",
  22279. "type": "number"
  22280. },
  22281. "oritoalspotqty": {
  22282. "description": "昨日数量",
  22283. "type": "number"
  22284. },
  22285. "totalspotqty": {
  22286. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  22287. "type": "number"
  22288. },
  22289. "unitid": {
  22290. "description": "现货商品单位id",
  22291. "type": "integer"
  22292. },
  22293. "updatetime": {
  22294. "description": "更新时间",
  22295. "type": "string"
  22296. },
  22297. "wrstandardcode": {
  22298. "description": "现货商品代码",
  22299. "type": "string"
  22300. },
  22301. "wrstandardid": {
  22302. "description": "现货商品ID(SEQ_WRSTANDARD)",
  22303. "type": "integer"
  22304. },
  22305. "wrstandardname": {
  22306. "description": "现货商品名称",
  22307. "type": "string"
  22308. }
  22309. }
  22310. },
  22311. "models.Ermcp3AreaSpotDetail": {
  22312. "type": "object",
  22313. "properties": {
  22314. "contracttype": {
  22315. "description": "合同类型 1-采购 -1-销售",
  22316. "type": "integer"
  22317. },
  22318. "createtime": {
  22319. "description": "创建时间",
  22320. "type": "string"
  22321. },
  22322. "enumdicname": {
  22323. "description": "现货商品单位名称",
  22324. "type": "string"
  22325. },
  22326. "logtype": {
  22327. "description": "记录类型 1-套保 2-现货合同",
  22328. "type": "integer"
  22329. },
  22330. "qty": {
  22331. "description": "数量",
  22332. "type": "number"
  22333. },
  22334. "recordname": {
  22335. "description": "类型名称",
  22336. "type": "string"
  22337. },
  22338. "relatedid": {
  22339. "description": "套保计划ID/现货合同ID",
  22340. "type": "string"
  22341. },
  22342. "relatedno": {
  22343. "description": "编号",
  22344. "type": "string"
  22345. },
  22346. "strtime": {
  22347. "description": "时间",
  22348. "type": "string"
  22349. },
  22350. "wrstandardcode": {
  22351. "description": "现货商品代码",
  22352. "type": "string"
  22353. },
  22354. "wrstandardid": {
  22355. "description": "现货商品ID(SEQ_WRSTANDARD)",
  22356. "type": "integer"
  22357. },
  22358. "wrstandardname": {
  22359. "description": "现货商品名称",
  22360. "type": "string"
  22361. }
  22362. }
  22363. },
  22364. "models.Ermcp3AreaSpotPLReport": {
  22365. "type": "object",
  22366. "properties": {
  22367. "accountid": {
  22368. "description": "期货账户ID (作废, 默认为0)",
  22369. "type": "integer"
  22370. },
  22371. "accountname": {
  22372. "description": "机构名称",
  22373. "type": "string"
  22374. },
  22375. "actualpl": {
  22376. "description": "现货损益",
  22377. "type": "number"
  22378. },
  22379. "areauserid": {
  22380. "description": "所属机构\\交易用户ID",
  22381. "type": "integer"
  22382. },
  22383. "begindate": {
  22384. "description": "开始交易日",
  22385. "type": "string"
  22386. },
  22387. "biztype": {
  22388. "description": "业务类型 - 1:套保 2:套利",
  22389. "type": "integer"
  22390. },
  22391. "brandname": {
  22392. "description": "品牌名称",
  22393. "type": "string"
  22394. },
  22395. "curamount": {
  22396. "description": "期末额",
  22397. "type": "number"
  22398. },
  22399. "curaverageprice": {
  22400. "description": "期末均价",
  22401. "type": "number"
  22402. },
  22403. "curbuyamount": {
  22404. "description": "期末采购总额",
  22405. "type": "number"
  22406. },
  22407. "curbuyqty": {
  22408. "description": "期末采购总量",
  22409. "type": "number"
  22410. },
  22411. "curmarketvalue": {
  22412. "description": "参考市值(期末市值)",
  22413. "type": "number"
  22414. },
  22415. "curqty": {
  22416. "description": "期末量",
  22417. "type": "number"
  22418. },
  22419. "currencyid": {
  22420. "description": "结算币种ID【原值】",
  22421. "type": "integer"
  22422. },
  22423. "currencyname": {
  22424. "description": "币种名称",
  22425. "type": "string"
  22426. },
  22427. "cursellamount": {
  22428. "description": "期末销售总额",
  22429. "type": "number"
  22430. },
  22431. "cursellqty": {
  22432. "description": "期末销售总量",
  22433. "type": "number"
  22434. },
  22435. "curspotprice": {
  22436. "description": "参考市价(最新价)",
  22437. "type": "number"
  22438. },
  22439. "cycletime": {
  22440. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22441. "type": "string"
  22442. },
  22443. "cycletype": {
  22444. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22445. "type": "integer"
  22446. },
  22447. "deliverygoodscode": {
  22448. "description": "现货品种代码",
  22449. "type": "string"
  22450. },
  22451. "deliverygoodsid": {
  22452. "description": "现货品种ID",
  22453. "type": "integer"
  22454. },
  22455. "deliverygoodsname": {
  22456. "description": "现货品种名称",
  22457. "type": "string"
  22458. },
  22459. "enddate": {
  22460. "description": "结束交易日",
  22461. "type": "string"
  22462. },
  22463. "enumdicname": {
  22464. "description": "现货品种单位名称(作废)",
  22465. "type": "string"
  22466. },
  22467. "floatpl": {
  22468. "description": "浮动损益",
  22469. "type": "number"
  22470. },
  22471. "goodsunitid": {
  22472. "description": "现货品种单位id(作废)",
  22473. "type": "integer"
  22474. },
  22475. "oriamount": {
  22476. "description": "期初额",
  22477. "type": "number"
  22478. },
  22479. "oriaverageprice": {
  22480. "description": "期初均价",
  22481. "type": "number"
  22482. },
  22483. "oribuyamount": {
  22484. "description": "期初采购总额",
  22485. "type": "number"
  22486. },
  22487. "oribuyqty": {
  22488. "description": "期初采购总量",
  22489. "type": "number"
  22490. },
  22491. "oriqty": {
  22492. "description": "期初量",
  22493. "type": "number"
  22494. },
  22495. "orisellamount": {
  22496. "description": "期初销售总额",
  22497. "type": "number"
  22498. },
  22499. "orisellqty": {
  22500. "description": "期初销售总量",
  22501. "type": "number"
  22502. },
  22503. "reckondate": {
  22504. "description": "日照时期(yyyyMMdd)",
  22505. "type": "string"
  22506. },
  22507. "spotgoodsbrandid": {
  22508. "description": "现货品牌ID",
  22509. "type": "integer"
  22510. },
  22511. "todaybuyamount": {
  22512. "description": "今日采购额(今采购额)",
  22513. "type": "number"
  22514. },
  22515. "todaybuyaverageprice": {
  22516. "description": "今日采购均价",
  22517. "type": "number"
  22518. },
  22519. "todaybuyqty": {
  22520. "description": "今日采购量(今采购量)",
  22521. "type": "number"
  22522. },
  22523. "todayinqty": {
  22524. "description": "今日入库量(今入库量)",
  22525. "type": "number"
  22526. },
  22527. "todayoutqty": {
  22528. "description": "今日出库量(今出库量)",
  22529. "type": "number"
  22530. },
  22531. "todaysellamount": {
  22532. "description": "今日销售额(今销售额)",
  22533. "type": "number"
  22534. },
  22535. "todaysellaverageprice": {
  22536. "description": "今日销售均价",
  22537. "type": "number"
  22538. },
  22539. "todaysellqty": {
  22540. "description": "今日销售量(今销售量)",
  22541. "type": "number"
  22542. },
  22543. "unitid": {
  22544. "description": "品类单位id",
  22545. "type": "integer"
  22546. },
  22547. "unitidname": {
  22548. "description": "品类单位名称",
  22549. "type": "string"
  22550. },
  22551. "updatetime": {
  22552. "description": "更新时间",
  22553. "type": "string"
  22554. },
  22555. "wrfactortypeid": {
  22556. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  22557. "type": "integer"
  22558. },
  22559. "wrstandardcode": {
  22560. "description": "现货商品(品类)代码",
  22561. "type": "string"
  22562. },
  22563. "wrstandardid": {
  22564. "description": "现货品类ID",
  22565. "type": "integer"
  22566. },
  22567. "wrstandardname": {
  22568. "description": "现货商品(品类)名称",
  22569. "type": "string"
  22570. }
  22571. }
  22572. },
  22573. "models.Ermcp3AreaStock": {
  22574. "type": "object",
  22575. "required": [
  22576. "userid"
  22577. ],
  22578. "properties": {
  22579. "brandname": {
  22580. "description": "品牌名称",
  22581. "type": "string"
  22582. },
  22583. "curstock": {
  22584. "description": "期末库存量(今日量)",
  22585. "type": "number"
  22586. },
  22587. "deliverygoodscode": {
  22588. "description": "现货品种代码",
  22589. "type": "string"
  22590. },
  22591. "deliverygoodsid": {
  22592. "description": "现货品种id",
  22593. "type": "integer"
  22594. },
  22595. "deliverygoodsname": {
  22596. "description": "现货品种名称",
  22597. "type": "string"
  22598. },
  22599. "enumdicname": {
  22600. "description": "单位名称",
  22601. "type": "string"
  22602. },
  22603. "goodsunitid": {
  22604. "description": "现货商品单位id",
  22605. "type": "integer"
  22606. },
  22607. "oristock": {
  22608. "description": "期初库存量(昨日量)",
  22609. "type": "number"
  22610. },
  22611. "spotgoodsbrandid": {
  22612. "description": "现货品牌ID",
  22613. "type": "integer"
  22614. },
  22615. "todaybuyinqty": {
  22616. "description": "今日采购入库量",
  22617. "type": "number"
  22618. },
  22619. "todayproduceinqty": {
  22620. "description": "今日生产入库量",
  22621. "type": "number"
  22622. },
  22623. "todayproduceoutqty": {
  22624. "description": "今日生产出库量",
  22625. "type": "number"
  22626. },
  22627. "todayselloutqty": {
  22628. "description": "今日销售出库量",
  22629. "type": "number"
  22630. },
  22631. "unitid": {
  22632. "description": "单位id",
  22633. "type": "integer"
  22634. },
  22635. "updatetime": {
  22636. "description": "更新时间",
  22637. "type": "string"
  22638. },
  22639. "userid": {
  22640. "description": "机构ID",
  22641. "type": "integer"
  22642. },
  22643. "username": {
  22644. "description": "机构名称",
  22645. "type": "string"
  22646. },
  22647. "warehousecode": {
  22648. "description": "仓库代码",
  22649. "type": "string"
  22650. },
  22651. "warehouseinfoid": {
  22652. "description": "仓库ID",
  22653. "type": "string"
  22654. },
  22655. "warehousename": {
  22656. "description": "仓库名称",
  22657. "type": "string"
  22658. },
  22659. "warehousetype": {
  22660. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22661. "type": "integer"
  22662. },
  22663. "wrstandardcode": {
  22664. "description": "品类代码",
  22665. "type": "string"
  22666. },
  22667. "wrstandardid": {
  22668. "description": "品类ID",
  22669. "type": "string"
  22670. },
  22671. "wrstandardname": {
  22672. "description": "品类名称",
  22673. "type": "string"
  22674. }
  22675. }
  22676. },
  22677. "models.Ermcp3AreaStockApply": {
  22678. "type": "object",
  22679. "properties": {
  22680. "applyid": {
  22681. "description": "申请人",
  22682. "type": "integer"
  22683. },
  22684. "applyname": {
  22685. "description": "申请人名称",
  22686. "type": "string"
  22687. },
  22688. "applyremark": {
  22689. "description": "申请备注",
  22690. "type": "string"
  22691. },
  22692. "applysrc": {
  22693. "description": "申请来源 - 1:管理端 2:终端",
  22694. "type": "integer"
  22695. },
  22696. "applystatus": {
  22697. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22698. "type": "integer"
  22699. },
  22700. "applytime": {
  22701. "description": "申请时间",
  22702. "type": "string"
  22703. },
  22704. "auditid": {
  22705. "description": "审核人",
  22706. "type": "integer"
  22707. },
  22708. "auditname": {
  22709. "description": "审核人名称",
  22710. "type": "string"
  22711. },
  22712. "auditremark": {
  22713. "description": "审核备注",
  22714. "type": "string"
  22715. },
  22716. "auditsrc": {
  22717. "description": "审核来源 - 1:管理端 2:终端",
  22718. "type": "integer"
  22719. },
  22720. "audittime": {
  22721. "description": "审核时间",
  22722. "type": "string"
  22723. },
  22724. "audittradedate": {
  22725. "description": "审核交易日(yyyyMMdd)",
  22726. "type": "string"
  22727. },
  22728. "brandname": {
  22729. "description": "品牌名称",
  22730. "type": "string"
  22731. },
  22732. "buynickname": {
  22733. "description": "采购方昵称",
  22734. "type": "string"
  22735. },
  22736. "buyuserid": {
  22737. "description": "采购方userid",
  22738. "type": "integer"
  22739. },
  22740. "buyusername": {
  22741. "description": "采购方名称",
  22742. "type": "string"
  22743. },
  22744. "contractno": {
  22745. "description": "合同编号",
  22746. "type": "string"
  22747. },
  22748. "contractqty": {
  22749. "description": "合同量",
  22750. "type": "number"
  22751. },
  22752. "contracttype": {
  22753. "description": "现货合同类型 - 1:采购 -1:销售",
  22754. "type": "integer"
  22755. },
  22756. "deliverygoodscode": {
  22757. "description": "现货品种代码",
  22758. "type": "string"
  22759. },
  22760. "deliverygoodsid": {
  22761. "description": "现货品种id",
  22762. "type": "integer"
  22763. },
  22764. "deliverygoodsname": {
  22765. "description": "现货品种名称",
  22766. "type": "string"
  22767. },
  22768. "detailjson": {
  22769. "description": "明细数据",
  22770. "type": "string"
  22771. },
  22772. "enumdicname": {
  22773. "description": "现货商品单位名称",
  22774. "type": "string"
  22775. },
  22776. "inoutapplyid": {
  22777. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  22778. "type": "string"
  22779. },
  22780. "inouttype": {
  22781. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  22782. "type": "integer"
  22783. },
  22784. "pricetype": {
  22785. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22786. "type": "integer"
  22787. },
  22788. "qty": {
  22789. "description": "数量",
  22790. "type": "number"
  22791. },
  22792. "sellnickname": {
  22793. "description": "销售方昵称",
  22794. "type": "string"
  22795. },
  22796. "selluserid": {
  22797. "description": "销售方userid",
  22798. "type": "integer"
  22799. },
  22800. "sellusername": {
  22801. "description": "销售方名称",
  22802. "type": "string"
  22803. },
  22804. "spotcontractid": {
  22805. "description": "关联现货合同ID",
  22806. "type": "string"
  22807. },
  22808. "spotgoodsbrandid": {
  22809. "description": "现货品牌ID",
  22810. "type": "integer"
  22811. },
  22812. "unitid": {
  22813. "description": "单位id",
  22814. "type": "integer"
  22815. },
  22816. "userid": {
  22817. "description": "机构ID",
  22818. "type": "integer"
  22819. },
  22820. "warehousecode": {
  22821. "description": "仓库代码",
  22822. "type": "string"
  22823. },
  22824. "warehouseinfoid": {
  22825. "description": "现货仓库ID",
  22826. "type": "string"
  22827. },
  22828. "warehousename": {
  22829. "description": "仓库名称",
  22830. "type": "string"
  22831. },
  22832. "warehousetype": {
  22833. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22834. "type": "integer"
  22835. },
  22836. "wrstandardcode": {
  22837. "description": "品类代码",
  22838. "type": "string"
  22839. },
  22840. "wrstandardid": {
  22841. "description": "品类ID",
  22842. "type": "integer"
  22843. },
  22844. "wrstandardname": {
  22845. "description": "品类名称",
  22846. "type": "string"
  22847. }
  22848. }
  22849. },
  22850. "models.Ermcp3AreaStockApplySum": {
  22851. "type": "object",
  22852. "properties": {
  22853. "brandname": {
  22854. "description": "品牌名称",
  22855. "type": "string"
  22856. },
  22857. "inouttype": {
  22858. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  22859. "type": "integer"
  22860. },
  22861. "spotcontractid": {
  22862. "description": "关联现货合同ID",
  22863. "type": "string"
  22864. },
  22865. "spotgoodsbrandid": {
  22866. "description": "品牌id",
  22867. "type": "integer"
  22868. },
  22869. "totalqty": {
  22870. "description": "总数量",
  22871. "type": "number"
  22872. },
  22873. "wrstandardid": {
  22874. "description": "品类id",
  22875. "type": "integer"
  22876. },
  22877. "wrstandardname": {
  22878. "description": "品类名称",
  22879. "type": "string"
  22880. }
  22881. }
  22882. },
  22883. "models.Ermcp3AreaStockReportEx": {
  22884. "type": "object",
  22885. "properties": {
  22886. "begindate": {
  22887. "description": "开始交易日",
  22888. "type": "string"
  22889. },
  22890. "brandname": {
  22891. "description": "品牌名称",
  22892. "type": "string"
  22893. },
  22894. "curstock": {
  22895. "description": "期末库存量",
  22896. "type": "number"
  22897. },
  22898. "cycletime": {
  22899. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22900. "type": "string"
  22901. },
  22902. "cycletype": {
  22903. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22904. "type": "integer"
  22905. },
  22906. "deliverygoodscode": {
  22907. "description": "现货品种代码",
  22908. "type": "string"
  22909. },
  22910. "deliverygoodsid": {
  22911. "description": "现货品种id",
  22912. "type": "integer"
  22913. },
  22914. "deliverygoodsname": {
  22915. "description": "现货品种名称",
  22916. "type": "string"
  22917. },
  22918. "diffqty": {
  22919. "description": "库存变化量 = 期末 - 期初",
  22920. "type": "number"
  22921. },
  22922. "enddate": {
  22923. "description": "结束交易日",
  22924. "type": "string"
  22925. },
  22926. "enumdicname": {
  22927. "description": "单位名称",
  22928. "type": "string"
  22929. },
  22930. "goodsunitid": {
  22931. "description": "现货单位id",
  22932. "type": "integer"
  22933. },
  22934. "oristock": {
  22935. "description": "期初库存量",
  22936. "type": "number"
  22937. },
  22938. "reckondate": {
  22939. "description": "日照时期(yyyyMMdd)",
  22940. "type": "string"
  22941. },
  22942. "spotgoodsbrandid": {
  22943. "description": "现货品牌ID",
  22944. "type": "integer"
  22945. },
  22946. "todaybuyinqty": {
  22947. "description": "今采购入库量",
  22948. "type": "number"
  22949. },
  22950. "todayproduceinqty": {
  22951. "description": "今内部入库量",
  22952. "type": "number"
  22953. },
  22954. "todayproduceoutqty": {
  22955. "description": "今内部出库量",
  22956. "type": "number"
  22957. },
  22958. "todayselloutqty": {
  22959. "description": "今销售出库量",
  22960. "type": "number"
  22961. },
  22962. "unbuyinqty": {
  22963. "description": "采购未入库量(数据库未找到相关字段?)",
  22964. "type": "number"
  22965. },
  22966. "unitid": {
  22967. "description": "品类单位id",
  22968. "type": "integer"
  22969. },
  22970. "unselloutqty": {
  22971. "description": "销售未出库量(数据库未找到相关字段?)",
  22972. "type": "number"
  22973. },
  22974. "updatetime": {
  22975. "description": "更新时间",
  22976. "type": "string"
  22977. },
  22978. "userid": {
  22979. "description": "机构ID",
  22980. "type": "integer"
  22981. },
  22982. "username": {
  22983. "description": "机构名称",
  22984. "type": "string"
  22985. },
  22986. "warehousecode": {
  22987. "description": "仓库代码",
  22988. "type": "string"
  22989. },
  22990. "warehouseinfoid": {
  22991. "description": "仓库ID",
  22992. "type": "string"
  22993. },
  22994. "warehousename": {
  22995. "description": "仓库名称",
  22996. "type": "string"
  22997. },
  22998. "warehousetype": {
  22999. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  23000. "type": "integer"
  23001. },
  23002. "wrstandardcode": {
  23003. "description": "品类代码",
  23004. "type": "string"
  23005. },
  23006. "wrstandardid": {
  23007. "description": "品类ID",
  23008. "type": "integer"
  23009. },
  23010. "wrstandardname": {
  23011. "description": "品类名称",
  23012. "type": "string"
  23013. }
  23014. }
  23015. },
  23016. "models.Ermcp3ArealSumPL": {
  23017. "type": "object",
  23018. "properties": {
  23019. "accountname": {
  23020. "description": "机构名称",
  23021. "type": "string"
  23022. },
  23023. "areauserid": {
  23024. "description": "所属机构\\交易用户ID",
  23025. "type": "integer"
  23026. },
  23027. "begindate": {
  23028. "description": "开始交易日",
  23029. "type": "string"
  23030. },
  23031. "currencyid": {
  23032. "description": "结算币种ID",
  23033. "type": "integer"
  23034. },
  23035. "currencyname": {
  23036. "description": "币种名称",
  23037. "type": "string"
  23038. },
  23039. "cycletime": {
  23040. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23041. "type": "string"
  23042. },
  23043. "cycletype": {
  23044. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23045. "type": "integer"
  23046. },
  23047. "enddate": {
  23048. "description": "结束交易日",
  23049. "type": "string"
  23050. },
  23051. "enumdicname": {
  23052. "description": "单位名称(套保品种)",
  23053. "type": "string"
  23054. },
  23055. "futureactualpl": {
  23056. "description": "期货损益",
  23057. "type": "number"
  23058. },
  23059. "futurefloatpl": {
  23060. "description": "期货浮动损益",
  23061. "type": "number"
  23062. },
  23063. "futurespotratio": {
  23064. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  23065. "type": "number"
  23066. },
  23067. "goodsunitid": {
  23068. "description": "套保品种单位id",
  23069. "type": "integer"
  23070. },
  23071. "hedgeexposurepl": {
  23072. "description": "套保敞口损益",
  23073. "type": "number"
  23074. },
  23075. "middlegoodscode": {
  23076. "description": "套保品种代码",
  23077. "type": "string"
  23078. },
  23079. "middlegoodsid": {
  23080. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  23081. "type": "integer"
  23082. },
  23083. "middlegoodsname": {
  23084. "description": "套保品种名称",
  23085. "type": "string"
  23086. },
  23087. "reckondate": {
  23088. "description": "日照时期(yyyyMMdd)",
  23089. "type": "string"
  23090. },
  23091. "spotactualpl": {
  23092. "description": "现货损益",
  23093. "type": "number"
  23094. },
  23095. "spotfloatpl": {
  23096. "description": "现货浮动损益",
  23097. "type": "number"
  23098. },
  23099. "sumactualpl": {
  23100. "description": "实际损益 = (ActualPL + FutureActualPL)",
  23101. "type": "number"
  23102. },
  23103. "sumpl": {
  23104. "description": "总敞口损益 | 汇总损益",
  23105. "type": "number"
  23106. },
  23107. "totalfutureqty": {
  23108. "description": "期货头寸总量",
  23109. "type": "number"
  23110. },
  23111. "totalneedhedgeqty": {
  23112. "description": "应套保总量",
  23113. "type": "number"
  23114. },
  23115. "totalspotqty": {
  23116. "description": "现货头寸总量",
  23117. "type": "number"
  23118. },
  23119. "updatetime": {
  23120. "description": "更新时间",
  23121. "type": "string"
  23122. }
  23123. }
  23124. },
  23125. "models.Ermcp3Brand": {
  23126. "type": "object",
  23127. "properties": {
  23128. "areauserid": {
  23129. "description": "用户id",
  23130. "type": "integer"
  23131. },
  23132. "brandid": {
  23133. "description": "品牌id",
  23134. "type": "integer"
  23135. },
  23136. "brandname": {
  23137. "description": "品牌名称",
  23138. "type": "string"
  23139. },
  23140. "deliverygoodsid": {
  23141. "description": "品种ID",
  23142. "type": "integer"
  23143. },
  23144. "isvalid": {
  23145. "description": "是否有效",
  23146. "type": "integer"
  23147. }
  23148. }
  23149. },
  23150. "models.Ermcp3Contract": {
  23151. "type": "object",
  23152. "properties": {
  23153. "accountid": {
  23154. "description": "期货账户id",
  23155. "type": "string"
  23156. },
  23157. "amount": {
  23158. "description": "金额 [1:一口价、3:暂定价]",
  23159. "type": "number"
  23160. },
  23161. "attachment": {
  23162. "description": "附件",
  23163. "type": "string"
  23164. },
  23165. "auditremark": {
  23166. "description": "审核意见",
  23167. "type": "string"
  23168. },
  23169. "audittime": {
  23170. "description": "审核时间",
  23171. "type": "string"
  23172. },
  23173. "biztype": {
  23174. "description": "业务类型 1-套保 2-套利",
  23175. "type": "integer"
  23176. },
  23177. "brandname": {
  23178. "description": "品牌名称",
  23179. "type": "string"
  23180. },
  23181. "buynickname": {
  23182. "description": "销售方昵称",
  23183. "type": "string"
  23184. },
  23185. "buyuserid": {
  23186. "description": "采购方ID",
  23187. "type": "integer"
  23188. },
  23189. "buyusername": {
  23190. "description": "采购方名称",
  23191. "type": "string"
  23192. },
  23193. "contracctstatus": {
  23194. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23195. "type": "integer"
  23196. },
  23197. "contractmargin": {
  23198. "description": "合同保证金",
  23199. "type": "number"
  23200. },
  23201. "contractno": {
  23202. "description": "现货合同编号",
  23203. "type": "string"
  23204. },
  23205. "contracttype": {
  23206. "description": "现货合同类型 - 1:采购 -1:销售",
  23207. "type": "integer"
  23208. },
  23209. "convertfactor": {
  23210. "description": "标仓系数(品类)",
  23211. "type": "number"
  23212. },
  23213. "createtime": {
  23214. "description": "创建时间",
  23215. "type": "string"
  23216. },
  23217. "currencyid": {
  23218. "description": "币种id",
  23219. "type": "integer"
  23220. },
  23221. "currencyname": {
  23222. "description": "币种名称",
  23223. "type": "string"
  23224. },
  23225. "deliveryenddate": {
  23226. "description": "交收期(结束)",
  23227. "type": "string"
  23228. },
  23229. "deliverygoodscode": {
  23230. "description": "现货品种代码",
  23231. "type": "string"
  23232. },
  23233. "deliverygoodsid": {
  23234. "description": "现货品种ID",
  23235. "type": "integer"
  23236. },
  23237. "deliverygoodsname": {
  23238. "description": "现货品种名称",
  23239. "type": "string"
  23240. },
  23241. "deliverystartdate": {
  23242. "description": "交收期(开始)",
  23243. "type": "string"
  23244. },
  23245. "enddate": {
  23246. "description": "点价结束日期 [2:点价 3:暂定价]",
  23247. "type": "string"
  23248. },
  23249. "enumdicname": {
  23250. "description": "单位名称",
  23251. "type": "string"
  23252. },
  23253. "goodscode": {
  23254. "description": "点价合约代码",
  23255. "type": "string"
  23256. },
  23257. "goodsid": {
  23258. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  23259. "type": "integer"
  23260. },
  23261. "goodsname": {
  23262. "description": "点价商品名称",
  23263. "type": "string"
  23264. },
  23265. "margin": {
  23266. "description": "当前保证金",
  23267. "type": "number"
  23268. },
  23269. "meruserid": {
  23270. "description": "跟单员id",
  23271. "type": "integer"
  23272. },
  23273. "meruserlogincode": {
  23274. "description": "跟单员登录代码",
  23275. "type": "string"
  23276. },
  23277. "merusername": {
  23278. "description": "跟单员名称",
  23279. "type": "string"
  23280. },
  23281. "pointdesc": {
  23282. "description": "点价备注",
  23283. "type": "string"
  23284. },
  23285. "price": {
  23286. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  23287. "type": "number"
  23288. },
  23289. "pricemove": {
  23290. "description": "升贴水 [2:点价 3:暂定价]",
  23291. "type": "number"
  23292. },
  23293. "pricetype": {
  23294. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  23295. "type": "integer"
  23296. },
  23297. "producttype": {
  23298. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  23299. "type": "integer"
  23300. },
  23301. "qty": {
  23302. "description": "数量",
  23303. "type": "number"
  23304. },
  23305. "remark": {
  23306. "description": "备注",
  23307. "type": "string"
  23308. },
  23309. "saleuserid": {
  23310. "description": "业务员id",
  23311. "type": "integer"
  23312. },
  23313. "saleuserlogincode": {
  23314. "description": "业务员登录代码",
  23315. "type": "string"
  23316. },
  23317. "saleusername": {
  23318. "description": "业务员名称",
  23319. "type": "string"
  23320. },
  23321. "sellnickname": {
  23322. "description": "采购方昵称",
  23323. "type": "string"
  23324. },
  23325. "selluserid": {
  23326. "description": "销售方ID",
  23327. "type": "integer"
  23328. },
  23329. "sellusername": {
  23330. "description": "销售方名称",
  23331. "type": "string"
  23332. },
  23333. "spotcontractid": {
  23334. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  23335. "type": "string"
  23336. },
  23337. "spotgoodsbrandid": {
  23338. "description": "现货品牌ID(DGFactoryItem表的ID)",
  23339. "type": "integer"
  23340. },
  23341. "spotgoodsdesc": {
  23342. "description": "商品型号",
  23343. "type": "string"
  23344. },
  23345. "startdate": {
  23346. "description": "点价开始日期 [2:点价 3:暂定价]",
  23347. "type": "string"
  23348. },
  23349. "subjectid": {
  23350. "description": "交易主体ID",
  23351. "type": "integer"
  23352. },
  23353. "subjectname": {
  23354. "description": "交易主体名称",
  23355. "type": "string"
  23356. },
  23357. "tradeuserid": {
  23358. "description": "交易员id",
  23359. "type": "integer"
  23360. },
  23361. "tradeuserlogincode": {
  23362. "description": "交易员登录代码",
  23363. "type": "string"
  23364. },
  23365. "tradeusername": {
  23366. "description": "交易员名称",
  23367. "type": "string"
  23368. },
  23369. "unitid": {
  23370. "description": "单位id(取品类上的单位id)",
  23371. "type": "integer"
  23372. },
  23373. "updatetime": {
  23374. "description": "更新时间",
  23375. "type": "string"
  23376. },
  23377. "userid": {
  23378. "description": "所属机构ID",
  23379. "type": "integer"
  23380. },
  23381. "vatrate": {
  23382. "description": "增值税率",
  23383. "type": "number"
  23384. },
  23385. "wrstandardcode": {
  23386. "description": "品类代码",
  23387. "type": "string"
  23388. },
  23389. "wrstandardid": {
  23390. "description": "品类ID",
  23391. "type": "integer"
  23392. },
  23393. "wrstandardname": {
  23394. "description": "品类名称",
  23395. "type": "string"
  23396. }
  23397. }
  23398. },
  23399. "models.Ermcp3ContractMiddleGoodsCfg": {
  23400. "type": "object",
  23401. "properties": {
  23402. "agreeunit": {
  23403. "description": "合约乘数",
  23404. "type": "number"
  23405. },
  23406. "convertratio": {
  23407. "description": "期货品种系数",
  23408. "type": "number"
  23409. },
  23410. "covertqty": {
  23411. "description": "折算手数 =【待点价量 / (合约乘数*期货品种系数) 】",
  23412. "type": "integer"
  23413. },
  23414. "middlegoodsid": {
  23415. "description": "套保品种ID",
  23416. "type": "integer"
  23417. },
  23418. "middlegoodspricedqty3": {
  23419. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  23420. "type": "string",
  23421. "example": "0"
  23422. },
  23423. "pendingpricedqty": {
  23424. "description": "待点价量",
  23425. "type": "string",
  23426. "example": "0"
  23427. },
  23428. "relatedmiddlegoodsqty": {
  23429. "description": "已关联量(套保品种-期货)",
  23430. "type": "string",
  23431. "example": "0"
  23432. },
  23433. "spotcontractid": {
  23434. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  23435. "type": "string"
  23436. }
  23437. }
  23438. },
  23439. "models.Ermcp3ExposureContractDetail": {
  23440. "type": "object",
  23441. "properties": {
  23442. "biztype": {
  23443. "description": "业务类型 1-套保 2-套利",
  23444. "type": "integer"
  23445. },
  23446. "brandname": {
  23447. "description": "品牌名称",
  23448. "type": "string"
  23449. },
  23450. "buyuserid": {
  23451. "description": "采购方id",
  23452. "type": "integer"
  23453. },
  23454. "buyusername": {
  23455. "description": "采购方名称",
  23456. "type": "string"
  23457. },
  23458. "contractno": {
  23459. "description": "合同编号",
  23460. "type": "string"
  23461. },
  23462. "contracttype": {
  23463. "description": "现货合同类型 - 1:采购 -1:销售",
  23464. "type": "integer"
  23465. },
  23466. "convertfactor": {
  23467. "description": "标仓系数",
  23468. "type": "number"
  23469. },
  23470. "convertratio": {
  23471. "description": "折算系数(套保品种)",
  23472. "type": "number"
  23473. },
  23474. "curqty": {
  23475. "description": "今定价量",
  23476. "type": "number"
  23477. },
  23478. "deliverygoodscode": {
  23479. "description": "现货品种代码",
  23480. "type": "string"
  23481. },
  23482. "deliverygoodsid": {
  23483. "description": "现货品种id",
  23484. "type": "integer"
  23485. },
  23486. "deliverygoodsname": {
  23487. "description": "现货品种名称",
  23488. "type": "string"
  23489. },
  23490. "diffhedgeqty": {
  23491. "description": "套保变动量",
  23492. "type": "number"
  23493. },
  23494. "diffneedhedgeqty": {
  23495. "description": "应套保变动量",
  23496. "type": "number"
  23497. },
  23498. "diffqty": {
  23499. "description": "套保品种今变动量",
  23500. "type": "number"
  23501. },
  23502. "enumdicname": {
  23503. "description": "单位名称",
  23504. "type": "string"
  23505. },
  23506. "mgunitname": {
  23507. "description": "套保品种单位名称",
  23508. "type": "string"
  23509. },
  23510. "middlegoodscode": {
  23511. "description": "套保品种代码",
  23512. "type": "string"
  23513. },
  23514. "middlegoodsid": {
  23515. "description": "套保品种id",
  23516. "type": "integer"
  23517. },
  23518. "middlegoodsname": {
  23519. "description": "套保品种名称",
  23520. "type": "string"
  23521. },
  23522. "needarbitrageratio": {
  23523. "description": "应套利比例",
  23524. "type": "number"
  23525. },
  23526. "needhedgeratio": {
  23527. "description": "应套保比例",
  23528. "type": "number"
  23529. },
  23530. "pricedqty": {
  23531. "description": "已定价量",
  23532. "type": "number"
  23533. },
  23534. "qty": {
  23535. "description": "合同量",
  23536. "type": "number"
  23537. },
  23538. "reckondate": {
  23539. "description": "交易日(reckondate)",
  23540. "type": "string"
  23541. },
  23542. "selluserid": {
  23543. "description": "销售方id",
  23544. "type": "integer"
  23545. },
  23546. "sellusername": {
  23547. "description": "销售方名称",
  23548. "type": "string"
  23549. },
  23550. "spotcontractid": {
  23551. "description": "合同id",
  23552. "type": "string"
  23553. },
  23554. "todaypricedqty": {
  23555. "description": "今定价量",
  23556. "type": "number"
  23557. },
  23558. "tradedate": {
  23559. "description": "交易日",
  23560. "type": "string"
  23561. },
  23562. "unitid": {
  23563. "description": "品类单位id",
  23564. "type": "integer"
  23565. },
  23566. "userid": {
  23567. "description": "机构id",
  23568. "type": "integer"
  23569. },
  23570. "username": {
  23571. "description": "交易用户",
  23572. "type": "string"
  23573. },
  23574. "wrstandardcode": {
  23575. "description": "现货商品代码",
  23576. "type": "string"
  23577. },
  23578. "wrstandardid": {
  23579. "description": "现货商品id",
  23580. "type": "integer"
  23581. },
  23582. "wrstandardname": {
  23583. "description": "现货商品名称",
  23584. "type": "string"
  23585. }
  23586. }
  23587. },
  23588. "models.Ermcp3ExposureDetail": {
  23589. "type": "object",
  23590. "properties": {
  23591. "areauserid": {
  23592. "description": "机构ID",
  23593. "type": "integer"
  23594. },
  23595. "changeQty": {
  23596. "description": "套保变动量",
  23597. "type": "number"
  23598. },
  23599. "contracttype": {
  23600. "description": "现货合同类型 - 1:采购 -1:销售",
  23601. "type": "integer"
  23602. },
  23603. "convertfactor": {
  23604. "description": "标仓系数",
  23605. "type": "number"
  23606. },
  23607. "convertratio": {
  23608. "description": "折算系数",
  23609. "type": "number"
  23610. },
  23611. "createtime": {
  23612. "description": "时间",
  23613. "type": "string"
  23614. },
  23615. "enumdicname": {
  23616. "description": "现货商品单位名称",
  23617. "type": "string"
  23618. },
  23619. "logtype": {
  23620. "description": "类型 - 1:套保计划 2:现货合同",
  23621. "type": "integer"
  23622. },
  23623. "mgunitid": {
  23624. "description": "套保品种单位id",
  23625. "type": "integer"
  23626. },
  23627. "mgunitidname": {
  23628. "description": "套保品种单位名称",
  23629. "type": "string"
  23630. },
  23631. "middlegoodsId": {
  23632. "description": "套保商品id",
  23633. "type": "integer"
  23634. },
  23635. "middlegoodscode": {
  23636. "description": "套保商品代码",
  23637. "type": "string"
  23638. },
  23639. "middlegoodsname": {
  23640. "description": "套保商品名称",
  23641. "type": "string"
  23642. },
  23643. "qty": {
  23644. "description": "数量",
  23645. "type": "number"
  23646. },
  23647. "relateNo": {
  23648. "description": "现货合同/套保计划编号",
  23649. "type": "string"
  23650. },
  23651. "unitid": {
  23652. "description": "现货商品单位id",
  23653. "type": "integer"
  23654. },
  23655. "wrstandardcode": {
  23656. "description": "现货商品代码",
  23657. "type": "string"
  23658. },
  23659. "wrstandardid": {
  23660. "description": "现货商品ID(SEQ_WRSTANDARD)",
  23661. "type": "integer"
  23662. },
  23663. "wrstandardname": {
  23664. "description": "现货商品名称",
  23665. "type": "string"
  23666. }
  23667. }
  23668. },
  23669. "models.Ermcp3ExposureFutuDetail": {
  23670. "type": "object",
  23671. "properties": {
  23672. "accountid": {
  23673. "description": "交易账户id",
  23674. "type": "integer"
  23675. },
  23676. "accountname": {
  23677. "description": "交易账户",
  23678. "type": "string"
  23679. },
  23680. "begindate": {
  23681. "description": "开始交易日",
  23682. "type": "string"
  23683. },
  23684. "buyorsell": {
  23685. "description": "方向 0-买 1-卖",
  23686. "type": "integer"
  23687. },
  23688. "diffmgqty": {
  23689. "description": "套保品种今变化量",
  23690. "type": "number"
  23691. },
  23692. "diffneedqty": {
  23693. "description": "应套保总量变化量",
  23694. "type": "number"
  23695. },
  23696. "difftradeqty": {
  23697. "description": "交易品种今变化量",
  23698. "type": "number"
  23699. },
  23700. "enddate": {
  23701. "description": "结束交易日",
  23702. "type": "string"
  23703. },
  23704. "enumdicname": {
  23705. "description": "单位名称",
  23706. "type": "string"
  23707. },
  23708. "goodscode": {
  23709. "description": "商品代码",
  23710. "type": "string"
  23711. },
  23712. "goodsid": {
  23713. "description": "商品id",
  23714. "type": "integer"
  23715. },
  23716. "goodsname": {
  23717. "description": "商品名称",
  23718. "type": "string"
  23719. },
  23720. "holdqty": {
  23721. "description": "期末持仓量",
  23722. "type": "number"
  23723. },
  23724. "middlegoodscode": {
  23725. "description": "套保商品代码",
  23726. "type": "string"
  23727. },
  23728. "middlegoodsid": {
  23729. "description": "套保商品id",
  23730. "type": "integer"
  23731. },
  23732. "middlegoodsname": {
  23733. "description": "套保商品名称",
  23734. "type": "string"
  23735. },
  23736. "oriholdqty": {
  23737. "description": "期初持仓量",
  23738. "type": "number"
  23739. },
  23740. "reckondate": {
  23741. "description": "交易日(RECKONDATE)",
  23742. "type": "string"
  23743. },
  23744. "todaycloseqty": {
  23745. "description": "今平仓量",
  23746. "type": "number"
  23747. },
  23748. "todayopenqty": {
  23749. "description": "今开仓量",
  23750. "type": "number"
  23751. },
  23752. "tradedate": {
  23753. "description": "交易日(RECKONDATE)",
  23754. "type": "string"
  23755. },
  23756. "username": {
  23757. "description": "用户名称(交易用户)",
  23758. "type": "string"
  23759. }
  23760. }
  23761. },
  23762. "models.Ermcp3ExposureHedgeplanDetail": {
  23763. "type": "object",
  23764. "properties": {
  23765. "biztype": {
  23766. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  23767. "type": "integer"
  23768. },
  23769. "changqty": {
  23770. "description": "应套保总量变化量",
  23771. "type": "number"
  23772. },
  23773. "contracttype": {
  23774. "description": "计划类型 - 1:采购 -1:销售",
  23775. "type": "integer"
  23776. },
  23777. "convertratio": {
  23778. "description": "折算系数(套保品种)",
  23779. "type": "number"
  23780. },
  23781. "deliverygoodscode": {
  23782. "description": "现货商品代码",
  23783. "type": "string"
  23784. },
  23785. "deliverygoodsid": {
  23786. "description": "现货商品id",
  23787. "type": "integer"
  23788. },
  23789. "deliverygoodsname": {
  23790. "description": "现货商吕名称",
  23791. "type": "string"
  23792. },
  23793. "dgunitid": {
  23794. "description": "现货商品单位id",
  23795. "type": "integer"
  23796. },
  23797. "dgunitidname": {
  23798. "description": "单位名称(现货商品)",
  23799. "type": "string"
  23800. },
  23801. "diffqty": {
  23802. "description": "套保品种今变动量",
  23803. "type": "number"
  23804. },
  23805. "enumdicname": {
  23806. "description": "单位名称(品类)",
  23807. "type": "string"
  23808. },
  23809. "hedgeplanid": {
  23810. "description": "套保计划id",
  23811. "type": "string"
  23812. },
  23813. "hedgeplanno": {
  23814. "description": "套保计划名称",
  23815. "type": "string"
  23816. },
  23817. "hedgeplanstatus": {
  23818. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23819. "type": "integer"
  23820. },
  23821. "mgunitidname": {
  23822. "description": "单位名称(套保商品)",
  23823. "type": "string"
  23824. },
  23825. "middlegoodscode": {
  23826. "description": "套保品种代码",
  23827. "type": "string"
  23828. },
  23829. "middlegoodsid": {
  23830. "description": "套保品种id",
  23831. "type": "integer"
  23832. },
  23833. "middlegoodsname": {
  23834. "description": "套保品种名称",
  23835. "type": "string"
  23836. },
  23837. "needarbitrageratio": {
  23838. "description": "应套利比例",
  23839. "type": "number"
  23840. },
  23841. "needhedgeratio": {
  23842. "description": "应套保比例",
  23843. "type": "number"
  23844. },
  23845. "pricedqty": {
  23846. "description": "已定价量",
  23847. "type": "number"
  23848. },
  23849. "qty": {
  23850. "description": "合同量",
  23851. "type": "number"
  23852. },
  23853. "reckondate": {
  23854. "description": "交易日(reckondate)",
  23855. "type": "string"
  23856. },
  23857. "tradedate": {
  23858. "description": "交易日(登记日)",
  23859. "type": "string"
  23860. },
  23861. "unitid": {
  23862. "description": "品类单位id",
  23863. "type": "integer"
  23864. },
  23865. "userid": {
  23866. "description": "机构id",
  23867. "type": "integer"
  23868. },
  23869. "wrstandardcode": {
  23870. "description": "品类代码",
  23871. "type": "string"
  23872. },
  23873. "wrstandardid": {
  23874. "description": "品类id",
  23875. "type": "integer"
  23876. },
  23877. "wrstandardname": {
  23878. "description": "品类名称",
  23879. "type": "string"
  23880. }
  23881. }
  23882. },
  23883. "models.Ermcp3ExposureParamChLog": {
  23884. "type": "object",
  23885. "properties": {
  23886. "accountid": {
  23887. "description": "期货账户ID (作废, 默认为0)",
  23888. "type": "integer"
  23889. },
  23890. "aftervalue": {
  23891. "description": "应套保\\套利量变更后(调整后应套保总量)",
  23892. "type": "number"
  23893. },
  23894. "areauserid": {
  23895. "description": "所属机构\\交易用户ID",
  23896. "type": "integer"
  23897. },
  23898. "beforevalue": {
  23899. "description": "应套保\\套利量变更前(调整前应套保总量)",
  23900. "type": "number"
  23901. },
  23902. "begindate": {
  23903. "description": "开始交易日",
  23904. "type": "string"
  23905. },
  23906. "changelogtype": {
  23907. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  23908. "type": "integer"
  23909. },
  23910. "curvalue": {
  23911. "description": "当前套保\\套利量(套保总量|套利总量)",
  23912. "type": "number"
  23913. },
  23914. "diffvalue": {
  23915. "description": "应套保总量变化量",
  23916. "type": "number"
  23917. },
  23918. "enddate": {
  23919. "description": "结束交易日",
  23920. "type": "string"
  23921. },
  23922. "logdatetime": {
  23923. "description": "流水日期",
  23924. "type": "string"
  23925. },
  23926. "logid": {
  23927. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  23928. "type": "string"
  23929. },
  23930. "middlegoodscode": {
  23931. "description": "套保品种代码",
  23932. "type": "string"
  23933. },
  23934. "middlegoodsid": {
  23935. "description": "套保品种",
  23936. "type": "integer"
  23937. },
  23938. "middlegoodsname": {
  23939. "description": "套保品种名称",
  23940. "type": "string"
  23941. },
  23942. "paramaftervalue": {
  23943. "description": "参数变更后(调整后参数值)",
  23944. "type": "number"
  23945. },
  23946. "parambeforevalue": {
  23947. "description": "参数变更前(调整前参数值)",
  23948. "type": "number"
  23949. },
  23950. "reckondate": {
  23951. "description": "交易日(reckondate)",
  23952. "type": "string"
  23953. },
  23954. "tradedate": {
  23955. "description": "交易日(yyyyMMdd)",
  23956. "type": "string"
  23957. }
  23958. }
  23959. },
  23960. "models.Ermcp3ExpourseReport": {
  23961. "type": "object",
  23962. "properties": {
  23963. "accountid": {
  23964. "description": "期货账户ID (作废, 默认为0)",
  23965. "type": "integer"
  23966. },
  23967. "accountname": {
  23968. "description": "机构名称",
  23969. "type": "string"
  23970. },
  23971. "arbitrageqty": {
  23972. "description": "套利量",
  23973. "type": "number"
  23974. },
  23975. "areauserid": {
  23976. "description": "所属机构\\交易用户ID",
  23977. "type": "integer"
  23978. },
  23979. "begindate": {
  23980. "description": "开始交易日",
  23981. "type": "string"
  23982. },
  23983. "buyfutureqty": {
  23984. "description": "买入期货数量",
  23985. "type": "number"
  23986. },
  23987. "buyplanqty": {
  23988. "description": "采购计划数量",
  23989. "type": "number"
  23990. },
  23991. "buypricedqty": {
  23992. "description": "采购合同已定价数量",
  23993. "type": "number"
  23994. },
  23995. "cycletime": {
  23996. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23997. "type": "string"
  23998. },
  23999. "cycletype": {
  24000. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24001. "type": "integer"
  24002. },
  24003. "diffexposure": {
  24004. "description": "变动量(套保敞口)",
  24005. "type": "number"
  24006. },
  24007. "difffutuqty": {
  24008. "description": "变动量(期货)",
  24009. "type": "number"
  24010. },
  24011. "diffhedgeqty": {
  24012. "description": "变动量(现货应套保总量)",
  24013. "type": "number"
  24014. },
  24015. "diffmgqtya": {
  24016. "description": "套保变动量",
  24017. "type": "number"
  24018. },
  24019. "diffmgqtyb": {
  24020. "description": "套利变动量",
  24021. "type": "number"
  24022. },
  24023. "diffneedqty": {
  24024. "description": "应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量",
  24025. "type": "number"
  24026. },
  24027. "diffqty": {
  24028. "description": "变动量(总敞口)",
  24029. "type": "number"
  24030. },
  24031. "diffspotqty": {
  24032. "description": "变动量(现货) | 除税变动量",
  24033. "type": "number"
  24034. },
  24035. "enddate": {
  24036. "description": "结束交易日",
  24037. "type": "string"
  24038. },
  24039. "enumdicname": {
  24040. "description": "单位名称",
  24041. "type": "string"
  24042. },
  24043. "hedgeqty": {
  24044. "description": "套保量",
  24045. "type": "number"
  24046. },
  24047. "mgneedhedgeratio": {
  24048. "description": "套保比例(套保品的)",
  24049. "type": "number"
  24050. },
  24051. "middlegoodsid": {
  24052. "description": "套保品种ID",
  24053. "type": "integer"
  24054. },
  24055. "middlegoodsname": {
  24056. "description": "套保商品名称",
  24057. "type": "string"
  24058. },
  24059. "middlgoodscode": {
  24060. "description": "套保商品代码",
  24061. "type": "string"
  24062. },
  24063. "needarbitrageqty": {
  24064. "description": "应套利量",
  24065. "type": "number"
  24066. },
  24067. "needarbitrageratio": {
  24068. "description": "套利比例(套保品的)",
  24069. "type": "number"
  24070. },
  24071. "needhedgeexposoure": {
  24072. "description": "应套保敞口(套保敞口)",
  24073. "type": "number"
  24074. },
  24075. "needhedgeqty": {
  24076. "description": "应套保量",
  24077. "type": "number"
  24078. },
  24079. "needhedgeratio": {
  24080. "description": "应套保敞口比例",
  24081. "type": "number"
  24082. },
  24083. "needqty": {
  24084. "description": "应套总量 = 应套保量 + 应套利量",
  24085. "type": "number"
  24086. },
  24087. "oriarbitrageqty": {
  24088. "description": "期初套利量",
  24089. "type": "number"
  24090. },
  24091. "oribuyfutureqty": {
  24092. "description": "期初买入期货数量",
  24093. "type": "number"
  24094. },
  24095. "oribuyplanqty": {
  24096. "description": "期初采购计划数量",
  24097. "type": "number"
  24098. },
  24099. "oribuypricedqty": {
  24100. "description": "期初采购合同已定价数量",
  24101. "type": "number"
  24102. },
  24103. "orihedgeqty": {
  24104. "description": "期初套保量",
  24105. "type": "number"
  24106. },
  24107. "orineedarbitrageqty": {
  24108. "description": "期初应套利量",
  24109. "type": "number"
  24110. },
  24111. "orineedhedgeexposoure": {
  24112. "description": "期初应套保敞口",
  24113. "type": "number"
  24114. },
  24115. "orineedhedgeqty": {
  24116. "description": "期初应套保量",
  24117. "type": "number"
  24118. },
  24119. "orisellfutureqty": {
  24120. "description": "期初卖出期货数量",
  24121. "type": "number"
  24122. },
  24123. "orisellplanqty": {
  24124. "description": "期初销售计划数量",
  24125. "type": "number"
  24126. },
  24127. "orisellpricedqty": {
  24128. "description": "期初销售合同已定价数量",
  24129. "type": "number"
  24130. },
  24131. "oritotalexposure": {
  24132. "description": "期初实时总敞口",
  24133. "type": "number"
  24134. },
  24135. "oritotalfutureqty": {
  24136. "description": "期初期货头寸总量",
  24137. "type": "number"
  24138. },
  24139. "oritotalneedhedgeqty": {
  24140. "description": "期初应套保总量",
  24141. "type": "number"
  24142. },
  24143. "oritotalspotqty": {
  24144. "description": "期初现货头寸总量",
  24145. "type": "number"
  24146. },
  24147. "reckondate": {
  24148. "description": "日照时期(yyyyMMdd)",
  24149. "type": "string"
  24150. },
  24151. "sellfutureqty": {
  24152. "description": "卖出期货数量",
  24153. "type": "number"
  24154. },
  24155. "sellplanqty": {
  24156. "description": "销售计划数量",
  24157. "type": "number"
  24158. },
  24159. "sellpricedqty": {
  24160. "description": "销售合同已定价数量",
  24161. "type": "number"
  24162. },
  24163. "totalexposure": {
  24164. "description": "实时总敞口(总敞口)",
  24165. "type": "number"
  24166. },
  24167. "totalfutureqty": {
  24168. "description": "期货头寸总量(期货总量)",
  24169. "type": "number"
  24170. },
  24171. "totalhedgeratio": {
  24172. "description": "敞口比例",
  24173. "type": "number"
  24174. },
  24175. "totalneedhedgeqty": {
  24176. "description": "应套保总量(现货应套保总量)",
  24177. "type": "number"
  24178. },
  24179. "totalspotqty": {
  24180. "description": "现货头寸总量 | 除税总量",
  24181. "type": "number"
  24182. },
  24183. "unitid": {
  24184. "description": "单位id",
  24185. "type": "integer"
  24186. },
  24187. "updatetime": {
  24188. "description": "更新时间",
  24189. "type": "string"
  24190. }
  24191. }
  24192. },
  24193. "models.Ermcp3FinanceReport": {
  24194. "type": "object",
  24195. "properties": {
  24196. "accountname": {
  24197. "description": "机构名称",
  24198. "type": "string"
  24199. },
  24200. "areauserid": {
  24201. "description": "所属机构\\交易用户ID",
  24202. "type": "integer"
  24203. },
  24204. "begindate": {
  24205. "description": "开始交易日",
  24206. "type": "string"
  24207. },
  24208. "biztype": {
  24209. "description": "业务类型 - 1:套保 2:套利",
  24210. "type": "integer"
  24211. },
  24212. "brandname": {
  24213. "description": "品牌名称",
  24214. "type": "string"
  24215. },
  24216. "buypreinvoicedamount": {
  24217. "description": "采购预收票额(预收票额)",
  24218. "type": "number"
  24219. },
  24220. "buyprepaidamount": {
  24221. "description": "采购预付款额(预付货款额)",
  24222. "type": "number"
  24223. },
  24224. "buytodayinvoiceamount": {
  24225. "description": "采购今收票额(今收票额)",
  24226. "type": "number"
  24227. },
  24228. "buytodayrefundamount": {
  24229. "description": "采购今收退款额(今收退款额)",
  24230. "type": "number"
  24231. },
  24232. "buytodaysettleamount": {
  24233. "description": "采购今付款额(今付货款额)",
  24234. "type": "number"
  24235. },
  24236. "buyuninvoicedamount": {
  24237. "description": "采购应收票额(应收票额)",
  24238. "type": "number"
  24239. },
  24240. "buyunpaidamount": {
  24241. "description": "采购应付款额(应付货款额)",
  24242. "type": "number"
  24243. },
  24244. "currencyid": {
  24245. "description": "结算币种ID",
  24246. "type": "integer"
  24247. },
  24248. "currencyname": {
  24249. "description": "币种名称",
  24250. "type": "string"
  24251. },
  24252. "cycletime": {
  24253. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24254. "type": "string"
  24255. },
  24256. "cycletype": {
  24257. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24258. "type": "integer"
  24259. },
  24260. "deliverygoodscode": {
  24261. "description": "现货品种代码",
  24262. "type": "string"
  24263. },
  24264. "deliverygoodsid": {
  24265. "description": "现货品种ID",
  24266. "type": "integer"
  24267. },
  24268. "deliverygoodsname": {
  24269. "description": "现货品种名称",
  24270. "type": "string"
  24271. },
  24272. "enddate": {
  24273. "description": "结束交易日",
  24274. "type": "string"
  24275. },
  24276. "reckondate": {
  24277. "description": "日照时期(yyyyMMdd)",
  24278. "type": "string"
  24279. },
  24280. "sellpreinvoicedamount": {
  24281. "description": "销售预开票额(预开票额)",
  24282. "type": "number"
  24283. },
  24284. "sellprepaidamount": {
  24285. "description": "销售预收款额(预收货款额)",
  24286. "type": "number"
  24287. },
  24288. "selltodayinvoiceamount": {
  24289. "description": "销售今开票额(今开票额)",
  24290. "type": "number"
  24291. },
  24292. "selltodayrefundamount": {
  24293. "description": "销售今付退款额(今付退款额)",
  24294. "type": "number"
  24295. },
  24296. "selltodaysettleamount": {
  24297. "description": "销售今收款额(今收货款额)",
  24298. "type": "number"
  24299. },
  24300. "selluninvoicedamount": {
  24301. "description": "销售应开票额(应开票额)",
  24302. "type": "number"
  24303. },
  24304. "sellunpaidamount": {
  24305. "description": "销售应收款额(应收货款额)",
  24306. "type": "number"
  24307. },
  24308. "spotgoodsbrandid": {
  24309. "description": "现货品牌ID",
  24310. "type": "integer"
  24311. },
  24312. "todaypaysum": {
  24313. "description": "今付款合计",
  24314. "type": "number"
  24315. },
  24316. "todayreceivesum": {
  24317. "description": "今收款合计",
  24318. "type": "number"
  24319. },
  24320. "updatetime": {
  24321. "description": "更新时间",
  24322. "type": "string"
  24323. },
  24324. "wrfactortypeid": {
  24325. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  24326. "type": "integer"
  24327. },
  24328. "wrstandardcode": {
  24329. "description": "品类代码",
  24330. "type": "string"
  24331. },
  24332. "wrstandardid": {
  24333. "description": "现货商品ID",
  24334. "type": "integer"
  24335. },
  24336. "wrstandardname": {
  24337. "description": "品类名称",
  24338. "type": "string"
  24339. }
  24340. }
  24341. },
  24342. "models.Ermcp3GoodsGroup": {
  24343. "type": "object",
  24344. "required": [
  24345. "areauserid"
  24346. ],
  24347. "properties": {
  24348. "agreeunit": {
  24349. "description": "合约单位",
  24350. "type": "number"
  24351. },
  24352. "areauserid": {
  24353. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  24354. "type": "integer"
  24355. },
  24356. "canshort": {
  24357. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  24358. "type": "integer"
  24359. },
  24360. "closepricemode": {
  24361. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24362. "type": "integer"
  24363. },
  24364. "createtime": {
  24365. "description": "创建时间",
  24366. "type": "string"
  24367. },
  24368. "creatorid": {
  24369. "description": "创建人",
  24370. "type": "integer"
  24371. },
  24372. "currencyid": {
  24373. "description": "报价货币ID",
  24374. "type": "integer"
  24375. },
  24376. "decimalplace": {
  24377. "description": "报价小数位",
  24378. "type": "integer"
  24379. },
  24380. "enumdicname": {
  24381. "description": "单位名称",
  24382. "type": "string"
  24383. },
  24384. "exchangefullname": {
  24385. "description": "交易所全称",
  24386. "type": "string"
  24387. },
  24388. "excludecfg": {
  24389. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  24390. "type": "integer"
  24391. },
  24392. "exexchangecode": {
  24393. "description": "交易所代码",
  24394. "type": "string"
  24395. },
  24396. "exexchangeid": {
  24397. "description": "外部交易所ID[通道交易]",
  24398. "type": "integer"
  24399. },
  24400. "exexchangename": {
  24401. "description": "交易所名称",
  24402. "type": "string"
  24403. },
  24404. "goodsgroupid": {
  24405. "description": "商品组ID(自增ID)",
  24406. "type": "integer"
  24407. },
  24408. "goodsgroupname": {
  24409. "description": "商品组名称",
  24410. "type": "string"
  24411. },
  24412. "goodsgroupstatus": {
  24413. "description": "商品组状态 - 1:正常 2:注销",
  24414. "type": "integer"
  24415. },
  24416. "goodunitid": {
  24417. "description": "报价单位ID",
  24418. "type": "integer"
  24419. },
  24420. "groupcategroyid": {
  24421. "description": "品种分类ID",
  24422. "type": "integer"
  24423. },
  24424. "innerdealmode": {
  24425. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24426. "type": "integer"
  24427. },
  24428. "marketid": {
  24429. "description": "所属市场ID",
  24430. "type": "integer"
  24431. },
  24432. "modifierid": {
  24433. "description": "修改人",
  24434. "type": "integer"
  24435. },
  24436. "modifytime": {
  24437. "description": "修改时间",
  24438. "type": "string"
  24439. },
  24440. "outerdealmode": {
  24441. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24442. "type": "integer"
  24443. },
  24444. "outergroupcode": {
  24445. "description": "外部商品组代码[通道交易]",
  24446. "type": "string"
  24447. },
  24448. "quoteminunit": {
  24449. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24450. "type": "integer"
  24451. },
  24452. "quotesourcegroupid": {
  24453. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  24454. "type": "integer"
  24455. },
  24456. "syncgoodsqty": {
  24457. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  24458. "type": "integer"
  24459. }
  24460. }
  24461. },
  24462. "models.Ermcp3HPMiddleGoods": {
  24463. "type": "object",
  24464. "properties": {
  24465. "biztype": {
  24466. "description": "业务类型 1:套保 2:套利",
  24467. "type": "integer"
  24468. },
  24469. "contracttype": {
  24470. "description": "合同类型 1:采购 -1:销售",
  24471. "type": "integer"
  24472. },
  24473. "convertratio": {
  24474. "description": "折算系数",
  24475. "type": "number"
  24476. },
  24477. "customername": {
  24478. "description": "对手手名称",
  24479. "type": "string"
  24480. },
  24481. "customeruserid": {
  24482. "description": "对手id",
  24483. "type": "integer"
  24484. },
  24485. "enumdicname": {
  24486. "description": "现货单位名称",
  24487. "type": "string"
  24488. },
  24489. "hedgeplanid": {
  24490. "description": "计划id",
  24491. "type": "string"
  24492. },
  24493. "hedgeplanno": {
  24494. "description": "计划编号",
  24495. "type": "string"
  24496. },
  24497. "middlegoodsid": {
  24498. "description": "套保品种ID",
  24499. "type": "integer"
  24500. },
  24501. "middlegoodsplanqty3": {
  24502. "description": "应套保计划量",
  24503. "type": "number"
  24504. },
  24505. "needhedgeratio": {
  24506. "description": "套保比例",
  24507. "type": "number"
  24508. },
  24509. "pricedqty": {
  24510. "description": "已定价量",
  24511. "type": "number"
  24512. },
  24513. "relatedmiddlegoodsqty": {
  24514. "description": "已关联量(套保品种)(期货)",
  24515. "type": "number"
  24516. },
  24517. "unitid": {
  24518. "description": "现货单位id",
  24519. "type": "integer"
  24520. },
  24521. "userid": {
  24522. "description": "用户id",
  24523. "type": "integer"
  24524. },
  24525. "vatrate": {
  24526. "description": "增值税率",
  24527. "type": "number"
  24528. },
  24529. "wrstandardcode": {
  24530. "description": "现货商品代码",
  24531. "type": "string"
  24532. },
  24533. "wrstandardid": {
  24534. "description": "现货商品id",
  24535. "type": "integer"
  24536. },
  24537. "wrstandardname": {
  24538. "description": "现货商品名称",
  24539. "type": "string"
  24540. }
  24541. }
  24542. },
  24543. "models.Ermcp3HedgePlan": {
  24544. "type": "object",
  24545. "properties": {
  24546. "accountid": {
  24547. "description": "资金账号",
  24548. "type": "integer"
  24549. },
  24550. "areauserid": {
  24551. "description": "用户ID",
  24552. "type": "integer"
  24553. },
  24554. "auditid": {
  24555. "description": "审核id",
  24556. "type": "integer"
  24557. },
  24558. "auditname": {
  24559. "description": "审核人名称",
  24560. "type": "string"
  24561. },
  24562. "auditremark": {
  24563. "description": "审核备注",
  24564. "type": "string"
  24565. },
  24566. "auditsrc": {
  24567. "description": "审核来源 1-管理端 2-终端",
  24568. "type": "integer"
  24569. },
  24570. "audittime": {
  24571. "description": "审核时间",
  24572. "type": "string"
  24573. },
  24574. "contracttype": {
  24575. "description": "计划类型 - 1:采购 -1:销售",
  24576. "type": "integer"
  24577. },
  24578. "convertfactor": {
  24579. "description": "标仓系数",
  24580. "type": "number"
  24581. },
  24582. "createtime": {
  24583. "description": "创建时间",
  24584. "type": "string"
  24585. },
  24586. "currencyid": {
  24587. "description": "币种id",
  24588. "type": "integer"
  24589. },
  24590. "currencyname": {
  24591. "description": "币种名称",
  24592. "type": "string"
  24593. },
  24594. "deliverygoodscode": {
  24595. "description": "现货品种代码",
  24596. "type": "string"
  24597. },
  24598. "deliverygoodsid": {
  24599. "description": "现货品种ID",
  24600. "type": "integer"
  24601. },
  24602. "deliverygoodsname": {
  24603. "description": "现货品种名称",
  24604. "type": "string"
  24605. },
  24606. "enumdicname": {
  24607. "description": "单位名称(现货商品)",
  24608. "type": "string"
  24609. },
  24610. "hedgeplanid": {
  24611. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  24612. "type": "string"
  24613. },
  24614. "hedgeplanno": {
  24615. "description": "套保计划编号(名称)",
  24616. "type": "string"
  24617. },
  24618. "hedgeplanstatus": {
  24619. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  24620. "type": "integer"
  24621. },
  24622. "planqty": {
  24623. "description": "计划数量",
  24624. "type": "number"
  24625. },
  24626. "plantime": {
  24627. "description": "计划时间",
  24628. "type": "string"
  24629. },
  24630. "producttype": {
  24631. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  24632. "type": "integer"
  24633. },
  24634. "remark": {
  24635. "description": "备注",
  24636. "type": "string"
  24637. },
  24638. "spotgoodsdesc": {
  24639. "description": "商品型号",
  24640. "type": "string"
  24641. },
  24642. "taaccountname": {
  24643. "description": "资金账号名称",
  24644. "type": "string"
  24645. },
  24646. "tradeuserid": {
  24647. "description": "交易用户id",
  24648. "type": "integer"
  24649. },
  24650. "tradeusername": {
  24651. "description": "交易用户名称",
  24652. "type": "string"
  24653. },
  24654. "unitid": {
  24655. "description": "单位id(现货商品)",
  24656. "type": "integer"
  24657. },
  24658. "updatetime": {
  24659. "description": "更新时间",
  24660. "type": "string"
  24661. },
  24662. "vatrate": {
  24663. "description": "增值税率",
  24664. "type": "number"
  24665. },
  24666. "wrstandardcode": {
  24667. "description": "品类代码",
  24668. "type": "string"
  24669. },
  24670. "wrstandardid": {
  24671. "description": "品类id",
  24672. "type": "integer"
  24673. },
  24674. "wrstandardname": {
  24675. "description": "品类名称",
  24676. "type": "string"
  24677. },
  24678. "wrunitid": {
  24679. "description": "品类单位id",
  24680. "type": "integer"
  24681. },
  24682. "wrunitidame": {
  24683. "description": "品类单位名称",
  24684. "type": "string"
  24685. }
  24686. }
  24687. },
  24688. "models.Ermcp3InnerTradeLink": {
  24689. "type": "object",
  24690. "properties": {
  24691. "accountid": {
  24692. "description": "期货账号代码 | 资金账号ID",
  24693. "type": "integer"
  24694. },
  24695. "buyorsell": {
  24696. "description": "方向 - 0:买 1:卖",
  24697. "type": "integer"
  24698. },
  24699. "channelbuildtype": {
  24700. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  24701. "type": "integer"
  24702. },
  24703. "currencyid": {
  24704. "description": "币种id",
  24705. "type": "integer"
  24706. },
  24707. "currencyname": {
  24708. "description": "结算币种 名称",
  24709. "type": "string"
  24710. },
  24711. "goodscode": {
  24712. "description": "商品代码",
  24713. "type": "string"
  24714. },
  24715. "goodsid": {
  24716. "description": "商品ID",
  24717. "type": "integer"
  24718. },
  24719. "goodsname": {
  24720. "description": "商品名称",
  24721. "type": "string"
  24722. },
  24723. "outtradeid": {
  24724. "description": "外部成交单号",
  24725. "type": "string"
  24726. },
  24727. "taname": {
  24728. "description": "期货账户名称",
  24729. "type": "string"
  24730. },
  24731. "tradeid": {
  24732. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24733. "type": "string"
  24734. },
  24735. "tradeprice": {
  24736. "description": "成交价格",
  24737. "type": "number"
  24738. },
  24739. "tradeqty": {
  24740. "description": "期货成交数量",
  24741. "type": "integer"
  24742. },
  24743. "tradetime": {
  24744. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  24745. "type": "string"
  24746. },
  24747. "username": {
  24748. "description": "用户名称",
  24749. "type": "string"
  24750. }
  24751. }
  24752. },
  24753. "models.Ermcp3OutTradeLink": {
  24754. "type": "object",
  24755. "properties": {
  24756. "buyorsell": {
  24757. "description": "买卖方向 - 0:买 1:卖",
  24758. "type": "integer"
  24759. },
  24760. "channelbuildtype": {
  24761. "description": "开平标志- 0:无 1:建仓 2:平仓",
  24762. "type": "integer"
  24763. },
  24764. "currencyname": {
  24765. "description": "币种名称",
  24766. "type": "string"
  24767. },
  24768. "exexchangecode": {
  24769. "description": "交易所代码",
  24770. "type": "string"
  24771. },
  24772. "exexchangename": {
  24773. "description": "交易所名称",
  24774. "type": "string"
  24775. },
  24776. "goodscode": {
  24777. "description": "合约代码",
  24778. "type": "string"
  24779. },
  24780. "goodsid": {
  24781. "description": "合约id",
  24782. "type": "integer"
  24783. },
  24784. "goodsname": {
  24785. "description": "合约名称",
  24786. "type": "string"
  24787. },
  24788. "hasinnerorder": {
  24789. "description": "是否有内部单关联 - 0:无 1:有",
  24790. "type": "integer"
  24791. },
  24792. "hedgeaccountcode": {
  24793. "description": "外部账号 | 对冲账号",
  24794. "type": "string"
  24795. },
  24796. "outtradeid": {
  24797. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24798. "type": "string"
  24799. },
  24800. "tradeprice": {
  24801. "description": "成交价格",
  24802. "type": "number"
  24803. },
  24804. "tradeqty": {
  24805. "description": "成交数量",
  24806. "type": "integer"
  24807. },
  24808. "tradetime": {
  24809. "description": "成交时间",
  24810. "type": "string"
  24811. }
  24812. }
  24813. },
  24814. "models.Ermcp3PaAreaAuditCfg": {
  24815. "type": "object",
  24816. "properties": {
  24817. "areauserid": {
  24818. "description": "用户ID",
  24819. "type": "integer"
  24820. },
  24821. "buyinauditflag": {
  24822. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  24823. "type": "integer"
  24824. },
  24825. "costratioauditflag": {
  24826. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  24827. "type": "integer"
  24828. },
  24829. "customerauditflag": {
  24830. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  24831. "type": "integer"
  24832. },
  24833. "deliveryauditflag": {
  24834. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  24835. "type": "integer"
  24836. },
  24837. "invoiceauditflag": {
  24838. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  24839. "type": "integer"
  24840. },
  24841. "mgneedhedgeratioauditflag": {
  24842. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  24843. "type": "integer"
  24844. },
  24845. "moneyauditflag": {
  24846. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  24847. "type": "integer"
  24848. },
  24849. "operatorid": {
  24850. "description": "操作人",
  24851. "type": "integer"
  24852. },
  24853. "operatorsrc": {
  24854. "description": "操作来源 - 1:管理端 2:终端",
  24855. "type": "integer"
  24856. },
  24857. "pointpriceauditflag": {
  24858. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  24859. "type": "integer"
  24860. },
  24861. "produceinauditflag": {
  24862. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  24863. "type": "integer"
  24864. },
  24865. "produceoutauditflag": {
  24866. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  24867. "type": "integer"
  24868. },
  24869. "selloutauditflag": {
  24870. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  24871. "type": "integer"
  24872. },
  24873. "sgconvertratioauditflag": {
  24874. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  24875. "type": "integer"
  24876. },
  24877. "sgvtaratioauditflag": {
  24878. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  24879. "type": "integer"
  24880. },
  24881. "spotcontractauditflag": {
  24882. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  24883. "type": "integer"
  24884. },
  24885. "updatetime": {
  24886. "description": "更新时间",
  24887. "type": "string"
  24888. }
  24889. }
  24890. },
  24891. "models.Ermcp3PaAreaSubject": {
  24892. "type": "object",
  24893. "properties": {
  24894. "areauserid": {
  24895. "description": "所属机构",
  24896. "type": "integer"
  24897. },
  24898. "canmodify": {
  24899. "description": "是否可修改 - 0:否 1:是",
  24900. "type": "integer"
  24901. },
  24902. "createtime": {
  24903. "description": "创建时间",
  24904. "type": "string"
  24905. },
  24906. "creatorid": {
  24907. "description": "创建人ID",
  24908. "type": "string"
  24909. },
  24910. "creatorsrc": {
  24911. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  24912. "type": "integer"
  24913. },
  24914. "modifierid": {
  24915. "description": "修改人",
  24916. "type": "string"
  24917. },
  24918. "modifiersrc": {
  24919. "description": "修改人来源 - 1:管理端 2:终端",
  24920. "type": "integer"
  24921. },
  24922. "modifytime": {
  24923. "description": "修改时间",
  24924. "type": "string"
  24925. },
  24926. "parentsubjectid": {
  24927. "description": "上级主体ID",
  24928. "type": "string"
  24929. },
  24930. "remark": {
  24931. "description": "备注",
  24932. "type": "string"
  24933. },
  24934. "subjectid": {
  24935. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  24936. "type": "integer"
  24937. },
  24938. "subjectname": {
  24939. "description": "主体名称",
  24940. "type": "string"
  24941. },
  24942. "subjectstatus": {
  24943. "description": "主体状态 - 1:正常 2: 停用",
  24944. "type": "integer"
  24945. },
  24946. "subjecttype": {
  24947. "description": "主体类型 - 1:交易主体 2:业务部门",
  24948. "type": "integer"
  24949. }
  24950. }
  24951. },
  24952. "models.Ermcp3PaTradeLink": {
  24953. "type": "object",
  24954. "properties": {
  24955. "accountid": {
  24956. "description": "期货账户代码 | 账号ID",
  24957. "type": "integer"
  24958. },
  24959. "agreeunit": {
  24960. "description": "合约乘数",
  24961. "type": "number"
  24962. },
  24963. "buyorsell": {
  24964. "description": "方向 - 0:买 1:卖",
  24965. "type": "integer"
  24966. },
  24967. "channelbuildtype": {
  24968. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  24969. "type": "integer"
  24970. },
  24971. "charge": {
  24972. "description": "手续费",
  24973. "type": "number"
  24974. },
  24975. "closepl": {
  24976. "description": "平仓盈亏",
  24977. "type": "number"
  24978. },
  24979. "closetype": {
  24980. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  24981. "type": "integer"
  24982. },
  24983. "convertratio": {
  24984. "description": "折算系数",
  24985. "type": "number"
  24986. },
  24987. "enumdicname": {
  24988. "description": "单位名称",
  24989. "type": "string"
  24990. },
  24991. "executeprice": {
  24992. "description": "执行价 [期权]",
  24993. "type": "integer"
  24994. },
  24995. "goodscode": {
  24996. "description": "合约代码",
  24997. "type": "string"
  24998. },
  24999. "goodsgroupid": {
  25000. "description": "对冲品种ID[期货合约商品组ID]",
  25001. "type": "integer"
  25002. },
  25003. "goodsid": {
  25004. "description": "商品ID",
  25005. "type": "integer"
  25006. },
  25007. "goodsname": {
  25008. "description": "合约名称",
  25009. "type": "string"
  25010. },
  25011. "goodunitid": {
  25012. "description": "单位id",
  25013. "type": "integer"
  25014. },
  25015. "hedgeflag": {
  25016. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  25017. "type": "integer"
  25018. },
  25019. "marketid": {
  25020. "description": "市场ID",
  25021. "type": "integer"
  25022. },
  25023. "middlegoodsid": {
  25024. "description": "套保品种ID",
  25025. "type": "integer"
  25026. },
  25027. "middlegoodsqty": {
  25028. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  25029. "type": "number"
  25030. },
  25031. "optioncode": {
  25032. "description": "期权代码 [期权]",
  25033. "type": "string"
  25034. },
  25035. "ordertype": {
  25036. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  25037. "type": "integer"
  25038. },
  25039. "ordertypename": {
  25040. "description": "订单类型",
  25041. "type": "string"
  25042. },
  25043. "parentaccountid": {
  25044. "description": "所属母账户",
  25045. "type": "integer"
  25046. },
  25047. "premium": {
  25048. "description": "权利金 [期权]",
  25049. "type": "number"
  25050. },
  25051. "relatedlot": {
  25052. "description": "已关联数量(已关联数量手) | db:关联手数",
  25053. "type": "number"
  25054. },
  25055. "relatedouttradeid": {
  25056. "description": "关联外部成交单ID",
  25057. "type": "string"
  25058. },
  25059. "relatedqty": {
  25060. "description": "关联数量",
  25061. "type": "number"
  25062. },
  25063. "spotcontractid": {
  25064. "description": "现货合同ID [4:套期保值\\10\\11]",
  25065. "type": "string"
  25066. },
  25067. "taname": {
  25068. "description": "期货账户名称",
  25069. "type": "string"
  25070. },
  25071. "tradeamount": {
  25072. "description": "成交金额(账户)",
  25073. "type": "number"
  25074. },
  25075. "tradedate": {
  25076. "description": "交易日(yyyyMMdd)",
  25077. "type": "string"
  25078. },
  25079. "tradeid": {
  25080. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25081. "type": "string"
  25082. },
  25083. "tradelot": {
  25084. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  25085. "type": "integer"
  25086. },
  25087. "tradeprice": {
  25088. "description": "成交价格",
  25089. "type": "number"
  25090. },
  25091. "tradetime": {
  25092. "description": "时间 | db:成交时间",
  25093. "type": "string"
  25094. },
  25095. "tradetype": {
  25096. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  25097. "type": "integer"
  25098. },
  25099. "userid": {
  25100. "description": "所属机构 - 所属母账户的UserID",
  25101. "type": "string"
  25102. },
  25103. "username": {
  25104. "description": "用户名称",
  25105. "type": "string"
  25106. }
  25107. }
  25108. },
  25109. "models.Ermcp3ParamChangeApp": {
  25110. "type": "object",
  25111. "properties": {
  25112. "aftervalue": {
  25113. "description": "变更后",
  25114. "type": "number"
  25115. },
  25116. "applicationid": {
  25117. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  25118. "type": "string"
  25119. },
  25120. "applyid": {
  25121. "description": "申请人",
  25122. "type": "string"
  25123. },
  25124. "applyname": {
  25125. "description": "申请人名称(代码)",
  25126. "type": "string"
  25127. },
  25128. "applyremark": {
  25129. "description": "申请备注",
  25130. "type": "string"
  25131. },
  25132. "applysrc": {
  25133. "description": "申请来源 - 1:管理端 2:终端",
  25134. "type": "integer"
  25135. },
  25136. "applystatus": {
  25137. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  25138. "type": "integer"
  25139. },
  25140. "applytime": {
  25141. "description": "申请时间",
  25142. "type": "string"
  25143. },
  25144. "areauserid": {
  25145. "description": "所属机构用户ID",
  25146. "type": "integer"
  25147. },
  25148. "auditid": {
  25149. "description": "审核人",
  25150. "type": "string"
  25151. },
  25152. "auditname": {
  25153. "description": "审核人名称(代码)",
  25154. "type": "string"
  25155. },
  25156. "auditremark": {
  25157. "description": "审核备注",
  25158. "type": "string"
  25159. },
  25160. "auditsrc": {
  25161. "description": "审核来源 - 1:管理端 2:终端",
  25162. "type": "integer"
  25163. },
  25164. "audittime": {
  25165. "description": "审核时间",
  25166. "type": "string"
  25167. },
  25168. "audittradedate": {
  25169. "description": "审核交易日(yyyyMMdd)",
  25170. "type": "string"
  25171. },
  25172. "beforevalue": {
  25173. "description": "变更前",
  25174. "type": "number"
  25175. },
  25176. "deliverygoodscode": {
  25177. "description": "品种代码",
  25178. "type": "string"
  25179. },
  25180. "deliverygoodsid": {
  25181. "description": "品种id",
  25182. "type": "integer"
  25183. },
  25184. "deliverygoodsname": {
  25185. "description": "品种名称",
  25186. "type": "string"
  25187. },
  25188. "middlegoodscode": {
  25189. "description": "套保品种代码",
  25190. "type": "string"
  25191. },
  25192. "middlegoodsid": {
  25193. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  25194. "type": "integer"
  25195. },
  25196. "middlegoodsname": {
  25197. "description": "套保品种名称",
  25198. "type": "string"
  25199. },
  25200. "operatetype": {
  25201. "description": "操作类型 - 1:新增 2:修改",
  25202. "type": "integer"
  25203. },
  25204. "paramchangetype": {
  25205. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  25206. "type": "integer"
  25207. },
  25208. "wrstandardcode": {
  25209. "description": "现货商品代码",
  25210. "type": "string"
  25211. },
  25212. "wrstandardid": {
  25213. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  25214. "type": "integer"
  25215. },
  25216. "wrstandardname": {
  25217. "description": "现货商品名称",
  25218. "type": "string"
  25219. }
  25220. }
  25221. },
  25222. "models.Ermcp3RootUserAccount": {
  25223. "type": "object",
  25224. "properties": {
  25225. "accountname": {
  25226. "description": "账户名称(机构名称)",
  25227. "type": "string"
  25228. },
  25229. "accountstatus": {
  25230. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  25231. "type": "integer"
  25232. },
  25233. "applysrc": {
  25234. "description": "申请来源 - 1:管理端 2:终端",
  25235. "type": "integer"
  25236. },
  25237. "auditremark": {
  25238. "description": "审核备注",
  25239. "type": "string"
  25240. },
  25241. "auditsrc": {
  25242. "description": "审核来源 - 1:管理端 2:终端",
  25243. "type": "integer"
  25244. },
  25245. "audittime": {
  25246. "description": "审核时间",
  25247. "type": "string"
  25248. },
  25249. "audituserid": {
  25250. "description": "审核人",
  25251. "type": "integer"
  25252. },
  25253. "broker": {
  25254. "description": "所属经纪人ID",
  25255. "type": "integer"
  25256. },
  25257. "canceltime": {
  25258. "description": "销户时间",
  25259. "type": "string"
  25260. },
  25261. "canceluserid": {
  25262. "description": "销户人",
  25263. "type": "integer"
  25264. },
  25265. "canrecommend": {
  25266. "description": "是否可推荐 - 0:不可 1;可",
  25267. "type": "integer"
  25268. },
  25269. "createtime": {
  25270. "description": "创建时间",
  25271. "type": "string"
  25272. },
  25273. "creatorid": {
  25274. "description": "创建人",
  25275. "type": "integer"
  25276. },
  25277. "hasauth": {
  25278. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  25279. "type": "integer"
  25280. },
  25281. "isanonymous": {
  25282. "description": "是否匿名下单 - 0:否 1:是",
  25283. "type": "integer"
  25284. },
  25285. "maxinvestornum": {
  25286. "description": "最大用户数(经纪会员下投资者个数)",
  25287. "type": "integer"
  25288. },
  25289. "memberuserid": {
  25290. "description": "所属会员ID",
  25291. "type": "integer"
  25292. },
  25293. "modifierid": {
  25294. "description": "修改人",
  25295. "type": "integer"
  25296. },
  25297. "modifyremark": {
  25298. "description": "变更备注",
  25299. "type": "string"
  25300. },
  25301. "modifystatus": {
  25302. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  25303. "type": "integer"
  25304. },
  25305. "modifytime": {
  25306. "description": "修改时间",
  25307. "type": "string"
  25308. },
  25309. "nickname": {
  25310. "description": "昵称",
  25311. "type": "string"
  25312. },
  25313. "parenttopuser": {
  25314. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  25315. "type": "string"
  25316. },
  25317. "parentuserid": {
  25318. "description": "所属机构ID",
  25319. "type": "integer"
  25320. },
  25321. "reckonaccountid": {
  25322. "description": "默认结算资金账号ID(机构分润使用) 作废",
  25323. "type": "integer"
  25324. },
  25325. "refercount": {
  25326. "description": "推荐总人数",
  25327. "type": "integer"
  25328. },
  25329. "refereeuserid": {
  25330. "description": "推荐人ID",
  25331. "type": "integer"
  25332. },
  25333. "refernum": {
  25334. "description": "推荐码",
  25335. "type": "string"
  25336. },
  25337. "rootuserid": {
  25338. "description": "根用户ID",
  25339. "type": "integer"
  25340. },
  25341. "subaccountlevel": {
  25342. "description": "子账户层数",
  25343. "type": "integer"
  25344. },
  25345. "subarealevelpath": {
  25346. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  25347. "type": "string"
  25348. },
  25349. "userid": {
  25350. "description": "用户ID",
  25351. "type": "integer"
  25352. },
  25353. "usertype": {
  25354. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  25355. "type": "integer"
  25356. }
  25357. }
  25358. },
  25359. "models.Ermcp3SCMiddleGoods": {
  25360. "type": "object",
  25361. "properties": {
  25362. "biztype": {
  25363. "description": "业务类型 1:套保 2:套利",
  25364. "type": "integer"
  25365. },
  25366. "contractno": {
  25367. "description": "合同编号",
  25368. "type": "string"
  25369. },
  25370. "contracttype": {
  25371. "description": "合同类型 1:采购 -1:销售",
  25372. "type": "integer"
  25373. },
  25374. "convertratio": {
  25375. "description": "折算系数",
  25376. "type": "number"
  25377. },
  25378. "customername": {
  25379. "description": "对手手名称",
  25380. "type": "string"
  25381. },
  25382. "customeruserid": {
  25383. "description": "对手id",
  25384. "type": "integer"
  25385. },
  25386. "deliverygoodscode": {
  25387. "description": "现货品种代码",
  25388. "type": "string"
  25389. },
  25390. "deliverygoodsid": {
  25391. "description": "现货品种ID",
  25392. "type": "integer"
  25393. },
  25394. "deliverygoodsname": {
  25395. "description": "现货品种名称",
  25396. "type": "string"
  25397. },
  25398. "enumdicname": {
  25399. "description": "现货单位名称",
  25400. "type": "string"
  25401. },
  25402. "middlegoodsid": {
  25403. "description": "套保品种ID",
  25404. "type": "integer"
  25405. },
  25406. "middlegoodspricedqty3": {
  25407. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  25408. "type": "number"
  25409. },
  25410. "needhedgeratio": {
  25411. "description": "套保比例",
  25412. "type": "number"
  25413. },
  25414. "pricedqty": {
  25415. "description": "已定价量",
  25416. "type": "number"
  25417. },
  25418. "relatedmiddlegoodsqty": {
  25419. "description": "已关联量(套保品种)(期货)",
  25420. "type": "number"
  25421. },
  25422. "spotcontractid": {
  25423. "description": "合同编号",
  25424. "type": "string"
  25425. },
  25426. "unitid": {
  25427. "description": "现货单位id",
  25428. "type": "integer"
  25429. },
  25430. "userid": {
  25431. "description": "用户id",
  25432. "type": "integer"
  25433. },
  25434. "vatrate": {
  25435. "description": "增值税率",
  25436. "type": "number"
  25437. },
  25438. "wrstandardcode": {
  25439. "description": "现货商品代码",
  25440. "type": "string"
  25441. },
  25442. "wrstandardid": {
  25443. "description": "现货商品id",
  25444. "type": "integer"
  25445. },
  25446. "wrstandardname": {
  25447. "description": "现货商品名称",
  25448. "type": "string"
  25449. }
  25450. }
  25451. },
  25452. "models.Ermcp3SCMiddleGoodsReport": {
  25453. "type": "object",
  25454. "properties": {
  25455. "begindate": {
  25456. "description": "开始交易日",
  25457. "type": "string"
  25458. },
  25459. "contractno": {
  25460. "description": "合同编号",
  25461. "type": "string"
  25462. },
  25463. "contracttype": {
  25464. "description": "合同类型 1:采购 -1:销售",
  25465. "type": "integer"
  25466. },
  25467. "convertratio": {
  25468. "description": "折算系数",
  25469. "type": "number"
  25470. },
  25471. "cycletime": {
  25472. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  25473. "type": "string"
  25474. },
  25475. "cycletype": {
  25476. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25477. "type": "integer"
  25478. },
  25479. "deliverygoodscode": {
  25480. "description": "品种代码",
  25481. "type": "string"
  25482. },
  25483. "deliverygoodsid": {
  25484. "description": "现货品种ID",
  25485. "type": "integer"
  25486. },
  25487. "deliverygoodsname": {
  25488. "description": "品种名称",
  25489. "type": "string"
  25490. },
  25491. "diffprice": {
  25492. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  25493. "type": "number"
  25494. },
  25495. "diffqty": {
  25496. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  25497. "type": "number"
  25498. },
  25499. "enddate": {
  25500. "description": "结束交易日",
  25501. "type": "string"
  25502. },
  25503. "hedgeplanqty": {
  25504. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  25505. "type": "number"
  25506. },
  25507. "matchname": {
  25508. "description": "交易对手方(个人:用户名称 企业:简称)",
  25509. "type": "string"
  25510. },
  25511. "matchnickname": {
  25512. "description": "交易对手方昵称",
  25513. "type": "string"
  25514. },
  25515. "middlegoodscode": {
  25516. "description": "套保品种代码",
  25517. "type": "string"
  25518. },
  25519. "middlegoodsid": {
  25520. "description": "套保品种ID",
  25521. "type": "integer"
  25522. },
  25523. "middlegoodsname": {
  25524. "description": "套保品种名称",
  25525. "type": "string"
  25526. },
  25527. "middlegoodspricedqty": {
  25528. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  25529. "type": "number"
  25530. },
  25531. "middlegoodspricedqty2": {
  25532. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  25533. "type": "number"
  25534. },
  25535. "middlegoodspricedqty3": {
  25536. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  25537. "type": "number"
  25538. },
  25539. "needhedgeratio": {
  25540. "description": "套保系数",
  25541. "type": "number"
  25542. },
  25543. "pricedamount": {
  25544. "description": "已定价额(现货)",
  25545. "type": "number"
  25546. },
  25547. "pricedamount2": {
  25548. "description": "已定价额(现货-基价额)",
  25549. "type": "number"
  25550. },
  25551. "pricedqty": {
  25552. "description": "已定价量(现货)",
  25553. "type": "number"
  25554. },
  25555. "reckondate": {
  25556. "description": "日照时期(yyyyMMdd)",
  25557. "type": "string"
  25558. },
  25559. "relatedmiddlegoodsamount": {
  25560. "description": "已关联额(期货)",
  25561. "type": "number"
  25562. },
  25563. "relatedmiddlegoodsqty": {
  25564. "description": "已关联量(套保品种)(期货)",
  25565. "type": "number"
  25566. },
  25567. "spotcontractid": {
  25568. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  25569. "type": "string"
  25570. },
  25571. "todayavgfutuprice": {
  25572. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty",
  25573. "type": "number"
  25574. },
  25575. "todayavgprice": {
  25576. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  25577. "type": "number"
  25578. },
  25579. "todayavgprice2": {
  25580. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  25581. "type": "number"
  25582. },
  25583. "todaypricedamount": {
  25584. "description": "今日定价额(现货)",
  25585. "type": "number"
  25586. },
  25587. "todaypricedamount2": {
  25588. "description": "今日定价额(现货-基价额)",
  25589. "type": "number"
  25590. },
  25591. "todaypricedqty": {
  25592. "description": "今日定价量(现货)",
  25593. "type": "number"
  25594. },
  25595. "todayrelatedfutureqty": {
  25596. "description": "今日关联量(期货)",
  25597. "type": "number"
  25598. },
  25599. "todayrelatedmiddlegoodsamount": {
  25600. "description": "今日关联额(期货)",
  25601. "type": "number"
  25602. },
  25603. "todayrelatedmiddlegoodsqty": {
  25604. "description": "今日关联量(套保品-期货)",
  25605. "type": "number"
  25606. },
  25607. "updatetime": {
  25608. "description": "更新时间",
  25609. "type": "string"
  25610. },
  25611. "userid": {
  25612. "description": "合同所属用户id",
  25613. "type": "integer"
  25614. },
  25615. "vatrate": {
  25616. "description": "增值税率",
  25617. "type": "number"
  25618. },
  25619. "wrstandardcode": {
  25620. "description": "商品(品类) 代码",
  25621. "type": "string"
  25622. },
  25623. "wrstandardid": {
  25624. "description": "现货商品ID",
  25625. "type": "integer"
  25626. },
  25627. "wrstandardname": {
  25628. "description": "商品(品类) 名称",
  25629. "type": "string"
  25630. }
  25631. }
  25632. },
  25633. "models.Ermcp3SellBuyContract": {
  25634. "type": "object",
  25635. "properties": {
  25636. "accountid": {
  25637. "description": "期货账户id",
  25638. "type": "string"
  25639. },
  25640. "accountname": {
  25641. "description": "账户名称",
  25642. "type": "string"
  25643. },
  25644. "attachment": {
  25645. "description": "附件",
  25646. "type": "string"
  25647. },
  25648. "audittime": {
  25649. "description": "审核时间",
  25650. "type": "string"
  25651. },
  25652. "bizsubjectid": {
  25653. "description": "归属业务部门ID - SubjectID",
  25654. "type": "integer"
  25655. },
  25656. "biztype": {
  25657. "description": "业务类型 1-套保 2-套利",
  25658. "type": "integer"
  25659. },
  25660. "brandname": {
  25661. "description": "品牌名称",
  25662. "type": "string"
  25663. },
  25664. "contracctstatus": {
  25665. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  25666. "type": "integer"
  25667. },
  25668. "contractmargin": {
  25669. "description": "合同保证金",
  25670. "type": "number"
  25671. },
  25672. "contractno": {
  25673. "description": "合同编号",
  25674. "type": "string"
  25675. },
  25676. "contracttype": {
  25677. "description": "合同类型 1-采购, -1-销售",
  25678. "type": "integer"
  25679. },
  25680. "convertfactor": {
  25681. "description": "标仓系数(品类)",
  25682. "type": "number"
  25683. },
  25684. "createtime": {
  25685. "description": "创建时间",
  25686. "type": "string"
  25687. },
  25688. "currencyid": {
  25689. "description": "币种id",
  25690. "type": "integer"
  25691. },
  25692. "currencyname": {
  25693. "description": "币种名称",
  25694. "type": "string"
  25695. },
  25696. "daikaiamount": {
  25697. "description": "应收(开)票额 | 未收票额",
  25698. "type": "number"
  25699. },
  25700. "deliveryenddate": {
  25701. "description": "交割结束日",
  25702. "type": "string"
  25703. },
  25704. "deliverygoodscode": {
  25705. "description": "现货品种代码",
  25706. "type": "string"
  25707. },
  25708. "deliverygoodsid": {
  25709. "description": "现货商品ID",
  25710. "type": "integer"
  25711. },
  25712. "deliverygoodsname": {
  25713. "description": "现货品种名称",
  25714. "type": "string"
  25715. },
  25716. "deliverystartdate": {
  25717. "description": "交割开始日",
  25718. "type": "string"
  25719. },
  25720. "enddate": {
  25721. "description": "点价结束日",
  25722. "type": "string"
  25723. },
  25724. "enumdicname": {
  25725. "description": "单位名称",
  25726. "type": "string"
  25727. },
  25728. "goodscode": {
  25729. "description": "点价商品代码",
  25730. "type": "string"
  25731. },
  25732. "goodsgroupid": {
  25733. "description": "点价商品组id",
  25734. "type": "integer"
  25735. },
  25736. "goodsid": {
  25737. "description": "点价商品ID",
  25738. "type": "integer"
  25739. },
  25740. "goodsname": {
  25741. "description": "点价商品名称",
  25742. "type": "string"
  25743. },
  25744. "invoiceamount": {
  25745. "description": "已开票额",
  25746. "type": "number"
  25747. },
  25748. "loanamount": {
  25749. "description": "贷款总额=已定价额+调整金额",
  25750. "type": "number"
  25751. },
  25752. "margin": {
  25753. "description": "保证金",
  25754. "type": "number"
  25755. },
  25756. "meruserid": {
  25757. "description": "跟单员id",
  25758. "type": "integer"
  25759. },
  25760. "meruserlogincode": {
  25761. "description": "跟单员登录代码",
  25762. "type": "string"
  25763. },
  25764. "merusername": {
  25765. "description": "跟单员名称",
  25766. "type": "string"
  25767. },
  25768. "nickname": {
  25769. "description": "账户昵称",
  25770. "type": "string"
  25771. },
  25772. "orireckonrealqty": {
  25773. "description": "应交收量",
  25774. "type": "number"
  25775. },
  25776. "payamount": {
  25777. "description": "已收付额(收款或付款)",
  25778. "type": "number"
  25779. },
  25780. "preinvoiceamount": {
  25781. "description": "预收(开)票额",
  25782. "type": "number"
  25783. },
  25784. "prepayamount": {
  25785. "description": "预收付额",
  25786. "type": "number"
  25787. },
  25788. "price": {
  25789. "description": "价格",
  25790. "type": "number"
  25791. },
  25792. "pricedamount": {
  25793. "description": "已定价额",
  25794. "type": "number"
  25795. },
  25796. "pricedavg": {
  25797. "description": "已点均价",
  25798. "type": "number"
  25799. },
  25800. "pricedqty": {
  25801. "description": "已定价量",
  25802. "type": "number"
  25803. },
  25804. "pricemove": {
  25805. "description": "升贴水",
  25806. "type": "number"
  25807. },
  25808. "pricetype": {
  25809. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  25810. "type": "integer"
  25811. },
  25812. "producttype": {
  25813. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  25814. "type": "integer"
  25815. },
  25816. "qty": {
  25817. "description": "合同量",
  25818. "type": "number"
  25819. },
  25820. "reckonadjustamount": {
  25821. "description": "调整金额",
  25822. "type": "number"
  25823. },
  25824. "reckonedamount": {
  25825. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  25826. "type": "number"
  25827. },
  25828. "reckonotheramount": {
  25829. "description": "其它费用",
  25830. "type": "number"
  25831. },
  25832. "reckonrealqty": {
  25833. "description": "已交收量",
  25834. "type": "number"
  25835. },
  25836. "remark": {
  25837. "description": "备注",
  25838. "type": "string"
  25839. },
  25840. "saleuserid": {
  25841. "description": "业务员id",
  25842. "type": "integer"
  25843. },
  25844. "saleuserlogincode": {
  25845. "description": "业务员登录代码",
  25846. "type": "string"
  25847. },
  25848. "saleusername": {
  25849. "description": "业务员名称",
  25850. "type": "string"
  25851. },
  25852. "spotcontractid": {
  25853. "description": "合同ID",
  25854. "type": "string"
  25855. },
  25856. "spotgoodsbrandid": {
  25857. "description": "现货品牌ID(DGFactoryItem表的ID)",
  25858. "type": "integer"
  25859. },
  25860. "spotgoodsdesc": {
  25861. "description": "商品型号(商品规格)",
  25862. "type": "string"
  25863. },
  25864. "startdate": {
  25865. "description": "点价开始日",
  25866. "type": "string"
  25867. },
  25868. "subjectid": {
  25869. "description": "交易主体ID",
  25870. "type": "integer"
  25871. },
  25872. "subjectname": {
  25873. "description": "交易主体名称",
  25874. "type": "string"
  25875. },
  25876. "totalamount": {
  25877. "description": "合计总额",
  25878. "type": "number"
  25879. },
  25880. "tradeuserid": {
  25881. "description": "交易员id",
  25882. "type": "integer"
  25883. },
  25884. "tradeuserlogincode": {
  25885. "description": "交易员登录代码",
  25886. "type": "string"
  25887. },
  25888. "tradeusername": {
  25889. "description": "交易员名称",
  25890. "type": "string"
  25891. },
  25892. "unpayamount": {
  25893. "description": "应收付款额(应支付或应收款) | 未付款额",
  25894. "type": "number"
  25895. },
  25896. "unpricedqty": {
  25897. "description": "未定价量",
  25898. "type": "number"
  25899. },
  25900. "unsureqty": {
  25901. "description": "未确定量 | 未交收量",
  25902. "type": "number"
  25903. },
  25904. "userid": {
  25905. "description": "机构ID",
  25906. "type": "integer"
  25907. },
  25908. "vatrate": {
  25909. "description": "增值税率",
  25910. "type": "number"
  25911. },
  25912. "wrstandardcode": {
  25913. "description": "品类代码",
  25914. "type": "string"
  25915. },
  25916. "wrstandardid": {
  25917. "description": "品类ID",
  25918. "type": "integer"
  25919. },
  25920. "wrstandardname": {
  25921. "description": "品类名称",
  25922. "type": "string"
  25923. }
  25924. }
  25925. },
  25926. "models.Ermcp3SpotGoodsPrice": {
  25927. "type": "object",
  25928. "properties": {
  25929. "areauserid": {
  25930. "description": "所属机构id",
  25931. "type": "integer"
  25932. },
  25933. "brandname": {
  25934. "description": "品牌名称",
  25935. "type": "string"
  25936. },
  25937. "currencyid": {
  25938. "description": "报价货币ID",
  25939. "type": "integer"
  25940. },
  25941. "currencyname": {
  25942. "description": "币种名称",
  25943. "type": "string"
  25944. },
  25945. "deliverygoodscode": {
  25946. "description": "现货商品代码",
  25947. "type": "string"
  25948. },
  25949. "deliverygoodsid": {
  25950. "description": "现货商品id",
  25951. "type": "integer"
  25952. },
  25953. "deliverygoodsname": {
  25954. "description": "现货商品名称",
  25955. "type": "string"
  25956. },
  25957. "enumdicname": {
  25958. "description": "现货商品单位名称",
  25959. "type": "string"
  25960. },
  25961. "gbenumdicname": {
  25962. "description": "品类单位名称",
  25963. "type": "string"
  25964. },
  25965. "gmunitid": {
  25966. "description": "品类单位id",
  25967. "type": "integer"
  25968. },
  25969. "isvalid": {
  25970. "description": "是否有效 - 0:无效 1:有效",
  25971. "type": "integer"
  25972. },
  25973. "operateid": {
  25974. "description": "最后操作人",
  25975. "type": "integer"
  25976. },
  25977. "operatesrc": {
  25978. "description": "最后操作来源 - 1:管理端 2:终端",
  25979. "type": "integer"
  25980. },
  25981. "operatetime": {
  25982. "description": "最后操作时间",
  25983. "type": "string"
  25984. },
  25985. "operatorname": {
  25986. "description": "操作人名称",
  25987. "type": "string"
  25988. },
  25989. "spotgoodsbrandid": {
  25990. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  25991. "type": "integer"
  25992. },
  25993. "spotgoodsprice": {
  25994. "description": "现货价格",
  25995. "type": "number"
  25996. },
  25997. "tradedate": {
  25998. "description": "交易日(yyyyMMdd)",
  25999. "type": "string"
  26000. },
  26001. "unitid": {
  26002. "description": "现货商品单位id",
  26003. "type": "integer"
  26004. },
  26005. "wrstandardcode": {
  26006. "description": "品类代码",
  26007. "type": "string"
  26008. },
  26009. "wrstandardid": {
  26010. "description": "现货品类ID(通用则为0)",
  26011. "type": "integer"
  26012. },
  26013. "wrstandardname": {
  26014. "description": "品类名称",
  26015. "type": "string"
  26016. }
  26017. }
  26018. },
  26019. "models.Ermcp3SpotGoodsPriceLog": {
  26020. "type": "object",
  26021. "properties": {
  26022. "areauserid": {
  26023. "description": "所属机构id",
  26024. "type": "integer"
  26025. },
  26026. "brandname": {
  26027. "description": "品牌名称",
  26028. "type": "string"
  26029. },
  26030. "currencyid": {
  26031. "description": "报价货币ID",
  26032. "type": "integer"
  26033. },
  26034. "deliverygoodscode": {
  26035. "description": "现货商品代码",
  26036. "type": "string"
  26037. },
  26038. "deliverygoodsid": {
  26039. "description": "现货商品id",
  26040. "type": "integer"
  26041. },
  26042. "deliverygoodsname": {
  26043. "description": "现货商品名称",
  26044. "type": "string"
  26045. },
  26046. "enumdicname": {
  26047. "description": "现货商品单位名称",
  26048. "type": "string"
  26049. },
  26050. "gbenumdicname": {
  26051. "description": "品类单位名称",
  26052. "type": "string"
  26053. },
  26054. "gmunitid": {
  26055. "description": "品类单位id",
  26056. "type": "integer"
  26057. },
  26058. "logid": {
  26059. "description": "日志id",
  26060. "type": "integer"
  26061. },
  26062. "operateid": {
  26063. "description": "最后操作人",
  26064. "type": "integer"
  26065. },
  26066. "operatesrc": {
  26067. "description": "最后操作来源 - 1:管理端 2:终端",
  26068. "type": "integer"
  26069. },
  26070. "operatetime": {
  26071. "description": "最后操作时间",
  26072. "type": "string"
  26073. },
  26074. "operatorname": {
  26075. "description": "操作人名称",
  26076. "type": "string"
  26077. },
  26078. "spotgoodsbrandid": {
  26079. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  26080. "type": "integer"
  26081. },
  26082. "spotgoodsprice": {
  26083. "description": "现货价格",
  26084. "type": "number"
  26085. },
  26086. "tradedate": {
  26087. "description": "交易日(yyyyMMdd)",
  26088. "type": "string"
  26089. },
  26090. "unitid": {
  26091. "description": "现货商品单位id",
  26092. "type": "integer"
  26093. },
  26094. "wrstandardcode": {
  26095. "description": "品类代码",
  26096. "type": "string"
  26097. },
  26098. "wrstandardid": {
  26099. "description": "现货品类ID(通用则为0)",
  26100. "type": "integer"
  26101. },
  26102. "wrstandardname": {
  26103. "description": "品类名称",
  26104. "type": "string"
  26105. }
  26106. }
  26107. },
  26108. "models.Ermcp3SubTaaccount": {
  26109. "type": "object",
  26110. "properties": {
  26111. "accountid": {
  26112. "description": "资金账户ID",
  26113. "type": "integer"
  26114. },
  26115. "parentaccountcode": {
  26116. "description": "所属根账号代码(母账号代码)",
  26117. "type": "string"
  26118. },
  26119. "parentaccountid": {
  26120. "description": "所属根账号(母账号)",
  26121. "type": "integer"
  26122. },
  26123. "taname": {
  26124. "description": "资金账号名称",
  26125. "type": "string"
  26126. },
  26127. "tradestatus": {
  26128. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  26129. "type": "integer"
  26130. },
  26131. "username": {
  26132. "description": "交易用户",
  26133. "type": "string"
  26134. }
  26135. }
  26136. },
  26137. "models.Ermcp3TaFutuReDataReport": {
  26138. "type": "object",
  26139. "properties": {
  26140. "accountid": {
  26141. "description": "交易账户",
  26142. "type": "integer"
  26143. },
  26144. "accountname": {
  26145. "description": "交易账号名称",
  26146. "type": "string"
  26147. },
  26148. "agreeunit": {
  26149. "description": "商品合约单位",
  26150. "type": "number"
  26151. },
  26152. "begindate": {
  26153. "description": "开始交易日",
  26154. "type": "string"
  26155. },
  26156. "buyorsell": {
  26157. "description": "持仓方向",
  26158. "type": "integer"
  26159. },
  26160. "charge": {
  26161. "description": "手续费",
  26162. "type": "number"
  26163. },
  26164. "closeavgprice": {
  26165. "description": "平仓均价",
  26166. "type": "number"
  26167. },
  26168. "closepl": {
  26169. "description": "平仓损益",
  26170. "type": "number"
  26171. },
  26172. "currencyid": {
  26173. "description": "结算币种ID",
  26174. "type": "integer"
  26175. },
  26176. "currencyname": {
  26177. "description": "币种名称",
  26178. "type": "string"
  26179. },
  26180. "cycletime": {
  26181. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  26182. "type": "string"
  26183. },
  26184. "cycletype": {
  26185. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  26186. "type": "integer"
  26187. },
  26188. "enddate": {
  26189. "description": "结束交易日",
  26190. "type": "string"
  26191. },
  26192. "enumdicname": {
  26193. "description": "单位名称",
  26194. "type": "string"
  26195. },
  26196. "floatpl": {
  26197. "description": "浮动损益",
  26198. "type": "number"
  26199. },
  26200. "goodscode": {
  26201. "description": "交易合约代码",
  26202. "type": "string"
  26203. },
  26204. "goodsgroupid": {
  26205. "description": "交易品种",
  26206. "type": "integer"
  26207. },
  26208. "goodsgroupname": {
  26209. "description": "交易品种名称",
  26210. "type": "string"
  26211. },
  26212. "goodsgroupspotqty": {
  26213. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  26214. "type": "number"
  26215. },
  26216. "goodsid": {
  26217. "description": "交易合约",
  26218. "type": "integer"
  26219. },
  26220. "goodsname": {
  26221. "description": "交易合约名称",
  26222. "type": "string"
  26223. },
  26224. "goodunitid": {
  26225. "description": "交易合约单位id",
  26226. "type": "integer"
  26227. },
  26228. "holdamount": {
  26229. "description": "期末持仓额",
  26230. "type": "number"
  26231. },
  26232. "holdqty": {
  26233. "description": "期末持仓量",
  26234. "type": "number"
  26235. },
  26236. "lastholdamount": {
  26237. "description": "当前持仓额",
  26238. "type": "number"
  26239. },
  26240. "lastprice": {
  26241. "description": "最新价",
  26242. "type": "number"
  26243. },
  26244. "middlegoodsid": {
  26245. "description": "套保品种id",
  26246. "type": "integer"
  26247. },
  26248. "middlegoodsname": {
  26249. "description": "套保商品名称",
  26250. "type": "string"
  26251. },
  26252. "middlegoodsqty": {
  26253. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  26254. "type": "number"
  26255. },
  26256. "middlgoodscode": {
  26257. "description": "套保商品代码",
  26258. "type": "string"
  26259. },
  26260. "openamount": {
  26261. "description": "期末开仓额",
  26262. "type": "number"
  26263. },
  26264. "openavgprice": {
  26265. "description": "开仓均价",
  26266. "type": "number"
  26267. },
  26268. "oriholdamount": {
  26269. "description": "期初持仓额",
  26270. "type": "number"
  26271. },
  26272. "oriholdqty": {
  26273. "description": "期初持仓量",
  26274. "type": "number"
  26275. },
  26276. "oriopenamount": {
  26277. "description": "期初开仓额",
  26278. "type": "number"
  26279. },
  26280. "outergroupcode": {
  26281. "description": "交易品种代码",
  26282. "type": "string"
  26283. },
  26284. "qtydecimalplace": {
  26285. "description": "成交量小数位",
  26286. "type": "integer"
  26287. },
  26288. "reckondate": {
  26289. "description": "日照时期(yyyyMMdd)",
  26290. "type": "string"
  26291. },
  26292. "reckonholdamount": {
  26293. "description": "结算持仓额",
  26294. "type": "number"
  26295. },
  26296. "reckonpl": {
  26297. "description": "结算损益",
  26298. "type": "number"
  26299. },
  26300. "reckonpl2": {
  26301. "description": "结算逐笔盈亏",
  26302. "type": "number"
  26303. },
  26304. "reckonprice": {
  26305. "description": "结算价",
  26306. "type": "number"
  26307. },
  26308. "relateduserid": {
  26309. "description": "账户关联用户ID",
  26310. "type": "integer"
  26311. },
  26312. "todaycloseamount": {
  26313. "description": "今平仓额",
  26314. "type": "number"
  26315. },
  26316. "todaycloseqty": {
  26317. "description": "今平仓量",
  26318. "type": "number"
  26319. },
  26320. "todaygoodsgroupspotqty": {
  26321. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  26322. "type": "number"
  26323. },
  26324. "todaymiddlegoodsqty": {
  26325. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  26326. "type": "number"
  26327. },
  26328. "todayopenamount": {
  26329. "description": "今开仓额",
  26330. "type": "number"
  26331. },
  26332. "todayopenqty": {
  26333. "description": "今开仓量",
  26334. "type": "number"
  26335. },
  26336. "userid": {
  26337. "description": "账户所属用户ID",
  26338. "type": "integer"
  26339. }
  26340. }
  26341. },
  26342. "models.Ermcp3TradeLinkDetail": {
  26343. "type": "object",
  26344. "properties": {
  26345. "accountid": {
  26346. "description": "资金账号",
  26347. "type": "integer"
  26348. },
  26349. "agreeunit": {
  26350. "description": "合约乘数",
  26351. "type": "number"
  26352. },
  26353. "areauserid": {
  26354. "description": "所属机构",
  26355. "type": "string"
  26356. },
  26357. "bizsubjectid": {
  26358. "description": "归属业务部门ID - SubjectID",
  26359. "type": "string"
  26360. },
  26361. "buyorsell": {
  26362. "description": "方向 - 0:买 1:卖",
  26363. "type": "integer"
  26364. },
  26365. "channelbuildtype": {
  26366. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  26367. "type": "integer"
  26368. },
  26369. "contractno": {
  26370. "description": "现货编号 (合同编号)",
  26371. "type": "string"
  26372. },
  26373. "convertratio": {
  26374. "description": "折算系数",
  26375. "type": "number"
  26376. },
  26377. "createtime": {
  26378. "description": "关联时间 | 创建时间",
  26379. "type": "string"
  26380. },
  26381. "creatorid": {
  26382. "description": "创建人ID",
  26383. "type": "string"
  26384. },
  26385. "creatorsrc": {
  26386. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  26387. "type": "integer"
  26388. },
  26389. "enumdicname": {
  26390. "description": "单位名称",
  26391. "type": "string"
  26392. },
  26393. "goodscode": {
  26394. "description": "合约代码",
  26395. "type": "string"
  26396. },
  26397. "goodsgroupid": {
  26398. "description": "对冲品种ID[期货合约商品组ID]",
  26399. "type": "integer"
  26400. },
  26401. "goodsid": {
  26402. "description": "商品ID",
  26403. "type": "integer"
  26404. },
  26405. "goodsname": {
  26406. "description": "合约名称",
  26407. "type": "string"
  26408. },
  26409. "hedgeflag": {
  26410. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  26411. "type": "integer"
  26412. },
  26413. "linkdetailid": {
  26414. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  26415. "type": "string"
  26416. },
  26417. "linkstatus": {
  26418. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  26419. "type": "integer"
  26420. },
  26421. "middlegoodscode": {
  26422. "description": "套保品种代码",
  26423. "type": "string"
  26424. },
  26425. "middlegoodsid": {
  26426. "description": "套保品种ID",
  26427. "type": "integer"
  26428. },
  26429. "middlegoodsname": {
  26430. "description": "套保品种名称",
  26431. "type": "string"
  26432. },
  26433. "relatedlot": {
  26434. "description": "关联手数",
  26435. "type": "number"
  26436. },
  26437. "relatedmode": {
  26438. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  26439. "type": "integer"
  26440. },
  26441. "relatedqty": {
  26442. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  26443. "type": "number"
  26444. },
  26445. "retcode": {
  26446. "description": "返回码",
  26447. "type": "integer"
  26448. },
  26449. "saleuserid": {
  26450. "description": "业务员ID",
  26451. "type": "string"
  26452. },
  26453. "spotcontractid": {
  26454. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  26455. "type": "string"
  26456. },
  26457. "taname": {
  26458. "description": "期货账户",
  26459. "type": "string"
  26460. },
  26461. "tradedate": {
  26462. "description": "关联交易日(yyyyMMdd)",
  26463. "type": "string"
  26464. },
  26465. "tradeid": {
  26466. "description": "期货订单号 | 内部成交单ID",
  26467. "type": "string"
  26468. },
  26469. "tradelot": {
  26470. "description": "成交数量 | 成交手数",
  26471. "type": "integer"
  26472. },
  26473. "tradeprice": {
  26474. "description": "成交价格",
  26475. "type": "number"
  26476. },
  26477. "tradetime": {
  26478. "description": "期货成交时间",
  26479. "type": "string"
  26480. },
  26481. "tradetradedate": {
  26482. "description": "成交交易日(yyyyMMdd)",
  26483. "type": "string"
  26484. },
  26485. "username": {
  26486. "description": "用户名称",
  26487. "type": "string"
  26488. }
  26489. }
  26490. },
  26491. "models.Ermcp3Wrstandard": {
  26492. "type": "object",
  26493. "properties": {
  26494. "areauserid": {
  26495. "description": "所属机构",
  26496. "type": "integer"
  26497. },
  26498. "cantrade": {
  26499. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  26500. "type": "integer"
  26501. },
  26502. "convertfactor": {
  26503. "description": "标仓系数",
  26504. "type": "number"
  26505. },
  26506. "createtime": {
  26507. "description": "创建时间",
  26508. "type": "string"
  26509. },
  26510. "creatorid": {
  26511. "description": "创建人",
  26512. "type": "integer"
  26513. },
  26514. "deliverygoodsid": {
  26515. "description": "现货品种ID",
  26516. "type": "integer"
  26517. },
  26518. "enumdicname": {
  26519. "description": "品类单位名称",
  26520. "type": "string"
  26521. },
  26522. "isvalid": {
  26523. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  26524. "type": "integer"
  26525. },
  26526. "minivalue": {
  26527. "description": "最小变动值",
  26528. "type": "integer"
  26529. },
  26530. "minivaluedp": {
  26531. "description": "最小变动值小数位",
  26532. "type": "integer"
  26533. },
  26534. "realminivalue": {
  26535. "description": "实际最小变动值",
  26536. "type": "integer"
  26537. },
  26538. "realminivaluedp": {
  26539. "description": "实际最小变动值小数位",
  26540. "type": "integer"
  26541. },
  26542. "remark": {
  26543. "description": "备注",
  26544. "type": "string"
  26545. },
  26546. "unitid": {
  26547. "description": "品类单位ID",
  26548. "type": "integer"
  26549. },
  26550. "updatetime": {
  26551. "description": "更新时间",
  26552. "type": "string"
  26553. },
  26554. "wrstandardcode": {
  26555. "description": "品类代码",
  26556. "type": "string"
  26557. },
  26558. "wrstandardid": {
  26559. "description": "品类ID(SEQ_WRSTANDARD)",
  26560. "type": "integer"
  26561. },
  26562. "wrstandardname": {
  26563. "description": "品类名称",
  26564. "type": "string"
  26565. }
  26566. }
  26567. },
  26568. "models.Ermcp8EnableHedgeditem": {
  26569. "type": "object",
  26570. "properties": {
  26571. "accountname": {
  26572. "description": "套期主体",
  26573. "type": "string"
  26574. },
  26575. "hedgeditemid": {
  26576. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  26577. "type": "string"
  26578. },
  26579. "hedgeditemname": {
  26580. "description": "项目名称",
  26581. "type": "string"
  26582. },
  26583. "hedgeditemnum": {
  26584. "description": "项目编号",
  26585. "type": "string"
  26586. },
  26587. "hedgedtype": {
  26588. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26589. "type": "integer"
  26590. },
  26591. "planenddate": {
  26592. "description": "计划结束日期",
  26593. "type": "string"
  26594. },
  26595. "planstartdate": {
  26596. "description": "计划开始日期",
  26597. "type": "string"
  26598. },
  26599. "wrstandardid": {
  26600. "description": "现货商品ID",
  26601. "type": "integer"
  26602. },
  26603. "wrstandardname": {
  26604. "description": "现货商品",
  26605. "type": "string"
  26606. }
  26607. }
  26608. },
  26609. "models.Ermcp8HedgeditemReport": {
  26610. "type": "object",
  26611. "properties": {
  26612. "accountname": {
  26613. "description": "套期主体",
  26614. "type": "string"
  26615. },
  26616. "areauserid": {
  26617. "description": "企业ID",
  26618. "type": "integer"
  26619. },
  26620. "curprice": {
  26621. "description": "[当日现货市场价]当前市场价",
  26622. "type": "number"
  26623. },
  26624. "enumdicname": {
  26625. "description": "单位",
  26626. "type": "string"
  26627. },
  26628. "exeamount": {
  26629. "description": "[执行现货金额]执行市价总额",
  26630. "type": "number"
  26631. },
  26632. "exeavgprice": {
  26633. "description": "[执行价]执行市场均价= 执行市价总额 / 执行现货量",
  26634. "type": "number"
  26635. },
  26636. "exeqty": {
  26637. "description": "[执行数量]执行现货量",
  26638. "type": "number"
  26639. },
  26640. "futurehedgepl": {
  26641. "description": "期货实际损益",
  26642. "type": "number"
  26643. },
  26644. "futurehedgeplchange": {
  26645. "description": "期货实际变动 = 期货实际损益 - 期初期货实际损益",
  26646. "type": "number"
  26647. },
  26648. "futurepl": {
  26649. "description": "期货套期损益",
  26650. "type": "number"
  26651. },
  26652. "futureplchange": {
  26653. "description": "期货套期变动 = 期货套期损益 - 期初期货套期损益",
  26654. "type": "number"
  26655. },
  26656. "hedgeamount": {
  26657. "description": "[套期现货金额]套期市价总额",
  26658. "type": "number"
  26659. },
  26660. "hedgeditemnum": {
  26661. "description": "项目编号,模糊查询",
  26662. "type": "string"
  26663. },
  26664. "hedgeditemstatus": {
  26665. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26666. "type": "integer"
  26667. },
  26668. "hedgedtype": {
  26669. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26670. "type": "integer"
  26671. },
  26672. "hedgeqty": {
  26673. "description": "[套期数量]套期现货量",
  26674. "type": "number"
  26675. },
  26676. "oriavgprice": {
  26677. "description": "[期初价]期初市场均价 = 套期市价总额 / 套期现货量",
  26678. "type": "number"
  26679. },
  26680. "orifuturehedgepl": {
  26681. "description": "期初期货实际损益",
  26682. "type": "number"
  26683. },
  26684. "orifuturepl": {
  26685. "description": "期初期货套期损益",
  26686. "type": "number"
  26687. },
  26688. "orispothedgepl": {
  26689. "description": "期初现货实际损益",
  26690. "type": "number"
  26691. },
  26692. "orispotpl": {
  26693. "description": "期初现货套期损益",
  26694. "type": "number"
  26695. },
  26696. "planenddate": {
  26697. "description": "计划结束日期",
  26698. "type": "string"
  26699. },
  26700. "planstartdate": {
  26701. "description": "计划开始日期",
  26702. "type": "string"
  26703. },
  26704. "spothedgepl": {
  26705. "description": "现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26706. "type": "number"
  26707. },
  26708. "spothedgeplchange": {
  26709. "description": "现货实际变动 = 现货实际损益 - 期初现货实际损益",
  26710. "type": "number"
  26711. },
  26712. "spotpl": {
  26713. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  26714. "type": "number"
  26715. },
  26716. "spotplchange": {
  26717. "description": "现货套期变动 = 现货套期损益 - 期初现货套期损益",
  26718. "type": "number"
  26719. },
  26720. "tradeuserid": {
  26721. "description": "交易用户ID",
  26722. "type": "integer"
  26723. },
  26724. "unexeqty": {
  26725. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  26726. "type": "number"
  26727. },
  26728. "wrstandardcode": {
  26729. "description": "现货品类代码",
  26730. "type": "string"
  26731. },
  26732. "wrstandardid": {
  26733. "description": "现货商品ID",
  26734. "type": "integer"
  26735. },
  26736. "wrstandardname": {
  26737. "description": "[现货商品]现货品类名称",
  26738. "type": "string"
  26739. }
  26740. }
  26741. },
  26742. "models.Ermcp8RunningHedgeditem": {
  26743. "type": "object",
  26744. "properties": {
  26745. "accountname": {
  26746. "description": "套期主体",
  26747. "type": "string"
  26748. },
  26749. "applyid": {
  26750. "description": "申请人",
  26751. "type": "integer"
  26752. },
  26753. "applysrc": {
  26754. "description": "申请来源 - 1:管理端 2:终端",
  26755. "type": "integer"
  26756. },
  26757. "areauserid": {
  26758. "description": "企业ID",
  26759. "type": "integer"
  26760. },
  26761. "auditid": {
  26762. "description": "审核人",
  26763. "type": "integer"
  26764. },
  26765. "auditremark": {
  26766. "description": "审核备注",
  26767. "type": "string"
  26768. },
  26769. "auditsrc": {
  26770. "description": "审核来源 - 1:管理端 2:终端",
  26771. "type": "integer"
  26772. },
  26773. "audittime": {
  26774. "description": "审核时间",
  26775. "type": "string"
  26776. },
  26777. "audittradedate": {
  26778. "description": "审核交易日(yyyyMMdd)",
  26779. "type": "string"
  26780. },
  26781. "createtime": {
  26782. "description": "申请时间",
  26783. "type": "string"
  26784. },
  26785. "curprice": {
  26786. "description": "当前市场价",
  26787. "type": "number"
  26788. },
  26789. "curstock": {
  26790. "description": "期末库存量 = 采购总量 - 销售总量",
  26791. "type": "number"
  26792. },
  26793. "deliverygoodsid": {
  26794. "description": "现货品种ID",
  26795. "type": "integer"
  26796. },
  26797. "enddate": {
  26798. "description": "完成日期",
  26799. "type": "string"
  26800. },
  26801. "endtradedate": {
  26802. "description": "完成交易日",
  26803. "type": "string"
  26804. },
  26805. "enumdicname": {
  26806. "description": "单位",
  26807. "type": "string"
  26808. },
  26809. "exeamount": {
  26810. "description": "执行市价总额",
  26811. "type": "number"
  26812. },
  26813. "exeavgprice": {
  26814. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  26815. "type": "number"
  26816. },
  26817. "execontractamount": {
  26818. "description": "执行定价总额",
  26819. "type": "number"
  26820. },
  26821. "exeqty": {
  26822. "description": "执行现货量",
  26823. "type": "number"
  26824. },
  26825. "exerestamount": {
  26826. "description": "执行剩余市价总额【现货贸易】",
  26827. "type": "number"
  26828. },
  26829. "futurefloatpl": {
  26830. "description": "期货浮动损益",
  26831. "type": "number"
  26832. },
  26833. "futurehedgepl": {
  26834. "description": "期货实际损益",
  26835. "type": "number"
  26836. },
  26837. "futurehedgeplchange": {
  26838. "description": "期货实际损益变动",
  26839. "type": "number"
  26840. },
  26841. "futurepl": {
  26842. "description": "期货套期损益",
  26843. "type": "number"
  26844. },
  26845. "futureplchange": {
  26846. "description": "期货套期损益变动",
  26847. "type": "number"
  26848. },
  26849. "hedgeamount": {
  26850. "description": "套期市价总额",
  26851. "type": "number"
  26852. },
  26853. "hedgecontractamount": {
  26854. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  26855. "type": "number"
  26856. },
  26857. "hedgeditemid": {
  26858. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  26859. "type": "string"
  26860. },
  26861. "hedgeditemname": {
  26862. "description": "项目名称",
  26863. "type": "string"
  26864. },
  26865. "hedgeditemnum": {
  26866. "description": "项目编号",
  26867. "type": "string"
  26868. },
  26869. "hedgeditemstatus": {
  26870. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26871. "type": "integer"
  26872. },
  26873. "hedgedtype": {
  26874. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26875. "type": "integer"
  26876. },
  26877. "hedgeqty": {
  26878. "description": "套期现货量",
  26879. "type": "number"
  26880. },
  26881. "hedgerate": {
  26882. "description": "套保比率",
  26883. "type": "number"
  26884. },
  26885. "hedgerestamount": {
  26886. "description": "套期剩余市价总额【现货贸易】",
  26887. "type": "number"
  26888. },
  26889. "hedgesumpl": {
  26890. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  26891. "type": "number"
  26892. },
  26893. "middlegoodslist": {
  26894. "description": "套期商品列表",
  26895. "type": "array",
  26896. "items": {
  26897. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  26898. }
  26899. },
  26900. "oriavgprice": {
  26901. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  26902. "type": "number"
  26903. },
  26904. "orifuturehedgepl": {
  26905. "description": "期初期货实际损益",
  26906. "type": "number"
  26907. },
  26908. "orifuturepl": {
  26909. "description": "期初期货套期损益",
  26910. "type": "number"
  26911. },
  26912. "orispothedgepl": {
  26913. "description": "期初现货实际损益",
  26914. "type": "number"
  26915. },
  26916. "orispotpl": {
  26917. "description": "期初现货套期损益",
  26918. "type": "number"
  26919. },
  26920. "planenddate": {
  26921. "description": "计划结束日期",
  26922. "type": "string"
  26923. },
  26924. "planstartdate": {
  26925. "description": "计划开始日期",
  26926. "type": "string"
  26927. },
  26928. "remark": {
  26929. "description": "备注",
  26930. "type": "string"
  26931. },
  26932. "spotbookamount": {
  26933. "description": "现货账面总额",
  26934. "type": "number"
  26935. },
  26936. "spotfloatpl": {
  26937. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26938. "type": "number"
  26939. },
  26940. "spothedgepl": {
  26941. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26942. "type": "number"
  26943. },
  26944. "spothedgeplchange": {
  26945. "description": "现货实际损益变动",
  26946. "type": "number"
  26947. },
  26948. "spotpl": {
  26949. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  26950. "type": "number"
  26951. },
  26952. "spotplchange": {
  26953. "description": "现货套期损益变动",
  26954. "type": "number"
  26955. },
  26956. "spottradepl": {
  26957. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  26958. "type": "number"
  26959. },
  26960. "sumobspl": {
  26961. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  26962. "type": "number"
  26963. },
  26964. "tradeuserid": {
  26965. "description": "交易用户ID",
  26966. "type": "integer"
  26967. },
  26968. "unexeqty": {
  26969. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  26970. "type": "number"
  26971. },
  26972. "updatetime": {
  26973. "description": "更新时间",
  26974. "type": "string"
  26975. },
  26976. "vatpl": {
  26977. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  26978. "type": "number"
  26979. },
  26980. "vatrate": {
  26981. "description": "增值税",
  26982. "type": "number"
  26983. },
  26984. "wrstandardid": {
  26985. "description": "现货商品ID",
  26986. "type": "integer"
  26987. },
  26988. "wrstandardname": {
  26989. "description": "商品名称",
  26990. "type": "string"
  26991. }
  26992. }
  26993. },
  26994. "models.ErmcpBizGroupEx": {
  26995. "type": "object",
  26996. "properties": {
  26997. "acclist": {
  26998. "description": "账号列表",
  26999. "type": "array",
  27000. "items": {
  27001. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  27002. }
  27003. },
  27004. "bizgroupid": {
  27005. "description": "业务分组id",
  27006. "type": "integer"
  27007. },
  27008. "biztype": {
  27009. "description": "业务类型 1-套保 2-套利",
  27010. "type": "integer"
  27011. },
  27012. "wrlist": {
  27013. "description": "现货商品表",
  27014. "type": "array",
  27015. "items": {
  27016. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  27017. }
  27018. }
  27019. }
  27020. },
  27021. "models.ErmcpBizGroupSpotGoods": {
  27022. "type": "object",
  27023. "properties": {
  27024. "areauserid": {
  27025. "description": "所属机构id",
  27026. "type": "integer"
  27027. },
  27028. "bizgroupid": {
  27029. "description": "分组id",
  27030. "type": "integer"
  27031. },
  27032. "biztype": {
  27033. "description": "业务类型 1-套保 2-套利",
  27034. "type": "integer"
  27035. },
  27036. "deliverygoodscode": {
  27037. "description": "现货商品代码",
  27038. "type": "string"
  27039. },
  27040. "deliverygoodsid": {
  27041. "description": "现货商品id",
  27042. "type": "integer"
  27043. },
  27044. "deliverygoodsname": {
  27045. "description": "现货商品名称",
  27046. "type": "string"
  27047. },
  27048. "unitid": {
  27049. "description": "现货商品单位id",
  27050. "type": "integer"
  27051. }
  27052. }
  27053. },
  27054. "models.ErmcpBizGroupTaAccount": {
  27055. "type": "object",
  27056. "properties": {
  27057. "accountid": {
  27058. "description": "账号id",
  27059. "type": "integer"
  27060. },
  27061. "accountname": {
  27062. "description": "账号名称",
  27063. "type": "string"
  27064. },
  27065. "areauserid": {
  27066. "description": "所属机构id",
  27067. "type": "integer"
  27068. },
  27069. "bizgroupid": {
  27070. "description": "业务分组id",
  27071. "type": "integer"
  27072. },
  27073. "ismain": {
  27074. "description": "是否主账号 1-是 0-否",
  27075. "type": "integer"
  27076. }
  27077. }
  27078. },
  27079. "models.ErmcpDGFactoryItem": {
  27080. "type": "object",
  27081. "properties": {
  27082. "areauserid": {
  27083. "description": "用户id",
  27084. "type": "integer"
  27085. },
  27086. "deliverygoodsid": {
  27087. "description": "现货品种ID",
  27088. "type": "integer"
  27089. },
  27090. "dgfactoryitemid": {
  27091. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  27092. "type": "integer"
  27093. },
  27094. "dgfactoryitemtypeid": {
  27095. "description": "要素项类型",
  27096. "type": "integer"
  27097. },
  27098. "dgfactoryitemvalue": {
  27099. "description": "要素项值(类型为仓库时填写仓库名称)",
  27100. "type": "string"
  27101. },
  27102. "isvalid": {
  27103. "description": "是否有效 - 0:无效 1:有效",
  27104. "type": "integer"
  27105. },
  27106. "orderindex": {
  27107. "description": "顺序",
  27108. "type": "integer"
  27109. },
  27110. "warehouseid": {
  27111. "description": "仓库ID(类型为仓库时填写)",
  27112. "type": "integer"
  27113. }
  27114. }
  27115. },
  27116. "models.ErmcpDeliveryGoods": {
  27117. "type": "object",
  27118. "properties": {
  27119. "agreeunit": {
  27120. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  27121. "type": "integer"
  27122. },
  27123. "areauserid": {
  27124. "description": "所属机构",
  27125. "type": "integer"
  27126. },
  27127. "auditflag": {
  27128. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  27129. "type": "integer"
  27130. },
  27131. "categoryid": {
  27132. "description": "类别ID(SEQ_WRCATEGORY)",
  27133. "type": "integer"
  27134. },
  27135. "deliverygoodscode": {
  27136. "description": "现货品种代码",
  27137. "type": "string"
  27138. },
  27139. "deliverygoodsid": {
  27140. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  27141. "type": "integer"
  27142. },
  27143. "deliverygoodsname": {
  27144. "description": "现货品种名称",
  27145. "type": "string"
  27146. },
  27147. "deliverygoodstype": {
  27148. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  27149. "type": "integer"
  27150. },
  27151. "dgstatus": {
  27152. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  27153. "type": "integer"
  27154. },
  27155. "enumdicname": {
  27156. "description": "现货品种单位名称",
  27157. "type": "string"
  27158. },
  27159. "goodsunitid": {
  27160. "description": "现货品种单位ID",
  27161. "type": "integer"
  27162. },
  27163. "isvalid": {
  27164. "description": "是否有效 - 0:无效 1:有效",
  27165. "type": "integer"
  27166. },
  27167. "qtydecimalplace": {
  27168. "description": "成交量小数位",
  27169. "type": "integer"
  27170. },
  27171. "remark": {
  27172. "description": "备注",
  27173. "type": "string"
  27174. },
  27175. "standardqty": {
  27176. "description": "标准数量(库位数量) [标准品特有]",
  27177. "type": "integer"
  27178. },
  27179. "standardqtyrange": {
  27180. "description": "标准数量偏差范围 [标准品特有]",
  27181. "type": "integer"
  27182. }
  27183. }
  27184. },
  27185. "models.ErmcpFuturesCompany": {
  27186. "type": "object",
  27187. "properties": {
  27188. "brokerid": {
  27189. "description": "经纪公司代码",
  27190. "type": "string"
  27191. },
  27192. "channeladdress": {
  27193. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  27194. "type": "string"
  27195. },
  27196. "channelid": {
  27197. "description": "对冲渠道ID",
  27198. "type": "string"
  27199. },
  27200. "createtime": {
  27201. "description": "创建时间",
  27202. "type": "string"
  27203. },
  27204. "creatorid": {
  27205. "description": "创建人",
  27206. "type": "string"
  27207. },
  27208. "fcid": {
  27209. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  27210. "type": "integer"
  27211. },
  27212. "fcname": {
  27213. "description": "期货公司名称",
  27214. "type": "string"
  27215. },
  27216. "isvalid": {
  27217. "description": "是否有效 - 0:无效 1:有效",
  27218. "type": "integer"
  27219. },
  27220. "mhpaddress": {
  27221. "description": "MHP服务地址(IP:Port)",
  27222. "type": "string"
  27223. },
  27224. "riskrulegroupid": {
  27225. "description": "风控规则组ID",
  27226. "type": "string"
  27227. },
  27228. "tradefeetmpid": {
  27229. "description": "手续费模板ID[TradeConfigTmpType为2]",
  27230. "type": "string"
  27231. },
  27232. "trademargintmpid": {
  27233. "description": "保证金模板ID [TradeConfigTmpType为1]",
  27234. "type": "string"
  27235. },
  27236. "traderatetmpid": {
  27237. "description": "汇率模板ID[TradeConfigTmpType为3]",
  27238. "type": "string"
  27239. },
  27240. "updatetime": {
  27241. "description": "更新时间",
  27242. "type": "string"
  27243. },
  27244. "updatorid": {
  27245. "description": "更新人",
  27246. "type": "string"
  27247. }
  27248. }
  27249. },
  27250. "models.ErmcpGGConvertCfg": {
  27251. "type": "object",
  27252. "properties": {
  27253. "convertratio": {
  27254. "description": "折算系数",
  27255. "type": "number"
  27256. },
  27257. "destgoodsgroupid": {
  27258. "description": "目标品种ID",
  27259. "type": "integer"
  27260. },
  27261. "dstcode": {
  27262. "description": "目录品种代码",
  27263. "type": "string"
  27264. },
  27265. "dstexchangecode": {
  27266. "description": "目标期货交易所",
  27267. "type": "string"
  27268. },
  27269. "dstname": {
  27270. "description": "目标品种名称",
  27271. "type": "string"
  27272. },
  27273. "dstunitid": {
  27274. "description": "目标品种单位ID",
  27275. "type": "integer"
  27276. },
  27277. "dstunitidname": {
  27278. "description": "目标品种单位名称",
  27279. "type": "string"
  27280. },
  27281. "modifytime": {
  27282. "description": "修改时间",
  27283. "type": "string"
  27284. },
  27285. "srccode": {
  27286. "description": "源品种代码",
  27287. "type": "string"
  27288. },
  27289. "srcexchangecode": {
  27290. "description": "源期货交易所",
  27291. "type": "string"
  27292. },
  27293. "srcgoodsgroupid": {
  27294. "description": "源品种ID",
  27295. "type": "integer"
  27296. },
  27297. "srcname": {
  27298. "description": "源品种名称",
  27299. "type": "string"
  27300. },
  27301. "srcunitid": {
  27302. "description": "源品种单位ID",
  27303. "type": "integer"
  27304. },
  27305. "srcunitidname": {
  27306. "description": "源品种单位名称",
  27307. "type": "string"
  27308. }
  27309. }
  27310. },
  27311. "models.ErmcpGoods": {
  27312. "type": "object",
  27313. "required": [
  27314. "goodscode",
  27315. "goodsid",
  27316. "goodsname",
  27317. "marketid"
  27318. ],
  27319. "properties": {
  27320. "agreeunit": {
  27321. "description": "合约单位",
  27322. "type": "number"
  27323. },
  27324. "areauserid": {
  27325. "description": "所属机构",
  27326. "type": "integer"
  27327. },
  27328. "auditaccountid": {
  27329. "description": "审核操作员账号",
  27330. "type": "integer"
  27331. },
  27332. "audittime": {
  27333. "description": "审核时间",
  27334. "type": "string"
  27335. },
  27336. "cancelaccountid": {
  27337. "description": "注销操作员账号",
  27338. "type": "integer"
  27339. },
  27340. "canceltime": {
  27341. "description": "注销时间",
  27342. "type": "string"
  27343. },
  27344. "closepricemode": {
  27345. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  27346. "type": "integer"
  27347. },
  27348. "closepriceparam": {
  27349. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  27350. "type": "number"
  27351. },
  27352. "createtime": {
  27353. "description": "创建时间",
  27354. "type": "string"
  27355. },
  27356. "creatorid": {
  27357. "description": "创建人",
  27358. "type": "integer"
  27359. },
  27360. "currencyid": {
  27361. "description": "报价货币ID",
  27362. "type": "integer"
  27363. },
  27364. "cutmode": {
  27365. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  27366. "type": "integer"
  27367. },
  27368. "decimalplace": {
  27369. "description": "报价小数位",
  27370. "type": "integer"
  27371. },
  27372. "delistingdate": {
  27373. "description": "商品退市时间(状态:退市) -- 已作废",
  27374. "type": "string"
  27375. },
  27376. "delistingmode": {
  27377. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  27378. "type": "integer"
  27379. },
  27380. "deliveryflag": {
  27381. "description": "交割标志 - 0:不可交割 1:可交割",
  27382. "type": "integer"
  27383. },
  27384. "enumdicname": {
  27385. "description": "单位名称",
  27386. "type": "string"
  27387. },
  27388. "forceclosemode": {
  27389. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  27390. "type": "integer"
  27391. },
  27392. "forceclosevalue": {
  27393. "description": "定期强平参数 [收益权]",
  27394. "type": "integer"
  27395. },
  27396. "goodscode": {
  27397. "description": "商品代码(内部)",
  27398. "type": "string"
  27399. },
  27400. "goodscurrencyid": {
  27401. "description": "合约货币ID",
  27402. "type": "integer"
  27403. },
  27404. "goodsgroupid": {
  27405. "description": "所属商品组ID",
  27406. "type": "integer"
  27407. },
  27408. "goodsid": {
  27409. "description": "商品ID(自增ID SEQ_GOODS)",
  27410. "type": "integer"
  27411. },
  27412. "goodsname": {
  27413. "description": "商品名称",
  27414. "type": "string"
  27415. },
  27416. "goodsquotetype": {
  27417. "description": "合约报价类型: 1-直接报价 2-间接报价",
  27418. "type": "integer"
  27419. },
  27420. "goodsstatus": {
  27421. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  27422. "type": "integer"
  27423. },
  27424. "goodstradetype": {
  27425. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  27426. "type": "integer"
  27427. },
  27428. "goodunitid": {
  27429. "description": "报价单位ID",
  27430. "type": "integer"
  27431. },
  27432. "hasquoter": {
  27433. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  27434. "type": "integer"
  27435. },
  27436. "hqprotecttime": {
  27437. "description": "行情保护时间(秒)",
  27438. "type": "integer"
  27439. },
  27440. "innerdealmode": {
  27441. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  27442. "type": "integer"
  27443. },
  27444. "isbuylimited": {
  27445. "description": "是否限制建仓量 - 0:不限制 1:限制",
  27446. "type": "integer"
  27447. },
  27448. "isvisible": {
  27449. "description": "游客是否可见 - 0:不可见 1:可见",
  27450. "type": "integer"
  27451. },
  27452. "lasttradedate": {
  27453. "description": "最后交易日期(状态:待退市)",
  27454. "type": "string"
  27455. },
  27456. "listingdate": {
  27457. "description": "交易开始日期",
  27458. "type": "string"
  27459. },
  27460. "marketid": {
  27461. "description": "所属市场ID",
  27462. "type": "integer"
  27463. },
  27464. "modifierid": {
  27465. "description": "修改人",
  27466. "type": "integer"
  27467. },
  27468. "modifystatus": {
  27469. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  27470. "type": "integer"
  27471. },
  27472. "modifytime": {
  27473. "description": "修改时间",
  27474. "type": "string"
  27475. },
  27476. "outerdealmode": {
  27477. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  27478. "type": "integer"
  27479. },
  27480. "outgoodscode": {
  27481. "description": "商品代码(外部)",
  27482. "type": "string"
  27483. },
  27484. "pictureurl": {
  27485. "description": "商品图片",
  27486. "type": "string"
  27487. },
  27488. "qtydecimalplace": {
  27489. "description": "成交量小数位",
  27490. "type": "integer"
  27491. },
  27492. "quotegear": {
  27493. "description": "行情档位(1-10)",
  27494. "type": "integer"
  27495. },
  27496. "quoteminunit": {
  27497. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27498. "type": "integer"
  27499. },
  27500. "quoteshowtype": {
  27501. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  27502. "type": "integer"
  27503. },
  27504. "quoteshowtypeinterval": {
  27505. "description": "行情报价间隔时间(秒)(成交价时为0)",
  27506. "type": "integer"
  27507. },
  27508. "relatedgoodsid": {
  27509. "description": "关联参考商品ID",
  27510. "type": "integer"
  27511. },
  27512. "remark": {
  27513. "description": "备注",
  27514. "type": "string"
  27515. },
  27516. "trademode": {
  27517. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27518. "type": "integer"
  27519. }
  27520. }
  27521. },
  27522. "models.ErmcpGoodsBrand": {
  27523. "type": "object",
  27524. "properties": {
  27525. "areauserid": {
  27526. "description": "所属机构",
  27527. "type": "integer"
  27528. },
  27529. "brandid": {
  27530. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  27531. "type": "integer"
  27532. },
  27533. "brandname": {
  27534. "description": "品牌名称",
  27535. "type": "string"
  27536. },
  27537. "createtime": {
  27538. "description": "创建时间",
  27539. "type": "string"
  27540. },
  27541. "creatorid": {
  27542. "description": "创建人",
  27543. "type": "integer"
  27544. },
  27545. "creatorsrc": {
  27546. "description": "创建人来源 - 1:管理端 2:终端",
  27547. "type": "integer"
  27548. },
  27549. "deliverygoodsid": {
  27550. "description": "现货品种ID",
  27551. "type": "integer"
  27552. },
  27553. "isvalid": {
  27554. "description": "是否有效 - 0:无效 1:有效",
  27555. "type": "integer"
  27556. },
  27557. "updatetime": {
  27558. "description": "更新时间",
  27559. "type": "string"
  27560. },
  27561. "updatorid": {
  27562. "description": "更新人",
  27563. "type": "integer"
  27564. },
  27565. "updatorsrc": {
  27566. "description": "更新人来源 - 1:管理端 2:终端",
  27567. "type": "integer"
  27568. },
  27569. "wrstandardid": {
  27570. "description": "现货商品ID",
  27571. "type": "integer"
  27572. }
  27573. }
  27574. },
  27575. "models.ErmcpGoodsModel": {
  27576. "type": "object",
  27577. "properties": {
  27578. "areauserid": {
  27579. "description": "所属机构",
  27580. "type": "integer"
  27581. },
  27582. "convertfactor": {
  27583. "description": "标仓系数",
  27584. "type": "number"
  27585. },
  27586. "createtime": {
  27587. "description": "创建时间",
  27588. "type": "string"
  27589. },
  27590. "creatorid": {
  27591. "description": "创建人",
  27592. "type": "integer"
  27593. },
  27594. "creatorsrc": {
  27595. "description": "创建人来源 - 1:管理端 2:终端",
  27596. "type": "integer"
  27597. },
  27598. "deliverygoodsid": {
  27599. "description": "现货品种ID",
  27600. "type": "integer"
  27601. },
  27602. "isvalid": {
  27603. "description": "是否有效 - 0:无效 1:有效",
  27604. "type": "integer"
  27605. },
  27606. "modelid": {
  27607. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  27608. "type": "integer"
  27609. },
  27610. "modelname": {
  27611. "description": "型号名称",
  27612. "type": "string"
  27613. },
  27614. "updatetime": {
  27615. "description": "更新时间",
  27616. "type": "string"
  27617. },
  27618. "updatorid": {
  27619. "description": "更新人",
  27620. "type": "integer"
  27621. },
  27622. "updatorsrc": {
  27623. "description": "更新人来源 - 1:管理端 2:终端",
  27624. "type": "integer"
  27625. },
  27626. "wrstandardid": {
  27627. "description": "现货商品ID",
  27628. "type": "integer"
  27629. }
  27630. }
  27631. },
  27632. "models.ErmcpHisExposure": {
  27633. "type": "object",
  27634. "properties": {
  27635. "needhedgeexposoure": {
  27636. "description": "应套保敞口",
  27637. "type": "number"
  27638. },
  27639. "reckondate": {
  27640. "description": "日照时期(yyyyMMdd)",
  27641. "type": "string"
  27642. },
  27643. "totalexposure": {
  27644. "description": "总敞口",
  27645. "type": "number"
  27646. }
  27647. }
  27648. },
  27649. "models.ErmcpLoginTaAccount": {
  27650. "type": "object",
  27651. "properties": {
  27652. "accountid": {
  27653. "description": "账号id",
  27654. "type": "integer"
  27655. },
  27656. "accountname": {
  27657. "description": "账号名称",
  27658. "type": "string"
  27659. }
  27660. }
  27661. },
  27662. "models.ErmcpLoginUser": {
  27663. "type": "object",
  27664. "properties": {
  27665. "acclist": {
  27666. "description": "关联资金账号",
  27667. "type": "array",
  27668. "items": {
  27669. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  27670. }
  27671. },
  27672. "accountname": {
  27673. "description": "用户名称",
  27674. "type": "string"
  27675. },
  27676. "clientroleid": {
  27677. "description": "角色id(usertype=2)",
  27678. "type": "integer"
  27679. },
  27680. "createtime": {
  27681. "description": "创建时间",
  27682. "type": "string"
  27683. },
  27684. "logincode": {
  27685. "description": "登录代码",
  27686. "type": "string"
  27687. },
  27688. "loginid": {
  27689. "description": "登录id(LOGINID)",
  27690. "type": "integer"
  27691. },
  27692. "loginname": {
  27693. "description": "登录名称(loginaccount表中的accountname字段)",
  27694. "type": "string"
  27695. },
  27696. "loginstatus": {
  27697. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  27698. "type": "integer"
  27699. },
  27700. "memberuserid": {
  27701. "description": "所属会员id",
  27702. "type": "integer"
  27703. },
  27704. "mobile": {
  27705. "description": "手机号",
  27706. "type": "string"
  27707. },
  27708. "modifytime": {
  27709. "description": "修改时间",
  27710. "type": "string"
  27711. },
  27712. "password": {
  27713. "description": "密码(不可解密)",
  27714. "type": "string"
  27715. },
  27716. "rolename": {
  27717. "description": "角色名称",
  27718. "type": "string"
  27719. },
  27720. "rolestatus": {
  27721. "description": "角色状态 1-启用 2-停用",
  27722. "type": "integer"
  27723. },
  27724. "roletype": {
  27725. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  27726. "type": "string"
  27727. },
  27728. "userid": {
  27729. "description": "用户id",
  27730. "type": "integer"
  27731. },
  27732. "usertype": {
  27733. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27734. "type": "integer"
  27735. }
  27736. }
  27737. },
  27738. "models.ErmcpLoginUserEx": {
  27739. "type": "object",
  27740. "properties": {
  27741. "accountstatus": {
  27742. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27743. "type": "integer"
  27744. },
  27745. "mobile": {
  27746. "description": "手机号",
  27747. "type": "string"
  27748. },
  27749. "querytype": {
  27750. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  27751. "type": "integer"
  27752. },
  27753. "roleid": {
  27754. "description": "角色id(交易账户-\u003e用户id)",
  27755. "type": "integer"
  27756. },
  27757. "rolename": {
  27758. "description": "角色名称(交易账户-\u003e用户名称)",
  27759. "type": "string"
  27760. },
  27761. "userlist": {
  27762. "description": "用户列表",
  27763. "type": "array",
  27764. "items": {
  27765. "$ref": "#/definitions/models.ErmcpLoginUser"
  27766. }
  27767. },
  27768. "usertype": {
  27769. "description": "用户类型 2-机构 7-企业成员(云平台)",
  27770. "type": "integer"
  27771. }
  27772. }
  27773. },
  27774. "models.ErmcpMiddleGoodsModel": {
  27775. "type": "object",
  27776. "properties": {
  27777. "areauserid": {
  27778. "description": "机构用户ID",
  27779. "type": "integer"
  27780. },
  27781. "createtime": {
  27782. "description": "修改时间",
  27783. "type": "string"
  27784. },
  27785. "enumdicname": {
  27786. "description": "单位名称",
  27787. "type": "string"
  27788. },
  27789. "evaluateratio": {
  27790. "description": "估价系数",
  27791. "type": "number"
  27792. },
  27793. "goodsgroupid": {
  27794. "description": "关联期货品种ID",
  27795. "type": "integer"
  27796. },
  27797. "goodsunitid": {
  27798. "description": "单位ID",
  27799. "type": "integer"
  27800. },
  27801. "isvalid": {
  27802. "description": "状态 0-无效(停用) 1-有效(正常)",
  27803. "type": "integer"
  27804. },
  27805. "middlegoodscode": {
  27806. "description": "套保品种代码",
  27807. "type": "string"
  27808. },
  27809. "middlegoodsid": {
  27810. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  27811. "type": "integer"
  27812. },
  27813. "middlegoodsname": {
  27814. "description": "套保品种名称",
  27815. "type": "string"
  27816. },
  27817. "modifytime": {
  27818. "description": "修改时间",
  27819. "type": "string"
  27820. },
  27821. "needarbitrageratio": {
  27822. "description": "套利比例",
  27823. "type": "number"
  27824. },
  27825. "needhedgeratio": {
  27826. "description": "套保比率",
  27827. "type": "number"
  27828. },
  27829. "qtydecimalplace": {
  27830. "description": "数量小数位",
  27831. "type": "integer"
  27832. },
  27833. "relatedgoodsid": {
  27834. "description": "关联交易商品ID",
  27835. "type": "integer"
  27836. },
  27837. "relatedgoodstype": {
  27838. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  27839. "type": "integer"
  27840. },
  27841. "remark": {
  27842. "description": "备注",
  27843. "type": "string"
  27844. }
  27845. }
  27846. },
  27847. "models.ErmcpMiddlegoodsRelateGoods": {
  27848. "type": "object",
  27849. "properties": {
  27850. "agreeunit": {
  27851. "description": "合约乘数",
  27852. "type": "number"
  27853. },
  27854. "convertratio": {
  27855. "description": "折算系数",
  27856. "type": "number"
  27857. },
  27858. "enumdicname": {
  27859. "description": "单位名称(交易商品)",
  27860. "type": "string"
  27861. },
  27862. "goodscode": {
  27863. "description": "交易商品代码",
  27864. "type": "string"
  27865. },
  27866. "goodsgroupid": {
  27867. "description": "交易品种id",
  27868. "type": "integer"
  27869. },
  27870. "goodsid": {
  27871. "description": "商品Id",
  27872. "type": "integer"
  27873. },
  27874. "goodsname": {
  27875. "description": "交易商品名称",
  27876. "type": "string"
  27877. },
  27878. "goodunitid": {
  27879. "description": "交易商品单位id",
  27880. "type": "integer"
  27881. },
  27882. "middlegoodsid": {
  27883. "description": "套保商品id",
  27884. "type": "integer"
  27885. },
  27886. "middlegoodsname": {
  27887. "description": "套保商品名称",
  27888. "type": "string"
  27889. },
  27890. "middlegoodsswcode": {
  27891. "description": "套保商品代码",
  27892. "type": "string"
  27893. },
  27894. "needarbitrageratio": {
  27895. "description": "应套利比例",
  27896. "type": "number"
  27897. },
  27898. "needhedgeratio": {
  27899. "description": "应套保比例",
  27900. "type": "number"
  27901. }
  27902. }
  27903. },
  27904. "models.ErmcpRole": {
  27905. "type": "object",
  27906. "properties": {
  27907. "areauserid": {
  27908. "description": "所属机构",
  27909. "type": "integer"
  27910. },
  27911. "autoid": {
  27912. "description": "角色ID(自增ID)",
  27913. "type": "integer"
  27914. },
  27915. "modifierid": {
  27916. "description": "修改人(创建人)",
  27917. "type": "integer"
  27918. },
  27919. "modifiername": {
  27920. "description": "修改人名称",
  27921. "type": "string"
  27922. },
  27923. "modifytime": {
  27924. "description": "修改时间(创建时间)",
  27925. "type": "string"
  27926. },
  27927. "rolename": {
  27928. "description": "角色名称",
  27929. "type": "string"
  27930. },
  27931. "rolestatus": {
  27932. "description": "角色状态 - 1:启用 2:停用",
  27933. "type": "integer"
  27934. },
  27935. "roletype": {
  27936. "description": "角色类型 - 1- 管理端 2- 交易端",
  27937. "type": "integer"
  27938. }
  27939. }
  27940. },
  27941. "models.ErmcpRoleMenu": {
  27942. "type": "object",
  27943. "properties": {
  27944. "iconame": {
  27945. "description": "菜单图标",
  27946. "type": "string"
  27947. },
  27948. "ishadrole": {
  27949. "description": "是否有权限",
  27950. "type": "boolean"
  27951. },
  27952. "menutype": {
  27953. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  27954. "type": "integer"
  27955. },
  27956. "parentcode": {
  27957. "description": "上级资源代码",
  27958. "type": "string"
  27959. },
  27960. "remark": {
  27961. "description": "菜单备注",
  27962. "type": "string"
  27963. },
  27964. "resourcecode": {
  27965. "description": "菜单代码",
  27966. "type": "string"
  27967. },
  27968. "resourcelevel": {
  27969. "description": "级别",
  27970. "type": "integer"
  27971. },
  27972. "resourcename": {
  27973. "description": "菜单名称",
  27974. "type": "string"
  27975. },
  27976. "roleid": {
  27977. "description": "角色id",
  27978. "type": "integer"
  27979. },
  27980. "sort": {
  27981. "description": "排序",
  27982. "type": "integer"
  27983. },
  27984. "url": {
  27985. "description": "URL",
  27986. "type": "string"
  27987. },
  27988. "userid": {
  27989. "description": "用户id",
  27990. "type": "integer"
  27991. }
  27992. }
  27993. },
  27994. "models.ErmcpRoleMenuEx": {
  27995. "type": "object",
  27996. "properties": {
  27997. "menu": {
  27998. "description": "父级菜单",
  27999. "$ref": "#/definitions/models.ErmcpRoleMenu"
  28000. },
  28001. "subMenu": {
  28002. "description": "子级菜单",
  28003. "type": "array",
  28004. "items": {
  28005. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  28006. }
  28007. }
  28008. }
  28009. },
  28010. "models.ErmcpSpotContractModelEx": {
  28011. "type": "object",
  28012. "properties": {
  28013. "accountname": {
  28014. "description": "套期主体",
  28015. "type": "string"
  28016. },
  28017. "amount": {
  28018. "description": "金额 [1:一口价、3:暂定价]",
  28019. "type": "number"
  28020. },
  28021. "attachment": {
  28022. "description": "附件",
  28023. "type": "string"
  28024. },
  28025. "auditremark": {
  28026. "description": "审核意见",
  28027. "type": "string"
  28028. },
  28029. "audittime": {
  28030. "description": "审核时间",
  28031. "type": "string"
  28032. },
  28033. "avgprice": {
  28034. "description": "定价均价 = 已定价金额 / 已定价量",
  28035. "type": "number"
  28036. },
  28037. "brandname": {
  28038. "description": "品牌名称",
  28039. "type": "string"
  28040. },
  28041. "buyuserid": {
  28042. "description": "采购方ID",
  28043. "type": "integer"
  28044. },
  28045. "buyusername": {
  28046. "description": "采购方名称",
  28047. "type": "string"
  28048. },
  28049. "contracctstatus": {
  28050. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  28051. "type": "integer"
  28052. },
  28053. "contractmargin": {
  28054. "description": "合同保证金",
  28055. "type": "number"
  28056. },
  28057. "contractno": {
  28058. "description": "[合同编号]现货合同编号",
  28059. "type": "string"
  28060. },
  28061. "contracttype": {
  28062. "description": "[合同类型]现货合同类型 - 1:采购 -1:销售",
  28063. "type": "integer"
  28064. },
  28065. "convertfactor": {
  28066. "description": "标仓系数",
  28067. "type": "number"
  28068. },
  28069. "createtime": {
  28070. "description": "创建时间",
  28071. "type": "string"
  28072. },
  28073. "customername": {
  28074. "description": "对手方",
  28075. "type": "string"
  28076. },
  28077. "customeruserid": {
  28078. "description": "客户ID",
  28079. "type": "integer"
  28080. },
  28081. "deliveryenddate": {
  28082. "description": "交收期(结束)",
  28083. "type": "string"
  28084. },
  28085. "deliverygoodscode": {
  28086. "description": "现货品种代码",
  28087. "type": "string"
  28088. },
  28089. "deliverygoodsid": {
  28090. "description": "现货品种ID",
  28091. "type": "integer"
  28092. },
  28093. "deliverygoodsname": {
  28094. "description": "现货品种名称",
  28095. "type": "string"
  28096. },
  28097. "deliverystartdate": {
  28098. "description": "交收期(开始)",
  28099. "type": "string"
  28100. },
  28101. "enddate": {
  28102. "description": "点价结束日期 [2:点价 3:暂定价]",
  28103. "type": "string"
  28104. },
  28105. "enumdicname": {
  28106. "description": "单位名称",
  28107. "type": "string"
  28108. },
  28109. "goodscode": {
  28110. "description": "点价合约代码",
  28111. "type": "string"
  28112. },
  28113. "goodsid": {
  28114. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  28115. "type": "integer"
  28116. },
  28117. "goodsname": {
  28118. "description": "点价商品名称",
  28119. "type": "string"
  28120. },
  28121. "isrelated": {
  28122. "description": "是否已关联计划项目 - 0:否 1:是",
  28123. "type": "integer"
  28124. },
  28125. "isrelated2": {
  28126. "description": "是否已关联现货项目 - 0:否 1:是",
  28127. "type": "integer"
  28128. },
  28129. "margin": {
  28130. "description": "当前保证金",
  28131. "type": "number"
  28132. },
  28133. "modelname": {
  28134. "description": "型号名称",
  28135. "type": "string"
  28136. },
  28137. "price": {
  28138. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  28139. "type": "number"
  28140. },
  28141. "pricedamount": {
  28142. "description": "已定价金额 = (点价价格+升贴水) * 数量",
  28143. "type": "number"
  28144. },
  28145. "pricedqty": {
  28146. "description": "已定价量",
  28147. "type": "number"
  28148. },
  28149. "pricemove": {
  28150. "description": "升贴水 [2:点价 3:暂定价]",
  28151. "type": "number"
  28152. },
  28153. "pricetype": {
  28154. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  28155. "type": "integer"
  28156. },
  28157. "producttype": {
  28158. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  28159. "type": "integer"
  28160. },
  28161. "qty": {
  28162. "description": "[合同数量]数量",
  28163. "type": "number"
  28164. },
  28165. "remark": {
  28166. "description": "备注",
  28167. "type": "string"
  28168. },
  28169. "selluserid": {
  28170. "description": "销售方ID",
  28171. "type": "integer"
  28172. },
  28173. "sellusername": {
  28174. "description": "销售方名称",
  28175. "type": "string"
  28176. },
  28177. "spotamount": {
  28178. "description": "合同现货金额 [不含升贴水]",
  28179. "type": "number"
  28180. },
  28181. "spotavgprice": {
  28182. "description": "现货均价 = 合同现货金额 / 已定价量",
  28183. "type": "number"
  28184. },
  28185. "spotcontractid": {
  28186. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  28187. "type": "string"
  28188. },
  28189. "spotgoodsbrandid": {
  28190. "description": "现货品牌ID",
  28191. "type": "integer"
  28192. },
  28193. "spotgoodsdesc": {
  28194. "description": "商品型号",
  28195. "type": "string"
  28196. },
  28197. "spotgoodsmodelid": {
  28198. "description": "现货型号ID",
  28199. "type": "integer"
  28200. },
  28201. "startdate": {
  28202. "description": "点价开始日期 [2:点价 3:暂定价]",
  28203. "type": "string"
  28204. },
  28205. "tradeuserid": {
  28206. "description": "交易用户ID",
  28207. "type": "integer"
  28208. },
  28209. "unpricedqty": {
  28210. "description": "未定价量 = 合同数量 - 已定价量",
  28211. "type": "number"
  28212. },
  28213. "updatetime": {
  28214. "description": "更新时间",
  28215. "type": "string"
  28216. },
  28217. "userid": {
  28218. "description": "机构ID",
  28219. "type": "integer"
  28220. },
  28221. "wrstandardcode": {
  28222. "description": "现货商品代码",
  28223. "type": "string"
  28224. },
  28225. "wrstandardid": {
  28226. "description": "现货商品ID",
  28227. "type": "integer"
  28228. },
  28229. "wrstandardname": {
  28230. "description": "[现货商品]现货商品名称",
  28231. "type": "string"
  28232. }
  28233. }
  28234. },
  28235. "models.ErmcpTaAccount": {
  28236. "type": "object",
  28237. "properties": {
  28238. "accountid": {
  28239. "description": "账户id",
  28240. "type": "integer"
  28241. },
  28242. "accountname": {
  28243. "description": "账户名称",
  28244. "type": "string"
  28245. },
  28246. "currencyid": {
  28247. "description": "币种id",
  28248. "type": "integer"
  28249. },
  28250. "hedgeaccountcode": {
  28251. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  28252. "type": "string"
  28253. },
  28254. "ismain": {
  28255. "description": "是否主账户 0-否 1-是",
  28256. "type": "integer"
  28257. },
  28258. "parentaccountid": {
  28259. "description": "父账户id",
  28260. "type": "integer"
  28261. },
  28262. "relateduserid": {
  28263. "description": "关联userid",
  28264. "type": "integer"
  28265. },
  28266. "tradefeetmpid": {
  28267. "description": "手续费模板id",
  28268. "type": "integer"
  28269. },
  28270. "tradefeetmpname": {
  28271. "description": "手续费模板名称",
  28272. "type": "string"
  28273. },
  28274. "trademargintmpid": {
  28275. "description": "保证金模板id",
  28276. "type": "integer"
  28277. },
  28278. "trademargintmpname": {
  28279. "description": "保证金模板名称",
  28280. "type": "string"
  28281. },
  28282. "traderatetmpid": {
  28283. "description": "汇率模板id",
  28284. "type": "integer"
  28285. },
  28286. "traderatetmpname": {
  28287. "description": "汇率模板名称",
  28288. "type": "string"
  28289. },
  28290. "tradestatus": {
  28291. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28292. "type": "integer"
  28293. },
  28294. "userid": {
  28295. "description": "用户id",
  28296. "type": "integer"
  28297. }
  28298. }
  28299. },
  28300. "models.ErmcpTaAccountEx": {
  28301. "type": "object",
  28302. "properties": {
  28303. "mainAcc": {
  28304. "description": "主账号",
  28305. "$ref": "#/definitions/models.ErmcpTaAccountM"
  28306. },
  28307. "subacclist": {
  28308. "description": "子账号列表",
  28309. "type": "array",
  28310. "items": {
  28311. "$ref": "#/definitions/models.ErmcpTaAccount"
  28312. }
  28313. }
  28314. }
  28315. },
  28316. "models.ErmcpTaAccountInfo": {
  28317. "type": "object",
  28318. "properties": {
  28319. "accountid": {
  28320. "description": "资金账户ID",
  28321. "type": "integer"
  28322. },
  28323. "accountname": {
  28324. "description": "账户名称",
  28325. "type": "string"
  28326. },
  28327. "balance": {
  28328. "description": "期初余额",
  28329. "type": "number"
  28330. },
  28331. "capitalbalance": {
  28332. "description": "本金余额[外部子账户实际出入金余额]",
  28333. "type": "number"
  28334. },
  28335. "closepl": {
  28336. "description": "今日平仓盈亏",
  28337. "type": "number"
  28338. },
  28339. "creditdecrease": {
  28340. "description": "今日授信减少",
  28341. "type": "number"
  28342. },
  28343. "creditincrease": {
  28344. "description": "今日授信增加",
  28345. "type": "number"
  28346. },
  28347. "curdebt": {
  28348. "description": "期末欠款",
  28349. "type": "number"
  28350. },
  28351. "currencyid": {
  28352. "description": "货币ID",
  28353. "type": "integer"
  28354. },
  28355. "currentbalance": {
  28356. "description": "期末余额",
  28357. "type": "number"
  28358. },
  28359. "freezecharge": {
  28360. "description": "手续费冻结",
  28361. "type": "number"
  28362. },
  28363. "freezemargin": {
  28364. "description": "冻结保证金",
  28365. "type": "number"
  28366. },
  28367. "fromaccountid": {
  28368. "description": "所属上级账户",
  28369. "type": "integer"
  28370. },
  28371. "inamount": {
  28372. "description": "今日入金金额(包括三方入金)",
  28373. "type": "number"
  28374. },
  28375. "ismain": {
  28376. "description": "是否母账号 0:不是母账户 1:是母账户",
  28377. "type": "integer"
  28378. },
  28379. "mortgagecredit": {
  28380. "description": "授信金额",
  28381. "type": "number"
  28382. },
  28383. "oridebt": {
  28384. "description": "期初欠款",
  28385. "type": "number"
  28386. },
  28387. "orifreezecharge": {
  28388. "description": "期初手续费冻结",
  28389. "type": "number"
  28390. },
  28391. "orifreezemargin": {
  28392. "description": "期初冻结保证金",
  28393. "type": "number"
  28394. },
  28395. "orimortgagecredit": {
  28396. "description": "期初授信金额",
  28397. "type": "number"
  28398. },
  28399. "oriothercredit": {
  28400. "description": "期初其它授信金额",
  28401. "type": "number"
  28402. },
  28403. "oriotherfreezemargin": {
  28404. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  28405. "type": "number"
  28406. },
  28407. "orioutamountfreeze": {
  28408. "description": "期初出金冻结",
  28409. "type": "number"
  28410. },
  28411. "oriusedmargin": {
  28412. "description": "期初占用保证金",
  28413. "type": "number"
  28414. },
  28415. "othercredit": {
  28416. "description": "其它授信金额",
  28417. "type": "number"
  28418. },
  28419. "othercreditdecrease": {
  28420. "description": "今日其它授信减少",
  28421. "type": "number"
  28422. },
  28423. "othercreditincrease": {
  28424. "description": "今日其它授信增加",
  28425. "type": "number"
  28426. },
  28427. "otherfreezemargin": {
  28428. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  28429. "type": "number"
  28430. },
  28431. "outamount": {
  28432. "description": "今日出金金额(包括三方出金)",
  28433. "type": "number"
  28434. },
  28435. "outamountfreeze": {
  28436. "description": "出金冻结",
  28437. "type": "number"
  28438. },
  28439. "outthreshold": {
  28440. "description": "出金阈值",
  28441. "type": "number"
  28442. },
  28443. "parentaccountid": {
  28444. "description": "所属根账号",
  28445. "type": "integer"
  28446. },
  28447. "paycharge": {
  28448. "description": "今日手续费支出",
  28449. "type": "number"
  28450. },
  28451. "relateduserid": {
  28452. "description": "关联用户",
  28453. "type": "integer"
  28454. },
  28455. "signstatus": {
  28456. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  28457. "type": "integer"
  28458. },
  28459. "sublevelpath": {
  28460. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  28461. "type": "string"
  28462. },
  28463. "taaccounttype": {
  28464. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  28465. "type": "integer"
  28466. },
  28467. "thirdinamount": {
  28468. "description": "今日三方入金",
  28469. "type": "number"
  28470. },
  28471. "thirdoutamount": {
  28472. "description": "今日三方出金",
  28473. "type": "number"
  28474. },
  28475. "tradestatus": {
  28476. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28477. "type": "integer"
  28478. },
  28479. "transferamount": {
  28480. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  28481. "type": "number"
  28482. },
  28483. "usedmargin": {
  28484. "description": "占用保证金",
  28485. "type": "number"
  28486. },
  28487. "userid": {
  28488. "description": "用户ID",
  28489. "type": "integer"
  28490. }
  28491. }
  28492. },
  28493. "models.ErmcpTaAccountM": {
  28494. "type": "object",
  28495. "properties": {
  28496. "accountid": {
  28497. "description": "账户id",
  28498. "type": "integer"
  28499. },
  28500. "accountname": {
  28501. "description": "账户名称",
  28502. "type": "string"
  28503. },
  28504. "currencyid": {
  28505. "description": "币种id",
  28506. "type": "integer"
  28507. },
  28508. "fcid": {
  28509. "description": "期货公司id",
  28510. "type": "integer"
  28511. },
  28512. "fcname": {
  28513. "description": "期货公司代码",
  28514. "type": "string"
  28515. },
  28516. "hedgeaccountcode": {
  28517. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  28518. "type": "string"
  28519. },
  28520. "ismain": {
  28521. "description": "是否主账户 0-否 1-是",
  28522. "type": "integer"
  28523. },
  28524. "parentaccountid": {
  28525. "description": "父账户id",
  28526. "type": "integer"
  28527. },
  28528. "relateduserid": {
  28529. "description": "关联userid",
  28530. "type": "integer"
  28531. },
  28532. "tradefeetmpid": {
  28533. "description": "手续费模板id",
  28534. "type": "integer"
  28535. },
  28536. "tradefeetmpname": {
  28537. "description": "手续费模板名称",
  28538. "type": "string"
  28539. },
  28540. "trademargintmpid": {
  28541. "description": "保证金模板id",
  28542. "type": "integer"
  28543. },
  28544. "trademargintmpname": {
  28545. "description": "保证金模板名称",
  28546. "type": "string"
  28547. },
  28548. "traderatetmpid": {
  28549. "description": "汇率模板id",
  28550. "type": "integer"
  28551. },
  28552. "traderatetmpname": {
  28553. "description": "汇率模板名称",
  28554. "type": "string"
  28555. },
  28556. "tradestatus": {
  28557. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28558. "type": "integer"
  28559. },
  28560. "userid": {
  28561. "description": "用户id",
  28562. "type": "integer"
  28563. }
  28564. }
  28565. },
  28566. "models.ErmcpTradeConfigTMP": {
  28567. "type": "object",
  28568. "properties": {
  28569. "areauserid": {
  28570. "description": "所属机构",
  28571. "type": "integer"
  28572. },
  28573. "basiccurrencyid": {
  28574. "description": "基本币种ID[汇率] - 目标币种",
  28575. "type": "integer"
  28576. },
  28577. "mainaccountid": {
  28578. "description": "主账户ID",
  28579. "type": "integer"
  28580. },
  28581. "modifierid": {
  28582. "description": "修改人",
  28583. "type": "integer"
  28584. },
  28585. "remark": {
  28586. "description": "备注",
  28587. "type": "string"
  28588. },
  28589. "tradeconfigtmpid": {
  28590. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  28591. "type": "integer"
  28592. },
  28593. "tradeconfigtmpname": {
  28594. "description": "交易配置模板名称",
  28595. "type": "string"
  28596. },
  28597. "tradeconfigtmptype": {
  28598. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  28599. "type": "integer"
  28600. },
  28601. "updatetime": {
  28602. "description": "更新时间",
  28603. "type": "string"
  28604. }
  28605. }
  28606. },
  28607. "models.Ermcpjrlinkpos": {
  28608. "type": "object",
  28609. "required": [
  28610. "spotcontractid"
  28611. ],
  28612. "properties": {
  28613. "areauserid": {
  28614. "description": "所属企业",
  28615. "type": "integer"
  28616. },
  28617. "averageprice": {
  28618. "description": "持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty",
  28619. "type": "number"
  28620. },
  28621. "closepl": {
  28622. "description": "总平仓盈亏 [期货损益]",
  28623. "type": "number"
  28624. },
  28625. "executeprice": {
  28626. "description": "执行价 - 1:期货单 为 0",
  28627. "type": "integer"
  28628. },
  28629. "futurehedgeqty": {
  28630. "description": "期货套期量",
  28631. "type": "number"
  28632. },
  28633. "goodsid": {
  28634. "description": "期货合约",
  28635. "type": "integer"
  28636. },
  28637. "middlegoodscode": {
  28638. "description": "套保商品代码",
  28639. "type": "string"
  28640. },
  28641. "middlegoodsname": {
  28642. "description": "套保商品名称",
  28643. "type": "string"
  28644. },
  28645. "netqty": {
  28646. "description": "净头寸",
  28647. "type": "number"
  28648. },
  28649. "optioncode": {
  28650. "description": "期权代码",
  28651. "type": "string"
  28652. },
  28653. "ordertype": {
  28654. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  28655. "type": "integer"
  28656. },
  28657. "reckonpl": {
  28658. "description": "总盈亏(平仓盈亏 + 结算盈亏 - 手续费)",
  28659. "type": "number"
  28660. },
  28661. "spotcontractid": {
  28662. "description": "现货ID [套期项目ID - 金瑞:合同\\虚拟合同ID",
  28663. "type": "string"
  28664. },
  28665. "todayfutureclosepl": {
  28666. "description": "今日平仓盈亏",
  28667. "type": "number"
  28668. },
  28669. "totalbuyamount": {
  28670. "description": "买金额 [期货]",
  28671. "type": "number"
  28672. },
  28673. "totalbuyholdamount": {
  28674. "description": "买持仓总金额[期货]",
  28675. "type": "number"
  28676. },
  28677. "totalbuyqty": {
  28678. "description": "买数量",
  28679. "type": "number"
  28680. },
  28681. "totalcharge": {
  28682. "description": "手续费",
  28683. "type": "number"
  28684. },
  28685. "totalpremium": {
  28686. "description": "权利金 [期权]",
  28687. "type": "number"
  28688. },
  28689. "totalsellamount": {
  28690. "description": "卖金额 [期货]",
  28691. "type": "number"
  28692. },
  28693. "totalsellholdamount": {
  28694. "description": "卖持仓总金额[期货]",
  28695. "type": "number"
  28696. },
  28697. "totalsellqty": {
  28698. "description": "卖数量",
  28699. "type": "number"
  28700. },
  28701. "updatetime": {
  28702. "description": "更新时间",
  28703. "type": "string"
  28704. }
  28705. }
  28706. },
  28707. "models.Ermcppatradelinkdetail": {
  28708. "type": "object",
  28709. "required": [
  28710. "hedgeditemid"
  28711. ],
  28712. "properties": {
  28713. "agreeunit": {
  28714. "description": "合约乘数",
  28715. "type": "number"
  28716. },
  28717. "amount": {
  28718. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  28719. "type": "number"
  28720. },
  28721. "areauserid": {
  28722. "description": "所属机构",
  28723. "type": "integer"
  28724. },
  28725. "bizsubjectid": {
  28726. "description": "归属业务部门ID - SubjectID",
  28727. "type": "integer"
  28728. },
  28729. "buyorsell": {
  28730. "description": "方向 - 0:买 1:卖",
  28731. "type": "integer"
  28732. },
  28733. "convertratio": {
  28734. "description": "品种系数",
  28735. "type": "number"
  28736. },
  28737. "createtime": {
  28738. "description": "创建时间",
  28739. "type": "string"
  28740. },
  28741. "creatorid": {
  28742. "description": "创建人ID",
  28743. "type": "integer"
  28744. },
  28745. "creatorsrc": {
  28746. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  28747. "type": "integer"
  28748. },
  28749. "goodsgroupid": {
  28750. "description": "对冲品种ID[期货合约商品组ID]",
  28751. "type": "integer"
  28752. },
  28753. "goodsid": {
  28754. "description": "商品ID",
  28755. "type": "integer"
  28756. },
  28757. "hedgeditemid": {
  28758. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  28759. "type": "integer"
  28760. },
  28761. "hedgeflag": {
  28762. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  28763. "type": "integer"
  28764. },
  28765. "linkdetailid": {
  28766. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  28767. "type": "string"
  28768. },
  28769. "linkstatus": {
  28770. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  28771. "type": "integer"
  28772. },
  28773. "middlegoodsid": {
  28774. "description": "套保品种ID",
  28775. "type": "integer"
  28776. },
  28777. "name": {
  28778. "description": "账户名/子账户",
  28779. "type": "string"
  28780. },
  28781. "optioncode": {
  28782. "description": "[期货合约]期权代码 [期权]",
  28783. "type": "string"
  28784. },
  28785. "ordertype": {
  28786. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  28787. "type": "integer"
  28788. },
  28789. "relatedlot": {
  28790. "description": "[数量]关联手数",
  28791. "type": "number"
  28792. },
  28793. "relatedmode": {
  28794. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  28795. "type": "integer"
  28796. },
  28797. "relatedqty": {
  28798. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  28799. "type": "number"
  28800. },
  28801. "retcode": {
  28802. "description": "返回码",
  28803. "type": "integer"
  28804. },
  28805. "saleuserid": {
  28806. "description": "业务员ID",
  28807. "type": "integer"
  28808. },
  28809. "tradedate": {
  28810. "description": "关联交易日(yyyyMMdd)",
  28811. "type": "string"
  28812. },
  28813. "tradeid": {
  28814. "description": "[成交单号]内部成交单ID",
  28815. "type": "string"
  28816. },
  28817. "tradelot": {
  28818. "description": "成交手数",
  28819. "type": "integer"
  28820. },
  28821. "tradeprice": {
  28822. "description": "[价格]成交价格",
  28823. "type": "number"
  28824. },
  28825. "tradetime": {
  28826. "description": "日期时间",
  28827. "type": "string"
  28828. },
  28829. "tradetradedate": {
  28830. "description": "成交交易日(yyyyMMdd)",
  28831. "type": "string"
  28832. }
  28833. }
  28834. },
  28835. "models.Externalexchange": {
  28836. "type": "object",
  28837. "required": [
  28838. "autoid"
  28839. ],
  28840. "properties": {
  28841. "autoid": {
  28842. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  28843. "type": "integer"
  28844. },
  28845. "exchangefullname": {
  28846. "description": "外部交易所全称",
  28847. "type": "string"
  28848. },
  28849. "exexchangecode": {
  28850. "description": "外部交易所代码",
  28851. "type": "string"
  28852. },
  28853. "exexchangename": {
  28854. "description": "外部交易所名称(简称)",
  28855. "type": "string"
  28856. },
  28857. "ismarketprice": {
  28858. "description": "是否支持市价 - 0:不支持 1:支持",
  28859. "type": "integer"
  28860. },
  28861. "quotegear": {
  28862. "description": "行情档位(1-10)",
  28863. "type": "integer"
  28864. },
  28865. "showbrokerflag": {
  28866. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  28867. "type": "integer"
  28868. },
  28869. "updatetime": {
  28870. "description": "更新时间",
  28871. "type": "string"
  28872. }
  28873. }
  28874. },
  28875. "models.Funcmenulist": {
  28876. "type": "object",
  28877. "required": [
  28878. "resourcecode"
  28879. ],
  28880. "properties": {
  28881. "iconame": {
  28882. "description": "菜单图标",
  28883. "type": "string"
  28884. },
  28885. "menutype": {
  28886. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  28887. "type": "integer"
  28888. },
  28889. "parentcode": {
  28890. "description": "上级资源代码",
  28891. "type": "string"
  28892. },
  28893. "remark": {
  28894. "description": "备注",
  28895. "type": "string"
  28896. },
  28897. "resourcecode": {
  28898. "description": "资源代码",
  28899. "type": "string"
  28900. },
  28901. "resourcelevel": {
  28902. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  28903. "type": "integer"
  28904. },
  28905. "resourcename": {
  28906. "description": "资源名",
  28907. "type": "string"
  28908. },
  28909. "sort": {
  28910. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  28911. "type": "integer"
  28912. },
  28913. "url": {
  28914. "description": "URL",
  28915. "type": "string"
  28916. }
  28917. }
  28918. },
  28919. "models.Goods": {
  28920. "type": "object",
  28921. "required": [
  28922. "goodscode",
  28923. "goodsid",
  28924. "goodsname",
  28925. "marketid"
  28926. ],
  28927. "properties": {
  28928. "agreeunit": {
  28929. "description": "合约单位",
  28930. "type": "number"
  28931. },
  28932. "areauserid": {
  28933. "description": "所属机构",
  28934. "type": "integer"
  28935. },
  28936. "auditaccountid": {
  28937. "description": "审核操作员账号",
  28938. "type": "integer"
  28939. },
  28940. "audittime": {
  28941. "description": "审核时间",
  28942. "type": "string"
  28943. },
  28944. "cancelaccountid": {
  28945. "description": "注销操作员账号",
  28946. "type": "integer"
  28947. },
  28948. "canceltime": {
  28949. "description": "注销时间",
  28950. "type": "string"
  28951. },
  28952. "closepricemode": {
  28953. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  28954. "type": "integer"
  28955. },
  28956. "closepriceparam": {
  28957. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  28958. "type": "number"
  28959. },
  28960. "createtime": {
  28961. "description": "创建时间",
  28962. "type": "string"
  28963. },
  28964. "creatorid": {
  28965. "description": "创建人",
  28966. "type": "integer"
  28967. },
  28968. "currencyid": {
  28969. "description": "报价货币ID",
  28970. "type": "integer"
  28971. },
  28972. "cutmode": {
  28973. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  28974. "type": "integer"
  28975. },
  28976. "decimalplace": {
  28977. "description": "报价小数位",
  28978. "type": "integer"
  28979. },
  28980. "delistingdate": {
  28981. "description": "商品退市时间(状态:退市) -- 已作废",
  28982. "type": "string"
  28983. },
  28984. "delistingmode": {
  28985. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  28986. "type": "integer"
  28987. },
  28988. "deliveryflag": {
  28989. "description": "交割标志 - 0:不可交割 1:可交割",
  28990. "type": "integer"
  28991. },
  28992. "forceclosemode": {
  28993. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  28994. "type": "integer"
  28995. },
  28996. "forceclosevalue": {
  28997. "description": "定期强平参数 [收益权]",
  28998. "type": "integer"
  28999. },
  29000. "goodscode": {
  29001. "description": "商品代码(内部)",
  29002. "type": "string"
  29003. },
  29004. "goodscurrencyid": {
  29005. "description": "合约货币ID",
  29006. "type": "integer"
  29007. },
  29008. "goodsgroupid": {
  29009. "description": "所属商品组ID",
  29010. "type": "integer"
  29011. },
  29012. "goodsid": {
  29013. "description": "商品ID(自增ID SEQ_GOODS)",
  29014. "type": "integer"
  29015. },
  29016. "goodsname": {
  29017. "description": "商品名称",
  29018. "type": "string"
  29019. },
  29020. "goodsquotetype": {
  29021. "description": "合约报价类型: 1-直接报价 2-间接报价",
  29022. "type": "integer"
  29023. },
  29024. "goodsstatus": {
  29025. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  29026. "type": "integer"
  29027. },
  29028. "goodstradetype": {
  29029. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  29030. "type": "integer"
  29031. },
  29032. "goodunitid": {
  29033. "description": "报价单位ID",
  29034. "type": "integer"
  29035. },
  29036. "hasquoter": {
  29037. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  29038. "type": "integer"
  29039. },
  29040. "hqprotecttime": {
  29041. "description": "行情保护时间(秒)",
  29042. "type": "integer"
  29043. },
  29044. "innerdealmode": {
  29045. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  29046. "type": "integer"
  29047. },
  29048. "isbuylimited": {
  29049. "description": "是否限制建仓量 - 0:不限制 1:限制",
  29050. "type": "integer"
  29051. },
  29052. "isvisible": {
  29053. "description": "游客是否可见 - 0:不可见 1:可见",
  29054. "type": "integer"
  29055. },
  29056. "lasttradedate": {
  29057. "description": "最后交易日期(状态:待退市)",
  29058. "type": "string"
  29059. },
  29060. "listingdate": {
  29061. "description": "交易开始日期",
  29062. "type": "string"
  29063. },
  29064. "marketid": {
  29065. "description": "所属市场ID",
  29066. "type": "integer"
  29067. },
  29068. "modifierid": {
  29069. "description": "修改人",
  29070. "type": "integer"
  29071. },
  29072. "modifystatus": {
  29073. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  29074. "type": "integer"
  29075. },
  29076. "modifytime": {
  29077. "description": "修改时间",
  29078. "type": "string"
  29079. },
  29080. "outerdealmode": {
  29081. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  29082. "type": "integer"
  29083. },
  29084. "outgoodscode": {
  29085. "description": "商品代码(外部)",
  29086. "type": "string"
  29087. },
  29088. "pictureurl": {
  29089. "description": "商品图片",
  29090. "type": "string"
  29091. },
  29092. "qtydecimalplace": {
  29093. "description": "成交量小数位",
  29094. "type": "integer"
  29095. },
  29096. "quotegear": {
  29097. "description": "行情档位(1-10)",
  29098. "type": "integer"
  29099. },
  29100. "quoteminunit": {
  29101. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29102. "type": "integer"
  29103. },
  29104. "quoteshowtype": {
  29105. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  29106. "type": "integer"
  29107. },
  29108. "quoteshowtypeinterval": {
  29109. "description": "行情报价间隔时间(秒)(成交价时为0)",
  29110. "type": "integer"
  29111. },
  29112. "remark": {
  29113. "description": "备注",
  29114. "type": "string"
  29115. }
  29116. }
  29117. },
  29118. "models.GoodsIDAndName": {
  29119. "type": "object",
  29120. "required": [
  29121. "goodscode",
  29122. "goodsid",
  29123. "goodsname",
  29124. "marketid"
  29125. ],
  29126. "properties": {
  29127. "goodscode": {
  29128. "description": "商品代码(内部)",
  29129. "type": "string"
  29130. },
  29131. "goodsid": {
  29132. "description": "商品ID(自增ID SEQ_GOODS)",
  29133. "type": "integer"
  29134. },
  29135. "goodsname": {
  29136. "description": "商品名称",
  29137. "type": "string"
  29138. },
  29139. "marketid": {
  29140. "description": "所属市场ID",
  29141. "type": "integer"
  29142. }
  29143. }
  29144. },
  29145. "models.Goodsgroup": {
  29146. "type": "object",
  29147. "required": [
  29148. "goodsgroupid",
  29149. "goodsgroupname",
  29150. "goodsgroupstatus",
  29151. "marketid"
  29152. ],
  29153. "properties": {
  29154. "agreeunit": {
  29155. "description": "合约单位",
  29156. "type": "number"
  29157. },
  29158. "canshort": {
  29159. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  29160. "type": "integer"
  29161. },
  29162. "closepricemode": {
  29163. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  29164. "type": "integer"
  29165. },
  29166. "closepriceparam": {
  29167. "description": "强平最新价浮动比例 - 方式为2时使用",
  29168. "type": "number"
  29169. },
  29170. "createtime": {
  29171. "description": "创建时间",
  29172. "type": "string"
  29173. },
  29174. "creatorid": {
  29175. "description": "创建人",
  29176. "type": "integer"
  29177. },
  29178. "currencyid": {
  29179. "description": "报价货币ID",
  29180. "type": "integer"
  29181. },
  29182. "decimalplace": {
  29183. "description": "报价小数位",
  29184. "type": "integer"
  29185. },
  29186. "exercisetype": {
  29187. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  29188. "type": "integer"
  29189. },
  29190. "exexchangeid": {
  29191. "description": "外部交易所ID[通道交易]",
  29192. "type": "integer"
  29193. },
  29194. "goodsgroupid": {
  29195. "description": "商品组ID(自增ID)",
  29196. "type": "integer"
  29197. },
  29198. "goodsgroupname": {
  29199. "description": "商品组名称",
  29200. "type": "string"
  29201. },
  29202. "goodsgroupstatus": {
  29203. "description": "商品组状态 - 1:正常 2:注销",
  29204. "type": "integer"
  29205. },
  29206. "goodunitid": {
  29207. "description": "报价单位ID",
  29208. "type": "integer"
  29209. },
  29210. "innerdealmode": {
  29211. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  29212. "type": "integer"
  29213. },
  29214. "isbuylimited": {
  29215. "description": "是否限制建仓量 - 0:不限制 1:限制",
  29216. "type": "integer"
  29217. },
  29218. "marketid": {
  29219. "description": "所属市场ID",
  29220. "type": "integer"
  29221. },
  29222. "modifierid": {
  29223. "description": "修改人",
  29224. "type": "integer"
  29225. },
  29226. "modifytime": {
  29227. "description": "修改时间",
  29228. "type": "string"
  29229. },
  29230. "outerdealmode": {
  29231. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  29232. "type": "integer"
  29233. },
  29234. "outergroupcode": {
  29235. "description": "外部商品组代码[通道交易]",
  29236. "type": "string"
  29237. },
  29238. "premiumdecimalplace": {
  29239. "description": "权利金小数位[场外期权]",
  29240. "type": "integer"
  29241. },
  29242. "premiumspreadalgorithm": {
  29243. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  29244. "type": "integer"
  29245. },
  29246. "premiumspreadvalue": {
  29247. "description": "权利金点差值[场外期权]",
  29248. "type": "number"
  29249. },
  29250. "qtydecimalplace": {
  29251. "description": "成交量小数位",
  29252. "type": "integer"
  29253. },
  29254. "quotegear": {
  29255. "description": "行情档位(1-10)",
  29256. "type": "integer"
  29257. },
  29258. "quoteminunit": {
  29259. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29260. "type": "integer"
  29261. },
  29262. "quoterid": {
  29263. "description": "报价商ID[场外期权]",
  29264. "type": "integer"
  29265. },
  29266. "quotesourcegroupid": {
  29267. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  29268. "type": "integer"
  29269. },
  29270. "syncgoodsqty": {
  29271. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  29272. "type": "integer"
  29273. }
  29274. }
  29275. },
  29276. "models.Goodssortbypreposition": {
  29277. "type": "object",
  29278. "required": [
  29279. "goodscode",
  29280. "tradedate"
  29281. ],
  29282. "properties": {
  29283. "goodscode": {
  29284. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  29285. "type": "string"
  29286. },
  29287. "goodsgroupcode": {
  29288. "description": "品种代码",
  29289. "type": "string"
  29290. },
  29291. "prepositionqty": {
  29292. "description": "昨持仓量",
  29293. "type": "integer"
  29294. },
  29295. "sortindex": {
  29296. "description": "排序",
  29297. "type": "integer"
  29298. },
  29299. "tradedate": {
  29300. "description": "交易日",
  29301. "type": "string"
  29302. },
  29303. "updatetime": {
  29304. "description": "更新时间",
  29305. "type": "string"
  29306. }
  29307. }
  29308. },
  29309. "models.Hedgeinnerholderdetail": {
  29310. "type": "object",
  29311. "required": [
  29312. "buyorsell",
  29313. "tradeid"
  29314. ],
  29315. "properties": {
  29316. "accountid": {
  29317. "description": "账号ID",
  29318. "type": "integer"
  29319. },
  29320. "buyorsell": {
  29321. "description": "方向 - 0:买 1:卖",
  29322. "type": "integer"
  29323. },
  29324. "freezeqty": {
  29325. "description": "冻结数量 - 按单平使用",
  29326. "type": "integer"
  29327. },
  29328. "goodsid": {
  29329. "description": "商品ID",
  29330. "type": "integer"
  29331. },
  29332. "holderamount": {
  29333. "description": "持仓金额 [商品币种]",
  29334. "type": "number"
  29335. },
  29336. "holderdays": {
  29337. "description": "剩余冻结天数",
  29338. "type": "integer"
  29339. },
  29340. "holderprice": {
  29341. "description": "持仓价格",
  29342. "type": "number"
  29343. },
  29344. "holderqty": {
  29345. "description": "持仓数量",
  29346. "type": "integer"
  29347. },
  29348. "marketid": {
  29349. "description": "市场ID",
  29350. "type": "integer"
  29351. },
  29352. "openprice": {
  29353. "description": "建仓价格",
  29354. "type": "number"
  29355. },
  29356. "openqty": {
  29357. "description": "建仓数量",
  29358. "type": "integer"
  29359. },
  29360. "parentaccountid": {
  29361. "description": "所属母账户",
  29362. "type": "integer"
  29363. },
  29364. "releaseamount": {
  29365. "description": "释放持仓金额[商品币种]",
  29366. "type": "number"
  29367. },
  29368. "tradeamount": {
  29369. "description": "成交金额[账户]",
  29370. "type": "number"
  29371. },
  29372. "tradedate": {
  29373. "description": "交易日(yyyyMMdd)",
  29374. "type": "string"
  29375. },
  29376. "tradeid": {
  29377. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29378. "type": "string"
  29379. },
  29380. "tradetime": {
  29381. "description": "交易时间",
  29382. "type": "string"
  29383. }
  29384. }
  29385. },
  29386. "models.Hedgemarketopenlog": {
  29387. "type": "object",
  29388. "required": [
  29389. "accountid"
  29390. ],
  29391. "properties": {
  29392. "accountid": {
  29393. "description": "资金账号[外部母账户]",
  29394. "type": "integer"
  29395. },
  29396. "fcname": {
  29397. "description": "期货公司名称",
  29398. "type": "string"
  29399. },
  29400. "handlestatus": {
  29401. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  29402. "type": "integer"
  29403. },
  29404. "marketid": {
  29405. "description": "市场ID",
  29406. "type": "integer"
  29407. },
  29408. "status": {
  29409. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  29410. "type": "integer"
  29411. },
  29412. "tradedate": {
  29413. "description": "交易日(yyyyMMdd)",
  29414. "type": "string"
  29415. },
  29416. "updatetime": {
  29417. "description": "更新时间",
  29418. "type": "string"
  29419. }
  29420. }
  29421. },
  29422. "models.HsbyBuyMyPayOrder": {
  29423. "type": "object",
  29424. "required": [
  29425. "goodscode",
  29426. "goodsname",
  29427. "tradeid",
  29428. "trademode"
  29429. ],
  29430. "properties": {
  29431. "agreeunit": {
  29432. "description": "合约单位",
  29433. "type": "number"
  29434. },
  29435. "buyaccountid": {
  29436. "description": "买方账号ID[报价币种]",
  29437. "type": "integer"
  29438. },
  29439. "buyorderid": {
  29440. "description": "买方委托单号",
  29441. "type": "string"
  29442. },
  29443. "createtime": {
  29444. "description": "创建时间",
  29445. "type": "string"
  29446. },
  29447. "currencysign": {
  29448. "description": "货币符号",
  29449. "type": "string"
  29450. },
  29451. "decimalplace": {
  29452. "description": "报价小数位",
  29453. "type": "integer"
  29454. },
  29455. "goodscode": {
  29456. "description": "商品代码(内部)",
  29457. "type": "string"
  29458. },
  29459. "goodsid": {
  29460. "description": "商品ID",
  29461. "type": "integer"
  29462. },
  29463. "goodsname": {
  29464. "description": "商品名称",
  29465. "type": "string"
  29466. },
  29467. "marketid": {
  29468. "description": "市场ID",
  29469. "type": "integer"
  29470. },
  29471. "offamount": {
  29472. "description": "优惠金额",
  29473. "type": "number"
  29474. },
  29475. "originalamount": {
  29476. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  29477. "type": "number"
  29478. },
  29479. "payamount": {
  29480. "description": "支付金额 = TradeAmount + TradeCharge",
  29481. "type": "number"
  29482. },
  29483. "payflag": {
  29484. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  29485. "type": "integer"
  29486. },
  29487. "paylimitedtime": {
  29488. "description": "支付期限",
  29489. "type": "string"
  29490. },
  29491. "paytime": {
  29492. "description": "付款时间",
  29493. "type": "string"
  29494. },
  29495. "picurls1": {
  29496. "description": "预售商品介绍图片[多张用逗号分隔]",
  29497. "type": "string"
  29498. },
  29499. "picurls2": {
  29500. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  29501. "type": "string"
  29502. },
  29503. "sellaccountid": {
  29504. "description": "卖方账号ID[报价币种]",
  29505. "type": "integer"
  29506. },
  29507. "sellorderid": {
  29508. "description": "卖方委托单号",
  29509. "type": "string"
  29510. },
  29511. "tradeamount": {
  29512. "description": "成交金额",
  29513. "type": "number"
  29514. },
  29515. "tradecharge": {
  29516. "description": "成交手续费(买方)",
  29517. "type": "number"
  29518. },
  29519. "tradedate": {
  29520. "description": "交易日(yyyyMMdd)",
  29521. "type": "string"
  29522. },
  29523. "tradeid": {
  29524. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29525. "type": "string"
  29526. },
  29527. "trademode": {
  29528. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29529. "type": "integer"
  29530. },
  29531. "tradeprice": {
  29532. "description": "成交价格",
  29533. "type": "number"
  29534. },
  29535. "tradeqty": {
  29536. "description": "成交数量",
  29537. "type": "integer"
  29538. },
  29539. "vendorname1": {
  29540. "description": "预售商品供应商名称",
  29541. "type": "string"
  29542. },
  29543. "vendorname2": {
  29544. "description": "挂牌商品供应商名称",
  29545. "type": "string"
  29546. }
  29547. }
  29548. },
  29549. "models.HsbyBuyMyTradeDetail": {
  29550. "type": "object",
  29551. "required": [
  29552. "accountid",
  29553. "buyorsell",
  29554. "goodscode",
  29555. "goodsid",
  29556. "goodsname",
  29557. "marketid",
  29558. "orderid",
  29559. "qty",
  29560. "time",
  29561. "trademode"
  29562. ],
  29563. "properties": {
  29564. "accountid": {
  29565. "description": "账户ID[报价币种]",
  29566. "type": "integer"
  29567. },
  29568. "agreeunit": {
  29569. "description": "合约单位",
  29570. "type": "number"
  29571. },
  29572. "amount": {
  29573. "description": "金额 = 价格 * 数量 * 合约单位",
  29574. "type": "number"
  29575. },
  29576. "buyorsell": {
  29577. "description": "买卖 - 0:买 1:卖",
  29578. "type": "integer"
  29579. },
  29580. "currencysign": {
  29581. "description": "货币符号",
  29582. "type": "string"
  29583. },
  29584. "decimalplace": {
  29585. "description": "报价小数位",
  29586. "type": "integer"
  29587. },
  29588. "goodscode": {
  29589. "description": "商品代码(内部)",
  29590. "type": "string"
  29591. },
  29592. "goodsid": {
  29593. "description": "商品ID",
  29594. "type": "integer"
  29595. },
  29596. "goodsname": {
  29597. "description": "商品名称",
  29598. "type": "string"
  29599. },
  29600. "marketid": {
  29601. "description": "市场ID",
  29602. "type": "integer"
  29603. },
  29604. "orderamount": {
  29605. "description": "委托金额",
  29606. "type": "number"
  29607. },
  29608. "orderid": {
  29609. "description": "单号(成交单号)",
  29610. "type": "string"
  29611. },
  29612. "picurls1": {
  29613. "description": "预售商品介绍图片[多张用逗号分隔]",
  29614. "type": "string"
  29615. },
  29616. "picurls2": {
  29617. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  29618. "type": "string"
  29619. },
  29620. "price": {
  29621. "description": "价格",
  29622. "type": "number"
  29623. },
  29624. "qty": {
  29625. "description": "数量",
  29626. "type": "integer"
  29627. },
  29628. "time": {
  29629. "description": "时间",
  29630. "type": "string"
  29631. },
  29632. "trademode": {
  29633. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29634. "type": "integer"
  29635. },
  29636. "vendorname1": {
  29637. "description": "预售商品供应商名称",
  29638. "type": "string"
  29639. },
  29640. "vendorname2": {
  29641. "description": "挂牌商品供应商名称",
  29642. "type": "string"
  29643. }
  29644. }
  29645. },
  29646. "models.HsbyGoodsOrderDetail": {
  29647. "type": "object",
  29648. "required": [
  29649. "buyorsell",
  29650. "orderid",
  29651. "ordertime"
  29652. ],
  29653. "properties": {
  29654. "buyorsell": {
  29655. "description": "买卖 - 0:买 1:卖",
  29656. "type": "integer"
  29657. },
  29658. "currencysign": {
  29659. "description": "货币符号",
  29660. "type": "string"
  29661. },
  29662. "customername": {
  29663. "description": "客户名称(企业名称),已脱敏",
  29664. "type": "string"
  29665. },
  29666. "enableqty": {
  29667. "description": "可用数量",
  29668. "type": "integer"
  29669. },
  29670. "goodunit": {
  29671. "description": "报价单位",
  29672. "type": "string"
  29673. },
  29674. "orderid": {
  29675. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29676. "type": "string"
  29677. },
  29678. "orderprice": {
  29679. "description": "委托价格",
  29680. "type": "number"
  29681. },
  29682. "ordertime": {
  29683. "description": "委托时间",
  29684. "type": "string"
  29685. }
  29686. }
  29687. },
  29688. "models.HsbyListingGoodsDetail": {
  29689. "type": "object",
  29690. "required": [
  29691. "goodscode",
  29692. "goodsid",
  29693. "goodsname",
  29694. "marketid",
  29695. "trademode"
  29696. ],
  29697. "properties": {
  29698. "agreeunit": {
  29699. "description": "合约单位",
  29700. "type": "number"
  29701. },
  29702. "buymaxqty": {
  29703. "description": "购买上限 [71] - 0为不限",
  29704. "type": "integer"
  29705. },
  29706. "currency": {
  29707. "description": "货币",
  29708. "type": "string"
  29709. },
  29710. "currencysign": {
  29711. "description": "货币符号",
  29712. "type": "string"
  29713. },
  29714. "decimalplace": {
  29715. "description": "报价小数位",
  29716. "type": "integer"
  29717. },
  29718. "desccityid": {
  29719. "description": "目的地(市)ID",
  29720. "type": "integer"
  29721. },
  29722. "descprovinceid": {
  29723. "description": "目的地(省)ID",
  29724. "type": "integer"
  29725. },
  29726. "goodscode": {
  29727. "description": "商品代码(内部)",
  29728. "type": "string"
  29729. },
  29730. "goodsdesc": {
  29731. "description": "商品详情",
  29732. "type": "string"
  29733. },
  29734. "goodsid": {
  29735. "description": "商品ID(自增ID SEQ_GOODS)",
  29736. "type": "integer"
  29737. },
  29738. "goodsname": {
  29739. "description": "商品名称",
  29740. "type": "string"
  29741. },
  29742. "goodsprice": {
  29743. "description": "商品价格",
  29744. "type": "number"
  29745. },
  29746. "hotindex": {
  29747. "description": "景点热度",
  29748. "type": "integer"
  29749. },
  29750. "last": {
  29751. "description": "现价",
  29752. "type": "number"
  29753. },
  29754. "limitdown": {
  29755. "description": "跌停价",
  29756. "type": "number"
  29757. },
  29758. "limitup": {
  29759. "description": "涨停价",
  29760. "type": "number"
  29761. },
  29762. "lotsize": {
  29763. "description": "手数最小变动单位",
  29764. "type": "integer"
  29765. },
  29766. "marketid": {
  29767. "description": "所属市场ID",
  29768. "type": "integer"
  29769. },
  29770. "picurls": {
  29771. "description": "介绍图片[多张用逗号分隔]",
  29772. "type": "string"
  29773. },
  29774. "quoteminunit": {
  29775. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29776. "type": "integer"
  29777. },
  29778. "stepvalue": {
  29779. "description": "价格最小变动单位",
  29780. "type": "number"
  29781. },
  29782. "trademode": {
  29783. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29784. "type": "integer"
  29785. },
  29786. "vendorattr": {
  29787. "description": "供应商附件(多张,逗号分隔)",
  29788. "type": "string"
  29789. },
  29790. "vendorname": {
  29791. "description": "供应商名称",
  29792. "type": "string"
  29793. },
  29794. "vendorphone": {
  29795. "description": "供应商客服电话",
  29796. "type": "string"
  29797. },
  29798. "videourls": {
  29799. "description": "介绍视频[多张用逗号分隔]",
  29800. "type": "string"
  29801. }
  29802. }
  29803. },
  29804. "models.HsbyMarketGoods": {
  29805. "type": "object",
  29806. "required": [
  29807. "accountid",
  29808. "buyorsell",
  29809. "goodscode",
  29810. "goodsid",
  29811. "goodsname",
  29812. "marketid",
  29813. "orderid",
  29814. "trademode"
  29815. ],
  29816. "properties": {
  29817. "accountid": {
  29818. "description": "账户ID[报价币种]",
  29819. "type": "integer"
  29820. },
  29821. "agreeunit": {
  29822. "description": "合约单位",
  29823. "type": "number"
  29824. },
  29825. "buyorsell": {
  29826. "description": "买卖 - 0:买 1:卖",
  29827. "type": "integer"
  29828. },
  29829. "categoryid": {
  29830. "description": "类别ID(WRCATEGORY)",
  29831. "type": "integer"
  29832. },
  29833. "currency": {
  29834. "description": "货币",
  29835. "type": "string"
  29836. },
  29837. "currencysign": {
  29838. "description": "货币符号",
  29839. "type": "string"
  29840. },
  29841. "customername": {
  29842. "description": "卖家名称",
  29843. "type": "string"
  29844. },
  29845. "decimalplace": {
  29846. "description": "报价小数位",
  29847. "type": "integer"
  29848. },
  29849. "goodscode": {
  29850. "description": "商品代码(内部)",
  29851. "type": "string"
  29852. },
  29853. "goodsid": {
  29854. "description": "商品ID",
  29855. "type": "integer"
  29856. },
  29857. "goodsname": {
  29858. "description": "商品名称",
  29859. "type": "string"
  29860. },
  29861. "goodsprice": {
  29862. "description": "商品价格",
  29863. "type": "number"
  29864. },
  29865. "hascoupon": {
  29866. "description": "是否可用优惠卷",
  29867. "type": "boolean"
  29868. },
  29869. "hotindex": {
  29870. "description": "景点热度",
  29871. "type": "integer"
  29872. },
  29873. "marketid": {
  29874. "description": "市场ID",
  29875. "type": "integer"
  29876. },
  29877. "orderid": {
  29878. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29879. "type": "string"
  29880. },
  29881. "orderprice": {
  29882. "description": "委托价格",
  29883. "type": "number"
  29884. },
  29885. "orderstatus": {
  29886. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  29887. "type": "integer"
  29888. },
  29889. "picurls": {
  29890. "description": "介绍图片[多张用逗号分隔]",
  29891. "type": "string"
  29892. },
  29893. "quoteminunit": {
  29894. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29895. "type": "integer"
  29896. },
  29897. "sellUserID": {
  29898. "description": "卖方UserID",
  29899. "type": "integer"
  29900. },
  29901. "trademode": {
  29902. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29903. "type": "integer"
  29904. },
  29905. "videourls": {
  29906. "description": "介绍视频[多张用逗号分隔]",
  29907. "type": "string"
  29908. }
  29909. }
  29910. },
  29911. "models.HsbyMarketGoodsDetail": {
  29912. "type": "object",
  29913. "required": [
  29914. "accountid",
  29915. "buyorsell",
  29916. "goodscode",
  29917. "goodsid",
  29918. "goodsname",
  29919. "marketid",
  29920. "orderid",
  29921. "orderqty",
  29922. "trademode"
  29923. ],
  29924. "properties": {
  29925. "accountid": {
  29926. "description": "账户ID[报价币种]",
  29927. "type": "integer"
  29928. },
  29929. "agreeunit": {
  29930. "description": "合约单位",
  29931. "type": "number"
  29932. },
  29933. "buymaxqty": {
  29934. "description": "购买上限 [71] - 0为不限",
  29935. "type": "integer"
  29936. },
  29937. "buyorsell": {
  29938. "description": "买卖 - 0:买 1:卖",
  29939. "type": "integer"
  29940. },
  29941. "cancelqty": {
  29942. "description": "撤单数量",
  29943. "type": "integer"
  29944. },
  29945. "categoryid": {
  29946. "description": "类别ID(WRCATEGORY)",
  29947. "type": "integer"
  29948. },
  29949. "currency": {
  29950. "description": "货币",
  29951. "type": "string"
  29952. },
  29953. "currencysign": {
  29954. "description": "货币符号",
  29955. "type": "string"
  29956. },
  29957. "customername": {
  29958. "description": "卖家名称",
  29959. "type": "string"
  29960. },
  29961. "decimalplace": {
  29962. "description": "报价小数位",
  29963. "type": "integer"
  29964. },
  29965. "goodscode": {
  29966. "description": "商品代码(内部)",
  29967. "type": "string"
  29968. },
  29969. "goodsdesc": {
  29970. "description": "商品详情",
  29971. "type": "string"
  29972. },
  29973. "goodsid": {
  29974. "description": "商品ID",
  29975. "type": "integer"
  29976. },
  29977. "goodsname": {
  29978. "description": "商品名称",
  29979. "type": "string"
  29980. },
  29981. "goodsprice": {
  29982. "description": "商品价格",
  29983. "type": "number"
  29984. },
  29985. "hotindex": {
  29986. "description": "景点热度",
  29987. "type": "integer"
  29988. },
  29989. "lotsize": {
  29990. "description": "手数最小变动单位",
  29991. "type": "integer"
  29992. },
  29993. "marketid": {
  29994. "description": "市场ID",
  29995. "type": "integer"
  29996. },
  29997. "orderid": {
  29998. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29999. "type": "string"
  30000. },
  30001. "orderprice": {
  30002. "description": "委托价格",
  30003. "type": "number"
  30004. },
  30005. "orderqty": {
  30006. "description": "委托数量",
  30007. "type": "integer"
  30008. },
  30009. "orderstatus": {
  30010. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  30011. "type": "integer"
  30012. },
  30013. "picurls": {
  30014. "description": "介绍图片[多张用逗号分隔]",
  30015. "type": "string"
  30016. },
  30017. "quoteminunit": {
  30018. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30019. "type": "integer"
  30020. },
  30021. "sellUserID": {
  30022. "description": "卖方UserID",
  30023. "type": "integer"
  30024. },
  30025. "trademode": {
  30026. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30027. "type": "integer"
  30028. },
  30029. "tradeqty": {
  30030. "description": "成交数量",
  30031. "type": "integer"
  30032. },
  30033. "vendorattr": {
  30034. "description": "供应商附件(多张,逗号分隔)",
  30035. "type": "string"
  30036. },
  30037. "vendorname": {
  30038. "description": "供应商名称",
  30039. "type": "string"
  30040. },
  30041. "vendorphone": {
  30042. "description": "供应商客服电话",
  30043. "type": "string"
  30044. },
  30045. "videourls": {
  30046. "description": "介绍视频[多张用逗号分隔]",
  30047. "type": "string"
  30048. }
  30049. }
  30050. },
  30051. "models.HsbyMarketInfo": {
  30052. "type": "object",
  30053. "required": [
  30054. "marketid",
  30055. "marketstatus",
  30056. "trademode"
  30057. ],
  30058. "properties": {
  30059. "marketid": {
  30060. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  30061. "type": "integer"
  30062. },
  30063. "marketname": {
  30064. "description": "市场名称",
  30065. "type": "string"
  30066. },
  30067. "marketstatus": {
  30068. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  30069. "type": "integer"
  30070. },
  30071. "trademode": {
  30072. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30073. "type": "integer"
  30074. }
  30075. }
  30076. },
  30077. "models.HsbyMyGoods": {
  30078. "type": "object",
  30079. "required": [
  30080. "accountid",
  30081. "goodscode",
  30082. "goodsid",
  30083. "goodsname",
  30084. "marketid",
  30085. "trademode"
  30086. ],
  30087. "properties": {
  30088. "accountid": {
  30089. "description": "账号Id",
  30090. "type": "integer"
  30091. },
  30092. "agreeunit": {
  30093. "description": "合约单位",
  30094. "type": "number"
  30095. },
  30096. "buyaverageprice": {
  30097. "description": "持仓均价",
  30098. "type": "number"
  30099. },
  30100. "buycurholderamount": {
  30101. "description": "买当前持仓总金额[商品币种]",
  30102. "type": "number"
  30103. },
  30104. "buycurpositionqty": {
  30105. "description": "买当前持仓总数量",
  30106. "type": "integer"
  30107. },
  30108. "buymaxqty": {
  30109. "description": "购买上限 [71] - 0为不限",
  30110. "type": "integer"
  30111. },
  30112. "currencysign": {
  30113. "description": "货币符号",
  30114. "type": "string"
  30115. },
  30116. "decimalplace": {
  30117. "description": "报价小数位",
  30118. "type": "integer"
  30119. },
  30120. "enableqty": {
  30121. "description": "可用数量",
  30122. "type": "integer"
  30123. },
  30124. "goodscode": {
  30125. "description": "商品代码(内部)",
  30126. "type": "string"
  30127. },
  30128. "goodsid": {
  30129. "description": "商品Id",
  30130. "type": "integer"
  30131. },
  30132. "goodsname": {
  30133. "description": "商品名称",
  30134. "type": "string"
  30135. },
  30136. "goodsprice": {
  30137. "description": "商品价格",
  30138. "type": "number"
  30139. },
  30140. "goodsstatus": {
  30141. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  30142. "type": "integer"
  30143. },
  30144. "last": {
  30145. "description": "现价(仅使用于挂牌点选)",
  30146. "type": "number"
  30147. },
  30148. "limitdown": {
  30149. "description": "跌停价(仅使用于挂牌点选)",
  30150. "type": "number"
  30151. },
  30152. "limitup": {
  30153. "description": "涨停价(仅使用于挂牌点选)",
  30154. "type": "number"
  30155. },
  30156. "lotsize": {
  30157. "description": "手数最小变动单位",
  30158. "type": "integer"
  30159. },
  30160. "marketid": {
  30161. "description": "所属市场ID",
  30162. "type": "integer"
  30163. },
  30164. "picurls": {
  30165. "description": "介绍图片[多张用逗号分隔]",
  30166. "type": "string"
  30167. },
  30168. "quoteminunit": {
  30169. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30170. "type": "integer"
  30171. },
  30172. "stepvalue": {
  30173. "description": "价格最小变动单位",
  30174. "type": "number"
  30175. },
  30176. "trademode": {
  30177. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30178. "type": "integer"
  30179. }
  30180. }
  30181. },
  30182. "models.HsbyMyPackage": {
  30183. "type": "object",
  30184. "required": [
  30185. "goodscode",
  30186. "goodsname",
  30187. "takeorderid",
  30188. "trademode"
  30189. ],
  30190. "properties": {
  30191. "accountid": {
  30192. "description": "账户ID",
  30193. "type": "integer"
  30194. },
  30195. "address": {
  30196. "description": "提货人详细地址",
  30197. "type": "string"
  30198. },
  30199. "agreeunit": {
  30200. "description": "合约单位",
  30201. "type": "number"
  30202. },
  30203. "amount": {
  30204. "description": "提货金额",
  30205. "type": "number"
  30206. },
  30207. "auditer": {
  30208. "description": "审核人",
  30209. "type": "integer"
  30210. },
  30211. "audittime": {
  30212. "description": "审核时间",
  30213. "type": "string"
  30214. },
  30215. "averageprice": {
  30216. "description": "均价",
  30217. "type": "number"
  30218. },
  30219. "cardnum": {
  30220. "description": "提货人证件号码",
  30221. "type": "string"
  30222. },
  30223. "cardtypeid": {
  30224. "description": "提货人证件类型",
  30225. "type": "integer"
  30226. },
  30227. "checkremark": {
  30228. "description": "审核备注",
  30229. "type": "string"
  30230. },
  30231. "currencysign": {
  30232. "description": "货币符号",
  30233. "type": "string"
  30234. },
  30235. "decimalplace": {
  30236. "description": "报价小数位",
  30237. "type": "integer"
  30238. },
  30239. "goodscode": {
  30240. "description": "商品代码(内部)",
  30241. "type": "string"
  30242. },
  30243. "goodsid": {
  30244. "description": "商品ID",
  30245. "type": "integer"
  30246. },
  30247. "goodsname": {
  30248. "description": "商品名称",
  30249. "type": "string"
  30250. },
  30251. "handlestatus": {
  30252. "description": "处理状态",
  30253. "type": "integer"
  30254. },
  30255. "marketid": {
  30256. "description": "市场ID",
  30257. "type": "integer"
  30258. },
  30259. "phonenum": {
  30260. "description": "提货人联系方式",
  30261. "type": "string"
  30262. },
  30263. "picurls": {
  30264. "description": "介绍图片[多张用逗号分隔]",
  30265. "type": "string"
  30266. },
  30267. "qty": {
  30268. "description": "提货数量",
  30269. "type": "number"
  30270. },
  30271. "recivername": {
  30272. "description": "提货人姓名",
  30273. "type": "string"
  30274. },
  30275. "reqtime": {
  30276. "description": "更新时间",
  30277. "type": "string"
  30278. },
  30279. "takemode": {
  30280. "description": "提货方式 - 2:自提 3:配送",
  30281. "type": "integer"
  30282. },
  30283. "takeorderid": {
  30284. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  30285. "type": "string"
  30286. },
  30287. "takeorderstatus": {
  30288. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  30289. "type": "integer"
  30290. },
  30291. "takeremark": {
  30292. "description": "提货备注",
  30293. "type": "string"
  30294. },
  30295. "tradedate": {
  30296. "description": "交易日(yyyyMMdd)",
  30297. "type": "string"
  30298. },
  30299. "trademode": {
  30300. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30301. "type": "integer"
  30302. },
  30303. "userid": {
  30304. "description": "用户ID",
  30305. "type": "integer"
  30306. },
  30307. "vendorname": {
  30308. "description": "供应商名称",
  30309. "type": "string"
  30310. }
  30311. }
  30312. },
  30313. "models.HsbyPreGoods": {
  30314. "type": "object",
  30315. "required": [
  30316. "goodscode",
  30317. "goodsid",
  30318. "goodsname",
  30319. "marketid",
  30320. "trademode"
  30321. ],
  30322. "properties": {
  30323. "agreeunit": {
  30324. "description": "合约单位",
  30325. "type": "number"
  30326. },
  30327. "currency": {
  30328. "description": "货币",
  30329. "type": "string"
  30330. },
  30331. "currencysign": {
  30332. "description": "货币符号",
  30333. "type": "string"
  30334. },
  30335. "decimalplace": {
  30336. "description": "报价小数位",
  30337. "type": "integer"
  30338. },
  30339. "desccityid": {
  30340. "description": "目的地(市)",
  30341. "type": "integer"
  30342. },
  30343. "descprovinceid": {
  30344. "description": "目的地(省)",
  30345. "type": "integer"
  30346. },
  30347. "enableqty": {
  30348. "description": "剩余数量",
  30349. "type": "integer"
  30350. },
  30351. "goodscode": {
  30352. "description": "商品代码(内部)",
  30353. "type": "string"
  30354. },
  30355. "goodsid": {
  30356. "description": "商品ID(自增ID SEQ_GOODS)",
  30357. "type": "integer"
  30358. },
  30359. "goodsname": {
  30360. "description": "商品名称",
  30361. "type": "string"
  30362. },
  30363. "goodsstatus": {
  30364. "description": "商品状态- 2:未上市 3:上市",
  30365. "type": "integer"
  30366. },
  30367. "lasttradedate": {
  30368. "description": "最后交易日期(状态:待退市)",
  30369. "type": "string"
  30370. },
  30371. "listingdate": {
  30372. "description": "交易开始日期",
  30373. "type": "string"
  30374. },
  30375. "marketid": {
  30376. "description": "所属市场ID",
  30377. "type": "integer"
  30378. },
  30379. "picurls": {
  30380. "description": "介绍图片[多张用逗号分隔]",
  30381. "type": "string"
  30382. },
  30383. "presaledqty": {
  30384. "description": "已预售量(预售结束时更新)",
  30385. "type": "integer"
  30386. },
  30387. "presaleqty": {
  30388. "description": "预售数量",
  30389. "type": "integer"
  30390. },
  30391. "quoteminunit": {
  30392. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30393. "type": "integer"
  30394. },
  30395. "refprice": {
  30396. "description": "参考价格[一口价]",
  30397. "type": "number"
  30398. },
  30399. "relatedgoodsid": {
  30400. "description": "关联交易合约ID",
  30401. "type": "integer"
  30402. },
  30403. "trademode": {
  30404. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30405. "type": "integer"
  30406. },
  30407. "videourls": {
  30408. "description": "介绍视频[多张用逗号分隔]",
  30409. "type": "string"
  30410. }
  30411. }
  30412. },
  30413. "models.HsbyPreGoodsDetail": {
  30414. "type": "object",
  30415. "required": [
  30416. "goodscode",
  30417. "goodsid",
  30418. "goodsname",
  30419. "marketid",
  30420. "trademode"
  30421. ],
  30422. "properties": {
  30423. "agreeunit": {
  30424. "description": "合约单位",
  30425. "type": "number"
  30426. },
  30427. "buymaxqty": {
  30428. "description": "购买上限 [71] - 0为不限",
  30429. "type": "integer"
  30430. },
  30431. "currency": {
  30432. "description": "货币",
  30433. "type": "string"
  30434. },
  30435. "currencysign": {
  30436. "description": "货币符号",
  30437. "type": "string"
  30438. },
  30439. "customername": {
  30440. "description": "发行单位",
  30441. "type": "string"
  30442. },
  30443. "decimalplace": {
  30444. "description": "报价小数位",
  30445. "type": "integer"
  30446. },
  30447. "desccityid": {
  30448. "description": "目的地(市)ID",
  30449. "type": "integer"
  30450. },
  30451. "descprovinceid": {
  30452. "description": "目的地(省)ID",
  30453. "type": "integer"
  30454. },
  30455. "enableqty": {
  30456. "description": "剩余数量",
  30457. "type": "integer"
  30458. },
  30459. "goodscode": {
  30460. "description": "商品代码(内部)",
  30461. "type": "string"
  30462. },
  30463. "goodsdesc": {
  30464. "description": "商品详情",
  30465. "type": "string"
  30466. },
  30467. "goodsid": {
  30468. "description": "商品ID(自增ID SEQ_GOODS)",
  30469. "type": "integer"
  30470. },
  30471. "goodsname": {
  30472. "description": "商品名称",
  30473. "type": "string"
  30474. },
  30475. "goodsstatus": {
  30476. "description": "商品状态- 2:未上市 3:上市",
  30477. "type": "integer"
  30478. },
  30479. "goodunit": {
  30480. "description": "报价单位",
  30481. "type": "string"
  30482. },
  30483. "lasttradedate": {
  30484. "description": "最后交易日期(状态:待退市)",
  30485. "type": "string"
  30486. },
  30487. "listingdate": {
  30488. "description": "交易开始日期",
  30489. "type": "string"
  30490. },
  30491. "lotsize": {
  30492. "description": "手数最小变动单位",
  30493. "type": "integer"
  30494. },
  30495. "marketid": {
  30496. "description": "所属市场ID",
  30497. "type": "integer"
  30498. },
  30499. "picurls": {
  30500. "description": "介绍图片[多张用逗号分隔]",
  30501. "type": "string"
  30502. },
  30503. "presaledqty": {
  30504. "description": "已预售量(预售结束时更新)",
  30505. "type": "integer"
  30506. },
  30507. "presaleqty": {
  30508. "description": "预售数量",
  30509. "type": "integer"
  30510. },
  30511. "quoteminunit": {
  30512. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30513. "type": "integer"
  30514. },
  30515. "refprice": {
  30516. "description": "参考价格[一口价]",
  30517. "type": "number"
  30518. },
  30519. "relatedgoodsid": {
  30520. "description": "关联交易合约ID",
  30521. "type": "integer"
  30522. },
  30523. "stepvalue": {
  30524. "description": "价格最小变动单位",
  30525. "type": "number"
  30526. },
  30527. "trademode": {
  30528. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30529. "type": "integer"
  30530. },
  30531. "vendorattr": {
  30532. "description": "供应商附件(多张,逗号分隔)",
  30533. "type": "string"
  30534. },
  30535. "vendorname": {
  30536. "description": "供应商名称",
  30537. "type": "string"
  30538. },
  30539. "vendorphone": {
  30540. "description": "供应商客服电话",
  30541. "type": "string"
  30542. },
  30543. "videourls": {
  30544. "description": "介绍视频[多张用逗号分隔]",
  30545. "type": "string"
  30546. }
  30547. }
  30548. },
  30549. "models.HsbySellCollectionOrder": {
  30550. "type": "object",
  30551. "required": [
  30552. "goodscode",
  30553. "goodsname",
  30554. "tradeid",
  30555. "trademode"
  30556. ],
  30557. "properties": {
  30558. "agreeunit": {
  30559. "description": "合约单位",
  30560. "type": "number"
  30561. },
  30562. "buyaccountid": {
  30563. "description": "买方账号ID[报价币种]",
  30564. "type": "integer"
  30565. },
  30566. "buyorderid": {
  30567. "description": "买方委托单号",
  30568. "type": "string"
  30569. },
  30570. "createtime": {
  30571. "description": "创建时间",
  30572. "type": "string"
  30573. },
  30574. "currencysign": {
  30575. "description": "货币符号",
  30576. "type": "string"
  30577. },
  30578. "decimalplace": {
  30579. "description": "报价小数位",
  30580. "type": "integer"
  30581. },
  30582. "goodscode": {
  30583. "description": "商品代码(内部)",
  30584. "type": "string"
  30585. },
  30586. "goodsid": {
  30587. "description": "商品ID",
  30588. "type": "integer"
  30589. },
  30590. "goodsname": {
  30591. "description": "商品名称",
  30592. "type": "string"
  30593. },
  30594. "marketid": {
  30595. "description": "市场ID",
  30596. "type": "integer"
  30597. },
  30598. "offamount": {
  30599. "description": "优惠金额",
  30600. "type": "number"
  30601. },
  30602. "payamount": {
  30603. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  30604. "type": "number"
  30605. },
  30606. "payflag": {
  30607. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30608. "type": "integer"
  30609. },
  30610. "paylimitedtime": {
  30611. "description": "支付期限",
  30612. "type": "string"
  30613. },
  30614. "paytime": {
  30615. "description": "付款时间",
  30616. "type": "string"
  30617. },
  30618. "picurls": {
  30619. "description": "商品介绍图片[多张用逗号分隔]",
  30620. "type": "string"
  30621. },
  30622. "sellaccountid": {
  30623. "description": "卖方账号ID[报价币种]",
  30624. "type": "integer"
  30625. },
  30626. "sellorderid": {
  30627. "description": "卖方委托单号",
  30628. "type": "string"
  30629. },
  30630. "tradeamount": {
  30631. "description": "成交金额",
  30632. "type": "number"
  30633. },
  30634. "tradecharge": {
  30635. "description": "成交手续费(买方)",
  30636. "type": "number"
  30637. },
  30638. "tradedate": {
  30639. "description": "交易日(yyyyMMdd)",
  30640. "type": "string"
  30641. },
  30642. "tradeid": {
  30643. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30644. "type": "string"
  30645. },
  30646. "trademode": {
  30647. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30648. "type": "integer"
  30649. },
  30650. "tradeprice": {
  30651. "description": "成交价格",
  30652. "type": "number"
  30653. },
  30654. "tradeqty": {
  30655. "description": "成交数量",
  30656. "type": "integer"
  30657. }
  30658. }
  30659. },
  30660. "models.HsbySellMyDetail": {
  30661. "type": "object",
  30662. "required": [
  30663. "accountid",
  30664. "buyorsell",
  30665. "goodscode",
  30666. "goodsid",
  30667. "goodsname",
  30668. "marketid",
  30669. "orderid",
  30670. "time",
  30671. "trademode"
  30672. ],
  30673. "properties": {
  30674. "accountid": {
  30675. "description": "账户ID[报价币种]",
  30676. "type": "integer"
  30677. },
  30678. "agreeunit": {
  30679. "description": "合约单位",
  30680. "type": "number"
  30681. },
  30682. "buyorsell": {
  30683. "description": "买卖 - 0:买 1:卖",
  30684. "type": "integer"
  30685. },
  30686. "currencysign": {
  30687. "description": "货币符号",
  30688. "type": "string"
  30689. },
  30690. "decimalplace": {
  30691. "description": "报价小数位",
  30692. "type": "integer"
  30693. },
  30694. "goodscode": {
  30695. "description": "商品代码(内部)",
  30696. "type": "string"
  30697. },
  30698. "goodsid": {
  30699. "description": "商品ID",
  30700. "type": "integer"
  30701. },
  30702. "goodsname": {
  30703. "description": "商品名称",
  30704. "type": "string"
  30705. },
  30706. "marketid": {
  30707. "description": "市场ID",
  30708. "type": "integer"
  30709. },
  30710. "orderid": {
  30711. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  30712. "type": "string"
  30713. },
  30714. "ordertype": {
  30715. "description": "单据类型:0 - 发布中, 1 - 已完成",
  30716. "type": "integer"
  30717. },
  30718. "picurls": {
  30719. "description": "介绍图片[多张用逗号分隔]",
  30720. "type": "string"
  30721. },
  30722. "price": {
  30723. "description": "价格",
  30724. "type": "number"
  30725. },
  30726. "qty": {
  30727. "description": "数量",
  30728. "type": "integer"
  30729. },
  30730. "time": {
  30731. "description": "时间",
  30732. "type": "string"
  30733. },
  30734. "trademode": {
  30735. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30736. "type": "integer"
  30737. },
  30738. "vendorname": {
  30739. "description": "供应商名称",
  30740. "type": "string"
  30741. }
  30742. }
  30743. },
  30744. "models.HsbyTopGoods": {
  30745. "type": "object",
  30746. "required": [
  30747. "goodscode",
  30748. "goodsid",
  30749. "goodsname",
  30750. "marketid",
  30751. "trademode"
  30752. ],
  30753. "properties": {
  30754. "agreeunit": {
  30755. "description": "合约单位",
  30756. "type": "number"
  30757. },
  30758. "currency": {
  30759. "description": "货币",
  30760. "type": "string"
  30761. },
  30762. "currencysign": {
  30763. "description": "货币符号",
  30764. "type": "string"
  30765. },
  30766. "decimalplace": {
  30767. "description": "报价小数位",
  30768. "type": "integer"
  30769. },
  30770. "desccityid": {
  30771. "description": "目的地(市)",
  30772. "type": "integer"
  30773. },
  30774. "descprovinceid": {
  30775. "description": "目的地(省)",
  30776. "type": "integer"
  30777. },
  30778. "goodscode": {
  30779. "description": "商品代码(内部)",
  30780. "type": "string"
  30781. },
  30782. "goodsid": {
  30783. "description": "商品ID(自增ID SEQ_GOODS)",
  30784. "type": "integer"
  30785. },
  30786. "goodsname": {
  30787. "description": "商品名称",
  30788. "type": "string"
  30789. },
  30790. "hotindex": {
  30791. "description": "景点热度",
  30792. "type": "integer"
  30793. },
  30794. "last": {
  30795. "description": "现价",
  30796. "type": "number"
  30797. },
  30798. "marketid": {
  30799. "description": "所属市场ID",
  30800. "type": "integer"
  30801. },
  30802. "picurls": {
  30803. "description": "介绍图片[多张用逗号分隔]",
  30804. "type": "string"
  30805. },
  30806. "quoteminunit": {
  30807. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30808. "type": "integer"
  30809. },
  30810. "trademode": {
  30811. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30812. "type": "integer"
  30813. },
  30814. "videourls": {
  30815. "description": "介绍视频[多张用逗号分隔]",
  30816. "type": "string"
  30817. }
  30818. }
  30819. },
  30820. "models.HybsMyBuyOrderDetail": {
  30821. "type": "object",
  30822. "required": [
  30823. "accountid",
  30824. "buyorsell",
  30825. "goodscode",
  30826. "goodsid",
  30827. "goodsname",
  30828. "marketid",
  30829. "orderid",
  30830. "orderqty",
  30831. "ordertime",
  30832. "trademode"
  30833. ],
  30834. "properties": {
  30835. "accountid": {
  30836. "description": "账户ID[报价币种]",
  30837. "type": "integer"
  30838. },
  30839. "agreeunit": {
  30840. "description": "合约单位",
  30841. "type": "number"
  30842. },
  30843. "buyorsell": {
  30844. "description": "买卖 - 0:买 1:卖",
  30845. "type": "integer"
  30846. },
  30847. "cancelqty": {
  30848. "description": "撤单数量",
  30849. "type": "integer"
  30850. },
  30851. "currencysign": {
  30852. "description": "货币符号",
  30853. "type": "string"
  30854. },
  30855. "decimalplace": {
  30856. "description": "报价小数位",
  30857. "type": "integer"
  30858. },
  30859. "goodscode": {
  30860. "description": "商品代码(内部)",
  30861. "type": "string"
  30862. },
  30863. "goodsid": {
  30864. "description": "商品ID",
  30865. "type": "integer"
  30866. },
  30867. "goodsname": {
  30868. "description": "商品名称",
  30869. "type": "string"
  30870. },
  30871. "listingselecttype": {
  30872. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  30873. "type": "integer"
  30874. },
  30875. "marketid": {
  30876. "description": "市场ID",
  30877. "type": "integer"
  30878. },
  30879. "mybuystatus": {
  30880. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  30881. "type": "integer"
  30882. },
  30883. "orderamount": {
  30884. "description": "委托金额",
  30885. "type": "number"
  30886. },
  30887. "orderid": {
  30888. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30889. "type": "string"
  30890. },
  30891. "orderprice": {
  30892. "description": "委托价格",
  30893. "type": "number"
  30894. },
  30895. "orderqty": {
  30896. "description": "委托数量",
  30897. "type": "integer"
  30898. },
  30899. "orderstatus": {
  30900. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  30901. "type": "integer"
  30902. },
  30903. "ordertime": {
  30904. "description": "委托时间",
  30905. "type": "string"
  30906. },
  30907. "picurls1": {
  30908. "description": "预售商品介绍图片[多张用逗号分隔]",
  30909. "type": "string"
  30910. },
  30911. "picurls2": {
  30912. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  30913. "type": "string"
  30914. },
  30915. "trademode": {
  30916. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30917. "type": "integer"
  30918. },
  30919. "tradeqty": {
  30920. "description": "成交数量",
  30921. "type": "integer"
  30922. },
  30923. "vendorname1": {
  30924. "description": "预售商品供应商名称",
  30925. "type": "string"
  30926. },
  30927. "vendorname2": {
  30928. "description": "挂牌商品供应商名称",
  30929. "type": "string"
  30930. }
  30931. }
  30932. },
  30933. "models.InternalEnableTradeDetail": {
  30934. "type": "object",
  30935. "required": [
  30936. "areauserid",
  30937. "goodsid",
  30938. "tradeuserid"
  30939. ],
  30940. "properties": {
  30941. "agreeunit": {
  30942. "description": "合约乘数",
  30943. "type": "number"
  30944. },
  30945. "areauserid": {
  30946. "description": "企业ID",
  30947. "type": "integer"
  30948. },
  30949. "convertratio": {
  30950. "description": "品种系数",
  30951. "type": "number"
  30952. },
  30953. "deliverygoodscode": {
  30954. "description": "现货品种代码",
  30955. "type": "string"
  30956. },
  30957. "deliverygoodsid": {
  30958. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  30959. "type": "integer"
  30960. },
  30961. "deliverygoodsname": {
  30962. "description": "现货品种名称",
  30963. "type": "string"
  30964. },
  30965. "futurehedgeqty": {
  30966. "description": "[已关联数量]期货持仓套期量",
  30967. "type": "number"
  30968. },
  30969. "goodsid": {
  30970. "description": "期货合约ID",
  30971. "type": "integer"
  30972. },
  30973. "hedgeditemid": {
  30974. "description": "被套期项目ID",
  30975. "type": "string"
  30976. },
  30977. "hedgeditemnum": {
  30978. "description": "项目编号",
  30979. "type": "string"
  30980. },
  30981. "tradeuserid": {
  30982. "description": "交易用户ID",
  30983. "type": "integer"
  30984. },
  30985. "unexehedgeqty": {
  30986. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  30987. "type": "number"
  30988. },
  30989. "unexespotqty": {
  30990. "description": "未执行现货量",
  30991. "type": "number"
  30992. },
  30993. "wrstandardcode": {
  30994. "description": "现货品类代码",
  30995. "type": "string"
  30996. },
  30997. "wrstandardid": {
  30998. "description": "现货品类ID(SEQ_WRSTANDARD)",
  30999. "type": "integer"
  31000. },
  31001. "wrstandardname": {
  31002. "description": "现货品类名称",
  31003. "type": "string"
  31004. }
  31005. }
  31006. },
  31007. "models.InternalUncorrelatedTradeDetail": {
  31008. "type": "object",
  31009. "properties": {
  31010. "accountid": {
  31011. "description": "账号ID",
  31012. "type": "integer"
  31013. },
  31014. "accountname": {
  31015. "description": "套期主体",
  31016. "type": "string"
  31017. },
  31018. "agreeunit": {
  31019. "description": "合约乘数",
  31020. "type": "number"
  31021. },
  31022. "areauserid": {
  31023. "description": "所属机构",
  31024. "type": "integer"
  31025. },
  31026. "bizsubjectid": {
  31027. "description": "归属业务部门ID - SubjectID",
  31028. "type": "integer"
  31029. },
  31030. "buyorsell": {
  31031. "description": "方向 - 0:买 1:卖",
  31032. "type": "integer"
  31033. },
  31034. "channelbuildtype": {
  31035. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  31036. "type": "integer"
  31037. },
  31038. "convertratio": {
  31039. "description": "品种系数",
  31040. "type": "number"
  31041. },
  31042. "createtime": {
  31043. "description": "创建时间",
  31044. "type": "string"
  31045. },
  31046. "creatorid": {
  31047. "description": "创建人ID",
  31048. "type": "integer"
  31049. },
  31050. "creatorsrc": {
  31051. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  31052. "type": "integer"
  31053. },
  31054. "enableqty": {
  31055. "description": "项目可关联数量 = 套保品种数量 - 关联数量",
  31056. "type": "number"
  31057. },
  31058. "enumdicname": {
  31059. "description": "单位",
  31060. "type": "string"
  31061. },
  31062. "goodscode": {
  31063. "description": "合约代码",
  31064. "type": "string"
  31065. },
  31066. "goodsgroupid": {
  31067. "description": "对冲品种ID[期货合约商品组ID]",
  31068. "type": "integer"
  31069. },
  31070. "goodsid": {
  31071. "description": "商品ID",
  31072. "type": "integer"
  31073. },
  31074. "goodsname": {
  31075. "description": "合约名称",
  31076. "type": "string"
  31077. },
  31078. "hedgeditemid": {
  31079. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  31080. "type": "integer"
  31081. },
  31082. "hedgeflag": {
  31083. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  31084. "type": "integer"
  31085. },
  31086. "linkdetailid": {
  31087. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  31088. "type": "string"
  31089. },
  31090. "linkstatus": {
  31091. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  31092. "type": "integer"
  31093. },
  31094. "middlegoodsid": {
  31095. "description": "套保品种ID",
  31096. "type": "integer"
  31097. },
  31098. "middlegoodsqty": {
  31099. "description": "[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  31100. "type": "number"
  31101. },
  31102. "relatedlot": {
  31103. "description": "[数量]关联手数",
  31104. "type": "number"
  31105. },
  31106. "relatedmode": {
  31107. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  31108. "type": "integer"
  31109. },
  31110. "relatedqty": {
  31111. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  31112. "type": "number"
  31113. },
  31114. "retcode": {
  31115. "description": "返回码",
  31116. "type": "integer"
  31117. },
  31118. "saleuserid": {
  31119. "description": "业务员ID",
  31120. "type": "integer"
  31121. },
  31122. "tradedate": {
  31123. "description": "关联交易日(yyyyMMdd)",
  31124. "type": "string"
  31125. },
  31126. "tradeid": {
  31127. "description": "成交单号",
  31128. "type": "string"
  31129. },
  31130. "tradelot": {
  31131. "description": "成交手数",
  31132. "type": "integer"
  31133. },
  31134. "tradeprice": {
  31135. "description": "成交价",
  31136. "type": "number"
  31137. },
  31138. "tradetime": {
  31139. "description": "成交时间",
  31140. "type": "string"
  31141. },
  31142. "tradetradedate": {
  31143. "description": "成交交易日(yyyyMMdd)",
  31144. "type": "string"
  31145. },
  31146. "tradeuserid": {
  31147. "description": "交易用户ID",
  31148. "type": "integer"
  31149. }
  31150. }
  31151. },
  31152. "models.Loginaccount": {
  31153. "type": "object",
  31154. "required": [
  31155. "loginid"
  31156. ],
  31157. "properties": {
  31158. "accountname": {
  31159. "description": "账户名称",
  31160. "type": "string"
  31161. },
  31162. "canoutin": {
  31163. "description": "是否可出入金 - 0:不可 1:可",
  31164. "type": "integer"
  31165. },
  31166. "clientroleid": {
  31167. "description": "终端角色ID",
  31168. "type": "integer"
  31169. },
  31170. "haslogined": {
  31171. "description": "是否已登录 - 0:未登录 1:已登录",
  31172. "type": "integer"
  31173. },
  31174. "hasupdatedpwd": {
  31175. "description": "是否已更改密码 - 0:未修改 1:已修改",
  31176. "type": "integer"
  31177. },
  31178. "lastloginip": {
  31179. "description": "最新登录地址",
  31180. "type": "string"
  31181. },
  31182. "lastloginmode": {
  31183. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  31184. "type": "integer"
  31185. },
  31186. "lastloginremark": {
  31187. "description": "最新登录描述",
  31188. "type": "string"
  31189. },
  31190. "lastlogintime": {
  31191. "description": "最新登录时间",
  31192. "type": "string"
  31193. },
  31194. "logincode": {
  31195. "description": "登录代码",
  31196. "type": "string"
  31197. },
  31198. "loginfailnum": {
  31199. "description": "连续登录失败次数(登录成功时清零)",
  31200. "type": "integer"
  31201. },
  31202. "loginid": {
  31203. "description": "登陆账号",
  31204. "type": "integer"
  31205. },
  31206. "loginport": {
  31207. "description": "最新登录端口",
  31208. "type": "integer"
  31209. },
  31210. "loginstatus": {
  31211. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  31212. "type": "integer"
  31213. },
  31214. "loginusertype": {
  31215. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  31216. "type": "integer"
  31217. },
  31218. "mobile": {
  31219. "description": "手机号码(加密存储)",
  31220. "type": "string"
  31221. },
  31222. "modifierid": {
  31223. "description": "修改人",
  31224. "type": "integer"
  31225. },
  31226. "modifysrc": {
  31227. "description": "审核来源 - 1:管理端 2:终端",
  31228. "type": "integer"
  31229. },
  31230. "modifytime": {
  31231. "description": "修改时间",
  31232. "type": "string"
  31233. },
  31234. "password": {
  31235. "description": "登陆密码",
  31236. "type": "string"
  31237. },
  31238. "pwdwrongcount": {
  31239. "description": "密码错误次数",
  31240. "type": "integer"
  31241. },
  31242. "relateduserid": {
  31243. "description": "关联用户ID(机构)",
  31244. "type": "integer"
  31245. },
  31246. "taaccountrighttype": {
  31247. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  31248. "type": "integer"
  31249. },
  31250. "unfreezetime": {
  31251. "description": "账户解冻时间",
  31252. "type": "string"
  31253. },
  31254. "userid": {
  31255. "description": "用户ID",
  31256. "type": "integer"
  31257. }
  31258. }
  31259. },
  31260. "models.MainAccountInfo": {
  31261. "type": "object",
  31262. "properties": {
  31263. "accountid": {
  31264. "description": "账号id",
  31265. "type": "integer"
  31266. },
  31267. "accountname": {
  31268. "description": "账号名称(taaccount表中的名称)",
  31269. "type": "string"
  31270. },
  31271. "appid": {
  31272. "description": "AppID",
  31273. "type": "string"
  31274. },
  31275. "authcode": {
  31276. "description": "授权码",
  31277. "type": "string"
  31278. },
  31279. "brokerid": {
  31280. "description": "经纪商id",
  31281. "type": "string"
  31282. },
  31283. "fcid": {
  31284. "description": "期货公司id",
  31285. "type": "integer"
  31286. },
  31287. "fcname": {
  31288. "description": "期货公司代码",
  31289. "type": "string"
  31290. },
  31291. "hedgeaccountcode": {
  31292. "description": "外部账号代码(主账号登录代码)",
  31293. "type": "string"
  31294. },
  31295. "hedgeaccountpwd": {
  31296. "description": "密码",
  31297. "type": "string"
  31298. },
  31299. "ismain": {
  31300. "description": "是否主账号",
  31301. "type": "integer"
  31302. },
  31303. "relateduserid": {
  31304. "description": "关联用户id",
  31305. "type": "integer"
  31306. },
  31307. "userid": {
  31308. "description": "关联用户id",
  31309. "type": "integer"
  31310. }
  31311. }
  31312. },
  31313. "models.Market": {
  31314. "type": "object",
  31315. "required": [
  31316. "marketid",
  31317. "marketstatus",
  31318. "openmethod",
  31319. "reckonpricealgorithm",
  31320. "trademode",
  31321. "tradeproperty"
  31322. ],
  31323. "properties": {
  31324. "auctionwrtype": {
  31325. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  31326. "type": "integer"
  31327. },
  31328. "canacceptquote": {
  31329. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  31330. "type": "integer"
  31331. },
  31332. "cangoodsexercise": {
  31333. "description": "[期权]是否可现货行权- 0:否 1:是",
  31334. "type": "integer"
  31335. },
  31336. "cangoodsexercisetype": {
  31337. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  31338. "type": "integer"
  31339. },
  31340. "canmanualquotestrike": {
  31341. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  31342. "type": "integer"
  31343. },
  31344. "canmutistage": {
  31345. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  31346. "type": "integer"
  31347. },
  31348. "canpreexercise": {
  31349. "description": "[期权]是否可预申报- 0:否 1:是",
  31350. "type": "integer"
  31351. },
  31352. "clearinterval": {
  31353. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  31354. "type": "integer"
  31355. },
  31356. "contracttmp": {
  31357. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  31358. "type": "string"
  31359. },
  31360. "exchareaid": {
  31361. "description": "所属交易所,可以没有",
  31362. "type": "integer"
  31363. },
  31364. "goodstype": {
  31365. "description": "商品类型 - 1:交易商品 2:仓单商品",
  31366. "type": "integer"
  31367. },
  31368. "hasrebate": {
  31369. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  31370. "type": "integer"
  31371. },
  31372. "hastradecredit": {
  31373. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  31374. "type": "integer"
  31375. },
  31376. "haswr": {
  31377. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  31378. "type": "integer"
  31379. },
  31380. "isdeductmargin": {
  31381. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  31382. "type": "integer"
  31383. },
  31384. "isrecordsource": {
  31385. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  31386. "type": "integer"
  31387. },
  31388. "isreleasemargin": {
  31389. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  31390. "type": "integer"
  31391. },
  31392. "marginformula": {
  31393. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  31394. "type": "integer"
  31395. },
  31396. "marginformula2": {
  31397. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  31398. "type": "integer"
  31399. },
  31400. "marketid": {
  31401. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  31402. "type": "integer"
  31403. },
  31404. "marketname": {
  31405. "description": "市场名称",
  31406. "type": "string"
  31407. },
  31408. "marketserviceid": {
  31409. "description": "市场服务ID",
  31410. "type": "integer"
  31411. },
  31412. "marketstatus": {
  31413. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  31414. "type": "integer"
  31415. },
  31416. "markettype": {
  31417. "description": "市场类型- 1:非交易服务 2:交易服务",
  31418. "type": "integer"
  31419. },
  31420. "matchermode": {
  31421. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  31422. "type": "integer"
  31423. },
  31424. "openmethod": {
  31425. "description": "开盘模式 - 0 自动 1手动",
  31426. "type": "integer"
  31427. },
  31428. "otcuserid": {
  31429. "description": "场外期权做市商[场外期权]",
  31430. "type": "integer"
  31431. },
  31432. "outersynctime": {
  31433. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  31434. "type": "string"
  31435. },
  31436. "pendingflag": {
  31437. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  31438. "type": "integer"
  31439. },
  31440. "pendingtime": {
  31441. "description": "待开市时间[通道交易-对冲](HH:mm)",
  31442. "type": "string"
  31443. },
  31444. "performancetempid": {
  31445. "description": "履约计划模板ID - 作废",
  31446. "type": "integer"
  31447. },
  31448. "premiumquotemode": {
  31449. "description": "权利金报价方式 - 1:自动 2:手动",
  31450. "type": "integer"
  31451. },
  31452. "rebateratio": {
  31453. "description": "返利比率[竞价式]",
  31454. "type": "number"
  31455. },
  31456. "reckonorder": {
  31457. "description": "结算顺序",
  31458. "type": "integer"
  31459. },
  31460. "reckonpricealgorithm": {
  31461. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  31462. "type": "integer"
  31463. },
  31464. "reckonpriceparam": {
  31465. "description": "结算价参数",
  31466. "type": "integer"
  31467. },
  31468. "reckontime": {
  31469. "description": "结算时间[通道交易-对冲](HH:mm)",
  31470. "type": "string"
  31471. },
  31472. "roleprioritytype": {
  31473. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  31474. "type": "integer"
  31475. },
  31476. "selllistingauditflag": {
  31477. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  31478. "type": "integer"
  31479. },
  31480. "trademarkettype": {
  31481. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  31482. "type": "integer"
  31483. },
  31484. "trademode": {
  31485. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31486. "type": "integer"
  31487. },
  31488. "tradeproperty": {
  31489. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  31490. "type": "integer"
  31491. },
  31492. "tradetype": {
  31493. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  31494. "type": "integer"
  31495. }
  31496. }
  31497. },
  31498. "models.Marketcalendar": {
  31499. "type": "object",
  31500. "properties": {
  31501. "holidaydate": {
  31502. "description": "节假日期(yyyy-MM-dd)",
  31503. "type": "string"
  31504. },
  31505. "marketid": {
  31506. "description": "市场ID",
  31507. "type": "integer"
  31508. }
  31509. }
  31510. },
  31511. "models.Marketrun": {
  31512. "type": "object",
  31513. "required": [
  31514. "marketid",
  31515. "nexttradedate",
  31516. "reckonflag",
  31517. "runstatus",
  31518. "tradedate",
  31519. "tradedate2"
  31520. ],
  31521. "properties": {
  31522. "afternexttradedate": {
  31523. "description": "下下交易日",
  31524. "type": "string"
  31525. },
  31526. "clearquoteflag": {
  31527. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  31528. "type": "integer"
  31529. },
  31530. "lastreckondate": {
  31531. "description": "最新交易日(结算成功)",
  31532. "type": "string"
  31533. },
  31534. "machinedate": {
  31535. "description": "机器时间",
  31536. "type": "string"
  31537. },
  31538. "manualflag": {
  31539. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  31540. "type": "integer"
  31541. },
  31542. "marketid": {
  31543. "description": "市场ID",
  31544. "type": "integer"
  31545. },
  31546. "nexttradedate": {
  31547. "description": "下一交易日",
  31548. "type": "string"
  31549. },
  31550. "pretradedate": {
  31551. "description": "上一交易日",
  31552. "type": "string"
  31553. },
  31554. "reckonflag": {
  31555. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  31556. "type": "integer"
  31557. },
  31558. "runstatus": {
  31559. "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.今日免清算",
  31560. "type": "integer"
  31561. },
  31562. "sectionid": {
  31563. "description": "时间段号[多时段时用]",
  31564. "type": "integer"
  31565. },
  31566. "tradedate": {
  31567. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  31568. "type": "string"
  31569. },
  31570. "tradedate2": {
  31571. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  31572. "type": "string"
  31573. },
  31574. "updatetime": {
  31575. "description": "更新时间",
  31576. "type": "string"
  31577. }
  31578. }
  31579. },
  31580. "models.Messageboard": {
  31581. "type": "object",
  31582. "required": [
  31583. "messageboardid"
  31584. ],
  31585. "properties": {
  31586. "contactnum": {
  31587. "description": "联系电话",
  31588. "type": "string"
  31589. },
  31590. "createtime": {
  31591. "description": "创建时间",
  31592. "type": "string"
  31593. },
  31594. "message": {
  31595. "description": "留言信息",
  31596. "type": "string"
  31597. },
  31598. "messageboardid": {
  31599. "description": "留言簿ID(SEQ_MessageBoard)",
  31600. "type": "integer"
  31601. },
  31602. "userid": {
  31603. "description": "用户ID",
  31604. "type": "integer"
  31605. }
  31606. }
  31607. },
  31608. "models.MyCoupon": {
  31609. "type": "object",
  31610. "required": [
  31611. "accountid",
  31612. "coupontypeid"
  31613. ],
  31614. "properties": {
  31615. "accountid": {
  31616. "description": "资金账户ID",
  31617. "type": "integer"
  31618. },
  31619. "areauserid": {
  31620. "description": "所属机构",
  31621. "type": "integer"
  31622. },
  31623. "conditionvalue": {
  31624. "description": "条件阈值(可为0)",
  31625. "type": "number"
  31626. },
  31627. "couponcategroy": {
  31628. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  31629. "type": "integer"
  31630. },
  31631. "couponname": {
  31632. "description": "优惠券名称",
  31633. "type": "string"
  31634. },
  31635. "coupontypeid": {
  31636. "description": "优惠券类型ID",
  31637. "type": "string"
  31638. },
  31639. "couponvalue": {
  31640. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  31641. "type": "number"
  31642. },
  31643. "curfreezeqty": {
  31644. "description": "期末冻结数量",
  31645. "type": "integer"
  31646. },
  31647. "curqty": {
  31648. "description": "期末数量",
  31649. "type": "integer"
  31650. },
  31651. "isgeneral": {
  31652. "description": "是否通用券 - 0:否 1:是",
  31653. "type": "integer"
  31654. },
  31655. "isunusable": {
  31656. "description": "是否不可用",
  31657. "type": "boolean"
  31658. },
  31659. "limitedflag": {
  31660. "description": "是否指定商品 - 0:不限 1:限制",
  31661. "type": "integer"
  31662. },
  31663. "limitedgoodsids": {
  31664. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  31665. "type": "string"
  31666. },
  31667. "orifreezeqty": {
  31668. "description": "期初冻结数量",
  31669. "type": "integer"
  31670. },
  31671. "oriqty": {
  31672. "description": "期初数量",
  31673. "type": "integer"
  31674. },
  31675. "reasontype": {
  31676. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  31677. "type": "integer"
  31678. },
  31679. "todaydecrease": {
  31680. "description": "今日减少",
  31681. "type": "integer"
  31682. },
  31683. "todayincrease": {
  31684. "description": "今日增加",
  31685. "type": "integer"
  31686. },
  31687. "userid": {
  31688. "description": "用户ID",
  31689. "type": "integer"
  31690. },
  31691. "userscope": {
  31692. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  31693. "type": "string"
  31694. }
  31695. }
  31696. },
  31697. "models.MyCouponHold": {
  31698. "type": "object",
  31699. "required": [
  31700. "couponholdid"
  31701. ],
  31702. "properties": {
  31703. "accountid": {
  31704. "description": "资金账户ID",
  31705. "type": "integer"
  31706. },
  31707. "conditionvalue": {
  31708. "description": "条件阈值(可为0)",
  31709. "type": "number"
  31710. },
  31711. "couponcategroy": {
  31712. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  31713. "type": "integer"
  31714. },
  31715. "couponholdid": {
  31716. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  31717. "type": "string"
  31718. },
  31719. "couponname": {
  31720. "description": "优惠券名称",
  31721. "type": "string"
  31722. },
  31723. "coupontypeid": {
  31724. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  31725. "type": "string"
  31726. },
  31727. "couponvalue": {
  31728. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  31729. "type": "number"
  31730. },
  31731. "createtime": {
  31732. "description": "创建时间",
  31733. "type": "string"
  31734. },
  31735. "enddate": {
  31736. "description": "结束日期",
  31737. "type": "string"
  31738. },
  31739. "giveapplyid": {
  31740. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  31741. "type": "integer"
  31742. },
  31743. "holdstatus": {
  31744. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  31745. "type": "integer"
  31746. },
  31747. "isgeneral": {
  31748. "description": "是否通用券 - 0:否 1:是",
  31749. "type": "integer"
  31750. },
  31751. "limitedflag": {
  31752. "description": "是否指定商品 - 0:不限 1:限制",
  31753. "type": "integer"
  31754. },
  31755. "limitedgoodsids": {
  31756. "description": "指定商品IDs[逗号分隔]",
  31757. "type": "string"
  31758. },
  31759. "qty": {
  31760. "description": "数量(按1平铺)",
  31761. "type": "integer"
  31762. },
  31763. "startdate": {
  31764. "description": "开始日期",
  31765. "type": "string"
  31766. },
  31767. "userid": {
  31768. "description": "用户ID",
  31769. "type": "integer"
  31770. },
  31771. "userscope": {
  31772. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  31773. "type": "string"
  31774. }
  31775. }
  31776. },
  31777. "models.MyUsedCoupon": {
  31778. "type": "object",
  31779. "required": [
  31780. "coupontypeid",
  31781. "orderid"
  31782. ],
  31783. "properties": {
  31784. "accountid": {
  31785. "description": "资金账户ID(买方)",
  31786. "type": "integer"
  31787. },
  31788. "conditionvalue": {
  31789. "description": "条件阈值(可为0)",
  31790. "type": "number"
  31791. },
  31792. "couponcategroy": {
  31793. "description": "种类 - 1:现金券 2:折扣券",
  31794. "type": "integer"
  31795. },
  31796. "couponname": {
  31797. "description": "优惠券名称",
  31798. "type": "string"
  31799. },
  31800. "coupontypeid": {
  31801. "description": "优惠券类型ID(买方)",
  31802. "type": "string"
  31803. },
  31804. "couponvalue": {
  31805. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  31806. "type": "number"
  31807. },
  31808. "createtime": {
  31809. "description": "创建时间",
  31810. "type": "string"
  31811. },
  31812. "goodsid": {
  31813. "description": "商品ID",
  31814. "type": "integer"
  31815. },
  31816. "handlestatus": {
  31817. "description": "处理状态",
  31818. "type": "integer"
  31819. },
  31820. "marketid": {
  31821. "description": "市场ID",
  31822. "type": "integer"
  31823. },
  31824. "offamount": {
  31825. "description": "优惠金额",
  31826. "type": "number"
  31827. },
  31828. "orderid": {
  31829. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31830. "type": "string"
  31831. },
  31832. "sellaccountid": {
  31833. "description": "资金账户ID(卖方)",
  31834. "type": "integer"
  31835. },
  31836. "tradeamount": {
  31837. "description": "成交金额",
  31838. "type": "number"
  31839. },
  31840. "tradeid": {
  31841. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31842. "type": "string"
  31843. },
  31844. "usedqty": {
  31845. "description": "使用数量",
  31846. "type": "integer"
  31847. }
  31848. }
  31849. },
  31850. "models.NewFuncmenulist": {
  31851. "type": "object",
  31852. "required": [
  31853. "resourcecode"
  31854. ],
  31855. "properties": {
  31856. "authtype": {
  31857. "description": "权限类型 - 1:菜单 2:组件 3:按钮",
  31858. "type": "integer"
  31859. },
  31860. "buttonname": {
  31861. "description": "按钮名称",
  31862. "type": "string"
  31863. },
  31864. "buttontype": {
  31865. "description": "按钮类型 - 存按钮样式",
  31866. "type": "string"
  31867. },
  31868. "component": {
  31869. "description": "组件名或组件地址",
  31870. "type": "string"
  31871. },
  31872. "hidden": {
  31873. "description": "是否隐藏 - 0:显示 1:隐藏",
  31874. "type": "integer"
  31875. },
  31876. "iconame": {
  31877. "description": "菜单图标",
  31878. "type": "string"
  31879. },
  31880. "menutype": {
  31881. "description": "菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  31882. "type": "integer"
  31883. },
  31884. "parentcode": {
  31885. "description": "上级资源代码",
  31886. "type": "string"
  31887. },
  31888. "remark": {
  31889. "description": "Remark",
  31890. "type": "string"
  31891. },
  31892. "resourcecode": {
  31893. "description": "资源代码",
  31894. "type": "string"
  31895. },
  31896. "resourcelevel": {
  31897. "description": "级别1-一级 2-二级 3-三级4-四级",
  31898. "type": "integer"
  31899. },
  31900. "resourcename": {
  31901. "description": "资源名(Title)",
  31902. "type": "string"
  31903. },
  31904. "sort": {
  31905. "description": "排序",
  31906. "type": "integer"
  31907. },
  31908. "url": {
  31909. "description": "Url",
  31910. "type": "string"
  31911. },
  31912. "urltype": {
  31913. "description": "地址类型 - 1:路由 2:外链 3:内联框架",
  31914. "type": "integer"
  31915. }
  31916. }
  31917. },
  31918. "models.OperationPrimaryMenu": {
  31919. "type": "object",
  31920. "properties": {
  31921. "Children": {
  31922. "description": "二级功能菜单",
  31923. "type": "array",
  31924. "items": {
  31925. "$ref": "#/definitions/models.OperationSecondaryMenu"
  31926. }
  31927. },
  31928. "Key": {
  31929. "description": "菜单KEY",
  31930. "type": "string"
  31931. },
  31932. "Label": {
  31933. "description": "菜单标题",
  31934. "type": "string"
  31935. }
  31936. }
  31937. },
  31938. "models.OperationSecondaryMenu": {
  31939. "type": "object",
  31940. "properties": {
  31941. "Key": {
  31942. "description": "菜单KEY",
  31943. "type": "string"
  31944. },
  31945. "Label": {
  31946. "description": "菜单标题",
  31947. "type": "string"
  31948. },
  31949. "TabList": {
  31950. "description": "三级功能菜单",
  31951. "type": "array",
  31952. "items": {
  31953. "$ref": "#/definitions/models.OperationTabMenu"
  31954. }
  31955. }
  31956. }
  31957. },
  31958. "models.OperationTabMenu": {
  31959. "type": "object",
  31960. "properties": {
  31961. "Key": {
  31962. "description": "菜单KEY",
  31963. "type": "string"
  31964. },
  31965. "Label": {
  31966. "description": "菜单标题",
  31967. "type": "string"
  31968. }
  31969. }
  31970. },
  31971. "models.Patradelinkdetail": {
  31972. "type": "object",
  31973. "properties": {
  31974. "accountname": {
  31975. "description": "套期主体",
  31976. "type": "string"
  31977. },
  31978. "agreeunit": {
  31979. "description": "合约乘数",
  31980. "type": "number"
  31981. },
  31982. "amount": {
  31983. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  31984. "type": "number"
  31985. },
  31986. "areauserid": {
  31987. "description": "所属机构",
  31988. "type": "integer"
  31989. },
  31990. "bizsubjectid": {
  31991. "description": "归属业务部门ID - SubjectID",
  31992. "type": "integer"
  31993. },
  31994. "buyorsell": {
  31995. "description": "方向 - 0:买 1:卖",
  31996. "type": "integer"
  31997. },
  31998. "convertratio": {
  31999. "description": "品种系数",
  32000. "type": "number"
  32001. },
  32002. "convertratiochange": {
  32003. "description": "套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio",
  32004. "type": "number"
  32005. },
  32006. "createtime": {
  32007. "description": "[日期时间]创建时间",
  32008. "type": "string"
  32009. },
  32010. "creatorid": {
  32011. "description": "创建人ID",
  32012. "type": "integer"
  32013. },
  32014. "creatorsrc": {
  32015. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  32016. "type": "integer"
  32017. },
  32018. "goodscode": {
  32019. "description": "商品代码(内部)",
  32020. "type": "string"
  32021. },
  32022. "goodsgroupid": {
  32023. "description": "对冲品种ID[期货合约商品组ID]",
  32024. "type": "integer"
  32025. },
  32026. "goodsid": {
  32027. "description": "商品ID",
  32028. "type": "integer"
  32029. },
  32030. "hedgeditemid": {
  32031. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  32032. "type": "integer"
  32033. },
  32034. "hedgeflag": {
  32035. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  32036. "type": "integer"
  32037. },
  32038. "linkdetailid": {
  32039. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  32040. "type": "string"
  32041. },
  32042. "linkstatus": {
  32043. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  32044. "type": "integer"
  32045. },
  32046. "middlegoodsid": {
  32047. "description": "套保品种ID",
  32048. "type": "integer"
  32049. },
  32050. "name": {
  32051. "description": "账户名/子账户",
  32052. "type": "string"
  32053. },
  32054. "optioncode": {
  32055. "description": "[期货合约]期权代码 [期权]",
  32056. "type": "string"
  32057. },
  32058. "ordertype": {
  32059. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  32060. "type": "integer"
  32061. },
  32062. "relatedlot": {
  32063. "description": "[数量]关联手数",
  32064. "type": "number"
  32065. },
  32066. "relatedmode": {
  32067. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  32068. "type": "integer"
  32069. },
  32070. "relatedqty": {
  32071. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  32072. "type": "number"
  32073. },
  32074. "retcode": {
  32075. "description": "返回码",
  32076. "type": "integer"
  32077. },
  32078. "saleuserid": {
  32079. "description": "业务员ID",
  32080. "type": "integer"
  32081. },
  32082. "tradedate": {
  32083. "description": "关联交易日(yyyyMMdd)",
  32084. "type": "string"
  32085. },
  32086. "tradeid": {
  32087. "description": "[成交单号]内部成交单ID",
  32088. "type": "string"
  32089. },
  32090. "tradelot": {
  32091. "description": "成交手数",
  32092. "type": "integer"
  32093. },
  32094. "tradeprice": {
  32095. "description": "[价格]成交价格",
  32096. "type": "number"
  32097. },
  32098. "tradetradedate": {
  32099. "description": "成交交易日(yyyyMMdd)",
  32100. "type": "string"
  32101. }
  32102. }
  32103. },
  32104. "models.QhjAccountOutInApply": {
  32105. "type": "object",
  32106. "properties": {
  32107. "accountcode": {
  32108. "description": "资金账号",
  32109. "type": "string"
  32110. },
  32111. "accountname": {
  32112. "description": "用户名称(名称)",
  32113. "type": "string"
  32114. },
  32115. "accountpwd": {
  32116. "description": "资金密码",
  32117. "type": "string"
  32118. },
  32119. "accountticket": {
  32120. "description": "最新账户服务流水号",
  32121. "type": "string"
  32122. },
  32123. "amount": {
  32124. "description": "金额",
  32125. "type": "number"
  32126. },
  32127. "applyremark": {
  32128. "description": "申请备注",
  32129. "type": "string"
  32130. },
  32131. "applystatus": {
  32132. "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: 复审通过,账户冻结金额检查中;",
  32133. "type": "integer"
  32134. },
  32135. "auditid": {
  32136. "description": "审核人",
  32137. "type": "integer"
  32138. },
  32139. "audittime": {
  32140. "description": "审核时间",
  32141. "type": "string"
  32142. },
  32143. "bank_apply_ticket": {
  32144. "description": "银行申请流水",
  32145. "type": "string"
  32146. },
  32147. "bankaccountname": {
  32148. "description": "银行账户名",
  32149. "type": "string"
  32150. },
  32151. "bankaccountno": {
  32152. "description": "银行卡号",
  32153. "type": "string"
  32154. },
  32155. "bankid": {
  32156. "description": "银行编号",
  32157. "type": "string"
  32158. },
  32159. "bankticket": {
  32160. "description": "银行流水",
  32161. "type": "string"
  32162. },
  32163. "branchbankid": {
  32164. "description": "银行支行号",
  32165. "type": "string"
  32166. },
  32167. "branchbankname": {
  32168. "description": "银行支行名称",
  32169. "type": "string"
  32170. },
  32171. "capamountout": {
  32172. "description": "出金(劣后本金) - 外部子账户",
  32173. "type": "number"
  32174. },
  32175. "certificatephotourl": {
  32176. "description": "凭证地址",
  32177. "type": "string"
  32178. },
  32179. "charge": {
  32180. "description": "手续费",
  32181. "type": "number"
  32182. },
  32183. "checkerrorflag": {
  32184. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  32185. "type": "integer"
  32186. },
  32187. "currency": {
  32188. "description": "币种",
  32189. "type": "string"
  32190. },
  32191. "cusbankid": {
  32192. "description": "托管银行编号",
  32193. "type": "string"
  32194. },
  32195. "exchticket": {
  32196. "description": "银行服务流水号",
  32197. "type": "string"
  32198. },
  32199. "executetype": {
  32200. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  32201. "type": "integer"
  32202. },
  32203. "extendinfo": {
  32204. "description": "扩展信息",
  32205. "type": "string"
  32206. },
  32207. "extoperateid": {
  32208. "description": "交易服务流水号",
  32209. "type": "integer"
  32210. },
  32211. "infamount": {
  32212. "description": "劣后金额(自有)",
  32213. "type": "number"
  32214. },
  32215. "logincode": {
  32216. "description": "登录账号(账号)",
  32217. "type": "string"
  32218. },
  32219. "netaddr": {
  32220. "description": "调转网址",
  32221. "type": "string"
  32222. },
  32223. "priamount": {
  32224. "description": "优先金额(授信)",
  32225. "type": "number"
  32226. },
  32227. "reauditid": {
  32228. "description": "复审人",
  32229. "type": "integer"
  32230. },
  32231. "reauditremark": {
  32232. "description": "复审备注",
  32233. "type": "string"
  32234. },
  32235. "reaudittime": {
  32236. "description": "复审时间",
  32237. "type": "string"
  32238. },
  32239. "relatedorderid": {
  32240. "description": "三方关联ID",
  32241. "type": "string"
  32242. },
  32243. "remark": {
  32244. "description": "备注",
  32245. "type": "string"
  32246. },
  32247. "remark2": {
  32248. "description": "备注(失败原因)",
  32249. "type": "string"
  32250. },
  32251. "soucreamount": {
  32252. "description": "原始出入金金额",
  32253. "type": "number"
  32254. },
  32255. "soucrecurrencyid": {
  32256. "description": "原始出入金币种",
  32257. "type": "integer"
  32258. },
  32259. "tradedate": {
  32260. "description": "交易日(yyyyMMdd)",
  32261. "type": "string"
  32262. },
  32263. "updatetime": {
  32264. "description": "更新时间(申请时间)",
  32265. "type": "string"
  32266. },
  32267. "userid": {
  32268. "description": "用户id",
  32269. "type": "integer"
  32270. },
  32271. "userinfotype": {
  32272. "description": "账户类型 1-个人 2-企业",
  32273. "type": "integer"
  32274. }
  32275. }
  32276. },
  32277. "models.QhjAgreementChangeLog": {
  32278. "type": "object",
  32279. "properties": {
  32280. "agreementcontent": {
  32281. "description": "协议内容",
  32282. "type": "string"
  32283. },
  32284. "agreementfrequency": {
  32285. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  32286. "type": "integer"
  32287. },
  32288. "agreementid": {
  32289. "description": "协议ID",
  32290. "type": "integer"
  32291. },
  32292. "agreementname": {
  32293. "description": "协议名称",
  32294. "type": "string"
  32295. },
  32296. "agreementno": {
  32297. "description": "协议编号",
  32298. "type": "string"
  32299. },
  32300. "agreementtype": {
  32301. "description": "协议类型 - 1:注册 2:登录 3:交易",
  32302. "type": "integer"
  32303. },
  32304. "agreementversion": {
  32305. "description": "协议版本号",
  32306. "type": "integer"
  32307. },
  32308. "logid": {
  32309. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  32310. "type": "integer"
  32311. },
  32312. "reviserid": {
  32313. "description": "修改人",
  32314. "type": "integer"
  32315. },
  32316. "revisersrc": {
  32317. "description": "修改来源 - 1:管理端 2:终端",
  32318. "type": "integer"
  32319. },
  32320. "updatetime": {
  32321. "description": "更新时间",
  32322. "type": "string"
  32323. }
  32324. }
  32325. },
  32326. "models.QhjAgreementConfig": {
  32327. "type": "object",
  32328. "properties": {
  32329. "agreementcontent": {
  32330. "description": "协议内容",
  32331. "type": "string"
  32332. },
  32333. "agreementfrequency": {
  32334. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  32335. "type": "integer"
  32336. },
  32337. "agreementid": {
  32338. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  32339. "type": "integer"
  32340. },
  32341. "agreementname": {
  32342. "description": "协议名称",
  32343. "type": "string"
  32344. },
  32345. "agreementno": {
  32346. "description": "协议编号",
  32347. "type": "string"
  32348. },
  32349. "agreementtype": {
  32350. "description": "协议类型 - 1:注册 2:登录 3:交易",
  32351. "type": "integer"
  32352. },
  32353. "agreementversion": {
  32354. "description": "协议版本号(从1开始每次修改加1)",
  32355. "type": "integer"
  32356. },
  32357. "createtime": {
  32358. "description": "创建时间",
  32359. "type": "string"
  32360. },
  32361. "creatorid": {
  32362. "description": "创建人",
  32363. "type": "integer"
  32364. },
  32365. "creatorsrc": {
  32366. "description": "创建来源 - 1:管理端 2:终端",
  32367. "type": "integer"
  32368. },
  32369. "isvalid": {
  32370. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  32371. "type": "integer"
  32372. },
  32373. "reviserid": {
  32374. "description": "修改人",
  32375. "type": "integer"
  32376. },
  32377. "revisersrc": {
  32378. "description": "修改来源 - 1:管理端 2:终端",
  32379. "type": "integer"
  32380. },
  32381. "updatetime": {
  32382. "description": "更新时间",
  32383. "type": "string"
  32384. }
  32385. }
  32386. },
  32387. "models.QhjAreaFinanceConfig": {
  32388. "type": "object",
  32389. "properties": {
  32390. "additionalratio": {
  32391. "description": "追加款比例",
  32392. "type": "number"
  32393. },
  32394. "advanceratio": {
  32395. "description": "预付款比例",
  32396. "type": "number"
  32397. },
  32398. "alarmratio": {
  32399. "description": "告警比例",
  32400. "type": "number"
  32401. },
  32402. "consumptiondirectreward": {
  32403. "description": "消费直推奖励值",
  32404. "type": "number"
  32405. },
  32406. "consumptionenabled": {
  32407. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  32408. "type": "integer"
  32409. },
  32410. "consumptionindirectreward": {
  32411. "description": "消费间推奖励值",
  32412. "type": "number"
  32413. },
  32414. "consumptionmodel": {
  32415. "description": "消费奖励方式 - 1:比率 2:固定",
  32416. "type": "integer"
  32417. },
  32418. "customerservicenum": {
  32419. "description": "客服电话",
  32420. "type": "string"
  32421. },
  32422. "dayinterestrate": {
  32423. "description": "日利率",
  32424. "type": "number"
  32425. },
  32426. "disableconsumptiontips": {
  32427. "description": "关闭消费奖励提示",
  32428. "type": "string"
  32429. },
  32430. "modifierid": {
  32431. "description": "修改人ID",
  32432. "type": "integer"
  32433. },
  32434. "modifysrc": {
  32435. "description": "审核来源 - 1:管理端 2:终端",
  32436. "type": "integer"
  32437. },
  32438. "modifytime": {
  32439. "description": "修改时间",
  32440. "type": "string"
  32441. },
  32442. "promotionvalue": {
  32443. "description": "推广奖励值(固定)",
  32444. "type": "number"
  32445. },
  32446. "scoreconfigvalue1": {
  32447. "description": "提货积分配置1",
  32448. "type": "integer"
  32449. },
  32450. "scoreconfigvalue2": {
  32451. "description": "提货积分配置2",
  32452. "type": "integer"
  32453. },
  32454. "userid": {
  32455. "description": "机构用户ID其他做市关系,都设置为 1",
  32456. "type": "integer"
  32457. },
  32458. "username": {
  32459. "description": "用户名称",
  32460. "type": "string"
  32461. }
  32462. }
  32463. },
  32464. "models.QhjBankAccountSign": {
  32465. "type": "object",
  32466. "properties": {
  32467. "accountcode": {
  32468. "description": "资金账号",
  32469. "type": "string"
  32470. },
  32471. "accountname": {
  32472. "description": "资金账号对应的账号名(UserName)",
  32473. "type": "string"
  32474. },
  32475. "accountname2": {
  32476. "description": "资金账号对应的账号名(UserName) - 密文",
  32477. "type": "string"
  32478. },
  32479. "accounttype": {
  32480. "description": "账户类型(UserType)",
  32481. "type": "integer"
  32482. },
  32483. "applicationtime": {
  32484. "description": "最后一次更新的时间",
  32485. "type": "string"
  32486. },
  32487. "applyexchticket": {
  32488. "description": "申请流水",
  32489. "type": "string"
  32490. },
  32491. "auditid": {
  32492. "description": "审核人",
  32493. "type": "integer"
  32494. },
  32495. "audittime": {
  32496. "description": "审核时间",
  32497. "type": "string"
  32498. },
  32499. "bankaccountname": {
  32500. "description": "签约银行卡账号名",
  32501. "type": "string"
  32502. },
  32503. "bankaccountname2": {
  32504. "description": "签约银行卡账号名 - 密文",
  32505. "type": "string"
  32506. },
  32507. "bankaccountno": {
  32508. "description": "银行卡号",
  32509. "type": "string"
  32510. },
  32511. "bankaccountno2": {
  32512. "description": "银行卡号 - 密文",
  32513. "type": "string"
  32514. },
  32515. "bankaccounttype": {
  32516. "description": "银行账户类型 - 1-对私; 2-对公",
  32517. "type": "integer"
  32518. },
  32519. "bankcardtype": {
  32520. "description": "银行卡类型",
  32521. "type": "integer"
  32522. },
  32523. "bankchildaccount": {
  32524. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  32525. "type": "string"
  32526. },
  32527. "bankcity": {
  32528. "description": "开户行城市",
  32529. "type": "string"
  32530. },
  32531. "bankid": {
  32532. "description": "签约银行ID",
  32533. "type": "string"
  32534. },
  32535. "bankname": {
  32536. "description": "签约银行名称",
  32537. "type": "string"
  32538. },
  32539. "bankprovince": {
  32540. "description": "开户行省份",
  32541. "type": "string"
  32542. },
  32543. "branchbankid": {
  32544. "description": "签约银行支行号",
  32545. "type": "string"
  32546. },
  32547. "branchbankname": {
  32548. "description": "签约银行支行名称",
  32549. "type": "string"
  32550. },
  32551. "cardno": {
  32552. "description": "证件号码",
  32553. "type": "string"
  32554. },
  32555. "cardno2": {
  32556. "description": "证件号码 - 密文",
  32557. "type": "string"
  32558. },
  32559. "cardtype": {
  32560. "description": "证件类型",
  32561. "type": "string"
  32562. },
  32563. "currency": {
  32564. "description": "币种",
  32565. "type": "string"
  32566. },
  32567. "cusbankid": {
  32568. "description": "托管银行编号",
  32569. "type": "string"
  32570. },
  32571. "direct": {
  32572. "description": "方向(可以判断那方先发起的签约)",
  32573. "type": "integer"
  32574. },
  32575. "exchticket": {
  32576. "description": "最后一次签约成功的流水号",
  32577. "type": "string"
  32578. },
  32579. "extendinfo": {
  32580. "description": "扩展信息(JSON字符串)",
  32581. "type": "string"
  32582. },
  32583. "mobilephone": {
  32584. "description": "手机号",
  32585. "type": "string"
  32586. },
  32587. "mobilephone2": {
  32588. "description": "手机号 - 密文",
  32589. "type": "string"
  32590. },
  32591. "netaddr": {
  32592. "description": "调转网址",
  32593. "type": "string"
  32594. },
  32595. "relateduserid": {
  32596. "description": "关联使用者userid",
  32597. "type": "integer"
  32598. },
  32599. "signstatus": {
  32600. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  32601. "type": "integer"
  32602. },
  32603. "updatetime": {
  32604. "description": "更新时间(签解约更新时间)",
  32605. "type": "string"
  32606. }
  32607. }
  32608. },
  32609. "models.QhjBankInfo": {
  32610. "type": "object",
  32611. "properties": {
  32612. "bankid": {
  32613. "description": "银行ID",
  32614. "type": "string"
  32615. },
  32616. "bankname": {
  32617. "description": "银行名称",
  32618. "type": "string"
  32619. },
  32620. "clearbankno": {
  32621. "description": "清算系统银行编号",
  32622. "type": "string"
  32623. },
  32624. "orderindex": {
  32625. "description": "排序顺序",
  32626. "type": "integer"
  32627. },
  32628. "status": {
  32629. "description": "状态 - 0:正常 1:注销",
  32630. "type": "integer"
  32631. }
  32632. }
  32633. },
  32634. "models.QhjBrokerApply": {
  32635. "type": "object",
  32636. "properties": {
  32637. "applicantid": {
  32638. "description": "申请人",
  32639. "type": "integer"
  32640. },
  32641. "applysrc": {
  32642. "description": "申请来源 - 1:管理端 2:终端",
  32643. "type": "integer"
  32644. },
  32645. "applystatus": {
  32646. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  32647. "type": "integer"
  32648. },
  32649. "applytime": {
  32650. "description": "申请时间",
  32651. "type": "string"
  32652. },
  32653. "auditorid": {
  32654. "description": "审核人",
  32655. "type": "integer"
  32656. },
  32657. "auditremark": {
  32658. "description": "审核备注",
  32659. "type": "string"
  32660. },
  32661. "auditsrc": {
  32662. "description": "审核来源 - 1:管理端 2:终端",
  32663. "type": "integer"
  32664. },
  32665. "audittime": {
  32666. "description": "审核时间",
  32667. "type": "string"
  32668. },
  32669. "audittradedate": {
  32670. "description": "审核交易日(yyyyMMdd)",
  32671. "type": "string"
  32672. },
  32673. "brokerapplyid": {
  32674. "description": "申请ID(SEQ_BROKERAPPLY)",
  32675. "type": "integer"
  32676. },
  32677. "cardbackphotourl": {
  32678. "description": "证件背面图片地址",
  32679. "type": "string"
  32680. },
  32681. "cardfrontphotourl": {
  32682. "description": "证件正面图片地址",
  32683. "type": "string"
  32684. },
  32685. "cardnum": {
  32686. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  32687. "type": "string"
  32688. },
  32689. "customername": {
  32690. "description": "姓名",
  32691. "type": "string"
  32692. },
  32693. "logincode": {
  32694. "description": "登录代码",
  32695. "type": "string"
  32696. },
  32697. "mobile": {
  32698. "description": "手机号码",
  32699. "type": "string"
  32700. },
  32701. "parentuserid": {
  32702. "description": "所属机构id",
  32703. "type": "integer"
  32704. },
  32705. "parentusername": {
  32706. "description": "所属机构名称",
  32707. "type": "string"
  32708. },
  32709. "refereeuserid": {
  32710. "description": "推荐人id(经纪人)",
  32711. "type": "integer"
  32712. },
  32713. "refernum": {
  32714. "description": "推荐码",
  32715. "type": "string"
  32716. },
  32717. "remark": {
  32718. "description": "备注",
  32719. "type": "string"
  32720. },
  32721. "subarealevelpath": {
  32722. "description": "层级路径",
  32723. "type": "string"
  32724. },
  32725. "tradedate": {
  32726. "description": "交易日(yyyyMMdd)",
  32727. "type": "string"
  32728. },
  32729. "userid": {
  32730. "description": "申请人用户ID",
  32731. "type": "integer"
  32732. },
  32733. "userinfotype": {
  32734. "description": "用户类型 1-个人 2-企业",
  32735. "type": "integer"
  32736. },
  32737. "username": {
  32738. "description": "用户名称",
  32739. "type": "string"
  32740. }
  32741. }
  32742. },
  32743. "models.QhjBrokerApplyEx": {
  32744. "type": "object",
  32745. "properties": {
  32746. "applylist": {
  32747. "description": "经纪人申请记录(只返回最新一条)",
  32748. "type": "array",
  32749. "items": {
  32750. "$ref": "#/definitions/models.QhjBrokerApply"
  32751. }
  32752. },
  32753. "canrecommend": {
  32754. "description": "是否经纪人 0-不是 1-是",
  32755. "type": "integer"
  32756. },
  32757. "refernum": {
  32758. "description": "推荐码",
  32759. "type": "string"
  32760. },
  32761. "userid": {
  32762. "description": "用户id",
  32763. "type": "integer"
  32764. },
  32765. "userinfotype": {
  32766. "description": "用户类型 1-个人 2-企业",
  32767. "type": "integer"
  32768. }
  32769. }
  32770. },
  32771. "models.QhjBrokerRewardLog": {
  32772. "type": "object",
  32773. "properties": {
  32774. "accountid": {
  32775. "description": "资金账号ID",
  32776. "type": "integer"
  32777. },
  32778. "createtime": {
  32779. "description": "创建时间(时间)",
  32780. "type": "string"
  32781. },
  32782. "handlestatus": {
  32783. "description": "处理状态",
  32784. "type": "integer"
  32785. },
  32786. "logid": {
  32787. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32788. "type": "string"
  32789. },
  32790. "marketid": {
  32791. "description": "市场ID",
  32792. "type": "integer"
  32793. },
  32794. "mmaccountid": {
  32795. "description": "做市商资金账号ID",
  32796. "type": "string"
  32797. },
  32798. "mmuserid": {
  32799. "description": "做市商用户ID",
  32800. "type": "string"
  32801. },
  32802. "rewardamount": {
  32803. "description": "奖励金额",
  32804. "type": "number"
  32805. },
  32806. "rewardmodel": {
  32807. "description": "消费奖励方式 - 1:比率 2:固定",
  32808. "type": "integer"
  32809. },
  32810. "rewardtype": {
  32811. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  32812. "type": "integer"
  32813. },
  32814. "rewardvalue": {
  32815. "description": "配置奖励值",
  32816. "type": "number"
  32817. },
  32818. "srcamount": {
  32819. "description": "成交金额 [消费奖励] (金额)",
  32820. "type": "number"
  32821. },
  32822. "srcgoodsid": {
  32823. "description": "来源商品ID [消费奖励]",
  32824. "type": "string"
  32825. },
  32826. "srctime": {
  32827. "description": "来源时间 (成交时间) [消费奖励]",
  32828. "type": "string"
  32829. },
  32830. "srctradeid": {
  32831. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  32832. "type": "string"
  32833. },
  32834. "srcuserid": {
  32835. "description": "来源用户ID(推广账户)",
  32836. "type": "string"
  32837. },
  32838. "srcusername": {
  32839. "description": "推广账户名称",
  32840. "type": "string"
  32841. },
  32842. "tradedate": {
  32843. "description": "交易日(yyyyMMdd)",
  32844. "type": "string"
  32845. },
  32846. "userid": {
  32847. "description": "经纪人用户ID",
  32848. "type": "integer"
  32849. }
  32850. }
  32851. },
  32852. "models.QhjContract": {
  32853. "type": "object",
  32854. "properties": {
  32855. "contractconfirmtime": {
  32856. "description": "合同确认时间(时间)",
  32857. "type": "string"
  32858. },
  32859. "currisklevel": {
  32860. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  32861. "type": "integer"
  32862. },
  32863. "decimalplace": {
  32864. "description": "商品报价小数位",
  32865. "type": "integer"
  32866. },
  32867. "enumdicname": {
  32868. "description": "单位名称",
  32869. "type": "string"
  32870. },
  32871. "goodscode": {
  32872. "description": "商品代码",
  32873. "type": "string"
  32874. },
  32875. "goodsid": {
  32876. "description": "商品ID [5:融资单]",
  32877. "type": "integer"
  32878. },
  32879. "goodsname": {
  32880. "description": "商品名称",
  32881. "type": "string"
  32882. },
  32883. "goodunitid": {
  32884. "description": "商品单位id",
  32885. "type": "integer"
  32886. },
  32887. "initmargin": {
  32888. "description": "初始保证金(首付款)",
  32889. "type": "number"
  32890. },
  32891. "lenderamount": {
  32892. "description": "贷款金额(总额|订单总额)",
  32893. "type": "number"
  32894. },
  32895. "marginratio": {
  32896. "description": "保证金比率(首付比例)",
  32897. "type": "number"
  32898. },
  32899. "payamount": {
  32900. "description": "已付(已付货款)",
  32901. "type": "number"
  32902. },
  32903. "reckonrecovermargin": {
  32904. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  32905. "type": "number"
  32906. },
  32907. "recoveredmargin": {
  32908. "description": "已追缴保证金",
  32909. "type": "number"
  32910. },
  32911. "remainamount": {
  32912. "description": "合同剩余金额(融资额)",
  32913. "type": "number"
  32914. },
  32915. "scfcontractid": {
  32916. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  32917. "type": "string"
  32918. },
  32919. "scfcontractstatus": {
  32920. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  32921. "type": "integer"
  32922. },
  32923. "scfcontracttype": {
  32924. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  32925. "type": "integer"
  32926. },
  32927. "totalinterest": {
  32928. "description": "已计总利息(利息)",
  32929. "type": "number"
  32930. },
  32931. "tradeprice": {
  32932. "description": "成交价格(成本价格)",
  32933. "type": "number"
  32934. },
  32935. "userid": {
  32936. "description": "用户ID",
  32937. "type": "integer"
  32938. },
  32939. "username": {
  32940. "description": "用户名称",
  32941. "type": "string"
  32942. },
  32943. "wrqty": {
  32944. "description": "仓单数量(数量)",
  32945. "type": "number"
  32946. }
  32947. }
  32948. },
  32949. "models.QhjContractLog": {
  32950. "type": "object",
  32951. "properties": {
  32952. "amount": {
  32953. "description": "支付金额",
  32954. "type": "number"
  32955. },
  32956. "amounttype": {
  32957. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  32958. "type": "integer"
  32959. },
  32960. "logid": {
  32961. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32962. "type": "string"
  32963. },
  32964. "remainamount": {
  32965. "description": "剩余货款",
  32966. "type": "number"
  32967. },
  32968. "scfcontractid": {
  32969. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  32970. "type": "integer"
  32971. },
  32972. "updatetime": {
  32973. "description": "更新时间",
  32974. "type": "string"
  32975. }
  32976. }
  32977. },
  32978. "models.QhjCusBankSignBankEx": {
  32979. "type": "object",
  32980. "properties": {
  32981. "banklst": {
  32982. "description": "银行列表",
  32983. "type": "array",
  32984. "items": {
  32985. "$ref": "#/definitions/models.QhjBankInfo"
  32986. }
  32987. },
  32988. "canallot": {
  32989. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  32990. "type": "integer"
  32991. },
  32992. "canallotquery": {
  32993. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  32994. "type": "integer"
  32995. },
  32996. "canbindcard": {
  32997. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  32998. "type": "integer"
  32999. },
  33000. "caninamount": {
  33001. "description": "是否可入金 - 0:不可 1:可以",
  33002. "type": "integer"
  33003. },
  33004. "caninamount2": {
  33005. "description": "是否可入金(网银端) - 0:不可 1:可以",
  33006. "type": "integer"
  33007. },
  33008. "canmodifybankcard": {
  33009. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  33010. "type": "integer"
  33011. },
  33012. "canmodifyphone": {
  33013. "description": "是否可修改手机号 - 0:不可 1:可以",
  33014. "type": "integer"
  33015. },
  33016. "canmodifysigninfo": {
  33017. "description": "是否可修改签约信息 - 0:不可 1:可以",
  33018. "type": "integer"
  33019. },
  33020. "canoutamount": {
  33021. "description": "是否可出金 - 0:不可 1:可以",
  33022. "type": "integer"
  33023. },
  33024. "canoutamount2": {
  33025. "description": "是否可出金(网银端) - 0:不可 1:可以",
  33026. "type": "integer"
  33027. },
  33028. "canrelease": {
  33029. "description": "是否可解约 - 0:不可 1:可以",
  33030. "type": "integer"
  33031. },
  33032. "canrelease2": {
  33033. "description": "是否可解约(网银端) - 0:不可 1:可以",
  33034. "type": "integer"
  33035. },
  33036. "cansign": {
  33037. "description": "是否可签约 - 0:不可 1:可以",
  33038. "type": "integer"
  33039. },
  33040. "cansign2": {
  33041. "description": "是否可签约(网银端) - 0:不可 1:可以",
  33042. "type": "integer"
  33043. },
  33044. "currency": {
  33045. "description": "币种",
  33046. "type": "string"
  33047. },
  33048. "cusbankid": {
  33049. "description": "托管银行编号(对应清算中心TRAN_NO)",
  33050. "type": "string"
  33051. },
  33052. "cusbankname": {
  33053. "description": "银行业务名称",
  33054. "type": "string"
  33055. },
  33056. "cusbankshortname": {
  33057. "description": "银行业务简称",
  33058. "type": "string"
  33059. },
  33060. "exchbankid": {
  33061. "description": "交易所开户银行ID",
  33062. "type": "string"
  33063. },
  33064. "exchpaybankaccname": {
  33065. "description": "交易所支出结算账户户名",
  33066. "type": "string"
  33067. },
  33068. "exchpaybankaccno": {
  33069. "description": "交易所支出结算账户",
  33070. "type": "string"
  33071. },
  33072. "isneedcheck": {
  33073. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  33074. "type": "integer"
  33075. },
  33076. "isneedclear": {
  33077. "description": "是否需要清算 - 0:不需要 1:需要",
  33078. "type": "integer"
  33079. },
  33080. "lastcheckstatus": {
  33081. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  33082. "type": "integer"
  33083. },
  33084. "lastchecktime": {
  33085. "description": "最后对账时间",
  33086. "type": "string"
  33087. },
  33088. "lastclearstatus": {
  33089. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  33090. "type": "integer"
  33091. },
  33092. "lastcleartime": {
  33093. "description": "最后清算时间",
  33094. "type": "string"
  33095. },
  33096. "lastsignintime": {
  33097. "description": "最后签到时间",
  33098. "type": "string"
  33099. },
  33100. "lastsignouttime": {
  33101. "description": "最后签退时间",
  33102. "type": "string"
  33103. },
  33104. "riskinfo": {
  33105. "description": "签约风险提示书",
  33106. "type": "string"
  33107. },
  33108. "signstatus": {
  33109. "description": "当前签到/签退状态 - 1:签到 2:签退",
  33110. "type": "integer"
  33111. },
  33112. "tradedate": {
  33113. "description": "交易日(yyyyMMdd)",
  33114. "type": "string"
  33115. },
  33116. "updatetime": {
  33117. "description": "当前签到/签退更新时间",
  33118. "type": "string"
  33119. }
  33120. }
  33121. },
  33122. "models.QhjCustomer": {
  33123. "type": "object",
  33124. "properties": {
  33125. "address": {
  33126. "description": "通讯地址",
  33127. "type": "string"
  33128. },
  33129. "attachment1": {
  33130. "description": "附件1",
  33131. "type": "string"
  33132. },
  33133. "attachment2": {
  33134. "description": "附件2",
  33135. "type": "string"
  33136. },
  33137. "audittime": {
  33138. "description": "审核时间",
  33139. "type": "string"
  33140. },
  33141. "cardbackphotourl": {
  33142. "description": "证件反面图片地址",
  33143. "type": "string"
  33144. },
  33145. "cardfrontphotourl": {
  33146. "description": "证件正面图片地址",
  33147. "type": "string"
  33148. },
  33149. "cardnum": {
  33150. "description": "证件号码",
  33151. "type": "string"
  33152. },
  33153. "cardtype": {
  33154. "description": "证件类型",
  33155. "type": "integer"
  33156. },
  33157. "cardtypename": {
  33158. "description": "证件类型名称",
  33159. "type": "string"
  33160. },
  33161. "cityid": {
  33162. "description": "市",
  33163. "type": "integer"
  33164. },
  33165. "cityname": {
  33166. "description": "城市名称",
  33167. "type": "string"
  33168. },
  33169. "contactname": {
  33170. "description": "联系人",
  33171. "type": "string"
  33172. },
  33173. "countryid": {
  33174. "description": "国家",
  33175. "type": "integer"
  33176. },
  33177. "countryname": {
  33178. "description": "国家名称",
  33179. "type": "string"
  33180. },
  33181. "createtime": {
  33182. "description": "创建时间",
  33183. "type": "string"
  33184. },
  33185. "customername": {
  33186. "description": "客户名称",
  33187. "type": "string"
  33188. },
  33189. "districtid": {
  33190. "description": "区域",
  33191. "type": "integer"
  33192. },
  33193. "districtname": {
  33194. "description": "地区名称",
  33195. "type": "string"
  33196. },
  33197. "email": {
  33198. "description": "邮件",
  33199. "type": "string"
  33200. },
  33201. "legalpersonname": {
  33202. "description": "法人姓名(企业)",
  33203. "type": "string"
  33204. },
  33205. "logincode": {
  33206. "description": "登录账号(代码)",
  33207. "type": "string"
  33208. },
  33209. "memberuserid": {
  33210. "description": "所属机构ID(所属会员)",
  33211. "type": "integer"
  33212. },
  33213. "memberusername": {
  33214. "description": "所属会员名称",
  33215. "type": "string"
  33216. },
  33217. "mobile": {
  33218. "description": "手机号码",
  33219. "type": "string"
  33220. },
  33221. "modifytime": {
  33222. "description": "修改时间",
  33223. "type": "string"
  33224. },
  33225. "nickname": {
  33226. "description": "昵称",
  33227. "type": "string"
  33228. },
  33229. "parentuserid": {
  33230. "description": "上级机构(所属机构)",
  33231. "type": "integer"
  33232. },
  33233. "parentusername": {
  33234. "description": "所属机构名称",
  33235. "type": "string"
  33236. },
  33237. "provinceid": {
  33238. "description": "省",
  33239. "type": "integer"
  33240. },
  33241. "provincename": {
  33242. "description": "省名称",
  33243. "type": "string"
  33244. },
  33245. "proxystatementurl": {
  33246. "description": "授权委托书",
  33247. "type": "string"
  33248. },
  33249. "remark": {
  33250. "description": "备注",
  33251. "type": "string"
  33252. },
  33253. "status": {
  33254. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  33255. "type": "integer"
  33256. },
  33257. "statusdesc": {
  33258. "description": "账户状态中文描述",
  33259. "type": "string"
  33260. },
  33261. "taxpayernum": {
  33262. "description": "纳税人识别号",
  33263. "type": "string"
  33264. },
  33265. "telphone": {
  33266. "description": "联系电话",
  33267. "type": "string"
  33268. },
  33269. "userid": {
  33270. "description": "用户ID",
  33271. "type": "integer"
  33272. },
  33273. "userinfotype": {
  33274. "description": "客户类型 1-个人 2-企业",
  33275. "type": "integer"
  33276. },
  33277. "username": {
  33278. "description": "用户名称",
  33279. "type": "string"
  33280. }
  33281. }
  33282. },
  33283. "models.QhjCustomerSignLog": {
  33284. "type": "object",
  33285. "properties": {
  33286. "agreementcontent": {
  33287. "description": "协议内容",
  33288. "type": "string"
  33289. },
  33290. "agreementid": {
  33291. "description": "协议ID",
  33292. "type": "integer"
  33293. },
  33294. "agreementname": {
  33295. "description": "协议名称",
  33296. "type": "string"
  33297. },
  33298. "agreementno": {
  33299. "description": "协议编号",
  33300. "type": "string"
  33301. },
  33302. "agreementtype": {
  33303. "description": "协议类型 - 1:注册 2:登录 3:交易",
  33304. "type": "integer"
  33305. },
  33306. "agreementversion": {
  33307. "description": "协议版本号",
  33308. "type": "integer"
  33309. },
  33310. "createtime": {
  33311. "description": "创建时间",
  33312. "type": "string"
  33313. },
  33314. "goodscode": {
  33315. "description": "商品代码",
  33316. "type": "string"
  33317. },
  33318. "goodsid": {
  33319. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  33320. "type": "integer"
  33321. },
  33322. "goodsname": {
  33323. "description": "商品名称",
  33324. "type": "string"
  33325. },
  33326. "logid": {
  33327. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  33328. "type": "integer"
  33329. },
  33330. "nodetype": {
  33331. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  33332. "type": "integer"
  33333. },
  33334. "signadressurl": {
  33335. "description": "签约文件地址",
  33336. "type": "string"
  33337. },
  33338. "signtimestamp": {
  33339. "description": "签约状态时间戳",
  33340. "type": "string"
  33341. },
  33342. "userid": {
  33343. "description": "客户ID",
  33344. "type": "integer"
  33345. },
  33346. "username": {
  33347. "description": "客户名称",
  33348. "type": "string"
  33349. }
  33350. }
  33351. },
  33352. "models.QhjCustomerSignStatus": {
  33353. "type": "object",
  33354. "properties": {
  33355. "createtime": {
  33356. "description": "创建时间",
  33357. "type": "string"
  33358. },
  33359. "goodscode": {
  33360. "description": "商品代码",
  33361. "type": "string"
  33362. },
  33363. "goodsid": {
  33364. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  33365. "type": "integer"
  33366. },
  33367. "goodsname": {
  33368. "description": "商品名称",
  33369. "type": "string"
  33370. },
  33371. "nodetype": {
  33372. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  33373. "type": "integer"
  33374. },
  33375. "signtimestamp": {
  33376. "description": "签约状态时间戳",
  33377. "type": "string"
  33378. },
  33379. "tradedate": {
  33380. "description": "创建交易日(yyyyMMdd)",
  33381. "type": "string"
  33382. },
  33383. "updatetime": {
  33384. "description": "更新时间",
  33385. "type": "string"
  33386. },
  33387. "userid": {
  33388. "description": "客户ID",
  33389. "type": "integer"
  33390. },
  33391. "username": {
  33392. "description": "客户名称",
  33393. "type": "string"
  33394. }
  33395. }
  33396. },
  33397. "models.QhjMgrAccountOutInApply": {
  33398. "type": "object",
  33399. "properties": {
  33400. "accountcode": {
  33401. "description": "资金账号",
  33402. "type": "string"
  33403. },
  33404. "accountname": {
  33405. "description": "用户名称(名称)",
  33406. "type": "string"
  33407. },
  33408. "accountpwd": {
  33409. "description": "资金密码",
  33410. "type": "string"
  33411. },
  33412. "accountticket": {
  33413. "description": "最新账户服务流水号",
  33414. "type": "string"
  33415. },
  33416. "amount": {
  33417. "description": "金额",
  33418. "type": "number"
  33419. },
  33420. "applyremark": {
  33421. "description": "申请备注",
  33422. "type": "string"
  33423. },
  33424. "applystatus": {
  33425. "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: 复审通过,账户冻结金额检查中;",
  33426. "type": "integer"
  33427. },
  33428. "auditid": {
  33429. "description": "审核人",
  33430. "type": "integer"
  33431. },
  33432. "audittime": {
  33433. "description": "审核时间",
  33434. "type": "string"
  33435. },
  33436. "bank_apply_ticket": {
  33437. "description": "银行申请流水",
  33438. "type": "string"
  33439. },
  33440. "bankaccountname": {
  33441. "description": "银行账户名",
  33442. "type": "string"
  33443. },
  33444. "bankaccountno": {
  33445. "description": "银行卡号",
  33446. "type": "string"
  33447. },
  33448. "bankid": {
  33449. "description": "银行编号",
  33450. "type": "string"
  33451. },
  33452. "bankname": {
  33453. "description": "银行名称",
  33454. "type": "string"
  33455. },
  33456. "bankticket": {
  33457. "description": "银行流水",
  33458. "type": "string"
  33459. },
  33460. "branchbankid": {
  33461. "description": "银行支行号",
  33462. "type": "string"
  33463. },
  33464. "branchbankname": {
  33465. "description": "银行支行名称",
  33466. "type": "string"
  33467. },
  33468. "capamountout": {
  33469. "description": "出金(劣后本金) - 外部子账户",
  33470. "type": "number"
  33471. },
  33472. "certificatephotourl": {
  33473. "description": "凭证地址",
  33474. "type": "string"
  33475. },
  33476. "charge": {
  33477. "description": "手续费",
  33478. "type": "number"
  33479. },
  33480. "checkerrorflag": {
  33481. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  33482. "type": "integer"
  33483. },
  33484. "currency": {
  33485. "description": "币种",
  33486. "type": "string"
  33487. },
  33488. "cusbankid": {
  33489. "description": "托管银行编号",
  33490. "type": "string"
  33491. },
  33492. "exchticket": {
  33493. "description": "银行服务流水号",
  33494. "type": "string"
  33495. },
  33496. "executetype": {
  33497. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  33498. "type": "integer"
  33499. },
  33500. "extendinfo": {
  33501. "description": "扩展信息",
  33502. "type": "string"
  33503. },
  33504. "extoperateid": {
  33505. "description": "交易服务流水号",
  33506. "type": "integer"
  33507. },
  33508. "infamount": {
  33509. "description": "劣后金额(自有)",
  33510. "type": "number"
  33511. },
  33512. "logincode": {
  33513. "description": "登录账号(账号)",
  33514. "type": "string"
  33515. },
  33516. "netaddr": {
  33517. "description": "调转网址",
  33518. "type": "string"
  33519. },
  33520. "priamount": {
  33521. "description": "优先金额(授信)",
  33522. "type": "number"
  33523. },
  33524. "reauditid": {
  33525. "description": "复审人",
  33526. "type": "integer"
  33527. },
  33528. "reauditremark": {
  33529. "description": "复审备注",
  33530. "type": "string"
  33531. },
  33532. "reaudittime": {
  33533. "description": "复审时间",
  33534. "type": "string"
  33535. },
  33536. "relatedorderid": {
  33537. "description": "三方关联ID",
  33538. "type": "string"
  33539. },
  33540. "remark": {
  33541. "description": "备注",
  33542. "type": "string"
  33543. },
  33544. "remark2": {
  33545. "description": "备注(失败原因)",
  33546. "type": "string"
  33547. },
  33548. "soucreamount": {
  33549. "description": "原始出入金金额",
  33550. "type": "number"
  33551. },
  33552. "soucrecurrencyid": {
  33553. "description": "原始出入金币种",
  33554. "type": "integer"
  33555. },
  33556. "tradedate": {
  33557. "description": "交易日(yyyyMMdd)",
  33558. "type": "string"
  33559. },
  33560. "updatetime": {
  33561. "description": "更新时间(申请时间)",
  33562. "type": "string"
  33563. },
  33564. "userid": {
  33565. "description": "用户id",
  33566. "type": "integer"
  33567. },
  33568. "userinfotype": {
  33569. "description": "账户类型 1-个人 2-企业",
  33570. "type": "integer"
  33571. }
  33572. }
  33573. },
  33574. "models.QhjMgrBrokerApply": {
  33575. "type": "object",
  33576. "properties": {
  33577. "applicantid": {
  33578. "description": "申请人",
  33579. "type": "integer"
  33580. },
  33581. "applysrc": {
  33582. "description": "申请来源 - 1:管理端 2:终端",
  33583. "type": "integer"
  33584. },
  33585. "applystatus": {
  33586. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  33587. "type": "integer"
  33588. },
  33589. "applytime": {
  33590. "description": "申请时间",
  33591. "type": "string"
  33592. },
  33593. "auditorid": {
  33594. "description": "审核人",
  33595. "type": "integer"
  33596. },
  33597. "auditremark": {
  33598. "description": "审核备注",
  33599. "type": "string"
  33600. },
  33601. "auditsrc": {
  33602. "description": "审核来源 - 1:管理端 2:终端",
  33603. "type": "integer"
  33604. },
  33605. "audittime": {
  33606. "description": "审核时间",
  33607. "type": "string"
  33608. },
  33609. "audittradedate": {
  33610. "description": "审核交易日(yyyyMMdd)",
  33611. "type": "string"
  33612. },
  33613. "brokerapplyid": {
  33614. "description": "申请ID(SEQ_BROKERAPPLY)",
  33615. "type": "integer"
  33616. },
  33617. "cardbackphotourl": {
  33618. "description": "证件背面图片地址",
  33619. "type": "string"
  33620. },
  33621. "cardfrontphotourl": {
  33622. "description": "证件正面图片地址",
  33623. "type": "string"
  33624. },
  33625. "cardnum": {
  33626. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  33627. "type": "string"
  33628. },
  33629. "customername": {
  33630. "description": "姓名",
  33631. "type": "string"
  33632. },
  33633. "filterstatus": {
  33634. "description": "筛选条件",
  33635. "type": "string"
  33636. },
  33637. "logincode": {
  33638. "description": "登录代码",
  33639. "type": "string"
  33640. },
  33641. "mobile": {
  33642. "description": "手机号码",
  33643. "type": "string"
  33644. },
  33645. "parentuserid": {
  33646. "description": "所属机构id",
  33647. "type": "integer"
  33648. },
  33649. "parentusername": {
  33650. "description": "所属机构名称",
  33651. "type": "string"
  33652. },
  33653. "refereeuserid": {
  33654. "description": "推荐人id(经纪人)",
  33655. "type": "integer"
  33656. },
  33657. "refernum": {
  33658. "description": "推荐码",
  33659. "type": "string"
  33660. },
  33661. "remark": {
  33662. "description": "备注",
  33663. "type": "string"
  33664. },
  33665. "subarealevelpath": {
  33666. "description": "层级路径",
  33667. "type": "string"
  33668. },
  33669. "tradedate": {
  33670. "description": "交易日(yyyyMMdd)",
  33671. "type": "string"
  33672. },
  33673. "userid": {
  33674. "description": "申请人用户ID",
  33675. "type": "integer"
  33676. },
  33677. "userinfotype": {
  33678. "description": "用户类型 1-个人 2-企业",
  33679. "type": "integer"
  33680. },
  33681. "username": {
  33682. "description": "用户名称",
  33683. "type": "string"
  33684. }
  33685. }
  33686. },
  33687. "models.QhjMgrBrokerRewardReport": {
  33688. "type": "object",
  33689. "properties": {
  33690. "createtime": {
  33691. "description": "创建时间(注册时间)",
  33692. "type": "string"
  33693. },
  33694. "cycletime": {
  33695. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  33696. "type": "string"
  33697. },
  33698. "cycletype": {
  33699. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  33700. "type": "integer"
  33701. },
  33702. "directtotalnum": {
  33703. "description": "直推总人数【期末】",
  33704. "type": "integer"
  33705. },
  33706. "indirecttotalnum": {
  33707. "description": "间推总人数【期末】",
  33708. "type": "integer"
  33709. },
  33710. "mobile": {
  33711. "description": "电话号码",
  33712. "type": "string"
  33713. },
  33714. "refereeuserid": {
  33715. "description": "推荐人id(经纪人id)",
  33716. "type": "integer"
  33717. },
  33718. "refereeusername": {
  33719. "description": "推荐人名称(经纪人) 上级经纪人名称",
  33720. "type": "string"
  33721. },
  33722. "refernum": {
  33723. "description": "推荐码",
  33724. "type": "string"
  33725. },
  33726. "subarealevelpath": {
  33727. "description": "用户层级路径",
  33728. "type": "string"
  33729. },
  33730. "todayrewardamount": {
  33731. "description": "奖励总金额【汇总】",
  33732. "type": "number"
  33733. },
  33734. "updatetime": {
  33735. "description": "更新时间",
  33736. "type": "string"
  33737. },
  33738. "userid": {
  33739. "description": "经纪人用户ID",
  33740. "type": "integer"
  33741. },
  33742. "userinfotype": {
  33743. "description": "用户类型 1-个人 2-企业",
  33744. "type": "integer"
  33745. },
  33746. "username": {
  33747. "description": "用户名称",
  33748. "type": "string"
  33749. }
  33750. }
  33751. },
  33752. "models.QhjMgrContract": {
  33753. "type": "object",
  33754. "properties": {
  33755. "contractconfirmtime": {
  33756. "description": "合同确认时间(时间)",
  33757. "type": "string"
  33758. },
  33759. "currisklevel": {
  33760. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  33761. "type": "integer"
  33762. },
  33763. "decimalplace": {
  33764. "description": "商品报价小数位",
  33765. "type": "integer"
  33766. },
  33767. "enumdicname": {
  33768. "description": "单位名称",
  33769. "type": "string"
  33770. },
  33771. "goodscode": {
  33772. "description": "商品代码",
  33773. "type": "string"
  33774. },
  33775. "goodsid": {
  33776. "description": "商品ID [5:融资单]",
  33777. "type": "integer"
  33778. },
  33779. "goodsname": {
  33780. "description": "商品名称",
  33781. "type": "string"
  33782. },
  33783. "goodunitid": {
  33784. "description": "商品单位id",
  33785. "type": "integer"
  33786. },
  33787. "initmargin": {
  33788. "description": "初始保证金(首付款)",
  33789. "type": "number"
  33790. },
  33791. "lenderamount": {
  33792. "description": "贷款金额(总额|订单总额)",
  33793. "type": "number"
  33794. },
  33795. "logincode": {
  33796. "description": "账号(登录代码)",
  33797. "type": "string"
  33798. },
  33799. "marginratio": {
  33800. "description": "保证金比率(首付比例)",
  33801. "type": "number"
  33802. },
  33803. "mobile": {
  33804. "description": "电话号码(用户资料里的电话)",
  33805. "type": "string"
  33806. },
  33807. "payamount": {
  33808. "description": "已付(已付货款)",
  33809. "type": "number"
  33810. },
  33811. "reckonrecovermargin": {
  33812. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  33813. "type": "number"
  33814. },
  33815. "recoveredmargin": {
  33816. "description": "已追缴保证金",
  33817. "type": "number"
  33818. },
  33819. "remainamount": {
  33820. "description": "合同剩余金额(融资额)",
  33821. "type": "number"
  33822. },
  33823. "scfcontractid": {
  33824. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  33825. "type": "string"
  33826. },
  33827. "scfcontractstatus": {
  33828. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  33829. "type": "integer"
  33830. },
  33831. "scfcontracttype": {
  33832. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  33833. "type": "integer"
  33834. },
  33835. "totalinterest": {
  33836. "description": "已计总利息(利息)",
  33837. "type": "number"
  33838. },
  33839. "tradedate": {
  33840. "description": "交易日",
  33841. "type": "string"
  33842. },
  33843. "tradeprice": {
  33844. "description": "成交价格(成本价格)",
  33845. "type": "number"
  33846. },
  33847. "userid": {
  33848. "description": "用户ID",
  33849. "type": "integer"
  33850. },
  33851. "userinfotype": {
  33852. "description": "用户类型 1-个人 2-企业",
  33853. "type": "integer"
  33854. },
  33855. "username": {
  33856. "description": "用户名称",
  33857. "type": "string"
  33858. },
  33859. "wrqty": {
  33860. "description": "仓单数量(数量)",
  33861. "type": "number"
  33862. }
  33863. }
  33864. },
  33865. "models.QhjMgrCustomer": {
  33866. "type": "object",
  33867. "properties": {
  33868. "address": {
  33869. "description": "通讯地址",
  33870. "type": "string"
  33871. },
  33872. "attachment1": {
  33873. "description": "附件1",
  33874. "type": "string"
  33875. },
  33876. "audittime": {
  33877. "description": "审核时间",
  33878. "type": "string"
  33879. },
  33880. "birthday": {
  33881. "description": "生日",
  33882. "type": "string"
  33883. },
  33884. "brokerid": {
  33885. "description": "所属客户经理id",
  33886. "type": "integer"
  33887. },
  33888. "brokername": {
  33889. "description": "所属客户经理名称",
  33890. "type": "string"
  33891. },
  33892. "cardbackphotourl": {
  33893. "description": "证件反面图片地址",
  33894. "type": "string"
  33895. },
  33896. "cardfrontphotourl": {
  33897. "description": "证件正面图片地址",
  33898. "type": "string"
  33899. },
  33900. "cardnum": {
  33901. "description": "证件号码",
  33902. "type": "string"
  33903. },
  33904. "cardtype": {
  33905. "description": "证件类型",
  33906. "type": "integer"
  33907. },
  33908. "cardtypename": {
  33909. "description": "证件类型名称",
  33910. "type": "string"
  33911. },
  33912. "cityid": {
  33913. "description": "市",
  33914. "type": "integer"
  33915. },
  33916. "cityname": {
  33917. "description": "城市名称",
  33918. "type": "string"
  33919. },
  33920. "contactname": {
  33921. "description": "联系人",
  33922. "type": "string"
  33923. },
  33924. "countryid": {
  33925. "description": "国家",
  33926. "type": "integer"
  33927. },
  33928. "countryname": {
  33929. "description": "国家名称",
  33930. "type": "string"
  33931. },
  33932. "createtime": {
  33933. "description": "创建时间",
  33934. "type": "string"
  33935. },
  33936. "customername": {
  33937. "description": "客户名称",
  33938. "type": "string"
  33939. },
  33940. "districtid": {
  33941. "description": "区域",
  33942. "type": "integer"
  33943. },
  33944. "districtname": {
  33945. "description": "地区名称",
  33946. "type": "string"
  33947. },
  33948. "email": {
  33949. "description": "邮件",
  33950. "type": "string"
  33951. },
  33952. "legalpersonname": {
  33953. "description": "法人姓名(企业)",
  33954. "type": "string"
  33955. },
  33956. "logincode": {
  33957. "description": "登录账号(代码)",
  33958. "type": "string"
  33959. },
  33960. "memberuserid": {
  33961. "description": "所属机构ID(所属会员)",
  33962. "type": "integer"
  33963. },
  33964. "memberusername": {
  33965. "description": "所属会员名称",
  33966. "type": "string"
  33967. },
  33968. "mobile": {
  33969. "description": "手机号码",
  33970. "type": "string"
  33971. },
  33972. "modifytime": {
  33973. "description": "修改时间",
  33974. "type": "string"
  33975. },
  33976. "nickname": {
  33977. "description": "昵称",
  33978. "type": "string"
  33979. },
  33980. "parentuserid": {
  33981. "description": "上级机构(所属机构)",
  33982. "type": "integer"
  33983. },
  33984. "parentusername": {
  33985. "description": "所属机构名称",
  33986. "type": "string"
  33987. },
  33988. "provinceid": {
  33989. "description": "省",
  33990. "type": "integer"
  33991. },
  33992. "provincename": {
  33993. "description": "省名称",
  33994. "type": "string"
  33995. },
  33996. "proxystatementurl": {
  33997. "description": "授权委托书",
  33998. "type": "string"
  33999. },
  34000. "querytype": {
  34001. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  34002. "type": "integer"
  34003. },
  34004. "remark": {
  34005. "description": "备注",
  34006. "type": "string"
  34007. },
  34008. "sex": {
  34009. "description": "性别 0-女 1-男",
  34010. "type": "integer"
  34011. },
  34012. "status": {
  34013. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  34014. "type": "integer"
  34015. },
  34016. "statusdesc": {
  34017. "description": "账户状态中文描述",
  34018. "type": "string"
  34019. },
  34020. "taxpayernum": {
  34021. "description": "纳税人识别号",
  34022. "type": "string"
  34023. },
  34024. "telphone": {
  34025. "description": "联系电话",
  34026. "type": "string"
  34027. },
  34028. "userid": {
  34029. "description": "用户ID",
  34030. "type": "integer"
  34031. },
  34032. "userinfotype": {
  34033. "description": "客户类型 1-个人 2-企业",
  34034. "type": "integer"
  34035. },
  34036. "username": {
  34037. "description": "用户名称",
  34038. "type": "string"
  34039. }
  34040. }
  34041. },
  34042. "models.QhjMgrPickGoods": {
  34043. "type": "object",
  34044. "properties": {
  34045. "enumdicname": {
  34046. "description": "单位名称(提货商品)",
  34047. "type": "string"
  34048. },
  34049. "goodsid": {
  34050. "description": "商品id",
  34051. "type": "integer"
  34052. },
  34053. "imageaddress": {
  34054. "description": "图片",
  34055. "type": "string"
  34056. },
  34057. "modifierid": {
  34058. "description": "修改人",
  34059. "type": "integer"
  34060. },
  34061. "modifiername": {
  34062. "description": "修改人名称",
  34063. "type": "string"
  34064. },
  34065. "modifysrc": {
  34066. "description": "修改来源 - 1:管理端 2:终端",
  34067. "type": "integer"
  34068. },
  34069. "pickupgoodsagreeunit": {
  34070. "description": "合约乘数",
  34071. "type": "number"
  34072. },
  34073. "pickupgoodsdesc": {
  34074. "description": "描述",
  34075. "type": "string"
  34076. },
  34077. "pickupgoodsid": {
  34078. "description": "提货商品ID",
  34079. "type": "string"
  34080. },
  34081. "pickupgoodsname": {
  34082. "description": "提货商品名称",
  34083. "type": "string"
  34084. },
  34085. "pickupgoodsstatus": {
  34086. "description": "状态 - 1:正常 2:停用 3:注销",
  34087. "type": "integer"
  34088. },
  34089. "pickupgoodsunitid": {
  34090. "description": "单位ID",
  34091. "type": "integer"
  34092. },
  34093. "pickupratio": {
  34094. "description": "提货系数",
  34095. "type": "number"
  34096. },
  34097. "preparedays": {
  34098. "description": "备货期(天)",
  34099. "type": "integer"
  34100. },
  34101. "remark": {
  34102. "description": "备注",
  34103. "type": "string"
  34104. },
  34105. "updatetime": {
  34106. "description": "更新时间",
  34107. "type": "string"
  34108. }
  34109. }
  34110. },
  34111. "models.QhjMgrPositionRsp": {
  34112. "type": "object",
  34113. "properties": {
  34114. "accountid": {
  34115. "description": "账号Id",
  34116. "type": "integer"
  34117. },
  34118. "accountname": {
  34119. "description": "用户名称",
  34120. "type": "string"
  34121. },
  34122. "agreeunit": {
  34123. "description": "合约乘数",
  34124. "type": "number"
  34125. },
  34126. "averageprice": {
  34127. "description": "均价",
  34128. "type": "number"
  34129. },
  34130. "avialqty": {
  34131. "description": "可用数量",
  34132. "type": "number"
  34133. },
  34134. "decimalplace": {
  34135. "description": "报价小数位",
  34136. "type": "integer"
  34137. },
  34138. "enumdicname": {
  34139. "description": "单位名称(商品)",
  34140. "type": "string"
  34141. },
  34142. "frozenqty": {
  34143. "description": "冻结数量",
  34144. "type": "number"
  34145. },
  34146. "goodscode": {
  34147. "description": "商品代码(内部)",
  34148. "type": "string"
  34149. },
  34150. "goodsid": {
  34151. "description": "商品Id",
  34152. "type": "integer"
  34153. },
  34154. "goodsname": {
  34155. "description": "商品名称",
  34156. "type": "string"
  34157. },
  34158. "goodunitid": {
  34159. "description": "报价单位ID",
  34160. "type": "integer"
  34161. },
  34162. "holderamount": {
  34163. "description": "金额",
  34164. "type": "number"
  34165. },
  34166. "holderqty": {
  34167. "description": "持有数量",
  34168. "type": "number"
  34169. },
  34170. "holdertype": {
  34171. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  34172. "type": "integer"
  34173. },
  34174. "logincode": {
  34175. "description": "登录代码(账户)",
  34176. "type": "string"
  34177. },
  34178. "marketid": {
  34179. "description": "市场id",
  34180. "type": "integer"
  34181. },
  34182. "qtydecimalplace": {
  34183. "description": "成交量小数位",
  34184. "type": "integer"
  34185. },
  34186. "trademode": {
  34187. "description": "交易模式",
  34188. "type": "integer"
  34189. },
  34190. "userid": {
  34191. "description": "用户id",
  34192. "type": "integer"
  34193. },
  34194. "userinfotype": {
  34195. "description": "账户类型 1-个人 2-企业",
  34196. "type": "integer"
  34197. }
  34198. }
  34199. },
  34200. "models.QhjMgrSubArea": {
  34201. "type": "object",
  34202. "properties": {
  34203. "accountname": {
  34204. "description": "账户名称(机构名称)",
  34205. "type": "string"
  34206. },
  34207. "memberuserid": {
  34208. "description": "所属会员ID",
  34209. "type": "integer"
  34210. },
  34211. "parenttopuser": {
  34212. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  34213. "type": "string"
  34214. },
  34215. "parentuserid": {
  34216. "description": "所属机构ID",
  34217. "type": "integer"
  34218. },
  34219. "rootuserid": {
  34220. "description": "根用户ID",
  34221. "type": "string"
  34222. },
  34223. "subaccountlevel": {
  34224. "description": "子账户层数",
  34225. "type": "integer"
  34226. },
  34227. "subarealevelpath": {
  34228. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  34229. "type": "string"
  34230. },
  34231. "userid": {
  34232. "description": "用户ID",
  34233. "type": "integer"
  34234. },
  34235. "usertype": {
  34236. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  34237. "type": "integer"
  34238. }
  34239. }
  34240. },
  34241. "models.QhjMgrTradeDetailRsp": {
  34242. "type": "object",
  34243. "properties": {
  34244. "accountid": {
  34245. "description": "资金账号",
  34246. "type": "integer"
  34247. },
  34248. "accountname": {
  34249. "description": "用户名称",
  34250. "type": "string"
  34251. },
  34252. "agreeunit": {
  34253. "description": "合约乘数",
  34254. "type": "number"
  34255. },
  34256. "buyorsell": {
  34257. "description": "成交类型(方向) 0:买 1:卖",
  34258. "type": "integer"
  34259. },
  34260. "decimalplace": {
  34261. "description": "报价小数位",
  34262. "type": "integer"
  34263. },
  34264. "enumdicname": {
  34265. "description": "单位名称(商品)",
  34266. "type": "string"
  34267. },
  34268. "goodscode": {
  34269. "description": "商品代码(内部)",
  34270. "type": "string"
  34271. },
  34272. "goodsid": {
  34273. "description": "商品id",
  34274. "type": "integer"
  34275. },
  34276. "goodsname": {
  34277. "description": "商品名称",
  34278. "type": "string"
  34279. },
  34280. "goodunitid": {
  34281. "description": "报价单位ID",
  34282. "type": "integer"
  34283. },
  34284. "logincode": {
  34285. "description": "登录代码(账户)",
  34286. "type": "string"
  34287. },
  34288. "marketid": {
  34289. "description": "市场id",
  34290. "type": "integer"
  34291. },
  34292. "orderid": {
  34293. "description": "关联委托单号",
  34294. "type": "string"
  34295. },
  34296. "qtydecimalplace": {
  34297. "description": "成交量小数位",
  34298. "type": "integer"
  34299. },
  34300. "tradeamount": {
  34301. "description": "金额",
  34302. "type": "number"
  34303. },
  34304. "tradedate": {
  34305. "description": "交易日",
  34306. "type": "string"
  34307. },
  34308. "tradeid": {
  34309. "description": "成交单号",
  34310. "type": "string"
  34311. },
  34312. "trademode": {
  34313. "description": "交易模式",
  34314. "type": "integer"
  34315. },
  34316. "tradeprice": {
  34317. "description": "价格",
  34318. "type": "number"
  34319. },
  34320. "tradeqty": {
  34321. "description": "数量",
  34322. "type": "number"
  34323. },
  34324. "tradetime": {
  34325. "description": "成交时间",
  34326. "type": "string"
  34327. },
  34328. "userid": {
  34329. "description": "用户id",
  34330. "type": "integer"
  34331. },
  34332. "userinfotype": {
  34333. "description": "账户类型 1-个人 2-企业",
  34334. "type": "integer"
  34335. }
  34336. }
  34337. },
  34338. "models.QhjMgrTradeOrderDetailRsp": {
  34339. "type": "object",
  34340. "properties": {
  34341. "accountid": {
  34342. "description": "资金账号",
  34343. "type": "integer"
  34344. },
  34345. "accountname": {
  34346. "description": "用户名称",
  34347. "type": "string"
  34348. },
  34349. "agreeunit": {
  34350. "description": "合约乘数",
  34351. "type": "number"
  34352. },
  34353. "amount": {
  34354. "description": "金额",
  34355. "type": "number"
  34356. },
  34357. "decimalplace": {
  34358. "description": "报价小数位",
  34359. "type": "integer"
  34360. },
  34361. "enumdicname": {
  34362. "description": "单位名称(商品)",
  34363. "type": "string"
  34364. },
  34365. "goodscode": {
  34366. "description": "商品代码(内部)",
  34367. "type": "string"
  34368. },
  34369. "goodsid": {
  34370. "description": "商品id",
  34371. "type": "integer"
  34372. },
  34373. "goodsname": {
  34374. "description": "商品名称",
  34375. "type": "string"
  34376. },
  34377. "goodunitid": {
  34378. "description": "报价单位ID",
  34379. "type": "integer"
  34380. },
  34381. "logincode": {
  34382. "description": "登录代码(账户)",
  34383. "type": "string"
  34384. },
  34385. "marketid": {
  34386. "description": "市场id",
  34387. "type": "integer"
  34388. },
  34389. "orderid": {
  34390. "description": "关联委托单号",
  34391. "type": "string"
  34392. },
  34393. "orderprice": {
  34394. "description": "价格",
  34395. "type": "number"
  34396. },
  34397. "orderqty": {
  34398. "description": "数量",
  34399. "type": "number"
  34400. },
  34401. "orderstatus": {
  34402. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  34403. "type": "integer"
  34404. },
  34405. "ordertime": {
  34406. "description": "委托时间",
  34407. "type": "string"
  34408. },
  34409. "qtydecimalplace": {
  34410. "description": "成交量小数位",
  34411. "type": "integer"
  34412. },
  34413. "tradedate": {
  34414. "description": "交易日",
  34415. "type": "string"
  34416. },
  34417. "trademode": {
  34418. "description": "交易模式",
  34419. "type": "integer"
  34420. },
  34421. "userid": {
  34422. "description": "用户id",
  34423. "type": "integer"
  34424. },
  34425. "userinfotype": {
  34426. "description": "账户类型 1-个人 2-企业",
  34427. "type": "integer"
  34428. }
  34429. }
  34430. },
  34431. "models.QhjMgrTradePayOrder": {
  34432. "type": "object",
  34433. "properties": {
  34434. "accountname": {
  34435. "description": "用户名称",
  34436. "type": "string"
  34437. },
  34438. "advanceratio": {
  34439. "description": "首付比率",
  34440. "type": "number"
  34441. },
  34442. "agreeunit": {
  34443. "description": "合约乘数",
  34444. "type": "number"
  34445. },
  34446. "buyaccountid": {
  34447. "description": "买方账号ID[报价币种]",
  34448. "type": "integer"
  34449. },
  34450. "buyorderid": {
  34451. "description": "买方委托单号(关联单号)",
  34452. "type": "string"
  34453. },
  34454. "createtime": {
  34455. "description": "创建时间",
  34456. "type": "string"
  34457. },
  34458. "decimalplace": {
  34459. "description": "报价小数位",
  34460. "type": "integer"
  34461. },
  34462. "enumdicname": {
  34463. "description": "单位名称(商品)",
  34464. "type": "string"
  34465. },
  34466. "goodscode": {
  34467. "description": "商品代码(内部)",
  34468. "type": "string"
  34469. },
  34470. "goodsid": {
  34471. "description": "商品ID",
  34472. "type": "integer"
  34473. },
  34474. "goodsname": {
  34475. "description": "商品名称",
  34476. "type": "string"
  34477. },
  34478. "goodunitid": {
  34479. "description": "报价单位ID",
  34480. "type": "integer"
  34481. },
  34482. "logincode": {
  34483. "description": "登录代码(账户)",
  34484. "type": "string"
  34485. },
  34486. "marketid": {
  34487. "description": "市场id",
  34488. "type": "integer"
  34489. },
  34490. "offamount": {
  34491. "description": "优惠金额",
  34492. "type": "number"
  34493. },
  34494. "operatetype": {
  34495. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  34496. "type": "integer"
  34497. },
  34498. "payamount": {
  34499. "description": "支付金额(金额)",
  34500. "type": "number"
  34501. },
  34502. "payflag": {
  34503. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  34504. "type": "integer"
  34505. },
  34506. "paylimitedtime": {
  34507. "description": "支付期限",
  34508. "type": "string"
  34509. },
  34510. "paytime": {
  34511. "description": "付款时间",
  34512. "type": "string"
  34513. },
  34514. "qtydecimalplace": {
  34515. "description": "成交量小数位",
  34516. "type": "integer"
  34517. },
  34518. "sellaccountid": {
  34519. "description": "卖方账号ID[报价币种]",
  34520. "type": "integer"
  34521. },
  34522. "sellorderid": {
  34523. "description": "卖方委托单号",
  34524. "type": "string"
  34525. },
  34526. "tradeamount": {
  34527. "description": "成交金额(优惠后金额)",
  34528. "type": "number"
  34529. },
  34530. "tradecharge": {
  34531. "description": "成交手续费(买方)",
  34532. "type": "number"
  34533. },
  34534. "tradedate": {
  34535. "description": "交易日(yyyyMMdd)",
  34536. "type": "string"
  34537. },
  34538. "tradeid": {
  34539. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34540. "type": "string"
  34541. },
  34542. "trademode": {
  34543. "description": "交易模式",
  34544. "type": "integer"
  34545. },
  34546. "tradeprice": {
  34547. "description": "成交价格(价格)",
  34548. "type": "number"
  34549. },
  34550. "tradeqty": {
  34551. "description": "成交数量(数量)",
  34552. "type": "number"
  34553. },
  34554. "tradetime": {
  34555. "description": "成交时间",
  34556. "type": "string"
  34557. },
  34558. "userid": {
  34559. "description": "用户id",
  34560. "type": "integer"
  34561. },
  34562. "userinfotype": {
  34563. "description": "账户类型 1-个人 2-企业",
  34564. "type": "integer"
  34565. }
  34566. }
  34567. },
  34568. "models.QhjMyTeamEx": {
  34569. "type": "object",
  34570. "properties": {
  34571. "accountname": {
  34572. "description": "用户名称",
  34573. "type": "string"
  34574. },
  34575. "accountstatus": {
  34576. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  34577. "type": "integer"
  34578. },
  34579. "createtime": {
  34580. "description": "创建时间",
  34581. "type": "string"
  34582. },
  34583. "mobile": {
  34584. "description": "手机号码",
  34585. "type": "string"
  34586. },
  34587. "refereeuserid": {
  34588. "description": "推荐人id",
  34589. "type": "integer"
  34590. },
  34591. "refernum": {
  34592. "description": "推荐码",
  34593. "type": "string"
  34594. },
  34595. "subList": {
  34596. "type": "array",
  34597. "items": {
  34598. "$ref": "#/definitions/models.QhjMyTeamEx"
  34599. }
  34600. },
  34601. "userid": {
  34602. "description": "用户id",
  34603. "type": "integer"
  34604. },
  34605. "userinfotype": {
  34606. "description": "用户类型 1-个人 2-企业",
  34607. "type": "integer"
  34608. }
  34609. }
  34610. },
  34611. "models.QhjNodeAgreementConfig": {
  34612. "type": "object",
  34613. "properties": {
  34614. "agreementcontent": {
  34615. "description": "协议内容",
  34616. "type": "string"
  34617. },
  34618. "agreementid": {
  34619. "description": "协议ID",
  34620. "type": "integer"
  34621. },
  34622. "agreementname": {
  34623. "description": "协议名称",
  34624. "type": "string"
  34625. },
  34626. "agreementno": {
  34627. "description": "协议编号",
  34628. "type": "string"
  34629. },
  34630. "agreementtype": {
  34631. "description": "协议类型 - 1:注册 2:登录 3:交易",
  34632. "type": "integer"
  34633. },
  34634. "agreementversion": {
  34635. "description": "协议版本号",
  34636. "type": "integer"
  34637. },
  34638. "configid": {
  34639. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  34640. "type": "integer"
  34641. },
  34642. "createtime": {
  34643. "description": "创建时间",
  34644. "type": "string"
  34645. },
  34646. "goodsid": {
  34647. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  34648. "type": "integer"
  34649. },
  34650. "nodetype": {
  34651. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  34652. "type": "integer"
  34653. }
  34654. }
  34655. },
  34656. "models.QhjParentAreaList": {
  34657. "type": "object",
  34658. "properties": {
  34659. "accountname": {
  34660. "description": "账户名称(机构名称)",
  34661. "type": "string"
  34662. },
  34663. "userid": {
  34664. "description": "用户ID",
  34665. "type": "integer"
  34666. },
  34667. "usertype": {
  34668. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  34669. "type": "integer"
  34670. }
  34671. }
  34672. },
  34673. "models.QhjPayOrder": {
  34674. "type": "object",
  34675. "properties": {
  34676. "advanceratio": {
  34677. "description": "首付比率",
  34678. "type": "number"
  34679. },
  34680. "buyaccountid": {
  34681. "description": "买方账号ID[报价币种]",
  34682. "type": "integer"
  34683. },
  34684. "buyorderid": {
  34685. "description": "买方委托单号",
  34686. "type": "string"
  34687. },
  34688. "createtime": {
  34689. "description": "创建时间",
  34690. "type": "string"
  34691. },
  34692. "decimalplace": {
  34693. "description": "商品报价小数位",
  34694. "type": "integer"
  34695. },
  34696. "enumdicname": {
  34697. "description": "单位名称",
  34698. "type": "string"
  34699. },
  34700. "goodscode": {
  34701. "description": "商品代码",
  34702. "type": "string"
  34703. },
  34704. "goodsid": {
  34705. "description": "商品ID",
  34706. "type": "integer"
  34707. },
  34708. "goodsname": {
  34709. "description": "商品名称",
  34710. "type": "string"
  34711. },
  34712. "goodunitid": {
  34713. "description": "商品单位id",
  34714. "type": "integer"
  34715. },
  34716. "marketid": {
  34717. "description": "市场ID",
  34718. "type": "integer"
  34719. },
  34720. "offamount": {
  34721. "description": "优惠金额",
  34722. "type": "number"
  34723. },
  34724. "operatetype": {
  34725. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  34726. "type": "integer"
  34727. },
  34728. "payamount": {
  34729. "description": "支付金额",
  34730. "type": "number"
  34731. },
  34732. "payflag": {
  34733. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  34734. "type": "integer"
  34735. },
  34736. "paylimitedtime": {
  34737. "description": "支付期限",
  34738. "type": "string"
  34739. },
  34740. "paytime": {
  34741. "description": "付款时间",
  34742. "type": "string"
  34743. },
  34744. "qtydecimalplace": {
  34745. "description": "成交量小数位",
  34746. "type": "integer"
  34747. },
  34748. "sellaccountid": {
  34749. "description": "卖方账号ID[报价币种]",
  34750. "type": "integer"
  34751. },
  34752. "sellorderid": {
  34753. "description": "卖方委托单号",
  34754. "type": "string"
  34755. },
  34756. "tradeamount": {
  34757. "description": "成交金额(优惠后金额)",
  34758. "type": "number"
  34759. },
  34760. "tradecharge": {
  34761. "description": "成交手续费(买方)",
  34762. "type": "number"
  34763. },
  34764. "tradedate": {
  34765. "description": "交易日(yyyyMMdd)",
  34766. "type": "string"
  34767. },
  34768. "tradeid": {
  34769. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34770. "type": "string"
  34771. },
  34772. "tradeprice": {
  34773. "description": "成交价格",
  34774. "type": "number"
  34775. },
  34776. "tradeqty": {
  34777. "description": "成交数量",
  34778. "type": "number"
  34779. }
  34780. }
  34781. },
  34782. "models.QhjPickArea": {
  34783. "type": "object",
  34784. "properties": {
  34785. "address": {
  34786. "description": "详细地址",
  34787. "type": "string"
  34788. },
  34789. "cityid": {
  34790. "description": "市",
  34791. "type": "integer"
  34792. },
  34793. "cityname": {
  34794. "description": "城市名称",
  34795. "type": "string"
  34796. },
  34797. "countryid": {
  34798. "description": "国家",
  34799. "type": "integer"
  34800. },
  34801. "countryname": {
  34802. "description": "国家名称",
  34803. "type": "string"
  34804. },
  34805. "districtid": {
  34806. "description": "地区",
  34807. "type": "integer"
  34808. },
  34809. "districtname": {
  34810. "description": "地区名称",
  34811. "type": "string"
  34812. },
  34813. "fromuserid": {
  34814. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  34815. "type": "integer"
  34816. },
  34817. "fromusername": {
  34818. "description": "所属机构名称",
  34819. "type": "string"
  34820. },
  34821. "provinceid": {
  34822. "description": "省",
  34823. "type": "integer"
  34824. },
  34825. "provincename": {
  34826. "description": "省名称",
  34827. "type": "string"
  34828. },
  34829. "suborgtype": {
  34830. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  34831. "type": "integer"
  34832. },
  34833. "userid": {
  34834. "description": "机构用户ID 其他做市关系,都设置为 1",
  34835. "type": "integer"
  34836. },
  34837. "username": {
  34838. "description": "机构用户名称(门店门称)",
  34839. "type": "string"
  34840. }
  34841. }
  34842. },
  34843. "models.QhjPickGoods": {
  34844. "type": "object",
  34845. "properties": {
  34846. "enumdicname": {
  34847. "description": "单位名称(提货商品)",
  34848. "type": "string"
  34849. },
  34850. "goodsid": {
  34851. "description": "商品id",
  34852. "type": "integer"
  34853. },
  34854. "imageaddress": {
  34855. "description": "图片",
  34856. "type": "string"
  34857. },
  34858. "modifierid": {
  34859. "description": "修改人",
  34860. "type": "integer"
  34861. },
  34862. "modifiername": {
  34863. "description": "修改人名称",
  34864. "type": "string"
  34865. },
  34866. "modifysrc": {
  34867. "description": "修改来源 - 1:管理端 2:终端",
  34868. "type": "integer"
  34869. },
  34870. "pickupgoodsagreeunit": {
  34871. "description": "合约乘数",
  34872. "type": "number"
  34873. },
  34874. "pickupgoodsdesc": {
  34875. "description": "描述",
  34876. "type": "string"
  34877. },
  34878. "pickupgoodsid": {
  34879. "description": "提货商品ID",
  34880. "type": "string"
  34881. },
  34882. "pickupgoodsname": {
  34883. "description": "提货商品名称",
  34884. "type": "string"
  34885. },
  34886. "pickupgoodsstatus": {
  34887. "description": "状态 - 1:正常 2:停用 3:注销",
  34888. "type": "integer"
  34889. },
  34890. "pickupgoodsunitid": {
  34891. "description": "单位ID",
  34892. "type": "integer"
  34893. },
  34894. "pickupratio": {
  34895. "description": "提货系数",
  34896. "type": "number"
  34897. },
  34898. "preparedays": {
  34899. "description": "备货期(天)",
  34900. "type": "integer"
  34901. },
  34902. "remark": {
  34903. "description": "备注",
  34904. "type": "string"
  34905. },
  34906. "updatetime": {
  34907. "description": "更新时间",
  34908. "type": "string"
  34909. }
  34910. }
  34911. },
  34912. "models.QhjRSTriggerLog": {
  34913. "type": "object",
  34914. "properties": {
  34915. "accountid": {
  34916. "description": "用户资金账户",
  34917. "type": "integer"
  34918. },
  34919. "accountname": {
  34920. "description": "账号名称(ACCOUNTID对应的名称)",
  34921. "type": "string"
  34922. },
  34923. "currencyid": {
  34924. "description": "币种id",
  34925. "type": "integer"
  34926. },
  34927. "currencyname": {
  34928. "description": "币种名称",
  34929. "type": "string"
  34930. },
  34931. "decimalplace": {
  34932. "description": "商品报价小数位",
  34933. "type": "integer"
  34934. },
  34935. "enumdicname": {
  34936. "description": "单位名称",
  34937. "type": "string"
  34938. },
  34939. "goodscode": {
  34940. "description": "定投商品代码",
  34941. "type": "string"
  34942. },
  34943. "goodsid": {
  34944. "description": "定投商品ID",
  34945. "type": "integer"
  34946. },
  34947. "goodsname": {
  34948. "description": "定投商品名称",
  34949. "type": "string"
  34950. },
  34951. "goodunitid": {
  34952. "description": "定投商品单位id",
  34953. "type": "integer"
  34954. },
  34955. "logid": {
  34956. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  34957. "type": "string"
  34958. },
  34959. "logincode": {
  34960. "description": "账号(登录代码)",
  34961. "type": "string"
  34962. },
  34963. "qtydecimalplace": {
  34964. "description": "成交量小数位",
  34965. "type": "integer"
  34966. },
  34967. "regularlycycle": {
  34968. "description": "定投频率 - 1:每周 2:每月",
  34969. "type": "integer"
  34970. },
  34971. "regularlycyclevalue": {
  34972. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  34973. "type": "string"
  34974. },
  34975. "regularlymode": {
  34976. "description": "定投方式 - 1:按数量 2:按金额",
  34977. "type": "integer"
  34978. },
  34979. "regularlymodevalue": {
  34980. "description": "定投方式值 - 数量或金额",
  34981. "type": "number"
  34982. },
  34983. "regularlystrategyid": {
  34984. "description": "定投策略ID",
  34985. "type": "integer"
  34986. },
  34987. "retcode": {
  34988. "description": "错误码",
  34989. "type": "string"
  34990. },
  34991. "tradeid": {
  34992. "description": "成交单ID",
  34993. "type": "string"
  34994. },
  34995. "triggeramount": {
  34996. "description": "触发金额",
  34997. "type": "number"
  34998. },
  34999. "triggerqty": {
  35000. "description": "触发数量",
  35001. "type": "number"
  35002. },
  35003. "triggerstatus": {
  35004. "description": "触发状态 - 1:成功 2:失败",
  35005. "type": "integer"
  35006. },
  35007. "triggertime": {
  35008. "description": "触发时间",
  35009. "type": "string"
  35010. },
  35011. "triggertradedate": {
  35012. "description": "触发交易日",
  35013. "type": "string"
  35014. },
  35015. "userid": {
  35016. "description": "所属用户ID",
  35017. "type": "integer"
  35018. },
  35019. "userinfotype": {
  35020. "description": "用户类型 1-个人 2-企业",
  35021. "type": "integer"
  35022. },
  35023. "username": {
  35024. "description": "用户名称(userid对应的名称)",
  35025. "type": "string"
  35026. }
  35027. }
  35028. },
  35029. "models.QhjRStrategy": {
  35030. "type": "object",
  35031. "properties": {
  35032. "accountid": {
  35033. "description": "用户资金账户",
  35034. "type": "integer"
  35035. },
  35036. "accountname": {
  35037. "description": "账号名称(ACCOUNTID对应的名称)",
  35038. "type": "string"
  35039. },
  35040. "currencyid": {
  35041. "description": "币种id",
  35042. "type": "integer"
  35043. },
  35044. "currencyname": {
  35045. "description": "币种名称",
  35046. "type": "string"
  35047. },
  35048. "decimalplace": {
  35049. "description": "商品报价小数位",
  35050. "type": "integer"
  35051. },
  35052. "enumdicname": {
  35053. "description": "单位名称",
  35054. "type": "string"
  35055. },
  35056. "goodscode": {
  35057. "description": "定投商品代码",
  35058. "type": "string"
  35059. },
  35060. "goodsid": {
  35061. "description": "定投商品ID",
  35062. "type": "integer"
  35063. },
  35064. "goodsname": {
  35065. "description": "定投商品名称",
  35066. "type": "string"
  35067. },
  35068. "goodunitid": {
  35069. "description": "定投商品单位id",
  35070. "type": "integer"
  35071. },
  35072. "lasteffecttradedate": {
  35073. "description": "最新生效交易日",
  35074. "type": "string"
  35075. },
  35076. "laststoptradedate": {
  35077. "description": "最新暂停交易日",
  35078. "type": "string"
  35079. },
  35080. "lasttriggertradedate": {
  35081. "description": "最新触发交易日",
  35082. "type": "string"
  35083. },
  35084. "logincode": {
  35085. "description": "账号(登录代码)",
  35086. "type": "string"
  35087. },
  35088. "nexttriggeramount": {
  35089. "description": "下次触发金额",
  35090. "type": "number"
  35091. },
  35092. "nexttriggerdate": {
  35093. "description": "下次触发日期",
  35094. "type": "string"
  35095. },
  35096. "nexttriggerqty": {
  35097. "description": "下次触发数量 [按小数位放大值]",
  35098. "type": "number"
  35099. },
  35100. "qtydecimalplace": {
  35101. "description": "成交量小数位",
  35102. "type": "integer"
  35103. },
  35104. "regularlycycle": {
  35105. "description": "定投频率 - 1:每周 2:每月",
  35106. "type": "integer"
  35107. },
  35108. "regularlycyclevalue": {
  35109. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  35110. "type": "string"
  35111. },
  35112. "regularlymode": {
  35113. "description": "定投方式 - 1:按数量 2:按金额",
  35114. "type": "integer"
  35115. },
  35116. "regularlymodevalue": {
  35117. "description": "定投方式值 - 数量或金额",
  35118. "type": "number"
  35119. },
  35120. "regularlystrategyid": {
  35121. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  35122. "type": "integer"
  35123. },
  35124. "regularlystrategystatus": {
  35125. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  35126. "type": "integer"
  35127. },
  35128. "remark": {
  35129. "description": "备注",
  35130. "type": "string"
  35131. },
  35132. "triggersuccesstimes": {
  35133. "description": "累计定投成功次数",
  35134. "type": "string"
  35135. },
  35136. "triggertotalamount": {
  35137. "description": "累计定投金额(成功)",
  35138. "type": "number"
  35139. },
  35140. "triggertotalqty": {
  35141. "description": "累计定投数量(成功) [按小数位放大值]",
  35142. "type": "number"
  35143. },
  35144. "triggertotaltimes": {
  35145. "description": "累计定投总次数",
  35146. "type": "string"
  35147. },
  35148. "updatesrc": {
  35149. "description": "更新来源 - 1:管理端 2:终端",
  35150. "type": "integer"
  35151. },
  35152. "updatetime": {
  35153. "description": "更新时间",
  35154. "type": "string"
  35155. },
  35156. "updatorid": {
  35157. "description": "更新人",
  35158. "type": "string"
  35159. },
  35160. "userid": {
  35161. "description": "所属用户ID",
  35162. "type": "integer"
  35163. },
  35164. "userinfotype": {
  35165. "description": "用户类型 1-个人 2-企业",
  35166. "type": "integer"
  35167. },
  35168. "username": {
  35169. "description": "用户名称(userid对应的名称)",
  35170. "type": "string"
  35171. }
  35172. }
  35173. },
  35174. "models.QhjReckonPriceLog": {
  35175. "type": "object",
  35176. "properties": {
  35177. "decimalplace": {
  35178. "description": "商品报价小数位",
  35179. "type": "integer"
  35180. },
  35181. "goodscode": {
  35182. "description": "商品代码",
  35183. "type": "string"
  35184. },
  35185. "goodsid": {
  35186. "description": "商品ID",
  35187. "type": "integer"
  35188. },
  35189. "goodsname": {
  35190. "description": "商品名称",
  35191. "type": "string"
  35192. },
  35193. "lastreckonprice": {
  35194. "description": "上日结算价",
  35195. "type": "number"
  35196. },
  35197. "nextdnlimitprice": {
  35198. "description": "下个交易日跌停价",
  35199. "type": "number"
  35200. },
  35201. "nexttrade": {
  35202. "description": "下个交易日",
  35203. "type": "string"
  35204. },
  35205. "nextuplimitprice": {
  35206. "description": "下个交易日涨停价",
  35207. "type": "number"
  35208. },
  35209. "reckonprice": {
  35210. "description": "今日结算价(定投价)",
  35211. "type": "number"
  35212. },
  35213. "reckontime": {
  35214. "description": "结算时间",
  35215. "type": "string"
  35216. },
  35217. "totalholderqty": {
  35218. "description": "总持仓数",
  35219. "type": "integer"
  35220. },
  35221. "totalstock": {
  35222. "description": "总库存",
  35223. "type": "integer"
  35224. },
  35225. "tradedate": {
  35226. "description": "交易日",
  35227. "type": "string"
  35228. },
  35229. "updowncount": {
  35230. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  35231. "type": "integer"
  35232. },
  35233. "updownflag": {
  35234. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  35235. "type": "integer"
  35236. },
  35237. "updownrate": {
  35238. "description": "今日涨跌幅",
  35239. "type": "number"
  35240. },
  35241. "updownrate_2d": {
  35242. "description": "连续两日涨跌幅",
  35243. "type": "number"
  35244. },
  35245. "updownrate_3d": {
  35246. "description": "连续三日涨跌幅",
  35247. "type": "number"
  35248. }
  35249. }
  35250. },
  35251. "models.QhjScoreLog": {
  35252. "type": "object",
  35253. "properties": {
  35254. "accountid": {
  35255. "description": "账户ID",
  35256. "type": "integer"
  35257. },
  35258. "createtime": {
  35259. "description": "创建时间(时间)",
  35260. "type": "string"
  35261. },
  35262. "goodsid": {
  35263. "description": "商品ID",
  35264. "type": "integer"
  35265. },
  35266. "hasuploaded": {
  35267. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  35268. "type": "integer"
  35269. },
  35270. "logid": {
  35271. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35272. "type": "string"
  35273. },
  35274. "marketid": {
  35275. "description": "市场ID",
  35276. "type": "integer"
  35277. },
  35278. "relatedamount": {
  35279. "description": "关联金额",
  35280. "type": "number"
  35281. },
  35282. "relatedorderid": {
  35283. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  35284. "type": "string"
  35285. },
  35286. "scoreconfigvalue1": {
  35287. "description": "积分配置1",
  35288. "type": "integer"
  35289. },
  35290. "scoreconfigvalue2": {
  35291. "description": "积分配置1",
  35292. "type": "integer"
  35293. },
  35294. "scoretype": {
  35295. "description": "积分类型 - 1:提货积分",
  35296. "type": "integer"
  35297. },
  35298. "scorevalue": {
  35299. "description": "积分",
  35300. "type": "number"
  35301. },
  35302. "tradedate": {
  35303. "description": "交易日(yyyyMMdd)",
  35304. "type": "string"
  35305. },
  35306. "uploadedtime": {
  35307. "description": "同步时间",
  35308. "type": "string"
  35309. },
  35310. "userid": {
  35311. "description": "用户ID",
  35312. "type": "integer"
  35313. }
  35314. }
  35315. },
  35316. "models.QhjSiteColumnDetail": {
  35317. "type": "object",
  35318. "properties": {
  35319. "author": {
  35320. "description": "作者",
  35321. "type": "string"
  35322. },
  35323. "brief": {
  35324. "description": "简介",
  35325. "type": "string"
  35326. },
  35327. "columnid": {
  35328. "description": "所属栏目",
  35329. "type": "integer"
  35330. },
  35331. "context": {
  35332. "description": "内容",
  35333. "type": "string"
  35334. },
  35335. "coverimage": {
  35336. "description": "封面图片",
  35337. "type": "string"
  35338. },
  35339. "creaedate": {
  35340. "description": "创建时间",
  35341. "type": "string"
  35342. },
  35343. "creatorid": {
  35344. "description": "创建人",
  35345. "type": "integer"
  35346. },
  35347. "hits": {
  35348. "description": "点击数",
  35349. "type": "integer"
  35350. },
  35351. "id": {
  35352. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  35353. "type": "integer"
  35354. },
  35355. "isshow": {
  35356. "description": "是否展示 - 0:不展示 1:展示",
  35357. "type": "integer"
  35358. },
  35359. "istop": {
  35360. "description": "是否置顶 - 0:不置 1:置顶",
  35361. "type": "integer"
  35362. },
  35363. "modifierid": {
  35364. "description": "操作人",
  35365. "type": "integer"
  35366. },
  35367. "publishdate": {
  35368. "description": "发布日期",
  35369. "type": "string"
  35370. },
  35371. "status": {
  35372. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  35373. "type": "integer"
  35374. },
  35375. "title": {
  35376. "description": "标题",
  35377. "type": "string"
  35378. },
  35379. "updatedate": {
  35380. "description": "修改时间",
  35381. "type": "string"
  35382. },
  35383. "userid": {
  35384. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  35385. "type": "integer"
  35386. },
  35387. "username": {
  35388. "description": "用户名称",
  35389. "type": "string"
  35390. }
  35391. }
  35392. },
  35393. "models.QhjTeamOrder": {
  35394. "type": "object",
  35395. "properties": {
  35396. "accountid": {
  35397. "description": "账户ID[报价币种]",
  35398. "type": "integer"
  35399. },
  35400. "accountname": {
  35401. "description": "账户名称",
  35402. "type": "string"
  35403. },
  35404. "agreeunit": {
  35405. "description": "合约乘数",
  35406. "type": "number"
  35407. },
  35408. "buyorsell": {
  35409. "description": "方向 - 0:买 1:卖",
  35410. "type": "integer"
  35411. },
  35412. "decimalplace": {
  35413. "description": "报价小数位",
  35414. "type": "integer"
  35415. },
  35416. "enumdicname": {
  35417. "description": "单位名称",
  35418. "type": "string"
  35419. },
  35420. "goodscode": {
  35421. "description": "商品代码(内部)",
  35422. "type": "string"
  35423. },
  35424. "goodsid": {
  35425. "description": "商品ID",
  35426. "type": "integer"
  35427. },
  35428. "goodsname": {
  35429. "description": "商品名称",
  35430. "type": "string"
  35431. },
  35432. "goodunitid": {
  35433. "description": "报价单位ID",
  35434. "type": "integer"
  35435. },
  35436. "marketid": {
  35437. "description": "市场ID",
  35438. "type": "integer"
  35439. },
  35440. "marketname": {
  35441. "description": "市场名称",
  35442. "type": "string"
  35443. },
  35444. "qtydecimalplace": {
  35445. "description": "成交量小数位",
  35446. "type": "integer"
  35447. },
  35448. "refereeuserid": {
  35449. "description": "推荐人ID",
  35450. "type": "integer"
  35451. },
  35452. "tradeamount": {
  35453. "description": "成交金额[账户币种,用于所有权]",
  35454. "type": "number"
  35455. },
  35456. "tradedate": {
  35457. "description": "交易日(yyyyMMdd)",
  35458. "type": "string"
  35459. },
  35460. "trademode": {
  35461. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  35462. "type": "integer"
  35463. },
  35464. "tradeprice": {
  35465. "description": "成交价格",
  35466. "type": "number"
  35467. },
  35468. "tradeqty": {
  35469. "description": "成交数量",
  35470. "type": "number"
  35471. },
  35472. "tradetime": {
  35473. "description": "成交时间",
  35474. "type": "string"
  35475. },
  35476. "userid": {
  35477. "description": "用户ID",
  35478. "type": "integer"
  35479. }
  35480. }
  35481. },
  35482. "models.QhjTradeGoodsPickup": {
  35483. "type": "object",
  35484. "properties": {
  35485. "accountid": {
  35486. "description": "账户ID",
  35487. "type": "integer"
  35488. },
  35489. "address": {
  35490. "description": "提货人详细地址",
  35491. "type": "string"
  35492. },
  35493. "amount": {
  35494. "description": "提货金额",
  35495. "type": "number"
  35496. },
  35497. "artradedate": {
  35498. "description": "自动收货交易日(yyyyMMdd)",
  35499. "type": "string"
  35500. },
  35501. "auditer": {
  35502. "description": "审核人",
  35503. "type": "integer"
  35504. },
  35505. "auditsrc": {
  35506. "description": "更新来源 - 1:管理端 2:终端",
  35507. "type": "integer"
  35508. },
  35509. "audittime": {
  35510. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  35511. "type": "string"
  35512. },
  35513. "audittradedate": {
  35514. "description": "审核交易日(yyyyMMdd)",
  35515. "type": "string"
  35516. },
  35517. "cardnum": {
  35518. "description": "提货人证件号码",
  35519. "type": "string"
  35520. },
  35521. "cardtypeid": {
  35522. "description": "提货人证件类型",
  35523. "type": "integer"
  35524. },
  35525. "checkremark": {
  35526. "description": "审核备注",
  35527. "type": "string"
  35528. },
  35529. "cityid": {
  35530. "description": "市",
  35531. "type": "integer"
  35532. },
  35533. "cityname": {
  35534. "description": "城市名称",
  35535. "type": "string"
  35536. },
  35537. "confirmtime": {
  35538. "description": "取货时间 或 收货时间",
  35539. "type": "string"
  35540. },
  35541. "countryid": {
  35542. "description": "国家",
  35543. "type": "integer"
  35544. },
  35545. "countryname": {
  35546. "description": "国家名称",
  35547. "type": "string"
  35548. },
  35549. "decimalplace": {
  35550. "description": "商品报价小数位",
  35551. "type": "integer"
  35552. },
  35553. "districtid": {
  35554. "description": "地区",
  35555. "type": "integer"
  35556. },
  35557. "districtname": {
  35558. "description": "地区名称",
  35559. "type": "string"
  35560. },
  35561. "enumdicname": {
  35562. "description": "单位名称(提货商品)",
  35563. "type": "string"
  35564. },
  35565. "expresscompany": {
  35566. "description": "物流公司",
  35567. "type": "string"
  35568. },
  35569. "expressnum": {
  35570. "description": "物流单号",
  35571. "type": "string"
  35572. },
  35573. "goodsagreeunit": {
  35574. "description": "交易商品乘数",
  35575. "type": "number"
  35576. },
  35577. "goodscode": {
  35578. "description": "商品代码",
  35579. "type": "string"
  35580. },
  35581. "goodsid": {
  35582. "description": "商品ID",
  35583. "type": "integer"
  35584. },
  35585. "goodsname": {
  35586. "description": "商品名称",
  35587. "type": "string"
  35588. },
  35589. "goodsqty": {
  35590. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  35591. "type": "number"
  35592. },
  35593. "handlestatus": {
  35594. "description": "处理状态",
  35595. "type": "integer"
  35596. },
  35597. "logincode": {
  35598. "description": "账号(登录代码, 有可能为空)",
  35599. "type": "string"
  35600. },
  35601. "marketid": {
  35602. "description": "市场ID",
  35603. "type": "integer"
  35604. },
  35605. "phonenum": {
  35606. "description": "提货人联系方式",
  35607. "type": "string"
  35608. },
  35609. "pickupgoodsagreeunit": {
  35610. "description": "提货商品合约乘数",
  35611. "type": "number"
  35612. },
  35613. "pickupgoodsid": {
  35614. "description": "提货商品ID",
  35615. "type": "string"
  35616. },
  35617. "pickupgoodsname": {
  35618. "description": "提货商品名称",
  35619. "type": "string"
  35620. },
  35621. "pickupgoodsqty": {
  35622. "description": "提货商品手数(数量)",
  35623. "type": "number"
  35624. },
  35625. "pickupgoodsunitid": {
  35626. "description": "单位ID(提货商品)",
  35627. "type": "integer"
  35628. },
  35629. "pickupratio": {
  35630. "description": "提货系数",
  35631. "type": "number"
  35632. },
  35633. "preparedays": {
  35634. "description": "备货期(天)-提货单明细表",
  35635. "type": "integer"
  35636. },
  35637. "provinceid": {
  35638. "description": "省",
  35639. "type": "integer"
  35640. },
  35641. "provincename": {
  35642. "description": "省名称",
  35643. "type": "string"
  35644. },
  35645. "qty": {
  35646. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  35647. "type": "number"
  35648. },
  35649. "qtydecimalplace": {
  35650. "description": "商品数量小数位",
  35651. "type": "integer"
  35652. },
  35653. "recivername": {
  35654. "description": "提货人姓名",
  35655. "type": "string"
  35656. },
  35657. "reqtime": {
  35658. "description": "提货申请时间",
  35659. "type": "string"
  35660. },
  35661. "storeuserid": {
  35662. "description": "门店用户ID (千海金)",
  35663. "type": "integer"
  35664. },
  35665. "storeusername": {
  35666. "description": "门店用户名称",
  35667. "type": "string"
  35668. },
  35669. "takemode": {
  35670. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  35671. "type": "integer"
  35672. },
  35673. "takeorderid": {
  35674. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  35675. "type": "string"
  35676. },
  35677. "takeorderstatus": {
  35678. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  35679. "type": "integer"
  35680. },
  35681. "takeremark": {
  35682. "description": "提货备注",
  35683. "type": "string"
  35684. },
  35685. "tradedate": {
  35686. "description": "交易日(yyyyMMdd)",
  35687. "type": "string"
  35688. },
  35689. "updatetime": {
  35690. "description": "更新时间",
  35691. "type": "string"
  35692. },
  35693. "userid": {
  35694. "description": "用户ID",
  35695. "type": "integer"
  35696. },
  35697. "userinfotype": {
  35698. "description": "客户类型 1-个人 2-企业",
  35699. "type": "integer"
  35700. },
  35701. "username": {
  35702. "description": "用户名称",
  35703. "type": "string"
  35704. }
  35705. }
  35706. },
  35707. "models.QhjUserNodeCfgAndStatus": {
  35708. "type": "object",
  35709. "properties": {
  35710. "agreementcontent": {
  35711. "description": "协议内容",
  35712. "type": "string"
  35713. },
  35714. "agreementid": {
  35715. "description": "协议ID",
  35716. "type": "integer"
  35717. },
  35718. "agreementname": {
  35719. "description": "协议名称",
  35720. "type": "string"
  35721. },
  35722. "agreementno": {
  35723. "description": "协议编号",
  35724. "type": "string"
  35725. },
  35726. "agreementtype": {
  35727. "description": "协议类型 - 1:注册 2:登录 3:交易",
  35728. "type": "integer"
  35729. },
  35730. "agreementversion": {
  35731. "description": "协议版本号",
  35732. "type": "integer"
  35733. },
  35734. "configid": {
  35735. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  35736. "type": "integer"
  35737. },
  35738. "createtime": {
  35739. "description": "创建时间",
  35740. "type": "string"
  35741. },
  35742. "goodsid": {
  35743. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  35744. "type": "integer"
  35745. },
  35746. "nodetype": {
  35747. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  35748. "type": "integer"
  35749. },
  35750. "signtimestamp": {
  35751. "description": "签约状态时间戳(最近一次)",
  35752. "type": "string"
  35753. },
  35754. "tradedate": {
  35755. "description": "签约交易日(yyyyMMdd)",
  35756. "type": "string"
  35757. },
  35758. "userid": {
  35759. "description": "客户ID",
  35760. "type": "integer"
  35761. }
  35762. }
  35763. },
  35764. "models.Qhjgoodsex": {
  35765. "type": "object",
  35766. "properties": {
  35767. "canfinance": {
  35768. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  35769. "type": "integer"
  35770. },
  35771. "canregularlybuy": {
  35772. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  35773. "type": "integer"
  35774. },
  35775. "defaulttradeuserid": {
  35776. "description": "默认交易用户ID",
  35777. "type": "integer"
  35778. },
  35779. "deliverygoodsid": {
  35780. "description": "现货品种ID",
  35781. "type": "integer"
  35782. },
  35783. "goodsid": {
  35784. "description": "商品ID(自增ID SEQ_GOODS)",
  35785. "type": "integer"
  35786. },
  35787. "minamount": {
  35788. "description": "最小购买金额",
  35789. "type": "number"
  35790. },
  35791. "regularlybuyminamount": {
  35792. "description": "定投最小金额",
  35793. "type": "number"
  35794. },
  35795. "regularlybuyminqty": {
  35796. "description": "定投最小数量",
  35797. "type": "number"
  35798. },
  35799. "spotgoodsbrandid": {
  35800. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  35801. "type": "integer"
  35802. },
  35803. "visibilityforenterprise": {
  35804. "description": "企业客户是否可见 - 0:不可见 1:可见",
  35805. "type": "integer"
  35806. },
  35807. "visibilityforpersonal": {
  35808. "description": "个人客户是否可见 - 0:不可见 1:可见",
  35809. "type": "integer"
  35810. },
  35811. "wrstandardid": {
  35812. "description": "现货商品ID",
  35813. "type": "integer"
  35814. }
  35815. }
  35816. },
  35817. "models.QueryErrorInfosRsp": {
  35818. "type": "object",
  35819. "required": [
  35820. "errorid"
  35821. ],
  35822. "properties": {
  35823. "description": {
  35824. "description": "异常描述",
  35825. "type": "string"
  35826. },
  35827. "errorcode": {
  35828. "description": "异常代码",
  35829. "type": "string"
  35830. },
  35831. "errorid": {
  35832. "description": "异常ID",
  35833. "type": "integer"
  35834. },
  35835. "modulecode": {
  35836. "description": "所属模块",
  35837. "type": "string"
  35838. },
  35839. "operatecode": {
  35840. "description": "所属操作",
  35841. "type": "string"
  35842. },
  35843. "rownumber": {
  35844. "description": "行号",
  35845. "type": "string"
  35846. }
  35847. }
  35848. },
  35849. "models.QueryHedgeOrderDetailRsp": {
  35850. "type": "object",
  35851. "properties": {
  35852. "accountid": {
  35853. "description": "账户ID",
  35854. "type": "integer"
  35855. },
  35856. "buyorsell": {
  35857. "description": "买卖 - 0:买 1:卖",
  35858. "type": "integer"
  35859. },
  35860. "cancellogincode": {
  35861. "description": "撤单人",
  35862. "type": "string"
  35863. },
  35864. "channelbuildtype": {
  35865. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  35866. "type": "integer"
  35867. },
  35868. "channelinnerorderstatus": {
  35869. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  35870. "type": "integer"
  35871. },
  35872. "channeloperatetype": {
  35873. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  35874. "type": "integer"
  35875. },
  35876. "closetype": {
  35877. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  35878. "type": "integer"
  35879. },
  35880. "curexchangerate": {
  35881. "description": "当前汇率",
  35882. "type": "number"
  35883. },
  35884. "decimalplace": {
  35885. "description": "商品报价小数位",
  35886. "type": "integer"
  35887. },
  35888. "exchangefullname": {
  35889. "description": "外部交易所全称",
  35890. "type": "string"
  35891. },
  35892. "goodscode": {
  35893. "description": "商品代码(内部)",
  35894. "type": "string"
  35895. },
  35896. "goodsid": {
  35897. "description": "商品ID",
  35898. "type": "integer"
  35899. },
  35900. "goodsname": {
  35901. "description": "商品名称",
  35902. "type": "string"
  35903. },
  35904. "marketid": {
  35905. "description": "市场ID",
  35906. "type": "integer"
  35907. },
  35908. "openfreezemargin": {
  35909. "description": "冻结保证金(冻结交易金额)",
  35910. "type": "number"
  35911. },
  35912. "orderid": {
  35913. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35914. "type": "string"
  35915. },
  35916. "orderlogincode": {
  35917. "description": "委托人",
  35918. "type": "string"
  35919. },
  35920. "orderprice": {
  35921. "description": "委托价格(账户)",
  35922. "type": "number"
  35923. },
  35924. "orderqty": {
  35925. "description": "委托数量",
  35926. "type": "integer"
  35927. },
  35928. "ordertime": {
  35929. "description": "委托时间",
  35930. "type": "string"
  35931. },
  35932. "pricemode": {
  35933. "description": "取价方式 - 1:市价 2: 限价",
  35934. "type": "integer"
  35935. },
  35936. "tradedate": {
  35937. "description": "交易日(yyyyMMdd)",
  35938. "type": "string"
  35939. },
  35940. "tradeqty": {
  35941. "description": "成交数量",
  35942. "type": "integer"
  35943. }
  35944. }
  35945. },
  35946. "models.QueryHedgeTradeDetailRsp": {
  35947. "type": "object",
  35948. "properties": {
  35949. "accountid": {
  35950. "description": "账号ID",
  35951. "type": "integer"
  35952. },
  35953. "buyorsell": {
  35954. "description": "方向 - 0:买 1:卖",
  35955. "type": "integer"
  35956. },
  35957. "channelbuildtype": {
  35958. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  35959. "type": "integer"
  35960. },
  35961. "closecharge": {
  35962. "description": "平仓手续费(账户)",
  35963. "type": "number"
  35964. },
  35965. "closecharge2": {
  35966. "description": "平仓手续费(商品)",
  35967. "type": "number"
  35968. },
  35969. "closepl": {
  35970. "description": "平仓盈亏(账户)",
  35971. "type": "number"
  35972. },
  35973. "closepl2": {
  35974. "description": "平仓盈亏(商品)",
  35975. "type": "number"
  35976. },
  35977. "closepl3": {
  35978. "description": "平仓盈亏(账户)(逐笔)",
  35979. "type": "number"
  35980. },
  35981. "closepl4": {
  35982. "description": "平仓盈亏(商品)(逐笔)",
  35983. "type": "number"
  35984. },
  35985. "closetype": {
  35986. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  35987. "type": "integer"
  35988. },
  35989. "curexchangerate": {
  35990. "description": "当前汇率",
  35991. "type": "number"
  35992. },
  35993. "decimalplace": {
  35994. "description": "商品报价小数位",
  35995. "type": "integer"
  35996. },
  35997. "exchangefullname": {
  35998. "description": "外部交易所全称",
  35999. "type": "string"
  36000. },
  36001. "goodscode": {
  36002. "description": "商品代码(内部)",
  36003. "type": "string"
  36004. },
  36005. "goodsid": {
  36006. "description": "商品ID",
  36007. "type": "integer"
  36008. },
  36009. "goodsname": {
  36010. "description": "商品名称",
  36011. "type": "string"
  36012. },
  36013. "marketid": {
  36014. "description": "市场ID",
  36015. "type": "integer"
  36016. },
  36017. "opencharge": {
  36018. "description": "建仓手续费(账户)",
  36019. "type": "number"
  36020. },
  36021. "opencharge2": {
  36022. "description": "建仓手续费(商品)",
  36023. "type": "number"
  36024. },
  36025. "orderid": {
  36026. "description": "委托单号",
  36027. "type": "string"
  36028. },
  36029. "orderlogincode": {
  36030. "description": "委托人",
  36031. "type": "string"
  36032. },
  36033. "tradeamount": {
  36034. "description": "成交金额(账户)",
  36035. "type": "number"
  36036. },
  36037. "tradedate": {
  36038. "description": "交易日(yyyyMMdd)",
  36039. "type": "string"
  36040. },
  36041. "tradeid": {
  36042. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36043. "type": "string"
  36044. },
  36045. "tradeprice": {
  36046. "description": "成交价格",
  36047. "type": "number"
  36048. },
  36049. "tradeqty": {
  36050. "description": "成交数量",
  36051. "type": "integer"
  36052. },
  36053. "tradetime": {
  36054. "description": "成交时间",
  36055. "type": "string"
  36056. },
  36057. "tradetype": {
  36058. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  36059. "type": "integer"
  36060. }
  36061. }
  36062. },
  36063. "models.QuotePrimaryMenu": {
  36064. "type": "object",
  36065. "properties": {
  36066. "Index": {
  36067. "description": "序号",
  36068. "type": "integer"
  36069. },
  36070. "Key": {
  36071. "description": "键名",
  36072. "type": "string"
  36073. },
  36074. "Name": {
  36075. "description": "菜单名称",
  36076. "type": "string"
  36077. },
  36078. "SubMenus": {
  36079. "description": "子菜单",
  36080. "type": "array",
  36081. "items": {
  36082. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  36083. }
  36084. },
  36085. "SubTitleType": {
  36086. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  36087. "type": "integer"
  36088. },
  36089. "TradeModes": {
  36090. "description": "包含市场交易类型",
  36091. "type": "string"
  36092. }
  36093. }
  36094. },
  36095. "models.QuoteSecondaryMenu": {
  36096. "type": "object",
  36097. "properties": {
  36098. "ExExchangeCode": {
  36099. "description": "外部交易所代码",
  36100. "type": "string"
  36101. },
  36102. "ExExchangeID": {
  36103. "description": "外部交易所ID",
  36104. "type": "integer"
  36105. },
  36106. "GoodsGroupIDs": {
  36107. "description": "商品组ID列表",
  36108. "type": "array",
  36109. "items": {
  36110. "type": "integer"
  36111. }
  36112. },
  36113. "Index": {
  36114. "description": "序号",
  36115. "type": "integer"
  36116. },
  36117. "MarketID": {
  36118. "description": "市场ID",
  36119. "type": "integer"
  36120. },
  36121. "MenuTitle": {
  36122. "description": "菜单标题(市场名称或外部交易所名称)",
  36123. "type": "string"
  36124. },
  36125. "TradeMode": {
  36126. "description": "交易模式",
  36127. "type": "integer"
  36128. }
  36129. }
  36130. },
  36131. "models.RelatedTaAccount": {
  36132. "type": "object",
  36133. "properties": {
  36134. "accountid": {
  36135. "description": "资金账户ID",
  36136. "type": "integer"
  36137. }
  36138. }
  36139. },
  36140. "models.RoleMenu": {
  36141. "type": "object",
  36142. "properties": {
  36143. "hasright": {
  36144. "description": "是否有权限 0-没有权限 1-有权限",
  36145. "type": "integer"
  36146. },
  36147. "iconame": {
  36148. "description": "菜单图标",
  36149. "type": "string"
  36150. },
  36151. "menutype": {
  36152. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  36153. "type": "integer"
  36154. },
  36155. "parentcode": {
  36156. "description": "上级资源代码",
  36157. "type": "string"
  36158. },
  36159. "remark": {
  36160. "description": "菜单备注",
  36161. "type": "string"
  36162. },
  36163. "resourcecode": {
  36164. "description": "菜单代码",
  36165. "type": "string"
  36166. },
  36167. "resourcelevel": {
  36168. "description": "级别",
  36169. "type": "integer"
  36170. },
  36171. "resourcename": {
  36172. "description": "菜单名称",
  36173. "type": "string"
  36174. },
  36175. "roleid": {
  36176. "description": "角色id",
  36177. "type": "integer"
  36178. },
  36179. "sort": {
  36180. "description": "排序",
  36181. "type": "integer"
  36182. },
  36183. "subMenu": {
  36184. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  36185. "type": "array",
  36186. "items": {
  36187. "$ref": "#/definitions/models.RoleMenu"
  36188. }
  36189. },
  36190. "url": {
  36191. "description": "URL",
  36192. "type": "string"
  36193. },
  36194. "userid": {
  36195. "description": "用户id",
  36196. "type": "integer"
  36197. }
  36198. }
  36199. },
  36200. "models.SearchGoods": {
  36201. "type": "object",
  36202. "required": [
  36203. "goodscode",
  36204. "goodsid",
  36205. "goodsname",
  36206. "marketid",
  36207. "trademode"
  36208. ],
  36209. "properties": {
  36210. "goodscode": {
  36211. "description": "商品代码(内部)",
  36212. "type": "string"
  36213. },
  36214. "goodsid": {
  36215. "description": "商品ID(自增ID SEQ_GOODS)",
  36216. "type": "integer"
  36217. },
  36218. "goodsname": {
  36219. "description": "商品名称",
  36220. "type": "string"
  36221. },
  36222. "marketid": {
  36223. "description": "所属市场ID",
  36224. "type": "integer"
  36225. },
  36226. "marketname": {
  36227. "description": "市场名称",
  36228. "type": "string"
  36229. },
  36230. "trademode": {
  36231. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  36232. "type": "integer"
  36233. }
  36234. }
  36235. },
  36236. "models.Systemparam": {
  36237. "type": "object",
  36238. "required": [
  36239. "paramcode"
  36240. ],
  36241. "properties": {
  36242. "loginid": {
  36243. "description": "更新用户账号,登录账号",
  36244. "type": "string"
  36245. },
  36246. "modifyflag": {
  36247. "description": "修改标志0 不允许修改 1 允许修改",
  36248. "type": "integer"
  36249. },
  36250. "paramcode": {
  36251. "description": "参数代码",
  36252. "type": "string"
  36253. },
  36254. "paramname": {
  36255. "description": "参数名",
  36256. "type": "string"
  36257. },
  36258. "paramtype": {
  36259. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  36260. "type": "integer"
  36261. },
  36262. "paramvalue": {
  36263. "description": "参数值",
  36264. "type": "string"
  36265. },
  36266. "paramvalue2": {
  36267. "description": "参数值(CLOB)",
  36268. "type": "string"
  36269. },
  36270. "regexpress": {
  36271. "description": "正则表达式",
  36272. "type": "string"
  36273. },
  36274. "remark": {
  36275. "description": "备注",
  36276. "type": "string"
  36277. },
  36278. "serverip": {
  36279. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  36280. "type": "string"
  36281. },
  36282. "showflag": {
  36283. "description": "是否显示0 不显示 1 显示",
  36284. "type": "integer"
  36285. },
  36286. "updatetime": {
  36287. "description": "更新时间",
  36288. "type": "string"
  36289. },
  36290. "userid": {
  36291. "description": "更新用户ID",
  36292. "type": "integer"
  36293. }
  36294. }
  36295. },
  36296. "models.Szdz3convertconfig": {
  36297. "type": "object",
  36298. "required": [
  36299. "converttype",
  36300. "innergoodsid",
  36301. "outergoodscode"
  36302. ],
  36303. "properties": {
  36304. "canin": {
  36305. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  36306. "type": "integer"
  36307. },
  36308. "canout": {
  36309. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  36310. "type": "integer"
  36311. },
  36312. "converttype": {
  36313. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  36314. "type": "integer"
  36315. },
  36316. "createtime": {
  36317. "description": "创建时间",
  36318. "type": "string"
  36319. },
  36320. "creatorid": {
  36321. "description": "创建人",
  36322. "type": "integer"
  36323. },
  36324. "daymaxvalue": {
  36325. "description": "当日最大转入限制",
  36326. "type": "number"
  36327. },
  36328. "freezedays": {
  36329. "description": "冻结天数 [5:花生米转交易]",
  36330. "type": "integer"
  36331. },
  36332. "innergoodsid": {
  36333. "description": "内部商品ID[交易]",
  36334. "type": "integer"
  36335. },
  36336. "inratio": {
  36337. "description": "目标值",
  36338. "type": "integer"
  36339. },
  36340. "modifierid": {
  36341. "description": "修改人",
  36342. "type": "integer"
  36343. },
  36344. "modifytime": {
  36345. "description": "修改时间",
  36346. "type": "string"
  36347. },
  36348. "outergoodscode": {
  36349. "description": "外部商品代码[JD\\PD]",
  36350. "type": "string"
  36351. },
  36352. "outratio": {
  36353. "description": "源值",
  36354. "type": "integer"
  36355. },
  36356. "pddecimalplace": {
  36357. "description": "PD小数位",
  36358. "type": "integer"
  36359. },
  36360. "timemaxvalue": {
  36361. "description": "单次最大转入限制",
  36362. "type": "number"
  36363. },
  36364. "timeminvalue": {
  36365. "description": "单次最小转入限制",
  36366. "type": "number"
  36367. }
  36368. }
  36369. },
  36370. "models.Szdz3searchwhitelist": {
  36371. "type": "object",
  36372. "required": [
  36373. "userid"
  36374. ],
  36375. "properties": {
  36376. "createtime": {
  36377. "description": "创建时间",
  36378. "type": "string"
  36379. },
  36380. "creatorid": {
  36381. "description": "创建人",
  36382. "type": "integer"
  36383. },
  36384. "modifierid": {
  36385. "description": "修改人",
  36386. "type": "integer"
  36387. },
  36388. "modifytime": {
  36389. "description": "修改时间",
  36390. "type": "string"
  36391. },
  36392. "userid": {
  36393. "description": "用户ID",
  36394. "type": "integer"
  36395. }
  36396. }
  36397. },
  36398. "models.TBGoods": {
  36399. "type": "object",
  36400. "properties": {
  36401. "agreeunit": {
  36402. "description": "合约乘数",
  36403. "type": "number"
  36404. },
  36405. "enumdicname": {
  36406. "description": "单位名称",
  36407. "type": "string"
  36408. },
  36409. "goodscode": {
  36410. "description": "商品代码(内部)",
  36411. "type": "string"
  36412. },
  36413. "goodsid": {
  36414. "description": "商品ID(自增ID SEQ_GOODS)",
  36415. "type": "integer"
  36416. },
  36417. "goodsname": {
  36418. "description": "商品名称",
  36419. "type": "string"
  36420. }
  36421. }
  36422. },
  36423. "models.TBGoodsGroup": {
  36424. "type": "object",
  36425. "properties": {
  36426. "GDLST": {
  36427. "description": "商品列表",
  36428. "type": "array",
  36429. "items": {
  36430. "$ref": "#/definitions/models.TBGoods"
  36431. }
  36432. },
  36433. "convertratio": {
  36434. "description": "折算系数",
  36435. "type": "number"
  36436. },
  36437. "enumdicname": {
  36438. "description": "单位名称",
  36439. "type": "string"
  36440. },
  36441. "exexchangecode": {
  36442. "description": "交易所代码",
  36443. "type": "string"
  36444. },
  36445. "exexchangename": {
  36446. "description": "交易所名称",
  36447. "type": "string"
  36448. },
  36449. "goodsgroupid": {
  36450. "description": "商品组ID(自增ID)",
  36451. "type": "integer"
  36452. },
  36453. "goodsgroupname": {
  36454. "description": "商品组名称",
  36455. "type": "string"
  36456. },
  36457. "goodunitid": {
  36458. "description": "报价单位ID",
  36459. "type": "integer"
  36460. }
  36461. }
  36462. },
  36463. "models.TBMiddleGoods": {
  36464. "type": "object",
  36465. "properties": {
  36466. "GPLST": {
  36467. "description": "期货品种列表",
  36468. "type": "array",
  36469. "items": {
  36470. "$ref": "#/definitions/models.TBGoodsGroup"
  36471. }
  36472. },
  36473. "WDLST": {
  36474. "description": "商品信息列表(现货品类)",
  36475. "type": "array",
  36476. "items": {
  36477. "$ref": "#/definitions/models.TBWrstandard"
  36478. }
  36479. },
  36480. "areauserid": {
  36481. "description": "机构用户ID",
  36482. "type": "integer"
  36483. },
  36484. "enumdicname": {
  36485. "description": "单位名称",
  36486. "type": "string"
  36487. },
  36488. "goodsunitid": {
  36489. "description": "套保品种单位id",
  36490. "type": "integer"
  36491. },
  36492. "middlegoodscode": {
  36493. "description": "套保品种代码",
  36494. "type": "string"
  36495. },
  36496. "middlegoodsid": {
  36497. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  36498. "type": "integer"
  36499. },
  36500. "middlegoodsname": {
  36501. "description": "套保品种名称",
  36502. "type": "string"
  36503. },
  36504. "needarbitrageratio": {
  36505. "description": "套利比率",
  36506. "type": "number"
  36507. },
  36508. "needhedgeratio": {
  36509. "description": "套保比率",
  36510. "type": "number"
  36511. }
  36512. }
  36513. },
  36514. "models.TBWrstandard": {
  36515. "type": "object",
  36516. "properties": {
  36517. "convertratio": {
  36518. "description": "折算系数",
  36519. "type": "number"
  36520. },
  36521. "deliverygoodsname": {
  36522. "description": "品种名称",
  36523. "type": "string"
  36524. },
  36525. "enumdicname": {
  36526. "description": "单位名称",
  36527. "type": "string"
  36528. },
  36529. "vatrate": {
  36530. "description": "增值税率",
  36531. "type": "number"
  36532. },
  36533. "wrstandardcode": {
  36534. "description": "现货商品代码",
  36535. "type": "string"
  36536. },
  36537. "wrstandardid": {
  36538. "description": "现货商品ID(SEQ_WRSTANDARD)",
  36539. "type": "integer"
  36540. },
  36541. "wrstandardname": {
  36542. "description": "现货商品名称",
  36543. "type": "string"
  36544. }
  36545. }
  36546. },
  36547. "models.Taaccount": {
  36548. "type": "object",
  36549. "required": [
  36550. "accountid",
  36551. "userid"
  36552. ],
  36553. "properties": {
  36554. "accountflag": {
  36555. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  36556. "type": "integer"
  36557. },
  36558. "accountid": {
  36559. "description": "资金账户ID",
  36560. "type": "integer"
  36561. },
  36562. "accountname": {
  36563. "description": "账户名称",
  36564. "type": "string"
  36565. },
  36566. "balance": {
  36567. "description": "期初余额",
  36568. "type": "number"
  36569. },
  36570. "capitalbalance": {
  36571. "description": "本金余额[外部子账户实际出入金余额]",
  36572. "type": "number"
  36573. },
  36574. "changeflag": {
  36575. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  36576. "type": "integer"
  36577. },
  36578. "changetime": {
  36579. "description": "账户状态变更时间",
  36580. "type": "string"
  36581. },
  36582. "closepl": {
  36583. "description": "今日平仓盈亏",
  36584. "type": "number"
  36585. },
  36586. "creditdecrease": {
  36587. "description": "今日授信减少",
  36588. "type": "number"
  36589. },
  36590. "creditincrease": {
  36591. "description": "今日授信增加",
  36592. "type": "number"
  36593. },
  36594. "curamount": {
  36595. "description": "总市值(从持仓中统计)",
  36596. "type": "number"
  36597. },
  36598. "currencyid": {
  36599. "description": "货币ID",
  36600. "type": "integer"
  36601. },
  36602. "currentbalance": {
  36603. "description": "期末余额",
  36604. "type": "number"
  36605. },
  36606. "freezecharge": {
  36607. "description": "手续费冻结",
  36608. "type": "number"
  36609. },
  36610. "freezemargin": {
  36611. "description": "冻结保证金",
  36612. "type": "number"
  36613. },
  36614. "fromaccountid": {
  36615. "description": "所属上级账户",
  36616. "type": "integer"
  36617. },
  36618. "inamount": {
  36619. "description": "今日入金金额(包括三方入金)",
  36620. "type": "number"
  36621. },
  36622. "ismain": {
  36623. "description": "是否母账号 0:不是母账户 1:是母账户",
  36624. "type": "integer"
  36625. },
  36626. "ismarketaccount": {
  36627. "description": "是否机构接单账号 0:不是 1:是",
  36628. "type": "integer"
  36629. },
  36630. "isreckonaccount": {
  36631. "description": "是否机构分润账号 0:不是 1:是",
  36632. "type": "integer"
  36633. },
  36634. "mortgagecredit": {
  36635. "description": "授信金额",
  36636. "type": "number"
  36637. },
  36638. "orifreezecharge": {
  36639. "description": "期初手续费冻结",
  36640. "type": "number"
  36641. },
  36642. "orifreezemargin": {
  36643. "description": "期初冻结保证金",
  36644. "type": "number"
  36645. },
  36646. "orimortgagecredit": {
  36647. "description": "期初授信金额",
  36648. "type": "number"
  36649. },
  36650. "oriothercredit": {
  36651. "description": "期初其它授信金额",
  36652. "type": "number"
  36653. },
  36654. "oriotherfreezemargin": {
  36655. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  36656. "type": "number"
  36657. },
  36658. "orioutamountfreeze": {
  36659. "description": "期初出金冻结",
  36660. "type": "number"
  36661. },
  36662. "oriusedmargin": {
  36663. "description": "期初占用保证金",
  36664. "type": "number"
  36665. },
  36666. "othercredit": {
  36667. "description": "其它授信金额",
  36668. "type": "number"
  36669. },
  36670. "othercreditdecrease": {
  36671. "description": "今日其它授信减少",
  36672. "type": "number"
  36673. },
  36674. "othercreditincrease": {
  36675. "description": "今日其它授信增加",
  36676. "type": "number"
  36677. },
  36678. "otherfreezemargin": {
  36679. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  36680. "type": "number"
  36681. },
  36682. "otherincome": {
  36683. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  36684. "type": "number"
  36685. },
  36686. "otherpay": {
  36687. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  36688. "type": "number"
  36689. },
  36690. "outamount": {
  36691. "description": "今日出金金额(包括三方出金)",
  36692. "type": "number"
  36693. },
  36694. "outamountfreeze": {
  36695. "description": "出金冻结",
  36696. "type": "number"
  36697. },
  36698. "outthreshold": {
  36699. "description": "出金阈值",
  36700. "type": "number"
  36701. },
  36702. "parentaccountid": {
  36703. "description": "所属根账号",
  36704. "type": "integer"
  36705. },
  36706. "paycharge": {
  36707. "description": "今日手续费支出",
  36708. "type": "number"
  36709. },
  36710. "relatedaccountstatus": {
  36711. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  36712. "type": "integer"
  36713. },
  36714. "relateduserid": {
  36715. "description": "关联用户",
  36716. "type": "integer"
  36717. },
  36718. "remainamount": {
  36719. "description": "融资额(从融资合同中统计)",
  36720. "type": "number"
  36721. },
  36722. "serivcegroup": {
  36723. "description": "服务分组",
  36724. "type": "integer"
  36725. },
  36726. "signstatus": {
  36727. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  36728. "type": "integer"
  36729. },
  36730. "sublevelpath": {
  36731. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  36732. "type": "string"
  36733. },
  36734. "taaccounttype": {
  36735. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  36736. "type": "integer"
  36737. },
  36738. "thirdinamount": {
  36739. "description": "今日三方入金",
  36740. "type": "number"
  36741. },
  36742. "thirdoutamount": {
  36743. "description": "今日三方出金",
  36744. "type": "number"
  36745. },
  36746. "tradestatus": {
  36747. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  36748. "type": "integer"
  36749. },
  36750. "tradestatuschangetime": {
  36751. "description": "激活时间",
  36752. "type": "string"
  36753. },
  36754. "transferamount": {
  36755. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  36756. "type": "number"
  36757. },
  36758. "usedmargin": {
  36759. "description": "占用保证金",
  36760. "type": "number"
  36761. },
  36762. "userid": {
  36763. "description": "用户ID",
  36764. "type": "integer"
  36765. }
  36766. }
  36767. },
  36768. "models.Tablecolumnconfig": {
  36769. "type": "object",
  36770. "required": [
  36771. "autoid"
  36772. ],
  36773. "properties": {
  36774. "aligntype": {
  36775. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  36776. "type": "integer"
  36777. },
  36778. "autoid": {
  36779. "description": "AutoID",
  36780. "type": "integer"
  36781. },
  36782. "columnfield": {
  36783. "description": "列字段",
  36784. "type": "string"
  36785. },
  36786. "columntitle": {
  36787. "description": "列Title",
  36788. "type": "string"
  36789. },
  36790. "columnwidth": {
  36791. "description": "列宽",
  36792. "type": "string"
  36793. },
  36794. "formatterstring": {
  36795. "description": "格式化字符",
  36796. "type": "string"
  36797. },
  36798. "formattertype": {
  36799. "description": "格式化类型",
  36800. "type": "string"
  36801. },
  36802. "groupname": {
  36803. "description": "表头分组名称",
  36804. "type": "string"
  36805. },
  36806. "isshow": {
  36807. "description": "是否显示 - 0:不显示 1:显示",
  36808. "type": "integer"
  36809. },
  36810. "needsummary": {
  36811. "description": "是否需要汇总 - 0:不需要 1:需要",
  36812. "type": "integer"
  36813. },
  36814. "orderindex": {
  36815. "description": "顺序",
  36816. "type": "integer"
  36817. },
  36818. "remark": {
  36819. "description": "备注",
  36820. "type": "string"
  36821. },
  36822. "summarytype": {
  36823. "description": "汇总类型 - 1:加总 2:最后一个",
  36824. "type": "integer"
  36825. },
  36826. "tablekey": {
  36827. "description": "列表Key",
  36828. "type": "string"
  36829. }
  36830. }
  36831. },
  36832. "models.TjmdHolderDetailTradeInfo": {
  36833. "type": "object",
  36834. "properties": {
  36835. "agreeunit": {
  36836. "description": "合约乘数",
  36837. "type": "number"
  36838. },
  36839. "buyaccountid": {
  36840. "description": "买方账户",
  36841. "type": "string"
  36842. },
  36843. "buyusername": {
  36844. "description": "买方",
  36845. "type": "string"
  36846. },
  36847. "delistingdate": {
  36848. "description": "最后结算日",
  36849. "type": "string"
  36850. },
  36851. "expiredate": {
  36852. "description": "到期结算价定价日",
  36853. "type": "string"
  36854. },
  36855. "exprieprice": {
  36856. "description": "到期清算价格",
  36857. "type": "string"
  36858. },
  36859. "goodscode": {
  36860. "description": "商品代码",
  36861. "type": "string"
  36862. },
  36863. "goodsid": {
  36864. "description": "商品ID",
  36865. "type": "integer"
  36866. },
  36867. "goodsname": {
  36868. "description": "商品名称(交易标的)",
  36869. "type": "string"
  36870. },
  36871. "lasttradedate": {
  36872. "description": "最后交易日",
  36873. "type": "string"
  36874. },
  36875. "listingdate": {
  36876. "description": "开始交易日",
  36877. "type": "string"
  36878. },
  36879. "openprice": {
  36880. "description": "成交价",
  36881. "type": "number"
  36882. },
  36883. "openqty": {
  36884. "description": "交易数量",
  36885. "type": "integer"
  36886. },
  36887. "sellaccountid": {
  36888. "description": "卖方账户",
  36889. "type": "string"
  36890. },
  36891. "sellusername": {
  36892. "description": "卖方",
  36893. "type": "string"
  36894. },
  36895. "tradeamount": {
  36896. "description": "初始名义价值",
  36897. "type": "number"
  36898. },
  36899. "tradedate": {
  36900. "description": "成交日期",
  36901. "type": "string"
  36902. },
  36903. "tradeid": {
  36904. "description": "成交编号",
  36905. "type": "string"
  36906. }
  36907. }
  36908. },
  36909. "models.TjmdMarketSection": {
  36910. "type": "object",
  36911. "properties": {
  36912. "marketsectionid": {
  36913. "description": "市场版块ID(SEQ_MARKETSECTION)",
  36914. "type": "integer"
  36915. },
  36916. "marketsectionname": {
  36917. "description": "市场版块名称",
  36918. "type": "string"
  36919. },
  36920. "mlist": {
  36921. "description": "市场列表(板块下面有多少个市场)",
  36922. "type": "array",
  36923. "items": {
  36924. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  36925. }
  36926. },
  36927. "orderindex": {
  36928. "description": "排序",
  36929. "type": "integer"
  36930. },
  36931. "pictureurl": {
  36932. "description": "图片url, 规格(90*90)",
  36933. "type": "string"
  36934. },
  36935. "remark": {
  36936. "description": "备注",
  36937. "type": "string"
  36938. }
  36939. }
  36940. },
  36941. "models.TjmdMarketSectionConfig": {
  36942. "type": "object",
  36943. "properties": {
  36944. "auctionwrtype": {
  36945. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  36946. "type": "integer"
  36947. },
  36948. "canacceptquote": {
  36949. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  36950. "type": "integer"
  36951. },
  36952. "cangoodsexercise": {
  36953. "description": "[期权]是否可现货行权- 0:否 1:是",
  36954. "type": "integer"
  36955. },
  36956. "cangoodsexercisetype": {
  36957. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  36958. "type": "integer"
  36959. },
  36960. "canmanualquotestrike": {
  36961. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  36962. "type": "integer"
  36963. },
  36964. "canmutistage": {
  36965. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  36966. "type": "integer"
  36967. },
  36968. "canpreexercise": {
  36969. "description": "[期权]是否可预申报- 0:否 1:是",
  36970. "type": "integer"
  36971. },
  36972. "clearinterval": {
  36973. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  36974. "type": "integer"
  36975. },
  36976. "contracttmp": {
  36977. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  36978. "type": "string"
  36979. },
  36980. "exchareaid": {
  36981. "description": "所属交易所,可以没有",
  36982. "type": "integer"
  36983. },
  36984. "financemarketid": {
  36985. "description": "融资回购市场ID [仓单贸易]",
  36986. "type": "integer"
  36987. },
  36988. "goodstype": {
  36989. "description": "商品类型 - 1:交易商品 2:仓单商品",
  36990. "type": "integer"
  36991. },
  36992. "hasrebate": {
  36993. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  36994. "type": "integer"
  36995. },
  36996. "hastradecredit": {
  36997. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  36998. "type": "integer"
  36999. },
  37000. "haswr": {
  37001. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  37002. "type": "integer"
  37003. },
  37004. "isdeductmargin": {
  37005. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  37006. "type": "integer"
  37007. },
  37008. "isrecordsource": {
  37009. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  37010. "type": "integer"
  37011. },
  37012. "isreleasemargin": {
  37013. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  37014. "type": "integer"
  37015. },
  37016. "isupdatereckonprice": {
  37017. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  37018. "type": "integer"
  37019. },
  37020. "listingmode": {
  37021. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  37022. "type": "integer"
  37023. },
  37024. "marginformula": {
  37025. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  37026. "type": "integer"
  37027. },
  37028. "marginformula2": {
  37029. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  37030. "type": "integer"
  37031. },
  37032. "marketid": {
  37033. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  37034. "type": "integer"
  37035. },
  37036. "marketname": {
  37037. "description": "市场名称",
  37038. "type": "string"
  37039. },
  37040. "marketsectionid": {
  37041. "description": "市场版块ID(SEQ_MARKETSECTION)",
  37042. "type": "integer"
  37043. },
  37044. "marketserviceid": {
  37045. "description": "市场服务ID",
  37046. "type": "integer"
  37047. },
  37048. "marketstatus": {
  37049. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  37050. "type": "integer"
  37051. },
  37052. "markettype": {
  37053. "description": "市场类型- 1:非交易服务 2:交易服务",
  37054. "type": "integer"
  37055. },
  37056. "matchermode": {
  37057. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  37058. "type": "integer"
  37059. },
  37060. "nowrquotaflag": {
  37061. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  37062. "type": "integer"
  37063. },
  37064. "openmethod": {
  37065. "description": "开盘模式 - 0 自动 1手动",
  37066. "type": "integer"
  37067. },
  37068. "orderindex": {
  37069. "description": "排序",
  37070. "type": "integer"
  37071. },
  37072. "otcuserid": {
  37073. "description": "场外期权做市商[场外期权]",
  37074. "type": "integer"
  37075. },
  37076. "outersynctime": {
  37077. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  37078. "type": "string"
  37079. },
  37080. "paylaterflag": {
  37081. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  37082. "type": "integer"
  37083. },
  37084. "pendingflag": {
  37085. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  37086. "type": "integer"
  37087. },
  37088. "pendingtime": {
  37089. "description": "待开市时间[通道交易-对冲](HH:mm)",
  37090. "type": "string"
  37091. },
  37092. "performancetempid": {
  37093. "description": "履约计划模板ID - 作废",
  37094. "type": "integer"
  37095. },
  37096. "premiumquotemode": {
  37097. "description": "权利金报价方式 - 1:自动 2:手动",
  37098. "type": "integer"
  37099. },
  37100. "rebateratio": {
  37101. "description": "返利比率[竞价式]",
  37102. "type": "number"
  37103. },
  37104. "reckonorder": {
  37105. "description": "结算顺序",
  37106. "type": "integer"
  37107. },
  37108. "reckonpricealgorithm": {
  37109. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  37110. "type": "integer"
  37111. },
  37112. "reckonpriceparam": {
  37113. "description": "结算价参数",
  37114. "type": "integer"
  37115. },
  37116. "reckontime": {
  37117. "description": "结算时间[通道交易-对冲](HH:mm)",
  37118. "type": "string"
  37119. },
  37120. "roleprioritytype": {
  37121. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  37122. "type": "integer"
  37123. },
  37124. "selllistingauditflag": {
  37125. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  37126. "type": "integer"
  37127. },
  37128. "trademarkettype": {
  37129. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  37130. "type": "integer"
  37131. },
  37132. "trademode": {
  37133. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  37134. "type": "integer"
  37135. },
  37136. "tradeproperty": {
  37137. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  37138. "type": "integer"
  37139. },
  37140. "tradetype": {
  37141. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  37142. "type": "integer"
  37143. },
  37144. "updatereckonpriceinterval": {
  37145. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  37146. "type": "integer"
  37147. }
  37148. }
  37149. },
  37150. "models.TjmdQuoteGoods": {
  37151. "type": "object",
  37152. "properties": {
  37153. "buyqty": {
  37154. "description": "买量(暂不做, 无值, 保留字段)",
  37155. "type": "number"
  37156. },
  37157. "decimalplace": {
  37158. "description": "报价小数位",
  37159. "type": "integer"
  37160. },
  37161. "goodscode": {
  37162. "description": "合约代码",
  37163. "type": "string"
  37164. },
  37165. "goodsgroupid": {
  37166. "description": "商品组ID(自增ID)",
  37167. "type": "integer"
  37168. },
  37169. "goodsgroupname": {
  37170. "description": "商品组名称",
  37171. "type": "string"
  37172. },
  37173. "goodsid": {
  37174. "description": "合约id",
  37175. "type": "integer"
  37176. },
  37177. "goodsname": {
  37178. "description": "合约名称",
  37179. "type": "string"
  37180. },
  37181. "refgoodscode": {
  37182. "description": "标的合约代码",
  37183. "type": "string"
  37184. },
  37185. "refgoodsid": {
  37186. "description": "标的合约id",
  37187. "type": "integer"
  37188. },
  37189. "refgoodsname": {
  37190. "description": "标的合约名称",
  37191. "type": "string"
  37192. },
  37193. "sellqty": {
  37194. "description": "卖量(暂不做, 无值, 保留字段)",
  37195. "type": "number"
  37196. }
  37197. }
  37198. },
  37199. "models.TjmdTodayAccountMargin": {
  37200. "type": "object",
  37201. "properties": {
  37202. "accountid": {
  37203. "description": "账号ID",
  37204. "type": "integer"
  37205. },
  37206. "goodsid": {
  37207. "description": "商品ID",
  37208. "type": "integer"
  37209. },
  37210. "infoc": {
  37211. "description": "配置参数",
  37212. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  37213. },
  37214. "marketid": {
  37215. "description": "市场ID",
  37216. "type": "integer"
  37217. }
  37218. }
  37219. },
  37220. "models.TjmdTradeOrderDetail": {
  37221. "type": "object",
  37222. "properties": {
  37223. "buyorsell": {
  37224. "description": "买卖方向 0-买 1-卖",
  37225. "type": "integer"
  37226. },
  37227. "goodsid": {
  37228. "description": "商品id",
  37229. "type": "integer"
  37230. },
  37231. "marketmaxsub": {
  37232. "description": "市价最大偏移范围 [浮动价 - 点差]",
  37233. "type": "number"
  37234. },
  37235. "orderid": {
  37236. "description": "委托单号",
  37237. "type": "string"
  37238. },
  37239. "orderprice": {
  37240. "description": "委托价格",
  37241. "type": "number"
  37242. },
  37243. "orderqty": {
  37244. "description": "委托数量",
  37245. "type": "integer"
  37246. },
  37247. "pricemode": {
  37248. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  37249. "type": "integer"
  37250. },
  37251. "userid": {
  37252. "description": "用户id",
  37253. "type": "integer"
  37254. },
  37255. "username": {
  37256. "description": "用户名称(已脱敏)",
  37257. "type": "string"
  37258. }
  37259. }
  37260. },
  37261. "models.TjmdTransferApply": {
  37262. "type": "object",
  37263. "properties": {
  37264. "applyid": {
  37265. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  37266. "type": "integer"
  37267. },
  37268. "applystatus": {
  37269. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  37270. "type": "integer"
  37271. },
  37272. "applytime": {
  37273. "description": "申请时间(时间)",
  37274. "type": "string"
  37275. },
  37276. "auditremark": {
  37277. "description": "审核备注(拒绝原因?)",
  37278. "type": "string"
  37279. },
  37280. "begindate": {
  37281. "description": "开始交易日(yyyymmdd)",
  37282. "type": "string"
  37283. },
  37284. "buyorsell": {
  37285. "description": "买卖 - 0:买 1:卖",
  37286. "type": "integer"
  37287. },
  37288. "enddate": {
  37289. "description": "结束交易日(yyyymmdd)",
  37290. "type": "string"
  37291. },
  37292. "goodscode": {
  37293. "description": "商品代码",
  37294. "type": "string"
  37295. },
  37296. "goodsid": {
  37297. "description": "商品ID",
  37298. "type": "integer"
  37299. },
  37300. "goodsname": {
  37301. "description": "商品名称",
  37302. "type": "string"
  37303. },
  37304. "marketid": {
  37305. "description": "市场ID",
  37306. "type": "integer"
  37307. },
  37308. "qty": {
  37309. "description": "转让数量(数量)",
  37310. "type": "number"
  37311. },
  37312. "tradeid": {
  37313. "description": "成交单号(关联持仓)",
  37314. "type": "string"
  37315. },
  37316. "transferamount": {
  37317. "description": "转让总金额(金额)",
  37318. "type": "number"
  37319. },
  37320. "transferprice": {
  37321. "description": "转让价格(协议价格)",
  37322. "type": "number"
  37323. }
  37324. }
  37325. },
  37326. "models.TradeHolderDetail": {
  37327. "type": "object",
  37328. "properties": {
  37329. "accountid": {
  37330. "description": "账号ID",
  37331. "type": "integer"
  37332. },
  37333. "agreeunit": {
  37334. "description": "合约乘数",
  37335. "type": "number"
  37336. },
  37337. "buyorsell": {
  37338. "description": "方向 - 0:买 1:卖",
  37339. "type": "integer"
  37340. },
  37341. "currencyid": {
  37342. "description": "商品币种id",
  37343. "type": "integer"
  37344. },
  37345. "currencyname": {
  37346. "description": "币种名称",
  37347. "type": "string"
  37348. },
  37349. "decimalplace": {
  37350. "description": "商品价格小数位",
  37351. "type": "integer"
  37352. },
  37353. "enumdicname": {
  37354. "description": "商品单位名称",
  37355. "type": "string"
  37356. },
  37357. "expirecycle": {
  37358. "description": "行权周期(天) - 1:滚动行权时填写",
  37359. "type": "integer"
  37360. },
  37361. "expiredate": {
  37362. "description": "行权日(yyyyMMdd) - 到期日",
  37363. "type": "string"
  37364. },
  37365. "expiretype": {
  37366. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  37367. "type": "integer"
  37368. },
  37369. "freezeqty": {
  37370. "description": "冻结数量",
  37371. "type": "number"
  37372. },
  37373. "goodscode": {
  37374. "description": "商品代码",
  37375. "type": "string"
  37376. },
  37377. "goodsid": {
  37378. "description": "商品ID",
  37379. "type": "integer"
  37380. },
  37381. "goodsname": {
  37382. "description": "商品名称",
  37383. "type": "string"
  37384. },
  37385. "goodunitid": {
  37386. "description": "商品单位id",
  37387. "type": "integer"
  37388. },
  37389. "holderamount": {
  37390. "description": "持仓金额",
  37391. "type": "number"
  37392. },
  37393. "holdercredit": {
  37394. "description": "持仓授信金额",
  37395. "type": "number"
  37396. },
  37397. "holderdays": {
  37398. "description": "剩余冻结天数",
  37399. "type": "integer"
  37400. },
  37401. "holderprice": {
  37402. "description": "持仓价格",
  37403. "type": "number"
  37404. },
  37405. "holderqty": {
  37406. "description": "持仓数量",
  37407. "type": "number"
  37408. },
  37409. "isconfirmexercise": {
  37410. "description": "是否确认行权- 0:否 1:是",
  37411. "type": "integer"
  37412. },
  37413. "ispreexercise": {
  37414. "description": "是否预申报- 0:否 1:是 2:不可行权",
  37415. "type": "integer"
  37416. },
  37417. "marketid": {
  37418. "description": "市场id",
  37419. "type": "integer"
  37420. },
  37421. "marketname": {
  37422. "description": "市场名称",
  37423. "type": "string"
  37424. },
  37425. "openprice": {
  37426. "description": "建仓价格",
  37427. "type": "number"
  37428. },
  37429. "openqty": {
  37430. "description": "建仓数量",
  37431. "type": "number"
  37432. },
  37433. "optiontype": {
  37434. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37435. "type": "integer"
  37436. },
  37437. "preexerciseprice": {
  37438. "description": "预申报价格",
  37439. "type": "number"
  37440. },
  37441. "premium": {
  37442. "description": "权利金",
  37443. "type": "number"
  37444. },
  37445. "qtydecimalplace": {
  37446. "description": "商品成交量小数位",
  37447. "type": "integer"
  37448. },
  37449. "refgoodscode": {
  37450. "description": "标的合约代码",
  37451. "type": "string"
  37452. },
  37453. "refgoodsid": {
  37454. "description": "标的合约id",
  37455. "type": "integer"
  37456. },
  37457. "releaseamount": {
  37458. "description": "释放持仓金额",
  37459. "type": "number"
  37460. },
  37461. "releaseholdercredit": {
  37462. "description": "释放持仓授信金额",
  37463. "type": "number"
  37464. },
  37465. "taname": {
  37466. "description": "资金账号名称",
  37467. "type": "string"
  37468. },
  37469. "tradeamount": {
  37470. "description": "成交金额",
  37471. "type": "number"
  37472. },
  37473. "tradedate": {
  37474. "description": "交易日(yyyyMMdd)",
  37475. "type": "string"
  37476. },
  37477. "tradeid": {
  37478. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37479. "type": "string"
  37480. },
  37481. "trademode": {
  37482. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  37483. "type": "integer"
  37484. },
  37485. "tradeproperty": {
  37486. "description": "交易属性",
  37487. "type": "integer"
  37488. },
  37489. "tradetime": {
  37490. "description": "交易时间",
  37491. "type": "string"
  37492. },
  37493. "userid": {
  37494. "description": "用户id",
  37495. "type": "integer"
  37496. },
  37497. "username": {
  37498. "description": "用户名称",
  37499. "type": "string"
  37500. }
  37501. }
  37502. },
  37503. "models.Unlinkermcphedgeplan": {
  37504. "type": "object",
  37505. "required": [
  37506. "areauserid"
  37507. ],
  37508. "properties": {
  37509. "accountid": {
  37510. "description": "期货账户ID - 作废",
  37511. "type": "integer"
  37512. },
  37513. "accountname": {
  37514. "description": "交易用户",
  37515. "type": "string"
  37516. },
  37517. "applyid": {
  37518. "description": "申请人",
  37519. "type": "integer"
  37520. },
  37521. "applysrc": {
  37522. "description": "申请来源 - 1:管理端 2:终端",
  37523. "type": "integer"
  37524. },
  37525. "applytime": {
  37526. "description": "申请时间",
  37527. "type": "string"
  37528. },
  37529. "areauserid": {
  37530. "description": "[企业ID]机构ID",
  37531. "type": "integer"
  37532. },
  37533. "auditid": {
  37534. "description": "审核人",
  37535. "type": "integer"
  37536. },
  37537. "auditremark": {
  37538. "description": "审核备注",
  37539. "type": "string"
  37540. },
  37541. "auditsrc": {
  37542. "description": "审核来源 - 1:管理端 2:终端",
  37543. "type": "integer"
  37544. },
  37545. "audittime": {
  37546. "description": "审核时间",
  37547. "type": "string"
  37548. },
  37549. "audittradedate": {
  37550. "description": "审核交易日(yyyyMMdd)",
  37551. "type": "string"
  37552. },
  37553. "biztype": {
  37554. "description": "业务类型 - 1:套保",
  37555. "type": "integer"
  37556. },
  37557. "contracttype": {
  37558. "description": "计划类型 - 1:采购 -1:销售",
  37559. "type": "integer"
  37560. },
  37561. "convertfactor": {
  37562. "description": "标仓系数 - 作废",
  37563. "type": "number"
  37564. },
  37565. "createtime": {
  37566. "description": "创建时间",
  37567. "type": "string"
  37568. },
  37569. "currencyid": {
  37570. "description": "结算币种ID - 作废",
  37571. "type": "integer"
  37572. },
  37573. "deliverygoodsid": {
  37574. "description": "现货品种ID",
  37575. "type": "integer"
  37576. },
  37577. "enumdicname": {
  37578. "description": "结算币种",
  37579. "type": "string"
  37580. },
  37581. "hedgeplanid": {
  37582. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  37583. "type": "string"
  37584. },
  37585. "hedgeplanno": {
  37586. "description": "[计划编号]套保计划编号,模糊查询",
  37587. "type": "string"
  37588. },
  37589. "hedgeplanstatus": {
  37590. "description": "[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  37591. "type": "integer"
  37592. },
  37593. "isrelated": {
  37594. "description": "是否已关联计划项目 - 0:否 1:是",
  37595. "type": "integer"
  37596. },
  37597. "planqty": {
  37598. "description": "[计划量]计划数量",
  37599. "type": "number"
  37600. },
  37601. "plantime": {
  37602. "description": "计划时间",
  37603. "type": "string"
  37604. },
  37605. "producttype": {
  37606. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  37607. "type": "integer"
  37608. },
  37609. "remark": {
  37610. "description": "备注",
  37611. "type": "string"
  37612. },
  37613. "spotgoodsdesc": {
  37614. "description": "商品型号",
  37615. "type": "string"
  37616. },
  37617. "tradedate": {
  37618. "description": "交易日(yyyyMMdd)",
  37619. "type": "string"
  37620. },
  37621. "tradeuserid": {
  37622. "description": "交易用户ID",
  37623. "type": "integer"
  37624. },
  37625. "updatetime": {
  37626. "description": "更新时间",
  37627. "type": "string"
  37628. },
  37629. "wrstandardid": {
  37630. "description": "现货商品ID",
  37631. "type": "integer"
  37632. },
  37633. "wrstandardname": {
  37634. "description": "现货商品,模糊查询",
  37635. "type": "string"
  37636. }
  37637. }
  37638. },
  37639. "models.UserCollectConfig": {
  37640. "type": "object",
  37641. "properties": {
  37642. "accountstatus": {
  37643. "description": "账户状态 - 1:正常 2:停用 3:注销",
  37644. "type": "integer"
  37645. },
  37646. "collectaccountname": {
  37647. "description": "收款人账户名称",
  37648. "type": "string"
  37649. },
  37650. "collectaccountno": {
  37651. "description": "收款人账户",
  37652. "type": "string"
  37653. },
  37654. "collectbankname": {
  37655. "description": "收款人开户行",
  37656. "type": "string"
  37657. },
  37658. "collectbranchbankname": {
  37659. "description": "收款人开户支行",
  37660. "type": "string"
  37661. },
  37662. "collectconfigid": {
  37663. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  37664. "type": "string"
  37665. },
  37666. "remark": {
  37667. "description": "备注",
  37668. "type": "string"
  37669. },
  37670. "userid": {
  37671. "description": "收款人用户ID",
  37672. "type": "integer"
  37673. }
  37674. }
  37675. },
  37676. "models.UserReceiveInfo": {
  37677. "type": "object",
  37678. "properties": {
  37679. "address": {
  37680. "description": "提货人详细地址",
  37681. "type": "string"
  37682. },
  37683. "autoid": {
  37684. "description": "AutoID",
  37685. "type": "integer"
  37686. },
  37687. "cardnum": {
  37688. "description": "证件号码(加密存储)",
  37689. "type": "string"
  37690. },
  37691. "cardtypeid": {
  37692. "description": "证件类型",
  37693. "type": "integer"
  37694. },
  37695. "cityid": {
  37696. "description": "市",
  37697. "type": "integer"
  37698. },
  37699. "cityname": {
  37700. "description": "城市名称",
  37701. "type": "string"
  37702. },
  37703. "countryid": {
  37704. "description": "国家",
  37705. "type": "integer"
  37706. },
  37707. "countryname": {
  37708. "description": "国家名称",
  37709. "type": "string"
  37710. },
  37711. "districtid": {
  37712. "description": "地区",
  37713. "type": "integer"
  37714. },
  37715. "districtname": {
  37716. "description": "地区名称",
  37717. "type": "string"
  37718. },
  37719. "hasencrypt": {
  37720. "description": "数据是否已加密 - 0:未加密 1:已加密",
  37721. "type": "integer"
  37722. },
  37723. "isdefault": {
  37724. "description": "是否默认地址 - 0:否 1:是",
  37725. "type": "integer"
  37726. },
  37727. "phonenum": {
  37728. "description": "提货人联系方式(加密存储)",
  37729. "type": "string"
  37730. },
  37731. "provinceid": {
  37732. "description": "省",
  37733. "type": "integer"
  37734. },
  37735. "provincename": {
  37736. "description": "省名称",
  37737. "type": "string"
  37738. },
  37739. "receivername": {
  37740. "description": "提货人姓名",
  37741. "type": "string"
  37742. },
  37743. "takeremark": {
  37744. "description": "提货备注",
  37745. "type": "string"
  37746. },
  37747. "userid": {
  37748. "description": "用户ID",
  37749. "type": "integer"
  37750. }
  37751. }
  37752. },
  37753. "models.Useraccount": {
  37754. "type": "object",
  37755. "required": [
  37756. "userid"
  37757. ],
  37758. "properties": {
  37759. "accountname": {
  37760. "description": "账户名称(机构名称)",
  37761. "type": "string"
  37762. },
  37763. "accountstatus": {
  37764. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  37765. "type": "integer"
  37766. },
  37767. "applysrc": {
  37768. "description": "申请来源 - 1:管理端 2:终端",
  37769. "type": "integer"
  37770. },
  37771. "auditremark": {
  37772. "description": "审核备注",
  37773. "type": "string"
  37774. },
  37775. "auditsrc": {
  37776. "description": "审核来源 - 1:管理端 2:终端",
  37777. "type": "integer"
  37778. },
  37779. "audittime": {
  37780. "description": "审核时间",
  37781. "type": "string"
  37782. },
  37783. "audituserid": {
  37784. "description": "审核人",
  37785. "type": "integer"
  37786. },
  37787. "broker": {
  37788. "description": "所属经纪人ID",
  37789. "type": "integer"
  37790. },
  37791. "canceltime": {
  37792. "description": "销户时间",
  37793. "type": "string"
  37794. },
  37795. "canceluserid": {
  37796. "description": "销户人",
  37797. "type": "integer"
  37798. },
  37799. "canrecommend": {
  37800. "description": "是否可推荐 - 0:不可 1;可",
  37801. "type": "integer"
  37802. },
  37803. "createtime": {
  37804. "description": "创建时间",
  37805. "type": "string"
  37806. },
  37807. "creatorid": {
  37808. "description": "创建人",
  37809. "type": "integer"
  37810. },
  37811. "hasauth": {
  37812. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  37813. "type": "integer"
  37814. },
  37815. "isanonymous": {
  37816. "description": "是否匿名下单 - 0:否 1:是",
  37817. "type": "integer"
  37818. },
  37819. "maxinvestornum": {
  37820. "description": "最大用户数(经纪会员下投资者个数)",
  37821. "type": "integer"
  37822. },
  37823. "memberuserid": {
  37824. "description": "所属会员ID",
  37825. "type": "integer"
  37826. },
  37827. "modifierid": {
  37828. "description": "修改人",
  37829. "type": "integer"
  37830. },
  37831. "modifyremark": {
  37832. "description": "变更备注",
  37833. "type": "string"
  37834. },
  37835. "modifystatus": {
  37836. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  37837. "type": "integer"
  37838. },
  37839. "modifytime": {
  37840. "description": "修改时间",
  37841. "type": "string"
  37842. },
  37843. "parenttopuser": {
  37844. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  37845. "type": "string"
  37846. },
  37847. "parentuserid": {
  37848. "description": "所属机构ID",
  37849. "type": "integer"
  37850. },
  37851. "reckonaccountid": {
  37852. "description": "默认结算资金账号ID(机构分润使用) 作废",
  37853. "type": "integer"
  37854. },
  37855. "refercount": {
  37856. "description": "推荐总人数",
  37857. "type": "integer"
  37858. },
  37859. "refereeuserid": {
  37860. "description": "推荐人ID",
  37861. "type": "integer"
  37862. },
  37863. "refernum": {
  37864. "description": "推荐码",
  37865. "type": "string"
  37866. },
  37867. "rootuserid": {
  37868. "description": "根用户ID",
  37869. "type": "integer"
  37870. },
  37871. "subaccountlevel": {
  37872. "description": "子账户层数",
  37873. "type": "integer"
  37874. },
  37875. "subarealevelpath": {
  37876. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  37877. "type": "string"
  37878. },
  37879. "userid": {
  37880. "description": "用户ID",
  37881. "type": "integer"
  37882. },
  37883. "usertype": {
  37884. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  37885. "type": "integer"
  37886. }
  37887. }
  37888. },
  37889. "models.Userfavoritegoods": {
  37890. "type": "object",
  37891. "required": [
  37892. "goodsid"
  37893. ],
  37894. "properties": {
  37895. "goodsid": {
  37896. "description": "商品ID",
  37897. "type": "integer"
  37898. }
  37899. }
  37900. },
  37901. "models.Userinfo": {
  37902. "type": "object",
  37903. "required": [
  37904. "userid"
  37905. ],
  37906. "properties": {
  37907. "address": {
  37908. "description": "地址",
  37909. "type": "string"
  37910. },
  37911. "attachment1": {
  37912. "description": "附件1",
  37913. "type": "string"
  37914. },
  37915. "attachment2": {
  37916. "description": "附件2",
  37917. "type": "string"
  37918. },
  37919. "bankaccount": {
  37920. "description": "银行帐号 (加密存储)",
  37921. "type": "string"
  37922. },
  37923. "bankaccountname": {
  37924. "description": "收款人名称",
  37925. "type": "string"
  37926. },
  37927. "bankcardfrontphotourl": {
  37928. "description": "银行卡正面照地址",
  37929. "type": "string"
  37930. },
  37931. "bankid": {
  37932. "description": "银行编码",
  37933. "type": "string"
  37934. },
  37935. "bankname": {
  37936. "description": "银行名称",
  37937. "type": "string"
  37938. },
  37939. "biznature": {
  37940. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  37941. "type": "integer"
  37942. },
  37943. "bizscope": {
  37944. "description": "企业经营范围(企业)",
  37945. "type": "string"
  37946. },
  37947. "cardbackphotourl": {
  37948. "description": "证件背面图片地址",
  37949. "type": "string"
  37950. },
  37951. "cardfrontphotourl": {
  37952. "description": "证件正面图片地址",
  37953. "type": "string"
  37954. },
  37955. "cardnum": {
  37956. "description": "证件号码(加密存储)",
  37957. "type": "string"
  37958. },
  37959. "cardtypeid": {
  37960. "description": "证件类型ID",
  37961. "type": "integer"
  37962. },
  37963. "cityid": {
  37964. "description": "市",
  37965. "type": "integer"
  37966. },
  37967. "company": {
  37968. "description": "公司(个人)",
  37969. "type": "string"
  37970. },
  37971. "contactname": {
  37972. "description": "联系人",
  37973. "type": "string"
  37974. },
  37975. "countryid": {
  37976. "description": "国家",
  37977. "type": "integer"
  37978. },
  37979. "createtime": {
  37980. "description": "创建时间",
  37981. "type": "string"
  37982. },
  37983. "creatorid": {
  37984. "description": "创建人",
  37985. "type": "integer"
  37986. },
  37987. "customername": {
  37988. "description": "客户名称(企业名称)",
  37989. "type": "string"
  37990. },
  37991. "districtid": {
  37992. "description": "地区",
  37993. "type": "integer"
  37994. },
  37995. "email": {
  37996. "description": "邮件(加密存储)",
  37997. "type": "string"
  37998. },
  37999. "fax": {
  38000. "description": "传真(加密存储)",
  38001. "type": "string"
  38002. },
  38003. "halfbodyphotourl": {
  38004. "description": "半身照地址",
  38005. "type": "string"
  38006. },
  38007. "hasencrypt": {
  38008. "description": "数据是否已加密 - 0:未加密 1:已加密",
  38009. "type": "integer"
  38010. },
  38011. "headurl": {
  38012. "description": "头像地址",
  38013. "type": "string"
  38014. },
  38015. "legalcardbackphotourl": {
  38016. "description": "法人身份证背面照地址",
  38017. "type": "string"
  38018. },
  38019. "legalcardfrontphotourl": {
  38020. "description": "法人身份证正面照地址",
  38021. "type": "string"
  38022. },
  38023. "legalpersonname": {
  38024. "description": "法人姓名(企业)",
  38025. "type": "string"
  38026. },
  38027. "mobile": {
  38028. "description": "手机号码(加密存储)",
  38029. "type": "string"
  38030. },
  38031. "mobile2": {
  38032. "description": "手机号码[明文-尚志]",
  38033. "type": "string"
  38034. },
  38035. "modifierid": {
  38036. "description": "修改人",
  38037. "type": "integer"
  38038. },
  38039. "modifiertime": {
  38040. "description": "修改时间",
  38041. "type": "string"
  38042. },
  38043. "needinvoice": {
  38044. "description": "是否需要发票 - 0:不需要 1:需要",
  38045. "type": "integer"
  38046. },
  38047. "nickname": {
  38048. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  38049. "type": "string"
  38050. },
  38051. "openmode": {
  38052. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  38053. "type": "integer"
  38054. },
  38055. "otherurl": {
  38056. "description": "其它图片地址[使用分号分隔]",
  38057. "type": "string"
  38058. },
  38059. "postalcode": {
  38060. "description": "邮政编码",
  38061. "type": "string"
  38062. },
  38063. "provinceid": {
  38064. "description": "省",
  38065. "type": "integer"
  38066. },
  38067. "qq": {
  38068. "description": "QQ(加密存储",
  38069. "type": "string"
  38070. },
  38071. "remark": {
  38072. "description": "备注",
  38073. "type": "string"
  38074. },
  38075. "sex": {
  38076. "description": "用户性别 0: 女 1: 男",
  38077. "type": "integer"
  38078. },
  38079. "signpdfurl": {
  38080. "description": "签约pdf文件",
  38081. "type": "string"
  38082. },
  38083. "telphone": {
  38084. "description": "联系电话(加密存储)",
  38085. "type": "string"
  38086. },
  38087. "userid": {
  38088. "description": "用户ID",
  38089. "type": "integer"
  38090. },
  38091. "userinfotype": {
  38092. "description": "用户信息类型 - 1:个人 2:企业",
  38093. "type": "integer"
  38094. },
  38095. "userstatus": {
  38096. "description": "用户状态 - 1:正常 2:注销",
  38097. "type": "integer"
  38098. },
  38099. "usertype": {
  38100. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  38101. "type": "integer"
  38102. },
  38103. "wechat": {
  38104. "description": "微信(加密存储)",
  38105. "type": "string"
  38106. },
  38107. "wskhinfo": {
  38108. "description": "开户申请信息(JSON)",
  38109. "type": "string"
  38110. }
  38111. }
  38112. },
  38113. "models.WRSConverTDetail": {
  38114. "type": "object",
  38115. "properties": {
  38116. "convertratio": {
  38117. "description": "套保系数",
  38118. "type": "number"
  38119. },
  38120. "deliverygoodscode": {
  38121. "description": "现货商品代码",
  38122. "type": "string"
  38123. },
  38124. "deliverygoodsid": {
  38125. "description": "现货品种ID",
  38126. "type": "integer"
  38127. },
  38128. "deliverygoodsname": {
  38129. "description": "现货商品名称",
  38130. "type": "string"
  38131. },
  38132. "enumdicname": {
  38133. "description": "单位名称",
  38134. "type": "string"
  38135. },
  38136. "goodsunitid": {
  38137. "description": "套保品种单位id",
  38138. "type": "integer"
  38139. },
  38140. "middlegoodscode": {
  38141. "description": "套保品种代码",
  38142. "type": "string"
  38143. },
  38144. "middlegoodsid": {
  38145. "description": "套保品种ID",
  38146. "type": "integer"
  38147. },
  38148. "middlegoodsname": {
  38149. "description": "套保品种名称",
  38150. "type": "string"
  38151. },
  38152. "modifytime": {
  38153. "description": "修改时间",
  38154. "type": "string"
  38155. },
  38156. "wrstandardid": {
  38157. "description": "品类ID",
  38158. "type": "integer"
  38159. }
  38160. }
  38161. },
  38162. "models.WRStandardInfo": {
  38163. "type": "object",
  38164. "required": [
  38165. "wrstandardid"
  38166. ],
  38167. "properties": {
  38168. "areauserid": {
  38169. "description": "所属机构",
  38170. "type": "integer"
  38171. },
  38172. "convertfactor": {
  38173. "description": "标仓系数",
  38174. "type": "number"
  38175. },
  38176. "createtime": {
  38177. "description": "创建时间",
  38178. "type": "string"
  38179. },
  38180. "creatorid": {
  38181. "description": "创建人",
  38182. "type": "integer"
  38183. },
  38184. "deliverygoodsid": {
  38185. "description": "品种ID",
  38186. "type": "integer"
  38187. },
  38188. "deliverygoodsname": {
  38189. "description": "交割商品名称",
  38190. "type": "string"
  38191. },
  38192. "factoryitemjson": {
  38193. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  38194. "type": "string"
  38195. },
  38196. "isvalid": {
  38197. "description": "是否有效 - 0:无效 1:有效",
  38198. "type": "integer"
  38199. },
  38200. "minivalue": {
  38201. "description": "最小变动值",
  38202. "type": "integer"
  38203. },
  38204. "minivaluedp": {
  38205. "description": "最小变动值小数位",
  38206. "type": "integer"
  38207. },
  38208. "realminivalue": {
  38209. "description": "实际最小变动值",
  38210. "type": "integer"
  38211. },
  38212. "realminivaluedp": {
  38213. "description": "实际最小变动值小数位",
  38214. "type": "integer"
  38215. },
  38216. "remark": {
  38217. "description": "备注",
  38218. "type": "string"
  38219. },
  38220. "unitid": {
  38221. "description": "单位ID",
  38222. "type": "integer"
  38223. },
  38224. "unitname": {
  38225. "description": "单位",
  38226. "type": "string"
  38227. },
  38228. "updatetime": {
  38229. "description": "更新时间",
  38230. "type": "string"
  38231. },
  38232. "updatorid": {
  38233. "description": "更新人",
  38234. "type": "integer"
  38235. },
  38236. "wrsstatus": {
  38237. "description": "状态 - 作废 - 0:未激活 1:正常",
  38238. "type": "integer"
  38239. },
  38240. "wrstandardcode": {
  38241. "description": "现货品类代码",
  38242. "type": "string"
  38243. },
  38244. "wrstandardid": {
  38245. "description": "现货品类ID(SEQ_WRSTANDARD)",
  38246. "type": "integer"
  38247. },
  38248. "wrstandardname": {
  38249. "description": "现货品类名称",
  38250. "type": "string"
  38251. }
  38252. }
  38253. },
  38254. "models.WRTradeBargainApply": {
  38255. "type": "object",
  38256. "properties": {
  38257. "accountid": {
  38258. "description": "摘牌资金账号",
  38259. "type": "integer"
  38260. },
  38261. "applyprice": {
  38262. "description": "申请价格(议价价格)",
  38263. "type": "string"
  38264. },
  38265. "applyqty": {
  38266. "description": "摘牌数量(议价数量)",
  38267. "type": "number"
  38268. },
  38269. "applyremark": {
  38270. "description": "申请备注",
  38271. "type": "string"
  38272. },
  38273. "applystatus": {
  38274. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  38275. "type": "integer"
  38276. },
  38277. "applytime": {
  38278. "description": "申请时间(议价时间)",
  38279. "type": "string"
  38280. },
  38281. "begindate": {
  38282. "description": "开始交易日(yyyymmdd)",
  38283. "type": "string"
  38284. },
  38285. "buyorsell": {
  38286. "description": "买卖(挂牌类型) - 0:买 1:卖",
  38287. "type": "integer"
  38288. },
  38289. "confirmremark": {
  38290. "description": "确认备注",
  38291. "type": "string"
  38292. },
  38293. "confirmtime": {
  38294. "description": "确认时间",
  38295. "type": "string"
  38296. },
  38297. "confirmuserid": {
  38298. "description": "确认人",
  38299. "type": "integer"
  38300. },
  38301. "deliverygoodscode": {
  38302. "description": "品种代码",
  38303. "type": "string"
  38304. },
  38305. "deliverygoodsid": {
  38306. "description": "品种ID",
  38307. "type": "integer"
  38308. },
  38309. "deliverygoodsname": {
  38310. "description": "品种名称",
  38311. "type": "string"
  38312. },
  38313. "deliverymonth": {
  38314. "description": "交收月",
  38315. "type": "string"
  38316. },
  38317. "enddate": {
  38318. "description": "结束交易日(yyyymmdd)",
  38319. "type": "string"
  38320. },
  38321. "enumdicname": {
  38322. "description": "单位名称",
  38323. "type": "string"
  38324. },
  38325. "fixedprice": {
  38326. "description": "挂牌价格",
  38327. "type": "number"
  38328. },
  38329. "handlestatus": {
  38330. "description": "处理状态",
  38331. "type": "integer"
  38332. },
  38333. "marginvalue": {
  38334. "description": "履约保证金比例",
  38335. "type": "number"
  38336. },
  38337. "marketid": {
  38338. "description": "市场ID",
  38339. "type": "integer"
  38340. },
  38341. "matchaccountid": {
  38342. "description": "挂牌方资金账号",
  38343. "type": "integer"
  38344. },
  38345. "matchuserid": {
  38346. "description": "挂牌方用户id",
  38347. "type": "integer"
  38348. },
  38349. "matchusername": {
  38350. "description": "挂牌方用户名称(已脱敏)",
  38351. "type": "string"
  38352. },
  38353. "minivalue": {
  38354. "description": "现货商品最小变动值",
  38355. "type": "integer"
  38356. },
  38357. "optioncompare": {
  38358. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  38359. "type": "string"
  38360. },
  38361. "orderqty": {
  38362. "description": "挂牌数量",
  38363. "type": "integer"
  38364. },
  38365. "refprice": {
  38366. "description": "参考价格",
  38367. "type": "string"
  38368. },
  38369. "retcode": {
  38370. "description": "委托返回代码",
  38371. "type": "integer"
  38372. },
  38373. "templatename": {
  38374. "description": "履约方式(履约模板名称)",
  38375. "type": "string"
  38376. },
  38377. "tradedate": {
  38378. "description": "交易日(yyyyMMdd)",
  38379. "type": "string"
  38380. },
  38381. "userid": {
  38382. "description": "摘牌人用户ID(议价人ID)",
  38383. "type": "integer"
  38384. },
  38385. "username": {
  38386. "description": "议价人名字(已脱敏)",
  38387. "type": "string"
  38388. },
  38389. "validtime": {
  38390. "description": "有效期限",
  38391. "type": "string"
  38392. },
  38393. "warehouseid": {
  38394. "description": "仓库ID",
  38395. "type": "integer"
  38396. },
  38397. "warehousename": {
  38398. "description": "仓库名称",
  38399. "type": "string"
  38400. },
  38401. "wrbargainid": {
  38402. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  38403. "type": "string"
  38404. },
  38405. "wrfactortypeid": {
  38406. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  38407. "type": "string"
  38408. },
  38409. "wrfactortypename": {
  38410. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  38411. "type": "string"
  38412. },
  38413. "wrstandardcode": {
  38414. "description": "现货商品代码",
  38415. "type": "string"
  38416. },
  38417. "wrstandardid": {
  38418. "description": "现货商品ID",
  38419. "type": "integer"
  38420. },
  38421. "wrstandardname": {
  38422. "description": "商品名称",
  38423. "type": "string"
  38424. },
  38425. "wrtradeorderid": {
  38426. "description": "关联委托单ID",
  38427. "type": "string"
  38428. },
  38429. "wrtypename": {
  38430. "description": "商品",
  38431. "type": "string"
  38432. }
  38433. }
  38434. },
  38435. "models.Warehouseinfo": {
  38436. "type": "object",
  38437. "required": [
  38438. "autoid",
  38439. "warehousecode"
  38440. ],
  38441. "properties": {
  38442. "address": {
  38443. "description": "详细地址",
  38444. "type": "string"
  38445. },
  38446. "areauserid": {
  38447. "description": "所属机构",
  38448. "type": "integer"
  38449. },
  38450. "autoid": {
  38451. "description": "自增ID",
  38452. "type": "integer"
  38453. },
  38454. "cityid": {
  38455. "description": "市",
  38456. "type": "integer"
  38457. },
  38458. "contactname": {
  38459. "description": "联系人",
  38460. "type": "string"
  38461. },
  38462. "contactnum": {
  38463. "description": "联系电话",
  38464. "type": "string"
  38465. },
  38466. "countryid": {
  38467. "description": "国家",
  38468. "type": "integer"
  38469. },
  38470. "createtime": {
  38471. "description": "创建时间",
  38472. "type": "string"
  38473. },
  38474. "districtid": {
  38475. "description": "区",
  38476. "type": "integer"
  38477. },
  38478. "hasvideo": {
  38479. "description": "是否有视频 - 0:无 1:有",
  38480. "type": "integer"
  38481. },
  38482. "provinceid": {
  38483. "description": "省",
  38484. "type": "integer"
  38485. },
  38486. "remark": {
  38487. "description": "审核备注",
  38488. "type": "string"
  38489. },
  38490. "videourl": {
  38491. "description": "视频地址",
  38492. "type": "string"
  38493. },
  38494. "warehousecode": {
  38495. "description": "仓库代码",
  38496. "type": "string"
  38497. },
  38498. "warehousename": {
  38499. "description": "仓库名称",
  38500. "type": "string"
  38501. },
  38502. "warehousestatus": {
  38503. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  38504. "type": "integer"
  38505. },
  38506. "warehousetype": {
  38507. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  38508. "type": "integer"
  38509. }
  38510. }
  38511. },
  38512. "models.WrAverageTradePrice": {
  38513. "type": "object",
  38514. "properties": {
  38515. "averageprice": {
  38516. "description": "成交均价",
  38517. "type": "number"
  38518. },
  38519. "tradedate": {
  38520. "description": "交易日yyyymm",
  38521. "type": "string"
  38522. }
  38523. }
  38524. },
  38525. "models.WrBrandAndYears": {
  38526. "type": "object",
  38527. "properties": {
  38528. "brandlst": {
  38529. "description": "品牌列表",
  38530. "type": "array",
  38531. "items": {
  38532. "$ref": "#/definitions/models.DgFactoryItem"
  38533. }
  38534. },
  38535. "yearslst": {
  38536. "description": "年份列表",
  38537. "type": "array",
  38538. "items": {
  38539. "$ref": "#/definitions/models.DgFactoryItem"
  38540. }
  38541. }
  38542. }
  38543. },
  38544. "models.WrBsGoodsInfo": {
  38545. "type": "object",
  38546. "properties": {
  38547. "buyorsell": {
  38548. "description": "买卖方向 0-买 1-卖",
  38549. "type": "integer"
  38550. },
  38551. "goodsid": {
  38552. "description": "交易合约ID",
  38553. "type": "integer"
  38554. },
  38555. "lstitem": {
  38556. "description": "商品信息项",
  38557. "type": "array",
  38558. "items": {
  38559. "$ref": "#/definitions/models.WrTypeItem"
  38560. }
  38561. },
  38562. "lststep": {
  38563. "description": "履约规则",
  38564. "type": "array",
  38565. "items": {
  38566. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  38567. }
  38568. }
  38569. }
  38570. },
  38571. "models.WrBuybackDetail": {
  38572. "type": "object",
  38573. "properties": {
  38574. "buybackamount": {
  38575. "description": "回购金额",
  38576. "type": "number"
  38577. },
  38578. "buybackqty": {
  38579. "description": "回购数量",
  38580. "type": "number"
  38581. },
  38582. "buybackreleasemargin": {
  38583. "description": "回购释放保证金",
  38584. "type": "number"
  38585. },
  38586. "buybacktime": {
  38587. "description": "回购时间",
  38588. "type": "string"
  38589. },
  38590. "errordesc": {
  38591. "description": "错误描述",
  38592. "type": "string"
  38593. },
  38594. "handlestatus": {
  38595. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  38596. "type": "integer"
  38597. },
  38598. "relatedwrid": {
  38599. "description": "关联仓单ID",
  38600. "type": "integer"
  38601. },
  38602. "scfcontractid": {
  38603. "description": "SCF合同ID",
  38604. "type": "string"
  38605. },
  38606. "scfwrbuybackid": {
  38607. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  38608. "type": "integer"
  38609. },
  38610. "tradedate": {
  38611. "description": "交易日(yyyyMMdd)",
  38612. "type": "string"
  38613. }
  38614. }
  38615. },
  38616. "models.WrClientAdSpaceConfig": {
  38617. "type": "object",
  38618. "properties": {
  38619. "adspaceid": {
  38620. "description": "广告位ID",
  38621. "type": "integer"
  38622. },
  38623. "adspacename": {
  38624. "description": "广告位名称",
  38625. "type": "string"
  38626. },
  38627. "adspacetype": {
  38628. "description": "广告位类型 - 1:固定广告位",
  38629. "type": "integer"
  38630. },
  38631. "areauserid": {
  38632. "description": "所属机构ID",
  38633. "type": "integer"
  38634. },
  38635. "createdate": {
  38636. "description": "创建时间",
  38637. "type": "string"
  38638. },
  38639. "imagepath": {
  38640. "description": "图片",
  38641. "type": "string"
  38642. },
  38643. "modifierid": {
  38644. "description": "操作人",
  38645. "type": "integer"
  38646. },
  38647. "recsize": {
  38648. "description": "推荐尺寸",
  38649. "type": "string"
  38650. },
  38651. "title": {
  38652. "description": "标题",
  38653. "type": "string"
  38654. },
  38655. "updatedate": {
  38656. "description": "更新时间",
  38657. "type": "string"
  38658. },
  38659. "urlcontent": {
  38660. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  38661. "type": "string"
  38662. },
  38663. "urltype": {
  38664. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  38665. "type": "integer"
  38666. }
  38667. }
  38668. },
  38669. "models.WrDeliveryAvalidHoldLB": {
  38670. "type": "object",
  38671. "properties": {
  38672. "accountid": {
  38673. "description": "资金账号",
  38674. "type": "integer"
  38675. },
  38676. "avalidqty": {
  38677. "description": "数量(可点选数量)",
  38678. "type": "number"
  38679. },
  38680. "deliverygoodsid": {
  38681. "description": "品种id",
  38682. "type": "integer"
  38683. },
  38684. "enumdicname": {
  38685. "description": "单位名称",
  38686. "type": "string"
  38687. },
  38688. "goodsid": {
  38689. "description": "x合约商品id",
  38690. "type": "integer"
  38691. },
  38692. "ladingbillid": {
  38693. "description": "提单id",
  38694. "type": "string"
  38695. },
  38696. "pgoodscode": {
  38697. "description": "p商品代码(点价合约)",
  38698. "type": "string"
  38699. },
  38700. "pgoodsid": {
  38701. "description": "p商品id(点价合约)",
  38702. "type": "integer"
  38703. },
  38704. "pgoodsname": {
  38705. "description": "p商品名称(点价合约)",
  38706. "type": "string"
  38707. },
  38708. "pricemove": {
  38709. "description": "升贴水",
  38710. "type": "number"
  38711. },
  38712. "subnum": {
  38713. "description": "提单子id",
  38714. "type": "integer"
  38715. },
  38716. "userid": {
  38717. "description": "用户id",
  38718. "type": "integer"
  38719. },
  38720. "username": {
  38721. "description": "仓单持有人",
  38722. "type": "string"
  38723. },
  38724. "warehousecode": {
  38725. "description": "仓库代码",
  38726. "type": "string"
  38727. },
  38728. "warehouseid": {
  38729. "description": "仓库id",
  38730. "type": "integer"
  38731. },
  38732. "warehousename": {
  38733. "description": "仓库名称",
  38734. "type": "string"
  38735. },
  38736. "wrfactortypeid": {
  38737. "description": "仓单要素id",
  38738. "type": "string"
  38739. },
  38740. "wrstandardcode": {
  38741. "description": "品代码",
  38742. "type": "string"
  38743. },
  38744. "wrstandardid": {
  38745. "description": "品类d",
  38746. "type": "integer"
  38747. },
  38748. "wrstandardname": {
  38749. "description": "品类名称",
  38750. "type": "string"
  38751. },
  38752. "wrtypename": {
  38753. "description": "商品",
  38754. "type": "string"
  38755. },
  38756. "xgoodscode": {
  38757. "description": "x合约代码",
  38758. "type": "string"
  38759. },
  38760. "xgoodsname": {
  38761. "description": "x合约名称",
  38762. "type": "string"
  38763. }
  38764. }
  38765. },
  38766. "models.WrDeliveryDetail": {
  38767. "type": "object",
  38768. "properties": {
  38769. "accountid": {
  38770. "description": "账号ID",
  38771. "type": "integer"
  38772. },
  38773. "averageprice": {
  38774. "description": "交割均价 = 交割金额 / 交割数量",
  38775. "type": "number"
  38776. },
  38777. "begindate": {
  38778. "description": "开始交易日(yyyymmdd)",
  38779. "type": "string"
  38780. },
  38781. "buyorsell": {
  38782. "description": "方向 - 0:买 1:卖",
  38783. "type": "integer"
  38784. },
  38785. "deliveryamount": {
  38786. "description": "货款金额(X总货款+P总货款)",
  38787. "type": "number"
  38788. },
  38789. "deliveryid": {
  38790. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  38791. "type": "string"
  38792. },
  38793. "deliveryorderid": {
  38794. "description": "申报单号",
  38795. "type": "string"
  38796. },
  38797. "deliverypricemove": {
  38798. "description": "升贴水(升贴水总额)",
  38799. "type": "number"
  38800. },
  38801. "deliveryqty": {
  38802. "description": "交收数量(点选数量)",
  38803. "type": "number"
  38804. },
  38805. "deliverystatus": {
  38806. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  38807. "type": "integer"
  38808. },
  38809. "deliverytime": {
  38810. "description": "交割时间",
  38811. "type": "string"
  38812. },
  38813. "deliverytotalamount": {
  38814. "description": "交收金额",
  38815. "type": "number"
  38816. },
  38817. "enddate": {
  38818. "description": "结束交易日(yyyymmdd)",
  38819. "type": "string"
  38820. },
  38821. "enumdicname": {
  38822. "description": "单位名称",
  38823. "type": "string"
  38824. },
  38825. "matchaccountid": {
  38826. "description": "对手账号ID",
  38827. "type": "integer"
  38828. },
  38829. "matchusername": {
  38830. "description": "对手方名称(仓单持有人)",
  38831. "type": "string"
  38832. },
  38833. "p1goodsremainamount": {
  38834. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  38835. "type": "number"
  38836. },
  38837. "pdeliverycloseqty": {
  38838. "description": "p合约平仓数量",
  38839. "type": "number"
  38840. },
  38841. "pdeliveryprice": {
  38842. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  38843. "type": "number"
  38844. },
  38845. "pgoodscode": {
  38846. "description": "商品代码",
  38847. "type": "string"
  38848. },
  38849. "pgoodsid": {
  38850. "description": "p点选合约id",
  38851. "type": "integer"
  38852. },
  38853. "pgoodsname": {
  38854. "description": "商品名称",
  38855. "type": "string"
  38856. },
  38857. "ppricemode": {
  38858. "description": "点价价格方式 - 1:商品价 2:固定值",
  38859. "type": "integer"
  38860. },
  38861. "tradedate": {
  38862. "description": "交易日(yyyymmdd)",
  38863. "type": "string"
  38864. },
  38865. "userid": {
  38866. "description": "用户id",
  38867. "type": "integer"
  38868. },
  38869. "username": {
  38870. "description": "用户名称",
  38871. "type": "string"
  38872. },
  38873. "warehousename": {
  38874. "description": "仓库名称",
  38875. "type": "string"
  38876. },
  38877. "wrfactortypeid": {
  38878. "description": "仓单要素类型ID",
  38879. "type": "string"
  38880. },
  38881. "wrtypename": {
  38882. "description": "商品",
  38883. "type": "string"
  38884. },
  38885. "xdeliverycloseqty": {
  38886. "description": "合约数量",
  38887. "type": "number"
  38888. },
  38889. "xgoodsamount": {
  38890. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  38891. "type": "number"
  38892. },
  38893. "xgoodscode": {
  38894. "description": "商品代码",
  38895. "type": "string"
  38896. },
  38897. "xgoodsid": {
  38898. "description": "x交易合约ID",
  38899. "type": "integer"
  38900. },
  38901. "xgoodsname": {
  38902. "description": "商品名称",
  38903. "type": "string"
  38904. }
  38905. }
  38906. },
  38907. "models.WrDeliveryGoodsSection": {
  38908. "type": "object",
  38909. "properties": {
  38910. "dglst": {
  38911. "description": "板块商品列表",
  38912. "type": "array",
  38913. "items": {
  38914. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  38915. }
  38916. },
  38917. "imagepath": {
  38918. "description": "图片地址",
  38919. "type": "string"
  38920. },
  38921. "orderindex": {
  38922. "description": "排序",
  38923. "type": "integer"
  38924. },
  38925. "sectionid": {
  38926. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  38927. "type": "integer"
  38928. },
  38929. "sectionname": {
  38930. "description": "版块名称",
  38931. "type": "string"
  38932. },
  38933. "sectiontype": {
  38934. "description": "版块类型 - 1:指数版块 2:普通版块",
  38935. "type": "integer"
  38936. }
  38937. }
  38938. },
  38939. "models.WrDeliveryGoodsSectionConfig": {
  38940. "type": "object",
  38941. "properties": {
  38942. "deliverygoodscode": {
  38943. "description": "现货商品代码",
  38944. "type": "string"
  38945. },
  38946. "deliverygoodsid": {
  38947. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  38948. "type": "integer"
  38949. },
  38950. "deliverygoodsname": {
  38951. "description": "现货商品名称",
  38952. "type": "string"
  38953. },
  38954. "orderindex": {
  38955. "description": "排序",
  38956. "type": "integer"
  38957. }
  38958. }
  38959. },
  38960. "models.WrDraftUserInfo": {
  38961. "type": "object",
  38962. "properties": {
  38963. "address": {
  38964. "description": "地址",
  38965. "type": "string"
  38966. },
  38967. "attachment1": {
  38968. "description": "附件1",
  38969. "type": "string"
  38970. },
  38971. "attachment2": {
  38972. "description": "附件2",
  38973. "type": "string"
  38974. },
  38975. "attachment3": {
  38976. "description": "附件3",
  38977. "type": "string"
  38978. },
  38979. "attachment4": {
  38980. "description": "附件4",
  38981. "type": "string"
  38982. },
  38983. "attachment5": {
  38984. "description": "附件5",
  38985. "type": "string"
  38986. },
  38987. "bankaccount": {
  38988. "description": "银行帐号 (加密存储)",
  38989. "type": "string"
  38990. },
  38991. "bankaccountname": {
  38992. "description": "收款人名称",
  38993. "type": "string"
  38994. },
  38995. "bankcardfrontphotourl": {
  38996. "description": "银行卡正面照地址",
  38997. "type": "string"
  38998. },
  38999. "bankid": {
  39000. "description": "银行编码",
  39001. "type": "string"
  39002. },
  39003. "bankname": {
  39004. "description": "银行名称",
  39005. "type": "string"
  39006. },
  39007. "birthday": {
  39008. "description": "生日(个人:年月日)",
  39009. "type": "string"
  39010. },
  39011. "biznature": {
  39012. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  39013. "type": "integer"
  39014. },
  39015. "bizscope": {
  39016. "description": "企业经营范围(企业)",
  39017. "type": "string"
  39018. },
  39019. "biztype": {
  39020. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  39021. "type": "integer"
  39022. },
  39023. "cardbackphotourl": {
  39024. "description": "证件背面图片地址",
  39025. "type": "string"
  39026. },
  39027. "cardfrontphotourl": {
  39028. "description": "证件正面图片地址",
  39029. "type": "string"
  39030. },
  39031. "cardnum": {
  39032. "description": "证件号码(加密存储)",
  39033. "type": "string"
  39034. },
  39035. "cardtypeid": {
  39036. "description": "证件类型ID",
  39037. "type": "integer"
  39038. },
  39039. "cityid": {
  39040. "description": "市",
  39041. "type": "integer"
  39042. },
  39043. "company": {
  39044. "description": "公司(个人)",
  39045. "type": "string"
  39046. },
  39047. "contactcardbackphotourl": {
  39048. "description": "联系人证件背面图片地址",
  39049. "type": "string"
  39050. },
  39051. "contactcardfrontphotourl": {
  39052. "description": "联系人证件正面图片地址",
  39053. "type": "string"
  39054. },
  39055. "contactname": {
  39056. "description": "联系人",
  39057. "type": "string"
  39058. },
  39059. "countryid": {
  39060. "description": "国家",
  39061. "type": "integer"
  39062. },
  39063. "createtime": {
  39064. "description": "创建时间",
  39065. "type": "string"
  39066. },
  39067. "creatorid": {
  39068. "description": "创建人",
  39069. "type": "integer"
  39070. },
  39071. "creditquota": {
  39072. "description": "授信额度(金瑞)",
  39073. "type": "number"
  39074. },
  39075. "customername": {
  39076. "description": "客户名称(企业名称)",
  39077. "type": "string"
  39078. },
  39079. "districtid": {
  39080. "description": "地区",
  39081. "type": "integer"
  39082. },
  39083. "email": {
  39084. "description": "邮件(加密存储)",
  39085. "type": "string"
  39086. },
  39087. "fax": {
  39088. "description": "传真(加密存储)",
  39089. "type": "string"
  39090. },
  39091. "halfbodyphotourl": {
  39092. "description": "半身照地址",
  39093. "type": "string"
  39094. },
  39095. "hasencrypt": {
  39096. "description": "数据是否已加密 - 0:未加密 1:已加密",
  39097. "type": "integer"
  39098. },
  39099. "headurl": {
  39100. "description": "头像地址",
  39101. "type": "string"
  39102. },
  39103. "legalcardbackphotourl": {
  39104. "description": "法人身份证背面照地址",
  39105. "type": "string"
  39106. },
  39107. "legalcardfrontphotourl": {
  39108. "description": "法人身份证正面照地址",
  39109. "type": "string"
  39110. },
  39111. "legalpersonname": {
  39112. "description": "法人姓名(企业)",
  39113. "type": "string"
  39114. },
  39115. "mobile": {
  39116. "description": "手机号码(加密存储)",
  39117. "type": "string"
  39118. },
  39119. "mobile2": {
  39120. "description": "手机号码[明文-尚志]",
  39121. "type": "string"
  39122. },
  39123. "modifierid": {
  39124. "description": "修改人",
  39125. "type": "integer"
  39126. },
  39127. "modifiertime": {
  39128. "description": "修改时间",
  39129. "type": "string"
  39130. },
  39131. "needinvoice": {
  39132. "description": "是否需要发票 - 0:不需要 1:需要",
  39133. "type": "integer"
  39134. },
  39135. "nickname": {
  39136. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  39137. "type": "string"
  39138. },
  39139. "openmode": {
  39140. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  39141. "type": "integer"
  39142. },
  39143. "otherurl": {
  39144. "description": "其它图片地址[使用分号分隔]",
  39145. "type": "string"
  39146. },
  39147. "postalcode": {
  39148. "description": "邮政编码",
  39149. "type": "string"
  39150. },
  39151. "provinceid": {
  39152. "description": "省",
  39153. "type": "integer"
  39154. },
  39155. "proxystatementurl": {
  39156. "description": "授权委托书",
  39157. "type": "string"
  39158. },
  39159. "qq": {
  39160. "description": "QQ(加密存储",
  39161. "type": "string"
  39162. },
  39163. "remark": {
  39164. "description": "备注",
  39165. "type": "string"
  39166. },
  39167. "sex": {
  39168. "description": "用户性别 0: 女 1: 男",
  39169. "type": "integer"
  39170. },
  39171. "signpdfurl": {
  39172. "description": "签约pdf文件",
  39173. "type": "string"
  39174. },
  39175. "taxpayernum": {
  39176. "description": "纳税人识别号",
  39177. "type": "string"
  39178. },
  39179. "telphone": {
  39180. "description": "联系电话(加密存储)",
  39181. "type": "string"
  39182. },
  39183. "userid": {
  39184. "description": "用户ID",
  39185. "type": "integer"
  39186. },
  39187. "userinfotype": {
  39188. "description": "用户信息类型 - 1:个人 2:企业",
  39189. "type": "integer"
  39190. },
  39191. "userstatus": {
  39192. "description": "用户状态 - 1:正常 2:注销",
  39193. "type": "integer"
  39194. },
  39195. "usertype": {
  39196. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  39197. "type": "integer"
  39198. },
  39199. "wechat": {
  39200. "description": "微信(加密存储)",
  39201. "type": "string"
  39202. },
  39203. "wskhinfo": {
  39204. "description": "开户申请信息(JSON)",
  39205. "type": "string"
  39206. }
  39207. }
  39208. },
  39209. "models.WrFAProductDetail": {
  39210. "type": "object",
  39211. "properties": {
  39212. "accountid": {
  39213. "description": "资金账号",
  39214. "type": "integer"
  39215. },
  39216. "areauserid": {
  39217. "description": "金融机构ID",
  39218. "type": "integer"
  39219. },
  39220. "financingdays": {
  39221. "description": "天数(天)",
  39222. "type": "integer"
  39223. },
  39224. "interestminlen": {
  39225. "description": "最小起息天数",
  39226. "type": "integer"
  39227. },
  39228. "interestrate": {
  39229. "description": "利率",
  39230. "type": "number"
  39231. },
  39232. "interestratemode": {
  39233. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  39234. "type": "integer"
  39235. },
  39236. "interestsettlemode": {
  39237. "description": "结息方式 - 1:按日结息 3:按月结息",
  39238. "type": "integer"
  39239. },
  39240. "interestsettlevalue": {
  39241. "description": "结息方式值",
  39242. "type": "integer"
  39243. },
  39244. "isautoloan": {
  39245. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  39246. "type": "integer"
  39247. },
  39248. "loantag": {
  39249. "description": "放款标识: \"放款快\" 或者为空",
  39250. "type": "string"
  39251. },
  39252. "marginratio": {
  39253. "description": "保证金比率质押率 - [仓单质押]",
  39254. "type": "number"
  39255. },
  39256. "productdetailid": {
  39257. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  39258. "type": "integer"
  39259. },
  39260. "productid": {
  39261. "description": "金融产品ID",
  39262. "type": "integer"
  39263. },
  39264. "productname": {
  39265. "description": "产品名称",
  39266. "type": "string"
  39267. },
  39268. "updatetime": {
  39269. "description": "更新时间",
  39270. "type": "string"
  39271. },
  39272. "username": {
  39273. "description": "融出方",
  39274. "type": "string"
  39275. }
  39276. }
  39277. },
  39278. "models.WrFactorTypeInfo": {
  39279. "type": "object",
  39280. "properties": {
  39281. "deliverygoodscode": {
  39282. "description": "品种代码",
  39283. "type": "string"
  39284. },
  39285. "deliverygoodsname": {
  39286. "description": "品种名称",
  39287. "type": "string"
  39288. },
  39289. "dgfactoryitemid": {
  39290. "description": "选择项id",
  39291. "type": "integer"
  39292. },
  39293. "dgfactoryitemtypeid": {
  39294. "description": "要素选择项ID (1-仓库 2-品牌)",
  39295. "type": "integer"
  39296. },
  39297. "dgfactoryitemvalue": {
  39298. "description": "要素项值",
  39299. "type": "string"
  39300. },
  39301. "itemtypename": {
  39302. "description": "要素项名称",
  39303. "type": "string"
  39304. },
  39305. "optioncompare": {
  39306. "description": "选择比较串",
  39307. "type": "string"
  39308. },
  39309. "warehouseid": {
  39310. "description": "仓库id",
  39311. "type": "integer"
  39312. },
  39313. "wrfactortypeid": {
  39314. "description": "仓单要素ID",
  39315. "type": "string"
  39316. },
  39317. "wrfactortypename": {
  39318. "description": "要素名称",
  39319. "type": "string"
  39320. },
  39321. "wrfactortypename2": {
  39322. "description": "要素名称(不含仓库)",
  39323. "type": "string"
  39324. },
  39325. "wrstandardcode": {
  39326. "description": "品类代码",
  39327. "type": "string"
  39328. },
  39329. "wrstandardid": {
  39330. "description": "品类id",
  39331. "type": "integer"
  39332. },
  39333. "wrstandardname": {
  39334. "description": "品类名称",
  39335. "type": "string"
  39336. }
  39337. }
  39338. },
  39339. "models.WrFilterItem": {
  39340. "type": "object",
  39341. "properties": {
  39342. "itemcode": {
  39343. "description": "代码",
  39344. "type": "string"
  39345. },
  39346. "itemid": {
  39347. "description": "项id",
  39348. "type": "integer"
  39349. },
  39350. "itemname": {
  39351. "description": "名称",
  39352. "type": "string"
  39353. },
  39354. "itemtype": {
  39355. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  39356. "type": "integer"
  39357. }
  39358. }
  39359. },
  39360. "models.WrFinanceBuyApply": {
  39361. "type": "object",
  39362. "properties": {
  39363. "applydate": {
  39364. "description": "申请时间",
  39365. "type": "string"
  39366. },
  39367. "applystatus": {
  39368. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  39369. "type": "integer"
  39370. },
  39371. "applyuserid": {
  39372. "description": "申请人",
  39373. "type": "integer"
  39374. },
  39375. "auditdate": {
  39376. "description": "审核时间",
  39377. "type": "string"
  39378. },
  39379. "auditremark": {
  39380. "description": "审核备注",
  39381. "type": "string"
  39382. },
  39383. "audituserid": {
  39384. "description": "审核人",
  39385. "type": "integer"
  39386. },
  39387. "buyaccountid": {
  39388. "description": "买方资金账号",
  39389. "type": "integer"
  39390. },
  39391. "buyorsell": {
  39392. "description": "买卖 - 0:买 1:卖",
  39393. "type": "integer"
  39394. },
  39395. "buyuserid": {
  39396. "description": "买方用户ID",
  39397. "type": "integer"
  39398. },
  39399. "buyusername": {
  39400. "description": "买方名称",
  39401. "type": "string"
  39402. },
  39403. "buywrtradeorderid": {
  39404. "description": "融资方买委托单ID",
  39405. "type": "string"
  39406. },
  39407. "deliverygoodscode": {
  39408. "description": "品种代码",
  39409. "type": "string"
  39410. },
  39411. "deliverygoodsid": {
  39412. "description": "品种ID",
  39413. "type": "integer"
  39414. },
  39415. "deliverygoodsname": {
  39416. "description": "品种名称",
  39417. "type": "string"
  39418. },
  39419. "deliverymonth": {
  39420. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  39421. "type": "string"
  39422. },
  39423. "enumdicname": {
  39424. "description": "单位名称",
  39425. "type": "string"
  39426. },
  39427. "financeaccountid": {
  39428. "description": "融资方资金帐户ID",
  39429. "type": "integer"
  39430. },
  39431. "financeapplyid": {
  39432. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  39433. "type": "string"
  39434. },
  39435. "financeareauserid": {
  39436. "description": "融资方用户ID",
  39437. "type": "string"
  39438. },
  39439. "financename": {
  39440. "description": "融出方名称",
  39441. "type": "string"
  39442. },
  39443. "financetype": {
  39444. "description": "融资类型 1-融资回购",
  39445. "type": "integer"
  39446. },
  39447. "financingdays": {
  39448. "description": "天数(天)",
  39449. "type": "integer"
  39450. },
  39451. "freezebuymargin": {
  39452. "description": "冻结融资保证金(买方)",
  39453. "type": "number"
  39454. },
  39455. "handleremark": {
  39456. "description": "处理备注",
  39457. "type": "string"
  39458. },
  39459. "handlestatus": {
  39460. "description": "处理状态",
  39461. "type": "integer"
  39462. },
  39463. "interestminlen": {
  39464. "description": "最小起息天数",
  39465. "type": "integer"
  39466. },
  39467. "interestrate": {
  39468. "description": "利率",
  39469. "type": "number"
  39470. },
  39471. "interestratemode": {
  39472. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  39473. "type": "integer"
  39474. },
  39475. "interestsettlemode": {
  39476. "description": "结息方式 - 1:按日结息 3:按月结息",
  39477. "type": "integer"
  39478. },
  39479. "interestsettlevalue": {
  39480. "description": "结息方式值",
  39481. "type": "integer"
  39482. },
  39483. "isautoloan": {
  39484. "description": "是否自动放款 - 0:手动 1:自动",
  39485. "type": "integer"
  39486. },
  39487. "marginratio": {
  39488. "description": "保证金比率质押率 - [仓单质押]",
  39489. "type": "number"
  39490. },
  39491. "marketid": {
  39492. "description": "市场ID",
  39493. "type": "integer"
  39494. },
  39495. "minivalue": {
  39496. "description": "现货商品最小变动值",
  39497. "type": "integer"
  39498. },
  39499. "optioncompare": {
  39500. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39501. "type": "string"
  39502. },
  39503. "orderqty": {
  39504. "description": "委托数量(商品数量)",
  39505. "type": "number"
  39506. },
  39507. "productdetailid": {
  39508. "description": "产品组合ID",
  39509. "type": "integer"
  39510. },
  39511. "productid": {
  39512. "description": "金融产品ID",
  39513. "type": "integer"
  39514. },
  39515. "productname": {
  39516. "description": "产品名称",
  39517. "type": "string"
  39518. },
  39519. "remark": {
  39520. "description": "备注",
  39521. "type": "string"
  39522. },
  39523. "scfcontractid": {
  39524. "description": "仓单回购合同ID",
  39525. "type": "string"
  39526. },
  39527. "sellaccountid": {
  39528. "description": "卖方资金账号",
  39529. "type": "integer"
  39530. },
  39531. "selluserid": {
  39532. "description": "卖方用户ID",
  39533. "type": "integer"
  39534. },
  39535. "sellwrtradeorderid": {
  39536. "description": "卖方委托单ID",
  39537. "type": "string"
  39538. },
  39539. "tradeamount": {
  39540. "description": "成交金额(借款金额)",
  39541. "type": "number"
  39542. },
  39543. "tradedate": {
  39544. "description": "交易日(yyyyMMdd)",
  39545. "type": "string"
  39546. },
  39547. "tradeprice": {
  39548. "description": "成交价格",
  39549. "type": "number"
  39550. },
  39551. "warehouseid": {
  39552. "description": "仓库ID",
  39553. "type": "integer"
  39554. },
  39555. "warehousename": {
  39556. "description": "仓库名称",
  39557. "type": "string"
  39558. },
  39559. "wrfactortypeid": {
  39560. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39561. "type": "string"
  39562. },
  39563. "wrfactortypename": {
  39564. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39565. "type": "string"
  39566. },
  39567. "wrpricetype": {
  39568. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  39569. "type": "integer"
  39570. },
  39571. "wrstandardcode": {
  39572. "description": "现货商品代码",
  39573. "type": "string"
  39574. },
  39575. "wrstandardid": {
  39576. "description": "现货商品ID",
  39577. "type": "integer"
  39578. },
  39579. "wrstandardname": {
  39580. "description": "商品名称",
  39581. "type": "string"
  39582. },
  39583. "wrtypename": {
  39584. "description": "商品",
  39585. "type": "string"
  39586. }
  39587. }
  39588. },
  39589. "models.WrFriendApply": {
  39590. "type": "object",
  39591. "properties": {
  39592. "applicantid": {
  39593. "description": "申请人",
  39594. "type": "integer"
  39595. },
  39596. "applyname": {
  39597. "description": "申请人名称",
  39598. "type": "string"
  39599. },
  39600. "applysrc": {
  39601. "description": "申请来源 - 1:管理端 2:终端",
  39602. "type": "integer"
  39603. },
  39604. "applystatus": {
  39605. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  39606. "type": "integer"
  39607. },
  39608. "applytime": {
  39609. "description": "申请时间",
  39610. "type": "string"
  39611. },
  39612. "auditname": {
  39613. "description": "审核人名称",
  39614. "type": "string"
  39615. },
  39616. "auditorid": {
  39617. "description": "审核人",
  39618. "type": "integer"
  39619. },
  39620. "auditremark": {
  39621. "description": "审核备注",
  39622. "type": "string"
  39623. },
  39624. "auditsrc": {
  39625. "description": "审核来源 - 1:管理端 2:终端",
  39626. "type": "integer"
  39627. },
  39628. "audittime": {
  39629. "description": "审核时间",
  39630. "type": "string"
  39631. },
  39632. "friendapplyid": {
  39633. "description": "申请ID(SEQ_FRIENDAPPLY)",
  39634. "type": "string"
  39635. },
  39636. "friendname": {
  39637. "description": "好友名字(已脱敏)",
  39638. "type": "string"
  39639. },
  39640. "frienduserid": {
  39641. "description": "好友用户ID",
  39642. "type": "string"
  39643. },
  39644. "remark": {
  39645. "description": "备注",
  39646. "type": "string"
  39647. },
  39648. "userid": {
  39649. "description": "申请人用户ID",
  39650. "type": "integer"
  39651. }
  39652. }
  39653. },
  39654. "models.WrFtDeliveryGoods": {
  39655. "type": "object",
  39656. "properties": {
  39657. "deliverygoodscode": {
  39658. "description": "品种代码",
  39659. "type": "string"
  39660. },
  39661. "deliverygoodsid": {
  39662. "description": "品种ID",
  39663. "type": "integer"
  39664. },
  39665. "deliverygoodsname": {
  39666. "description": "品种名称",
  39667. "type": "string"
  39668. },
  39669. "wdlst": {
  39670. "description": "商品列表",
  39671. "type": "array",
  39672. "items": {
  39673. "$ref": "#/definitions/models.WrFtWrstandard"
  39674. }
  39675. }
  39676. }
  39677. },
  39678. "models.WrFtWrstandard": {
  39679. "type": "object",
  39680. "properties": {
  39681. "enumdicname": {
  39682. "description": "单位名称",
  39683. "type": "string"
  39684. },
  39685. "minivalue": {
  39686. "description": "最小变动值",
  39687. "type": "integer"
  39688. },
  39689. "wrstandardcode": {
  39690. "description": "现货商品代码",
  39691. "type": "string"
  39692. },
  39693. "wrstandardid": {
  39694. "description": "现货商品ID",
  39695. "type": "integer"
  39696. },
  39697. "wrstandardname": {
  39698. "description": "商品名称",
  39699. "type": "string"
  39700. }
  39701. }
  39702. },
  39703. "models.WrGoodsInfo": {
  39704. "type": "object",
  39705. "properties": {
  39706. "haswr": {
  39707. "description": "0:仓单预售 1:仓单贸易",
  39708. "type": "integer"
  39709. },
  39710. "lstitem": {
  39711. "description": "商品信息项",
  39712. "type": "array",
  39713. "items": {
  39714. "$ref": "#/definitions/models.WrTypeItem"
  39715. }
  39716. },
  39717. "lststep": {
  39718. "description": "履约规则",
  39719. "type": "array",
  39720. "items": {
  39721. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  39722. }
  39723. },
  39724. "marketid": {
  39725. "description": "市场id",
  39726. "type": "integer"
  39727. }
  39728. }
  39729. },
  39730. "models.WrGoodsPerformanceStep": {
  39731. "type": "object",
  39732. "properties": {
  39733. "autoid": {
  39734. "description": "AutoID",
  39735. "type": "integer"
  39736. },
  39737. "isauto": {
  39738. "description": "是否自动 - 0:不自动 1:自动",
  39739. "type": "integer"
  39740. },
  39741. "remark": {
  39742. "description": "备注",
  39743. "type": "string"
  39744. },
  39745. "stepdate": {
  39746. "description": "天数信息(T+N)",
  39747. "type": "string"
  39748. },
  39749. "stepdays": {
  39750. "description": "距离上一步天数",
  39751. "type": "integer"
  39752. },
  39753. "stepindex": {
  39754. "description": "步骤序号",
  39755. "type": "integer"
  39756. },
  39757. "stepinfo": {
  39758. "description": "步骤信息(步骤名称+步骤值)",
  39759. "type": "string"
  39760. },
  39761. "steptypeid": {
  39762. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  39763. "type": "integer"
  39764. },
  39765. "steptypename": {
  39766. "description": "步骤名称",
  39767. "type": "string"
  39768. },
  39769. "stepvalue": {
  39770. "description": "步骤值",
  39771. "type": "number"
  39772. },
  39773. "templateid": {
  39774. "description": "履约计划模板ID",
  39775. "type": "integer"
  39776. }
  39777. }
  39778. },
  39779. "models.WrHoldLB": {
  39780. "type": "object",
  39781. "properties": {
  39782. "accountid": {
  39783. "description": "持有人帐户ID",
  39784. "type": "integer"
  39785. },
  39786. "bannerpicurl": {
  39787. "description": "Banner图",
  39788. "type": "string"
  39789. },
  39790. "createtime": {
  39791. "description": "创建时间(过户时间)",
  39792. "type": "string"
  39793. },
  39794. "deliverygoodscode": {
  39795. "description": "品种代码",
  39796. "type": "string"
  39797. },
  39798. "deliverygoodsid": {
  39799. "description": "品种ID",
  39800. "type": "integer"
  39801. },
  39802. "deliverygoodsname": {
  39803. "description": "品种名称",
  39804. "type": "string"
  39805. },
  39806. "enableqty": {
  39807. "description": "可用数量",
  39808. "type": "number"
  39809. },
  39810. "enumdicname": {
  39811. "description": "单位名称",
  39812. "type": "string"
  39813. },
  39814. "freezerqty": {
  39815. "description": "冻结数量",
  39816. "type": "number"
  39817. },
  39818. "ladingbillid": {
  39819. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  39820. "type": "string"
  39821. },
  39822. "minivalue": {
  39823. "description": "现货商品最小变动值",
  39824. "type": "integer"
  39825. },
  39826. "optioncompare": {
  39827. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39828. "type": "string"
  39829. },
  39830. "parentsubnum": {
  39831. "description": "拆分父子单号",
  39832. "type": "integer"
  39833. },
  39834. "pledgeqty": {
  39835. "description": "质押数量",
  39836. "type": "number"
  39837. },
  39838. "qty": {
  39839. "description": "数量",
  39840. "type": "number"
  39841. },
  39842. "subnum": {
  39843. "description": "提单子单号",
  39844. "type": "integer"
  39845. },
  39846. "thumurls": {
  39847. "description": "缩略图",
  39848. "type": "string"
  39849. },
  39850. "tradedate": {
  39851. "description": "交易日(yyyyMMdd)",
  39852. "type": "string"
  39853. },
  39854. "userid": {
  39855. "description": "持有人ID",
  39856. "type": "integer"
  39857. },
  39858. "warehouseid": {
  39859. "description": "仓库ID",
  39860. "type": "integer"
  39861. },
  39862. "warehousename": {
  39863. "description": "仓库名称",
  39864. "type": "string"
  39865. },
  39866. "wrfactortypeid": {
  39867. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39868. "type": "string"
  39869. },
  39870. "wrfactortypename": {
  39871. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39872. "type": "string"
  39873. },
  39874. "wrholdeno": {
  39875. "description": "仓单编号",
  39876. "type": "string"
  39877. },
  39878. "wrid": {
  39879. "description": "仓单变更ID",
  39880. "type": "string"
  39881. },
  39882. "wrstandardcode": {
  39883. "description": "现货商品代码",
  39884. "type": "string"
  39885. },
  39886. "wrstandardid": {
  39887. "description": "现货商品ID",
  39888. "type": "integer"
  39889. },
  39890. "wrstandardname": {
  39891. "description": "商品名称",
  39892. "type": "string"
  39893. },
  39894. "wrtypename": {
  39895. "description": "商品",
  39896. "type": "string"
  39897. }
  39898. }
  39899. },
  39900. "models.WrMarketTradeConfig": {
  39901. "type": "object",
  39902. "properties": {
  39903. "basisdownratio": {
  39904. "description": "浮动价基差下限比例(仓单贸易)",
  39905. "type": "number"
  39906. },
  39907. "basisupratio": {
  39908. "description": "浮动价基差上限比例(仓单贸易)",
  39909. "type": "number"
  39910. },
  39911. "buychargealgorithm": {
  39912. "description": "买方手续费收取方式 1:比率 2:固定",
  39913. "type": "integer"
  39914. },
  39915. "buychargealgorithm2": {
  39916. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  39917. "type": "integer"
  39918. },
  39919. "buychargealgorithmvalue": {
  39920. "description": "买方手续费设置值(交易所部分)",
  39921. "type": "number"
  39922. },
  39923. "buychargealgorithmvalue2": {
  39924. "description": "买方手续费设置值(会员部分)",
  39925. "type": "number"
  39926. },
  39927. "buychargealgorithmvalue3": {
  39928. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  39929. "type": "number"
  39930. },
  39931. "buychargealgorithmvalue4": {
  39932. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  39933. "type": "number"
  39934. },
  39935. "buyfirstmarginalgorithm": {
  39936. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  39937. "type": "integer"
  39938. },
  39939. "buyfirstmarginvalue": {
  39940. "description": "买方出价保证金设置值 - [竞拍]",
  39941. "type": "number"
  39942. },
  39943. "buymarginalgorithm": {
  39944. "description": "买方保证金方式 - 1:比率 2:固定",
  39945. "type": "integer"
  39946. },
  39947. "buymarginvalue": {
  39948. "description": "买方保证金设置值",
  39949. "type": "number"
  39950. },
  39951. "buyreleaseratio": {
  39952. "description": "买方释放比率[2:分步履约]",
  39953. "type": "number"
  39954. },
  39955. "executemode": {
  39956. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  39957. "type": "integer"
  39958. },
  39959. "executeside": {
  39960. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  39961. "type": "integer"
  39962. },
  39963. "failedchargealgorithm": {
  39964. "description": "流拍手续费收取方式 1:比率 2:固定",
  39965. "type": "integer"
  39966. },
  39967. "failedchargevalue": {
  39968. "description": "流拍手续费设置值",
  39969. "type": "number"
  39970. },
  39971. "failedchargevalue2": {
  39972. "description": "流拍卖方手续费设置值",
  39973. "type": "number"
  39974. },
  39975. "holddays": {
  39976. "description": "合同期限[2:分步履约]",
  39977. "type": "integer"
  39978. },
  39979. "listingmode": {
  39980. "description": "挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  39981. "type": "integer"
  39982. },
  39983. "marketid": {
  39984. "description": "市场ID-仓单贸易、竞拍、预售",
  39985. "type": "integer"
  39986. },
  39987. "minqty": {
  39988. "description": "最小执行量[2:分步履约]",
  39989. "type": "number"
  39990. },
  39991. "modifierid": {
  39992. "description": "修改人",
  39993. "type": "integer"
  39994. },
  39995. "nowrquotaflag": {
  39996. "description": "是否校验无仓单额度(仓单贸易) - 0:否 1:是",
  39997. "type": "integer"
  39998. },
  39999. "performancetempid": {
  40000. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  40001. "type": "integer"
  40002. },
  40003. "performancetempid2": {
  40004. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  40005. "type": "integer"
  40006. },
  40007. "performancetempid2s": {
  40008. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  40009. "type": "string"
  40010. },
  40011. "performancetempids": {
  40012. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  40013. "type": "string"
  40014. },
  40015. "performanceway": {
  40016. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  40017. "type": "integer"
  40018. },
  40019. "sellchargealgorithm": {
  40020. "description": "卖方手续费收取方式 1:比率 2:固定",
  40021. "type": "integer"
  40022. },
  40023. "sellchargealgorithm2": {
  40024. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  40025. "type": "integer"
  40026. },
  40027. "sellchargealgorithmvalue": {
  40028. "description": "卖方手续费设置值(交易所部分)",
  40029. "type": "number"
  40030. },
  40031. "sellchargealgorithmvalue2": {
  40032. "description": "卖方手续费设置值(会员部分)",
  40033. "type": "number"
  40034. },
  40035. "sellchargealgorithmvalue3": {
  40036. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  40037. "type": "number"
  40038. },
  40039. "sellchargealgorithmvalue4": {
  40040. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  40041. "type": "number"
  40042. },
  40043. "sellmarginalgorithm": {
  40044. "description": "卖方保证金方式 - 1:比率 2:固定",
  40045. "type": "integer"
  40046. },
  40047. "sellmarginvalue": {
  40048. "description": "卖方保证金设置值",
  40049. "type": "number"
  40050. },
  40051. "sellmarginvalue2": {
  40052. "description": "卖方保证金设置值(无仓单)",
  40053. "type": "number"
  40054. },
  40055. "sellreleaseratio": {
  40056. "description": "卖方释放比率[2:分步履约]",
  40057. "type": "number"
  40058. },
  40059. "updatetime": {
  40060. "description": "更新时间",
  40061. "type": "string"
  40062. }
  40063. }
  40064. },
  40065. "models.WrOrderDetail": {
  40066. "type": "object",
  40067. "properties": {
  40068. "accountid": {
  40069. "description": "交易账号(资金账号)",
  40070. "type": "integer"
  40071. },
  40072. "allfriendsflag": {
  40073. "description": "是否全好友可见 - 0:否 1:是",
  40074. "type": "integer"
  40075. },
  40076. "amount": {
  40077. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  40078. "type": "number"
  40079. },
  40080. "bannerpicurl": {
  40081. "description": "Banner图",
  40082. "type": "string"
  40083. },
  40084. "begindate": {
  40085. "description": "开始交易日(yyyymmdd)",
  40086. "type": "string"
  40087. },
  40088. "buyorsell": {
  40089. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  40090. "type": "integer"
  40091. },
  40092. "canbargain": {
  40093. "description": "是否可议价 - 0:不可 1:可",
  40094. "type": "integer"
  40095. },
  40096. "cancelqty": {
  40097. "description": "撤销数量",
  40098. "type": "number"
  40099. },
  40100. "canpart": {
  40101. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  40102. "type": "integer"
  40103. },
  40104. "delistminqty": {
  40105. "description": "起摘数量",
  40106. "type": "integer"
  40107. },
  40108. "deliverygoodscode": {
  40109. "description": "品种代码",
  40110. "type": "string"
  40111. },
  40112. "deliverygoodsid": {
  40113. "description": "品种ID",
  40114. "type": "integer"
  40115. },
  40116. "deliverygoodsname": {
  40117. "description": "品种名称",
  40118. "type": "string"
  40119. },
  40120. "deliverymonth": {
  40121. "description": "交收月",
  40122. "type": "string"
  40123. },
  40124. "enddate": {
  40125. "description": "结束交易日(yyyymmdd)",
  40126. "type": "string"
  40127. },
  40128. "enumdicname": {
  40129. "description": "单位名称",
  40130. "type": "string"
  40131. },
  40132. "fixedprice": {
  40133. "description": "固定价格 - [挂牌]",
  40134. "type": "number"
  40135. },
  40136. "freezecharge": {
  40137. "description": "冻结手续费",
  40138. "type": "number"
  40139. },
  40140. "freezemargin": {
  40141. "description": "冻结保证金(保证金)",
  40142. "type": "number"
  40143. },
  40144. "futupricemove": {
  40145. "description": "期货升贴水",
  40146. "type": "number"
  40147. },
  40148. "futushow": {
  40149. "description": "期货合约/升贴水",
  40150. "type": "string"
  40151. },
  40152. "goodscode": {
  40153. "description": "期货合约",
  40154. "type": "string"
  40155. },
  40156. "goodsid": {
  40157. "description": "期货商品id",
  40158. "type": "integer"
  40159. },
  40160. "goodsname": {
  40161. "description": "商品名称",
  40162. "type": "string"
  40163. },
  40164. "haswr": {
  40165. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  40166. "type": "integer"
  40167. },
  40168. "isspecified": {
  40169. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  40170. "type": "integer"
  40171. },
  40172. "ladingbillid": {
  40173. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  40174. "type": "string"
  40175. },
  40176. "marginvalue": {
  40177. "description": "保证金设置值(履约保证金)",
  40178. "type": "number"
  40179. },
  40180. "marketid": {
  40181. "description": "市场ID",
  40182. "type": "integer"
  40183. },
  40184. "matchusername": {
  40185. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  40186. "type": "string"
  40187. },
  40188. "minivalue": {
  40189. "description": "现货商品最小变动值",
  40190. "type": "integer"
  40191. },
  40192. "optioncompare": {
  40193. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40194. "type": "string"
  40195. },
  40196. "orderqty": {
  40197. "description": "委托数量",
  40198. "type": "number"
  40199. },
  40200. "ordertime": {
  40201. "description": "委托时间(挂牌时间)",
  40202. "type": "string"
  40203. },
  40204. "performancetemplateid": {
  40205. "description": "履约模板id",
  40206. "type": "integer"
  40207. },
  40208. "pricemove": {
  40209. "description": "升贴水(浮动价时填写) - [挂牌]",
  40210. "type": "number"
  40211. },
  40212. "taname": {
  40213. "description": "交易用户名称(资金账号名称)",
  40214. "type": "string"
  40215. },
  40216. "thumurls": {
  40217. "description": "缩略图",
  40218. "type": "string"
  40219. },
  40220. "tradedate": {
  40221. "description": "交易日(yyyyMMdd)",
  40222. "type": "string"
  40223. },
  40224. "tradeprice": {
  40225. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  40226. "type": "number"
  40227. },
  40228. "tradeqty": {
  40229. "description": "成交数量",
  40230. "type": "number"
  40231. },
  40232. "userid": {
  40233. "description": "用户ID",
  40234. "type": "integer"
  40235. },
  40236. "validtime": {
  40237. "description": "挂牌有效期",
  40238. "type": "string"
  40239. },
  40240. "validtype": {
  40241. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  40242. "type": "integer"
  40243. },
  40244. "warehouseid": {
  40245. "description": "仓库ID",
  40246. "type": "integer"
  40247. },
  40248. "warehousename": {
  40249. "description": "仓库名称",
  40250. "type": "string"
  40251. },
  40252. "wrfactortypeid": {
  40253. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40254. "type": "string"
  40255. },
  40256. "wrfactortypename": {
  40257. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40258. "type": "string"
  40259. },
  40260. "wrpricetype": {
  40261. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  40262. "type": "integer"
  40263. },
  40264. "wrstandardcode": {
  40265. "description": "现货商品代码",
  40266. "type": "string"
  40267. },
  40268. "wrstandardid": {
  40269. "description": "现货商品ID",
  40270. "type": "integer"
  40271. },
  40272. "wrstandardname": {
  40273. "description": "商品名称",
  40274. "type": "string"
  40275. },
  40276. "wrtradeorderid": {
  40277. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  40278. "type": "string"
  40279. },
  40280. "wrtradeorderstatus": {
  40281. "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:撤单解冻贷款失败",
  40282. "type": "integer"
  40283. },
  40284. "wrtradetype": {
  40285. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  40286. "type": "integer"
  40287. },
  40288. "wrtypename": {
  40289. "description": "商品",
  40290. "type": "string"
  40291. }
  40292. }
  40293. },
  40294. "models.WrOrderQuote": {
  40295. "type": "object",
  40296. "properties": {
  40297. "bannerpicurl": {
  40298. "description": "Banner图",
  40299. "type": "string"
  40300. },
  40301. "buyprice": {
  40302. "description": "买价",
  40303. "type": "number"
  40304. },
  40305. "buypricemove": {
  40306. "description": "买升贴水(基差)",
  40307. "type": "number"
  40308. },
  40309. "buyqty": {
  40310. "description": "买量",
  40311. "type": "number"
  40312. },
  40313. "deliverygoodscode": {
  40314. "description": "品种代码",
  40315. "type": "string"
  40316. },
  40317. "deliverygoodsid": {
  40318. "description": "品种id",
  40319. "type": "integer"
  40320. },
  40321. "deliverygoodsname": {
  40322. "description": "品种名称",
  40323. "type": "string"
  40324. },
  40325. "deliverymonth": {
  40326. "description": "交收月",
  40327. "type": "string"
  40328. },
  40329. "enumdicname": {
  40330. "description": "单位名称",
  40331. "type": "string"
  40332. },
  40333. "goodscode": {
  40334. "description": "商品合约(浮动价列表才有)",
  40335. "type": "string"
  40336. },
  40337. "goodsid": {
  40338. "description": "商品id(浮动价列表才有)",
  40339. "type": "integer"
  40340. },
  40341. "minivalue": {
  40342. "description": "现货商品最小变动值",
  40343. "type": "integer"
  40344. },
  40345. "pictureurls": {
  40346. "description": "详情图片(逗号分隔)",
  40347. "type": "string"
  40348. },
  40349. "sellprice": {
  40350. "description": "卖价",
  40351. "type": "number"
  40352. },
  40353. "sellpricemove": {
  40354. "description": "卖升贴水(基差)",
  40355. "type": "number"
  40356. },
  40357. "sellqty": {
  40358. "description": "卖量",
  40359. "type": "number"
  40360. },
  40361. "thumurls": {
  40362. "description": "缩略图片(1:1)(逗号分隔)",
  40363. "type": "string"
  40364. },
  40365. "warehousecode": {
  40366. "description": "仓库代码",
  40367. "type": "string"
  40368. },
  40369. "warehouseid": {
  40370. "description": "仓库id",
  40371. "type": "integer"
  40372. },
  40373. "warehousename": {
  40374. "description": "仓库名称",
  40375. "type": "string"
  40376. },
  40377. "wrfactortypeid": {
  40378. "description": "仓单要素id",
  40379. "type": "string"
  40380. },
  40381. "wrfactortypename": {
  40382. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40383. "type": "string"
  40384. },
  40385. "wrgoodsname": {
  40386. "description": "商品(商品名称+仓库要素名称 拼接)",
  40387. "type": "string"
  40388. },
  40389. "wrstandardcode": {
  40390. "description": "商品代码",
  40391. "type": "string"
  40392. },
  40393. "wrstandardid": {
  40394. "description": "商品id",
  40395. "type": "integer"
  40396. },
  40397. "wrstandardname": {
  40398. "description": "商品名称",
  40399. "type": "string"
  40400. }
  40401. }
  40402. },
  40403. "models.WrOrderQuoteDetail": {
  40404. "type": "object",
  40405. "properties": {
  40406. "buyorsell": {
  40407. "description": "买卖 - 0:买 1:卖",
  40408. "type": "integer"
  40409. },
  40410. "delistminqty": {
  40411. "description": "起摘数量",
  40412. "type": "number"
  40413. },
  40414. "deliverymonth": {
  40415. "description": "交收月",
  40416. "type": "string"
  40417. },
  40418. "enumdicname": {
  40419. "description": "单位名称",
  40420. "type": "string"
  40421. },
  40422. "fixedprice": {
  40423. "description": "买(卖)价",
  40424. "type": "number"
  40425. },
  40426. "marketid": {
  40427. "description": "市场id",
  40428. "type": "integer"
  40429. },
  40430. "minivalue": {
  40431. "description": "现货商品最小变动值",
  40432. "type": "integer"
  40433. },
  40434. "orderqty": {
  40435. "description": "买(卖)量(=委托量-成交量)",
  40436. "type": "number"
  40437. },
  40438. "ordertime": {
  40439. "description": "委托时间",
  40440. "type": "string"
  40441. },
  40442. "pricemove": {
  40443. "description": "买(卖)升贴水- 基差",
  40444. "type": "number"
  40445. },
  40446. "userid": {
  40447. "description": "购买方(销售方)用户ID",
  40448. "type": "integer"
  40449. },
  40450. "username": {
  40451. "description": "购买方(销售方)",
  40452. "type": "string"
  40453. },
  40454. "wrtradeorderid": {
  40455. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  40456. "type": "string"
  40457. }
  40458. }
  40459. },
  40460. "models.WrOutInApply": {
  40461. "type": "object",
  40462. "properties": {
  40463. "applyid": {
  40464. "description": "申请单id",
  40465. "type": "string"
  40466. },
  40467. "applystatus": {
  40468. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  40469. "type": "integer"
  40470. },
  40471. "applytime": {
  40472. "description": "申请时间",
  40473. "type": "string"
  40474. },
  40475. "applytype": {
  40476. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  40477. "type": "integer"
  40478. },
  40479. "bannerpicurl": {
  40480. "description": "Banner图",
  40481. "type": "string"
  40482. },
  40483. "begindate": {
  40484. "description": "开始交易日(yyyymmdd)",
  40485. "type": "string"
  40486. },
  40487. "deliverygoodscode": {
  40488. "description": "品种代码",
  40489. "type": "string"
  40490. },
  40491. "deliverygoodsid": {
  40492. "description": "品种ID",
  40493. "type": "integer"
  40494. },
  40495. "deliverygoodsname": {
  40496. "description": "品种名称",
  40497. "type": "string"
  40498. },
  40499. "enddate": {
  40500. "description": "结束交易日(yyyymmdd)",
  40501. "type": "string"
  40502. },
  40503. "enumdicname": {
  40504. "description": "单位名称",
  40505. "type": "string"
  40506. },
  40507. "expresscompany": {
  40508. "description": "物流公司",
  40509. "type": "string"
  40510. },
  40511. "expressnum": {
  40512. "description": "物流单号",
  40513. "type": "string"
  40514. },
  40515. "minivalue": {
  40516. "description": "现货商品最小变动值",
  40517. "type": "integer"
  40518. },
  40519. "optioncompare": {
  40520. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40521. "type": "string"
  40522. },
  40523. "qty": {
  40524. "description": "数量",
  40525. "type": "integer"
  40526. },
  40527. "userid": {
  40528. "description": "用户id",
  40529. "type": "integer"
  40530. },
  40531. "warehouseid": {
  40532. "description": "仓库ID",
  40533. "type": "integer"
  40534. },
  40535. "warehousename": {
  40536. "description": "仓库名称",
  40537. "type": "string"
  40538. },
  40539. "wrfactortypeid": {
  40540. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40541. "type": "string"
  40542. },
  40543. "wrfactortypename": {
  40544. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40545. "type": "string"
  40546. },
  40547. "wrstandardcode": {
  40548. "description": "现货商品代码",
  40549. "type": "string"
  40550. },
  40551. "wrstandardid": {
  40552. "description": "现货商品ID",
  40553. "type": "integer"
  40554. },
  40555. "wrstandardname": {
  40556. "description": "商品名称",
  40557. "type": "string"
  40558. },
  40559. "wrtypename": {
  40560. "description": "商品",
  40561. "type": "string"
  40562. }
  40563. }
  40564. },
  40565. "models.WrPerformancePlan": {
  40566. "type": "object",
  40567. "required": [
  40568. "userid"
  40569. ],
  40570. "properties": {
  40571. "activatemonth": {
  40572. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  40573. "type": "string"
  40574. },
  40575. "amount": {
  40576. "description": "履约金额(总金额)",
  40577. "type": "number"
  40578. },
  40579. "begindate": {
  40580. "description": "开始交易日(yyyymmdd)",
  40581. "type": "string"
  40582. },
  40583. "buyaccountid": {
  40584. "description": "买方账号",
  40585. "type": "integer"
  40586. },
  40587. "buyerfreezeamount": {
  40588. "description": "履约冻结(买履约)",
  40589. "type": "number"
  40590. },
  40591. "buyerfreezeamountremain": {
  40592. "description": "履约冻结剩余(买履约)",
  40593. "type": "number"
  40594. },
  40595. "buyorsell": {
  40596. "description": "买卖方向 0-买 1-卖",
  40597. "type": "integer"
  40598. },
  40599. "buypaidamount": {
  40600. "description": "买方已冻/已扣金额 (已付金额)",
  40601. "type": "number"
  40602. },
  40603. "buyusername": {
  40604. "description": "买方名字",
  40605. "type": "string"
  40606. },
  40607. "contractid": {
  40608. "description": "合同ID",
  40609. "type": "integer"
  40610. },
  40611. "createtime": {
  40612. "description": "创建时间",
  40613. "type": "string"
  40614. },
  40615. "creatorid": {
  40616. "description": "创建人",
  40617. "type": "integer"
  40618. },
  40619. "curstepdeadline": {
  40620. "description": "当前步骤到期时间",
  40621. "type": "string"
  40622. },
  40623. "curstepid": {
  40624. "description": "当前步骤ID",
  40625. "type": "string"
  40626. },
  40627. "curstepname": {
  40628. "description": "当前步骤名称",
  40629. "type": "string"
  40630. },
  40631. "deliverygoodscode": {
  40632. "description": "品种代码",
  40633. "type": "string"
  40634. },
  40635. "deliverygoodsid": {
  40636. "description": "品种ID",
  40637. "type": "integer"
  40638. },
  40639. "deliverygoodsname": {
  40640. "description": "品种名称",
  40641. "type": "string"
  40642. },
  40643. "enddate": {
  40644. "description": "结束交易日(yyyymmdd)",
  40645. "type": "string"
  40646. },
  40647. "enumdicname": {
  40648. "description": "单位名称",
  40649. "type": "string"
  40650. },
  40651. "expressfee": {
  40652. "description": "运费",
  40653. "type": "number"
  40654. },
  40655. "expressfeeconfirmed": {
  40656. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  40657. "type": "integer"
  40658. },
  40659. "hasovershort": {
  40660. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  40661. "type": "integer"
  40662. },
  40663. "haswr": {
  40664. "description": "类型 0-仓单预售 1-仓单贸易",
  40665. "type": "integer"
  40666. },
  40667. "marketid": {
  40668. "description": "市场ID",
  40669. "type": "integer"
  40670. },
  40671. "middleaccountid": {
  40672. "description": "中间商资金账号ID",
  40673. "type": "integer"
  40674. },
  40675. "middleuserid": {
  40676. "description": "中间商用户ID",
  40677. "type": "integer"
  40678. },
  40679. "minivalue": {
  40680. "description": "现货商品最小变动值",
  40681. "type": "integer"
  40682. },
  40683. "optioncompare": {
  40684. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40685. "type": "string"
  40686. },
  40687. "overshortamount": {
  40688. "description": "溢短金额",
  40689. "type": "number"
  40690. },
  40691. "overshortqty": {
  40692. "description": "溢短数量",
  40693. "type": "number"
  40694. },
  40695. "paymenttype": {
  40696. "description": "付款方式 - 1:冻结 2:扣款",
  40697. "type": "integer"
  40698. },
  40699. "performanceplanid": {
  40700. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  40701. "type": "string"
  40702. },
  40703. "performancestatus": {
  40704. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  40705. "type": "integer"
  40706. },
  40707. "performancetype": {
  40708. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  40709. "type": "integer"
  40710. },
  40711. "qty": {
  40712. "description": "履约数量",
  40713. "type": "number"
  40714. },
  40715. "relatedorderid": {
  40716. "description": "关联单号(履约类型的关联单号)",
  40717. "type": "string"
  40718. },
  40719. "remark": {
  40720. "description": "备注",
  40721. "type": "string"
  40722. },
  40723. "sellaccountid": {
  40724. "description": "卖方账号",
  40725. "type": "integer"
  40726. },
  40727. "sellerfreezeamount": {
  40728. "description": "履约冻结(卖履约)",
  40729. "type": "number"
  40730. },
  40731. "sellerfreezeamountremain": {
  40732. "description": "履约冻结剩余(卖履约)",
  40733. "type": "number"
  40734. },
  40735. "sellreceivedamount": {
  40736. "description": "卖方已收金额",
  40737. "type": "number"
  40738. },
  40739. "sellusername": {
  40740. "description": "卖方名字",
  40741. "type": "string"
  40742. },
  40743. "shipremark": {
  40744. "description": "发货备注[物流单号]",
  40745. "type": "string"
  40746. },
  40747. "starttime": {
  40748. "description": "开始时间",
  40749. "type": "string"
  40750. },
  40751. "steptypeid": {
  40752. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  40753. "type": "integer"
  40754. },
  40755. "typename": {
  40756. "description": "履约类型 名称",
  40757. "type": "string"
  40758. },
  40759. "unpaidamount": {
  40760. "description": "剩余款(待支付金额)",
  40761. "type": "number"
  40762. },
  40763. "userid": {
  40764. "description": "用户id",
  40765. "type": "integer"
  40766. },
  40767. "warehouseid": {
  40768. "description": "仓库ID",
  40769. "type": "integer"
  40770. },
  40771. "warehousename": {
  40772. "description": "仓库名称",
  40773. "type": "string"
  40774. },
  40775. "wrfactortypeid": {
  40776. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40777. "type": "string"
  40778. },
  40779. "wrfactortypename": {
  40780. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40781. "type": "string"
  40782. },
  40783. "wrstandardcode": {
  40784. "description": "现货商品代码",
  40785. "type": "string"
  40786. },
  40787. "wrstandardid": {
  40788. "description": "现货商品ID",
  40789. "type": "integer"
  40790. },
  40791. "wrstandardname": {
  40792. "description": "商品名称",
  40793. "type": "string"
  40794. },
  40795. "wrtransferuserid": {
  40796. "description": "仓单受让用户",
  40797. "type": "integer"
  40798. },
  40799. "wrtypename": {
  40800. "description": "商品",
  40801. "type": "string"
  40802. }
  40803. }
  40804. },
  40805. "models.WrPerformancePlanStep": {
  40806. "type": "object",
  40807. "properties": {
  40808. "delaydays": {
  40809. "description": "延期申请天数",
  40810. "type": "integer"
  40811. },
  40812. "deliverygoodscode": {
  40813. "description": "品种代码",
  40814. "type": "string"
  40815. },
  40816. "deliverygoodsid": {
  40817. "description": "品种ID",
  40818. "type": "integer"
  40819. },
  40820. "deliverygoodsname": {
  40821. "description": "品种名称",
  40822. "type": "string"
  40823. },
  40824. "endtime": {
  40825. "description": "结束日期",
  40826. "type": "string"
  40827. },
  40828. "enumdicname": {
  40829. "description": "单位名称",
  40830. "type": "string"
  40831. },
  40832. "executeside": {
  40833. "description": "步骤执行方 - 1:买方 2:卖方",
  40834. "type": "integer"
  40835. },
  40836. "handlestatus": {
  40837. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  40838. "type": "integer"
  40839. },
  40840. "isauto": {
  40841. "description": "是否自动 - 0:不自动 1:自动",
  40842. "type": "integer"
  40843. },
  40844. "islastreceivestep": {
  40845. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  40846. "type": "integer"
  40847. },
  40848. "minivalue": {
  40849. "description": "现货商品最小变动值",
  40850. "type": "integer"
  40851. },
  40852. "optioncompare": {
  40853. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40854. "type": "string"
  40855. },
  40856. "overdays": {
  40857. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  40858. "type": "integer"
  40859. },
  40860. "performancestepid": {
  40861. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  40862. "type": "string"
  40863. },
  40864. "planid": {
  40865. "description": "所属履约计划ID",
  40866. "type": "string"
  40867. },
  40868. "realamount": {
  40869. "description": "实际完成金额",
  40870. "type": "number"
  40871. },
  40872. "relatedorderid": {
  40873. "description": "关联单号",
  40874. "type": "string"
  40875. },
  40876. "remaindays": {
  40877. "description": "剩余天数",
  40878. "type": "integer"
  40879. },
  40880. "remark": {
  40881. "description": "错误备注",
  40882. "type": "string"
  40883. },
  40884. "starttime": {
  40885. "description": "开始日期",
  40886. "type": "string"
  40887. },
  40888. "stepamount": {
  40889. "description": "步骤金额",
  40890. "type": "number"
  40891. },
  40892. "stepdays": {
  40893. "description": "距离上一步天数(分钟)",
  40894. "type": "integer"
  40895. },
  40896. "stepindex": {
  40897. "description": "步骤序号",
  40898. "type": "integer"
  40899. },
  40900. "steplanchtype": {
  40901. "description": "步骤启动类型 - 1:系统自动 2:手动",
  40902. "type": "integer"
  40903. },
  40904. "stepremark": {
  40905. "description": "步骤备注",
  40906. "type": "string"
  40907. },
  40908. "stepstatus": {
  40909. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  40910. "type": "integer"
  40911. },
  40912. "steptypeid": {
  40913. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  40914. "type": "integer"
  40915. },
  40916. "steptypename": {
  40917. "description": "步骤名称",
  40918. "type": "string"
  40919. },
  40920. "stepvalue": {
  40921. "description": "步骤值",
  40922. "type": "number"
  40923. },
  40924. "warehouseid": {
  40925. "description": "仓库ID",
  40926. "type": "integer"
  40927. },
  40928. "warehousename": {
  40929. "description": "仓库名称",
  40930. "type": "string"
  40931. },
  40932. "wrfactortypeid": {
  40933. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40934. "type": "string"
  40935. },
  40936. "wrfactortypename": {
  40937. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40938. "type": "string"
  40939. },
  40940. "wrstandardcode": {
  40941. "description": "现货商品代码",
  40942. "type": "string"
  40943. },
  40944. "wrstandardid": {
  40945. "description": "现货商品ID",
  40946. "type": "integer"
  40947. },
  40948. "wrstandardname": {
  40949. "description": "商品名称",
  40950. "type": "string"
  40951. },
  40952. "wrtypename": {
  40953. "description": "商品",
  40954. "type": "string"
  40955. }
  40956. }
  40957. },
  40958. "models.WrPerformanceStepType": {
  40959. "type": "object",
  40960. "properties": {
  40961. "canauto": {
  40962. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  40963. "type": "integer"
  40964. },
  40965. "steptypeid": {
  40966. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  40967. "type": "integer"
  40968. },
  40969. "steptypename": {
  40970. "description": "步骤类型名称",
  40971. "type": "string"
  40972. }
  40973. }
  40974. },
  40975. "models.WrPerformanceTemplateEx": {
  40976. "type": "object",
  40977. "properties": {
  40978. "autoid": {
  40979. "description": "AutoID 模板id",
  40980. "type": "integer"
  40981. },
  40982. "createtime": {
  40983. "description": "创建时间",
  40984. "type": "string"
  40985. },
  40986. "creatorid": {
  40987. "description": "创建人",
  40988. "type": "integer"
  40989. },
  40990. "lstStep": {
  40991. "description": "步骤信息列表",
  40992. "type": "array",
  40993. "items": {
  40994. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  40995. }
  40996. },
  40997. "paymenttype": {
  40998. "description": "支付方式 - 1:冻结 2:扣款",
  40999. "type": "integer"
  41000. },
  41001. "takemode": {
  41002. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  41003. "type": "integer"
  41004. },
  41005. "templatename": {
  41006. "description": "模板名称",
  41007. "type": "string"
  41008. },
  41009. "templatetype": {
  41010. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  41011. "type": "integer"
  41012. },
  41013. "userid": {
  41014. "description": "所属用户",
  41015. "type": "integer"
  41016. }
  41017. }
  41018. },
  41019. "models.WrPosition": {
  41020. "type": "object",
  41021. "properties": {
  41022. "accountid": {
  41023. "description": "帐户ID",
  41024. "type": "integer"
  41025. },
  41026. "buyexcuteqty": {
  41027. "description": "采购履约中数量",
  41028. "type": "number"
  41029. },
  41030. "creditcurqty": {
  41031. "description": "授信当前数量(预售仓单:预售当前量)",
  41032. "type": "number"
  41033. },
  41034. "creditenableqty": {
  41035. "description": "授信可用数量(预售仓单: 可用数量)",
  41036. "type": "number"
  41037. },
  41038. "creditfreezeqty": {
  41039. "description": "授信冻结数量(预售仓单: 当前数量)",
  41040. "type": "number"
  41041. },
  41042. "credittotalqty": {
  41043. "description": "授信总数量(预售仓单:预售总量)",
  41044. "type": "number"
  41045. },
  41046. "credittradeqty": {
  41047. "description": "授信成交数量(预售仓单:成交总量)",
  41048. "type": "number"
  41049. },
  41050. "deliverygoodscode": {
  41051. "description": "品种代码",
  41052. "type": "string"
  41053. },
  41054. "deliverygoodsid": {
  41055. "description": "品种ID",
  41056. "type": "integer"
  41057. },
  41058. "deliverygoodsname": {
  41059. "description": "品种名称",
  41060. "type": "string"
  41061. },
  41062. "enalbeqty": {
  41063. "description": "可用数量",
  41064. "type": "number"
  41065. },
  41066. "enumdicname": {
  41067. "description": "单位名称",
  41068. "type": "string"
  41069. },
  41070. "freezeqty": {
  41071. "description": "总冻结数量",
  41072. "type": "number"
  41073. },
  41074. "haswr": {
  41075. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  41076. "type": "integer"
  41077. },
  41078. "minivalue": {
  41079. "description": "现货商品最小变动值",
  41080. "type": "integer"
  41081. },
  41082. "modifytime": {
  41083. "description": "修改时间(过户时间)",
  41084. "type": "string"
  41085. },
  41086. "optioncompare": {
  41087. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41088. "type": "string"
  41089. },
  41090. "pledgeqty": {
  41091. "description": "质押数量",
  41092. "type": "number"
  41093. },
  41094. "querytype": {
  41095. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  41096. "type": "integer"
  41097. },
  41098. "sellexcuteqty": {
  41099. "description": "销售履约中数量",
  41100. "type": "number"
  41101. },
  41102. "totalqty": {
  41103. "description": "总数量(库存数量)",
  41104. "type": "number"
  41105. },
  41106. "warehouseid": {
  41107. "description": "仓库ID",
  41108. "type": "integer"
  41109. },
  41110. "warehousename": {
  41111. "description": "仓库名称",
  41112. "type": "string"
  41113. },
  41114. "wrfactortypeid": {
  41115. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41116. "type": "string"
  41117. },
  41118. "wrfactortypename": {
  41119. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41120. "type": "string"
  41121. },
  41122. "wrpositionid": {
  41123. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  41124. "type": "string"
  41125. },
  41126. "wrpositionno": {
  41127. "description": "仓单编号",
  41128. "type": "string"
  41129. },
  41130. "wrstandardcode": {
  41131. "description": "现货商品代码",
  41132. "type": "string"
  41133. },
  41134. "wrstandardid": {
  41135. "description": "现货商品ID",
  41136. "type": "integer"
  41137. },
  41138. "wrstandardname": {
  41139. "description": "商品名称",
  41140. "type": "string"
  41141. },
  41142. "wrtypename": {
  41143. "description": "商品",
  41144. "type": "string"
  41145. },
  41146. "wruserid": {
  41147. "description": "持有人ID",
  41148. "type": "integer"
  41149. }
  41150. }
  41151. },
  41152. "models.WrPreSaleInfo": {
  41153. "type": "object",
  41154. "properties": {
  41155. "bannerpicurl": {
  41156. "description": "Banner图",
  41157. "type": "string"
  41158. },
  41159. "baseqty": {
  41160. "description": "中签基数",
  41161. "type": "number"
  41162. },
  41163. "createtime": {
  41164. "description": "创建时间",
  41165. "type": "string"
  41166. },
  41167. "deliverygoodsid": {
  41168. "description": "现货品种ID",
  41169. "type": "integer"
  41170. },
  41171. "enddate": {
  41172. "description": "预售结束日期",
  41173. "type": "string"
  41174. },
  41175. "enumdicname": {
  41176. "description": "单位名称",
  41177. "type": "string"
  41178. },
  41179. "lotteryflag": {
  41180. "description": "摇号标识 - 0:未摇号 1:已摇号",
  41181. "type": "integer"
  41182. },
  41183. "lotteryqty": {
  41184. "description": "摇号总量",
  41185. "type": "number"
  41186. },
  41187. "luckyqty": {
  41188. "description": "已中签量",
  41189. "type": "number"
  41190. },
  41191. "marketid": {
  41192. "description": "市场ID",
  41193. "type": "integer"
  41194. },
  41195. "maxbuyqty": {
  41196. "description": "单人最大申购量",
  41197. "type": "number"
  41198. },
  41199. "maxluckyqty": {
  41200. "description": "单人最大中签量",
  41201. "type": "number"
  41202. },
  41203. "pictureurls": {
  41204. "description": "详情图片(逗号分隔)",
  41205. "type": "string"
  41206. },
  41207. "placeqty": {
  41208. "description": "已配售量",
  41209. "type": "number"
  41210. },
  41211. "presaleapplyid": {
  41212. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  41213. "type": "string",
  41214. "example": "0"
  41215. },
  41216. "presaleqty": {
  41217. "description": "预售总量",
  41218. "type": "number"
  41219. },
  41220. "presalestatus": {
  41221. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  41222. "type": "integer"
  41223. },
  41224. "sellaccountid": {
  41225. "description": "发行方资金账户ID",
  41226. "type": "integer"
  41227. },
  41228. "selluserid": {
  41229. "description": "发行方用户ID",
  41230. "type": "integer"
  41231. },
  41232. "sellwrtradeorderid": {
  41233. "description": "发行方卖委托单ID",
  41234. "type": "string"
  41235. },
  41236. "startdate": {
  41237. "description": "预售开始日期",
  41238. "type": "string"
  41239. },
  41240. "takestartdate": {
  41241. "description": "提货开始日期",
  41242. "type": "string"
  41243. },
  41244. "thumurls": {
  41245. "description": "缩略图片(1:1)(逗号分隔)",
  41246. "type": "string"
  41247. },
  41248. "tradedate": {
  41249. "description": "交易日",
  41250. "type": "string"
  41251. },
  41252. "unitid": {
  41253. "description": "单位ID",
  41254. "type": "integer"
  41255. },
  41256. "unitprice": {
  41257. "description": "商品单价",
  41258. "type": "number"
  41259. },
  41260. "username": {
  41261. "description": "发行方用户名称",
  41262. "type": "string"
  41263. },
  41264. "warehousecode": {
  41265. "description": "仓库代码(仓库简称)",
  41266. "type": "string"
  41267. },
  41268. "warehouseid": {
  41269. "description": "仓库ID",
  41270. "type": "integer"
  41271. },
  41272. "warehousename": {
  41273. "description": "仓库名称",
  41274. "type": "string"
  41275. },
  41276. "wrfactortypeid": {
  41277. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  41278. "type": "string",
  41279. "example": "0"
  41280. },
  41281. "wrstandardid": {
  41282. "description": "现货商品ID",
  41283. "type": "integer"
  41284. },
  41285. "wrstandardname": {
  41286. "description": "现货商品名称",
  41287. "type": "string"
  41288. }
  41289. }
  41290. },
  41291. "models.WrQuoteOrderMyq": {
  41292. "type": "object",
  41293. "properties": {
  41294. "buyorsell": {
  41295. "description": "买卖 - 0:买 1:卖",
  41296. "type": "integer"
  41297. },
  41298. "canbargain": {
  41299. "description": "是否可议价 - 0:不可 1:可",
  41300. "type": "integer"
  41301. },
  41302. "canpart": {
  41303. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  41304. "type": "integer"
  41305. },
  41306. "delistminqty": {
  41307. "description": "起摘数量",
  41308. "type": "number"
  41309. },
  41310. "deliverygoodscode": {
  41311. "description": "品种代码",
  41312. "type": "string"
  41313. },
  41314. "deliverygoodsid": {
  41315. "description": "品种ID",
  41316. "type": "integer"
  41317. },
  41318. "deliverygoodsname": {
  41319. "description": "品种名称",
  41320. "type": "string"
  41321. },
  41322. "deliverymonth": {
  41323. "description": "交收月",
  41324. "type": "string"
  41325. },
  41326. "enumdicname": {
  41327. "description": "单位名称",
  41328. "type": "string"
  41329. },
  41330. "fixedprice": {
  41331. "description": "买(卖)价",
  41332. "type": "number"
  41333. },
  41334. "goodscode": {
  41335. "description": "商品合约代码",
  41336. "type": "string"
  41337. },
  41338. "marginflag": {
  41339. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  41340. "type": "integer"
  41341. },
  41342. "marginvalue": {
  41343. "description": "保证金设置值",
  41344. "type": "number"
  41345. },
  41346. "minivalue": {
  41347. "description": "现货商品最小变动值",
  41348. "type": "integer"
  41349. },
  41350. "orderqty": {
  41351. "description": "买(卖)量(=委托量-成交量)",
  41352. "type": "number"
  41353. },
  41354. "ordertime": {
  41355. "description": "委托时间",
  41356. "type": "string"
  41357. },
  41358. "performancetemplateid": {
  41359. "description": "履约模板id",
  41360. "type": "integer"
  41361. },
  41362. "pricemove": {
  41363. "description": "买(卖)升贴水- 基差",
  41364. "type": "number"
  41365. },
  41366. "templatename": {
  41367. "description": "履约模板名称",
  41368. "type": "string"
  41369. },
  41370. "userid": {
  41371. "description": "购买方(销售方)用户ID",
  41372. "type": "integer"
  41373. },
  41374. "username": {
  41375. "description": "购买方(销售方)",
  41376. "type": "string"
  41377. },
  41378. "validtime": {
  41379. "description": "有效期限",
  41380. "type": "string"
  41381. },
  41382. "validtype": {
  41383. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  41384. "type": "integer"
  41385. },
  41386. "warehousename": {
  41387. "description": "仓库名称",
  41388. "type": "string"
  41389. },
  41390. "wrfactortypeid": {
  41391. "description": "仓单要素id",
  41392. "type": "string"
  41393. },
  41394. "wrstandardcode": {
  41395. "description": "现货商品代码",
  41396. "type": "string"
  41397. },
  41398. "wrstandardid": {
  41399. "description": "现货商品ID",
  41400. "type": "integer"
  41401. },
  41402. "wrstandardname": {
  41403. "description": "商品名称",
  41404. "type": "string"
  41405. },
  41406. "wrtradeorderid": {
  41407. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  41408. "type": "string"
  41409. },
  41410. "wrtypename": {
  41411. "description": "商品",
  41412. "type": "string"
  41413. }
  41414. }
  41415. },
  41416. "models.WrReckonSpotGoodsTradeSum": {
  41417. "type": "object",
  41418. "properties": {
  41419. "begindate": {
  41420. "description": "开始日期(结果含开始日期) yyyymmdd",
  41421. "type": "string"
  41422. },
  41423. "enddate": {
  41424. "description": "结束日期(结果含结束日期) yyyymmdd",
  41425. "type": "string"
  41426. },
  41427. "istoday": {
  41428. "description": "是否当日",
  41429. "type": "boolean"
  41430. },
  41431. "marketid": {
  41432. "description": "市场ID",
  41433. "type": "integer"
  41434. },
  41435. "price": {
  41436. "description": "价格 = 日成交金额 / 日成交数量",
  41437. "type": "string"
  41438. },
  41439. "reckondate": {
  41440. "description": "日期 格式 yyyymmdd",
  41441. "type": "string"
  41442. },
  41443. "tradeamount": {
  41444. "description": "日成交金额(当日单方向成交金额)",
  41445. "type": "number"
  41446. },
  41447. "tradeqty": {
  41448. "description": "日成交数量(当日单方向成交数量)",
  41449. "type": "number"
  41450. },
  41451. "wrstandardid": {
  41452. "description": "现货商品ID",
  41453. "type": "integer"
  41454. }
  41455. }
  41456. },
  41457. "models.WrScfContract": {
  41458. "type": "object",
  41459. "properties": {
  41460. "borroweruserid": {
  41461. "description": "借款用户ID",
  41462. "type": "integer"
  41463. },
  41464. "buybackwrpositionqty": {
  41465. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  41466. "type": "number"
  41467. },
  41468. "closeinterest": {
  41469. "description": "已结利息 -\u003e 已结费用",
  41470. "type": "number"
  41471. },
  41472. "currisklevel": {
  41473. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  41474. "type": "integer"
  41475. },
  41476. "deadline": {
  41477. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  41478. "type": "string"
  41479. },
  41480. "deliverygoodscode": {
  41481. "description": "品种代码",
  41482. "type": "string"
  41483. },
  41484. "deliverygoodsid": {
  41485. "description": "品种ID",
  41486. "type": "integer"
  41487. },
  41488. "deliverygoodsname": {
  41489. "description": "品种名称",
  41490. "type": "string"
  41491. },
  41492. "enumdicname": {
  41493. "description": "单位名称",
  41494. "type": "string"
  41495. },
  41496. "financingdays": {
  41497. "description": "天数(天)",
  41498. "type": "integer"
  41499. },
  41500. "initmargin": {
  41501. "description": "保证金 - [仓单回购]",
  41502. "type": "number"
  41503. },
  41504. "interestamount": {
  41505. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  41506. "type": "number"
  41507. },
  41508. "interestdebt": {
  41509. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  41510. "type": "number"
  41511. },
  41512. "interestminlen": {
  41513. "description": "最小起息天数",
  41514. "type": "integer"
  41515. },
  41516. "interestrate": {
  41517. "description": "利率",
  41518. "type": "number"
  41519. },
  41520. "interestratemode": {
  41521. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  41522. "type": "integer"
  41523. },
  41524. "interestsettlemode": {
  41525. "description": "结息方式 - 1:按日结息 3:按月结息",
  41526. "type": "integer"
  41527. },
  41528. "interestsettlevalue": {
  41529. "description": "结息方式值",
  41530. "type": "integer"
  41531. },
  41532. "isautoloan": {
  41533. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  41534. "type": "integer"
  41535. },
  41536. "lastcloseinterestday": {
  41537. "description": "最近结息日(yyyyMMdd)",
  41538. "type": "string"
  41539. },
  41540. "lenderamount": {
  41541. "description": "贷款金额 -\u003e 借款金额",
  41542. "type": "number"
  41543. },
  41544. "lenderuserid": {
  41545. "description": "贷款方用户ID -\u003e 融出方用户ID",
  41546. "type": "integer"
  41547. },
  41548. "lenderusername": {
  41549. "description": "融出方",
  41550. "type": "string"
  41551. },
  41552. "marginratio": {
  41553. "description": "保证金比率质押率 - [仓单质押]",
  41554. "type": "number"
  41555. },
  41556. "marketid": {
  41557. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  41558. "type": "integer"
  41559. },
  41560. "minivalue": {
  41561. "description": "现货商品最小变动值",
  41562. "type": "integer"
  41563. },
  41564. "optioncompare": {
  41565. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41566. "type": "string"
  41567. },
  41568. "pricemove": {
  41569. "description": "估值升贴水值",
  41570. "type": "number"
  41571. },
  41572. "productdetailid": {
  41573. "description": "产品组合ID",
  41574. "type": "integer"
  41575. },
  41576. "productid": {
  41577. "description": "金融产品ID",
  41578. "type": "integer"
  41579. },
  41580. "productname": {
  41581. "description": "产品名称",
  41582. "type": "string"
  41583. },
  41584. "remainamount": {
  41585. "description": "合同剩余金额 -\u003e 剩余金额",
  41586. "type": "number"
  41587. },
  41588. "remainwrpositionqty": {
  41589. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  41590. "type": "number"
  41591. },
  41592. "remark": {
  41593. "description": "备注",
  41594. "type": "string"
  41595. },
  41596. "scfcontractid": {
  41597. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  41598. "type": "string"
  41599. },
  41600. "scfcontractstatus": {
  41601. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  41602. "type": "integer"
  41603. },
  41604. "scfcontracttype": {
  41605. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  41606. "type": "integer"
  41607. },
  41608. "startinterestday": {
  41609. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  41610. "type": "string"
  41611. },
  41612. "totalinterest": {
  41613. "description": "已计利息 -\u003e 已计费用",
  41614. "type": "number"
  41615. },
  41616. "unpaidinterest": {
  41617. "description": "未结费用",
  41618. "type": "number"
  41619. },
  41620. "updatetime": {
  41621. "description": "更新时间",
  41622. "type": "string"
  41623. },
  41624. "warehouseid": {
  41625. "description": "仓库ID",
  41626. "type": "integer"
  41627. },
  41628. "warehousename": {
  41629. "description": "仓库名称",
  41630. "type": "string"
  41631. },
  41632. "wrfactortypeid": {
  41633. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41634. "type": "string"
  41635. },
  41636. "wrfactortypename": {
  41637. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41638. "type": "string"
  41639. },
  41640. "wrqty": {
  41641. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  41642. "type": "number"
  41643. },
  41644. "wrstandardcode": {
  41645. "description": "现货商品代码",
  41646. "type": "string"
  41647. },
  41648. "wrstandardid": {
  41649. "description": "现货商品ID",
  41650. "type": "integer"
  41651. },
  41652. "wrstandardname": {
  41653. "description": "商品名称",
  41654. "type": "string"
  41655. },
  41656. "wrtypename": {
  41657. "description": "商品",
  41658. "type": "string"
  41659. }
  41660. }
  41661. },
  41662. "models.WrScfContractInterest": {
  41663. "type": "object",
  41664. "properties": {
  41665. "closeinterest": {
  41666. "description": "已结利息",
  41667. "type": "number"
  41668. },
  41669. "closeintereststatus": {
  41670. "description": "结息状态 - 1:未结 2:已结",
  41671. "type": "integer"
  41672. },
  41673. "closetime": {
  41674. "description": "结息时间",
  41675. "type": "string"
  41676. },
  41677. "closetradedate": {
  41678. "description": "结息交易日",
  41679. "type": "string"
  41680. },
  41681. "creatorid": {
  41682. "description": "操作人ID",
  41683. "type": "integer"
  41684. },
  41685. "dayrate": {
  41686. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  41687. "type": "number"
  41688. },
  41689. "interest": {
  41690. "description": "利息",
  41691. "type": "number"
  41692. },
  41693. "interestamount": {
  41694. "description": "计息金额",
  41695. "type": "number"
  41696. },
  41697. "interestday": {
  41698. "description": "计息日(yyyyMMdd)",
  41699. "type": "string"
  41700. },
  41701. "scfcontractid": {
  41702. "description": "SCF合同ID",
  41703. "type": "string"
  41704. },
  41705. "scfcontractinterestid": {
  41706. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  41707. "type": "integer"
  41708. },
  41709. "updatetime": {
  41710. "description": "更新时间",
  41711. "type": "string"
  41712. }
  41713. }
  41714. },
  41715. "models.WrSearchUser": {
  41716. "type": "object",
  41717. "required": [
  41718. "username"
  41719. ],
  41720. "properties": {
  41721. "userid": {
  41722. "description": "用户ID",
  41723. "type": "integer"
  41724. },
  41725. "username": {
  41726. "description": "用户名称(已脱敏)",
  41727. "type": "string"
  41728. },
  41729. "username2": {
  41730. "description": "用户名称(未脱敏)",
  41731. "type": "string"
  41732. },
  41733. "usertype": {
  41734. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  41735. "type": "integer"
  41736. }
  41737. }
  41738. },
  41739. "models.WrSiteColumnDetail": {
  41740. "type": "object",
  41741. "properties": {
  41742. "brief": {
  41743. "description": "简介",
  41744. "type": "string"
  41745. },
  41746. "context": {
  41747. "description": "内容",
  41748. "type": "string"
  41749. },
  41750. "coverimage": {
  41751. "description": "封面图片",
  41752. "type": "string"
  41753. },
  41754. "creaedate": {
  41755. "description": "创建时间",
  41756. "type": "string"
  41757. },
  41758. "id": {
  41759. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  41760. "type": "integer"
  41761. },
  41762. "istop": {
  41763. "description": "是否置顶 - 0:不置 1:置顶",
  41764. "type": "integer"
  41765. },
  41766. "publishdate": {
  41767. "description": "发布日期",
  41768. "type": "string"
  41769. },
  41770. "title": {
  41771. "description": "标题",
  41772. "type": "string"
  41773. },
  41774. "updatedate": {
  41775. "description": "修改时间",
  41776. "type": "string"
  41777. }
  41778. }
  41779. },
  41780. "models.WrSpecialMatchOrder": {
  41781. "type": "object",
  41782. "properties": {
  41783. "amount": {
  41784. "description": "金额 = 数量 * 价格",
  41785. "type": "number"
  41786. },
  41787. "buyorsell": {
  41788. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  41789. "type": "integer"
  41790. },
  41791. "cancelqty": {
  41792. "description": "撤销数量",
  41793. "type": "number"
  41794. },
  41795. "deliverygoodscode": {
  41796. "description": "品种代码",
  41797. "type": "string"
  41798. },
  41799. "deliverygoodsid": {
  41800. "description": "品种ID",
  41801. "type": "integer"
  41802. },
  41803. "deliverygoodsname": {
  41804. "description": "品种名称",
  41805. "type": "string"
  41806. },
  41807. "enumdicname": {
  41808. "description": "单位名称",
  41809. "type": "string"
  41810. },
  41811. "fixedprice": {
  41812. "description": "固定价格(价格)",
  41813. "type": "number"
  41814. },
  41815. "haswr": {
  41816. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  41817. "type": "integer"
  41818. },
  41819. "isspecified": {
  41820. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  41821. "type": "integer"
  41822. },
  41823. "marketid": {
  41824. "description": "市场ID",
  41825. "type": "integer"
  41826. },
  41827. "matchuserid": {
  41828. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  41829. "type": "integer"
  41830. },
  41831. "matchusername": {
  41832. "description": "指定方",
  41833. "type": "string"
  41834. },
  41835. "minivalue": {
  41836. "description": "现货商品最小变动值",
  41837. "type": "integer"
  41838. },
  41839. "optioncompare": {
  41840. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41841. "type": "string"
  41842. },
  41843. "orderqty": {
  41844. "description": "委托数量",
  41845. "type": "number"
  41846. },
  41847. "ordertime": {
  41848. "description": "委托时间",
  41849. "type": "string"
  41850. },
  41851. "pricemove": {
  41852. "description": "升贴水(浮动价时填写) - [挂牌]",
  41853. "type": "number"
  41854. },
  41855. "tradedate": {
  41856. "description": "交易日(yyyyMMdd)",
  41857. "type": "string"
  41858. },
  41859. "tradeprice": {
  41860. "description": "成交价格",
  41861. "type": "number"
  41862. },
  41863. "tradeqty": {
  41864. "description": "成交数量",
  41865. "type": "number"
  41866. },
  41867. "userid": {
  41868. "description": "用户ID",
  41869. "type": "integer"
  41870. },
  41871. "username": {
  41872. "description": "发起方",
  41873. "type": "string"
  41874. },
  41875. "warehouseid": {
  41876. "description": "仓库ID",
  41877. "type": "integer"
  41878. },
  41879. "warehousename": {
  41880. "description": "仓库名称",
  41881. "type": "string"
  41882. },
  41883. "wrfactortypeid": {
  41884. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41885. "type": "string"
  41886. },
  41887. "wrfactortypename": {
  41888. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41889. "type": "string"
  41890. },
  41891. "wrpricetype": {
  41892. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  41893. "type": "integer"
  41894. },
  41895. "wrstandardcode": {
  41896. "description": "现货商品代码",
  41897. "type": "string"
  41898. },
  41899. "wrstandardid": {
  41900. "description": "现货商品ID",
  41901. "type": "integer"
  41902. },
  41903. "wrstandardname": {
  41904. "description": "商品名称",
  41905. "type": "string"
  41906. },
  41907. "wrtradeorderid": {
  41908. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  41909. "type": "string"
  41910. },
  41911. "wrtradeorderstatus": {
  41912. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  41913. "type": "integer"
  41914. },
  41915. "wrtradetype": {
  41916. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  41917. "type": "integer"
  41918. },
  41919. "wrtypename": {
  41920. "description": "商品",
  41921. "type": "string"
  41922. }
  41923. }
  41924. },
  41925. "models.WrSpotGroupTradeSum": {
  41926. "type": "object",
  41927. "properties": {
  41928. "deliverygoodscode": {
  41929. "description": "现货品种代码",
  41930. "type": "string"
  41931. },
  41932. "deliverygoodsid": {
  41933. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  41934. "type": "integer"
  41935. },
  41936. "deliverygoodsname": {
  41937. "description": "现货品种名称",
  41938. "type": "string"
  41939. },
  41940. "lastavgprice": {
  41941. "description": "上上个交易日价格(前2天价格)",
  41942. "type": "string"
  41943. },
  41944. "lastreckondate": {
  41945. "description": "上上个交易日(前2天交易日)",
  41946. "type": "string"
  41947. },
  41948. "reckondate": {
  41949. "description": "上个交易日(前1天交易日)",
  41950. "type": "string"
  41951. },
  41952. "todayavgprice": {
  41953. "description": "上个交易日价格(前1天价格)",
  41954. "type": "string"
  41955. },
  41956. "updown": {
  41957. "description": "涨跌",
  41958. "type": "string"
  41959. },
  41960. "updownratio": {
  41961. "description": "涨幅(已格式化, 直接显示即可)",
  41962. "type": "string"
  41963. }
  41964. }
  41965. },
  41966. "models.WrSpotGroupTradeSumDetail": {
  41967. "type": "object",
  41968. "properties": {
  41969. "deliverygoodsid": {
  41970. "description": "现货商品id",
  41971. "type": "integer"
  41972. },
  41973. "price": {
  41974. "description": "价格",
  41975. "type": "number"
  41976. },
  41977. "reckondate": {
  41978. "description": "日期(yyymmdd, 如:20211031)",
  41979. "type": "string"
  41980. }
  41981. }
  41982. },
  41983. "models.WrSpotGroupTradeSumEx": {
  41984. "type": "object",
  41985. "properties": {
  41986. "lst": {
  41987. "description": "指数列表",
  41988. "type": "array",
  41989. "items": {
  41990. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  41991. }
  41992. },
  41993. "prereckondate": {
  41994. "description": "上上个交易日(yyymmdd)",
  41995. "type": "string"
  41996. },
  41997. "reckondate": {
  41998. "description": "上个交易日(yyyymmdd)",
  41999. "type": "string"
  42000. }
  42001. }
  42002. },
  42003. "models.WrStandardFactoryItem": {
  42004. "type": "object",
  42005. "properties": {
  42006. "dgfactoryitemid": {
  42007. "description": "选择项id",
  42008. "type": "integer"
  42009. },
  42010. "dgfactoryitemvalue": {
  42011. "description": "要素项值",
  42012. "type": "string"
  42013. },
  42014. "warehouseid": {
  42015. "description": "仓库id",
  42016. "type": "integer"
  42017. }
  42018. }
  42019. },
  42020. "models.WrStandardFactoryItemEx": {
  42021. "type": "object",
  42022. "properties": {
  42023. "dgfactoryitemtypeid": {
  42024. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  42025. "type": "integer"
  42026. },
  42027. "itemlst": {
  42028. "description": "要素项列表",
  42029. "type": "array",
  42030. "items": {
  42031. "$ref": "#/definitions/models.WrStandardFactoryItem"
  42032. }
  42033. },
  42034. "itemtypename": {
  42035. "description": "要素项类型名称",
  42036. "type": "string"
  42037. },
  42038. "wrstandardid": {
  42039. "description": "品类",
  42040. "type": "integer"
  42041. }
  42042. }
  42043. },
  42044. "models.WrTradeDetail": {
  42045. "type": "object",
  42046. "properties": {
  42047. "accountid": {
  42048. "description": "资金账号",
  42049. "type": "integer"
  42050. },
  42051. "bannerpicurl": {
  42052. "description": "Banner图",
  42053. "type": "string"
  42054. },
  42055. "begindate": {
  42056. "description": "开始交易日(yyyymmdd)",
  42057. "type": "string"
  42058. },
  42059. "buyorsell": {
  42060. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  42061. "type": "integer"
  42062. },
  42063. "chargevalue": {
  42064. "description": "手续费",
  42065. "type": "number"
  42066. },
  42067. "deliverygoodscode": {
  42068. "description": "品种代码",
  42069. "type": "string"
  42070. },
  42071. "deliverygoodsid": {
  42072. "description": "品种ID",
  42073. "type": "integer"
  42074. },
  42075. "deliverygoodsname": {
  42076. "description": "品种名称",
  42077. "type": "string"
  42078. },
  42079. "deliverymonth": {
  42080. "description": "交收月",
  42081. "type": "string"
  42082. },
  42083. "enddate": {
  42084. "description": "结束交易日(yyyymmdd)",
  42085. "type": "string"
  42086. },
  42087. "enumdicname": {
  42088. "description": "单位名称",
  42089. "type": "string"
  42090. },
  42091. "haswr": {
  42092. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  42093. "type": "integer"
  42094. },
  42095. "marketid": {
  42096. "description": "市场ID",
  42097. "type": "integer"
  42098. },
  42099. "matchaccountid": {
  42100. "description": "对手账号",
  42101. "type": "integer"
  42102. },
  42103. "matchusername": {
  42104. "description": "对手方",
  42105. "type": "string"
  42106. },
  42107. "minivalue": {
  42108. "description": "现货商品最小变动值",
  42109. "type": "integer"
  42110. },
  42111. "optioncompare": {
  42112. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42113. "type": "string"
  42114. },
  42115. "thumurls": {
  42116. "description": "缩略图",
  42117. "type": "string"
  42118. },
  42119. "tradedate": {
  42120. "description": "交易日(yyyyMMdd)",
  42121. "type": "string"
  42122. },
  42123. "tradeprice": {
  42124. "description": "成交价格",
  42125. "type": "number"
  42126. },
  42127. "tradeqty": {
  42128. "description": "成交数量",
  42129. "type": "number"
  42130. },
  42131. "tradetime": {
  42132. "description": "成交时间",
  42133. "type": "string"
  42134. },
  42135. "userid": {
  42136. "description": "用户ID",
  42137. "type": "integer"
  42138. },
  42139. "warehouseid": {
  42140. "description": "仓库ID",
  42141. "type": "integer"
  42142. },
  42143. "warehousename": {
  42144. "description": "仓库名称",
  42145. "type": "string"
  42146. },
  42147. "wrfactortypeid": {
  42148. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42149. "type": "string"
  42150. },
  42151. "wrfactortypename": {
  42152. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42153. "type": "string"
  42154. },
  42155. "wrstandardcode": {
  42156. "description": "现货商品代码",
  42157. "type": "string"
  42158. },
  42159. "wrstandardid": {
  42160. "description": "现货商品ID",
  42161. "type": "integer"
  42162. },
  42163. "wrstandardname": {
  42164. "description": "商品名称",
  42165. "type": "string"
  42166. },
  42167. "wrtradedetailid": {
  42168. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  42169. "type": "string"
  42170. },
  42171. "wrtradetype": {
  42172. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  42173. "type": "integer"
  42174. },
  42175. "wrtypename": {
  42176. "description": "商品",
  42177. "type": "string"
  42178. }
  42179. }
  42180. },
  42181. "models.WrTradeOrderDetail": {
  42182. "type": "object",
  42183. "properties": {
  42184. "buyorsell": {
  42185. "description": "买卖方向 0-买 1-卖",
  42186. "type": "integer"
  42187. },
  42188. "goodsid": {
  42189. "description": "商品id",
  42190. "type": "integer"
  42191. },
  42192. "orderid": {
  42193. "description": "委托单号",
  42194. "type": "string"
  42195. },
  42196. "orderprice": {
  42197. "description": "委托价格",
  42198. "type": "number"
  42199. },
  42200. "orderqty": {
  42201. "description": "委托数量",
  42202. "type": "integer"
  42203. },
  42204. "userid": {
  42205. "description": "用户id",
  42206. "type": "integer"
  42207. },
  42208. "username": {
  42209. "description": "用户名称(已脱敏)",
  42210. "type": "string"
  42211. }
  42212. }
  42213. },
  42214. "models.WrTypeItem": {
  42215. "type": "object",
  42216. "properties": {
  42217. "name": {
  42218. "description": "名称",
  42219. "type": "string"
  42220. },
  42221. "value": {
  42222. "description": "值",
  42223. "type": "string"
  42224. }
  42225. }
  42226. },
  42227. "models.WrUserFriend": {
  42228. "type": "object",
  42229. "properties": {
  42230. "friendname": {
  42231. "description": "朋友名称(已脱敏)",
  42232. "type": "string"
  42233. },
  42234. "frienduserid": {
  42235. "description": "朋友id",
  42236. "type": "integer"
  42237. },
  42238. "isfriend": {
  42239. "description": "是否好友 0-不是 1-是",
  42240. "type": "integer"
  42241. },
  42242. "userid": {
  42243. "description": "用户id",
  42244. "type": "integer"
  42245. }
  42246. }
  42247. },
  42248. "models.WrUserReceiptInfo": {
  42249. "type": "object",
  42250. "properties": {
  42251. "address": {
  42252. "description": "地址[发票类型:企业]",
  42253. "type": "string"
  42254. },
  42255. "autoid": {
  42256. "description": "AutoID",
  42257. "type": "integer"
  42258. },
  42259. "contactinfo": {
  42260. "description": "联系方式",
  42261. "type": "string"
  42262. },
  42263. "idnum": {
  42264. "description": "身份证号码[发票类型:个人]",
  42265. "type": "string"
  42266. },
  42267. "isdefault": {
  42268. "description": "是否默认地址 - 0:否 1:是",
  42269. "type": "integer"
  42270. },
  42271. "receiptaccount": {
  42272. "description": "发票帐号[发票类型:企业]",
  42273. "type": "string"
  42274. },
  42275. "receiptbank": {
  42276. "description": "发票开户行[发票类型:企业]",
  42277. "type": "string"
  42278. },
  42279. "receipttype": {
  42280. "description": "发票类型 - 1:个人 2:企业",
  42281. "type": "integer"
  42282. },
  42283. "taxpayerid": {
  42284. "description": "纳税人识别号",
  42285. "type": "string"
  42286. },
  42287. "userid": {
  42288. "description": "用户ID",
  42289. "type": "integer"
  42290. },
  42291. "username": {
  42292. "description": "户名(个人姓名或企业名称)",
  42293. "type": "string"
  42294. }
  42295. }
  42296. },
  42297. "models.Wrtradetradequote": {
  42298. "type": "object",
  42299. "properties": {
  42300. "begindate": {
  42301. "description": "开始日期(结果含开始日期) yyyymmdd",
  42302. "type": "string"
  42303. },
  42304. "buyaccountid": {
  42305. "description": "买方账号ID",
  42306. "type": "integer"
  42307. },
  42308. "buyuserid": {
  42309. "description": "买方用户ID",
  42310. "type": "integer"
  42311. },
  42312. "deliverygoodsid": {
  42313. "description": "现货品种ID",
  42314. "type": "integer"
  42315. },
  42316. "enddate": {
  42317. "description": "结束日期(结果含结束日期) yyyymmdd",
  42318. "type": "string"
  42319. },
  42320. "marketid": {
  42321. "description": "市场ID",
  42322. "type": "integer"
  42323. },
  42324. "sellaccountid": {
  42325. "description": "卖方账号ID",
  42326. "type": "integer"
  42327. },
  42328. "selluserid": {
  42329. "description": "卖方用户ID",
  42330. "type": "integer"
  42331. },
  42332. "tradeamount": {
  42333. "description": "成交金额",
  42334. "type": "number"
  42335. },
  42336. "tradedate": {
  42337. "description": "交易日(yyyyMMdd)",
  42338. "type": "string"
  42339. },
  42340. "tradeprice": {
  42341. "description": "成交价格",
  42342. "type": "number"
  42343. },
  42344. "tradeqty": {
  42345. "description": "成交数量",
  42346. "type": "integer"
  42347. },
  42348. "tradetime": {
  42349. "description": "成交时间",
  42350. "type": "string"
  42351. },
  42352. "wrfactortypeid": {
  42353. "description": "仓单要素类型ID",
  42354. "type": "integer"
  42355. },
  42356. "wrstandardid": {
  42357. "description": "现货商品ID",
  42358. "type": "integer"
  42359. },
  42360. "wrtradedetailid": {
  42361. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  42362. "type": "string"
  42363. }
  42364. }
  42365. },
  42366. "models.XHBRAND": {
  42367. "type": "object",
  42368. "properties": {
  42369. "brandid": {
  42370. "description": "品牌id",
  42371. "type": "integer"
  42372. },
  42373. "brandname": {
  42374. "description": "品牌名称",
  42375. "type": "string"
  42376. },
  42377. "isvalid": {
  42378. "description": "是否有效 0-无效 1-有效",
  42379. "type": "integer"
  42380. }
  42381. }
  42382. },
  42383. "models.XHDeliveryGoods": {
  42384. "type": "object",
  42385. "properties": {
  42386. "areauserid": {
  42387. "description": "所属机构",
  42388. "type": "integer"
  42389. },
  42390. "bdlst": {
  42391. "description": "品牌列表",
  42392. "type": "array",
  42393. "items": {
  42394. "$ref": "#/definitions/models.XHBRAND"
  42395. }
  42396. },
  42397. "deliverygoodscode": {
  42398. "description": "现货品种代码",
  42399. "type": "string"
  42400. },
  42401. "deliverygoodsid": {
  42402. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  42403. "type": "integer"
  42404. },
  42405. "deliverygoodsname": {
  42406. "description": "现货品种名称",
  42407. "type": "string"
  42408. },
  42409. "dgstatus": {
  42410. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  42411. "type": "integer"
  42412. },
  42413. "filterSubEmpty": {
  42414. "description": "过滤下级为空的",
  42415. "type": "integer"
  42416. },
  42417. "isvalid": {
  42418. "description": "是否有效 - 0:无效 1:有效",
  42419. "type": "integer"
  42420. },
  42421. "remark": {
  42422. "description": "备注",
  42423. "type": "string"
  42424. },
  42425. "unitid": {
  42426. "description": "单位id(目前看,数据库中是空值)",
  42427. "type": "integer"
  42428. },
  42429. "wdlst": {
  42430. "description": "品类(现货商品)列表",
  42431. "type": "array",
  42432. "items": {
  42433. "$ref": "#/definitions/models.XHWrstandard"
  42434. }
  42435. }
  42436. }
  42437. },
  42438. "models.XHMiddleGoods": {
  42439. "type": "object",
  42440. "properties": {
  42441. "GPLST": {
  42442. "description": "期货品种列表",
  42443. "type": "array",
  42444. "items": {
  42445. "$ref": "#/definitions/models.TBGoodsGroup"
  42446. }
  42447. },
  42448. "convertratio": {
  42449. "description": "拆算系数",
  42450. "type": "number"
  42451. },
  42452. "costratio": {
  42453. "description": "成本权重",
  42454. "type": "number"
  42455. },
  42456. "deliverygoodsid": {
  42457. "description": "现货商品id",
  42458. "type": "integer"
  42459. },
  42460. "enumdicname": {
  42461. "description": "单位名称",
  42462. "type": "string"
  42463. },
  42464. "middlegoodscode": {
  42465. "description": "套保品种代码",
  42466. "type": "string"
  42467. },
  42468. "middlegoodsid": {
  42469. "description": "套保品种id",
  42470. "type": "integer"
  42471. },
  42472. "middlegoodsname": {
  42473. "description": "套保品种名称",
  42474. "type": "string"
  42475. },
  42476. "unitid": {
  42477. "description": "单位id",
  42478. "type": "integer"
  42479. }
  42480. }
  42481. },
  42482. "models.XHWrstandard": {
  42483. "type": "object",
  42484. "properties": {
  42485. "bannerpicurl": {
  42486. "description": "banner图",
  42487. "type": "string"
  42488. },
  42489. "deliverygoodsid": {
  42490. "description": "品种ID",
  42491. "type": "integer"
  42492. },
  42493. "enumdicname": {
  42494. "description": "单位名称",
  42495. "type": "string"
  42496. },
  42497. "mglst": {
  42498. "description": "套保品列表",
  42499. "type": "array",
  42500. "items": {
  42501. "$ref": "#/definitions/models.XHMiddleGoods"
  42502. }
  42503. },
  42504. "pictureurls": {
  42505. "description": "详情图片(逗号分隔)",
  42506. "type": "string"
  42507. },
  42508. "thumurls": {
  42509. "description": "缩略图片(1:1)(逗号分隔)",
  42510. "type": "string"
  42511. },
  42512. "unitid": {
  42513. "description": "单位id",
  42514. "type": "integer"
  42515. },
  42516. "vatrate": {
  42517. "description": "增值税率",
  42518. "type": "number"
  42519. },
  42520. "wrstandardcode": {
  42521. "description": "现货商品代码",
  42522. "type": "string"
  42523. },
  42524. "wrstandardid": {
  42525. "description": "现货商品ID(SEQ_WRSTANDARD)",
  42526. "type": "integer"
  42527. },
  42528. "wrstandardname": {
  42529. "description": "现货商品名称",
  42530. "type": "string"
  42531. }
  42532. }
  42533. },
  42534. "models.XhcpSellBackApplyEx": {
  42535. "type": "object",
  42536. "required": [
  42537. "userid"
  42538. ],
  42539. "properties": {
  42540. "applyremark": {
  42541. "description": "申请备注",
  42542. "type": "string"
  42543. },
  42544. "expirytype": {
  42545. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  42546. "type": "integer"
  42547. },
  42548. "goodsspec": {
  42549. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  42550. "type": "integer"
  42551. },
  42552. "holeflag": {
  42553. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  42554. "type": "integer"
  42555. },
  42556. "isunopened": {
  42557. "description": "是否原封 - 1:否 2:是",
  42558. "type": "integer"
  42559. },
  42560. "mpflag": {
  42561. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  42562. "type": "integer"
  42563. },
  42564. "openflag": {
  42565. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  42566. "type": "integer"
  42567. },
  42568. "phonenum": {
  42569. "description": "联系电话",
  42570. "type": "string"
  42571. },
  42572. "userid": {
  42573. "description": "所属用户ID",
  42574. "type": "integer"
  42575. },
  42576. "zpflag": {
  42577. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  42578. "type": "integer"
  42579. }
  42580. }
  42581. },
  42582. "models.Xhcpsellbackapply": {
  42583. "type": "object",
  42584. "required": [
  42585. "userid"
  42586. ],
  42587. "properties": {
  42588. "applyid": {
  42589. "description": "申请人",
  42590. "type": "integer"
  42591. },
  42592. "applyremark": {
  42593. "description": "申请备注",
  42594. "type": "string"
  42595. },
  42596. "applysrc": {
  42597. "description": "申请来源 - 1:管理端 2:终端",
  42598. "type": "integer"
  42599. },
  42600. "applystatus": {
  42601. "description": "申请状态 - 1:待确认 2:已处理",
  42602. "type": "integer"
  42603. },
  42604. "applytime": {
  42605. "description": "申请时间",
  42606. "type": "string"
  42607. },
  42608. "auditremark": {
  42609. "description": "审核备注",
  42610. "type": "string"
  42611. },
  42612. "auditsrc": {
  42613. "description": "审核来源 - 1:管理端 2:终端",
  42614. "type": "integer"
  42615. },
  42616. "expirytype": {
  42617. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  42618. "type": "integer"
  42619. },
  42620. "goodsspec": {
  42621. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  42622. "type": "integer"
  42623. },
  42624. "holeflag": {
  42625. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  42626. "type": "integer"
  42627. },
  42628. "isunopened": {
  42629. "description": "是否原封 - 1:否 2:是",
  42630. "type": "integer"
  42631. },
  42632. "mpflag": {
  42633. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  42634. "type": "integer"
  42635. },
  42636. "openflag": {
  42637. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  42638. "type": "integer"
  42639. },
  42640. "phonenum": {
  42641. "description": "联系电话",
  42642. "type": "string"
  42643. },
  42644. "sellbackapplyid": {
  42645. "description": "回收申请ID - SEQ_XHCP_SELLBACKAPPLY",
  42646. "type": "string"
  42647. },
  42648. "userid": {
  42649. "description": "所属用户ID",
  42650. "type": "integer"
  42651. },
  42652. "zpflag": {
  42653. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  42654. "type": "integer"
  42655. }
  42656. }
  42657. },
  42658. "order.QueryHisTradeDetailRsp": {
  42659. "type": "object",
  42660. "required": [
  42661. "accountid",
  42662. "buyorsell",
  42663. "goodsid",
  42664. "histradedate",
  42665. "marketid",
  42666. "memberuserid",
  42667. "orderid",
  42668. "tradeamount",
  42669. "tradedate",
  42670. "tradeid",
  42671. "tradeprice",
  42672. "tradeqty",
  42673. "tradetime"
  42674. ],
  42675. "properties": {
  42676. "accountid": {
  42677. "description": "账户ID[报价币种]",
  42678. "type": "integer"
  42679. },
  42680. "advanceratio": {
  42681. "description": "首付比率",
  42682. "type": "number"
  42683. },
  42684. "buildtype": {
  42685. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  42686. "type": "integer"
  42687. },
  42688. "buyorsell": {
  42689. "description": "方向 - 0:买 1:卖",
  42690. "type": "integer"
  42691. },
  42692. "charge": {
  42693. "description": "手续费",
  42694. "type": "number"
  42695. },
  42696. "closecharge": {
  42697. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  42698. "type": "number"
  42699. },
  42700. "closeexchagechargevalue": {
  42701. "description": "平仓交易所手续费设置值",
  42702. "type": "number"
  42703. },
  42704. "closefeealgorithm": {
  42705. "description": "平仓手续费收取方式 1:比率 2:固定",
  42706. "type": "integer"
  42707. },
  42708. "closememberchargevalue": {
  42709. "description": "平仓会员手续费设置值",
  42710. "type": "number"
  42711. },
  42712. "closepl": {
  42713. "description": "平仓盈亏",
  42714. "type": "number"
  42715. },
  42716. "closepl2": {
  42717. "description": "平仓盈亏[逐笔]",
  42718. "type": "number"
  42719. },
  42720. "closeqty": {
  42721. "description": "平仓数量(先建后平操作 需要记录)",
  42722. "type": "number"
  42723. },
  42724. "creditamount": {
  42725. "description": "授信金额",
  42726. "type": "number"
  42727. },
  42728. "decimalplace": {
  42729. "description": "商品报价小数位",
  42730. "type": "integer"
  42731. },
  42732. "enumdicname": {
  42733. "description": "单位名称",
  42734. "type": "string"
  42735. },
  42736. "gcaccountid": {
  42737. "description": "账户ID[合约币种]",
  42738. "type": "integer"
  42739. },
  42740. "goodscode": {
  42741. "description": "商品代码",
  42742. "type": "string"
  42743. },
  42744. "goodsid": {
  42745. "description": "商品ID",
  42746. "type": "integer"
  42747. },
  42748. "goodsname": {
  42749. "description": "商品名称",
  42750. "type": "string"
  42751. },
  42752. "goodunitid": {
  42753. "description": "商品单位id",
  42754. "type": "integer"
  42755. },
  42756. "histradedate": {
  42757. "description": "历史交易日",
  42758. "type": "string"
  42759. },
  42760. "intclosepl": {
  42761. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  42762. "type": "integer"
  42763. },
  42764. "isconfirmexercise": {
  42765. "description": "是否确认行权- 0:否 1:是",
  42766. "type": "integer"
  42767. },
  42768. "ismain": {
  42769. "description": "是否主单 - 0:不是 1:是",
  42770. "type": "integer"
  42771. },
  42772. "ispreexercise": {
  42773. "description": "是否预申报- 0:否 1:是",
  42774. "type": "integer"
  42775. },
  42776. "isreckoned": {
  42777. "description": "是否结算 - 0:未结算 1:已结算",
  42778. "type": "integer"
  42779. },
  42780. "isvaliddata": {
  42781. "description": "是否有效 - 0:无效 1:有效",
  42782. "type": "integer"
  42783. },
  42784. "listingselecttype": {
  42785. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  42786. "type": "integer"
  42787. },
  42788. "marketid": {
  42789. "description": "市场ID",
  42790. "type": "integer"
  42791. },
  42792. "marketname": {
  42793. "description": "市场名称",
  42794. "type": "string"
  42795. },
  42796. "matchaccountid": {
  42797. "description": "对手账号id",
  42798. "type": "integer"
  42799. },
  42800. "memberuserid": {
  42801. "description": "会员id 个人投资者 需要填写",
  42802. "type": "integer"
  42803. },
  42804. "opencharge": {
  42805. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  42806. "type": "number"
  42807. },
  42808. "openexchagechargevalue": {
  42809. "description": "建仓交易所手续费设置值",
  42810. "type": "number"
  42811. },
  42812. "openfeealgorithm": {
  42813. "description": "建仓手续费收取方式 1:比率 2:固定",
  42814. "type": "integer"
  42815. },
  42816. "openmemberchargevalue": {
  42817. "description": "建仓会员手续费设置值",
  42818. "type": "number"
  42819. },
  42820. "openqty": {
  42821. "description": "开仓数量(先建后平操作 需要记录)",
  42822. "type": "number"
  42823. },
  42824. "optiontype": {
  42825. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  42826. "type": "integer"
  42827. },
  42828. "orderid": {
  42829. "description": "委托单号",
  42830. "type": "string"
  42831. },
  42832. "payamount": {
  42833. "description": "支付金额(付款金额)",
  42834. "type": "number"
  42835. },
  42836. "performanceplanid": {
  42837. "description": "履约计划ID[期权]",
  42838. "type": "integer"
  42839. },
  42840. "performancestatus": {
  42841. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  42842. "type": "integer"
  42843. },
  42844. "preexerciseprice": {
  42845. "description": "预申报价格",
  42846. "type": "number"
  42847. },
  42848. "premium": {
  42849. "description": "权利金 - [持仓单的权利金]",
  42850. "type": "number"
  42851. },
  42852. "qtydecimalplace": {
  42853. "description": "商品报价小数位",
  42854. "type": "integer"
  42855. },
  42856. "recvamount": {
  42857. "description": "到账金额 = 成交金额 - 手续费",
  42858. "type": "number"
  42859. },
  42860. "relatedouttradeid": {
  42861. "description": "关联外部成交单ID",
  42862. "type": "integer"
  42863. },
  42864. "status": {
  42865. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  42866. "type": "integer"
  42867. },
  42868. "totalamount": {
  42869. "description": "订单总额 = 成交金额 + 手续费",
  42870. "type": "number"
  42871. },
  42872. "tradeamount": {
  42873. "description": "成交金额[账户币种,用于所有权]",
  42874. "type": "number"
  42875. },
  42876. "tradedate": {
  42877. "description": "交易日(yyyyMMdd)",
  42878. "type": "string"
  42879. },
  42880. "tradeid": {
  42881. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  42882. "type": "string"
  42883. },
  42884. "trademode": {
  42885. "description": "交易模式",
  42886. "type": "integer"
  42887. },
  42888. "tradeprice": {
  42889. "description": "成交价格",
  42890. "type": "number"
  42891. },
  42892. "tradeproperty": {
  42893. "description": "交易属性",
  42894. "type": "integer"
  42895. },
  42896. "tradeqty": {
  42897. "description": "成交数量",
  42898. "type": "number"
  42899. },
  42900. "tradetime": {
  42901. "description": "成交时间",
  42902. "type": "string"
  42903. },
  42904. "tradetype": {
  42905. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  42906. "type": "integer"
  42907. }
  42908. }
  42909. },
  42910. "order.QueryHisTradeOrderDetailRsp": {
  42911. "type": "object",
  42912. "required": [
  42913. "accountid",
  42914. "buildtype",
  42915. "buyorsell",
  42916. "goodsid",
  42917. "histradedate",
  42918. "marketid",
  42919. "memberuserid",
  42920. "operatetype",
  42921. "orderid",
  42922. "orderqty",
  42923. "ordertime",
  42924. "pricemode",
  42925. "tradedate",
  42926. "validtype"
  42927. ],
  42928. "properties": {
  42929. "accountid": {
  42930. "description": "账户ID[报价币种]",
  42931. "type": "integer"
  42932. },
  42933. "buildtype": {
  42934. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  42935. "type": "integer"
  42936. },
  42937. "buyorsell": {
  42938. "description": "买卖 - 0:买 1:卖",
  42939. "type": "integer"
  42940. },
  42941. "cancelorderid": {
  42942. "description": "撤单单号(撤单时填写)",
  42943. "type": "string"
  42944. },
  42945. "cancelqty": {
  42946. "description": "撤单数量",
  42947. "type": "number"
  42948. },
  42949. "clientordertime": {
  42950. "description": "客户端委托时间",
  42951. "type": "string"
  42952. },
  42953. "clientticket": {
  42954. "description": "客户端流水号",
  42955. "type": "string"
  42956. },
  42957. "clienttype": {
  42958. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  42959. "type": "integer"
  42960. },
  42961. "closeexchagechargevalue": {
  42962. "description": "平仓交易所手续费设置值",
  42963. "type": "number"
  42964. },
  42965. "closefeealgorithm": {
  42966. "description": "平仓手续费收取方式 1:比率 2:固定",
  42967. "type": "integer"
  42968. },
  42969. "closefreezecharge": {
  42970. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  42971. "type": "number"
  42972. },
  42973. "closememberchargevalue": {
  42974. "description": "平仓会员手续费设置值",
  42975. "type": "number"
  42976. },
  42977. "closeqty": {
  42978. "description": "平仓数量(先建后平操作 需要记录)",
  42979. "type": "number"
  42980. },
  42981. "closetradeqty": {
  42982. "description": "平仓成交数量(先建后平操作,需要记录)",
  42983. "type": "number"
  42984. },
  42985. "closeunfreezecharge": {
  42986. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  42987. "type": "number"
  42988. },
  42989. "decimalplace": {
  42990. "description": "商品报价小数位",
  42991. "type": "integer"
  42992. },
  42993. "delistingtype": {
  42994. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  42995. "type": "integer"
  42996. },
  42997. "enumdicname": {
  42998. "description": "单位名称",
  42999. "type": "string"
  43000. },
  43001. "freezecharge": {
  43002. "description": "冻结手续费",
  43003. "type": "number"
  43004. },
  43005. "freezemargin": {
  43006. "description": "冻结保证金(冻结交易金额)",
  43007. "type": "number"
  43008. },
  43009. "gcaccountid": {
  43010. "description": "账户ID[合约币种]",
  43011. "type": "integer"
  43012. },
  43013. "goodscode": {
  43014. "description": "商品代码",
  43015. "type": "string"
  43016. },
  43017. "goodsid": {
  43018. "description": "商品ID",
  43019. "type": "integer"
  43020. },
  43021. "goodsname": {
  43022. "description": "商品名称",
  43023. "type": "string"
  43024. },
  43025. "goodunitid": {
  43026. "description": "商品单位id",
  43027. "type": "integer"
  43028. },
  43029. "histradedate": {
  43030. "description": "历史交易日",
  43031. "type": "string"
  43032. },
  43033. "isconfirmexercise": {
  43034. "description": "是否确认行权- 0:否 1:是",
  43035. "type": "integer"
  43036. },
  43037. "ispreexercise": {
  43038. "description": "是否预申报- 0:否 1:是",
  43039. "type": "integer"
  43040. },
  43041. "isvaliddata": {
  43042. "description": "是否有效 - 0:无效 1:有效",
  43043. "type": "integer"
  43044. },
  43045. "listingselecttype": {
  43046. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  43047. "type": "integer"
  43048. },
  43049. "marginalgorithm": {
  43050. "description": "保证金收取方式 1:比率 2:固定",
  43051. "type": "integer"
  43052. },
  43053. "marginvalue": {
  43054. "description": "即市保证金设置值",
  43055. "type": "number"
  43056. },
  43057. "marketid": {
  43058. "description": "市场ID",
  43059. "type": "integer"
  43060. },
  43061. "marketmaxsub": {
  43062. "description": "市价最大偏移范围",
  43063. "type": "number"
  43064. },
  43065. "marketname": {
  43066. "description": "市场名称",
  43067. "type": "string"
  43068. },
  43069. "memberuserid": {
  43070. "description": "所属会员UserID",
  43071. "type": "integer"
  43072. },
  43073. "openexchagechargevalue": {
  43074. "description": "建仓交易所手续费设置值",
  43075. "type": "number"
  43076. },
  43077. "openfeealgorithm": {
  43078. "description": "建仓手续费收取方式 1:比率 2:固定",
  43079. "type": "integer"
  43080. },
  43081. "openfreezecharge": {
  43082. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  43083. "type": "number"
  43084. },
  43085. "openmemberchargevalue": {
  43086. "description": "建仓会员手续费设置值",
  43087. "type": "number"
  43088. },
  43089. "openqty": {
  43090. "description": "开仓数量(先建后平操作,需要记录)",
  43091. "type": "number"
  43092. },
  43093. "opentradeqty": {
  43094. "description": "开仓成交数量(先建后平操作,需要记录)",
  43095. "type": "number"
  43096. },
  43097. "openunfreezecharge": {
  43098. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  43099. "type": "number"
  43100. },
  43101. "operatetype": {
  43102. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  43103. "type": "integer"
  43104. },
  43105. "operatorid": {
  43106. "description": "登录账号(LoginID)",
  43107. "type": "integer"
  43108. },
  43109. "optiontype": {
  43110. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  43111. "type": "integer"
  43112. },
  43113. "orderid": {
  43114. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  43115. "type": "string"
  43116. },
  43117. "orderprice": {
  43118. "description": "委托价格",
  43119. "type": "number"
  43120. },
  43121. "orderqty": {
  43122. "description": "委托数量",
  43123. "type": "number"
  43124. },
  43125. "ordersrc": {
  43126. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  43127. "type": "integer"
  43128. },
  43129. "orderstatus": {
  43130. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  43131. "type": "integer"
  43132. },
  43133. "ordertime": {
  43134. "description": "委托时间",
  43135. "type": "string"
  43136. },
  43137. "preexerciseprice": {
  43138. "description": "预申报价格",
  43139. "type": "number"
  43140. },
  43141. "premium": {
  43142. "description": "权利金",
  43143. "type": "number"
  43144. },
  43145. "preorderid": {
  43146. "description": "关联预埋单号(止盈止损单时填写)",
  43147. "type": "string"
  43148. },
  43149. "pricemode": {
  43150. "description": "取价方式 - 1:市价 2: 限价",
  43151. "type": "integer"
  43152. },
  43153. "qtydecimalplace": {
  43154. "description": "成交量小数位",
  43155. "type": "integer"
  43156. },
  43157. "quoteid": {
  43158. "description": "报价单ID",
  43159. "type": "integer"
  43160. },
  43161. "relatedid": {
  43162. "description": "关联单号(交割单)",
  43163. "type": "string"
  43164. },
  43165. "retcode": {
  43166. "description": "错误代码",
  43167. "type": "integer"
  43168. },
  43169. "sessionid": {
  43170. "description": "会话ID",
  43171. "type": "integer"
  43172. },
  43173. "tradedate": {
  43174. "description": "交易日(yyyyMMdd)",
  43175. "type": "string"
  43176. },
  43177. "trademode": {
  43178. "description": "交易模式",
  43179. "type": "integer"
  43180. },
  43181. "tradeproperty": {
  43182. "description": "交易属性",
  43183. "type": "integer"
  43184. },
  43185. "tradeqty": {
  43186. "description": "成交数量",
  43187. "type": "number"
  43188. },
  43189. "unfreezecharge": {
  43190. "description": "解冻手续费",
  43191. "type": "number"
  43192. },
  43193. "unfreezemargin": {
  43194. "description": "解冻保证金",
  43195. "type": "number"
  43196. },
  43197. "updatetime": {
  43198. "description": "更新时间",
  43199. "type": "string"
  43200. },
  43201. "uuid": {
  43202. "description": "发起端唯一id",
  43203. "type": "string"
  43204. },
  43205. "validtime": {
  43206. "description": "有效期限",
  43207. "type": "string"
  43208. },
  43209. "validtype": {
  43210. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  43211. "type": "integer"
  43212. },
  43213. "volumetype": {
  43214. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  43215. "type": "integer"
  43216. }
  43217. }
  43218. },
  43219. "order.QueryTradeDetailRsp": {
  43220. "type": "object",
  43221. "required": [
  43222. "accountid",
  43223. "buyorsell",
  43224. "goodsid",
  43225. "marketid",
  43226. "memberuserid",
  43227. "orderid",
  43228. "tradeamount",
  43229. "tradedate",
  43230. "tradeid",
  43231. "tradeprice",
  43232. "tradeqty",
  43233. "tradetime"
  43234. ],
  43235. "properties": {
  43236. "accountid": {
  43237. "description": "账户ID[报价币种]",
  43238. "type": "integer"
  43239. },
  43240. "advanceratio": {
  43241. "description": "首付比率",
  43242. "type": "number"
  43243. },
  43244. "buildtype": {
  43245. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  43246. "type": "integer"
  43247. },
  43248. "buyorsell": {
  43249. "description": "方向 - 0:买 1:卖",
  43250. "type": "integer"
  43251. },
  43252. "charge": {
  43253. "description": "手续费",
  43254. "type": "number"
  43255. },
  43256. "closecharge": {
  43257. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  43258. "type": "number"
  43259. },
  43260. "closeexchagechargevalue": {
  43261. "description": "平仓交易所手续费设置值",
  43262. "type": "number"
  43263. },
  43264. "closefeealgorithm": {
  43265. "description": "平仓手续费收取方式 1:比率 2:固定",
  43266. "type": "integer"
  43267. },
  43268. "closememberchargevalue": {
  43269. "description": "平仓会员手续费设置值",
  43270. "type": "number"
  43271. },
  43272. "closepl": {
  43273. "description": "平仓盈亏",
  43274. "type": "number"
  43275. },
  43276. "closepl2": {
  43277. "description": "平仓盈亏[逐笔]",
  43278. "type": "number"
  43279. },
  43280. "closeqty": {
  43281. "description": "平仓数量(先建后平操作 需要记录)",
  43282. "type": "number"
  43283. },
  43284. "creditamount": {
  43285. "description": "授信金额",
  43286. "type": "number"
  43287. },
  43288. "decimalplace": {
  43289. "description": "商品报价小数位",
  43290. "type": "integer"
  43291. },
  43292. "enumdicname": {
  43293. "description": "单位名称",
  43294. "type": "string"
  43295. },
  43296. "gcaccountid": {
  43297. "description": "账户ID[合约币种]",
  43298. "type": "integer"
  43299. },
  43300. "goodscode": {
  43301. "description": "商品代码",
  43302. "type": "string"
  43303. },
  43304. "goodsid": {
  43305. "description": "商品ID",
  43306. "type": "integer"
  43307. },
  43308. "goodsname": {
  43309. "description": "商品名称",
  43310. "type": "string"
  43311. },
  43312. "goodunitid": {
  43313. "description": "商品单位id",
  43314. "type": "integer"
  43315. },
  43316. "intclosepl": {
  43317. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  43318. "type": "integer"
  43319. },
  43320. "isconfirmexercise": {
  43321. "description": "是否确认行权- 0:否 1:是",
  43322. "type": "integer"
  43323. },
  43324. "ismain": {
  43325. "description": "是否主单 - 0:不是 1:是",
  43326. "type": "integer"
  43327. },
  43328. "ispreexercise": {
  43329. "description": "是否预申报- 0:否 1:是",
  43330. "type": "integer"
  43331. },
  43332. "isreckoned": {
  43333. "description": "是否结算 - 0:未结算 1:已结算",
  43334. "type": "integer"
  43335. },
  43336. "listingselecttype": {
  43337. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  43338. "type": "integer"
  43339. },
  43340. "marketid": {
  43341. "description": "市场ID",
  43342. "type": "integer"
  43343. },
  43344. "marketname": {
  43345. "description": "市场名称",
  43346. "type": "string"
  43347. },
  43348. "matchaccountid": {
  43349. "description": "对手账号id",
  43350. "type": "integer"
  43351. },
  43352. "memberuserid": {
  43353. "description": "会员id 个人投资者 需要填写",
  43354. "type": "integer"
  43355. },
  43356. "opencharge": {
  43357. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  43358. "type": "number"
  43359. },
  43360. "openexchagechargevalue": {
  43361. "description": "建仓交易所手续费设置值",
  43362. "type": "number"
  43363. },
  43364. "openfeealgorithm": {
  43365. "description": "建仓手续费收取方式 1:比率 2:固定",
  43366. "type": "integer"
  43367. },
  43368. "openmemberchargevalue": {
  43369. "description": "建仓会员手续费设置值",
  43370. "type": "number"
  43371. },
  43372. "openqty": {
  43373. "description": "开仓数量(先建后平操作 需要记录)",
  43374. "type": "number"
  43375. },
  43376. "optiontype": {
  43377. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  43378. "type": "integer"
  43379. },
  43380. "orderid": {
  43381. "description": "委托单号",
  43382. "type": "string"
  43383. },
  43384. "payamount": {
  43385. "description": "支付金额(付款金额)",
  43386. "type": "number"
  43387. },
  43388. "performanceplanid": {
  43389. "description": "履约计划ID[期权]",
  43390. "type": "integer"
  43391. },
  43392. "performancestatus": {
  43393. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  43394. "type": "integer"
  43395. },
  43396. "preexerciseprice": {
  43397. "description": "预申报价格",
  43398. "type": "number"
  43399. },
  43400. "premium": {
  43401. "description": "权利金 - [持仓单的权利金]",
  43402. "type": "number"
  43403. },
  43404. "qtydecimalplace": {
  43405. "description": "商品报价小数位",
  43406. "type": "integer"
  43407. },
  43408. "recvamount": {
  43409. "description": "到账金额 = 成交金额 - 手续费",
  43410. "type": "number"
  43411. },
  43412. "relatedouttradeid": {
  43413. "description": "关联外部成交单ID",
  43414. "type": "integer"
  43415. },
  43416. "status": {
  43417. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  43418. "type": "integer"
  43419. },
  43420. "totalamount": {
  43421. "description": "订单总额 = 成交金额 + 手续费",
  43422. "type": "number"
  43423. },
  43424. "tradeamount": {
  43425. "description": "成交金额[账户币种,用于所有权]",
  43426. "type": "number"
  43427. },
  43428. "tradedate": {
  43429. "description": "交易日(yyyyMMdd)",
  43430. "type": "string"
  43431. },
  43432. "tradeid": {
  43433. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  43434. "type": "string"
  43435. },
  43436. "trademode": {
  43437. "description": "交易模式",
  43438. "type": "integer"
  43439. },
  43440. "tradeprice": {
  43441. "description": "成交价格",
  43442. "type": "number"
  43443. },
  43444. "tradeproperty": {
  43445. "description": "交易属性",
  43446. "type": "integer"
  43447. },
  43448. "tradeqty": {
  43449. "description": "成交数量",
  43450. "type": "number"
  43451. },
  43452. "tradetime": {
  43453. "description": "成交时间",
  43454. "type": "string"
  43455. },
  43456. "tradetype": {
  43457. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  43458. "type": "integer"
  43459. }
  43460. }
  43461. },
  43462. "order.QueryTradeOrderDetailRsp": {
  43463. "type": "object",
  43464. "required": [
  43465. "accountid",
  43466. "buildtype",
  43467. "buyorsell",
  43468. "goodsid",
  43469. "marketid",
  43470. "operatetype",
  43471. "orderqty",
  43472. "ordertime",
  43473. "pricemode",
  43474. "tradedate",
  43475. "validtype"
  43476. ],
  43477. "properties": {
  43478. "accountid": {
  43479. "description": "账户ID[报价币种]",
  43480. "type": "integer"
  43481. },
  43482. "buildtype": {
  43483. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  43484. "type": "integer"
  43485. },
  43486. "buyorsell": {
  43487. "description": "买卖 - 0:买 1:卖",
  43488. "type": "integer"
  43489. },
  43490. "cancelorderid": {
  43491. "description": "撤单单号(撤单时填写)",
  43492. "type": "string"
  43493. },
  43494. "cancelqty": {
  43495. "description": "撤单数量",
  43496. "type": "number"
  43497. },
  43498. "clienttype": {
  43499. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  43500. "type": "integer"
  43501. },
  43502. "closefreezecharge": {
  43503. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  43504. "type": "number"
  43505. },
  43506. "closeqty": {
  43507. "description": "平仓数量(先建后平操作 需要记录)",
  43508. "type": "number"
  43509. },
  43510. "closetradeqty": {
  43511. "description": "平仓成交数量(先建后平操作,需要记录)",
  43512. "type": "number"
  43513. },
  43514. "closeunfreezecharge": {
  43515. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  43516. "type": "number"
  43517. },
  43518. "decimalplace": {
  43519. "description": "商品报价小数位",
  43520. "type": "integer"
  43521. },
  43522. "delistingtype": {
  43523. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  43524. "type": "integer"
  43525. },
  43526. "enableqty": {
  43527. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  43528. "type": "number"
  43529. },
  43530. "enumdicname": {
  43531. "description": "单位名称",
  43532. "type": "string"
  43533. },
  43534. "freezecharge": {
  43535. "description": "冻结手续费",
  43536. "type": "number"
  43537. },
  43538. "freezemargin": {
  43539. "description": "冻结保证金(冻结交易金额)",
  43540. "type": "number"
  43541. },
  43542. "goodscode": {
  43543. "description": "商品代码",
  43544. "type": "string"
  43545. },
  43546. "goodsid": {
  43547. "description": "商品ID",
  43548. "type": "integer"
  43549. },
  43550. "goodsname": {
  43551. "description": "商品名称",
  43552. "type": "string"
  43553. },
  43554. "goodunitid": {
  43555. "description": "商品单位id",
  43556. "type": "integer"
  43557. },
  43558. "listingselecttype": {
  43559. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  43560. "type": "integer"
  43561. },
  43562. "marketid": {
  43563. "description": "市场ID",
  43564. "type": "integer"
  43565. },
  43566. "marketname": {
  43567. "description": "市场名称",
  43568. "type": "string"
  43569. },
  43570. "openfreezecharge": {
  43571. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  43572. "type": "number"
  43573. },
  43574. "openqty": {
  43575. "description": "开仓数量(先建后平操作,需要记录)",
  43576. "type": "number"
  43577. },
  43578. "opentradeqty": {
  43579. "description": "开仓成交数量(先建后平操作,需要记录)",
  43580. "type": "number"
  43581. },
  43582. "openunfreezecharge": {
  43583. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  43584. "type": "number"
  43585. },
  43586. "operatetype": {
  43587. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  43588. "type": "integer"
  43589. },
  43590. "operatorid": {
  43591. "description": "登录账号(LoginID)",
  43592. "type": "integer"
  43593. },
  43594. "orderid": {
  43595. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  43596. "type": "string"
  43597. },
  43598. "orderprice": {
  43599. "description": "委托价格",
  43600. "type": "number"
  43601. },
  43602. "orderqty": {
  43603. "description": "委托数量",
  43604. "type": "number"
  43605. },
  43606. "ordersrc": {
  43607. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  43608. "type": "integer"
  43609. },
  43610. "orderstatus": {
  43611. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  43612. "type": "integer"
  43613. },
  43614. "ordertime": {
  43615. "description": "委托时间",
  43616. "type": "string"
  43617. },
  43618. "preorderid": {
  43619. "description": "关联预埋单号(止盈止损单时填写)",
  43620. "type": "string"
  43621. },
  43622. "pricemode": {
  43623. "description": "取价方式 - 1:市价 2: 限价",
  43624. "type": "integer"
  43625. },
  43626. "qtydecimalplace": {
  43627. "description": "商品报价小数位",
  43628. "type": "integer"
  43629. },
  43630. "relatedid": {
  43631. "description": "关联单号(交割单)",
  43632. "type": "string"
  43633. },
  43634. "tradedate": {
  43635. "description": "交易日(yyyyMMdd)",
  43636. "type": "string"
  43637. },
  43638. "trademode": {
  43639. "description": "交易模式",
  43640. "type": "integer"
  43641. },
  43642. "tradeqty": {
  43643. "description": "成交数量",
  43644. "type": "number"
  43645. },
  43646. "unfreezecharge": {
  43647. "description": "解冻手续费",
  43648. "type": "number"
  43649. },
  43650. "unfreezemargin": {
  43651. "description": "解冻保证金",
  43652. "type": "number"
  43653. },
  43654. "validtime": {
  43655. "description": "有效期限",
  43656. "type": "string"
  43657. },
  43658. "validtype": {
  43659. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  43660. "type": "integer"
  43661. },
  43662. "volumetype": {
  43663. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  43664. "type": "integer"
  43665. }
  43666. }
  43667. },
  43668. "order.QueryTradePositionRsp": {
  43669. "type": "object",
  43670. "required": [
  43671. "goodsid"
  43672. ],
  43673. "properties": {
  43674. "accountid": {
  43675. "description": "资金账户",
  43676. "type": "integer"
  43677. },
  43678. "agreeunit": {
  43679. "description": "合约单位",
  43680. "type": "number"
  43681. },
  43682. "averageprice": {
  43683. "description": "持仓均价",
  43684. "type": "number"
  43685. },
  43686. "buyorsell": {
  43687. "description": "方向 - 0:买 1:卖",
  43688. "type": "integer"
  43689. },
  43690. "closetotalqty": {
  43691. "description": "平仓总数量",
  43692. "type": "number"
  43693. },
  43694. "curholderamount": {
  43695. "description": "当前持仓总金额[商品币种]",
  43696. "type": "number"
  43697. },
  43698. "curpositionqty": {
  43699. "description": "当前持仓总数量",
  43700. "type": "number"
  43701. },
  43702. "currencyid": {
  43703. "description": "报价货币ID",
  43704. "type": "integer"
  43705. },
  43706. "curtdposition": {
  43707. "description": "期末今日头寸",
  43708. "type": "number"
  43709. },
  43710. "decimalplace": {
  43711. "description": "报价小数位",
  43712. "type": "integer"
  43713. },
  43714. "enableqty": {
  43715. "description": "可用量",
  43716. "type": "number"
  43717. },
  43718. "fretdposition": {
  43719. "description": "冻结今日头寸",
  43720. "type": "number"
  43721. },
  43722. "frozenqty": {
  43723. "description": "持仓冻结数量",
  43724. "type": "number"
  43725. },
  43726. "goodscode": {
  43727. "description": "商品代码",
  43728. "type": "string"
  43729. },
  43730. "goodsid": {
  43731. "description": "商品Id",
  43732. "type": "integer"
  43733. },
  43734. "goodsname": {
  43735. "description": "商品名称",
  43736. "type": "string"
  43737. },
  43738. "goodunit": {
  43739. "description": "报价单位",
  43740. "type": "string"
  43741. },
  43742. "goodunitid": {
  43743. "description": "报价单位ID",
  43744. "type": "integer"
  43745. },
  43746. "holderamount": {
  43747. "description": "期初持仓总金额[商品币种]",
  43748. "type": "number"
  43749. },
  43750. "lastprice": {
  43751. "description": "最新价",
  43752. "type": "number"
  43753. },
  43754. "marketamount": {
  43755. "description": "市值",
  43756. "type": "number"
  43757. },
  43758. "marketid": {
  43759. "description": "所属市场ID",
  43760. "type": "integer"
  43761. },
  43762. "openreqqty": {
  43763. "description": "开仓申请数量(用于比较最大持仓数量)",
  43764. "type": "number"
  43765. },
  43766. "opentotalqty": {
  43767. "description": "开仓总数量",
  43768. "type": "number"
  43769. },
  43770. "otherfrozenqty": {
  43771. "description": "持仓其他冻结数量(交割冻结)",
  43772. "type": "number"
  43773. },
  43774. "positionpl": {
  43775. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  43776. "type": "number"
  43777. },
  43778. "positionplrate": {
  43779. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  43780. "type": "number"
  43781. },
  43782. "positionqty": {
  43783. "description": "期初持仓数量",
  43784. "type": "number"
  43785. },
  43786. "qtydecimalplace": {
  43787. "description": "成交量小数位",
  43788. "type": "integer"
  43789. },
  43790. "refgoodscode": {
  43791. "description": "参考商品代码",
  43792. "type": "string"
  43793. },
  43794. "refgoodsid": {
  43795. "description": "参考商品ID",
  43796. "type": "integer"
  43797. },
  43798. "tnqty": {
  43799. "description": "T+N冻结总量",
  43800. "type": "number"
  43801. },
  43802. "tnusedqty": {
  43803. "description": "T+N使用量(可以使用T+N的冻结数量)",
  43804. "type": "number"
  43805. },
  43806. "trademode": {
  43807. "description": "交易模式",
  43808. "type": "integer"
  43809. },
  43810. "tradeproperty": {
  43811. "description": "交易属性",
  43812. "type": "integer"
  43813. },
  43814. "usedmargin": {
  43815. "description": "占用保证金[商品币种]",
  43816. "type": "number"
  43817. }
  43818. }
  43819. },
  43820. "pb.GoodsMarginCfgStruct": {
  43821. "type": "object",
  43822. "properties": {
  43823. "CustomerTypeID": {
  43824. "description": "投资者客户类型",
  43825. "type": "integer"
  43826. },
  43827. "GoodsID": {
  43828. "description": "商品ID",
  43829. "type": "integer"
  43830. },
  43831. "IsDefault": {
  43832. "description": "是否默认标志位",
  43833. "type": "integer"
  43834. },
  43835. "LockMarginValue": {
  43836. "description": "锁仓保证金",
  43837. "type": "number"
  43838. },
  43839. "MarginAlgorithm": {
  43840. "description": "保证金计算方式",
  43841. "type": "integer"
  43842. },
  43843. "MarketMarginValue": {
  43844. "description": "即市保证金值",
  43845. "type": "number"
  43846. },
  43847. "RealMarginAlgorithm": {
  43848. "description": "实付保证金计算方式",
  43849. "type": "integer"
  43850. },
  43851. "RealMarginValue": {
  43852. "description": "实付比例",
  43853. "type": "number"
  43854. },
  43855. "ReckonMarginValue": {
  43856. "description": "结算保证金值",
  43857. "type": "number"
  43858. }
  43859. }
  43860. },
  43861. "quote.HistoryData": {
  43862. "type": "object",
  43863. "properties": {
  43864. "c": {
  43865. "description": "收盘价",
  43866. "type": "number"
  43867. },
  43868. "f": {
  43869. "description": "是否补充数据",
  43870. "type": "boolean"
  43871. },
  43872. "h": {
  43873. "description": "最高价",
  43874. "type": "number"
  43875. },
  43876. "hv": {
  43877. "description": "持仓量",
  43878. "type": "integer"
  43879. },
  43880. "l": {
  43881. "description": "最低价",
  43882. "type": "number"
  43883. },
  43884. "o": {
  43885. "description": "开盘价",
  43886. "type": "number"
  43887. },
  43888. "s": {
  43889. "description": "结算价,日线周期(包括)以上才有",
  43890. "type": "number"
  43891. },
  43892. "ts": {
  43893. "description": "时间",
  43894. "type": "string"
  43895. },
  43896. "tt": {
  43897. "description": "总金额",
  43898. "type": "number"
  43899. },
  43900. "tv": {
  43901. "description": "总量(成交量)",
  43902. "type": "integer"
  43903. }
  43904. }
  43905. },
  43906. "quote.HistoryTikData": {
  43907. "type": "object",
  43908. "properties": {
  43909. "AV": {
  43910. "description": "卖量",
  43911. "type": "integer"
  43912. },
  43913. "Ask": {
  43914. "description": "卖价",
  43915. "type": "number"
  43916. },
  43917. "BV": {
  43918. "description": "买量",
  43919. "type": "integer"
  43920. },
  43921. "Bid": {
  43922. "description": "买价",
  43923. "type": "number"
  43924. },
  43925. "HI": {
  43926. "description": "单笔持仓",
  43927. "type": "integer"
  43928. },
  43929. "HV": {
  43930. "description": "持仓量",
  43931. "type": "integer"
  43932. },
  43933. "PE": {
  43934. "description": "现价",
  43935. "type": "number"
  43936. },
  43937. "TDR": {
  43938. "description": "交易方向,0:买 1:卖",
  43939. "type": "integer"
  43940. },
  43941. "TK": {
  43942. "description": "交易类型",
  43943. "type": "integer"
  43944. },
  43945. "TS": {
  43946. "description": "行情时间文本",
  43947. "type": "string"
  43948. },
  43949. "TT": {
  43950. "description": "现金额",
  43951. "type": "number"
  43952. },
  43953. "Vol": {
  43954. "description": "现量",
  43955. "type": "integer"
  43956. }
  43957. }
  43958. },
  43959. "quote.QueryQuoteDayRsp": {
  43960. "type": "object",
  43961. "properties": {
  43962. "ask": {
  43963. "description": "卖1",
  43964. "type": "number"
  43965. },
  43966. "ask10": {
  43967. "description": "卖10",
  43968. "type": "number"
  43969. },
  43970. "ask2": {
  43971. "description": "卖2",
  43972. "type": "number"
  43973. },
  43974. "ask3": {
  43975. "description": "卖3",
  43976. "type": "number"
  43977. },
  43978. "ask4": {
  43979. "description": "卖4",
  43980. "type": "number"
  43981. },
  43982. "ask5": {
  43983. "description": "卖5",
  43984. "type": "number"
  43985. },
  43986. "ask6": {
  43987. "description": "卖6",
  43988. "type": "number"
  43989. },
  43990. "ask7": {
  43991. "description": "卖7",
  43992. "type": "number"
  43993. },
  43994. "ask8": {
  43995. "description": "卖8",
  43996. "type": "number"
  43997. },
  43998. "ask9": {
  43999. "description": "卖9",
  44000. "type": "number"
  44001. },
  44002. "askorderid": {
  44003. "description": "卖单号1",
  44004. "type": "integer"
  44005. },
  44006. "askorderid2": {
  44007. "description": "卖单号2",
  44008. "type": "integer"
  44009. },
  44010. "askorderid3": {
  44011. "description": "卖单号3",
  44012. "type": "integer"
  44013. },
  44014. "askorderid4": {
  44015. "description": "卖单号4",
  44016. "type": "integer"
  44017. },
  44018. "askorderid5": {
  44019. "description": "卖单号5",
  44020. "type": "integer"
  44021. },
  44022. "askordervolume": {
  44023. "description": "卖单量1",
  44024. "type": "integer"
  44025. },
  44026. "askordervolume10": {
  44027. "description": "卖单量10",
  44028. "type": "integer"
  44029. },
  44030. "askordervolume2": {
  44031. "description": "卖单量2",
  44032. "type": "integer"
  44033. },
  44034. "askordervolume3": {
  44035. "description": "卖单量3",
  44036. "type": "integer"
  44037. },
  44038. "askordervolume4": {
  44039. "description": "卖单量4",
  44040. "type": "integer"
  44041. },
  44042. "askordervolume5": {
  44043. "description": "卖单量5",
  44044. "type": "integer"
  44045. },
  44046. "askordervolume6": {
  44047. "description": "卖单量6",
  44048. "type": "integer"
  44049. },
  44050. "askordervolume7": {
  44051. "description": "卖单量7",
  44052. "type": "integer"
  44053. },
  44054. "askordervolume8": {
  44055. "description": "卖单量8",
  44056. "type": "integer"
  44057. },
  44058. "askordervolume9": {
  44059. "description": "卖单量9",
  44060. "type": "integer"
  44061. },
  44062. "askqueueinfo": {
  44063. "description": "大利市卖港股用",
  44064. "type": "string"
  44065. },
  44066. "askvolume": {
  44067. "description": "卖量1",
  44068. "type": "integer"
  44069. },
  44070. "askvolume10": {
  44071. "description": "卖量10",
  44072. "type": "integer"
  44073. },
  44074. "askvolume2": {
  44075. "description": "卖量2",
  44076. "type": "integer"
  44077. },
  44078. "askvolume3": {
  44079. "description": "卖量3",
  44080. "type": "integer"
  44081. },
  44082. "askvolume4": {
  44083. "description": "卖量4",
  44084. "type": "integer"
  44085. },
  44086. "askvolume5": {
  44087. "description": "卖量5",
  44088. "type": "integer"
  44089. },
  44090. "askvolume6": {
  44091. "description": "卖量6",
  44092. "type": "integer"
  44093. },
  44094. "askvolume7": {
  44095. "description": "卖量7",
  44096. "type": "integer"
  44097. },
  44098. "askvolume8": {
  44099. "description": "卖量8",
  44100. "type": "integer"
  44101. },
  44102. "askvolume9": {
  44103. "description": "卖量9",
  44104. "type": "integer"
  44105. },
  44106. "averageprice": {
  44107. "description": "均价",
  44108. "type": "number"
  44109. },
  44110. "bid": {
  44111. "description": "买1",
  44112. "type": "number"
  44113. },
  44114. "bid10": {
  44115. "description": "买10",
  44116. "type": "number"
  44117. },
  44118. "bid2": {
  44119. "description": "买2",
  44120. "type": "number"
  44121. },
  44122. "bid3": {
  44123. "description": "买3",
  44124. "type": "number"
  44125. },
  44126. "bid4": {
  44127. "description": "买4",
  44128. "type": "number"
  44129. },
  44130. "bid5": {
  44131. "description": "买5",
  44132. "type": "number"
  44133. },
  44134. "bid6": {
  44135. "description": "买6",
  44136. "type": "number"
  44137. },
  44138. "bid7": {
  44139. "description": "买7",
  44140. "type": "number"
  44141. },
  44142. "bid8": {
  44143. "description": "买8",
  44144. "type": "number"
  44145. },
  44146. "bid9": {
  44147. "description": "买9",
  44148. "type": "number"
  44149. },
  44150. "bidorderid": {
  44151. "description": "买单号1",
  44152. "type": "integer"
  44153. },
  44154. "bidorderid2": {
  44155. "description": "买单号2",
  44156. "type": "integer"
  44157. },
  44158. "bidorderid3": {
  44159. "description": "买单号3",
  44160. "type": "integer"
  44161. },
  44162. "bidorderid4": {
  44163. "description": "买单号4",
  44164. "type": "integer"
  44165. },
  44166. "bidorderid5": {
  44167. "description": "买单号5",
  44168. "type": "integer"
  44169. },
  44170. "bidordervolume": {
  44171. "description": "买单量1",
  44172. "type": "integer"
  44173. },
  44174. "bidordervolume10": {
  44175. "description": "买单量10",
  44176. "type": "integer"
  44177. },
  44178. "bidordervolume2": {
  44179. "description": "买单量2",
  44180. "type": "integer"
  44181. },
  44182. "bidordervolume3": {
  44183. "description": "买单量3",
  44184. "type": "integer"
  44185. },
  44186. "bidordervolume4": {
  44187. "description": "买单量4",
  44188. "type": "integer"
  44189. },
  44190. "bidordervolume5": {
  44191. "description": "买单量5",
  44192. "type": "integer"
  44193. },
  44194. "bidordervolume6": {
  44195. "description": "买单量6",
  44196. "type": "integer"
  44197. },
  44198. "bidordervolume7": {
  44199. "description": "买单量7",
  44200. "type": "integer"
  44201. },
  44202. "bidordervolume8": {
  44203. "description": "买单量8",
  44204. "type": "integer"
  44205. },
  44206. "bidordervolume9": {
  44207. "description": "买单量9",
  44208. "type": "integer"
  44209. },
  44210. "bidqueueinfo": {
  44211. "description": "大利市买港股用",
  44212. "type": "string"
  44213. },
  44214. "bidvolume": {
  44215. "description": "买量1",
  44216. "type": "integer"
  44217. },
  44218. "bidvolume10": {
  44219. "description": "买量10",
  44220. "type": "integer"
  44221. },
  44222. "bidvolume2": {
  44223. "description": "买量2",
  44224. "type": "integer"
  44225. },
  44226. "bidvolume3": {
  44227. "description": "买量3",
  44228. "type": "integer"
  44229. },
  44230. "bidvolume4": {
  44231. "description": "买量4",
  44232. "type": "integer"
  44233. },
  44234. "bidvolume5": {
  44235. "description": "买量5",
  44236. "type": "integer"
  44237. },
  44238. "bidvolume6": {
  44239. "description": "买量6",
  44240. "type": "integer"
  44241. },
  44242. "bidvolume7": {
  44243. "description": "买量7",
  44244. "type": "integer"
  44245. },
  44246. "bidvolume8": {
  44247. "description": "买量8",
  44248. "type": "integer"
  44249. },
  44250. "bidvolume9": {
  44251. "description": "买量9",
  44252. "type": "integer"
  44253. },
  44254. "calloptionpremiums": {
  44255. "description": "认购期权1",
  44256. "type": "integer"
  44257. },
  44258. "calloptionpremiums2": {
  44259. "description": "认购期权2",
  44260. "type": "integer"
  44261. },
  44262. "calloptionpremiums3": {
  44263. "description": "认购期权3",
  44264. "type": "integer"
  44265. },
  44266. "calloptionpremiums4": {
  44267. "description": "认购期权4",
  44268. "type": "integer"
  44269. },
  44270. "calloptionpremiums5": {
  44271. "description": "认购期权5",
  44272. "type": "integer"
  44273. },
  44274. "cleartime": {
  44275. "description": "清盘时间",
  44276. "type": "integer"
  44277. },
  44278. "exchangecode": {
  44279. "description": "交易所代码",
  44280. "type": "integer"
  44281. },
  44282. "exchangedate": {
  44283. "description": "交易日",
  44284. "type": "integer"
  44285. },
  44286. "goodscode": {
  44287. "description": "商品代码",
  44288. "type": "string"
  44289. },
  44290. "grepmarketprice": {
  44291. "description": "暗盘价 港股专用",
  44292. "type": "number"
  44293. },
  44294. "highest": {
  44295. "description": "最高价",
  44296. "type": "number"
  44297. },
  44298. "holdincrement": {
  44299. "description": "单笔持仓",
  44300. "type": "integer"
  44301. },
  44302. "holdvolume": {
  44303. "description": "持仓",
  44304. "type": "integer"
  44305. },
  44306. "iep": {
  44307. "description": "平衡价 港股专用",
  44308. "type": "number"
  44309. },
  44310. "iev": {
  44311. "description": "平衡量 港股专用",
  44312. "type": "number"
  44313. },
  44314. "inventory": {
  44315. "description": "库存",
  44316. "type": "integer"
  44317. },
  44318. "iscleared": {
  44319. "description": "是否清盘标志",
  44320. "type": "integer"
  44321. },
  44322. "issettled": {
  44323. "description": "是否结算标志",
  44324. "type": "integer"
  44325. },
  44326. "last": {
  44327. "description": "最新价",
  44328. "type": "number"
  44329. },
  44330. "lastlot": {
  44331. "description": "最新成交手数",
  44332. "type": "integer"
  44333. },
  44334. "lasttime": {
  44335. "description": "行情时间(只有现价变化行情时间才变化)",
  44336. "type": "string"
  44337. },
  44338. "lastturnover": {
  44339. "description": "最新成交金额",
  44340. "type": "number"
  44341. },
  44342. "lastvolume": {
  44343. "description": "最新成交量",
  44344. "type": "integer"
  44345. },
  44346. "limitdown": {
  44347. "description": "跌停价",
  44348. "type": "number"
  44349. },
  44350. "limitup": {
  44351. "description": "涨停价",
  44352. "type": "number"
  44353. },
  44354. "lowest": {
  44355. "description": "最低价",
  44356. "type": "number"
  44357. },
  44358. "nontotalholdervolume": {
  44359. "description": "非交易持仓量",
  44360. "type": "integer"
  44361. },
  44362. "nontotallot": {
  44363. "description": "非交易总手数",
  44364. "type": "integer"
  44365. },
  44366. "nontotalturnover": {
  44367. "description": "非交易总金额",
  44368. "type": "integer"
  44369. },
  44370. "nontotalvolume": {
  44371. "description": "非交易总量",
  44372. "type": "integer"
  44373. },
  44374. "opened": {
  44375. "description": "开盘价",
  44376. "type": "number"
  44377. },
  44378. "opentime": {
  44379. "description": "开盘时间",
  44380. "type": "string"
  44381. },
  44382. "orderid": {
  44383. "description": "序号",
  44384. "type": "integer"
  44385. },
  44386. "preclose": {
  44387. "description": "昨收",
  44388. "type": "number"
  44389. },
  44390. "preholdvolume": {
  44391. "description": "昨持仓",
  44392. "type": "integer"
  44393. },
  44394. "presettle": {
  44395. "description": "昨结价",
  44396. "type": "number"
  44397. },
  44398. "publictradetype": {
  44399. "description": "公共交易标志类型 港股专用",
  44400. "type": "string"
  44401. },
  44402. "putoptionpremiums": {
  44403. "description": "认沽期权1",
  44404. "type": "integer"
  44405. },
  44406. "putoptionpremiums2": {
  44407. "description": "认沽期权2",
  44408. "type": "integer"
  44409. },
  44410. "putoptionpremiums3": {
  44411. "description": "认沽期权3",
  44412. "type": "integer"
  44413. },
  44414. "putoptionpremiums4": {
  44415. "description": "认沽期权4",
  44416. "type": "integer"
  44417. },
  44418. "putoptionpremiums5": {
  44419. "description": "认沽期权5",
  44420. "type": "integer"
  44421. },
  44422. "settle": {
  44423. "description": "结算价",
  44424. "type": "number"
  44425. },
  44426. "strikeprice": {
  44427. "description": "发行价",
  44428. "type": "number"
  44429. },
  44430. "totalaskvolume": {
  44431. "description": "内盘",
  44432. "type": "integer"
  44433. },
  44434. "totalbidvolume": {
  44435. "description": "外盘",
  44436. "type": "integer"
  44437. },
  44438. "totallot": {
  44439. "description": "总手数",
  44440. "type": "integer"
  44441. },
  44442. "totalturnover": {
  44443. "description": "总金额",
  44444. "type": "number"
  44445. },
  44446. "totalvolume": {
  44447. "description": "总量",
  44448. "type": "integer"
  44449. },
  44450. "utclasttime": {
  44451. "description": "utc的行情时间",
  44452. "type": "string"
  44453. }
  44454. }
  44455. },
  44456. "quote.QueryTSDataRsp": {
  44457. "type": "object",
  44458. "properties": {
  44459. "Count": {
  44460. "description": "交易日应有数据个数",
  44461. "type": "integer"
  44462. },
  44463. "decimalPlace": {
  44464. "description": "小数位",
  44465. "type": "integer"
  44466. },
  44467. "endTime": {
  44468. "description": "结束时间",
  44469. "type": "string"
  44470. },
  44471. "goodsCode": {
  44472. "description": "商品代码",
  44473. "type": "string"
  44474. },
  44475. "historyDatas": {
  44476. "description": "历史数据",
  44477. "type": "array",
  44478. "items": {
  44479. "$ref": "#/definitions/quote.HistoryData"
  44480. }
  44481. },
  44482. "outGoodsCode": {
  44483. "description": "外部商品代码",
  44484. "type": "string"
  44485. },
  44486. "preSettle": {
  44487. "description": "昨结价",
  44488. "type": "number"
  44489. },
  44490. "runSteps": {
  44491. "description": "交易日开休市计划",
  44492. "type": "array",
  44493. "items": {
  44494. "$ref": "#/definitions/quote.TSDataRunStep"
  44495. }
  44496. },
  44497. "startTime": {
  44498. "description": "开始时间",
  44499. "type": "string"
  44500. },
  44501. "tradeDate": {
  44502. "description": "交易日",
  44503. "type": "string"
  44504. }
  44505. }
  44506. },
  44507. "quote.TSDataRunStep": {
  44508. "type": "object",
  44509. "properties": {
  44510. "end": {
  44511. "description": "真实结束时间",
  44512. "type": "string"
  44513. },
  44514. "endflag": {
  44515. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  44516. "type": "integer"
  44517. },
  44518. "endtime": {
  44519. "description": "结束时间(HH:mm)",
  44520. "type": "string"
  44521. },
  44522. "endweekday": {
  44523. "description": "结束周几",
  44524. "type": "integer"
  44525. },
  44526. "groupid": {
  44527. "description": "分组ID",
  44528. "type": "integer"
  44529. },
  44530. "runstep": {
  44531. "description": "运行阶段 - 2:连续交易",
  44532. "type": "integer"
  44533. },
  44534. "sectionid": {
  44535. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  44536. "type": "integer"
  44537. },
  44538. "start": {
  44539. "description": "真实开始时间",
  44540. "type": "string"
  44541. },
  44542. "startflag": {
  44543. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  44544. "type": "integer"
  44545. },
  44546. "starttime": {
  44547. "description": "起始时间(HH:mm)",
  44548. "type": "string"
  44549. },
  44550. "startweekday": {
  44551. "description": "起始周几",
  44552. "type": "integer"
  44553. },
  44554. "tradeweekday": {
  44555. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  44556. "type": "integer"
  44557. }
  44558. }
  44559. },
  44560. "szdz.QueryConvertLogRsp": {
  44561. "type": "object",
  44562. "required": [
  44563. "logid"
  44564. ],
  44565. "properties": {
  44566. "accountid": {
  44567. "description": "资金账户ID",
  44568. "type": "integer"
  44569. },
  44570. "clientticket": {
  44571. "description": "客户端流水号",
  44572. "type": "string"
  44573. },
  44574. "converttype": {
  44575. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  44576. "type": "integer"
  44577. },
  44578. "createtime": {
  44579. "description": "记账时间",
  44580. "type": "string"
  44581. },
  44582. "daymaxvalue": {
  44583. "description": "配置当日最大转入限制",
  44584. "type": "number"
  44585. },
  44586. "daymaxvalue2": {
  44587. "description": "配置当日最大转入限制(转入)",
  44588. "type": "number"
  44589. },
  44590. "goodscode": {
  44591. "description": "商品代码",
  44592. "type": "string"
  44593. },
  44594. "goodsname": {
  44595. "description": "商品名称",
  44596. "type": "string"
  44597. },
  44598. "handlestatus": {
  44599. "description": "处理状态",
  44600. "type": "integer"
  44601. },
  44602. "innergoodsid": {
  44603. "description": "内部商品ID",
  44604. "type": "integer"
  44605. },
  44606. "inratio": {
  44607. "description": "配置转入比值",
  44608. "type": "integer"
  44609. },
  44610. "invalue": {
  44611. "description": "目标值",
  44612. "type": "number"
  44613. },
  44614. "logid": {
  44615. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  44616. "type": "integer"
  44617. },
  44618. "mobile": {
  44619. "description": "手机号码(加密存储)",
  44620. "type": "string"
  44621. },
  44622. "outergoodscode": {
  44623. "description": "外部商品代码[JD\\PD]",
  44624. "type": "string"
  44625. },
  44626. "outratio": {
  44627. "description": "配置转出比值",
  44628. "type": "integer"
  44629. },
  44630. "outvalue": {
  44631. "description": "源值",
  44632. "type": "number"
  44633. },
  44634. "pddecimalplace": {
  44635. "description": "PD小数位",
  44636. "type": "integer"
  44637. },
  44638. "qty": {
  44639. "description": "数量",
  44640. "type": "string"
  44641. },
  44642. "remark": {
  44643. "description": "备注",
  44644. "type": "string"
  44645. },
  44646. "sessionid": {
  44647. "description": "会话ID",
  44648. "type": "integer"
  44649. },
  44650. "timemaxvalue": {
  44651. "description": "配置单次最大转入限制",
  44652. "type": "number"
  44653. },
  44654. "timemaxvalue2": {
  44655. "description": "配置单次最大转入限制(转入)",
  44656. "type": "number"
  44657. },
  44658. "timeminvalue": {
  44659. "description": "配置单次最小数量限制",
  44660. "type": "number"
  44661. },
  44662. "timeminvalue2": {
  44663. "description": "配置单次最小数量限制(转入)",
  44664. "type": "number"
  44665. },
  44666. "tradedate": {
  44667. "description": "交易日(yyyyMMdd)",
  44668. "type": "string"
  44669. },
  44670. "userid": {
  44671. "description": "用户ID",
  44672. "type": "integer"
  44673. }
  44674. }
  44675. },
  44676. "szdz.QueryGoodsPickupRsp": {
  44677. "type": "object",
  44678. "required": [
  44679. "takeorderid"
  44680. ],
  44681. "properties": {
  44682. "accountid": {
  44683. "description": "账户ID",
  44684. "type": "integer"
  44685. },
  44686. "address": {
  44687. "description": "提货人详细地址",
  44688. "type": "string"
  44689. },
  44690. "auditer": {
  44691. "description": "审核人",
  44692. "type": "integer"
  44693. },
  44694. "audittime": {
  44695. "description": "审核时间",
  44696. "type": "string"
  44697. },
  44698. "cardnum": {
  44699. "description": "提货人证件号码",
  44700. "type": "string"
  44701. },
  44702. "cardtypeid": {
  44703. "description": "提货人证件类型",
  44704. "type": "integer"
  44705. },
  44706. "checkremark": {
  44707. "description": "审核备注",
  44708. "type": "string"
  44709. },
  44710. "goodscode": {
  44711. "description": "商品代码",
  44712. "type": "string"
  44713. },
  44714. "goodsid": {
  44715. "description": "商品ID",
  44716. "type": "integer"
  44717. },
  44718. "goodsname": {
  44719. "description": "商品名称",
  44720. "type": "string"
  44721. },
  44722. "handlestatus": {
  44723. "description": "处理状态",
  44724. "type": "integer"
  44725. },
  44726. "marketid": {
  44727. "description": "市场ID",
  44728. "type": "integer"
  44729. },
  44730. "phonenum": {
  44731. "description": "提货人联系方式",
  44732. "type": "string"
  44733. },
  44734. "qty": {
  44735. "description": "提货数量",
  44736. "type": "number"
  44737. },
  44738. "recivername": {
  44739. "description": "提货人姓名",
  44740. "type": "string"
  44741. },
  44742. "reqtime": {
  44743. "description": "更新时间",
  44744. "type": "string"
  44745. },
  44746. "takemode": {
  44747. "description": "提货方式 - 2:自提 3:配送",
  44748. "type": "integer"
  44749. },
  44750. "takeorderid": {
  44751. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  44752. "type": "string"
  44753. },
  44754. "takeorderstatus": {
  44755. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  44756. "type": "integer"
  44757. },
  44758. "takeremark": {
  44759. "description": "提货备注",
  44760. "type": "string"
  44761. },
  44762. "tradedate": {
  44763. "description": "交易日(yyyyMMdd)",
  44764. "type": "string"
  44765. },
  44766. "userid": {
  44767. "description": "用户ID",
  44768. "type": "integer"
  44769. }
  44770. }
  44771. },
  44772. "szdz.QueryRecieptOrderRsp": {
  44773. "type": "object",
  44774. "required": [
  44775. "ordertime"
  44776. ],
  44777. "properties": {
  44778. "accountName": {
  44779. "description": "所属账号名称(已脱敏)",
  44780. "type": "string"
  44781. },
  44782. "accountid": {
  44783. "description": "资金账号",
  44784. "type": "integer"
  44785. },
  44786. "buyorsell": {
  44787. "description": "方向 - 0:买 1:卖",
  44788. "type": "integer"
  44789. },
  44790. "enableqty": {
  44791. "description": "可摘数量",
  44792. "type": "integer"
  44793. },
  44794. "goodscode": {
  44795. "description": "商品代码",
  44796. "type": "string"
  44797. },
  44798. "goodsid": {
  44799. "description": "商品ID",
  44800. "type": "integer"
  44801. },
  44802. "goodsname": {
  44803. "description": "商品名称",
  44804. "type": "string"
  44805. },
  44806. "orderid": {
  44807. "description": "委托单号",
  44808. "type": "string"
  44809. },
  44810. "orderprice": {
  44811. "description": "委托价格",
  44812. "type": "number"
  44813. },
  44814. "ordertime": {
  44815. "description": "委托时间",
  44816. "type": "string"
  44817. },
  44818. "tradedate": {
  44819. "description": "交易日(yyyyMMdd)",
  44820. "type": "string"
  44821. }
  44822. }
  44823. },
  44824. "szdz.QuerySZDZTradePositionRsp": {
  44825. "type": "object",
  44826. "properties": {
  44827. "accountid": {
  44828. "description": "账号Id",
  44829. "type": "integer"
  44830. },
  44831. "agreeunit": {
  44832. "description": "合约单位",
  44833. "type": "number"
  44834. },
  44835. "averageprice": {
  44836. "description": "持仓均价",
  44837. "type": "number"
  44838. },
  44839. "buyorsell": {
  44840. "description": "方向 - 0:买 1:卖",
  44841. "type": "integer"
  44842. },
  44843. "closetotalqty": {
  44844. "description": "平仓总数量",
  44845. "type": "integer"
  44846. },
  44847. "curholderamount": {
  44848. "description": "当前持仓总金额",
  44849. "type": "number"
  44850. },
  44851. "curpositionqty": {
  44852. "description": "当前持仓总数量",
  44853. "type": "integer"
  44854. },
  44855. "currencyid": {
  44856. "description": "报价货币ID",
  44857. "type": "integer"
  44858. },
  44859. "curtdposition": {
  44860. "description": "期末今日头寸",
  44861. "type": "integer"
  44862. },
  44863. "decimalplace": {
  44864. "description": "报价小数位",
  44865. "type": "integer"
  44866. },
  44867. "enableqty": {
  44868. "description": "可用量",
  44869. "type": "integer"
  44870. },
  44871. "fretdposition": {
  44872. "description": "冻结今日头寸",
  44873. "type": "integer"
  44874. },
  44875. "frozenqty": {
  44876. "description": "持仓冻结数量",
  44877. "type": "integer"
  44878. },
  44879. "goodscode": {
  44880. "description": "商品代码(内部)",
  44881. "type": "string"
  44882. },
  44883. "goodsid": {
  44884. "description": "商品Id",
  44885. "type": "integer"
  44886. },
  44887. "goodsname": {
  44888. "description": "商品名称",
  44889. "type": "string"
  44890. },
  44891. "goodunit": {
  44892. "description": "报价单位",
  44893. "type": "string"
  44894. },
  44895. "goodunitid": {
  44896. "description": "报价单位ID",
  44897. "type": "integer"
  44898. },
  44899. "holderamount": {
  44900. "description": "期初持仓总金额",
  44901. "type": "number"
  44902. },
  44903. "marketid": {
  44904. "description": "市场ID",
  44905. "type": "integer"
  44906. },
  44907. "openreqqty": {
  44908. "description": "开仓申请数量",
  44909. "type": "integer"
  44910. },
  44911. "opentotalqty": {
  44912. "description": "开仓总数量",
  44913. "type": "integer"
  44914. },
  44915. "otherfrozenqty": {
  44916. "description": "持仓其他冻结数量(交割冻结)",
  44917. "type": "integer"
  44918. },
  44919. "positionqty": {
  44920. "description": "期初持仓数量",
  44921. "type": "integer"
  44922. },
  44923. "szdz3freezqty": {
  44924. "description": "尚志大宗转换冻结总数量",
  44925. "type": "integer"
  44926. },
  44927. "tnqty": {
  44928. "description": "T+N冻结总量",
  44929. "type": "integer"
  44930. },
  44931. "tnusedqty": {
  44932. "description": "T+N使用量",
  44933. "type": "integer"
  44934. },
  44935. "trademode": {
  44936. "description": "交易模式",
  44937. "type": "integer"
  44938. },
  44939. "usedmargin": {
  44940. "description": "占用保证金",
  44941. "type": "number"
  44942. }
  44943. }
  44944. },
  44945. "taaccount.QueryAmountLogRsp": {
  44946. "type": "object",
  44947. "required": [
  44948. "accountid",
  44949. "amount",
  44950. "amountadjusttype",
  44951. "autoid",
  44952. "balance",
  44953. "createtime",
  44954. "currentbalance",
  44955. "operatetype"
  44956. ],
  44957. "properties": {
  44958. "OPERATETYPENAME": {
  44959. "description": "资金操作类型名称",
  44960. "type": "string"
  44961. },
  44962. "accountid": {
  44963. "description": "资金账户ID",
  44964. "type": "integer"
  44965. },
  44966. "agoodscode": {
  44967. "description": "竞拍商品代码",
  44968. "type": "string"
  44969. },
  44970. "agoodsname": {
  44971. "description": "竞拍商品名称",
  44972. "type": "string"
  44973. },
  44974. "amount": {
  44975. "description": "资金金额",
  44976. "type": "number"
  44977. },
  44978. "amountadjusttype": {
  44979. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  44980. "type": "integer"
  44981. },
  44982. "autoid": {
  44983. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  44984. "type": "integer"
  44985. },
  44986. "balance": {
  44987. "description": "期初余额",
  44988. "type": "number"
  44989. },
  44990. "businesscode": {
  44991. "description": "业务编号",
  44992. "type": "integer"
  44993. },
  44994. "createtime": {
  44995. "description": "发生时间",
  44996. "type": "string"
  44997. },
  44998. "currencyid": {
  44999. "description": "币种ID",
  45000. "type": "integer"
  45001. },
  45002. "currentbalance": {
  45003. "description": "期末余额(变动后金额)",
  45004. "type": "number"
  45005. },
  45006. "dgoodscode": {
  45007. "description": "交割商品代码",
  45008. "type": "string"
  45009. },
  45010. "dgoodsname": {
  45011. "description": "交割商品名称",
  45012. "type": "string"
  45013. },
  45014. "goodscode": {
  45015. "description": "商品代码",
  45016. "type": "string"
  45017. },
  45018. "goodsid": {
  45019. "description": "商品ID",
  45020. "type": "integer"
  45021. },
  45022. "goodsname": {
  45023. "description": "商品名称",
  45024. "type": "string"
  45025. },
  45026. "marketid": {
  45027. "description": "市场ID",
  45028. "type": "integer"
  45029. },
  45030. "marketname": {
  45031. "description": "市场名称",
  45032. "type": "string"
  45033. },
  45034. "moneyticket": {
  45035. "description": "资金流水号:银行端流水号",
  45036. "type": "integer"
  45037. },
  45038. "operatetype": {
  45039. "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:营销收款",
  45040. "type": "integer"
  45041. },
  45042. "relationorderid": {
  45043. "description": "关联单号",
  45044. "type": "string"
  45045. },
  45046. "remark": {
  45047. "description": "备注",
  45048. "type": "string"
  45049. },
  45050. "trademode": {
  45051. "description": "交易模式",
  45052. "type": "integer"
  45053. }
  45054. }
  45055. },
  45056. "taaccount.QueryHisAmountLogRsp": {
  45057. "type": "object",
  45058. "required": [
  45059. "accountid",
  45060. "amount",
  45061. "amountadjusttype",
  45062. "autoid",
  45063. "balance",
  45064. "createtime",
  45065. "currentbalance",
  45066. "histradedate",
  45067. "operatetype"
  45068. ],
  45069. "properties": {
  45070. "OPERATETYPENAME": {
  45071. "description": "资金操作类型名称",
  45072. "type": "string"
  45073. },
  45074. "accountid": {
  45075. "description": "资金账户ID",
  45076. "type": "integer"
  45077. },
  45078. "agoodscode": {
  45079. "description": "竞拍商品代码",
  45080. "type": "string"
  45081. },
  45082. "agoodsname": {
  45083. "description": "竞拍商品名称",
  45084. "type": "string"
  45085. },
  45086. "amount": {
  45087. "description": "资金金额",
  45088. "type": "number"
  45089. },
  45090. "amountadjusttype": {
  45091. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  45092. "type": "integer"
  45093. },
  45094. "autoid": {
  45095. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  45096. "type": "integer"
  45097. },
  45098. "balance": {
  45099. "description": "期初余额",
  45100. "type": "number"
  45101. },
  45102. "businesscode": {
  45103. "description": "业务编号",
  45104. "type": "integer"
  45105. },
  45106. "createtime": {
  45107. "description": "发生时间",
  45108. "type": "string"
  45109. },
  45110. "currencyid": {
  45111. "description": "币种ID",
  45112. "type": "integer"
  45113. },
  45114. "currentbalance": {
  45115. "description": "期末余额(变动后金额)",
  45116. "type": "number"
  45117. },
  45118. "dgoodscode": {
  45119. "description": "交割商品代码",
  45120. "type": "string"
  45121. },
  45122. "dgoodsname": {
  45123. "description": "交割商品名称",
  45124. "type": "string"
  45125. },
  45126. "goodscode": {
  45127. "description": "商品代码",
  45128. "type": "string"
  45129. },
  45130. "goodsid": {
  45131. "description": "商品ID",
  45132. "type": "integer"
  45133. },
  45134. "goodsname": {
  45135. "description": "商品名称",
  45136. "type": "string"
  45137. },
  45138. "histradedate": {
  45139. "description": "历史交易日",
  45140. "type": "string"
  45141. },
  45142. "isvaliddata": {
  45143. "description": "是否有效 - 0:无效 1:有效",
  45144. "type": "integer"
  45145. },
  45146. "marketid": {
  45147. "description": "市场ID",
  45148. "type": "integer"
  45149. },
  45150. "marketname": {
  45151. "description": "市场名称",
  45152. "type": "string"
  45153. },
  45154. "moneyticket": {
  45155. "description": "资金流水号:银行端流水号",
  45156. "type": "integer"
  45157. },
  45158. "operatetype": {
  45159. "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:营销收款",
  45160. "type": "integer"
  45161. },
  45162. "relationorderid": {
  45163. "description": "关联单号",
  45164. "type": "string"
  45165. },
  45166. "remark": {
  45167. "description": "备注",
  45168. "type": "string"
  45169. },
  45170. "trademode": {
  45171. "description": "交易模式",
  45172. "type": "integer"
  45173. }
  45174. }
  45175. },
  45176. "trade.QueryRecieptOrderRsp": {
  45177. "type": "object",
  45178. "required": [
  45179. "ordertime"
  45180. ],
  45181. "properties": {
  45182. "accountName": {
  45183. "description": "所属账号名称(已脱敏)",
  45184. "type": "string"
  45185. },
  45186. "accountid": {
  45187. "description": "资金账号",
  45188. "type": "integer"
  45189. },
  45190. "buyorsell": {
  45191. "description": "方向 - 0:买 1:卖",
  45192. "type": "integer"
  45193. },
  45194. "enableqty": {
  45195. "description": "可摘数量",
  45196. "type": "integer"
  45197. },
  45198. "goodscode": {
  45199. "description": "商品代码",
  45200. "type": "string"
  45201. },
  45202. "goodsid": {
  45203. "description": "商品ID",
  45204. "type": "integer"
  45205. },
  45206. "goodsname": {
  45207. "description": "商品名称",
  45208. "type": "string"
  45209. },
  45210. "orderid": {
  45211. "description": "委托单号",
  45212. "type": "string"
  45213. },
  45214. "orderprice": {
  45215. "description": "委托价格",
  45216. "type": "number"
  45217. },
  45218. "ordertime": {
  45219. "description": "委托时间",
  45220. "type": "string"
  45221. },
  45222. "tradedate": {
  45223. "description": "交易日(yyyyMMdd)",
  45224. "type": "string"
  45225. }
  45226. }
  45227. },
  45228. "user.LoginQueryRsp": {
  45229. "type": "object",
  45230. "properties": {
  45231. "areaRoles": {
  45232. "description": "所属角色信息",
  45233. "type": "array",
  45234. "items": {
  45235. "$ref": "#/definitions/models.Arearole"
  45236. }
  45237. },
  45238. "externalExchanges": {
  45239. "description": "外部交易所",
  45240. "type": "array",
  45241. "items": {
  45242. "$ref": "#/definitions/models.Externalexchange"
  45243. }
  45244. },
  45245. "goodsgroups": {
  45246. "description": "商品组",
  45247. "type": "array",
  45248. "items": {
  45249. "$ref": "#/definitions/models.Goodsgroup"
  45250. }
  45251. },
  45252. "loginAccount": {
  45253. "description": "登录账号",
  45254. "$ref": "#/definitions/models.Loginaccount"
  45255. },
  45256. "markets": {
  45257. "description": "市场",
  45258. "type": "array",
  45259. "items": {
  45260. "$ref": "#/definitions/models.Market"
  45261. }
  45262. },
  45263. "systemParams": {
  45264. "description": "系统参数",
  45265. "type": "array",
  45266. "items": {
  45267. "$ref": "#/definitions/models.Systemparam"
  45268. }
  45269. },
  45270. "userAccount": {
  45271. "description": "用户账号",
  45272. "$ref": "#/definitions/models.Useraccount"
  45273. },
  45274. "userInfo": {
  45275. "description": "用户信息",
  45276. "$ref": "#/definitions/models.Userinfo"
  45277. },
  45278. "username": {
  45279. "description": "用户姓名",
  45280. "type": "string"
  45281. }
  45282. }
  45283. }
  45284. },
  45285. "securityDefinitions": {
  45286. "ApiKeyAuth": {
  45287. "type": "apiKey",
  45288. "name": "Authorization",
  45289. "in": "header"
  45290. }
  45291. }
  45292. }