swagger.json 1.4 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  5. "title": "MTP2.0 查询服务 API",
  6. "termsOfService": "http://www.muchinfo.cn",
  7. "contact": {},
  8. "version": "1.0"
  9. },
  10. "basePath": "/api",
  11. "paths": {
  12. "/CPTrade/QueryCPTradeMyBidInfos": {
  13. "get": {
  14. "security": [
  15. {
  16. "ApiKeyAuth": []
  17. }
  18. ],
  19. "produces": [
  20. "application/json"
  21. ],
  22. "tags": [
  23. "产能预售"
  24. ],
  25. "summary": "查询产能预售我的出价信息",
  26. "parameters": [
  27. {
  28. "type": "integer",
  29. "description": "资金账户",
  30. "name": "accountid",
  31. "in": "query",
  32. "required": true
  33. },
  34. {
  35. "type": "integer",
  36. "description": "预售市场ID",
  37. "name": "marketid",
  38. "in": "query"
  39. },
  40. {
  41. "type": "integer",
  42. "description": "预售商品ID",
  43. "name": "goodsid",
  44. "in": "query"
  45. }
  46. ],
  47. "responses": {
  48. "200": {
  49. "description": "OK",
  50. "schema": {
  51. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  52. }
  53. },
  54. "500": {
  55. "description": "Internal Server Error",
  56. "schema": {
  57. "$ref": "#/definitions/app.Response"
  58. }
  59. }
  60. }
  61. }
  62. },
  63. "/CPTrade/QueryCPTradeOrderDetail": {
  64. "get": {
  65. "security": [
  66. {
  67. "ApiKeyAuth": []
  68. }
  69. ],
  70. "produces": [
  71. "application/json"
  72. ],
  73. "tags": [
  74. "产能预售"
  75. ],
  76. "summary": "查询产能预售委托单信息",
  77. "parameters": [
  78. {
  79. "type": "integer",
  80. "description": "预售商品ID",
  81. "name": "goodsid",
  82. "in": "query"
  83. },
  84. {
  85. "type": "integer",
  86. "description": "预售市场ID",
  87. "name": "marketid",
  88. "in": "query"
  89. },
  90. {
  91. "type": "string",
  92. "description": "预售商品ID列表 - 格式:1,2,3",
  93. "name": "goodsids",
  94. "in": "query"
  95. }
  96. ],
  97. "responses": {
  98. "200": {
  99. "description": "OK",
  100. "schema": {
  101. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  102. }
  103. },
  104. "500": {
  105. "description": "Internal Server Error",
  106. "schema": {
  107. "$ref": "#/definitions/app.Response"
  108. }
  109. }
  110. }
  111. }
  112. },
  113. "/CPTrade/QueryMyCPTradeGoods": {
  114. "get": {
  115. "security": [
  116. {
  117. "ApiKeyAuth": []
  118. }
  119. ],
  120. "produces": [
  121. "application/json"
  122. ],
  123. "tags": [
  124. "产能预售"
  125. ],
  126. "summary": "查询我的预售信息",
  127. "parameters": [
  128. {
  129. "type": "integer",
  130. "description": "资金账户",
  131. "name": "accountid",
  132. "in": "query",
  133. "required": true
  134. }
  135. ],
  136. "responses": {
  137. "200": {
  138. "description": "OK",
  139. "schema": {
  140. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  141. }
  142. },
  143. "500": {
  144. "description": "Internal Server Error",
  145. "schema": {
  146. "$ref": "#/definitions/app.Response"
  147. }
  148. }
  149. }
  150. }
  151. },
  152. "/CPTrade/QueryPositionCancel": {
  153. "get": {
  154. "security": [
  155. {
  156. "ApiKeyAuth": []
  157. }
  158. ],
  159. "produces": [
  160. "application/json"
  161. ],
  162. "tags": [
  163. "产能预售"
  164. ],
  165. "summary": "查询远期订单注销申请信息",
  166. "parameters": [
  167. {
  168. "type": "integer",
  169. "description": "账户ID",
  170. "name": "userid",
  171. "in": "query",
  172. "required": true
  173. },
  174. {
  175. "type": "integer",
  176. "description": "注销ID",
  177. "name": "cancelid",
  178. "in": "query"
  179. },
  180. {
  181. "type": "integer",
  182. "description": "资金账户ID",
  183. "name": "accountid",
  184. "in": "query"
  185. }
  186. ],
  187. "responses": {
  188. "200": {
  189. "description": "OK",
  190. "schema": {
  191. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  192. }
  193. },
  194. "500": {
  195. "description": "Internal Server Error",
  196. "schema": {
  197. "$ref": "#/definitions/app.Response"
  198. }
  199. }
  200. }
  201. }
  202. },
  203. "/CPTrade/QueryPreasleApply": {
  204. "get": {
  205. "security": [
  206. {
  207. "ApiKeyAuth": []
  208. }
  209. ],
  210. "produces": [
  211. "application/json"
  212. ],
  213. "tags": [
  214. "产能预售"
  215. ],
  216. "summary": "查询产能预售申请信息",
  217. "parameters": [
  218. {
  219. "type": "integer",
  220. "description": "账户ID",
  221. "name": "userid",
  222. "in": "query",
  223. "required": true
  224. },
  225. {
  226. "type": "integer",
  227. "description": "申请ID",
  228. "name": "applyid",
  229. "in": "query"
  230. },
  231. {
  232. "type": "integer",
  233. "description": "资金账户ID",
  234. "name": "accountid",
  235. "in": "query"
  236. }
  237. ],
  238. "responses": {
  239. "200": {
  240. "description": "OK",
  241. "schema": {
  242. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  243. }
  244. },
  245. "500": {
  246. "description": "Internal Server Error",
  247. "schema": {
  248. "$ref": "#/definitions/app.Response"
  249. }
  250. }
  251. }
  252. }
  253. },
  254. "/CPTrade/QueryPresaleGoodsEx": {
  255. "get": {
  256. "security": [
  257. {
  258. "ApiKeyAuth": []
  259. }
  260. ],
  261. "produces": [
  262. "application/json"
  263. ],
  264. "tags": [
  265. "产能预售"
  266. ],
  267. "summary": "查询产能预售商品扩展信息",
  268. "parameters": [
  269. {
  270. "type": "integer",
  271. "description": "预售商品ID",
  272. "name": "goodsid",
  273. "in": "query"
  274. },
  275. {
  276. "type": "integer",
  277. "description": "预售市场ID",
  278. "name": "marketid",
  279. "in": "query"
  280. },
  281. {
  282. "type": "integer",
  283. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  284. "name": "presalemode",
  285. "in": "query"
  286. },
  287. {
  288. "type": "string",
  289. "description": "预售商品ID列表 - 格式:1,2,3",
  290. "name": "goodsids",
  291. "in": "query"
  292. },
  293. {
  294. "type": "string",
  295. "description": "预售商品代码",
  296. "name": "goodscode",
  297. "in": "query"
  298. }
  299. ],
  300. "responses": {
  301. "200": {
  302. "description": "OK",
  303. "schema": {
  304. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  305. }
  306. },
  307. "500": {
  308. "description": "Internal Server Error",
  309. "schema": {
  310. "$ref": "#/definitions/app.Response"
  311. }
  312. }
  313. }
  314. }
  315. },
  316. "/CPTrade/QueryUserGoodsData": {
  317. "get": {
  318. "security": [
  319. {
  320. "ApiKeyAuth": []
  321. }
  322. ],
  323. "produces": [
  324. "application/json"
  325. ],
  326. "tags": [
  327. "产能预售"
  328. ],
  329. "summary": "查询远期订单信息",
  330. "parameters": [
  331. {
  332. "type": "integer",
  333. "description": "资金账户ID",
  334. "name": "accountid",
  335. "in": "query",
  336. "required": true
  337. }
  338. ],
  339. "responses": {
  340. "200": {
  341. "description": "OK",
  342. "schema": {
  343. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  344. }
  345. },
  346. "500": {
  347. "description": "Internal Server Error",
  348. "schema": {
  349. "$ref": "#/definitions/app.Response"
  350. }
  351. }
  352. }
  353. }
  354. },
  355. "/Common/GetAllEnums": {
  356. "get": {
  357. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  358. "produces": [
  359. "application/json"
  360. ],
  361. "tags": [
  362. "通用服务"
  363. ],
  364. "summary": "获取所有枚举信息",
  365. "parameters": [
  366. {
  367. "type": "integer",
  368. "description": "起始自增ID",
  369. "name": "autoid",
  370. "in": "query"
  371. }
  372. ],
  373. "responses": {
  374. "200": {
  375. "description": "OK",
  376. "schema": {
  377. "$ref": "#/definitions/models.Enumdicitem"
  378. }
  379. },
  380. "500": {
  381. "description": "Internal Server Error",
  382. "schema": {
  383. "$ref": "#/definitions/app.Response"
  384. }
  385. }
  386. }
  387. }
  388. },
  389. "/Common/GetClientMenus": {
  390. "get": {
  391. "security": [
  392. {
  393. "ApiKeyAuth": []
  394. }
  395. ],
  396. "produces": [
  397. "application/json"
  398. ],
  399. "tags": [
  400. "通用服务"
  401. ],
  402. "summary": "获取交易端菜单",
  403. "parameters": [
  404. {
  405. "type": "integer",
  406. "description": "登录账号",
  407. "name": "loginID",
  408. "in": "query",
  409. "required": true
  410. },
  411. {
  412. "type": "integer",
  413. "description": "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据",
  414. "name": "clientType",
  415. "in": "query"
  416. },
  417. {
  418. "type": "string",
  419. "description": "分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台",
  420. "name": "name",
  421. "in": "query"
  422. }
  423. ],
  424. "responses": {
  425. "200": {
  426. "description": "OK",
  427. "schema": {
  428. "type": "array",
  429. "items": {
  430. "$ref": "#/definitions/common.ClientMenu"
  431. }
  432. }
  433. },
  434. "500": {
  435. "description": "Internal Server Error",
  436. "schema": {
  437. "$ref": "#/definitions/app.Response"
  438. }
  439. }
  440. }
  441. }
  442. },
  443. "/Common/GetDivisions": {
  444. "get": {
  445. "produces": [
  446. "application/json"
  447. ],
  448. "tags": [
  449. "通用服务"
  450. ],
  451. "summary": "查询区域信息",
  452. "responses": {
  453. "200": {
  454. "description": "OK",
  455. "schema": {
  456. "$ref": "#/definitions/models.Division"
  457. }
  458. },
  459. "500": {
  460. "description": "Internal Server Error",
  461. "schema": {
  462. "$ref": "#/definitions/app.Response"
  463. }
  464. }
  465. }
  466. }
  467. },
  468. "/Common/GetPCWebMenus": {
  469. "get": {
  470. "security": [
  471. {
  472. "ApiKeyAuth": []
  473. }
  474. ],
  475. "produces": [
  476. "application/json"
  477. ],
  478. "tags": [
  479. "通用服务"
  480. ],
  481. "summary": "获取PCWeb交易端菜单",
  482. "parameters": [
  483. {
  484. "type": "integer",
  485. "description": "登录账号",
  486. "name": "loginID",
  487. "in": "query",
  488. "required": true
  489. },
  490. {
  491. "type": "string",
  492. "description": "分支名称,ermcp:风管云平台,不传默认返回ermcp",
  493. "name": "name",
  494. "in": "query"
  495. }
  496. ],
  497. "responses": {
  498. "200": {
  499. "description": "OK",
  500. "schema": {
  501. "type": "array",
  502. "items": {
  503. "$ref": "#/definitions/common.PCWebMenu"
  504. }
  505. }
  506. },
  507. "500": {
  508. "description": "Internal Server Error",
  509. "schema": {
  510. "$ref": "#/definitions/app.Response"
  511. }
  512. }
  513. }
  514. }
  515. },
  516. "/Common/GetServerTime": {
  517. "get": {
  518. "produces": [
  519. "application/json"
  520. ],
  521. "tags": [
  522. "通用服务"
  523. ],
  524. "summary": "获取服务器时间",
  525. "responses": {
  526. "200": {
  527. "description": "OK",
  528. "schema": {
  529. "$ref": "#/definitions/app.Response"
  530. }
  531. },
  532. "500": {
  533. "description": "Internal Server Error",
  534. "schema": {
  535. "$ref": "#/definitions/app.Response"
  536. }
  537. }
  538. }
  539. }
  540. },
  541. "/Common/NoticeReaded": {
  542. "post": {
  543. "security": [
  544. {
  545. "ApiKeyAuth": []
  546. }
  547. ],
  548. "produces": [
  549. "application/json"
  550. ],
  551. "tags": [
  552. "通用服务"
  553. ],
  554. "summary": "通知公告设置已读请求",
  555. "parameters": [
  556. {
  557. "type": "integer",
  558. "description": "登录账号",
  559. "name": "loginID",
  560. "in": "query",
  561. "required": true
  562. },
  563. {
  564. "type": "integer",
  565. "description": "通知公告ID",
  566. "name": "noticeID",
  567. "in": "query",
  568. "required": true
  569. }
  570. ],
  571. "responses": {
  572. "200": {
  573. "description": "OK",
  574. "schema": {
  575. "$ref": "#/definitions/app.Response"
  576. }
  577. },
  578. "500": {
  579. "description": "Internal Server Error",
  580. "schema": {
  581. "$ref": "#/definitions/app.Response"
  582. }
  583. }
  584. }
  585. }
  586. },
  587. "/Common/QueryErrorInfos": {
  588. "get": {
  589. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  590. "produces": [
  591. "application/json"
  592. ],
  593. "tags": [
  594. "通用服务"
  595. ],
  596. "summary": "获取数据库错误信息",
  597. "parameters": [
  598. {
  599. "type": "string",
  600. "description": "起始行号前索引",
  601. "name": "rowNumber",
  602. "in": "query"
  603. }
  604. ],
  605. "responses": {
  606. "200": {
  607. "description": "OK",
  608. "schema": {
  609. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  610. }
  611. },
  612. "500": {
  613. "description": "Internal Server Error",
  614. "schema": {
  615. "$ref": "#/definitions/app.Response"
  616. }
  617. }
  618. }
  619. }
  620. },
  621. "/Common/QueryImageConfigs": {
  622. "get": {
  623. "produces": [
  624. "application/json"
  625. ],
  626. "tags": [
  627. "通用服务"
  628. ],
  629. "summary": "查询轮播图配置信息",
  630. "parameters": [
  631. {
  632. "type": "integer",
  633. "description": "用户id",
  634. "name": "userId",
  635. "in": "query"
  636. },
  637. {
  638. "type": "integer",
  639. "description": "类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)",
  640. "name": "imageType",
  641. "in": "query"
  642. }
  643. ],
  644. "responses": {
  645. "200": {
  646. "description": "OK",
  647. "schema": {
  648. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  649. }
  650. },
  651. "500": {
  652. "description": "Internal Server Error",
  653. "schema": {
  654. "$ref": "#/definitions/app.Response"
  655. }
  656. }
  657. }
  658. }
  659. },
  660. "/Common/QueryNotice": {
  661. "get": {
  662. "security": [
  663. {
  664. "ApiKeyAuth": []
  665. }
  666. ],
  667. "produces": [
  668. "application/json"
  669. ],
  670. "tags": [
  671. "通用服务"
  672. ],
  673. "summary": "通知公告系统消息查询",
  674. "parameters": [
  675. {
  676. "type": "integer",
  677. "description": "页码",
  678. "name": "page",
  679. "in": "query"
  680. },
  681. {
  682. "type": "integer",
  683. "description": "每页条数",
  684. "name": "pagesize",
  685. "in": "query"
  686. },
  687. {
  688. "type": "integer",
  689. "description": "登录账号",
  690. "name": "loginID",
  691. "in": "query",
  692. "required": true
  693. },
  694. {
  695. "type": "integer",
  696. "description": "消息类型 - 1:公告通知 2:系统消息",
  697. "name": "msgType",
  698. "in": "query"
  699. },
  700. {
  701. "type": "boolean",
  702. "description": "是否只获取未读信息",
  703. "name": "onlyUnRead",
  704. "in": "query"
  705. },
  706. {
  707. "type": "integer",
  708. "description": "自增ID,传入后会返回这个ID后面的记录",
  709. "name": "lastID",
  710. "in": "query"
  711. }
  712. ],
  713. "responses": {
  714. "200": {
  715. "description": "OK",
  716. "schema": {
  717. "$ref": "#/definitions/common.QueryNoticeRsp"
  718. }
  719. },
  720. "500": {
  721. "description": "Internal Server Error",
  722. "schema": {
  723. "$ref": "#/definitions/app.Response"
  724. }
  725. }
  726. }
  727. }
  728. },
  729. "/Common/QueryProvincesAndCities": {
  730. "get": {
  731. "produces": [
  732. "application/json"
  733. ],
  734. "tags": [
  735. "通用服务"
  736. ],
  737. "summary": "查询省市信息(不包括区)",
  738. "parameters": [
  739. {
  740. "type": "integer",
  741. "description": "省ID",
  742. "name": "provinceID",
  743. "in": "query"
  744. }
  745. ],
  746. "responses": {
  747. "200": {
  748. "description": "OK",
  749. "schema": {
  750. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  751. }
  752. },
  753. "500": {
  754. "description": "Internal Server Error",
  755. "schema": {
  756. "$ref": "#/definitions/app.Response"
  757. }
  758. }
  759. }
  760. }
  761. },
  762. "/Common/QueryTableDefine": {
  763. "get": {
  764. "produces": [
  765. "application/json"
  766. ],
  767. "tags": [
  768. "通用服务"
  769. ],
  770. "summary": "查询交易端列表头信息",
  771. "parameters": [
  772. {
  773. "type": "string",
  774. "description": "表key",
  775. "name": "tableKey",
  776. "in": "query"
  777. },
  778. {
  779. "type": "integer",
  780. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  781. "name": "tableType",
  782. "in": "query"
  783. }
  784. ],
  785. "responses": {
  786. "200": {
  787. "description": "OK",
  788. "schema": {
  789. "$ref": "#/definitions/common.QueryTableDefineRsp"
  790. }
  791. },
  792. "500": {
  793. "description": "Internal Server Error",
  794. "schema": {
  795. "$ref": "#/definitions/app.Response"
  796. }
  797. }
  798. }
  799. }
  800. },
  801. "/Common/QueryTraderMenu": {
  802. "get": {
  803. "produces": [
  804. "application/json"
  805. ],
  806. "tags": [
  807. "通用服务"
  808. ],
  809. "summary": "查询交易端菜单",
  810. "parameters": [
  811. {
  812. "type": "integer",
  813. "description": "登录账号",
  814. "name": "loginid",
  815. "in": "query",
  816. "required": true
  817. }
  818. ],
  819. "responses": {
  820. "200": {
  821. "description": "OK",
  822. "schema": {
  823. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  824. }
  825. },
  826. "500": {
  827. "description": "Internal Server Error",
  828. "schema": {
  829. "$ref": "#/definitions/app.Response"
  830. }
  831. }
  832. }
  833. }
  834. },
  835. "/Delivery/QueryDeliveryRelation": {
  836. "get": {
  837. "security": [
  838. {
  839. "ApiKeyAuth": []
  840. }
  841. ],
  842. "produces": [
  843. "application/json"
  844. ],
  845. "tags": [
  846. "交割服务"
  847. ],
  848. "summary": "查询商品交割关系表",
  849. "parameters": [
  850. {
  851. "type": "integer",
  852. "description": "商品ID",
  853. "name": "goodsid",
  854. "in": "query"
  855. },
  856. {
  857. "type": "integer",
  858. "description": "品种ID",
  859. "name": "deliverygoodsid",
  860. "in": "query"
  861. },
  862. {
  863. "type": "integer",
  864. "description": "市场ID",
  865. "name": "marketid",
  866. "in": "query"
  867. }
  868. ],
  869. "responses": {
  870. "200": {
  871. "description": "OK",
  872. "schema": {
  873. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  874. }
  875. },
  876. "500": {
  877. "description": "Internal Server Error",
  878. "schema": {
  879. "$ref": "#/definitions/app.Response"
  880. }
  881. }
  882. }
  883. }
  884. },
  885. "/Ermcp/GetErmcpGoods": {
  886. "get": {
  887. "security": [
  888. {
  889. "ApiKeyAuth": []
  890. }
  891. ],
  892. "produces": [
  893. "application/json"
  894. ],
  895. "tags": [
  896. "企业风险管理(app)"
  897. ],
  898. "summary": "查询企业风管期货商品信息",
  899. "parameters": [
  900. {
  901. "type": "integer",
  902. "description": "用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)",
  903. "name": "userid",
  904. "in": "query"
  905. },
  906. {
  907. "type": "string",
  908. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  909. "name": "lastUpdateTime",
  910. "in": "query"
  911. }
  912. ],
  913. "responses": {
  914. "200": {
  915. "description": "OK",
  916. "schema": {
  917. "$ref": "#/definitions/models.ErmcpGoods"
  918. }
  919. },
  920. "500": {
  921. "description": "Internal Server Error",
  922. "schema": {
  923. "$ref": "#/definitions/app.Response"
  924. }
  925. }
  926. }
  927. }
  928. },
  929. "/Ermcp/GetErmcpGoodsSortByPosition": {
  930. "get": {
  931. "security": [
  932. {
  933. "ApiKeyAuth": []
  934. }
  935. ],
  936. "produces": [
  937. "application/json"
  938. ],
  939. "tags": [
  940. "企业风险管理(app)"
  941. ],
  942. "summary": "查询企业风管期货主力、次主力商品信息",
  943. "parameters": [
  944. {
  945. "type": "string",
  946. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  947. "name": "sortIndex",
  948. "in": "query"
  949. }
  950. ],
  951. "responses": {
  952. "200": {
  953. "description": "OK",
  954. "schema": {
  955. "$ref": "#/definitions/models.Goodssortbypreposition"
  956. }
  957. },
  958. "500": {
  959. "description": "Internal Server Error",
  960. "schema": {
  961. "$ref": "#/definitions/app.Response"
  962. }
  963. }
  964. }
  965. }
  966. },
  967. "/Ermcp/GetErmcpOutAccountStatus": {
  968. "get": {
  969. "security": [
  970. {
  971. "ApiKeyAuth": []
  972. }
  973. ],
  974. "produces": [
  975. "application/json"
  976. ],
  977. "tags": [
  978. "企业风险管理(app)"
  979. ],
  980. "summary": "获取目标登录账号当前对冲账号在线状态",
  981. "parameters": [
  982. {
  983. "type": "integer",
  984. "description": "登录账号",
  985. "name": "loginID",
  986. "in": "query",
  987. "required": true
  988. }
  989. ],
  990. "responses": {
  991. "200": {
  992. "description": "OK",
  993. "schema": {
  994. "$ref": "#/definitions/models.Hedgemarketopenlog"
  995. }
  996. },
  997. "500": {
  998. "description": "Internal Server Error",
  999. "schema": {
  1000. "$ref": "#/definitions/app.Response"
  1001. }
  1002. }
  1003. }
  1004. }
  1005. },
  1006. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  1007. "get": {
  1008. "security": [
  1009. {
  1010. "ApiKeyAuth": []
  1011. }
  1012. ],
  1013. "produces": [
  1014. "application/json"
  1015. ],
  1016. "tags": [
  1017. "企业风险管理(app)"
  1018. ],
  1019. "summary": "获取企业风管终端权限",
  1020. "parameters": [
  1021. {
  1022. "type": "integer",
  1023. "description": "登录账号",
  1024. "name": "loginID",
  1025. "in": "query",
  1026. "required": true
  1027. }
  1028. ],
  1029. "responses": {
  1030. "200": {
  1031. "description": "OK",
  1032. "schema": {
  1033. "$ref": "#/definitions/models.Funcmenulist"
  1034. }
  1035. },
  1036. "500": {
  1037. "description": "Internal Server Error",
  1038. "schema": {
  1039. "$ref": "#/definitions/app.Response"
  1040. }
  1041. }
  1042. }
  1043. }
  1044. },
  1045. "/Ermcp/QueryAccMgrBizGroupSet": {
  1046. "get": {
  1047. "security": [
  1048. {
  1049. "ApiKeyAuth": []
  1050. }
  1051. ],
  1052. "produces": [
  1053. "application/json"
  1054. ],
  1055. "tags": [
  1056. "企业风险管理(app)"
  1057. ],
  1058. "summary": "查询业务类型分组(账户管理/账户设置)",
  1059. "parameters": [
  1060. {
  1061. "type": "integer",
  1062. "description": "用户ID",
  1063. "name": "userid",
  1064. "in": "query",
  1065. "required": true
  1066. },
  1067. {
  1068. "type": "integer",
  1069. "description": "现货商品id",
  1070. "name": "deliverygoodsid",
  1071. "in": "query"
  1072. }
  1073. ],
  1074. "responses": {
  1075. "200": {
  1076. "description": "OK",
  1077. "schema": {
  1078. "type": "array",
  1079. "items": {
  1080. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1081. }
  1082. }
  1083. },
  1084. "500": {
  1085. "description": "Internal Server Error",
  1086. "schema": {
  1087. "$ref": "#/definitions/app.Response"
  1088. }
  1089. }
  1090. }
  1091. }
  1092. },
  1093. "/Ermcp/QueryAccMgrLoginUser": {
  1094. "get": {
  1095. "security": [
  1096. {
  1097. "ApiKeyAuth": []
  1098. }
  1099. ],
  1100. "produces": [
  1101. "application/json"
  1102. ],
  1103. "tags": [
  1104. "企业风险管理(app)"
  1105. ],
  1106. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1107. "parameters": [
  1108. {
  1109. "type": "integer",
  1110. "description": "用户ID",
  1111. "name": "userid",
  1112. "in": "query",
  1113. "required": true
  1114. },
  1115. {
  1116. "type": "integer",
  1117. "description": "用户类型 2-机构 7-企业成员",
  1118. "name": "usertype",
  1119. "in": "query"
  1120. },
  1121. {
  1122. "type": "integer",
  1123. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1124. "name": "querytype",
  1125. "in": "query",
  1126. "required": true
  1127. }
  1128. ],
  1129. "responses": {
  1130. "200": {
  1131. "description": "OK",
  1132. "schema": {
  1133. "type": "array",
  1134. "items": {
  1135. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1136. }
  1137. }
  1138. },
  1139. "500": {
  1140. "description": "Internal Server Error",
  1141. "schema": {
  1142. "$ref": "#/definitions/app.Response"
  1143. }
  1144. }
  1145. }
  1146. }
  1147. },
  1148. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1149. "get": {
  1150. "security": [
  1151. {
  1152. "ApiKeyAuth": []
  1153. }
  1154. ],
  1155. "produces": [
  1156. "application/json"
  1157. ],
  1158. "tags": [
  1159. "企业风险管理(app)"
  1160. ],
  1161. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1162. "parameters": [
  1163. {
  1164. "type": "integer",
  1165. "description": "用户ID",
  1166. "name": "userid",
  1167. "in": "query"
  1168. },
  1169. {
  1170. "type": "integer",
  1171. "description": "主账号id",
  1172. "name": "accountid",
  1173. "in": "query"
  1174. }
  1175. ],
  1176. "responses": {
  1177. "200": {
  1178. "description": "OK",
  1179. "schema": {
  1180. "type": "array",
  1181. "items": {
  1182. "$ref": "#/definitions/models.MainAccountInfo"
  1183. }
  1184. }
  1185. },
  1186. "500": {
  1187. "description": "Internal Server Error",
  1188. "schema": {
  1189. "$ref": "#/definitions/app.Response"
  1190. }
  1191. }
  1192. }
  1193. }
  1194. },
  1195. "/Ermcp/QueryAccMgrRole": {
  1196. "get": {
  1197. "security": [
  1198. {
  1199. "ApiKeyAuth": []
  1200. }
  1201. ],
  1202. "produces": [
  1203. "application/json"
  1204. ],
  1205. "tags": [
  1206. "企业风险管理(app)"
  1207. ],
  1208. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1209. "parameters": [
  1210. {
  1211. "type": "integer",
  1212. "description": "用户ID",
  1213. "name": "userid",
  1214. "in": "query",
  1215. "required": true
  1216. }
  1217. ],
  1218. "responses": {
  1219. "200": {
  1220. "description": "OK",
  1221. "schema": {
  1222. "type": "array",
  1223. "items": {
  1224. "$ref": "#/definitions/models.ErmcpRole"
  1225. }
  1226. }
  1227. },
  1228. "500": {
  1229. "description": "Internal Server Error",
  1230. "schema": {
  1231. "$ref": "#/definitions/app.Response"
  1232. }
  1233. }
  1234. }
  1235. }
  1236. },
  1237. "/Ermcp/QueryAccMgrRoleMenu": {
  1238. "get": {
  1239. "security": [
  1240. {
  1241. "ApiKeyAuth": []
  1242. }
  1243. ],
  1244. "produces": [
  1245. "application/json"
  1246. ],
  1247. "tags": [
  1248. "企业风险管理(app)"
  1249. ],
  1250. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1251. "parameters": [
  1252. {
  1253. "type": "integer",
  1254. "description": "用户ID",
  1255. "name": "userid",
  1256. "in": "query",
  1257. "required": true
  1258. },
  1259. {
  1260. "type": "string",
  1261. "description": "角色id(可多个,逗号隔开)",
  1262. "name": "roleid",
  1263. "in": "query"
  1264. },
  1265. {
  1266. "type": "integer",
  1267. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1268. "name": "menutype",
  1269. "in": "query"
  1270. }
  1271. ],
  1272. "responses": {
  1273. "200": {
  1274. "description": "OK",
  1275. "schema": {
  1276. "type": "array",
  1277. "items": {
  1278. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1279. }
  1280. }
  1281. },
  1282. "500": {
  1283. "description": "Internal Server Error",
  1284. "schema": {
  1285. "$ref": "#/definitions/app.Response"
  1286. }
  1287. }
  1288. }
  1289. }
  1290. },
  1291. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1292. "get": {
  1293. "security": [
  1294. {
  1295. "ApiKeyAuth": []
  1296. }
  1297. ],
  1298. "produces": [
  1299. "application/json"
  1300. ],
  1301. "tags": [
  1302. "企业风险管理(app)"
  1303. ],
  1304. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1305. "parameters": [
  1306. {
  1307. "type": "integer",
  1308. "description": "用户ID",
  1309. "name": "userid",
  1310. "in": "query",
  1311. "required": true
  1312. },
  1313. {
  1314. "type": "integer",
  1315. "description": "账号id",
  1316. "name": "accountid",
  1317. "in": "query"
  1318. }
  1319. ],
  1320. "responses": {
  1321. "200": {
  1322. "description": "OK",
  1323. "schema": {
  1324. "type": "array",
  1325. "items": {
  1326. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1327. }
  1328. }
  1329. },
  1330. "500": {
  1331. "description": "Internal Server Error",
  1332. "schema": {
  1333. "$ref": "#/definitions/app.Response"
  1334. }
  1335. }
  1336. }
  1337. }
  1338. },
  1339. "/Ermcp/QueryAccMgrTaaccount": {
  1340. "get": {
  1341. "security": [
  1342. {
  1343. "ApiKeyAuth": []
  1344. }
  1345. ],
  1346. "produces": [
  1347. "application/json"
  1348. ],
  1349. "tags": [
  1350. "企业风险管理(app)"
  1351. ],
  1352. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1353. "parameters": [
  1354. {
  1355. "type": "integer",
  1356. "description": "用户ID",
  1357. "name": "userid",
  1358. "in": "query",
  1359. "required": true
  1360. }
  1361. ],
  1362. "responses": {
  1363. "200": {
  1364. "description": "OK",
  1365. "schema": {
  1366. "type": "array",
  1367. "items": {
  1368. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1369. }
  1370. }
  1371. },
  1372. "500": {
  1373. "description": "Internal Server Error",
  1374. "schema": {
  1375. "$ref": "#/definitions/app.Response"
  1376. }
  1377. }
  1378. }
  1379. }
  1380. },
  1381. "/Ermcp/QueryAvaildGoodsGroup": {
  1382. "get": {
  1383. "security": [
  1384. {
  1385. "ApiKeyAuth": []
  1386. }
  1387. ],
  1388. "produces": [
  1389. "application/json"
  1390. ],
  1391. "tags": [
  1392. "企业风险管理(app)"
  1393. ],
  1394. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1395. "parameters": [
  1396. {
  1397. "type": "integer",
  1398. "description": "所属机构ID",
  1399. "name": "userid",
  1400. "in": "query",
  1401. "required": true
  1402. }
  1403. ],
  1404. "responses": {
  1405. "200": {
  1406. "description": "OK",
  1407. "schema": {
  1408. "type": "array",
  1409. "items": {
  1410. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1411. }
  1412. }
  1413. },
  1414. "500": {
  1415. "description": "Internal Server Error",
  1416. "schema": {
  1417. "$ref": "#/definitions/app.Response"
  1418. }
  1419. }
  1420. }
  1421. }
  1422. },
  1423. "/Ermcp/QueryBusinessDj": {
  1424. "get": {
  1425. "security": [
  1426. {
  1427. "ApiKeyAuth": []
  1428. }
  1429. ],
  1430. "produces": [
  1431. "application/json"
  1432. ],
  1433. "tags": [
  1434. "企业风险管理(app)"
  1435. ],
  1436. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1437. "parameters": [
  1438. {
  1439. "type": "integer",
  1440. "description": "用户ID",
  1441. "name": "UserId",
  1442. "in": "query",
  1443. "required": true
  1444. },
  1445. {
  1446. "type": "integer",
  1447. "description": "用户类型 2-机构 7-企业成员",
  1448. "name": "usertype",
  1449. "in": "query"
  1450. },
  1451. {
  1452. "type": "string",
  1453. "description": "现货合同ID, 不填则查所有",
  1454. "name": "relatedid",
  1455. "in": "query"
  1456. },
  1457. {
  1458. "type": "string",
  1459. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1460. "name": "applystatus",
  1461. "in": "query"
  1462. }
  1463. ],
  1464. "responses": {
  1465. "200": {
  1466. "description": "OK",
  1467. "schema": {
  1468. "type": "array",
  1469. "items": {
  1470. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1471. }
  1472. }
  1473. },
  1474. "500": {
  1475. "description": "Internal Server Error",
  1476. "schema": {
  1477. "$ref": "#/definitions/app.Response"
  1478. }
  1479. }
  1480. }
  1481. }
  1482. },
  1483. "/Ermcp/QueryBusinessFp": {
  1484. "get": {
  1485. "security": [
  1486. {
  1487. "ApiKeyAuth": []
  1488. }
  1489. ],
  1490. "produces": [
  1491. "application/json"
  1492. ],
  1493. "tags": [
  1494. "企业风险管理(app)"
  1495. ],
  1496. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1497. "parameters": [
  1498. {
  1499. "type": "integer",
  1500. "description": "用户ID",
  1501. "name": "UserId",
  1502. "in": "query",
  1503. "required": true
  1504. },
  1505. {
  1506. "type": "integer",
  1507. "description": "用户类型 2-机构 7-企业成员",
  1508. "name": "usertype",
  1509. "in": "query"
  1510. },
  1511. {
  1512. "type": "string",
  1513. "description": "现货合同ID, 不填则查所有",
  1514. "name": "relatedid",
  1515. "in": "query"
  1516. },
  1517. {
  1518. "type": "string",
  1519. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1520. "name": "applystatus",
  1521. "in": "query"
  1522. }
  1523. ],
  1524. "responses": {
  1525. "200": {
  1526. "description": "OK",
  1527. "schema": {
  1528. "type": "array",
  1529. "items": {
  1530. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1531. }
  1532. }
  1533. },
  1534. "500": {
  1535. "description": "Internal Server Error",
  1536. "schema": {
  1537. "$ref": "#/definitions/app.Response"
  1538. }
  1539. }
  1540. }
  1541. }
  1542. },
  1543. "/Ermcp/QueryBusinessJs": {
  1544. "get": {
  1545. "security": [
  1546. {
  1547. "ApiKeyAuth": []
  1548. }
  1549. ],
  1550. "produces": [
  1551. "application/json"
  1552. ],
  1553. "tags": [
  1554. "企业风险管理(app)"
  1555. ],
  1556. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1557. "parameters": [
  1558. {
  1559. "type": "integer",
  1560. "description": "用户ID",
  1561. "name": "UserId",
  1562. "in": "query",
  1563. "required": true
  1564. },
  1565. {
  1566. "type": "integer",
  1567. "description": "用户类型 2-机构 7-企业成员",
  1568. "name": "usertype",
  1569. "in": "query"
  1570. },
  1571. {
  1572. "type": "string",
  1573. "description": "现货合同ID, 不填则查所有",
  1574. "name": "relatedid",
  1575. "in": "query"
  1576. },
  1577. {
  1578. "type": "string",
  1579. "description": "操作申请id",
  1580. "name": "operateapplyid",
  1581. "in": "query"
  1582. },
  1583. {
  1584. "type": "string",
  1585. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1586. "name": "applystatus",
  1587. "in": "query"
  1588. }
  1589. ],
  1590. "responses": {
  1591. "200": {
  1592. "description": "OK",
  1593. "schema": {
  1594. "type": "array",
  1595. "items": {
  1596. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1597. }
  1598. }
  1599. },
  1600. "500": {
  1601. "description": "Internal Server Error",
  1602. "schema": {
  1603. "$ref": "#/definitions/app.Response"
  1604. }
  1605. }
  1606. }
  1607. }
  1608. },
  1609. "/Ermcp/QueryBusinessJsEx": {
  1610. "get": {
  1611. "security": [
  1612. {
  1613. "ApiKeyAuth": []
  1614. }
  1615. ],
  1616. "produces": [
  1617. "application/json"
  1618. ],
  1619. "tags": [
  1620. "企业风险管理(app)"
  1621. ],
  1622. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1623. "parameters": [
  1624. {
  1625. "type": "integer",
  1626. "description": "用户ID",
  1627. "name": "UserId",
  1628. "in": "query",
  1629. "required": true
  1630. },
  1631. {
  1632. "type": "integer",
  1633. "description": "用户类型 2-机构 7-企业成员",
  1634. "name": "usertype",
  1635. "in": "query"
  1636. },
  1637. {
  1638. "type": "string",
  1639. "description": "现货合同ID, 不填则查所有",
  1640. "name": "relatedid",
  1641. "in": "query"
  1642. },
  1643. {
  1644. "type": "string",
  1645. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1646. "name": "applystatus",
  1647. "in": "query"
  1648. }
  1649. ],
  1650. "responses": {
  1651. "200": {
  1652. "description": "OK",
  1653. "schema": {
  1654. "type": "array",
  1655. "items": {
  1656. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1657. }
  1658. }
  1659. },
  1660. "500": {
  1661. "description": "Internal Server Error",
  1662. "schema": {
  1663. "$ref": "#/definitions/app.Response"
  1664. }
  1665. }
  1666. }
  1667. }
  1668. },
  1669. "/Ermcp/QueryBusinessKx": {
  1670. "get": {
  1671. "security": [
  1672. {
  1673. "ApiKeyAuth": []
  1674. }
  1675. ],
  1676. "produces": [
  1677. "application/json"
  1678. ],
  1679. "tags": [
  1680. "企业风险管理(app)"
  1681. ],
  1682. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1683. "parameters": [
  1684. {
  1685. "type": "integer",
  1686. "description": "用户ID",
  1687. "name": "UserId",
  1688. "in": "query",
  1689. "required": true
  1690. },
  1691. {
  1692. "type": "integer",
  1693. "description": "用户类型 2-机构 7-企业成员",
  1694. "name": "usertype",
  1695. "in": "query"
  1696. },
  1697. {
  1698. "type": "string",
  1699. "description": "现货合同ID, 不填则查所有",
  1700. "name": "relatedid",
  1701. "in": "query"
  1702. },
  1703. {
  1704. "type": "string",
  1705. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1706. "name": "applystatus",
  1707. "in": "query"
  1708. }
  1709. ],
  1710. "responses": {
  1711. "200": {
  1712. "description": "OK",
  1713. "schema": {
  1714. "type": "array",
  1715. "items": {
  1716. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1717. }
  1718. }
  1719. },
  1720. "500": {
  1721. "description": "Internal Server Error",
  1722. "schema": {
  1723. "$ref": "#/definitions/app.Response"
  1724. }
  1725. }
  1726. }
  1727. }
  1728. },
  1729. "/Ermcp/QueryChangeLog": {
  1730. "get": {
  1731. "security": [
  1732. {
  1733. "ApiKeyAuth": []
  1734. }
  1735. ],
  1736. "produces": [
  1737. "application/json"
  1738. ],
  1739. "tags": [
  1740. "企业风险管理(app)"
  1741. ],
  1742. "summary": "查询变更记录",
  1743. "parameters": [
  1744. {
  1745. "type": "string",
  1746. "description": "合同ID",
  1747. "name": "RelatedId",
  1748. "in": "query",
  1749. "required": true
  1750. }
  1751. ],
  1752. "responses": {
  1753. "200": {
  1754. "description": "OK",
  1755. "schema": {
  1756. "type": "array",
  1757. "items": {
  1758. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1759. }
  1760. }
  1761. },
  1762. "500": {
  1763. "description": "Internal Server Error",
  1764. "schema": {
  1765. "$ref": "#/definitions/app.Response"
  1766. }
  1767. }
  1768. }
  1769. }
  1770. },
  1771. "/Ermcp/QueryErmcpHisOrderDetails": {
  1772. "get": {
  1773. "security": [
  1774. {
  1775. "ApiKeyAuth": []
  1776. }
  1777. ],
  1778. "produces": [
  1779. "application/json"
  1780. ],
  1781. "tags": [
  1782. "企业风险管理(app)"
  1783. ],
  1784. "summary": "获取企业风管期货历史委托单信息",
  1785. "parameters": [
  1786. {
  1787. "type": "integer",
  1788. "description": "资金账户ID",
  1789. "name": "accountID",
  1790. "in": "query",
  1791. "required": true
  1792. },
  1793. {
  1794. "type": "string",
  1795. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1796. "name": "startDate",
  1797. "in": "query"
  1798. },
  1799. {
  1800. "type": "string",
  1801. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1802. "name": "endDate",
  1803. "in": "query"
  1804. }
  1805. ],
  1806. "responses": {
  1807. "200": {
  1808. "description": "OK",
  1809. "schema": {
  1810. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1811. }
  1812. },
  1813. "500": {
  1814. "description": "Internal Server Error",
  1815. "schema": {
  1816. "$ref": "#/definitions/app.Response"
  1817. }
  1818. }
  1819. }
  1820. }
  1821. },
  1822. "/Ermcp/QueryErmcpHisTradeDetails": {
  1823. "get": {
  1824. "security": [
  1825. {
  1826. "ApiKeyAuth": []
  1827. }
  1828. ],
  1829. "produces": [
  1830. "application/json"
  1831. ],
  1832. "tags": [
  1833. "企业风险管理(app)"
  1834. ],
  1835. "summary": "获取企业风管期货历史成交单信息",
  1836. "parameters": [
  1837. {
  1838. "type": "integer",
  1839. "description": "资金账户ID",
  1840. "name": "accountID",
  1841. "in": "query",
  1842. "required": true
  1843. },
  1844. {
  1845. "type": "integer",
  1846. "description": "商品ID",
  1847. "name": "goodsID",
  1848. "in": "query"
  1849. },
  1850. {
  1851. "type": "integer",
  1852. "description": "买卖方向,0:买 1:卖",
  1853. "name": "buyOrSell",
  1854. "in": "query"
  1855. },
  1856. {
  1857. "type": "integer",
  1858. "description": "关联委托单号",
  1859. "name": "orderID",
  1860. "in": "query"
  1861. },
  1862. {
  1863. "type": "string",
  1864. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1865. "name": "startDate",
  1866. "in": "query"
  1867. },
  1868. {
  1869. "type": "string",
  1870. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1871. "name": "endDate",
  1872. "in": "query"
  1873. }
  1874. ],
  1875. "responses": {
  1876. "200": {
  1877. "description": "OK",
  1878. "schema": {
  1879. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1880. }
  1881. },
  1882. "500": {
  1883. "description": "Internal Server Error",
  1884. "schema": {
  1885. "$ref": "#/definitions/app.Response"
  1886. }
  1887. }
  1888. }
  1889. }
  1890. },
  1891. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1892. "get": {
  1893. "security": [
  1894. {
  1895. "ApiKeyAuth": []
  1896. }
  1897. ],
  1898. "produces": [
  1899. "application/json"
  1900. ],
  1901. "tags": [
  1902. "企业风险管理(app)"
  1903. ],
  1904. "summary": "获取企业风管期货内部持仓单信息",
  1905. "parameters": [
  1906. {
  1907. "type": "integer",
  1908. "description": "资金账户ID",
  1909. "name": "accountID",
  1910. "in": "query",
  1911. "required": true
  1912. },
  1913. {
  1914. "type": "integer",
  1915. "description": "商品ID",
  1916. "name": "goodsID",
  1917. "in": "query"
  1918. },
  1919. {
  1920. "type": "integer",
  1921. "description": "买卖方向,0:买 1:卖",
  1922. "name": "buyOrSell",
  1923. "in": "query"
  1924. }
  1925. ],
  1926. "responses": {
  1927. "200": {
  1928. "description": "OK",
  1929. "schema": {
  1930. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1931. }
  1932. },
  1933. "500": {
  1934. "description": "Internal Server Error",
  1935. "schema": {
  1936. "$ref": "#/definitions/app.Response"
  1937. }
  1938. }
  1939. }
  1940. }
  1941. },
  1942. "/Ermcp/QueryErmcpOrderDetails": {
  1943. "get": {
  1944. "security": [
  1945. {
  1946. "ApiKeyAuth": []
  1947. }
  1948. ],
  1949. "produces": [
  1950. "application/json"
  1951. ],
  1952. "tags": [
  1953. "企业风险管理(app)"
  1954. ],
  1955. "summary": "获取企业风管期货委托单信息",
  1956. "parameters": [
  1957. {
  1958. "type": "integer",
  1959. "description": "资金账户ID",
  1960. "name": "accountID",
  1961. "in": "query",
  1962. "required": true
  1963. }
  1964. ],
  1965. "responses": {
  1966. "200": {
  1967. "description": "OK",
  1968. "schema": {
  1969. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1970. }
  1971. },
  1972. "500": {
  1973. "description": "Internal Server Error",
  1974. "schema": {
  1975. "$ref": "#/definitions/app.Response"
  1976. }
  1977. }
  1978. }
  1979. }
  1980. },
  1981. "/Ermcp/QueryErmcpTradeDetails": {
  1982. "get": {
  1983. "security": [
  1984. {
  1985. "ApiKeyAuth": []
  1986. }
  1987. ],
  1988. "produces": [
  1989. "application/json"
  1990. ],
  1991. "tags": [
  1992. "企业风险管理(app)"
  1993. ],
  1994. "summary": "获取企业风管期货成交单信息",
  1995. "parameters": [
  1996. {
  1997. "type": "integer",
  1998. "description": "资金账户ID",
  1999. "name": "accountID",
  2000. "in": "query",
  2001. "required": true
  2002. },
  2003. {
  2004. "type": "integer",
  2005. "description": "商品ID",
  2006. "name": "goodsID",
  2007. "in": "query"
  2008. },
  2009. {
  2010. "type": "integer",
  2011. "description": "买卖方向,0:买 1:卖",
  2012. "name": "buyOrSell",
  2013. "in": "query"
  2014. },
  2015. {
  2016. "type": "integer",
  2017. "description": "关联委托单号",
  2018. "name": "orderID",
  2019. "in": "query"
  2020. }
  2021. ],
  2022. "responses": {
  2023. "200": {
  2024. "description": "OK",
  2025. "schema": {
  2026. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2027. }
  2028. },
  2029. "500": {
  2030. "description": "Internal Server Error",
  2031. "schema": {
  2032. "$ref": "#/definitions/app.Response"
  2033. }
  2034. }
  2035. }
  2036. }
  2037. },
  2038. "/Ermcp/QueryErmcpTradePosition": {
  2039. "get": {
  2040. "security": [
  2041. {
  2042. "ApiKeyAuth": []
  2043. }
  2044. ],
  2045. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2046. "produces": [
  2047. "application/json"
  2048. ],
  2049. "tags": [
  2050. "企业风险管理(app)"
  2051. ],
  2052. "summary": "获取企业风管期货持仓头寸信息",
  2053. "parameters": [
  2054. {
  2055. "type": "integer",
  2056. "description": "资金账户ID",
  2057. "name": "accountID",
  2058. "in": "query",
  2059. "required": true
  2060. },
  2061. {
  2062. "type": "integer",
  2063. "description": "所属市场ID",
  2064. "name": "marketID",
  2065. "in": "query"
  2066. }
  2067. ],
  2068. "responses": {
  2069. "200": {
  2070. "description": "OK",
  2071. "schema": {
  2072. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2073. }
  2074. },
  2075. "500": {
  2076. "description": "Internal Server Error",
  2077. "schema": {
  2078. "$ref": "#/definitions/app.Response"
  2079. }
  2080. }
  2081. }
  2082. }
  2083. },
  2084. "/Ermcp/QueryExposureDetail": {
  2085. "get": {
  2086. "security": [
  2087. {
  2088. "ApiKeyAuth": []
  2089. }
  2090. ],
  2091. "produces": [
  2092. "application/json"
  2093. ],
  2094. "tags": [
  2095. "企业风险管理(app)"
  2096. ],
  2097. "summary": "查询敞口现货明细",
  2098. "parameters": [
  2099. {
  2100. "type": "integer",
  2101. "description": "所属机构ID",
  2102. "name": "areaUserId",
  2103. "in": "query",
  2104. "required": true
  2105. },
  2106. {
  2107. "type": "integer",
  2108. "description": "套保商品",
  2109. "name": "middleGoodsId",
  2110. "in": "query",
  2111. "required": true
  2112. }
  2113. ],
  2114. "responses": {
  2115. "200": {
  2116. "description": "OK",
  2117. "schema": {
  2118. "type": "array",
  2119. "items": {
  2120. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2121. }
  2122. }
  2123. },
  2124. "500": {
  2125. "description": "Internal Server Error",
  2126. "schema": {
  2127. "$ref": "#/definitions/app.Response"
  2128. }
  2129. }
  2130. }
  2131. }
  2132. },
  2133. "/Ermcp/QueryExposureGoods": {
  2134. "get": {
  2135. "security": [
  2136. {
  2137. "ApiKeyAuth": []
  2138. }
  2139. ],
  2140. "produces": [
  2141. "application/json"
  2142. ],
  2143. "tags": [
  2144. "企业风险管理(app)"
  2145. ],
  2146. "summary": "查询敞口主力合约",
  2147. "parameters": [
  2148. {
  2149. "type": "integer",
  2150. "description": "套保商品id",
  2151. "name": "middlegoodsid",
  2152. "in": "query",
  2153. "required": true
  2154. }
  2155. ],
  2156. "responses": {
  2157. "200": {
  2158. "description": "OK",
  2159. "schema": {
  2160. "type": "array",
  2161. "items": {
  2162. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2163. }
  2164. }
  2165. },
  2166. "500": {
  2167. "description": "Internal Server Error",
  2168. "schema": {
  2169. "$ref": "#/definitions/app.Response"
  2170. }
  2171. }
  2172. }
  2173. }
  2174. },
  2175. "/Ermcp/QueryExposureHedgePosition": {
  2176. "get": {
  2177. "security": [
  2178. {
  2179. "ApiKeyAuth": []
  2180. }
  2181. ],
  2182. "produces": [
  2183. "application/json"
  2184. ],
  2185. "tags": [
  2186. "企业风险管理(app)"
  2187. ],
  2188. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2189. "parameters": [
  2190. {
  2191. "type": "integer",
  2192. "description": "用户id",
  2193. "name": "userid",
  2194. "in": "query",
  2195. "required": true
  2196. }
  2197. ],
  2198. "responses": {
  2199. "200": {
  2200. "description": "OK",
  2201. "schema": {
  2202. "type": "array",
  2203. "items": {
  2204. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2205. }
  2206. }
  2207. },
  2208. "500": {
  2209. "description": "Internal Server Error",
  2210. "schema": {
  2211. "$ref": "#/definitions/app.Response"
  2212. }
  2213. }
  2214. }
  2215. }
  2216. },
  2217. "/Ermcp/QueryExposureHedgePositionDetail": {
  2218. "get": {
  2219. "security": [
  2220. {
  2221. "ApiKeyAuth": []
  2222. }
  2223. ],
  2224. "produces": [
  2225. "application/json"
  2226. ],
  2227. "tags": [
  2228. "企业风险管理(app)"
  2229. ],
  2230. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2231. "parameters": [
  2232. {
  2233. "type": "integer",
  2234. "description": "所属机构ID",
  2235. "name": "userid",
  2236. "in": "query",
  2237. "required": true
  2238. },
  2239. {
  2240. "type": "integer",
  2241. "description": "商品id",
  2242. "name": "goodsId",
  2243. "in": "query",
  2244. "required": true
  2245. }
  2246. ],
  2247. "responses": {
  2248. "200": {
  2249. "description": "OK",
  2250. "schema": {
  2251. "type": "array",
  2252. "items": {
  2253. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2254. }
  2255. }
  2256. },
  2257. "500": {
  2258. "description": "Internal Server Error",
  2259. "schema": {
  2260. "$ref": "#/definitions/app.Response"
  2261. }
  2262. }
  2263. }
  2264. }
  2265. },
  2266. "/Ermcp/QueryExposureSpot": {
  2267. "get": {
  2268. "security": [
  2269. {
  2270. "ApiKeyAuth": []
  2271. }
  2272. ],
  2273. "produces": [
  2274. "application/json"
  2275. ],
  2276. "tags": [
  2277. "企业风险管理(app)"
  2278. ],
  2279. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2280. "parameters": [
  2281. {
  2282. "type": "integer",
  2283. "description": "所属机构ID",
  2284. "name": "areaUserId",
  2285. "in": "query",
  2286. "required": true
  2287. }
  2288. ],
  2289. "responses": {
  2290. "200": {
  2291. "description": "OK",
  2292. "schema": {
  2293. "type": "array",
  2294. "items": {
  2295. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2296. }
  2297. }
  2298. },
  2299. "500": {
  2300. "description": "Internal Server Error",
  2301. "schema": {
  2302. "$ref": "#/definitions/app.Response"
  2303. }
  2304. }
  2305. }
  2306. }
  2307. },
  2308. "/Ermcp/QueryExposureSpotDetail": {
  2309. "get": {
  2310. "security": [
  2311. {
  2312. "ApiKeyAuth": []
  2313. }
  2314. ],
  2315. "produces": [
  2316. "application/json"
  2317. ],
  2318. "tags": [
  2319. "企业风险管理(app)"
  2320. ],
  2321. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2322. "parameters": [
  2323. {
  2324. "type": "integer",
  2325. "description": "所属机构ID",
  2326. "name": "areaUserId",
  2327. "in": "query",
  2328. "required": true
  2329. },
  2330. {
  2331. "type": "integer",
  2332. "description": "现货品种ID",
  2333. "name": "wrstandardId",
  2334. "in": "query",
  2335. "required": true
  2336. }
  2337. ],
  2338. "responses": {
  2339. "200": {
  2340. "description": "OK",
  2341. "schema": {
  2342. "type": "array",
  2343. "items": {
  2344. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2345. }
  2346. }
  2347. },
  2348. "500": {
  2349. "description": "Internal Server Error",
  2350. "schema": {
  2351. "$ref": "#/definitions/app.Response"
  2352. }
  2353. }
  2354. }
  2355. }
  2356. },
  2357. "/Ermcp/QueryFuturesCompany": {
  2358. "get": {
  2359. "security": [
  2360. {
  2361. "ApiKeyAuth": []
  2362. }
  2363. ],
  2364. "produces": [
  2365. "application/json"
  2366. ],
  2367. "tags": [
  2368. "企业风险管理(app)"
  2369. ],
  2370. "summary": "查询期货公司",
  2371. "responses": {
  2372. "200": {
  2373. "description": "OK",
  2374. "schema": {
  2375. "type": "array",
  2376. "items": {
  2377. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2378. }
  2379. }
  2380. },
  2381. "500": {
  2382. "description": "Internal Server Error",
  2383. "schema": {
  2384. "$ref": "#/definitions/app.Response"
  2385. }
  2386. }
  2387. }
  2388. }
  2389. },
  2390. "/Ermcp/QueryGGConvertConfig": {
  2391. "get": {
  2392. "security": [
  2393. {
  2394. "ApiKeyAuth": []
  2395. }
  2396. ],
  2397. "produces": [
  2398. "application/json"
  2399. ],
  2400. "tags": [
  2401. "企业风险管理(app)"
  2402. ],
  2403. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2404. "parameters": [
  2405. {
  2406. "type": "integer",
  2407. "description": "品种id(不填则查所有)",
  2408. "name": "goodsgroupid",
  2409. "in": "query"
  2410. }
  2411. ],
  2412. "responses": {
  2413. "200": {
  2414. "description": "OK",
  2415. "schema": {
  2416. "type": "array",
  2417. "items": {
  2418. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2419. }
  2420. }
  2421. },
  2422. "500": {
  2423. "description": "Internal Server Error",
  2424. "schema": {
  2425. "$ref": "#/definitions/app.Response"
  2426. }
  2427. }
  2428. }
  2429. }
  2430. },
  2431. "/Ermcp/QueryGoodsBrand": {
  2432. "get": {
  2433. "security": [
  2434. {
  2435. "ApiKeyAuth": []
  2436. }
  2437. ],
  2438. "produces": [
  2439. "application/json"
  2440. ],
  2441. "tags": [
  2442. "企业风险管理(app)"
  2443. ],
  2444. "summary": "查询商品品牌",
  2445. "parameters": [
  2446. {
  2447. "type": "integer",
  2448. "description": "用户ID",
  2449. "name": "userid",
  2450. "in": "query",
  2451. "required": true
  2452. },
  2453. {
  2454. "type": "integer",
  2455. "description": "现货商品ID",
  2456. "name": "wrstandardid",
  2457. "in": "query"
  2458. }
  2459. ],
  2460. "responses": {
  2461. "200": {
  2462. "description": "OK",
  2463. "schema": {
  2464. "type": "array",
  2465. "items": {
  2466. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2467. }
  2468. }
  2469. },
  2470. "500": {
  2471. "description": "Internal Server Error",
  2472. "schema": {
  2473. "$ref": "#/definitions/app.Response"
  2474. }
  2475. }
  2476. }
  2477. }
  2478. },
  2479. "/Ermcp/QueryGoodsModel": {
  2480. "get": {
  2481. "security": [
  2482. {
  2483. "ApiKeyAuth": []
  2484. }
  2485. ],
  2486. "produces": [
  2487. "application/json"
  2488. ],
  2489. "tags": [
  2490. "企业风险管理(app)"
  2491. ],
  2492. "summary": "查询商品型号",
  2493. "parameters": [
  2494. {
  2495. "type": "integer",
  2496. "description": "用户ID",
  2497. "name": "userid",
  2498. "in": "query",
  2499. "required": true
  2500. }
  2501. ],
  2502. "responses": {
  2503. "200": {
  2504. "description": "OK",
  2505. "schema": {
  2506. "type": "array",
  2507. "items": {
  2508. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2509. }
  2510. }
  2511. },
  2512. "500": {
  2513. "description": "Internal Server Error",
  2514. "schema": {
  2515. "$ref": "#/definitions/app.Response"
  2516. }
  2517. }
  2518. }
  2519. }
  2520. },
  2521. "/Ermcp/QueryHisExposure": {
  2522. "get": {
  2523. "security": [
  2524. {
  2525. "ApiKeyAuth": []
  2526. }
  2527. ],
  2528. "produces": [
  2529. "application/json"
  2530. ],
  2531. "tags": [
  2532. "企业风险管理(app)"
  2533. ],
  2534. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2535. "parameters": [
  2536. {
  2537. "type": "integer",
  2538. "description": "用户id",
  2539. "name": "userid",
  2540. "in": "query",
  2541. "required": true
  2542. },
  2543. {
  2544. "type": "integer",
  2545. "description": "每个品种记录数",
  2546. "name": "lastNum",
  2547. "in": "query",
  2548. "required": true
  2549. }
  2550. ],
  2551. "responses": {
  2552. "200": {
  2553. "description": "OK",
  2554. "schema": {
  2555. "type": "array",
  2556. "items": {
  2557. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2558. }
  2559. }
  2560. },
  2561. "500": {
  2562. "description": "Internal Server Error",
  2563. "schema": {
  2564. "$ref": "#/definitions/app.Response"
  2565. }
  2566. }
  2567. }
  2568. }
  2569. },
  2570. "/Ermcp/QueryMiddleGoods": {
  2571. "get": {
  2572. "security": [
  2573. {
  2574. "ApiKeyAuth": []
  2575. }
  2576. ],
  2577. "produces": [
  2578. "application/json"
  2579. ],
  2580. "tags": [
  2581. "企业风险管理(app)"
  2582. ],
  2583. "summary": "查询套保品种(菜单:套保品种)",
  2584. "parameters": [
  2585. {
  2586. "type": "integer",
  2587. "description": "所属机构ID",
  2588. "name": "userid",
  2589. "in": "query",
  2590. "required": true
  2591. },
  2592. {
  2593. "type": "integer",
  2594. "description": "状态 0-停用 1-正常",
  2595. "name": "status",
  2596. "in": "query",
  2597. "required": true
  2598. }
  2599. ],
  2600. "responses": {
  2601. "200": {
  2602. "description": "OK",
  2603. "schema": {
  2604. "type": "array",
  2605. "items": {
  2606. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2607. }
  2608. }
  2609. },
  2610. "500": {
  2611. "description": "Internal Server Error",
  2612. "schema": {
  2613. "$ref": "#/definitions/app.Response"
  2614. }
  2615. }
  2616. }
  2617. }
  2618. },
  2619. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2620. "get": {
  2621. "security": [
  2622. {
  2623. "ApiKeyAuth": []
  2624. }
  2625. ],
  2626. "produces": [
  2627. "application/json"
  2628. ],
  2629. "tags": [
  2630. "企业风险管理(app)"
  2631. ],
  2632. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2633. "parameters": [
  2634. {
  2635. "type": "integer",
  2636. "description": "所属机构ID",
  2637. "name": "userid",
  2638. "in": "query",
  2639. "required": true
  2640. },
  2641. {
  2642. "type": "integer",
  2643. "description": "套保品种id",
  2644. "name": "middlegoodsid",
  2645. "in": "query",
  2646. "required": true
  2647. }
  2648. ],
  2649. "responses": {
  2650. "200": {
  2651. "description": "OK",
  2652. "schema": {
  2653. "type": "array",
  2654. "items": {
  2655. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2656. }
  2657. }
  2658. },
  2659. "500": {
  2660. "description": "Internal Server Error",
  2661. "schema": {
  2662. "$ref": "#/definitions/app.Response"
  2663. }
  2664. }
  2665. }
  2666. }
  2667. },
  2668. "/Ermcp/QueryMiddleGoodsDetail": {
  2669. "get": {
  2670. "security": [
  2671. {
  2672. "ApiKeyAuth": []
  2673. }
  2674. ],
  2675. "produces": [
  2676. "application/json"
  2677. ],
  2678. "tags": [
  2679. "企业风险管理(app)"
  2680. ],
  2681. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2682. "parameters": [
  2683. {
  2684. "type": "integer",
  2685. "description": "所属机构ID",
  2686. "name": "userid",
  2687. "in": "query",
  2688. "required": true
  2689. },
  2690. {
  2691. "type": "integer",
  2692. "description": "套保品种id",
  2693. "name": "middlegoodsid",
  2694. "in": "query"
  2695. }
  2696. ],
  2697. "responses": {
  2698. "200": {
  2699. "description": "OK",
  2700. "schema": {
  2701. "type": "array",
  2702. "items": {
  2703. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2704. }
  2705. }
  2706. },
  2707. "500": {
  2708. "description": "Internal Server Error",
  2709. "schema": {
  2710. "$ref": "#/definitions/app.Response"
  2711. }
  2712. }
  2713. }
  2714. }
  2715. },
  2716. "/Ermcp/QueryPendingAuditInfo": {
  2717. "get": {
  2718. "security": [
  2719. {
  2720. "ApiKeyAuth": []
  2721. }
  2722. ],
  2723. "produces": [
  2724. "application/json"
  2725. ],
  2726. "tags": [
  2727. "企业风险管理(app)"
  2728. ],
  2729. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2730. "parameters": [
  2731. {
  2732. "type": "integer",
  2733. "description": "用户ID",
  2734. "name": "UserId",
  2735. "in": "query",
  2736. "required": true
  2737. }
  2738. ],
  2739. "responses": {
  2740. "200": {
  2741. "description": "OK",
  2742. "schema": {
  2743. "type": "array",
  2744. "items": {
  2745. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2746. }
  2747. }
  2748. },
  2749. "500": {
  2750. "description": "Internal Server Error",
  2751. "schema": {
  2752. "$ref": "#/definitions/app.Response"
  2753. }
  2754. }
  2755. }
  2756. }
  2757. },
  2758. "/Ermcp/QueryRealtimeExposure": {
  2759. "get": {
  2760. "security": [
  2761. {
  2762. "ApiKeyAuth": []
  2763. }
  2764. ],
  2765. "produces": [
  2766. "application/json"
  2767. ],
  2768. "tags": [
  2769. "企业风险管理(app)"
  2770. ],
  2771. "summary": "查询实时敞口",
  2772. "parameters": [
  2773. {
  2774. "type": "integer",
  2775. "description": "所属机构ID",
  2776. "name": "userid",
  2777. "in": "query",
  2778. "required": true
  2779. }
  2780. ],
  2781. "responses": {
  2782. "200": {
  2783. "description": "OK",
  2784. "schema": {
  2785. "type": "array",
  2786. "items": {
  2787. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2788. }
  2789. }
  2790. },
  2791. "500": {
  2792. "description": "Internal Server Error",
  2793. "schema": {
  2794. "$ref": "#/definitions/app.Response"
  2795. }
  2796. }
  2797. }
  2798. }
  2799. },
  2800. "/Ermcp/QueryRealtimeExposurePosition": {
  2801. "get": {
  2802. "security": [
  2803. {
  2804. "ApiKeyAuth": []
  2805. }
  2806. ],
  2807. "produces": [
  2808. "application/json"
  2809. ],
  2810. "tags": [
  2811. "企业风险管理(app)"
  2812. ],
  2813. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2814. "parameters": [
  2815. {
  2816. "type": "integer",
  2817. "description": "用户id",
  2818. "name": "userid",
  2819. "in": "query",
  2820. "required": true
  2821. },
  2822. {
  2823. "type": "integer",
  2824. "description": "套保商品ID",
  2825. "name": "middleGoodsId",
  2826. "in": "query",
  2827. "required": true
  2828. }
  2829. ],
  2830. "responses": {
  2831. "200": {
  2832. "description": "OK",
  2833. "schema": {
  2834. "type": "array",
  2835. "items": {
  2836. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2837. }
  2838. }
  2839. },
  2840. "500": {
  2841. "description": "Internal Server Error",
  2842. "schema": {
  2843. "$ref": "#/definitions/app.Response"
  2844. }
  2845. }
  2846. }
  2847. }
  2848. },
  2849. "/Ermcp/QueryRoleMenu": {
  2850. "get": {
  2851. "security": [
  2852. {
  2853. "ApiKeyAuth": []
  2854. }
  2855. ],
  2856. "produces": [
  2857. "application/json"
  2858. ],
  2859. "tags": [
  2860. "企业风险管理(app)"
  2861. ],
  2862. "summary": "查询角色菜单和权限",
  2863. "parameters": [
  2864. {
  2865. "type": "integer",
  2866. "description": "登录ID",
  2867. "name": "loginid",
  2868. "in": "query",
  2869. "required": true
  2870. },
  2871. {
  2872. "type": "integer",
  2873. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2874. "name": "menutype",
  2875. "in": "query"
  2876. }
  2877. ],
  2878. "responses": {
  2879. "200": {
  2880. "description": "OK",
  2881. "schema": {
  2882. "type": "array",
  2883. "items": {
  2884. "$ref": "#/definitions/models.RoleMenu"
  2885. }
  2886. }
  2887. },
  2888. "500": {
  2889. "description": "Internal Server Error",
  2890. "schema": {
  2891. "$ref": "#/definitions/app.Response"
  2892. }
  2893. }
  2894. }
  2895. }
  2896. },
  2897. "/Ermcp/QueryTradeConfigTMP": {
  2898. "get": {
  2899. "security": [
  2900. {
  2901. "ApiKeyAuth": []
  2902. }
  2903. ],
  2904. "produces": [
  2905. "application/json"
  2906. ],
  2907. "tags": [
  2908. "企业风险管理(app)"
  2909. ],
  2910. "summary": "查询交易模板配置",
  2911. "parameters": [
  2912. {
  2913. "type": "integer",
  2914. "description": "所属机构id",
  2915. "name": "areauserid",
  2916. "in": "query"
  2917. }
  2918. ],
  2919. "responses": {
  2920. "200": {
  2921. "description": "OK",
  2922. "schema": {
  2923. "type": "array",
  2924. "items": {
  2925. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2926. }
  2927. }
  2928. },
  2929. "500": {
  2930. "description": "Internal Server Error",
  2931. "schema": {
  2932. "$ref": "#/definitions/app.Response"
  2933. }
  2934. }
  2935. }
  2936. }
  2937. },
  2938. "/Ermcp/QueryUserInfo": {
  2939. "get": {
  2940. "security": [
  2941. {
  2942. "ApiKeyAuth": []
  2943. }
  2944. ],
  2945. "produces": [
  2946. "application/json"
  2947. ],
  2948. "tags": [
  2949. "企业风险管理(app)"
  2950. ],
  2951. "summary": "查询客户资料",
  2952. "parameters": [
  2953. {
  2954. "type": "integer",
  2955. "description": "所属机构用户ID",
  2956. "name": "MemberUserID",
  2957. "in": "query",
  2958. "required": true
  2959. },
  2960. {
  2961. "type": "integer",
  2962. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2963. "name": "queryType",
  2964. "in": "query",
  2965. "required": true
  2966. }
  2967. ],
  2968. "responses": {
  2969. "200": {
  2970. "description": "OK",
  2971. "schema": {
  2972. "type": "array",
  2973. "items": {
  2974. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2975. }
  2976. }
  2977. },
  2978. "500": {
  2979. "description": "Internal Server Error",
  2980. "schema": {
  2981. "$ref": "#/definitions/app.Response"
  2982. }
  2983. }
  2984. }
  2985. }
  2986. },
  2987. "/Ermcp/QueryWarehouseInfo": {
  2988. "get": {
  2989. "security": [
  2990. {
  2991. "ApiKeyAuth": []
  2992. }
  2993. ],
  2994. "produces": [
  2995. "application/json"
  2996. ],
  2997. "tags": [
  2998. "企业风险管理(app)"
  2999. ],
  3000. "summary": "查询仓库信息",
  3001. "parameters": [
  3002. {
  3003. "type": "integer",
  3004. "description": "用户ID",
  3005. "name": "userid",
  3006. "in": "query",
  3007. "required": true
  3008. },
  3009. {
  3010. "type": "string",
  3011. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3012. "name": "status",
  3013. "in": "query"
  3014. }
  3015. ],
  3016. "responses": {
  3017. "200": {
  3018. "description": "OK",
  3019. "schema": {
  3020. "type": "array",
  3021. "items": {
  3022. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3023. }
  3024. }
  3025. },
  3026. "500": {
  3027. "description": "Internal Server Error",
  3028. "schema": {
  3029. "$ref": "#/definitions/app.Response"
  3030. }
  3031. }
  3032. }
  3033. }
  3034. },
  3035. "/Ermcp3/QryAreaExpourseContractDetail": {
  3036. "get": {
  3037. "security": [
  3038. {
  3039. "ApiKeyAuth": []
  3040. }
  3041. ],
  3042. "produces": [
  3043. "application/json"
  3044. ],
  3045. "tags": [
  3046. "企业风险管理v3(app)"
  3047. ],
  3048. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3049. "parameters": [
  3050. {
  3051. "type": "integer",
  3052. "description": "用户ID",
  3053. "name": "userid",
  3054. "in": "query",
  3055. "required": true
  3056. },
  3057. {
  3058. "type": "integer",
  3059. "description": "套保商品id",
  3060. "name": "middlegoodsid",
  3061. "in": "query",
  3062. "required": true
  3063. },
  3064. {
  3065. "type": "integer",
  3066. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3067. "name": "cycletype",
  3068. "in": "query",
  3069. "required": true
  3070. },
  3071. {
  3072. "type": "string",
  3073. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3074. "name": "cycletime",
  3075. "in": "query",
  3076. "required": true
  3077. }
  3078. ],
  3079. "responses": {
  3080. "200": {
  3081. "description": "OK",
  3082. "schema": {
  3083. "type": "array",
  3084. "items": {
  3085. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3086. }
  3087. }
  3088. },
  3089. "500": {
  3090. "description": "Internal Server Error",
  3091. "schema": {
  3092. "$ref": "#/definitions/app.Response"
  3093. }
  3094. }
  3095. }
  3096. }
  3097. },
  3098. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3099. "get": {
  3100. "security": [
  3101. {
  3102. "ApiKeyAuth": []
  3103. }
  3104. ],
  3105. "produces": [
  3106. "application/json"
  3107. ],
  3108. "tags": [
  3109. "企业风险管理v3(app)"
  3110. ],
  3111. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3112. "parameters": [
  3113. {
  3114. "type": "integer",
  3115. "description": "用户ID",
  3116. "name": "userid",
  3117. "in": "query",
  3118. "required": true
  3119. },
  3120. {
  3121. "type": "integer",
  3122. "description": "套保商品id",
  3123. "name": "middlegoodsid",
  3124. "in": "query",
  3125. "required": true
  3126. },
  3127. {
  3128. "type": "integer",
  3129. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3130. "name": "cycletype",
  3131. "in": "query",
  3132. "required": true
  3133. },
  3134. {
  3135. "type": "string",
  3136. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3137. "name": "cycletime",
  3138. "in": "query",
  3139. "required": true
  3140. }
  3141. ],
  3142. "responses": {
  3143. "200": {
  3144. "description": "OK",
  3145. "schema": {
  3146. "type": "array",
  3147. "items": {
  3148. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3149. }
  3150. }
  3151. },
  3152. "500": {
  3153. "description": "Internal Server Error",
  3154. "schema": {
  3155. "$ref": "#/definitions/app.Response"
  3156. }
  3157. }
  3158. }
  3159. }
  3160. },
  3161. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3162. "get": {
  3163. "security": [
  3164. {
  3165. "ApiKeyAuth": []
  3166. }
  3167. ],
  3168. "produces": [
  3169. "application/json"
  3170. ],
  3171. "tags": [
  3172. "企业风险管理v3(app)"
  3173. ],
  3174. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3175. "parameters": [
  3176. {
  3177. "type": "integer",
  3178. "description": "用户ID",
  3179. "name": "userid",
  3180. "in": "query",
  3181. "required": true
  3182. },
  3183. {
  3184. "type": "integer",
  3185. "description": "套保商品id",
  3186. "name": "middlegoodsid",
  3187. "in": "query",
  3188. "required": true
  3189. },
  3190. {
  3191. "type": "integer",
  3192. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3193. "name": "cycletype",
  3194. "in": "query",
  3195. "required": true
  3196. },
  3197. {
  3198. "type": "string",
  3199. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3200. "name": "cycletime",
  3201. "in": "query",
  3202. "required": true
  3203. }
  3204. ],
  3205. "responses": {
  3206. "200": {
  3207. "description": "OK",
  3208. "schema": {
  3209. "type": "array",
  3210. "items": {
  3211. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3212. }
  3213. }
  3214. },
  3215. "500": {
  3216. "description": "Internal Server Error",
  3217. "schema": {
  3218. "$ref": "#/definitions/app.Response"
  3219. }
  3220. }
  3221. }
  3222. }
  3223. },
  3224. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3225. "get": {
  3226. "security": [
  3227. {
  3228. "ApiKeyAuth": []
  3229. }
  3230. ],
  3231. "produces": [
  3232. "application/json"
  3233. ],
  3234. "tags": [
  3235. "企业风险管理v3(app)"
  3236. ],
  3237. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3238. "parameters": [
  3239. {
  3240. "type": "integer",
  3241. "description": "用户ID",
  3242. "name": "userid",
  3243. "in": "query",
  3244. "required": true
  3245. },
  3246. {
  3247. "type": "integer",
  3248. "description": "套保商品id",
  3249. "name": "middlegoodsid",
  3250. "in": "query",
  3251. "required": true
  3252. },
  3253. {
  3254. "type": "integer",
  3255. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3256. "name": "cycletype",
  3257. "in": "query",
  3258. "required": true
  3259. },
  3260. {
  3261. "type": "string",
  3262. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3263. "name": "cycletime",
  3264. "in": "query",
  3265. "required": true
  3266. }
  3267. ],
  3268. "responses": {
  3269. "200": {
  3270. "description": "OK",
  3271. "schema": {
  3272. "type": "array",
  3273. "items": {
  3274. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3275. }
  3276. }
  3277. },
  3278. "500": {
  3279. "description": "Internal Server Error",
  3280. "schema": {
  3281. "$ref": "#/definitions/app.Response"
  3282. }
  3283. }
  3284. }
  3285. }
  3286. },
  3287. "/Ermcp3/QryAreaExpourseReport": {
  3288. "get": {
  3289. "security": [
  3290. {
  3291. "ApiKeyAuth": []
  3292. }
  3293. ],
  3294. "produces": [
  3295. "application/json"
  3296. ],
  3297. "tags": [
  3298. "企业风险管理v3(app)"
  3299. ],
  3300. "summary": "查询敞口报表",
  3301. "parameters": [
  3302. {
  3303. "type": "integer",
  3304. "description": "用户ID",
  3305. "name": "userid",
  3306. "in": "query",
  3307. "required": true
  3308. },
  3309. {
  3310. "type": "integer",
  3311. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3312. "name": "querytype",
  3313. "in": "query",
  3314. "required": true
  3315. },
  3316. {
  3317. "type": "integer",
  3318. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3319. "name": "cycletype",
  3320. "in": "query",
  3321. "required": true
  3322. },
  3323. {
  3324. "type": "string",
  3325. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3326. "name": "cycletime",
  3327. "in": "query",
  3328. "required": true
  3329. }
  3330. ],
  3331. "responses": {
  3332. "200": {
  3333. "description": "OK",
  3334. "schema": {
  3335. "type": "array",
  3336. "items": {
  3337. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3338. }
  3339. }
  3340. },
  3341. "500": {
  3342. "description": "Internal Server Error",
  3343. "schema": {
  3344. "$ref": "#/definitions/app.Response"
  3345. }
  3346. }
  3347. }
  3348. }
  3349. },
  3350. "/Ermcp3/QryAreaSpotplReport": {
  3351. "get": {
  3352. "security": [
  3353. {
  3354. "ApiKeyAuth": []
  3355. }
  3356. ],
  3357. "produces": [
  3358. "application/json"
  3359. ],
  3360. "tags": [
  3361. "企业风险管理v3(app)"
  3362. ],
  3363. "summary": "查询现货报表",
  3364. "parameters": [
  3365. {
  3366. "type": "integer",
  3367. "description": "用户ID",
  3368. "name": "userid",
  3369. "in": "query",
  3370. "required": true
  3371. },
  3372. {
  3373. "type": "integer",
  3374. "description": "查询类型 1-报表 2-报表明细",
  3375. "name": "querytype",
  3376. "in": "query",
  3377. "required": true
  3378. },
  3379. {
  3380. "type": "integer",
  3381. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3382. "name": "cycletype",
  3383. "in": "query",
  3384. "required": true
  3385. },
  3386. {
  3387. "type": "string",
  3388. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3389. "name": "cycletime",
  3390. "in": "query",
  3391. "required": true
  3392. },
  3393. {
  3394. "type": "integer",
  3395. "description": "现货品种id(明细必填)",
  3396. "name": "deliverygoodsid",
  3397. "in": "query"
  3398. },
  3399. {
  3400. "type": "integer",
  3401. "description": "币种id(明细必填)",
  3402. "name": "currencyid",
  3403. "in": "query"
  3404. }
  3405. ],
  3406. "responses": {
  3407. "200": {
  3408. "description": "OK",
  3409. "schema": {
  3410. "type": "array",
  3411. "items": {
  3412. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3413. }
  3414. }
  3415. },
  3416. "500": {
  3417. "description": "Internal Server Error",
  3418. "schema": {
  3419. "$ref": "#/definitions/app.Response"
  3420. }
  3421. }
  3422. }
  3423. }
  3424. },
  3425. "/Ermcp3/QryAreaStockReport": {
  3426. "get": {
  3427. "security": [
  3428. {
  3429. "ApiKeyAuth": []
  3430. }
  3431. ],
  3432. "produces": [
  3433. "application/json"
  3434. ],
  3435. "tags": [
  3436. "企业风险管理v3(app)"
  3437. ],
  3438. "summary": "查询库存报表",
  3439. "parameters": [
  3440. {
  3441. "type": "integer",
  3442. "description": "用户ID",
  3443. "name": "userid",
  3444. "in": "query",
  3445. "required": true
  3446. },
  3447. {
  3448. "type": "integer",
  3449. "description": "查询类型 1-报表 2-报表明细",
  3450. "name": "querytype",
  3451. "in": "query",
  3452. "required": true
  3453. },
  3454. {
  3455. "type": "integer",
  3456. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3457. "name": "cycletype",
  3458. "in": "query",
  3459. "required": true
  3460. },
  3461. {
  3462. "type": "string",
  3463. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3464. "name": "cycletime",
  3465. "in": "query",
  3466. "required": true
  3467. },
  3468. {
  3469. "type": "string",
  3470. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3471. "name": "sumfields",
  3472. "in": "query"
  3473. },
  3474. {
  3475. "type": "integer",
  3476. "description": "品种ID",
  3477. "name": "deliverygoodsid",
  3478. "in": "query"
  3479. },
  3480. {
  3481. "type": "integer",
  3482. "description": "品类ID",
  3483. "name": "wrstandardid",
  3484. "in": "query"
  3485. },
  3486. {
  3487. "type": "integer",
  3488. "description": "品牌ID",
  3489. "name": "spotgoodsbrandid",
  3490. "in": "query"
  3491. },
  3492. {
  3493. "type": "integer",
  3494. "description": "仓库ID",
  3495. "name": "warehouseinfoid",
  3496. "in": "query"
  3497. }
  3498. ],
  3499. "responses": {
  3500. "200": {
  3501. "description": "OK",
  3502. "schema": {
  3503. "type": "array",
  3504. "items": {
  3505. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3506. }
  3507. }
  3508. },
  3509. "500": {
  3510. "description": "Internal Server Error",
  3511. "schema": {
  3512. "$ref": "#/definitions/app.Response"
  3513. }
  3514. }
  3515. }
  3516. }
  3517. },
  3518. "/Ermcp3/QryAreaSumPL": {
  3519. "get": {
  3520. "security": [
  3521. {
  3522. "ApiKeyAuth": []
  3523. }
  3524. ],
  3525. "produces": [
  3526. "application/json"
  3527. ],
  3528. "tags": [
  3529. "企业风险管理v3(app)"
  3530. ],
  3531. "summary": "查询汇总损益表",
  3532. "parameters": [
  3533. {
  3534. "type": "integer",
  3535. "description": "用户ID",
  3536. "name": "userid",
  3537. "in": "query",
  3538. "required": true
  3539. },
  3540. {
  3541. "type": "integer",
  3542. "description": "查询类型 1-报表 2-报表明细",
  3543. "name": "querytype",
  3544. "in": "query",
  3545. "required": true
  3546. },
  3547. {
  3548. "type": "integer",
  3549. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3550. "name": "cycletype",
  3551. "in": "query",
  3552. "required": true
  3553. },
  3554. {
  3555. "type": "string",
  3556. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3557. "name": "cycletime",
  3558. "in": "query",
  3559. "required": true
  3560. },
  3561. {
  3562. "type": "integer",
  3563. "description": "币种id(明细必填)",
  3564. "name": "currencyid",
  3565. "in": "query"
  3566. }
  3567. ],
  3568. "responses": {
  3569. "200": {
  3570. "description": "OK",
  3571. "schema": {
  3572. "type": "array",
  3573. "items": {
  3574. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3575. }
  3576. }
  3577. },
  3578. "500": {
  3579. "description": "Internal Server Error",
  3580. "schema": {
  3581. "$ref": "#/definitions/app.Response"
  3582. }
  3583. }
  3584. }
  3585. }
  3586. },
  3587. "/Ermcp3/QryFinanceReport": {
  3588. "get": {
  3589. "security": [
  3590. {
  3591. "ApiKeyAuth": []
  3592. }
  3593. ],
  3594. "produces": [
  3595. "application/json"
  3596. ],
  3597. "tags": [
  3598. "企业风险管理v3(app)"
  3599. ],
  3600. "summary": "查询财务报表",
  3601. "parameters": [
  3602. {
  3603. "type": "integer",
  3604. "description": "用户ID",
  3605. "name": "userid",
  3606. "in": "query",
  3607. "required": true
  3608. },
  3609. {
  3610. "type": "integer",
  3611. "description": "查询类型 1-报表 2-报表明细",
  3612. "name": "querytype",
  3613. "in": "query",
  3614. "required": true
  3615. },
  3616. {
  3617. "type": "integer",
  3618. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3619. "name": "cycletype",
  3620. "in": "query",
  3621. "required": true
  3622. },
  3623. {
  3624. "type": "string",
  3625. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3626. "name": "cycletime",
  3627. "in": "query",
  3628. "required": true
  3629. },
  3630. {
  3631. "type": "integer",
  3632. "description": "币种id(报表明细必填)",
  3633. "name": "currencyid",
  3634. "in": "query"
  3635. },
  3636. {
  3637. "type": "string",
  3638. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3639. "name": "sumfields",
  3640. "in": "query"
  3641. }
  3642. ],
  3643. "responses": {
  3644. "200": {
  3645. "description": "OK",
  3646. "schema": {
  3647. "type": "array",
  3648. "items": {
  3649. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3650. }
  3651. }
  3652. },
  3653. "500": {
  3654. "description": "Internal Server Error",
  3655. "schema": {
  3656. "$ref": "#/definitions/app.Response"
  3657. }
  3658. }
  3659. }
  3660. }
  3661. },
  3662. "/Ermcp3/QrySCMiddleGoodsReport": {
  3663. "get": {
  3664. "security": [
  3665. {
  3666. "ApiKeyAuth": []
  3667. }
  3668. ],
  3669. "produces": [
  3670. "application/json"
  3671. ],
  3672. "tags": [
  3673. "企业风险管理v3(app)"
  3674. ],
  3675. "summary": "查询定价报表",
  3676. "parameters": [
  3677. {
  3678. "type": "integer",
  3679. "description": "用户ID",
  3680. "name": "userid",
  3681. "in": "query",
  3682. "required": true
  3683. },
  3684. {
  3685. "type": "integer",
  3686. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3687. "name": "cycletype",
  3688. "in": "query",
  3689. "required": true
  3690. },
  3691. {
  3692. "type": "string",
  3693. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3694. "name": "cycletime",
  3695. "in": "query",
  3696. "required": true
  3697. },
  3698. {
  3699. "type": "integer",
  3700. "description": "合同id",
  3701. "name": "spotcontractid",
  3702. "in": "query"
  3703. },
  3704. {
  3705. "type": "integer",
  3706. "description": "套保品种id",
  3707. "name": "middlegoodsid",
  3708. "in": "query"
  3709. },
  3710. {
  3711. "type": "integer",
  3712. "description": "现货品种id",
  3713. "name": "deliverygoodsid",
  3714. "in": "query"
  3715. },
  3716. {
  3717. "type": "integer",
  3718. "description": "现货商品id",
  3719. "name": "wrstandardid",
  3720. "in": "query"
  3721. },
  3722. {
  3723. "type": "string",
  3724. "description": "合同编号(模糊匹配)",
  3725. "name": "contractno",
  3726. "in": "query"
  3727. }
  3728. ],
  3729. "responses": {
  3730. "200": {
  3731. "description": "OK",
  3732. "schema": {
  3733. "type": "array",
  3734. "items": {
  3735. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  3736. }
  3737. }
  3738. },
  3739. "500": {
  3740. "description": "Internal Server Error",
  3741. "schema": {
  3742. "$ref": "#/definitions/app.Response"
  3743. }
  3744. }
  3745. }
  3746. }
  3747. },
  3748. "/Ermcp3/QryTaFutureDataReport": {
  3749. "get": {
  3750. "security": [
  3751. {
  3752. "ApiKeyAuth": []
  3753. }
  3754. ],
  3755. "produces": [
  3756. "application/json"
  3757. ],
  3758. "tags": [
  3759. "企业风险管理v3(app)"
  3760. ],
  3761. "summary": "查询期货报表",
  3762. "parameters": [
  3763. {
  3764. "type": "integer",
  3765. "description": "用户ID",
  3766. "name": "userid",
  3767. "in": "query",
  3768. "required": true
  3769. },
  3770. {
  3771. "type": "integer",
  3772. "description": "查询类型 1-报表 2-报表明细",
  3773. "name": "querytype",
  3774. "in": "query",
  3775. "required": true
  3776. },
  3777. {
  3778. "type": "integer",
  3779. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3780. "name": "cycletype",
  3781. "in": "query",
  3782. "required": true
  3783. },
  3784. {
  3785. "type": "string",
  3786. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3787. "name": "cycletime",
  3788. "in": "query",
  3789. "required": true
  3790. },
  3791. {
  3792. "type": "integer",
  3793. "description": "币种id(查明细必填)",
  3794. "name": "currencyid",
  3795. "in": "query"
  3796. },
  3797. {
  3798. "type": "integer",
  3799. "description": "品种id(查明细必填)",
  3800. "name": "goodsgroupid",
  3801. "in": "query"
  3802. },
  3803. {
  3804. "type": "integer",
  3805. "description": "商品id(查明细必填)",
  3806. "name": "goodsid",
  3807. "in": "query"
  3808. },
  3809. {
  3810. "type": "integer",
  3811. "description": "买卖方向(查明细必填)",
  3812. "name": "buyorsell",
  3813. "in": "query"
  3814. }
  3815. ],
  3816. "responses": {
  3817. "200": {
  3818. "description": "OK",
  3819. "schema": {
  3820. "type": "array",
  3821. "items": {
  3822. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3823. }
  3824. }
  3825. },
  3826. "500": {
  3827. "description": "Internal Server Error",
  3828. "schema": {
  3829. "$ref": "#/definitions/app.Response"
  3830. }
  3831. }
  3832. }
  3833. }
  3834. },
  3835. "/Ermcp3/QueryAreaStock": {
  3836. "get": {
  3837. "security": [
  3838. {
  3839. "ApiKeyAuth": []
  3840. }
  3841. ],
  3842. "produces": [
  3843. "application/json"
  3844. ],
  3845. "tags": [
  3846. "企业风险管理v3(app)"
  3847. ],
  3848. "summary": "查询机构库存(库存管理/当前库存)",
  3849. "parameters": [
  3850. {
  3851. "type": "integer",
  3852. "description": "用户ID",
  3853. "name": "userid",
  3854. "in": "query",
  3855. "required": true
  3856. }
  3857. ],
  3858. "responses": {
  3859. "200": {
  3860. "description": "OK",
  3861. "schema": {
  3862. "type": "array",
  3863. "items": {
  3864. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3865. }
  3866. }
  3867. },
  3868. "500": {
  3869. "description": "Internal Server Error",
  3870. "schema": {
  3871. "$ref": "#/definitions/app.Response"
  3872. }
  3873. }
  3874. }
  3875. }
  3876. },
  3877. "/Ermcp3/QueryAreaStockApply": {
  3878. "get": {
  3879. "security": [
  3880. {
  3881. "ApiKeyAuth": []
  3882. }
  3883. ],
  3884. "produces": [
  3885. "application/json"
  3886. ],
  3887. "tags": [
  3888. "企业风险管理v3(app)"
  3889. ],
  3890. "summary": "查询库存申请(出入库记录|库存审核)",
  3891. "parameters": [
  3892. {
  3893. "type": "integer",
  3894. "description": "用户ID",
  3895. "name": "userid",
  3896. "in": "query",
  3897. "required": true
  3898. },
  3899. {
  3900. "type": "integer",
  3901. "description": "用户类型 2-机构 7-企业成员",
  3902. "name": "usertype",
  3903. "in": "query"
  3904. },
  3905. {
  3906. "type": "integer",
  3907. "description": "现货商品ID",
  3908. "name": "deliverygoodsid",
  3909. "in": "query"
  3910. },
  3911. {
  3912. "type": "string",
  3913. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3914. "name": "inouttype",
  3915. "in": "query"
  3916. },
  3917. {
  3918. "type": "integer",
  3919. "description": "合同ID",
  3920. "name": "spotcontractid",
  3921. "in": "query"
  3922. },
  3923. {
  3924. "type": "integer",
  3925. "description": "品类ID",
  3926. "name": "wrstandardid",
  3927. "in": "query"
  3928. },
  3929. {
  3930. "type": "integer",
  3931. "description": "品牌ID",
  3932. "name": "spotgoodsbrandid",
  3933. "in": "query"
  3934. },
  3935. {
  3936. "type": "integer",
  3937. "description": "仓库ID",
  3938. "name": "warehouseinfoid",
  3939. "in": "query"
  3940. },
  3941. {
  3942. "type": "string",
  3943. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3944. "name": "applystatus",
  3945. "in": "query"
  3946. }
  3947. ],
  3948. "responses": {
  3949. "200": {
  3950. "description": "OK",
  3951. "schema": {
  3952. "type": "array",
  3953. "items": {
  3954. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3955. }
  3956. }
  3957. },
  3958. "500": {
  3959. "description": "Internal Server Error",
  3960. "schema": {
  3961. "$ref": "#/definitions/app.Response"
  3962. }
  3963. }
  3964. }
  3965. }
  3966. },
  3967. "/Ermcp3/QueryAreaStockApplySum": {
  3968. "get": {
  3969. "security": [
  3970. {
  3971. "ApiKeyAuth": []
  3972. }
  3973. ],
  3974. "produces": [
  3975. "application/json"
  3976. ],
  3977. "tags": [
  3978. "企业风险管理v3(app)"
  3979. ],
  3980. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3981. "parameters": [
  3982. {
  3983. "type": "integer",
  3984. "description": "合同ID",
  3985. "name": "spotcontractid",
  3986. "in": "query",
  3987. "required": true
  3988. }
  3989. ],
  3990. "responses": {
  3991. "200": {
  3992. "description": "OK",
  3993. "schema": {
  3994. "type": "array",
  3995. "items": {
  3996. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3997. }
  3998. }
  3999. },
  4000. "500": {
  4001. "description": "Internal Server Error",
  4002. "schema": {
  4003. "$ref": "#/definitions/app.Response"
  4004. }
  4005. }
  4006. }
  4007. }
  4008. },
  4009. "/Ermcp3/QueryDGFactoryItem": {
  4010. "get": {
  4011. "security": [
  4012. {
  4013. "ApiKeyAuth": []
  4014. }
  4015. ],
  4016. "produces": [
  4017. "application/json"
  4018. ],
  4019. "tags": [
  4020. "企业风险管理v3(app)"
  4021. ],
  4022. "summary": "查询品种要素定义项",
  4023. "parameters": [
  4024. {
  4025. "type": "integer",
  4026. "description": "用户id",
  4027. "name": "userid",
  4028. "in": "query"
  4029. },
  4030. {
  4031. "type": "integer",
  4032. "description": "用户类型 2-机构 7-企业成员",
  4033. "name": "usertype",
  4034. "in": "query"
  4035. },
  4036. {
  4037. "type": "integer",
  4038. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4039. "name": "dgfactoryitemid",
  4040. "in": "query"
  4041. },
  4042. {
  4043. "type": "integer",
  4044. "description": "现货品种ID",
  4045. "name": "deliverygoodsid",
  4046. "in": "query"
  4047. },
  4048. {
  4049. "type": "integer",
  4050. "description": "要素项类型",
  4051. "name": "dgfactoryitemtypeid",
  4052. "in": "query"
  4053. },
  4054. {
  4055. "type": "integer",
  4056. "description": "顺序",
  4057. "name": "orderindex",
  4058. "in": "query"
  4059. }
  4060. ],
  4061. "responses": {
  4062. "200": {
  4063. "description": "OK",
  4064. "schema": {
  4065. "type": "array",
  4066. "items": {
  4067. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4068. }
  4069. }
  4070. },
  4071. "500": {
  4072. "description": "Internal Server Error",
  4073. "schema": {
  4074. "$ref": "#/definitions/app.Response"
  4075. }
  4076. }
  4077. }
  4078. }
  4079. },
  4080. "/Ermcp3/QueryDeliveryGoods": {
  4081. "get": {
  4082. "security": [
  4083. {
  4084. "ApiKeyAuth": []
  4085. }
  4086. ],
  4087. "produces": [
  4088. "application/json"
  4089. ],
  4090. "tags": [
  4091. "企业风险管理v3(app)"
  4092. ],
  4093. "summary": "查询现货商品",
  4094. "parameters": [
  4095. {
  4096. "type": "integer",
  4097. "description": "用户id",
  4098. "name": "userid",
  4099. "in": "query",
  4100. "required": true
  4101. },
  4102. {
  4103. "type": "integer",
  4104. "description": "用户类型 2-机构 7-企业成员",
  4105. "name": "usertype",
  4106. "in": "query"
  4107. },
  4108. {
  4109. "type": "integer",
  4110. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4111. "name": "excludecfg",
  4112. "in": "query"
  4113. }
  4114. ],
  4115. "responses": {
  4116. "200": {
  4117. "description": "OK",
  4118. "schema": {
  4119. "type": "array",
  4120. "items": {
  4121. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4122. }
  4123. }
  4124. },
  4125. "500": {
  4126. "description": "Internal Server Error",
  4127. "schema": {
  4128. "$ref": "#/definitions/app.Response"
  4129. }
  4130. }
  4131. }
  4132. }
  4133. },
  4134. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4135. "get": {
  4136. "security": [
  4137. {
  4138. "ApiKeyAuth": []
  4139. }
  4140. ],
  4141. "produces": [
  4142. "application/json"
  4143. ],
  4144. "tags": [
  4145. "企业风险管理v3(app)"
  4146. ],
  4147. "summary": "查询现货商品详情",
  4148. "parameters": [
  4149. {
  4150. "type": "integer",
  4151. "description": "用户id",
  4152. "name": "userid",
  4153. "in": "query",
  4154. "required": true
  4155. },
  4156. {
  4157. "type": "integer",
  4158. "description": "用户类型 2-机构 7-企业成员",
  4159. "name": "usertype",
  4160. "in": "query"
  4161. },
  4162. {
  4163. "type": "integer",
  4164. "description": "现货商品id",
  4165. "name": "deliverygoodsid",
  4166. "in": "query"
  4167. },
  4168. {
  4169. "type": "integer",
  4170. "description": "过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示",
  4171. "name": "filtersubempty",
  4172. "in": "query"
  4173. }
  4174. ],
  4175. "responses": {
  4176. "200": {
  4177. "description": "OK",
  4178. "schema": {
  4179. "type": "array",
  4180. "items": {
  4181. "$ref": "#/definitions/models.XHDeliveryGoods"
  4182. }
  4183. }
  4184. },
  4185. "500": {
  4186. "description": "Internal Server Error",
  4187. "schema": {
  4188. "$ref": "#/definitions/app.Response"
  4189. }
  4190. }
  4191. }
  4192. }
  4193. },
  4194. "/Ermcp3/QueryExposureDetail": {
  4195. "get": {
  4196. "security": [
  4197. {
  4198. "ApiKeyAuth": []
  4199. }
  4200. ],
  4201. "produces": [
  4202. "application/json"
  4203. ],
  4204. "tags": [
  4205. "企业风险管理v3(app)"
  4206. ],
  4207. "summary": "查询敞口现货明细",
  4208. "parameters": [
  4209. {
  4210. "type": "integer",
  4211. "description": "用户id",
  4212. "name": "userid",
  4213. "in": "query",
  4214. "required": true
  4215. },
  4216. {
  4217. "type": "integer",
  4218. "description": "用户类型 2-机构 7-企业成员",
  4219. "name": "usertype",
  4220. "in": "query"
  4221. },
  4222. {
  4223. "type": "integer",
  4224. "description": "套保商品",
  4225. "name": "middlegoodsid",
  4226. "in": "query",
  4227. "required": true
  4228. }
  4229. ],
  4230. "responses": {
  4231. "200": {
  4232. "description": "OK",
  4233. "schema": {
  4234. "type": "array",
  4235. "items": {
  4236. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4237. }
  4238. }
  4239. },
  4240. "500": {
  4241. "description": "Internal Server Error",
  4242. "schema": {
  4243. "$ref": "#/definitions/app.Response"
  4244. }
  4245. }
  4246. }
  4247. }
  4248. },
  4249. "/Ermcp3/QueryExposureSpot": {
  4250. "get": {
  4251. "security": [
  4252. {
  4253. "ApiKeyAuth": []
  4254. }
  4255. ],
  4256. "produces": [
  4257. "application/json"
  4258. ],
  4259. "tags": [
  4260. "企业风险管理v3(app)"
  4261. ],
  4262. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4263. "parameters": [
  4264. {
  4265. "type": "integer",
  4266. "description": "用户id",
  4267. "name": "userid",
  4268. "in": "query",
  4269. "required": true
  4270. },
  4271. {
  4272. "type": "integer",
  4273. "description": "用户类型 2-机构 7-企业成员",
  4274. "name": "usertype",
  4275. "in": "query"
  4276. }
  4277. ],
  4278. "responses": {
  4279. "200": {
  4280. "description": "OK",
  4281. "schema": {
  4282. "type": "array",
  4283. "items": {
  4284. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4285. }
  4286. }
  4287. },
  4288. "500": {
  4289. "description": "Internal Server Error",
  4290. "schema": {
  4291. "$ref": "#/definitions/app.Response"
  4292. }
  4293. }
  4294. }
  4295. }
  4296. },
  4297. "/Ermcp3/QueryExposureSpotDetail": {
  4298. "get": {
  4299. "security": [
  4300. {
  4301. "ApiKeyAuth": []
  4302. }
  4303. ],
  4304. "produces": [
  4305. "application/json"
  4306. ],
  4307. "tags": [
  4308. "企业风险管理v3(app)"
  4309. ],
  4310. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4311. "parameters": [
  4312. {
  4313. "type": "integer",
  4314. "description": "用户id",
  4315. "name": "userid",
  4316. "in": "query",
  4317. "required": true
  4318. },
  4319. {
  4320. "type": "integer",
  4321. "description": "用户类型 2-机构 7-企业成员",
  4322. "name": "usertype",
  4323. "in": "query"
  4324. },
  4325. {
  4326. "type": "integer",
  4327. "description": "现货商品ID",
  4328. "name": "wrstandardid",
  4329. "in": "query",
  4330. "required": true
  4331. }
  4332. ],
  4333. "responses": {
  4334. "200": {
  4335. "description": "OK",
  4336. "schema": {
  4337. "type": "array",
  4338. "items": {
  4339. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4340. }
  4341. }
  4342. },
  4343. "500": {
  4344. "description": "Internal Server Error",
  4345. "schema": {
  4346. "$ref": "#/definitions/app.Response"
  4347. }
  4348. }
  4349. }
  4350. }
  4351. },
  4352. "/Ermcp3/QueryGoodsGroup": {
  4353. "get": {
  4354. "security": [
  4355. {
  4356. "ApiKeyAuth": []
  4357. }
  4358. ],
  4359. "produces": [
  4360. "application/json"
  4361. ],
  4362. "tags": [
  4363. "企业风险管理v3(app)"
  4364. ],
  4365. "summary": "查询期货商品组",
  4366. "parameters": [
  4367. {
  4368. "type": "integer",
  4369. "description": "用户id",
  4370. "name": "userid",
  4371. "in": "query",
  4372. "required": true
  4373. },
  4374. {
  4375. "type": "integer",
  4376. "description": "用户类型 2-机构 7-企业成员",
  4377. "name": "usertype",
  4378. "in": "query"
  4379. },
  4380. {
  4381. "type": "integer",
  4382. "description": "排除套保品中已关联的商品组 1-排除",
  4383. "name": "excludecfg",
  4384. "in": "query"
  4385. }
  4386. ],
  4387. "responses": {
  4388. "200": {
  4389. "description": "OK",
  4390. "schema": {
  4391. "type": "array",
  4392. "items": {
  4393. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4394. }
  4395. }
  4396. },
  4397. "500": {
  4398. "description": "Internal Server Error",
  4399. "schema": {
  4400. "$ref": "#/definitions/app.Response"
  4401. }
  4402. }
  4403. }
  4404. }
  4405. },
  4406. "/Ermcp3/QueryGoodsWrstandard": {
  4407. "get": {
  4408. "security": [
  4409. {
  4410. "ApiKeyAuth": []
  4411. }
  4412. ],
  4413. "produces": [
  4414. "application/json"
  4415. ],
  4416. "tags": [
  4417. "企业风险管理v3(app)"
  4418. ],
  4419. "summary": "查询商品品类",
  4420. "parameters": [
  4421. {
  4422. "type": "integer",
  4423. "description": "用户id",
  4424. "name": "userid",
  4425. "in": "query",
  4426. "required": true
  4427. },
  4428. {
  4429. "type": "integer",
  4430. "description": "用户类型 2-机构 7-企业成员",
  4431. "name": "usertype",
  4432. "in": "query"
  4433. },
  4434. {
  4435. "type": "integer",
  4436. "description": "现货商品id",
  4437. "name": "deliverygoodsid",
  4438. "in": "query"
  4439. }
  4440. ],
  4441. "responses": {
  4442. "200": {
  4443. "description": "OK",
  4444. "schema": {
  4445. "type": "array",
  4446. "items": {
  4447. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4448. }
  4449. }
  4450. },
  4451. "500": {
  4452. "description": "Internal Server Error",
  4453. "schema": {
  4454. "$ref": "#/definitions/app.Response"
  4455. }
  4456. }
  4457. }
  4458. }
  4459. },
  4460. "/Ermcp3/QueryGoodsbrand": {
  4461. "get": {
  4462. "security": [
  4463. {
  4464. "ApiKeyAuth": []
  4465. }
  4466. ],
  4467. "produces": [
  4468. "application/json"
  4469. ],
  4470. "tags": [
  4471. "企业风险管理v3(app)"
  4472. ],
  4473. "summary": "查询商品品牌",
  4474. "parameters": [
  4475. {
  4476. "type": "integer",
  4477. "description": "用户id",
  4478. "name": "userid",
  4479. "in": "query",
  4480. "required": true
  4481. },
  4482. {
  4483. "type": "integer",
  4484. "description": "用户类型 2-机构 7-企业成员",
  4485. "name": "usertype",
  4486. "in": "query"
  4487. }
  4488. ],
  4489. "responses": {
  4490. "200": {
  4491. "description": "OK",
  4492. "schema": {
  4493. "type": "array",
  4494. "items": {
  4495. "$ref": "#/definitions/models.Ermcp3Brand"
  4496. }
  4497. }
  4498. },
  4499. "500": {
  4500. "description": "Internal Server Error",
  4501. "schema": {
  4502. "$ref": "#/definitions/app.Response"
  4503. }
  4504. }
  4505. }
  4506. }
  4507. },
  4508. "/Ermcp3/QueryHedgePlan": {
  4509. "get": {
  4510. "security": [
  4511. {
  4512. "ApiKeyAuth": []
  4513. }
  4514. ],
  4515. "produces": [
  4516. "application/json"
  4517. ],
  4518. "tags": [
  4519. "企业风险管理v3(app)"
  4520. ],
  4521. "summary": "查询套保计划",
  4522. "parameters": [
  4523. {
  4524. "type": "integer",
  4525. "description": "用户ID",
  4526. "name": "userid",
  4527. "in": "query",
  4528. "required": true
  4529. },
  4530. {
  4531. "type": "integer",
  4532. "description": "用户类型 2-机构 7-企业成员",
  4533. "name": "usertype",
  4534. "in": "query"
  4535. },
  4536. {
  4537. "type": "string",
  4538. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4539. "name": "hedgeplanstatus",
  4540. "in": "query",
  4541. "required": true
  4542. }
  4543. ],
  4544. "responses": {
  4545. "200": {
  4546. "description": "OK",
  4547. "schema": {
  4548. "type": "array",
  4549. "items": {
  4550. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4551. }
  4552. }
  4553. },
  4554. "500": {
  4555. "description": "Internal Server Error",
  4556. "schema": {
  4557. "$ref": "#/definitions/app.Response"
  4558. }
  4559. }
  4560. }
  4561. }
  4562. },
  4563. "/Ermcp3/QueryInnerTradeLink": {
  4564. "get": {
  4565. "security": [
  4566. {
  4567. "ApiKeyAuth": []
  4568. }
  4569. ],
  4570. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  4571. "produces": [
  4572. "application/json"
  4573. ],
  4574. "tags": [
  4575. "企业风险管理v3(app)"
  4576. ],
  4577. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  4578. "parameters": [
  4579. {
  4580. "type": "integer",
  4581. "description": "外部成交单号",
  4582. "name": "outtradeid",
  4583. "in": "query",
  4584. "required": true
  4585. }
  4586. ],
  4587. "responses": {
  4588. "200": {
  4589. "description": "OK",
  4590. "schema": {
  4591. "type": "array",
  4592. "items": {
  4593. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  4594. }
  4595. }
  4596. },
  4597. "500": {
  4598. "description": "Internal Server Error",
  4599. "schema": {
  4600. "$ref": "#/definitions/app.Response"
  4601. }
  4602. }
  4603. }
  4604. }
  4605. },
  4606. "/Ermcp3/QueryMiddleGoodsDetail": {
  4607. "get": {
  4608. "security": [
  4609. {
  4610. "ApiKeyAuth": []
  4611. }
  4612. ],
  4613. "produces": [
  4614. "application/json"
  4615. ],
  4616. "tags": [
  4617. "企业风险管理v3(app)"
  4618. ],
  4619. "summary": "查询套保品种详情(套保品种/商品详情)",
  4620. "parameters": [
  4621. {
  4622. "type": "integer",
  4623. "description": "用户id",
  4624. "name": "userid",
  4625. "in": "query",
  4626. "required": true
  4627. },
  4628. {
  4629. "type": "integer",
  4630. "description": "用户类型 2-机构 7-企业成员",
  4631. "name": "usertype",
  4632. "in": "query"
  4633. },
  4634. {
  4635. "type": "integer",
  4636. "description": "套保品种id",
  4637. "name": "middlegoodsid",
  4638. "in": "query"
  4639. }
  4640. ],
  4641. "responses": {
  4642. "200": {
  4643. "description": "OK",
  4644. "schema": {
  4645. "type": "array",
  4646. "items": {
  4647. "$ref": "#/definitions/models.TBMiddleGoods"
  4648. }
  4649. }
  4650. },
  4651. "500": {
  4652. "description": "Internal Server Error",
  4653. "schema": {
  4654. "$ref": "#/definitions/app.Response"
  4655. }
  4656. }
  4657. }
  4658. }
  4659. },
  4660. "/Ermcp3/QueryOutTradeLink": {
  4661. "get": {
  4662. "security": [
  4663. {
  4664. "ApiKeyAuth": []
  4665. }
  4666. ],
  4667. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  4668. "produces": [
  4669. "application/json"
  4670. ],
  4671. "tags": [
  4672. "企业风险管理v3(app)"
  4673. ],
  4674. "summary": "查询外部成交单关联",
  4675. "parameters": [
  4676. {
  4677. "type": "integer",
  4678. "description": "用户ID(填登录用户的userid)",
  4679. "name": "userid",
  4680. "in": "query",
  4681. "required": true
  4682. },
  4683. {
  4684. "type": "string",
  4685. "description": "外部订单号(模糊匹配)",
  4686. "name": "outtradeid",
  4687. "in": "query"
  4688. },
  4689. {
  4690. "type": "string",
  4691. "description": "合约名称/代码(模糊匹配)",
  4692. "name": "goodsname",
  4693. "in": "query"
  4694. },
  4695. {
  4696. "type": "integer",
  4697. "description": "关联状态 0-未关联 1-已关联",
  4698. "name": "hasinnerorder",
  4699. "in": "query"
  4700. }
  4701. ],
  4702. "responses": {
  4703. "200": {
  4704. "description": "OK",
  4705. "schema": {
  4706. "type": "array",
  4707. "items": {
  4708. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  4709. }
  4710. }
  4711. },
  4712. "500": {
  4713. "description": "Internal Server Error",
  4714. "schema": {
  4715. "$ref": "#/definitions/app.Response"
  4716. }
  4717. }
  4718. }
  4719. }
  4720. },
  4721. "/Ermcp3/QueryPaAreaAuditCfg": {
  4722. "get": {
  4723. "security": [
  4724. {
  4725. "ApiKeyAuth": []
  4726. }
  4727. ],
  4728. "produces": [
  4729. "application/json"
  4730. ],
  4731. "tags": [
  4732. "企业风险管理v3(app)"
  4733. ],
  4734. "summary": "查询审核设置",
  4735. "parameters": [
  4736. {
  4737. "type": "integer",
  4738. "description": "用户id",
  4739. "name": "userid",
  4740. "in": "query",
  4741. "required": true
  4742. }
  4743. ],
  4744. "responses": {
  4745. "200": {
  4746. "description": "OK",
  4747. "schema": {
  4748. "type": "array",
  4749. "items": {
  4750. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  4751. }
  4752. }
  4753. },
  4754. "500": {
  4755. "description": "Internal Server Error",
  4756. "schema": {
  4757. "$ref": "#/definitions/app.Response"
  4758. }
  4759. }
  4760. }
  4761. }
  4762. },
  4763. "/Ermcp3/QueryPaAreaSubject": {
  4764. "get": {
  4765. "security": [
  4766. {
  4767. "ApiKeyAuth": []
  4768. }
  4769. ],
  4770. "produces": [
  4771. "application/json"
  4772. ],
  4773. "tags": [
  4774. "企业风险管理v3(app)"
  4775. ],
  4776. "summary": "查询交易主体",
  4777. "parameters": [
  4778. {
  4779. "type": "integer",
  4780. "description": "用户id",
  4781. "name": "userid",
  4782. "in": "query",
  4783. "required": true
  4784. },
  4785. {
  4786. "type": "integer",
  4787. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  4788. "name": "subjectid",
  4789. "in": "query"
  4790. },
  4791. {
  4792. "type": "integer",
  4793. "description": "主体类型 - 1:交易主体 2:业务部门",
  4794. "name": "subjecttype",
  4795. "in": "query"
  4796. },
  4797. {
  4798. "type": "integer",
  4799. "description": "主体状态 - 1:正常 2: 停用",
  4800. "name": "subjectstatus",
  4801. "in": "query"
  4802. }
  4803. ],
  4804. "responses": {
  4805. "200": {
  4806. "description": "OK",
  4807. "schema": {
  4808. "type": "array",
  4809. "items": {
  4810. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  4811. }
  4812. }
  4813. },
  4814. "500": {
  4815. "description": "Internal Server Error",
  4816. "schema": {
  4817. "$ref": "#/definitions/app.Response"
  4818. }
  4819. }
  4820. }
  4821. }
  4822. },
  4823. "/Ermcp3/QueryPaTradeLink": {
  4824. "get": {
  4825. "security": [
  4826. {
  4827. "ApiKeyAuth": []
  4828. }
  4829. ],
  4830. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  4831. "produces": [
  4832. "application/json"
  4833. ],
  4834. "tags": [
  4835. "企业风险管理v3(app)"
  4836. ],
  4837. "summary": "查询期现单据关联",
  4838. "parameters": [
  4839. {
  4840. "type": "integer",
  4841. "description": "用户ID",
  4842. "name": "userid",
  4843. "in": "query",
  4844. "required": true
  4845. }
  4846. ],
  4847. "responses": {
  4848. "200": {
  4849. "description": "OK",
  4850. "schema": {
  4851. "type": "array",
  4852. "items": {
  4853. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  4854. }
  4855. }
  4856. },
  4857. "500": {
  4858. "description": "Internal Server Error",
  4859. "schema": {
  4860. "$ref": "#/definitions/app.Response"
  4861. }
  4862. }
  4863. }
  4864. }
  4865. },
  4866. "/Ermcp3/QueryPaTradeLinkDetail": {
  4867. "get": {
  4868. "security": [
  4869. {
  4870. "ApiKeyAuth": []
  4871. }
  4872. ],
  4873. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  4874. "produces": [
  4875. "application/json"
  4876. ],
  4877. "tags": [
  4878. "企业风险管理v3(app)"
  4879. ],
  4880. "summary": "查询期现关联记录",
  4881. "parameters": [
  4882. {
  4883. "type": "integer",
  4884. "description": "用户ID(填登录用户的userid)",
  4885. "name": "userid",
  4886. "in": "query",
  4887. "required": true
  4888. },
  4889. {
  4890. "type": "integer",
  4891. "description": "关联状态 1:成功 2:失败 3:解绑",
  4892. "name": "linkstatus",
  4893. "in": "query"
  4894. },
  4895. {
  4896. "type": "string",
  4897. "description": "期货订单号(模糊匹配)",
  4898. "name": "tradeid",
  4899. "in": "query"
  4900. },
  4901. {
  4902. "type": "string",
  4903. "description": "现货编号(模糊匹配)",
  4904. "name": "contractno",
  4905. "in": "query"
  4906. },
  4907. {
  4908. "type": "string",
  4909. "description": "期货账户(模糊匹配)",
  4910. "name": "taname",
  4911. "in": "query"
  4912. }
  4913. ],
  4914. "responses": {
  4915. "200": {
  4916. "description": "OK",
  4917. "schema": {
  4918. "type": "array",
  4919. "items": {
  4920. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  4921. }
  4922. }
  4923. },
  4924. "500": {
  4925. "description": "Internal Server Error",
  4926. "schema": {
  4927. "$ref": "#/definitions/app.Response"
  4928. }
  4929. }
  4930. }
  4931. }
  4932. },
  4933. "/Ermcp3/QueryParamChangeApp": {
  4934. "get": {
  4935. "security": [
  4936. {
  4937. "ApiKeyAuth": []
  4938. }
  4939. ],
  4940. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  4941. "produces": [
  4942. "application/json"
  4943. ],
  4944. "tags": [
  4945. "企业风险管理v3(app)"
  4946. ],
  4947. "summary": "查询现货商品参数变更申请(流水)",
  4948. "parameters": [
  4949. {
  4950. "type": "integer",
  4951. "description": "用户ID",
  4952. "name": "userid",
  4953. "in": "query",
  4954. "required": true
  4955. },
  4956. {
  4957. "type": "integer",
  4958. "description": "现货品种id",
  4959. "name": "deliverygoodsid",
  4960. "in": "query"
  4961. },
  4962. {
  4963. "type": "integer",
  4964. "description": "现货商品id",
  4965. "name": "wrstandardid",
  4966. "in": "query"
  4967. },
  4968. {
  4969. "type": "integer",
  4970. "description": "套保商品id",
  4971. "name": "middlegoodsid",
  4972. "in": "query"
  4973. },
  4974. {
  4975. "type": "integer",
  4976. "description": "操作类型 1:新增 2:修改",
  4977. "name": "operatetype",
  4978. "in": "query"
  4979. },
  4980. {
  4981. "type": "integer",
  4982. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  4983. "name": "paramchangetype",
  4984. "in": "query"
  4985. },
  4986. {
  4987. "type": "string",
  4988. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4989. "name": "ftstatus",
  4990. "in": "query"
  4991. }
  4992. ],
  4993. "responses": {
  4994. "200": {
  4995. "description": "OK",
  4996. "schema": {
  4997. "type": "array",
  4998. "items": {
  4999. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  5000. }
  5001. }
  5002. },
  5003. "500": {
  5004. "description": "Internal Server Error",
  5005. "schema": {
  5006. "$ref": "#/definitions/app.Response"
  5007. }
  5008. }
  5009. }
  5010. }
  5011. },
  5012. "/Ermcp3/QueryRootUserAccount": {
  5013. "get": {
  5014. "security": [
  5015. {
  5016. "ApiKeyAuth": []
  5017. }
  5018. ],
  5019. "produces": [
  5020. "application/json"
  5021. ],
  5022. "tags": [
  5023. "企业风险管理v3(app)"
  5024. ],
  5025. "summary": "查询顶级用户信息",
  5026. "parameters": [
  5027. {
  5028. "type": "integer",
  5029. "description": "用户ID",
  5030. "name": "userid",
  5031. "in": "query",
  5032. "required": true
  5033. }
  5034. ],
  5035. "responses": {
  5036. "200": {
  5037. "description": "OK",
  5038. "schema": {
  5039. "type": "array",
  5040. "items": {
  5041. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5042. }
  5043. }
  5044. },
  5045. "500": {
  5046. "description": "Internal Server Error",
  5047. "schema": {
  5048. "$ref": "#/definitions/app.Response"
  5049. }
  5050. }
  5051. }
  5052. }
  5053. },
  5054. "/Ermcp3/QuerySCMiddleGoods": {
  5055. "get": {
  5056. "security": [
  5057. {
  5058. "ApiKeyAuth": []
  5059. }
  5060. ],
  5061. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5062. "produces": [
  5063. "application/json"
  5064. ],
  5065. "tags": [
  5066. "企业风险管理v3(app)"
  5067. ],
  5068. "summary": "查询现货订单",
  5069. "parameters": [
  5070. {
  5071. "type": "integer",
  5072. "description": "用户ID(填登录用户的userid)",
  5073. "name": "userid",
  5074. "in": "query",
  5075. "required": true
  5076. },
  5077. {
  5078. "type": "integer",
  5079. "description": "买卖方向 0-买 1-卖",
  5080. "name": "buyorsell",
  5081. "in": "query",
  5082. "required": true
  5083. },
  5084. {
  5085. "type": "integer",
  5086. "description": "商品组id",
  5087. "name": "goodsgroupid",
  5088. "in": "query",
  5089. "required": true
  5090. },
  5091. {
  5092. "type": "integer",
  5093. "description": "业务类型 1:套保 2:套利",
  5094. "name": "biztype",
  5095. "in": "query"
  5096. },
  5097. {
  5098. "type": "string",
  5099. "description": "现货编号(模糊匹配)",
  5100. "name": "contractno",
  5101. "in": "query"
  5102. },
  5103. {
  5104. "type": "string",
  5105. "description": "对手方(模糊匹配)",
  5106. "name": "customername",
  5107. "in": "query"
  5108. },
  5109. {
  5110. "type": "string",
  5111. "description": "现货商品名称(模糊匹配)",
  5112. "name": "wrstandardname",
  5113. "in": "query"
  5114. }
  5115. ],
  5116. "responses": {
  5117. "200": {
  5118. "description": "OK",
  5119. "schema": {
  5120. "type": "array",
  5121. "items": {
  5122. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5123. }
  5124. }
  5125. },
  5126. "500": {
  5127. "description": "Internal Server Error",
  5128. "schema": {
  5129. "$ref": "#/definitions/app.Response"
  5130. }
  5131. }
  5132. }
  5133. }
  5134. },
  5135. "/Ermcp3/QuerySpotContract": {
  5136. "get": {
  5137. "security": [
  5138. {
  5139. "ApiKeyAuth": []
  5140. }
  5141. ],
  5142. "produces": [
  5143. "application/json"
  5144. ],
  5145. "tags": [
  5146. "企业风险管理v3(app)"
  5147. ],
  5148. "summary": "查询现货合同",
  5149. "parameters": [
  5150. {
  5151. "type": "integer",
  5152. "description": "用户id(当指定contractid, userid可不填)",
  5153. "name": "userid",
  5154. "in": "query",
  5155. "required": true
  5156. },
  5157. {
  5158. "type": "integer",
  5159. "description": "用户类型 2-机构 7-企业成员",
  5160. "name": "usertype",
  5161. "in": "query"
  5162. },
  5163. {
  5164. "type": "integer",
  5165. "description": "合同类型 1-采购, -1-销售",
  5166. "name": "contracttype",
  5167. "in": "query"
  5168. },
  5169. {
  5170. "type": "string",
  5171. "description": "查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成",
  5172. "name": "querytype",
  5173. "in": "query"
  5174. },
  5175. {
  5176. "type": "string",
  5177. "description": "合同ID(SpotContractId)",
  5178. "name": "contractid",
  5179. "in": "query"
  5180. },
  5181. {
  5182. "type": "string",
  5183. "description": "合同编号(模糊匹配)",
  5184. "name": "contractno",
  5185. "in": "query"
  5186. },
  5187. {
  5188. "type": "string",
  5189. "description": "商品名称(模糊匹配)",
  5190. "name": "wrstandardname",
  5191. "in": "query"
  5192. },
  5193. {
  5194. "type": "string",
  5195. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5196. "name": "status",
  5197. "in": "query"
  5198. },
  5199. {
  5200. "type": "integer",
  5201. "description": "是否只查今日的合同 1-查今日合同",
  5202. "name": "istoday",
  5203. "in": "query"
  5204. }
  5205. ],
  5206. "responses": {
  5207. "200": {
  5208. "description": "OK",
  5209. "schema": {
  5210. "type": "array",
  5211. "items": {
  5212. "$ref": "#/definitions/models.Ermcp3Contract"
  5213. }
  5214. }
  5215. },
  5216. "500": {
  5217. "description": "Internal Server Error",
  5218. "schema": {
  5219. "$ref": "#/definitions/app.Response"
  5220. }
  5221. }
  5222. }
  5223. }
  5224. },
  5225. "/Ermcp3/QuerySpotContractBS": {
  5226. "get": {
  5227. "security": [
  5228. {
  5229. "ApiKeyAuth": []
  5230. }
  5231. ],
  5232. "produces": [
  5233. "application/json"
  5234. ],
  5235. "tags": [
  5236. "企业风险管理v3(app)"
  5237. ],
  5238. "summary": "查询合同(采购/销售)",
  5239. "parameters": [
  5240. {
  5241. "type": "integer",
  5242. "description": "用户id",
  5243. "name": "userid",
  5244. "in": "query",
  5245. "required": true
  5246. },
  5247. {
  5248. "type": "integer",
  5249. "description": "用户类型 2-机构 7-企业成员",
  5250. "name": "usertype",
  5251. "in": "query"
  5252. },
  5253. {
  5254. "type": "integer",
  5255. "description": "合同类型 1-采购, -1-销售",
  5256. "name": "contracttype",
  5257. "in": "query",
  5258. "required": true
  5259. },
  5260. {
  5261. "type": "integer",
  5262. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5263. "name": "querytype",
  5264. "in": "query"
  5265. },
  5266. {
  5267. "type": "string",
  5268. "description": "合同ID(SpotContractId)",
  5269. "name": "contractid",
  5270. "in": "query"
  5271. },
  5272. {
  5273. "type": "string",
  5274. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5275. "name": "status",
  5276. "in": "query"
  5277. },
  5278. {
  5279. "type": "integer",
  5280. "description": "是否只查今日的合同 1-查今日合同",
  5281. "name": "istoday",
  5282. "in": "query"
  5283. }
  5284. ],
  5285. "responses": {
  5286. "200": {
  5287. "description": "OK",
  5288. "schema": {
  5289. "type": "array",
  5290. "items": {
  5291. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5292. }
  5293. }
  5294. },
  5295. "500": {
  5296. "description": "Internal Server Error",
  5297. "schema": {
  5298. "$ref": "#/definitions/app.Response"
  5299. }
  5300. }
  5301. }
  5302. }
  5303. },
  5304. "/Ermcp3/QuerySpotGoodsPrice": {
  5305. "get": {
  5306. "security": [
  5307. {
  5308. "ApiKeyAuth": []
  5309. }
  5310. ],
  5311. "produces": [
  5312. "application/json"
  5313. ],
  5314. "tags": [
  5315. "企业风险管理v3(app)"
  5316. ],
  5317. "summary": "查询现货市价(现货市价)",
  5318. "parameters": [
  5319. {
  5320. "type": "integer",
  5321. "description": "用户ID",
  5322. "name": "userid",
  5323. "in": "query",
  5324. "required": true
  5325. }
  5326. ],
  5327. "responses": {
  5328. "200": {
  5329. "description": "OK",
  5330. "schema": {
  5331. "type": "array",
  5332. "items": {
  5333. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5334. }
  5335. }
  5336. },
  5337. "500": {
  5338. "description": "Internal Server Error",
  5339. "schema": {
  5340. "$ref": "#/definitions/app.Response"
  5341. }
  5342. }
  5343. }
  5344. }
  5345. },
  5346. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5347. "get": {
  5348. "security": [
  5349. {
  5350. "ApiKeyAuth": []
  5351. }
  5352. ],
  5353. "produces": [
  5354. "application/json"
  5355. ],
  5356. "tags": [
  5357. "企业风险管理v3(app)"
  5358. ],
  5359. "summary": "查询现货市价详情(现货市价/详情)",
  5360. "parameters": [
  5361. {
  5362. "type": "integer",
  5363. "description": "用户ID",
  5364. "name": "userid",
  5365. "in": "query",
  5366. "required": true
  5367. },
  5368. {
  5369. "type": "integer",
  5370. "description": "现货商品ID",
  5371. "name": "deliverygoodsid",
  5372. "in": "query",
  5373. "required": true
  5374. },
  5375. {
  5376. "type": "integer",
  5377. "description": "品牌ID",
  5378. "name": "brandid",
  5379. "in": "query"
  5380. },
  5381. {
  5382. "type": "integer",
  5383. "description": "品类ID",
  5384. "name": "wrstandardid",
  5385. "in": "query"
  5386. }
  5387. ],
  5388. "responses": {
  5389. "200": {
  5390. "description": "OK",
  5391. "schema": {
  5392. "type": "array",
  5393. "items": {
  5394. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5395. }
  5396. }
  5397. },
  5398. "500": {
  5399. "description": "Internal Server Error",
  5400. "schema": {
  5401. "$ref": "#/definitions/app.Response"
  5402. }
  5403. }
  5404. }
  5405. }
  5406. },
  5407. "/Ermcp3/QuerySubTaaccount": {
  5408. "get": {
  5409. "security": [
  5410. {
  5411. "ApiKeyAuth": []
  5412. }
  5413. ],
  5414. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5415. "produces": [
  5416. "application/json"
  5417. ],
  5418. "tags": [
  5419. "企业风险管理v3(app)"
  5420. ],
  5421. "summary": "查询期货子账户",
  5422. "parameters": [
  5423. {
  5424. "type": "integer",
  5425. "description": "母账号id",
  5426. "name": "parentaccountid",
  5427. "in": "query"
  5428. },
  5429. {
  5430. "type": "string",
  5431. "description": "母账号代码",
  5432. "name": "parentaccountcode",
  5433. "in": "query"
  5434. }
  5435. ],
  5436. "responses": {
  5437. "200": {
  5438. "description": "OK",
  5439. "schema": {
  5440. "type": "array",
  5441. "items": {
  5442. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5443. }
  5444. }
  5445. },
  5446. "500": {
  5447. "description": "Internal Server Error",
  5448. "schema": {
  5449. "$ref": "#/definitions/app.Response"
  5450. }
  5451. }
  5452. }
  5453. }
  5454. },
  5455. "/Erms2/QueryArbitrageStrategy": {
  5456. "get": {
  5457. "security": [
  5458. {
  5459. "ApiKeyAuth": []
  5460. }
  5461. ],
  5462. "produces": [
  5463. "application/json"
  5464. ],
  5465. "tags": [
  5466. "风险管理"
  5467. ],
  5468. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5469. "parameters": [
  5470. {
  5471. "type": "integer",
  5472. "description": "账户ID",
  5473. "name": "userid",
  5474. "in": "query",
  5475. "required": true
  5476. },
  5477. {
  5478. "type": "string",
  5479. "description": "商品组ID(品种ID)",
  5480. "name": "goodsgroupid",
  5481. "in": "query"
  5482. }
  5483. ],
  5484. "responses": {
  5485. "200": {
  5486. "description": "OK",
  5487. "schema": {
  5488. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5489. }
  5490. },
  5491. "500": {
  5492. "description": "Internal Server Error",
  5493. "schema": {
  5494. "$ref": "#/definitions/app.Response"
  5495. }
  5496. }
  5497. }
  5498. }
  5499. },
  5500. "/Erms2/QueryInnerTradeDetail": {
  5501. "get": {
  5502. "security": [
  5503. {
  5504. "ApiKeyAuth": []
  5505. }
  5506. ],
  5507. "produces": [
  5508. "application/json"
  5509. ],
  5510. "tags": [
  5511. "风险管理"
  5512. ],
  5513. "summary": "查询内部成交单信息",
  5514. "parameters": [
  5515. {
  5516. "type": "integer",
  5517. "description": "资金账户",
  5518. "name": "accountid",
  5519. "in": "query",
  5520. "required": true
  5521. }
  5522. ],
  5523. "responses": {
  5524. "200": {
  5525. "description": "OK",
  5526. "schema": {
  5527. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5528. }
  5529. },
  5530. "500": {
  5531. "description": "Internal Server Error",
  5532. "schema": {
  5533. "$ref": "#/definitions/app.Response"
  5534. }
  5535. }
  5536. }
  5537. }
  5538. },
  5539. "/Erms2/QuerySpotContract": {
  5540. "get": {
  5541. "security": [
  5542. {
  5543. "ApiKeyAuth": []
  5544. }
  5545. ],
  5546. "produces": [
  5547. "application/json"
  5548. ],
  5549. "tags": [
  5550. "风险管理"
  5551. ],
  5552. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5553. "parameters": [
  5554. {
  5555. "type": "integer",
  5556. "description": "策略申请ID",
  5557. "name": "asapplyid",
  5558. "in": "query",
  5559. "required": true
  5560. },
  5561. {
  5562. "type": "integer",
  5563. "description": "现货合同ID",
  5564. "name": "spotcontractid",
  5565. "in": "query"
  5566. }
  5567. ],
  5568. "responses": {
  5569. "200": {
  5570. "description": "OK",
  5571. "schema": {
  5572. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  5573. }
  5574. },
  5575. "500": {
  5576. "description": "Internal Server Error",
  5577. "schema": {
  5578. "$ref": "#/definitions/app.Response"
  5579. }
  5580. }
  5581. }
  5582. }
  5583. },
  5584. "/Erms3/AddErms2ASApply": {
  5585. "post": {
  5586. "security": [
  5587. {
  5588. "ApiKeyAuth": []
  5589. }
  5590. ],
  5591. "produces": [
  5592. "application/json"
  5593. ],
  5594. "tags": [
  5595. "风险管理v3"
  5596. ],
  5597. "summary": "新增期现套利业务申请",
  5598. "parameters": [
  5599. {
  5600. "description": "申请参数",
  5601. "name": "jsonBody",
  5602. "in": "body",
  5603. "required": true,
  5604. "schema": {
  5605. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5606. }
  5607. }
  5608. ],
  5609. "responses": {
  5610. "200": {
  5611. "description": "OK",
  5612. "schema": {
  5613. "$ref": "#/definitions/app.Response"
  5614. }
  5615. },
  5616. "500": {
  5617. "description": "Internal Server Error",
  5618. "schema": {
  5619. "$ref": "#/definitions/app.Response"
  5620. }
  5621. }
  5622. }
  5623. }
  5624. },
  5625. "/Erms3/AddErms2SpotTradeApply": {
  5626. "post": {
  5627. "security": [
  5628. {
  5629. "ApiKeyAuth": []
  5630. }
  5631. ],
  5632. "produces": [
  5633. "application/json"
  5634. ],
  5635. "tags": [
  5636. "风险管理v3"
  5637. ],
  5638. "summary": "新增现货贸易业务申请",
  5639. "parameters": [
  5640. {
  5641. "description": "申请参数",
  5642. "name": "jsonBody",
  5643. "in": "body",
  5644. "required": true,
  5645. "schema": {
  5646. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5647. }
  5648. }
  5649. ],
  5650. "responses": {
  5651. "200": {
  5652. "description": "OK",
  5653. "schema": {
  5654. "$ref": "#/definitions/app.Response"
  5655. }
  5656. },
  5657. "500": {
  5658. "description": "Internal Server Error",
  5659. "schema": {
  5660. "$ref": "#/definitions/app.Response"
  5661. }
  5662. }
  5663. }
  5664. }
  5665. },
  5666. "/Erms3/AddSpotContractApply": {
  5667. "post": {
  5668. "security": [
  5669. {
  5670. "ApiKeyAuth": []
  5671. }
  5672. ],
  5673. "produces": [
  5674. "application/json"
  5675. ],
  5676. "tags": [
  5677. "风险管理v3"
  5678. ],
  5679. "summary": "新增现货合同申请",
  5680. "parameters": [
  5681. {
  5682. "description": "申请参数",
  5683. "name": "jsonBody",
  5684. "in": "body",
  5685. "required": true,
  5686. "schema": {
  5687. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5688. }
  5689. }
  5690. ],
  5691. "responses": {
  5692. "200": {
  5693. "description": "OK",
  5694. "schema": {
  5695. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5696. }
  5697. },
  5698. "500": {
  5699. "description": "Internal Server Error",
  5700. "schema": {
  5701. "$ref": "#/definitions/app.Response"
  5702. }
  5703. }
  5704. }
  5705. }
  5706. },
  5707. "/Erms3/AddUserInfoApply": {
  5708. "post": {
  5709. "security": [
  5710. {
  5711. "ApiKeyAuth": []
  5712. }
  5713. ],
  5714. "produces": [
  5715. "application/json"
  5716. ],
  5717. "tags": [
  5718. "风险管理v3"
  5719. ],
  5720. "summary": "新增客户申请",
  5721. "parameters": [
  5722. {
  5723. "description": "用户信息",
  5724. "name": "jsonBody",
  5725. "in": "body",
  5726. "required": true,
  5727. "schema": {
  5728. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5729. }
  5730. }
  5731. ],
  5732. "responses": {
  5733. "200": {
  5734. "description": "OK",
  5735. "schema": {
  5736. "$ref": "#/definitions/app.Response"
  5737. }
  5738. },
  5739. "500": {
  5740. "description": "Internal Server Error",
  5741. "schema": {
  5742. "$ref": "#/definitions/app.Response"
  5743. }
  5744. }
  5745. }
  5746. }
  5747. },
  5748. "/Erms3/DeleteUserInfoApply": {
  5749. "get": {
  5750. "security": [
  5751. {
  5752. "ApiKeyAuth": []
  5753. }
  5754. ],
  5755. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5756. "produces": [
  5757. "application/json"
  5758. ],
  5759. "tags": [
  5760. "风险管理v3"
  5761. ],
  5762. "summary": "删除客户申请",
  5763. "parameters": [
  5764. {
  5765. "type": "integer",
  5766. "description": "用户ID",
  5767. "name": "userID",
  5768. "in": "query",
  5769. "required": true
  5770. }
  5771. ],
  5772. "responses": {
  5773. "200": {
  5774. "description": "OK",
  5775. "schema": {
  5776. "$ref": "#/definitions/app.Response"
  5777. }
  5778. },
  5779. "500": {
  5780. "description": "Internal Server Error",
  5781. "schema": {
  5782. "$ref": "#/definitions/app.Response"
  5783. }
  5784. }
  5785. }
  5786. }
  5787. },
  5788. "/Erms3/ModifyUserInfoApply": {
  5789. "post": {
  5790. "security": [
  5791. {
  5792. "ApiKeyAuth": []
  5793. }
  5794. ],
  5795. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5796. "produces": [
  5797. "application/json"
  5798. ],
  5799. "tags": [
  5800. "风险管理v3"
  5801. ],
  5802. "summary": "修改客户申请",
  5803. "parameters": [
  5804. {
  5805. "description": "用户信息",
  5806. "name": "jsonBody",
  5807. "in": "body",
  5808. "required": true,
  5809. "schema": {
  5810. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5811. }
  5812. }
  5813. ],
  5814. "responses": {
  5815. "200": {
  5816. "description": "OK",
  5817. "schema": {
  5818. "$ref": "#/definitions/app.Response"
  5819. }
  5820. },
  5821. "500": {
  5822. "description": "Internal Server Error",
  5823. "schema": {
  5824. "$ref": "#/definitions/app.Response"
  5825. }
  5826. }
  5827. }
  5828. }
  5829. },
  5830. "/Erms3/QueryBusinessInfo": {
  5831. "get": {
  5832. "security": [
  5833. {
  5834. "ApiKeyAuth": []
  5835. }
  5836. ],
  5837. "produces": [
  5838. "application/json"
  5839. ],
  5840. "tags": [
  5841. "风险管理v3"
  5842. ],
  5843. "summary": "查询业务表单数据",
  5844. "parameters": [
  5845. {
  5846. "type": "string",
  5847. "description": "资金账号ID列表,用逗号分隔",
  5848. "name": "accountids",
  5849. "in": "query",
  5850. "required": true
  5851. },
  5852. {
  5853. "type": "integer",
  5854. "description": "状态,0为未结束 1为已结束",
  5855. "name": "status",
  5856. "in": "query",
  5857. "required": true
  5858. }
  5859. ],
  5860. "responses": {
  5861. "200": {
  5862. "description": "OK",
  5863. "schema": {
  5864. "type": "array",
  5865. "items": {
  5866. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5867. }
  5868. }
  5869. },
  5870. "500": {
  5871. "description": "Internal Server Error",
  5872. "schema": {
  5873. "$ref": "#/definitions/app.Response"
  5874. }
  5875. }
  5876. }
  5877. }
  5878. },
  5879. "/Erms3/QueryPendingAuditContract": {
  5880. "get": {
  5881. "security": [
  5882. {
  5883. "ApiKeyAuth": []
  5884. }
  5885. ],
  5886. "produces": [
  5887. "application/json"
  5888. ],
  5889. "tags": [
  5890. "风险管理v3"
  5891. ],
  5892. "summary": "查询待审核合同",
  5893. "parameters": [
  5894. {
  5895. "type": "string",
  5896. "description": "资金账号ID列表,逗号隔开",
  5897. "name": "accountids",
  5898. "in": "query",
  5899. "required": true
  5900. },
  5901. {
  5902. "type": "integer",
  5903. "description": "合同类型 1-采购 -1-销售",
  5904. "name": "contracttype",
  5905. "in": "query",
  5906. "required": true
  5907. },
  5908. {
  5909. "type": "integer",
  5910. "description": "合同模式 1-普通 2-回购",
  5911. "name": "contractmode",
  5912. "in": "query",
  5913. "required": true
  5914. }
  5915. ],
  5916. "responses": {
  5917. "200": {
  5918. "description": "OK",
  5919. "schema": {
  5920. "type": "array",
  5921. "items": {
  5922. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5923. }
  5924. }
  5925. },
  5926. "500": {
  5927. "description": "Internal Server Error",
  5928. "schema": {
  5929. "$ref": "#/definitions/app.Response"
  5930. }
  5931. }
  5932. }
  5933. }
  5934. },
  5935. "/Erms3/QueryPendingBusiness": {
  5936. "get": {
  5937. "security": [
  5938. {
  5939. "ApiKeyAuth": []
  5940. }
  5941. ],
  5942. "produces": [
  5943. "application/json"
  5944. ],
  5945. "tags": [
  5946. "风险管理v3"
  5947. ],
  5948. "summary": "查询待审核基差贸易业务",
  5949. "parameters": [
  5950. {
  5951. "type": "string",
  5952. "description": "资金账号ID列表,逗号隔开",
  5953. "name": "accountids",
  5954. "in": "query",
  5955. "required": true
  5956. }
  5957. ],
  5958. "responses": {
  5959. "200": {
  5960. "description": "OK",
  5961. "schema": {
  5962. "type": "array",
  5963. "items": {
  5964. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5965. }
  5966. }
  5967. },
  5968. "500": {
  5969. "description": "Internal Server Error",
  5970. "schema": {
  5971. "$ref": "#/definitions/app.Response"
  5972. }
  5973. }
  5974. }
  5975. }
  5976. },
  5977. "/Erms3/QuerySpotContractAppleForm": {
  5978. "get": {
  5979. "security": [
  5980. {
  5981. "ApiKeyAuth": []
  5982. }
  5983. ],
  5984. "produces": [
  5985. "application/json"
  5986. ],
  5987. "tags": [
  5988. "风险管理v3"
  5989. ],
  5990. "summary": "查询合同申请表单数据",
  5991. "parameters": [
  5992. {
  5993. "type": "integer",
  5994. "description": "登录账号",
  5995. "name": "loginID",
  5996. "in": "query",
  5997. "required": true
  5998. }
  5999. ],
  6000. "responses": {
  6001. "200": {
  6002. "description": "OK",
  6003. "schema": {
  6004. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  6005. }
  6006. },
  6007. "500": {
  6008. "description": "Internal Server Error",
  6009. "schema": {
  6010. "$ref": "#/definitions/app.Response"
  6011. }
  6012. }
  6013. }
  6014. }
  6015. },
  6016. "/Erms3/QuerySpotContractDetail": {
  6017. "get": {
  6018. "security": [
  6019. {
  6020. "ApiKeyAuth": []
  6021. }
  6022. ],
  6023. "produces": [
  6024. "application/json"
  6025. ],
  6026. "tags": [
  6027. "风险管理v3"
  6028. ],
  6029. "summary": "查询合同详细信息",
  6030. "parameters": [
  6031. {
  6032. "type": "string",
  6033. "description": "资金账号ID列表,用逗号分隔",
  6034. "name": "accountids",
  6035. "in": "query",
  6036. "required": true
  6037. },
  6038. {
  6039. "type": "integer",
  6040. "description": "合同类型,1为采购合同 -1为销售合同",
  6041. "name": "contracttype",
  6042. "in": "query",
  6043. "required": true
  6044. },
  6045. {
  6046. "type": "integer",
  6047. "description": "合同模式,1为普通合同 2为回购销售合同",
  6048. "name": "contractmode",
  6049. "in": "query",
  6050. "required": true
  6051. },
  6052. {
  6053. "type": "integer",
  6054. "description": "状态,0为履约中 1为已完成",
  6055. "name": "status",
  6056. "in": "query",
  6057. "required": true
  6058. }
  6059. ],
  6060. "responses": {
  6061. "200": {
  6062. "description": "OK",
  6063. "schema": {
  6064. "type": "array",
  6065. "items": {
  6066. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  6067. }
  6068. }
  6069. },
  6070. "500": {
  6071. "description": "Internal Server Error",
  6072. "schema": {
  6073. "$ref": "#/definitions/app.Response"
  6074. }
  6075. }
  6076. }
  6077. }
  6078. },
  6079. "/Erms3/QueryUserInfoApplies": {
  6080. "get": {
  6081. "security": [
  6082. {
  6083. "ApiKeyAuth": []
  6084. }
  6085. ],
  6086. "produces": [
  6087. "application/json"
  6088. ],
  6089. "tags": [
  6090. "风险管理v3"
  6091. ],
  6092. "summary": "客户申请信息查询",
  6093. "parameters": [
  6094. {
  6095. "type": "integer",
  6096. "description": "页码",
  6097. "name": "page",
  6098. "in": "query"
  6099. },
  6100. {
  6101. "type": "integer",
  6102. "description": "每页条数",
  6103. "name": "pagesize",
  6104. "in": "query"
  6105. },
  6106. {
  6107. "type": "string",
  6108. "description": "客户名称,支持模糊查询",
  6109. "name": "userName",
  6110. "in": "query"
  6111. }
  6112. ],
  6113. "responses": {
  6114. "200": {
  6115. "description": "OK",
  6116. "schema": {
  6117. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  6118. }
  6119. },
  6120. "500": {
  6121. "description": "Internal Server Error",
  6122. "schema": {
  6123. "$ref": "#/definitions/app.Response"
  6124. }
  6125. }
  6126. }
  6127. }
  6128. },
  6129. "/Erms3/QueryUserInfos": {
  6130. "get": {
  6131. "security": [
  6132. {
  6133. "ApiKeyAuth": []
  6134. }
  6135. ],
  6136. "produces": [
  6137. "application/json"
  6138. ],
  6139. "tags": [
  6140. "风险管理v3"
  6141. ],
  6142. "summary": "客户信息查询",
  6143. "parameters": [
  6144. {
  6145. "type": "integer",
  6146. "description": "页码",
  6147. "name": "page",
  6148. "in": "query"
  6149. },
  6150. {
  6151. "type": "integer",
  6152. "description": "每页条数",
  6153. "name": "pagesize",
  6154. "in": "query"
  6155. },
  6156. {
  6157. "type": "string",
  6158. "description": "客户名称,支持模糊查询",
  6159. "name": "userName",
  6160. "in": "query"
  6161. }
  6162. ],
  6163. "responses": {
  6164. "200": {
  6165. "description": "OK",
  6166. "schema": {
  6167. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  6168. }
  6169. },
  6170. "500": {
  6171. "description": "Internal Server Error",
  6172. "schema": {
  6173. "$ref": "#/definitions/app.Response"
  6174. }
  6175. }
  6176. }
  6177. }
  6178. },
  6179. "/HSBY/GetHsbyMyCount": {
  6180. "get": {
  6181. "security": [
  6182. {
  6183. "ApiKeyAuth": []
  6184. }
  6185. ],
  6186. "description": "说明: 不包括已完成的数量。",
  6187. "produces": [
  6188. "application/json"
  6189. ],
  6190. "tags": [
  6191. "定制【海商报业】"
  6192. ],
  6193. "summary": "获取我的订单与包裹数量",
  6194. "parameters": [
  6195. {
  6196. "type": "string",
  6197. "description": "资金账户列表,格式:1,2,3",
  6198. "name": "accountIDs",
  6199. "in": "query",
  6200. "required": true
  6201. }
  6202. ],
  6203. "responses": {
  6204. "200": {
  6205. "description": "OK",
  6206. "schema": {
  6207. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  6208. }
  6209. },
  6210. "500": {
  6211. "description": "Internal Server Error",
  6212. "schema": {
  6213. "$ref": "#/definitions/app.Response"
  6214. }
  6215. }
  6216. }
  6217. }
  6218. },
  6219. "/HSBY/QueryClientFixedADConfigs": {
  6220. "get": {
  6221. "security": [
  6222. {
  6223. "ApiKeyAuth": []
  6224. }
  6225. ],
  6226. "produces": [
  6227. "application/json"
  6228. ],
  6229. "tags": [
  6230. "定制【海商报业】"
  6231. ],
  6232. "summary": "获取终端固定广告配置",
  6233. "responses": {
  6234. "200": {
  6235. "description": "OK",
  6236. "schema": {
  6237. "$ref": "#/definitions/models.Clientfixedadconfig"
  6238. }
  6239. },
  6240. "500": {
  6241. "description": "Internal Server Error",
  6242. "schema": {
  6243. "$ref": "#/definitions/app.Response"
  6244. }
  6245. }
  6246. }
  6247. }
  6248. },
  6249. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  6250. "get": {
  6251. "security": [
  6252. {
  6253. "ApiKeyAuth": []
  6254. }
  6255. ],
  6256. "produces": [
  6257. "application/json"
  6258. ],
  6259. "tags": [
  6260. "定制【海商报业】"
  6261. ],
  6262. "summary": "查询\"我的订单 - 已完成\"单据信息",
  6263. "parameters": [
  6264. {
  6265. "type": "integer",
  6266. "description": "页码",
  6267. "name": "page",
  6268. "in": "query"
  6269. },
  6270. {
  6271. "type": "integer",
  6272. "description": "每页条数",
  6273. "name": "pagesize",
  6274. "in": "query"
  6275. },
  6276. {
  6277. "type": "string",
  6278. "description": "资金账户列表,格式:1,2,3",
  6279. "name": "accountIDs",
  6280. "in": "query",
  6281. "required": true
  6282. }
  6283. ],
  6284. "responses": {
  6285. "200": {
  6286. "description": "OK",
  6287. "schema": {
  6288. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  6289. }
  6290. },
  6291. "500": {
  6292. "description": "Internal Server Error",
  6293. "schema": {
  6294. "$ref": "#/definitions/app.Response"
  6295. }
  6296. }
  6297. }
  6298. }
  6299. },
  6300. "/HSBY/QueryHsbyGoodsOrderDetails": {
  6301. "get": {
  6302. "security": [
  6303. {
  6304. "ApiKeyAuth": []
  6305. }
  6306. ],
  6307. "description": "说明:查询结果已按委托价格和委托时间排序",
  6308. "produces": [
  6309. "application/json"
  6310. ],
  6311. "tags": [
  6312. "定制【海商报业】"
  6313. ],
  6314. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  6315. "parameters": [
  6316. {
  6317. "type": "integer",
  6318. "description": "商品ID",
  6319. "name": "goodsID",
  6320. "in": "query",
  6321. "required": true
  6322. },
  6323. {
  6324. "type": "string",
  6325. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  6326. "name": "accountIDs",
  6327. "in": "query"
  6328. },
  6329. {
  6330. "type": "integer",
  6331. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6332. "name": "buyOrSell",
  6333. "in": "query"
  6334. },
  6335. {
  6336. "type": "number",
  6337. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6338. "name": "price",
  6339. "in": "query"
  6340. },
  6341. {
  6342. "type": "integer",
  6343. "description": "档位,不传则默认为3档",
  6344. "name": "speed",
  6345. "in": "query"
  6346. }
  6347. ],
  6348. "responses": {
  6349. "200": {
  6350. "description": "OK",
  6351. "schema": {
  6352. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6353. }
  6354. },
  6355. "500": {
  6356. "description": "Internal Server Error",
  6357. "schema": {
  6358. "$ref": "#/definitions/app.Response"
  6359. }
  6360. }
  6361. }
  6362. }
  6363. },
  6364. "/HSBY/QueryHsbyListingGoodsDetail": {
  6365. "get": {
  6366. "security": [
  6367. {
  6368. "ApiKeyAuth": []
  6369. }
  6370. ],
  6371. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6372. "produces": [
  6373. "application/json"
  6374. ],
  6375. "tags": [
  6376. "定制【海商报业】"
  6377. ],
  6378. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6379. "parameters": [
  6380. {
  6381. "type": "integer",
  6382. "description": "商品ID",
  6383. "name": "goodsID",
  6384. "in": "query",
  6385. "required": true
  6386. },
  6387. {
  6388. "type": "integer",
  6389. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6390. "name": "accountID",
  6391. "in": "query"
  6392. }
  6393. ],
  6394. "responses": {
  6395. "200": {
  6396. "description": "OK",
  6397. "schema": {
  6398. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6399. }
  6400. },
  6401. "500": {
  6402. "description": "Internal Server Error",
  6403. "schema": {
  6404. "$ref": "#/definitions/app.Response"
  6405. }
  6406. }
  6407. }
  6408. }
  6409. },
  6410. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6411. "get": {
  6412. "security": [
  6413. {
  6414. "ApiKeyAuth": []
  6415. }
  6416. ],
  6417. "produces": [
  6418. "application/json"
  6419. ],
  6420. "tags": [
  6421. "定制【海商报业】"
  6422. ],
  6423. "summary": "查询三级市场(商城)商品信息详情",
  6424. "parameters": [
  6425. {
  6426. "type": "integer",
  6427. "description": "委托单号",
  6428. "name": "orderID",
  6429. "in": "query",
  6430. "required": true
  6431. },
  6432. {
  6433. "type": "integer",
  6434. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6435. "name": "accountID",
  6436. "in": "query"
  6437. }
  6438. ],
  6439. "responses": {
  6440. "200": {
  6441. "description": "OK",
  6442. "schema": {
  6443. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6444. }
  6445. },
  6446. "500": {
  6447. "description": "Internal Server Error",
  6448. "schema": {
  6449. "$ref": "#/definitions/app.Response"
  6450. }
  6451. }
  6452. }
  6453. }
  6454. },
  6455. "/HSBY/QueryHsbyMarketGoodses": {
  6456. "get": {
  6457. "security": [
  6458. {
  6459. "ApiKeyAuth": []
  6460. }
  6461. ],
  6462. "produces": [
  6463. "application/json"
  6464. ],
  6465. "tags": [
  6466. "定制【海商报业】"
  6467. ],
  6468. "summary": "查询特卖商品列表(三级商城)",
  6469. "parameters": [
  6470. {
  6471. "type": "integer",
  6472. "description": "页码",
  6473. "name": "page",
  6474. "in": "query"
  6475. },
  6476. {
  6477. "type": "integer",
  6478. "description": "每页条数",
  6479. "name": "pagesize",
  6480. "in": "query"
  6481. },
  6482. {
  6483. "type": "string",
  6484. "description": "市场ID列表,格式:1,2,3",
  6485. "name": "marketIDs",
  6486. "in": "query",
  6487. "required": true
  6488. },
  6489. {
  6490. "type": "integer",
  6491. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6492. "name": "accountID",
  6493. "in": "query",
  6494. "required": true
  6495. },
  6496. {
  6497. "type": "integer",
  6498. "description": "类别ID",
  6499. "name": "categoryID",
  6500. "in": "query"
  6501. },
  6502. {
  6503. "type": "string",
  6504. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6505. "name": "goodsIDs",
  6506. "in": "query"
  6507. },
  6508. {
  6509. "type": "integer",
  6510. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6511. "name": "couponTypeID",
  6512. "in": "query"
  6513. }
  6514. ],
  6515. "responses": {
  6516. "200": {
  6517. "description": "OK",
  6518. "schema": {
  6519. "$ref": "#/definitions/models.HsbyMarketGoods"
  6520. }
  6521. },
  6522. "500": {
  6523. "description": "Internal Server Error",
  6524. "schema": {
  6525. "$ref": "#/definitions/app.Response"
  6526. }
  6527. }
  6528. }
  6529. }
  6530. },
  6531. "/HSBY/QueryHsbyMarkets": {
  6532. "get": {
  6533. "security": [
  6534. {
  6535. "ApiKeyAuth": []
  6536. }
  6537. ],
  6538. "produces": [
  6539. "application/json"
  6540. ],
  6541. "tags": [
  6542. "定制【海商报业】"
  6543. ],
  6544. "summary": "查询海商报业相关市场信息",
  6545. "responses": {
  6546. "200": {
  6547. "description": "OK",
  6548. "schema": {
  6549. "$ref": "#/definitions/models.HsbyMarketInfo"
  6550. }
  6551. },
  6552. "500": {
  6553. "description": "Internal Server Error",
  6554. "schema": {
  6555. "$ref": "#/definitions/app.Response"
  6556. }
  6557. }
  6558. }
  6559. }
  6560. },
  6561. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6562. "get": {
  6563. "security": [
  6564. {
  6565. "ApiKeyAuth": []
  6566. }
  6567. ],
  6568. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  6569. "produces": [
  6570. "application/json"
  6571. ],
  6572. "tags": [
  6573. "定制【海商报业】"
  6574. ],
  6575. "summary": "查询“我的订单”信息",
  6576. "parameters": [
  6577. {
  6578. "type": "string",
  6579. "description": "资金账户列表,格式:1,2,3",
  6580. "name": "accountIDs",
  6581. "in": "query",
  6582. "required": true
  6583. }
  6584. ],
  6585. "responses": {
  6586. "200": {
  6587. "description": "OK",
  6588. "schema": {
  6589. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6590. }
  6591. },
  6592. "500": {
  6593. "description": "Internal Server Error",
  6594. "schema": {
  6595. "$ref": "#/definitions/app.Response"
  6596. }
  6597. }
  6598. }
  6599. }
  6600. },
  6601. "/HSBY/QueryHsbyMyGoods": {
  6602. "get": {
  6603. "security": [
  6604. {
  6605. "ApiKeyAuth": []
  6606. }
  6607. ],
  6608. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6609. "produces": [
  6610. "application/json"
  6611. ],
  6612. "tags": [
  6613. "定制【海商报业】"
  6614. ],
  6615. "summary": "查询“我的商品”信息",
  6616. "parameters": [
  6617. {
  6618. "type": "string",
  6619. "description": "资金账户列表,格式:1,2,3",
  6620. "name": "accountIDs",
  6621. "in": "query",
  6622. "required": true
  6623. }
  6624. ],
  6625. "responses": {
  6626. "200": {
  6627. "description": "OK",
  6628. "schema": {
  6629. "$ref": "#/definitions/models.HsbyMyGoods"
  6630. }
  6631. },
  6632. "500": {
  6633. "description": "Internal Server Error",
  6634. "schema": {
  6635. "$ref": "#/definitions/app.Response"
  6636. }
  6637. }
  6638. }
  6639. }
  6640. },
  6641. "/HSBY/QueryHsbyMyPackages": {
  6642. "get": {
  6643. "security": [
  6644. {
  6645. "ApiKeyAuth": []
  6646. }
  6647. ],
  6648. "produces": [
  6649. "application/json"
  6650. ],
  6651. "tags": [
  6652. "定制【海商报业】"
  6653. ],
  6654. "summary": "查询我的包裹信息",
  6655. "parameters": [
  6656. {
  6657. "type": "string",
  6658. "description": "资金账户列表,格式:1,2,3",
  6659. "name": "accountIDs",
  6660. "in": "query",
  6661. "required": true
  6662. },
  6663. {
  6664. "type": "integer",
  6665. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6666. "name": "takeOrderStatus",
  6667. "in": "query"
  6668. }
  6669. ],
  6670. "responses": {
  6671. "200": {
  6672. "description": "OK",
  6673. "schema": {
  6674. "$ref": "#/definitions/models.HsbyMyPackage"
  6675. }
  6676. },
  6677. "500": {
  6678. "description": "Internal Server Error",
  6679. "schema": {
  6680. "$ref": "#/definitions/app.Response"
  6681. }
  6682. }
  6683. }
  6684. }
  6685. },
  6686. "/HSBY/QueryHsbyPreGoodsDetail": {
  6687. "get": {
  6688. "security": [
  6689. {
  6690. "ApiKeyAuth": []
  6691. }
  6692. ],
  6693. "produces": [
  6694. "application/json"
  6695. ],
  6696. "tags": [
  6697. "定制【海商报业】"
  6698. ],
  6699. "summary": "查询一级市场(预售)商品信息详情",
  6700. "parameters": [
  6701. {
  6702. "type": "integer",
  6703. "description": "商品ID",
  6704. "name": "goodsID",
  6705. "in": "query",
  6706. "required": true
  6707. },
  6708. {
  6709. "type": "integer",
  6710. "description": "资金账户,主要用于获取预售商品购买上限",
  6711. "name": "accountID",
  6712. "in": "query"
  6713. }
  6714. ],
  6715. "responses": {
  6716. "200": {
  6717. "description": "OK",
  6718. "schema": {
  6719. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6720. }
  6721. },
  6722. "500": {
  6723. "description": "Internal Server Error",
  6724. "schema": {
  6725. "$ref": "#/definitions/app.Response"
  6726. }
  6727. }
  6728. }
  6729. }
  6730. },
  6731. "/HSBY/QueryHsbyPreGoodses": {
  6732. "get": {
  6733. "security": [
  6734. {
  6735. "ApiKeyAuth": []
  6736. }
  6737. ],
  6738. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6739. "produces": [
  6740. "application/json"
  6741. ],
  6742. "tags": [
  6743. "定制【海商报业】"
  6744. ],
  6745. "summary": "查询新品上市商品列表(一级市场预售)",
  6746. "parameters": [
  6747. {
  6748. "type": "integer",
  6749. "description": "页码",
  6750. "name": "page",
  6751. "in": "query"
  6752. },
  6753. {
  6754. "type": "integer",
  6755. "description": "每页条数",
  6756. "name": "pagesize",
  6757. "in": "query"
  6758. },
  6759. {
  6760. "type": "string",
  6761. "description": "市场ID列表,格式:1,2,3",
  6762. "name": "marketIDs",
  6763. "in": "query",
  6764. "required": true
  6765. },
  6766. {
  6767. "type": "integer",
  6768. "description": "目的地(省)ID",
  6769. "name": "descProvinceID",
  6770. "in": "query"
  6771. },
  6772. {
  6773. "type": "integer",
  6774. "description": "目的地(市)ID",
  6775. "name": "descCityID",
  6776. "in": "query"
  6777. }
  6778. ],
  6779. "responses": {
  6780. "200": {
  6781. "description": "OK",
  6782. "schema": {
  6783. "$ref": "#/definitions/models.HsbyPreGoods"
  6784. }
  6785. },
  6786. "500": {
  6787. "description": "Internal Server Error",
  6788. "schema": {
  6789. "$ref": "#/definitions/app.Response"
  6790. }
  6791. }
  6792. }
  6793. }
  6794. },
  6795. "/HSBY/QueryHsbySellMyDetails": {
  6796. "get": {
  6797. "security": [
  6798. {
  6799. "ApiKeyAuth": []
  6800. }
  6801. ],
  6802. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6803. "produces": [
  6804. "application/json"
  6805. ],
  6806. "tags": [
  6807. "定制【海商报业】"
  6808. ],
  6809. "summary": "查询\"我的闲置\"单据信息",
  6810. "parameters": [
  6811. {
  6812. "type": "integer",
  6813. "description": "页码",
  6814. "name": "page",
  6815. "in": "query"
  6816. },
  6817. {
  6818. "type": "integer",
  6819. "description": "每页条数",
  6820. "name": "pagesize",
  6821. "in": "query"
  6822. },
  6823. {
  6824. "type": "string",
  6825. "description": "资金账户列表,格式:1,2,3",
  6826. "name": "accountIDs",
  6827. "in": "query",
  6828. "required": true
  6829. },
  6830. {
  6831. "type": "integer",
  6832. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6833. "name": "orderType",
  6834. "in": "query"
  6835. }
  6836. ],
  6837. "responses": {
  6838. "200": {
  6839. "description": "OK",
  6840. "schema": {
  6841. "$ref": "#/definitions/models.HsbySellMyDetail"
  6842. }
  6843. },
  6844. "500": {
  6845. "description": "Internal Server Error",
  6846. "schema": {
  6847. "$ref": "#/definitions/app.Response"
  6848. }
  6849. }
  6850. }
  6851. }
  6852. },
  6853. "/HSBY/QueryHsbyTopGoodses": {
  6854. "get": {
  6855. "security": [
  6856. {
  6857. "ApiKeyAuth": []
  6858. }
  6859. ],
  6860. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6861. "produces": [
  6862. "application/json"
  6863. ],
  6864. "tags": [
  6865. "定制【海商报业】"
  6866. ],
  6867. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6868. "parameters": [
  6869. {
  6870. "type": "integer",
  6871. "description": "页码",
  6872. "name": "page",
  6873. "in": "query"
  6874. },
  6875. {
  6876. "type": "integer",
  6877. "description": "每页条数",
  6878. "name": "pagesize",
  6879. "in": "query"
  6880. },
  6881. {
  6882. "type": "string",
  6883. "description": "市场ID列表,格式:1,2,3",
  6884. "name": "marketIDs",
  6885. "in": "query",
  6886. "required": true
  6887. },
  6888. {
  6889. "type": "integer",
  6890. "description": "目的地(省)ID",
  6891. "name": "descProvinceID",
  6892. "in": "query"
  6893. },
  6894. {
  6895. "type": "integer",
  6896. "description": "目的地(市)ID",
  6897. "name": "descCityID",
  6898. "in": "query"
  6899. }
  6900. ],
  6901. "responses": {
  6902. "200": {
  6903. "description": "OK",
  6904. "schema": {
  6905. "$ref": "#/definitions/models.HsbyTopGoods"
  6906. }
  6907. },
  6908. "500": {
  6909. "description": "Internal Server Error",
  6910. "schema": {
  6911. "$ref": "#/definitions/app.Response"
  6912. }
  6913. }
  6914. }
  6915. }
  6916. },
  6917. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6918. "get": {
  6919. "security": [
  6920. {
  6921. "ApiKeyAuth": []
  6922. }
  6923. ],
  6924. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6925. "produces": [
  6926. "application/json"
  6927. ],
  6928. "tags": [
  6929. "定制【海商报业】"
  6930. ],
  6931. "summary": "查询游客三级市场(商城)商品信息详情",
  6932. "parameters": [
  6933. {
  6934. "type": "integer",
  6935. "description": "商品ID",
  6936. "name": "goodsID",
  6937. "in": "query",
  6938. "required": true
  6939. }
  6940. ],
  6941. "responses": {
  6942. "200": {
  6943. "description": "OK",
  6944. "schema": {
  6945. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6946. }
  6947. },
  6948. "500": {
  6949. "description": "Internal Server Error",
  6950. "schema": {
  6951. "$ref": "#/definitions/app.Response"
  6952. }
  6953. }
  6954. }
  6955. }
  6956. },
  6957. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6958. "get": {
  6959. "security": [
  6960. {
  6961. "ApiKeyAuth": []
  6962. }
  6963. ],
  6964. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6965. "produces": [
  6966. "application/json"
  6967. ],
  6968. "tags": [
  6969. "定制【海商报业】"
  6970. ],
  6971. "summary": "查询游客特卖商品列表(三级商城)",
  6972. "parameters": [
  6973. {
  6974. "type": "integer",
  6975. "description": "页码",
  6976. "name": "page",
  6977. "in": "query"
  6978. },
  6979. {
  6980. "type": "integer",
  6981. "description": "每页条数",
  6982. "name": "pagesize",
  6983. "in": "query"
  6984. },
  6985. {
  6986. "type": "string",
  6987. "description": "市场ID列表,格式:1,2,3",
  6988. "name": "marketIDs",
  6989. "in": "query",
  6990. "required": true
  6991. },
  6992. {
  6993. "type": "integer",
  6994. "description": "类别ID",
  6995. "name": "categoryID",
  6996. "in": "query"
  6997. },
  6998. {
  6999. "type": "string",
  7000. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  7001. "name": "goodsIDs",
  7002. "in": "query"
  7003. }
  7004. ],
  7005. "responses": {
  7006. "200": {
  7007. "description": "OK",
  7008. "schema": {
  7009. "$ref": "#/definitions/models.HsbyMarketGoods"
  7010. }
  7011. },
  7012. "500": {
  7013. "description": "Internal Server Error",
  7014. "schema": {
  7015. "$ref": "#/definitions/app.Response"
  7016. }
  7017. }
  7018. }
  7019. }
  7020. },
  7021. "/HSBY/QueryMyCollectionOrders": {
  7022. "get": {
  7023. "security": [
  7024. {
  7025. "ApiKeyAuth": []
  7026. }
  7027. ],
  7028. "produces": [
  7029. "application/json"
  7030. ],
  7031. "tags": [
  7032. "定制【海商报业】"
  7033. ],
  7034. "summary": "我的闲置中收款信息查询",
  7035. "parameters": [
  7036. {
  7037. "type": "integer",
  7038. "description": "页码",
  7039. "name": "page",
  7040. "in": "query"
  7041. },
  7042. {
  7043. "type": "integer",
  7044. "description": "每页条数",
  7045. "name": "pagesize",
  7046. "in": "query"
  7047. },
  7048. {
  7049. "type": "string",
  7050. "description": "资金账户,格式:1,2,3",
  7051. "name": "accountIDs",
  7052. "in": "query",
  7053. "required": true
  7054. }
  7055. ],
  7056. "responses": {
  7057. "200": {
  7058. "description": "OK",
  7059. "schema": {
  7060. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  7061. }
  7062. },
  7063. "500": {
  7064. "description": "Internal Server Error",
  7065. "schema": {
  7066. "$ref": "#/definitions/app.Response"
  7067. }
  7068. }
  7069. }
  7070. }
  7071. },
  7072. "/HSBY/QueryMyCouponHolds": {
  7073. "get": {
  7074. "security": [
  7075. {
  7076. "ApiKeyAuth": []
  7077. }
  7078. ],
  7079. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  7080. "produces": [
  7081. "application/json"
  7082. ],
  7083. "tags": [
  7084. "定制【海商报业】"
  7085. ],
  7086. "summary": "我的优惠卷持仓查询",
  7087. "parameters": [
  7088. {
  7089. "type": "string",
  7090. "description": "资金账户列表,格式:1,2,3",
  7091. "name": "accountIDs",
  7092. "in": "query",
  7093. "required": true
  7094. },
  7095. {
  7096. "type": "string",
  7097. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  7098. "name": "holdStatus",
  7099. "in": "query"
  7100. }
  7101. ],
  7102. "responses": {
  7103. "200": {
  7104. "description": "OK",
  7105. "schema": {
  7106. "$ref": "#/definitions/models.MyCouponHold"
  7107. }
  7108. },
  7109. "500": {
  7110. "description": "Internal Server Error",
  7111. "schema": {
  7112. "$ref": "#/definitions/app.Response"
  7113. }
  7114. }
  7115. }
  7116. }
  7117. },
  7118. "/HSBY/QueryMyCoupons": {
  7119. "get": {
  7120. "security": [
  7121. {
  7122. "ApiKeyAuth": []
  7123. }
  7124. ],
  7125. "produces": [
  7126. "application/json"
  7127. ],
  7128. "tags": [
  7129. "定制【海商报业】"
  7130. ],
  7131. "summary": "我的优惠卷查询",
  7132. "parameters": [
  7133. {
  7134. "type": "string",
  7135. "description": "资金账户列表,格式:1,2,3",
  7136. "name": "accountIDs",
  7137. "in": "query",
  7138. "required": true
  7139. },
  7140. {
  7141. "type": "integer",
  7142. "description": "商品ID, 一般与sellUserID配套传入",
  7143. "name": "goodsID",
  7144. "in": "query"
  7145. },
  7146. {
  7147. "type": "integer",
  7148. "description": "卖方UserID",
  7149. "name": "sellUserID",
  7150. "in": "query"
  7151. }
  7152. ],
  7153. "responses": {
  7154. "200": {
  7155. "description": "OK",
  7156. "schema": {
  7157. "$ref": "#/definitions/models.MyCoupon"
  7158. }
  7159. },
  7160. "500": {
  7161. "description": "Internal Server Error",
  7162. "schema": {
  7163. "$ref": "#/definitions/app.Response"
  7164. }
  7165. }
  7166. }
  7167. }
  7168. },
  7169. "/HSBY/QueryMyPayOrders": {
  7170. "get": {
  7171. "security": [
  7172. {
  7173. "ApiKeyAuth": []
  7174. }
  7175. ],
  7176. "produces": [
  7177. "application/json"
  7178. ],
  7179. "tags": [
  7180. "定制【海商报业】"
  7181. ],
  7182. "summary": "获取我的订单中待付款信息",
  7183. "parameters": [
  7184. {
  7185. "type": "integer",
  7186. "description": "页码",
  7187. "name": "page",
  7188. "in": "query"
  7189. },
  7190. {
  7191. "type": "integer",
  7192. "description": "每页条数",
  7193. "name": "pagesize",
  7194. "in": "query"
  7195. },
  7196. {
  7197. "type": "string",
  7198. "description": "资金账户列表,格式:1,2,3",
  7199. "name": "accountIDs",
  7200. "in": "query",
  7201. "required": true
  7202. },
  7203. {
  7204. "type": "integer",
  7205. "description": "买方委托单号",
  7206. "name": "buyOrderID",
  7207. "in": "query"
  7208. },
  7209. {
  7210. "type": "integer",
  7211. "description": "卖方委托单号",
  7212. "name": "sellOrderID",
  7213. "in": "query"
  7214. }
  7215. ],
  7216. "responses": {
  7217. "200": {
  7218. "description": "OK",
  7219. "schema": {
  7220. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  7221. }
  7222. },
  7223. "500": {
  7224. "description": "Internal Server Error",
  7225. "schema": {
  7226. "$ref": "#/definitions/app.Response"
  7227. }
  7228. }
  7229. }
  7230. }
  7231. },
  7232. "/HSBY/QueryMyUsedCoupon": {
  7233. "get": {
  7234. "security": [
  7235. {
  7236. "ApiKeyAuth": []
  7237. }
  7238. ],
  7239. "produces": [
  7240. "application/json"
  7241. ],
  7242. "tags": [
  7243. "定制【海商报业】"
  7244. ],
  7245. "summary": "已使用优惠卷查询",
  7246. "parameters": [
  7247. {
  7248. "type": "string",
  7249. "description": "资金账户列表,格式:1,2,3",
  7250. "name": "accountIDs",
  7251. "in": "query",
  7252. "required": true
  7253. }
  7254. ],
  7255. "responses": {
  7256. "200": {
  7257. "description": "OK",
  7258. "schema": {
  7259. "$ref": "#/definitions/models.MyUsedCoupon"
  7260. }
  7261. },
  7262. "500": {
  7263. "description": "Internal Server Error",
  7264. "schema": {
  7265. "$ref": "#/definitions/app.Response"
  7266. }
  7267. }
  7268. }
  7269. }
  7270. },
  7271. "/HSBY/QueryProvincesAndCities": {
  7272. "get": {
  7273. "security": [
  7274. {
  7275. "ApiKeyAuth": []
  7276. }
  7277. ],
  7278. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  7279. "produces": [
  7280. "application/json"
  7281. ],
  7282. "tags": [
  7283. "定制【海商报业】"
  7284. ],
  7285. "summary": "查询省市信息(不包括区)",
  7286. "parameters": [
  7287. {
  7288. "type": "integer",
  7289. "description": "省ID",
  7290. "name": "provinceID",
  7291. "in": "query"
  7292. }
  7293. ],
  7294. "responses": {
  7295. "200": {
  7296. "description": "OK",
  7297. "schema": {
  7298. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  7299. }
  7300. },
  7301. "500": {
  7302. "description": "Internal Server Error",
  7303. "schema": {
  7304. "$ref": "#/definitions/app.Response"
  7305. }
  7306. }
  7307. }
  7308. }
  7309. },
  7310. "/HSBY/SetHsbyMyPackagesStatus": {
  7311. "post": {
  7312. "security": [
  7313. {
  7314. "ApiKeyAuth": []
  7315. }
  7316. ],
  7317. "produces": [
  7318. "application/json"
  7319. ],
  7320. "tags": [
  7321. "定制【海商报业】"
  7322. ],
  7323. "summary": "设置我的包裹已收货状态",
  7324. "parameters": [
  7325. {
  7326. "type": "string",
  7327. "description": "提货单号",
  7328. "name": "takeOrderID",
  7329. "in": "query",
  7330. "required": true
  7331. },
  7332. {
  7333. "type": "integer",
  7334. "description": "资金账号",
  7335. "name": "accountID",
  7336. "in": "query",
  7337. "required": true
  7338. }
  7339. ],
  7340. "responses": {
  7341. "200": {
  7342. "description": "OK",
  7343. "schema": {
  7344. "$ref": "#/definitions/app.Response"
  7345. }
  7346. },
  7347. "500": {
  7348. "description": "Internal Server Error",
  7349. "schema": {
  7350. "$ref": "#/definitions/app.Response"
  7351. }
  7352. }
  7353. }
  7354. }
  7355. },
  7356. "/Market/GetAllExExchanges": {
  7357. "get": {
  7358. "security": [
  7359. {
  7360. "ApiKeyAuth": []
  7361. }
  7362. ],
  7363. "produces": [
  7364. "application/json"
  7365. ],
  7366. "tags": [
  7367. "通用市场"
  7368. ],
  7369. "summary": "获取所有外部交易所信息",
  7370. "responses": {
  7371. "200": {
  7372. "description": "OK",
  7373. "schema": {
  7374. "$ref": "#/definitions/models.Goods"
  7375. }
  7376. },
  7377. "500": {
  7378. "description": "Internal Server Error",
  7379. "schema": {
  7380. "$ref": "#/definitions/app.Response"
  7381. }
  7382. }
  7383. }
  7384. }
  7385. },
  7386. "/Market/QueryGoodsesByLoginID": {
  7387. "get": {
  7388. "security": [
  7389. {
  7390. "ApiKeyAuth": []
  7391. }
  7392. ],
  7393. "produces": [
  7394. "application/json"
  7395. ],
  7396. "tags": [
  7397. "通用市场"
  7398. ],
  7399. "summary": "获取登录账号有权限的商品信息",
  7400. "parameters": [
  7401. {
  7402. "type": "integer",
  7403. "description": "登录账号",
  7404. "name": "loginID",
  7405. "in": "query",
  7406. "required": true
  7407. },
  7408. {
  7409. "type": "string",
  7410. "description": "市场ID列表,格式:1,2,3",
  7411. "name": "marketIDs",
  7412. "in": "query"
  7413. }
  7414. ],
  7415. "responses": {
  7416. "200": {
  7417. "description": "OK",
  7418. "schema": {
  7419. "$ref": "#/definitions/models.Goods"
  7420. }
  7421. },
  7422. "500": {
  7423. "description": "Internal Server Error",
  7424. "schema": {
  7425. "$ref": "#/definitions/app.Response"
  7426. }
  7427. }
  7428. }
  7429. }
  7430. },
  7431. "/Market/QueryMarketRun": {
  7432. "get": {
  7433. "security": [
  7434. {
  7435. "ApiKeyAuth": []
  7436. }
  7437. ],
  7438. "produces": [
  7439. "application/json"
  7440. ],
  7441. "tags": [
  7442. "通用市场"
  7443. ],
  7444. "summary": "查询市场运行信息",
  7445. "parameters": [
  7446. {
  7447. "type": "integer",
  7448. "description": "市场ID,不传返回所有",
  7449. "name": "marketID",
  7450. "in": "query"
  7451. }
  7452. ],
  7453. "responses": {
  7454. "200": {
  7455. "description": "OK",
  7456. "schema": {
  7457. "$ref": "#/definitions/models.Marketrun"
  7458. }
  7459. },
  7460. "500": {
  7461. "description": "Internal Server Error",
  7462. "schema": {
  7463. "$ref": "#/definitions/app.Response"
  7464. }
  7465. }
  7466. }
  7467. }
  7468. },
  7469. "/Market/QueryMarketsByLoginID": {
  7470. "get": {
  7471. "security": [
  7472. {
  7473. "ApiKeyAuth": []
  7474. }
  7475. ],
  7476. "produces": [
  7477. "application/json"
  7478. ],
  7479. "tags": [
  7480. "通用市场"
  7481. ],
  7482. "summary": "获取登录账号有权限的市场信息",
  7483. "parameters": [
  7484. {
  7485. "type": "integer",
  7486. "description": "登录账号",
  7487. "name": "loginID",
  7488. "in": "query",
  7489. "required": true
  7490. }
  7491. ],
  7492. "responses": {
  7493. "200": {
  7494. "description": "OK",
  7495. "schema": {
  7496. "$ref": "#/definitions/models.Market"
  7497. }
  7498. },
  7499. "500": {
  7500. "description": "Internal Server Error",
  7501. "schema": {
  7502. "$ref": "#/definitions/app.Response"
  7503. }
  7504. }
  7505. }
  7506. }
  7507. },
  7508. "/Order/QueryHisTradeDetail": {
  7509. "get": {
  7510. "security": [
  7511. {
  7512. "ApiKeyAuth": []
  7513. }
  7514. ],
  7515. "produces": [
  7516. "application/json"
  7517. ],
  7518. "tags": [
  7519. "通用单据"
  7520. ],
  7521. "summary": "历史成交单查询(合约市场)",
  7522. "parameters": [
  7523. {
  7524. "type": "string",
  7525. "description": "资金账户 - 格式:1,2,3",
  7526. "name": "accountID",
  7527. "in": "query",
  7528. "required": true
  7529. },
  7530. {
  7531. "type": "integer",
  7532. "description": "成交单号",
  7533. "name": "tradeID",
  7534. "in": "query"
  7535. },
  7536. {
  7537. "type": "integer",
  7538. "description": "委托单号",
  7539. "name": "orderID",
  7540. "in": "query"
  7541. },
  7542. {
  7543. "type": "integer",
  7544. "description": "商品ID",
  7545. "name": "goodsID",
  7546. "in": "query"
  7547. },
  7548. {
  7549. "type": "string",
  7550. "description": "交易模式 - 格式:1,2,3",
  7551. "name": "tradeMode",
  7552. "in": "query"
  7553. },
  7554. {
  7555. "type": "integer",
  7556. "description": "委托单据类型",
  7557. "name": "buildType",
  7558. "in": "query"
  7559. },
  7560. {
  7561. "type": "string",
  7562. "description": "成交类别 - 格式:1,2,3",
  7563. "name": "tradeType",
  7564. "in": "query"
  7565. },
  7566. {
  7567. "type": "string",
  7568. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7569. "name": "startDate",
  7570. "in": "query"
  7571. },
  7572. {
  7573. "type": "string",
  7574. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7575. "name": "endDate",
  7576. "in": "query"
  7577. }
  7578. ],
  7579. "responses": {
  7580. "200": {
  7581. "description": "OK",
  7582. "schema": {
  7583. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  7584. }
  7585. },
  7586. "500": {
  7587. "description": "Internal Server Error",
  7588. "schema": {
  7589. "$ref": "#/definitions/app.Response"
  7590. }
  7591. }
  7592. }
  7593. }
  7594. },
  7595. "/Order/QueryHisTradeOrderDetail": {
  7596. "get": {
  7597. "security": [
  7598. {
  7599. "ApiKeyAuth": []
  7600. }
  7601. ],
  7602. "produces": [
  7603. "application/json"
  7604. ],
  7605. "tags": [
  7606. "通用单据"
  7607. ],
  7608. "summary": "历史委托单查询请求(合约市场)",
  7609. "parameters": [
  7610. {
  7611. "type": "string",
  7612. "description": "资金账户 - 格式:1,2,3",
  7613. "name": "accountID",
  7614. "in": "query",
  7615. "required": true
  7616. },
  7617. {
  7618. "type": "string",
  7619. "description": "交易模式 - 格式:1,2,3",
  7620. "name": "tradeMode",
  7621. "in": "query"
  7622. },
  7623. {
  7624. "type": "string",
  7625. "description": "委托状态 - 格式:1,2,3",
  7626. "name": "orderStatus",
  7627. "in": "query"
  7628. },
  7629. {
  7630. "type": "integer",
  7631. "description": "委托单号",
  7632. "name": "orderID",
  7633. "in": "query"
  7634. },
  7635. {
  7636. "type": "string",
  7637. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7638. "name": "startDate",
  7639. "in": "query"
  7640. },
  7641. {
  7642. "type": "string",
  7643. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7644. "name": "endDate",
  7645. "in": "query"
  7646. }
  7647. ],
  7648. "responses": {
  7649. "200": {
  7650. "description": "OK",
  7651. "schema": {
  7652. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7653. }
  7654. },
  7655. "500": {
  7656. "description": "Internal Server Error",
  7657. "schema": {
  7658. "$ref": "#/definitions/app.Response"
  7659. }
  7660. }
  7661. }
  7662. }
  7663. },
  7664. "/Order/QueryTradeDetail": {
  7665. "get": {
  7666. "security": [
  7667. {
  7668. "ApiKeyAuth": []
  7669. }
  7670. ],
  7671. "produces": [
  7672. "application/json"
  7673. ],
  7674. "tags": [
  7675. "通用单据"
  7676. ],
  7677. "summary": "成交单查询(合约市场)",
  7678. "parameters": [
  7679. {
  7680. "type": "string",
  7681. "description": "资金账户 - 格式:1,2,3",
  7682. "name": "accountID",
  7683. "in": "query",
  7684. "required": true
  7685. },
  7686. {
  7687. "type": "integer",
  7688. "description": "成交单号",
  7689. "name": "tradeID",
  7690. "in": "query"
  7691. },
  7692. {
  7693. "type": "integer",
  7694. "description": "委托单号",
  7695. "name": "orderID",
  7696. "in": "query"
  7697. },
  7698. {
  7699. "type": "string",
  7700. "description": "交易模式 - 格式:1,2,3",
  7701. "name": "tradeMode",
  7702. "in": "query"
  7703. },
  7704. {
  7705. "type": "integer",
  7706. "description": "委托单据类型",
  7707. "name": "buildType",
  7708. "in": "query"
  7709. },
  7710. {
  7711. "type": "string",
  7712. "description": "成交类别 - 格式:1,2,3",
  7713. "name": "tradeType",
  7714. "in": "query"
  7715. },
  7716. {
  7717. "type": "integer",
  7718. "description": "商品ID",
  7719. "name": "goodsID",
  7720. "in": "query"
  7721. }
  7722. ],
  7723. "responses": {
  7724. "200": {
  7725. "description": "OK",
  7726. "schema": {
  7727. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7728. }
  7729. },
  7730. "500": {
  7731. "description": "Internal Server Error",
  7732. "schema": {
  7733. "$ref": "#/definitions/app.Response"
  7734. }
  7735. }
  7736. }
  7737. }
  7738. },
  7739. "/Order/QueryTradeHolderDetail": {
  7740. "get": {
  7741. "security": [
  7742. {
  7743. "ApiKeyAuth": []
  7744. }
  7745. ],
  7746. "produces": [
  7747. "application/json"
  7748. ],
  7749. "tags": [
  7750. "通用单据"
  7751. ],
  7752. "summary": "查询持仓明细",
  7753. "parameters": [
  7754. {
  7755. "type": "integer",
  7756. "description": "用户id",
  7757. "name": "userid",
  7758. "in": "query"
  7759. },
  7760. {
  7761. "type": "string",
  7762. "description": "资金账号, 格式 1,2,3",
  7763. "name": "accids",
  7764. "in": "query"
  7765. },
  7766. {
  7767. "type": "string",
  7768. "description": "交易模式, 格式 1,2,3",
  7769. "name": "trademodes",
  7770. "in": "query"
  7771. },
  7772. {
  7773. "type": "string",
  7774. "description": "市场id, 格式 1,2,3",
  7775. "name": "marketids",
  7776. "in": "query"
  7777. },
  7778. {
  7779. "type": "integer",
  7780. "description": "商品id",
  7781. "name": "goodsid",
  7782. "in": "query"
  7783. },
  7784. {
  7785. "type": "integer",
  7786. "description": "买卖方向 0-买 1-卖",
  7787. "name": "buyorsell",
  7788. "in": "query"
  7789. }
  7790. ],
  7791. "responses": {
  7792. "200": {
  7793. "description": "OK",
  7794. "schema": {
  7795. "type": "array",
  7796. "items": {
  7797. "$ref": "#/definitions/models.TradeHolderDetail"
  7798. }
  7799. }
  7800. },
  7801. "500": {
  7802. "description": "Internal Server Error",
  7803. "schema": {
  7804. "$ref": "#/definitions/app.Response"
  7805. }
  7806. }
  7807. }
  7808. }
  7809. },
  7810. "/Order/QueryTradeOrderDetail": {
  7811. "get": {
  7812. "security": [
  7813. {
  7814. "ApiKeyAuth": []
  7815. }
  7816. ],
  7817. "produces": [
  7818. "application/json"
  7819. ],
  7820. "tags": [
  7821. "通用单据"
  7822. ],
  7823. "summary": "委托单查询请求(合约市场)",
  7824. "parameters": [
  7825. {
  7826. "type": "string",
  7827. "description": "资金账户 - 格式:1,2,3",
  7828. "name": "accountID",
  7829. "in": "query",
  7830. "required": true
  7831. },
  7832. {
  7833. "type": "string",
  7834. "description": "交易模式 - 格式:1,2,3",
  7835. "name": "tradeMode",
  7836. "in": "query"
  7837. },
  7838. {
  7839. "type": "string",
  7840. "description": "委托状态 - 格式:1,2,3",
  7841. "name": "orderStatus",
  7842. "in": "query"
  7843. },
  7844. {
  7845. "type": "integer",
  7846. "description": "委托单号",
  7847. "name": "orderID",
  7848. "in": "query"
  7849. }
  7850. ],
  7851. "responses": {
  7852. "200": {
  7853. "description": "OK",
  7854. "schema": {
  7855. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7856. }
  7857. },
  7858. "500": {
  7859. "description": "Internal Server Error",
  7860. "schema": {
  7861. "$ref": "#/definitions/app.Response"
  7862. }
  7863. }
  7864. }
  7865. }
  7866. },
  7867. "/Order/QueryTradePosition": {
  7868. "get": {
  7869. "security": [
  7870. {
  7871. "ApiKeyAuth": []
  7872. }
  7873. ],
  7874. "produces": [
  7875. "application/json"
  7876. ],
  7877. "tags": [
  7878. "通用单据"
  7879. ],
  7880. "summary": "持仓汇总查询(合约市场)",
  7881. "parameters": [
  7882. {
  7883. "type": "string",
  7884. "description": "资金账户 - 格式:1,2,3",
  7885. "name": "accountID",
  7886. "in": "query",
  7887. "required": true
  7888. },
  7889. {
  7890. "type": "string",
  7891. "description": "交易模式 - 格式:1,2,3",
  7892. "name": "tradeMode",
  7893. "in": "query"
  7894. }
  7895. ],
  7896. "responses": {
  7897. "200": {
  7898. "description": "OK",
  7899. "schema": {
  7900. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7901. }
  7902. },
  7903. "500": {
  7904. "description": "Internal Server Error",
  7905. "schema": {
  7906. "$ref": "#/definitions/app.Response"
  7907. }
  7908. }
  7909. }
  7910. }
  7911. },
  7912. "/Qhj/QueryAccountInOutApply": {
  7913. "get": {
  7914. "security": [
  7915. {
  7916. "ApiKeyAuth": []
  7917. }
  7918. ],
  7919. "produces": [
  7920. "application/json"
  7921. ],
  7922. "tags": [
  7923. "大连千海金"
  7924. ],
  7925. "summary": "查询充值提现",
  7926. "parameters": [
  7927. {
  7928. "type": "integer",
  7929. "description": "用户ID",
  7930. "name": "userid",
  7931. "in": "query",
  7932. "required": true
  7933. },
  7934. {
  7935. "type": "string",
  7936. "description": "申请起始日期(格式yyyymmdd)",
  7937. "name": "begindate",
  7938. "in": "query"
  7939. },
  7940. {
  7941. "type": "string",
  7942. "description": "申请截止日期(格式yyyymmdd)",
  7943. "name": "enddate",
  7944. "in": "query"
  7945. },
  7946. {
  7947. "type": "string",
  7948. "description": "模糊搜索名称",
  7949. "name": "likename",
  7950. "in": "query"
  7951. }
  7952. ],
  7953. "responses": {
  7954. "200": {
  7955. "description": "OK",
  7956. "schema": {
  7957. "type": "array",
  7958. "items": {
  7959. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7960. }
  7961. }
  7962. },
  7963. "500": {
  7964. "description": "Internal Server Error",
  7965. "schema": {
  7966. "$ref": "#/definitions/app.Response"
  7967. }
  7968. }
  7969. }
  7970. }
  7971. },
  7972. "/Qhj/QueryAreaFinanceConfig": {
  7973. "get": {
  7974. "security": [
  7975. {
  7976. "ApiKeyAuth": []
  7977. }
  7978. ],
  7979. "produces": [
  7980. "application/json"
  7981. ],
  7982. "tags": [
  7983. "大连千海金"
  7984. ],
  7985. "summary": "查询企业配置表",
  7986. "parameters": [
  7987. {
  7988. "type": "integer",
  7989. "description": "机构用户ID 其他做市关系,都设置为 1",
  7990. "name": "userid",
  7991. "in": "query"
  7992. }
  7993. ],
  7994. "responses": {
  7995. "200": {
  7996. "description": "OK",
  7997. "schema": {
  7998. "type": "array",
  7999. "items": {
  8000. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  8001. }
  8002. }
  8003. },
  8004. "500": {
  8005. "description": "Internal Server Error",
  8006. "schema": {
  8007. "$ref": "#/definitions/app.Response"
  8008. }
  8009. }
  8010. }
  8011. }
  8012. },
  8013. "/Qhj/QueryBankAccountSign": {
  8014. "get": {
  8015. "security": [
  8016. {
  8017. "ApiKeyAuth": []
  8018. }
  8019. ],
  8020. "produces": [
  8021. "application/json"
  8022. ],
  8023. "tags": [
  8024. "大连千海金"
  8025. ],
  8026. "summary": "查询签约银行信息(提现账户管理)",
  8027. "parameters": [
  8028. {
  8029. "type": "integer",
  8030. "description": "用户ID",
  8031. "name": "userid",
  8032. "in": "query",
  8033. "required": true
  8034. }
  8035. ],
  8036. "responses": {
  8037. "200": {
  8038. "description": "OK",
  8039. "schema": {
  8040. "type": "array",
  8041. "items": {
  8042. "$ref": "#/definitions/models.QhjBankAccountSign"
  8043. }
  8044. }
  8045. },
  8046. "500": {
  8047. "description": "Internal Server Error",
  8048. "schema": {
  8049. "$ref": "#/definitions/app.Response"
  8050. }
  8051. }
  8052. }
  8053. }
  8054. },
  8055. "/Qhj/QueryBankInfo": {
  8056. "get": {
  8057. "security": [
  8058. {
  8059. "ApiKeyAuth": []
  8060. }
  8061. ],
  8062. "produces": [
  8063. "application/json"
  8064. ],
  8065. "tags": [
  8066. "大连千海金"
  8067. ],
  8068. "summary": "查询开户行",
  8069. "responses": {
  8070. "200": {
  8071. "description": "OK",
  8072. "schema": {
  8073. "type": "array",
  8074. "items": {
  8075. "$ref": "#/definitions/models.QhjBankInfo"
  8076. }
  8077. }
  8078. },
  8079. "500": {
  8080. "description": "Internal Server Error",
  8081. "schema": {
  8082. "$ref": "#/definitions/app.Response"
  8083. }
  8084. }
  8085. }
  8086. }
  8087. },
  8088. "/Qhj/QueryBrokerApply": {
  8089. "get": {
  8090. "security": [
  8091. {
  8092. "ApiKeyAuth": []
  8093. }
  8094. ],
  8095. "produces": [
  8096. "application/json"
  8097. ],
  8098. "tags": [
  8099. "大连千海金"
  8100. ],
  8101. "summary": "查询经纪人申请",
  8102. "parameters": [
  8103. {
  8104. "type": "integer",
  8105. "description": "所属机构ID",
  8106. "name": "userid",
  8107. "in": "query"
  8108. },
  8109. {
  8110. "type": "string",
  8111. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8112. "name": "filterstatus",
  8113. "in": "query"
  8114. }
  8115. ],
  8116. "responses": {
  8117. "200": {
  8118. "description": "OK",
  8119. "schema": {
  8120. "type": "array",
  8121. "items": {
  8122. "$ref": "#/definitions/models.QhjBrokerApply"
  8123. }
  8124. }
  8125. },
  8126. "500": {
  8127. "description": "Internal Server Error",
  8128. "schema": {
  8129. "$ref": "#/definitions/app.Response"
  8130. }
  8131. }
  8132. }
  8133. }
  8134. },
  8135. "/Qhj/QueryBrokerApplyEx": {
  8136. "get": {
  8137. "security": [
  8138. {
  8139. "ApiKeyAuth": []
  8140. }
  8141. ],
  8142. "produces": [
  8143. "application/json"
  8144. ],
  8145. "tags": [
  8146. "大连千海金"
  8147. ],
  8148. "summary": "查询经纪人信息和申请记录",
  8149. "parameters": [
  8150. {
  8151. "type": "integer",
  8152. "description": "所属机构ID",
  8153. "name": "userid",
  8154. "in": "query"
  8155. }
  8156. ],
  8157. "responses": {
  8158. "200": {
  8159. "description": "OK",
  8160. "schema": {
  8161. "type": "array",
  8162. "items": {
  8163. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  8164. }
  8165. }
  8166. },
  8167. "500": {
  8168. "description": "Internal Server Error",
  8169. "schema": {
  8170. "$ref": "#/definitions/app.Response"
  8171. }
  8172. }
  8173. }
  8174. }
  8175. },
  8176. "/Qhj/QueryBrokerRewardLog": {
  8177. "get": {
  8178. "security": [
  8179. {
  8180. "ApiKeyAuth": []
  8181. }
  8182. ],
  8183. "produces": [
  8184. "application/json"
  8185. ],
  8186. "tags": [
  8187. "大连千海金"
  8188. ],
  8189. "summary": "查询奖励流水(我的奖励)",
  8190. "parameters": [
  8191. {
  8192. "type": "integer",
  8193. "description": "用户ID",
  8194. "name": "userid",
  8195. "in": "query",
  8196. "required": true
  8197. },
  8198. {
  8199. "type": "string",
  8200. "description": "开始交易日(yyyymmdd)",
  8201. "name": "begindate",
  8202. "in": "query"
  8203. },
  8204. {
  8205. "type": "string",
  8206. "description": "结束交易日(yyyymmdd)",
  8207. "name": "enddate",
  8208. "in": "query"
  8209. }
  8210. ],
  8211. "responses": {
  8212. "200": {
  8213. "description": "OK",
  8214. "schema": {
  8215. "type": "array",
  8216. "items": {
  8217. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  8218. }
  8219. }
  8220. },
  8221. "500": {
  8222. "description": "Internal Server Error",
  8223. "schema": {
  8224. "$ref": "#/definitions/app.Response"
  8225. }
  8226. }
  8227. }
  8228. }
  8229. },
  8230. "/Qhj/QueryContract": {
  8231. "get": {
  8232. "security": [
  8233. {
  8234. "ApiKeyAuth": []
  8235. }
  8236. ],
  8237. "produces": [
  8238. "application/json"
  8239. ],
  8240. "tags": [
  8241. "大连千海金"
  8242. ],
  8243. "summary": "查询融资明细(合同)",
  8244. "parameters": [
  8245. {
  8246. "type": "integer",
  8247. "description": "用户ID",
  8248. "name": "userid",
  8249. "in": "query"
  8250. },
  8251. {
  8252. "type": "integer",
  8253. "description": "scf合同id",
  8254. "name": "scfcontractid",
  8255. "in": "query"
  8256. }
  8257. ],
  8258. "responses": {
  8259. "200": {
  8260. "description": "OK",
  8261. "schema": {
  8262. "type": "array",
  8263. "items": {
  8264. "$ref": "#/definitions/models.QhjContract"
  8265. }
  8266. }
  8267. },
  8268. "500": {
  8269. "description": "Internal Server Error",
  8270. "schema": {
  8271. "$ref": "#/definitions/app.Response"
  8272. }
  8273. }
  8274. }
  8275. }
  8276. },
  8277. "/Qhj/QueryContractLog": {
  8278. "get": {
  8279. "security": [
  8280. {
  8281. "ApiKeyAuth": []
  8282. }
  8283. ],
  8284. "produces": [
  8285. "application/json"
  8286. ],
  8287. "tags": [
  8288. "大连千海金"
  8289. ],
  8290. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  8291. "parameters": [
  8292. {
  8293. "type": "integer",
  8294. "description": "scf合同id",
  8295. "name": "scfcontractid",
  8296. "in": "query",
  8297. "required": true
  8298. },
  8299. {
  8300. "type": "string",
  8301. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  8302. "name": "amounttype",
  8303. "in": "query"
  8304. }
  8305. ],
  8306. "responses": {
  8307. "200": {
  8308. "description": "OK",
  8309. "schema": {
  8310. "type": "array",
  8311. "items": {
  8312. "$ref": "#/definitions/models.QhjContractLog"
  8313. }
  8314. }
  8315. },
  8316. "500": {
  8317. "description": "Internal Server Error",
  8318. "schema": {
  8319. "$ref": "#/definitions/app.Response"
  8320. }
  8321. }
  8322. }
  8323. }
  8324. },
  8325. "/Qhj/QueryCusBankSignBank": {
  8326. "get": {
  8327. "security": [
  8328. {
  8329. "ApiKeyAuth": []
  8330. }
  8331. ],
  8332. "produces": [
  8333. "application/json"
  8334. ],
  8335. "tags": [
  8336. "大连千海金"
  8337. ],
  8338. "summary": "查询托管银行",
  8339. "responses": {
  8340. "200": {
  8341. "description": "OK",
  8342. "schema": {
  8343. "type": "array",
  8344. "items": {
  8345. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  8346. }
  8347. }
  8348. },
  8349. "500": {
  8350. "description": "Internal Server Error",
  8351. "schema": {
  8352. "$ref": "#/definitions/app.Response"
  8353. }
  8354. }
  8355. }
  8356. }
  8357. },
  8358. "/Qhj/QueryCustomerInfo": {
  8359. "get": {
  8360. "security": [
  8361. {
  8362. "ApiKeyAuth": []
  8363. }
  8364. ],
  8365. "produces": [
  8366. "application/json"
  8367. ],
  8368. "tags": [
  8369. "大连千海金"
  8370. ],
  8371. "summary": "查询客户资料",
  8372. "parameters": [
  8373. {
  8374. "type": "integer",
  8375. "description": "用户ID",
  8376. "name": "userid",
  8377. "in": "query",
  8378. "required": true
  8379. },
  8380. {
  8381. "type": "integer",
  8382. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8383. "name": "querytype",
  8384. "in": "query",
  8385. "required": true
  8386. },
  8387. {
  8388. "type": "integer",
  8389. "description": "客户类型 1-个人 2-企业",
  8390. "name": "userinfotype",
  8391. "in": "query"
  8392. },
  8393. {
  8394. "type": "string",
  8395. "description": "客户名称(模糊匹配)",
  8396. "name": "customername",
  8397. "in": "query"
  8398. },
  8399. {
  8400. "type": "string",
  8401. "description": "昵称(模糊匹配)",
  8402. "name": "nickname",
  8403. "in": "query"
  8404. },
  8405. {
  8406. "type": "integer",
  8407. "description": "是否包含子级 1-包含",
  8408. "name": "includesub",
  8409. "in": "query"
  8410. }
  8411. ],
  8412. "responses": {
  8413. "200": {
  8414. "description": "OK",
  8415. "schema": {
  8416. "type": "array",
  8417. "items": {
  8418. "$ref": "#/definitions/models.QhjCustomer"
  8419. }
  8420. }
  8421. },
  8422. "500": {
  8423. "description": "Internal Server Error",
  8424. "schema": {
  8425. "$ref": "#/definitions/app.Response"
  8426. }
  8427. }
  8428. }
  8429. }
  8430. },
  8431. "/Qhj/QueryGoodsEx": {
  8432. "get": {
  8433. "security": [
  8434. {
  8435. "ApiKeyAuth": []
  8436. }
  8437. ],
  8438. "produces": [
  8439. "application/json"
  8440. ],
  8441. "tags": [
  8442. "大连千海金"
  8443. ],
  8444. "summary": "交易商品扩展表",
  8445. "parameters": [
  8446. {
  8447. "type": "integer",
  8448. "description": "商品id",
  8449. "name": "goodsid",
  8450. "in": "query"
  8451. }
  8452. ],
  8453. "responses": {
  8454. "200": {
  8455. "description": "OK",
  8456. "schema": {
  8457. "type": "array",
  8458. "items": {
  8459. "$ref": "#/definitions/models.Qhjgoodsex"
  8460. }
  8461. }
  8462. },
  8463. "500": {
  8464. "description": "Internal Server Error",
  8465. "schema": {
  8466. "$ref": "#/definitions/app.Response"
  8467. }
  8468. }
  8469. }
  8470. }
  8471. },
  8472. "/Qhj/QueryMyTeam": {
  8473. "get": {
  8474. "security": [
  8475. {
  8476. "ApiKeyAuth": []
  8477. }
  8478. ],
  8479. "produces": [
  8480. "application/json"
  8481. ],
  8482. "tags": [
  8483. "大连千海金"
  8484. ],
  8485. "summary": "查询我的团队",
  8486. "parameters": [
  8487. {
  8488. "type": "integer",
  8489. "description": "用户ID",
  8490. "name": "userid",
  8491. "in": "query",
  8492. "required": true
  8493. }
  8494. ],
  8495. "responses": {
  8496. "200": {
  8497. "description": "OK",
  8498. "schema": {
  8499. "type": "array",
  8500. "items": {
  8501. "$ref": "#/definitions/models.QhjMyTeamEx"
  8502. }
  8503. }
  8504. },
  8505. "500": {
  8506. "description": "Internal Server Error",
  8507. "schema": {
  8508. "$ref": "#/definitions/app.Response"
  8509. }
  8510. }
  8511. }
  8512. }
  8513. },
  8514. "/Qhj/QueryMyTeamOrder": {
  8515. "get": {
  8516. "security": [
  8517. {
  8518. "ApiKeyAuth": []
  8519. }
  8520. ],
  8521. "produces": [
  8522. "application/json"
  8523. ],
  8524. "tags": [
  8525. "大连千海金"
  8526. ],
  8527. "summary": "查询团队订单(我的团队/团队订单)",
  8528. "parameters": [
  8529. {
  8530. "type": "integer",
  8531. "description": "页码",
  8532. "name": "page",
  8533. "in": "query"
  8534. },
  8535. {
  8536. "type": "integer",
  8537. "description": "每页条数",
  8538. "name": "pagesize",
  8539. "in": "query"
  8540. },
  8541. {
  8542. "type": "integer",
  8543. "description": "用户ID",
  8544. "name": "userid",
  8545. "in": "query",
  8546. "required": true
  8547. },
  8548. {
  8549. "type": "integer",
  8550. "description": "交易模式",
  8551. "name": "trademode",
  8552. "in": "query"
  8553. },
  8554. {
  8555. "type": "string",
  8556. "description": "名称(模糊搜索账户)",
  8557. "name": "filtername",
  8558. "in": "query"
  8559. }
  8560. ],
  8561. "responses": {
  8562. "200": {
  8563. "description": "OK",
  8564. "schema": {
  8565. "type": "array",
  8566. "items": {
  8567. "$ref": "#/definitions/models.QhjTeamOrder"
  8568. }
  8569. }
  8570. },
  8571. "500": {
  8572. "description": "Internal Server Error",
  8573. "schema": {
  8574. "$ref": "#/definitions/app.Response"
  8575. }
  8576. }
  8577. }
  8578. }
  8579. },
  8580. "/Qhj/QueryParentAreaList": {
  8581. "get": {
  8582. "security": [
  8583. {
  8584. "ApiKeyAuth": []
  8585. }
  8586. ],
  8587. "produces": [
  8588. "application/json"
  8589. ],
  8590. "tags": [
  8591. "大连千海金"
  8592. ],
  8593. "summary": "查询所属机构列表",
  8594. "parameters": [
  8595. {
  8596. "type": "integer",
  8597. "description": "用户ID",
  8598. "name": "userid",
  8599. "in": "query",
  8600. "required": true
  8601. }
  8602. ],
  8603. "responses": {
  8604. "200": {
  8605. "description": "OK",
  8606. "schema": {
  8607. "type": "array",
  8608. "items": {
  8609. "$ref": "#/definitions/models.QhjParentAreaList"
  8610. }
  8611. }
  8612. },
  8613. "500": {
  8614. "description": "Internal Server Error",
  8615. "schema": {
  8616. "$ref": "#/definitions/app.Response"
  8617. }
  8618. }
  8619. }
  8620. }
  8621. },
  8622. "/Qhj/QueryPayOrder": {
  8623. "get": {
  8624. "security": [
  8625. {
  8626. "ApiKeyAuth": []
  8627. }
  8628. ],
  8629. "produces": [
  8630. "application/json"
  8631. ],
  8632. "tags": [
  8633. "大连千海金"
  8634. ],
  8635. "summary": "查询待付款单据",
  8636. "parameters": [
  8637. {
  8638. "type": "integer",
  8639. "description": "资金账号id",
  8640. "name": "accountid",
  8641. "in": "query",
  8642. "required": true
  8643. },
  8644. {
  8645. "type": "integer",
  8646. "description": "成交单号",
  8647. "name": "tradeid",
  8648. "in": "query"
  8649. },
  8650. {
  8651. "type": "string",
  8652. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8653. "name": "payflag",
  8654. "in": "query"
  8655. }
  8656. ],
  8657. "responses": {
  8658. "200": {
  8659. "description": "OK",
  8660. "schema": {
  8661. "type": "array",
  8662. "items": {
  8663. "$ref": "#/definitions/models.QhjPayOrder"
  8664. }
  8665. }
  8666. },
  8667. "500": {
  8668. "description": "Internal Server Error",
  8669. "schema": {
  8670. "$ref": "#/definitions/app.Response"
  8671. }
  8672. }
  8673. }
  8674. }
  8675. },
  8676. "/Qhj/QueryPickArea": {
  8677. "get": {
  8678. "security": [
  8679. {
  8680. "ApiKeyAuth": []
  8681. }
  8682. ],
  8683. "produces": [
  8684. "application/json"
  8685. ],
  8686. "tags": [
  8687. "大连千海金"
  8688. ],
  8689. "summary": "查询提货门店",
  8690. "parameters": [
  8691. {
  8692. "type": "integer",
  8693. "description": "用户ID",
  8694. "name": "userid",
  8695. "in": "query"
  8696. }
  8697. ],
  8698. "responses": {
  8699. "200": {
  8700. "description": "OK",
  8701. "schema": {
  8702. "type": "array",
  8703. "items": {
  8704. "$ref": "#/definitions/models.QhjPickArea"
  8705. }
  8706. }
  8707. },
  8708. "500": {
  8709. "description": "Internal Server Error",
  8710. "schema": {
  8711. "$ref": "#/definitions/app.Response"
  8712. }
  8713. }
  8714. }
  8715. }
  8716. },
  8717. "/Qhj/QueryPickGoods": {
  8718. "get": {
  8719. "security": [
  8720. {
  8721. "ApiKeyAuth": []
  8722. }
  8723. ],
  8724. "produces": [
  8725. "application/json"
  8726. ],
  8727. "tags": [
  8728. "大连千海金"
  8729. ],
  8730. "summary": "查询提货商品",
  8731. "parameters": [
  8732. {
  8733. "type": "integer",
  8734. "description": "交易商品id",
  8735. "name": "goodsid",
  8736. "in": "query",
  8737. "required": true
  8738. },
  8739. {
  8740. "type": "string",
  8741. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8742. "name": "status",
  8743. "in": "query"
  8744. }
  8745. ],
  8746. "responses": {
  8747. "200": {
  8748. "description": "OK",
  8749. "schema": {
  8750. "type": "array",
  8751. "items": {
  8752. "$ref": "#/definitions/models.QhjPickGoods"
  8753. }
  8754. }
  8755. },
  8756. "500": {
  8757. "description": "Internal Server Error",
  8758. "schema": {
  8759. "$ref": "#/definitions/app.Response"
  8760. }
  8761. }
  8762. }
  8763. }
  8764. },
  8765. "/Qhj/QueryRSTriggerLog": {
  8766. "get": {
  8767. "security": [
  8768. {
  8769. "ApiKeyAuth": []
  8770. }
  8771. ],
  8772. "produces": [
  8773. "application/json"
  8774. ],
  8775. "tags": [
  8776. "大连千海金"
  8777. ],
  8778. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8779. "parameters": [
  8780. {
  8781. "type": "integer",
  8782. "description": "用户ID",
  8783. "name": "userid",
  8784. "in": "query"
  8785. },
  8786. {
  8787. "type": "integer",
  8788. "description": "定投策略id",
  8789. "name": "regularlystrategyid",
  8790. "in": "query"
  8791. },
  8792. {
  8793. "type": "integer",
  8794. "description": "商品id",
  8795. "name": "goodsid",
  8796. "in": "query"
  8797. },
  8798. {
  8799. "type": "string",
  8800. "description": "开始交易日(yyyymmdd)",
  8801. "name": "begindate",
  8802. "in": "query"
  8803. },
  8804. {
  8805. "type": "string",
  8806. "description": "结束交易日(yyyymmdd)",
  8807. "name": "enddate",
  8808. "in": "query"
  8809. },
  8810. {
  8811. "type": "string",
  8812. "description": "名称(模糊搜索账户)",
  8813. "name": "filtername",
  8814. "in": "query"
  8815. }
  8816. ],
  8817. "responses": {
  8818. "200": {
  8819. "description": "OK",
  8820. "schema": {
  8821. "type": "array",
  8822. "items": {
  8823. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8824. }
  8825. }
  8826. },
  8827. "500": {
  8828. "description": "Internal Server Error",
  8829. "schema": {
  8830. "$ref": "#/definitions/app.Response"
  8831. }
  8832. }
  8833. }
  8834. }
  8835. },
  8836. "/Qhj/QueryRStrategy": {
  8837. "get": {
  8838. "security": [
  8839. {
  8840. "ApiKeyAuth": []
  8841. }
  8842. ],
  8843. "produces": [
  8844. "application/json"
  8845. ],
  8846. "tags": [
  8847. "大连千海金"
  8848. ],
  8849. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8850. "parameters": [
  8851. {
  8852. "type": "integer",
  8853. "description": "用户ID",
  8854. "name": "userid",
  8855. "in": "query"
  8856. },
  8857. {
  8858. "type": "integer",
  8859. "description": "商品id",
  8860. "name": "goodsid",
  8861. "in": "query"
  8862. },
  8863. {
  8864. "type": "string",
  8865. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8866. "name": "status",
  8867. "in": "query"
  8868. },
  8869. {
  8870. "type": "string",
  8871. "description": "名称(模糊搜索账户)",
  8872. "name": "filtername",
  8873. "in": "query"
  8874. }
  8875. ],
  8876. "responses": {
  8877. "200": {
  8878. "description": "OK",
  8879. "schema": {
  8880. "type": "array",
  8881. "items": {
  8882. "$ref": "#/definitions/models.QhjRStrategy"
  8883. }
  8884. }
  8885. },
  8886. "500": {
  8887. "description": "Internal Server Error",
  8888. "schema": {
  8889. "$ref": "#/definitions/app.Response"
  8890. }
  8891. }
  8892. }
  8893. }
  8894. },
  8895. "/Qhj/QueryReckonPriceLog": {
  8896. "get": {
  8897. "security": [
  8898. {
  8899. "ApiKeyAuth": []
  8900. }
  8901. ],
  8902. "produces": [
  8903. "application/json"
  8904. ],
  8905. "tags": [
  8906. "大连千海金"
  8907. ],
  8908. "summary": "查询定投价(结算价)",
  8909. "parameters": [
  8910. {
  8911. "type": "integer",
  8912. "description": "商品ID",
  8913. "name": "goodsid",
  8914. "in": "query"
  8915. },
  8916. {
  8917. "type": "string",
  8918. "description": "交易日 格式(yyyymmdd)",
  8919. "name": "tradedate",
  8920. "in": "query"
  8921. }
  8922. ],
  8923. "responses": {
  8924. "200": {
  8925. "description": "OK",
  8926. "schema": {
  8927. "type": "array",
  8928. "items": {
  8929. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8930. }
  8931. }
  8932. },
  8933. "500": {
  8934. "description": "Internal Server Error",
  8935. "schema": {
  8936. "$ref": "#/definitions/app.Response"
  8937. }
  8938. }
  8939. }
  8940. }
  8941. },
  8942. "/Qhj/QueryScoreLog": {
  8943. "get": {
  8944. "security": [
  8945. {
  8946. "ApiKeyAuth": []
  8947. }
  8948. ],
  8949. "produces": [
  8950. "application/json"
  8951. ],
  8952. "tags": [
  8953. "大连千海金"
  8954. ],
  8955. "summary": "查询积分流水(我的积分)",
  8956. "parameters": [
  8957. {
  8958. "type": "integer",
  8959. "description": "用户ID",
  8960. "name": "userid",
  8961. "in": "query",
  8962. "required": true
  8963. },
  8964. {
  8965. "type": "string",
  8966. "description": "开始交易日(yyyymmdd)",
  8967. "name": "begindate",
  8968. "in": "query"
  8969. },
  8970. {
  8971. "type": "string",
  8972. "description": "结束交易日(yyyymmdd)",
  8973. "name": "enddate",
  8974. "in": "query"
  8975. },
  8976. {
  8977. "type": "integer",
  8978. "description": "最近多少条",
  8979. "name": "lastnum",
  8980. "in": "query"
  8981. }
  8982. ],
  8983. "responses": {
  8984. "200": {
  8985. "description": "OK",
  8986. "schema": {
  8987. "type": "array",
  8988. "items": {
  8989. "$ref": "#/definitions/models.QhjScoreLog"
  8990. }
  8991. }
  8992. },
  8993. "500": {
  8994. "description": "Internal Server Error",
  8995. "schema": {
  8996. "$ref": "#/definitions/app.Response"
  8997. }
  8998. }
  8999. }
  9000. }
  9001. },
  9002. "/Qhj/QuerySiteColumnDetail": {
  9003. "get": {
  9004. "security": [
  9005. {
  9006. "ApiKeyAuth": []
  9007. }
  9008. ],
  9009. "produces": [
  9010. "application/json"
  9011. ],
  9012. "tags": [
  9013. "大连千海金"
  9014. ],
  9015. "summary": "查询资讯",
  9016. "parameters": [
  9017. {
  9018. "type": "integer",
  9019. "description": "用户ID",
  9020. "name": "userid",
  9021. "in": "query",
  9022. "required": true
  9023. }
  9024. ],
  9025. "responses": {
  9026. "200": {
  9027. "description": "OK",
  9028. "schema": {
  9029. "type": "array",
  9030. "items": {
  9031. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  9032. }
  9033. }
  9034. },
  9035. "500": {
  9036. "description": "Internal Server Error",
  9037. "schema": {
  9038. "$ref": "#/definitions/app.Response"
  9039. }
  9040. }
  9041. }
  9042. }
  9043. },
  9044. "/Qhj/QueryTradeGoodsPickup": {
  9045. "get": {
  9046. "security": [
  9047. {
  9048. "ApiKeyAuth": []
  9049. }
  9050. ],
  9051. "produces": [
  9052. "application/json"
  9053. ],
  9054. "tags": [
  9055. "大连千海金"
  9056. ],
  9057. "summary": "查询提货",
  9058. "parameters": [
  9059. {
  9060. "type": "integer",
  9061. "description": "用户ID",
  9062. "name": "userid",
  9063. "in": "query",
  9064. "required": true
  9065. },
  9066. {
  9067. "type": "integer",
  9068. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  9069. "name": "takeorderstatus",
  9070. "in": "query"
  9071. }
  9072. ],
  9073. "responses": {
  9074. "200": {
  9075. "description": "OK",
  9076. "schema": {
  9077. "type": "array",
  9078. "items": {
  9079. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  9080. }
  9081. }
  9082. },
  9083. "500": {
  9084. "description": "Internal Server Error",
  9085. "schema": {
  9086. "$ref": "#/definitions/app.Response"
  9087. }
  9088. }
  9089. }
  9090. }
  9091. },
  9092. "/Qhj/QueryUserCollectConfig": {
  9093. "get": {
  9094. "security": [
  9095. {
  9096. "ApiKeyAuth": []
  9097. }
  9098. ],
  9099. "produces": [
  9100. "application/json"
  9101. ],
  9102. "tags": [
  9103. "大连千海金"
  9104. ],
  9105. "summary": "查询提现账户设置",
  9106. "parameters": [
  9107. {
  9108. "type": "integer",
  9109. "description": "用户ID",
  9110. "name": "userid",
  9111. "in": "query",
  9112. "required": true
  9113. }
  9114. ],
  9115. "responses": {
  9116. "200": {
  9117. "description": "OK",
  9118. "schema": {
  9119. "type": "array",
  9120. "items": {
  9121. "$ref": "#/definitions/models.UserCollectConfig"
  9122. }
  9123. }
  9124. },
  9125. "500": {
  9126. "description": "Internal Server Error",
  9127. "schema": {
  9128. "$ref": "#/definitions/app.Response"
  9129. }
  9130. }
  9131. }
  9132. }
  9133. },
  9134. "/Qhj/QueryUserReceiveInfo": {
  9135. "get": {
  9136. "security": [
  9137. {
  9138. "ApiKeyAuth": []
  9139. }
  9140. ],
  9141. "produces": [
  9142. "application/json"
  9143. ],
  9144. "tags": [
  9145. "大连千海金"
  9146. ],
  9147. "summary": "查询收货地址信息",
  9148. "parameters": [
  9149. {
  9150. "type": "integer",
  9151. "description": "用户ID",
  9152. "name": "userid",
  9153. "in": "query",
  9154. "required": true
  9155. }
  9156. ],
  9157. "responses": {
  9158. "200": {
  9159. "description": "OK",
  9160. "schema": {
  9161. "type": "array",
  9162. "items": {
  9163. "$ref": "#/definitions/models.UserReceiveInfo"
  9164. }
  9165. }
  9166. },
  9167. "500": {
  9168. "description": "Internal Server Error",
  9169. "schema": {
  9170. "$ref": "#/definitions/app.Response"
  9171. }
  9172. }
  9173. }
  9174. }
  9175. },
  9176. "/QhjMgr/QueryAccountInOutApply": {
  9177. "get": {
  9178. "security": [
  9179. {
  9180. "ApiKeyAuth": []
  9181. }
  9182. ],
  9183. "produces": [
  9184. "application/json"
  9185. ],
  9186. "tags": [
  9187. "大连千海金(PCWeb)"
  9188. ],
  9189. "summary": "查询充值提现",
  9190. "parameters": [
  9191. {
  9192. "type": "integer",
  9193. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  9194. "name": "querytype",
  9195. "in": "query",
  9196. "required": true
  9197. },
  9198. {
  9199. "type": "integer",
  9200. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9201. "name": "applystatus",
  9202. "in": "query"
  9203. },
  9204. {
  9205. "type": "string",
  9206. "description": "申请起始日期(格式yyyymmdd)",
  9207. "name": "begindate",
  9208. "in": "query"
  9209. },
  9210. {
  9211. "type": "string",
  9212. "description": "申请截止日期(格式yyyymmdd)",
  9213. "name": "enddate",
  9214. "in": "query"
  9215. },
  9216. {
  9217. "type": "string",
  9218. "description": "模糊搜索名称",
  9219. "name": "likename",
  9220. "in": "query"
  9221. }
  9222. ],
  9223. "responses": {
  9224. "200": {
  9225. "description": "OK",
  9226. "schema": {
  9227. "type": "array",
  9228. "items": {
  9229. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  9230. }
  9231. }
  9232. },
  9233. "500": {
  9234. "description": "Internal Server Error",
  9235. "schema": {
  9236. "$ref": "#/definitions/app.Response"
  9237. }
  9238. }
  9239. }
  9240. }
  9241. },
  9242. "/QhjMgr/QueryBrokerApply": {
  9243. "get": {
  9244. "security": [
  9245. {
  9246. "ApiKeyAuth": []
  9247. }
  9248. ],
  9249. "produces": [
  9250. "application/json"
  9251. ],
  9252. "tags": [
  9253. "大连千海金(PCWeb)"
  9254. ],
  9255. "summary": "查询经纪人申请",
  9256. "parameters": [
  9257. {
  9258. "type": "integer",
  9259. "description": "所属机构ID",
  9260. "name": "userid",
  9261. "in": "query"
  9262. },
  9263. {
  9264. "type": "string",
  9265. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9266. "name": "filterstatus",
  9267. "in": "query"
  9268. },
  9269. {
  9270. "type": "string",
  9271. "description": "名称(模糊匹配)",
  9272. "name": "filtername",
  9273. "in": "query"
  9274. },
  9275. {
  9276. "type": "integer",
  9277. "description": "是否包含子级 1-包含",
  9278. "name": "includesub",
  9279. "in": "query"
  9280. }
  9281. ],
  9282. "responses": {
  9283. "200": {
  9284. "description": "OK",
  9285. "schema": {
  9286. "type": "array",
  9287. "items": {
  9288. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  9289. }
  9290. }
  9291. },
  9292. "500": {
  9293. "description": "Internal Server Error",
  9294. "schema": {
  9295. "$ref": "#/definitions/app.Response"
  9296. }
  9297. }
  9298. }
  9299. }
  9300. },
  9301. "/QhjMgr/QueryBrokerRewardReport": {
  9302. "get": {
  9303. "security": [
  9304. {
  9305. "ApiKeyAuth": []
  9306. }
  9307. ],
  9308. "produces": [
  9309. "application/json"
  9310. ],
  9311. "tags": [
  9312. "大连千海金(PCWeb)"
  9313. ],
  9314. "summary": "查询经纪人奖励报表(废弃)",
  9315. "parameters": [
  9316. {
  9317. "type": "integer",
  9318. "description": "所属机构ID",
  9319. "name": "userid",
  9320. "in": "query",
  9321. "required": true
  9322. },
  9323. {
  9324. "type": "integer",
  9325. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9326. "name": "cycletype",
  9327. "in": "query",
  9328. "required": true
  9329. },
  9330. {
  9331. "type": "string",
  9332. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  9333. "name": "cycletime",
  9334. "in": "query",
  9335. "required": true
  9336. },
  9337. {
  9338. "type": "string",
  9339. "description": "名称(模糊匹配)",
  9340. "name": "filtername",
  9341. "in": "query"
  9342. },
  9343. {
  9344. "type": "integer",
  9345. "description": "是否包含子级 1-包含",
  9346. "name": "includesub",
  9347. "in": "query"
  9348. }
  9349. ],
  9350. "responses": {
  9351. "200": {
  9352. "description": "OK",
  9353. "schema": {
  9354. "type": "array",
  9355. "items": {
  9356. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  9357. }
  9358. }
  9359. },
  9360. "500": {
  9361. "description": "Internal Server Error",
  9362. "schema": {
  9363. "$ref": "#/definitions/app.Response"
  9364. }
  9365. }
  9366. }
  9367. }
  9368. },
  9369. "/QhjMgr/QueryContract": {
  9370. "get": {
  9371. "security": [
  9372. {
  9373. "ApiKeyAuth": []
  9374. }
  9375. ],
  9376. "produces": [
  9377. "application/json"
  9378. ],
  9379. "tags": [
  9380. "大连千海金(PCWeb)"
  9381. ],
  9382. "summary": "查询融资信息(合同)",
  9383. "parameters": [
  9384. {
  9385. "type": "integer",
  9386. "description": "用户ID",
  9387. "name": "userid",
  9388. "in": "query"
  9389. },
  9390. {
  9391. "type": "integer",
  9392. "description": "商品id",
  9393. "name": "goodsid",
  9394. "in": "query"
  9395. },
  9396. {
  9397. "type": "string",
  9398. "description": "名称(模糊搜索账户)",
  9399. "name": "filtername",
  9400. "in": "query"
  9401. },
  9402. {
  9403. "type": "string",
  9404. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  9405. "name": "risklevel",
  9406. "in": "query"
  9407. },
  9408. {
  9409. "type": "string",
  9410. "description": "开始交易日(yyyymmdd)",
  9411. "name": "begindate",
  9412. "in": "query"
  9413. },
  9414. {
  9415. "type": "string",
  9416. "description": "结束交易日(yyyymmdd)",
  9417. "name": "enddate",
  9418. "in": "query"
  9419. }
  9420. ],
  9421. "responses": {
  9422. "200": {
  9423. "description": "OK",
  9424. "schema": {
  9425. "type": "array",
  9426. "items": {
  9427. "$ref": "#/definitions/models.QhjMgrContract"
  9428. }
  9429. }
  9430. },
  9431. "500": {
  9432. "description": "Internal Server Error",
  9433. "schema": {
  9434. "$ref": "#/definitions/app.Response"
  9435. }
  9436. }
  9437. }
  9438. }
  9439. },
  9440. "/QhjMgr/QueryCustomerInfo": {
  9441. "get": {
  9442. "security": [
  9443. {
  9444. "ApiKeyAuth": []
  9445. }
  9446. ],
  9447. "produces": [
  9448. "application/json"
  9449. ],
  9450. "tags": [
  9451. "大连千海金(PCWeb)"
  9452. ],
  9453. "summary": "查询客户资料",
  9454. "parameters": [
  9455. {
  9456. "type": "integer",
  9457. "description": "用户ID",
  9458. "name": "userid",
  9459. "in": "query",
  9460. "required": true
  9461. },
  9462. {
  9463. "type": "integer",
  9464. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9465. "name": "querytype",
  9466. "in": "query",
  9467. "required": true
  9468. },
  9469. {
  9470. "type": "integer",
  9471. "description": "客户类型 1-个人 2-企业",
  9472. "name": "userinfotype",
  9473. "in": "query"
  9474. },
  9475. {
  9476. "type": "string",
  9477. "description": "客户名称(模糊匹配)",
  9478. "name": "customername",
  9479. "in": "query"
  9480. },
  9481. {
  9482. "type": "string",
  9483. "description": "昵称(模糊匹配)",
  9484. "name": "nickname",
  9485. "in": "query"
  9486. },
  9487. {
  9488. "type": "string",
  9489. "description": "所属客户经理(模糊匹配)",
  9490. "name": "brokername",
  9491. "in": "query"
  9492. },
  9493. {
  9494. "type": "string",
  9495. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  9496. "name": "birthday",
  9497. "in": "query"
  9498. },
  9499. {
  9500. "type": "integer",
  9501. "description": "是否包含子级 1-包含",
  9502. "name": "includesub",
  9503. "in": "query"
  9504. }
  9505. ],
  9506. "responses": {
  9507. "200": {
  9508. "description": "OK",
  9509. "schema": {
  9510. "type": "array",
  9511. "items": {
  9512. "$ref": "#/definitions/models.QhjMgrCustomer"
  9513. }
  9514. }
  9515. },
  9516. "500": {
  9517. "description": "Internal Server Error",
  9518. "schema": {
  9519. "$ref": "#/definitions/app.Response"
  9520. }
  9521. }
  9522. }
  9523. }
  9524. },
  9525. "/QhjMgr/QueryPickGoods": {
  9526. "get": {
  9527. "security": [
  9528. {
  9529. "ApiKeyAuth": []
  9530. }
  9531. ],
  9532. "produces": [
  9533. "application/json"
  9534. ],
  9535. "tags": [
  9536. "大连千海金(PCWeb)"
  9537. ],
  9538. "summary": "查询提货商品",
  9539. "parameters": [
  9540. {
  9541. "type": "string",
  9542. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9543. "name": "status",
  9544. "in": "query"
  9545. }
  9546. ],
  9547. "responses": {
  9548. "200": {
  9549. "description": "OK",
  9550. "schema": {
  9551. "type": "array",
  9552. "items": {
  9553. "$ref": "#/definitions/models.QhjMgrPickGoods"
  9554. }
  9555. }
  9556. },
  9557. "500": {
  9558. "description": "Internal Server Error",
  9559. "schema": {
  9560. "$ref": "#/definitions/app.Response"
  9561. }
  9562. }
  9563. }
  9564. }
  9565. },
  9566. "/QhjMgr/QuerySubArea": {
  9567. "get": {
  9568. "security": [
  9569. {
  9570. "ApiKeyAuth": []
  9571. }
  9572. ],
  9573. "produces": [
  9574. "application/json"
  9575. ],
  9576. "tags": [
  9577. "大连千海金(PCWeb)"
  9578. ],
  9579. "summary": "查询子机构列表",
  9580. "parameters": [
  9581. {
  9582. "type": "integer",
  9583. "description": "用户ID",
  9584. "name": "userid",
  9585. "in": "query",
  9586. "required": true
  9587. }
  9588. ],
  9589. "responses": {
  9590. "200": {
  9591. "description": "OK",
  9592. "schema": {
  9593. "type": "array",
  9594. "items": {
  9595. "$ref": "#/definitions/models.QhjMgrSubArea"
  9596. }
  9597. }
  9598. },
  9599. "500": {
  9600. "description": "Internal Server Error",
  9601. "schema": {
  9602. "$ref": "#/definitions/app.Response"
  9603. }
  9604. }
  9605. }
  9606. }
  9607. },
  9608. "/QhjMgr/QueryTradeDetail": {
  9609. "get": {
  9610. "security": [
  9611. {
  9612. "ApiKeyAuth": []
  9613. }
  9614. ],
  9615. "produces": [
  9616. "application/json"
  9617. ],
  9618. "tags": [
  9619. "大连千海金(PCWeb)"
  9620. ],
  9621. "summary": "查询成交明细",
  9622. "parameters": [
  9623. {
  9624. "type": "integer",
  9625. "description": "用户ID",
  9626. "name": "userid",
  9627. "in": "query",
  9628. "required": true
  9629. },
  9630. {
  9631. "type": "integer",
  9632. "description": "用户类型 1-个人 2-企业",
  9633. "name": "userinfotype",
  9634. "in": "query"
  9635. },
  9636. {
  9637. "type": "integer",
  9638. "description": "交易模式",
  9639. "name": "trademode",
  9640. "in": "query"
  9641. },
  9642. {
  9643. "type": "integer",
  9644. "description": "商品id",
  9645. "name": "goodsid",
  9646. "in": "query"
  9647. },
  9648. {
  9649. "type": "string",
  9650. "description": "名称(模糊搜索账户)",
  9651. "name": "filtername",
  9652. "in": "query"
  9653. },
  9654. {
  9655. "type": "string",
  9656. "description": "开始交易日(yyyymmdd)",
  9657. "name": "begindate",
  9658. "in": "query"
  9659. },
  9660. {
  9661. "type": "string",
  9662. "description": "结束交易日(yyyymmdd)",
  9663. "name": "enddate",
  9664. "in": "query"
  9665. },
  9666. {
  9667. "type": "integer",
  9668. "description": "是否包含子级 1-包含",
  9669. "name": "includesub",
  9670. "in": "query"
  9671. }
  9672. ],
  9673. "responses": {
  9674. "200": {
  9675. "description": "OK",
  9676. "schema": {
  9677. "type": "array",
  9678. "items": {
  9679. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  9680. }
  9681. }
  9682. },
  9683. "500": {
  9684. "description": "Internal Server Error",
  9685. "schema": {
  9686. "$ref": "#/definitions/app.Response"
  9687. }
  9688. }
  9689. }
  9690. }
  9691. },
  9692. "/QhjMgr/QueryTradeOrderDetail": {
  9693. "get": {
  9694. "security": [
  9695. {
  9696. "ApiKeyAuth": []
  9697. }
  9698. ],
  9699. "produces": [
  9700. "application/json"
  9701. ],
  9702. "tags": [
  9703. "大连千海金(PCWeb)"
  9704. ],
  9705. "summary": "查询委托明细",
  9706. "parameters": [
  9707. {
  9708. "type": "integer",
  9709. "description": "用户ID",
  9710. "name": "userid",
  9711. "in": "query",
  9712. "required": true
  9713. },
  9714. {
  9715. "type": "integer",
  9716. "description": "用户类型 1-个人 2-企业",
  9717. "name": "userinfotype",
  9718. "in": "query"
  9719. },
  9720. {
  9721. "type": "integer",
  9722. "description": "交易模式",
  9723. "name": "trademode",
  9724. "in": "query"
  9725. },
  9726. {
  9727. "type": "integer",
  9728. "description": "商品id",
  9729. "name": "goodsid",
  9730. "in": "query"
  9731. },
  9732. {
  9733. "type": "string",
  9734. "description": "名称(模糊搜索账户)",
  9735. "name": "filtername",
  9736. "in": "query"
  9737. },
  9738. {
  9739. "type": "string",
  9740. "description": "开始交易日(yyyymmdd)",
  9741. "name": "begindate",
  9742. "in": "query"
  9743. },
  9744. {
  9745. "type": "string",
  9746. "description": "结束交易日(yyyymmdd)",
  9747. "name": "enddate",
  9748. "in": "query"
  9749. },
  9750. {
  9751. "type": "integer",
  9752. "description": "是否包含子级 1-包含",
  9753. "name": "includesub",
  9754. "in": "query"
  9755. }
  9756. ],
  9757. "responses": {
  9758. "200": {
  9759. "description": "OK",
  9760. "schema": {
  9761. "type": "array",
  9762. "items": {
  9763. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  9764. }
  9765. }
  9766. },
  9767. "500": {
  9768. "description": "Internal Server Error",
  9769. "schema": {
  9770. "$ref": "#/definitions/app.Response"
  9771. }
  9772. }
  9773. }
  9774. }
  9775. },
  9776. "/QhjMgr/QueryTradePayOrder": {
  9777. "get": {
  9778. "security": [
  9779. {
  9780. "ApiKeyAuth": []
  9781. }
  9782. ],
  9783. "produces": [
  9784. "application/json"
  9785. ],
  9786. "tags": [
  9787. "大连千海金(PCWeb)"
  9788. ],
  9789. "summary": "查询待付款单",
  9790. "parameters": [
  9791. {
  9792. "type": "integer",
  9793. "description": "用户ID",
  9794. "name": "userid",
  9795. "in": "query",
  9796. "required": true
  9797. },
  9798. {
  9799. "type": "string",
  9800. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9801. "name": "payflag",
  9802. "in": "query"
  9803. },
  9804. {
  9805. "type": "integer",
  9806. "description": "用户类型 1-个人 2-企业",
  9807. "name": "userinfotype",
  9808. "in": "query"
  9809. },
  9810. {
  9811. "type": "integer",
  9812. "description": "交易模式",
  9813. "name": "trademode",
  9814. "in": "query"
  9815. },
  9816. {
  9817. "type": "integer",
  9818. "description": "商品id",
  9819. "name": "goodsid",
  9820. "in": "query"
  9821. },
  9822. {
  9823. "type": "string",
  9824. "description": "名称(模糊搜索账户)",
  9825. "name": "filtername",
  9826. "in": "query"
  9827. },
  9828. {
  9829. "type": "string",
  9830. "description": "开始交易日(yyyymmdd)",
  9831. "name": "begindate",
  9832. "in": "query"
  9833. },
  9834. {
  9835. "type": "string",
  9836. "description": "结束交易日(yyyymmdd)",
  9837. "name": "enddate",
  9838. "in": "query"
  9839. },
  9840. {
  9841. "type": "integer",
  9842. "description": "是否包含子级 1-包含",
  9843. "name": "includesub",
  9844. "in": "query"
  9845. }
  9846. ],
  9847. "responses": {
  9848. "200": {
  9849. "description": "OK",
  9850. "schema": {
  9851. "type": "array",
  9852. "items": {
  9853. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9854. }
  9855. }
  9856. },
  9857. "500": {
  9858. "description": "Internal Server Error",
  9859. "schema": {
  9860. "$ref": "#/definitions/app.Response"
  9861. }
  9862. }
  9863. }
  9864. }
  9865. },
  9866. "/QhjMgr/QueryTradePosition": {
  9867. "get": {
  9868. "security": [
  9869. {
  9870. "ApiKeyAuth": []
  9871. }
  9872. ],
  9873. "produces": [
  9874. "application/json"
  9875. ],
  9876. "tags": [
  9877. "大连千海金(PCWeb)"
  9878. ],
  9879. "summary": "查询持仓汇总",
  9880. "parameters": [
  9881. {
  9882. "type": "integer",
  9883. "description": "用户ID",
  9884. "name": "userid",
  9885. "in": "query",
  9886. "required": true
  9887. },
  9888. {
  9889. "type": "integer",
  9890. "description": "用户类型 1-个人 2-企业",
  9891. "name": "userinfotype",
  9892. "in": "query"
  9893. },
  9894. {
  9895. "type": "integer",
  9896. "description": "交易模式",
  9897. "name": "trademode",
  9898. "in": "query"
  9899. },
  9900. {
  9901. "type": "integer",
  9902. "description": "商品id",
  9903. "name": "goodsid",
  9904. "in": "query"
  9905. },
  9906. {
  9907. "type": "string",
  9908. "description": "名称(模糊搜索账户)",
  9909. "name": "filtername",
  9910. "in": "query"
  9911. },
  9912. {
  9913. "type": "integer",
  9914. "description": "是否包含子级 1-包含",
  9915. "name": "includesub",
  9916. "in": "query"
  9917. }
  9918. ],
  9919. "responses": {
  9920. "200": {
  9921. "description": "OK",
  9922. "schema": {
  9923. "type": "array",
  9924. "items": {
  9925. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9926. }
  9927. }
  9928. },
  9929. "500": {
  9930. "description": "Internal Server Error",
  9931. "schema": {
  9932. "$ref": "#/definitions/app.Response"
  9933. }
  9934. }
  9935. }
  9936. }
  9937. },
  9938. "/QhjSys/QueryAgreementChangeLog": {
  9939. "get": {
  9940. "security": [
  9941. {
  9942. "ApiKeyAuth": []
  9943. }
  9944. ],
  9945. "produces": [
  9946. "application/json"
  9947. ],
  9948. "tags": [
  9949. "大连千海金(协议和签约信息)"
  9950. ],
  9951. "summary": "查询协议配置变更流水",
  9952. "parameters": [
  9953. {
  9954. "type": "integer",
  9955. "description": "协议ID",
  9956. "name": "agreementid",
  9957. "in": "query"
  9958. },
  9959. {
  9960. "type": "integer",
  9961. "description": "协议版本号",
  9962. "name": "agreementversion",
  9963. "in": "query"
  9964. },
  9965. {
  9966. "type": "integer",
  9967. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9968. "name": "agreementtype",
  9969. "in": "query"
  9970. },
  9971. {
  9972. "type": "string",
  9973. "description": "协议编号(模糊匹配)",
  9974. "name": "agreementno",
  9975. "in": "query"
  9976. },
  9977. {
  9978. "type": "string",
  9979. "description": "协议名称(模糊匹配)",
  9980. "name": "agreementname",
  9981. "in": "query"
  9982. }
  9983. ],
  9984. "responses": {
  9985. "200": {
  9986. "description": "OK",
  9987. "schema": {
  9988. "type": "array",
  9989. "items": {
  9990. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9991. }
  9992. }
  9993. },
  9994. "500": {
  9995. "description": "Internal Server Error",
  9996. "schema": {
  9997. "$ref": "#/definitions/app.Response"
  9998. }
  9999. }
  10000. }
  10001. }
  10002. },
  10003. "/QhjSys/QueryAgreementConfig": {
  10004. "get": {
  10005. "security": [
  10006. {
  10007. "ApiKeyAuth": []
  10008. }
  10009. ],
  10010. "produces": [
  10011. "application/json"
  10012. ],
  10013. "tags": [
  10014. "大连千海金(协议和签约信息)"
  10015. ],
  10016. "summary": "查询协议配置",
  10017. "parameters": [
  10018. {
  10019. "type": "integer",
  10020. "description": "协议ID",
  10021. "name": "agreementid",
  10022. "in": "query"
  10023. },
  10024. {
  10025. "type": "integer",
  10026. "description": "协议版本号",
  10027. "name": "agreementversion",
  10028. "in": "query"
  10029. },
  10030. {
  10031. "type": "integer",
  10032. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10033. "name": "agreementtype",
  10034. "in": "query"
  10035. },
  10036. {
  10037. "type": "integer",
  10038. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  10039. "name": "isvalid",
  10040. "in": "query"
  10041. },
  10042. {
  10043. "type": "string",
  10044. "description": "协议编号(模糊匹配)",
  10045. "name": "agreementno",
  10046. "in": "query"
  10047. },
  10048. {
  10049. "type": "string",
  10050. "description": "协议名称(模糊匹配)",
  10051. "name": "agreementname",
  10052. "in": "query"
  10053. }
  10054. ],
  10055. "responses": {
  10056. "200": {
  10057. "description": "OK",
  10058. "schema": {
  10059. "type": "array",
  10060. "items": {
  10061. "$ref": "#/definitions/models.QhjAgreementConfig"
  10062. }
  10063. }
  10064. },
  10065. "500": {
  10066. "description": "Internal Server Error",
  10067. "schema": {
  10068. "$ref": "#/definitions/app.Response"
  10069. }
  10070. }
  10071. }
  10072. }
  10073. },
  10074. "/QhjSys/QueryCustomerSignStatus": {
  10075. "get": {
  10076. "security": [
  10077. {
  10078. "ApiKeyAuth": []
  10079. }
  10080. ],
  10081. "produces": [
  10082. "application/json"
  10083. ],
  10084. "tags": [
  10085. "大连千海金(协议和签约信息)"
  10086. ],
  10087. "summary": "查询客户协议签约状态",
  10088. "parameters": [
  10089. {
  10090. "type": "integer",
  10091. "description": "客户ID",
  10092. "name": "userid",
  10093. "in": "query"
  10094. },
  10095. {
  10096. "type": "integer",
  10097. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  10098. "name": "nodetype",
  10099. "in": "query"
  10100. },
  10101. {
  10102. "type": "integer",
  10103. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10104. "name": "goodsid",
  10105. "in": "query"
  10106. },
  10107. {
  10108. "type": "string",
  10109. "description": "创建交易日(yyyyMMdd)",
  10110. "name": "tradedate",
  10111. "in": "query"
  10112. },
  10113. {
  10114. "type": "string",
  10115. "description": "用户名称(模糊匹配)",
  10116. "name": "username",
  10117. "in": "query"
  10118. }
  10119. ],
  10120. "responses": {
  10121. "200": {
  10122. "description": "OK",
  10123. "schema": {
  10124. "type": "array",
  10125. "items": {
  10126. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  10127. }
  10128. }
  10129. },
  10130. "500": {
  10131. "description": "Internal Server Error",
  10132. "schema": {
  10133. "$ref": "#/definitions/app.Response"
  10134. }
  10135. }
  10136. }
  10137. }
  10138. },
  10139. "/QhjSys/QueryNodeAgreementConfig": {
  10140. "get": {
  10141. "security": [
  10142. {
  10143. "ApiKeyAuth": []
  10144. }
  10145. ],
  10146. "produces": [
  10147. "application/json"
  10148. ],
  10149. "tags": [
  10150. "大连千海金(协议和签约信息)"
  10151. ],
  10152. "summary": "查询协议节点配置",
  10153. "parameters": [
  10154. {
  10155. "type": "integer",
  10156. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10157. "name": "configid",
  10158. "in": "query"
  10159. },
  10160. {
  10161. "type": "integer",
  10162. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10163. "name": "nodetype",
  10164. "in": "query"
  10165. },
  10166. {
  10167. "type": "integer",
  10168. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10169. "name": "goodsid",
  10170. "in": "query"
  10171. },
  10172. {
  10173. "type": "integer",
  10174. "description": "协议ID",
  10175. "name": "agreementid",
  10176. "in": "query"
  10177. },
  10178. {
  10179. "type": "integer",
  10180. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10181. "name": "agreementtype",
  10182. "in": "query"
  10183. },
  10184. {
  10185. "type": "integer",
  10186. "description": "协议版本号",
  10187. "name": "agreementversion",
  10188. "in": "query"
  10189. },
  10190. {
  10191. "type": "string",
  10192. "description": "协议编号(模糊匹配)",
  10193. "name": "agreementno",
  10194. "in": "query"
  10195. },
  10196. {
  10197. "type": "string",
  10198. "description": "协议名称(模糊匹配)",
  10199. "name": "agreementname",
  10200. "in": "query"
  10201. }
  10202. ],
  10203. "responses": {
  10204. "200": {
  10205. "description": "OK",
  10206. "schema": {
  10207. "type": "array",
  10208. "items": {
  10209. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  10210. }
  10211. }
  10212. },
  10213. "500": {
  10214. "description": "Internal Server Error",
  10215. "schema": {
  10216. "$ref": "#/definitions/app.Response"
  10217. }
  10218. }
  10219. }
  10220. }
  10221. },
  10222. "/QhjSys/QueryQhjCustomerSignLog": {
  10223. "get": {
  10224. "security": [
  10225. {
  10226. "ApiKeyAuth": []
  10227. }
  10228. ],
  10229. "produces": [
  10230. "application/json"
  10231. ],
  10232. "tags": [
  10233. "大连千海金(协议和签约信息)"
  10234. ],
  10235. "summary": "查询客户协议签约流水",
  10236. "parameters": [
  10237. {
  10238. "type": "integer",
  10239. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  10240. "name": "logid",
  10241. "in": "query"
  10242. },
  10243. {
  10244. "type": "integer",
  10245. "description": "客户ID",
  10246. "name": "userid",
  10247. "in": "query"
  10248. },
  10249. {
  10250. "type": "integer",
  10251. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10252. "name": "nodetype",
  10253. "in": "query"
  10254. },
  10255. {
  10256. "type": "integer",
  10257. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10258. "name": "goodsid",
  10259. "in": "query"
  10260. },
  10261. {
  10262. "type": "integer",
  10263. "description": "协议ID",
  10264. "name": "agreementid",
  10265. "in": "query"
  10266. },
  10267. {
  10268. "type": "string",
  10269. "description": "用户名称(模糊匹配)",
  10270. "name": "username",
  10271. "in": "query"
  10272. },
  10273. {
  10274. "type": "string",
  10275. "description": "协议编号(模糊匹配)",
  10276. "name": "agreementno",
  10277. "in": "query"
  10278. },
  10279. {
  10280. "type": "string",
  10281. "description": "协议名称(模糊匹配)",
  10282. "name": "agreementname",
  10283. "in": "query"
  10284. }
  10285. ],
  10286. "responses": {
  10287. "200": {
  10288. "description": "OK",
  10289. "schema": {
  10290. "type": "array",
  10291. "items": {
  10292. "$ref": "#/definitions/models.QhjCustomerSignLog"
  10293. }
  10294. }
  10295. },
  10296. "500": {
  10297. "description": "Internal Server Error",
  10298. "schema": {
  10299. "$ref": "#/definitions/app.Response"
  10300. }
  10301. }
  10302. }
  10303. }
  10304. },
  10305. "/QhjSys/QueryUserNodeCfgAndStatus": {
  10306. "get": {
  10307. "security": [
  10308. {
  10309. "ApiKeyAuth": []
  10310. }
  10311. ],
  10312. "produces": [
  10313. "application/json"
  10314. ],
  10315. "tags": [
  10316. "大连千海金(协议和签约信息)"
  10317. ],
  10318. "summary": "查询用户协议节点配置和状态",
  10319. "parameters": [
  10320. {
  10321. "type": "integer",
  10322. "description": "客户ID",
  10323. "name": "userid",
  10324. "in": "query"
  10325. },
  10326. {
  10327. "type": "integer",
  10328. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10329. "name": "configid",
  10330. "in": "query"
  10331. },
  10332. {
  10333. "type": "string",
  10334. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10335. "name": "nodetype",
  10336. "in": "query"
  10337. },
  10338. {
  10339. "type": "integer",
  10340. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10341. "name": "goodsid",
  10342. "in": "query"
  10343. },
  10344. {
  10345. "type": "integer",
  10346. "description": "协议ID",
  10347. "name": "agreementid",
  10348. "in": "query"
  10349. },
  10350. {
  10351. "type": "integer",
  10352. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10353. "name": "agreementtype",
  10354. "in": "query"
  10355. },
  10356. {
  10357. "type": "integer",
  10358. "description": "协议版本号",
  10359. "name": "agreementversion",
  10360. "in": "query"
  10361. },
  10362. {
  10363. "type": "string",
  10364. "description": "协议编号(模糊匹配)",
  10365. "name": "agreementno",
  10366. "in": "query"
  10367. },
  10368. {
  10369. "type": "string",
  10370. "description": "协议名称(模糊匹配)",
  10371. "name": "agreementname",
  10372. "in": "query"
  10373. }
  10374. ],
  10375. "responses": {
  10376. "200": {
  10377. "description": "OK",
  10378. "schema": {
  10379. "type": "array",
  10380. "items": {
  10381. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  10382. }
  10383. }
  10384. },
  10385. "500": {
  10386. "description": "Internal Server Error",
  10387. "schema": {
  10388. "$ref": "#/definitions/app.Response"
  10389. }
  10390. }
  10391. }
  10392. }
  10393. },
  10394. "/Quote/QueryHistoryDatas": {
  10395. "get": {
  10396. "security": [
  10397. {
  10398. "ApiKeyAuth": []
  10399. }
  10400. ],
  10401. "produces": [
  10402. "application/json"
  10403. ],
  10404. "tags": [
  10405. "行情服务"
  10406. ],
  10407. "summary": "查询行情历史数据",
  10408. "parameters": [
  10409. {
  10410. "type": "integer",
  10411. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  10412. "name": "cycleType",
  10413. "in": "query",
  10414. "required": true
  10415. },
  10416. {
  10417. "type": "string",
  10418. "description": "商品代码",
  10419. "name": "goodsCode",
  10420. "in": "query",
  10421. "required": true
  10422. },
  10423. {
  10424. "type": "string",
  10425. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10426. "name": "startTime",
  10427. "in": "query"
  10428. },
  10429. {
  10430. "type": "string",
  10431. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10432. "name": "endTime",
  10433. "in": "query"
  10434. },
  10435. {
  10436. "type": "integer",
  10437. "description": "条数",
  10438. "name": "count",
  10439. "in": "query"
  10440. },
  10441. {
  10442. "type": "boolean",
  10443. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10444. "name": "isAsc",
  10445. "in": "query"
  10446. }
  10447. ],
  10448. "responses": {
  10449. "200": {
  10450. "description": "OK",
  10451. "schema": {
  10452. "$ref": "#/definitions/quote.HistoryData"
  10453. }
  10454. },
  10455. "500": {
  10456. "description": "Internal Server Error",
  10457. "schema": {
  10458. "$ref": "#/definitions/app.Response"
  10459. }
  10460. }
  10461. }
  10462. }
  10463. },
  10464. "/Quote/QueryHistoryTikDatas": {
  10465. "get": {
  10466. "security": [
  10467. {
  10468. "ApiKeyAuth": []
  10469. }
  10470. ],
  10471. "produces": [
  10472. "application/json"
  10473. ],
  10474. "tags": [
  10475. "行情服务"
  10476. ],
  10477. "summary": "查询行情Tik数据",
  10478. "parameters": [
  10479. {
  10480. "type": "string",
  10481. "description": "商品代码",
  10482. "name": "goodsCode",
  10483. "in": "query",
  10484. "required": true
  10485. },
  10486. {
  10487. "type": "string",
  10488. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10489. "name": "startTime",
  10490. "in": "query"
  10491. },
  10492. {
  10493. "type": "string",
  10494. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10495. "name": "endTime",
  10496. "in": "query"
  10497. },
  10498. {
  10499. "type": "integer",
  10500. "description": "条数",
  10501. "name": "count",
  10502. "in": "query"
  10503. },
  10504. {
  10505. "type": "boolean",
  10506. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10507. "name": "isAsc",
  10508. "in": "query"
  10509. }
  10510. ],
  10511. "responses": {
  10512. "200": {
  10513. "description": "OK",
  10514. "schema": {
  10515. "$ref": "#/definitions/quote.HistoryTikData"
  10516. }
  10517. },
  10518. "500": {
  10519. "description": "Internal Server Error",
  10520. "schema": {
  10521. "$ref": "#/definitions/app.Response"
  10522. }
  10523. }
  10524. }
  10525. }
  10526. },
  10527. "/Quote/QueryQuoteDay": {
  10528. "get": {
  10529. "security": [
  10530. {
  10531. "ApiKeyAuth": []
  10532. }
  10533. ],
  10534. "produces": [
  10535. "application/json"
  10536. ],
  10537. "tags": [
  10538. "行情服务"
  10539. ],
  10540. "summary": "获取商品盘面信息",
  10541. "parameters": [
  10542. {
  10543. "type": "string",
  10544. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  10545. "name": "goodsCodes",
  10546. "in": "query"
  10547. }
  10548. ],
  10549. "responses": {
  10550. "200": {
  10551. "description": "OK",
  10552. "schema": {
  10553. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  10554. }
  10555. },
  10556. "500": {
  10557. "description": "Internal Server Error",
  10558. "schema": {
  10559. "$ref": "#/definitions/app.Response"
  10560. }
  10561. }
  10562. }
  10563. }
  10564. },
  10565. "/Quote/QueryTSData": {
  10566. "get": {
  10567. "security": [
  10568. {
  10569. "ApiKeyAuth": []
  10570. }
  10571. ],
  10572. "produces": [
  10573. "application/json"
  10574. ],
  10575. "tags": [
  10576. "行情服务"
  10577. ],
  10578. "summary": "分时图数据查询",
  10579. "parameters": [
  10580. {
  10581. "type": "string",
  10582. "description": "商品代码",
  10583. "name": "goodsCode",
  10584. "in": "query",
  10585. "required": true
  10586. }
  10587. ],
  10588. "responses": {
  10589. "200": {
  10590. "description": "OK",
  10591. "schema": {
  10592. "$ref": "#/definitions/quote.QueryTSDataRsp"
  10593. }
  10594. },
  10595. "500": {
  10596. "description": "Internal Server Error",
  10597. "schema": {
  10598. "$ref": "#/definitions/app.Response"
  10599. }
  10600. }
  10601. }
  10602. }
  10603. },
  10604. "/SZDZ/QueryConvertConfig": {
  10605. "get": {
  10606. "security": [
  10607. {
  10608. "ApiKeyAuth": []
  10609. }
  10610. ],
  10611. "produces": [
  10612. "application/json"
  10613. ],
  10614. "tags": [
  10615. "定制【尚志大宗】"
  10616. ],
  10617. "summary": "查询交易系统转换设置",
  10618. "parameters": [
  10619. {
  10620. "type": "integer",
  10621. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10622. "name": "convertType",
  10623. "in": "query"
  10624. },
  10625. {
  10626. "type": "string",
  10627. "description": "外部商品代码[JD\\PD]",
  10628. "name": "outerGoodsCode",
  10629. "in": "query"
  10630. },
  10631. {
  10632. "type": "string",
  10633. "description": "内部商品ID列表[交易],格式:1,2,3",
  10634. "name": "innerGoodsIDs",
  10635. "in": "query"
  10636. }
  10637. ],
  10638. "responses": {
  10639. "200": {
  10640. "description": "OK",
  10641. "schema": {
  10642. "$ref": "#/definitions/models.Szdz3convertconfig"
  10643. }
  10644. },
  10645. "500": {
  10646. "description": "Internal Server Error",
  10647. "schema": {
  10648. "$ref": "#/definitions/app.Response"
  10649. }
  10650. }
  10651. }
  10652. }
  10653. },
  10654. "/SZDZ/QueryConvertLog": {
  10655. "get": {
  10656. "security": [
  10657. {
  10658. "ApiKeyAuth": []
  10659. }
  10660. ],
  10661. "produces": [
  10662. "application/json"
  10663. ],
  10664. "tags": [
  10665. "定制【尚志大宗】"
  10666. ],
  10667. "summary": "交易系统转换流水查询",
  10668. "parameters": [
  10669. {
  10670. "type": "string",
  10671. "description": "资金账户 - 格式:1,2,3",
  10672. "name": "accountID",
  10673. "in": "query",
  10674. "required": true
  10675. },
  10676. {
  10677. "type": "string",
  10678. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10679. "name": "startDate",
  10680. "in": "query"
  10681. },
  10682. {
  10683. "type": "string",
  10684. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10685. "name": "endDate",
  10686. "in": "query"
  10687. }
  10688. ],
  10689. "responses": {
  10690. "200": {
  10691. "description": "OK",
  10692. "schema": {
  10693. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  10694. }
  10695. },
  10696. "500": {
  10697. "description": "Internal Server Error",
  10698. "schema": {
  10699. "$ref": "#/definitions/app.Response"
  10700. }
  10701. }
  10702. }
  10703. }
  10704. },
  10705. "/SZDZ/QueryGoodsPickup": {
  10706. "get": {
  10707. "security": [
  10708. {
  10709. "ApiKeyAuth": []
  10710. }
  10711. ],
  10712. "produces": [
  10713. "application/json"
  10714. ],
  10715. "tags": [
  10716. "定制【尚志大宗】"
  10717. ],
  10718. "summary": "商品提货单查询",
  10719. "parameters": [
  10720. {
  10721. "type": "string",
  10722. "description": "资金账户 - 格式:1,2,3",
  10723. "name": "accountID",
  10724. "in": "query",
  10725. "required": true
  10726. },
  10727. {
  10728. "type": "integer",
  10729. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10730. "name": "takeOrderStatus",
  10731. "in": "query"
  10732. }
  10733. ],
  10734. "responses": {
  10735. "200": {
  10736. "description": "OK",
  10737. "schema": {
  10738. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  10739. }
  10740. },
  10741. "500": {
  10742. "description": "Internal Server Error",
  10743. "schema": {
  10744. "$ref": "#/definitions/app.Response"
  10745. }
  10746. }
  10747. }
  10748. }
  10749. },
  10750. "/SZDZ/QueryRecieptOrder": {
  10751. "get": {
  10752. "security": [
  10753. {
  10754. "ApiKeyAuth": []
  10755. }
  10756. ],
  10757. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10758. "produces": [
  10759. "application/json"
  10760. ],
  10761. "tags": [
  10762. "定制【尚志大宗】"
  10763. ],
  10764. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  10765. "parameters": [
  10766. {
  10767. "type": "integer",
  10768. "description": "页码",
  10769. "name": "page",
  10770. "in": "query"
  10771. },
  10772. {
  10773. "type": "integer",
  10774. "description": "每页条数",
  10775. "name": "pagesize",
  10776. "in": "query"
  10777. },
  10778. {
  10779. "type": "integer",
  10780. "description": "商品ID",
  10781. "name": "goodsID",
  10782. "in": "query",
  10783. "required": true
  10784. },
  10785. {
  10786. "type": "string",
  10787. "description": "所属账户名称",
  10788. "name": "accountName",
  10789. "in": "query"
  10790. },
  10791. {
  10792. "type": "integer",
  10793. "description": "市场ID",
  10794. "name": "marketID",
  10795. "in": "query"
  10796. },
  10797. {
  10798. "type": "integer",
  10799. "description": "方向 - 0:买 1:卖",
  10800. "name": "buyorsell",
  10801. "in": "query",
  10802. "required": true
  10803. }
  10804. ],
  10805. "responses": {
  10806. "200": {
  10807. "description": "OK",
  10808. "schema": {
  10809. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10810. }
  10811. },
  10812. "500": {
  10813. "description": "Internal Server Error",
  10814. "schema": {
  10815. "$ref": "#/definitions/app.Response"
  10816. }
  10817. }
  10818. }
  10819. }
  10820. },
  10821. "/SZDZ/QuerySZDZTradePosition": {
  10822. "get": {
  10823. "security": [
  10824. {
  10825. "ApiKeyAuth": []
  10826. }
  10827. ],
  10828. "produces": [
  10829. "application/json"
  10830. ],
  10831. "tags": [
  10832. "定制【尚志大宗】"
  10833. ],
  10834. "summary": "持仓汇总查询(尚志大宗)",
  10835. "parameters": [
  10836. {
  10837. "type": "integer",
  10838. "description": "资金账户",
  10839. "name": "accountID",
  10840. "in": "query",
  10841. "required": true
  10842. }
  10843. ],
  10844. "responses": {
  10845. "200": {
  10846. "description": "OK",
  10847. "schema": {
  10848. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10849. }
  10850. },
  10851. "500": {
  10852. "description": "Internal Server Error",
  10853. "schema": {
  10854. "$ref": "#/definitions/app.Response"
  10855. }
  10856. }
  10857. }
  10858. }
  10859. },
  10860. "/SZDZ/SearchWhite": {
  10861. "get": {
  10862. "security": [
  10863. {
  10864. "ApiKeyAuth": []
  10865. }
  10866. ],
  10867. "produces": [
  10868. "application/json"
  10869. ],
  10870. "tags": [
  10871. "定制【尚志大宗】"
  10872. ],
  10873. "summary": "搜索白名单",
  10874. "parameters": [
  10875. {
  10876. "type": "integer",
  10877. "description": "用户ID",
  10878. "name": "userID",
  10879. "in": "query",
  10880. "required": true
  10881. }
  10882. ],
  10883. "responses": {
  10884. "200": {
  10885. "description": "OK",
  10886. "schema": {
  10887. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10888. }
  10889. },
  10890. "500": {
  10891. "description": "Internal Server Error",
  10892. "schema": {
  10893. "$ref": "#/definitions/app.Response"
  10894. }
  10895. }
  10896. }
  10897. }
  10898. },
  10899. "/Search/SearchGoodses": {
  10900. "get": {
  10901. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10902. "produces": [
  10903. "application/json"
  10904. ],
  10905. "tags": [
  10906. "检索服务"
  10907. ],
  10908. "summary": "检索商品信息",
  10909. "parameters": [
  10910. {
  10911. "type": "string",
  10912. "description": "检索内容",
  10913. "name": "content",
  10914. "in": "query",
  10915. "required": true
  10916. },
  10917. {
  10918. "type": "string",
  10919. "description": "交易模式,格式:1,2,3",
  10920. "name": "tradeModes",
  10921. "in": "query"
  10922. }
  10923. ],
  10924. "responses": {
  10925. "200": {
  10926. "description": "OK",
  10927. "schema": {
  10928. "$ref": "#/definitions/models.SearchGoods"
  10929. }
  10930. },
  10931. "500": {
  10932. "description": "Internal Server Error",
  10933. "schema": {
  10934. "$ref": "#/definitions/app.Response"
  10935. }
  10936. }
  10937. }
  10938. }
  10939. },
  10940. "/TaAccount/GetTaAccounts": {
  10941. "get": {
  10942. "security": [
  10943. {
  10944. "ApiKeyAuth": []
  10945. }
  10946. ],
  10947. "produces": [
  10948. "application/json"
  10949. ],
  10950. "tags": [
  10951. "资金账户"
  10952. ],
  10953. "summary": "获取资金账户信息",
  10954. "parameters": [
  10955. {
  10956. "type": "integer",
  10957. "description": "登录账户",
  10958. "name": "loginID",
  10959. "in": "query",
  10960. "required": true
  10961. },
  10962. {
  10963. "type": "integer",
  10964. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10965. "name": "taAccountType",
  10966. "in": "query"
  10967. }
  10968. ],
  10969. "responses": {
  10970. "200": {
  10971. "description": "OK",
  10972. "schema": {
  10973. "$ref": "#/definitions/models.Taaccount"
  10974. }
  10975. },
  10976. "500": {
  10977. "description": "Internal Server Error",
  10978. "schema": {
  10979. "$ref": "#/definitions/app.Response"
  10980. }
  10981. }
  10982. }
  10983. }
  10984. },
  10985. "/TaAccount/QueryAmountLog": {
  10986. "get": {
  10987. "security": [
  10988. {
  10989. "ApiKeyAuth": []
  10990. }
  10991. ],
  10992. "produces": [
  10993. "application/json"
  10994. ],
  10995. "tags": [
  10996. "资金账户"
  10997. ],
  10998. "summary": "资金流水查询(当前)",
  10999. "parameters": [
  11000. {
  11001. "type": "integer",
  11002. "description": "页码",
  11003. "name": "page",
  11004. "in": "query"
  11005. },
  11006. {
  11007. "type": "integer",
  11008. "description": "每页条数",
  11009. "name": "pagesize",
  11010. "in": "query"
  11011. },
  11012. {
  11013. "type": "string",
  11014. "description": "资金账户 - 格式:1,2,3",
  11015. "name": "accountID",
  11016. "in": "query",
  11017. "required": true
  11018. },
  11019. {
  11020. "type": "string",
  11021. "description": "资金操作类型 - 格式:1,2,3",
  11022. "name": "OperateType",
  11023. "in": "query"
  11024. }
  11025. ],
  11026. "responses": {
  11027. "200": {
  11028. "description": "OK",
  11029. "schema": {
  11030. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  11031. }
  11032. },
  11033. "500": {
  11034. "description": "Internal Server Error",
  11035. "schema": {
  11036. "$ref": "#/definitions/app.Response"
  11037. }
  11038. }
  11039. }
  11040. }
  11041. },
  11042. "/TaAccount/QueryHisAmountLog": {
  11043. "get": {
  11044. "security": [
  11045. {
  11046. "ApiKeyAuth": []
  11047. }
  11048. ],
  11049. "produces": [
  11050. "application/json"
  11051. ],
  11052. "tags": [
  11053. "资金账户"
  11054. ],
  11055. "summary": "资金流水查询(历史)",
  11056. "parameters": [
  11057. {
  11058. "type": "integer",
  11059. "description": "页码",
  11060. "name": "page",
  11061. "in": "query"
  11062. },
  11063. {
  11064. "type": "integer",
  11065. "description": "每页条数",
  11066. "name": "pagesize",
  11067. "in": "query"
  11068. },
  11069. {
  11070. "type": "string",
  11071. "description": "资金账户 - 格式:1,2,3",
  11072. "name": "accountID",
  11073. "in": "query",
  11074. "required": true
  11075. },
  11076. {
  11077. "type": "string",
  11078. "description": "资金操作类型 - 格式:1,2,3",
  11079. "name": "OperateType",
  11080. "in": "query"
  11081. },
  11082. {
  11083. "type": "string",
  11084. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  11085. "name": "startDate",
  11086. "in": "query"
  11087. },
  11088. {
  11089. "type": "string",
  11090. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  11091. "name": "endDate",
  11092. "in": "query"
  11093. }
  11094. ],
  11095. "responses": {
  11096. "200": {
  11097. "description": "OK",
  11098. "schema": {
  11099. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  11100. }
  11101. },
  11102. "500": {
  11103. "description": "Internal Server Error",
  11104. "schema": {
  11105. "$ref": "#/definitions/app.Response"
  11106. }
  11107. }
  11108. }
  11109. }
  11110. },
  11111. "/Tjmd/QueryQuoteGoodsList": {
  11112. "get": {
  11113. "security": [
  11114. {
  11115. "ApiKeyAuth": []
  11116. }
  11117. ],
  11118. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  11119. "produces": [
  11120. "application/json"
  11121. ],
  11122. "tags": [
  11123. "天津麦顿"
  11124. ],
  11125. "summary": "查询掉期报价列表",
  11126. "parameters": [
  11127. {
  11128. "type": "integer",
  11129. "description": "用户类型",
  11130. "name": "usertype",
  11131. "in": "query",
  11132. "required": true
  11133. },
  11134. {
  11135. "type": "string",
  11136. "description": "市场id, 格式 1,2,3",
  11137. "name": "marketids",
  11138. "in": "query"
  11139. },
  11140. {
  11141. "type": "integer",
  11142. "description": "商品组id",
  11143. "name": "goodsgroupid",
  11144. "in": "query"
  11145. },
  11146. {
  11147. "type": "integer",
  11148. "description": "商品id",
  11149. "name": "goodsid",
  11150. "in": "query"
  11151. }
  11152. ],
  11153. "responses": {
  11154. "200": {
  11155. "description": "OK",
  11156. "schema": {
  11157. "type": "array",
  11158. "items": {
  11159. "$ref": "#/definitions/models.TjmdQuoteGoods"
  11160. }
  11161. }
  11162. },
  11163. "500": {
  11164. "description": "Internal Server Error",
  11165. "schema": {
  11166. "$ref": "#/definitions/app.Response"
  11167. }
  11168. }
  11169. }
  11170. }
  11171. },
  11172. "/Tjmd/QueryTjmdMarketSection": {
  11173. "get": {
  11174. "security": [
  11175. {
  11176. "ApiKeyAuth": []
  11177. }
  11178. ],
  11179. "produces": [
  11180. "application/json"
  11181. ],
  11182. "tags": [
  11183. "天津麦顿"
  11184. ],
  11185. "summary": "查询市场板块",
  11186. "responses": {
  11187. "200": {
  11188. "description": "OK",
  11189. "schema": {
  11190. "type": "array",
  11191. "items": {
  11192. "$ref": "#/definitions/models.TjmdMarketSection"
  11193. }
  11194. }
  11195. },
  11196. "500": {
  11197. "description": "Internal Server Error",
  11198. "schema": {
  11199. "$ref": "#/definitions/app.Response"
  11200. }
  11201. }
  11202. }
  11203. }
  11204. },
  11205. "/Tjmd/QueryTjmdTodayAccountMargin": {
  11206. "get": {
  11207. "security": [
  11208. {
  11209. "ApiKeyAuth": []
  11210. }
  11211. ],
  11212. "produces": [
  11213. "application/json"
  11214. ],
  11215. "tags": [
  11216. "天津麦顿"
  11217. ],
  11218. "summary": "查询今日账户保证金配置",
  11219. "parameters": [
  11220. {
  11221. "type": "string",
  11222. "description": "市场id",
  11223. "name": "marketid",
  11224. "in": "query"
  11225. },
  11226. {
  11227. "type": "string",
  11228. "description": "商品id",
  11229. "name": "goodsid",
  11230. "in": "query"
  11231. },
  11232. {
  11233. "type": "string",
  11234. "description": "资金账号",
  11235. "name": "accountid",
  11236. "in": "query"
  11237. }
  11238. ],
  11239. "responses": {
  11240. "200": {
  11241. "description": "OK",
  11242. "schema": {
  11243. "type": "array",
  11244. "items": {
  11245. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  11246. }
  11247. }
  11248. },
  11249. "500": {
  11250. "description": "Internal Server Error",
  11251. "schema": {
  11252. "$ref": "#/definitions/app.Response"
  11253. }
  11254. }
  11255. }
  11256. }
  11257. },
  11258. "/Tjmd/QueryTjmdTradeOrderDetail": {
  11259. "get": {
  11260. "security": [
  11261. {
  11262. "ApiKeyAuth": []
  11263. }
  11264. ],
  11265. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  11266. "produces": [
  11267. "application/json"
  11268. ],
  11269. "tags": [
  11270. "天津麦顿"
  11271. ],
  11272. "summary": "查询掉期买卖大厅",
  11273. "parameters": [
  11274. {
  11275. "type": "integer",
  11276. "description": "页码",
  11277. "name": "page",
  11278. "in": "query"
  11279. },
  11280. {
  11281. "type": "integer",
  11282. "description": "每页条数",
  11283. "name": "pagesize",
  11284. "in": "query"
  11285. },
  11286. {
  11287. "type": "integer",
  11288. "description": "用户id",
  11289. "name": "userid",
  11290. "in": "query",
  11291. "required": true
  11292. },
  11293. {
  11294. "type": "integer",
  11295. "description": "用户类型",
  11296. "name": "usertype",
  11297. "in": "query",
  11298. "required": true
  11299. },
  11300. {
  11301. "type": "string",
  11302. "description": "市场id, 格式 1,2,3",
  11303. "name": "marketids",
  11304. "in": "query"
  11305. },
  11306. {
  11307. "type": "integer",
  11308. "description": "商品id",
  11309. "name": "goodsid",
  11310. "in": "query",
  11311. "required": true
  11312. },
  11313. {
  11314. "type": "integer",
  11315. "description": "买卖方向 0-买 1-卖",
  11316. "name": "buyorsell",
  11317. "in": "query",
  11318. "required": true
  11319. }
  11320. ],
  11321. "responses": {
  11322. "200": {
  11323. "description": "OK",
  11324. "schema": {
  11325. "type": "array",
  11326. "items": {
  11327. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  11328. }
  11329. }
  11330. },
  11331. "500": {
  11332. "description": "Internal Server Error",
  11333. "schema": {
  11334. "$ref": "#/definitions/app.Response"
  11335. }
  11336. }
  11337. }
  11338. }
  11339. },
  11340. "/Tjmd/QueryTjmdTransferApply": {
  11341. "get": {
  11342. "security": [
  11343. {
  11344. "ApiKeyAuth": []
  11345. }
  11346. ],
  11347. "produces": [
  11348. "application/json"
  11349. ],
  11350. "tags": [
  11351. "天津麦顿"
  11352. ],
  11353. "summary": "查询掉期协议单",
  11354. "parameters": [
  11355. {
  11356. "type": "integer",
  11357. "description": "类型 1-我的申请 2-对方申请",
  11358. "name": "applytype",
  11359. "in": "query",
  11360. "required": true
  11361. },
  11362. {
  11363. "type": "string",
  11364. "description": "市场id, 格式 1,2,3",
  11365. "name": "marketids",
  11366. "in": "query"
  11367. },
  11368. {
  11369. "type": "string",
  11370. "description": "资金账号, 格式 25000000001,25000000003",
  11371. "name": "accountids",
  11372. "in": "query"
  11373. },
  11374. {
  11375. "type": "string",
  11376. "description": "开始交易日(yyyymmdd)",
  11377. "name": "begindate",
  11378. "in": "query"
  11379. },
  11380. {
  11381. "type": "string",
  11382. "description": "结束交易日(yyyymmdd)",
  11383. "name": "enddate",
  11384. "in": "query"
  11385. }
  11386. ],
  11387. "responses": {
  11388. "200": {
  11389. "description": "OK",
  11390. "schema": {
  11391. "type": "array",
  11392. "items": {
  11393. "$ref": "#/definitions/models.TjmdTransferApply"
  11394. }
  11395. }
  11396. },
  11397. "500": {
  11398. "description": "Internal Server Error",
  11399. "schema": {
  11400. "$ref": "#/definitions/app.Response"
  11401. }
  11402. }
  11403. }
  11404. }
  11405. },
  11406. "/Trade/QueryRecieptOrder": {
  11407. "get": {
  11408. "security": [
  11409. {
  11410. "ApiKeyAuth": []
  11411. }
  11412. ],
  11413. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11414. "produces": [
  11415. "application/json"
  11416. ],
  11417. "tags": [
  11418. "通用交易"
  11419. ],
  11420. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  11421. "parameters": [
  11422. {
  11423. "type": "integer",
  11424. "description": "页码",
  11425. "name": "page",
  11426. "in": "query"
  11427. },
  11428. {
  11429. "type": "integer",
  11430. "description": "每页条数",
  11431. "name": "pagesize",
  11432. "in": "query"
  11433. },
  11434. {
  11435. "type": "integer",
  11436. "description": "商品ID",
  11437. "name": "goodsID",
  11438. "in": "query",
  11439. "required": true
  11440. },
  11441. {
  11442. "type": "string",
  11443. "description": "所属账户名称",
  11444. "name": "accountName",
  11445. "in": "query"
  11446. },
  11447. {
  11448. "type": "integer",
  11449. "description": "市场ID",
  11450. "name": "marketID",
  11451. "in": "query"
  11452. },
  11453. {
  11454. "type": "integer",
  11455. "description": "方向 - 0:买 1:卖",
  11456. "name": "buyorsell",
  11457. "in": "query",
  11458. "required": true
  11459. }
  11460. ],
  11461. "responses": {
  11462. "200": {
  11463. "description": "OK",
  11464. "schema": {
  11465. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  11466. }
  11467. },
  11468. "500": {
  11469. "description": "Internal Server Error",
  11470. "schema": {
  11471. "$ref": "#/definitions/app.Response"
  11472. }
  11473. }
  11474. }
  11475. }
  11476. },
  11477. "/User/AddMessageBoard": {
  11478. "post": {
  11479. "security": [
  11480. {
  11481. "ApiKeyAuth": []
  11482. }
  11483. ],
  11484. "produces": [
  11485. "application/json"
  11486. ],
  11487. "tags": [
  11488. "用户信息"
  11489. ],
  11490. "summary": "添加用户留言板信息",
  11491. "parameters": [
  11492. {
  11493. "type": "integer",
  11494. "description": "用户ID",
  11495. "name": "userID",
  11496. "in": "query",
  11497. "required": true
  11498. },
  11499. {
  11500. "type": "string",
  11501. "description": "留言信息",
  11502. "name": "message",
  11503. "in": "query",
  11504. "required": true
  11505. },
  11506. {
  11507. "type": "string",
  11508. "description": "联系电话",
  11509. "name": "contactNum",
  11510. "in": "query",
  11511. "required": true
  11512. }
  11513. ],
  11514. "responses": {
  11515. "200": {
  11516. "description": "OK",
  11517. "schema": {
  11518. "$ref": "#/definitions/app.Response"
  11519. }
  11520. },
  11521. "500": {
  11522. "description": "Internal Server Error",
  11523. "schema": {
  11524. "$ref": "#/definitions/app.Response"
  11525. }
  11526. }
  11527. }
  11528. }
  11529. },
  11530. "/User/AddUserFavoriteGoods": {
  11531. "post": {
  11532. "security": [
  11533. {
  11534. "ApiKeyAuth": []
  11535. }
  11536. ],
  11537. "produces": [
  11538. "application/json"
  11539. ],
  11540. "tags": [
  11541. "用户信息"
  11542. ],
  11543. "summary": "添加用户商品收藏信息",
  11544. "parameters": [
  11545. {
  11546. "type": "integer",
  11547. "description": "用户ID",
  11548. "name": "userID",
  11549. "in": "query",
  11550. "required": true
  11551. },
  11552. {
  11553. "type": "integer",
  11554. "description": "商品ID",
  11555. "name": "goodsID",
  11556. "in": "query",
  11557. "required": true
  11558. }
  11559. ],
  11560. "responses": {
  11561. "200": {
  11562. "description": "OK",
  11563. "schema": {
  11564. "$ref": "#/definitions/app.Response"
  11565. }
  11566. },
  11567. "500": {
  11568. "description": "Internal Server Error",
  11569. "schema": {
  11570. "$ref": "#/definitions/app.Response"
  11571. }
  11572. }
  11573. }
  11574. }
  11575. },
  11576. "/User/GetLoginID": {
  11577. "get": {
  11578. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  11579. "produces": [
  11580. "application/json"
  11581. ],
  11582. "tags": [
  11583. "用户信息"
  11584. ],
  11585. "summary": "获取登录ID",
  11586. "parameters": [
  11587. {
  11588. "type": "string",
  11589. "description": "登录代码",
  11590. "name": "username",
  11591. "in": "query",
  11592. "required": true
  11593. }
  11594. ],
  11595. "responses": {
  11596. "200": {
  11597. "description": "OK",
  11598. "schema": {
  11599. "$ref": "#/definitions/app.Response"
  11600. }
  11601. },
  11602. "500": {
  11603. "description": "Internal Server Error",
  11604. "schema": {
  11605. "$ref": "#/definitions/app.Response"
  11606. }
  11607. }
  11608. }
  11609. }
  11610. },
  11611. "/User/GetUserAccount": {
  11612. "get": {
  11613. "security": [
  11614. {
  11615. "ApiKeyAuth": []
  11616. }
  11617. ],
  11618. "produces": [
  11619. "application/json"
  11620. ],
  11621. "tags": [
  11622. "用户信息"
  11623. ],
  11624. "summary": "获取用户账号信息",
  11625. "parameters": [
  11626. {
  11627. "type": "integer",
  11628. "description": "用户ID",
  11629. "name": "userID",
  11630. "in": "query",
  11631. "required": true
  11632. }
  11633. ],
  11634. "responses": {
  11635. "200": {
  11636. "description": "OK",
  11637. "schema": {
  11638. "$ref": "#/definitions/models.Useraccount"
  11639. }
  11640. },
  11641. "500": {
  11642. "description": "Internal Server Error",
  11643. "schema": {
  11644. "$ref": "#/definitions/app.Response"
  11645. }
  11646. }
  11647. }
  11648. }
  11649. },
  11650. "/User/GetUserAuthStatus": {
  11651. "get": {
  11652. "security": [
  11653. {
  11654. "ApiKeyAuth": []
  11655. }
  11656. ],
  11657. "produces": [
  11658. "application/json"
  11659. ],
  11660. "tags": [
  11661. "用户信息"
  11662. ],
  11663. "summary": "获取用户实名认证状态",
  11664. "parameters": [
  11665. {
  11666. "type": "integer",
  11667. "description": "用户ID",
  11668. "name": "userID",
  11669. "in": "query",
  11670. "required": true
  11671. }
  11672. ],
  11673. "responses": {
  11674. "200": {
  11675. "description": "OK",
  11676. "schema": {
  11677. "$ref": "#/definitions/app.Response"
  11678. }
  11679. },
  11680. "500": {
  11681. "description": "Internal Server Error",
  11682. "schema": {
  11683. "$ref": "#/definitions/app.Response"
  11684. }
  11685. }
  11686. }
  11687. }
  11688. },
  11689. "/User/LoginQuery": {
  11690. "get": {
  11691. "security": [
  11692. {
  11693. "ApiKeyAuth": []
  11694. }
  11695. ],
  11696. "produces": [
  11697. "application/json"
  11698. ],
  11699. "tags": [
  11700. "用户信息"
  11701. ],
  11702. "summary": "账户登录后信息查询",
  11703. "parameters": [
  11704. {
  11705. "type": "integer",
  11706. "description": "登录账号",
  11707. "name": "loginID",
  11708. "in": "query",
  11709. "required": true
  11710. }
  11711. ],
  11712. "responses": {
  11713. "200": {
  11714. "description": "OK",
  11715. "schema": {
  11716. "$ref": "#/definitions/user.LoginQueryRsp"
  11717. }
  11718. },
  11719. "500": {
  11720. "description": "Internal Server Error",
  11721. "schema": {
  11722. "$ref": "#/definitions/app.Response"
  11723. }
  11724. }
  11725. }
  11726. }
  11727. },
  11728. "/User/QueryMessageBoard": {
  11729. "get": {
  11730. "security": [
  11731. {
  11732. "ApiKeyAuth": []
  11733. }
  11734. ],
  11735. "produces": [
  11736. "application/json"
  11737. ],
  11738. "tags": [
  11739. "用户信息"
  11740. ],
  11741. "summary": "获取用户留言板信息",
  11742. "parameters": [
  11743. {
  11744. "type": "integer",
  11745. "description": "用户ID",
  11746. "name": "userID",
  11747. "in": "query",
  11748. "required": true
  11749. }
  11750. ],
  11751. "responses": {
  11752. "200": {
  11753. "description": "OK",
  11754. "schema": {
  11755. "$ref": "#/definitions/models.Messageboard"
  11756. }
  11757. },
  11758. "500": {
  11759. "description": "Internal Server Error",
  11760. "schema": {
  11761. "$ref": "#/definitions/app.Response"
  11762. }
  11763. }
  11764. }
  11765. }
  11766. },
  11767. "/User/QueryUserFavoriteGoodses": {
  11768. "get": {
  11769. "security": [
  11770. {
  11771. "ApiKeyAuth": []
  11772. }
  11773. ],
  11774. "produces": [
  11775. "application/json"
  11776. ],
  11777. "tags": [
  11778. "用户信息"
  11779. ],
  11780. "summary": "获取用户商品收藏信息",
  11781. "parameters": [
  11782. {
  11783. "type": "integer",
  11784. "description": "用户ID",
  11785. "name": "userID",
  11786. "in": "query",
  11787. "required": true
  11788. }
  11789. ],
  11790. "responses": {
  11791. "200": {
  11792. "description": "OK",
  11793. "schema": {
  11794. "$ref": "#/definitions/models.Userfavoritegoods"
  11795. }
  11796. },
  11797. "500": {
  11798. "description": "Internal Server Error",
  11799. "schema": {
  11800. "$ref": "#/definitions/app.Response"
  11801. }
  11802. }
  11803. }
  11804. }
  11805. },
  11806. "/User/QueryUserInfo": {
  11807. "get": {
  11808. "security": [
  11809. {
  11810. "ApiKeyAuth": []
  11811. }
  11812. ],
  11813. "produces": [
  11814. "application/json"
  11815. ],
  11816. "tags": [
  11817. "用户信息"
  11818. ],
  11819. "summary": "获取用户信息",
  11820. "parameters": [
  11821. {
  11822. "type": "integer",
  11823. "description": "用户ID",
  11824. "name": "userID",
  11825. "in": "query",
  11826. "required": true
  11827. },
  11828. {
  11829. "type": "boolean",
  11830. "description": "是否解密",
  11831. "name": "isDecrypt",
  11832. "in": "query"
  11833. }
  11834. ],
  11835. "responses": {
  11836. "200": {
  11837. "description": "OK",
  11838. "schema": {
  11839. "$ref": "#/definitions/models.Userinfo"
  11840. }
  11841. },
  11842. "500": {
  11843. "description": "Internal Server Error",
  11844. "schema": {
  11845. "$ref": "#/definitions/app.Response"
  11846. }
  11847. }
  11848. }
  11849. }
  11850. },
  11851. "/User/QueryUserReferNum": {
  11852. "get": {
  11853. "produces": [
  11854. "application/json"
  11855. ],
  11856. "tags": [
  11857. "用户信息"
  11858. ],
  11859. "summary": "获取用户邀请码",
  11860. "parameters": [
  11861. {
  11862. "type": "integer",
  11863. "description": "用户ID",
  11864. "name": "userID",
  11865. "in": "query",
  11866. "required": true
  11867. }
  11868. ],
  11869. "responses": {
  11870. "200": {
  11871. "description": "OK",
  11872. "schema": {
  11873. "$ref": "#/definitions/app.Response"
  11874. }
  11875. },
  11876. "500": {
  11877. "description": "Internal Server Error",
  11878. "schema": {
  11879. "$ref": "#/definitions/app.Response"
  11880. }
  11881. }
  11882. }
  11883. }
  11884. },
  11885. "/User/RemoveUserFavoriteGoods": {
  11886. "post": {
  11887. "security": [
  11888. {
  11889. "ApiKeyAuth": []
  11890. }
  11891. ],
  11892. "produces": [
  11893. "application/json"
  11894. ],
  11895. "tags": [
  11896. "用户信息"
  11897. ],
  11898. "summary": "移除用户商品收藏信息",
  11899. "parameters": [
  11900. {
  11901. "type": "integer",
  11902. "description": "用户ID",
  11903. "name": "userID",
  11904. "in": "query",
  11905. "required": true
  11906. },
  11907. {
  11908. "type": "integer",
  11909. "description": "商品ID",
  11910. "name": "goodsID",
  11911. "in": "query",
  11912. "required": true
  11913. }
  11914. ],
  11915. "responses": {
  11916. "200": {
  11917. "description": "OK",
  11918. "schema": {
  11919. "$ref": "#/definitions/app.Response"
  11920. }
  11921. },
  11922. "500": {
  11923. "description": "Internal Server Error",
  11924. "schema": {
  11925. "$ref": "#/definitions/app.Response"
  11926. }
  11927. }
  11928. }
  11929. }
  11930. },
  11931. "/User/UpdateUserAccountStatus": {
  11932. "post": {
  11933. "security": [
  11934. {
  11935. "ApiKeyAuth": []
  11936. }
  11937. ],
  11938. "produces": [
  11939. "application/json"
  11940. ],
  11941. "tags": [
  11942. "用户信息"
  11943. ],
  11944. "summary": "更新用户状态",
  11945. "parameters": [
  11946. {
  11947. "type": "integer",
  11948. "description": "用户ID",
  11949. "name": "userID",
  11950. "in": "query",
  11951. "required": true
  11952. },
  11953. {
  11954. "type": "integer",
  11955. "description": "账户状态 - 4:正常 6:注销(停用)",
  11956. "name": "accountStatus",
  11957. "in": "query",
  11958. "required": true
  11959. }
  11960. ],
  11961. "responses": {
  11962. "200": {
  11963. "description": "OK",
  11964. "schema": {
  11965. "$ref": "#/definitions/app.Response"
  11966. }
  11967. },
  11968. "500": {
  11969. "description": "Internal Server Error",
  11970. "schema": {
  11971. "$ref": "#/definitions/app.Response"
  11972. }
  11973. }
  11974. }
  11975. }
  11976. },
  11977. "/WRTrade/GetAllDeliveryGoods": {
  11978. "get": {
  11979. "security": [
  11980. {
  11981. "ApiKeyAuth": []
  11982. },
  11983. {
  11984. "ApiKeyAuth": []
  11985. }
  11986. ],
  11987. "produces": [
  11988. "application/json",
  11989. "application/json"
  11990. ],
  11991. "tags": [
  11992. "仓单贸易",
  11993. "仓单贸易"
  11994. ],
  11995. "summary": "获取带仓单分类的种类信息",
  11996. "responses": {
  11997. "200": {
  11998. "description": "OK",
  11999. "schema": {
  12000. "$ref": "#/definitions/app.Response"
  12001. }
  12002. },
  12003. "500": {
  12004. "description": "Internal Server Error",
  12005. "schema": {
  12006. "$ref": "#/definitions/app.Response"
  12007. }
  12008. }
  12009. }
  12010. }
  12011. },
  12012. "/WrTrade2/QueryDeliveryGoodsSection": {
  12013. "get": {
  12014. "security": [
  12015. {
  12016. "ApiKeyAuth": []
  12017. }
  12018. ],
  12019. "produces": [
  12020. "application/json"
  12021. ],
  12022. "tags": [
  12023. "仓单贸易v2"
  12024. ],
  12025. "summary": "查询板块(分类)",
  12026. "responses": {
  12027. "200": {
  12028. "description": "OK",
  12029. "schema": {
  12030. "type": "array",
  12031. "items": {
  12032. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  12033. }
  12034. }
  12035. },
  12036. "500": {
  12037. "description": "Internal Server Error",
  12038. "schema": {
  12039. "$ref": "#/definitions/app.Response"
  12040. }
  12041. }
  12042. }
  12043. }
  12044. },
  12045. "/WrTrade2/QueryFaProductDetail": {
  12046. "get": {
  12047. "security": [
  12048. {
  12049. "ApiKeyAuth": []
  12050. }
  12051. ],
  12052. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  12053. "produces": [
  12054. "application/json"
  12055. ],
  12056. "tags": [
  12057. "仓单贸易v2"
  12058. ],
  12059. "summary": "查询融资产品列表",
  12060. "parameters": [
  12061. {
  12062. "type": "integer",
  12063. "description": "仓单要素id",
  12064. "name": "wrfactortypeid",
  12065. "in": "query",
  12066. "required": true
  12067. }
  12068. ],
  12069. "responses": {
  12070. "200": {
  12071. "description": "OK",
  12072. "schema": {
  12073. "type": "array",
  12074. "items": {
  12075. "$ref": "#/definitions/models.WrFAProductDetail"
  12076. }
  12077. }
  12078. },
  12079. "500": {
  12080. "description": "Internal Server Error",
  12081. "schema": {
  12082. "$ref": "#/definitions/app.Response"
  12083. }
  12084. }
  12085. }
  12086. }
  12087. },
  12088. "/WrTrade2/QueryFilterItem": {
  12089. "get": {
  12090. "security": [
  12091. {
  12092. "ApiKeyAuth": []
  12093. }
  12094. ],
  12095. "produces": [
  12096. "application/json"
  12097. ],
  12098. "tags": [
  12099. "仓单贸易v2"
  12100. ],
  12101. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  12102. "parameters": [
  12103. {
  12104. "type": "string",
  12105. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  12106. "name": "itype",
  12107. "in": "query",
  12108. "required": true
  12109. }
  12110. ],
  12111. "responses": {
  12112. "200": {
  12113. "description": "OK",
  12114. "schema": {
  12115. "type": "array",
  12116. "items": {
  12117. "$ref": "#/definitions/models.WrFilterItem"
  12118. }
  12119. }
  12120. },
  12121. "500": {
  12122. "description": "Internal Server Error",
  12123. "schema": {
  12124. "$ref": "#/definitions/app.Response"
  12125. }
  12126. }
  12127. }
  12128. }
  12129. },
  12130. "/WrTrade2/QueryFtDeliveryGoods": {
  12131. "get": {
  12132. "security": [
  12133. {
  12134. "ApiKeyAuth": []
  12135. }
  12136. ],
  12137. "produces": [
  12138. "application/json"
  12139. ],
  12140. "tags": [
  12141. "仓单贸易v2"
  12142. ],
  12143. "summary": "查询品种品类筛选框列表",
  12144. "responses": {
  12145. "200": {
  12146. "description": "OK",
  12147. "schema": {
  12148. "type": "array",
  12149. "items": {
  12150. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  12151. }
  12152. }
  12153. },
  12154. "500": {
  12155. "description": "Internal Server Error",
  12156. "schema": {
  12157. "$ref": "#/definitions/app.Response"
  12158. }
  12159. }
  12160. }
  12161. }
  12162. },
  12163. "/WrTrade2/QueryHoldLB": {
  12164. "get": {
  12165. "security": [
  12166. {
  12167. "ApiKeyAuth": []
  12168. }
  12169. ],
  12170. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  12171. "produces": [
  12172. "application/json"
  12173. ],
  12174. "tags": [
  12175. "仓单贸易v2"
  12176. ],
  12177. "summary": "查询仓单持有记录",
  12178. "parameters": [
  12179. {
  12180. "type": "integer",
  12181. "description": "资金账号",
  12182. "name": "accountid",
  12183. "in": "query",
  12184. "required": true
  12185. },
  12186. {
  12187. "type": "integer",
  12188. "description": "仓库id",
  12189. "name": "warehouseid",
  12190. "in": "query"
  12191. },
  12192. {
  12193. "type": "integer",
  12194. "description": "品种id",
  12195. "name": "deliverygoodsid",
  12196. "in": "query"
  12197. },
  12198. {
  12199. "type": "integer",
  12200. "description": "品类id",
  12201. "name": "wrstandardid",
  12202. "in": "query"
  12203. },
  12204. {
  12205. "type": "integer",
  12206. "description": "仓单要素id",
  12207. "name": "wrfactortypeid",
  12208. "in": "query"
  12209. },
  12210. {
  12211. "type": "string",
  12212. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12213. "name": "dgitemname",
  12214. "in": "query"
  12215. }
  12216. ],
  12217. "responses": {
  12218. "200": {
  12219. "description": "OK",
  12220. "schema": {
  12221. "type": "array",
  12222. "items": {
  12223. "$ref": "#/definitions/models.WrHoldLB"
  12224. }
  12225. }
  12226. },
  12227. "500": {
  12228. "description": "Internal Server Error",
  12229. "schema": {
  12230. "$ref": "#/definitions/app.Response"
  12231. }
  12232. }
  12233. }
  12234. }
  12235. },
  12236. "/WrTrade2/QueryOrderQuote": {
  12237. "get": {
  12238. "security": [
  12239. {
  12240. "ApiKeyAuth": []
  12241. }
  12242. ],
  12243. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  12244. "produces": [
  12245. "application/json"
  12246. ],
  12247. "tags": [
  12248. "仓单贸易v2"
  12249. ],
  12250. "summary": "查询大厅行情列表",
  12251. "parameters": [
  12252. {
  12253. "type": "integer",
  12254. "description": "页码",
  12255. "name": "page",
  12256. "in": "query"
  12257. },
  12258. {
  12259. "type": "integer",
  12260. "description": "每页条数",
  12261. "name": "pagesize",
  12262. "in": "query"
  12263. },
  12264. {
  12265. "type": "integer",
  12266. "description": "仓单贸易市场id",
  12267. "name": "marketid",
  12268. "in": "query"
  12269. },
  12270. {
  12271. "type": "integer",
  12272. "description": "价格方式 - 1:固定价 2-浮动价",
  12273. "name": "wrpricetype",
  12274. "in": "query",
  12275. "required": true
  12276. },
  12277. {
  12278. "type": "integer",
  12279. "description": "0:仓单预售 1:仓单贸易",
  12280. "name": "haswr",
  12281. "in": "query"
  12282. },
  12283. {
  12284. "type": "string",
  12285. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12286. "name": "dgitemname",
  12287. "in": "query"
  12288. },
  12289. {
  12290. "type": "integer",
  12291. "description": "仓库id(筛选条件)",
  12292. "name": "warehouseid",
  12293. "in": "query"
  12294. },
  12295. {
  12296. "type": "integer",
  12297. "description": "品种id",
  12298. "name": "deliverygoodsid",
  12299. "in": "query"
  12300. },
  12301. {
  12302. "type": "integer",
  12303. "description": "品类id",
  12304. "name": "wrstandardid",
  12305. "in": "query"
  12306. },
  12307. {
  12308. "type": "integer",
  12309. "description": "仓单要素id",
  12310. "name": "wrfactortypeid",
  12311. "in": "query"
  12312. },
  12313. {
  12314. "type": "string",
  12315. "description": "交收月(yyyy-mm) 仓单预售填写",
  12316. "name": "deliverymonth",
  12317. "in": "query"
  12318. }
  12319. ],
  12320. "responses": {
  12321. "200": {
  12322. "description": "OK",
  12323. "schema": {
  12324. "type": "array",
  12325. "items": {
  12326. "$ref": "#/definitions/models.WrOrderQuote"
  12327. }
  12328. }
  12329. },
  12330. "500": {
  12331. "description": "Internal Server Error",
  12332. "schema": {
  12333. "$ref": "#/definitions/app.Response"
  12334. }
  12335. }
  12336. }
  12337. }
  12338. },
  12339. "/WrTrade2/QueryOrderQuoteDetail": {
  12340. "get": {
  12341. "security": [
  12342. {
  12343. "ApiKeyAuth": []
  12344. }
  12345. ],
  12346. "produces": [
  12347. "application/json"
  12348. ],
  12349. "tags": [
  12350. "仓单贸易v2"
  12351. ],
  12352. "summary": "查询买卖大厅",
  12353. "parameters": [
  12354. {
  12355. "type": "integer",
  12356. "description": "页码",
  12357. "name": "page",
  12358. "in": "query"
  12359. },
  12360. {
  12361. "type": "integer",
  12362. "description": "每页条数",
  12363. "name": "pagesize",
  12364. "in": "query"
  12365. },
  12366. {
  12367. "type": "integer",
  12368. "description": "仓单贸易市场id",
  12369. "name": "marketid",
  12370. "in": "query"
  12371. },
  12372. {
  12373. "type": "integer",
  12374. "description": "价格方式 - 1:固定价 2-浮动价",
  12375. "name": "wrpricetype",
  12376. "in": "query",
  12377. "required": true
  12378. },
  12379. {
  12380. "type": "integer",
  12381. "description": "0:仓单预售 1:仓单贸易",
  12382. "name": "haswr",
  12383. "in": "query"
  12384. },
  12385. {
  12386. "type": "integer",
  12387. "description": "仓单要素id",
  12388. "name": "wrfactortypeid",
  12389. "in": "query",
  12390. "required": true
  12391. },
  12392. {
  12393. "type": "integer",
  12394. "description": "期货商品id(浮动价方式时填)",
  12395. "name": "goodsid",
  12396. "in": "query"
  12397. },
  12398. {
  12399. "type": "integer",
  12400. "description": "买卖方向 0-买 1-卖",
  12401. "name": "buyorsell",
  12402. "in": "query",
  12403. "required": true
  12404. },
  12405. {
  12406. "type": "string",
  12407. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  12408. "name": "deliverymonth",
  12409. "in": "query"
  12410. }
  12411. ],
  12412. "responses": {
  12413. "200": {
  12414. "description": "OK",
  12415. "schema": {
  12416. "type": "array",
  12417. "items": {
  12418. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  12419. }
  12420. }
  12421. },
  12422. "500": {
  12423. "description": "Internal Server Error",
  12424. "schema": {
  12425. "$ref": "#/definitions/app.Response"
  12426. }
  12427. }
  12428. }
  12429. }
  12430. },
  12431. "/WrTrade2/QueryOrderQuoteMyq": {
  12432. "get": {
  12433. "security": [
  12434. {
  12435. "ApiKeyAuth": []
  12436. }
  12437. ],
  12438. "produces": [
  12439. "application/json"
  12440. ],
  12441. "tags": [
  12442. "仓单贸易v2"
  12443. ],
  12444. "summary": "查询贸易圈挂牌大厅",
  12445. "parameters": [
  12446. {
  12447. "type": "integer",
  12448. "description": "页码",
  12449. "name": "page",
  12450. "in": "query"
  12451. },
  12452. {
  12453. "type": "integer",
  12454. "description": "每页条数",
  12455. "name": "pagesize",
  12456. "in": "query"
  12457. },
  12458. {
  12459. "type": "integer",
  12460. "description": "用户id",
  12461. "name": "userid",
  12462. "in": "query",
  12463. "required": true
  12464. },
  12465. {
  12466. "type": "integer",
  12467. "description": "仓单贸易市场id",
  12468. "name": "marketid",
  12469. "in": "query"
  12470. },
  12471. {
  12472. "type": "integer",
  12473. "description": "0:仓单预售 1:仓单贸易",
  12474. "name": "haswr",
  12475. "in": "query"
  12476. },
  12477. {
  12478. "type": "integer",
  12479. "description": "买卖方向 0-买 1-卖",
  12480. "name": "buyorsell",
  12481. "in": "query",
  12482. "required": true
  12483. },
  12484. {
  12485. "type": "integer",
  12486. "description": "品种id",
  12487. "name": "deliverygoodsid",
  12488. "in": "query"
  12489. },
  12490. {
  12491. "type": "integer",
  12492. "description": "品类id",
  12493. "name": "wrstandardid",
  12494. "in": "query"
  12495. },
  12496. {
  12497. "type": "string",
  12498. "description": "交收月(yyyy-mm) 仓单预售填写",
  12499. "name": "deliverymonth",
  12500. "in": "query"
  12501. },
  12502. {
  12503. "type": "string",
  12504. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12505. "name": "dgitemname",
  12506. "in": "query"
  12507. }
  12508. ],
  12509. "responses": {
  12510. "200": {
  12511. "description": "OK",
  12512. "schema": {
  12513. "type": "array",
  12514. "items": {
  12515. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  12516. }
  12517. }
  12518. },
  12519. "500": {
  12520. "description": "Internal Server Error",
  12521. "schema": {
  12522. "$ref": "#/definitions/app.Response"
  12523. }
  12524. }
  12525. }
  12526. }
  12527. },
  12528. "/WrTrade2/QueryPerformancePlan": {
  12529. "get": {
  12530. "security": [
  12531. {
  12532. "ApiKeyAuth": []
  12533. }
  12534. ],
  12535. "produces": [
  12536. "application/json"
  12537. ],
  12538. "tags": [
  12539. "仓单贸易v2"
  12540. ],
  12541. "summary": "查询履约信息",
  12542. "parameters": [
  12543. {
  12544. "type": "integer",
  12545. "description": "用户id",
  12546. "name": "userid",
  12547. "in": "query",
  12548. "required": true
  12549. },
  12550. {
  12551. "type": "integer",
  12552. "description": "买卖方向 0-买 1-卖",
  12553. "name": "buyorsell",
  12554. "in": "query",
  12555. "required": true
  12556. },
  12557. {
  12558. "type": "string",
  12559. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  12560. "name": "status",
  12561. "in": "query"
  12562. },
  12563. {
  12564. "type": "string",
  12565. "description": "开始交易日(yyyymmdd)",
  12566. "name": "begindate",
  12567. "in": "query"
  12568. },
  12569. {
  12570. "type": "string",
  12571. "description": "结束交易日(yyyymmdd)",
  12572. "name": "enddate",
  12573. "in": "query"
  12574. }
  12575. ],
  12576. "responses": {
  12577. "200": {
  12578. "description": "OK",
  12579. "schema": {
  12580. "type": "array",
  12581. "items": {
  12582. "$ref": "#/definitions/models.WrPerformancePlan"
  12583. }
  12584. }
  12585. },
  12586. "500": {
  12587. "description": "Internal Server Error",
  12588. "schema": {
  12589. "$ref": "#/definitions/app.Response"
  12590. }
  12591. }
  12592. }
  12593. }
  12594. },
  12595. "/WrTrade2/QueryPermancePlanTmp": {
  12596. "get": {
  12597. "security": [
  12598. {
  12599. "ApiKeyAuth": []
  12600. }
  12601. ],
  12602. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  12603. "produces": [
  12604. "application/json"
  12605. ],
  12606. "tags": [
  12607. "仓单贸易v2"
  12608. ],
  12609. "summary": "查询履约模板",
  12610. "parameters": [
  12611. {
  12612. "type": "integer",
  12613. "description": "用户id",
  12614. "name": "userid",
  12615. "in": "query"
  12616. },
  12617. {
  12618. "type": "string",
  12619. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  12620. "name": "tmptype",
  12621. "in": "query"
  12622. },
  12623. {
  12624. "type": "integer",
  12625. "description": "是否包含公共模板(用户id为空的) 1-包含",
  12626. "name": "includepub",
  12627. "in": "query"
  12628. },
  12629. {
  12630. "type": "integer",
  12631. "description": "市场id(天津麦顿指定此参数,其它不用)",
  12632. "name": "marketid",
  12633. "in": "query"
  12634. }
  12635. ],
  12636. "responses": {
  12637. "200": {
  12638. "description": "OK",
  12639. "schema": {
  12640. "type": "array",
  12641. "items": {
  12642. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  12643. }
  12644. }
  12645. },
  12646. "500": {
  12647. "description": "Internal Server Error",
  12648. "schema": {
  12649. "$ref": "#/definitions/app.Response"
  12650. }
  12651. }
  12652. }
  12653. }
  12654. },
  12655. "/WrTrade2/QuerySiteColumnDetail": {
  12656. "get": {
  12657. "security": [
  12658. {
  12659. "ApiKeyAuth": []
  12660. }
  12661. ],
  12662. "produces": [
  12663. "application/json"
  12664. ],
  12665. "tags": [
  12666. "仓单贸易v2"
  12667. ],
  12668. "summary": "查询资讯",
  12669. "parameters": [
  12670. {
  12671. "type": "integer",
  12672. "description": "页码",
  12673. "name": "page",
  12674. "in": "query"
  12675. },
  12676. {
  12677. "type": "integer",
  12678. "description": "每页条数",
  12679. "name": "pagesize",
  12680. "in": "query"
  12681. }
  12682. ],
  12683. "responses": {
  12684. "200": {
  12685. "description": "OK",
  12686. "schema": {
  12687. "type": "array",
  12688. "items": {
  12689. "$ref": "#/definitions/models.WrSiteColumnDetail"
  12690. }
  12691. }
  12692. },
  12693. "500": {
  12694. "description": "Internal Server Error",
  12695. "schema": {
  12696. "$ref": "#/definitions/app.Response"
  12697. }
  12698. }
  12699. }
  12700. }
  12701. },
  12702. "/WrTrade2/QuerySpotGroupTradeSum": {
  12703. "get": {
  12704. "security": [
  12705. {
  12706. "ApiKeyAuth": []
  12707. }
  12708. ],
  12709. "produces": [
  12710. "application/json"
  12711. ],
  12712. "tags": [
  12713. "仓单贸易v2"
  12714. ],
  12715. "summary": "查询指数",
  12716. "responses": {
  12717. "200": {
  12718. "description": "OK",
  12719. "schema": {
  12720. "type": "array",
  12721. "items": {
  12722. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  12723. }
  12724. }
  12725. },
  12726. "500": {
  12727. "description": "Internal Server Error",
  12728. "schema": {
  12729. "$ref": "#/definitions/app.Response"
  12730. }
  12731. }
  12732. }
  12733. }
  12734. },
  12735. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  12736. "get": {
  12737. "security": [
  12738. {
  12739. "ApiKeyAuth": []
  12740. }
  12741. ],
  12742. "description": "查询的结果将会按日期 从小到大 排序",
  12743. "produces": [
  12744. "application/json"
  12745. ],
  12746. "tags": [
  12747. "仓单贸易v2"
  12748. ],
  12749. "summary": "查询指数详细(价格走势图)",
  12750. "parameters": [
  12751. {
  12752. "type": "integer",
  12753. "description": "现货商品id",
  12754. "name": "deliverygoodsid",
  12755. "in": "query",
  12756. "required": true
  12757. },
  12758. {
  12759. "type": "integer",
  12760. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  12761. "name": "lastnum",
  12762. "in": "query"
  12763. }
  12764. ],
  12765. "responses": {
  12766. "200": {
  12767. "description": "OK",
  12768. "schema": {
  12769. "type": "array",
  12770. "items": {
  12771. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  12772. }
  12773. }
  12774. },
  12775. "500": {
  12776. "description": "Internal Server Error",
  12777. "schema": {
  12778. "$ref": "#/definitions/app.Response"
  12779. }
  12780. }
  12781. }
  12782. }
  12783. },
  12784. "/WrTrade2/QueryWrAverageTradePrice": {
  12785. "get": {
  12786. "security": [
  12787. {
  12788. "ApiKeyAuth": []
  12789. }
  12790. ],
  12791. "produces": [
  12792. "application/json"
  12793. ],
  12794. "tags": [
  12795. "仓单贸易v2"
  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": "0:仓单预售 1:仓单贸易",
  12814. "name": "haswr",
  12815. "in": "query",
  12816. "required": true
  12817. },
  12818. {
  12819. "type": "integer",
  12820. "description": "仓单要素id",
  12821. "name": "wrfactortypeid",
  12822. "in": "query",
  12823. "required": true
  12824. }
  12825. ],
  12826. "responses": {
  12827. "200": {
  12828. "description": "OK",
  12829. "schema": {
  12830. "type": "array",
  12831. "items": {
  12832. "$ref": "#/definitions/models.WrAverageTradePrice"
  12833. }
  12834. }
  12835. },
  12836. "500": {
  12837. "description": "Internal Server Error",
  12838. "schema": {
  12839. "$ref": "#/definitions/app.Response"
  12840. }
  12841. }
  12842. }
  12843. }
  12844. },
  12845. "/WrTrade2/QueryWrBsGoodsInfo": {
  12846. "get": {
  12847. "security": [
  12848. {
  12849. "ApiKeyAuth": []
  12850. }
  12851. ],
  12852. "description": "合约交易/买卖大厅/详情",
  12853. "produces": [
  12854. "application/json"
  12855. ],
  12856. "tags": [
  12857. "仓单贸易v2"
  12858. ],
  12859. "summary": "查询合约交易买卖大厅详情",
  12860. "parameters": [
  12861. {
  12862. "type": "integer",
  12863. "description": "商品id",
  12864. "name": "goodsid",
  12865. "in": "query",
  12866. "required": true
  12867. }
  12868. ],
  12869. "responses": {
  12870. "200": {
  12871. "description": "OK",
  12872. "schema": {
  12873. "type": "array",
  12874. "items": {
  12875. "$ref": "#/definitions/models.WrBsGoodsInfo"
  12876. }
  12877. }
  12878. },
  12879. "500": {
  12880. "description": "Internal Server Error",
  12881. "schema": {
  12882. "$ref": "#/definitions/app.Response"
  12883. }
  12884. }
  12885. }
  12886. }
  12887. },
  12888. "/WrTrade2/QueryWrBuybackDetail": {
  12889. "get": {
  12890. "security": [
  12891. {
  12892. "ApiKeyAuth": []
  12893. }
  12894. ],
  12895. "produces": [
  12896. "application/json"
  12897. ],
  12898. "tags": [
  12899. "仓单贸易v2"
  12900. ],
  12901. "summary": "查询仓单回购明细",
  12902. "parameters": [
  12903. {
  12904. "type": "integer",
  12905. "description": "融资合同id",
  12906. "name": "scfcontractid",
  12907. "in": "query"
  12908. }
  12909. ],
  12910. "responses": {
  12911. "200": {
  12912. "description": "OK",
  12913. "schema": {
  12914. "type": "array",
  12915. "items": {
  12916. "$ref": "#/definitions/models.WrBuybackDetail"
  12917. }
  12918. }
  12919. },
  12920. "500": {
  12921. "description": "Internal Server Error",
  12922. "schema": {
  12923. "$ref": "#/definitions/app.Response"
  12924. }
  12925. }
  12926. }
  12927. }
  12928. },
  12929. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  12930. "get": {
  12931. "security": [
  12932. {
  12933. "ApiKeyAuth": []
  12934. }
  12935. ],
  12936. "produces": [
  12937. "application/json"
  12938. ],
  12939. "tags": [
  12940. "仓单贸易v2"
  12941. ],
  12942. "summary": "查询合约交收可点选仓单",
  12943. "parameters": [
  12944. {
  12945. "type": "integer",
  12946. "description": "资金账号",
  12947. "name": "accountid",
  12948. "in": "query",
  12949. "required": true
  12950. },
  12951. {
  12952. "type": "integer",
  12953. "description": "商品id",
  12954. "name": "goodsid",
  12955. "in": "query",
  12956. "required": true
  12957. }
  12958. ],
  12959. "responses": {
  12960. "200": {
  12961. "description": "OK",
  12962. "schema": {
  12963. "type": "array",
  12964. "items": {
  12965. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  12966. }
  12967. }
  12968. },
  12969. "500": {
  12970. "description": "Internal Server Error",
  12971. "schema": {
  12972. "$ref": "#/definitions/app.Response"
  12973. }
  12974. }
  12975. }
  12976. }
  12977. },
  12978. "/WrTrade2/QueryWrDeliveryDetail": {
  12979. "get": {
  12980. "security": [
  12981. {
  12982. "ApiKeyAuth": []
  12983. }
  12984. ],
  12985. "produces": [
  12986. "application/json"
  12987. ],
  12988. "tags": [
  12989. "仓单贸易v2"
  12990. ],
  12991. "summary": "查询交收",
  12992. "parameters": [
  12993. {
  12994. "type": "integer",
  12995. "description": "用户id",
  12996. "name": "userid",
  12997. "in": "query",
  12998. "required": true
  12999. },
  13000. {
  13001. "type": "integer",
  13002. "description": "资金账号id",
  13003. "name": "accountid",
  13004. "in": "query"
  13005. },
  13006. {
  13007. "type": "string",
  13008. "description": "开始交易日(yyyymmdd)",
  13009. "name": "begindate",
  13010. "in": "query"
  13011. },
  13012. {
  13013. "type": "string",
  13014. "description": "结束交易日(yyyymmdd)",
  13015. "name": "enddate",
  13016. "in": "query"
  13017. }
  13018. ],
  13019. "responses": {
  13020. "200": {
  13021. "description": "OK",
  13022. "schema": {
  13023. "type": "array",
  13024. "items": {
  13025. "$ref": "#/definitions/models.WrDeliveryDetail"
  13026. }
  13027. }
  13028. },
  13029. "500": {
  13030. "description": "Internal Server Error",
  13031. "schema": {
  13032. "$ref": "#/definitions/app.Response"
  13033. }
  13034. }
  13035. }
  13036. }
  13037. },
  13038. "/WrTrade2/QueryWrFactorTypeInfo": {
  13039. "get": {
  13040. "security": [
  13041. {
  13042. "ApiKeyAuth": []
  13043. }
  13044. ],
  13045. "produces": [
  13046. "application/json"
  13047. ],
  13048. "tags": [
  13049. "仓单贸易v2"
  13050. ],
  13051. "summary": "查询仓单要素详细信息",
  13052. "parameters": [
  13053. {
  13054. "type": "integer",
  13055. "description": "仓单要素id",
  13056. "name": "wrfactortypeid",
  13057. "in": "query",
  13058. "required": true
  13059. }
  13060. ],
  13061. "responses": {
  13062. "200": {
  13063. "description": "OK",
  13064. "schema": {
  13065. "type": "array",
  13066. "items": {
  13067. "$ref": "#/definitions/models.WrFactorTypeInfo"
  13068. }
  13069. }
  13070. },
  13071. "500": {
  13072. "description": "Internal Server Error",
  13073. "schema": {
  13074. "$ref": "#/definitions/app.Response"
  13075. }
  13076. }
  13077. }
  13078. }
  13079. },
  13080. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  13081. "get": {
  13082. "security": [
  13083. {
  13084. "ApiKeyAuth": []
  13085. }
  13086. ],
  13087. "produces": [
  13088. "application/json"
  13089. ],
  13090. "tags": [
  13091. "仓单贸易v2"
  13092. ],
  13093. "summary": "查询仓单要素详细信息列表项",
  13094. "parameters": [
  13095. {
  13096. "type": "integer",
  13097. "description": "仓单要素id",
  13098. "name": "wrfactortypeid",
  13099. "in": "query",
  13100. "required": true
  13101. }
  13102. ],
  13103. "responses": {
  13104. "200": {
  13105. "description": "OK",
  13106. "schema": {
  13107. "type": "array",
  13108. "items": {
  13109. "$ref": "#/definitions/models.WrTypeItem"
  13110. }
  13111. }
  13112. },
  13113. "500": {
  13114. "description": "Internal Server Error",
  13115. "schema": {
  13116. "$ref": "#/definitions/app.Response"
  13117. }
  13118. }
  13119. }
  13120. }
  13121. },
  13122. "/WrTrade2/QueryWrFinanceBuyApply": {
  13123. "get": {
  13124. "security": [
  13125. {
  13126. "ApiKeyAuth": []
  13127. }
  13128. ],
  13129. "description": "页面 融资信息+ / 申请单",
  13130. "produces": [
  13131. "application/json"
  13132. ],
  13133. "tags": [
  13134. "仓单贸易v2"
  13135. ],
  13136. "summary": "查询融资购买申请",
  13137. "parameters": [
  13138. {
  13139. "type": "integer",
  13140. "description": "用户id",
  13141. "name": "userid",
  13142. "in": "query",
  13143. "required": true
  13144. }
  13145. ],
  13146. "responses": {
  13147. "200": {
  13148. "description": "OK",
  13149. "schema": {
  13150. "type": "array",
  13151. "items": {
  13152. "$ref": "#/definitions/models.WrFinanceBuyApply"
  13153. }
  13154. }
  13155. },
  13156. "500": {
  13157. "description": "Internal Server Error",
  13158. "schema": {
  13159. "$ref": "#/definitions/app.Response"
  13160. }
  13161. }
  13162. }
  13163. }
  13164. },
  13165. "/WrTrade2/QueryWrFriendApply": {
  13166. "get": {
  13167. "security": [
  13168. {
  13169. "ApiKeyAuth": []
  13170. }
  13171. ],
  13172. "produces": [
  13173. "application/json"
  13174. ],
  13175. "tags": [
  13176. "仓单贸易v2"
  13177. ],
  13178. "summary": "查询好友申请记录",
  13179. "parameters": [
  13180. {
  13181. "type": "integer",
  13182. "description": "用户id",
  13183. "name": "userid",
  13184. "in": "query",
  13185. "required": true
  13186. }
  13187. ],
  13188. "responses": {
  13189. "200": {
  13190. "description": "OK",
  13191. "schema": {
  13192. "type": "array",
  13193. "items": {
  13194. "$ref": "#/definitions/models.WrFriendApply"
  13195. }
  13196. }
  13197. },
  13198. "500": {
  13199. "description": "Internal Server Error",
  13200. "schema": {
  13201. "$ref": "#/definitions/app.Response"
  13202. }
  13203. }
  13204. }
  13205. }
  13206. },
  13207. "/WrTrade2/QueryWrGoodsInfo": {
  13208. "get": {
  13209. "security": [
  13210. {
  13211. "ApiKeyAuth": []
  13212. }
  13213. ],
  13214. "produces": [
  13215. "application/json"
  13216. ],
  13217. "tags": [
  13218. "仓单贸易v2"
  13219. ],
  13220. "summary": "查询仓单商品信息",
  13221. "parameters": [
  13222. {
  13223. "type": "integer",
  13224. "description": "仓单贸易市场id",
  13225. "name": "marketid",
  13226. "in": "query"
  13227. },
  13228. {
  13229. "type": "integer",
  13230. "description": "0:仓单预售 1:仓单贸易",
  13231. "name": "haswr",
  13232. "in": "query",
  13233. "required": true
  13234. },
  13235. {
  13236. "type": "integer",
  13237. "description": "仓单要素id",
  13238. "name": "wrfactortypeid",
  13239. "in": "query",
  13240. "required": true
  13241. },
  13242. {
  13243. "type": "integer",
  13244. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  13245. "name": "tmplateid",
  13246. "in": "query"
  13247. }
  13248. ],
  13249. "responses": {
  13250. "200": {
  13251. "description": "OK",
  13252. "schema": {
  13253. "type": "array",
  13254. "items": {
  13255. "$ref": "#/definitions/models.WrGoodsInfo"
  13256. }
  13257. }
  13258. },
  13259. "500": {
  13260. "description": "Internal Server Error",
  13261. "schema": {
  13262. "$ref": "#/definitions/app.Response"
  13263. }
  13264. }
  13265. }
  13266. }
  13267. },
  13268. "/WrTrade2/QueryWrMarketTradeConfig": {
  13269. "get": {
  13270. "security": [
  13271. {
  13272. "ApiKeyAuth": []
  13273. }
  13274. ],
  13275. "produces": [
  13276. "application/json"
  13277. ],
  13278. "tags": [
  13279. "仓单贸易v2"
  13280. ],
  13281. "summary": "查询市场交易参数配置",
  13282. "parameters": [
  13283. {
  13284. "type": "integer",
  13285. "description": "市场id",
  13286. "name": "marketid",
  13287. "in": "query"
  13288. }
  13289. ],
  13290. "responses": {
  13291. "200": {
  13292. "description": "OK",
  13293. "schema": {
  13294. "type": "array",
  13295. "items": {
  13296. "$ref": "#/definitions/models.WrMarketTradeConfig"
  13297. }
  13298. }
  13299. },
  13300. "500": {
  13301. "description": "Internal Server Error",
  13302. "schema": {
  13303. "$ref": "#/definitions/app.Response"
  13304. }
  13305. }
  13306. }
  13307. }
  13308. },
  13309. "/WrTrade2/QueryWrOrderDetail": {
  13310. "get": {
  13311. "security": [
  13312. {
  13313. "ApiKeyAuth": []
  13314. }
  13315. ],
  13316. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  13317. "produces": [
  13318. "application/json"
  13319. ],
  13320. "tags": [
  13321. "仓单贸易v2"
  13322. ],
  13323. "summary": "查询仓单委托单(挂单)",
  13324. "parameters": [
  13325. {
  13326. "type": "integer",
  13327. "description": "页码",
  13328. "name": "page",
  13329. "in": "query"
  13330. },
  13331. {
  13332. "type": "integer",
  13333. "description": "每页条数",
  13334. "name": "pagesize",
  13335. "in": "query"
  13336. },
  13337. {
  13338. "type": "integer",
  13339. "description": "用户id",
  13340. "name": "userid",
  13341. "in": "query",
  13342. "required": true
  13343. },
  13344. {
  13345. "type": "integer",
  13346. "description": "仓单贸易市场id",
  13347. "name": "marketid",
  13348. "in": "query"
  13349. },
  13350. {
  13351. "type": "integer",
  13352. "description": "0:仓单预售 1:仓单贸易",
  13353. "name": "haswr",
  13354. "in": "query",
  13355. "required": true
  13356. },
  13357. {
  13358. "type": "string",
  13359. "description": "开始交易日(yyyymmdd)",
  13360. "name": "begindate",
  13361. "in": "query"
  13362. },
  13363. {
  13364. "type": "string",
  13365. "description": "结束交易日(yyyymmdd)",
  13366. "name": "enddate",
  13367. "in": "query"
  13368. }
  13369. ],
  13370. "responses": {
  13371. "200": {
  13372. "description": "OK",
  13373. "schema": {
  13374. "type": "array",
  13375. "items": {
  13376. "$ref": "#/definitions/models.WrOrderDetail"
  13377. }
  13378. }
  13379. },
  13380. "500": {
  13381. "description": "Internal Server Error",
  13382. "schema": {
  13383. "$ref": "#/definitions/app.Response"
  13384. }
  13385. }
  13386. }
  13387. }
  13388. },
  13389. "/WrTrade2/QueryWrOutInApply": {
  13390. "get": {
  13391. "security": [
  13392. {
  13393. "ApiKeyAuth": []
  13394. }
  13395. ],
  13396. "produces": [
  13397. "application/json"
  13398. ],
  13399. "tags": [
  13400. "仓单贸易v2"
  13401. ],
  13402. "summary": "查询提货申请",
  13403. "parameters": [
  13404. {
  13405. "type": "integer",
  13406. "description": "用户id",
  13407. "name": "userid",
  13408. "in": "query",
  13409. "required": true
  13410. },
  13411. {
  13412. "type": "string",
  13413. "description": "开始交易日(yyyymmdd)",
  13414. "name": "begindate",
  13415. "in": "query"
  13416. },
  13417. {
  13418. "type": "string",
  13419. "description": "结束交易日(yyyymmdd)",
  13420. "name": "enddate",
  13421. "in": "query"
  13422. }
  13423. ],
  13424. "responses": {
  13425. "200": {
  13426. "description": "OK",
  13427. "schema": {
  13428. "type": "array",
  13429. "items": {
  13430. "$ref": "#/definitions/models.WrOutInApply"
  13431. }
  13432. }
  13433. },
  13434. "500": {
  13435. "description": "Internal Server Error",
  13436. "schema": {
  13437. "$ref": "#/definitions/app.Response"
  13438. }
  13439. }
  13440. }
  13441. }
  13442. },
  13443. "/WrTrade2/QueryWrPerformancePlanStep": {
  13444. "get": {
  13445. "security": [
  13446. {
  13447. "ApiKeyAuth": []
  13448. }
  13449. ],
  13450. "produces": [
  13451. "application/json"
  13452. ],
  13453. "tags": [
  13454. "仓单贸易v2"
  13455. ],
  13456. "summary": "查询履约信息详情",
  13457. "parameters": [
  13458. {
  13459. "type": "integer",
  13460. "description": "履约计划id(performanceplanid)",
  13461. "name": "planid",
  13462. "in": "query",
  13463. "required": true
  13464. },
  13465. {
  13466. "type": "integer",
  13467. "description": "当前步骤id",
  13468. "name": "curstepid",
  13469. "in": "query"
  13470. }
  13471. ],
  13472. "responses": {
  13473. "200": {
  13474. "description": "OK",
  13475. "schema": {
  13476. "type": "array",
  13477. "items": {
  13478. "$ref": "#/definitions/models.WrPerformancePlanStep"
  13479. }
  13480. }
  13481. },
  13482. "500": {
  13483. "description": "Internal Server Error",
  13484. "schema": {
  13485. "$ref": "#/definitions/app.Response"
  13486. }
  13487. }
  13488. }
  13489. }
  13490. },
  13491. "/WrTrade2/QueryWrPerformanceStepType": {
  13492. "get": {
  13493. "security": [
  13494. {
  13495. "ApiKeyAuth": []
  13496. }
  13497. ],
  13498. "produces": [
  13499. "application/json"
  13500. ],
  13501. "tags": [
  13502. "仓单贸易v2"
  13503. ],
  13504. "summary": "查询履约步骤枚举",
  13505. "responses": {
  13506. "200": {
  13507. "description": "OK",
  13508. "schema": {
  13509. "type": "array",
  13510. "items": {
  13511. "$ref": "#/definitions/models.WrPerformanceStepType"
  13512. }
  13513. }
  13514. },
  13515. "500": {
  13516. "description": "Internal Server Error",
  13517. "schema": {
  13518. "$ref": "#/definitions/app.Response"
  13519. }
  13520. }
  13521. }
  13522. }
  13523. },
  13524. "/WrTrade2/QueryWrPosition": {
  13525. "get": {
  13526. "security": [
  13527. {
  13528. "ApiKeyAuth": []
  13529. }
  13530. ],
  13531. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  13532. "produces": [
  13533. "application/json"
  13534. ],
  13535. "tags": [
  13536. "仓单贸易v2"
  13537. ],
  13538. "summary": "查询现货(预售)仓单持仓",
  13539. "parameters": [
  13540. {
  13541. "type": "integer",
  13542. "description": "用户id",
  13543. "name": "userid",
  13544. "in": "query",
  13545. "required": true
  13546. },
  13547. {
  13548. "type": "integer",
  13549. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  13550. "name": "querytype",
  13551. "in": "query",
  13552. "required": true
  13553. },
  13554. {
  13555. "type": "integer",
  13556. "description": "0:仓单预售 1:仓单贸易",
  13557. "name": "haswr",
  13558. "in": "query",
  13559. "required": true
  13560. },
  13561. {
  13562. "type": "string",
  13563. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13564. "name": "dgitemname",
  13565. "in": "query"
  13566. },
  13567. {
  13568. "type": "integer",
  13569. "description": "仓库id(筛选条件)",
  13570. "name": "warehouseid",
  13571. "in": "query"
  13572. },
  13573. {
  13574. "type": "integer",
  13575. "description": "品种id",
  13576. "name": "deliverygoodsid",
  13577. "in": "query"
  13578. },
  13579. {
  13580. "type": "integer",
  13581. "description": "品类id",
  13582. "name": "wrstandardid",
  13583. "in": "query"
  13584. }
  13585. ],
  13586. "responses": {
  13587. "200": {
  13588. "description": "OK",
  13589. "schema": {
  13590. "type": "array",
  13591. "items": {
  13592. "$ref": "#/definitions/models.WrPosition"
  13593. }
  13594. }
  13595. },
  13596. "500": {
  13597. "description": "Internal Server Error",
  13598. "schema": {
  13599. "$ref": "#/definitions/app.Response"
  13600. }
  13601. }
  13602. }
  13603. }
  13604. },
  13605. "/WrTrade2/QueryWrScfContract": {
  13606. "get": {
  13607. "security": [
  13608. {
  13609. "ApiKeyAuth": []
  13610. }
  13611. ],
  13612. "produces": [
  13613. "application/json"
  13614. ],
  13615. "tags": [
  13616. "仓单贸易v2"
  13617. ],
  13618. "summary": "查询仓单贸易融资合同",
  13619. "parameters": [
  13620. {
  13621. "type": "integer",
  13622. "description": "用户id",
  13623. "name": "userid",
  13624. "in": "query",
  13625. "required": true
  13626. },
  13627. {
  13628. "type": "integer",
  13629. "description": "融资合同id",
  13630. "name": "scfcontractid",
  13631. "in": "query"
  13632. }
  13633. ],
  13634. "responses": {
  13635. "200": {
  13636. "description": "OK",
  13637. "schema": {
  13638. "type": "array",
  13639. "items": {
  13640. "$ref": "#/definitions/models.WrScfContract"
  13641. }
  13642. }
  13643. },
  13644. "500": {
  13645. "description": "Internal Server Error",
  13646. "schema": {
  13647. "$ref": "#/definitions/app.Response"
  13648. }
  13649. }
  13650. }
  13651. }
  13652. },
  13653. "/WrTrade2/QueryWrScfContractInterest": {
  13654. "get": {
  13655. "security": [
  13656. {
  13657. "ApiKeyAuth": []
  13658. }
  13659. ],
  13660. "produces": [
  13661. "application/json"
  13662. ],
  13663. "tags": [
  13664. "仓单贸易v2"
  13665. ],
  13666. "summary": "查询融资合同费用明细",
  13667. "parameters": [
  13668. {
  13669. "type": "integer",
  13670. "description": "融资合同id",
  13671. "name": "scfcontractid",
  13672. "in": "query"
  13673. }
  13674. ],
  13675. "responses": {
  13676. "200": {
  13677. "description": "OK",
  13678. "schema": {
  13679. "type": "array",
  13680. "items": {
  13681. "$ref": "#/definitions/models.WrScfContractInterest"
  13682. }
  13683. }
  13684. },
  13685. "500": {
  13686. "description": "Internal Server Error",
  13687. "schema": {
  13688. "$ref": "#/definitions/app.Response"
  13689. }
  13690. }
  13691. }
  13692. }
  13693. },
  13694. "/WrTrade2/QueryWrSpecialMatchOrder": {
  13695. "get": {
  13696. "security": [
  13697. {
  13698. "ApiKeyAuth": []
  13699. }
  13700. ],
  13701. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  13702. "produces": [
  13703. "application/json"
  13704. ],
  13705. "tags": [
  13706. "仓单贸易v2"
  13707. ],
  13708. "summary": "查询指定成交",
  13709. "parameters": [
  13710. {
  13711. "type": "integer",
  13712. "description": "页码",
  13713. "name": "page",
  13714. "in": "query"
  13715. },
  13716. {
  13717. "type": "integer",
  13718. "description": "每页条数",
  13719. "name": "pagesize",
  13720. "in": "query"
  13721. },
  13722. {
  13723. "type": "integer",
  13724. "description": "用户id",
  13725. "name": "userid",
  13726. "in": "query",
  13727. "required": true
  13728. },
  13729. {
  13730. "type": "integer",
  13731. "description": "仓单贸易市场id",
  13732. "name": "marketid",
  13733. "in": "query"
  13734. },
  13735. {
  13736. "type": "integer",
  13737. "description": "0:仓单预售 1:仓单贸易",
  13738. "name": "haswr",
  13739. "in": "query",
  13740. "required": true
  13741. },
  13742. {
  13743. "type": "integer",
  13744. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  13745. "name": "isspecified",
  13746. "in": "query"
  13747. }
  13748. ],
  13749. "responses": {
  13750. "200": {
  13751. "description": "OK",
  13752. "schema": {
  13753. "type": "array",
  13754. "items": {
  13755. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  13756. }
  13757. }
  13758. },
  13759. "500": {
  13760. "description": "Internal Server Error",
  13761. "schema": {
  13762. "$ref": "#/definitions/app.Response"
  13763. }
  13764. }
  13765. }
  13766. }
  13767. },
  13768. "/WrTrade2/QueryWrStandardFactoryItem": {
  13769. "get": {
  13770. "security": [
  13771. {
  13772. "ApiKeyAuth": []
  13773. }
  13774. ],
  13775. "produces": [
  13776. "application/json"
  13777. ],
  13778. "tags": [
  13779. "仓单贸易v2"
  13780. ],
  13781. "summary": "查询品类要素定义项",
  13782. "parameters": [
  13783. {
  13784. "type": "integer",
  13785. "description": "品类id",
  13786. "name": "wrstandardid",
  13787. "in": "query",
  13788. "required": true
  13789. }
  13790. ],
  13791. "responses": {
  13792. "200": {
  13793. "description": "OK",
  13794. "schema": {
  13795. "type": "array",
  13796. "items": {
  13797. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  13798. }
  13799. }
  13800. },
  13801. "500": {
  13802. "description": "Internal Server Error",
  13803. "schema": {
  13804. "$ref": "#/definitions/app.Response"
  13805. }
  13806. }
  13807. }
  13808. }
  13809. },
  13810. "/WrTrade2/QueryWrTradeBargainApply": {
  13811. "get": {
  13812. "security": [
  13813. {
  13814. "ApiKeyAuth": []
  13815. }
  13816. ],
  13817. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  13818. "produces": [
  13819. "application/json"
  13820. ],
  13821. "tags": [
  13822. "仓单贸易v2"
  13823. ],
  13824. "summary": "查询议价单",
  13825. "parameters": [
  13826. {
  13827. "type": "integer",
  13828. "description": "议价人id(摘牌方)",
  13829. "name": "userid",
  13830. "in": "query"
  13831. },
  13832. {
  13833. "type": "integer",
  13834. "description": "挂牌方id(查对方议价时,填写此项)",
  13835. "name": "matchuserid",
  13836. "in": "query"
  13837. },
  13838. {
  13839. "type": "integer",
  13840. "description": "关联委托单id",
  13841. "name": "wrtradeorderid",
  13842. "in": "query"
  13843. },
  13844. {
  13845. "type": "integer",
  13846. "description": "0:仓单预售 1:仓单贸易",
  13847. "name": "haswr",
  13848. "in": "query",
  13849. "required": true
  13850. },
  13851. {
  13852. "type": "string",
  13853. "description": "开始交易日(yyyymmdd)",
  13854. "name": "begindate",
  13855. "in": "query"
  13856. },
  13857. {
  13858. "type": "string",
  13859. "description": "结束交易日(yyyymmdd)",
  13860. "name": "enddate",
  13861. "in": "query"
  13862. }
  13863. ],
  13864. "responses": {
  13865. "200": {
  13866. "description": "OK",
  13867. "schema": {
  13868. "type": "array",
  13869. "items": {
  13870. "$ref": "#/definitions/models.WRTradeBargainApply"
  13871. }
  13872. }
  13873. },
  13874. "500": {
  13875. "description": "Internal Server Error",
  13876. "schema": {
  13877. "$ref": "#/definitions/app.Response"
  13878. }
  13879. }
  13880. }
  13881. }
  13882. },
  13883. "/WrTrade2/QueryWrTradeDetail": {
  13884. "get": {
  13885. "security": [
  13886. {
  13887. "ApiKeyAuth": []
  13888. }
  13889. ],
  13890. "produces": [
  13891. "application/json"
  13892. ],
  13893. "tags": [
  13894. "仓单贸易v2"
  13895. ],
  13896. "summary": "查询仓单成交明细",
  13897. "parameters": [
  13898. {
  13899. "type": "integer",
  13900. "description": "页码",
  13901. "name": "page",
  13902. "in": "query"
  13903. },
  13904. {
  13905. "type": "integer",
  13906. "description": "每页条数",
  13907. "name": "pagesize",
  13908. "in": "query"
  13909. },
  13910. {
  13911. "type": "integer",
  13912. "description": "用户id",
  13913. "name": "userid",
  13914. "in": "query",
  13915. "required": true
  13916. },
  13917. {
  13918. "type": "integer",
  13919. "description": "仓单贸易市场id",
  13920. "name": "marketid",
  13921. "in": "query"
  13922. },
  13923. {
  13924. "type": "integer",
  13925. "description": "0:仓单预售 1:仓单贸易",
  13926. "name": "haswr",
  13927. "in": "query",
  13928. "required": true
  13929. },
  13930. {
  13931. "type": "string",
  13932. "description": "开始交易日(yyyymmdd)",
  13933. "name": "begindate",
  13934. "in": "query"
  13935. },
  13936. {
  13937. "type": "string",
  13938. "description": "结束交易日(yyyymmdd)",
  13939. "name": "enddate",
  13940. "in": "query"
  13941. }
  13942. ],
  13943. "responses": {
  13944. "200": {
  13945. "description": "OK",
  13946. "schema": {
  13947. "type": "array",
  13948. "items": {
  13949. "$ref": "#/definitions/models.WrTradeDetail"
  13950. }
  13951. }
  13952. },
  13953. "500": {
  13954. "description": "Internal Server Error",
  13955. "schema": {
  13956. "$ref": "#/definitions/app.Response"
  13957. }
  13958. }
  13959. }
  13960. }
  13961. },
  13962. "/WrTrade2/QueryWrTradeOrderDetail": {
  13963. "get": {
  13964. "security": [
  13965. {
  13966. "ApiKeyAuth": []
  13967. }
  13968. ],
  13969. "produces": [
  13970. "application/json"
  13971. ],
  13972. "tags": [
  13973. "仓单贸易v2"
  13974. ],
  13975. "summary": "查询合约交易买卖大厅",
  13976. "parameters": [
  13977. {
  13978. "type": "integer",
  13979. "description": "页码",
  13980. "name": "page",
  13981. "in": "query"
  13982. },
  13983. {
  13984. "type": "integer",
  13985. "description": "每页条数",
  13986. "name": "pagesize",
  13987. "in": "query"
  13988. },
  13989. {
  13990. "type": "integer",
  13991. "description": "商品id",
  13992. "name": "goodsid",
  13993. "in": "query",
  13994. "required": true
  13995. },
  13996. {
  13997. "type": "integer",
  13998. "description": "买卖方向 0-买 1-卖",
  13999. "name": "buyorsell",
  14000. "in": "query",
  14001. "required": true
  14002. }
  14003. ],
  14004. "responses": {
  14005. "200": {
  14006. "description": "OK",
  14007. "schema": {
  14008. "type": "array",
  14009. "items": {
  14010. "$ref": "#/definitions/models.WrTradeOrderDetail"
  14011. }
  14012. }
  14013. },
  14014. "500": {
  14015. "description": "Internal Server Error",
  14016. "schema": {
  14017. "$ref": "#/definitions/app.Response"
  14018. }
  14019. }
  14020. }
  14021. }
  14022. },
  14023. "/WrTrade2/QueryWrUserFriend": {
  14024. "get": {
  14025. "security": [
  14026. {
  14027. "ApiKeyAuth": []
  14028. }
  14029. ],
  14030. "produces": [
  14031. "application/json"
  14032. ],
  14033. "tags": [
  14034. "仓单贸易v2"
  14035. ],
  14036. "summary": "查询我的朋友",
  14037. "parameters": [
  14038. {
  14039. "type": "integer",
  14040. "description": "用户id",
  14041. "name": "userid",
  14042. "in": "query",
  14043. "required": true
  14044. },
  14045. {
  14046. "type": "integer",
  14047. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  14048. "name": "newuserid",
  14049. "in": "query"
  14050. }
  14051. ],
  14052. "responses": {
  14053. "200": {
  14054. "description": "OK",
  14055. "schema": {
  14056. "type": "array",
  14057. "items": {
  14058. "$ref": "#/definitions/models.WrUserFriend"
  14059. }
  14060. }
  14061. },
  14062. "500": {
  14063. "description": "Internal Server Error",
  14064. "schema": {
  14065. "$ref": "#/definitions/app.Response"
  14066. }
  14067. }
  14068. }
  14069. }
  14070. },
  14071. "/WrTrade2/QueryWrUserReceiptInfo": {
  14072. "get": {
  14073. "security": [
  14074. {
  14075. "ApiKeyAuth": []
  14076. }
  14077. ],
  14078. "produces": [
  14079. "application/json"
  14080. ],
  14081. "tags": [
  14082. "仓单贸易v2"
  14083. ],
  14084. "summary": "查询发票信息",
  14085. "parameters": [
  14086. {
  14087. "type": "integer",
  14088. "description": "用户id",
  14089. "name": "userid",
  14090. "in": "query"
  14091. },
  14092. {
  14093. "type": "integer",
  14094. "description": "发票类型 - 1:个人 2:企业",
  14095. "name": "receipttype",
  14096. "in": "query"
  14097. }
  14098. ],
  14099. "responses": {
  14100. "200": {
  14101. "description": "OK",
  14102. "schema": {
  14103. "type": "array",
  14104. "items": {
  14105. "$ref": "#/definitions/models.WrUserReceiptInfo"
  14106. }
  14107. }
  14108. },
  14109. "500": {
  14110. "description": "Internal Server Error",
  14111. "schema": {
  14112. "$ref": "#/definitions/app.Response"
  14113. }
  14114. }
  14115. }
  14116. }
  14117. },
  14118. "/ZJ/GetBankTip": {
  14119. "get": {
  14120. "produces": [
  14121. "application/json"
  14122. ],
  14123. "tags": [
  14124. "中江"
  14125. ],
  14126. "summary": "获取中江网银端出入金提示信息",
  14127. "responses": {
  14128. "200": {
  14129. "description": "OK",
  14130. "schema": {
  14131. "type": "string"
  14132. }
  14133. },
  14134. "500": {
  14135. "description": "Internal Server Error",
  14136. "schema": {
  14137. "$ref": "#/definitions/app.Response"
  14138. }
  14139. }
  14140. }
  14141. }
  14142. },
  14143. "/ZJ/GetCusBankChannels": {
  14144. "get": {
  14145. "produces": [
  14146. "application/json"
  14147. ],
  14148. "tags": [
  14149. "中江"
  14150. ],
  14151. "summary": "获取中江出入金渠道显示列表",
  14152. "responses": {
  14153. "200": {
  14154. "description": "OK",
  14155. "schema": {
  14156. "type": "array",
  14157. "items": {
  14158. "type": "string"
  14159. }
  14160. }
  14161. },
  14162. "500": {
  14163. "description": "Internal Server Error",
  14164. "schema": {
  14165. "$ref": "#/definitions/app.Response"
  14166. }
  14167. }
  14168. }
  14169. }
  14170. }
  14171. },
  14172. "definitions": {
  14173. "app.Response": {
  14174. "type": "object",
  14175. "properties": {
  14176. "code": {
  14177. "type": "integer"
  14178. },
  14179. "data": {},
  14180. "msg": {
  14181. "type": "string"
  14182. },
  14183. "page": {
  14184. "description": "页码",
  14185. "type": "integer"
  14186. },
  14187. "pagesize": {
  14188. "description": "每页条数",
  14189. "type": "integer"
  14190. },
  14191. "total": {
  14192. "description": "总条数",
  14193. "type": "integer"
  14194. }
  14195. }
  14196. },
  14197. "common.ClientMenu": {
  14198. "type": "object",
  14199. "properties": {
  14200. "children": {
  14201. "description": "子菜单列表",
  14202. "type": "array",
  14203. "items": {
  14204. "$ref": "#/definitions/common.ClientMenu"
  14205. }
  14206. },
  14207. "code": {
  14208. "description": "ID",
  14209. "type": "string"
  14210. },
  14211. "isshow": {
  14212. "description": "是否显示",
  14213. "type": "boolean"
  14214. },
  14215. "remark": {
  14216. "description": "备注",
  14217. "type": "string"
  14218. },
  14219. "rulekey": {
  14220. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  14221. "type": "string"
  14222. },
  14223. "sort": {
  14224. "description": "排序",
  14225. "type": "integer"
  14226. },
  14227. "title": {
  14228. "description": "标题",
  14229. "type": "string"
  14230. },
  14231. "type": {
  14232. "description": "类型,1:菜单 2:按钮",
  14233. "type": "integer"
  14234. },
  14235. "url": {
  14236. "description": "URL",
  14237. "type": "string"
  14238. }
  14239. }
  14240. },
  14241. "common.PCWebMenu": {
  14242. "type": "object",
  14243. "properties": {
  14244. "auth": {
  14245. "description": "页面权限列表",
  14246. "type": "array",
  14247. "items": {
  14248. "$ref": "#/definitions/common.PCWebMenuAuth"
  14249. }
  14250. },
  14251. "children": {
  14252. "description": "子菜单列表",
  14253. "type": "array",
  14254. "items": {
  14255. "$ref": "#/definitions/common.PCWebMenu"
  14256. }
  14257. },
  14258. "code": {
  14259. "description": "ID,新版本中权限KEY也是这个字段",
  14260. "type": "string"
  14261. },
  14262. "component": {
  14263. "description": "路由组件",
  14264. "type": "string"
  14265. },
  14266. "isshow": {
  14267. "description": "是否显示",
  14268. "type": "boolean"
  14269. },
  14270. "path": {
  14271. "description": "路由路径",
  14272. "type": "string"
  14273. },
  14274. "remark": {
  14275. "description": "备注",
  14276. "type": "string"
  14277. },
  14278. "rulekey": {
  14279. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14280. "type": "string"
  14281. },
  14282. "sort": {
  14283. "description": "排序",
  14284. "type": "integer"
  14285. },
  14286. "title": {
  14287. "description": "标题",
  14288. "type": "string"
  14289. },
  14290. "url": {
  14291. "description": "URL",
  14292. "type": "string"
  14293. }
  14294. }
  14295. },
  14296. "common.PCWebMenuAuth": {
  14297. "type": "object",
  14298. "properties": {
  14299. "code": {
  14300. "description": "ID,新版本中权限KEY也是这个字段",
  14301. "type": "string"
  14302. },
  14303. "isshow": {
  14304. "description": "是否显示",
  14305. "type": "boolean"
  14306. },
  14307. "label": {
  14308. "description": "标题",
  14309. "type": "string"
  14310. },
  14311. "remark": {
  14312. "description": "备注",
  14313. "type": "string"
  14314. },
  14315. "rulekey": {
  14316. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14317. "type": "string"
  14318. }
  14319. }
  14320. },
  14321. "common.QueryImageConfigsRsp": {
  14322. "type": "object",
  14323. "required": [
  14324. "configid"
  14325. ],
  14326. "properties": {
  14327. "areauserid": {
  14328. "description": "所属机构ID",
  14329. "type": "integer"
  14330. },
  14331. "configid": {
  14332. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  14333. "type": "integer"
  14334. },
  14335. "createdate": {
  14336. "description": "创建时间",
  14337. "type": "string"
  14338. },
  14339. "creatorid": {
  14340. "description": "创建人",
  14341. "type": "integer"
  14342. },
  14343. "imagepath": {
  14344. "description": "图片",
  14345. "type": "string"
  14346. },
  14347. "imagetype": {
  14348. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  14349. "type": "integer"
  14350. },
  14351. "isshow": {
  14352. "description": "是否展示 - 0:不展示 1:展示",
  14353. "type": "integer"
  14354. },
  14355. "marketid": {
  14356. "description": "市场ID",
  14357. "type": "integer"
  14358. },
  14359. "modifierid": {
  14360. "description": "操作人",
  14361. "type": "integer"
  14362. },
  14363. "sort": {
  14364. "description": "排序",
  14365. "type": "integer"
  14366. },
  14367. "title": {
  14368. "description": "标题",
  14369. "type": "string"
  14370. },
  14371. "trademode": {
  14372. "description": "交易模式",
  14373. "type": "integer"
  14374. },
  14375. "updatedate": {
  14376. "description": "修改时间",
  14377. "type": "string"
  14378. },
  14379. "url": {
  14380. "description": "链接(地址或商品ID)",
  14381. "type": "string"
  14382. },
  14383. "urltype": {
  14384. "description": "链接类型 - 1:直接地址 2:商品ID",
  14385. "type": "integer"
  14386. }
  14387. }
  14388. },
  14389. "common.QueryNoticeRsp": {
  14390. "type": "object",
  14391. "required": [
  14392. "autoid"
  14393. ],
  14394. "properties": {
  14395. "auditoruserid": {
  14396. "description": "审核人",
  14397. "type": "integer"
  14398. },
  14399. "auditremark": {
  14400. "description": "审核备注",
  14401. "type": "string"
  14402. },
  14403. "audittime": {
  14404. "description": "审核日期",
  14405. "type": "string"
  14406. },
  14407. "autoid": {
  14408. "description": "自增ID",
  14409. "type": "integer"
  14410. },
  14411. "content": {
  14412. "description": "内容",
  14413. "type": "string"
  14414. },
  14415. "createtime": {
  14416. "description": "创建时间",
  14417. "type": "string"
  14418. },
  14419. "creatorid": {
  14420. "description": "建仓人",
  14421. "type": "integer"
  14422. },
  14423. "endtime": {
  14424. "description": "结束时间",
  14425. "type": "string"
  14426. },
  14427. "istop": {
  14428. "description": "是否置顶 - 0:不置顶 1:置顶",
  14429. "type": "integer"
  14430. },
  14431. "msgiconurl": {
  14432. "description": "消息图标Url",
  14433. "type": "string"
  14434. },
  14435. "msgtype": {
  14436. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  14437. "type": "integer"
  14438. },
  14439. "publisher": {
  14440. "description": "消息发布者",
  14441. "type": "string"
  14442. },
  14443. "readed": {
  14444. "description": "是否已读",
  14445. "type": "boolean"
  14446. },
  14447. "scheduletime": {
  14448. "description": "计划发送时间",
  14449. "type": "string"
  14450. },
  14451. "sendtype": {
  14452. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  14453. "type": "integer"
  14454. },
  14455. "sentstatus": {
  14456. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  14457. "type": "integer"
  14458. },
  14459. "title": {
  14460. "description": "标题",
  14461. "type": "string"
  14462. },
  14463. "userid": {
  14464. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  14465. "type": "integer"
  14466. }
  14467. }
  14468. },
  14469. "common.QueryProvincesAndCitiesRsp": {
  14470. "type": "object",
  14471. "properties": {
  14472. "cities": {
  14473. "description": "市",
  14474. "type": "array",
  14475. "items": {
  14476. "$ref": "#/definitions/models.Division"
  14477. }
  14478. },
  14479. "province": {
  14480. "description": "省",
  14481. "$ref": "#/definitions/models.Division"
  14482. }
  14483. }
  14484. },
  14485. "common.QueryTableDefineRsp": {
  14486. "type": "object",
  14487. "required": [
  14488. "tablekey"
  14489. ],
  14490. "properties": {
  14491. "columns": {
  14492. "description": "列头信息数组",
  14493. "type": "array",
  14494. "items": {
  14495. "$ref": "#/definitions/models.Tablecolumnconfig"
  14496. }
  14497. },
  14498. "remark": {
  14499. "description": "Remark",
  14500. "type": "string"
  14501. },
  14502. "tabelmenu": {
  14503. "description": "列表菜单",
  14504. "type": "string"
  14505. },
  14506. "tablekey": {
  14507. "description": "列表Key",
  14508. "type": "string"
  14509. },
  14510. "tablename": {
  14511. "description": "列表名称",
  14512. "type": "string"
  14513. },
  14514. "tabletype": {
  14515. "description": "列表类型 - 1:管理端 2:终端",
  14516. "type": "integer"
  14517. }
  14518. }
  14519. },
  14520. "common.QueryTraderMenuRsp": {
  14521. "type": "object",
  14522. "properties": {
  14523. "OperationMenu": {
  14524. "description": "功能菜单",
  14525. "type": "array",
  14526. "items": {
  14527. "$ref": "#/definitions/models.OperationPrimaryMenu"
  14528. }
  14529. },
  14530. "QuoteMenu": {
  14531. "description": "报价牌分类菜单",
  14532. "type": "array",
  14533. "items": {
  14534. "$ref": "#/definitions/models.QuotePrimaryMenu"
  14535. }
  14536. }
  14537. }
  14538. },
  14539. "cptrade.Cptradepositioncancel": {
  14540. "type": "object",
  14541. "required": [
  14542. "cancelid"
  14543. ],
  14544. "properties": {
  14545. "accountid": {
  14546. "description": "申请人账户ID",
  14547. "type": "integer"
  14548. },
  14549. "applystatus": {
  14550. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14551. "type": "integer"
  14552. },
  14553. "applytime": {
  14554. "description": "申请时间",
  14555. "type": "string"
  14556. },
  14557. "cancelid": {
  14558. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  14559. "type": "integer"
  14560. },
  14561. "cancelqty": {
  14562. "description": "注销数量",
  14563. "type": "integer"
  14564. },
  14565. "createtime": {
  14566. "description": "创建时间",
  14567. "type": "string"
  14568. },
  14569. "creatorid": {
  14570. "description": "创建人ID",
  14571. "type": "integer"
  14572. },
  14573. "creatorname": {
  14574. "description": "创建人",
  14575. "type": "string"
  14576. },
  14577. "goodscode": {
  14578. "description": "订单商品代码",
  14579. "type": "string"
  14580. },
  14581. "goodsid": {
  14582. "description": "商品ID",
  14583. "type": "integer"
  14584. },
  14585. "goodsname": {
  14586. "description": "订单商品名称",
  14587. "type": "string"
  14588. },
  14589. "goodunit": {
  14590. "description": "报价单位",
  14591. "type": "string"
  14592. },
  14593. "handlestatus": {
  14594. "description": "处理状态",
  14595. "type": "integer"
  14596. },
  14597. "marketid": {
  14598. "description": "市场ID",
  14599. "type": "integer"
  14600. },
  14601. "marketname": {
  14602. "description": "市场名称",
  14603. "type": "string"
  14604. },
  14605. "tradedate": {
  14606. "description": "交易日(yyyyMMdd)",
  14607. "type": "string"
  14608. },
  14609. "userid": {
  14610. "description": "申请人ID",
  14611. "type": "integer"
  14612. }
  14613. }
  14614. },
  14615. "cptrade.Cptradepresaleapply": {
  14616. "type": "object",
  14617. "required": [
  14618. "applyid"
  14619. ],
  14620. "properties": {
  14621. "accountid": {
  14622. "description": "申请人账户ID",
  14623. "type": "integer"
  14624. },
  14625. "applyid": {
  14626. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  14627. "type": "integer"
  14628. },
  14629. "applyremark": {
  14630. "description": "申请备注",
  14631. "type": "string"
  14632. },
  14633. "applystatus": {
  14634. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14635. "type": "integer"
  14636. },
  14637. "applytime": {
  14638. "description": "申请时间",
  14639. "type": "string"
  14640. },
  14641. "attachmenturl": {
  14642. "description": "附件地址",
  14643. "type": "string"
  14644. },
  14645. "endtime": {
  14646. "description": "预售结束时间",
  14647. "type": "string"
  14648. },
  14649. "goodscode": {
  14650. "description": "商品代码",
  14651. "type": "string"
  14652. },
  14653. "goodsid": {
  14654. "description": "商品ID",
  14655. "type": "integer"
  14656. },
  14657. "goodsname": {
  14658. "description": "商品名称",
  14659. "type": "string"
  14660. },
  14661. "goodunit": {
  14662. "description": "报价单位",
  14663. "type": "string"
  14664. },
  14665. "handlestatus": {
  14666. "description": "处理状态",
  14667. "type": "integer"
  14668. },
  14669. "marketid": {
  14670. "description": "预售市场ID",
  14671. "type": "integer"
  14672. },
  14673. "marketname": {
  14674. "description": "预售市场名称",
  14675. "type": "string"
  14676. },
  14677. "presaleqty": {
  14678. "description": "预售数量",
  14679. "type": "integer"
  14680. },
  14681. "relatedgoodscode": {
  14682. "description": "关联交易合约代码",
  14683. "type": "string"
  14684. },
  14685. "relatedgoodsid": {
  14686. "description": "关联交易合约ID",
  14687. "type": "integer"
  14688. },
  14689. "relatedgoodsname": {
  14690. "description": "关联交易合约名称",
  14691. "type": "string"
  14692. },
  14693. "starttime": {
  14694. "description": "预售开始时间",
  14695. "type": "string"
  14696. },
  14697. "tradedate": {
  14698. "description": "交易日(yyyyMMdd)",
  14699. "type": "string"
  14700. },
  14701. "trademode": {
  14702. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  14703. "type": "integer"
  14704. },
  14705. "userid": {
  14706. "description": "申请人ID",
  14707. "type": "integer"
  14708. }
  14709. }
  14710. },
  14711. "cptrade.Cptradeusergoodsdata": {
  14712. "type": "object",
  14713. "required": [
  14714. "accountid",
  14715. "goodsid"
  14716. ],
  14717. "properties": {
  14718. "EnabledQty": {
  14719. "description": "可用量",
  14720. "type": "integer"
  14721. },
  14722. "GoodsCode": {
  14723. "description": "订单商品代码",
  14724. "type": "string"
  14725. },
  14726. "GoodsName": {
  14727. "description": "订单商品名称",
  14728. "type": "string"
  14729. },
  14730. "WRStandardCode": {
  14731. "description": "仓单标准代码",
  14732. "type": "string"
  14733. },
  14734. "WRStandardName": {
  14735. "description": "仓单标准名称",
  14736. "type": "string"
  14737. },
  14738. "accountid": {
  14739. "description": "账户ID",
  14740. "type": "integer"
  14741. },
  14742. "cancelqty": {
  14743. "description": "注销量",
  14744. "type": "integer"
  14745. },
  14746. "curpresaleqty": {
  14747. "description": "当前预售量",
  14748. "type": "integer"
  14749. },
  14750. "deliveryqty": {
  14751. "description": "交割量",
  14752. "type": "integer"
  14753. },
  14754. "freezeamount": {
  14755. "description": "冻结金额",
  14756. "type": "number"
  14757. },
  14758. "goodsid": {
  14759. "description": "商品ID",
  14760. "type": "integer"
  14761. },
  14762. "goodunit": {
  14763. "description": "报价单位",
  14764. "type": "string"
  14765. },
  14766. "hasspotfreeze": {
  14767. "description": "是否有现货冻结 - 0:否 1:有",
  14768. "type": "integer"
  14769. },
  14770. "inqty": {
  14771. "description": "转入量(总数量)",
  14772. "type": "integer"
  14773. },
  14774. "marketid": {
  14775. "description": "市场ID",
  14776. "type": "integer"
  14777. },
  14778. "presaledamount": {
  14779. "description": "已预售总金额",
  14780. "type": "integer"
  14781. },
  14782. "presaledqty": {
  14783. "description": "已预售量",
  14784. "type": "integer"
  14785. },
  14786. "userid": {
  14787. "description": "用户ID",
  14788. "type": "integer"
  14789. },
  14790. "wrstandardid": {
  14791. "description": "仓单标准ID",
  14792. "type": "integer"
  14793. }
  14794. }
  14795. },
  14796. "cptrade.QueryCPTradeMyBidRsp": {
  14797. "type": "object",
  14798. "required": [
  14799. "accountid",
  14800. "goodsid",
  14801. "marketid",
  14802. "orderid",
  14803. "orderqty",
  14804. "ordertime",
  14805. "tradeprice",
  14806. "tradeqty"
  14807. ],
  14808. "properties": {
  14809. "accountid": {
  14810. "description": "账户ID[报价币种]",
  14811. "type": "integer"
  14812. },
  14813. "goodsid": {
  14814. "description": "商品ID",
  14815. "type": "integer"
  14816. },
  14817. "goodunit": {
  14818. "description": "报价单位",
  14819. "type": "string"
  14820. },
  14821. "marketid": {
  14822. "description": "市场ID",
  14823. "type": "integer"
  14824. },
  14825. "orderid": {
  14826. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14827. "type": "integer"
  14828. },
  14829. "orderprice": {
  14830. "description": "委托价格",
  14831. "type": "number"
  14832. },
  14833. "orderqty": {
  14834. "description": "委托数量",
  14835. "type": "integer"
  14836. },
  14837. "ordertime": {
  14838. "description": "委托时间",
  14839. "type": "string"
  14840. },
  14841. "ordertotalprice": {
  14842. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  14843. "type": "number"
  14844. },
  14845. "ordertotalweight": {
  14846. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  14847. "type": "integer"
  14848. },
  14849. "totaltotalprice": {
  14850. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  14851. "type": "number"
  14852. },
  14853. "tradeprice": {
  14854. "description": "成交价格",
  14855. "type": "number"
  14856. },
  14857. "tradeqty": {
  14858. "description": "成交数量",
  14859. "type": "integer"
  14860. }
  14861. }
  14862. },
  14863. "cptrade.QueryCPTradeOrderDetailRsq": {
  14864. "type": "object",
  14865. "required": [
  14866. "accountid",
  14867. "buildtype",
  14868. "buyorsell",
  14869. "goodsid",
  14870. "marketid",
  14871. "memberuserid",
  14872. "operatetype",
  14873. "orderqty",
  14874. "ordertime",
  14875. "pricemode",
  14876. "strorderid",
  14877. "tradedate",
  14878. "validtype"
  14879. ],
  14880. "properties": {
  14881. "accountid": {
  14882. "description": "账户ID[报价币种]",
  14883. "type": "integer"
  14884. },
  14885. "buildtype": {
  14886. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  14887. "type": "integer"
  14888. },
  14889. "buyorsell": {
  14890. "description": "买卖 - 0:买 1:卖",
  14891. "type": "integer"
  14892. },
  14893. "cancelorderid": {
  14894. "description": "撤单单号(撤单时填写)",
  14895. "type": "integer"
  14896. },
  14897. "cancelqty": {
  14898. "description": "撤单数量",
  14899. "type": "integer"
  14900. },
  14901. "clientordertime": {
  14902. "description": "客户端委托时间",
  14903. "type": "string"
  14904. },
  14905. "clientticket": {
  14906. "description": "客户端流水号",
  14907. "type": "string"
  14908. },
  14909. "clienttype": {
  14910. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14911. "type": "integer"
  14912. },
  14913. "closeexchagechargevalue": {
  14914. "description": "平仓交易所手续费设置值",
  14915. "type": "number"
  14916. },
  14917. "closefeealgorithm": {
  14918. "description": "平仓手续费收取方式 1:比率 2:固定",
  14919. "type": "integer"
  14920. },
  14921. "closefreezecharge": {
  14922. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  14923. "type": "number"
  14924. },
  14925. "closememberchargevalue": {
  14926. "description": "平仓会员手续费设置值",
  14927. "type": "number"
  14928. },
  14929. "closeqty": {
  14930. "description": "平仓数量(先建后平操作 需要记录)",
  14931. "type": "integer"
  14932. },
  14933. "closetradeqty": {
  14934. "description": "平仓成交数量(先建后平操作,需要记录)",
  14935. "type": "integer"
  14936. },
  14937. "closeunfreezecharge": {
  14938. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  14939. "type": "number"
  14940. },
  14941. "delistingtype": {
  14942. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  14943. "type": "integer"
  14944. },
  14945. "freezecharge": {
  14946. "description": "冻结手续费",
  14947. "type": "number"
  14948. },
  14949. "freezemargin": {
  14950. "description": "冻结保证金(冻结交易金额)",
  14951. "type": "number"
  14952. },
  14953. "gcaccountid": {
  14954. "description": "账户ID[合约币种]",
  14955. "type": "integer"
  14956. },
  14957. "goodsid": {
  14958. "description": "商品ID",
  14959. "type": "integer"
  14960. },
  14961. "isconfirmexercise": {
  14962. "description": "是否确认行权- 0:否 1:是",
  14963. "type": "integer"
  14964. },
  14965. "ispreexercise": {
  14966. "description": "是否预申报- 0:否 1:是",
  14967. "type": "integer"
  14968. },
  14969. "listingselecttype": {
  14970. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14971. "type": "integer"
  14972. },
  14973. "marginalgorithm": {
  14974. "description": "保证金收取方式 1:比率 2:固定",
  14975. "type": "integer"
  14976. },
  14977. "marginvalue": {
  14978. "description": "即市保证金设置值",
  14979. "type": "number"
  14980. },
  14981. "marketid": {
  14982. "description": "市场ID",
  14983. "type": "integer"
  14984. },
  14985. "marketmaxsub": {
  14986. "description": "市价最大偏移范围",
  14987. "type": "number"
  14988. },
  14989. "memberuserid": {
  14990. "description": "所属会员UserID",
  14991. "type": "integer"
  14992. },
  14993. "openexchagechargevalue": {
  14994. "description": "建仓交易所手续费设置值",
  14995. "type": "number"
  14996. },
  14997. "openfeealgorithm": {
  14998. "description": "建仓手续费收取方式 1:比率 2:固定",
  14999. "type": "integer"
  15000. },
  15001. "openfreezecharge": {
  15002. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  15003. "type": "number"
  15004. },
  15005. "openmemberchargevalue": {
  15006. "description": "建仓会员手续费设置值",
  15007. "type": "number"
  15008. },
  15009. "openqty": {
  15010. "description": "开仓数量(先建后平操作,需要记录)",
  15011. "type": "integer"
  15012. },
  15013. "opentradeqty": {
  15014. "description": "开仓成交数量(先建后平操作,需要记录)",
  15015. "type": "integer"
  15016. },
  15017. "openunfreezecharge": {
  15018. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  15019. "type": "number"
  15020. },
  15021. "operatetype": {
  15022. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  15023. "type": "integer"
  15024. },
  15025. "operatorid": {
  15026. "description": "登录账号(LoginID)",
  15027. "type": "integer"
  15028. },
  15029. "optiontype": {
  15030. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15031. "type": "integer"
  15032. },
  15033. "orderprice": {
  15034. "description": "委托价格",
  15035. "type": "number"
  15036. },
  15037. "orderqty": {
  15038. "description": "委托数量",
  15039. "type": "integer"
  15040. },
  15041. "ordersrc": {
  15042. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  15043. "type": "integer"
  15044. },
  15045. "orderstatus": {
  15046. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15047. "type": "integer"
  15048. },
  15049. "ordertime": {
  15050. "description": "委托时间",
  15051. "type": "string"
  15052. },
  15053. "preexerciseprice": {
  15054. "description": "预申报价格",
  15055. "type": "number"
  15056. },
  15057. "premium": {
  15058. "description": "权利金",
  15059. "type": "number"
  15060. },
  15061. "preorderid": {
  15062. "description": "关联预埋单号(止盈止损单时填写)",
  15063. "type": "integer"
  15064. },
  15065. "pricemode": {
  15066. "description": "取价方式 - 1:市价 2: 限价",
  15067. "type": "integer"
  15068. },
  15069. "quoteid": {
  15070. "description": "报价单ID",
  15071. "type": "integer"
  15072. },
  15073. "relatedid": {
  15074. "description": "关联单号(交割单)",
  15075. "type": "integer"
  15076. },
  15077. "retcode": {
  15078. "description": "错误代码",
  15079. "type": "integer"
  15080. },
  15081. "sessionid": {
  15082. "description": "会话ID",
  15083. "type": "integer"
  15084. },
  15085. "strorderid": {
  15086. "description": "委托单号",
  15087. "type": "string"
  15088. },
  15089. "tradedate": {
  15090. "description": "交易日(yyyyMMdd)",
  15091. "type": "string"
  15092. },
  15093. "tradeproperty": {
  15094. "description": "交易属性",
  15095. "type": "integer"
  15096. },
  15097. "tradeqty": {
  15098. "description": "成交数量",
  15099. "type": "integer"
  15100. },
  15101. "unfreezecharge": {
  15102. "description": "解冻手续费",
  15103. "type": "number"
  15104. },
  15105. "unfreezemargin": {
  15106. "description": "解冻保证金",
  15107. "type": "number"
  15108. },
  15109. "updatetime": {
  15110. "description": "更新时间",
  15111. "type": "string"
  15112. },
  15113. "uuid": {
  15114. "description": "发起端唯一id",
  15115. "type": "string"
  15116. },
  15117. "validtime": {
  15118. "description": "有效期限",
  15119. "type": "string"
  15120. },
  15121. "validtype": {
  15122. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  15123. "type": "integer"
  15124. },
  15125. "volumetype": {
  15126. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  15127. "type": "integer"
  15128. }
  15129. }
  15130. },
  15131. "cptrade.QueryMyCPTradeGoodsRsp": {
  15132. "type": "object",
  15133. "required": [
  15134. "goodscode",
  15135. "goodsid",
  15136. "goodsname",
  15137. "marketid",
  15138. "relatedgoodscode",
  15139. "relatedgoodsname"
  15140. ],
  15141. "properties": {
  15142. "accountid": {
  15143. "description": "卖方账户ID",
  15144. "type": "integer"
  15145. },
  15146. "agreeunit": {
  15147. "description": "合约单位",
  15148. "type": "number"
  15149. },
  15150. "applyid": {
  15151. "description": "关联申请ID",
  15152. "type": "integer"
  15153. },
  15154. "attachmenturl": {
  15155. "description": "附件地址",
  15156. "type": "string"
  15157. },
  15158. "createtime": {
  15159. "description": "创建时间",
  15160. "type": "string"
  15161. },
  15162. "currencyid": {
  15163. "description": "报价货币ID",
  15164. "type": "integer"
  15165. },
  15166. "decimalplace": {
  15167. "description": "报价小数位",
  15168. "type": "integer"
  15169. },
  15170. "endtime": {
  15171. "description": "预售结束时间",
  15172. "type": "string"
  15173. },
  15174. "floorprice": {
  15175. "description": "底价[大宗式竞拍]",
  15176. "type": "number"
  15177. },
  15178. "goodscode": {
  15179. "description": "商品代码(预售)",
  15180. "type": "string"
  15181. },
  15182. "goodsdetail": {
  15183. "description": "详情[大宗]",
  15184. "type": "string"
  15185. },
  15186. "goodsid": {
  15187. "description": "商品ID(自增ID SEQ_GOODS)",
  15188. "type": "integer"
  15189. },
  15190. "goodsname": {
  15191. "description": "商品名称(预售)",
  15192. "type": "string"
  15193. },
  15194. "goodunit": {
  15195. "description": "报价单位",
  15196. "type": "string"
  15197. },
  15198. "goodunitid": {
  15199. "description": "报价单位ID",
  15200. "type": "integer"
  15201. },
  15202. "marketid": {
  15203. "description": "所属市场ID",
  15204. "type": "integer"
  15205. },
  15206. "marketname": {
  15207. "description": "预售市场名称",
  15208. "type": "string"
  15209. },
  15210. "presaledamount": {
  15211. "description": "已预售总金额(预售结束时更新)",
  15212. "type": "number"
  15213. },
  15214. "presaledqty": {
  15215. "description": "已预售量(预售结束时更新)",
  15216. "type": "integer"
  15217. },
  15218. "presalemode": {
  15219. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15220. "type": "integer"
  15221. },
  15222. "presaleqty": {
  15223. "description": "预售数量",
  15224. "type": "integer"
  15225. },
  15226. "refprice": {
  15227. "description": "参考价格[一口价]",
  15228. "type": "number"
  15229. },
  15230. "relatedgoodscode": {
  15231. "description": "商品代码(订单)",
  15232. "type": "string"
  15233. },
  15234. "relatedgoodsid": {
  15235. "description": "关联交易合约ID",
  15236. "type": "integer"
  15237. },
  15238. "relatedgoodsname": {
  15239. "description": "商品名称(订单)",
  15240. "type": "string"
  15241. },
  15242. "relatedmarketid": {
  15243. "description": "关联交易合约市场ID",
  15244. "type": "integer"
  15245. },
  15246. "sellstatus": {
  15247. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15248. "type": "integer"
  15249. },
  15250. "startprice": {
  15251. "description": "起拍价[大宗式竞拍]",
  15252. "type": "number"
  15253. },
  15254. "starttime": {
  15255. "description": "预售开始时间",
  15256. "type": "string"
  15257. },
  15258. "tradedate": {
  15259. "description": "交易日(yyyyMMdd)",
  15260. "type": "string"
  15261. },
  15262. "tradeprice": {
  15263. "description": "成交价[大宗]",
  15264. "type": "number"
  15265. },
  15266. "userid": {
  15267. "description": "卖方用户ID",
  15268. "type": "integer"
  15269. }
  15270. }
  15271. },
  15272. "cptrade.QueryPresaleGoodsExRsp": {
  15273. "type": "object",
  15274. "required": [
  15275. "goodsid"
  15276. ],
  15277. "properties": {
  15278. "attachmenturl": {
  15279. "description": "附件地址",
  15280. "type": "string"
  15281. },
  15282. "createtime": {
  15283. "description": "创建时间",
  15284. "type": "string"
  15285. },
  15286. "endtime": {
  15287. "description": "预售结束时间",
  15288. "type": "string"
  15289. },
  15290. "floorprice": {
  15291. "description": "底价[大宗式竞拍]",
  15292. "type": "number"
  15293. },
  15294. "goodsdetail": {
  15295. "description": "详情[大宗]",
  15296. "type": "string"
  15297. },
  15298. "goodsid": {
  15299. "description": "商品ID(预售)",
  15300. "type": "integer"
  15301. },
  15302. "goodunit": {
  15303. "description": "报价单位",
  15304. "type": "string"
  15305. },
  15306. "marketid": {
  15307. "description": "预售市场ID - 根据预售模式选择市场",
  15308. "type": "integer"
  15309. },
  15310. "presaledamount": {
  15311. "description": "已预售总金额(预售结束时更新)",
  15312. "type": "number"
  15313. },
  15314. "presaledqty": {
  15315. "description": "已预售量(预售结束时更新)",
  15316. "type": "integer"
  15317. },
  15318. "presalemode": {
  15319. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15320. "type": "integer"
  15321. },
  15322. "presaleqty": {
  15323. "description": "预售数量",
  15324. "type": "integer"
  15325. },
  15326. "refprice": {
  15327. "description": "参考价格[一口价]",
  15328. "type": "number"
  15329. },
  15330. "relatedgoodsid": {
  15331. "description": "关联交易合约ID",
  15332. "type": "integer"
  15333. },
  15334. "relatedmarketid": {
  15335. "description": "关联交易合约市场ID",
  15336. "type": "integer"
  15337. },
  15338. "sellstatus": {
  15339. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15340. "type": "integer"
  15341. },
  15342. "startprice": {
  15343. "description": "起拍价[大宗式竞拍]",
  15344. "type": "number"
  15345. },
  15346. "starttime": {
  15347. "description": "预售开始时间",
  15348. "type": "string"
  15349. },
  15350. "tradedate": {
  15351. "description": "交易日(yyyyMMdd)",
  15352. "type": "string"
  15353. },
  15354. "tradeprice": {
  15355. "description": "成交价[大宗]",
  15356. "type": "number"
  15357. }
  15358. }
  15359. },
  15360. "delivery.QueryDeliveryRelationRsp": {
  15361. "type": "object",
  15362. "required": [
  15363. "begindate",
  15364. "enddate",
  15365. "goodsid",
  15366. "mindeliveryqty",
  15367. "xdeliveryratio"
  15368. ],
  15369. "properties": {
  15370. "begindate": {
  15371. "description": "起始日期(yyyyMMdd)",
  15372. "type": "string"
  15373. },
  15374. "buytemplateid": {
  15375. "description": "买履约计划模板ID",
  15376. "type": "integer"
  15377. },
  15378. "deliverygoodscode": {
  15379. "description": "品种代码",
  15380. "type": "string"
  15381. },
  15382. "deliverygoodsid": {
  15383. "description": "交割商品",
  15384. "type": "integer"
  15385. },
  15386. "deliverygoodsname": {
  15387. "description": "品种名称",
  15388. "type": "string"
  15389. },
  15390. "deliverymode": {
  15391. "description": "交割方式 - 1:点选式 2:申报式",
  15392. "type": "integer"
  15393. },
  15394. "deliverypricerule": {
  15395. "description": "交割价规则- 1:行情价 2:建仓价",
  15396. "type": "integer"
  15397. },
  15398. "deliverytype": {
  15399. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  15400. "type": "integer"
  15401. },
  15402. "enddate": {
  15403. "description": "结束日期(yyyyMMdd)",
  15404. "type": "string"
  15405. },
  15406. "enumdicname": {
  15407. "description": "品类单位名称",
  15408. "type": "string"
  15409. },
  15410. "goodscode": {
  15411. "description": "商品代码",
  15412. "type": "string"
  15413. },
  15414. "goodsid": {
  15415. "description": "交易合约ID",
  15416. "type": "integer"
  15417. },
  15418. "goodsname": {
  15419. "description": "商品名称",
  15420. "type": "string"
  15421. },
  15422. "marketid": {
  15423. "description": "市场ID",
  15424. "type": "integer"
  15425. },
  15426. "mindeliveryqty": {
  15427. "description": "最小交割系数(K)",
  15428. "type": "integer"
  15429. },
  15430. "p2deliveryprice": {
  15431. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  15432. "type": "number"
  15433. },
  15434. "p2deliveryratio": {
  15435. "description": "P2合约系数(p)",
  15436. "type": "integer"
  15437. },
  15438. "p2goodsid": {
  15439. "description": "P2合约ID",
  15440. "type": "integer"
  15441. },
  15442. "p2pricemode": {
  15443. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  15444. "type": "integer"
  15445. },
  15446. "pdeliveryprice": {
  15447. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  15448. "type": "number"
  15449. },
  15450. "pdeliveryratio": {
  15451. "description": "P合约系数(n)",
  15452. "type": "integer"
  15453. },
  15454. "pgoodscode": {
  15455. "description": "p合约代码",
  15456. "type": "string"
  15457. },
  15458. "pgoodsid": {
  15459. "description": "P合约ID",
  15460. "type": "integer"
  15461. },
  15462. "ppricemode": {
  15463. "description": "P合约价格方式 - 1:商品价 2:固定值",
  15464. "type": "integer"
  15465. },
  15466. "rratio": {
  15467. "description": "兑换系数(R)",
  15468. "type": "integer"
  15469. },
  15470. "rratio1": {
  15471. "description": "兑换系数(交易合约)(R1)",
  15472. "type": "integer"
  15473. },
  15474. "rratio2": {
  15475. "description": "兑换系数(仓单标准)(R2)",
  15476. "type": "integer"
  15477. },
  15478. "selltemplateid": {
  15479. "description": "卖履约计划模板ID",
  15480. "type": "integer"
  15481. },
  15482. "wrstandardid": {
  15483. "description": "仓单标准ID",
  15484. "type": "integer"
  15485. },
  15486. "xdeliveryratio": {
  15487. "description": "交易合约系数(m)",
  15488. "type": "integer"
  15489. }
  15490. }
  15491. },
  15492. "ermcp.ExposureDetailRsp": {
  15493. "type": "object",
  15494. "properties": {
  15495. "areauserid": {
  15496. "description": "机构ID",
  15497. "type": "integer"
  15498. },
  15499. "changeQty": {
  15500. "description": "套保变动量",
  15501. "type": "number"
  15502. },
  15503. "contracttype": {
  15504. "description": "现货合同类型 - 1:采购 -1:销售",
  15505. "type": "integer"
  15506. },
  15507. "convertfactor": {
  15508. "description": "标仓系数",
  15509. "type": "number"
  15510. },
  15511. "convertratio": {
  15512. "description": "套保系数",
  15513. "type": "number"
  15514. },
  15515. "createtime": {
  15516. "description": "时间",
  15517. "type": "string"
  15518. },
  15519. "enumdicname": {
  15520. "description": "现货商品单位名称",
  15521. "type": "string"
  15522. },
  15523. "logtype": {
  15524. "description": "类型 - 1:套保计划 2:现货合同",
  15525. "type": "integer"
  15526. },
  15527. "middlegoodsId": {
  15528. "description": "套保商品id",
  15529. "type": "integer"
  15530. },
  15531. "middlegoodscode": {
  15532. "description": "套保商品代码",
  15533. "type": "string"
  15534. },
  15535. "middlegoodsname": {
  15536. "description": "套保商品名称",
  15537. "type": "string"
  15538. },
  15539. "qty": {
  15540. "description": "数量",
  15541. "type": "number"
  15542. },
  15543. "relateNo": {
  15544. "description": "现货合同/套保计划编号",
  15545. "type": "string"
  15546. },
  15547. "wrstandardcode": {
  15548. "description": "现货商品代码",
  15549. "type": "string"
  15550. },
  15551. "wrstandardid": {
  15552. "description": "现货商品ID",
  15553. "type": "integer"
  15554. },
  15555. "wrstandardname": {
  15556. "description": "现货商品名称",
  15557. "type": "string"
  15558. }
  15559. }
  15560. },
  15561. "ermcp.ExposureHedgePosDetailRsp": {
  15562. "type": "object",
  15563. "properties": {
  15564. "buyorsell": {
  15565. "description": "买卖方向 0-买 1-卖",
  15566. "type": "integer"
  15567. },
  15568. "channelbuildtype": {
  15569. "description": "开平方向 1-建仓 2-平仓",
  15570. "type": "integer"
  15571. },
  15572. "goodscode": {
  15573. "description": "商品代码",
  15574. "type": "string"
  15575. },
  15576. "goodsname": {
  15577. "description": "商品名称",
  15578. "type": "string"
  15579. },
  15580. "hedgegoodsid": {
  15581. "description": "商品id",
  15582. "type": "integer"
  15583. },
  15584. "tradeqty": {
  15585. "description": "数量(成交数量)",
  15586. "type": "integer"
  15587. },
  15588. "tradetime": {
  15589. "description": "时间(成交时间)",
  15590. "type": "string"
  15591. }
  15592. }
  15593. },
  15594. "ermcp.ExposureHedgePositionRsp": {
  15595. "type": "object",
  15596. "properties": {
  15597. "accountid": {
  15598. "description": "资金账号[外部母账户]",
  15599. "type": "integer"
  15600. },
  15601. "curbuyposition": {
  15602. "description": "期末买头寸",
  15603. "type": "integer"
  15604. },
  15605. "cursellposition": {
  15606. "description": "期末卖头寸",
  15607. "type": "integer"
  15608. },
  15609. "curtdbuyposition": {
  15610. "description": "期末今日买头寸",
  15611. "type": "integer"
  15612. },
  15613. "curtdsellposition": {
  15614. "description": "期末今日卖头寸",
  15615. "type": "integer"
  15616. },
  15617. "curydbuyposition": {
  15618. "description": "期末上日买头寸",
  15619. "type": "integer"
  15620. },
  15621. "curydsellposition": {
  15622. "description": "期末上日卖头寸",
  15623. "type": "integer"
  15624. },
  15625. "decreaseqty": {
  15626. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  15627. "type": "integer"
  15628. },
  15629. "fretdbuyposition": {
  15630. "description": "冻结今日买头寸",
  15631. "type": "integer"
  15632. },
  15633. "fretdsellposition": {
  15634. "description": "冻结今日卖头寸",
  15635. "type": "integer"
  15636. },
  15637. "freydbuyposition": {
  15638. "description": "冻结上日买头寸",
  15639. "type": "integer"
  15640. },
  15641. "freydsellposition": {
  15642. "description": "冻结上日卖头寸",
  15643. "type": "integer"
  15644. },
  15645. "goodscode": {
  15646. "description": "商品代码",
  15647. "type": "string"
  15648. },
  15649. "goodsid": {
  15650. "description": "商品id",
  15651. "type": "integer"
  15652. },
  15653. "goodsname": {
  15654. "description": "商品名称",
  15655. "type": "string"
  15656. },
  15657. "hedgeaccountcode": {
  15658. "description": "对冲账号",
  15659. "type": "string"
  15660. },
  15661. "hedgegoodsid": {
  15662. "description": "对冲合约ID",
  15663. "type": "integer"
  15664. },
  15665. "increaseqty": {
  15666. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  15667. "type": "integer"
  15668. },
  15669. "marketid": {
  15670. "description": "市场ID",
  15671. "type": "integer"
  15672. },
  15673. "relateduserid": {
  15674. "description": "关联用户id",
  15675. "type": "integer"
  15676. },
  15677. "totalcurqty": {
  15678. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  15679. "type": "integer"
  15680. },
  15681. "totalydqty": {
  15682. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  15683. "type": "integer"
  15684. },
  15685. "tradedate": {
  15686. "description": "交易日(yyyyMMdd)",
  15687. "type": "string"
  15688. },
  15689. "ydbuyposition": {
  15690. "description": "期初买头寸",
  15691. "type": "integer"
  15692. },
  15693. "ydsellposition": {
  15694. "description": "期初卖头寸",
  15695. "type": "integer"
  15696. }
  15697. }
  15698. },
  15699. "ermcp.ExposureSpotDetailRsp": {
  15700. "type": "object",
  15701. "properties": {
  15702. "contracttype": {
  15703. "description": "合同类型 1-采购 -1-销售",
  15704. "type": "integer"
  15705. },
  15706. "createtime": {
  15707. "description": "创建时间",
  15708. "type": "string"
  15709. },
  15710. "enumdicname": {
  15711. "description": "现货商品单位名称",
  15712. "type": "string"
  15713. },
  15714. "logtype": {
  15715. "description": "记录类型 1-套保 2-现货合同",
  15716. "type": "integer"
  15717. },
  15718. "qty": {
  15719. "description": "数量",
  15720. "type": "number"
  15721. },
  15722. "recordname": {
  15723. "description": "类型名称",
  15724. "type": "string"
  15725. },
  15726. "relatedid": {
  15727. "description": "套保计划ID/现货合同ID",
  15728. "type": "string"
  15729. },
  15730. "relatedno": {
  15731. "description": "编号",
  15732. "type": "string"
  15733. },
  15734. "strtime": {
  15735. "description": "时间",
  15736. "type": "string"
  15737. },
  15738. "wrstandardcode": {
  15739. "description": "现货商品代码",
  15740. "type": "string"
  15741. },
  15742. "wrstandardname": {
  15743. "description": "现货商品名称",
  15744. "type": "string"
  15745. }
  15746. }
  15747. },
  15748. "ermcp.ExposureSpotRsp": {
  15749. "type": "object",
  15750. "properties": {
  15751. "areauserid": {
  15752. "description": "所属机构",
  15753. "type": "integer"
  15754. },
  15755. "decreaseqty": {
  15756. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15757. "type": "number"
  15758. },
  15759. "increaseqty": {
  15760. "description": "增加数量=销售计划数量+采购已定价数量",
  15761. "type": "number"
  15762. },
  15763. "oritoalspotqty": {
  15764. "description": "昨日数量",
  15765. "type": "number"
  15766. },
  15767. "totalspotqty": {
  15768. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15769. "type": "number"
  15770. },
  15771. "updatetime": {
  15772. "description": "更新时间",
  15773. "type": "string"
  15774. },
  15775. "wrstandardcode": {
  15776. "description": "现货品种代码",
  15777. "type": "string"
  15778. },
  15779. "wrstandardid": {
  15780. "description": "现货商品ID",
  15781. "type": "integer"
  15782. },
  15783. "wrstandardname": {
  15784. "description": "现货品种",
  15785. "type": "string"
  15786. }
  15787. }
  15788. },
  15789. "ermcp.HisExposureRsp": {
  15790. "type": "object",
  15791. "properties": {
  15792. "data": {
  15793. "description": "历史敞口",
  15794. "type": "array",
  15795. "items": {
  15796. "$ref": "#/definitions/models.ErmcpHisExposure"
  15797. }
  15798. },
  15799. "enumdicname": {
  15800. "description": "单位名称",
  15801. "type": "string"
  15802. },
  15803. "middlegoodscode": {
  15804. "description": "套保品种代码",
  15805. "type": "string"
  15806. },
  15807. "middlegoodsid": {
  15808. "description": "套保品种ID",
  15809. "type": "integer"
  15810. },
  15811. "middlegoodsname": {
  15812. "description": "套保品种名称",
  15813. "type": "string"
  15814. }
  15815. }
  15816. },
  15817. "ermcp.PendingAuditCntRsp": {
  15818. "type": "object",
  15819. "properties": {
  15820. "areastockqty": {
  15821. "description": "待审核数量: 库存申请",
  15822. "type": "integer"
  15823. },
  15824. "businessdjqty": {
  15825. "description": "待审核数量: 点价",
  15826. "type": "integer"
  15827. },
  15828. "businessfpqty": {
  15829. "description": "待审核数量: 发票",
  15830. "type": "integer"
  15831. },
  15832. "businessjsqty": {
  15833. "description": "待审核数量: 结算",
  15834. "type": "integer"
  15835. },
  15836. "businesskxqty": {
  15837. "description": "待审核数量: 款项",
  15838. "type": "integer"
  15839. },
  15840. "hedgeplanqty": {
  15841. "description": "待审核数量: 套保计划",
  15842. "type": "integer"
  15843. },
  15844. "spotcontractqty": {
  15845. "description": "待审核数量: 现货合同",
  15846. "type": "integer"
  15847. },
  15848. "userqty": {
  15849. "description": "待审核数量: 用户",
  15850. "type": "integer"
  15851. }
  15852. }
  15853. },
  15854. "ermcp.QryAvalidGPRsp": {
  15855. "type": "object",
  15856. "properties": {
  15857. "goodsgroupid": {
  15858. "description": "期货品种id",
  15859. "type": "integer"
  15860. },
  15861. "goodsgroupname": {
  15862. "description": "期货品种名称",
  15863. "type": "string"
  15864. },
  15865. "goodunitid": {
  15866. "description": "品种单位id",
  15867. "type": "integer"
  15868. },
  15869. "goodunitname": {
  15870. "description": "品种单位名称",
  15871. "type": "string"
  15872. },
  15873. "outergroupcode": {
  15874. "description": "期货品种代码",
  15875. "type": "string"
  15876. }
  15877. }
  15878. },
  15879. "ermcp.QryBusinessDjRsp": {
  15880. "type": "object",
  15881. "properties": {
  15882. "amount": {
  15883. "description": "点价金额=(点价价格+升贴水)*点价数量",
  15884. "type": "number"
  15885. },
  15886. "applyid": {
  15887. "description": "申请人",
  15888. "type": "string"
  15889. },
  15890. "applyname": {
  15891. "description": "申请人名称",
  15892. "type": "string"
  15893. },
  15894. "applystatus": {
  15895. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15896. "type": "integer"
  15897. },
  15898. "applytime": {
  15899. "description": "申请时间",
  15900. "type": "string"
  15901. },
  15902. "attachurl": {
  15903. "description": "附件",
  15904. "type": "string"
  15905. },
  15906. "auditid": {
  15907. "description": "审核人ID",
  15908. "type": "string"
  15909. },
  15910. "auditname": {
  15911. "description": "审核人名称",
  15912. "type": "string"
  15913. },
  15914. "auditremark": {
  15915. "description": "审核备注",
  15916. "type": "string"
  15917. },
  15918. "audittime": {
  15919. "description": "审核时间",
  15920. "type": "string"
  15921. },
  15922. "buyusername": {
  15923. "description": "采购方名称",
  15924. "type": "string"
  15925. },
  15926. "contractno": {
  15927. "description": "合同编号",
  15928. "type": "string"
  15929. },
  15930. "contractstatus": {
  15931. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15932. "type": "integer"
  15933. },
  15934. "contracttype": {
  15935. "description": "现货合同类型 - 1:采购 -1:销售",
  15936. "type": "integer"
  15937. },
  15938. "deliverygoodscode": {
  15939. "description": "现货品种代码",
  15940. "type": "string"
  15941. },
  15942. "deliverygoodsid": {
  15943. "description": "现货商品ID",
  15944. "type": "integer"
  15945. },
  15946. "deliverygoodsname": {
  15947. "description": "现货品种名称",
  15948. "type": "string"
  15949. },
  15950. "enumdicname": {
  15951. "description": "单位名称",
  15952. "type": "string"
  15953. },
  15954. "goodscode": {
  15955. "description": "点价合约",
  15956. "type": "string"
  15957. },
  15958. "goodsname": {
  15959. "description": "商品名称",
  15960. "type": "string"
  15961. },
  15962. "operateapplyid": {
  15963. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15964. "type": "string"
  15965. },
  15966. "operateapplytype": {
  15967. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15968. "type": "integer"
  15969. },
  15970. "pricedPrice": {
  15971. "description": "点价价格(非必填)",
  15972. "type": "number"
  15973. },
  15974. "pricedQty": {
  15975. "description": "点价数量(非必填)",
  15976. "type": "number"
  15977. },
  15978. "pricemove": {
  15979. "description": "升贴水",
  15980. "type": "number"
  15981. },
  15982. "pricetype": {
  15983. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15984. "type": "integer"
  15985. },
  15986. "relatedid": {
  15987. "description": "现货合同ID",
  15988. "type": "string"
  15989. },
  15990. "sellusername": {
  15991. "description": "销售方名字",
  15992. "type": "string"
  15993. },
  15994. "userid": {
  15995. "description": "用户ID",
  15996. "type": "integer"
  15997. },
  15998. "wrstandardcode": {
  15999. "description": "品类代码",
  16000. "type": "string"
  16001. },
  16002. "wrstandardid": {
  16003. "description": "品类id",
  16004. "type": "integer"
  16005. },
  16006. "wrstandardname": {
  16007. "description": "品类名称",
  16008. "type": "string"
  16009. }
  16010. }
  16011. },
  16012. "ermcp.QryBussinessFpRsp": {
  16013. "type": "object",
  16014. "properties": {
  16015. "applyid": {
  16016. "description": "申请人",
  16017. "type": "string"
  16018. },
  16019. "applyname": {
  16020. "description": "申请人名称",
  16021. "type": "string"
  16022. },
  16023. "applystatus": {
  16024. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16025. "type": "integer"
  16026. },
  16027. "applytime": {
  16028. "description": "申请时间",
  16029. "type": "string"
  16030. },
  16031. "attachurl": {
  16032. "description": "附件",
  16033. "type": "string"
  16034. },
  16035. "auditid": {
  16036. "description": "审核人ID",
  16037. "type": "string"
  16038. },
  16039. "auditname": {
  16040. "description": "审核人名称",
  16041. "type": "string"
  16042. },
  16043. "auditremark": {
  16044. "description": "审核备注",
  16045. "type": "string"
  16046. },
  16047. "audittime": {
  16048. "description": "审核时间",
  16049. "type": "string"
  16050. },
  16051. "buyusername": {
  16052. "description": "采购方名称",
  16053. "type": "string"
  16054. },
  16055. "contractno": {
  16056. "description": "合同编号",
  16057. "type": "string"
  16058. },
  16059. "contractstatus": {
  16060. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16061. "type": "integer"
  16062. },
  16063. "contracttype": {
  16064. "description": "现货合同类型 - 1:采购 -1:销售",
  16065. "type": "integer"
  16066. },
  16067. "deliverygoodscode": {
  16068. "description": "现货品种代码",
  16069. "type": "string"
  16070. },
  16071. "deliverygoodsid": {
  16072. "description": "现货商品ID",
  16073. "type": "integer"
  16074. },
  16075. "deliverygoodsname": {
  16076. "description": "现货品种名称",
  16077. "type": "string"
  16078. },
  16079. "enumdicname": {
  16080. "description": "单位名称",
  16081. "type": "string"
  16082. },
  16083. "goodscode": {
  16084. "description": "点价合约",
  16085. "type": "string"
  16086. },
  16087. "goodsname": {
  16088. "description": "商品名称",
  16089. "type": "string"
  16090. },
  16091. "invoiceamount": {
  16092. "description": "已开收票金额(销售为开票,采购为收票)",
  16093. "type": "number"
  16094. },
  16095. "operateapplyid": {
  16096. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16097. "type": "string"
  16098. },
  16099. "operateapplytype": {
  16100. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16101. "type": "integer"
  16102. },
  16103. "pricemove": {
  16104. "description": "升贴水",
  16105. "type": "number"
  16106. },
  16107. "pricetype": {
  16108. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16109. "type": "integer"
  16110. },
  16111. "relatedid": {
  16112. "description": "现货合同ID",
  16113. "type": "string"
  16114. },
  16115. "sellusername": {
  16116. "description": "销售方名字",
  16117. "type": "string"
  16118. },
  16119. "userid": {
  16120. "description": "用户ID",
  16121. "type": "integer"
  16122. },
  16123. "wrstandardcode": {
  16124. "description": "品类代码",
  16125. "type": "string"
  16126. },
  16127. "wrstandardid": {
  16128. "description": "品类id",
  16129. "type": "integer"
  16130. },
  16131. "wrstandardname": {
  16132. "description": "品类名称",
  16133. "type": "string"
  16134. }
  16135. }
  16136. },
  16137. "ermcp.QryBussinessJsExRsp": {
  16138. "type": "object",
  16139. "properties": {
  16140. "applyid": {
  16141. "description": "申请人",
  16142. "type": "string"
  16143. },
  16144. "applyname": {
  16145. "description": "申请人名称",
  16146. "type": "string"
  16147. },
  16148. "applystatus": {
  16149. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16150. "type": "integer"
  16151. },
  16152. "applytime": {
  16153. "description": "申请时间",
  16154. "type": "string"
  16155. },
  16156. "attachurl": {
  16157. "description": "附件",
  16158. "type": "string"
  16159. },
  16160. "auditid": {
  16161. "description": "审核人ID",
  16162. "type": "string"
  16163. },
  16164. "auditname": {
  16165. "description": "审核人名称",
  16166. "type": "string"
  16167. },
  16168. "auditremark": {
  16169. "description": "审核备注",
  16170. "type": "string"
  16171. },
  16172. "audittime": {
  16173. "description": "审核时间",
  16174. "type": "string"
  16175. },
  16176. "buyusername": {
  16177. "description": "采购方名称",
  16178. "type": "string"
  16179. },
  16180. "contractno": {
  16181. "description": "合同编号",
  16182. "type": "string"
  16183. },
  16184. "contractstatus": {
  16185. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16186. "type": "integer"
  16187. },
  16188. "contracttype": {
  16189. "description": "现货合同类型 - 1:采购 -1:销售",
  16190. "type": "integer"
  16191. },
  16192. "deliverygoodscode": {
  16193. "description": "现货品种代码",
  16194. "type": "string"
  16195. },
  16196. "deliverygoodsid": {
  16197. "description": "现货商品ID",
  16198. "type": "integer"
  16199. },
  16200. "deliverygoodsname": {
  16201. "description": "现货品种名称",
  16202. "type": "string"
  16203. },
  16204. "enumdicname": {
  16205. "description": "单位名称",
  16206. "type": "string"
  16207. },
  16208. "goodscode": {
  16209. "description": "点价合约",
  16210. "type": "string"
  16211. },
  16212. "goodsname": {
  16213. "description": "商品名称",
  16214. "type": "string"
  16215. },
  16216. "operateapplyid": {
  16217. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16218. "type": "string"
  16219. },
  16220. "operateapplytype": {
  16221. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16222. "type": "integer"
  16223. },
  16224. "pricemove": {
  16225. "description": "升贴水",
  16226. "type": "number"
  16227. },
  16228. "pricetype": {
  16229. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16230. "type": "integer"
  16231. },
  16232. "reckontype": {
  16233. "description": "结算类型",
  16234. "type": "string"
  16235. },
  16236. "reckonvalue": {
  16237. "description": "值",
  16238. "type": "number"
  16239. },
  16240. "relatedid": {
  16241. "description": "现货合同ID",
  16242. "type": "string"
  16243. },
  16244. "sellusername": {
  16245. "description": "销售方名字",
  16246. "type": "string"
  16247. },
  16248. "userid": {
  16249. "description": "用户ID",
  16250. "type": "integer"
  16251. },
  16252. "wrstandardcode": {
  16253. "description": "品类代码",
  16254. "type": "string"
  16255. },
  16256. "wrstandardid": {
  16257. "description": "品类id",
  16258. "type": "integer"
  16259. },
  16260. "wrstandardname": {
  16261. "description": "品类名称",
  16262. "type": "string"
  16263. }
  16264. }
  16265. },
  16266. "ermcp.QryBussinessJsRsp": {
  16267. "type": "object",
  16268. "properties": {
  16269. "addmargin": {
  16270. "description": "追加保证金(非必填)",
  16271. "type": "number"
  16272. },
  16273. "applyid": {
  16274. "description": "申请人",
  16275. "type": "string"
  16276. },
  16277. "applyname": {
  16278. "description": "申请人名称",
  16279. "type": "string"
  16280. },
  16281. "applystatus": {
  16282. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16283. "type": "integer"
  16284. },
  16285. "applytime": {
  16286. "description": "申请时间",
  16287. "type": "string"
  16288. },
  16289. "attachurl": {
  16290. "description": "附件",
  16291. "type": "string"
  16292. },
  16293. "auditid": {
  16294. "description": "审核人ID",
  16295. "type": "string"
  16296. },
  16297. "auditname": {
  16298. "description": "审核人名称",
  16299. "type": "string"
  16300. },
  16301. "auditremark": {
  16302. "description": "审核备注",
  16303. "type": "string"
  16304. },
  16305. "audittime": {
  16306. "description": "审核时间",
  16307. "type": "string"
  16308. },
  16309. "buyusername": {
  16310. "description": "采购方名称",
  16311. "type": "string"
  16312. },
  16313. "contractno": {
  16314. "description": "合同编号",
  16315. "type": "string"
  16316. },
  16317. "contractstatus": {
  16318. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16319. "type": "integer"
  16320. },
  16321. "contracttype": {
  16322. "description": "现货合同类型 - 1:采购 -1:销售",
  16323. "type": "integer"
  16324. },
  16325. "decmargin": {
  16326. "description": "减少保证金(非必填)",
  16327. "type": "number"
  16328. },
  16329. "deliverygoodscode": {
  16330. "description": "现货品种代码",
  16331. "type": "string"
  16332. },
  16333. "deliverygoodsid": {
  16334. "description": "现货商品ID",
  16335. "type": "integer"
  16336. },
  16337. "deliverygoodsname": {
  16338. "description": "现货品种名称",
  16339. "type": "string"
  16340. },
  16341. "enumdicname": {
  16342. "description": "单位名称",
  16343. "type": "string"
  16344. },
  16345. "goodscode": {
  16346. "description": "点价合约",
  16347. "type": "string"
  16348. },
  16349. "goodsname": {
  16350. "description": "商品名称",
  16351. "type": "string"
  16352. },
  16353. "operateapplyid": {
  16354. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16355. "type": "string"
  16356. },
  16357. "operateapplytype": {
  16358. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16359. "type": "integer"
  16360. },
  16361. "pricemove": {
  16362. "description": "升贴水",
  16363. "type": "number"
  16364. },
  16365. "pricetype": {
  16366. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16367. "type": "integer"
  16368. },
  16369. "reckonadjustamount": {
  16370. "description": "结算调整金额(非必填)",
  16371. "type": "number"
  16372. },
  16373. "reckonosamount": {
  16374. "description": "结算溢短金额(非必填)",
  16375. "type": "number"
  16376. },
  16377. "reckonotheramount": {
  16378. "description": "结算其他费用(非必填)",
  16379. "type": "number"
  16380. },
  16381. "reckonrealqty": {
  16382. "description": "结算实际数量(非必填)",
  16383. "type": "number"
  16384. },
  16385. "relatedid": {
  16386. "description": "现货合同ID",
  16387. "type": "string"
  16388. },
  16389. "sellusername": {
  16390. "description": "销售方名字",
  16391. "type": "string"
  16392. },
  16393. "userid": {
  16394. "description": "用户ID",
  16395. "type": "integer"
  16396. },
  16397. "wrstandardcode": {
  16398. "description": "品类代码",
  16399. "type": "string"
  16400. },
  16401. "wrstandardid": {
  16402. "description": "品类id",
  16403. "type": "integer"
  16404. },
  16405. "wrstandardname": {
  16406. "description": "品类名称",
  16407. "type": "string"
  16408. }
  16409. }
  16410. },
  16411. "ermcp.QryBussinessKxRsp": {
  16412. "type": "object",
  16413. "properties": {
  16414. "applyid": {
  16415. "description": "申请人",
  16416. "type": "string"
  16417. },
  16418. "applyname": {
  16419. "description": "申请人名称",
  16420. "type": "string"
  16421. },
  16422. "applystatus": {
  16423. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16424. "type": "integer"
  16425. },
  16426. "applytime": {
  16427. "description": "申请时间",
  16428. "type": "string"
  16429. },
  16430. "attachurl": {
  16431. "description": "附件",
  16432. "type": "string"
  16433. },
  16434. "auditid": {
  16435. "description": "审核人ID",
  16436. "type": "string"
  16437. },
  16438. "auditname": {
  16439. "description": "审核人名称",
  16440. "type": "string"
  16441. },
  16442. "auditremark": {
  16443. "description": "审核备注",
  16444. "type": "string"
  16445. },
  16446. "audittime": {
  16447. "description": "审核时间",
  16448. "type": "string"
  16449. },
  16450. "buyusername": {
  16451. "description": "采购方名称",
  16452. "type": "string"
  16453. },
  16454. "contractno": {
  16455. "description": "合同编号",
  16456. "type": "string"
  16457. },
  16458. "contractstatus": {
  16459. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16460. "type": "integer"
  16461. },
  16462. "contracttype": {
  16463. "description": "现货合同类型 - 1:采购 -1:销售",
  16464. "type": "integer"
  16465. },
  16466. "deductamount": {
  16467. "description": "退款(非必填)",
  16468. "type": "number"
  16469. },
  16470. "deliverygoodscode": {
  16471. "description": "现货品种代码",
  16472. "type": "string"
  16473. },
  16474. "deliverygoodsid": {
  16475. "description": "现货商品ID",
  16476. "type": "integer"
  16477. },
  16478. "deliverygoodsname": {
  16479. "description": "现货品种名称",
  16480. "type": "string"
  16481. },
  16482. "enumdicname": {
  16483. "description": "单位名称",
  16484. "type": "string"
  16485. },
  16486. "goodscode": {
  16487. "description": "点价合约",
  16488. "type": "string"
  16489. },
  16490. "goodsname": {
  16491. "description": "商品名称",
  16492. "type": "string"
  16493. },
  16494. "kxtype": {
  16495. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  16496. "type": "integer"
  16497. },
  16498. "operateapplyid": {
  16499. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16500. "type": "string"
  16501. },
  16502. "operateapplytype": {
  16503. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16504. "type": "integer"
  16505. },
  16506. "payamount": {
  16507. "description": "收付款(非必填)",
  16508. "type": "number"
  16509. },
  16510. "pricemove": {
  16511. "description": "升贴水",
  16512. "type": "number"
  16513. },
  16514. "pricetype": {
  16515. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16516. "type": "integer"
  16517. },
  16518. "relatedid": {
  16519. "description": "现货合同ID",
  16520. "type": "string"
  16521. },
  16522. "sellusername": {
  16523. "description": "销售方名字",
  16524. "type": "string"
  16525. },
  16526. "userid": {
  16527. "description": "用户ID",
  16528. "type": "integer"
  16529. },
  16530. "wrstandardcode": {
  16531. "description": "品类代码",
  16532. "type": "string"
  16533. },
  16534. "wrstandardid": {
  16535. "description": "品类id",
  16536. "type": "integer"
  16537. },
  16538. "wrstandardname": {
  16539. "description": "品类名称",
  16540. "type": "string"
  16541. }
  16542. }
  16543. },
  16544. "ermcp.QryGGCovertCfgRsp": {
  16545. "type": "object",
  16546. "properties": {
  16547. "convertratio": {
  16548. "description": "折算系数",
  16549. "type": "number"
  16550. },
  16551. "destgoodsgroupid": {
  16552. "description": "目标品种ID",
  16553. "type": "integer"
  16554. },
  16555. "dstcode": {
  16556. "description": "目录品种代码",
  16557. "type": "string"
  16558. },
  16559. "dstexchangecode": {
  16560. "description": "目标期货交易所",
  16561. "type": "string"
  16562. },
  16563. "dstname": {
  16564. "description": "目标品种名称",
  16565. "type": "string"
  16566. },
  16567. "dstunitid": {
  16568. "description": "目标品种单位ID",
  16569. "type": "integer"
  16570. },
  16571. "dstunitidname": {
  16572. "description": "目标品种单位名称",
  16573. "type": "string"
  16574. },
  16575. "modifytime": {
  16576. "description": "修改时间",
  16577. "type": "string"
  16578. },
  16579. "srccode": {
  16580. "description": "源品种代码",
  16581. "type": "string"
  16582. },
  16583. "srcexchangecode": {
  16584. "description": "源期货交易所",
  16585. "type": "string"
  16586. },
  16587. "srcgoodsgroupid": {
  16588. "description": "源品种ID",
  16589. "type": "integer"
  16590. },
  16591. "srcname": {
  16592. "description": "源品种名称",
  16593. "type": "string"
  16594. },
  16595. "srcunitid": {
  16596. "description": "源品种单位ID",
  16597. "type": "integer"
  16598. },
  16599. "srcunitidname": {
  16600. "description": "源品种单位名称",
  16601. "type": "string"
  16602. }
  16603. }
  16604. },
  16605. "ermcp.QryMGChangeLogRsp": {
  16606. "type": "object",
  16607. "properties": {
  16608. "aftervalue": {
  16609. "description": "变更后",
  16610. "type": "number"
  16611. },
  16612. "applyid": {
  16613. "description": "操作人",
  16614. "type": "integer"
  16615. },
  16616. "applyname": {
  16617. "description": "操作人名称",
  16618. "type": "string"
  16619. },
  16620. "applysrc": {
  16621. "description": "操作来源 - 1:管理端 2:终端",
  16622. "type": "integer"
  16623. },
  16624. "beforevalue": {
  16625. "description": "变更前",
  16626. "type": "number"
  16627. },
  16628. "changelogtype": {
  16629. "description": "变更流水类型 - 1:套保比率变更",
  16630. "type": "integer"
  16631. },
  16632. "handlestatus": {
  16633. "description": "处理状态",
  16634. "type": "integer"
  16635. },
  16636. "logdatetime": {
  16637. "description": "流水日期",
  16638. "type": "string"
  16639. },
  16640. "logid": {
  16641. "description": "流水ID",
  16642. "type": "integer"
  16643. },
  16644. "logremark": {
  16645. "description": "流水备注",
  16646. "type": "string"
  16647. },
  16648. "middlegoodsid": {
  16649. "description": "套保品种ID",
  16650. "type": "integer"
  16651. },
  16652. "tradedate": {
  16653. "description": "交易日(yyyyMMdd)",
  16654. "type": "string"
  16655. },
  16656. "updatetime": {
  16657. "description": "更新时间",
  16658. "type": "string"
  16659. }
  16660. }
  16661. },
  16662. "ermcp.QryMiddleGoodsDetailRsp": {
  16663. "type": "object",
  16664. "properties": {
  16665. "cvList": {
  16666. "description": "期货品种折算列表",
  16667. "type": "array",
  16668. "items": {
  16669. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  16670. }
  16671. },
  16672. "mg": {
  16673. "description": "套保品种基本信息",
  16674. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16675. },
  16676. "wrcList": {
  16677. "description": "现货品种列表(现货商品折算配置)",
  16678. "type": "array",
  16679. "items": {
  16680. "$ref": "#/definitions/models.WRSConverTDetail"
  16681. }
  16682. }
  16683. }
  16684. },
  16685. "ermcp.QryMiddleGoodsRsp": {
  16686. "type": "object",
  16687. "properties": {
  16688. "areauserid": {
  16689. "description": "机构用户ID",
  16690. "type": "integer"
  16691. },
  16692. "createtime": {
  16693. "description": "修改时间",
  16694. "type": "string"
  16695. },
  16696. "enumdicname": {
  16697. "description": "单位名称",
  16698. "type": "string"
  16699. },
  16700. "evaluateratio": {
  16701. "description": "估价系数",
  16702. "type": "number"
  16703. },
  16704. "goodsgroupid": {
  16705. "description": "关联期货品种ID",
  16706. "type": "integer"
  16707. },
  16708. "goodsunitid": {
  16709. "description": "单位ID",
  16710. "type": "integer"
  16711. },
  16712. "isvalid": {
  16713. "description": "状态 0-无效(停用) 1-有效(正常)",
  16714. "type": "integer"
  16715. },
  16716. "middlegoodscode": {
  16717. "description": "套保品种代码",
  16718. "type": "string"
  16719. },
  16720. "middlegoodsid": {
  16721. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16722. "type": "integer"
  16723. },
  16724. "middlegoodsname": {
  16725. "description": "套保品种名称",
  16726. "type": "string"
  16727. },
  16728. "modifytime": {
  16729. "description": "修改时间",
  16730. "type": "string"
  16731. },
  16732. "needarbitrageratio": {
  16733. "description": "套利比例",
  16734. "type": "number"
  16735. },
  16736. "needhedgeratio": {
  16737. "description": "套保比率",
  16738. "type": "number"
  16739. },
  16740. "qtydecimalplace": {
  16741. "description": "数量小数位",
  16742. "type": "integer"
  16743. },
  16744. "relatedgoodsid": {
  16745. "description": "关联交易商品ID",
  16746. "type": "integer"
  16747. },
  16748. "relatedgoodstype": {
  16749. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16750. "type": "integer"
  16751. },
  16752. "remark": {
  16753. "description": "备注",
  16754. "type": "string"
  16755. }
  16756. }
  16757. },
  16758. "ermcp.QryOPLogRsp": {
  16759. "type": "object",
  16760. "properties": {
  16761. "aftervalue": {
  16762. "description": "变更后",
  16763. "type": "number"
  16764. },
  16765. "applyid": {
  16766. "description": "操作人ID",
  16767. "type": "string"
  16768. },
  16769. "applyname": {
  16770. "description": "操作人名称",
  16771. "type": "string"
  16772. },
  16773. "beforevalue": {
  16774. "description": "变更前",
  16775. "type": "number"
  16776. },
  16777. "biztype": {
  16778. "description": "业务类型 - 1:套保计划 2:现货合同",
  16779. "type": "integer"
  16780. },
  16781. "contracttype": {
  16782. "description": "现货合同类型 - 1:采购 -1:销售",
  16783. "type": "integer"
  16784. },
  16785. "logvalue": {
  16786. "description": "数值",
  16787. "type": "number"
  16788. },
  16789. "operatelogtype": {
  16790. "description": "操作流水类型",
  16791. "type": "integer"
  16792. },
  16793. "operatelogtypedesc": {
  16794. "description": "操作流水类型名称",
  16795. "type": "string"
  16796. },
  16797. "relatedid": {
  16798. "description": "现货合同ID\\套保计划",
  16799. "type": "string"
  16800. },
  16801. "updatetime": {
  16802. "description": "更新时间",
  16803. "type": "string"
  16804. }
  16805. }
  16806. },
  16807. "ermcp.QryUserInfoRsp": {
  16808. "type": "object",
  16809. "properties": {
  16810. "address": {
  16811. "description": "通讯地址",
  16812. "type": "string"
  16813. },
  16814. "attachment1": {
  16815. "description": "附件1",
  16816. "type": "string"
  16817. },
  16818. "audittime": {
  16819. "description": "审核时间",
  16820. "type": "string"
  16821. },
  16822. "cardbackphotourl": {
  16823. "description": "证件反面图片地址",
  16824. "type": "string"
  16825. },
  16826. "cardfrontphotourl": {
  16827. "description": "证件正面图片地址",
  16828. "type": "string"
  16829. },
  16830. "cardnum": {
  16831. "description": "证件号码",
  16832. "type": "string"
  16833. },
  16834. "cardtype": {
  16835. "description": "证件类型",
  16836. "type": "integer"
  16837. },
  16838. "cardtypename": {
  16839. "description": "证件类型名称",
  16840. "type": "string"
  16841. },
  16842. "cityid": {
  16843. "description": "市",
  16844. "type": "integer"
  16845. },
  16846. "contactname": {
  16847. "description": "联系人",
  16848. "type": "string"
  16849. },
  16850. "countryid": {
  16851. "description": "国家",
  16852. "type": "integer"
  16853. },
  16854. "createtime": {
  16855. "description": "创建时间",
  16856. "type": "string"
  16857. },
  16858. "customername": {
  16859. "description": "企业名称",
  16860. "type": "string"
  16861. },
  16862. "districtid": {
  16863. "description": "区域",
  16864. "type": "integer"
  16865. },
  16866. "email": {
  16867. "description": "邮件",
  16868. "type": "string"
  16869. },
  16870. "legalpersonname": {
  16871. "description": "法人姓名(企业)",
  16872. "type": "string"
  16873. },
  16874. "memberuserid": {
  16875. "description": "所属机构ID",
  16876. "type": "integer"
  16877. },
  16878. "mobile": {
  16879. "description": "手机号码",
  16880. "type": "string"
  16881. },
  16882. "modifytime": {
  16883. "description": "修改时间",
  16884. "type": "string"
  16885. },
  16886. "nickname": {
  16887. "description": "昵称",
  16888. "type": "string"
  16889. },
  16890. "provinceid": {
  16891. "description": "省",
  16892. "type": "integer"
  16893. },
  16894. "remark": {
  16895. "description": "备注",
  16896. "type": "string"
  16897. },
  16898. "status": {
  16899. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16900. "type": "integer"
  16901. },
  16902. "statusdesc": {
  16903. "description": "账户状态中文描述",
  16904. "type": "string"
  16905. },
  16906. "taxpayernum": {
  16907. "description": "纳税人识别号",
  16908. "type": "string"
  16909. },
  16910. "telphone": {
  16911. "description": "联系电话",
  16912. "type": "string"
  16913. },
  16914. "userid": {
  16915. "description": "用户ID",
  16916. "type": "integer"
  16917. },
  16918. "userinfotype": {
  16919. "description": "客户类型",
  16920. "type": "string"
  16921. }
  16922. }
  16923. },
  16924. "ermcp.QryWarehouseRsp": {
  16925. "type": "object",
  16926. "properties": {
  16927. "address": {
  16928. "description": "详细地址",
  16929. "type": "string"
  16930. },
  16931. "areauserid": {
  16932. "description": "所属机构",
  16933. "type": "integer"
  16934. },
  16935. "autoid": {
  16936. "description": "自增ID(仓库ID)",
  16937. "type": "integer"
  16938. },
  16939. "cityid": {
  16940. "description": "市",
  16941. "type": "integer"
  16942. },
  16943. "contactname": {
  16944. "description": "联系人",
  16945. "type": "string"
  16946. },
  16947. "contactnum": {
  16948. "description": "联系电话",
  16949. "type": "string"
  16950. },
  16951. "countryid": {
  16952. "description": "国家",
  16953. "type": "integer"
  16954. },
  16955. "createtime": {
  16956. "description": "创建时间",
  16957. "type": "string"
  16958. },
  16959. "districtid": {
  16960. "description": "区",
  16961. "type": "integer"
  16962. },
  16963. "hasvideo": {
  16964. "description": "是否有视频 - 0:无 1:有",
  16965. "type": "integer"
  16966. },
  16967. "provinceid": {
  16968. "description": "省",
  16969. "type": "integer"
  16970. },
  16971. "remark": {
  16972. "description": "审核备注",
  16973. "type": "string"
  16974. },
  16975. "videourl": {
  16976. "description": "视频地址",
  16977. "type": "string"
  16978. },
  16979. "warehousecode": {
  16980. "description": "仓库代码",
  16981. "type": "string"
  16982. },
  16983. "warehousename": {
  16984. "description": "仓库名称",
  16985. "type": "string"
  16986. },
  16987. "warehousestatus": {
  16988. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16989. "type": "integer"
  16990. },
  16991. "warehousetype": {
  16992. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16993. "type": "integer"
  16994. }
  16995. }
  16996. },
  16997. "ermcp.QueryErmcpTradePositionRsp": {
  16998. "type": "object",
  16999. "properties": {
  17000. "agreeunit": {
  17001. "description": "合约单位",
  17002. "type": "number"
  17003. },
  17004. "buyorsell": {
  17005. "description": "方向 - 0:买 1:卖",
  17006. "type": "integer"
  17007. },
  17008. "curpositionqty": {
  17009. "description": "持仓(总仓数量, 期末头寸)",
  17010. "type": "integer"
  17011. },
  17012. "curtdposition": {
  17013. "description": "今仓数量(期末今日头寸)",
  17014. "type": "integer"
  17015. },
  17016. "curtdpositionenabled": {
  17017. "description": "今仓可用",
  17018. "type": "integer"
  17019. },
  17020. "decimalplace": {
  17021. "description": "报价小数位",
  17022. "type": "integer"
  17023. },
  17024. "enableqty": {
  17025. "description": "可用(总仓可用)",
  17026. "type": "integer"
  17027. },
  17028. "exexchangename": {
  17029. "description": "外部交易所名称",
  17030. "type": "string"
  17031. },
  17032. "exexehangecode": {
  17033. "description": "外部交易所代码",
  17034. "type": "string"
  17035. },
  17036. "exexehangeid": {
  17037. "description": "外部交易所id",
  17038. "type": "integer"
  17039. },
  17040. "goodscode": {
  17041. "description": "商品代码(内部)",
  17042. "type": "string"
  17043. },
  17044. "goodsid": {
  17045. "description": "商品ID(自增ID SEQ_GOODS)",
  17046. "type": "integer"
  17047. },
  17048. "goodsname": {
  17049. "description": "商品名称",
  17050. "type": "string"
  17051. },
  17052. "last": {
  17053. "description": "现价",
  17054. "type": "number"
  17055. },
  17056. "marketid": {
  17057. "description": "所属市场ID",
  17058. "type": "integer"
  17059. },
  17060. "openaverageprice": {
  17061. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  17062. "type": "number"
  17063. },
  17064. "opencost": {
  17065. "description": "开仓成本",
  17066. "type": "number"
  17067. },
  17068. "openpl": {
  17069. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  17070. "type": "number"
  17071. },
  17072. "outgoodscode": {
  17073. "description": "商品代码(外部)",
  17074. "type": "string"
  17075. },
  17076. "positionaverageprice": {
  17077. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  17078. "type": "number"
  17079. },
  17080. "positioncost": {
  17081. "description": "持仓成本",
  17082. "type": "number"
  17083. },
  17084. "positionpl": {
  17085. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  17086. "type": "number"
  17087. },
  17088. "positionplrate": {
  17089. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  17090. "type": "number"
  17091. },
  17092. "usedmargin": {
  17093. "description": "占用保证金",
  17094. "type": "number"
  17095. }
  17096. }
  17097. },
  17098. "ermcp.RealtimeExposurePositionRsp": {
  17099. "type": "object",
  17100. "properties": {
  17101. "agreeunit": {
  17102. "description": "合约单位",
  17103. "type": "string"
  17104. },
  17105. "areauserid": {
  17106. "description": "所属机构id",
  17107. "type": "integer"
  17108. },
  17109. "convertratio": {
  17110. "description": "期货品种系数(折算系数)",
  17111. "type": "number"
  17112. },
  17113. "curqty": {
  17114. "description": "当前持仓",
  17115. "type": "integer"
  17116. },
  17117. "diffhedgeqty": {
  17118. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  17119. "type": "number"
  17120. },
  17121. "diffqty": {
  17122. "description": "持仓变动量=当前持仓-昨日持仓",
  17123. "type": "integer"
  17124. },
  17125. "goodscode": {
  17126. "description": "商品代码",
  17127. "type": "string"
  17128. },
  17129. "goodsid": {
  17130. "description": "商品id",
  17131. "type": "integer"
  17132. },
  17133. "goodsname": {
  17134. "description": "商品名称",
  17135. "type": "string"
  17136. },
  17137. "middlegoodsid": {
  17138. "description": "套保商品id",
  17139. "type": "integer"
  17140. },
  17141. "ydqty": {
  17142. "description": "昨日持仓",
  17143. "type": "integer"
  17144. }
  17145. }
  17146. },
  17147. "ermcp.RealtimeExposureRsp": {
  17148. "type": "object",
  17149. "properties": {
  17150. "AreaUserID": {
  17151. "description": "所属机构",
  17152. "type": "integer"
  17153. },
  17154. "BuyFutureQty": {
  17155. "description": "买入期货数量",
  17156. "type": "number"
  17157. },
  17158. "BuyPlanQty": {
  17159. "description": "采购计划数量",
  17160. "type": "number"
  17161. },
  17162. "BuyPricedQty": {
  17163. "description": "采购合同已定价数量",
  17164. "type": "number"
  17165. },
  17166. "MiddleGoodsCode": {
  17167. "description": "套保品种代码",
  17168. "type": "string"
  17169. },
  17170. "MiddleGoodsHedgeRatio": {
  17171. "description": "套保比例",
  17172. "type": "number"
  17173. },
  17174. "MiddleGoodsID": {
  17175. "description": "套保品种",
  17176. "type": "integer"
  17177. },
  17178. "MiddleGoodsName": {
  17179. "description": "套保品种名称",
  17180. "type": "string"
  17181. },
  17182. "NeedHedgeExposoure": {
  17183. "description": "应套保敞口(套保敞口)",
  17184. "type": "number"
  17185. },
  17186. "NeedHedgeRatio": {
  17187. "description": "应套保敞口比例",
  17188. "type": "number"
  17189. },
  17190. "OriBuyFutureQty": {
  17191. "description": "期初买入期货数量",
  17192. "type": "number"
  17193. },
  17194. "OriBuyPlanQty": {
  17195. "description": "期初采购计划数量",
  17196. "type": "number"
  17197. },
  17198. "OriBuyPricedQty": {
  17199. "description": "期初采购合同已定价数量",
  17200. "type": "number"
  17201. },
  17202. "OriSellFutureQty": {
  17203. "description": "期初卖出期货数量",
  17204. "type": "number"
  17205. },
  17206. "OriSellPlanQty": {
  17207. "description": "期初销售计划数量",
  17208. "type": "number"
  17209. },
  17210. "OriSellPricedQty": {
  17211. "description": "期初销售合同已定价数量",
  17212. "type": "number"
  17213. },
  17214. "OriTotalSpotQty": {
  17215. "description": "期初现货总量",
  17216. "type": "number"
  17217. },
  17218. "SellFutureQty": {
  17219. "description": "卖出期货数量",
  17220. "type": "number"
  17221. },
  17222. "SellPlanQty": {
  17223. "description": "销售计划数量",
  17224. "type": "number"
  17225. },
  17226. "SellPricedQty": {
  17227. "description": "销售合同已定价数量",
  17228. "type": "number"
  17229. },
  17230. "TotalExposure": {
  17231. "description": "总敞口 平安:净敞口",
  17232. "type": "number"
  17233. },
  17234. "TotalFutureQty": {
  17235. "description": "期货总量 平安:保值净持仓量",
  17236. "type": "number"
  17237. },
  17238. "TotalHedgeRatio": {
  17239. "description": "敞口比例",
  17240. "type": "number"
  17241. },
  17242. "TotalNeedHedgeQty": {
  17243. "description": "应套保总量(现货应套保总量)",
  17244. "type": "number"
  17245. },
  17246. "TotalSpotQty": {
  17247. "description": "现货总量 平安:采销定价净值",
  17248. "type": "number"
  17249. },
  17250. "arbitrageqty": {
  17251. "description": "套利量",
  17252. "type": "number"
  17253. },
  17254. "diffArbitrageQty": {
  17255. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17256. "type": "number"
  17257. },
  17258. "diffExposoureQty": {
  17259. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17260. "type": "number"
  17261. },
  17262. "diffFutuQty": {
  17263. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17264. "type": "number"
  17265. },
  17266. "diffHedgeQty": {
  17267. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17268. "type": "number"
  17269. },
  17270. "diffQty": {
  17271. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17272. "type": "number"
  17273. },
  17274. "diffSpotHedgeQty": {
  17275. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17276. "type": "number"
  17277. },
  17278. "diffSpotQty": {
  17279. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17280. "type": "number"
  17281. },
  17282. "enumdicname": {
  17283. "description": "单位名称",
  17284. "type": "string"
  17285. },
  17286. "hedgeqty": {
  17287. "description": "套保量",
  17288. "type": "number"
  17289. },
  17290. "needarbitrageqty": {
  17291. "description": "应套利量",
  17292. "type": "number"
  17293. },
  17294. "needarbitrageratio": {
  17295. "description": "套利比例",
  17296. "type": "number"
  17297. },
  17298. "needhedgeqty": {
  17299. "description": "应套保量",
  17300. "type": "number"
  17301. },
  17302. "oriarbitrageqty": {
  17303. "description": "期初套利量",
  17304. "type": "number"
  17305. },
  17306. "orihedgeqty": {
  17307. "description": "期初套保量",
  17308. "type": "number"
  17309. },
  17310. "orineedhedgeexposoure": {
  17311. "description": "期初套保敞口",
  17312. "type": "number"
  17313. },
  17314. "oritotalexposure": {
  17315. "description": "期初总敞口",
  17316. "type": "number"
  17317. },
  17318. "oritotalfutureqty": {
  17319. "description": "期初期货总量",
  17320. "type": "number"
  17321. },
  17322. "oritotalneedhedgeqty": {
  17323. "description": "期初现货应套保量",
  17324. "type": "number"
  17325. }
  17326. }
  17327. },
  17328. "erms2.QueryArbitrageStrategyRsp": {
  17329. "type": "object",
  17330. "required": [
  17331. "asapplyid"
  17332. ],
  17333. "properties": {
  17334. "applybasis": {
  17335. "description": "申请基差",
  17336. "type": "number"
  17337. },
  17338. "asapplyid": {
  17339. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  17340. "type": "string"
  17341. },
  17342. "asname": {
  17343. "description": "策略名称",
  17344. "type": "string"
  17345. },
  17346. "asno": {
  17347. "description": "策略编号",
  17348. "type": "string"
  17349. },
  17350. "basischangepl": {
  17351. "description": "基差变动损益[结算更新]",
  17352. "type": "number"
  17353. },
  17354. "biztype": {
  17355. "description": "业务类型 - 1:正向套利 -1:反向套利",
  17356. "type": "integer"
  17357. },
  17358. "closetradedate": {
  17359. "description": "完结交易日(yyyyMMdd)",
  17360. "type": "string"
  17361. },
  17362. "curbasis": {
  17363. "description": "当前基差[结算更新]",
  17364. "type": "number"
  17365. },
  17366. "deliverygoodsid": {
  17367. "description": "现货品种ID",
  17368. "type": "integer"
  17369. },
  17370. "futureavgprice": {
  17371. "description": "期货建仓均价",
  17372. "type": "number"
  17373. },
  17374. "futurecloseamount": {
  17375. "description": "期货平仓金额",
  17376. "type": "number"
  17377. },
  17378. "futurecloseqty": {
  17379. "description": "期货平仓数量",
  17380. "type": "number"
  17381. },
  17382. "futureopenamount": {
  17383. "description": "期货开仓金额",
  17384. "type": "number"
  17385. },
  17386. "futureopenqty": {
  17387. "description": "期货开仓数量",
  17388. "type": "number"
  17389. },
  17390. "futurepl": {
  17391. "description": "期货总盈亏[结算更新]",
  17392. "type": "number"
  17393. },
  17394. "futureqty": {
  17395. "description": "期货持仓数量",
  17396. "type": "number"
  17397. },
  17398. "futurequote": {
  17399. "description": "期货额度",
  17400. "type": "number"
  17401. },
  17402. "goodsgroupid": {
  17403. "description": "期货品种ID",
  17404. "type": "integer"
  17405. },
  17406. "marketid": {
  17407. "description": "市场ID",
  17408. "type": "integer"
  17409. },
  17410. "netexposure": {
  17411. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  17412. "type": "number"
  17413. },
  17414. "netexposurepl": {
  17415. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  17416. "type": "number"
  17417. },
  17418. "netexposurerate": {
  17419. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  17420. "type": "number"
  17421. },
  17422. "openbasis": {
  17423. "description": "建仓基差",
  17424. "type": "number"
  17425. },
  17426. "pricedspotqty": {
  17427. "description": "已定价现货数量",
  17428. "type": "number"
  17429. },
  17430. "pricedspotqtynotax": {
  17431. "description": "已定价现货不含税数量",
  17432. "type": "number"
  17433. },
  17434. "remark": {
  17435. "description": "备注",
  17436. "type": "string"
  17437. },
  17438. "spotavgprice": {
  17439. "description": "现货均价",
  17440. "type": "number"
  17441. },
  17442. "spotbuyamount": {
  17443. "description": "现货采购金额",
  17444. "type": "number"
  17445. },
  17446. "spotbuyqty": {
  17447. "description": "现货采购数量",
  17448. "type": "number"
  17449. },
  17450. "spotpl": {
  17451. "description": "现货总盈亏[结算更新]",
  17452. "type": "number"
  17453. },
  17454. "spotquota": {
  17455. "description": "现货额度",
  17456. "type": "number"
  17457. },
  17458. "spotsellamount": {
  17459. "description": "现货销售金额",
  17460. "type": "number"
  17461. },
  17462. "spotsellqty": {
  17463. "description": "现货销售数量",
  17464. "type": "number"
  17465. },
  17466. "spotusedquota": {
  17467. "description": "现货占用资金",
  17468. "type": "number"
  17469. },
  17470. "strategystatus": {
  17471. "description": "策略状态 - 0:未结束 1:已结束",
  17472. "type": "integer"
  17473. },
  17474. "totalpl": {
  17475. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  17476. "type": "number"
  17477. },
  17478. "tradedate": {
  17479. "description": "交易日(yyyyMMdd)",
  17480. "type": "string"
  17481. },
  17482. "updatetime": {
  17483. "description": "更新时间",
  17484. "type": "string"
  17485. },
  17486. "usedquota": {
  17487. "description": "已占用资金",
  17488. "type": "number"
  17489. },
  17490. "userid": {
  17491. "description": "所属机构",
  17492. "type": "integer"
  17493. }
  17494. }
  17495. },
  17496. "erms2.QueryInnerTradeDetailRsp": {
  17497. "type": "object",
  17498. "required": [
  17499. "asapplyid",
  17500. "buyorsell",
  17501. "goodscode",
  17502. "goodsgroupid",
  17503. "goodsgroupname",
  17504. "goodsname",
  17505. "tradeid"
  17506. ],
  17507. "properties": {
  17508. "accountid": {
  17509. "description": "账号ID",
  17510. "type": "integer"
  17511. },
  17512. "agreeunit": {
  17513. "description": "合约单位",
  17514. "type": "number"
  17515. },
  17516. "asapplyid": {
  17517. "description": "策略申请ID",
  17518. "type": "integer"
  17519. },
  17520. "asname": {
  17521. "description": "策略名称",
  17522. "type": "string"
  17523. },
  17524. "asno": {
  17525. "description": "策略编号",
  17526. "type": "string"
  17527. },
  17528. "buyorsell": {
  17529. "description": "方向 - 0:买 1:卖",
  17530. "type": "integer"
  17531. },
  17532. "channelbuildtype": {
  17533. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  17534. "type": "integer"
  17535. },
  17536. "closetype": {
  17537. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  17538. "type": "integer"
  17539. },
  17540. "decimalplace": {
  17541. "description": "报价小数位",
  17542. "type": "integer"
  17543. },
  17544. "detailtype": {
  17545. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  17546. "type": "integer"
  17547. },
  17548. "exexchangecode": {
  17549. "description": "外部交易所代码",
  17550. "type": "string"
  17551. },
  17552. "exexchangename": {
  17553. "description": "外部交易所名称",
  17554. "type": "string"
  17555. },
  17556. "goodscode": {
  17557. "description": "商品代码(合约)",
  17558. "type": "string"
  17559. },
  17560. "goodsgroupid": {
  17561. "description": "商品组ID(品种ID)",
  17562. "type": "integer"
  17563. },
  17564. "goodsgroupname": {
  17565. "description": "商品组名称(品种)",
  17566. "type": "string"
  17567. },
  17568. "goodsid": {
  17569. "description": "商品ID",
  17570. "type": "integer"
  17571. },
  17572. "goodsname": {
  17573. "description": "商品名称(合约)",
  17574. "type": "string"
  17575. },
  17576. "goodunit": {
  17577. "description": "报价单位",
  17578. "type": "string"
  17579. },
  17580. "marketid": {
  17581. "description": "市场ID",
  17582. "type": "integer"
  17583. },
  17584. "orderid": {
  17585. "description": "委托单号",
  17586. "type": "string"
  17587. },
  17588. "outgoodscode": {
  17589. "description": "商品代码(外部)",
  17590. "type": "string"
  17591. },
  17592. "relatedouttradeid": {
  17593. "description": "关联外部成交单ID",
  17594. "type": "string"
  17595. },
  17596. "remark": {
  17597. "description": "备注",
  17598. "type": "string"
  17599. },
  17600. "spotcontractid": {
  17601. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  17602. "type": "integer"
  17603. },
  17604. "spotcontractno": {
  17605. "description": "现货合同编号",
  17606. "type": "string"
  17607. },
  17608. "tradeid": {
  17609. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17610. "type": "string"
  17611. },
  17612. "tradeprice": {
  17613. "description": "成交价格",
  17614. "type": "number"
  17615. },
  17616. "tradeqty": {
  17617. "description": "成交数量",
  17618. "type": "integer"
  17619. },
  17620. "tradetime": {
  17621. "description": "成交时间",
  17622. "type": "string"
  17623. },
  17624. "updatetime": {
  17625. "description": "更新时间",
  17626. "type": "string"
  17627. }
  17628. }
  17629. },
  17630. "erms2.QuerySpotContractRsp": {
  17631. "type": "object",
  17632. "required": [
  17633. "spotcontractid"
  17634. ],
  17635. "properties": {
  17636. "accountid": {
  17637. "description": "资金账户ID",
  17638. "type": "integer"
  17639. },
  17640. "areauserid": {
  17641. "description": "所属机构",
  17642. "type": "integer"
  17643. },
  17644. "closedate": {
  17645. "description": "终止日期",
  17646. "type": "string"
  17647. },
  17648. "closeremark": {
  17649. "description": "结束备注",
  17650. "type": "string"
  17651. },
  17652. "closetradedate": {
  17653. "description": "完结交易日(yyyyMMdd)",
  17654. "type": "string"
  17655. },
  17656. "closetype": {
  17657. "description": "终止类型 - 1:违约 2:提前终止",
  17658. "type": "integer"
  17659. },
  17660. "contractamount": {
  17661. "description": "合同金额",
  17662. "type": "number"
  17663. },
  17664. "contractattachment": {
  17665. "description": "合同附件",
  17666. "type": "string"
  17667. },
  17668. "contractno": {
  17669. "description": "现货合同编号",
  17670. "type": "string"
  17671. },
  17672. "contractqty": {
  17673. "description": "合同数量(数值) (用于计算)",
  17674. "type": "number"
  17675. },
  17676. "contractqtychar": {
  17677. "description": "合同数量\\已订价数量 (用于显示)",
  17678. "type": "string"
  17679. },
  17680. "contractstatus": {
  17681. "description": "合同状态 - 0:未结束 1:已结束",
  17682. "type": "integer"
  17683. },
  17684. "contracttype": {
  17685. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  17686. "type": "integer"
  17687. },
  17688. "customeraccountid": {
  17689. "description": "客户资金账户ID",
  17690. "type": "integer"
  17691. },
  17692. "customeruserid": {
  17693. "description": "客户ID",
  17694. "type": "integer"
  17695. },
  17696. "deliverygoodsdesc": {
  17697. "description": "品种说明",
  17698. "type": "string"
  17699. },
  17700. "deliverygoodsid": {
  17701. "description": "现货品种ID",
  17702. "type": "integer"
  17703. },
  17704. "handlestatus": {
  17705. "description": "处理状态",
  17706. "type": "integer"
  17707. },
  17708. "invoiceatt": {
  17709. "description": "发票附件",
  17710. "type": "string"
  17711. },
  17712. "invoicedatetime": {
  17713. "description": "开收票更新时间",
  17714. "type": "string"
  17715. },
  17716. "invoiceopentime": {
  17717. "description": "开票时间",
  17718. "type": "string"
  17719. },
  17720. "invoiceremark": {
  17721. "description": "发票备注",
  17722. "type": "string"
  17723. },
  17724. "invoicestatus": {
  17725. "description": "开收票状态 - 0:未开票 1:已开票",
  17726. "type": "integer"
  17727. },
  17728. "lastdate": {
  17729. "description": "交货时间",
  17730. "type": "string"
  17731. },
  17732. "marketid": {
  17733. "description": "市场ID",
  17734. "type": "integer"
  17735. },
  17736. "paydatetime": {
  17737. "description": "收付款更新时间",
  17738. "type": "string"
  17739. },
  17740. "payremark": {
  17741. "description": "收付款备注",
  17742. "type": "string"
  17743. },
  17744. "paystatus": {
  17745. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  17746. "type": "integer"
  17747. },
  17748. "positionqty": {
  17749. "description": "头寸数量 - 合同数量去小数部分",
  17750. "type": "integer"
  17751. },
  17752. "producttype": {
  17753. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17754. "type": "integer"
  17755. },
  17756. "relatedqty": {
  17757. "description": "已关联数量",
  17758. "type": "number"
  17759. },
  17760. "relatedstatus": {
  17761. "description": "关联完结状态 - 0:未结束 1:已结束",
  17762. "type": "integer"
  17763. },
  17764. "remark": {
  17765. "description": "备注",
  17766. "type": "string"
  17767. },
  17768. "signdate": {
  17769. "description": "签订日期",
  17770. "type": "string"
  17771. },
  17772. "spotcontractid": {
  17773. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  17774. "type": "string"
  17775. },
  17776. "spotdatetime": {
  17777. "description": "收发货更新时间",
  17778. "type": "string"
  17779. },
  17780. "spotprice": {
  17781. "description": "价格",
  17782. "type": "number"
  17783. },
  17784. "spotremark": {
  17785. "description": "收发货备注",
  17786. "type": "string"
  17787. },
  17788. "spotstatus": {
  17789. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  17790. "type": "integer"
  17791. },
  17792. "tradedate": {
  17793. "description": "交易日(yyyyMMdd)",
  17794. "type": "string"
  17795. },
  17796. "userid": {
  17797. "description": "业务员用户ID",
  17798. "type": "integer"
  17799. },
  17800. "warehouseid": {
  17801. "description": "仓库ID",
  17802. "type": "integer"
  17803. },
  17804. "wrfactortypeid": {
  17805. "description": "仓单要素类型ID",
  17806. "type": "integer"
  17807. },
  17808. "wrstandardid": {
  17809. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  17810. "type": "integer"
  17811. }
  17812. }
  17813. },
  17814. "erms3.AddErms2ASApplyReq": {
  17815. "type": "object",
  17816. "required": [
  17817. "asapplyid"
  17818. ],
  17819. "properties": {
  17820. "applybasis": {
  17821. "description": "申请基差",
  17822. "type": "number"
  17823. },
  17824. "applystatus": {
  17825. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17826. "type": "integer"
  17827. },
  17828. "asapplyid": {
  17829. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  17830. "type": "integer"
  17831. },
  17832. "asname": {
  17833. "description": "策略名称",
  17834. "type": "string"
  17835. },
  17836. "asno": {
  17837. "description": "策略编号",
  17838. "type": "string"
  17839. },
  17840. "auditid": {
  17841. "description": "审核人",
  17842. "type": "integer"
  17843. },
  17844. "auditremark": {
  17845. "description": "审核备注",
  17846. "type": "string"
  17847. },
  17848. "audittime": {
  17849. "description": "审核时间",
  17850. "type": "string"
  17851. },
  17852. "biztype": {
  17853. "description": "业务类型 - 1:正向套利 2:反向套利",
  17854. "type": "integer"
  17855. },
  17856. "createtime": {
  17857. "description": "创建时间",
  17858. "type": "string"
  17859. },
  17860. "creatorid": {
  17861. "description": "创建人",
  17862. "type": "integer"
  17863. },
  17864. "deliverygoodsid": {
  17865. "description": "现货品种ID",
  17866. "type": "integer"
  17867. },
  17868. "futurequote": {
  17869. "description": "期货额度",
  17870. "type": "number"
  17871. },
  17872. "goodsgroupid": {
  17873. "description": "期货品种ID",
  17874. "type": "integer"
  17875. },
  17876. "marketid": {
  17877. "description": "市场ID",
  17878. "type": "integer"
  17879. },
  17880. "remark": {
  17881. "description": "备注",
  17882. "type": "string"
  17883. },
  17884. "spotquota": {
  17885. "description": "现货额度",
  17886. "type": "number"
  17887. },
  17888. "tradedate": {
  17889. "description": "交易日(yyyyMMdd)",
  17890. "type": "string"
  17891. },
  17892. "userid": {
  17893. "description": "所属机构",
  17894. "type": "integer"
  17895. }
  17896. }
  17897. },
  17898. "erms3.AddErms2SpotTradeApplyReq": {
  17899. "type": "object",
  17900. "required": [
  17901. "spottradeid"
  17902. ],
  17903. "properties": {
  17904. "applyjsondetail": {
  17905. "description": "申请明细(JSON)",
  17906. "type": "string"
  17907. },
  17908. "applystatus": {
  17909. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17910. "type": "integer"
  17911. },
  17912. "areauserid": {
  17913. "description": "所属机构",
  17914. "type": "integer"
  17915. },
  17916. "auditid": {
  17917. "description": "审核人",
  17918. "type": "integer"
  17919. },
  17920. "auditremark": {
  17921. "description": "审核备注",
  17922. "type": "string"
  17923. },
  17924. "audittime": {
  17925. "description": "审核时间",
  17926. "type": "string"
  17927. },
  17928. "createtime": {
  17929. "description": "创建时间",
  17930. "type": "string"
  17931. },
  17932. "creatorid": {
  17933. "description": "创建人",
  17934. "type": "integer"
  17935. },
  17936. "deliverygoodsid": {
  17937. "description": "现货品种ID",
  17938. "type": "integer"
  17939. },
  17940. "futureaccountid": {
  17941. "description": "期货资金账户",
  17942. "type": "integer"
  17943. },
  17944. "goodsgroupid": {
  17945. "description": "期货品种",
  17946. "type": "integer"
  17947. },
  17948. "marketid": {
  17949. "description": "市场ID",
  17950. "type": "integer"
  17951. },
  17952. "remark": {
  17953. "description": "备注",
  17954. "type": "string"
  17955. },
  17956. "spotaccountid": {
  17957. "description": "现货资金账户",
  17958. "type": "integer"
  17959. },
  17960. "spottradeid": {
  17961. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  17962. "type": "integer"
  17963. },
  17964. "spottradename": {
  17965. "description": "业务名称",
  17966. "type": "string"
  17967. },
  17968. "spottradeno": {
  17969. "description": "业务编号",
  17970. "type": "string"
  17971. },
  17972. "tradedate": {
  17973. "description": "交易日(yyyyMMdd)",
  17974. "type": "string"
  17975. },
  17976. "wrstandardid": {
  17977. "description": "仓单标准ID",
  17978. "type": "integer"
  17979. }
  17980. }
  17981. },
  17982. "erms3.AddSpotContractApplyReq": {
  17983. "type": "object",
  17984. "required": [
  17985. "accountid",
  17986. "areauserid",
  17987. "contractno",
  17988. "contracttype",
  17989. "customeraccountid",
  17990. "customeruserid",
  17991. "details",
  17992. "orimargin",
  17993. "signdate"
  17994. ],
  17995. "properties": {
  17996. "accountid": {
  17997. "description": "资金账户ID",
  17998. "type": "integer"
  17999. },
  18000. "areauserid": {
  18001. "description": "所属机构",
  18002. "type": "integer"
  18003. },
  18004. "contractattachment": {
  18005. "description": "合同附件",
  18006. "type": "string"
  18007. },
  18008. "contractno": {
  18009. "description": "现货合同编号",
  18010. "type": "string"
  18011. },
  18012. "contracttype": {
  18013. "description": "现货合同类型 - 1:采购 -1:销售",
  18014. "type": "integer"
  18015. },
  18016. "creatorid": {
  18017. "description": "申请人",
  18018. "type": "integer"
  18019. },
  18020. "customeraccountid": {
  18021. "description": "客户资金账户ID",
  18022. "type": "integer"
  18023. },
  18024. "customeruserid": {
  18025. "description": "客户ID",
  18026. "type": "integer"
  18027. },
  18028. "details": {
  18029. "description": "明细",
  18030. "type": "array",
  18031. "items": {
  18032. "$ref": "#/definitions/erms3.SoptContractDetail"
  18033. }
  18034. },
  18035. "orimargin": {
  18036. "description": "初始保证金",
  18037. "type": "number"
  18038. },
  18039. "remark": {
  18040. "description": "备注",
  18041. "type": "string"
  18042. },
  18043. "signdate": {
  18044. "description": "签订日期",
  18045. "type": "string"
  18046. }
  18047. }
  18048. },
  18049. "erms3.AddSpotContractApplyRsp": {
  18050. "type": "object",
  18051. "required": [
  18052. "contractno"
  18053. ],
  18054. "properties": {
  18055. "contractno": {
  18056. "description": "现货合同编号",
  18057. "type": "string"
  18058. },
  18059. "spotcontractid": {
  18060. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  18061. "type": "integer"
  18062. }
  18063. }
  18064. },
  18065. "erms3.AddUserInfoApplyReq": {
  18066. "type": "object",
  18067. "required": [
  18068. "userid"
  18069. ],
  18070. "properties": {
  18071. "accountid": {
  18072. "description": "交易系统帐号Id (加密存储)",
  18073. "type": "integer"
  18074. },
  18075. "areacode": {
  18076. "description": "机构代码",
  18077. "type": "string"
  18078. },
  18079. "areaid": {
  18080. "description": "机构Id",
  18081. "type": "integer"
  18082. },
  18083. "attachment1": {
  18084. "description": "附件1",
  18085. "type": "string"
  18086. },
  18087. "attachment2": {
  18088. "description": "附件2",
  18089. "type": "string"
  18090. },
  18091. "attachment3": {
  18092. "description": "附件3",
  18093. "type": "string"
  18094. },
  18095. "attachment4": {
  18096. "description": "附件4",
  18097. "type": "string"
  18098. },
  18099. "attachment5": {
  18100. "description": "附件5",
  18101. "type": "string"
  18102. },
  18103. "auditedby": {
  18104. "description": "审核人",
  18105. "type": "string"
  18106. },
  18107. "auditime": {
  18108. "description": "审核时间",
  18109. "type": "string"
  18110. },
  18111. "auditsrc": {
  18112. "description": "审核来源 - 1:管理端 2:终端",
  18113. "type": "integer"
  18114. },
  18115. "bankaccount": {
  18116. "description": "银行帐号 (加密存储)",
  18117. "type": "string"
  18118. },
  18119. "bankaccountname": {
  18120. "description": "收款人名称",
  18121. "type": "string"
  18122. },
  18123. "bankcardbackphotourl": {
  18124. "description": "银行卡背面照地址",
  18125. "type": "string"
  18126. },
  18127. "bankcardfrontphotourl": {
  18128. "description": "银行卡正面照地址",
  18129. "type": "string"
  18130. },
  18131. "bankid": {
  18132. "description": "银行编码",
  18133. "type": "string"
  18134. },
  18135. "bankname": {
  18136. "description": "银行名称",
  18137. "type": "string"
  18138. },
  18139. "bankpictureurl": {
  18140. "description": "银行卡正面地址",
  18141. "type": "string"
  18142. },
  18143. "biznature": {
  18144. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18145. "type": "integer"
  18146. },
  18147. "bizscope": {
  18148. "description": "企业经营范围(企业)",
  18149. "type": "string"
  18150. },
  18151. "biztype": {
  18152. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18153. "type": "integer"
  18154. },
  18155. "brokerid": {
  18156. "description": "经纪人ID(加密存储)",
  18157. "type": "string"
  18158. },
  18159. "cardaddress": {
  18160. "description": "证件地址 (加密存储)",
  18161. "type": "string"
  18162. },
  18163. "cardbackphotourl": {
  18164. "description": "背面证件照地址",
  18165. "type": "string"
  18166. },
  18167. "cardfrontphotourl": {
  18168. "description": "正面证件照地址",
  18169. "type": "string"
  18170. },
  18171. "cardnum": {
  18172. "description": "证件号码 (加密存储)",
  18173. "type": "string"
  18174. },
  18175. "cardtype": {
  18176. "description": "证件类型",
  18177. "type": "integer"
  18178. },
  18179. "cityid": {
  18180. "description": "市",
  18181. "type": "integer"
  18182. },
  18183. "company": {
  18184. "description": "公司(个人)",
  18185. "type": "string"
  18186. },
  18187. "contactcardbackphotourl": {
  18188. "description": "联系人证件背面图片地址",
  18189. "type": "string"
  18190. },
  18191. "contactcardfrontphotourl": {
  18192. "description": "联系人证件正面图片地址",
  18193. "type": "string"
  18194. },
  18195. "contactname": {
  18196. "description": "联系人",
  18197. "type": "string"
  18198. },
  18199. "countryid": {
  18200. "description": "国家",
  18201. "type": "integer"
  18202. },
  18203. "createtime": {
  18204. "description": "开户申请时间",
  18205. "type": "string"
  18206. },
  18207. "cusbankid": {
  18208. "description": "签约类型",
  18209. "type": "string"
  18210. },
  18211. "cusbankname": {
  18212. "description": "签约类型名称",
  18213. "type": "string"
  18214. },
  18215. "customername": {
  18216. "description": "客户名称(企业名称)",
  18217. "type": "string"
  18218. },
  18219. "districtid": {
  18220. "description": "地区",
  18221. "type": "integer"
  18222. },
  18223. "email": {
  18224. "description": "Email地址(加密存储)",
  18225. "type": "string"
  18226. },
  18227. "halfbodyphotourl": {
  18228. "description": "半身照地址",
  18229. "type": "string"
  18230. },
  18231. "headurl": {
  18232. "description": "头像地址",
  18233. "type": "string"
  18234. },
  18235. "ipaddress": {
  18236. "description": "IP地址",
  18237. "type": "string"
  18238. },
  18239. "isvalidate": {
  18240. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18241. "type": "string"
  18242. },
  18243. "legalcardbackphotourl": {
  18244. "description": "法人身份证背面照地址",
  18245. "type": "string"
  18246. },
  18247. "legalcardfrontphotourl": {
  18248. "description": "法人身份证正面照地址",
  18249. "type": "string"
  18250. },
  18251. "legalpersonname": {
  18252. "description": "法人姓名(企业)",
  18253. "type": "string"
  18254. },
  18255. "logincode": {
  18256. "description": "登录帐号 (加密存储)",
  18257. "type": "string"
  18258. },
  18259. "memberareaid": {
  18260. "description": "所属会员ID",
  18261. "type": "integer"
  18262. },
  18263. "mobile2": {
  18264. "description": "手机号码[明文-尚志]",
  18265. "type": "string"
  18266. },
  18267. "mobilephone": {
  18268. "description": "手机号码 (加密存储)",
  18269. "type": "string"
  18270. },
  18271. "modifiedby": {
  18272. "description": "修改人帐号",
  18273. "type": "integer"
  18274. },
  18275. "modifiedtime": {
  18276. "description": "修改时间",
  18277. "type": "string"
  18278. },
  18279. "nickname": {
  18280. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18281. "type": "string"
  18282. },
  18283. "openmode": {
  18284. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18285. "type": "integer"
  18286. },
  18287. "otherurl": {
  18288. "description": "其它图片地址[使用分号分隔]",
  18289. "type": "string"
  18290. },
  18291. "postalcode": {
  18292. "description": "邮政编码",
  18293. "type": "string"
  18294. },
  18295. "provinceid": {
  18296. "description": "省",
  18297. "type": "integer"
  18298. },
  18299. "proxystatementurl": {
  18300. "description": "授权委托书",
  18301. "type": "string"
  18302. },
  18303. "qq": {
  18304. "description": "QQ(加密存储",
  18305. "type": "string"
  18306. },
  18307. "referral": {
  18308. "description": "推荐人编码",
  18309. "type": "string"
  18310. },
  18311. "remark": {
  18312. "description": "备注",
  18313. "type": "string"
  18314. },
  18315. "removebeforestatus": {
  18316. "description": "REMOVEBEFORESTATUS",
  18317. "type": "integer"
  18318. },
  18319. "sex": {
  18320. "description": "性别 - 0:女 1:男",
  18321. "type": "integer"
  18322. },
  18323. "signedstatus": {
  18324. "description": "账户一号签签约状态",
  18325. "type": "integer"
  18326. },
  18327. "signpdfurl": {
  18328. "description": "签约pdf文件",
  18329. "type": "string"
  18330. },
  18331. "subbranch": {
  18332. "description": "开户支行",
  18333. "type": "string"
  18334. },
  18335. "taxpayernum": {
  18336. "description": "纳税人识别号",
  18337. "type": "string"
  18338. },
  18339. "telphone": {
  18340. "description": "联系电话(加密存储)",
  18341. "type": "string"
  18342. },
  18343. "userid": {
  18344. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18345. "type": "integer"
  18346. },
  18347. "userinfotype": {
  18348. "description": "用户信息类型 - 1:个人 2:企业",
  18349. "type": "integer"
  18350. },
  18351. "username": {
  18352. "description": "用户姓名",
  18353. "type": "string"
  18354. },
  18355. "userstate": {
  18356. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18357. "type": "integer"
  18358. },
  18359. "usertype": {
  18360. "description": "用户类型 - 1:投资者 2:机构",
  18361. "type": "integer"
  18362. },
  18363. "videourl": {
  18364. "description": "视频地址",
  18365. "type": "string"
  18366. },
  18367. "wechat": {
  18368. "description": "微信号 (加密存储)",
  18369. "type": "string"
  18370. }
  18371. }
  18372. },
  18373. "erms3.CustomerInfo": {
  18374. "type": "object",
  18375. "required": [
  18376. "userid"
  18377. ],
  18378. "properties": {
  18379. "accountids": {
  18380. "description": "资金账户ID列表",
  18381. "type": "array",
  18382. "items": {
  18383. "type": "integer"
  18384. }
  18385. },
  18386. "customername": {
  18387. "description": "名称(企业名称)",
  18388. "type": "string"
  18389. },
  18390. "mobile": {
  18391. "description": "手机号码",
  18392. "type": "string"
  18393. },
  18394. "userid": {
  18395. "description": "用户ID",
  18396. "type": "integer"
  18397. }
  18398. }
  18399. },
  18400. "erms3.ModifyUserInfoApplyReq": {
  18401. "type": "object",
  18402. "required": [
  18403. "userid"
  18404. ],
  18405. "properties": {
  18406. "accountid": {
  18407. "description": "交易系统帐号Id (加密存储)",
  18408. "type": "integer"
  18409. },
  18410. "areacode": {
  18411. "description": "机构代码",
  18412. "type": "string"
  18413. },
  18414. "areaid": {
  18415. "description": "机构Id",
  18416. "type": "integer"
  18417. },
  18418. "attachment1": {
  18419. "description": "附件1",
  18420. "type": "string"
  18421. },
  18422. "attachment2": {
  18423. "description": "附件2",
  18424. "type": "string"
  18425. },
  18426. "attachment3": {
  18427. "description": "附件3",
  18428. "type": "string"
  18429. },
  18430. "attachment4": {
  18431. "description": "附件4",
  18432. "type": "string"
  18433. },
  18434. "attachment5": {
  18435. "description": "附件5",
  18436. "type": "string"
  18437. },
  18438. "auditedby": {
  18439. "description": "审核人",
  18440. "type": "string"
  18441. },
  18442. "auditime": {
  18443. "description": "审核时间",
  18444. "type": "string"
  18445. },
  18446. "auditsrc": {
  18447. "description": "审核来源 - 1:管理端 2:终端",
  18448. "type": "integer"
  18449. },
  18450. "bankaccount": {
  18451. "description": "银行帐号 (加密存储)",
  18452. "type": "string"
  18453. },
  18454. "bankaccountname": {
  18455. "description": "收款人名称",
  18456. "type": "string"
  18457. },
  18458. "bankcardbackphotourl": {
  18459. "description": "银行卡背面照地址",
  18460. "type": "string"
  18461. },
  18462. "bankcardfrontphotourl": {
  18463. "description": "银行卡正面照地址",
  18464. "type": "string"
  18465. },
  18466. "bankid": {
  18467. "description": "银行编码",
  18468. "type": "string"
  18469. },
  18470. "bankname": {
  18471. "description": "银行名称",
  18472. "type": "string"
  18473. },
  18474. "bankpictureurl": {
  18475. "description": "银行卡正面地址",
  18476. "type": "string"
  18477. },
  18478. "biznature": {
  18479. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18480. "type": "integer"
  18481. },
  18482. "bizscope": {
  18483. "description": "企业经营范围(企业)",
  18484. "type": "string"
  18485. },
  18486. "biztype": {
  18487. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18488. "type": "integer"
  18489. },
  18490. "brokerid": {
  18491. "description": "经纪人ID(加密存储)",
  18492. "type": "string"
  18493. },
  18494. "cardaddress": {
  18495. "description": "证件地址 (加密存储)",
  18496. "type": "string"
  18497. },
  18498. "cardbackphotourl": {
  18499. "description": "背面证件照地址",
  18500. "type": "string"
  18501. },
  18502. "cardfrontphotourl": {
  18503. "description": "正面证件照地址",
  18504. "type": "string"
  18505. },
  18506. "cardnum": {
  18507. "description": "证件号码 (加密存储)",
  18508. "type": "string"
  18509. },
  18510. "cardtype": {
  18511. "description": "证件类型",
  18512. "type": "integer"
  18513. },
  18514. "cityid": {
  18515. "description": "市",
  18516. "type": "integer"
  18517. },
  18518. "company": {
  18519. "description": "公司(个人)",
  18520. "type": "string"
  18521. },
  18522. "contactcardbackphotourl": {
  18523. "description": "联系人证件背面图片地址",
  18524. "type": "string"
  18525. },
  18526. "contactcardfrontphotourl": {
  18527. "description": "联系人证件正面图片地址",
  18528. "type": "string"
  18529. },
  18530. "contactname": {
  18531. "description": "联系人",
  18532. "type": "string"
  18533. },
  18534. "countryid": {
  18535. "description": "国家",
  18536. "type": "integer"
  18537. },
  18538. "createtime": {
  18539. "description": "开户申请时间",
  18540. "type": "string"
  18541. },
  18542. "cusbankid": {
  18543. "description": "签约类型",
  18544. "type": "string"
  18545. },
  18546. "cusbankname": {
  18547. "description": "签约类型名称",
  18548. "type": "string"
  18549. },
  18550. "customername": {
  18551. "description": "客户名称(企业名称)",
  18552. "type": "string"
  18553. },
  18554. "districtid": {
  18555. "description": "地区",
  18556. "type": "integer"
  18557. },
  18558. "email": {
  18559. "description": "Email地址(加密存储)",
  18560. "type": "string"
  18561. },
  18562. "halfbodyphotourl": {
  18563. "description": "半身照地址",
  18564. "type": "string"
  18565. },
  18566. "headurl": {
  18567. "description": "头像地址",
  18568. "type": "string"
  18569. },
  18570. "ipaddress": {
  18571. "description": "IP地址",
  18572. "type": "string"
  18573. },
  18574. "isvalidate": {
  18575. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18576. "type": "string"
  18577. },
  18578. "legalcardbackphotourl": {
  18579. "description": "法人身份证背面照地址",
  18580. "type": "string"
  18581. },
  18582. "legalcardfrontphotourl": {
  18583. "description": "法人身份证正面照地址",
  18584. "type": "string"
  18585. },
  18586. "legalpersonname": {
  18587. "description": "法人姓名(企业)",
  18588. "type": "string"
  18589. },
  18590. "logincode": {
  18591. "description": "登录帐号 (加密存储)",
  18592. "type": "string"
  18593. },
  18594. "memberareaid": {
  18595. "description": "所属会员ID",
  18596. "type": "integer"
  18597. },
  18598. "mobile2": {
  18599. "description": "手机号码[明文-尚志]",
  18600. "type": "string"
  18601. },
  18602. "mobilephone": {
  18603. "description": "手机号码 (加密存储)",
  18604. "type": "string"
  18605. },
  18606. "modifiedby": {
  18607. "description": "修改人帐号",
  18608. "type": "integer"
  18609. },
  18610. "modifiedtime": {
  18611. "description": "修改时间",
  18612. "type": "string"
  18613. },
  18614. "nickname": {
  18615. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18616. "type": "string"
  18617. },
  18618. "openmode": {
  18619. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18620. "type": "integer"
  18621. },
  18622. "otherurl": {
  18623. "description": "其它图片地址[使用分号分隔]",
  18624. "type": "string"
  18625. },
  18626. "postalcode": {
  18627. "description": "邮政编码",
  18628. "type": "string"
  18629. },
  18630. "provinceid": {
  18631. "description": "省",
  18632. "type": "integer"
  18633. },
  18634. "proxystatementurl": {
  18635. "description": "授权委托书",
  18636. "type": "string"
  18637. },
  18638. "qq": {
  18639. "description": "QQ(加密存储",
  18640. "type": "string"
  18641. },
  18642. "referral": {
  18643. "description": "推荐人编码",
  18644. "type": "string"
  18645. },
  18646. "remark": {
  18647. "description": "备注",
  18648. "type": "string"
  18649. },
  18650. "removebeforestatus": {
  18651. "description": "REMOVEBEFORESTATUS",
  18652. "type": "integer"
  18653. },
  18654. "sex": {
  18655. "description": "性别 - 0:女 1:男",
  18656. "type": "integer"
  18657. },
  18658. "signedstatus": {
  18659. "description": "账户一号签签约状态",
  18660. "type": "integer"
  18661. },
  18662. "signpdfurl": {
  18663. "description": "签约pdf文件",
  18664. "type": "string"
  18665. },
  18666. "subbranch": {
  18667. "description": "开户支行",
  18668. "type": "string"
  18669. },
  18670. "taxpayernum": {
  18671. "description": "纳税人识别号",
  18672. "type": "string"
  18673. },
  18674. "telphone": {
  18675. "description": "联系电话(加密存储)",
  18676. "type": "string"
  18677. },
  18678. "userid": {
  18679. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18680. "type": "integer"
  18681. },
  18682. "userinfotype": {
  18683. "description": "用户信息类型 - 1:个人 2:企业",
  18684. "type": "integer"
  18685. },
  18686. "username": {
  18687. "description": "用户姓名",
  18688. "type": "string"
  18689. },
  18690. "userstate": {
  18691. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18692. "type": "integer"
  18693. },
  18694. "usertype": {
  18695. "description": "用户类型 - 1:投资者 2:机构",
  18696. "type": "integer"
  18697. },
  18698. "videourl": {
  18699. "description": "视频地址",
  18700. "type": "string"
  18701. },
  18702. "wechat": {
  18703. "description": "微信号 (加密存储)",
  18704. "type": "string"
  18705. }
  18706. }
  18707. },
  18708. "erms3.QryAuditContractRsp": {
  18709. "type": "object",
  18710. "required": [
  18711. "matchcustomername",
  18712. "spotcontractid"
  18713. ],
  18714. "properties": {
  18715. "accountid": {
  18716. "description": "交易员ID",
  18717. "type": "string"
  18718. },
  18719. "applystatus": {
  18720. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18721. "type": "integer"
  18722. },
  18723. "curdeliveryqty": {
  18724. "description": "未交收量",
  18725. "type": "integer"
  18726. },
  18727. "customername": {
  18728. "description": "采购方ID",
  18729. "type": "string"
  18730. },
  18731. "deliverygoodsid": {
  18732. "description": "品种ID",
  18733. "type": "string"
  18734. },
  18735. "deliveryqty": {
  18736. "description": "交收量",
  18737. "type": "integer"
  18738. },
  18739. "enumdicname": {
  18740. "description": "单位名称",
  18741. "type": "string"
  18742. },
  18743. "matchaccountid": {
  18744. "description": "业务员ID",
  18745. "type": "string"
  18746. },
  18747. "matchcustomername": {
  18748. "description": "销售方ID",
  18749. "type": "string"
  18750. },
  18751. "pricedqty": {
  18752. "description": "定价量",
  18753. "type": "number"
  18754. },
  18755. "signdate": {
  18756. "description": "签订日期",
  18757. "type": "string"
  18758. },
  18759. "spotcontractid": {
  18760. "description": "合同ID",
  18761. "type": "string"
  18762. },
  18763. "totaldqty": {
  18764. "description": "合同量",
  18765. "type": "number"
  18766. },
  18767. "unpricedqty": {
  18768. "description": "未定价量",
  18769. "type": "number"
  18770. },
  18771. "wrstandardname": {
  18772. "description": "商品名称",
  18773. "type": "string"
  18774. }
  18775. }
  18776. },
  18777. "erms3.QryPendingBizRsp": {
  18778. "type": "object",
  18779. "properties": {
  18780. "accountid": {
  18781. "description": "现货账户",
  18782. "type": "string"
  18783. },
  18784. "areaname": {
  18785. "description": "所属部门",
  18786. "type": "string"
  18787. },
  18788. "bizid": {
  18789. "description": "业务ID",
  18790. "type": "string"
  18791. },
  18792. "bizname": {
  18793. "description": "业务名称",
  18794. "type": "string"
  18795. },
  18796. "status": {
  18797. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18798. "type": "integer"
  18799. },
  18800. "type": {
  18801. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  18802. "type": "integer"
  18803. }
  18804. }
  18805. },
  18806. "erms3.QueryBusinessInfoRsp": {
  18807. "type": "object",
  18808. "properties": {
  18809. "businessid": {
  18810. "description": "业务ID.",
  18811. "type": "integer"
  18812. },
  18813. "buyamount": {
  18814. "description": "采购额.",
  18815. "type": "number"
  18816. },
  18817. "buyqty": {
  18818. "description": "采购量.",
  18819. "type": "string"
  18820. },
  18821. "futurepl": {
  18822. "description": "期货盈亏.",
  18823. "type": "number"
  18824. },
  18825. "futureqty": {
  18826. "description": "期货敞口.",
  18827. "type": "string"
  18828. },
  18829. "goodsid": {
  18830. "description": "商品名称/商品代码.",
  18831. "type": "string"
  18832. },
  18833. "hedgingqty": {
  18834. "description": "套保量.",
  18835. "type": "string"
  18836. },
  18837. "sellamount": {
  18838. "description": "销售额.",
  18839. "type": "number"
  18840. },
  18841. "sellqty": {
  18842. "description": "销售量.",
  18843. "type": "string"
  18844. },
  18845. "spotmarketvalue": {
  18846. "description": "现货市值.",
  18847. "type": "number"
  18848. },
  18849. "spotpl": {
  18850. "description": "浮动权益.",
  18851. "type": "number"
  18852. },
  18853. "spotqty": {
  18854. "description": "现货量.",
  18855. "type": "string"
  18856. },
  18857. "statu": {
  18858. "description": "状态,0-未结束 1-已结束.",
  18859. "type": "integer"
  18860. },
  18861. "totalpl": {
  18862. "description": "总盈亏.",
  18863. "type": "number"
  18864. },
  18865. "totalqty": {
  18866. "description": "总敞口.",
  18867. "type": "string"
  18868. },
  18869. "type": {
  18870. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  18871. "type": "integer"
  18872. }
  18873. }
  18874. },
  18875. "erms3.QuerySpotContractAppleFormRsp": {
  18876. "type": "object",
  18877. "properties": {
  18878. "goodses": {
  18879. "description": "合约列表",
  18880. "type": "array",
  18881. "items": {
  18882. "$ref": "#/definitions/models.GoodsIDAndName"
  18883. }
  18884. },
  18885. "oppositeusers": {
  18886. "description": "对方账号列表",
  18887. "type": "array",
  18888. "items": {
  18889. "$ref": "#/definitions/erms3.CustomerInfo"
  18890. }
  18891. },
  18892. "ouruser": {
  18893. "description": "我方账号",
  18894. "$ref": "#/definitions/erms3.CustomerInfo"
  18895. },
  18896. "warehouseinfos": {
  18897. "description": "仓库信息列表",
  18898. "type": "array",
  18899. "items": {
  18900. "$ref": "#/definitions/models.Warehouseinfo"
  18901. }
  18902. },
  18903. "wrstandards": {
  18904. "description": "仓单标准列表",
  18905. "type": "array",
  18906. "items": {
  18907. "$ref": "#/definitions/models.WRStandardInfo"
  18908. }
  18909. }
  18910. }
  18911. },
  18912. "erms3.QuerySpotContractInfoRsp": {
  18913. "type": "object",
  18914. "properties": {
  18915. "accountid": {
  18916. "description": "表示交易员ID.",
  18917. "type": "integer"
  18918. },
  18919. "curdeliveryqty": {
  18920. "description": "表示未交收量.",
  18921. "type": "number"
  18922. },
  18923. "customername": {
  18924. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  18925. "type": "string"
  18926. },
  18927. "deliverygoodsid": {
  18928. "description": "表示品种ID.",
  18929. "type": "string"
  18930. },
  18931. "deliveryqty": {
  18932. "description": "表示交收量.",
  18933. "type": "number"
  18934. },
  18935. "matchaccountid": {
  18936. "description": "表示业务员ID.",
  18937. "type": "integer"
  18938. },
  18939. "matchcustomername": {
  18940. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  18941. "type": "string"
  18942. },
  18943. "priceqty": {
  18944. "description": "表示定价量.",
  18945. "type": "number"
  18946. },
  18947. "relatedbizid": {
  18948. "description": "表示业务ID.",
  18949. "type": "string"
  18950. },
  18951. "signdate": {
  18952. "description": "表示签订日期.",
  18953. "type": "string"
  18954. },
  18955. "spotcontractid": {
  18956. "description": "合同ID",
  18957. "type": "string"
  18958. },
  18959. "status": {
  18960. "description": "表示状态,0-履约中 1-已完成.",
  18961. "type": "integer"
  18962. },
  18963. "totalqty": {
  18964. "description": "表示合同量.",
  18965. "type": "number"
  18966. },
  18967. "unpricedqty": {
  18968. "description": "表示未定价量.",
  18969. "type": "number"
  18970. },
  18971. "wrstandardname": {
  18972. "description": "表示商品ID.",
  18973. "type": "string"
  18974. }
  18975. }
  18976. },
  18977. "erms3.QueryUserInfoAppliesRsp": {
  18978. "type": "object",
  18979. "required": [
  18980. "userid"
  18981. ],
  18982. "properties": {
  18983. "biznature": {
  18984. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18985. "type": "integer"
  18986. },
  18987. "contactname": {
  18988. "description": "联系人",
  18989. "type": "string"
  18990. },
  18991. "createtime": {
  18992. "description": "开户申请时间",
  18993. "type": "string"
  18994. },
  18995. "userid": {
  18996. "description": "用户ID(自增ID)",
  18997. "type": "integer"
  18998. },
  18999. "userinfotype": {
  19000. "description": "用户信息类型 - 1:个人 2:企业",
  19001. "type": "integer"
  19002. },
  19003. "username": {
  19004. "description": "用户姓名",
  19005. "type": "string"
  19006. },
  19007. "userstate": {
  19008. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  19009. "type": "integer"
  19010. }
  19011. }
  19012. },
  19013. "erms3.QueryUserInfosRsp": {
  19014. "type": "object",
  19015. "required": [
  19016. "userid"
  19017. ],
  19018. "properties": {
  19019. "biznature": {
  19020. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19021. "type": "integer"
  19022. },
  19023. "contactname": {
  19024. "description": "联系人",
  19025. "type": "string"
  19026. },
  19027. "customername": {
  19028. "description": "客户名称(企业名称)",
  19029. "type": "string"
  19030. },
  19031. "userid": {
  19032. "description": "用户ID",
  19033. "type": "integer"
  19034. },
  19035. "userinfotype": {
  19036. "description": "用户信息类型 - 1:个人 2:企业",
  19037. "type": "integer"
  19038. },
  19039. "userstatus": {
  19040. "description": "用户状态 - 1:正常 2:注销",
  19041. "type": "integer"
  19042. }
  19043. }
  19044. },
  19045. "erms3.SoptContractDetail": {
  19046. "type": "object",
  19047. "required": [
  19048. "deliverygoodsid",
  19049. "producttype",
  19050. "unitname",
  19051. "warehouseid",
  19052. "wrstandardid",
  19053. "wrstandardname"
  19054. ],
  19055. "properties": {
  19056. "deliverygoodsdesc": {
  19057. "description": "现货品种说明",
  19058. "type": "string"
  19059. },
  19060. "deliverygoodsid": {
  19061. "description": "现货品种ID",
  19062. "type": "integer"
  19063. },
  19064. "deliverygoodsname": {
  19065. "description": "现货品种名称",
  19066. "type": "string"
  19067. },
  19068. "pointdesc": {
  19069. "description": "点价描述",
  19070. "type": "string"
  19071. },
  19072. "producttype": {
  19073. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  19074. "type": "integer"
  19075. },
  19076. "producttypename": {
  19077. "description": "产品类型名称",
  19078. "type": "string"
  19079. },
  19080. "spotPointOrderVoList": {
  19081. "description": "点价列表",
  19082. "type": "array",
  19083. "items": {
  19084. "$ref": "#/definitions/erms3.SpotPointOrder"
  19085. }
  19086. },
  19087. "spotPriceOrderList": {
  19088. "description": "定价列表",
  19089. "type": "array",
  19090. "items": {
  19091. "$ref": "#/definitions/erms3.SpotPriceOrder"
  19092. }
  19093. },
  19094. "unitname": {
  19095. "description": "单位名称",
  19096. "type": "string"
  19097. },
  19098. "warehouseid": {
  19099. "description": "仓库ID",
  19100. "type": "integer"
  19101. },
  19102. "warehousename": {
  19103. "description": "仓库名称",
  19104. "type": "string"
  19105. },
  19106. "wrstandardid": {
  19107. "description": "交易标的ID",
  19108. "type": "integer"
  19109. },
  19110. "wrstandardname": {
  19111. "description": "交易标的名称",
  19112. "type": "string"
  19113. }
  19114. }
  19115. },
  19116. "erms3.SpotPointOrder": {
  19117. "type": "object",
  19118. "required": [
  19119. "basic",
  19120. "goodsid",
  19121. "qty"
  19122. ],
  19123. "properties": {
  19124. "basic": {
  19125. "description": "基差",
  19126. "type": "number"
  19127. },
  19128. "deliveryenddate": {
  19129. "description": "交收结束日期",
  19130. "type": "string"
  19131. },
  19132. "deliverystartdate": {
  19133. "description": "交收开始日期",
  19134. "type": "string"
  19135. },
  19136. "enddate": {
  19137. "description": "点价结束日期",
  19138. "type": "string"
  19139. },
  19140. "goodsid": {
  19141. "description": "商品ID",
  19142. "type": "integer"
  19143. },
  19144. "goodsname": {
  19145. "description": "商品名称",
  19146. "type": "string"
  19147. },
  19148. "qty": {
  19149. "description": "数量",
  19150. "type": "number"
  19151. },
  19152. "startdate": {
  19153. "description": "点价开始日期",
  19154. "type": "string"
  19155. }
  19156. }
  19157. },
  19158. "erms3.SpotPriceOrder": {
  19159. "type": "object",
  19160. "required": [
  19161. "amount",
  19162. "price",
  19163. "qty"
  19164. ],
  19165. "properties": {
  19166. "amount": {
  19167. "description": "金额",
  19168. "type": "number"
  19169. },
  19170. "deliveryenddate": {
  19171. "description": "交收结束日期",
  19172. "type": "string"
  19173. },
  19174. "deliverystartdate": {
  19175. "description": "交收开始日期",
  19176. "type": "string"
  19177. },
  19178. "price": {
  19179. "description": "价格",
  19180. "type": "number"
  19181. },
  19182. "qty": {
  19183. "description": "数量",
  19184. "type": "number"
  19185. }
  19186. }
  19187. },
  19188. "hsby.GetHsbyMyCountRsp": {
  19189. "type": "object",
  19190. "properties": {
  19191. "myCouponCount": {
  19192. "description": "我的优惠卷数量",
  19193. "type": "integer"
  19194. },
  19195. "myOrderDetailListingCount": {
  19196. "description": "我的订单求购中数量",
  19197. "type": "integer"
  19198. },
  19199. "myOrderDetailPreCount": {
  19200. "description": "我的订单抢购中数量",
  19201. "type": "integer"
  19202. },
  19203. "myPackageUnReceiveCount": {
  19204. "description": "我的包裹待收货数量",
  19205. "type": "integer"
  19206. },
  19207. "myPackageUnSendCount": {
  19208. "description": "我的包裹待发货数量",
  19209. "type": "integer"
  19210. },
  19211. "myPayOrderCount": {
  19212. "description": "我的订单待付款数量",
  19213. "type": "integer"
  19214. }
  19215. }
  19216. },
  19217. "hsby.QueryProvincesAndCitiesRsp": {
  19218. "type": "object",
  19219. "properties": {
  19220. "cities": {
  19221. "description": "市",
  19222. "type": "array",
  19223. "items": {
  19224. "$ref": "#/definitions/models.Division"
  19225. }
  19226. },
  19227. "province": {
  19228. "description": "省",
  19229. "$ref": "#/definitions/models.Division"
  19230. }
  19231. }
  19232. },
  19233. "models.Arearole": {
  19234. "type": "object",
  19235. "required": [
  19236. "roletype",
  19237. "userid"
  19238. ],
  19239. "properties": {
  19240. "createtime": {
  19241. "description": "创建时间",
  19242. "type": "string"
  19243. },
  19244. "creatorid": {
  19245. "description": "创建人ID",
  19246. "type": "integer"
  19247. },
  19248. "fromuserid": {
  19249. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  19250. "type": "integer"
  19251. },
  19252. "isreturnscore": {
  19253. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  19254. "type": "integer"
  19255. },
  19256. "modifierid": {
  19257. "description": "修改人ID",
  19258. "type": "integer"
  19259. },
  19260. "modifytime": {
  19261. "description": "修改时间",
  19262. "type": "string"
  19263. },
  19264. "orgtype": {
  19265. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  19266. "type": "integer"
  19267. },
  19268. "outuserid": {
  19269. "description": "外部账户[场外期权做市商]",
  19270. "type": "string"
  19271. },
  19272. "parentuserid": {
  19273. "description": "上级组织机构(组织机构)",
  19274. "type": "integer"
  19275. },
  19276. "roletype": {
  19277. "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:门店",
  19278. "type": "integer"
  19279. },
  19280. "rootuserid": {
  19281. "description": "顶级组织机构用户ID(组织机构)",
  19282. "type": "integer"
  19283. },
  19284. "shoppassword": {
  19285. "description": "商城店铺登陆密码(商城店铺角色使用)",
  19286. "type": "string"
  19287. },
  19288. "sublevelpath": {
  19289. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  19290. "type": "string"
  19291. },
  19292. "suborgtype": {
  19293. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  19294. "type": "integer"
  19295. },
  19296. "tradeaccountid": {
  19297. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  19298. "type": "integer"
  19299. },
  19300. "transurl": {
  19301. "description": "物流地址(物流机构)",
  19302. "type": "string"
  19303. },
  19304. "userid": {
  19305. "description": "机构用户ID其他做市关系,都设置为 1",
  19306. "type": "integer"
  19307. }
  19308. }
  19309. },
  19310. "models.Clientfixedadconfig": {
  19311. "type": "object",
  19312. "required": [
  19313. "adsort",
  19314. "adtype"
  19315. ],
  19316. "properties": {
  19317. "adsort": {
  19318. "description": "排序",
  19319. "type": "integer"
  19320. },
  19321. "adtype": {
  19322. "description": "广告位类型 - 1:新品抢购(HSBY)",
  19323. "type": "integer"
  19324. },
  19325. "areauserid": {
  19326. "description": "所属机构ID",
  19327. "type": "integer"
  19328. },
  19329. "createdate": {
  19330. "description": "创建时间",
  19331. "type": "string"
  19332. },
  19333. "creatorid": {
  19334. "description": "创建人",
  19335. "type": "integer"
  19336. },
  19337. "imagepath": {
  19338. "description": "图片",
  19339. "type": "string"
  19340. },
  19341. "isshow": {
  19342. "description": "是否展示 - 0:不展示 1:展示",
  19343. "type": "integer"
  19344. },
  19345. "modifierid": {
  19346. "description": "操作人",
  19347. "type": "integer"
  19348. },
  19349. "recsize": {
  19350. "description": "推荐尺寸",
  19351. "type": "string"
  19352. },
  19353. "title": {
  19354. "description": "标题",
  19355. "type": "string"
  19356. },
  19357. "updatedate": {
  19358. "description": "更新时间",
  19359. "type": "string"
  19360. },
  19361. "urlcontent": {
  19362. "description": "链接(地址或商品ID)",
  19363. "type": "string"
  19364. },
  19365. "urltype": {
  19366. "description": "链接类型 - 1:直接地址 2:商品ID",
  19367. "type": "integer"
  19368. }
  19369. }
  19370. },
  19371. "models.Division": {
  19372. "type": "object",
  19373. "required": [
  19374. "autoid",
  19375. "divisioncode"
  19376. ],
  19377. "properties": {
  19378. "autoid": {
  19379. "description": "自增ID",
  19380. "type": "integer"
  19381. },
  19382. "divisioncode": {
  19383. "description": "行政代码",
  19384. "type": "string"
  19385. },
  19386. "divisionlevel": {
  19387. "description": "行政级别",
  19388. "type": "string"
  19389. },
  19390. "divisionname": {
  19391. "description": "行政名称",
  19392. "type": "string"
  19393. },
  19394. "modifierid": {
  19395. "description": "修改人",
  19396. "type": "integer"
  19397. },
  19398. "modifytime": {
  19399. "description": "修改时间",
  19400. "type": "string"
  19401. },
  19402. "parentcode": {
  19403. "description": "上级行政代码",
  19404. "type": "string"
  19405. },
  19406. "pathname": {
  19407. "description": "路径名称",
  19408. "type": "string"
  19409. },
  19410. "postcode": {
  19411. "description": "邮政编码",
  19412. "type": "string"
  19413. },
  19414. "separablename": {
  19415. "description": "可拆分的全称",
  19416. "type": "string"
  19417. },
  19418. "shortcode": {
  19419. "description": "地区简码",
  19420. "type": "string"
  19421. }
  19422. }
  19423. },
  19424. "models.Enumdicitem": {
  19425. "type": "object",
  19426. "required": [
  19427. "autoid",
  19428. "enumdiccode",
  19429. "enumdicid",
  19430. "enumitemname"
  19431. ],
  19432. "properties": {
  19433. "autoid": {
  19434. "description": "自增ID",
  19435. "type": "integer"
  19436. },
  19437. "bankmappedvalue": {
  19438. "description": "银行服务对应值",
  19439. "type": "string"
  19440. },
  19441. "enumdiccode": {
  19442. "description": "所属枚举代码",
  19443. "type": "string"
  19444. },
  19445. "enumdicid": {
  19446. "description": "所属枚举ID",
  19447. "type": "integer"
  19448. },
  19449. "enumdicname": {
  19450. "description": "枚举项名称",
  19451. "type": "string"
  19452. },
  19453. "enumitemname": {
  19454. "description": "枚举项值",
  19455. "type": "integer"
  19456. },
  19457. "enumitemstatus": {
  19458. "description": "枚举项状态 - 1.启用 2.不启用",
  19459. "type": "integer"
  19460. },
  19461. "enumitemvalue": {
  19462. "description": "通用值 - [币种通用简写]",
  19463. "type": "string"
  19464. },
  19465. "param1": {
  19466. "description": "参数1[币种:币种小数位]",
  19467. "type": "string"
  19468. },
  19469. "param2": {
  19470. "description": "参数1[币种:币种显示单位]",
  19471. "type": "string"
  19472. },
  19473. "remark": {
  19474. "description": "备注",
  19475. "type": "string"
  19476. }
  19477. }
  19478. },
  19479. "models.Ermcp3AreaSpot": {
  19480. "type": "object",
  19481. "properties": {
  19482. "areauserid": {
  19483. "description": "所属机构",
  19484. "type": "integer"
  19485. },
  19486. "convertratio": {
  19487. "description": "套保系数",
  19488. "type": "number"
  19489. },
  19490. "decreaseqty": {
  19491. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  19492. "type": "number"
  19493. },
  19494. "enumdicname": {
  19495. "description": "单位名称",
  19496. "type": "string"
  19497. },
  19498. "increaseqty": {
  19499. "description": "增加数量=销售计划数量+采购已定价数量",
  19500. "type": "number"
  19501. },
  19502. "oritoalspotqty": {
  19503. "description": "昨日数量",
  19504. "type": "number"
  19505. },
  19506. "totalspotqty": {
  19507. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  19508. "type": "number"
  19509. },
  19510. "unitid": {
  19511. "description": "现货商品单位id",
  19512. "type": "integer"
  19513. },
  19514. "updatetime": {
  19515. "description": "更新时间",
  19516. "type": "string"
  19517. },
  19518. "wrstandardcode": {
  19519. "description": "现货商品代码",
  19520. "type": "string"
  19521. },
  19522. "wrstandardid": {
  19523. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19524. "type": "integer"
  19525. },
  19526. "wrstandardname": {
  19527. "description": "现货商品名称",
  19528. "type": "string"
  19529. }
  19530. }
  19531. },
  19532. "models.Ermcp3AreaSpotDetail": {
  19533. "type": "object",
  19534. "properties": {
  19535. "contracttype": {
  19536. "description": "合同类型 1-采购 -1-销售",
  19537. "type": "integer"
  19538. },
  19539. "createtime": {
  19540. "description": "创建时间",
  19541. "type": "string"
  19542. },
  19543. "enumdicname": {
  19544. "description": "现货商品单位名称",
  19545. "type": "string"
  19546. },
  19547. "logtype": {
  19548. "description": "记录类型 1-套保 2-现货合同",
  19549. "type": "integer"
  19550. },
  19551. "qty": {
  19552. "description": "数量",
  19553. "type": "number"
  19554. },
  19555. "recordname": {
  19556. "description": "类型名称",
  19557. "type": "string"
  19558. },
  19559. "relatedid": {
  19560. "description": "套保计划ID/现货合同ID",
  19561. "type": "string"
  19562. },
  19563. "relatedno": {
  19564. "description": "编号",
  19565. "type": "string"
  19566. },
  19567. "strtime": {
  19568. "description": "时间",
  19569. "type": "string"
  19570. },
  19571. "wrstandardcode": {
  19572. "description": "现货商品代码",
  19573. "type": "string"
  19574. },
  19575. "wrstandardid": {
  19576. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19577. "type": "integer"
  19578. },
  19579. "wrstandardname": {
  19580. "description": "现货商品名称",
  19581. "type": "string"
  19582. }
  19583. }
  19584. },
  19585. "models.Ermcp3AreaSpotPLReport": {
  19586. "type": "object",
  19587. "properties": {
  19588. "accountid": {
  19589. "description": "期货账户ID (作废, 默认为0)",
  19590. "type": "integer"
  19591. },
  19592. "accountname": {
  19593. "description": "机构名称",
  19594. "type": "string"
  19595. },
  19596. "actualpl": {
  19597. "description": "现货损益",
  19598. "type": "number"
  19599. },
  19600. "areauserid": {
  19601. "description": "所属机构\\交易用户ID",
  19602. "type": "integer"
  19603. },
  19604. "begindate": {
  19605. "description": "开始交易日",
  19606. "type": "string"
  19607. },
  19608. "biztype": {
  19609. "description": "业务类型 - 1:套保 2:套利",
  19610. "type": "integer"
  19611. },
  19612. "brandname": {
  19613. "description": "品牌名称",
  19614. "type": "string"
  19615. },
  19616. "curamount": {
  19617. "description": "期末额",
  19618. "type": "number"
  19619. },
  19620. "curaverageprice": {
  19621. "description": "期末均价",
  19622. "type": "number"
  19623. },
  19624. "curbuyamount": {
  19625. "description": "期末采购总额",
  19626. "type": "number"
  19627. },
  19628. "curbuyqty": {
  19629. "description": "期末采购总量",
  19630. "type": "number"
  19631. },
  19632. "curmarketvalue": {
  19633. "description": "参考市值(期末市值)",
  19634. "type": "number"
  19635. },
  19636. "curqty": {
  19637. "description": "期末量",
  19638. "type": "number"
  19639. },
  19640. "currencyid": {
  19641. "description": "结算币种ID【原值】",
  19642. "type": "integer"
  19643. },
  19644. "currencyname": {
  19645. "description": "币种名称",
  19646. "type": "string"
  19647. },
  19648. "cursellamount": {
  19649. "description": "期末销售总额",
  19650. "type": "number"
  19651. },
  19652. "cursellqty": {
  19653. "description": "期末销售总量",
  19654. "type": "number"
  19655. },
  19656. "curspotprice": {
  19657. "description": "参考市价(最新价)",
  19658. "type": "number"
  19659. },
  19660. "cycletime": {
  19661. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19662. "type": "string"
  19663. },
  19664. "cycletype": {
  19665. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19666. "type": "integer"
  19667. },
  19668. "deliverygoodscode": {
  19669. "description": "现货商品代码",
  19670. "type": "string"
  19671. },
  19672. "deliverygoodsid": {
  19673. "description": "现货品种ID",
  19674. "type": "integer"
  19675. },
  19676. "deliverygoodsname": {
  19677. "description": "现货商品名称",
  19678. "type": "string"
  19679. },
  19680. "enddate": {
  19681. "description": "结束交易日",
  19682. "type": "string"
  19683. },
  19684. "enumdicname": {
  19685. "description": "现货商品单位名称",
  19686. "type": "string"
  19687. },
  19688. "floatpl": {
  19689. "description": "浮动损益",
  19690. "type": "number"
  19691. },
  19692. "goodsunitid": {
  19693. "description": "现货商品单位id",
  19694. "type": "integer"
  19695. },
  19696. "oriamount": {
  19697. "description": "期初额",
  19698. "type": "number"
  19699. },
  19700. "oriaverageprice": {
  19701. "description": "期初均价",
  19702. "type": "number"
  19703. },
  19704. "oribuyamount": {
  19705. "description": "期初采购总额",
  19706. "type": "number"
  19707. },
  19708. "oribuyqty": {
  19709. "description": "期初采购总量",
  19710. "type": "number"
  19711. },
  19712. "oriqty": {
  19713. "description": "期初量",
  19714. "type": "number"
  19715. },
  19716. "orisellamount": {
  19717. "description": "期初销售总额",
  19718. "type": "number"
  19719. },
  19720. "orisellqty": {
  19721. "description": "期初销售总量",
  19722. "type": "number"
  19723. },
  19724. "reckondate": {
  19725. "description": "日照时期(yyyyMMdd)",
  19726. "type": "string"
  19727. },
  19728. "spotgoodsbrandid": {
  19729. "description": "现货品牌ID",
  19730. "type": "integer"
  19731. },
  19732. "todaybuyamount": {
  19733. "description": "今日采购额(今采购额)",
  19734. "type": "number"
  19735. },
  19736. "todaybuyaverageprice": {
  19737. "description": "今日采购均价",
  19738. "type": "number"
  19739. },
  19740. "todaybuyqty": {
  19741. "description": "今日采购量(今采购量)",
  19742. "type": "number"
  19743. },
  19744. "todayinqty": {
  19745. "description": "今日入库量(今入库量)",
  19746. "type": "number"
  19747. },
  19748. "todayoutqty": {
  19749. "description": "今日出库量(今出库量)",
  19750. "type": "number"
  19751. },
  19752. "todaysellamount": {
  19753. "description": "今日销售额(今销售额)",
  19754. "type": "number"
  19755. },
  19756. "todaysellaverageprice": {
  19757. "description": "今日销售均价",
  19758. "type": "number"
  19759. },
  19760. "todaysellqty": {
  19761. "description": "今日销售量(今销售量)",
  19762. "type": "number"
  19763. },
  19764. "unitid": {
  19765. "description": "品类单位id",
  19766. "type": "integer"
  19767. },
  19768. "unitidname": {
  19769. "description": "品类单位名称",
  19770. "type": "string"
  19771. },
  19772. "updatetime": {
  19773. "description": "更新时间",
  19774. "type": "string"
  19775. },
  19776. "wrfactortypeid": {
  19777. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19778. "type": "integer"
  19779. },
  19780. "wrstandardcode": {
  19781. "description": "品类代码",
  19782. "type": "string"
  19783. },
  19784. "wrstandardid": {
  19785. "description": "现货品类ID",
  19786. "type": "integer"
  19787. },
  19788. "wrstandardname": {
  19789. "description": "品类名称",
  19790. "type": "string"
  19791. }
  19792. }
  19793. },
  19794. "models.Ermcp3AreaStock": {
  19795. "type": "object",
  19796. "required": [
  19797. "userid"
  19798. ],
  19799. "properties": {
  19800. "brandname": {
  19801. "description": "品牌名称",
  19802. "type": "string"
  19803. },
  19804. "curstock": {
  19805. "description": "期末库存量(今日量)",
  19806. "type": "number"
  19807. },
  19808. "deliverygoodscode": {
  19809. "description": "现货品种代码",
  19810. "type": "string"
  19811. },
  19812. "deliverygoodsid": {
  19813. "description": "现货品种id",
  19814. "type": "integer"
  19815. },
  19816. "deliverygoodsname": {
  19817. "description": "现货品种名称",
  19818. "type": "string"
  19819. },
  19820. "enumdicname": {
  19821. "description": "单位名称",
  19822. "type": "string"
  19823. },
  19824. "goodsunitid": {
  19825. "description": "现货商品单位id",
  19826. "type": "integer"
  19827. },
  19828. "oristock": {
  19829. "description": "期初库存量(昨日量)",
  19830. "type": "number"
  19831. },
  19832. "spotgoodsbrandid": {
  19833. "description": "现货品牌ID",
  19834. "type": "integer"
  19835. },
  19836. "todaybuyinqty": {
  19837. "description": "今日采购入库量",
  19838. "type": "number"
  19839. },
  19840. "todayproduceinqty": {
  19841. "description": "今日生产入库量",
  19842. "type": "number"
  19843. },
  19844. "todayproduceoutqty": {
  19845. "description": "今日生产出库量",
  19846. "type": "number"
  19847. },
  19848. "todayselloutqty": {
  19849. "description": "今日销售出库量",
  19850. "type": "number"
  19851. },
  19852. "unitid": {
  19853. "description": "单位id",
  19854. "type": "integer"
  19855. },
  19856. "updatetime": {
  19857. "description": "更新时间",
  19858. "type": "string"
  19859. },
  19860. "userid": {
  19861. "description": "机构ID",
  19862. "type": "integer"
  19863. },
  19864. "username": {
  19865. "description": "机构名称",
  19866. "type": "string"
  19867. },
  19868. "warehousecode": {
  19869. "description": "仓库代码",
  19870. "type": "string"
  19871. },
  19872. "warehouseinfoid": {
  19873. "description": "仓库ID",
  19874. "type": "string"
  19875. },
  19876. "warehousename": {
  19877. "description": "仓库名称",
  19878. "type": "string"
  19879. },
  19880. "warehousetype": {
  19881. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19882. "type": "integer"
  19883. },
  19884. "wrstandardcode": {
  19885. "description": "品类代码",
  19886. "type": "string"
  19887. },
  19888. "wrstandardid": {
  19889. "description": "品类ID",
  19890. "type": "string"
  19891. },
  19892. "wrstandardname": {
  19893. "description": "品类名称",
  19894. "type": "string"
  19895. }
  19896. }
  19897. },
  19898. "models.Ermcp3AreaStockApply": {
  19899. "type": "object",
  19900. "properties": {
  19901. "applyid": {
  19902. "description": "申请人",
  19903. "type": "integer"
  19904. },
  19905. "applyname": {
  19906. "description": "申请人名称",
  19907. "type": "string"
  19908. },
  19909. "applyremark": {
  19910. "description": "申请备注",
  19911. "type": "string"
  19912. },
  19913. "applysrc": {
  19914. "description": "申请来源 - 1:管理端 2:终端",
  19915. "type": "integer"
  19916. },
  19917. "applystatus": {
  19918. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19919. "type": "integer"
  19920. },
  19921. "applytime": {
  19922. "description": "申请时间",
  19923. "type": "string"
  19924. },
  19925. "auditid": {
  19926. "description": "审核人",
  19927. "type": "integer"
  19928. },
  19929. "auditname": {
  19930. "description": "审核人名称",
  19931. "type": "string"
  19932. },
  19933. "auditremark": {
  19934. "description": "审核备注",
  19935. "type": "string"
  19936. },
  19937. "auditsrc": {
  19938. "description": "审核来源 - 1:管理端 2:终端",
  19939. "type": "integer"
  19940. },
  19941. "audittime": {
  19942. "description": "审核时间",
  19943. "type": "string"
  19944. },
  19945. "audittradedate": {
  19946. "description": "审核交易日(yyyyMMdd)",
  19947. "type": "string"
  19948. },
  19949. "brandname": {
  19950. "description": "品牌名称",
  19951. "type": "string"
  19952. },
  19953. "buynickname": {
  19954. "description": "采购方昵称",
  19955. "type": "string"
  19956. },
  19957. "buyuserid": {
  19958. "description": "采购方userid",
  19959. "type": "integer"
  19960. },
  19961. "buyusername": {
  19962. "description": "采购方名称",
  19963. "type": "string"
  19964. },
  19965. "contractno": {
  19966. "description": "合同编号",
  19967. "type": "string"
  19968. },
  19969. "contractqty": {
  19970. "description": "合同量",
  19971. "type": "number"
  19972. },
  19973. "contracttype": {
  19974. "description": "现货合同类型 - 1:采购 -1:销售",
  19975. "type": "integer"
  19976. },
  19977. "deliverygoodscode": {
  19978. "description": "现货品种代码",
  19979. "type": "string"
  19980. },
  19981. "deliverygoodsid": {
  19982. "description": "现货品种id",
  19983. "type": "integer"
  19984. },
  19985. "deliverygoodsname": {
  19986. "description": "现货品种名称",
  19987. "type": "string"
  19988. },
  19989. "detailjson": {
  19990. "description": "明细数据",
  19991. "type": "string"
  19992. },
  19993. "enumdicname": {
  19994. "description": "现货商品单位名称",
  19995. "type": "string"
  19996. },
  19997. "inoutapplyid": {
  19998. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  19999. "type": "string"
  20000. },
  20001. "inouttype": {
  20002. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  20003. "type": "integer"
  20004. },
  20005. "pricetype": {
  20006. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20007. "type": "integer"
  20008. },
  20009. "qty": {
  20010. "description": "数量",
  20011. "type": "number"
  20012. },
  20013. "sellnickname": {
  20014. "description": "销售方昵称",
  20015. "type": "string"
  20016. },
  20017. "selluserid": {
  20018. "description": "销售方userid",
  20019. "type": "integer"
  20020. },
  20021. "sellusername": {
  20022. "description": "销售方名称",
  20023. "type": "string"
  20024. },
  20025. "spotcontractid": {
  20026. "description": "关联现货合同ID",
  20027. "type": "string"
  20028. },
  20029. "spotgoodsbrandid": {
  20030. "description": "现货品牌ID",
  20031. "type": "integer"
  20032. },
  20033. "unitid": {
  20034. "description": "单位id",
  20035. "type": "integer"
  20036. },
  20037. "userid": {
  20038. "description": "机构ID",
  20039. "type": "integer"
  20040. },
  20041. "warehousecode": {
  20042. "description": "仓库代码",
  20043. "type": "string"
  20044. },
  20045. "warehouseinfoid": {
  20046. "description": "现货仓库ID",
  20047. "type": "string"
  20048. },
  20049. "warehousename": {
  20050. "description": "仓库名称",
  20051. "type": "string"
  20052. },
  20053. "warehousetype": {
  20054. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20055. "type": "integer"
  20056. },
  20057. "wrstandardcode": {
  20058. "description": "品类代码",
  20059. "type": "string"
  20060. },
  20061. "wrstandardid": {
  20062. "description": "品类ID",
  20063. "type": "integer"
  20064. },
  20065. "wrstandardname": {
  20066. "description": "品类名称",
  20067. "type": "string"
  20068. }
  20069. }
  20070. },
  20071. "models.Ermcp3AreaStockApplySum": {
  20072. "type": "object",
  20073. "properties": {
  20074. "brandname": {
  20075. "description": "品牌名称",
  20076. "type": "string"
  20077. },
  20078. "inouttype": {
  20079. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  20080. "type": "integer"
  20081. },
  20082. "spotcontractid": {
  20083. "description": "关联现货合同ID",
  20084. "type": "string"
  20085. },
  20086. "spotgoodsbrandid": {
  20087. "description": "品牌id",
  20088. "type": "integer"
  20089. },
  20090. "totalqty": {
  20091. "description": "总数量",
  20092. "type": "number"
  20093. },
  20094. "wrstandardid": {
  20095. "description": "品类id",
  20096. "type": "integer"
  20097. },
  20098. "wrstandardname": {
  20099. "description": "品类名称",
  20100. "type": "string"
  20101. }
  20102. }
  20103. },
  20104. "models.Ermcp3AreaStockReportEx": {
  20105. "type": "object",
  20106. "properties": {
  20107. "begindate": {
  20108. "description": "开始交易日",
  20109. "type": "string"
  20110. },
  20111. "brandname": {
  20112. "description": "品牌名称",
  20113. "type": "string"
  20114. },
  20115. "curstock": {
  20116. "description": "期末库存量",
  20117. "type": "number"
  20118. },
  20119. "cycletime": {
  20120. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20121. "type": "string"
  20122. },
  20123. "cycletype": {
  20124. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20125. "type": "integer"
  20126. },
  20127. "deliverygoodscode": {
  20128. "description": "现货品种代码",
  20129. "type": "string"
  20130. },
  20131. "deliverygoodsid": {
  20132. "description": "现货品种id",
  20133. "type": "integer"
  20134. },
  20135. "deliverygoodsname": {
  20136. "description": "现货品种名称",
  20137. "type": "string"
  20138. },
  20139. "diffqty": {
  20140. "description": "库存变化量 = 期末 - 期初",
  20141. "type": "number"
  20142. },
  20143. "enddate": {
  20144. "description": "结束交易日",
  20145. "type": "string"
  20146. },
  20147. "enumdicname": {
  20148. "description": "单位名称",
  20149. "type": "string"
  20150. },
  20151. "goodsunitid": {
  20152. "description": "现货单位id",
  20153. "type": "integer"
  20154. },
  20155. "oristock": {
  20156. "description": "期初库存量",
  20157. "type": "number"
  20158. },
  20159. "reckondate": {
  20160. "description": "日照时期(yyyyMMdd)",
  20161. "type": "string"
  20162. },
  20163. "spotgoodsbrandid": {
  20164. "description": "现货品牌ID",
  20165. "type": "integer"
  20166. },
  20167. "todaybuyinqty": {
  20168. "description": "今采购入库量",
  20169. "type": "number"
  20170. },
  20171. "todayproduceinqty": {
  20172. "description": "今内部入库量",
  20173. "type": "number"
  20174. },
  20175. "todayproduceoutqty": {
  20176. "description": "今内部出库量",
  20177. "type": "number"
  20178. },
  20179. "todayselloutqty": {
  20180. "description": "今销售出库量",
  20181. "type": "number"
  20182. },
  20183. "unbuyinqty": {
  20184. "description": "采购未入库量(数据库未找到相关字段?)",
  20185. "type": "number"
  20186. },
  20187. "unitid": {
  20188. "description": "品类单位id",
  20189. "type": "integer"
  20190. },
  20191. "unselloutqty": {
  20192. "description": "销售未出库量(数据库未找到相关字段?)",
  20193. "type": "number"
  20194. },
  20195. "updatetime": {
  20196. "description": "更新时间",
  20197. "type": "string"
  20198. },
  20199. "userid": {
  20200. "description": "机构ID",
  20201. "type": "integer"
  20202. },
  20203. "username": {
  20204. "description": "机构名称",
  20205. "type": "string"
  20206. },
  20207. "warehousecode": {
  20208. "description": "仓库代码",
  20209. "type": "string"
  20210. },
  20211. "warehouseinfoid": {
  20212. "description": "仓库ID",
  20213. "type": "string"
  20214. },
  20215. "warehousename": {
  20216. "description": "仓库名称",
  20217. "type": "string"
  20218. },
  20219. "warehousetype": {
  20220. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20221. "type": "integer"
  20222. },
  20223. "wrstandardcode": {
  20224. "description": "品类代码",
  20225. "type": "string"
  20226. },
  20227. "wrstandardid": {
  20228. "description": "品类ID",
  20229. "type": "integer"
  20230. },
  20231. "wrstandardname": {
  20232. "description": "品类名称",
  20233. "type": "string"
  20234. }
  20235. }
  20236. },
  20237. "models.Ermcp3ArealSumPL": {
  20238. "type": "object",
  20239. "properties": {
  20240. "accountname": {
  20241. "description": "机构名称",
  20242. "type": "string"
  20243. },
  20244. "areauserid": {
  20245. "description": "所属机构\\交易用户ID",
  20246. "type": "integer"
  20247. },
  20248. "begindate": {
  20249. "description": "开始交易日",
  20250. "type": "string"
  20251. },
  20252. "currencyid": {
  20253. "description": "结算币种ID",
  20254. "type": "integer"
  20255. },
  20256. "currencyname": {
  20257. "description": "币种名称",
  20258. "type": "string"
  20259. },
  20260. "cycletime": {
  20261. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20262. "type": "string"
  20263. },
  20264. "cycletype": {
  20265. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20266. "type": "integer"
  20267. },
  20268. "enddate": {
  20269. "description": "结束交易日",
  20270. "type": "string"
  20271. },
  20272. "enumdicname": {
  20273. "description": "单位名称(套保品种)",
  20274. "type": "string"
  20275. },
  20276. "futureactualpl": {
  20277. "description": "期货损益",
  20278. "type": "number"
  20279. },
  20280. "futurefloatpl": {
  20281. "description": "期货浮动损益",
  20282. "type": "number"
  20283. },
  20284. "futurespotratio": {
  20285. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  20286. "type": "number"
  20287. },
  20288. "goodsunitid": {
  20289. "description": "套保品种单位id",
  20290. "type": "integer"
  20291. },
  20292. "hedgeexposurepl": {
  20293. "description": "套保敞口损益",
  20294. "type": "number"
  20295. },
  20296. "middlegoodscode": {
  20297. "description": "套保品种代码",
  20298. "type": "string"
  20299. },
  20300. "middlegoodsid": {
  20301. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  20302. "type": "integer"
  20303. },
  20304. "middlegoodsname": {
  20305. "description": "套保品种名称",
  20306. "type": "string"
  20307. },
  20308. "reckondate": {
  20309. "description": "日照时期(yyyyMMdd)",
  20310. "type": "string"
  20311. },
  20312. "spotactualpl": {
  20313. "description": "现货损益",
  20314. "type": "number"
  20315. },
  20316. "spotfloatpl": {
  20317. "description": "现货浮动损益",
  20318. "type": "number"
  20319. },
  20320. "sumactualpl": {
  20321. "description": "实际损益 = (ActualPL + FutureActualPL)",
  20322. "type": "number"
  20323. },
  20324. "sumpl": {
  20325. "description": "总敞口损益 | 汇总损益",
  20326. "type": "number"
  20327. },
  20328. "totalfutureqty": {
  20329. "description": "期货头寸总量",
  20330. "type": "number"
  20331. },
  20332. "totalneedhedgeqty": {
  20333. "description": "应套保总量",
  20334. "type": "number"
  20335. },
  20336. "totalspotqty": {
  20337. "description": "现货头寸总量",
  20338. "type": "number"
  20339. },
  20340. "updatetime": {
  20341. "description": "更新时间",
  20342. "type": "string"
  20343. }
  20344. }
  20345. },
  20346. "models.Ermcp3Brand": {
  20347. "type": "object",
  20348. "properties": {
  20349. "areauserid": {
  20350. "description": "用户id",
  20351. "type": "integer"
  20352. },
  20353. "brandid": {
  20354. "description": "品牌id",
  20355. "type": "integer"
  20356. },
  20357. "brandname": {
  20358. "description": "品牌名称",
  20359. "type": "string"
  20360. },
  20361. "deliverygoodsid": {
  20362. "description": "品种ID",
  20363. "type": "integer"
  20364. },
  20365. "isvalid": {
  20366. "description": "是否有效",
  20367. "type": "integer"
  20368. }
  20369. }
  20370. },
  20371. "models.Ermcp3Contract": {
  20372. "type": "object",
  20373. "properties": {
  20374. "accountid": {
  20375. "description": "期货账户id",
  20376. "type": "string"
  20377. },
  20378. "amount": {
  20379. "description": "金额 [1:一口价、3:暂定价]",
  20380. "type": "number"
  20381. },
  20382. "attachment": {
  20383. "description": "附件",
  20384. "type": "string"
  20385. },
  20386. "auditremark": {
  20387. "description": "审核意见",
  20388. "type": "string"
  20389. },
  20390. "audittime": {
  20391. "description": "审核时间",
  20392. "type": "string"
  20393. },
  20394. "biztype": {
  20395. "description": "业务类型 1-套保 2-套利",
  20396. "type": "integer"
  20397. },
  20398. "brandname": {
  20399. "description": "品牌名称",
  20400. "type": "string"
  20401. },
  20402. "buynickname": {
  20403. "description": "销售方昵称",
  20404. "type": "string"
  20405. },
  20406. "buyuserid": {
  20407. "description": "采购方ID",
  20408. "type": "integer"
  20409. },
  20410. "buyusername": {
  20411. "description": "采购方名称",
  20412. "type": "string"
  20413. },
  20414. "contracctstatus": {
  20415. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20416. "type": "integer"
  20417. },
  20418. "contractmargin": {
  20419. "description": "合同保证金",
  20420. "type": "number"
  20421. },
  20422. "contractno": {
  20423. "description": "现货合同编号",
  20424. "type": "string"
  20425. },
  20426. "contracttype": {
  20427. "description": "现货合同类型 - 1:采购 -1:销售",
  20428. "type": "integer"
  20429. },
  20430. "convertfactor": {
  20431. "description": "标仓系数(品类)",
  20432. "type": "number"
  20433. },
  20434. "createtime": {
  20435. "description": "创建时间",
  20436. "type": "string"
  20437. },
  20438. "currencyid": {
  20439. "description": "币种id",
  20440. "type": "integer"
  20441. },
  20442. "currencyname": {
  20443. "description": "币种名称",
  20444. "type": "string"
  20445. },
  20446. "deliveryenddate": {
  20447. "description": "交收期(结束)",
  20448. "type": "string"
  20449. },
  20450. "deliverygoodscode": {
  20451. "description": "现货品种代码",
  20452. "type": "string"
  20453. },
  20454. "deliverygoodsid": {
  20455. "description": "现货品种ID",
  20456. "type": "integer"
  20457. },
  20458. "deliverygoodsname": {
  20459. "description": "现货品种名称",
  20460. "type": "string"
  20461. },
  20462. "deliverystartdate": {
  20463. "description": "交收期(开始)",
  20464. "type": "string"
  20465. },
  20466. "enddate": {
  20467. "description": "点价结束日期 [2:点价 3:暂定价]",
  20468. "type": "string"
  20469. },
  20470. "enumdicname": {
  20471. "description": "单位名称",
  20472. "type": "string"
  20473. },
  20474. "goodscode": {
  20475. "description": "点价合约代码",
  20476. "type": "string"
  20477. },
  20478. "goodsid": {
  20479. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  20480. "type": "integer"
  20481. },
  20482. "goodsname": {
  20483. "description": "点价商品名称",
  20484. "type": "string"
  20485. },
  20486. "margin": {
  20487. "description": "当前保证金",
  20488. "type": "number"
  20489. },
  20490. "meruserid": {
  20491. "description": "跟单员id",
  20492. "type": "integer"
  20493. },
  20494. "meruserlogincode": {
  20495. "description": "跟单员登录代码",
  20496. "type": "string"
  20497. },
  20498. "merusername": {
  20499. "description": "跟单员名称",
  20500. "type": "string"
  20501. },
  20502. "pointdesc": {
  20503. "description": "点价备注",
  20504. "type": "string"
  20505. },
  20506. "price": {
  20507. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  20508. "type": "number"
  20509. },
  20510. "pricemove": {
  20511. "description": "升贴水 [2:点价 3:暂定价]",
  20512. "type": "number"
  20513. },
  20514. "pricetype": {
  20515. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20516. "type": "integer"
  20517. },
  20518. "producttype": {
  20519. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20520. "type": "integer"
  20521. },
  20522. "qty": {
  20523. "description": "数量",
  20524. "type": "number"
  20525. },
  20526. "remark": {
  20527. "description": "备注",
  20528. "type": "string"
  20529. },
  20530. "saleuserid": {
  20531. "description": "业务员id",
  20532. "type": "integer"
  20533. },
  20534. "saleuserlogincode": {
  20535. "description": "业务员登录代码",
  20536. "type": "string"
  20537. },
  20538. "saleusername": {
  20539. "description": "业务员名称",
  20540. "type": "string"
  20541. },
  20542. "sellnickname": {
  20543. "description": "采购方昵称",
  20544. "type": "string"
  20545. },
  20546. "selluserid": {
  20547. "description": "销售方ID",
  20548. "type": "integer"
  20549. },
  20550. "sellusername": {
  20551. "description": "销售方名称",
  20552. "type": "string"
  20553. },
  20554. "spotcontractid": {
  20555. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  20556. "type": "string"
  20557. },
  20558. "spotgoodsbrandid": {
  20559. "description": "现货品牌ID(DGFactoryItem表的ID)",
  20560. "type": "integer"
  20561. },
  20562. "spotgoodsdesc": {
  20563. "description": "商品型号",
  20564. "type": "string"
  20565. },
  20566. "startdate": {
  20567. "description": "点价开始日期 [2:点价 3:暂定价]",
  20568. "type": "string"
  20569. },
  20570. "subjectid": {
  20571. "description": "交易主体ID",
  20572. "type": "integer"
  20573. },
  20574. "subjectname": {
  20575. "description": "交易主体名称",
  20576. "type": "string"
  20577. },
  20578. "tradeuserid": {
  20579. "description": "交易员id",
  20580. "type": "integer"
  20581. },
  20582. "tradeuserlogincode": {
  20583. "description": "交易员登录代码",
  20584. "type": "string"
  20585. },
  20586. "tradeusername": {
  20587. "description": "交易员名称",
  20588. "type": "string"
  20589. },
  20590. "unitid": {
  20591. "description": "单位id(取品类上的单位id)",
  20592. "type": "integer"
  20593. },
  20594. "updatetime": {
  20595. "description": "更新时间",
  20596. "type": "string"
  20597. },
  20598. "userid": {
  20599. "description": "所属机构ID",
  20600. "type": "integer"
  20601. },
  20602. "vatrate": {
  20603. "description": "增值税率",
  20604. "type": "number"
  20605. },
  20606. "wrstandardcode": {
  20607. "description": "品类代码",
  20608. "type": "string"
  20609. },
  20610. "wrstandardid": {
  20611. "description": "品类ID",
  20612. "type": "integer"
  20613. },
  20614. "wrstandardname": {
  20615. "description": "品类名称",
  20616. "type": "string"
  20617. }
  20618. }
  20619. },
  20620. "models.Ermcp3ExposureContractDetail": {
  20621. "type": "object",
  20622. "properties": {
  20623. "biztype": {
  20624. "description": "业务类型 1-套保 2-套利",
  20625. "type": "integer"
  20626. },
  20627. "brandname": {
  20628. "description": "品牌名称",
  20629. "type": "string"
  20630. },
  20631. "buyuserid": {
  20632. "description": "采购方id",
  20633. "type": "integer"
  20634. },
  20635. "buyusername": {
  20636. "description": "采购方名称",
  20637. "type": "string"
  20638. },
  20639. "contractno": {
  20640. "description": "合同编号",
  20641. "type": "string"
  20642. },
  20643. "contracttype": {
  20644. "description": "现货合同类型 - 1:采购 -1:销售",
  20645. "type": "integer"
  20646. },
  20647. "convertfactor": {
  20648. "description": "标仓系数",
  20649. "type": "number"
  20650. },
  20651. "convertratio": {
  20652. "description": "折算系数(套保品种)",
  20653. "type": "number"
  20654. },
  20655. "curqty": {
  20656. "description": "今定价量",
  20657. "type": "number"
  20658. },
  20659. "deliverygoodscode": {
  20660. "description": "现货品种代码",
  20661. "type": "string"
  20662. },
  20663. "deliverygoodsid": {
  20664. "description": "现货品种id",
  20665. "type": "integer"
  20666. },
  20667. "deliverygoodsname": {
  20668. "description": "现货品种名称",
  20669. "type": "string"
  20670. },
  20671. "diffhedgeqty": {
  20672. "description": "套保变动量",
  20673. "type": "number"
  20674. },
  20675. "diffneedhedgeqty": {
  20676. "description": "应套保变动量",
  20677. "type": "number"
  20678. },
  20679. "diffqty": {
  20680. "description": "套保品种今变动量",
  20681. "type": "number"
  20682. },
  20683. "enumdicname": {
  20684. "description": "单位名称",
  20685. "type": "string"
  20686. },
  20687. "mgunitname": {
  20688. "description": "套保品种单位名称",
  20689. "type": "string"
  20690. },
  20691. "middlegoodscode": {
  20692. "description": "套保品种代码",
  20693. "type": "string"
  20694. },
  20695. "middlegoodsid": {
  20696. "description": "套保品种id",
  20697. "type": "integer"
  20698. },
  20699. "middlegoodsname": {
  20700. "description": "套保品种名称",
  20701. "type": "string"
  20702. },
  20703. "needarbitrageratio": {
  20704. "description": "应套利比例",
  20705. "type": "number"
  20706. },
  20707. "needhedgeratio": {
  20708. "description": "应套保比例",
  20709. "type": "number"
  20710. },
  20711. "pricedqty": {
  20712. "description": "已定价量",
  20713. "type": "number"
  20714. },
  20715. "qty": {
  20716. "description": "合同量",
  20717. "type": "number"
  20718. },
  20719. "selluserid": {
  20720. "description": "销售方id",
  20721. "type": "integer"
  20722. },
  20723. "sellusername": {
  20724. "description": "销售方名称",
  20725. "type": "string"
  20726. },
  20727. "spotcontractid": {
  20728. "description": "合同id",
  20729. "type": "string"
  20730. },
  20731. "todaypricedqty": {
  20732. "description": "今定价量",
  20733. "type": "number"
  20734. },
  20735. "tradedate": {
  20736. "description": "交易日",
  20737. "type": "string"
  20738. },
  20739. "unitid": {
  20740. "description": "品类单位id",
  20741. "type": "integer"
  20742. },
  20743. "userid": {
  20744. "description": "机构id",
  20745. "type": "integer"
  20746. },
  20747. "username": {
  20748. "description": "交易用户",
  20749. "type": "string"
  20750. },
  20751. "wrstandardcode": {
  20752. "description": "现货商品代码",
  20753. "type": "string"
  20754. },
  20755. "wrstandardid": {
  20756. "description": "现货商品id",
  20757. "type": "integer"
  20758. },
  20759. "wrstandardname": {
  20760. "description": "现货商品名称",
  20761. "type": "string"
  20762. }
  20763. }
  20764. },
  20765. "models.Ermcp3ExposureDetail": {
  20766. "type": "object",
  20767. "properties": {
  20768. "areauserid": {
  20769. "description": "机构ID",
  20770. "type": "integer"
  20771. },
  20772. "changeQty": {
  20773. "description": "套保变动量",
  20774. "type": "number"
  20775. },
  20776. "contracttype": {
  20777. "description": "现货合同类型 - 1:采购 -1:销售",
  20778. "type": "integer"
  20779. },
  20780. "convertfactor": {
  20781. "description": "标仓系数",
  20782. "type": "number"
  20783. },
  20784. "convertratio": {
  20785. "description": "折算系数",
  20786. "type": "number"
  20787. },
  20788. "createtime": {
  20789. "description": "时间",
  20790. "type": "string"
  20791. },
  20792. "enumdicname": {
  20793. "description": "现货商品单位名称",
  20794. "type": "string"
  20795. },
  20796. "logtype": {
  20797. "description": "类型 - 1:套保计划 2:现货合同",
  20798. "type": "integer"
  20799. },
  20800. "mgunitid": {
  20801. "description": "套保品种单位id",
  20802. "type": "integer"
  20803. },
  20804. "mgunitidname": {
  20805. "description": "套保品种单位名称",
  20806. "type": "string"
  20807. },
  20808. "middlegoodsId": {
  20809. "description": "套保商品id",
  20810. "type": "integer"
  20811. },
  20812. "middlegoodscode": {
  20813. "description": "套保商品代码",
  20814. "type": "string"
  20815. },
  20816. "middlegoodsname": {
  20817. "description": "套保商品名称",
  20818. "type": "string"
  20819. },
  20820. "qty": {
  20821. "description": "数量",
  20822. "type": "number"
  20823. },
  20824. "relateNo": {
  20825. "description": "现货合同/套保计划编号",
  20826. "type": "string"
  20827. },
  20828. "unitid": {
  20829. "description": "现货商品单位id",
  20830. "type": "integer"
  20831. },
  20832. "wrstandardcode": {
  20833. "description": "现货商品代码",
  20834. "type": "string"
  20835. },
  20836. "wrstandardid": {
  20837. "description": "现货商品ID(SEQ_WRSTANDARD)",
  20838. "type": "integer"
  20839. },
  20840. "wrstandardname": {
  20841. "description": "现货商品名称",
  20842. "type": "string"
  20843. }
  20844. }
  20845. },
  20846. "models.Ermcp3ExposureFutuDetail": {
  20847. "type": "object",
  20848. "properties": {
  20849. "accountid": {
  20850. "description": "交易账户id",
  20851. "type": "integer"
  20852. },
  20853. "accountname": {
  20854. "description": "交易账户",
  20855. "type": "string"
  20856. },
  20857. "begindate": {
  20858. "description": "开始交易日",
  20859. "type": "string"
  20860. },
  20861. "buyorsell": {
  20862. "description": "方向 0-买 1-卖",
  20863. "type": "integer"
  20864. },
  20865. "diffmgqty": {
  20866. "description": "套保品种今变化量",
  20867. "type": "number"
  20868. },
  20869. "diffneedqty": {
  20870. "description": "应套保总量变化量",
  20871. "type": "number"
  20872. },
  20873. "difftradeqty": {
  20874. "description": "交易品种今变化量",
  20875. "type": "number"
  20876. },
  20877. "enddate": {
  20878. "description": "结束交易日",
  20879. "type": "string"
  20880. },
  20881. "enumdicname": {
  20882. "description": "单位名称",
  20883. "type": "string"
  20884. },
  20885. "goodscode": {
  20886. "description": "商品代码",
  20887. "type": "string"
  20888. },
  20889. "goodsid": {
  20890. "description": "商品id",
  20891. "type": "integer"
  20892. },
  20893. "goodsname": {
  20894. "description": "商品名称",
  20895. "type": "string"
  20896. },
  20897. "holdqty": {
  20898. "description": "期末持仓量",
  20899. "type": "number"
  20900. },
  20901. "middlegoodscode": {
  20902. "description": "套保商品代码",
  20903. "type": "string"
  20904. },
  20905. "middlegoodsid": {
  20906. "description": "套保商品id",
  20907. "type": "integer"
  20908. },
  20909. "middlegoodsname": {
  20910. "description": "套保商品名称",
  20911. "type": "string"
  20912. },
  20913. "oriholdqty": {
  20914. "description": "期初持仓量",
  20915. "type": "number"
  20916. },
  20917. "todaycloseqty": {
  20918. "description": "今平仓量",
  20919. "type": "number"
  20920. },
  20921. "todayopenqty": {
  20922. "description": "今开仓量",
  20923. "type": "number"
  20924. },
  20925. "tradedate": {
  20926. "description": "交易日",
  20927. "type": "string"
  20928. },
  20929. "username": {
  20930. "description": "用户名称(交易用户)",
  20931. "type": "string"
  20932. }
  20933. }
  20934. },
  20935. "models.Ermcp3ExposureHedgeplanDetail": {
  20936. "type": "object",
  20937. "properties": {
  20938. "biztype": {
  20939. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  20940. "type": "integer"
  20941. },
  20942. "changqty": {
  20943. "description": "应套保总量变化量",
  20944. "type": "number"
  20945. },
  20946. "contracttype": {
  20947. "description": "计划类型 - 1:采购 -1:销售",
  20948. "type": "integer"
  20949. },
  20950. "convertratio": {
  20951. "description": "折算系数(套保品种)",
  20952. "type": "number"
  20953. },
  20954. "deliverygoodscode": {
  20955. "description": "现货商品代码",
  20956. "type": "string"
  20957. },
  20958. "deliverygoodsid": {
  20959. "description": "现货商品id",
  20960. "type": "integer"
  20961. },
  20962. "deliverygoodsname": {
  20963. "description": "现货商吕名称",
  20964. "type": "string"
  20965. },
  20966. "dgunitid": {
  20967. "description": "现货商品单位id",
  20968. "type": "integer"
  20969. },
  20970. "dgunitidname": {
  20971. "description": "单位名称(现货商品)",
  20972. "type": "string"
  20973. },
  20974. "diffqty": {
  20975. "description": "套保品种今变动量",
  20976. "type": "number"
  20977. },
  20978. "enumdicname": {
  20979. "description": "单位名称(品类)",
  20980. "type": "string"
  20981. },
  20982. "hedgeplanid": {
  20983. "description": "套保计划id",
  20984. "type": "string"
  20985. },
  20986. "hedgeplanno": {
  20987. "description": "套保计划名称",
  20988. "type": "string"
  20989. },
  20990. "hedgeplanstatus": {
  20991. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20992. "type": "integer"
  20993. },
  20994. "mgunitidname": {
  20995. "description": "单位名称(套保商品)",
  20996. "type": "string"
  20997. },
  20998. "middlegoodscode": {
  20999. "description": "套保品种代码",
  21000. "type": "string"
  21001. },
  21002. "middlegoodsid": {
  21003. "description": "套保品种id",
  21004. "type": "integer"
  21005. },
  21006. "middlegoodsname": {
  21007. "description": "套保品种名称",
  21008. "type": "string"
  21009. },
  21010. "needarbitrageratio": {
  21011. "description": "应套利比例",
  21012. "type": "number"
  21013. },
  21014. "needhedgeratio": {
  21015. "description": "应套保比例",
  21016. "type": "number"
  21017. },
  21018. "pricedqty": {
  21019. "description": "已定价量",
  21020. "type": "number"
  21021. },
  21022. "qty": {
  21023. "description": "合同量",
  21024. "type": "number"
  21025. },
  21026. "tradedate": {
  21027. "description": "交易日(登记日)",
  21028. "type": "string"
  21029. },
  21030. "unitid": {
  21031. "description": "品类单位id",
  21032. "type": "integer"
  21033. },
  21034. "userid": {
  21035. "description": "机构id",
  21036. "type": "integer"
  21037. },
  21038. "wrstandardcode": {
  21039. "description": "品类代码",
  21040. "type": "string"
  21041. },
  21042. "wrstandardid": {
  21043. "description": "品类id",
  21044. "type": "integer"
  21045. },
  21046. "wrstandardname": {
  21047. "description": "品类名称",
  21048. "type": "string"
  21049. }
  21050. }
  21051. },
  21052. "models.Ermcp3ExposureParamChLog": {
  21053. "type": "object",
  21054. "properties": {
  21055. "accountid": {
  21056. "description": "期货账户ID (作废, 默认为0)",
  21057. "type": "integer"
  21058. },
  21059. "aftervalue": {
  21060. "description": "应套保\\套利量变更后(调整后应套保总量)",
  21061. "type": "number"
  21062. },
  21063. "areauserid": {
  21064. "description": "所属机构\\交易用户ID",
  21065. "type": "integer"
  21066. },
  21067. "beforevalue": {
  21068. "description": "应套保\\套利量变更前(调整前应套保总量)",
  21069. "type": "number"
  21070. },
  21071. "begindate": {
  21072. "description": "开始交易日",
  21073. "type": "string"
  21074. },
  21075. "changelogtype": {
  21076. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  21077. "type": "integer"
  21078. },
  21079. "curvalue": {
  21080. "description": "当前套保\\套利量(套保总量|套利总量)",
  21081. "type": "number"
  21082. },
  21083. "diffvalue": {
  21084. "description": "应套保总量变化量",
  21085. "type": "number"
  21086. },
  21087. "enddate": {
  21088. "description": "结束交易日",
  21089. "type": "string"
  21090. },
  21091. "logdatetime": {
  21092. "description": "流水日期",
  21093. "type": "string"
  21094. },
  21095. "logid": {
  21096. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  21097. "type": "string"
  21098. },
  21099. "middlegoodscode": {
  21100. "description": "套保品种代码",
  21101. "type": "string"
  21102. },
  21103. "middlegoodsid": {
  21104. "description": "套保品种",
  21105. "type": "integer"
  21106. },
  21107. "middlegoodsname": {
  21108. "description": "套保品种名称",
  21109. "type": "string"
  21110. },
  21111. "paramaftervalue": {
  21112. "description": "参数变更后(调整后参数值)",
  21113. "type": "number"
  21114. },
  21115. "parambeforevalue": {
  21116. "description": "参数变更前(调整前参数值)",
  21117. "type": "number"
  21118. },
  21119. "tradedate": {
  21120. "description": "交易日(yyyyMMdd)",
  21121. "type": "string"
  21122. }
  21123. }
  21124. },
  21125. "models.Ermcp3ExpourseReport": {
  21126. "type": "object",
  21127. "properties": {
  21128. "accountid": {
  21129. "description": "期货账户ID (作废, 默认为0)",
  21130. "type": "integer"
  21131. },
  21132. "accountname": {
  21133. "description": "机构名称",
  21134. "type": "string"
  21135. },
  21136. "arbitrageqty": {
  21137. "description": "套利量",
  21138. "type": "number"
  21139. },
  21140. "areauserid": {
  21141. "description": "所属机构\\交易用户ID",
  21142. "type": "integer"
  21143. },
  21144. "begindate": {
  21145. "description": "开始交易日",
  21146. "type": "string"
  21147. },
  21148. "buyfutureqty": {
  21149. "description": "买入期货数量",
  21150. "type": "number"
  21151. },
  21152. "buyplanqty": {
  21153. "description": "采购计划数量",
  21154. "type": "number"
  21155. },
  21156. "buypricedqty": {
  21157. "description": "采购合同已定价数量",
  21158. "type": "number"
  21159. },
  21160. "cycletime": {
  21161. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21162. "type": "string"
  21163. },
  21164. "cycletype": {
  21165. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21166. "type": "integer"
  21167. },
  21168. "diffexposure": {
  21169. "description": "变动量(套保敞口)",
  21170. "type": "number"
  21171. },
  21172. "difffutuqty": {
  21173. "description": "变动量(期货)",
  21174. "type": "number"
  21175. },
  21176. "diffhedgeqty": {
  21177. "description": "变动量(现货应套保总量)",
  21178. "type": "number"
  21179. },
  21180. "diffmgqtya": {
  21181. "description": "套保变动量",
  21182. "type": "number"
  21183. },
  21184. "diffmgqtyb": {
  21185. "description": "套利变动量",
  21186. "type": "number"
  21187. },
  21188. "diffqty": {
  21189. "description": "变动量(总敞口)",
  21190. "type": "number"
  21191. },
  21192. "diffspotqty": {
  21193. "description": "变动量(现货)",
  21194. "type": "number"
  21195. },
  21196. "enddate": {
  21197. "description": "结束交易日",
  21198. "type": "string"
  21199. },
  21200. "enumdicname": {
  21201. "description": "单位名称",
  21202. "type": "string"
  21203. },
  21204. "hedgeqty": {
  21205. "description": "套保量",
  21206. "type": "number"
  21207. },
  21208. "mgneedhedgeratio": {
  21209. "description": "套保比例(套保品的)",
  21210. "type": "number"
  21211. },
  21212. "middlegoodsid": {
  21213. "description": "套保品种ID",
  21214. "type": "integer"
  21215. },
  21216. "middlegoodsname": {
  21217. "description": "套保商品名称",
  21218. "type": "string"
  21219. },
  21220. "middlgoodscode": {
  21221. "description": "套保商品代码",
  21222. "type": "string"
  21223. },
  21224. "needarbitrageqty": {
  21225. "description": "应套利量",
  21226. "type": "number"
  21227. },
  21228. "needarbitrageratio": {
  21229. "description": "套利比例(套保品的)",
  21230. "type": "number"
  21231. },
  21232. "needhedgeexposoure": {
  21233. "description": "应套保敞口(套保敞口)",
  21234. "type": "number"
  21235. },
  21236. "needhedgeqty": {
  21237. "description": "应套保量",
  21238. "type": "number"
  21239. },
  21240. "needhedgeratio": {
  21241. "description": "应套保敞口比例",
  21242. "type": "number"
  21243. },
  21244. "oriarbitrageqty": {
  21245. "description": "期初套利量",
  21246. "type": "number"
  21247. },
  21248. "oribuyfutureqty": {
  21249. "description": "期初买入期货数量",
  21250. "type": "number"
  21251. },
  21252. "oribuyplanqty": {
  21253. "description": "期初采购计划数量",
  21254. "type": "number"
  21255. },
  21256. "oribuypricedqty": {
  21257. "description": "期初采购合同已定价数量",
  21258. "type": "number"
  21259. },
  21260. "orihedgeqty": {
  21261. "description": "期初套保量",
  21262. "type": "number"
  21263. },
  21264. "orineedarbitrageqty": {
  21265. "description": "期初应套利量",
  21266. "type": "number"
  21267. },
  21268. "orineedhedgeexposoure": {
  21269. "description": "期初应套保敞口",
  21270. "type": "number"
  21271. },
  21272. "orineedhedgeqty": {
  21273. "description": "期初应套保量",
  21274. "type": "number"
  21275. },
  21276. "orisellfutureqty": {
  21277. "description": "期初卖出期货数量",
  21278. "type": "number"
  21279. },
  21280. "orisellplanqty": {
  21281. "description": "期初销售计划数量",
  21282. "type": "number"
  21283. },
  21284. "orisellpricedqty": {
  21285. "description": "期初销售合同已定价数量",
  21286. "type": "number"
  21287. },
  21288. "oritotalexposure": {
  21289. "description": "期初实时总敞口",
  21290. "type": "number"
  21291. },
  21292. "oritotalfutureqty": {
  21293. "description": "期初期货头寸总量",
  21294. "type": "number"
  21295. },
  21296. "oritotalneedhedgeqty": {
  21297. "description": "期初应套保总量",
  21298. "type": "number"
  21299. },
  21300. "oritotalspotqty": {
  21301. "description": "期初现货头寸总量",
  21302. "type": "number"
  21303. },
  21304. "reckondate": {
  21305. "description": "日照时期(yyyyMMdd)",
  21306. "type": "string"
  21307. },
  21308. "sellfutureqty": {
  21309. "description": "卖出期货数量",
  21310. "type": "number"
  21311. },
  21312. "sellplanqty": {
  21313. "description": "销售计划数量",
  21314. "type": "number"
  21315. },
  21316. "sellpricedqty": {
  21317. "description": "销售合同已定价数量",
  21318. "type": "number"
  21319. },
  21320. "totalexposure": {
  21321. "description": "实时总敞口(总敞口)",
  21322. "type": "number"
  21323. },
  21324. "totalfutureqty": {
  21325. "description": "期货头寸总量(期货总量)",
  21326. "type": "number"
  21327. },
  21328. "totalhedgeratio": {
  21329. "description": "敞口比例",
  21330. "type": "number"
  21331. },
  21332. "totalneedhedgeqty": {
  21333. "description": "应套保总量(现货应套保总量)",
  21334. "type": "number"
  21335. },
  21336. "totalspotqty": {
  21337. "description": "现货头寸总量",
  21338. "type": "number"
  21339. },
  21340. "unitid": {
  21341. "description": "单位id",
  21342. "type": "integer"
  21343. },
  21344. "updatetime": {
  21345. "description": "更新时间",
  21346. "type": "string"
  21347. }
  21348. }
  21349. },
  21350. "models.Ermcp3FinanceReport": {
  21351. "type": "object",
  21352. "properties": {
  21353. "accountname": {
  21354. "description": "机构名称",
  21355. "type": "string"
  21356. },
  21357. "areauserid": {
  21358. "description": "所属机构\\交易用户ID",
  21359. "type": "integer"
  21360. },
  21361. "begindate": {
  21362. "description": "开始交易日",
  21363. "type": "string"
  21364. },
  21365. "biztype": {
  21366. "description": "业务类型 - 1:套保 2:套利",
  21367. "type": "integer"
  21368. },
  21369. "brandname": {
  21370. "description": "品牌名称",
  21371. "type": "string"
  21372. },
  21373. "buypreinvoicedamount": {
  21374. "description": "采购预收票额(预收票额)",
  21375. "type": "number"
  21376. },
  21377. "buyprepaidamount": {
  21378. "description": "采购预付款额(预付货款额)",
  21379. "type": "number"
  21380. },
  21381. "buytodayinvoiceamount": {
  21382. "description": "采购今收票额(今收票额)",
  21383. "type": "number"
  21384. },
  21385. "buytodayrefundamount": {
  21386. "description": "采购今收退款额(今收退款额)",
  21387. "type": "number"
  21388. },
  21389. "buytodaysettleamount": {
  21390. "description": "采购今付款额(今付货款额)",
  21391. "type": "number"
  21392. },
  21393. "buyuninvoicedamount": {
  21394. "description": "采购应收票额(应收票额)",
  21395. "type": "number"
  21396. },
  21397. "buyunpaidamount": {
  21398. "description": "采购应付款额(应付货款额)",
  21399. "type": "number"
  21400. },
  21401. "currencyid": {
  21402. "description": "结算币种ID",
  21403. "type": "integer"
  21404. },
  21405. "currencyname": {
  21406. "description": "币种名称",
  21407. "type": "string"
  21408. },
  21409. "cycletime": {
  21410. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21411. "type": "string"
  21412. },
  21413. "cycletype": {
  21414. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21415. "type": "integer"
  21416. },
  21417. "deliverygoodscode": {
  21418. "description": "现货品种代码",
  21419. "type": "string"
  21420. },
  21421. "deliverygoodsid": {
  21422. "description": "现货品种ID",
  21423. "type": "integer"
  21424. },
  21425. "deliverygoodsname": {
  21426. "description": "现货品种名称",
  21427. "type": "string"
  21428. },
  21429. "enddate": {
  21430. "description": "结束交易日",
  21431. "type": "string"
  21432. },
  21433. "reckondate": {
  21434. "description": "日照时期(yyyyMMdd)",
  21435. "type": "string"
  21436. },
  21437. "sellpreinvoicedamount": {
  21438. "description": "销售预开票额(预开票额)",
  21439. "type": "number"
  21440. },
  21441. "sellprepaidamount": {
  21442. "description": "销售预收款额(预收货款额)",
  21443. "type": "number"
  21444. },
  21445. "selltodayinvoiceamount": {
  21446. "description": "销售今开票额(今开票额)",
  21447. "type": "number"
  21448. },
  21449. "selltodayrefundamount": {
  21450. "description": "销售今付退款额(今付退款额)",
  21451. "type": "number"
  21452. },
  21453. "selltodaysettleamount": {
  21454. "description": "销售今收款额(今收货款额)",
  21455. "type": "number"
  21456. },
  21457. "selluninvoicedamount": {
  21458. "description": "销售应开票额(应开票额)",
  21459. "type": "number"
  21460. },
  21461. "sellunpaidamount": {
  21462. "description": "销售应收款额(应收货款额)",
  21463. "type": "number"
  21464. },
  21465. "spotgoodsbrandid": {
  21466. "description": "现货品牌ID",
  21467. "type": "integer"
  21468. },
  21469. "todaypaysum": {
  21470. "description": "今付款合计",
  21471. "type": "number"
  21472. },
  21473. "todayreceivesum": {
  21474. "description": "今收款合计",
  21475. "type": "number"
  21476. },
  21477. "updatetime": {
  21478. "description": "更新时间",
  21479. "type": "string"
  21480. },
  21481. "wrfactortypeid": {
  21482. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  21483. "type": "integer"
  21484. },
  21485. "wrstandardcode": {
  21486. "description": "品类代码",
  21487. "type": "string"
  21488. },
  21489. "wrstandardid": {
  21490. "description": "现货商品ID",
  21491. "type": "integer"
  21492. },
  21493. "wrstandardname": {
  21494. "description": "品类名称",
  21495. "type": "string"
  21496. }
  21497. }
  21498. },
  21499. "models.Ermcp3GoodsGroup": {
  21500. "type": "object",
  21501. "required": [
  21502. "areauserid"
  21503. ],
  21504. "properties": {
  21505. "agreeunit": {
  21506. "description": "合约单位",
  21507. "type": "number"
  21508. },
  21509. "areauserid": {
  21510. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  21511. "type": "integer"
  21512. },
  21513. "canshort": {
  21514. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  21515. "type": "integer"
  21516. },
  21517. "closepricemode": {
  21518. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21519. "type": "integer"
  21520. },
  21521. "createtime": {
  21522. "description": "创建时间",
  21523. "type": "string"
  21524. },
  21525. "creatorid": {
  21526. "description": "创建人",
  21527. "type": "integer"
  21528. },
  21529. "currencyid": {
  21530. "description": "报价货币ID",
  21531. "type": "integer"
  21532. },
  21533. "decimalplace": {
  21534. "description": "报价小数位",
  21535. "type": "integer"
  21536. },
  21537. "enumdicname": {
  21538. "description": "单位名称",
  21539. "type": "string"
  21540. },
  21541. "exchangefullname": {
  21542. "description": "交易所全称",
  21543. "type": "string"
  21544. },
  21545. "excludecfg": {
  21546. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  21547. "type": "integer"
  21548. },
  21549. "exexchangecode": {
  21550. "description": "交易所代码",
  21551. "type": "string"
  21552. },
  21553. "exexchangeid": {
  21554. "description": "外部交易所ID[通道交易]",
  21555. "type": "integer"
  21556. },
  21557. "exexchangename": {
  21558. "description": "交易所名称",
  21559. "type": "string"
  21560. },
  21561. "goodsgroupid": {
  21562. "description": "商品组ID(自增ID)",
  21563. "type": "integer"
  21564. },
  21565. "goodsgroupname": {
  21566. "description": "商品组名称",
  21567. "type": "string"
  21568. },
  21569. "goodsgroupstatus": {
  21570. "description": "商品组状态 - 1:正常 2:注销",
  21571. "type": "integer"
  21572. },
  21573. "goodunitid": {
  21574. "description": "报价单位ID",
  21575. "type": "integer"
  21576. },
  21577. "groupcategroyid": {
  21578. "description": "品种分类ID",
  21579. "type": "integer"
  21580. },
  21581. "innerdealmode": {
  21582. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21583. "type": "integer"
  21584. },
  21585. "marketid": {
  21586. "description": "所属市场ID",
  21587. "type": "integer"
  21588. },
  21589. "modifierid": {
  21590. "description": "修改人",
  21591. "type": "integer"
  21592. },
  21593. "modifytime": {
  21594. "description": "修改时间",
  21595. "type": "string"
  21596. },
  21597. "outerdealmode": {
  21598. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21599. "type": "integer"
  21600. },
  21601. "outergroupcode": {
  21602. "description": "外部商品组代码[通道交易]",
  21603. "type": "string"
  21604. },
  21605. "quoteminunit": {
  21606. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21607. "type": "integer"
  21608. },
  21609. "quotesourcegroupid": {
  21610. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  21611. "type": "integer"
  21612. },
  21613. "syncgoodsqty": {
  21614. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  21615. "type": "integer"
  21616. }
  21617. }
  21618. },
  21619. "models.Ermcp3HedgePlan": {
  21620. "type": "object",
  21621. "properties": {
  21622. "accountid": {
  21623. "description": "资金账号",
  21624. "type": "integer"
  21625. },
  21626. "areauserid": {
  21627. "description": "用户ID",
  21628. "type": "integer"
  21629. },
  21630. "auditid": {
  21631. "description": "审核id",
  21632. "type": "integer"
  21633. },
  21634. "auditname": {
  21635. "description": "审核人名称",
  21636. "type": "string"
  21637. },
  21638. "auditremark": {
  21639. "description": "审核备注",
  21640. "type": "string"
  21641. },
  21642. "auditsrc": {
  21643. "description": "审核来源 1-管理端 2-终端",
  21644. "type": "integer"
  21645. },
  21646. "audittime": {
  21647. "description": "审核时间",
  21648. "type": "string"
  21649. },
  21650. "contracttype": {
  21651. "description": "计划类型 - 1:采购 -1:销售",
  21652. "type": "integer"
  21653. },
  21654. "convertfactor": {
  21655. "description": "标仓系数",
  21656. "type": "number"
  21657. },
  21658. "createtime": {
  21659. "description": "创建时间",
  21660. "type": "string"
  21661. },
  21662. "currencyid": {
  21663. "description": "币种id",
  21664. "type": "integer"
  21665. },
  21666. "currencyname": {
  21667. "description": "币种名称",
  21668. "type": "string"
  21669. },
  21670. "deliverygoodscode": {
  21671. "description": "现货品种代码",
  21672. "type": "string"
  21673. },
  21674. "deliverygoodsid": {
  21675. "description": "现货品种ID",
  21676. "type": "integer"
  21677. },
  21678. "deliverygoodsname": {
  21679. "description": "现货品种名称",
  21680. "type": "string"
  21681. },
  21682. "enumdicname": {
  21683. "description": "单位名称(现货商品)",
  21684. "type": "string"
  21685. },
  21686. "hedgeplanid": {
  21687. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  21688. "type": "string"
  21689. },
  21690. "hedgeplanno": {
  21691. "description": "套保计划编号(名称)",
  21692. "type": "string"
  21693. },
  21694. "hedgeplanstatus": {
  21695. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21696. "type": "integer"
  21697. },
  21698. "planqty": {
  21699. "description": "计划数量",
  21700. "type": "number"
  21701. },
  21702. "plantime": {
  21703. "description": "计划时间",
  21704. "type": "string"
  21705. },
  21706. "producttype": {
  21707. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  21708. "type": "integer"
  21709. },
  21710. "remark": {
  21711. "description": "备注",
  21712. "type": "string"
  21713. },
  21714. "spotgoodsdesc": {
  21715. "description": "商品型号",
  21716. "type": "string"
  21717. },
  21718. "taaccountname": {
  21719. "description": "资金账号名称",
  21720. "type": "string"
  21721. },
  21722. "tradeuserid": {
  21723. "description": "交易用户id",
  21724. "type": "integer"
  21725. },
  21726. "tradeusername": {
  21727. "description": "交易用户名称",
  21728. "type": "string"
  21729. },
  21730. "unitid": {
  21731. "description": "单位id(现货商品)",
  21732. "type": "integer"
  21733. },
  21734. "updatetime": {
  21735. "description": "更新时间",
  21736. "type": "string"
  21737. },
  21738. "vatrate": {
  21739. "description": "增值税率",
  21740. "type": "number"
  21741. },
  21742. "wrstandardcode": {
  21743. "description": "品类代码",
  21744. "type": "string"
  21745. },
  21746. "wrstandardid": {
  21747. "description": "品类id",
  21748. "type": "integer"
  21749. },
  21750. "wrstandardname": {
  21751. "description": "品类名称",
  21752. "type": "string"
  21753. },
  21754. "wrunitid": {
  21755. "description": "品类单位id",
  21756. "type": "integer"
  21757. },
  21758. "wrunitidame": {
  21759. "description": "品类单位名称",
  21760. "type": "string"
  21761. }
  21762. }
  21763. },
  21764. "models.Ermcp3InnerTradeLink": {
  21765. "type": "object",
  21766. "properties": {
  21767. "accountid": {
  21768. "description": "期货账号代码 | 资金账号ID",
  21769. "type": "integer"
  21770. },
  21771. "buyorsell": {
  21772. "description": "方向 - 0:买 1:卖",
  21773. "type": "integer"
  21774. },
  21775. "channelbuildtype": {
  21776. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21777. "type": "integer"
  21778. },
  21779. "currencyid": {
  21780. "description": "币种id",
  21781. "type": "integer"
  21782. },
  21783. "currencyname": {
  21784. "description": "结算币种 名称",
  21785. "type": "string"
  21786. },
  21787. "goodscode": {
  21788. "description": "商品代码",
  21789. "type": "string"
  21790. },
  21791. "goodsid": {
  21792. "description": "商品ID",
  21793. "type": "integer"
  21794. },
  21795. "goodsname": {
  21796. "description": "商品名称",
  21797. "type": "string"
  21798. },
  21799. "outtradeid": {
  21800. "description": "外部成交单号",
  21801. "type": "string"
  21802. },
  21803. "taname": {
  21804. "description": "期货账户名称",
  21805. "type": "string"
  21806. },
  21807. "tradeid": {
  21808. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21809. "type": "string"
  21810. },
  21811. "tradeprice": {
  21812. "description": "成交价格",
  21813. "type": "number"
  21814. },
  21815. "tradeqty": {
  21816. "description": "期货成交数量",
  21817. "type": "integer"
  21818. },
  21819. "tradetime": {
  21820. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  21821. "type": "string"
  21822. },
  21823. "username": {
  21824. "description": "用户名称",
  21825. "type": "string"
  21826. }
  21827. }
  21828. },
  21829. "models.Ermcp3OutTradeLink": {
  21830. "type": "object",
  21831. "properties": {
  21832. "buyorsell": {
  21833. "description": "买卖方向 - 0:买 1:卖",
  21834. "type": "integer"
  21835. },
  21836. "channelbuildtype": {
  21837. "description": "开平标志- 0:无 1:建仓 2:平仓",
  21838. "type": "integer"
  21839. },
  21840. "currencyname": {
  21841. "description": "币种名称",
  21842. "type": "string"
  21843. },
  21844. "exexchangecode": {
  21845. "description": "交易所代码",
  21846. "type": "string"
  21847. },
  21848. "exexchangename": {
  21849. "description": "交易所名称",
  21850. "type": "string"
  21851. },
  21852. "goodscode": {
  21853. "description": "合约代码",
  21854. "type": "string"
  21855. },
  21856. "goodsid": {
  21857. "description": "合约id",
  21858. "type": "integer"
  21859. },
  21860. "goodsname": {
  21861. "description": "合约名称",
  21862. "type": "string"
  21863. },
  21864. "hasinnerorder": {
  21865. "description": "是否有内部单关联 - 0:无 1:有",
  21866. "type": "integer"
  21867. },
  21868. "hedgeaccountcode": {
  21869. "description": "外部账号 | 对冲账号",
  21870. "type": "string"
  21871. },
  21872. "outtradeid": {
  21873. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21874. "type": "string"
  21875. },
  21876. "tradeprice": {
  21877. "description": "成交价格",
  21878. "type": "number"
  21879. },
  21880. "tradeqty": {
  21881. "description": "成交数量",
  21882. "type": "integer"
  21883. },
  21884. "tradetime": {
  21885. "description": "成交时间",
  21886. "type": "string"
  21887. }
  21888. }
  21889. },
  21890. "models.Ermcp3PaAreaAuditCfg": {
  21891. "type": "object",
  21892. "properties": {
  21893. "areauserid": {
  21894. "description": "用户ID",
  21895. "type": "integer"
  21896. },
  21897. "buyinauditflag": {
  21898. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  21899. "type": "integer"
  21900. },
  21901. "costratioauditflag": {
  21902. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  21903. "type": "integer"
  21904. },
  21905. "customerauditflag": {
  21906. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  21907. "type": "integer"
  21908. },
  21909. "deliveryauditflag": {
  21910. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  21911. "type": "integer"
  21912. },
  21913. "invoiceauditflag": {
  21914. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  21915. "type": "integer"
  21916. },
  21917. "mgneedhedgeratioauditflag": {
  21918. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  21919. "type": "integer"
  21920. },
  21921. "moneyauditflag": {
  21922. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  21923. "type": "integer"
  21924. },
  21925. "operatorid": {
  21926. "description": "操作人",
  21927. "type": "integer"
  21928. },
  21929. "operatorsrc": {
  21930. "description": "操作来源 - 1:管理端 2:终端",
  21931. "type": "integer"
  21932. },
  21933. "pointpriceauditflag": {
  21934. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  21935. "type": "integer"
  21936. },
  21937. "produceinauditflag": {
  21938. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  21939. "type": "integer"
  21940. },
  21941. "produceoutauditflag": {
  21942. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  21943. "type": "integer"
  21944. },
  21945. "selloutauditflag": {
  21946. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  21947. "type": "integer"
  21948. },
  21949. "sgconvertratioauditflag": {
  21950. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  21951. "type": "integer"
  21952. },
  21953. "sgvtaratioauditflag": {
  21954. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  21955. "type": "integer"
  21956. },
  21957. "spotcontractauditflag": {
  21958. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  21959. "type": "integer"
  21960. },
  21961. "updatetime": {
  21962. "description": "更新时间",
  21963. "type": "string"
  21964. }
  21965. }
  21966. },
  21967. "models.Ermcp3PaAreaSubject": {
  21968. "type": "object",
  21969. "properties": {
  21970. "areauserid": {
  21971. "description": "所属机构",
  21972. "type": "integer"
  21973. },
  21974. "canmodify": {
  21975. "description": "是否可修改 - 0:否 1:是",
  21976. "type": "integer"
  21977. },
  21978. "createtime": {
  21979. "description": "创建时间",
  21980. "type": "string"
  21981. },
  21982. "creatorid": {
  21983. "description": "创建人ID",
  21984. "type": "string"
  21985. },
  21986. "creatorsrc": {
  21987. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  21988. "type": "integer"
  21989. },
  21990. "modifierid": {
  21991. "description": "修改人",
  21992. "type": "string"
  21993. },
  21994. "modifiersrc": {
  21995. "description": "修改人来源 - 1:管理端 2:终端",
  21996. "type": "integer"
  21997. },
  21998. "modifytime": {
  21999. "description": "修改时间",
  22000. "type": "string"
  22001. },
  22002. "parentsubjectid": {
  22003. "description": "上级主体ID",
  22004. "type": "string"
  22005. },
  22006. "remark": {
  22007. "description": "备注",
  22008. "type": "string"
  22009. },
  22010. "subjectid": {
  22011. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  22012. "type": "integer"
  22013. },
  22014. "subjectname": {
  22015. "description": "主体名称",
  22016. "type": "string"
  22017. },
  22018. "subjectstatus": {
  22019. "description": "主体状态 - 1:正常 2: 停用",
  22020. "type": "integer"
  22021. },
  22022. "subjecttype": {
  22023. "description": "主体类型 - 1:交易主体 2:业务部门",
  22024. "type": "integer"
  22025. }
  22026. }
  22027. },
  22028. "models.Ermcp3PaTradeLink": {
  22029. "type": "object",
  22030. "properties": {
  22031. "accountid": {
  22032. "description": "期货账户代码 | 账号ID",
  22033. "type": "integer"
  22034. },
  22035. "agreeunit": {
  22036. "description": "合约乘数",
  22037. "type": "number"
  22038. },
  22039. "buyorsell": {
  22040. "description": "方向 - 0:买 1:卖",
  22041. "type": "integer"
  22042. },
  22043. "channelbuildtype": {
  22044. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  22045. "type": "integer"
  22046. },
  22047. "charge": {
  22048. "description": "手续费",
  22049. "type": "number"
  22050. },
  22051. "closepl": {
  22052. "description": "平仓盈亏",
  22053. "type": "number"
  22054. },
  22055. "closetype": {
  22056. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  22057. "type": "integer"
  22058. },
  22059. "convertratio": {
  22060. "description": "折算系数",
  22061. "type": "number"
  22062. },
  22063. "enumdicname": {
  22064. "description": "单位名称",
  22065. "type": "string"
  22066. },
  22067. "executeprice": {
  22068. "description": "执行价 [期权]",
  22069. "type": "integer"
  22070. },
  22071. "goodscode": {
  22072. "description": "合约代码",
  22073. "type": "string"
  22074. },
  22075. "goodsgroupid": {
  22076. "description": "对冲品种ID[期货合约商品组ID]",
  22077. "type": "integer"
  22078. },
  22079. "goodsid": {
  22080. "description": "商品ID",
  22081. "type": "integer"
  22082. },
  22083. "goodsname": {
  22084. "description": "合约名称",
  22085. "type": "string"
  22086. },
  22087. "goodunitid": {
  22088. "description": "单位id",
  22089. "type": "integer"
  22090. },
  22091. "hedgeflag": {
  22092. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  22093. "type": "integer"
  22094. },
  22095. "marketid": {
  22096. "description": "市场ID",
  22097. "type": "integer"
  22098. },
  22099. "middlegoodsid": {
  22100. "description": "套保品种ID",
  22101. "type": "integer"
  22102. },
  22103. "middlegoodsqty": {
  22104. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  22105. "type": "number"
  22106. },
  22107. "optioncode": {
  22108. "description": "期权代码 [期权]",
  22109. "type": "string"
  22110. },
  22111. "ordertype": {
  22112. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  22113. "type": "integer"
  22114. },
  22115. "ordertypename": {
  22116. "description": "订单类型",
  22117. "type": "string"
  22118. },
  22119. "parentaccountid": {
  22120. "description": "所属母账户",
  22121. "type": "integer"
  22122. },
  22123. "premium": {
  22124. "description": "权利金 [期权]",
  22125. "type": "number"
  22126. },
  22127. "relatedlot": {
  22128. "description": "已关联数量(已关联数量手) | db:关联手数",
  22129. "type": "number"
  22130. },
  22131. "relatedouttradeid": {
  22132. "description": "关联外部成交单ID",
  22133. "type": "string"
  22134. },
  22135. "relatedqty": {
  22136. "description": "关联数量",
  22137. "type": "number"
  22138. },
  22139. "spotcontractid": {
  22140. "description": "现货合同ID [4:套期保值\\10\\11]",
  22141. "type": "string"
  22142. },
  22143. "taname": {
  22144. "description": "期货账户名称",
  22145. "type": "string"
  22146. },
  22147. "tradeamount": {
  22148. "description": "成交金额(账户)",
  22149. "type": "number"
  22150. },
  22151. "tradedate": {
  22152. "description": "交易日(yyyyMMdd)",
  22153. "type": "string"
  22154. },
  22155. "tradeid": {
  22156. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22157. "type": "string"
  22158. },
  22159. "tradelot": {
  22160. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  22161. "type": "integer"
  22162. },
  22163. "tradeprice": {
  22164. "description": "成交价格",
  22165. "type": "number"
  22166. },
  22167. "tradetime": {
  22168. "description": "时间 | db:成交时间",
  22169. "type": "string"
  22170. },
  22171. "tradetype": {
  22172. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  22173. "type": "integer"
  22174. },
  22175. "userid": {
  22176. "description": "所属机构 - 所属母账户的UserID",
  22177. "type": "string"
  22178. },
  22179. "username": {
  22180. "description": "用户名称",
  22181. "type": "string"
  22182. }
  22183. }
  22184. },
  22185. "models.Ermcp3ParamChangeApp": {
  22186. "type": "object",
  22187. "properties": {
  22188. "aftervalue": {
  22189. "description": "变更后",
  22190. "type": "number"
  22191. },
  22192. "applicationid": {
  22193. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  22194. "type": "string"
  22195. },
  22196. "applyid": {
  22197. "description": "申请人",
  22198. "type": "string"
  22199. },
  22200. "applyname": {
  22201. "description": "申请人名称(代码)",
  22202. "type": "string"
  22203. },
  22204. "applyremark": {
  22205. "description": "申请备注",
  22206. "type": "string"
  22207. },
  22208. "applysrc": {
  22209. "description": "申请来源 - 1:管理端 2:终端",
  22210. "type": "integer"
  22211. },
  22212. "applystatus": {
  22213. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22214. "type": "integer"
  22215. },
  22216. "applytime": {
  22217. "description": "申请时间",
  22218. "type": "string"
  22219. },
  22220. "areauserid": {
  22221. "description": "所属机构用户ID",
  22222. "type": "integer"
  22223. },
  22224. "auditid": {
  22225. "description": "审核人",
  22226. "type": "string"
  22227. },
  22228. "auditname": {
  22229. "description": "审核人名称(代码)",
  22230. "type": "string"
  22231. },
  22232. "auditremark": {
  22233. "description": "审核备注",
  22234. "type": "string"
  22235. },
  22236. "auditsrc": {
  22237. "description": "审核来源 - 1:管理端 2:终端",
  22238. "type": "integer"
  22239. },
  22240. "audittime": {
  22241. "description": "审核时间",
  22242. "type": "string"
  22243. },
  22244. "audittradedate": {
  22245. "description": "审核交易日(yyyyMMdd)",
  22246. "type": "string"
  22247. },
  22248. "beforevalue": {
  22249. "description": "变更前",
  22250. "type": "number"
  22251. },
  22252. "deliverygoodscode": {
  22253. "description": "品种代码",
  22254. "type": "string"
  22255. },
  22256. "deliverygoodsid": {
  22257. "description": "品种id",
  22258. "type": "integer"
  22259. },
  22260. "deliverygoodsname": {
  22261. "description": "品种名称",
  22262. "type": "string"
  22263. },
  22264. "middlegoodscode": {
  22265. "description": "套保品种代码",
  22266. "type": "string"
  22267. },
  22268. "middlegoodsid": {
  22269. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  22270. "type": "integer"
  22271. },
  22272. "middlegoodsname": {
  22273. "description": "套保品种名称",
  22274. "type": "string"
  22275. },
  22276. "operatetype": {
  22277. "description": "操作类型 - 1:新增 2:修改",
  22278. "type": "integer"
  22279. },
  22280. "paramchangetype": {
  22281. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  22282. "type": "integer"
  22283. },
  22284. "wrstandardcode": {
  22285. "description": "现货商品代码",
  22286. "type": "string"
  22287. },
  22288. "wrstandardid": {
  22289. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  22290. "type": "integer"
  22291. },
  22292. "wrstandardname": {
  22293. "description": "现货商品名称",
  22294. "type": "string"
  22295. }
  22296. }
  22297. },
  22298. "models.Ermcp3RootUserAccount": {
  22299. "type": "object",
  22300. "properties": {
  22301. "accountname": {
  22302. "description": "账户名称(机构名称)",
  22303. "type": "string"
  22304. },
  22305. "accountstatus": {
  22306. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  22307. "type": "integer"
  22308. },
  22309. "applysrc": {
  22310. "description": "申请来源 - 1:管理端 2:终端",
  22311. "type": "integer"
  22312. },
  22313. "auditremark": {
  22314. "description": "审核备注",
  22315. "type": "string"
  22316. },
  22317. "auditsrc": {
  22318. "description": "审核来源 - 1:管理端 2:终端",
  22319. "type": "integer"
  22320. },
  22321. "audittime": {
  22322. "description": "审核时间",
  22323. "type": "string"
  22324. },
  22325. "audituserid": {
  22326. "description": "审核人",
  22327. "type": "integer"
  22328. },
  22329. "broker": {
  22330. "description": "所属经纪人ID",
  22331. "type": "integer"
  22332. },
  22333. "canceltime": {
  22334. "description": "销户时间",
  22335. "type": "string"
  22336. },
  22337. "canceluserid": {
  22338. "description": "销户人",
  22339. "type": "integer"
  22340. },
  22341. "canrecommend": {
  22342. "description": "是否可推荐 - 0:不可 1;可",
  22343. "type": "integer"
  22344. },
  22345. "createtime": {
  22346. "description": "创建时间",
  22347. "type": "string"
  22348. },
  22349. "creatorid": {
  22350. "description": "创建人",
  22351. "type": "integer"
  22352. },
  22353. "hasauth": {
  22354. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  22355. "type": "integer"
  22356. },
  22357. "isanonymous": {
  22358. "description": "是否匿名下单 - 0:否 1:是",
  22359. "type": "integer"
  22360. },
  22361. "maxinvestornum": {
  22362. "description": "最大用户数(经纪会员下投资者个数)",
  22363. "type": "integer"
  22364. },
  22365. "memberuserid": {
  22366. "description": "所属会员ID",
  22367. "type": "integer"
  22368. },
  22369. "modifierid": {
  22370. "description": "修改人",
  22371. "type": "integer"
  22372. },
  22373. "modifyremark": {
  22374. "description": "变更备注",
  22375. "type": "string"
  22376. },
  22377. "modifystatus": {
  22378. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  22379. "type": "integer"
  22380. },
  22381. "modifytime": {
  22382. "description": "修改时间",
  22383. "type": "string"
  22384. },
  22385. "nickname": {
  22386. "description": "昵称",
  22387. "type": "string"
  22388. },
  22389. "parenttopuser": {
  22390. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  22391. "type": "string"
  22392. },
  22393. "parentuserid": {
  22394. "description": "所属机构ID",
  22395. "type": "integer"
  22396. },
  22397. "reckonaccountid": {
  22398. "description": "默认结算资金账号ID(机构分润使用) 作废",
  22399. "type": "integer"
  22400. },
  22401. "refercount": {
  22402. "description": "推荐总人数",
  22403. "type": "integer"
  22404. },
  22405. "refereeuserid": {
  22406. "description": "推荐人ID",
  22407. "type": "integer"
  22408. },
  22409. "refernum": {
  22410. "description": "推荐码",
  22411. "type": "string"
  22412. },
  22413. "rootuserid": {
  22414. "description": "根用户ID",
  22415. "type": "integer"
  22416. },
  22417. "subaccountlevel": {
  22418. "description": "子账户层数",
  22419. "type": "integer"
  22420. },
  22421. "subarealevelpath": {
  22422. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22423. "type": "string"
  22424. },
  22425. "userid": {
  22426. "description": "用户ID",
  22427. "type": "integer"
  22428. },
  22429. "usertype": {
  22430. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  22431. "type": "integer"
  22432. }
  22433. }
  22434. },
  22435. "models.Ermcp3SCMiddleGoods": {
  22436. "type": "object",
  22437. "properties": {
  22438. "biztype": {
  22439. "description": "业务类型 1:套保 2:套利",
  22440. "type": "integer"
  22441. },
  22442. "contractno": {
  22443. "description": "合同编号",
  22444. "type": "string"
  22445. },
  22446. "contracttype": {
  22447. "description": "合同类型 1:采购 -1:销售",
  22448. "type": "integer"
  22449. },
  22450. "convertratio": {
  22451. "description": "折算系数",
  22452. "type": "number"
  22453. },
  22454. "customername": {
  22455. "description": "对手手名称",
  22456. "type": "string"
  22457. },
  22458. "customeruserid": {
  22459. "description": "对手id",
  22460. "type": "integer"
  22461. },
  22462. "deliverygoodscode": {
  22463. "description": "现货品种代码",
  22464. "type": "string"
  22465. },
  22466. "deliverygoodsid": {
  22467. "description": "现货品种ID",
  22468. "type": "integer"
  22469. },
  22470. "deliverygoodsname": {
  22471. "description": "现货品种名称",
  22472. "type": "string"
  22473. },
  22474. "enumdicname": {
  22475. "description": "现货单位名称",
  22476. "type": "string"
  22477. },
  22478. "middlegoodsid": {
  22479. "description": "套保品种ID",
  22480. "type": "integer"
  22481. },
  22482. "middlegoodspricedqty3": {
  22483. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  22484. "type": "number"
  22485. },
  22486. "needhedgeratio": {
  22487. "description": "套保比例",
  22488. "type": "number"
  22489. },
  22490. "pricedqty": {
  22491. "description": "已定价量",
  22492. "type": "number"
  22493. },
  22494. "relatedmiddlegoodsqty": {
  22495. "description": "已关联量(套保品种)(期货)",
  22496. "type": "number"
  22497. },
  22498. "spotcontractid": {
  22499. "description": "合同编号",
  22500. "type": "string"
  22501. },
  22502. "unitid": {
  22503. "description": "现货单位id",
  22504. "type": "integer"
  22505. },
  22506. "userid": {
  22507. "description": "用户id",
  22508. "type": "integer"
  22509. },
  22510. "vatrate": {
  22511. "description": "增值税率",
  22512. "type": "number"
  22513. },
  22514. "wrstandardcode": {
  22515. "description": "现货商品代码",
  22516. "type": "string"
  22517. },
  22518. "wrstandardid": {
  22519. "description": "现货商品id",
  22520. "type": "integer"
  22521. },
  22522. "wrstandardname": {
  22523. "description": "现货商品名称",
  22524. "type": "string"
  22525. }
  22526. }
  22527. },
  22528. "models.Ermcp3SCMiddleGoodsReport": {
  22529. "type": "object",
  22530. "properties": {
  22531. "begindate": {
  22532. "description": "开始交易日",
  22533. "type": "string"
  22534. },
  22535. "contractno": {
  22536. "description": "合同编号",
  22537. "type": "string"
  22538. },
  22539. "contracttype": {
  22540. "description": "合同类型 1:采购 -1:销售",
  22541. "type": "integer"
  22542. },
  22543. "convertratio": {
  22544. "description": "折算系数",
  22545. "type": "number"
  22546. },
  22547. "cycletime": {
  22548. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22549. "type": "string"
  22550. },
  22551. "cycletype": {
  22552. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22553. "type": "integer"
  22554. },
  22555. "deliverygoodscode": {
  22556. "description": "品种代码",
  22557. "type": "string"
  22558. },
  22559. "deliverygoodsid": {
  22560. "description": "现货品种ID",
  22561. "type": "integer"
  22562. },
  22563. "deliverygoodsname": {
  22564. "description": "品种名称",
  22565. "type": "string"
  22566. },
  22567. "diffprice": {
  22568. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  22569. "type": "number"
  22570. },
  22571. "diffqty": {
  22572. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  22573. "type": "number"
  22574. },
  22575. "enddate": {
  22576. "description": "结束交易日",
  22577. "type": "string"
  22578. },
  22579. "hedgeplanqty": {
  22580. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  22581. "type": "number"
  22582. },
  22583. "matchname": {
  22584. "description": "交易对手方(个人:用户名称 企业:简称)",
  22585. "type": "string"
  22586. },
  22587. "middlegoodscode": {
  22588. "description": "套保品种代码",
  22589. "type": "string"
  22590. },
  22591. "middlegoodsid": {
  22592. "description": "套保品种ID",
  22593. "type": "integer"
  22594. },
  22595. "middlegoodsname": {
  22596. "description": "套保品种名称",
  22597. "type": "string"
  22598. },
  22599. "middlegoodspricedqty": {
  22600. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  22601. "type": "number"
  22602. },
  22603. "middlegoodspricedqty2": {
  22604. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  22605. "type": "number"
  22606. },
  22607. "middlegoodspricedqty3": {
  22608. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  22609. "type": "number"
  22610. },
  22611. "needhedgeratio": {
  22612. "description": "套保系数",
  22613. "type": "number"
  22614. },
  22615. "pricedamount": {
  22616. "description": "已定价额(现货)",
  22617. "type": "number"
  22618. },
  22619. "pricedamount2": {
  22620. "description": "已定价额(现货-基价额)",
  22621. "type": "number"
  22622. },
  22623. "pricedqty": {
  22624. "description": "已定价量(现货)",
  22625. "type": "number"
  22626. },
  22627. "reckondate": {
  22628. "description": "日照时期(yyyyMMdd)",
  22629. "type": "string"
  22630. },
  22631. "relatedmiddlegoodsamount": {
  22632. "description": "已关联额(期货)",
  22633. "type": "number"
  22634. },
  22635. "relatedmiddlegoodsqty": {
  22636. "description": "已关联量(套保品种)(期货)",
  22637. "type": "number"
  22638. },
  22639. "spotcontractid": {
  22640. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22641. "type": "string"
  22642. },
  22643. "todayavgfutuprice": {
  22644. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty",
  22645. "type": "number"
  22646. },
  22647. "todayavgprice": {
  22648. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  22649. "type": "number"
  22650. },
  22651. "todayavgprice2": {
  22652. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  22653. "type": "number"
  22654. },
  22655. "todaypricedamount": {
  22656. "description": "今日定价额(现货)",
  22657. "type": "number"
  22658. },
  22659. "todaypricedamount2": {
  22660. "description": "今日定价额(现货-基价额)",
  22661. "type": "number"
  22662. },
  22663. "todaypricedqty": {
  22664. "description": "今日定价量(现货)",
  22665. "type": "number"
  22666. },
  22667. "todayrelatedfutureqty": {
  22668. "description": "今日关联量(期货)",
  22669. "type": "number"
  22670. },
  22671. "todayrelatedmiddlegoodsamount": {
  22672. "description": "今日关联额(期货)",
  22673. "type": "number"
  22674. },
  22675. "todayrelatedmiddlegoodsqty": {
  22676. "description": "今日关联量(套保品-期货)",
  22677. "type": "number"
  22678. },
  22679. "updatetime": {
  22680. "description": "更新时间",
  22681. "type": "string"
  22682. },
  22683. "userid": {
  22684. "description": "合同所属用户id",
  22685. "type": "integer"
  22686. },
  22687. "vatrate": {
  22688. "description": "增值税率",
  22689. "type": "number"
  22690. },
  22691. "wrstandardcode": {
  22692. "description": "商品(品类) 代码",
  22693. "type": "string"
  22694. },
  22695. "wrstandardid": {
  22696. "description": "现货商品ID",
  22697. "type": "integer"
  22698. },
  22699. "wrstandardname": {
  22700. "description": "商品(品类) 名称",
  22701. "type": "string"
  22702. }
  22703. }
  22704. },
  22705. "models.Ermcp3SellBuyContract": {
  22706. "type": "object",
  22707. "properties": {
  22708. "accountid": {
  22709. "description": "期货账户id",
  22710. "type": "string"
  22711. },
  22712. "accountname": {
  22713. "description": "账户名称",
  22714. "type": "string"
  22715. },
  22716. "attachment": {
  22717. "description": "附件",
  22718. "type": "string"
  22719. },
  22720. "audittime": {
  22721. "description": "审核时间",
  22722. "type": "string"
  22723. },
  22724. "bizsubjectid": {
  22725. "description": "归属业务部门ID - SubjectID",
  22726. "type": "integer"
  22727. },
  22728. "biztype": {
  22729. "description": "业务类型 1-套保 2-套利",
  22730. "type": "integer"
  22731. },
  22732. "brandname": {
  22733. "description": "品牌名称",
  22734. "type": "string"
  22735. },
  22736. "contracctstatus": {
  22737. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22738. "type": "integer"
  22739. },
  22740. "contractmargin": {
  22741. "description": "合同保证金",
  22742. "type": "number"
  22743. },
  22744. "contractno": {
  22745. "description": "合同编号",
  22746. "type": "string"
  22747. },
  22748. "contracttype": {
  22749. "description": "合同类型 1-采购, -1-销售",
  22750. "type": "integer"
  22751. },
  22752. "convertfactor": {
  22753. "description": "标仓系数(品类)",
  22754. "type": "number"
  22755. },
  22756. "createtime": {
  22757. "description": "创建时间",
  22758. "type": "string"
  22759. },
  22760. "currencyid": {
  22761. "description": "币种id",
  22762. "type": "integer"
  22763. },
  22764. "currencyname": {
  22765. "description": "币种名称",
  22766. "type": "string"
  22767. },
  22768. "daikaiamount": {
  22769. "description": "应收(开)票额",
  22770. "type": "number"
  22771. },
  22772. "deliveryenddate": {
  22773. "description": "交割结束日",
  22774. "type": "string"
  22775. },
  22776. "deliverygoodscode": {
  22777. "description": "现货品种代码",
  22778. "type": "string"
  22779. },
  22780. "deliverygoodsid": {
  22781. "description": "现货商品ID",
  22782. "type": "integer"
  22783. },
  22784. "deliverygoodsname": {
  22785. "description": "现货品种名称",
  22786. "type": "string"
  22787. },
  22788. "deliverystartdate": {
  22789. "description": "交割开始日",
  22790. "type": "string"
  22791. },
  22792. "enddate": {
  22793. "description": "点价结束日",
  22794. "type": "string"
  22795. },
  22796. "enumdicname": {
  22797. "description": "单位名称",
  22798. "type": "string"
  22799. },
  22800. "goodscode": {
  22801. "description": "点价商品代码",
  22802. "type": "string"
  22803. },
  22804. "goodsgroupid": {
  22805. "description": "点价商品组id",
  22806. "type": "integer"
  22807. },
  22808. "goodsid": {
  22809. "description": "点价商品ID",
  22810. "type": "integer"
  22811. },
  22812. "goodsname": {
  22813. "description": "点价商品名称",
  22814. "type": "string"
  22815. },
  22816. "invoiceamount": {
  22817. "description": "已开票额",
  22818. "type": "number"
  22819. },
  22820. "loanamount": {
  22821. "description": "贷款总额=已定价额+调整金额",
  22822. "type": "number"
  22823. },
  22824. "margin": {
  22825. "description": "保证金",
  22826. "type": "number"
  22827. },
  22828. "meruserid": {
  22829. "description": "跟单员id",
  22830. "type": "integer"
  22831. },
  22832. "meruserlogincode": {
  22833. "description": "跟单员登录代码",
  22834. "type": "string"
  22835. },
  22836. "merusername": {
  22837. "description": "跟单员名称",
  22838. "type": "string"
  22839. },
  22840. "nickname": {
  22841. "description": "账户昵称",
  22842. "type": "string"
  22843. },
  22844. "orireckonrealqty": {
  22845. "description": "应交收量",
  22846. "type": "number"
  22847. },
  22848. "payamount": {
  22849. "description": "已收付额(收款或付款)",
  22850. "type": "number"
  22851. },
  22852. "preinvoiceamount": {
  22853. "description": "预收(开)票额",
  22854. "type": "number"
  22855. },
  22856. "prepayamount": {
  22857. "description": "预收付额",
  22858. "type": "number"
  22859. },
  22860. "price": {
  22861. "description": "价格",
  22862. "type": "number"
  22863. },
  22864. "pricedamount": {
  22865. "description": "已定价额",
  22866. "type": "number"
  22867. },
  22868. "pricedavg": {
  22869. "description": "已点均价",
  22870. "type": "number"
  22871. },
  22872. "pricedqty": {
  22873. "description": "已定价量",
  22874. "type": "number"
  22875. },
  22876. "pricemove": {
  22877. "description": "升贴水",
  22878. "type": "number"
  22879. },
  22880. "pricetype": {
  22881. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22882. "type": "integer"
  22883. },
  22884. "producttype": {
  22885. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  22886. "type": "integer"
  22887. },
  22888. "qty": {
  22889. "description": "合同量",
  22890. "type": "number"
  22891. },
  22892. "reckonadjustamount": {
  22893. "description": "调整金额",
  22894. "type": "number"
  22895. },
  22896. "reckonedamount": {
  22897. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  22898. "type": "number"
  22899. },
  22900. "reckonotheramount": {
  22901. "description": "其它费用",
  22902. "type": "number"
  22903. },
  22904. "reckonrealqty": {
  22905. "description": "已交收量",
  22906. "type": "number"
  22907. },
  22908. "remark": {
  22909. "description": "备注",
  22910. "type": "string"
  22911. },
  22912. "saleuserid": {
  22913. "description": "业务员id",
  22914. "type": "integer"
  22915. },
  22916. "saleuserlogincode": {
  22917. "description": "业务员登录代码",
  22918. "type": "string"
  22919. },
  22920. "saleusername": {
  22921. "description": "业务员名称",
  22922. "type": "string"
  22923. },
  22924. "spotcontractid": {
  22925. "description": "合同ID",
  22926. "type": "string"
  22927. },
  22928. "spotgoodsbrandid": {
  22929. "description": "现货品牌ID(DGFactoryItem表的ID)",
  22930. "type": "integer"
  22931. },
  22932. "spotgoodsdesc": {
  22933. "description": "商品型号(商品规格)",
  22934. "type": "string"
  22935. },
  22936. "startdate": {
  22937. "description": "点价开始日",
  22938. "type": "string"
  22939. },
  22940. "subjectid": {
  22941. "description": "交易主体ID",
  22942. "type": "integer"
  22943. },
  22944. "subjectname": {
  22945. "description": "交易主体名称",
  22946. "type": "string"
  22947. },
  22948. "totalamount": {
  22949. "description": "合计总额",
  22950. "type": "number"
  22951. },
  22952. "tradeuserid": {
  22953. "description": "交易员id",
  22954. "type": "integer"
  22955. },
  22956. "tradeuserlogincode": {
  22957. "description": "交易员登录代码",
  22958. "type": "string"
  22959. },
  22960. "tradeusername": {
  22961. "description": "交易员名称",
  22962. "type": "string"
  22963. },
  22964. "unpayamount": {
  22965. "description": "应收付款额(应支付或应收款)",
  22966. "type": "number"
  22967. },
  22968. "unpricedqty": {
  22969. "description": "未定价量",
  22970. "type": "number"
  22971. },
  22972. "unsureqty": {
  22973. "description": "未确定量",
  22974. "type": "number"
  22975. },
  22976. "userid": {
  22977. "description": "机构ID",
  22978. "type": "integer"
  22979. },
  22980. "vatrate": {
  22981. "description": "增值税率",
  22982. "type": "number"
  22983. },
  22984. "wrstandardcode": {
  22985. "description": "品类代码",
  22986. "type": "string"
  22987. },
  22988. "wrstandardid": {
  22989. "description": "品类ID",
  22990. "type": "integer"
  22991. },
  22992. "wrstandardname": {
  22993. "description": "品类名称",
  22994. "type": "string"
  22995. }
  22996. }
  22997. },
  22998. "models.Ermcp3SpotGoodsPrice": {
  22999. "type": "object",
  23000. "properties": {
  23001. "areauserid": {
  23002. "description": "所属机构id",
  23003. "type": "integer"
  23004. },
  23005. "brandname": {
  23006. "description": "品牌名称",
  23007. "type": "string"
  23008. },
  23009. "currencyid": {
  23010. "description": "报价货币ID",
  23011. "type": "integer"
  23012. },
  23013. "currencyname": {
  23014. "description": "币种名称",
  23015. "type": "string"
  23016. },
  23017. "deliverygoodscode": {
  23018. "description": "现货商品代码",
  23019. "type": "string"
  23020. },
  23021. "deliverygoodsid": {
  23022. "description": "现货商品id",
  23023. "type": "integer"
  23024. },
  23025. "deliverygoodsname": {
  23026. "description": "现货商品名称",
  23027. "type": "string"
  23028. },
  23029. "enumdicname": {
  23030. "description": "现货商品单位名称",
  23031. "type": "string"
  23032. },
  23033. "gbenumdicname": {
  23034. "description": "品类单位名称",
  23035. "type": "string"
  23036. },
  23037. "gmunitid": {
  23038. "description": "品类单位id",
  23039. "type": "integer"
  23040. },
  23041. "isvalid": {
  23042. "description": "是否有效 - 0:无效 1:有效",
  23043. "type": "integer"
  23044. },
  23045. "operateid": {
  23046. "description": "最后操作人",
  23047. "type": "integer"
  23048. },
  23049. "operatesrc": {
  23050. "description": "最后操作来源 - 1:管理端 2:终端",
  23051. "type": "integer"
  23052. },
  23053. "operatetime": {
  23054. "description": "最后操作时间",
  23055. "type": "string"
  23056. },
  23057. "operatorname": {
  23058. "description": "操作人名称",
  23059. "type": "string"
  23060. },
  23061. "spotgoodsbrandid": {
  23062. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23063. "type": "integer"
  23064. },
  23065. "spotgoodsprice": {
  23066. "description": "现货价格",
  23067. "type": "number"
  23068. },
  23069. "tradedate": {
  23070. "description": "交易日(yyyyMMdd)",
  23071. "type": "string"
  23072. },
  23073. "unitid": {
  23074. "description": "现货商品单位id",
  23075. "type": "integer"
  23076. },
  23077. "wrstandardcode": {
  23078. "description": "品类代码",
  23079. "type": "string"
  23080. },
  23081. "wrstandardid": {
  23082. "description": "现货品类ID(通用则为0)",
  23083. "type": "integer"
  23084. },
  23085. "wrstandardname": {
  23086. "description": "品类名称",
  23087. "type": "string"
  23088. }
  23089. }
  23090. },
  23091. "models.Ermcp3SpotGoodsPriceLog": {
  23092. "type": "object",
  23093. "properties": {
  23094. "areauserid": {
  23095. "description": "所属机构id",
  23096. "type": "integer"
  23097. },
  23098. "brandname": {
  23099. "description": "品牌名称",
  23100. "type": "string"
  23101. },
  23102. "currencyid": {
  23103. "description": "报价货币ID",
  23104. "type": "integer"
  23105. },
  23106. "deliverygoodscode": {
  23107. "description": "现货商品代码",
  23108. "type": "string"
  23109. },
  23110. "deliverygoodsid": {
  23111. "description": "现货商品id",
  23112. "type": "integer"
  23113. },
  23114. "deliverygoodsname": {
  23115. "description": "现货商品名称",
  23116. "type": "string"
  23117. },
  23118. "enumdicname": {
  23119. "description": "现货商品单位名称",
  23120. "type": "string"
  23121. },
  23122. "gbenumdicname": {
  23123. "description": "品类单位名称",
  23124. "type": "string"
  23125. },
  23126. "gmunitid": {
  23127. "description": "品类单位id",
  23128. "type": "integer"
  23129. },
  23130. "logid": {
  23131. "description": "日志id",
  23132. "type": "integer"
  23133. },
  23134. "operateid": {
  23135. "description": "最后操作人",
  23136. "type": "integer"
  23137. },
  23138. "operatesrc": {
  23139. "description": "最后操作来源 - 1:管理端 2:终端",
  23140. "type": "integer"
  23141. },
  23142. "operatetime": {
  23143. "description": "最后操作时间",
  23144. "type": "string"
  23145. },
  23146. "operatorname": {
  23147. "description": "操作人名称",
  23148. "type": "string"
  23149. },
  23150. "spotgoodsbrandid": {
  23151. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23152. "type": "integer"
  23153. },
  23154. "spotgoodsprice": {
  23155. "description": "现货价格",
  23156. "type": "number"
  23157. },
  23158. "tradedate": {
  23159. "description": "交易日(yyyyMMdd)",
  23160. "type": "string"
  23161. },
  23162. "unitid": {
  23163. "description": "现货商品单位id",
  23164. "type": "integer"
  23165. },
  23166. "wrstandardcode": {
  23167. "description": "品类代码",
  23168. "type": "string"
  23169. },
  23170. "wrstandardid": {
  23171. "description": "现货品类ID(通用则为0)",
  23172. "type": "integer"
  23173. },
  23174. "wrstandardname": {
  23175. "description": "品类名称",
  23176. "type": "string"
  23177. }
  23178. }
  23179. },
  23180. "models.Ermcp3SubTaaccount": {
  23181. "type": "object",
  23182. "properties": {
  23183. "accountid": {
  23184. "description": "资金账户ID",
  23185. "type": "integer"
  23186. },
  23187. "parentaccountcode": {
  23188. "description": "所属根账号代码(母账号代码)",
  23189. "type": "string"
  23190. },
  23191. "parentaccountid": {
  23192. "description": "所属根账号(母账号)",
  23193. "type": "integer"
  23194. },
  23195. "taname": {
  23196. "description": "资金账号名称",
  23197. "type": "string"
  23198. },
  23199. "tradestatus": {
  23200. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  23201. "type": "integer"
  23202. },
  23203. "username": {
  23204. "description": "交易用户",
  23205. "type": "string"
  23206. }
  23207. }
  23208. },
  23209. "models.Ermcp3TaFutuReDataReport": {
  23210. "type": "object",
  23211. "properties": {
  23212. "accountid": {
  23213. "description": "交易账户",
  23214. "type": "integer"
  23215. },
  23216. "accountname": {
  23217. "description": "交易账号名称",
  23218. "type": "string"
  23219. },
  23220. "agreeunit": {
  23221. "description": "商品合约单位",
  23222. "type": "number"
  23223. },
  23224. "begindate": {
  23225. "description": "开始交易日",
  23226. "type": "string"
  23227. },
  23228. "buyorsell": {
  23229. "description": "持仓方向",
  23230. "type": "integer"
  23231. },
  23232. "charge": {
  23233. "description": "手续费",
  23234. "type": "number"
  23235. },
  23236. "closeavgprice": {
  23237. "description": "平仓均价",
  23238. "type": "number"
  23239. },
  23240. "closepl": {
  23241. "description": "平仓损益",
  23242. "type": "number"
  23243. },
  23244. "currencyid": {
  23245. "description": "结算币种ID",
  23246. "type": "integer"
  23247. },
  23248. "currencyname": {
  23249. "description": "币种名称",
  23250. "type": "string"
  23251. },
  23252. "cycletime": {
  23253. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23254. "type": "string"
  23255. },
  23256. "cycletype": {
  23257. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23258. "type": "integer"
  23259. },
  23260. "enddate": {
  23261. "description": "结束交易日",
  23262. "type": "string"
  23263. },
  23264. "enumdicname": {
  23265. "description": "单位名称",
  23266. "type": "string"
  23267. },
  23268. "floatpl": {
  23269. "description": "浮动损益",
  23270. "type": "number"
  23271. },
  23272. "goodscode": {
  23273. "description": "交易合约代码",
  23274. "type": "string"
  23275. },
  23276. "goodsgroupid": {
  23277. "description": "交易品种",
  23278. "type": "integer"
  23279. },
  23280. "goodsgroupname": {
  23281. "description": "交易品种名称",
  23282. "type": "string"
  23283. },
  23284. "goodsgroupspotqty": {
  23285. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  23286. "type": "number"
  23287. },
  23288. "goodsid": {
  23289. "description": "交易合约",
  23290. "type": "integer"
  23291. },
  23292. "goodsname": {
  23293. "description": "交易合约名称",
  23294. "type": "string"
  23295. },
  23296. "goodunitid": {
  23297. "description": "交易合约单位id",
  23298. "type": "integer"
  23299. },
  23300. "holdamount": {
  23301. "description": "期末持仓额",
  23302. "type": "number"
  23303. },
  23304. "holdqty": {
  23305. "description": "期末持仓量",
  23306. "type": "number"
  23307. },
  23308. "lastholdamount": {
  23309. "description": "当前持仓额",
  23310. "type": "number"
  23311. },
  23312. "lastprice": {
  23313. "description": "最新价",
  23314. "type": "number"
  23315. },
  23316. "middlegoodsid": {
  23317. "description": "套保品种id",
  23318. "type": "integer"
  23319. },
  23320. "middlegoodsname": {
  23321. "description": "套保商品名称",
  23322. "type": "string"
  23323. },
  23324. "middlegoodsqty": {
  23325. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  23326. "type": "number"
  23327. },
  23328. "middlgoodscode": {
  23329. "description": "套保商品代码",
  23330. "type": "string"
  23331. },
  23332. "openamount": {
  23333. "description": "期末开仓额",
  23334. "type": "number"
  23335. },
  23336. "openavgprice": {
  23337. "description": "开仓均价",
  23338. "type": "number"
  23339. },
  23340. "oriholdamount": {
  23341. "description": "期初持仓额",
  23342. "type": "number"
  23343. },
  23344. "oriholdqty": {
  23345. "description": "期初持仓量",
  23346. "type": "number"
  23347. },
  23348. "oriopenamount": {
  23349. "description": "期初开仓额",
  23350. "type": "number"
  23351. },
  23352. "outergroupcode": {
  23353. "description": "交易品种代码",
  23354. "type": "string"
  23355. },
  23356. "qtydecimalplace": {
  23357. "description": "成交量小数位",
  23358. "type": "integer"
  23359. },
  23360. "reckondate": {
  23361. "description": "日照时期(yyyyMMdd)",
  23362. "type": "string"
  23363. },
  23364. "reckonholdamount": {
  23365. "description": "结算持仓额",
  23366. "type": "number"
  23367. },
  23368. "reckonpl": {
  23369. "description": "结算损益",
  23370. "type": "number"
  23371. },
  23372. "reckonpl2": {
  23373. "description": "结算逐笔盈亏",
  23374. "type": "number"
  23375. },
  23376. "reckonprice": {
  23377. "description": "结算价",
  23378. "type": "number"
  23379. },
  23380. "relateduserid": {
  23381. "description": "账户关联用户ID",
  23382. "type": "integer"
  23383. },
  23384. "todaycloseamount": {
  23385. "description": "今平仓额",
  23386. "type": "number"
  23387. },
  23388. "todaycloseqty": {
  23389. "description": "今平仓量",
  23390. "type": "number"
  23391. },
  23392. "todaygoodsgroupspotqty": {
  23393. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  23394. "type": "number"
  23395. },
  23396. "todaymiddlegoodsqty": {
  23397. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  23398. "type": "number"
  23399. },
  23400. "todayopenamount": {
  23401. "description": "今开仓额",
  23402. "type": "number"
  23403. },
  23404. "todayopenqty": {
  23405. "description": "今开仓量",
  23406. "type": "number"
  23407. },
  23408. "userid": {
  23409. "description": "账户所属用户ID",
  23410. "type": "integer"
  23411. }
  23412. }
  23413. },
  23414. "models.Ermcp3TradeLinkDetail": {
  23415. "type": "object",
  23416. "properties": {
  23417. "accountid": {
  23418. "description": "资金账号",
  23419. "type": "integer"
  23420. },
  23421. "agreeunit": {
  23422. "description": "合约乘数",
  23423. "type": "number"
  23424. },
  23425. "areauserid": {
  23426. "description": "所属机构",
  23427. "type": "string"
  23428. },
  23429. "bizsubjectid": {
  23430. "description": "归属业务部门ID - SubjectID",
  23431. "type": "string"
  23432. },
  23433. "buyorsell": {
  23434. "description": "方向 - 0:买 1:卖",
  23435. "type": "integer"
  23436. },
  23437. "channelbuildtype": {
  23438. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  23439. "type": "integer"
  23440. },
  23441. "contractno": {
  23442. "description": "现货编号 (合同编号)",
  23443. "type": "string"
  23444. },
  23445. "convertratio": {
  23446. "description": "折算系数",
  23447. "type": "number"
  23448. },
  23449. "createtime": {
  23450. "description": "关联时间 | 创建时间",
  23451. "type": "string"
  23452. },
  23453. "creatorid": {
  23454. "description": "创建人ID",
  23455. "type": "string"
  23456. },
  23457. "creatorsrc": {
  23458. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  23459. "type": "integer"
  23460. },
  23461. "enumdicname": {
  23462. "description": "单位名称",
  23463. "type": "string"
  23464. },
  23465. "goodscode": {
  23466. "description": "合约代码",
  23467. "type": "string"
  23468. },
  23469. "goodsgroupid": {
  23470. "description": "对冲品种ID[期货合约商品组ID]",
  23471. "type": "integer"
  23472. },
  23473. "goodsid": {
  23474. "description": "商品ID",
  23475. "type": "integer"
  23476. },
  23477. "goodsname": {
  23478. "description": "合约名称",
  23479. "type": "string"
  23480. },
  23481. "hedgeflag": {
  23482. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  23483. "type": "integer"
  23484. },
  23485. "linkdetailid": {
  23486. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  23487. "type": "string"
  23488. },
  23489. "linkstatus": {
  23490. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  23491. "type": "integer"
  23492. },
  23493. "middlegoodscode": {
  23494. "description": "套保品种代码",
  23495. "type": "string"
  23496. },
  23497. "middlegoodsid": {
  23498. "description": "套保品种ID",
  23499. "type": "integer"
  23500. },
  23501. "middlegoodsname": {
  23502. "description": "套保品种名称",
  23503. "type": "string"
  23504. },
  23505. "relatedlot": {
  23506. "description": "关联手数",
  23507. "type": "number"
  23508. },
  23509. "relatedmode": {
  23510. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  23511. "type": "integer"
  23512. },
  23513. "relatedqty": {
  23514. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  23515. "type": "number"
  23516. },
  23517. "retcode": {
  23518. "description": "返回码",
  23519. "type": "integer"
  23520. },
  23521. "saleuserid": {
  23522. "description": "业务员ID",
  23523. "type": "string"
  23524. },
  23525. "spotcontractid": {
  23526. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  23527. "type": "string"
  23528. },
  23529. "taname": {
  23530. "description": "期货账户",
  23531. "type": "string"
  23532. },
  23533. "tradedate": {
  23534. "description": "关联交易日(yyyyMMdd)",
  23535. "type": "string"
  23536. },
  23537. "tradeid": {
  23538. "description": "期货订单号 | 内部成交单ID",
  23539. "type": "string"
  23540. },
  23541. "tradelot": {
  23542. "description": "成交数量 | 成交手数",
  23543. "type": "integer"
  23544. },
  23545. "tradeprice": {
  23546. "description": "成交价格",
  23547. "type": "number"
  23548. },
  23549. "tradetime": {
  23550. "description": "期货成交时间",
  23551. "type": "string"
  23552. },
  23553. "tradetradedate": {
  23554. "description": "成交交易日(yyyyMMdd)",
  23555. "type": "string"
  23556. },
  23557. "username": {
  23558. "description": "用户名称",
  23559. "type": "string"
  23560. }
  23561. }
  23562. },
  23563. "models.Ermcp3Wrstandard": {
  23564. "type": "object",
  23565. "properties": {
  23566. "areauserid": {
  23567. "description": "所属机构",
  23568. "type": "integer"
  23569. },
  23570. "cantrade": {
  23571. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  23572. "type": "integer"
  23573. },
  23574. "convertfactor": {
  23575. "description": "标仓系数",
  23576. "type": "number"
  23577. },
  23578. "createtime": {
  23579. "description": "创建时间",
  23580. "type": "string"
  23581. },
  23582. "creatorid": {
  23583. "description": "创建人",
  23584. "type": "integer"
  23585. },
  23586. "deliverygoodsid": {
  23587. "description": "现货品种ID",
  23588. "type": "integer"
  23589. },
  23590. "enumdicname": {
  23591. "description": "品类单位名称",
  23592. "type": "string"
  23593. },
  23594. "isvalid": {
  23595. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  23596. "type": "integer"
  23597. },
  23598. "minivalue": {
  23599. "description": "最小变动值",
  23600. "type": "integer"
  23601. },
  23602. "minivaluedp": {
  23603. "description": "最小变动值小数位",
  23604. "type": "integer"
  23605. },
  23606. "realminivalue": {
  23607. "description": "实际最小变动值",
  23608. "type": "integer"
  23609. },
  23610. "realminivaluedp": {
  23611. "description": "实际最小变动值小数位",
  23612. "type": "integer"
  23613. },
  23614. "remark": {
  23615. "description": "备注",
  23616. "type": "string"
  23617. },
  23618. "unitid": {
  23619. "description": "品类单位ID",
  23620. "type": "integer"
  23621. },
  23622. "updatetime": {
  23623. "description": "更新时间",
  23624. "type": "string"
  23625. },
  23626. "wrstandardcode": {
  23627. "description": "品类代码",
  23628. "type": "string"
  23629. },
  23630. "wrstandardid": {
  23631. "description": "品类ID(SEQ_WRSTANDARD)",
  23632. "type": "integer"
  23633. },
  23634. "wrstandardname": {
  23635. "description": "品类名称",
  23636. "type": "string"
  23637. }
  23638. }
  23639. },
  23640. "models.ErmcpBizGroupEx": {
  23641. "type": "object",
  23642. "properties": {
  23643. "acclist": {
  23644. "description": "账号列表",
  23645. "type": "array",
  23646. "items": {
  23647. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  23648. }
  23649. },
  23650. "bizgroupid": {
  23651. "description": "业务分组id",
  23652. "type": "integer"
  23653. },
  23654. "biztype": {
  23655. "description": "业务类型 1-套保 2-套利",
  23656. "type": "integer"
  23657. },
  23658. "wrlist": {
  23659. "description": "现货商品表",
  23660. "type": "array",
  23661. "items": {
  23662. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  23663. }
  23664. }
  23665. }
  23666. },
  23667. "models.ErmcpBizGroupSpotGoods": {
  23668. "type": "object",
  23669. "properties": {
  23670. "areauserid": {
  23671. "description": "所属机构id",
  23672. "type": "integer"
  23673. },
  23674. "bizgroupid": {
  23675. "description": "分组id",
  23676. "type": "integer"
  23677. },
  23678. "biztype": {
  23679. "description": "业务类型 1-套保 2-套利",
  23680. "type": "integer"
  23681. },
  23682. "deliverygoodscode": {
  23683. "description": "现货商品代码",
  23684. "type": "string"
  23685. },
  23686. "deliverygoodsid": {
  23687. "description": "现货商品id",
  23688. "type": "integer"
  23689. },
  23690. "deliverygoodsname": {
  23691. "description": "现货商品名称",
  23692. "type": "string"
  23693. },
  23694. "unitid": {
  23695. "description": "现货商品单位id",
  23696. "type": "integer"
  23697. }
  23698. }
  23699. },
  23700. "models.ErmcpBizGroupTaAccount": {
  23701. "type": "object",
  23702. "properties": {
  23703. "accountid": {
  23704. "description": "账号id",
  23705. "type": "integer"
  23706. },
  23707. "accountname": {
  23708. "description": "账号名称",
  23709. "type": "string"
  23710. },
  23711. "areauserid": {
  23712. "description": "所属机构id",
  23713. "type": "integer"
  23714. },
  23715. "bizgroupid": {
  23716. "description": "业务分组id",
  23717. "type": "integer"
  23718. },
  23719. "ismain": {
  23720. "description": "是否主账号 1-是 0-否",
  23721. "type": "integer"
  23722. }
  23723. }
  23724. },
  23725. "models.ErmcpDGFactoryItem": {
  23726. "type": "object",
  23727. "properties": {
  23728. "areauserid": {
  23729. "description": "用户id",
  23730. "type": "integer"
  23731. },
  23732. "deliverygoodsid": {
  23733. "description": "现货品种ID",
  23734. "type": "integer"
  23735. },
  23736. "dgfactoryitemid": {
  23737. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  23738. "type": "integer"
  23739. },
  23740. "dgfactoryitemtypeid": {
  23741. "description": "要素项类型",
  23742. "type": "integer"
  23743. },
  23744. "dgfactoryitemvalue": {
  23745. "description": "要素项值(类型为仓库时填写仓库名称)",
  23746. "type": "string"
  23747. },
  23748. "isvalid": {
  23749. "description": "是否有效 - 0:无效 1:有效",
  23750. "type": "integer"
  23751. },
  23752. "orderindex": {
  23753. "description": "顺序",
  23754. "type": "integer"
  23755. },
  23756. "warehouseid": {
  23757. "description": "仓库ID(类型为仓库时填写)",
  23758. "type": "integer"
  23759. }
  23760. }
  23761. },
  23762. "models.ErmcpDeliveryGoods": {
  23763. "type": "object",
  23764. "properties": {
  23765. "agreeunit": {
  23766. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  23767. "type": "integer"
  23768. },
  23769. "areauserid": {
  23770. "description": "所属机构",
  23771. "type": "integer"
  23772. },
  23773. "auditflag": {
  23774. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  23775. "type": "integer"
  23776. },
  23777. "categoryid": {
  23778. "description": "类别ID(SEQ_WRCATEGORY)",
  23779. "type": "integer"
  23780. },
  23781. "deliverygoodscode": {
  23782. "description": "现货品种代码",
  23783. "type": "string"
  23784. },
  23785. "deliverygoodsid": {
  23786. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  23787. "type": "integer"
  23788. },
  23789. "deliverygoodsname": {
  23790. "description": "现货品种名称",
  23791. "type": "string"
  23792. },
  23793. "deliverygoodstype": {
  23794. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  23795. "type": "integer"
  23796. },
  23797. "dgstatus": {
  23798. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  23799. "type": "integer"
  23800. },
  23801. "enumdicname": {
  23802. "description": "现货品种单位名称",
  23803. "type": "string"
  23804. },
  23805. "goodsunitid": {
  23806. "description": "现货品种单位ID",
  23807. "type": "integer"
  23808. },
  23809. "isvalid": {
  23810. "description": "是否有效 - 0:无效 1:有效",
  23811. "type": "integer"
  23812. },
  23813. "qtydecimalplace": {
  23814. "description": "成交量小数位",
  23815. "type": "integer"
  23816. },
  23817. "remark": {
  23818. "description": "备注",
  23819. "type": "string"
  23820. },
  23821. "standardqty": {
  23822. "description": "标准数量(库位数量) [标准品特有]",
  23823. "type": "integer"
  23824. },
  23825. "standardqtyrange": {
  23826. "description": "标准数量偏差范围 [标准品特有]",
  23827. "type": "integer"
  23828. }
  23829. }
  23830. },
  23831. "models.ErmcpFuturesCompany": {
  23832. "type": "object",
  23833. "properties": {
  23834. "brokerid": {
  23835. "description": "经纪公司代码",
  23836. "type": "string"
  23837. },
  23838. "channeladdress": {
  23839. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  23840. "type": "string"
  23841. },
  23842. "channelid": {
  23843. "description": "对冲渠道ID",
  23844. "type": "string"
  23845. },
  23846. "createtime": {
  23847. "description": "创建时间",
  23848. "type": "string"
  23849. },
  23850. "creatorid": {
  23851. "description": "创建人",
  23852. "type": "string"
  23853. },
  23854. "fcid": {
  23855. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  23856. "type": "integer"
  23857. },
  23858. "fcname": {
  23859. "description": "期货公司名称",
  23860. "type": "string"
  23861. },
  23862. "isvalid": {
  23863. "description": "是否有效 - 0:无效 1:有效",
  23864. "type": "integer"
  23865. },
  23866. "mhpaddress": {
  23867. "description": "MHP服务地址(IP:Port)",
  23868. "type": "string"
  23869. },
  23870. "riskrulegroupid": {
  23871. "description": "风控规则组ID",
  23872. "type": "string"
  23873. },
  23874. "tradefeetmpid": {
  23875. "description": "手续费模板ID[TradeConfigTmpType为2]",
  23876. "type": "string"
  23877. },
  23878. "trademargintmpid": {
  23879. "description": "保证金模板ID [TradeConfigTmpType为1]",
  23880. "type": "string"
  23881. },
  23882. "traderatetmpid": {
  23883. "description": "汇率模板ID[TradeConfigTmpType为3]",
  23884. "type": "string"
  23885. },
  23886. "updatetime": {
  23887. "description": "更新时间",
  23888. "type": "string"
  23889. },
  23890. "updatorid": {
  23891. "description": "更新人",
  23892. "type": "string"
  23893. }
  23894. }
  23895. },
  23896. "models.ErmcpGGConvertCfg": {
  23897. "type": "object",
  23898. "properties": {
  23899. "convertratio": {
  23900. "description": "折算系数",
  23901. "type": "number"
  23902. },
  23903. "destgoodsgroupid": {
  23904. "description": "目标品种ID",
  23905. "type": "integer"
  23906. },
  23907. "dstcode": {
  23908. "description": "目录品种代码",
  23909. "type": "string"
  23910. },
  23911. "dstexchangecode": {
  23912. "description": "目标期货交易所",
  23913. "type": "string"
  23914. },
  23915. "dstname": {
  23916. "description": "目标品种名称",
  23917. "type": "string"
  23918. },
  23919. "dstunitid": {
  23920. "description": "目标品种单位ID",
  23921. "type": "integer"
  23922. },
  23923. "dstunitidname": {
  23924. "description": "目标品种单位名称",
  23925. "type": "string"
  23926. },
  23927. "modifytime": {
  23928. "description": "修改时间",
  23929. "type": "string"
  23930. },
  23931. "srccode": {
  23932. "description": "源品种代码",
  23933. "type": "string"
  23934. },
  23935. "srcexchangecode": {
  23936. "description": "源期货交易所",
  23937. "type": "string"
  23938. },
  23939. "srcgoodsgroupid": {
  23940. "description": "源品种ID",
  23941. "type": "integer"
  23942. },
  23943. "srcname": {
  23944. "description": "源品种名称",
  23945. "type": "string"
  23946. },
  23947. "srcunitid": {
  23948. "description": "源品种单位ID",
  23949. "type": "integer"
  23950. },
  23951. "srcunitidname": {
  23952. "description": "源品种单位名称",
  23953. "type": "string"
  23954. }
  23955. }
  23956. },
  23957. "models.ErmcpGoods": {
  23958. "type": "object",
  23959. "required": [
  23960. "goodscode",
  23961. "goodsid",
  23962. "goodsname",
  23963. "marketid"
  23964. ],
  23965. "properties": {
  23966. "agreeunit": {
  23967. "description": "合约单位",
  23968. "type": "number"
  23969. },
  23970. "areauserid": {
  23971. "description": "所属机构",
  23972. "type": "integer"
  23973. },
  23974. "auditaccountid": {
  23975. "description": "审核操作员账号",
  23976. "type": "integer"
  23977. },
  23978. "audittime": {
  23979. "description": "审核时间",
  23980. "type": "string"
  23981. },
  23982. "cancelaccountid": {
  23983. "description": "注销操作员账号",
  23984. "type": "integer"
  23985. },
  23986. "canceltime": {
  23987. "description": "注销时间",
  23988. "type": "string"
  23989. },
  23990. "closepricemode": {
  23991. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23992. "type": "integer"
  23993. },
  23994. "closepriceparam": {
  23995. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  23996. "type": "number"
  23997. },
  23998. "createtime": {
  23999. "description": "创建时间",
  24000. "type": "string"
  24001. },
  24002. "creatorid": {
  24003. "description": "创建人",
  24004. "type": "integer"
  24005. },
  24006. "currencyid": {
  24007. "description": "报价货币ID",
  24008. "type": "integer"
  24009. },
  24010. "cutmode": {
  24011. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  24012. "type": "integer"
  24013. },
  24014. "decimalplace": {
  24015. "description": "报价小数位",
  24016. "type": "integer"
  24017. },
  24018. "delistingdate": {
  24019. "description": "商品退市时间(状态:退市) -- 已作废",
  24020. "type": "string"
  24021. },
  24022. "delistingmode": {
  24023. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  24024. "type": "integer"
  24025. },
  24026. "deliveryflag": {
  24027. "description": "交割标志 - 0:不可交割 1:可交割",
  24028. "type": "integer"
  24029. },
  24030. "enumdicname": {
  24031. "description": "单位名称",
  24032. "type": "string"
  24033. },
  24034. "forceclosemode": {
  24035. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  24036. "type": "integer"
  24037. },
  24038. "forceclosevalue": {
  24039. "description": "定期强平参数 [收益权]",
  24040. "type": "integer"
  24041. },
  24042. "goodscode": {
  24043. "description": "商品代码(内部)",
  24044. "type": "string"
  24045. },
  24046. "goodscurrencyid": {
  24047. "description": "合约货币ID",
  24048. "type": "integer"
  24049. },
  24050. "goodsgroupid": {
  24051. "description": "所属商品组ID",
  24052. "type": "integer"
  24053. },
  24054. "goodsid": {
  24055. "description": "商品ID(自增ID SEQ_GOODS)",
  24056. "type": "integer"
  24057. },
  24058. "goodsname": {
  24059. "description": "商品名称",
  24060. "type": "string"
  24061. },
  24062. "goodsquotetype": {
  24063. "description": "合约报价类型: 1-直接报价 2-间接报价",
  24064. "type": "integer"
  24065. },
  24066. "goodsstatus": {
  24067. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  24068. "type": "integer"
  24069. },
  24070. "goodstradetype": {
  24071. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  24072. "type": "integer"
  24073. },
  24074. "goodunitid": {
  24075. "description": "报价单位ID",
  24076. "type": "integer"
  24077. },
  24078. "hasquoter": {
  24079. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  24080. "type": "integer"
  24081. },
  24082. "hqprotecttime": {
  24083. "description": "行情保护时间(秒)",
  24084. "type": "integer"
  24085. },
  24086. "innerdealmode": {
  24087. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24088. "type": "integer"
  24089. },
  24090. "isbuylimited": {
  24091. "description": "是否限制建仓量 - 0:不限制 1:限制",
  24092. "type": "integer"
  24093. },
  24094. "isvisible": {
  24095. "description": "游客是否可见 - 0:不可见 1:可见",
  24096. "type": "integer"
  24097. },
  24098. "lasttradedate": {
  24099. "description": "最后交易日期(状态:待退市)",
  24100. "type": "string"
  24101. },
  24102. "listingdate": {
  24103. "description": "交易开始日期",
  24104. "type": "string"
  24105. },
  24106. "marketid": {
  24107. "description": "所属市场ID",
  24108. "type": "integer"
  24109. },
  24110. "modifierid": {
  24111. "description": "修改人",
  24112. "type": "integer"
  24113. },
  24114. "modifystatus": {
  24115. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  24116. "type": "integer"
  24117. },
  24118. "modifytime": {
  24119. "description": "修改时间",
  24120. "type": "string"
  24121. },
  24122. "outerdealmode": {
  24123. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24124. "type": "integer"
  24125. },
  24126. "outgoodscode": {
  24127. "description": "商品代码(外部)",
  24128. "type": "string"
  24129. },
  24130. "pictureurl": {
  24131. "description": "商品图片",
  24132. "type": "string"
  24133. },
  24134. "qtydecimalplace": {
  24135. "description": "成交量小数位",
  24136. "type": "integer"
  24137. },
  24138. "quotegear": {
  24139. "description": "行情档位(1-10)",
  24140. "type": "integer"
  24141. },
  24142. "quoteminunit": {
  24143. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24144. "type": "integer"
  24145. },
  24146. "quoteshowtype": {
  24147. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  24148. "type": "integer"
  24149. },
  24150. "quoteshowtypeinterval": {
  24151. "description": "行情报价间隔时间(秒)(成交价时为0)",
  24152. "type": "integer"
  24153. },
  24154. "relatedgoodsid": {
  24155. "description": "关联参考商品ID",
  24156. "type": "integer"
  24157. },
  24158. "remark": {
  24159. "description": "备注",
  24160. "type": "string"
  24161. },
  24162. "trademode": {
  24163. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24164. "type": "integer"
  24165. }
  24166. }
  24167. },
  24168. "models.ErmcpGoodsBrand": {
  24169. "type": "object",
  24170. "properties": {
  24171. "areauserid": {
  24172. "description": "所属机构",
  24173. "type": "integer"
  24174. },
  24175. "brandid": {
  24176. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  24177. "type": "integer"
  24178. },
  24179. "brandname": {
  24180. "description": "品牌名称",
  24181. "type": "string"
  24182. },
  24183. "createtime": {
  24184. "description": "创建时间",
  24185. "type": "string"
  24186. },
  24187. "creatorid": {
  24188. "description": "创建人",
  24189. "type": "integer"
  24190. },
  24191. "creatorsrc": {
  24192. "description": "创建人来源 - 1:管理端 2:终端",
  24193. "type": "integer"
  24194. },
  24195. "deliverygoodsid": {
  24196. "description": "现货品种ID",
  24197. "type": "integer"
  24198. },
  24199. "isvalid": {
  24200. "description": "是否有效 - 0:无效 1:有效",
  24201. "type": "integer"
  24202. },
  24203. "updatetime": {
  24204. "description": "更新时间",
  24205. "type": "string"
  24206. },
  24207. "updatorid": {
  24208. "description": "更新人",
  24209. "type": "integer"
  24210. },
  24211. "updatorsrc": {
  24212. "description": "更新人来源 - 1:管理端 2:终端",
  24213. "type": "integer"
  24214. },
  24215. "wrstandardid": {
  24216. "description": "现货商品ID",
  24217. "type": "integer"
  24218. }
  24219. }
  24220. },
  24221. "models.ErmcpGoodsModel": {
  24222. "type": "object",
  24223. "properties": {
  24224. "areauserid": {
  24225. "description": "所属机构",
  24226. "type": "integer"
  24227. },
  24228. "convertfactor": {
  24229. "description": "标仓系数",
  24230. "type": "number"
  24231. },
  24232. "createtime": {
  24233. "description": "创建时间",
  24234. "type": "string"
  24235. },
  24236. "creatorid": {
  24237. "description": "创建人",
  24238. "type": "integer"
  24239. },
  24240. "creatorsrc": {
  24241. "description": "创建人来源 - 1:管理端 2:终端",
  24242. "type": "integer"
  24243. },
  24244. "deliverygoodsid": {
  24245. "description": "现货品种ID",
  24246. "type": "integer"
  24247. },
  24248. "isvalid": {
  24249. "description": "是否有效 - 0:无效 1:有效",
  24250. "type": "integer"
  24251. },
  24252. "modelid": {
  24253. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  24254. "type": "integer"
  24255. },
  24256. "modelname": {
  24257. "description": "型号名称",
  24258. "type": "string"
  24259. },
  24260. "updatetime": {
  24261. "description": "更新时间",
  24262. "type": "string"
  24263. },
  24264. "updatorid": {
  24265. "description": "更新人",
  24266. "type": "integer"
  24267. },
  24268. "updatorsrc": {
  24269. "description": "更新人来源 - 1:管理端 2:终端",
  24270. "type": "integer"
  24271. },
  24272. "wrstandardid": {
  24273. "description": "现货商品ID",
  24274. "type": "integer"
  24275. }
  24276. }
  24277. },
  24278. "models.ErmcpHisExposure": {
  24279. "type": "object",
  24280. "properties": {
  24281. "needhedgeexposoure": {
  24282. "description": "应套保敞口",
  24283. "type": "number"
  24284. },
  24285. "reckondate": {
  24286. "description": "日照时期(yyyyMMdd)",
  24287. "type": "string"
  24288. },
  24289. "totalexposure": {
  24290. "description": "总敞口",
  24291. "type": "number"
  24292. }
  24293. }
  24294. },
  24295. "models.ErmcpLoginTaAccount": {
  24296. "type": "object",
  24297. "properties": {
  24298. "accountid": {
  24299. "description": "账号id",
  24300. "type": "integer"
  24301. },
  24302. "accountname": {
  24303. "description": "账号名称",
  24304. "type": "string"
  24305. }
  24306. }
  24307. },
  24308. "models.ErmcpLoginUser": {
  24309. "type": "object",
  24310. "properties": {
  24311. "acclist": {
  24312. "description": "关联资金账号",
  24313. "type": "array",
  24314. "items": {
  24315. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  24316. }
  24317. },
  24318. "accountname": {
  24319. "description": "用户名称",
  24320. "type": "string"
  24321. },
  24322. "clientroleid": {
  24323. "description": "角色id(usertype=2)",
  24324. "type": "integer"
  24325. },
  24326. "createtime": {
  24327. "description": "创建时间",
  24328. "type": "string"
  24329. },
  24330. "logincode": {
  24331. "description": "登录代码",
  24332. "type": "string"
  24333. },
  24334. "loginid": {
  24335. "description": "登录id(LOGINID)",
  24336. "type": "integer"
  24337. },
  24338. "loginname": {
  24339. "description": "登录名称(loginaccount表中的accountname字段)",
  24340. "type": "string"
  24341. },
  24342. "loginstatus": {
  24343. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  24344. "type": "integer"
  24345. },
  24346. "memberuserid": {
  24347. "description": "所属会员id",
  24348. "type": "integer"
  24349. },
  24350. "mobile": {
  24351. "description": "手机号",
  24352. "type": "string"
  24353. },
  24354. "modifytime": {
  24355. "description": "修改时间",
  24356. "type": "string"
  24357. },
  24358. "password": {
  24359. "description": "密码(不可解密)",
  24360. "type": "string"
  24361. },
  24362. "rolename": {
  24363. "description": "角色名称",
  24364. "type": "string"
  24365. },
  24366. "rolestatus": {
  24367. "description": "角色状态 1-启用 2-停用",
  24368. "type": "integer"
  24369. },
  24370. "roletype": {
  24371. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  24372. "type": "string"
  24373. },
  24374. "userid": {
  24375. "description": "用户id",
  24376. "type": "integer"
  24377. },
  24378. "usertype": {
  24379. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24380. "type": "integer"
  24381. }
  24382. }
  24383. },
  24384. "models.ErmcpLoginUserEx": {
  24385. "type": "object",
  24386. "properties": {
  24387. "accountstatus": {
  24388. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  24389. "type": "integer"
  24390. },
  24391. "mobile": {
  24392. "description": "手机号",
  24393. "type": "string"
  24394. },
  24395. "querytype": {
  24396. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  24397. "type": "integer"
  24398. },
  24399. "roleid": {
  24400. "description": "角色id(交易账户-\u003e用户id)",
  24401. "type": "integer"
  24402. },
  24403. "rolename": {
  24404. "description": "角色名称(交易账户-\u003e用户名称)",
  24405. "type": "string"
  24406. },
  24407. "userlist": {
  24408. "description": "用户列表",
  24409. "type": "array",
  24410. "items": {
  24411. "$ref": "#/definitions/models.ErmcpLoginUser"
  24412. }
  24413. },
  24414. "usertype": {
  24415. "description": "用户类型 2-机构 7-企业成员(云平台)",
  24416. "type": "integer"
  24417. }
  24418. }
  24419. },
  24420. "models.ErmcpMiddleGoodsModel": {
  24421. "type": "object",
  24422. "properties": {
  24423. "areauserid": {
  24424. "description": "机构用户ID",
  24425. "type": "integer"
  24426. },
  24427. "createtime": {
  24428. "description": "修改时间",
  24429. "type": "string"
  24430. },
  24431. "enumdicname": {
  24432. "description": "单位名称",
  24433. "type": "string"
  24434. },
  24435. "evaluateratio": {
  24436. "description": "估价系数",
  24437. "type": "number"
  24438. },
  24439. "goodsgroupid": {
  24440. "description": "关联期货品种ID",
  24441. "type": "integer"
  24442. },
  24443. "goodsunitid": {
  24444. "description": "单位ID",
  24445. "type": "integer"
  24446. },
  24447. "isvalid": {
  24448. "description": "状态 0-无效(停用) 1-有效(正常)",
  24449. "type": "integer"
  24450. },
  24451. "middlegoodscode": {
  24452. "description": "套保品种代码",
  24453. "type": "string"
  24454. },
  24455. "middlegoodsid": {
  24456. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  24457. "type": "integer"
  24458. },
  24459. "middlegoodsname": {
  24460. "description": "套保品种名称",
  24461. "type": "string"
  24462. },
  24463. "modifytime": {
  24464. "description": "修改时间",
  24465. "type": "string"
  24466. },
  24467. "needarbitrageratio": {
  24468. "description": "套利比例",
  24469. "type": "number"
  24470. },
  24471. "needhedgeratio": {
  24472. "description": "套保比率",
  24473. "type": "number"
  24474. },
  24475. "qtydecimalplace": {
  24476. "description": "数量小数位",
  24477. "type": "integer"
  24478. },
  24479. "relatedgoodsid": {
  24480. "description": "关联交易商品ID",
  24481. "type": "integer"
  24482. },
  24483. "relatedgoodstype": {
  24484. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  24485. "type": "integer"
  24486. },
  24487. "remark": {
  24488. "description": "备注",
  24489. "type": "string"
  24490. }
  24491. }
  24492. },
  24493. "models.ErmcpMiddlegoodsRelateGoods": {
  24494. "type": "object",
  24495. "properties": {
  24496. "agreeunit": {
  24497. "description": "合约乘数",
  24498. "type": "number"
  24499. },
  24500. "convertratio": {
  24501. "description": "折算系数",
  24502. "type": "number"
  24503. },
  24504. "enumdicname": {
  24505. "description": "单位名称(交易商品)",
  24506. "type": "string"
  24507. },
  24508. "goodscode": {
  24509. "description": "交易商品代码",
  24510. "type": "string"
  24511. },
  24512. "goodsgroupid": {
  24513. "description": "交易品种id",
  24514. "type": "integer"
  24515. },
  24516. "goodsid": {
  24517. "description": "商品Id",
  24518. "type": "integer"
  24519. },
  24520. "goodsname": {
  24521. "description": "交易商品名称",
  24522. "type": "string"
  24523. },
  24524. "goodunitid": {
  24525. "description": "交易商品单位id",
  24526. "type": "integer"
  24527. },
  24528. "middlegoodsid": {
  24529. "description": "套保商品id",
  24530. "type": "integer"
  24531. },
  24532. "middlegoodsname": {
  24533. "description": "套保商品名称",
  24534. "type": "string"
  24535. },
  24536. "middlegoodsswcode": {
  24537. "description": "套保商品代码",
  24538. "type": "string"
  24539. },
  24540. "needarbitrageratio": {
  24541. "description": "应套利比例",
  24542. "type": "number"
  24543. },
  24544. "needhedgeratio": {
  24545. "description": "应套保比例",
  24546. "type": "number"
  24547. }
  24548. }
  24549. },
  24550. "models.ErmcpRole": {
  24551. "type": "object",
  24552. "properties": {
  24553. "areauserid": {
  24554. "description": "所属机构",
  24555. "type": "integer"
  24556. },
  24557. "autoid": {
  24558. "description": "角色ID(自增ID)",
  24559. "type": "integer"
  24560. },
  24561. "modifierid": {
  24562. "description": "修改人(创建人)",
  24563. "type": "integer"
  24564. },
  24565. "modifiername": {
  24566. "description": "修改人名称",
  24567. "type": "string"
  24568. },
  24569. "modifytime": {
  24570. "description": "修改时间(创建时间)",
  24571. "type": "string"
  24572. },
  24573. "rolename": {
  24574. "description": "角色名称",
  24575. "type": "string"
  24576. },
  24577. "rolestatus": {
  24578. "description": "角色状态 - 1:启用 2:停用",
  24579. "type": "integer"
  24580. },
  24581. "roletype": {
  24582. "description": "角色类型 - 1- 管理端 2- 交易端",
  24583. "type": "integer"
  24584. }
  24585. }
  24586. },
  24587. "models.ErmcpRoleMenu": {
  24588. "type": "object",
  24589. "properties": {
  24590. "iconame": {
  24591. "description": "菜单图标",
  24592. "type": "string"
  24593. },
  24594. "ishadrole": {
  24595. "description": "是否有权限",
  24596. "type": "boolean"
  24597. },
  24598. "menutype": {
  24599. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  24600. "type": "integer"
  24601. },
  24602. "parentcode": {
  24603. "description": "上级资源代码",
  24604. "type": "string"
  24605. },
  24606. "remark": {
  24607. "description": "菜单备注",
  24608. "type": "string"
  24609. },
  24610. "resourcecode": {
  24611. "description": "菜单代码",
  24612. "type": "string"
  24613. },
  24614. "resourcelevel": {
  24615. "description": "级别",
  24616. "type": "integer"
  24617. },
  24618. "resourcename": {
  24619. "description": "菜单名称",
  24620. "type": "string"
  24621. },
  24622. "roleid": {
  24623. "description": "角色id",
  24624. "type": "integer"
  24625. },
  24626. "sort": {
  24627. "description": "排序",
  24628. "type": "integer"
  24629. },
  24630. "url": {
  24631. "description": "URL",
  24632. "type": "string"
  24633. },
  24634. "userid": {
  24635. "description": "用户id",
  24636. "type": "integer"
  24637. }
  24638. }
  24639. },
  24640. "models.ErmcpRoleMenuEx": {
  24641. "type": "object",
  24642. "properties": {
  24643. "menu": {
  24644. "description": "父级菜单",
  24645. "$ref": "#/definitions/models.ErmcpRoleMenu"
  24646. },
  24647. "subMenu": {
  24648. "description": "子级菜单",
  24649. "type": "array",
  24650. "items": {
  24651. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  24652. }
  24653. }
  24654. }
  24655. },
  24656. "models.ErmcpTaAccount": {
  24657. "type": "object",
  24658. "properties": {
  24659. "accountid": {
  24660. "description": "账户id",
  24661. "type": "integer"
  24662. },
  24663. "accountname": {
  24664. "description": "账户名称",
  24665. "type": "string"
  24666. },
  24667. "currencyid": {
  24668. "description": "币种id",
  24669. "type": "integer"
  24670. },
  24671. "hedgeaccountcode": {
  24672. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24673. "type": "string"
  24674. },
  24675. "ismain": {
  24676. "description": "是否主账户 0-否 1-是",
  24677. "type": "integer"
  24678. },
  24679. "parentaccountid": {
  24680. "description": "父账户id",
  24681. "type": "integer"
  24682. },
  24683. "relateduserid": {
  24684. "description": "关联userid",
  24685. "type": "integer"
  24686. },
  24687. "tradefeetmpid": {
  24688. "description": "手续费模板id",
  24689. "type": "integer"
  24690. },
  24691. "tradefeetmpname": {
  24692. "description": "手续费模板名称",
  24693. "type": "string"
  24694. },
  24695. "trademargintmpid": {
  24696. "description": "保证金模板id",
  24697. "type": "integer"
  24698. },
  24699. "trademargintmpname": {
  24700. "description": "保证金模板名称",
  24701. "type": "string"
  24702. },
  24703. "traderatetmpid": {
  24704. "description": "汇率模板id",
  24705. "type": "integer"
  24706. },
  24707. "traderatetmpname": {
  24708. "description": "汇率模板名称",
  24709. "type": "string"
  24710. },
  24711. "tradestatus": {
  24712. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24713. "type": "integer"
  24714. },
  24715. "userid": {
  24716. "description": "用户id",
  24717. "type": "integer"
  24718. }
  24719. }
  24720. },
  24721. "models.ErmcpTaAccountEx": {
  24722. "type": "object",
  24723. "properties": {
  24724. "mainAcc": {
  24725. "description": "主账号",
  24726. "$ref": "#/definitions/models.ErmcpTaAccountM"
  24727. },
  24728. "subacclist": {
  24729. "description": "子账号列表",
  24730. "type": "array",
  24731. "items": {
  24732. "$ref": "#/definitions/models.ErmcpTaAccount"
  24733. }
  24734. }
  24735. }
  24736. },
  24737. "models.ErmcpTaAccountInfo": {
  24738. "type": "object",
  24739. "properties": {
  24740. "accountid": {
  24741. "description": "资金账户ID",
  24742. "type": "integer"
  24743. },
  24744. "accountname": {
  24745. "description": "账户名称",
  24746. "type": "string"
  24747. },
  24748. "balance": {
  24749. "description": "期初余额",
  24750. "type": "number"
  24751. },
  24752. "capitalbalance": {
  24753. "description": "本金余额[外部子账户实际出入金余额]",
  24754. "type": "number"
  24755. },
  24756. "closepl": {
  24757. "description": "今日平仓盈亏",
  24758. "type": "number"
  24759. },
  24760. "creditdecrease": {
  24761. "description": "今日授信减少",
  24762. "type": "number"
  24763. },
  24764. "creditincrease": {
  24765. "description": "今日授信增加",
  24766. "type": "number"
  24767. },
  24768. "curdebt": {
  24769. "description": "期末欠款",
  24770. "type": "number"
  24771. },
  24772. "currencyid": {
  24773. "description": "货币ID",
  24774. "type": "integer"
  24775. },
  24776. "currentbalance": {
  24777. "description": "期末余额",
  24778. "type": "number"
  24779. },
  24780. "freezecharge": {
  24781. "description": "手续费冻结",
  24782. "type": "number"
  24783. },
  24784. "freezemargin": {
  24785. "description": "冻结保证金",
  24786. "type": "number"
  24787. },
  24788. "fromaccountid": {
  24789. "description": "所属上级账户",
  24790. "type": "integer"
  24791. },
  24792. "inamount": {
  24793. "description": "今日入金金额(包括三方入金)",
  24794. "type": "number"
  24795. },
  24796. "ismain": {
  24797. "description": "是否母账号 0:不是母账户 1:是母账户",
  24798. "type": "integer"
  24799. },
  24800. "mortgagecredit": {
  24801. "description": "授信金额",
  24802. "type": "number"
  24803. },
  24804. "oridebt": {
  24805. "description": "期初欠款",
  24806. "type": "number"
  24807. },
  24808. "orifreezecharge": {
  24809. "description": "期初手续费冻结",
  24810. "type": "number"
  24811. },
  24812. "orifreezemargin": {
  24813. "description": "期初冻结保证金",
  24814. "type": "number"
  24815. },
  24816. "orimortgagecredit": {
  24817. "description": "期初授信金额",
  24818. "type": "number"
  24819. },
  24820. "oriothercredit": {
  24821. "description": "期初其它授信金额",
  24822. "type": "number"
  24823. },
  24824. "oriotherfreezemargin": {
  24825. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  24826. "type": "number"
  24827. },
  24828. "orioutamountfreeze": {
  24829. "description": "期初出金冻结",
  24830. "type": "number"
  24831. },
  24832. "oriusedmargin": {
  24833. "description": "期初占用保证金",
  24834. "type": "number"
  24835. },
  24836. "othercredit": {
  24837. "description": "其它授信金额",
  24838. "type": "number"
  24839. },
  24840. "othercreditdecrease": {
  24841. "description": "今日其它授信减少",
  24842. "type": "number"
  24843. },
  24844. "othercreditincrease": {
  24845. "description": "今日其它授信增加",
  24846. "type": "number"
  24847. },
  24848. "otherfreezemargin": {
  24849. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  24850. "type": "number"
  24851. },
  24852. "outamount": {
  24853. "description": "今日出金金额(包括三方出金)",
  24854. "type": "number"
  24855. },
  24856. "outamountfreeze": {
  24857. "description": "出金冻结",
  24858. "type": "number"
  24859. },
  24860. "outthreshold": {
  24861. "description": "出金阈值",
  24862. "type": "number"
  24863. },
  24864. "parentaccountid": {
  24865. "description": "所属根账号",
  24866. "type": "integer"
  24867. },
  24868. "paycharge": {
  24869. "description": "今日手续费支出",
  24870. "type": "number"
  24871. },
  24872. "relateduserid": {
  24873. "description": "关联用户",
  24874. "type": "integer"
  24875. },
  24876. "signstatus": {
  24877. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  24878. "type": "integer"
  24879. },
  24880. "sublevelpath": {
  24881. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  24882. "type": "string"
  24883. },
  24884. "taaccounttype": {
  24885. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  24886. "type": "integer"
  24887. },
  24888. "thirdinamount": {
  24889. "description": "今日三方入金",
  24890. "type": "number"
  24891. },
  24892. "thirdoutamount": {
  24893. "description": "今日三方出金",
  24894. "type": "number"
  24895. },
  24896. "tradestatus": {
  24897. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24898. "type": "integer"
  24899. },
  24900. "transferamount": {
  24901. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  24902. "type": "number"
  24903. },
  24904. "usedmargin": {
  24905. "description": "占用保证金",
  24906. "type": "number"
  24907. },
  24908. "userid": {
  24909. "description": "用户ID",
  24910. "type": "integer"
  24911. }
  24912. }
  24913. },
  24914. "models.ErmcpTaAccountM": {
  24915. "type": "object",
  24916. "properties": {
  24917. "accountid": {
  24918. "description": "账户id",
  24919. "type": "integer"
  24920. },
  24921. "accountname": {
  24922. "description": "账户名称",
  24923. "type": "string"
  24924. },
  24925. "currencyid": {
  24926. "description": "币种id",
  24927. "type": "integer"
  24928. },
  24929. "fcid": {
  24930. "description": "期货公司id",
  24931. "type": "integer"
  24932. },
  24933. "fcname": {
  24934. "description": "期货公司代码",
  24935. "type": "string"
  24936. },
  24937. "hedgeaccountcode": {
  24938. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24939. "type": "string"
  24940. },
  24941. "ismain": {
  24942. "description": "是否主账户 0-否 1-是",
  24943. "type": "integer"
  24944. },
  24945. "parentaccountid": {
  24946. "description": "父账户id",
  24947. "type": "integer"
  24948. },
  24949. "relateduserid": {
  24950. "description": "关联userid",
  24951. "type": "integer"
  24952. },
  24953. "tradefeetmpid": {
  24954. "description": "手续费模板id",
  24955. "type": "integer"
  24956. },
  24957. "tradefeetmpname": {
  24958. "description": "手续费模板名称",
  24959. "type": "string"
  24960. },
  24961. "trademargintmpid": {
  24962. "description": "保证金模板id",
  24963. "type": "integer"
  24964. },
  24965. "trademargintmpname": {
  24966. "description": "保证金模板名称",
  24967. "type": "string"
  24968. },
  24969. "traderatetmpid": {
  24970. "description": "汇率模板id",
  24971. "type": "integer"
  24972. },
  24973. "traderatetmpname": {
  24974. "description": "汇率模板名称",
  24975. "type": "string"
  24976. },
  24977. "tradestatus": {
  24978. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24979. "type": "integer"
  24980. },
  24981. "userid": {
  24982. "description": "用户id",
  24983. "type": "integer"
  24984. }
  24985. }
  24986. },
  24987. "models.ErmcpTradeConfigTMP": {
  24988. "type": "object",
  24989. "properties": {
  24990. "areauserid": {
  24991. "description": "所属机构",
  24992. "type": "integer"
  24993. },
  24994. "basiccurrencyid": {
  24995. "description": "基本币种ID[汇率] - 目标币种",
  24996. "type": "integer"
  24997. },
  24998. "mainaccountid": {
  24999. "description": "主账户ID",
  25000. "type": "integer"
  25001. },
  25002. "modifierid": {
  25003. "description": "修改人",
  25004. "type": "integer"
  25005. },
  25006. "remark": {
  25007. "description": "备注",
  25008. "type": "string"
  25009. },
  25010. "tradeconfigtmpid": {
  25011. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  25012. "type": "integer"
  25013. },
  25014. "tradeconfigtmpname": {
  25015. "description": "交易配置模板名称",
  25016. "type": "string"
  25017. },
  25018. "tradeconfigtmptype": {
  25019. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  25020. "type": "integer"
  25021. },
  25022. "updatetime": {
  25023. "description": "更新时间",
  25024. "type": "string"
  25025. }
  25026. }
  25027. },
  25028. "models.Externalexchange": {
  25029. "type": "object",
  25030. "required": [
  25031. "autoid"
  25032. ],
  25033. "properties": {
  25034. "autoid": {
  25035. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  25036. "type": "integer"
  25037. },
  25038. "exchangefullname": {
  25039. "description": "外部交易所全称",
  25040. "type": "string"
  25041. },
  25042. "exexchangecode": {
  25043. "description": "外部交易所代码",
  25044. "type": "string"
  25045. },
  25046. "exexchangename": {
  25047. "description": "外部交易所名称(简称)",
  25048. "type": "string"
  25049. },
  25050. "ismarketprice": {
  25051. "description": "是否支持市价 - 0:不支持 1:支持",
  25052. "type": "integer"
  25053. },
  25054. "quotegear": {
  25055. "description": "行情档位(1-10)",
  25056. "type": "integer"
  25057. },
  25058. "showbrokerflag": {
  25059. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  25060. "type": "integer"
  25061. },
  25062. "updatetime": {
  25063. "description": "更新时间",
  25064. "type": "string"
  25065. }
  25066. }
  25067. },
  25068. "models.Funcmenulist": {
  25069. "type": "object",
  25070. "required": [
  25071. "resourcecode"
  25072. ],
  25073. "properties": {
  25074. "iconame": {
  25075. "description": "菜单图标",
  25076. "type": "string"
  25077. },
  25078. "menutype": {
  25079. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  25080. "type": "integer"
  25081. },
  25082. "parentcode": {
  25083. "description": "上级资源代码",
  25084. "type": "string"
  25085. },
  25086. "remark": {
  25087. "description": "备注",
  25088. "type": "string"
  25089. },
  25090. "resourcecode": {
  25091. "description": "资源代码",
  25092. "type": "string"
  25093. },
  25094. "resourcelevel": {
  25095. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  25096. "type": "integer"
  25097. },
  25098. "resourcename": {
  25099. "description": "资源名",
  25100. "type": "string"
  25101. },
  25102. "sort": {
  25103. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  25104. "type": "integer"
  25105. },
  25106. "url": {
  25107. "description": "URL",
  25108. "type": "string"
  25109. }
  25110. }
  25111. },
  25112. "models.Goods": {
  25113. "type": "object",
  25114. "required": [
  25115. "goodscode",
  25116. "goodsid",
  25117. "goodsname",
  25118. "marketid"
  25119. ],
  25120. "properties": {
  25121. "agreeunit": {
  25122. "description": "合约单位",
  25123. "type": "number"
  25124. },
  25125. "areauserid": {
  25126. "description": "所属机构",
  25127. "type": "integer"
  25128. },
  25129. "auditaccountid": {
  25130. "description": "审核操作员账号",
  25131. "type": "integer"
  25132. },
  25133. "audittime": {
  25134. "description": "审核时间",
  25135. "type": "string"
  25136. },
  25137. "cancelaccountid": {
  25138. "description": "注销操作员账号",
  25139. "type": "integer"
  25140. },
  25141. "canceltime": {
  25142. "description": "注销时间",
  25143. "type": "string"
  25144. },
  25145. "closepricemode": {
  25146. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25147. "type": "integer"
  25148. },
  25149. "closepriceparam": {
  25150. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  25151. "type": "number"
  25152. },
  25153. "createtime": {
  25154. "description": "创建时间",
  25155. "type": "string"
  25156. },
  25157. "creatorid": {
  25158. "description": "创建人",
  25159. "type": "integer"
  25160. },
  25161. "currencyid": {
  25162. "description": "报价货币ID",
  25163. "type": "integer"
  25164. },
  25165. "cutmode": {
  25166. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  25167. "type": "integer"
  25168. },
  25169. "decimalplace": {
  25170. "description": "报价小数位",
  25171. "type": "integer"
  25172. },
  25173. "delistingdate": {
  25174. "description": "商品退市时间(状态:退市) -- 已作废",
  25175. "type": "string"
  25176. },
  25177. "delistingmode": {
  25178. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  25179. "type": "integer"
  25180. },
  25181. "deliveryflag": {
  25182. "description": "交割标志 - 0:不可交割 1:可交割",
  25183. "type": "integer"
  25184. },
  25185. "forceclosemode": {
  25186. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  25187. "type": "integer"
  25188. },
  25189. "forceclosevalue": {
  25190. "description": "定期强平参数 [收益权]",
  25191. "type": "integer"
  25192. },
  25193. "goodscode": {
  25194. "description": "商品代码(内部)",
  25195. "type": "string"
  25196. },
  25197. "goodscurrencyid": {
  25198. "description": "合约货币ID",
  25199. "type": "integer"
  25200. },
  25201. "goodsgroupid": {
  25202. "description": "所属商品组ID",
  25203. "type": "integer"
  25204. },
  25205. "goodsid": {
  25206. "description": "商品ID(自增ID SEQ_GOODS)",
  25207. "type": "integer"
  25208. },
  25209. "goodsname": {
  25210. "description": "商品名称",
  25211. "type": "string"
  25212. },
  25213. "goodsquotetype": {
  25214. "description": "合约报价类型: 1-直接报价 2-间接报价",
  25215. "type": "integer"
  25216. },
  25217. "goodsstatus": {
  25218. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  25219. "type": "integer"
  25220. },
  25221. "goodstradetype": {
  25222. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  25223. "type": "integer"
  25224. },
  25225. "goodunitid": {
  25226. "description": "报价单位ID",
  25227. "type": "integer"
  25228. },
  25229. "hasquoter": {
  25230. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  25231. "type": "integer"
  25232. },
  25233. "hqprotecttime": {
  25234. "description": "行情保护时间(秒)",
  25235. "type": "integer"
  25236. },
  25237. "innerdealmode": {
  25238. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25239. "type": "integer"
  25240. },
  25241. "isbuylimited": {
  25242. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25243. "type": "integer"
  25244. },
  25245. "isvisible": {
  25246. "description": "游客是否可见 - 0:不可见 1:可见",
  25247. "type": "integer"
  25248. },
  25249. "lasttradedate": {
  25250. "description": "最后交易日期(状态:待退市)",
  25251. "type": "string"
  25252. },
  25253. "listingdate": {
  25254. "description": "交易开始日期",
  25255. "type": "string"
  25256. },
  25257. "marketid": {
  25258. "description": "所属市场ID",
  25259. "type": "integer"
  25260. },
  25261. "modifierid": {
  25262. "description": "修改人",
  25263. "type": "integer"
  25264. },
  25265. "modifystatus": {
  25266. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  25267. "type": "integer"
  25268. },
  25269. "modifytime": {
  25270. "description": "修改时间",
  25271. "type": "string"
  25272. },
  25273. "outerdealmode": {
  25274. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25275. "type": "integer"
  25276. },
  25277. "outgoodscode": {
  25278. "description": "商品代码(外部)",
  25279. "type": "string"
  25280. },
  25281. "pictureurl": {
  25282. "description": "商品图片",
  25283. "type": "string"
  25284. },
  25285. "qtydecimalplace": {
  25286. "description": "成交量小数位",
  25287. "type": "integer"
  25288. },
  25289. "quotegear": {
  25290. "description": "行情档位(1-10)",
  25291. "type": "integer"
  25292. },
  25293. "quoteminunit": {
  25294. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25295. "type": "integer"
  25296. },
  25297. "quoteshowtype": {
  25298. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  25299. "type": "integer"
  25300. },
  25301. "quoteshowtypeinterval": {
  25302. "description": "行情报价间隔时间(秒)(成交价时为0)",
  25303. "type": "integer"
  25304. },
  25305. "remark": {
  25306. "description": "备注",
  25307. "type": "string"
  25308. }
  25309. }
  25310. },
  25311. "models.GoodsIDAndName": {
  25312. "type": "object",
  25313. "required": [
  25314. "goodscode",
  25315. "goodsid",
  25316. "goodsname",
  25317. "marketid"
  25318. ],
  25319. "properties": {
  25320. "goodscode": {
  25321. "description": "商品代码(内部)",
  25322. "type": "string"
  25323. },
  25324. "goodsid": {
  25325. "description": "商品ID(自增ID SEQ_GOODS)",
  25326. "type": "integer"
  25327. },
  25328. "goodsname": {
  25329. "description": "商品名称",
  25330. "type": "string"
  25331. },
  25332. "marketid": {
  25333. "description": "所属市场ID",
  25334. "type": "integer"
  25335. }
  25336. }
  25337. },
  25338. "models.Goodsgroup": {
  25339. "type": "object",
  25340. "required": [
  25341. "goodsgroupid",
  25342. "goodsgroupname",
  25343. "goodsgroupstatus",
  25344. "marketid"
  25345. ],
  25346. "properties": {
  25347. "agreeunit": {
  25348. "description": "合约单位",
  25349. "type": "number"
  25350. },
  25351. "canshort": {
  25352. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  25353. "type": "integer"
  25354. },
  25355. "closepricemode": {
  25356. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25357. "type": "integer"
  25358. },
  25359. "closepriceparam": {
  25360. "description": "强平最新价浮动比例 - 方式为2时使用",
  25361. "type": "number"
  25362. },
  25363. "createtime": {
  25364. "description": "创建时间",
  25365. "type": "string"
  25366. },
  25367. "creatorid": {
  25368. "description": "创建人",
  25369. "type": "integer"
  25370. },
  25371. "currencyid": {
  25372. "description": "报价货币ID",
  25373. "type": "integer"
  25374. },
  25375. "decimalplace": {
  25376. "description": "报价小数位",
  25377. "type": "integer"
  25378. },
  25379. "exercisetype": {
  25380. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  25381. "type": "integer"
  25382. },
  25383. "exexchangeid": {
  25384. "description": "外部交易所ID[通道交易]",
  25385. "type": "integer"
  25386. },
  25387. "goodsgroupid": {
  25388. "description": "商品组ID(自增ID)",
  25389. "type": "integer"
  25390. },
  25391. "goodsgroupname": {
  25392. "description": "商品组名称",
  25393. "type": "string"
  25394. },
  25395. "goodsgroupstatus": {
  25396. "description": "商品组状态 - 1:正常 2:注销",
  25397. "type": "integer"
  25398. },
  25399. "goodunitid": {
  25400. "description": "报价单位ID",
  25401. "type": "integer"
  25402. },
  25403. "innerdealmode": {
  25404. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25405. "type": "integer"
  25406. },
  25407. "isbuylimited": {
  25408. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25409. "type": "integer"
  25410. },
  25411. "marketid": {
  25412. "description": "所属市场ID",
  25413. "type": "integer"
  25414. },
  25415. "modifierid": {
  25416. "description": "修改人",
  25417. "type": "integer"
  25418. },
  25419. "modifytime": {
  25420. "description": "修改时间",
  25421. "type": "string"
  25422. },
  25423. "outerdealmode": {
  25424. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25425. "type": "integer"
  25426. },
  25427. "outergroupcode": {
  25428. "description": "外部商品组代码[通道交易]",
  25429. "type": "string"
  25430. },
  25431. "premiumdecimalplace": {
  25432. "description": "权利金小数位[场外期权]",
  25433. "type": "integer"
  25434. },
  25435. "premiumspreadalgorithm": {
  25436. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  25437. "type": "integer"
  25438. },
  25439. "premiumspreadvalue": {
  25440. "description": "权利金点差值[场外期权]",
  25441. "type": "number"
  25442. },
  25443. "qtydecimalplace": {
  25444. "description": "成交量小数位",
  25445. "type": "integer"
  25446. },
  25447. "quotegear": {
  25448. "description": "行情档位(1-10)",
  25449. "type": "integer"
  25450. },
  25451. "quoteminunit": {
  25452. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25453. "type": "integer"
  25454. },
  25455. "quoterid": {
  25456. "description": "报价商ID[场外期权]",
  25457. "type": "integer"
  25458. },
  25459. "quotesourcegroupid": {
  25460. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  25461. "type": "integer"
  25462. },
  25463. "syncgoodsqty": {
  25464. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  25465. "type": "integer"
  25466. }
  25467. }
  25468. },
  25469. "models.Goodssortbypreposition": {
  25470. "type": "object",
  25471. "required": [
  25472. "goodscode",
  25473. "tradedate"
  25474. ],
  25475. "properties": {
  25476. "goodscode": {
  25477. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  25478. "type": "string"
  25479. },
  25480. "goodsgroupcode": {
  25481. "description": "品种代码",
  25482. "type": "string"
  25483. },
  25484. "prepositionqty": {
  25485. "description": "昨持仓量",
  25486. "type": "integer"
  25487. },
  25488. "sortindex": {
  25489. "description": "排序",
  25490. "type": "integer"
  25491. },
  25492. "tradedate": {
  25493. "description": "交易日",
  25494. "type": "string"
  25495. },
  25496. "updatetime": {
  25497. "description": "更新时间",
  25498. "type": "string"
  25499. }
  25500. }
  25501. },
  25502. "models.Hedgeinnerholderdetail": {
  25503. "type": "object",
  25504. "required": [
  25505. "buyorsell",
  25506. "tradeid"
  25507. ],
  25508. "properties": {
  25509. "accountid": {
  25510. "description": "账号ID",
  25511. "type": "integer"
  25512. },
  25513. "buyorsell": {
  25514. "description": "方向 - 0:买 1:卖",
  25515. "type": "integer"
  25516. },
  25517. "freezeqty": {
  25518. "description": "冻结数量 - 按单平使用",
  25519. "type": "integer"
  25520. },
  25521. "goodsid": {
  25522. "description": "商品ID",
  25523. "type": "integer"
  25524. },
  25525. "holderamount": {
  25526. "description": "持仓金额 [商品币种]",
  25527. "type": "number"
  25528. },
  25529. "holderdays": {
  25530. "description": "剩余冻结天数",
  25531. "type": "integer"
  25532. },
  25533. "holderprice": {
  25534. "description": "持仓价格",
  25535. "type": "number"
  25536. },
  25537. "holderqty": {
  25538. "description": "持仓数量",
  25539. "type": "integer"
  25540. },
  25541. "marketid": {
  25542. "description": "市场ID",
  25543. "type": "integer"
  25544. },
  25545. "openprice": {
  25546. "description": "建仓价格",
  25547. "type": "number"
  25548. },
  25549. "openqty": {
  25550. "description": "建仓数量",
  25551. "type": "integer"
  25552. },
  25553. "parentaccountid": {
  25554. "description": "所属母账户",
  25555. "type": "integer"
  25556. },
  25557. "releaseamount": {
  25558. "description": "释放持仓金额[商品币种]",
  25559. "type": "number"
  25560. },
  25561. "tradeamount": {
  25562. "description": "成交金额[账户]",
  25563. "type": "number"
  25564. },
  25565. "tradedate": {
  25566. "description": "交易日(yyyyMMdd)",
  25567. "type": "string"
  25568. },
  25569. "tradeid": {
  25570. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25571. "type": "string"
  25572. },
  25573. "tradetime": {
  25574. "description": "交易时间",
  25575. "type": "string"
  25576. }
  25577. }
  25578. },
  25579. "models.Hedgemarketopenlog": {
  25580. "type": "object",
  25581. "required": [
  25582. "accountid"
  25583. ],
  25584. "properties": {
  25585. "accountid": {
  25586. "description": "资金账号[外部母账户]",
  25587. "type": "integer"
  25588. },
  25589. "fcname": {
  25590. "description": "期货公司名称",
  25591. "type": "string"
  25592. },
  25593. "handlestatus": {
  25594. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  25595. "type": "integer"
  25596. },
  25597. "marketid": {
  25598. "description": "市场ID",
  25599. "type": "integer"
  25600. },
  25601. "status": {
  25602. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  25603. "type": "integer"
  25604. },
  25605. "tradedate": {
  25606. "description": "交易日(yyyyMMdd)",
  25607. "type": "string"
  25608. },
  25609. "updatetime": {
  25610. "description": "更新时间",
  25611. "type": "string"
  25612. }
  25613. }
  25614. },
  25615. "models.HsbyBuyMyPayOrder": {
  25616. "type": "object",
  25617. "required": [
  25618. "goodscode",
  25619. "goodsname",
  25620. "tradeid",
  25621. "trademode"
  25622. ],
  25623. "properties": {
  25624. "agreeunit": {
  25625. "description": "合约单位",
  25626. "type": "number"
  25627. },
  25628. "buyaccountid": {
  25629. "description": "买方账号ID[报价币种]",
  25630. "type": "integer"
  25631. },
  25632. "buyorderid": {
  25633. "description": "买方委托单号",
  25634. "type": "string"
  25635. },
  25636. "createtime": {
  25637. "description": "创建时间",
  25638. "type": "string"
  25639. },
  25640. "currencysign": {
  25641. "description": "货币符号",
  25642. "type": "string"
  25643. },
  25644. "decimalplace": {
  25645. "description": "报价小数位",
  25646. "type": "integer"
  25647. },
  25648. "goodscode": {
  25649. "description": "商品代码(内部)",
  25650. "type": "string"
  25651. },
  25652. "goodsid": {
  25653. "description": "商品ID",
  25654. "type": "integer"
  25655. },
  25656. "goodsname": {
  25657. "description": "商品名称",
  25658. "type": "string"
  25659. },
  25660. "marketid": {
  25661. "description": "市场ID",
  25662. "type": "integer"
  25663. },
  25664. "offamount": {
  25665. "description": "优惠金额",
  25666. "type": "number"
  25667. },
  25668. "originalamount": {
  25669. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  25670. "type": "number"
  25671. },
  25672. "payamount": {
  25673. "description": "支付金额 = TradeAmount + TradeCharge",
  25674. "type": "number"
  25675. },
  25676. "payflag": {
  25677. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  25678. "type": "integer"
  25679. },
  25680. "paylimitedtime": {
  25681. "description": "支付期限",
  25682. "type": "string"
  25683. },
  25684. "paytime": {
  25685. "description": "付款时间",
  25686. "type": "string"
  25687. },
  25688. "picurls1": {
  25689. "description": "预售商品介绍图片[多张用逗号分隔]",
  25690. "type": "string"
  25691. },
  25692. "picurls2": {
  25693. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25694. "type": "string"
  25695. },
  25696. "sellaccountid": {
  25697. "description": "卖方账号ID[报价币种]",
  25698. "type": "integer"
  25699. },
  25700. "sellorderid": {
  25701. "description": "卖方委托单号",
  25702. "type": "string"
  25703. },
  25704. "tradeamount": {
  25705. "description": "成交金额",
  25706. "type": "number"
  25707. },
  25708. "tradecharge": {
  25709. "description": "成交手续费(买方)",
  25710. "type": "number"
  25711. },
  25712. "tradedate": {
  25713. "description": "交易日(yyyyMMdd)",
  25714. "type": "string"
  25715. },
  25716. "tradeid": {
  25717. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25718. "type": "string"
  25719. },
  25720. "trademode": {
  25721. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25722. "type": "integer"
  25723. },
  25724. "tradeprice": {
  25725. "description": "成交价格",
  25726. "type": "number"
  25727. },
  25728. "tradeqty": {
  25729. "description": "成交数量",
  25730. "type": "integer"
  25731. },
  25732. "vendorname1": {
  25733. "description": "预售商品供应商名称",
  25734. "type": "string"
  25735. },
  25736. "vendorname2": {
  25737. "description": "挂牌商品供应商名称",
  25738. "type": "string"
  25739. }
  25740. }
  25741. },
  25742. "models.HsbyBuyMyTradeDetail": {
  25743. "type": "object",
  25744. "required": [
  25745. "accountid",
  25746. "buyorsell",
  25747. "goodscode",
  25748. "goodsid",
  25749. "goodsname",
  25750. "marketid",
  25751. "orderid",
  25752. "qty",
  25753. "time",
  25754. "trademode"
  25755. ],
  25756. "properties": {
  25757. "accountid": {
  25758. "description": "账户ID[报价币种]",
  25759. "type": "integer"
  25760. },
  25761. "agreeunit": {
  25762. "description": "合约单位",
  25763. "type": "number"
  25764. },
  25765. "amount": {
  25766. "description": "金额 = 价格 * 数量 * 合约单位",
  25767. "type": "number"
  25768. },
  25769. "buyorsell": {
  25770. "description": "买卖 - 0:买 1:卖",
  25771. "type": "integer"
  25772. },
  25773. "currencysign": {
  25774. "description": "货币符号",
  25775. "type": "string"
  25776. },
  25777. "decimalplace": {
  25778. "description": "报价小数位",
  25779. "type": "integer"
  25780. },
  25781. "goodscode": {
  25782. "description": "商品代码(内部)",
  25783. "type": "string"
  25784. },
  25785. "goodsid": {
  25786. "description": "商品ID",
  25787. "type": "integer"
  25788. },
  25789. "goodsname": {
  25790. "description": "商品名称",
  25791. "type": "string"
  25792. },
  25793. "marketid": {
  25794. "description": "市场ID",
  25795. "type": "integer"
  25796. },
  25797. "orderamount": {
  25798. "description": "委托金额",
  25799. "type": "number"
  25800. },
  25801. "orderid": {
  25802. "description": "单号(成交单号)",
  25803. "type": "string"
  25804. },
  25805. "picurls1": {
  25806. "description": "预售商品介绍图片[多张用逗号分隔]",
  25807. "type": "string"
  25808. },
  25809. "picurls2": {
  25810. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25811. "type": "string"
  25812. },
  25813. "price": {
  25814. "description": "价格",
  25815. "type": "number"
  25816. },
  25817. "qty": {
  25818. "description": "数量",
  25819. "type": "integer"
  25820. },
  25821. "time": {
  25822. "description": "时间",
  25823. "type": "string"
  25824. },
  25825. "trademode": {
  25826. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25827. "type": "integer"
  25828. },
  25829. "vendorname1": {
  25830. "description": "预售商品供应商名称",
  25831. "type": "string"
  25832. },
  25833. "vendorname2": {
  25834. "description": "挂牌商品供应商名称",
  25835. "type": "string"
  25836. }
  25837. }
  25838. },
  25839. "models.HsbyGoodsOrderDetail": {
  25840. "type": "object",
  25841. "required": [
  25842. "buyorsell",
  25843. "orderid",
  25844. "ordertime"
  25845. ],
  25846. "properties": {
  25847. "buyorsell": {
  25848. "description": "买卖 - 0:买 1:卖",
  25849. "type": "integer"
  25850. },
  25851. "currencysign": {
  25852. "description": "货币符号",
  25853. "type": "string"
  25854. },
  25855. "customername": {
  25856. "description": "客户名称(企业名称),已脱敏",
  25857. "type": "string"
  25858. },
  25859. "enableqty": {
  25860. "description": "可用数量",
  25861. "type": "integer"
  25862. },
  25863. "goodunit": {
  25864. "description": "报价单位",
  25865. "type": "string"
  25866. },
  25867. "orderid": {
  25868. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25869. "type": "string"
  25870. },
  25871. "orderprice": {
  25872. "description": "委托价格",
  25873. "type": "number"
  25874. },
  25875. "ordertime": {
  25876. "description": "委托时间",
  25877. "type": "string"
  25878. }
  25879. }
  25880. },
  25881. "models.HsbyListingGoodsDetail": {
  25882. "type": "object",
  25883. "required": [
  25884. "goodscode",
  25885. "goodsid",
  25886. "goodsname",
  25887. "marketid",
  25888. "trademode"
  25889. ],
  25890. "properties": {
  25891. "agreeunit": {
  25892. "description": "合约单位",
  25893. "type": "number"
  25894. },
  25895. "buymaxqty": {
  25896. "description": "购买上限 [71] - 0为不限",
  25897. "type": "integer"
  25898. },
  25899. "currency": {
  25900. "description": "货币",
  25901. "type": "string"
  25902. },
  25903. "currencysign": {
  25904. "description": "货币符号",
  25905. "type": "string"
  25906. },
  25907. "decimalplace": {
  25908. "description": "报价小数位",
  25909. "type": "integer"
  25910. },
  25911. "desccityid": {
  25912. "description": "目的地(市)ID",
  25913. "type": "integer"
  25914. },
  25915. "descprovinceid": {
  25916. "description": "目的地(省)ID",
  25917. "type": "integer"
  25918. },
  25919. "goodscode": {
  25920. "description": "商品代码(内部)",
  25921. "type": "string"
  25922. },
  25923. "goodsdesc": {
  25924. "description": "商品详情",
  25925. "type": "string"
  25926. },
  25927. "goodsid": {
  25928. "description": "商品ID(自增ID SEQ_GOODS)",
  25929. "type": "integer"
  25930. },
  25931. "goodsname": {
  25932. "description": "商品名称",
  25933. "type": "string"
  25934. },
  25935. "goodsprice": {
  25936. "description": "商品价格",
  25937. "type": "number"
  25938. },
  25939. "hotindex": {
  25940. "description": "景点热度",
  25941. "type": "integer"
  25942. },
  25943. "last": {
  25944. "description": "现价",
  25945. "type": "number"
  25946. },
  25947. "limitdown": {
  25948. "description": "跌停价",
  25949. "type": "number"
  25950. },
  25951. "limitup": {
  25952. "description": "涨停价",
  25953. "type": "number"
  25954. },
  25955. "lotsize": {
  25956. "description": "手数最小变动单位",
  25957. "type": "integer"
  25958. },
  25959. "marketid": {
  25960. "description": "所属市场ID",
  25961. "type": "integer"
  25962. },
  25963. "picurls": {
  25964. "description": "介绍图片[多张用逗号分隔]",
  25965. "type": "string"
  25966. },
  25967. "quoteminunit": {
  25968. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25969. "type": "integer"
  25970. },
  25971. "stepvalue": {
  25972. "description": "价格最小变动单位",
  25973. "type": "number"
  25974. },
  25975. "trademode": {
  25976. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25977. "type": "integer"
  25978. },
  25979. "vendorattr": {
  25980. "description": "供应商附件(多张,逗号分隔)",
  25981. "type": "string"
  25982. },
  25983. "vendorname": {
  25984. "description": "供应商名称",
  25985. "type": "string"
  25986. },
  25987. "vendorphone": {
  25988. "description": "供应商客服电话",
  25989. "type": "string"
  25990. },
  25991. "videourls": {
  25992. "description": "介绍视频[多张用逗号分隔]",
  25993. "type": "string"
  25994. }
  25995. }
  25996. },
  25997. "models.HsbyMarketGoods": {
  25998. "type": "object",
  25999. "required": [
  26000. "accountid",
  26001. "buyorsell",
  26002. "goodscode",
  26003. "goodsid",
  26004. "goodsname",
  26005. "marketid",
  26006. "orderid",
  26007. "trademode"
  26008. ],
  26009. "properties": {
  26010. "accountid": {
  26011. "description": "账户ID[报价币种]",
  26012. "type": "integer"
  26013. },
  26014. "agreeunit": {
  26015. "description": "合约单位",
  26016. "type": "number"
  26017. },
  26018. "buyorsell": {
  26019. "description": "买卖 - 0:买 1:卖",
  26020. "type": "integer"
  26021. },
  26022. "categoryid": {
  26023. "description": "类别ID(WRCATEGORY)",
  26024. "type": "integer"
  26025. },
  26026. "currency": {
  26027. "description": "货币",
  26028. "type": "string"
  26029. },
  26030. "currencysign": {
  26031. "description": "货币符号",
  26032. "type": "string"
  26033. },
  26034. "customername": {
  26035. "description": "卖家名称",
  26036. "type": "string"
  26037. },
  26038. "decimalplace": {
  26039. "description": "报价小数位",
  26040. "type": "integer"
  26041. },
  26042. "goodscode": {
  26043. "description": "商品代码(内部)",
  26044. "type": "string"
  26045. },
  26046. "goodsid": {
  26047. "description": "商品ID",
  26048. "type": "integer"
  26049. },
  26050. "goodsname": {
  26051. "description": "商品名称",
  26052. "type": "string"
  26053. },
  26054. "goodsprice": {
  26055. "description": "商品价格",
  26056. "type": "number"
  26057. },
  26058. "hascoupon": {
  26059. "description": "是否可用优惠卷",
  26060. "type": "boolean"
  26061. },
  26062. "hotindex": {
  26063. "description": "景点热度",
  26064. "type": "integer"
  26065. },
  26066. "marketid": {
  26067. "description": "市场ID",
  26068. "type": "integer"
  26069. },
  26070. "orderid": {
  26071. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26072. "type": "string"
  26073. },
  26074. "orderprice": {
  26075. "description": "委托价格",
  26076. "type": "number"
  26077. },
  26078. "orderstatus": {
  26079. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26080. "type": "integer"
  26081. },
  26082. "picurls": {
  26083. "description": "介绍图片[多张用逗号分隔]",
  26084. "type": "string"
  26085. },
  26086. "quoteminunit": {
  26087. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26088. "type": "integer"
  26089. },
  26090. "sellUserID": {
  26091. "description": "卖方UserID",
  26092. "type": "integer"
  26093. },
  26094. "trademode": {
  26095. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26096. "type": "integer"
  26097. },
  26098. "videourls": {
  26099. "description": "介绍视频[多张用逗号分隔]",
  26100. "type": "string"
  26101. }
  26102. }
  26103. },
  26104. "models.HsbyMarketGoodsDetail": {
  26105. "type": "object",
  26106. "required": [
  26107. "accountid",
  26108. "buyorsell",
  26109. "goodscode",
  26110. "goodsid",
  26111. "goodsname",
  26112. "marketid",
  26113. "orderid",
  26114. "orderqty",
  26115. "trademode"
  26116. ],
  26117. "properties": {
  26118. "accountid": {
  26119. "description": "账户ID[报价币种]",
  26120. "type": "integer"
  26121. },
  26122. "agreeunit": {
  26123. "description": "合约单位",
  26124. "type": "number"
  26125. },
  26126. "buymaxqty": {
  26127. "description": "购买上限 [71] - 0为不限",
  26128. "type": "integer"
  26129. },
  26130. "buyorsell": {
  26131. "description": "买卖 - 0:买 1:卖",
  26132. "type": "integer"
  26133. },
  26134. "cancelqty": {
  26135. "description": "撤单数量",
  26136. "type": "integer"
  26137. },
  26138. "categoryid": {
  26139. "description": "类别ID(WRCATEGORY)",
  26140. "type": "integer"
  26141. },
  26142. "currency": {
  26143. "description": "货币",
  26144. "type": "string"
  26145. },
  26146. "currencysign": {
  26147. "description": "货币符号",
  26148. "type": "string"
  26149. },
  26150. "customername": {
  26151. "description": "卖家名称",
  26152. "type": "string"
  26153. },
  26154. "decimalplace": {
  26155. "description": "报价小数位",
  26156. "type": "integer"
  26157. },
  26158. "goodscode": {
  26159. "description": "商品代码(内部)",
  26160. "type": "string"
  26161. },
  26162. "goodsdesc": {
  26163. "description": "商品详情",
  26164. "type": "string"
  26165. },
  26166. "goodsid": {
  26167. "description": "商品ID",
  26168. "type": "integer"
  26169. },
  26170. "goodsname": {
  26171. "description": "商品名称",
  26172. "type": "string"
  26173. },
  26174. "goodsprice": {
  26175. "description": "商品价格",
  26176. "type": "number"
  26177. },
  26178. "hotindex": {
  26179. "description": "景点热度",
  26180. "type": "integer"
  26181. },
  26182. "lotsize": {
  26183. "description": "手数最小变动单位",
  26184. "type": "integer"
  26185. },
  26186. "marketid": {
  26187. "description": "市场ID",
  26188. "type": "integer"
  26189. },
  26190. "orderid": {
  26191. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26192. "type": "string"
  26193. },
  26194. "orderprice": {
  26195. "description": "委托价格",
  26196. "type": "number"
  26197. },
  26198. "orderqty": {
  26199. "description": "委托数量",
  26200. "type": "integer"
  26201. },
  26202. "orderstatus": {
  26203. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26204. "type": "integer"
  26205. },
  26206. "picurls": {
  26207. "description": "介绍图片[多张用逗号分隔]",
  26208. "type": "string"
  26209. },
  26210. "quoteminunit": {
  26211. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26212. "type": "integer"
  26213. },
  26214. "sellUserID": {
  26215. "description": "卖方UserID",
  26216. "type": "integer"
  26217. },
  26218. "trademode": {
  26219. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26220. "type": "integer"
  26221. },
  26222. "tradeqty": {
  26223. "description": "成交数量",
  26224. "type": "integer"
  26225. },
  26226. "vendorattr": {
  26227. "description": "供应商附件(多张,逗号分隔)",
  26228. "type": "string"
  26229. },
  26230. "vendorname": {
  26231. "description": "供应商名称",
  26232. "type": "string"
  26233. },
  26234. "vendorphone": {
  26235. "description": "供应商客服电话",
  26236. "type": "string"
  26237. },
  26238. "videourls": {
  26239. "description": "介绍视频[多张用逗号分隔]",
  26240. "type": "string"
  26241. }
  26242. }
  26243. },
  26244. "models.HsbyMarketInfo": {
  26245. "type": "object",
  26246. "required": [
  26247. "marketid",
  26248. "marketstatus",
  26249. "trademode"
  26250. ],
  26251. "properties": {
  26252. "marketid": {
  26253. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  26254. "type": "integer"
  26255. },
  26256. "marketname": {
  26257. "description": "市场名称",
  26258. "type": "string"
  26259. },
  26260. "marketstatus": {
  26261. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  26262. "type": "integer"
  26263. },
  26264. "trademode": {
  26265. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26266. "type": "integer"
  26267. }
  26268. }
  26269. },
  26270. "models.HsbyMyGoods": {
  26271. "type": "object",
  26272. "required": [
  26273. "accountid",
  26274. "goodscode",
  26275. "goodsid",
  26276. "goodsname",
  26277. "marketid",
  26278. "trademode"
  26279. ],
  26280. "properties": {
  26281. "accountid": {
  26282. "description": "账号Id",
  26283. "type": "integer"
  26284. },
  26285. "agreeunit": {
  26286. "description": "合约单位",
  26287. "type": "number"
  26288. },
  26289. "buyaverageprice": {
  26290. "description": "持仓均价",
  26291. "type": "number"
  26292. },
  26293. "buycurholderamount": {
  26294. "description": "买当前持仓总金额[商品币种]",
  26295. "type": "number"
  26296. },
  26297. "buycurpositionqty": {
  26298. "description": "买当前持仓总数量",
  26299. "type": "integer"
  26300. },
  26301. "buymaxqty": {
  26302. "description": "购买上限 [71] - 0为不限",
  26303. "type": "integer"
  26304. },
  26305. "currencysign": {
  26306. "description": "货币符号",
  26307. "type": "string"
  26308. },
  26309. "decimalplace": {
  26310. "description": "报价小数位",
  26311. "type": "integer"
  26312. },
  26313. "enableqty": {
  26314. "description": "可用数量",
  26315. "type": "integer"
  26316. },
  26317. "goodscode": {
  26318. "description": "商品代码(内部)",
  26319. "type": "string"
  26320. },
  26321. "goodsid": {
  26322. "description": "商品Id",
  26323. "type": "integer"
  26324. },
  26325. "goodsname": {
  26326. "description": "商品名称",
  26327. "type": "string"
  26328. },
  26329. "goodsprice": {
  26330. "description": "商品价格",
  26331. "type": "number"
  26332. },
  26333. "goodsstatus": {
  26334. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  26335. "type": "integer"
  26336. },
  26337. "last": {
  26338. "description": "现价(仅使用于挂牌点选)",
  26339. "type": "number"
  26340. },
  26341. "limitdown": {
  26342. "description": "跌停价(仅使用于挂牌点选)",
  26343. "type": "number"
  26344. },
  26345. "limitup": {
  26346. "description": "涨停价(仅使用于挂牌点选)",
  26347. "type": "number"
  26348. },
  26349. "lotsize": {
  26350. "description": "手数最小变动单位",
  26351. "type": "integer"
  26352. },
  26353. "marketid": {
  26354. "description": "所属市场ID",
  26355. "type": "integer"
  26356. },
  26357. "picurls": {
  26358. "description": "介绍图片[多张用逗号分隔]",
  26359. "type": "string"
  26360. },
  26361. "quoteminunit": {
  26362. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26363. "type": "integer"
  26364. },
  26365. "stepvalue": {
  26366. "description": "价格最小变动单位",
  26367. "type": "number"
  26368. },
  26369. "trademode": {
  26370. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26371. "type": "integer"
  26372. }
  26373. }
  26374. },
  26375. "models.HsbyMyPackage": {
  26376. "type": "object",
  26377. "required": [
  26378. "goodscode",
  26379. "goodsname",
  26380. "takeorderid",
  26381. "trademode"
  26382. ],
  26383. "properties": {
  26384. "accountid": {
  26385. "description": "账户ID",
  26386. "type": "integer"
  26387. },
  26388. "address": {
  26389. "description": "提货人详细地址",
  26390. "type": "string"
  26391. },
  26392. "agreeunit": {
  26393. "description": "合约单位",
  26394. "type": "number"
  26395. },
  26396. "amount": {
  26397. "description": "提货金额",
  26398. "type": "number"
  26399. },
  26400. "auditer": {
  26401. "description": "审核人",
  26402. "type": "integer"
  26403. },
  26404. "audittime": {
  26405. "description": "审核时间",
  26406. "type": "string"
  26407. },
  26408. "averageprice": {
  26409. "description": "均价",
  26410. "type": "number"
  26411. },
  26412. "cardnum": {
  26413. "description": "提货人证件号码",
  26414. "type": "string"
  26415. },
  26416. "cardtypeid": {
  26417. "description": "提货人证件类型",
  26418. "type": "integer"
  26419. },
  26420. "checkremark": {
  26421. "description": "审核备注",
  26422. "type": "string"
  26423. },
  26424. "currencysign": {
  26425. "description": "货币符号",
  26426. "type": "string"
  26427. },
  26428. "decimalplace": {
  26429. "description": "报价小数位",
  26430. "type": "integer"
  26431. },
  26432. "goodscode": {
  26433. "description": "商品代码(内部)",
  26434. "type": "string"
  26435. },
  26436. "goodsid": {
  26437. "description": "商品ID",
  26438. "type": "integer"
  26439. },
  26440. "goodsname": {
  26441. "description": "商品名称",
  26442. "type": "string"
  26443. },
  26444. "handlestatus": {
  26445. "description": "处理状态",
  26446. "type": "integer"
  26447. },
  26448. "marketid": {
  26449. "description": "市场ID",
  26450. "type": "integer"
  26451. },
  26452. "phonenum": {
  26453. "description": "提货人联系方式",
  26454. "type": "string"
  26455. },
  26456. "picurls": {
  26457. "description": "介绍图片[多张用逗号分隔]",
  26458. "type": "string"
  26459. },
  26460. "qty": {
  26461. "description": "提货数量",
  26462. "type": "number"
  26463. },
  26464. "recivername": {
  26465. "description": "提货人姓名",
  26466. "type": "string"
  26467. },
  26468. "reqtime": {
  26469. "description": "更新时间",
  26470. "type": "string"
  26471. },
  26472. "takemode": {
  26473. "description": "提货方式 - 2:自提 3:配送",
  26474. "type": "integer"
  26475. },
  26476. "takeorderid": {
  26477. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  26478. "type": "string"
  26479. },
  26480. "takeorderstatus": {
  26481. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  26482. "type": "integer"
  26483. },
  26484. "takeremark": {
  26485. "description": "提货备注",
  26486. "type": "string"
  26487. },
  26488. "tradedate": {
  26489. "description": "交易日(yyyyMMdd)",
  26490. "type": "string"
  26491. },
  26492. "trademode": {
  26493. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26494. "type": "integer"
  26495. },
  26496. "userid": {
  26497. "description": "用户ID",
  26498. "type": "integer"
  26499. },
  26500. "vendorname": {
  26501. "description": "供应商名称",
  26502. "type": "string"
  26503. }
  26504. }
  26505. },
  26506. "models.HsbyPreGoods": {
  26507. "type": "object",
  26508. "required": [
  26509. "goodscode",
  26510. "goodsid",
  26511. "goodsname",
  26512. "marketid",
  26513. "trademode"
  26514. ],
  26515. "properties": {
  26516. "agreeunit": {
  26517. "description": "合约单位",
  26518. "type": "number"
  26519. },
  26520. "currency": {
  26521. "description": "货币",
  26522. "type": "string"
  26523. },
  26524. "currencysign": {
  26525. "description": "货币符号",
  26526. "type": "string"
  26527. },
  26528. "decimalplace": {
  26529. "description": "报价小数位",
  26530. "type": "integer"
  26531. },
  26532. "desccityid": {
  26533. "description": "目的地(市)",
  26534. "type": "integer"
  26535. },
  26536. "descprovinceid": {
  26537. "description": "目的地(省)",
  26538. "type": "integer"
  26539. },
  26540. "enableqty": {
  26541. "description": "剩余数量",
  26542. "type": "integer"
  26543. },
  26544. "goodscode": {
  26545. "description": "商品代码(内部)",
  26546. "type": "string"
  26547. },
  26548. "goodsid": {
  26549. "description": "商品ID(自增ID SEQ_GOODS)",
  26550. "type": "integer"
  26551. },
  26552. "goodsname": {
  26553. "description": "商品名称",
  26554. "type": "string"
  26555. },
  26556. "goodsstatus": {
  26557. "description": "商品状态- 2:未上市 3:上市",
  26558. "type": "integer"
  26559. },
  26560. "lasttradedate": {
  26561. "description": "最后交易日期(状态:待退市)",
  26562. "type": "string"
  26563. },
  26564. "listingdate": {
  26565. "description": "交易开始日期",
  26566. "type": "string"
  26567. },
  26568. "marketid": {
  26569. "description": "所属市场ID",
  26570. "type": "integer"
  26571. },
  26572. "picurls": {
  26573. "description": "介绍图片[多张用逗号分隔]",
  26574. "type": "string"
  26575. },
  26576. "presaledqty": {
  26577. "description": "已预售量(预售结束时更新)",
  26578. "type": "integer"
  26579. },
  26580. "presaleqty": {
  26581. "description": "预售数量",
  26582. "type": "integer"
  26583. },
  26584. "quoteminunit": {
  26585. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26586. "type": "integer"
  26587. },
  26588. "refprice": {
  26589. "description": "参考价格[一口价]",
  26590. "type": "number"
  26591. },
  26592. "relatedgoodsid": {
  26593. "description": "关联交易合约ID",
  26594. "type": "integer"
  26595. },
  26596. "trademode": {
  26597. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26598. "type": "integer"
  26599. },
  26600. "videourls": {
  26601. "description": "介绍视频[多张用逗号分隔]",
  26602. "type": "string"
  26603. }
  26604. }
  26605. },
  26606. "models.HsbyPreGoodsDetail": {
  26607. "type": "object",
  26608. "required": [
  26609. "goodscode",
  26610. "goodsid",
  26611. "goodsname",
  26612. "marketid",
  26613. "trademode"
  26614. ],
  26615. "properties": {
  26616. "agreeunit": {
  26617. "description": "合约单位",
  26618. "type": "number"
  26619. },
  26620. "buymaxqty": {
  26621. "description": "购买上限 [71] - 0为不限",
  26622. "type": "integer"
  26623. },
  26624. "currency": {
  26625. "description": "货币",
  26626. "type": "string"
  26627. },
  26628. "currencysign": {
  26629. "description": "货币符号",
  26630. "type": "string"
  26631. },
  26632. "customername": {
  26633. "description": "发行单位",
  26634. "type": "string"
  26635. },
  26636. "decimalplace": {
  26637. "description": "报价小数位",
  26638. "type": "integer"
  26639. },
  26640. "desccityid": {
  26641. "description": "目的地(市)ID",
  26642. "type": "integer"
  26643. },
  26644. "descprovinceid": {
  26645. "description": "目的地(省)ID",
  26646. "type": "integer"
  26647. },
  26648. "enableqty": {
  26649. "description": "剩余数量",
  26650. "type": "integer"
  26651. },
  26652. "goodscode": {
  26653. "description": "商品代码(内部)",
  26654. "type": "string"
  26655. },
  26656. "goodsdesc": {
  26657. "description": "商品详情",
  26658. "type": "string"
  26659. },
  26660. "goodsid": {
  26661. "description": "商品ID(自增ID SEQ_GOODS)",
  26662. "type": "integer"
  26663. },
  26664. "goodsname": {
  26665. "description": "商品名称",
  26666. "type": "string"
  26667. },
  26668. "goodsstatus": {
  26669. "description": "商品状态- 2:未上市 3:上市",
  26670. "type": "integer"
  26671. },
  26672. "goodunit": {
  26673. "description": "报价单位",
  26674. "type": "string"
  26675. },
  26676. "lasttradedate": {
  26677. "description": "最后交易日期(状态:待退市)",
  26678. "type": "string"
  26679. },
  26680. "listingdate": {
  26681. "description": "交易开始日期",
  26682. "type": "string"
  26683. },
  26684. "lotsize": {
  26685. "description": "手数最小变动单位",
  26686. "type": "integer"
  26687. },
  26688. "marketid": {
  26689. "description": "所属市场ID",
  26690. "type": "integer"
  26691. },
  26692. "picurls": {
  26693. "description": "介绍图片[多张用逗号分隔]",
  26694. "type": "string"
  26695. },
  26696. "presaledqty": {
  26697. "description": "已预售量(预售结束时更新)",
  26698. "type": "integer"
  26699. },
  26700. "presaleqty": {
  26701. "description": "预售数量",
  26702. "type": "integer"
  26703. },
  26704. "quoteminunit": {
  26705. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26706. "type": "integer"
  26707. },
  26708. "refprice": {
  26709. "description": "参考价格[一口价]",
  26710. "type": "number"
  26711. },
  26712. "relatedgoodsid": {
  26713. "description": "关联交易合约ID",
  26714. "type": "integer"
  26715. },
  26716. "stepvalue": {
  26717. "description": "价格最小变动单位",
  26718. "type": "number"
  26719. },
  26720. "trademode": {
  26721. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26722. "type": "integer"
  26723. },
  26724. "vendorattr": {
  26725. "description": "供应商附件(多张,逗号分隔)",
  26726. "type": "string"
  26727. },
  26728. "vendorname": {
  26729. "description": "供应商名称",
  26730. "type": "string"
  26731. },
  26732. "vendorphone": {
  26733. "description": "供应商客服电话",
  26734. "type": "string"
  26735. },
  26736. "videourls": {
  26737. "description": "介绍视频[多张用逗号分隔]",
  26738. "type": "string"
  26739. }
  26740. }
  26741. },
  26742. "models.HsbySellCollectionOrder": {
  26743. "type": "object",
  26744. "required": [
  26745. "goodscode",
  26746. "goodsname",
  26747. "tradeid",
  26748. "trademode"
  26749. ],
  26750. "properties": {
  26751. "agreeunit": {
  26752. "description": "合约单位",
  26753. "type": "number"
  26754. },
  26755. "buyaccountid": {
  26756. "description": "买方账号ID[报价币种]",
  26757. "type": "integer"
  26758. },
  26759. "buyorderid": {
  26760. "description": "买方委托单号",
  26761. "type": "string"
  26762. },
  26763. "createtime": {
  26764. "description": "创建时间",
  26765. "type": "string"
  26766. },
  26767. "currencysign": {
  26768. "description": "货币符号",
  26769. "type": "string"
  26770. },
  26771. "decimalplace": {
  26772. "description": "报价小数位",
  26773. "type": "integer"
  26774. },
  26775. "goodscode": {
  26776. "description": "商品代码(内部)",
  26777. "type": "string"
  26778. },
  26779. "goodsid": {
  26780. "description": "商品ID",
  26781. "type": "integer"
  26782. },
  26783. "goodsname": {
  26784. "description": "商品名称",
  26785. "type": "string"
  26786. },
  26787. "marketid": {
  26788. "description": "市场ID",
  26789. "type": "integer"
  26790. },
  26791. "offamount": {
  26792. "description": "优惠金额",
  26793. "type": "number"
  26794. },
  26795. "payamount": {
  26796. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  26797. "type": "number"
  26798. },
  26799. "payflag": {
  26800. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26801. "type": "integer"
  26802. },
  26803. "paylimitedtime": {
  26804. "description": "支付期限",
  26805. "type": "string"
  26806. },
  26807. "paytime": {
  26808. "description": "付款时间",
  26809. "type": "string"
  26810. },
  26811. "picurls": {
  26812. "description": "商品介绍图片[多张用逗号分隔]",
  26813. "type": "string"
  26814. },
  26815. "sellaccountid": {
  26816. "description": "卖方账号ID[报价币种]",
  26817. "type": "integer"
  26818. },
  26819. "sellorderid": {
  26820. "description": "卖方委托单号",
  26821. "type": "string"
  26822. },
  26823. "tradeamount": {
  26824. "description": "成交金额",
  26825. "type": "number"
  26826. },
  26827. "tradecharge": {
  26828. "description": "成交手续费(买方)",
  26829. "type": "number"
  26830. },
  26831. "tradedate": {
  26832. "description": "交易日(yyyyMMdd)",
  26833. "type": "string"
  26834. },
  26835. "tradeid": {
  26836. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26837. "type": "string"
  26838. },
  26839. "trademode": {
  26840. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26841. "type": "integer"
  26842. },
  26843. "tradeprice": {
  26844. "description": "成交价格",
  26845. "type": "number"
  26846. },
  26847. "tradeqty": {
  26848. "description": "成交数量",
  26849. "type": "integer"
  26850. }
  26851. }
  26852. },
  26853. "models.HsbySellMyDetail": {
  26854. "type": "object",
  26855. "required": [
  26856. "accountid",
  26857. "buyorsell",
  26858. "goodscode",
  26859. "goodsid",
  26860. "goodsname",
  26861. "marketid",
  26862. "orderid",
  26863. "time",
  26864. "trademode"
  26865. ],
  26866. "properties": {
  26867. "accountid": {
  26868. "description": "账户ID[报价币种]",
  26869. "type": "integer"
  26870. },
  26871. "agreeunit": {
  26872. "description": "合约单位",
  26873. "type": "number"
  26874. },
  26875. "buyorsell": {
  26876. "description": "买卖 - 0:买 1:卖",
  26877. "type": "integer"
  26878. },
  26879. "currencysign": {
  26880. "description": "货币符号",
  26881. "type": "string"
  26882. },
  26883. "decimalplace": {
  26884. "description": "报价小数位",
  26885. "type": "integer"
  26886. },
  26887. "goodscode": {
  26888. "description": "商品代码(内部)",
  26889. "type": "string"
  26890. },
  26891. "goodsid": {
  26892. "description": "商品ID",
  26893. "type": "integer"
  26894. },
  26895. "goodsname": {
  26896. "description": "商品名称",
  26897. "type": "string"
  26898. },
  26899. "marketid": {
  26900. "description": "市场ID",
  26901. "type": "integer"
  26902. },
  26903. "orderid": {
  26904. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  26905. "type": "string"
  26906. },
  26907. "ordertype": {
  26908. "description": "单据类型:0 - 发布中, 1 - 已完成",
  26909. "type": "integer"
  26910. },
  26911. "picurls": {
  26912. "description": "介绍图片[多张用逗号分隔]",
  26913. "type": "string"
  26914. },
  26915. "price": {
  26916. "description": "价格",
  26917. "type": "number"
  26918. },
  26919. "qty": {
  26920. "description": "数量",
  26921. "type": "integer"
  26922. },
  26923. "time": {
  26924. "description": "时间",
  26925. "type": "string"
  26926. },
  26927. "trademode": {
  26928. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26929. "type": "integer"
  26930. },
  26931. "vendorname": {
  26932. "description": "供应商名称",
  26933. "type": "string"
  26934. }
  26935. }
  26936. },
  26937. "models.HsbyTopGoods": {
  26938. "type": "object",
  26939. "required": [
  26940. "goodscode",
  26941. "goodsid",
  26942. "goodsname",
  26943. "marketid",
  26944. "trademode"
  26945. ],
  26946. "properties": {
  26947. "agreeunit": {
  26948. "description": "合约单位",
  26949. "type": "number"
  26950. },
  26951. "currency": {
  26952. "description": "货币",
  26953. "type": "string"
  26954. },
  26955. "currencysign": {
  26956. "description": "货币符号",
  26957. "type": "string"
  26958. },
  26959. "decimalplace": {
  26960. "description": "报价小数位",
  26961. "type": "integer"
  26962. },
  26963. "desccityid": {
  26964. "description": "目的地(市)",
  26965. "type": "integer"
  26966. },
  26967. "descprovinceid": {
  26968. "description": "目的地(省)",
  26969. "type": "integer"
  26970. },
  26971. "goodscode": {
  26972. "description": "商品代码(内部)",
  26973. "type": "string"
  26974. },
  26975. "goodsid": {
  26976. "description": "商品ID(自增ID SEQ_GOODS)",
  26977. "type": "integer"
  26978. },
  26979. "goodsname": {
  26980. "description": "商品名称",
  26981. "type": "string"
  26982. },
  26983. "hotindex": {
  26984. "description": "景点热度",
  26985. "type": "integer"
  26986. },
  26987. "last": {
  26988. "description": "现价",
  26989. "type": "number"
  26990. },
  26991. "marketid": {
  26992. "description": "所属市场ID",
  26993. "type": "integer"
  26994. },
  26995. "picurls": {
  26996. "description": "介绍图片[多张用逗号分隔]",
  26997. "type": "string"
  26998. },
  26999. "quoteminunit": {
  27000. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27001. "type": "integer"
  27002. },
  27003. "trademode": {
  27004. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27005. "type": "integer"
  27006. },
  27007. "videourls": {
  27008. "description": "介绍视频[多张用逗号分隔]",
  27009. "type": "string"
  27010. }
  27011. }
  27012. },
  27013. "models.HybsMyBuyOrderDetail": {
  27014. "type": "object",
  27015. "required": [
  27016. "accountid",
  27017. "buyorsell",
  27018. "goodscode",
  27019. "goodsid",
  27020. "goodsname",
  27021. "marketid",
  27022. "orderid",
  27023. "orderqty",
  27024. "ordertime",
  27025. "trademode"
  27026. ],
  27027. "properties": {
  27028. "accountid": {
  27029. "description": "账户ID[报价币种]",
  27030. "type": "integer"
  27031. },
  27032. "agreeunit": {
  27033. "description": "合约单位",
  27034. "type": "number"
  27035. },
  27036. "buyorsell": {
  27037. "description": "买卖 - 0:买 1:卖",
  27038. "type": "integer"
  27039. },
  27040. "cancelqty": {
  27041. "description": "撤单数量",
  27042. "type": "integer"
  27043. },
  27044. "currencysign": {
  27045. "description": "货币符号",
  27046. "type": "string"
  27047. },
  27048. "decimalplace": {
  27049. "description": "报价小数位",
  27050. "type": "integer"
  27051. },
  27052. "goodscode": {
  27053. "description": "商品代码(内部)",
  27054. "type": "string"
  27055. },
  27056. "goodsid": {
  27057. "description": "商品ID",
  27058. "type": "integer"
  27059. },
  27060. "goodsname": {
  27061. "description": "商品名称",
  27062. "type": "string"
  27063. },
  27064. "listingselecttype": {
  27065. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  27066. "type": "integer"
  27067. },
  27068. "marketid": {
  27069. "description": "市场ID",
  27070. "type": "integer"
  27071. },
  27072. "mybuystatus": {
  27073. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  27074. "type": "integer"
  27075. },
  27076. "orderamount": {
  27077. "description": "委托金额",
  27078. "type": "number"
  27079. },
  27080. "orderid": {
  27081. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27082. "type": "string"
  27083. },
  27084. "orderprice": {
  27085. "description": "委托价格",
  27086. "type": "number"
  27087. },
  27088. "orderqty": {
  27089. "description": "委托数量",
  27090. "type": "integer"
  27091. },
  27092. "orderstatus": {
  27093. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  27094. "type": "integer"
  27095. },
  27096. "ordertime": {
  27097. "description": "委托时间",
  27098. "type": "string"
  27099. },
  27100. "picurls1": {
  27101. "description": "预售商品介绍图片[多张用逗号分隔]",
  27102. "type": "string"
  27103. },
  27104. "picurls2": {
  27105. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  27106. "type": "string"
  27107. },
  27108. "trademode": {
  27109. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27110. "type": "integer"
  27111. },
  27112. "tradeqty": {
  27113. "description": "成交数量",
  27114. "type": "integer"
  27115. },
  27116. "vendorname1": {
  27117. "description": "预售商品供应商名称",
  27118. "type": "string"
  27119. },
  27120. "vendorname2": {
  27121. "description": "挂牌商品供应商名称",
  27122. "type": "string"
  27123. }
  27124. }
  27125. },
  27126. "models.Loginaccount": {
  27127. "type": "object",
  27128. "required": [
  27129. "loginid"
  27130. ],
  27131. "properties": {
  27132. "accountname": {
  27133. "description": "账户名称",
  27134. "type": "string"
  27135. },
  27136. "canoutin": {
  27137. "description": "是否可出入金 - 0:不可 1:可",
  27138. "type": "integer"
  27139. },
  27140. "clientroleid": {
  27141. "description": "终端角色ID",
  27142. "type": "integer"
  27143. },
  27144. "haslogined": {
  27145. "description": "是否已登录 - 0:未登录 1:已登录",
  27146. "type": "integer"
  27147. },
  27148. "hasupdatedpwd": {
  27149. "description": "是否已更改密码 - 0:未修改 1:已修改",
  27150. "type": "integer"
  27151. },
  27152. "lastloginip": {
  27153. "description": "最新登录地址",
  27154. "type": "string"
  27155. },
  27156. "lastloginmode": {
  27157. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  27158. "type": "integer"
  27159. },
  27160. "lastloginremark": {
  27161. "description": "最新登录描述",
  27162. "type": "string"
  27163. },
  27164. "lastlogintime": {
  27165. "description": "最新登录时间",
  27166. "type": "string"
  27167. },
  27168. "logincode": {
  27169. "description": "登录代码",
  27170. "type": "string"
  27171. },
  27172. "loginfailnum": {
  27173. "description": "连续登录失败次数(登录成功时清零)",
  27174. "type": "integer"
  27175. },
  27176. "loginid": {
  27177. "description": "登陆账号",
  27178. "type": "integer"
  27179. },
  27180. "loginport": {
  27181. "description": "最新登录端口",
  27182. "type": "integer"
  27183. },
  27184. "loginstatus": {
  27185. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  27186. "type": "integer"
  27187. },
  27188. "loginusertype": {
  27189. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  27190. "type": "integer"
  27191. },
  27192. "mobile": {
  27193. "description": "手机号码(加密存储)",
  27194. "type": "string"
  27195. },
  27196. "modifierid": {
  27197. "description": "修改人",
  27198. "type": "integer"
  27199. },
  27200. "modifysrc": {
  27201. "description": "审核来源 - 1:管理端 2:终端",
  27202. "type": "integer"
  27203. },
  27204. "modifytime": {
  27205. "description": "修改时间",
  27206. "type": "string"
  27207. },
  27208. "password": {
  27209. "description": "登陆密码",
  27210. "type": "string"
  27211. },
  27212. "pwdwrongcount": {
  27213. "description": "密码错误次数",
  27214. "type": "integer"
  27215. },
  27216. "relateduserid": {
  27217. "description": "关联用户ID(机构)",
  27218. "type": "integer"
  27219. },
  27220. "taaccountrighttype": {
  27221. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  27222. "type": "integer"
  27223. },
  27224. "unfreezetime": {
  27225. "description": "账户解冻时间",
  27226. "type": "string"
  27227. },
  27228. "userid": {
  27229. "description": "用户ID",
  27230. "type": "integer"
  27231. }
  27232. }
  27233. },
  27234. "models.MainAccountInfo": {
  27235. "type": "object",
  27236. "properties": {
  27237. "accountid": {
  27238. "description": "账号id",
  27239. "type": "integer"
  27240. },
  27241. "accountname": {
  27242. "description": "账号名称(taaccount表中的名称)",
  27243. "type": "string"
  27244. },
  27245. "appid": {
  27246. "description": "AppID",
  27247. "type": "string"
  27248. },
  27249. "authcode": {
  27250. "description": "授权码",
  27251. "type": "string"
  27252. },
  27253. "brokerid": {
  27254. "description": "经纪商id",
  27255. "type": "string"
  27256. },
  27257. "fcid": {
  27258. "description": "期货公司id",
  27259. "type": "integer"
  27260. },
  27261. "fcname": {
  27262. "description": "期货公司代码",
  27263. "type": "string"
  27264. },
  27265. "hedgeaccountcode": {
  27266. "description": "外部账号代码(主账号登录代码)",
  27267. "type": "string"
  27268. },
  27269. "hedgeaccountpwd": {
  27270. "description": "密码",
  27271. "type": "string"
  27272. },
  27273. "ismain": {
  27274. "description": "是否主账号",
  27275. "type": "integer"
  27276. },
  27277. "relateduserid": {
  27278. "description": "关联用户id",
  27279. "type": "integer"
  27280. },
  27281. "userid": {
  27282. "description": "关联用户id",
  27283. "type": "integer"
  27284. }
  27285. }
  27286. },
  27287. "models.Market": {
  27288. "type": "object",
  27289. "required": [
  27290. "marketid",
  27291. "marketstatus",
  27292. "openmethod",
  27293. "reckonpricealgorithm",
  27294. "trademode",
  27295. "tradeproperty"
  27296. ],
  27297. "properties": {
  27298. "auctionwrtype": {
  27299. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  27300. "type": "integer"
  27301. },
  27302. "canacceptquote": {
  27303. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  27304. "type": "integer"
  27305. },
  27306. "cangoodsexercise": {
  27307. "description": "[期权]是否可现货行权- 0:否 1:是",
  27308. "type": "integer"
  27309. },
  27310. "cangoodsexercisetype": {
  27311. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  27312. "type": "integer"
  27313. },
  27314. "canmanualquotestrike": {
  27315. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  27316. "type": "integer"
  27317. },
  27318. "canmutistage": {
  27319. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  27320. "type": "integer"
  27321. },
  27322. "canpreexercise": {
  27323. "description": "[期权]是否可预申报- 0:否 1:是",
  27324. "type": "integer"
  27325. },
  27326. "clearinterval": {
  27327. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  27328. "type": "integer"
  27329. },
  27330. "contracttmp": {
  27331. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  27332. "type": "string"
  27333. },
  27334. "exchareaid": {
  27335. "description": "所属交易所,可以没有",
  27336. "type": "integer"
  27337. },
  27338. "goodstype": {
  27339. "description": "商品类型 - 1:交易商品 2:仓单商品",
  27340. "type": "integer"
  27341. },
  27342. "hasrebate": {
  27343. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  27344. "type": "integer"
  27345. },
  27346. "hastradecredit": {
  27347. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  27348. "type": "integer"
  27349. },
  27350. "haswr": {
  27351. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  27352. "type": "integer"
  27353. },
  27354. "isdeductmargin": {
  27355. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  27356. "type": "integer"
  27357. },
  27358. "isrecordsource": {
  27359. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  27360. "type": "integer"
  27361. },
  27362. "isreleasemargin": {
  27363. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  27364. "type": "integer"
  27365. },
  27366. "marginformula": {
  27367. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27368. "type": "integer"
  27369. },
  27370. "marginformula2": {
  27371. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27372. "type": "integer"
  27373. },
  27374. "marketid": {
  27375. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  27376. "type": "integer"
  27377. },
  27378. "marketname": {
  27379. "description": "市场名称",
  27380. "type": "string"
  27381. },
  27382. "marketserviceid": {
  27383. "description": "市场服务ID",
  27384. "type": "integer"
  27385. },
  27386. "marketstatus": {
  27387. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  27388. "type": "integer"
  27389. },
  27390. "markettype": {
  27391. "description": "市场类型- 1:非交易服务 2:交易服务",
  27392. "type": "integer"
  27393. },
  27394. "matchermode": {
  27395. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  27396. "type": "integer"
  27397. },
  27398. "openmethod": {
  27399. "description": "开盘模式 - 0 自动 1手动",
  27400. "type": "integer"
  27401. },
  27402. "otcuserid": {
  27403. "description": "场外期权做市商[场外期权]",
  27404. "type": "integer"
  27405. },
  27406. "outersynctime": {
  27407. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  27408. "type": "string"
  27409. },
  27410. "pendingflag": {
  27411. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  27412. "type": "integer"
  27413. },
  27414. "pendingtime": {
  27415. "description": "待开市时间[通道交易-对冲](HH:mm)",
  27416. "type": "string"
  27417. },
  27418. "performancetempid": {
  27419. "description": "履约计划模板ID - 作废",
  27420. "type": "integer"
  27421. },
  27422. "premiumquotemode": {
  27423. "description": "权利金报价方式 - 1:自动 2:手动",
  27424. "type": "integer"
  27425. },
  27426. "rebateratio": {
  27427. "description": "返利比率[竞价式]",
  27428. "type": "number"
  27429. },
  27430. "reckonorder": {
  27431. "description": "结算顺序",
  27432. "type": "integer"
  27433. },
  27434. "reckonpricealgorithm": {
  27435. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  27436. "type": "integer"
  27437. },
  27438. "reckonpriceparam": {
  27439. "description": "结算价参数",
  27440. "type": "integer"
  27441. },
  27442. "reckontime": {
  27443. "description": "结算时间[通道交易-对冲](HH:mm)",
  27444. "type": "string"
  27445. },
  27446. "roleprioritytype": {
  27447. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  27448. "type": "integer"
  27449. },
  27450. "selllistingauditflag": {
  27451. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  27452. "type": "integer"
  27453. },
  27454. "trademarkettype": {
  27455. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  27456. "type": "integer"
  27457. },
  27458. "trademode": {
  27459. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27460. "type": "integer"
  27461. },
  27462. "tradeproperty": {
  27463. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  27464. "type": "integer"
  27465. },
  27466. "tradetype": {
  27467. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  27468. "type": "integer"
  27469. }
  27470. }
  27471. },
  27472. "models.Marketrun": {
  27473. "type": "object",
  27474. "required": [
  27475. "marketid",
  27476. "nexttradedate",
  27477. "reckonflag",
  27478. "runstatus",
  27479. "tradedate",
  27480. "tradedate2"
  27481. ],
  27482. "properties": {
  27483. "afternexttradedate": {
  27484. "description": "下下交易日",
  27485. "type": "string"
  27486. },
  27487. "clearquoteflag": {
  27488. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  27489. "type": "integer"
  27490. },
  27491. "lastreckondate": {
  27492. "description": "最新交易日(结算成功)",
  27493. "type": "string"
  27494. },
  27495. "machinedate": {
  27496. "description": "机器时间",
  27497. "type": "string"
  27498. },
  27499. "manualflag": {
  27500. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  27501. "type": "integer"
  27502. },
  27503. "marketid": {
  27504. "description": "市场ID",
  27505. "type": "integer"
  27506. },
  27507. "nexttradedate": {
  27508. "description": "下一交易日",
  27509. "type": "string"
  27510. },
  27511. "pretradedate": {
  27512. "description": "上一交易日",
  27513. "type": "string"
  27514. },
  27515. "reckonflag": {
  27516. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  27517. "type": "integer"
  27518. },
  27519. "runstatus": {
  27520. "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.今日免清算",
  27521. "type": "integer"
  27522. },
  27523. "sectionid": {
  27524. "description": "时间段号[多时段时用]",
  27525. "type": "integer"
  27526. },
  27527. "tradedate": {
  27528. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  27529. "type": "string"
  27530. },
  27531. "tradedate2": {
  27532. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  27533. "type": "string"
  27534. },
  27535. "updatetime": {
  27536. "description": "更新时间",
  27537. "type": "string"
  27538. }
  27539. }
  27540. },
  27541. "models.Messageboard": {
  27542. "type": "object",
  27543. "required": [
  27544. "messageboardid"
  27545. ],
  27546. "properties": {
  27547. "contactnum": {
  27548. "description": "联系电话",
  27549. "type": "string"
  27550. },
  27551. "createtime": {
  27552. "description": "创建时间",
  27553. "type": "string"
  27554. },
  27555. "message": {
  27556. "description": "留言信息",
  27557. "type": "string"
  27558. },
  27559. "messageboardid": {
  27560. "description": "留言簿ID(SEQ_MessageBoard)",
  27561. "type": "integer"
  27562. },
  27563. "userid": {
  27564. "description": "用户ID",
  27565. "type": "integer"
  27566. }
  27567. }
  27568. },
  27569. "models.MyCoupon": {
  27570. "type": "object",
  27571. "required": [
  27572. "accountid",
  27573. "coupontypeid"
  27574. ],
  27575. "properties": {
  27576. "accountid": {
  27577. "description": "资金账户ID",
  27578. "type": "integer"
  27579. },
  27580. "areauserid": {
  27581. "description": "所属机构",
  27582. "type": "integer"
  27583. },
  27584. "conditionvalue": {
  27585. "description": "条件阈值(可为0)",
  27586. "type": "number"
  27587. },
  27588. "couponcategroy": {
  27589. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  27590. "type": "integer"
  27591. },
  27592. "couponname": {
  27593. "description": "优惠券名称",
  27594. "type": "string"
  27595. },
  27596. "coupontypeid": {
  27597. "description": "优惠券类型ID",
  27598. "type": "string"
  27599. },
  27600. "couponvalue": {
  27601. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27602. "type": "number"
  27603. },
  27604. "curfreezeqty": {
  27605. "description": "期末冻结数量",
  27606. "type": "integer"
  27607. },
  27608. "curqty": {
  27609. "description": "期末数量",
  27610. "type": "integer"
  27611. },
  27612. "isgeneral": {
  27613. "description": "是否通用券 - 0:否 1:是",
  27614. "type": "integer"
  27615. },
  27616. "isunusable": {
  27617. "description": "是否不可用",
  27618. "type": "boolean"
  27619. },
  27620. "limitedflag": {
  27621. "description": "是否指定商品 - 0:不限 1:限制",
  27622. "type": "integer"
  27623. },
  27624. "limitedgoodsids": {
  27625. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  27626. "type": "string"
  27627. },
  27628. "orifreezeqty": {
  27629. "description": "期初冻结数量",
  27630. "type": "integer"
  27631. },
  27632. "oriqty": {
  27633. "description": "期初数量",
  27634. "type": "integer"
  27635. },
  27636. "reasontype": {
  27637. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  27638. "type": "integer"
  27639. },
  27640. "todaydecrease": {
  27641. "description": "今日减少",
  27642. "type": "integer"
  27643. },
  27644. "todayincrease": {
  27645. "description": "今日增加",
  27646. "type": "integer"
  27647. },
  27648. "userid": {
  27649. "description": "用户ID",
  27650. "type": "integer"
  27651. },
  27652. "userscope": {
  27653. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  27654. "type": "string"
  27655. }
  27656. }
  27657. },
  27658. "models.MyCouponHold": {
  27659. "type": "object",
  27660. "required": [
  27661. "couponholdid"
  27662. ],
  27663. "properties": {
  27664. "accountid": {
  27665. "description": "资金账户ID",
  27666. "type": "integer"
  27667. },
  27668. "conditionvalue": {
  27669. "description": "条件阈值(可为0)",
  27670. "type": "number"
  27671. },
  27672. "couponcategroy": {
  27673. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  27674. "type": "integer"
  27675. },
  27676. "couponholdid": {
  27677. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  27678. "type": "string"
  27679. },
  27680. "couponname": {
  27681. "description": "优惠券名称",
  27682. "type": "string"
  27683. },
  27684. "coupontypeid": {
  27685. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  27686. "type": "string"
  27687. },
  27688. "couponvalue": {
  27689. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27690. "type": "number"
  27691. },
  27692. "createtime": {
  27693. "description": "创建时间",
  27694. "type": "string"
  27695. },
  27696. "enddate": {
  27697. "description": "结束日期",
  27698. "type": "string"
  27699. },
  27700. "giveapplyid": {
  27701. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  27702. "type": "integer"
  27703. },
  27704. "holdstatus": {
  27705. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  27706. "type": "integer"
  27707. },
  27708. "isgeneral": {
  27709. "description": "是否通用券 - 0:否 1:是",
  27710. "type": "integer"
  27711. },
  27712. "limitedflag": {
  27713. "description": "是否指定商品 - 0:不限 1:限制",
  27714. "type": "integer"
  27715. },
  27716. "limitedgoodsids": {
  27717. "description": "指定商品IDs[逗号分隔]",
  27718. "type": "string"
  27719. },
  27720. "qty": {
  27721. "description": "数量(按1平铺)",
  27722. "type": "integer"
  27723. },
  27724. "startdate": {
  27725. "description": "开始日期",
  27726. "type": "string"
  27727. },
  27728. "userid": {
  27729. "description": "用户ID",
  27730. "type": "integer"
  27731. },
  27732. "userscope": {
  27733. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  27734. "type": "string"
  27735. }
  27736. }
  27737. },
  27738. "models.MyUsedCoupon": {
  27739. "type": "object",
  27740. "required": [
  27741. "coupontypeid",
  27742. "orderid"
  27743. ],
  27744. "properties": {
  27745. "accountid": {
  27746. "description": "资金账户ID(买方)",
  27747. "type": "integer"
  27748. },
  27749. "conditionvalue": {
  27750. "description": "条件阈值(可为0)",
  27751. "type": "number"
  27752. },
  27753. "couponcategroy": {
  27754. "description": "种类 - 1:现金券 2:折扣券",
  27755. "type": "integer"
  27756. },
  27757. "couponname": {
  27758. "description": "优惠券名称",
  27759. "type": "string"
  27760. },
  27761. "coupontypeid": {
  27762. "description": "优惠券类型ID(买方)",
  27763. "type": "string"
  27764. },
  27765. "couponvalue": {
  27766. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  27767. "type": "number"
  27768. },
  27769. "createtime": {
  27770. "description": "创建时间",
  27771. "type": "string"
  27772. },
  27773. "goodsid": {
  27774. "description": "商品ID",
  27775. "type": "integer"
  27776. },
  27777. "handlestatus": {
  27778. "description": "处理状态",
  27779. "type": "integer"
  27780. },
  27781. "marketid": {
  27782. "description": "市场ID",
  27783. "type": "integer"
  27784. },
  27785. "offamount": {
  27786. "description": "优惠金额",
  27787. "type": "number"
  27788. },
  27789. "orderid": {
  27790. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27791. "type": "string"
  27792. },
  27793. "sellaccountid": {
  27794. "description": "资金账户ID(卖方)",
  27795. "type": "integer"
  27796. },
  27797. "tradeamount": {
  27798. "description": "成交金额",
  27799. "type": "number"
  27800. },
  27801. "tradeid": {
  27802. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27803. "type": "string"
  27804. },
  27805. "usedqty": {
  27806. "description": "使用数量",
  27807. "type": "integer"
  27808. }
  27809. }
  27810. },
  27811. "models.OperationPrimaryMenu": {
  27812. "type": "object",
  27813. "properties": {
  27814. "Children": {
  27815. "description": "二级功能菜单",
  27816. "type": "array",
  27817. "items": {
  27818. "$ref": "#/definitions/models.OperationSecondaryMenu"
  27819. }
  27820. },
  27821. "Key": {
  27822. "description": "菜单KEY",
  27823. "type": "string"
  27824. },
  27825. "Label": {
  27826. "description": "菜单标题",
  27827. "type": "string"
  27828. }
  27829. }
  27830. },
  27831. "models.OperationSecondaryMenu": {
  27832. "type": "object",
  27833. "properties": {
  27834. "Key": {
  27835. "description": "菜单KEY",
  27836. "type": "string"
  27837. },
  27838. "Label": {
  27839. "description": "菜单标题",
  27840. "type": "string"
  27841. },
  27842. "TabList": {
  27843. "description": "三级功能菜单",
  27844. "type": "array",
  27845. "items": {
  27846. "$ref": "#/definitions/models.OperationTabMenu"
  27847. }
  27848. }
  27849. }
  27850. },
  27851. "models.OperationTabMenu": {
  27852. "type": "object",
  27853. "properties": {
  27854. "Key": {
  27855. "description": "菜单KEY",
  27856. "type": "string"
  27857. },
  27858. "Label": {
  27859. "description": "菜单标题",
  27860. "type": "string"
  27861. }
  27862. }
  27863. },
  27864. "models.QhjAccountOutInApply": {
  27865. "type": "object",
  27866. "properties": {
  27867. "accountcode": {
  27868. "description": "资金账号",
  27869. "type": "string"
  27870. },
  27871. "accountname": {
  27872. "description": "用户名称(名称)",
  27873. "type": "string"
  27874. },
  27875. "accountpwd": {
  27876. "description": "资金密码",
  27877. "type": "string"
  27878. },
  27879. "accountticket": {
  27880. "description": "最新账户服务流水号",
  27881. "type": "string"
  27882. },
  27883. "amount": {
  27884. "description": "金额",
  27885. "type": "number"
  27886. },
  27887. "applyremark": {
  27888. "description": "申请备注",
  27889. "type": "string"
  27890. },
  27891. "applystatus": {
  27892. "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: 复审通过,账户冻结金额检查中;",
  27893. "type": "integer"
  27894. },
  27895. "auditid": {
  27896. "description": "审核人",
  27897. "type": "integer"
  27898. },
  27899. "audittime": {
  27900. "description": "审核时间",
  27901. "type": "string"
  27902. },
  27903. "bank_apply_ticket": {
  27904. "description": "银行申请流水",
  27905. "type": "string"
  27906. },
  27907. "bankaccountname": {
  27908. "description": "银行账户名",
  27909. "type": "string"
  27910. },
  27911. "bankaccountno": {
  27912. "description": "银行卡号",
  27913. "type": "string"
  27914. },
  27915. "bankid": {
  27916. "description": "银行编号",
  27917. "type": "string"
  27918. },
  27919. "bankticket": {
  27920. "description": "银行流水",
  27921. "type": "string"
  27922. },
  27923. "branchbankid": {
  27924. "description": "银行支行号",
  27925. "type": "string"
  27926. },
  27927. "branchbankname": {
  27928. "description": "银行支行名称",
  27929. "type": "string"
  27930. },
  27931. "capamountout": {
  27932. "description": "出金(劣后本金) - 外部子账户",
  27933. "type": "number"
  27934. },
  27935. "certificatephotourl": {
  27936. "description": "凭证地址",
  27937. "type": "string"
  27938. },
  27939. "charge": {
  27940. "description": "手续费",
  27941. "type": "number"
  27942. },
  27943. "checkerrorflag": {
  27944. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  27945. "type": "integer"
  27946. },
  27947. "currency": {
  27948. "description": "币种",
  27949. "type": "string"
  27950. },
  27951. "cusbankid": {
  27952. "description": "托管银行编号",
  27953. "type": "string"
  27954. },
  27955. "exchticket": {
  27956. "description": "银行服务流水号",
  27957. "type": "string"
  27958. },
  27959. "executetype": {
  27960. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  27961. "type": "integer"
  27962. },
  27963. "extendinfo": {
  27964. "description": "扩展信息",
  27965. "type": "string"
  27966. },
  27967. "extoperateid": {
  27968. "description": "交易服务流水号",
  27969. "type": "integer"
  27970. },
  27971. "infamount": {
  27972. "description": "劣后金额(自有)",
  27973. "type": "number"
  27974. },
  27975. "logincode": {
  27976. "description": "登录账号(账号)",
  27977. "type": "string"
  27978. },
  27979. "netaddr": {
  27980. "description": "调转网址",
  27981. "type": "string"
  27982. },
  27983. "priamount": {
  27984. "description": "优先金额(授信)",
  27985. "type": "number"
  27986. },
  27987. "reauditid": {
  27988. "description": "复审人",
  27989. "type": "integer"
  27990. },
  27991. "reauditremark": {
  27992. "description": "复审备注",
  27993. "type": "string"
  27994. },
  27995. "reaudittime": {
  27996. "description": "复审时间",
  27997. "type": "string"
  27998. },
  27999. "relatedorderid": {
  28000. "description": "三方关联ID",
  28001. "type": "string"
  28002. },
  28003. "remark": {
  28004. "description": "备注",
  28005. "type": "string"
  28006. },
  28007. "remark2": {
  28008. "description": "备注(失败原因)",
  28009. "type": "string"
  28010. },
  28011. "soucreamount": {
  28012. "description": "原始出入金金额",
  28013. "type": "number"
  28014. },
  28015. "soucrecurrencyid": {
  28016. "description": "原始出入金币种",
  28017. "type": "integer"
  28018. },
  28019. "tradedate": {
  28020. "description": "交易日(yyyyMMdd)",
  28021. "type": "string"
  28022. },
  28023. "updatetime": {
  28024. "description": "更新时间(申请时间)",
  28025. "type": "string"
  28026. },
  28027. "userid": {
  28028. "description": "用户id",
  28029. "type": "integer"
  28030. },
  28031. "userinfotype": {
  28032. "description": "账户类型 1-个人 2-企业",
  28033. "type": "integer"
  28034. }
  28035. }
  28036. },
  28037. "models.QhjAgreementChangeLog": {
  28038. "type": "object",
  28039. "properties": {
  28040. "agreementcontent": {
  28041. "description": "协议内容",
  28042. "type": "string"
  28043. },
  28044. "agreementfrequency": {
  28045. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  28046. "type": "integer"
  28047. },
  28048. "agreementid": {
  28049. "description": "协议ID",
  28050. "type": "integer"
  28051. },
  28052. "agreementname": {
  28053. "description": "协议名称",
  28054. "type": "string"
  28055. },
  28056. "agreementno": {
  28057. "description": "协议编号",
  28058. "type": "string"
  28059. },
  28060. "agreementtype": {
  28061. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28062. "type": "integer"
  28063. },
  28064. "agreementversion": {
  28065. "description": "协议版本号",
  28066. "type": "integer"
  28067. },
  28068. "logid": {
  28069. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  28070. "type": "integer"
  28071. },
  28072. "reviserid": {
  28073. "description": "修改人",
  28074. "type": "integer"
  28075. },
  28076. "revisersrc": {
  28077. "description": "修改来源 - 1:管理端 2:终端",
  28078. "type": "integer"
  28079. },
  28080. "updatetime": {
  28081. "description": "更新时间",
  28082. "type": "string"
  28083. }
  28084. }
  28085. },
  28086. "models.QhjAgreementConfig": {
  28087. "type": "object",
  28088. "properties": {
  28089. "agreementcontent": {
  28090. "description": "协议内容",
  28091. "type": "string"
  28092. },
  28093. "agreementfrequency": {
  28094. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  28095. "type": "integer"
  28096. },
  28097. "agreementid": {
  28098. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  28099. "type": "integer"
  28100. },
  28101. "agreementname": {
  28102. "description": "协议名称",
  28103. "type": "string"
  28104. },
  28105. "agreementno": {
  28106. "description": "协议编号",
  28107. "type": "string"
  28108. },
  28109. "agreementtype": {
  28110. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28111. "type": "integer"
  28112. },
  28113. "agreementversion": {
  28114. "description": "协议版本号(从1开始每次修改加1)",
  28115. "type": "integer"
  28116. },
  28117. "createtime": {
  28118. "description": "创建时间",
  28119. "type": "string"
  28120. },
  28121. "creatorid": {
  28122. "description": "创建人",
  28123. "type": "integer"
  28124. },
  28125. "creatorsrc": {
  28126. "description": "创建来源 - 1:管理端 2:终端",
  28127. "type": "integer"
  28128. },
  28129. "isvalid": {
  28130. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  28131. "type": "integer"
  28132. },
  28133. "reviserid": {
  28134. "description": "修改人",
  28135. "type": "integer"
  28136. },
  28137. "revisersrc": {
  28138. "description": "修改来源 - 1:管理端 2:终端",
  28139. "type": "integer"
  28140. },
  28141. "updatetime": {
  28142. "description": "更新时间",
  28143. "type": "string"
  28144. }
  28145. }
  28146. },
  28147. "models.QhjAreaFinanceConfig": {
  28148. "type": "object",
  28149. "properties": {
  28150. "additionalratio": {
  28151. "description": "追加款比例",
  28152. "type": "number"
  28153. },
  28154. "advanceratio": {
  28155. "description": "预付款比例",
  28156. "type": "number"
  28157. },
  28158. "alarmratio": {
  28159. "description": "告警比例",
  28160. "type": "number"
  28161. },
  28162. "consumptiondirectreward": {
  28163. "description": "消费直推奖励值",
  28164. "type": "number"
  28165. },
  28166. "consumptionenabled": {
  28167. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  28168. "type": "integer"
  28169. },
  28170. "consumptionindirectreward": {
  28171. "description": "消费间推奖励值",
  28172. "type": "number"
  28173. },
  28174. "consumptionmodel": {
  28175. "description": "消费奖励方式 - 1:比率 2:固定",
  28176. "type": "integer"
  28177. },
  28178. "customerservicenum": {
  28179. "description": "客服电话",
  28180. "type": "string"
  28181. },
  28182. "dayinterestrate": {
  28183. "description": "日利率",
  28184. "type": "number"
  28185. },
  28186. "disableconsumptiontips": {
  28187. "description": "关闭消费奖励提示",
  28188. "type": "string"
  28189. },
  28190. "modifierid": {
  28191. "description": "修改人ID",
  28192. "type": "integer"
  28193. },
  28194. "modifysrc": {
  28195. "description": "审核来源 - 1:管理端 2:终端",
  28196. "type": "integer"
  28197. },
  28198. "modifytime": {
  28199. "description": "修改时间",
  28200. "type": "string"
  28201. },
  28202. "promotionvalue": {
  28203. "description": "推广奖励值(固定)",
  28204. "type": "number"
  28205. },
  28206. "scoreconfigvalue1": {
  28207. "description": "提货积分配置1",
  28208. "type": "integer"
  28209. },
  28210. "scoreconfigvalue2": {
  28211. "description": "提货积分配置2",
  28212. "type": "integer"
  28213. },
  28214. "userid": {
  28215. "description": "机构用户ID其他做市关系,都设置为 1",
  28216. "type": "integer"
  28217. },
  28218. "username": {
  28219. "description": "用户名称",
  28220. "type": "string"
  28221. }
  28222. }
  28223. },
  28224. "models.QhjBankAccountSign": {
  28225. "type": "object",
  28226. "properties": {
  28227. "accountcode": {
  28228. "description": "资金账号",
  28229. "type": "string"
  28230. },
  28231. "accountname": {
  28232. "description": "资金账号对应的账号名(UserName)",
  28233. "type": "string"
  28234. },
  28235. "accountname2": {
  28236. "description": "资金账号对应的账号名(UserName) - 密文",
  28237. "type": "string"
  28238. },
  28239. "accounttype": {
  28240. "description": "账户类型(UserType)",
  28241. "type": "integer"
  28242. },
  28243. "applicationtime": {
  28244. "description": "最后一次更新的时间",
  28245. "type": "string"
  28246. },
  28247. "applyexchticket": {
  28248. "description": "申请流水",
  28249. "type": "string"
  28250. },
  28251. "auditid": {
  28252. "description": "审核人",
  28253. "type": "integer"
  28254. },
  28255. "audittime": {
  28256. "description": "审核时间",
  28257. "type": "string"
  28258. },
  28259. "bankaccountname": {
  28260. "description": "签约银行卡账号名",
  28261. "type": "string"
  28262. },
  28263. "bankaccountname2": {
  28264. "description": "签约银行卡账号名 - 密文",
  28265. "type": "string"
  28266. },
  28267. "bankaccountno": {
  28268. "description": "银行卡号",
  28269. "type": "string"
  28270. },
  28271. "bankaccountno2": {
  28272. "description": "银行卡号 - 密文",
  28273. "type": "string"
  28274. },
  28275. "bankaccounttype": {
  28276. "description": "银行账户类型 - 1-对私; 2-对公",
  28277. "type": "integer"
  28278. },
  28279. "bankcardtype": {
  28280. "description": "银行卡类型",
  28281. "type": "integer"
  28282. },
  28283. "bankchildaccount": {
  28284. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  28285. "type": "string"
  28286. },
  28287. "bankcity": {
  28288. "description": "开户行城市",
  28289. "type": "string"
  28290. },
  28291. "bankid": {
  28292. "description": "签约银行ID",
  28293. "type": "string"
  28294. },
  28295. "bankname": {
  28296. "description": "签约银行名称",
  28297. "type": "string"
  28298. },
  28299. "bankprovince": {
  28300. "description": "开户行省份",
  28301. "type": "string"
  28302. },
  28303. "branchbankid": {
  28304. "description": "签约银行支行号",
  28305. "type": "string"
  28306. },
  28307. "branchbankname": {
  28308. "description": "签约银行支行名称",
  28309. "type": "string"
  28310. },
  28311. "cardno": {
  28312. "description": "证件号码",
  28313. "type": "string"
  28314. },
  28315. "cardno2": {
  28316. "description": "证件号码 - 密文",
  28317. "type": "string"
  28318. },
  28319. "cardtype": {
  28320. "description": "证件类型",
  28321. "type": "string"
  28322. },
  28323. "currency": {
  28324. "description": "币种",
  28325. "type": "string"
  28326. },
  28327. "cusbankid": {
  28328. "description": "托管银行编号",
  28329. "type": "string"
  28330. },
  28331. "direct": {
  28332. "description": "方向(可以判断那方先发起的签约)",
  28333. "type": "integer"
  28334. },
  28335. "exchticket": {
  28336. "description": "最后一次签约成功的流水号",
  28337. "type": "string"
  28338. },
  28339. "extendinfo": {
  28340. "description": "扩展信息(JSON字符串)",
  28341. "type": "string"
  28342. },
  28343. "mobilephone": {
  28344. "description": "手机号",
  28345. "type": "string"
  28346. },
  28347. "mobilephone2": {
  28348. "description": "手机号 - 密文",
  28349. "type": "string"
  28350. },
  28351. "netaddr": {
  28352. "description": "调转网址",
  28353. "type": "string"
  28354. },
  28355. "relateduserid": {
  28356. "description": "关联使用者userid",
  28357. "type": "integer"
  28358. },
  28359. "signstatus": {
  28360. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  28361. "type": "integer"
  28362. },
  28363. "updatetime": {
  28364. "description": "更新时间(签解约更新时间)",
  28365. "type": "string"
  28366. }
  28367. }
  28368. },
  28369. "models.QhjBankInfo": {
  28370. "type": "object",
  28371. "properties": {
  28372. "bankid": {
  28373. "description": "银行ID",
  28374. "type": "string"
  28375. },
  28376. "bankname": {
  28377. "description": "银行名称",
  28378. "type": "string"
  28379. },
  28380. "clearbankno": {
  28381. "description": "清算系统银行编号",
  28382. "type": "string"
  28383. },
  28384. "orderindex": {
  28385. "description": "排序顺序",
  28386. "type": "integer"
  28387. },
  28388. "status": {
  28389. "description": "状态 - 0:正常 1:注销",
  28390. "type": "integer"
  28391. }
  28392. }
  28393. },
  28394. "models.QhjBrokerApply": {
  28395. "type": "object",
  28396. "properties": {
  28397. "applicantid": {
  28398. "description": "申请人",
  28399. "type": "integer"
  28400. },
  28401. "applysrc": {
  28402. "description": "申请来源 - 1:管理端 2:终端",
  28403. "type": "integer"
  28404. },
  28405. "applystatus": {
  28406. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  28407. "type": "integer"
  28408. },
  28409. "applytime": {
  28410. "description": "申请时间",
  28411. "type": "string"
  28412. },
  28413. "auditorid": {
  28414. "description": "审核人",
  28415. "type": "integer"
  28416. },
  28417. "auditremark": {
  28418. "description": "审核备注",
  28419. "type": "string"
  28420. },
  28421. "auditsrc": {
  28422. "description": "审核来源 - 1:管理端 2:终端",
  28423. "type": "integer"
  28424. },
  28425. "audittime": {
  28426. "description": "审核时间",
  28427. "type": "string"
  28428. },
  28429. "audittradedate": {
  28430. "description": "审核交易日(yyyyMMdd)",
  28431. "type": "string"
  28432. },
  28433. "brokerapplyid": {
  28434. "description": "申请ID(SEQ_BROKERAPPLY)",
  28435. "type": "integer"
  28436. },
  28437. "cardbackphotourl": {
  28438. "description": "证件背面图片地址",
  28439. "type": "string"
  28440. },
  28441. "cardfrontphotourl": {
  28442. "description": "证件正面图片地址",
  28443. "type": "string"
  28444. },
  28445. "cardnum": {
  28446. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  28447. "type": "string"
  28448. },
  28449. "customername": {
  28450. "description": "姓名",
  28451. "type": "string"
  28452. },
  28453. "logincode": {
  28454. "description": "登录代码",
  28455. "type": "string"
  28456. },
  28457. "mobile": {
  28458. "description": "手机号码",
  28459. "type": "string"
  28460. },
  28461. "parentuserid": {
  28462. "description": "所属机构id",
  28463. "type": "integer"
  28464. },
  28465. "parentusername": {
  28466. "description": "所属机构名称",
  28467. "type": "string"
  28468. },
  28469. "refereeuserid": {
  28470. "description": "推荐人id(经纪人)",
  28471. "type": "integer"
  28472. },
  28473. "refernum": {
  28474. "description": "推荐码",
  28475. "type": "string"
  28476. },
  28477. "remark": {
  28478. "description": "备注",
  28479. "type": "string"
  28480. },
  28481. "subarealevelpath": {
  28482. "description": "层级路径",
  28483. "type": "string"
  28484. },
  28485. "tradedate": {
  28486. "description": "交易日(yyyyMMdd)",
  28487. "type": "string"
  28488. },
  28489. "userid": {
  28490. "description": "申请人用户ID",
  28491. "type": "integer"
  28492. },
  28493. "userinfotype": {
  28494. "description": "用户类型 1-个人 2-企业",
  28495. "type": "integer"
  28496. },
  28497. "username": {
  28498. "description": "用户名称",
  28499. "type": "string"
  28500. }
  28501. }
  28502. },
  28503. "models.QhjBrokerApplyEx": {
  28504. "type": "object",
  28505. "properties": {
  28506. "applylist": {
  28507. "description": "经纪人申请记录(只返回最新一条)",
  28508. "type": "array",
  28509. "items": {
  28510. "$ref": "#/definitions/models.QhjBrokerApply"
  28511. }
  28512. },
  28513. "canrecommend": {
  28514. "description": "是否经纪人 0-不是 1-是",
  28515. "type": "integer"
  28516. },
  28517. "refernum": {
  28518. "description": "推荐码",
  28519. "type": "string"
  28520. },
  28521. "userid": {
  28522. "description": "用户id",
  28523. "type": "integer"
  28524. },
  28525. "userinfotype": {
  28526. "description": "用户类型 1-个人 2-企业",
  28527. "type": "integer"
  28528. }
  28529. }
  28530. },
  28531. "models.QhjBrokerRewardLog": {
  28532. "type": "object",
  28533. "properties": {
  28534. "accountid": {
  28535. "description": "资金账号ID",
  28536. "type": "integer"
  28537. },
  28538. "createtime": {
  28539. "description": "创建时间(时间)",
  28540. "type": "string"
  28541. },
  28542. "handlestatus": {
  28543. "description": "处理状态",
  28544. "type": "integer"
  28545. },
  28546. "logid": {
  28547. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28548. "type": "string"
  28549. },
  28550. "marketid": {
  28551. "description": "市场ID",
  28552. "type": "integer"
  28553. },
  28554. "mmaccountid": {
  28555. "description": "做市商资金账号ID",
  28556. "type": "string"
  28557. },
  28558. "mmuserid": {
  28559. "description": "做市商用户ID",
  28560. "type": "string"
  28561. },
  28562. "rewardamount": {
  28563. "description": "奖励金额",
  28564. "type": "number"
  28565. },
  28566. "rewardmodel": {
  28567. "description": "消费奖励方式 - 1:比率 2:固定",
  28568. "type": "integer"
  28569. },
  28570. "rewardtype": {
  28571. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  28572. "type": "integer"
  28573. },
  28574. "rewardvalue": {
  28575. "description": "配置奖励值",
  28576. "type": "number"
  28577. },
  28578. "srcamount": {
  28579. "description": "成交金额 [消费奖励] (金额)",
  28580. "type": "number"
  28581. },
  28582. "srcgoodsid": {
  28583. "description": "来源商品ID [消费奖励]",
  28584. "type": "string"
  28585. },
  28586. "srctime": {
  28587. "description": "来源时间 (成交时间) [消费奖励]",
  28588. "type": "string"
  28589. },
  28590. "srctradeid": {
  28591. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  28592. "type": "string"
  28593. },
  28594. "srcuserid": {
  28595. "description": "来源用户ID(推广账户)",
  28596. "type": "string"
  28597. },
  28598. "srcusername": {
  28599. "description": "推广账户名称",
  28600. "type": "string"
  28601. },
  28602. "tradedate": {
  28603. "description": "交易日(yyyyMMdd)",
  28604. "type": "string"
  28605. },
  28606. "userid": {
  28607. "description": "经纪人用户ID",
  28608. "type": "integer"
  28609. }
  28610. }
  28611. },
  28612. "models.QhjContract": {
  28613. "type": "object",
  28614. "properties": {
  28615. "contractconfirmtime": {
  28616. "description": "合同确认时间(时间)",
  28617. "type": "string"
  28618. },
  28619. "currisklevel": {
  28620. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  28621. "type": "integer"
  28622. },
  28623. "decimalplace": {
  28624. "description": "商品报价小数位",
  28625. "type": "integer"
  28626. },
  28627. "enumdicname": {
  28628. "description": "单位名称",
  28629. "type": "string"
  28630. },
  28631. "goodscode": {
  28632. "description": "商品代码",
  28633. "type": "string"
  28634. },
  28635. "goodsid": {
  28636. "description": "商品ID [5:融资单]",
  28637. "type": "integer"
  28638. },
  28639. "goodsname": {
  28640. "description": "商品名称",
  28641. "type": "string"
  28642. },
  28643. "goodunitid": {
  28644. "description": "商品单位id",
  28645. "type": "integer"
  28646. },
  28647. "initmargin": {
  28648. "description": "初始保证金(首付款)",
  28649. "type": "number"
  28650. },
  28651. "lenderamount": {
  28652. "description": "贷款金额(总额|订单总额)",
  28653. "type": "number"
  28654. },
  28655. "marginratio": {
  28656. "description": "保证金比率(首付比例)",
  28657. "type": "number"
  28658. },
  28659. "payamount": {
  28660. "description": "已付(已付货款)",
  28661. "type": "number"
  28662. },
  28663. "reckonrecovermargin": {
  28664. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  28665. "type": "number"
  28666. },
  28667. "recoveredmargin": {
  28668. "description": "已追缴保证金",
  28669. "type": "number"
  28670. },
  28671. "remainamount": {
  28672. "description": "合同剩余金额(融资额)",
  28673. "type": "number"
  28674. },
  28675. "scfcontractid": {
  28676. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28677. "type": "string"
  28678. },
  28679. "scfcontractstatus": {
  28680. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  28681. "type": "integer"
  28682. },
  28683. "scfcontracttype": {
  28684. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  28685. "type": "integer"
  28686. },
  28687. "totalinterest": {
  28688. "description": "已计总利息(利息)",
  28689. "type": "number"
  28690. },
  28691. "tradeprice": {
  28692. "description": "成交价格(成本价格)",
  28693. "type": "number"
  28694. },
  28695. "userid": {
  28696. "description": "用户ID",
  28697. "type": "integer"
  28698. },
  28699. "username": {
  28700. "description": "用户名称",
  28701. "type": "string"
  28702. },
  28703. "wrqty": {
  28704. "description": "仓单数量(数量)",
  28705. "type": "number"
  28706. }
  28707. }
  28708. },
  28709. "models.QhjContractLog": {
  28710. "type": "object",
  28711. "properties": {
  28712. "amount": {
  28713. "description": "支付金额",
  28714. "type": "number"
  28715. },
  28716. "amounttype": {
  28717. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  28718. "type": "integer"
  28719. },
  28720. "logid": {
  28721. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28722. "type": "string"
  28723. },
  28724. "remainamount": {
  28725. "description": "剩余货款",
  28726. "type": "number"
  28727. },
  28728. "scfcontractid": {
  28729. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28730. "type": "integer"
  28731. },
  28732. "updatetime": {
  28733. "description": "更新时间",
  28734. "type": "string"
  28735. }
  28736. }
  28737. },
  28738. "models.QhjCusBankSignBankEx": {
  28739. "type": "object",
  28740. "properties": {
  28741. "banklst": {
  28742. "description": "银行列表",
  28743. "type": "array",
  28744. "items": {
  28745. "$ref": "#/definitions/models.QhjBankInfo"
  28746. }
  28747. },
  28748. "canallot": {
  28749. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  28750. "type": "integer"
  28751. },
  28752. "canallotquery": {
  28753. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  28754. "type": "integer"
  28755. },
  28756. "canbindcard": {
  28757. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  28758. "type": "integer"
  28759. },
  28760. "caninamount": {
  28761. "description": "是否可入金 - 0:不可 1:可以",
  28762. "type": "integer"
  28763. },
  28764. "caninamount2": {
  28765. "description": "是否可入金(网银端) - 0:不可 1:可以",
  28766. "type": "integer"
  28767. },
  28768. "canmodifybankcard": {
  28769. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  28770. "type": "integer"
  28771. },
  28772. "canmodifyphone": {
  28773. "description": "是否可修改手机号 - 0:不可 1:可以",
  28774. "type": "integer"
  28775. },
  28776. "canmodifysigninfo": {
  28777. "description": "是否可修改签约信息 - 0:不可 1:可以",
  28778. "type": "integer"
  28779. },
  28780. "canoutamount": {
  28781. "description": "是否可出金 - 0:不可 1:可以",
  28782. "type": "integer"
  28783. },
  28784. "canoutamount2": {
  28785. "description": "是否可出金(网银端) - 0:不可 1:可以",
  28786. "type": "integer"
  28787. },
  28788. "canrelease": {
  28789. "description": "是否可解约 - 0:不可 1:可以",
  28790. "type": "integer"
  28791. },
  28792. "canrelease2": {
  28793. "description": "是否可解约(网银端) - 0:不可 1:可以",
  28794. "type": "integer"
  28795. },
  28796. "cansign": {
  28797. "description": "是否可签约 - 0:不可 1:可以",
  28798. "type": "integer"
  28799. },
  28800. "cansign2": {
  28801. "description": "是否可签约(网银端) - 0:不可 1:可以",
  28802. "type": "integer"
  28803. },
  28804. "currency": {
  28805. "description": "币种",
  28806. "type": "string"
  28807. },
  28808. "cusbankid": {
  28809. "description": "托管银行编号(对应清算中心TRAN_NO)",
  28810. "type": "string"
  28811. },
  28812. "cusbankname": {
  28813. "description": "银行业务名称",
  28814. "type": "string"
  28815. },
  28816. "cusbankshortname": {
  28817. "description": "银行业务简称",
  28818. "type": "string"
  28819. },
  28820. "exchbankid": {
  28821. "description": "交易所开户银行ID",
  28822. "type": "string"
  28823. },
  28824. "exchpaybankaccname": {
  28825. "description": "交易所支出结算账户户名",
  28826. "type": "string"
  28827. },
  28828. "exchpaybankaccno": {
  28829. "description": "交易所支出结算账户",
  28830. "type": "string"
  28831. },
  28832. "isneedcheck": {
  28833. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  28834. "type": "integer"
  28835. },
  28836. "isneedclear": {
  28837. "description": "是否需要清算 - 0:不需要 1:需要",
  28838. "type": "integer"
  28839. },
  28840. "lastcheckstatus": {
  28841. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  28842. "type": "integer"
  28843. },
  28844. "lastchecktime": {
  28845. "description": "最后对账时间",
  28846. "type": "string"
  28847. },
  28848. "lastclearstatus": {
  28849. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  28850. "type": "integer"
  28851. },
  28852. "lastcleartime": {
  28853. "description": "最后清算时间",
  28854. "type": "string"
  28855. },
  28856. "lastsignintime": {
  28857. "description": "最后签到时间",
  28858. "type": "string"
  28859. },
  28860. "lastsignouttime": {
  28861. "description": "最后签退时间",
  28862. "type": "string"
  28863. },
  28864. "riskinfo": {
  28865. "description": "签约风险提示书",
  28866. "type": "string"
  28867. },
  28868. "signstatus": {
  28869. "description": "当前签到/签退状态 - 1:签到 2:签退",
  28870. "type": "integer"
  28871. },
  28872. "tradedate": {
  28873. "description": "交易日(yyyyMMdd)",
  28874. "type": "string"
  28875. },
  28876. "updatetime": {
  28877. "description": "当前签到/签退更新时间",
  28878. "type": "string"
  28879. }
  28880. }
  28881. },
  28882. "models.QhjCustomer": {
  28883. "type": "object",
  28884. "properties": {
  28885. "address": {
  28886. "description": "通讯地址",
  28887. "type": "string"
  28888. },
  28889. "attachment1": {
  28890. "description": "附件1",
  28891. "type": "string"
  28892. },
  28893. "attachment2": {
  28894. "description": "附件2",
  28895. "type": "string"
  28896. },
  28897. "audittime": {
  28898. "description": "审核时间",
  28899. "type": "string"
  28900. },
  28901. "cardbackphotourl": {
  28902. "description": "证件反面图片地址",
  28903. "type": "string"
  28904. },
  28905. "cardfrontphotourl": {
  28906. "description": "证件正面图片地址",
  28907. "type": "string"
  28908. },
  28909. "cardnum": {
  28910. "description": "证件号码",
  28911. "type": "string"
  28912. },
  28913. "cardtype": {
  28914. "description": "证件类型",
  28915. "type": "integer"
  28916. },
  28917. "cardtypename": {
  28918. "description": "证件类型名称",
  28919. "type": "string"
  28920. },
  28921. "cityid": {
  28922. "description": "市",
  28923. "type": "integer"
  28924. },
  28925. "cityname": {
  28926. "description": "城市名称",
  28927. "type": "string"
  28928. },
  28929. "contactname": {
  28930. "description": "联系人",
  28931. "type": "string"
  28932. },
  28933. "countryid": {
  28934. "description": "国家",
  28935. "type": "integer"
  28936. },
  28937. "countryname": {
  28938. "description": "国家名称",
  28939. "type": "string"
  28940. },
  28941. "createtime": {
  28942. "description": "创建时间",
  28943. "type": "string"
  28944. },
  28945. "customername": {
  28946. "description": "客户名称",
  28947. "type": "string"
  28948. },
  28949. "districtid": {
  28950. "description": "区域",
  28951. "type": "integer"
  28952. },
  28953. "districtname": {
  28954. "description": "地区名称",
  28955. "type": "string"
  28956. },
  28957. "email": {
  28958. "description": "邮件",
  28959. "type": "string"
  28960. },
  28961. "legalpersonname": {
  28962. "description": "法人姓名(企业)",
  28963. "type": "string"
  28964. },
  28965. "logincode": {
  28966. "description": "登录账号(代码)",
  28967. "type": "string"
  28968. },
  28969. "memberuserid": {
  28970. "description": "所属机构ID(所属会员)",
  28971. "type": "integer"
  28972. },
  28973. "memberusername": {
  28974. "description": "所属会员名称",
  28975. "type": "string"
  28976. },
  28977. "mobile": {
  28978. "description": "手机号码",
  28979. "type": "string"
  28980. },
  28981. "modifytime": {
  28982. "description": "修改时间",
  28983. "type": "string"
  28984. },
  28985. "nickname": {
  28986. "description": "昵称",
  28987. "type": "string"
  28988. },
  28989. "parentuserid": {
  28990. "description": "上级机构(所属机构)",
  28991. "type": "integer"
  28992. },
  28993. "parentusername": {
  28994. "description": "所属机构名称",
  28995. "type": "string"
  28996. },
  28997. "provinceid": {
  28998. "description": "省",
  28999. "type": "integer"
  29000. },
  29001. "provincename": {
  29002. "description": "省名称",
  29003. "type": "string"
  29004. },
  29005. "proxystatementurl": {
  29006. "description": "授权委托书",
  29007. "type": "string"
  29008. },
  29009. "remark": {
  29010. "description": "备注",
  29011. "type": "string"
  29012. },
  29013. "status": {
  29014. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  29015. "type": "integer"
  29016. },
  29017. "statusdesc": {
  29018. "description": "账户状态中文描述",
  29019. "type": "string"
  29020. },
  29021. "taxpayernum": {
  29022. "description": "纳税人识别号",
  29023. "type": "string"
  29024. },
  29025. "telphone": {
  29026. "description": "联系电话",
  29027. "type": "string"
  29028. },
  29029. "userid": {
  29030. "description": "用户ID",
  29031. "type": "integer"
  29032. },
  29033. "userinfotype": {
  29034. "description": "客户类型 1-个人 2-企业",
  29035. "type": "integer"
  29036. },
  29037. "username": {
  29038. "description": "用户名称",
  29039. "type": "string"
  29040. }
  29041. }
  29042. },
  29043. "models.QhjCustomerSignLog": {
  29044. "type": "object",
  29045. "properties": {
  29046. "agreementcontent": {
  29047. "description": "协议内容",
  29048. "type": "string"
  29049. },
  29050. "agreementid": {
  29051. "description": "协议ID",
  29052. "type": "integer"
  29053. },
  29054. "agreementname": {
  29055. "description": "协议名称",
  29056. "type": "string"
  29057. },
  29058. "agreementno": {
  29059. "description": "协议编号",
  29060. "type": "string"
  29061. },
  29062. "agreementtype": {
  29063. "description": "协议类型 - 1:注册 2:登录 3:交易",
  29064. "type": "integer"
  29065. },
  29066. "agreementversion": {
  29067. "description": "协议版本号",
  29068. "type": "integer"
  29069. },
  29070. "createtime": {
  29071. "description": "创建时间",
  29072. "type": "string"
  29073. },
  29074. "goodscode": {
  29075. "description": "商品代码",
  29076. "type": "string"
  29077. },
  29078. "goodsid": {
  29079. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29080. "type": "integer"
  29081. },
  29082. "goodsname": {
  29083. "description": "商品名称",
  29084. "type": "string"
  29085. },
  29086. "logid": {
  29087. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  29088. "type": "integer"
  29089. },
  29090. "nodetype": {
  29091. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  29092. "type": "integer"
  29093. },
  29094. "signadressurl": {
  29095. "description": "签约文件地址",
  29096. "type": "string"
  29097. },
  29098. "signtimestamp": {
  29099. "description": "签约状态时间戳",
  29100. "type": "string"
  29101. },
  29102. "userid": {
  29103. "description": "客户ID",
  29104. "type": "integer"
  29105. },
  29106. "username": {
  29107. "description": "客户名称",
  29108. "type": "string"
  29109. }
  29110. }
  29111. },
  29112. "models.QhjCustomerSignStatus": {
  29113. "type": "object",
  29114. "properties": {
  29115. "createtime": {
  29116. "description": "创建时间",
  29117. "type": "string"
  29118. },
  29119. "goodscode": {
  29120. "description": "商品代码",
  29121. "type": "string"
  29122. },
  29123. "goodsid": {
  29124. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29125. "type": "integer"
  29126. },
  29127. "goodsname": {
  29128. "description": "商品名称",
  29129. "type": "string"
  29130. },
  29131. "nodetype": {
  29132. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  29133. "type": "integer"
  29134. },
  29135. "signtimestamp": {
  29136. "description": "签约状态时间戳",
  29137. "type": "string"
  29138. },
  29139. "tradedate": {
  29140. "description": "创建交易日(yyyyMMdd)",
  29141. "type": "string"
  29142. },
  29143. "updatetime": {
  29144. "description": "更新时间",
  29145. "type": "string"
  29146. },
  29147. "userid": {
  29148. "description": "客户ID",
  29149. "type": "integer"
  29150. },
  29151. "username": {
  29152. "description": "客户名称",
  29153. "type": "string"
  29154. }
  29155. }
  29156. },
  29157. "models.QhjMgrAccountOutInApply": {
  29158. "type": "object",
  29159. "properties": {
  29160. "accountcode": {
  29161. "description": "资金账号",
  29162. "type": "string"
  29163. },
  29164. "accountname": {
  29165. "description": "用户名称(名称)",
  29166. "type": "string"
  29167. },
  29168. "accountpwd": {
  29169. "description": "资金密码",
  29170. "type": "string"
  29171. },
  29172. "accountticket": {
  29173. "description": "最新账户服务流水号",
  29174. "type": "string"
  29175. },
  29176. "amount": {
  29177. "description": "金额",
  29178. "type": "number"
  29179. },
  29180. "applyremark": {
  29181. "description": "申请备注",
  29182. "type": "string"
  29183. },
  29184. "applystatus": {
  29185. "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: 复审通过,账户冻结金额检查中;",
  29186. "type": "integer"
  29187. },
  29188. "auditid": {
  29189. "description": "审核人",
  29190. "type": "integer"
  29191. },
  29192. "audittime": {
  29193. "description": "审核时间",
  29194. "type": "string"
  29195. },
  29196. "bank_apply_ticket": {
  29197. "description": "银行申请流水",
  29198. "type": "string"
  29199. },
  29200. "bankaccountname": {
  29201. "description": "银行账户名",
  29202. "type": "string"
  29203. },
  29204. "bankaccountno": {
  29205. "description": "银行卡号",
  29206. "type": "string"
  29207. },
  29208. "bankid": {
  29209. "description": "银行编号",
  29210. "type": "string"
  29211. },
  29212. "bankname": {
  29213. "description": "银行名称",
  29214. "type": "string"
  29215. },
  29216. "bankticket": {
  29217. "description": "银行流水",
  29218. "type": "string"
  29219. },
  29220. "branchbankid": {
  29221. "description": "银行支行号",
  29222. "type": "string"
  29223. },
  29224. "branchbankname": {
  29225. "description": "银行支行名称",
  29226. "type": "string"
  29227. },
  29228. "capamountout": {
  29229. "description": "出金(劣后本金) - 外部子账户",
  29230. "type": "number"
  29231. },
  29232. "certificatephotourl": {
  29233. "description": "凭证地址",
  29234. "type": "string"
  29235. },
  29236. "charge": {
  29237. "description": "手续费",
  29238. "type": "number"
  29239. },
  29240. "checkerrorflag": {
  29241. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  29242. "type": "integer"
  29243. },
  29244. "currency": {
  29245. "description": "币种",
  29246. "type": "string"
  29247. },
  29248. "cusbankid": {
  29249. "description": "托管银行编号",
  29250. "type": "string"
  29251. },
  29252. "exchticket": {
  29253. "description": "银行服务流水号",
  29254. "type": "string"
  29255. },
  29256. "executetype": {
  29257. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  29258. "type": "integer"
  29259. },
  29260. "extendinfo": {
  29261. "description": "扩展信息",
  29262. "type": "string"
  29263. },
  29264. "extoperateid": {
  29265. "description": "交易服务流水号",
  29266. "type": "integer"
  29267. },
  29268. "infamount": {
  29269. "description": "劣后金额(自有)",
  29270. "type": "number"
  29271. },
  29272. "logincode": {
  29273. "description": "登录账号(账号)",
  29274. "type": "string"
  29275. },
  29276. "netaddr": {
  29277. "description": "调转网址",
  29278. "type": "string"
  29279. },
  29280. "priamount": {
  29281. "description": "优先金额(授信)",
  29282. "type": "number"
  29283. },
  29284. "reauditid": {
  29285. "description": "复审人",
  29286. "type": "integer"
  29287. },
  29288. "reauditremark": {
  29289. "description": "复审备注",
  29290. "type": "string"
  29291. },
  29292. "reaudittime": {
  29293. "description": "复审时间",
  29294. "type": "string"
  29295. },
  29296. "relatedorderid": {
  29297. "description": "三方关联ID",
  29298. "type": "string"
  29299. },
  29300. "remark": {
  29301. "description": "备注",
  29302. "type": "string"
  29303. },
  29304. "remark2": {
  29305. "description": "备注(失败原因)",
  29306. "type": "string"
  29307. },
  29308. "soucreamount": {
  29309. "description": "原始出入金金额",
  29310. "type": "number"
  29311. },
  29312. "soucrecurrencyid": {
  29313. "description": "原始出入金币种",
  29314. "type": "integer"
  29315. },
  29316. "tradedate": {
  29317. "description": "交易日(yyyyMMdd)",
  29318. "type": "string"
  29319. },
  29320. "updatetime": {
  29321. "description": "更新时间(申请时间)",
  29322. "type": "string"
  29323. },
  29324. "userid": {
  29325. "description": "用户id",
  29326. "type": "integer"
  29327. },
  29328. "userinfotype": {
  29329. "description": "账户类型 1-个人 2-企业",
  29330. "type": "integer"
  29331. }
  29332. }
  29333. },
  29334. "models.QhjMgrBrokerApply": {
  29335. "type": "object",
  29336. "properties": {
  29337. "applicantid": {
  29338. "description": "申请人",
  29339. "type": "integer"
  29340. },
  29341. "applysrc": {
  29342. "description": "申请来源 - 1:管理端 2:终端",
  29343. "type": "integer"
  29344. },
  29345. "applystatus": {
  29346. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  29347. "type": "integer"
  29348. },
  29349. "applytime": {
  29350. "description": "申请时间",
  29351. "type": "string"
  29352. },
  29353. "auditorid": {
  29354. "description": "审核人",
  29355. "type": "integer"
  29356. },
  29357. "auditremark": {
  29358. "description": "审核备注",
  29359. "type": "string"
  29360. },
  29361. "auditsrc": {
  29362. "description": "审核来源 - 1:管理端 2:终端",
  29363. "type": "integer"
  29364. },
  29365. "audittime": {
  29366. "description": "审核时间",
  29367. "type": "string"
  29368. },
  29369. "audittradedate": {
  29370. "description": "审核交易日(yyyyMMdd)",
  29371. "type": "string"
  29372. },
  29373. "brokerapplyid": {
  29374. "description": "申请ID(SEQ_BROKERAPPLY)",
  29375. "type": "integer"
  29376. },
  29377. "cardbackphotourl": {
  29378. "description": "证件背面图片地址",
  29379. "type": "string"
  29380. },
  29381. "cardfrontphotourl": {
  29382. "description": "证件正面图片地址",
  29383. "type": "string"
  29384. },
  29385. "cardnum": {
  29386. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  29387. "type": "string"
  29388. },
  29389. "customername": {
  29390. "description": "姓名",
  29391. "type": "string"
  29392. },
  29393. "filterstatus": {
  29394. "description": "筛选条件",
  29395. "type": "string"
  29396. },
  29397. "logincode": {
  29398. "description": "登录代码",
  29399. "type": "string"
  29400. },
  29401. "mobile": {
  29402. "description": "手机号码",
  29403. "type": "string"
  29404. },
  29405. "parentuserid": {
  29406. "description": "所属机构id",
  29407. "type": "integer"
  29408. },
  29409. "parentusername": {
  29410. "description": "所属机构名称",
  29411. "type": "string"
  29412. },
  29413. "refereeuserid": {
  29414. "description": "推荐人id(经纪人)",
  29415. "type": "integer"
  29416. },
  29417. "refernum": {
  29418. "description": "推荐码",
  29419. "type": "string"
  29420. },
  29421. "remark": {
  29422. "description": "备注",
  29423. "type": "string"
  29424. },
  29425. "subarealevelpath": {
  29426. "description": "层级路径",
  29427. "type": "string"
  29428. },
  29429. "tradedate": {
  29430. "description": "交易日(yyyyMMdd)",
  29431. "type": "string"
  29432. },
  29433. "userid": {
  29434. "description": "申请人用户ID",
  29435. "type": "integer"
  29436. },
  29437. "userinfotype": {
  29438. "description": "用户类型 1-个人 2-企业",
  29439. "type": "integer"
  29440. },
  29441. "username": {
  29442. "description": "用户名称",
  29443. "type": "string"
  29444. }
  29445. }
  29446. },
  29447. "models.QhjMgrBrokerRewardReport": {
  29448. "type": "object",
  29449. "properties": {
  29450. "createtime": {
  29451. "description": "创建时间(注册时间)",
  29452. "type": "string"
  29453. },
  29454. "cycletime": {
  29455. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  29456. "type": "string"
  29457. },
  29458. "cycletype": {
  29459. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  29460. "type": "integer"
  29461. },
  29462. "directtotalnum": {
  29463. "description": "直推总人数【期末】",
  29464. "type": "integer"
  29465. },
  29466. "indirecttotalnum": {
  29467. "description": "间推总人数【期末】",
  29468. "type": "integer"
  29469. },
  29470. "mobile": {
  29471. "description": "电话号码",
  29472. "type": "string"
  29473. },
  29474. "refereeuserid": {
  29475. "description": "推荐人id(经纪人id)",
  29476. "type": "integer"
  29477. },
  29478. "refereeusername": {
  29479. "description": "推荐人名称(经纪人) 上级经纪人名称",
  29480. "type": "string"
  29481. },
  29482. "refernum": {
  29483. "description": "推荐码",
  29484. "type": "string"
  29485. },
  29486. "subarealevelpath": {
  29487. "description": "用户层级路径",
  29488. "type": "string"
  29489. },
  29490. "todayrewardamount": {
  29491. "description": "奖励总金额【汇总】",
  29492. "type": "number"
  29493. },
  29494. "updatetime": {
  29495. "description": "更新时间",
  29496. "type": "string"
  29497. },
  29498. "userid": {
  29499. "description": "经纪人用户ID",
  29500. "type": "integer"
  29501. },
  29502. "userinfotype": {
  29503. "description": "用户类型 1-个人 2-企业",
  29504. "type": "integer"
  29505. },
  29506. "username": {
  29507. "description": "用户名称",
  29508. "type": "string"
  29509. }
  29510. }
  29511. },
  29512. "models.QhjMgrContract": {
  29513. "type": "object",
  29514. "properties": {
  29515. "contractconfirmtime": {
  29516. "description": "合同确认时间(时间)",
  29517. "type": "string"
  29518. },
  29519. "currisklevel": {
  29520. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  29521. "type": "integer"
  29522. },
  29523. "decimalplace": {
  29524. "description": "商品报价小数位",
  29525. "type": "integer"
  29526. },
  29527. "enumdicname": {
  29528. "description": "单位名称",
  29529. "type": "string"
  29530. },
  29531. "goodscode": {
  29532. "description": "商品代码",
  29533. "type": "string"
  29534. },
  29535. "goodsid": {
  29536. "description": "商品ID [5:融资单]",
  29537. "type": "integer"
  29538. },
  29539. "goodsname": {
  29540. "description": "商品名称",
  29541. "type": "string"
  29542. },
  29543. "goodunitid": {
  29544. "description": "商品单位id",
  29545. "type": "integer"
  29546. },
  29547. "initmargin": {
  29548. "description": "初始保证金(首付款)",
  29549. "type": "number"
  29550. },
  29551. "lenderamount": {
  29552. "description": "贷款金额(总额|订单总额)",
  29553. "type": "number"
  29554. },
  29555. "logincode": {
  29556. "description": "账号(登录代码)",
  29557. "type": "string"
  29558. },
  29559. "marginratio": {
  29560. "description": "保证金比率(首付比例)",
  29561. "type": "number"
  29562. },
  29563. "mobile": {
  29564. "description": "电话号码(用户资料里的电话)",
  29565. "type": "string"
  29566. },
  29567. "payamount": {
  29568. "description": "已付(已付货款)",
  29569. "type": "number"
  29570. },
  29571. "reckonrecovermargin": {
  29572. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  29573. "type": "number"
  29574. },
  29575. "recoveredmargin": {
  29576. "description": "已追缴保证金",
  29577. "type": "number"
  29578. },
  29579. "remainamount": {
  29580. "description": "合同剩余金额(融资额)",
  29581. "type": "number"
  29582. },
  29583. "scfcontractid": {
  29584. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  29585. "type": "string"
  29586. },
  29587. "scfcontractstatus": {
  29588. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  29589. "type": "integer"
  29590. },
  29591. "scfcontracttype": {
  29592. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  29593. "type": "integer"
  29594. },
  29595. "totalinterest": {
  29596. "description": "已计总利息(利息)",
  29597. "type": "number"
  29598. },
  29599. "tradedate": {
  29600. "description": "交易日",
  29601. "type": "string"
  29602. },
  29603. "tradeprice": {
  29604. "description": "成交价格(成本价格)",
  29605. "type": "number"
  29606. },
  29607. "userid": {
  29608. "description": "用户ID",
  29609. "type": "integer"
  29610. },
  29611. "userinfotype": {
  29612. "description": "用户类型 1-个人 2-企业",
  29613. "type": "integer"
  29614. },
  29615. "username": {
  29616. "description": "用户名称",
  29617. "type": "string"
  29618. },
  29619. "wrqty": {
  29620. "description": "仓单数量(数量)",
  29621. "type": "number"
  29622. }
  29623. }
  29624. },
  29625. "models.QhjMgrCustomer": {
  29626. "type": "object",
  29627. "properties": {
  29628. "address": {
  29629. "description": "通讯地址",
  29630. "type": "string"
  29631. },
  29632. "attachment1": {
  29633. "description": "附件1",
  29634. "type": "string"
  29635. },
  29636. "audittime": {
  29637. "description": "审核时间",
  29638. "type": "string"
  29639. },
  29640. "birthday": {
  29641. "description": "生日",
  29642. "type": "string"
  29643. },
  29644. "brokerid": {
  29645. "description": "所属客户经理id",
  29646. "type": "integer"
  29647. },
  29648. "brokername": {
  29649. "description": "所属客户经理名称",
  29650. "type": "string"
  29651. },
  29652. "cardbackphotourl": {
  29653. "description": "证件反面图片地址",
  29654. "type": "string"
  29655. },
  29656. "cardfrontphotourl": {
  29657. "description": "证件正面图片地址",
  29658. "type": "string"
  29659. },
  29660. "cardnum": {
  29661. "description": "证件号码",
  29662. "type": "string"
  29663. },
  29664. "cardtype": {
  29665. "description": "证件类型",
  29666. "type": "integer"
  29667. },
  29668. "cardtypename": {
  29669. "description": "证件类型名称",
  29670. "type": "string"
  29671. },
  29672. "cityid": {
  29673. "description": "市",
  29674. "type": "integer"
  29675. },
  29676. "cityname": {
  29677. "description": "城市名称",
  29678. "type": "string"
  29679. },
  29680. "contactname": {
  29681. "description": "联系人",
  29682. "type": "string"
  29683. },
  29684. "countryid": {
  29685. "description": "国家",
  29686. "type": "integer"
  29687. },
  29688. "countryname": {
  29689. "description": "国家名称",
  29690. "type": "string"
  29691. },
  29692. "createtime": {
  29693. "description": "创建时间",
  29694. "type": "string"
  29695. },
  29696. "customername": {
  29697. "description": "客户名称",
  29698. "type": "string"
  29699. },
  29700. "districtid": {
  29701. "description": "区域",
  29702. "type": "integer"
  29703. },
  29704. "districtname": {
  29705. "description": "地区名称",
  29706. "type": "string"
  29707. },
  29708. "email": {
  29709. "description": "邮件",
  29710. "type": "string"
  29711. },
  29712. "legalpersonname": {
  29713. "description": "法人姓名(企业)",
  29714. "type": "string"
  29715. },
  29716. "logincode": {
  29717. "description": "登录账号(代码)",
  29718. "type": "string"
  29719. },
  29720. "memberuserid": {
  29721. "description": "所属机构ID(所属会员)",
  29722. "type": "integer"
  29723. },
  29724. "memberusername": {
  29725. "description": "所属会员名称",
  29726. "type": "string"
  29727. },
  29728. "mobile": {
  29729. "description": "手机号码",
  29730. "type": "string"
  29731. },
  29732. "modifytime": {
  29733. "description": "修改时间",
  29734. "type": "string"
  29735. },
  29736. "nickname": {
  29737. "description": "昵称",
  29738. "type": "string"
  29739. },
  29740. "parentuserid": {
  29741. "description": "上级机构(所属机构)",
  29742. "type": "integer"
  29743. },
  29744. "parentusername": {
  29745. "description": "所属机构名称",
  29746. "type": "string"
  29747. },
  29748. "provinceid": {
  29749. "description": "省",
  29750. "type": "integer"
  29751. },
  29752. "provincename": {
  29753. "description": "省名称",
  29754. "type": "string"
  29755. },
  29756. "proxystatementurl": {
  29757. "description": "授权委托书",
  29758. "type": "string"
  29759. },
  29760. "querytype": {
  29761. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  29762. "type": "integer"
  29763. },
  29764. "remark": {
  29765. "description": "备注",
  29766. "type": "string"
  29767. },
  29768. "sex": {
  29769. "description": "性别 0-女 1-男",
  29770. "type": "integer"
  29771. },
  29772. "status": {
  29773. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29774. "type": "integer"
  29775. },
  29776. "statusdesc": {
  29777. "description": "账户状态中文描述",
  29778. "type": "string"
  29779. },
  29780. "taxpayernum": {
  29781. "description": "纳税人识别号",
  29782. "type": "string"
  29783. },
  29784. "telphone": {
  29785. "description": "联系电话",
  29786. "type": "string"
  29787. },
  29788. "userid": {
  29789. "description": "用户ID",
  29790. "type": "integer"
  29791. },
  29792. "userinfotype": {
  29793. "description": "客户类型 1-个人 2-企业",
  29794. "type": "integer"
  29795. },
  29796. "username": {
  29797. "description": "用户名称",
  29798. "type": "string"
  29799. }
  29800. }
  29801. },
  29802. "models.QhjMgrPickGoods": {
  29803. "type": "object",
  29804. "properties": {
  29805. "enumdicname": {
  29806. "description": "单位名称(提货商品)",
  29807. "type": "string"
  29808. },
  29809. "goodsid": {
  29810. "description": "商品id",
  29811. "type": "integer"
  29812. },
  29813. "imageaddress": {
  29814. "description": "图片",
  29815. "type": "string"
  29816. },
  29817. "modifierid": {
  29818. "description": "修改人",
  29819. "type": "integer"
  29820. },
  29821. "modifiername": {
  29822. "description": "修改人名称",
  29823. "type": "string"
  29824. },
  29825. "modifysrc": {
  29826. "description": "修改来源 - 1:管理端 2:终端",
  29827. "type": "integer"
  29828. },
  29829. "pickupgoodsagreeunit": {
  29830. "description": "合约乘数",
  29831. "type": "number"
  29832. },
  29833. "pickupgoodsdesc": {
  29834. "description": "描述",
  29835. "type": "string"
  29836. },
  29837. "pickupgoodsid": {
  29838. "description": "提货商品ID",
  29839. "type": "string"
  29840. },
  29841. "pickupgoodsname": {
  29842. "description": "提货商品名称",
  29843. "type": "string"
  29844. },
  29845. "pickupgoodsstatus": {
  29846. "description": "状态 - 1:正常 2:停用 3:注销",
  29847. "type": "integer"
  29848. },
  29849. "pickupgoodsunitid": {
  29850. "description": "单位ID",
  29851. "type": "integer"
  29852. },
  29853. "pickupratio": {
  29854. "description": "提货系数",
  29855. "type": "number"
  29856. },
  29857. "preparedays": {
  29858. "description": "备货期(天)",
  29859. "type": "integer"
  29860. },
  29861. "remark": {
  29862. "description": "备注",
  29863. "type": "string"
  29864. },
  29865. "updatetime": {
  29866. "description": "更新时间",
  29867. "type": "string"
  29868. }
  29869. }
  29870. },
  29871. "models.QhjMgrPositionRsp": {
  29872. "type": "object",
  29873. "properties": {
  29874. "accountid": {
  29875. "description": "账号Id",
  29876. "type": "integer"
  29877. },
  29878. "accountname": {
  29879. "description": "用户名称",
  29880. "type": "string"
  29881. },
  29882. "agreeunit": {
  29883. "description": "合约乘数",
  29884. "type": "number"
  29885. },
  29886. "averageprice": {
  29887. "description": "均价",
  29888. "type": "number"
  29889. },
  29890. "avialqty": {
  29891. "description": "可用数量",
  29892. "type": "number"
  29893. },
  29894. "decimalplace": {
  29895. "description": "报价小数位",
  29896. "type": "integer"
  29897. },
  29898. "enumdicname": {
  29899. "description": "单位名称(商品)",
  29900. "type": "string"
  29901. },
  29902. "frozenqty": {
  29903. "description": "冻结数量",
  29904. "type": "number"
  29905. },
  29906. "goodscode": {
  29907. "description": "商品代码(内部)",
  29908. "type": "string"
  29909. },
  29910. "goodsid": {
  29911. "description": "商品Id",
  29912. "type": "integer"
  29913. },
  29914. "goodsname": {
  29915. "description": "商品名称",
  29916. "type": "string"
  29917. },
  29918. "goodunitid": {
  29919. "description": "报价单位ID",
  29920. "type": "integer"
  29921. },
  29922. "holderamount": {
  29923. "description": "金额",
  29924. "type": "number"
  29925. },
  29926. "holderqty": {
  29927. "description": "持有数量",
  29928. "type": "number"
  29929. },
  29930. "holdertype": {
  29931. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  29932. "type": "integer"
  29933. },
  29934. "logincode": {
  29935. "description": "登录代码(账户)",
  29936. "type": "string"
  29937. },
  29938. "marketid": {
  29939. "description": "市场id",
  29940. "type": "integer"
  29941. },
  29942. "qtydecimalplace": {
  29943. "description": "成交量小数位",
  29944. "type": "integer"
  29945. },
  29946. "trademode": {
  29947. "description": "交易模式",
  29948. "type": "integer"
  29949. },
  29950. "userid": {
  29951. "description": "用户id",
  29952. "type": "integer"
  29953. },
  29954. "userinfotype": {
  29955. "description": "账户类型 1-个人 2-企业",
  29956. "type": "integer"
  29957. }
  29958. }
  29959. },
  29960. "models.QhjMgrSubArea": {
  29961. "type": "object",
  29962. "properties": {
  29963. "accountname": {
  29964. "description": "账户名称(机构名称)",
  29965. "type": "string"
  29966. },
  29967. "memberuserid": {
  29968. "description": "所属会员ID",
  29969. "type": "integer"
  29970. },
  29971. "parenttopuser": {
  29972. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  29973. "type": "string"
  29974. },
  29975. "parentuserid": {
  29976. "description": "所属机构ID",
  29977. "type": "integer"
  29978. },
  29979. "rootuserid": {
  29980. "description": "根用户ID",
  29981. "type": "string"
  29982. },
  29983. "subaccountlevel": {
  29984. "description": "子账户层数",
  29985. "type": "integer"
  29986. },
  29987. "subarealevelpath": {
  29988. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  29989. "type": "string"
  29990. },
  29991. "userid": {
  29992. "description": "用户ID",
  29993. "type": "integer"
  29994. },
  29995. "usertype": {
  29996. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  29997. "type": "integer"
  29998. }
  29999. }
  30000. },
  30001. "models.QhjMgrTradeDetailRsp": {
  30002. "type": "object",
  30003. "properties": {
  30004. "accountid": {
  30005. "description": "资金账号",
  30006. "type": "integer"
  30007. },
  30008. "accountname": {
  30009. "description": "用户名称",
  30010. "type": "string"
  30011. },
  30012. "agreeunit": {
  30013. "description": "合约乘数",
  30014. "type": "number"
  30015. },
  30016. "buyorsell": {
  30017. "description": "成交类型(方向) 0:买 1:卖",
  30018. "type": "integer"
  30019. },
  30020. "decimalplace": {
  30021. "description": "报价小数位",
  30022. "type": "integer"
  30023. },
  30024. "enumdicname": {
  30025. "description": "单位名称(商品)",
  30026. "type": "string"
  30027. },
  30028. "goodscode": {
  30029. "description": "商品代码(内部)",
  30030. "type": "string"
  30031. },
  30032. "goodsid": {
  30033. "description": "商品id",
  30034. "type": "integer"
  30035. },
  30036. "goodsname": {
  30037. "description": "商品名称",
  30038. "type": "string"
  30039. },
  30040. "goodunitid": {
  30041. "description": "报价单位ID",
  30042. "type": "integer"
  30043. },
  30044. "logincode": {
  30045. "description": "登录代码(账户)",
  30046. "type": "string"
  30047. },
  30048. "marketid": {
  30049. "description": "市场id",
  30050. "type": "integer"
  30051. },
  30052. "orderid": {
  30053. "description": "关联委托单号",
  30054. "type": "string"
  30055. },
  30056. "qtydecimalplace": {
  30057. "description": "成交量小数位",
  30058. "type": "integer"
  30059. },
  30060. "tradeamount": {
  30061. "description": "金额",
  30062. "type": "number"
  30063. },
  30064. "tradedate": {
  30065. "description": "交易日",
  30066. "type": "string"
  30067. },
  30068. "tradeid": {
  30069. "description": "成交单号",
  30070. "type": "string"
  30071. },
  30072. "trademode": {
  30073. "description": "交易模式",
  30074. "type": "integer"
  30075. },
  30076. "tradeprice": {
  30077. "description": "价格",
  30078. "type": "number"
  30079. },
  30080. "tradeqty": {
  30081. "description": "数量",
  30082. "type": "number"
  30083. },
  30084. "tradetime": {
  30085. "description": "成交时间",
  30086. "type": "string"
  30087. },
  30088. "userid": {
  30089. "description": "用户id",
  30090. "type": "integer"
  30091. },
  30092. "userinfotype": {
  30093. "description": "账户类型 1-个人 2-企业",
  30094. "type": "integer"
  30095. }
  30096. }
  30097. },
  30098. "models.QhjMgrTradeOrderDetailRsp": {
  30099. "type": "object",
  30100. "properties": {
  30101. "accountid": {
  30102. "description": "资金账号",
  30103. "type": "integer"
  30104. },
  30105. "accountname": {
  30106. "description": "用户名称",
  30107. "type": "string"
  30108. },
  30109. "agreeunit": {
  30110. "description": "合约乘数",
  30111. "type": "number"
  30112. },
  30113. "amount": {
  30114. "description": "金额",
  30115. "type": "number"
  30116. },
  30117. "decimalplace": {
  30118. "description": "报价小数位",
  30119. "type": "integer"
  30120. },
  30121. "enumdicname": {
  30122. "description": "单位名称(商品)",
  30123. "type": "string"
  30124. },
  30125. "goodscode": {
  30126. "description": "商品代码(内部)",
  30127. "type": "string"
  30128. },
  30129. "goodsid": {
  30130. "description": "商品id",
  30131. "type": "integer"
  30132. },
  30133. "goodsname": {
  30134. "description": "商品名称",
  30135. "type": "string"
  30136. },
  30137. "goodunitid": {
  30138. "description": "报价单位ID",
  30139. "type": "integer"
  30140. },
  30141. "logincode": {
  30142. "description": "登录代码(账户)",
  30143. "type": "string"
  30144. },
  30145. "marketid": {
  30146. "description": "市场id",
  30147. "type": "integer"
  30148. },
  30149. "orderid": {
  30150. "description": "关联委托单号",
  30151. "type": "string"
  30152. },
  30153. "orderprice": {
  30154. "description": "价格",
  30155. "type": "number"
  30156. },
  30157. "orderqty": {
  30158. "description": "数量",
  30159. "type": "number"
  30160. },
  30161. "orderstatus": {
  30162. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  30163. "type": "integer"
  30164. },
  30165. "ordertime": {
  30166. "description": "委托时间",
  30167. "type": "string"
  30168. },
  30169. "qtydecimalplace": {
  30170. "description": "成交量小数位",
  30171. "type": "integer"
  30172. },
  30173. "tradedate": {
  30174. "description": "交易日",
  30175. "type": "string"
  30176. },
  30177. "trademode": {
  30178. "description": "交易模式",
  30179. "type": "integer"
  30180. },
  30181. "userid": {
  30182. "description": "用户id",
  30183. "type": "integer"
  30184. },
  30185. "userinfotype": {
  30186. "description": "账户类型 1-个人 2-企业",
  30187. "type": "integer"
  30188. }
  30189. }
  30190. },
  30191. "models.QhjMgrTradePayOrder": {
  30192. "type": "object",
  30193. "properties": {
  30194. "accountname": {
  30195. "description": "用户名称",
  30196. "type": "string"
  30197. },
  30198. "advanceratio": {
  30199. "description": "首付比率",
  30200. "type": "number"
  30201. },
  30202. "agreeunit": {
  30203. "description": "合约乘数",
  30204. "type": "number"
  30205. },
  30206. "buyaccountid": {
  30207. "description": "买方账号ID[报价币种]",
  30208. "type": "integer"
  30209. },
  30210. "buyorderid": {
  30211. "description": "买方委托单号(关联单号)",
  30212. "type": "string"
  30213. },
  30214. "createtime": {
  30215. "description": "创建时间",
  30216. "type": "string"
  30217. },
  30218. "decimalplace": {
  30219. "description": "报价小数位",
  30220. "type": "integer"
  30221. },
  30222. "enumdicname": {
  30223. "description": "单位名称(商品)",
  30224. "type": "string"
  30225. },
  30226. "goodscode": {
  30227. "description": "商品代码(内部)",
  30228. "type": "string"
  30229. },
  30230. "goodsid": {
  30231. "description": "商品ID",
  30232. "type": "integer"
  30233. },
  30234. "goodsname": {
  30235. "description": "商品名称",
  30236. "type": "string"
  30237. },
  30238. "goodunitid": {
  30239. "description": "报价单位ID",
  30240. "type": "integer"
  30241. },
  30242. "logincode": {
  30243. "description": "登录代码(账户)",
  30244. "type": "string"
  30245. },
  30246. "marketid": {
  30247. "description": "市场id",
  30248. "type": "integer"
  30249. },
  30250. "offamount": {
  30251. "description": "优惠金额",
  30252. "type": "number"
  30253. },
  30254. "operatetype": {
  30255. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30256. "type": "integer"
  30257. },
  30258. "payamount": {
  30259. "description": "支付金额(金额)",
  30260. "type": "number"
  30261. },
  30262. "payflag": {
  30263. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30264. "type": "integer"
  30265. },
  30266. "paylimitedtime": {
  30267. "description": "支付期限",
  30268. "type": "string"
  30269. },
  30270. "paytime": {
  30271. "description": "付款时间",
  30272. "type": "string"
  30273. },
  30274. "qtydecimalplace": {
  30275. "description": "成交量小数位",
  30276. "type": "integer"
  30277. },
  30278. "sellaccountid": {
  30279. "description": "卖方账号ID[报价币种]",
  30280. "type": "integer"
  30281. },
  30282. "sellorderid": {
  30283. "description": "卖方委托单号",
  30284. "type": "string"
  30285. },
  30286. "tradeamount": {
  30287. "description": "成交金额(优惠后金额)",
  30288. "type": "number"
  30289. },
  30290. "tradecharge": {
  30291. "description": "成交手续费(买方)",
  30292. "type": "number"
  30293. },
  30294. "tradedate": {
  30295. "description": "交易日(yyyyMMdd)",
  30296. "type": "string"
  30297. },
  30298. "tradeid": {
  30299. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30300. "type": "string"
  30301. },
  30302. "trademode": {
  30303. "description": "交易模式",
  30304. "type": "integer"
  30305. },
  30306. "tradeprice": {
  30307. "description": "成交价格(价格)",
  30308. "type": "number"
  30309. },
  30310. "tradeqty": {
  30311. "description": "成交数量(数量)",
  30312. "type": "number"
  30313. },
  30314. "tradetime": {
  30315. "description": "成交时间",
  30316. "type": "string"
  30317. },
  30318. "userid": {
  30319. "description": "用户id",
  30320. "type": "integer"
  30321. },
  30322. "userinfotype": {
  30323. "description": "账户类型 1-个人 2-企业",
  30324. "type": "integer"
  30325. }
  30326. }
  30327. },
  30328. "models.QhjMyTeamEx": {
  30329. "type": "object",
  30330. "properties": {
  30331. "accountname": {
  30332. "description": "用户名称",
  30333. "type": "string"
  30334. },
  30335. "accountstatus": {
  30336. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30337. "type": "integer"
  30338. },
  30339. "createtime": {
  30340. "description": "创建时间",
  30341. "type": "string"
  30342. },
  30343. "mobile": {
  30344. "description": "手机号码",
  30345. "type": "string"
  30346. },
  30347. "refereeuserid": {
  30348. "description": "推荐人id",
  30349. "type": "integer"
  30350. },
  30351. "refernum": {
  30352. "description": "推荐码",
  30353. "type": "string"
  30354. },
  30355. "subList": {
  30356. "type": "array",
  30357. "items": {
  30358. "$ref": "#/definitions/models.QhjMyTeamEx"
  30359. }
  30360. },
  30361. "userid": {
  30362. "description": "用户id",
  30363. "type": "integer"
  30364. },
  30365. "userinfotype": {
  30366. "description": "用户类型 1-个人 2-企业",
  30367. "type": "integer"
  30368. }
  30369. }
  30370. },
  30371. "models.QhjNodeAgreementConfig": {
  30372. "type": "object",
  30373. "properties": {
  30374. "agreementcontent": {
  30375. "description": "协议内容",
  30376. "type": "string"
  30377. },
  30378. "agreementid": {
  30379. "description": "协议ID",
  30380. "type": "integer"
  30381. },
  30382. "agreementname": {
  30383. "description": "协议名称",
  30384. "type": "string"
  30385. },
  30386. "agreementno": {
  30387. "description": "协议编号",
  30388. "type": "string"
  30389. },
  30390. "agreementtype": {
  30391. "description": "协议类型 - 1:注册 2:登录 3:交易",
  30392. "type": "integer"
  30393. },
  30394. "agreementversion": {
  30395. "description": "协议版本号",
  30396. "type": "integer"
  30397. },
  30398. "configid": {
  30399. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  30400. "type": "integer"
  30401. },
  30402. "createtime": {
  30403. "description": "创建时间",
  30404. "type": "string"
  30405. },
  30406. "goodsid": {
  30407. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  30408. "type": "integer"
  30409. },
  30410. "nodetype": {
  30411. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  30412. "type": "integer"
  30413. }
  30414. }
  30415. },
  30416. "models.QhjParentAreaList": {
  30417. "type": "object",
  30418. "properties": {
  30419. "accountname": {
  30420. "description": "账户名称(机构名称)",
  30421. "type": "string"
  30422. },
  30423. "userid": {
  30424. "description": "用户ID",
  30425. "type": "integer"
  30426. },
  30427. "usertype": {
  30428. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30429. "type": "integer"
  30430. }
  30431. }
  30432. },
  30433. "models.QhjPayOrder": {
  30434. "type": "object",
  30435. "properties": {
  30436. "advanceratio": {
  30437. "description": "首付比率",
  30438. "type": "number"
  30439. },
  30440. "buyaccountid": {
  30441. "description": "买方账号ID[报价币种]",
  30442. "type": "integer"
  30443. },
  30444. "buyorderid": {
  30445. "description": "买方委托单号",
  30446. "type": "string"
  30447. },
  30448. "createtime": {
  30449. "description": "创建时间",
  30450. "type": "string"
  30451. },
  30452. "decimalplace": {
  30453. "description": "商品报价小数位",
  30454. "type": "integer"
  30455. },
  30456. "enumdicname": {
  30457. "description": "单位名称",
  30458. "type": "string"
  30459. },
  30460. "goodscode": {
  30461. "description": "商品代码",
  30462. "type": "string"
  30463. },
  30464. "goodsid": {
  30465. "description": "商品ID",
  30466. "type": "integer"
  30467. },
  30468. "goodsname": {
  30469. "description": "商品名称",
  30470. "type": "string"
  30471. },
  30472. "goodunitid": {
  30473. "description": "商品单位id",
  30474. "type": "integer"
  30475. },
  30476. "marketid": {
  30477. "description": "市场ID",
  30478. "type": "integer"
  30479. },
  30480. "offamount": {
  30481. "description": "优惠金额",
  30482. "type": "number"
  30483. },
  30484. "operatetype": {
  30485. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30486. "type": "integer"
  30487. },
  30488. "payamount": {
  30489. "description": "支付金额",
  30490. "type": "number"
  30491. },
  30492. "payflag": {
  30493. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30494. "type": "integer"
  30495. },
  30496. "paylimitedtime": {
  30497. "description": "支付期限",
  30498. "type": "string"
  30499. },
  30500. "paytime": {
  30501. "description": "付款时间",
  30502. "type": "string"
  30503. },
  30504. "qtydecimalplace": {
  30505. "description": "成交量小数位",
  30506. "type": "integer"
  30507. },
  30508. "sellaccountid": {
  30509. "description": "卖方账号ID[报价币种]",
  30510. "type": "integer"
  30511. },
  30512. "sellorderid": {
  30513. "description": "卖方委托单号",
  30514. "type": "string"
  30515. },
  30516. "tradeamount": {
  30517. "description": "成交金额(优惠后金额)",
  30518. "type": "number"
  30519. },
  30520. "tradecharge": {
  30521. "description": "成交手续费(买方)",
  30522. "type": "number"
  30523. },
  30524. "tradedate": {
  30525. "description": "交易日(yyyyMMdd)",
  30526. "type": "string"
  30527. },
  30528. "tradeid": {
  30529. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30530. "type": "string"
  30531. },
  30532. "tradeprice": {
  30533. "description": "成交价格",
  30534. "type": "number"
  30535. },
  30536. "tradeqty": {
  30537. "description": "成交数量",
  30538. "type": "number"
  30539. }
  30540. }
  30541. },
  30542. "models.QhjPickArea": {
  30543. "type": "object",
  30544. "properties": {
  30545. "address": {
  30546. "description": "详细地址",
  30547. "type": "string"
  30548. },
  30549. "cityid": {
  30550. "description": "市",
  30551. "type": "integer"
  30552. },
  30553. "cityname": {
  30554. "description": "城市名称",
  30555. "type": "string"
  30556. },
  30557. "countryid": {
  30558. "description": "国家",
  30559. "type": "integer"
  30560. },
  30561. "countryname": {
  30562. "description": "国家名称",
  30563. "type": "string"
  30564. },
  30565. "districtid": {
  30566. "description": "地区",
  30567. "type": "integer"
  30568. },
  30569. "districtname": {
  30570. "description": "地区名称",
  30571. "type": "string"
  30572. },
  30573. "fromuserid": {
  30574. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  30575. "type": "integer"
  30576. },
  30577. "fromusername": {
  30578. "description": "所属机构名称",
  30579. "type": "string"
  30580. },
  30581. "provinceid": {
  30582. "description": "省",
  30583. "type": "integer"
  30584. },
  30585. "provincename": {
  30586. "description": "省名称",
  30587. "type": "string"
  30588. },
  30589. "suborgtype": {
  30590. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  30591. "type": "integer"
  30592. },
  30593. "userid": {
  30594. "description": "机构用户ID 其他做市关系,都设置为 1",
  30595. "type": "integer"
  30596. },
  30597. "username": {
  30598. "description": "机构用户名称(门店门称)",
  30599. "type": "string"
  30600. }
  30601. }
  30602. },
  30603. "models.QhjPickGoods": {
  30604. "type": "object",
  30605. "properties": {
  30606. "enumdicname": {
  30607. "description": "单位名称(提货商品)",
  30608. "type": "string"
  30609. },
  30610. "goodsid": {
  30611. "description": "商品id",
  30612. "type": "integer"
  30613. },
  30614. "imageaddress": {
  30615. "description": "图片",
  30616. "type": "string"
  30617. },
  30618. "modifierid": {
  30619. "description": "修改人",
  30620. "type": "integer"
  30621. },
  30622. "modifiername": {
  30623. "description": "修改人名称",
  30624. "type": "string"
  30625. },
  30626. "modifysrc": {
  30627. "description": "修改来源 - 1:管理端 2:终端",
  30628. "type": "integer"
  30629. },
  30630. "pickupgoodsagreeunit": {
  30631. "description": "合约乘数",
  30632. "type": "number"
  30633. },
  30634. "pickupgoodsdesc": {
  30635. "description": "描述",
  30636. "type": "string"
  30637. },
  30638. "pickupgoodsid": {
  30639. "description": "提货商品ID",
  30640. "type": "string"
  30641. },
  30642. "pickupgoodsname": {
  30643. "description": "提货商品名称",
  30644. "type": "string"
  30645. },
  30646. "pickupgoodsstatus": {
  30647. "description": "状态 - 1:正常 2:停用 3:注销",
  30648. "type": "integer"
  30649. },
  30650. "pickupgoodsunitid": {
  30651. "description": "单位ID",
  30652. "type": "integer"
  30653. },
  30654. "pickupratio": {
  30655. "description": "提货系数",
  30656. "type": "number"
  30657. },
  30658. "preparedays": {
  30659. "description": "备货期(天)",
  30660. "type": "integer"
  30661. },
  30662. "remark": {
  30663. "description": "备注",
  30664. "type": "string"
  30665. },
  30666. "updatetime": {
  30667. "description": "更新时间",
  30668. "type": "string"
  30669. }
  30670. }
  30671. },
  30672. "models.QhjRSTriggerLog": {
  30673. "type": "object",
  30674. "properties": {
  30675. "accountid": {
  30676. "description": "用户资金账户",
  30677. "type": "integer"
  30678. },
  30679. "accountname": {
  30680. "description": "账号名称(ACCOUNTID对应的名称)",
  30681. "type": "string"
  30682. },
  30683. "currencyid": {
  30684. "description": "币种id",
  30685. "type": "integer"
  30686. },
  30687. "currencyname": {
  30688. "description": "币种名称",
  30689. "type": "string"
  30690. },
  30691. "decimalplace": {
  30692. "description": "商品报价小数位",
  30693. "type": "integer"
  30694. },
  30695. "enumdicname": {
  30696. "description": "单位名称",
  30697. "type": "string"
  30698. },
  30699. "goodscode": {
  30700. "description": "定投商品代码",
  30701. "type": "string"
  30702. },
  30703. "goodsid": {
  30704. "description": "定投商品ID",
  30705. "type": "integer"
  30706. },
  30707. "goodsname": {
  30708. "description": "定投商品名称",
  30709. "type": "string"
  30710. },
  30711. "goodunitid": {
  30712. "description": "定投商品单位id",
  30713. "type": "integer"
  30714. },
  30715. "logid": {
  30716. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  30717. "type": "string"
  30718. },
  30719. "logincode": {
  30720. "description": "账号(登录代码)",
  30721. "type": "string"
  30722. },
  30723. "qtydecimalplace": {
  30724. "description": "成交量小数位",
  30725. "type": "integer"
  30726. },
  30727. "regularlycycle": {
  30728. "description": "定投频率 - 1:每周 2:每月",
  30729. "type": "integer"
  30730. },
  30731. "regularlycyclevalue": {
  30732. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30733. "type": "string"
  30734. },
  30735. "regularlymode": {
  30736. "description": "定投方式 - 1:按数量 2:按金额",
  30737. "type": "integer"
  30738. },
  30739. "regularlymodevalue": {
  30740. "description": "定投方式值 - 数量或金额",
  30741. "type": "number"
  30742. },
  30743. "regularlystrategyid": {
  30744. "description": "定投策略ID",
  30745. "type": "integer"
  30746. },
  30747. "retcode": {
  30748. "description": "错误码",
  30749. "type": "string"
  30750. },
  30751. "tradeid": {
  30752. "description": "成交单ID",
  30753. "type": "string"
  30754. },
  30755. "triggeramount": {
  30756. "description": "触发金额",
  30757. "type": "number"
  30758. },
  30759. "triggerqty": {
  30760. "description": "触发数量",
  30761. "type": "number"
  30762. },
  30763. "triggerstatus": {
  30764. "description": "触发状态 - 1:成功 2:失败",
  30765. "type": "integer"
  30766. },
  30767. "triggertime": {
  30768. "description": "触发时间",
  30769. "type": "string"
  30770. },
  30771. "triggertradedate": {
  30772. "description": "触发交易日",
  30773. "type": "string"
  30774. },
  30775. "userid": {
  30776. "description": "所属用户ID",
  30777. "type": "integer"
  30778. },
  30779. "userinfotype": {
  30780. "description": "用户类型 1-个人 2-企业",
  30781. "type": "integer"
  30782. },
  30783. "username": {
  30784. "description": "用户名称(userid对应的名称)",
  30785. "type": "string"
  30786. }
  30787. }
  30788. },
  30789. "models.QhjRStrategy": {
  30790. "type": "object",
  30791. "properties": {
  30792. "accountid": {
  30793. "description": "用户资金账户",
  30794. "type": "integer"
  30795. },
  30796. "accountname": {
  30797. "description": "账号名称(ACCOUNTID对应的名称)",
  30798. "type": "string"
  30799. },
  30800. "currencyid": {
  30801. "description": "币种id",
  30802. "type": "integer"
  30803. },
  30804. "currencyname": {
  30805. "description": "币种名称",
  30806. "type": "string"
  30807. },
  30808. "decimalplace": {
  30809. "description": "商品报价小数位",
  30810. "type": "integer"
  30811. },
  30812. "enumdicname": {
  30813. "description": "单位名称",
  30814. "type": "string"
  30815. },
  30816. "goodscode": {
  30817. "description": "定投商品代码",
  30818. "type": "string"
  30819. },
  30820. "goodsid": {
  30821. "description": "定投商品ID",
  30822. "type": "integer"
  30823. },
  30824. "goodsname": {
  30825. "description": "定投商品名称",
  30826. "type": "string"
  30827. },
  30828. "goodunitid": {
  30829. "description": "定投商品单位id",
  30830. "type": "integer"
  30831. },
  30832. "lasteffecttradedate": {
  30833. "description": "最新生效交易日",
  30834. "type": "string"
  30835. },
  30836. "laststoptradedate": {
  30837. "description": "最新暂停交易日",
  30838. "type": "string"
  30839. },
  30840. "lasttriggertradedate": {
  30841. "description": "最新触发交易日",
  30842. "type": "string"
  30843. },
  30844. "logincode": {
  30845. "description": "账号(登录代码)",
  30846. "type": "string"
  30847. },
  30848. "nexttriggeramount": {
  30849. "description": "下次触发金额",
  30850. "type": "number"
  30851. },
  30852. "nexttriggerdate": {
  30853. "description": "下次触发日期",
  30854. "type": "string"
  30855. },
  30856. "nexttriggerqty": {
  30857. "description": "下次触发数量 [按小数位放大值]",
  30858. "type": "number"
  30859. },
  30860. "qtydecimalplace": {
  30861. "description": "成交量小数位",
  30862. "type": "integer"
  30863. },
  30864. "regularlycycle": {
  30865. "description": "定投频率 - 1:每周 2:每月",
  30866. "type": "integer"
  30867. },
  30868. "regularlycyclevalue": {
  30869. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30870. "type": "string"
  30871. },
  30872. "regularlymode": {
  30873. "description": "定投方式 - 1:按数量 2:按金额",
  30874. "type": "integer"
  30875. },
  30876. "regularlymodevalue": {
  30877. "description": "定投方式值 - 数量或金额",
  30878. "type": "number"
  30879. },
  30880. "regularlystrategyid": {
  30881. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  30882. "type": "integer"
  30883. },
  30884. "regularlystrategystatus": {
  30885. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  30886. "type": "integer"
  30887. },
  30888. "remark": {
  30889. "description": "备注",
  30890. "type": "string"
  30891. },
  30892. "triggersuccesstimes": {
  30893. "description": "累计定投成功次数",
  30894. "type": "string"
  30895. },
  30896. "triggertotalamount": {
  30897. "description": "累计定投金额(成功)",
  30898. "type": "number"
  30899. },
  30900. "triggertotalqty": {
  30901. "description": "累计定投数量(成功) [按小数位放大值]",
  30902. "type": "number"
  30903. },
  30904. "triggertotaltimes": {
  30905. "description": "累计定投总次数",
  30906. "type": "string"
  30907. },
  30908. "updatesrc": {
  30909. "description": "更新来源 - 1:管理端 2:终端",
  30910. "type": "integer"
  30911. },
  30912. "updatetime": {
  30913. "description": "更新时间",
  30914. "type": "string"
  30915. },
  30916. "updatorid": {
  30917. "description": "更新人",
  30918. "type": "string"
  30919. },
  30920. "userid": {
  30921. "description": "所属用户ID",
  30922. "type": "integer"
  30923. },
  30924. "userinfotype": {
  30925. "description": "用户类型 1-个人 2-企业",
  30926. "type": "integer"
  30927. },
  30928. "username": {
  30929. "description": "用户名称(userid对应的名称)",
  30930. "type": "string"
  30931. }
  30932. }
  30933. },
  30934. "models.QhjReckonPriceLog": {
  30935. "type": "object",
  30936. "properties": {
  30937. "decimalplace": {
  30938. "description": "商品报价小数位",
  30939. "type": "integer"
  30940. },
  30941. "goodscode": {
  30942. "description": "商品代码",
  30943. "type": "string"
  30944. },
  30945. "goodsid": {
  30946. "description": "商品ID",
  30947. "type": "integer"
  30948. },
  30949. "goodsname": {
  30950. "description": "商品名称",
  30951. "type": "string"
  30952. },
  30953. "lastreckonprice": {
  30954. "description": "上日结算价",
  30955. "type": "number"
  30956. },
  30957. "nextdnlimitprice": {
  30958. "description": "下个交易日跌停价",
  30959. "type": "number"
  30960. },
  30961. "nexttrade": {
  30962. "description": "下个交易日",
  30963. "type": "string"
  30964. },
  30965. "nextuplimitprice": {
  30966. "description": "下个交易日涨停价",
  30967. "type": "number"
  30968. },
  30969. "reckonprice": {
  30970. "description": "今日结算价(定投价)",
  30971. "type": "number"
  30972. },
  30973. "reckontime": {
  30974. "description": "结算时间",
  30975. "type": "string"
  30976. },
  30977. "totalholderqty": {
  30978. "description": "总持仓数",
  30979. "type": "integer"
  30980. },
  30981. "totalstock": {
  30982. "description": "总库存",
  30983. "type": "integer"
  30984. },
  30985. "tradedate": {
  30986. "description": "交易日",
  30987. "type": "string"
  30988. },
  30989. "updowncount": {
  30990. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  30991. "type": "integer"
  30992. },
  30993. "updownflag": {
  30994. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  30995. "type": "integer"
  30996. },
  30997. "updownrate": {
  30998. "description": "今日涨跌幅",
  30999. "type": "number"
  31000. },
  31001. "updownrate_2d": {
  31002. "description": "连续两日涨跌幅",
  31003. "type": "number"
  31004. },
  31005. "updownrate_3d": {
  31006. "description": "连续三日涨跌幅",
  31007. "type": "number"
  31008. }
  31009. }
  31010. },
  31011. "models.QhjScoreLog": {
  31012. "type": "object",
  31013. "properties": {
  31014. "accountid": {
  31015. "description": "账户ID",
  31016. "type": "integer"
  31017. },
  31018. "createtime": {
  31019. "description": "创建时间(时间)",
  31020. "type": "string"
  31021. },
  31022. "goodsid": {
  31023. "description": "商品ID",
  31024. "type": "integer"
  31025. },
  31026. "hasuploaded": {
  31027. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  31028. "type": "integer"
  31029. },
  31030. "logid": {
  31031. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31032. "type": "string"
  31033. },
  31034. "marketid": {
  31035. "description": "市场ID",
  31036. "type": "integer"
  31037. },
  31038. "relatedamount": {
  31039. "description": "关联金额",
  31040. "type": "number"
  31041. },
  31042. "relatedorderid": {
  31043. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  31044. "type": "string"
  31045. },
  31046. "scoreconfigvalue1": {
  31047. "description": "积分配置1",
  31048. "type": "integer"
  31049. },
  31050. "scoreconfigvalue2": {
  31051. "description": "积分配置1",
  31052. "type": "integer"
  31053. },
  31054. "scoretype": {
  31055. "description": "积分类型 - 1:提货积分",
  31056. "type": "integer"
  31057. },
  31058. "scorevalue": {
  31059. "description": "积分",
  31060. "type": "number"
  31061. },
  31062. "tradedate": {
  31063. "description": "交易日(yyyyMMdd)",
  31064. "type": "string"
  31065. },
  31066. "uploadedtime": {
  31067. "description": "同步时间",
  31068. "type": "string"
  31069. },
  31070. "userid": {
  31071. "description": "用户ID",
  31072. "type": "integer"
  31073. }
  31074. }
  31075. },
  31076. "models.QhjSiteColumnDetail": {
  31077. "type": "object",
  31078. "properties": {
  31079. "author": {
  31080. "description": "作者",
  31081. "type": "string"
  31082. },
  31083. "brief": {
  31084. "description": "简介",
  31085. "type": "string"
  31086. },
  31087. "columnid": {
  31088. "description": "所属栏目",
  31089. "type": "integer"
  31090. },
  31091. "context": {
  31092. "description": "内容",
  31093. "type": "string"
  31094. },
  31095. "coverimage": {
  31096. "description": "封面图片",
  31097. "type": "string"
  31098. },
  31099. "creaedate": {
  31100. "description": "创建时间",
  31101. "type": "string"
  31102. },
  31103. "creatorid": {
  31104. "description": "创建人",
  31105. "type": "integer"
  31106. },
  31107. "hits": {
  31108. "description": "点击数",
  31109. "type": "integer"
  31110. },
  31111. "id": {
  31112. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  31113. "type": "integer"
  31114. },
  31115. "isshow": {
  31116. "description": "是否展示 - 0:不展示 1:展示",
  31117. "type": "integer"
  31118. },
  31119. "istop": {
  31120. "description": "是否置顶 - 0:不置 1:置顶",
  31121. "type": "integer"
  31122. },
  31123. "modifierid": {
  31124. "description": "操作人",
  31125. "type": "integer"
  31126. },
  31127. "publishdate": {
  31128. "description": "发布日期",
  31129. "type": "string"
  31130. },
  31131. "status": {
  31132. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  31133. "type": "integer"
  31134. },
  31135. "title": {
  31136. "description": "标题",
  31137. "type": "string"
  31138. },
  31139. "updatedate": {
  31140. "description": "修改时间",
  31141. "type": "string"
  31142. },
  31143. "userid": {
  31144. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  31145. "type": "integer"
  31146. },
  31147. "username": {
  31148. "description": "用户名称",
  31149. "type": "string"
  31150. }
  31151. }
  31152. },
  31153. "models.QhjTeamOrder": {
  31154. "type": "object",
  31155. "properties": {
  31156. "accountid": {
  31157. "description": "账户ID[报价币种]",
  31158. "type": "integer"
  31159. },
  31160. "accountname": {
  31161. "description": "账户名称",
  31162. "type": "string"
  31163. },
  31164. "agreeunit": {
  31165. "description": "合约乘数",
  31166. "type": "number"
  31167. },
  31168. "buyorsell": {
  31169. "description": "方向 - 0:买 1:卖",
  31170. "type": "integer"
  31171. },
  31172. "decimalplace": {
  31173. "description": "报价小数位",
  31174. "type": "integer"
  31175. },
  31176. "enumdicname": {
  31177. "description": "单位名称",
  31178. "type": "string"
  31179. },
  31180. "goodscode": {
  31181. "description": "商品代码(内部)",
  31182. "type": "string"
  31183. },
  31184. "goodsid": {
  31185. "description": "商品ID",
  31186. "type": "integer"
  31187. },
  31188. "goodsname": {
  31189. "description": "商品名称",
  31190. "type": "string"
  31191. },
  31192. "goodunitid": {
  31193. "description": "报价单位ID",
  31194. "type": "integer"
  31195. },
  31196. "marketid": {
  31197. "description": "市场ID",
  31198. "type": "integer"
  31199. },
  31200. "marketname": {
  31201. "description": "市场名称",
  31202. "type": "string"
  31203. },
  31204. "qtydecimalplace": {
  31205. "description": "成交量小数位",
  31206. "type": "integer"
  31207. },
  31208. "refereeuserid": {
  31209. "description": "推荐人ID",
  31210. "type": "integer"
  31211. },
  31212. "tradeamount": {
  31213. "description": "成交金额[账户币种,用于所有权]",
  31214. "type": "number"
  31215. },
  31216. "tradedate": {
  31217. "description": "交易日(yyyyMMdd)",
  31218. "type": "string"
  31219. },
  31220. "trademode": {
  31221. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31222. "type": "integer"
  31223. },
  31224. "tradeprice": {
  31225. "description": "成交价格",
  31226. "type": "number"
  31227. },
  31228. "tradeqty": {
  31229. "description": "成交数量",
  31230. "type": "number"
  31231. },
  31232. "tradetime": {
  31233. "description": "成交时间",
  31234. "type": "string"
  31235. },
  31236. "userid": {
  31237. "description": "用户ID",
  31238. "type": "integer"
  31239. }
  31240. }
  31241. },
  31242. "models.QhjTradeGoodsPickup": {
  31243. "type": "object",
  31244. "properties": {
  31245. "accountid": {
  31246. "description": "账户ID",
  31247. "type": "integer"
  31248. },
  31249. "address": {
  31250. "description": "提货人详细地址",
  31251. "type": "string"
  31252. },
  31253. "amount": {
  31254. "description": "提货金额",
  31255. "type": "number"
  31256. },
  31257. "artradedate": {
  31258. "description": "自动收货交易日(yyyyMMdd)",
  31259. "type": "string"
  31260. },
  31261. "auditer": {
  31262. "description": "审核人",
  31263. "type": "integer"
  31264. },
  31265. "auditsrc": {
  31266. "description": "更新来源 - 1:管理端 2:终端",
  31267. "type": "integer"
  31268. },
  31269. "audittime": {
  31270. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  31271. "type": "string"
  31272. },
  31273. "audittradedate": {
  31274. "description": "审核交易日(yyyyMMdd)",
  31275. "type": "string"
  31276. },
  31277. "cardnum": {
  31278. "description": "提货人证件号码",
  31279. "type": "string"
  31280. },
  31281. "cardtypeid": {
  31282. "description": "提货人证件类型",
  31283. "type": "integer"
  31284. },
  31285. "checkremark": {
  31286. "description": "审核备注",
  31287. "type": "string"
  31288. },
  31289. "cityid": {
  31290. "description": "市",
  31291. "type": "integer"
  31292. },
  31293. "cityname": {
  31294. "description": "城市名称",
  31295. "type": "string"
  31296. },
  31297. "confirmtime": {
  31298. "description": "取货时间 或 收货时间",
  31299. "type": "string"
  31300. },
  31301. "countryid": {
  31302. "description": "国家",
  31303. "type": "integer"
  31304. },
  31305. "countryname": {
  31306. "description": "国家名称",
  31307. "type": "string"
  31308. },
  31309. "decimalplace": {
  31310. "description": "商品报价小数位",
  31311. "type": "integer"
  31312. },
  31313. "districtid": {
  31314. "description": "地区",
  31315. "type": "integer"
  31316. },
  31317. "districtname": {
  31318. "description": "地区名称",
  31319. "type": "string"
  31320. },
  31321. "enumdicname": {
  31322. "description": "单位名称(提货商品)",
  31323. "type": "string"
  31324. },
  31325. "expresscompany": {
  31326. "description": "物流公司",
  31327. "type": "string"
  31328. },
  31329. "expressnum": {
  31330. "description": "物流单号",
  31331. "type": "string"
  31332. },
  31333. "goodsagreeunit": {
  31334. "description": "交易商品乘数",
  31335. "type": "number"
  31336. },
  31337. "goodscode": {
  31338. "description": "商品代码",
  31339. "type": "string"
  31340. },
  31341. "goodsid": {
  31342. "description": "商品ID",
  31343. "type": "integer"
  31344. },
  31345. "goodsname": {
  31346. "description": "商品名称",
  31347. "type": "string"
  31348. },
  31349. "goodsqty": {
  31350. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  31351. "type": "number"
  31352. },
  31353. "handlestatus": {
  31354. "description": "处理状态",
  31355. "type": "integer"
  31356. },
  31357. "logincode": {
  31358. "description": "账号(登录代码, 有可能为空)",
  31359. "type": "string"
  31360. },
  31361. "marketid": {
  31362. "description": "市场ID",
  31363. "type": "integer"
  31364. },
  31365. "phonenum": {
  31366. "description": "提货人联系方式",
  31367. "type": "string"
  31368. },
  31369. "pickupgoodsagreeunit": {
  31370. "description": "提货商品合约乘数",
  31371. "type": "number"
  31372. },
  31373. "pickupgoodsid": {
  31374. "description": "提货商品ID",
  31375. "type": "string"
  31376. },
  31377. "pickupgoodsname": {
  31378. "description": "提货商品名称",
  31379. "type": "string"
  31380. },
  31381. "pickupgoodsqty": {
  31382. "description": "提货商品手数(数量)",
  31383. "type": "number"
  31384. },
  31385. "pickupgoodsunitid": {
  31386. "description": "单位ID(提货商品)",
  31387. "type": "integer"
  31388. },
  31389. "pickupratio": {
  31390. "description": "提货系数",
  31391. "type": "number"
  31392. },
  31393. "preparedays": {
  31394. "description": "备货期(天)-提货单明细表",
  31395. "type": "integer"
  31396. },
  31397. "provinceid": {
  31398. "description": "省",
  31399. "type": "integer"
  31400. },
  31401. "provincename": {
  31402. "description": "省名称",
  31403. "type": "string"
  31404. },
  31405. "qty": {
  31406. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  31407. "type": "number"
  31408. },
  31409. "qtydecimalplace": {
  31410. "description": "商品数量小数位",
  31411. "type": "integer"
  31412. },
  31413. "recivername": {
  31414. "description": "提货人姓名",
  31415. "type": "string"
  31416. },
  31417. "reqtime": {
  31418. "description": "提货申请时间",
  31419. "type": "string"
  31420. },
  31421. "storeuserid": {
  31422. "description": "门店用户ID (千海金)",
  31423. "type": "integer"
  31424. },
  31425. "storeusername": {
  31426. "description": "门店用户名称",
  31427. "type": "string"
  31428. },
  31429. "takemode": {
  31430. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  31431. "type": "integer"
  31432. },
  31433. "takeorderid": {
  31434. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  31435. "type": "string"
  31436. },
  31437. "takeorderstatus": {
  31438. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  31439. "type": "integer"
  31440. },
  31441. "takeremark": {
  31442. "description": "提货备注",
  31443. "type": "string"
  31444. },
  31445. "tradedate": {
  31446. "description": "交易日(yyyyMMdd)",
  31447. "type": "string"
  31448. },
  31449. "updatetime": {
  31450. "description": "更新时间",
  31451. "type": "string"
  31452. },
  31453. "userid": {
  31454. "description": "用户ID",
  31455. "type": "integer"
  31456. },
  31457. "userinfotype": {
  31458. "description": "客户类型 1-个人 2-企业",
  31459. "type": "integer"
  31460. },
  31461. "username": {
  31462. "description": "用户名称",
  31463. "type": "string"
  31464. }
  31465. }
  31466. },
  31467. "models.QhjUserNodeCfgAndStatus": {
  31468. "type": "object",
  31469. "properties": {
  31470. "agreementcontent": {
  31471. "description": "协议内容",
  31472. "type": "string"
  31473. },
  31474. "agreementid": {
  31475. "description": "协议ID",
  31476. "type": "integer"
  31477. },
  31478. "agreementname": {
  31479. "description": "协议名称",
  31480. "type": "string"
  31481. },
  31482. "agreementno": {
  31483. "description": "协议编号",
  31484. "type": "string"
  31485. },
  31486. "agreementtype": {
  31487. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31488. "type": "integer"
  31489. },
  31490. "agreementversion": {
  31491. "description": "协议版本号",
  31492. "type": "integer"
  31493. },
  31494. "configid": {
  31495. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  31496. "type": "integer"
  31497. },
  31498. "createtime": {
  31499. "description": "创建时间",
  31500. "type": "string"
  31501. },
  31502. "goodsid": {
  31503. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  31504. "type": "integer"
  31505. },
  31506. "nodetype": {
  31507. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  31508. "type": "integer"
  31509. },
  31510. "signtimestamp": {
  31511. "description": "签约状态时间戳(最近一次)",
  31512. "type": "string"
  31513. },
  31514. "tradedate": {
  31515. "description": "签约交易日(yyyyMMdd)",
  31516. "type": "string"
  31517. },
  31518. "userid": {
  31519. "description": "客户ID",
  31520. "type": "integer"
  31521. }
  31522. }
  31523. },
  31524. "models.Qhjgoodsex": {
  31525. "type": "object",
  31526. "properties": {
  31527. "canfinance": {
  31528. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  31529. "type": "integer"
  31530. },
  31531. "canregularlybuy": {
  31532. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  31533. "type": "integer"
  31534. },
  31535. "defaulttradeuserid": {
  31536. "description": "默认交易用户ID",
  31537. "type": "integer"
  31538. },
  31539. "deliverygoodsid": {
  31540. "description": "现货品种ID",
  31541. "type": "integer"
  31542. },
  31543. "goodsid": {
  31544. "description": "商品ID(自增ID SEQ_GOODS)",
  31545. "type": "integer"
  31546. },
  31547. "minamount": {
  31548. "description": "最小购买金额",
  31549. "type": "number"
  31550. },
  31551. "regularlybuyminamount": {
  31552. "description": "定投最小金额",
  31553. "type": "number"
  31554. },
  31555. "regularlybuyminqty": {
  31556. "description": "定投最小数量",
  31557. "type": "number"
  31558. },
  31559. "spotgoodsbrandid": {
  31560. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  31561. "type": "integer"
  31562. },
  31563. "visibilityforenterprise": {
  31564. "description": "企业客户是否可见 - 0:不可见 1:可见",
  31565. "type": "integer"
  31566. },
  31567. "visibilityforpersonal": {
  31568. "description": "个人客户是否可见 - 0:不可见 1:可见",
  31569. "type": "integer"
  31570. },
  31571. "wrstandardid": {
  31572. "description": "现货商品ID",
  31573. "type": "integer"
  31574. }
  31575. }
  31576. },
  31577. "models.QueryErrorInfosRsp": {
  31578. "type": "object",
  31579. "required": [
  31580. "errorid"
  31581. ],
  31582. "properties": {
  31583. "description": {
  31584. "description": "异常描述",
  31585. "type": "string"
  31586. },
  31587. "errorcode": {
  31588. "description": "异常代码",
  31589. "type": "string"
  31590. },
  31591. "errorid": {
  31592. "description": "异常ID",
  31593. "type": "integer"
  31594. },
  31595. "modulecode": {
  31596. "description": "所属模块",
  31597. "type": "string"
  31598. },
  31599. "operatecode": {
  31600. "description": "所属操作",
  31601. "type": "string"
  31602. },
  31603. "rownumber": {
  31604. "description": "行号",
  31605. "type": "string"
  31606. }
  31607. }
  31608. },
  31609. "models.QueryHedgeOrderDetailRsp": {
  31610. "type": "object",
  31611. "properties": {
  31612. "accountid": {
  31613. "description": "账户ID",
  31614. "type": "integer"
  31615. },
  31616. "buyorsell": {
  31617. "description": "买卖 - 0:买 1:卖",
  31618. "type": "integer"
  31619. },
  31620. "cancellogincode": {
  31621. "description": "撤单人",
  31622. "type": "string"
  31623. },
  31624. "channelbuildtype": {
  31625. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  31626. "type": "integer"
  31627. },
  31628. "channelinnerorderstatus": {
  31629. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  31630. "type": "integer"
  31631. },
  31632. "channeloperatetype": {
  31633. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  31634. "type": "integer"
  31635. },
  31636. "closetype": {
  31637. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31638. "type": "integer"
  31639. },
  31640. "curexchangerate": {
  31641. "description": "当前汇率",
  31642. "type": "number"
  31643. },
  31644. "decimalplace": {
  31645. "description": "商品报价小数位",
  31646. "type": "integer"
  31647. },
  31648. "exchangefullname": {
  31649. "description": "外部交易所全称",
  31650. "type": "string"
  31651. },
  31652. "goodscode": {
  31653. "description": "商品代码(内部)",
  31654. "type": "string"
  31655. },
  31656. "goodsid": {
  31657. "description": "商品ID",
  31658. "type": "integer"
  31659. },
  31660. "goodsname": {
  31661. "description": "商品名称",
  31662. "type": "string"
  31663. },
  31664. "marketid": {
  31665. "description": "市场ID",
  31666. "type": "integer"
  31667. },
  31668. "openfreezemargin": {
  31669. "description": "冻结保证金(冻结交易金额)",
  31670. "type": "number"
  31671. },
  31672. "orderid": {
  31673. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31674. "type": "string"
  31675. },
  31676. "orderlogincode": {
  31677. "description": "委托人",
  31678. "type": "string"
  31679. },
  31680. "orderprice": {
  31681. "description": "委托价格(账户)",
  31682. "type": "number"
  31683. },
  31684. "orderqty": {
  31685. "description": "委托数量",
  31686. "type": "integer"
  31687. },
  31688. "ordertime": {
  31689. "description": "委托时间",
  31690. "type": "string"
  31691. },
  31692. "pricemode": {
  31693. "description": "取价方式 - 1:市价 2: 限价",
  31694. "type": "integer"
  31695. },
  31696. "tradedate": {
  31697. "description": "交易日(yyyyMMdd)",
  31698. "type": "string"
  31699. },
  31700. "tradeqty": {
  31701. "description": "成交数量",
  31702. "type": "integer"
  31703. }
  31704. }
  31705. },
  31706. "models.QueryHedgeTradeDetailRsp": {
  31707. "type": "object",
  31708. "properties": {
  31709. "accountid": {
  31710. "description": "账号ID",
  31711. "type": "integer"
  31712. },
  31713. "buyorsell": {
  31714. "description": "方向 - 0:买 1:卖",
  31715. "type": "integer"
  31716. },
  31717. "channelbuildtype": {
  31718. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  31719. "type": "integer"
  31720. },
  31721. "closecharge": {
  31722. "description": "平仓手续费(账户)",
  31723. "type": "number"
  31724. },
  31725. "closecharge2": {
  31726. "description": "平仓手续费(商品)",
  31727. "type": "number"
  31728. },
  31729. "closepl": {
  31730. "description": "平仓盈亏(账户)",
  31731. "type": "number"
  31732. },
  31733. "closepl2": {
  31734. "description": "平仓盈亏(商品)",
  31735. "type": "number"
  31736. },
  31737. "closepl3": {
  31738. "description": "平仓盈亏(账户)(逐笔)",
  31739. "type": "number"
  31740. },
  31741. "closepl4": {
  31742. "description": "平仓盈亏(商品)(逐笔)",
  31743. "type": "number"
  31744. },
  31745. "closetype": {
  31746. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31747. "type": "integer"
  31748. },
  31749. "curexchangerate": {
  31750. "description": "当前汇率",
  31751. "type": "number"
  31752. },
  31753. "decimalplace": {
  31754. "description": "商品报价小数位",
  31755. "type": "integer"
  31756. },
  31757. "exchangefullname": {
  31758. "description": "外部交易所全称",
  31759. "type": "string"
  31760. },
  31761. "goodscode": {
  31762. "description": "商品代码(内部)",
  31763. "type": "string"
  31764. },
  31765. "goodsid": {
  31766. "description": "商品ID",
  31767. "type": "integer"
  31768. },
  31769. "goodsname": {
  31770. "description": "商品名称",
  31771. "type": "string"
  31772. },
  31773. "marketid": {
  31774. "description": "市场ID",
  31775. "type": "integer"
  31776. },
  31777. "opencharge": {
  31778. "description": "建仓手续费(账户)",
  31779. "type": "number"
  31780. },
  31781. "opencharge2": {
  31782. "description": "建仓手续费(商品)",
  31783. "type": "number"
  31784. },
  31785. "orderid": {
  31786. "description": "委托单号",
  31787. "type": "string"
  31788. },
  31789. "orderlogincode": {
  31790. "description": "委托人",
  31791. "type": "string"
  31792. },
  31793. "tradeamount": {
  31794. "description": "成交金额(账户)",
  31795. "type": "number"
  31796. },
  31797. "tradedate": {
  31798. "description": "交易日(yyyyMMdd)",
  31799. "type": "string"
  31800. },
  31801. "tradeid": {
  31802. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31803. "type": "string"
  31804. },
  31805. "tradeprice": {
  31806. "description": "成交价格",
  31807. "type": "number"
  31808. },
  31809. "tradeqty": {
  31810. "description": "成交数量",
  31811. "type": "integer"
  31812. },
  31813. "tradetime": {
  31814. "description": "成交时间",
  31815. "type": "string"
  31816. },
  31817. "tradetype": {
  31818. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  31819. "type": "integer"
  31820. }
  31821. }
  31822. },
  31823. "models.QuotePrimaryMenu": {
  31824. "type": "object",
  31825. "properties": {
  31826. "Index": {
  31827. "description": "序号",
  31828. "type": "integer"
  31829. },
  31830. "Key": {
  31831. "description": "键名",
  31832. "type": "string"
  31833. },
  31834. "Name": {
  31835. "description": "菜单名称",
  31836. "type": "string"
  31837. },
  31838. "SubMenus": {
  31839. "description": "子菜单",
  31840. "type": "array",
  31841. "items": {
  31842. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  31843. }
  31844. },
  31845. "SubTitleType": {
  31846. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  31847. "type": "integer"
  31848. },
  31849. "TradeModes": {
  31850. "description": "包含市场交易类型",
  31851. "type": "string"
  31852. }
  31853. }
  31854. },
  31855. "models.QuoteSecondaryMenu": {
  31856. "type": "object",
  31857. "properties": {
  31858. "ExExchangeCode": {
  31859. "description": "外部交易所代码",
  31860. "type": "string"
  31861. },
  31862. "ExExchangeID": {
  31863. "description": "外部交易所ID",
  31864. "type": "integer"
  31865. },
  31866. "GoodsGroupIDs": {
  31867. "description": "商品组ID列表",
  31868. "type": "array",
  31869. "items": {
  31870. "type": "integer"
  31871. }
  31872. },
  31873. "Index": {
  31874. "description": "序号",
  31875. "type": "integer"
  31876. },
  31877. "MarketID": {
  31878. "description": "市场ID",
  31879. "type": "integer"
  31880. },
  31881. "MenuTitle": {
  31882. "description": "菜单标题(市场名称或外部交易所名称)",
  31883. "type": "string"
  31884. },
  31885. "TradeMode": {
  31886. "description": "交易模式",
  31887. "type": "integer"
  31888. }
  31889. }
  31890. },
  31891. "models.RoleMenu": {
  31892. "type": "object",
  31893. "properties": {
  31894. "hasright": {
  31895. "description": "是否有权限 0-没有权限 1-有权限",
  31896. "type": "integer"
  31897. },
  31898. "iconame": {
  31899. "description": "菜单图标",
  31900. "type": "string"
  31901. },
  31902. "menutype": {
  31903. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  31904. "type": "integer"
  31905. },
  31906. "parentcode": {
  31907. "description": "上级资源代码",
  31908. "type": "string"
  31909. },
  31910. "remark": {
  31911. "description": "菜单备注",
  31912. "type": "string"
  31913. },
  31914. "resourcecode": {
  31915. "description": "菜单代码",
  31916. "type": "string"
  31917. },
  31918. "resourcelevel": {
  31919. "description": "级别",
  31920. "type": "integer"
  31921. },
  31922. "resourcename": {
  31923. "description": "菜单名称",
  31924. "type": "string"
  31925. },
  31926. "roleid": {
  31927. "description": "角色id",
  31928. "type": "integer"
  31929. },
  31930. "sort": {
  31931. "description": "排序",
  31932. "type": "integer"
  31933. },
  31934. "subMenu": {
  31935. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  31936. "type": "array",
  31937. "items": {
  31938. "$ref": "#/definitions/models.RoleMenu"
  31939. }
  31940. },
  31941. "url": {
  31942. "description": "URL",
  31943. "type": "string"
  31944. },
  31945. "userid": {
  31946. "description": "用户id",
  31947. "type": "integer"
  31948. }
  31949. }
  31950. },
  31951. "models.SearchGoods": {
  31952. "type": "object",
  31953. "required": [
  31954. "goodscode",
  31955. "goodsid",
  31956. "goodsname",
  31957. "marketid",
  31958. "trademode"
  31959. ],
  31960. "properties": {
  31961. "goodscode": {
  31962. "description": "商品代码(内部)",
  31963. "type": "string"
  31964. },
  31965. "goodsid": {
  31966. "description": "商品ID(自增ID SEQ_GOODS)",
  31967. "type": "integer"
  31968. },
  31969. "goodsname": {
  31970. "description": "商品名称",
  31971. "type": "string"
  31972. },
  31973. "marketid": {
  31974. "description": "所属市场ID",
  31975. "type": "integer"
  31976. },
  31977. "marketname": {
  31978. "description": "市场名称",
  31979. "type": "string"
  31980. },
  31981. "trademode": {
  31982. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31983. "type": "integer"
  31984. }
  31985. }
  31986. },
  31987. "models.Systemparam": {
  31988. "type": "object",
  31989. "required": [
  31990. "paramcode"
  31991. ],
  31992. "properties": {
  31993. "loginid": {
  31994. "description": "更新用户账号,登录账号",
  31995. "type": "string"
  31996. },
  31997. "modifyflag": {
  31998. "description": "修改标志0 不允许修改 1 允许修改",
  31999. "type": "integer"
  32000. },
  32001. "paramcode": {
  32002. "description": "参数代码",
  32003. "type": "string"
  32004. },
  32005. "paramname": {
  32006. "description": "参数名",
  32007. "type": "string"
  32008. },
  32009. "paramtype": {
  32010. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  32011. "type": "integer"
  32012. },
  32013. "paramvalue": {
  32014. "description": "参数值",
  32015. "type": "string"
  32016. },
  32017. "paramvalue2": {
  32018. "description": "参数值(CLOB)",
  32019. "type": "string"
  32020. },
  32021. "regexpress": {
  32022. "description": "正则表达式",
  32023. "type": "string"
  32024. },
  32025. "remark": {
  32026. "description": "备注",
  32027. "type": "string"
  32028. },
  32029. "serverip": {
  32030. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  32031. "type": "string"
  32032. },
  32033. "showflag": {
  32034. "description": "是否显示0 不显示 1 显示",
  32035. "type": "integer"
  32036. },
  32037. "updatetime": {
  32038. "description": "更新时间",
  32039. "type": "string"
  32040. },
  32041. "userid": {
  32042. "description": "更新用户ID",
  32043. "type": "integer"
  32044. }
  32045. }
  32046. },
  32047. "models.Szdz3convertconfig": {
  32048. "type": "object",
  32049. "required": [
  32050. "converttype",
  32051. "innergoodsid",
  32052. "outergoodscode"
  32053. ],
  32054. "properties": {
  32055. "canin": {
  32056. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  32057. "type": "integer"
  32058. },
  32059. "canout": {
  32060. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  32061. "type": "integer"
  32062. },
  32063. "converttype": {
  32064. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  32065. "type": "integer"
  32066. },
  32067. "createtime": {
  32068. "description": "创建时间",
  32069. "type": "string"
  32070. },
  32071. "creatorid": {
  32072. "description": "创建人",
  32073. "type": "integer"
  32074. },
  32075. "daymaxvalue": {
  32076. "description": "当日最大转入限制",
  32077. "type": "number"
  32078. },
  32079. "freezedays": {
  32080. "description": "冻结天数 [5:花生米转交易]",
  32081. "type": "integer"
  32082. },
  32083. "innergoodsid": {
  32084. "description": "内部商品ID[交易]",
  32085. "type": "integer"
  32086. },
  32087. "inratio": {
  32088. "description": "目标值",
  32089. "type": "integer"
  32090. },
  32091. "modifierid": {
  32092. "description": "修改人",
  32093. "type": "integer"
  32094. },
  32095. "modifytime": {
  32096. "description": "修改时间",
  32097. "type": "string"
  32098. },
  32099. "outergoodscode": {
  32100. "description": "外部商品代码[JD\\PD]",
  32101. "type": "string"
  32102. },
  32103. "outratio": {
  32104. "description": "源值",
  32105. "type": "integer"
  32106. },
  32107. "pddecimalplace": {
  32108. "description": "PD小数位",
  32109. "type": "integer"
  32110. },
  32111. "timemaxvalue": {
  32112. "description": "单次最大转入限制",
  32113. "type": "number"
  32114. },
  32115. "timeminvalue": {
  32116. "description": "单次最小转入限制",
  32117. "type": "number"
  32118. }
  32119. }
  32120. },
  32121. "models.Szdz3searchwhitelist": {
  32122. "type": "object",
  32123. "required": [
  32124. "userid"
  32125. ],
  32126. "properties": {
  32127. "createtime": {
  32128. "description": "创建时间",
  32129. "type": "string"
  32130. },
  32131. "creatorid": {
  32132. "description": "创建人",
  32133. "type": "integer"
  32134. },
  32135. "modifierid": {
  32136. "description": "修改人",
  32137. "type": "integer"
  32138. },
  32139. "modifytime": {
  32140. "description": "修改时间",
  32141. "type": "string"
  32142. },
  32143. "userid": {
  32144. "description": "用户ID",
  32145. "type": "integer"
  32146. }
  32147. }
  32148. },
  32149. "models.TBGoods": {
  32150. "type": "object",
  32151. "properties": {
  32152. "agreeunit": {
  32153. "description": "合约乘数",
  32154. "type": "number"
  32155. },
  32156. "enumdicname": {
  32157. "description": "单位名称",
  32158. "type": "string"
  32159. },
  32160. "goodscode": {
  32161. "description": "商品代码(内部)",
  32162. "type": "string"
  32163. },
  32164. "goodsid": {
  32165. "description": "商品ID(自增ID SEQ_GOODS)",
  32166. "type": "integer"
  32167. },
  32168. "goodsname": {
  32169. "description": "商品名称",
  32170. "type": "string"
  32171. }
  32172. }
  32173. },
  32174. "models.TBGoodsGroup": {
  32175. "type": "object",
  32176. "properties": {
  32177. "GDLST": {
  32178. "description": "商品列表",
  32179. "type": "array",
  32180. "items": {
  32181. "$ref": "#/definitions/models.TBGoods"
  32182. }
  32183. },
  32184. "convertratio": {
  32185. "description": "折算系数",
  32186. "type": "number"
  32187. },
  32188. "enumdicname": {
  32189. "description": "单位名称",
  32190. "type": "string"
  32191. },
  32192. "exexchangecode": {
  32193. "description": "交易所代码",
  32194. "type": "string"
  32195. },
  32196. "exexchangename": {
  32197. "description": "交易所名称",
  32198. "type": "string"
  32199. },
  32200. "goodsgroupid": {
  32201. "description": "商品组ID(自增ID)",
  32202. "type": "integer"
  32203. },
  32204. "goodsgroupname": {
  32205. "description": "商品组名称",
  32206. "type": "string"
  32207. },
  32208. "goodunitid": {
  32209. "description": "报价单位ID",
  32210. "type": "integer"
  32211. }
  32212. }
  32213. },
  32214. "models.TBMiddleGoods": {
  32215. "type": "object",
  32216. "properties": {
  32217. "GPLST": {
  32218. "description": "期货品种列表",
  32219. "type": "array",
  32220. "items": {
  32221. "$ref": "#/definitions/models.TBGoodsGroup"
  32222. }
  32223. },
  32224. "WDLST": {
  32225. "description": "商品信息列表(现货品类)",
  32226. "type": "array",
  32227. "items": {
  32228. "$ref": "#/definitions/models.TBWrstandard"
  32229. }
  32230. },
  32231. "areauserid": {
  32232. "description": "机构用户ID",
  32233. "type": "integer"
  32234. },
  32235. "enumdicname": {
  32236. "description": "单位名称",
  32237. "type": "string"
  32238. },
  32239. "goodsunitid": {
  32240. "description": "套保品种单位id",
  32241. "type": "integer"
  32242. },
  32243. "middlegoodscode": {
  32244. "description": "套保品种代码",
  32245. "type": "string"
  32246. },
  32247. "middlegoodsid": {
  32248. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  32249. "type": "integer"
  32250. },
  32251. "middlegoodsname": {
  32252. "description": "套保品种名称",
  32253. "type": "string"
  32254. },
  32255. "needarbitrageratio": {
  32256. "description": "套利比率",
  32257. "type": "number"
  32258. },
  32259. "needhedgeratio": {
  32260. "description": "套保比率",
  32261. "type": "number"
  32262. }
  32263. }
  32264. },
  32265. "models.TBWrstandard": {
  32266. "type": "object",
  32267. "properties": {
  32268. "convertratio": {
  32269. "description": "折算系数",
  32270. "type": "number"
  32271. },
  32272. "deliverygoodsname": {
  32273. "description": "品种名称",
  32274. "type": "string"
  32275. },
  32276. "enumdicname": {
  32277. "description": "单位名称",
  32278. "type": "string"
  32279. },
  32280. "vatrate": {
  32281. "description": "增值税率",
  32282. "type": "number"
  32283. },
  32284. "wrstandardcode": {
  32285. "description": "现货商品代码",
  32286. "type": "string"
  32287. },
  32288. "wrstandardid": {
  32289. "description": "现货商品ID(SEQ_WRSTANDARD)",
  32290. "type": "integer"
  32291. },
  32292. "wrstandardname": {
  32293. "description": "现货商品名称",
  32294. "type": "string"
  32295. }
  32296. }
  32297. },
  32298. "models.Taaccount": {
  32299. "type": "object",
  32300. "required": [
  32301. "accountid",
  32302. "userid"
  32303. ],
  32304. "properties": {
  32305. "accountflag": {
  32306. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  32307. "type": "integer"
  32308. },
  32309. "accountid": {
  32310. "description": "资金账户ID",
  32311. "type": "integer"
  32312. },
  32313. "accountname": {
  32314. "description": "账户名称",
  32315. "type": "string"
  32316. },
  32317. "balance": {
  32318. "description": "期初余额",
  32319. "type": "number"
  32320. },
  32321. "capitalbalance": {
  32322. "description": "本金余额[外部子账户实际出入金余额]",
  32323. "type": "number"
  32324. },
  32325. "changeflag": {
  32326. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  32327. "type": "integer"
  32328. },
  32329. "changetime": {
  32330. "description": "账户状态变更时间",
  32331. "type": "string"
  32332. },
  32333. "closepl": {
  32334. "description": "今日平仓盈亏",
  32335. "type": "number"
  32336. },
  32337. "creditdecrease": {
  32338. "description": "今日授信减少",
  32339. "type": "number"
  32340. },
  32341. "creditincrease": {
  32342. "description": "今日授信增加",
  32343. "type": "number"
  32344. },
  32345. "curamount": {
  32346. "description": "总市值(从持仓中统计)",
  32347. "type": "number"
  32348. },
  32349. "currencyid": {
  32350. "description": "货币ID",
  32351. "type": "integer"
  32352. },
  32353. "currentbalance": {
  32354. "description": "期末余额",
  32355. "type": "number"
  32356. },
  32357. "freezecharge": {
  32358. "description": "手续费冻结",
  32359. "type": "number"
  32360. },
  32361. "freezemargin": {
  32362. "description": "冻结保证金",
  32363. "type": "number"
  32364. },
  32365. "fromaccountid": {
  32366. "description": "所属上级账户",
  32367. "type": "integer"
  32368. },
  32369. "inamount": {
  32370. "description": "今日入金金额(包括三方入金)",
  32371. "type": "number"
  32372. },
  32373. "ismain": {
  32374. "description": "是否母账号 0:不是母账户 1:是母账户",
  32375. "type": "integer"
  32376. },
  32377. "ismarketaccount": {
  32378. "description": "是否机构接单账号 0:不是 1:是",
  32379. "type": "integer"
  32380. },
  32381. "isreckonaccount": {
  32382. "description": "是否机构分润账号 0:不是 1:是",
  32383. "type": "integer"
  32384. },
  32385. "mortgagecredit": {
  32386. "description": "授信金额",
  32387. "type": "number"
  32388. },
  32389. "orifreezecharge": {
  32390. "description": "期初手续费冻结",
  32391. "type": "number"
  32392. },
  32393. "orifreezemargin": {
  32394. "description": "期初冻结保证金",
  32395. "type": "number"
  32396. },
  32397. "orimortgagecredit": {
  32398. "description": "期初授信金额",
  32399. "type": "number"
  32400. },
  32401. "oriothercredit": {
  32402. "description": "期初其它授信金额",
  32403. "type": "number"
  32404. },
  32405. "oriotherfreezemargin": {
  32406. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  32407. "type": "number"
  32408. },
  32409. "orioutamountfreeze": {
  32410. "description": "期初出金冻结",
  32411. "type": "number"
  32412. },
  32413. "oriusedmargin": {
  32414. "description": "期初占用保证金",
  32415. "type": "number"
  32416. },
  32417. "othercredit": {
  32418. "description": "其它授信金额",
  32419. "type": "number"
  32420. },
  32421. "othercreditdecrease": {
  32422. "description": "今日其它授信减少",
  32423. "type": "number"
  32424. },
  32425. "othercreditincrease": {
  32426. "description": "今日其它授信增加",
  32427. "type": "number"
  32428. },
  32429. "otherfreezemargin": {
  32430. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  32431. "type": "number"
  32432. },
  32433. "otherincome": {
  32434. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  32435. "type": "number"
  32436. },
  32437. "otherpay": {
  32438. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  32439. "type": "number"
  32440. },
  32441. "outamount": {
  32442. "description": "今日出金金额(包括三方出金)",
  32443. "type": "number"
  32444. },
  32445. "outamountfreeze": {
  32446. "description": "出金冻结",
  32447. "type": "number"
  32448. },
  32449. "outthreshold": {
  32450. "description": "出金阈值",
  32451. "type": "number"
  32452. },
  32453. "parentaccountid": {
  32454. "description": "所属根账号",
  32455. "type": "integer"
  32456. },
  32457. "paycharge": {
  32458. "description": "今日手续费支出",
  32459. "type": "number"
  32460. },
  32461. "relatedaccountstatus": {
  32462. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  32463. "type": "integer"
  32464. },
  32465. "relateduserid": {
  32466. "description": "关联用户",
  32467. "type": "integer"
  32468. },
  32469. "remainamount": {
  32470. "description": "融资额(从融资合同中统计)",
  32471. "type": "number"
  32472. },
  32473. "serivcegroup": {
  32474. "description": "服务分组",
  32475. "type": "integer"
  32476. },
  32477. "signstatus": {
  32478. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  32479. "type": "integer"
  32480. },
  32481. "sublevelpath": {
  32482. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  32483. "type": "string"
  32484. },
  32485. "taaccounttype": {
  32486. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  32487. "type": "integer"
  32488. },
  32489. "thirdinamount": {
  32490. "description": "今日三方入金",
  32491. "type": "number"
  32492. },
  32493. "thirdoutamount": {
  32494. "description": "今日三方出金",
  32495. "type": "number"
  32496. },
  32497. "tradestatus": {
  32498. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  32499. "type": "integer"
  32500. },
  32501. "tradestatuschangetime": {
  32502. "description": "激活时间",
  32503. "type": "string"
  32504. },
  32505. "transferamount": {
  32506. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  32507. "type": "number"
  32508. },
  32509. "usedmargin": {
  32510. "description": "占用保证金",
  32511. "type": "number"
  32512. },
  32513. "userid": {
  32514. "description": "用户ID",
  32515. "type": "integer"
  32516. }
  32517. }
  32518. },
  32519. "models.Tablecolumnconfig": {
  32520. "type": "object",
  32521. "required": [
  32522. "autoid"
  32523. ],
  32524. "properties": {
  32525. "aligntype": {
  32526. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  32527. "type": "integer"
  32528. },
  32529. "autoid": {
  32530. "description": "AutoID",
  32531. "type": "integer"
  32532. },
  32533. "columnfield": {
  32534. "description": "列字段",
  32535. "type": "string"
  32536. },
  32537. "columntitle": {
  32538. "description": "列Title",
  32539. "type": "string"
  32540. },
  32541. "columnwidth": {
  32542. "description": "列宽",
  32543. "type": "string"
  32544. },
  32545. "formatterstring": {
  32546. "description": "格式化字符",
  32547. "type": "string"
  32548. },
  32549. "formattertype": {
  32550. "description": "格式化类型",
  32551. "type": "string"
  32552. },
  32553. "groupname": {
  32554. "description": "表头分组名称",
  32555. "type": "string"
  32556. },
  32557. "isshow": {
  32558. "description": "是否显示 - 0:不显示 1:显示",
  32559. "type": "integer"
  32560. },
  32561. "needsummary": {
  32562. "description": "是否需要汇总 - 0:不需要 1:需要",
  32563. "type": "integer"
  32564. },
  32565. "orderindex": {
  32566. "description": "顺序",
  32567. "type": "integer"
  32568. },
  32569. "remark": {
  32570. "description": "备注",
  32571. "type": "string"
  32572. },
  32573. "summarytype": {
  32574. "description": "汇总类型 - 1:加总 2:最后一个",
  32575. "type": "integer"
  32576. },
  32577. "tablekey": {
  32578. "description": "列表Key",
  32579. "type": "string"
  32580. }
  32581. }
  32582. },
  32583. "models.TjmdMarketSection": {
  32584. "type": "object",
  32585. "properties": {
  32586. "marketsectionid": {
  32587. "description": "市场版块ID(SEQ_MARKETSECTION)",
  32588. "type": "integer"
  32589. },
  32590. "marketsectionname": {
  32591. "description": "市场版块名称",
  32592. "type": "string"
  32593. },
  32594. "mlist": {
  32595. "description": "市场列表(板块下面有多少个市场)",
  32596. "type": "array",
  32597. "items": {
  32598. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  32599. }
  32600. },
  32601. "orderindex": {
  32602. "description": "排序",
  32603. "type": "integer"
  32604. },
  32605. "pictureurl": {
  32606. "description": "图片url, 规格(90*90)",
  32607. "type": "string"
  32608. },
  32609. "remark": {
  32610. "description": "备注",
  32611. "type": "string"
  32612. }
  32613. }
  32614. },
  32615. "models.TjmdMarketSectionConfig": {
  32616. "type": "object",
  32617. "properties": {
  32618. "auctionwrtype": {
  32619. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  32620. "type": "integer"
  32621. },
  32622. "canacceptquote": {
  32623. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  32624. "type": "integer"
  32625. },
  32626. "cangoodsexercise": {
  32627. "description": "[期权]是否可现货行权- 0:否 1:是",
  32628. "type": "integer"
  32629. },
  32630. "cangoodsexercisetype": {
  32631. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  32632. "type": "integer"
  32633. },
  32634. "canmanualquotestrike": {
  32635. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  32636. "type": "integer"
  32637. },
  32638. "canmutistage": {
  32639. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  32640. "type": "integer"
  32641. },
  32642. "canpreexercise": {
  32643. "description": "[期权]是否可预申报- 0:否 1:是",
  32644. "type": "integer"
  32645. },
  32646. "clearinterval": {
  32647. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  32648. "type": "integer"
  32649. },
  32650. "contracttmp": {
  32651. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  32652. "type": "string"
  32653. },
  32654. "exchareaid": {
  32655. "description": "所属交易所,可以没有",
  32656. "type": "integer"
  32657. },
  32658. "financemarketid": {
  32659. "description": "融资回购市场ID [仓单贸易]",
  32660. "type": "integer"
  32661. },
  32662. "goodstype": {
  32663. "description": "商品类型 - 1:交易商品 2:仓单商品",
  32664. "type": "integer"
  32665. },
  32666. "hasrebate": {
  32667. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  32668. "type": "integer"
  32669. },
  32670. "hastradecredit": {
  32671. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  32672. "type": "integer"
  32673. },
  32674. "haswr": {
  32675. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  32676. "type": "integer"
  32677. },
  32678. "isdeductmargin": {
  32679. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  32680. "type": "integer"
  32681. },
  32682. "isrecordsource": {
  32683. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  32684. "type": "integer"
  32685. },
  32686. "isreleasemargin": {
  32687. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  32688. "type": "integer"
  32689. },
  32690. "isupdatereckonprice": {
  32691. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  32692. "type": "integer"
  32693. },
  32694. "listingmode": {
  32695. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  32696. "type": "integer"
  32697. },
  32698. "marginformula": {
  32699. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  32700. "type": "integer"
  32701. },
  32702. "marginformula2": {
  32703. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  32704. "type": "integer"
  32705. },
  32706. "marketid": {
  32707. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  32708. "type": "integer"
  32709. },
  32710. "marketname": {
  32711. "description": "市场名称",
  32712. "type": "string"
  32713. },
  32714. "marketsectionid": {
  32715. "description": "市场版块ID(SEQ_MARKETSECTION)",
  32716. "type": "integer"
  32717. },
  32718. "marketserviceid": {
  32719. "description": "市场服务ID",
  32720. "type": "integer"
  32721. },
  32722. "marketstatus": {
  32723. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  32724. "type": "integer"
  32725. },
  32726. "markettype": {
  32727. "description": "市场类型- 1:非交易服务 2:交易服务",
  32728. "type": "integer"
  32729. },
  32730. "matchermode": {
  32731. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  32732. "type": "integer"
  32733. },
  32734. "nowrquotaflag": {
  32735. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  32736. "type": "integer"
  32737. },
  32738. "openmethod": {
  32739. "description": "开盘模式 - 0 自动 1手动",
  32740. "type": "integer"
  32741. },
  32742. "orderindex": {
  32743. "description": "排序",
  32744. "type": "integer"
  32745. },
  32746. "otcuserid": {
  32747. "description": "场外期权做市商[场外期权]",
  32748. "type": "integer"
  32749. },
  32750. "outersynctime": {
  32751. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  32752. "type": "string"
  32753. },
  32754. "paylaterflag": {
  32755. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  32756. "type": "integer"
  32757. },
  32758. "pendingflag": {
  32759. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  32760. "type": "integer"
  32761. },
  32762. "pendingtime": {
  32763. "description": "待开市时间[通道交易-对冲](HH:mm)",
  32764. "type": "string"
  32765. },
  32766. "performancetempid": {
  32767. "description": "履约计划模板ID - 作废",
  32768. "type": "integer"
  32769. },
  32770. "premiumquotemode": {
  32771. "description": "权利金报价方式 - 1:自动 2:手动",
  32772. "type": "integer"
  32773. },
  32774. "rebateratio": {
  32775. "description": "返利比率[竞价式]",
  32776. "type": "number"
  32777. },
  32778. "reckonorder": {
  32779. "description": "结算顺序",
  32780. "type": "integer"
  32781. },
  32782. "reckonpricealgorithm": {
  32783. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  32784. "type": "integer"
  32785. },
  32786. "reckonpriceparam": {
  32787. "description": "结算价参数",
  32788. "type": "integer"
  32789. },
  32790. "reckontime": {
  32791. "description": "结算时间[通道交易-对冲](HH:mm)",
  32792. "type": "string"
  32793. },
  32794. "roleprioritytype": {
  32795. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  32796. "type": "integer"
  32797. },
  32798. "selllistingauditflag": {
  32799. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  32800. "type": "integer"
  32801. },
  32802. "trademarkettype": {
  32803. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  32804. "type": "integer"
  32805. },
  32806. "trademode": {
  32807. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  32808. "type": "integer"
  32809. },
  32810. "tradeproperty": {
  32811. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  32812. "type": "integer"
  32813. },
  32814. "tradetype": {
  32815. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  32816. "type": "integer"
  32817. },
  32818. "updatereckonpriceinterval": {
  32819. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  32820. "type": "integer"
  32821. }
  32822. }
  32823. },
  32824. "models.TjmdQuoteGoods": {
  32825. "type": "object",
  32826. "properties": {
  32827. "buyqty": {
  32828. "description": "买量(暂不做, 无值, 保留字段)",
  32829. "type": "number"
  32830. },
  32831. "decimalplace": {
  32832. "description": "报价小数位",
  32833. "type": "integer"
  32834. },
  32835. "goodscode": {
  32836. "description": "合约代码",
  32837. "type": "string"
  32838. },
  32839. "goodsgroupid": {
  32840. "description": "商品组ID(自增ID)",
  32841. "type": "integer"
  32842. },
  32843. "goodsgroupname": {
  32844. "description": "商品组名称",
  32845. "type": "string"
  32846. },
  32847. "goodsid": {
  32848. "description": "合约id",
  32849. "type": "integer"
  32850. },
  32851. "goodsname": {
  32852. "description": "合约名称",
  32853. "type": "string"
  32854. },
  32855. "refgoodscode": {
  32856. "description": "标的合约代码",
  32857. "type": "string"
  32858. },
  32859. "refgoodsid": {
  32860. "description": "标的合约id",
  32861. "type": "integer"
  32862. },
  32863. "refgoodsname": {
  32864. "description": "标的合约名称",
  32865. "type": "string"
  32866. },
  32867. "sellqty": {
  32868. "description": "卖量(暂不做, 无值, 保留字段)",
  32869. "type": "number"
  32870. }
  32871. }
  32872. },
  32873. "models.TjmdTodayAccountMargin": {
  32874. "type": "object",
  32875. "properties": {
  32876. "accountid": {
  32877. "description": "账号ID",
  32878. "type": "integer"
  32879. },
  32880. "goodsid": {
  32881. "description": "商品ID",
  32882. "type": "integer"
  32883. },
  32884. "infoc": {
  32885. "description": "配置参数",
  32886. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  32887. },
  32888. "marketid": {
  32889. "description": "市场ID",
  32890. "type": "integer"
  32891. }
  32892. }
  32893. },
  32894. "models.TjmdTradeOrderDetail": {
  32895. "type": "object",
  32896. "properties": {
  32897. "buyorsell": {
  32898. "description": "买卖方向 0-买 1-卖",
  32899. "type": "integer"
  32900. },
  32901. "goodsid": {
  32902. "description": "商品id",
  32903. "type": "integer"
  32904. },
  32905. "marketmaxsub": {
  32906. "description": "市价最大偏移范围 [浮动价 - 点差]",
  32907. "type": "number"
  32908. },
  32909. "orderid": {
  32910. "description": "委托单号",
  32911. "type": "string"
  32912. },
  32913. "orderprice": {
  32914. "description": "委托价格",
  32915. "type": "number"
  32916. },
  32917. "orderqty": {
  32918. "description": "委托数量",
  32919. "type": "integer"
  32920. },
  32921. "pricemode": {
  32922. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  32923. "type": "integer"
  32924. },
  32925. "userid": {
  32926. "description": "用户id",
  32927. "type": "integer"
  32928. },
  32929. "username": {
  32930. "description": "用户名称(已脱敏)",
  32931. "type": "string"
  32932. }
  32933. }
  32934. },
  32935. "models.TjmdTransferApply": {
  32936. "type": "object",
  32937. "properties": {
  32938. "applyid": {
  32939. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  32940. "type": "integer"
  32941. },
  32942. "applystatus": {
  32943. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  32944. "type": "integer"
  32945. },
  32946. "applytime": {
  32947. "description": "申请时间(时间)",
  32948. "type": "string"
  32949. },
  32950. "auditremark": {
  32951. "description": "审核备注(拒绝原因?)",
  32952. "type": "string"
  32953. },
  32954. "begindate": {
  32955. "description": "开始交易日(yyyymmdd)",
  32956. "type": "string"
  32957. },
  32958. "buyorsell": {
  32959. "description": "买卖 - 0:买 1:卖",
  32960. "type": "integer"
  32961. },
  32962. "enddate": {
  32963. "description": "结束交易日(yyyymmdd)",
  32964. "type": "string"
  32965. },
  32966. "goodscode": {
  32967. "description": "商品代码",
  32968. "type": "string"
  32969. },
  32970. "goodsid": {
  32971. "description": "商品ID",
  32972. "type": "integer"
  32973. },
  32974. "goodsname": {
  32975. "description": "商品名称",
  32976. "type": "string"
  32977. },
  32978. "marketid": {
  32979. "description": "市场ID",
  32980. "type": "integer"
  32981. },
  32982. "qty": {
  32983. "description": "转让数量(数量)",
  32984. "type": "number"
  32985. },
  32986. "tradeid": {
  32987. "description": "成交单号(关联持仓)",
  32988. "type": "string"
  32989. },
  32990. "transferamount": {
  32991. "description": "转让总金额(金额)",
  32992. "type": "number"
  32993. },
  32994. "transferprice": {
  32995. "description": "转让价格(协议价格)",
  32996. "type": "number"
  32997. }
  32998. }
  32999. },
  33000. "models.TradeHolderDetail": {
  33001. "type": "object",
  33002. "properties": {
  33003. "accountid": {
  33004. "description": "账号ID",
  33005. "type": "integer"
  33006. },
  33007. "agreeunit": {
  33008. "description": "合约乘数",
  33009. "type": "number"
  33010. },
  33011. "buyorsell": {
  33012. "description": "方向 - 0:买 1:卖",
  33013. "type": "integer"
  33014. },
  33015. "currencyid": {
  33016. "description": "商品币种id",
  33017. "type": "integer"
  33018. },
  33019. "currencyname": {
  33020. "description": "币种名称",
  33021. "type": "string"
  33022. },
  33023. "decimalplace": {
  33024. "description": "商品价格小数位",
  33025. "type": "integer"
  33026. },
  33027. "enumdicname": {
  33028. "description": "商品单位名称",
  33029. "type": "string"
  33030. },
  33031. "expirecycle": {
  33032. "description": "行权周期(天) - 1:滚动行权时填写",
  33033. "type": "integer"
  33034. },
  33035. "expiredate": {
  33036. "description": "行权日(yyyyMMdd) - 到期日",
  33037. "type": "string"
  33038. },
  33039. "expiretype": {
  33040. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  33041. "type": "integer"
  33042. },
  33043. "freezeqty": {
  33044. "description": "冻结数量",
  33045. "type": "number"
  33046. },
  33047. "goodscode": {
  33048. "description": "商品代码",
  33049. "type": "string"
  33050. },
  33051. "goodsid": {
  33052. "description": "商品ID",
  33053. "type": "integer"
  33054. },
  33055. "goodsname": {
  33056. "description": "商品名称",
  33057. "type": "string"
  33058. },
  33059. "goodunitid": {
  33060. "description": "商品单位id",
  33061. "type": "integer"
  33062. },
  33063. "holderamount": {
  33064. "description": "持仓金额",
  33065. "type": "number"
  33066. },
  33067. "holdercredit": {
  33068. "description": "持仓授信金额",
  33069. "type": "number"
  33070. },
  33071. "holderdays": {
  33072. "description": "剩余冻结天数",
  33073. "type": "integer"
  33074. },
  33075. "holderprice": {
  33076. "description": "持仓价格",
  33077. "type": "number"
  33078. },
  33079. "holderqty": {
  33080. "description": "持仓数量",
  33081. "type": "number"
  33082. },
  33083. "isconfirmexercise": {
  33084. "description": "是否确认行权- 0:否 1:是",
  33085. "type": "integer"
  33086. },
  33087. "ispreexercise": {
  33088. "description": "是否预申报- 0:否 1:是 2:不可行权",
  33089. "type": "integer"
  33090. },
  33091. "marketid": {
  33092. "description": "市场id",
  33093. "type": "integer"
  33094. },
  33095. "marketname": {
  33096. "description": "市场名称",
  33097. "type": "string"
  33098. },
  33099. "openprice": {
  33100. "description": "建仓价格",
  33101. "type": "number"
  33102. },
  33103. "openqty": {
  33104. "description": "建仓数量",
  33105. "type": "number"
  33106. },
  33107. "optiontype": {
  33108. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  33109. "type": "integer"
  33110. },
  33111. "preexerciseprice": {
  33112. "description": "预申报价格",
  33113. "type": "number"
  33114. },
  33115. "premium": {
  33116. "description": "权利金",
  33117. "type": "number"
  33118. },
  33119. "qtydecimalplace": {
  33120. "description": "商品成交量小数位",
  33121. "type": "integer"
  33122. },
  33123. "refgoodscode": {
  33124. "description": "标的合约代码",
  33125. "type": "string"
  33126. },
  33127. "refgoodsid": {
  33128. "description": "标的合约id",
  33129. "type": "integer"
  33130. },
  33131. "releaseamount": {
  33132. "description": "释放持仓金额",
  33133. "type": "number"
  33134. },
  33135. "releaseholdercredit": {
  33136. "description": "释放持仓授信金额",
  33137. "type": "number"
  33138. },
  33139. "taname": {
  33140. "description": "资金账号名称",
  33141. "type": "string"
  33142. },
  33143. "tradeamount": {
  33144. "description": "成交金额",
  33145. "type": "number"
  33146. },
  33147. "tradedate": {
  33148. "description": "交易日(yyyyMMdd)",
  33149. "type": "string"
  33150. },
  33151. "tradeid": {
  33152. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33153. "type": "string"
  33154. },
  33155. "trademode": {
  33156. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  33157. "type": "integer"
  33158. },
  33159. "tradeproperty": {
  33160. "description": "交易属性",
  33161. "type": "integer"
  33162. },
  33163. "tradetime": {
  33164. "description": "交易时间",
  33165. "type": "string"
  33166. },
  33167. "userid": {
  33168. "description": "用户id",
  33169. "type": "integer"
  33170. },
  33171. "username": {
  33172. "description": "用户名称",
  33173. "type": "string"
  33174. }
  33175. }
  33176. },
  33177. "models.UserCollectConfig": {
  33178. "type": "object",
  33179. "properties": {
  33180. "accountstatus": {
  33181. "description": "账户状态 - 1:正常 2:停用 3:注销",
  33182. "type": "integer"
  33183. },
  33184. "collectaccountname": {
  33185. "description": "收款人账户名称",
  33186. "type": "string"
  33187. },
  33188. "collectaccountno": {
  33189. "description": "收款人账户",
  33190. "type": "string"
  33191. },
  33192. "collectbankname": {
  33193. "description": "收款人开户行",
  33194. "type": "string"
  33195. },
  33196. "collectbranchbankname": {
  33197. "description": "收款人开户支行",
  33198. "type": "string"
  33199. },
  33200. "collectconfigid": {
  33201. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  33202. "type": "string"
  33203. },
  33204. "remark": {
  33205. "description": "备注",
  33206. "type": "string"
  33207. },
  33208. "userid": {
  33209. "description": "收款人用户ID",
  33210. "type": "integer"
  33211. }
  33212. }
  33213. },
  33214. "models.UserReceiveInfo": {
  33215. "type": "object",
  33216. "properties": {
  33217. "address": {
  33218. "description": "提货人详细地址",
  33219. "type": "string"
  33220. },
  33221. "autoid": {
  33222. "description": "AutoID",
  33223. "type": "integer"
  33224. },
  33225. "cardnum": {
  33226. "description": "证件号码(加密存储)",
  33227. "type": "string"
  33228. },
  33229. "cardtypeid": {
  33230. "description": "证件类型",
  33231. "type": "integer"
  33232. },
  33233. "cityid": {
  33234. "description": "市",
  33235. "type": "integer"
  33236. },
  33237. "cityname": {
  33238. "description": "城市名称",
  33239. "type": "string"
  33240. },
  33241. "countryid": {
  33242. "description": "国家",
  33243. "type": "integer"
  33244. },
  33245. "countryname": {
  33246. "description": "国家名称",
  33247. "type": "string"
  33248. },
  33249. "districtid": {
  33250. "description": "地区",
  33251. "type": "integer"
  33252. },
  33253. "districtname": {
  33254. "description": "地区名称",
  33255. "type": "string"
  33256. },
  33257. "hasencrypt": {
  33258. "description": "数据是否已加密 - 0:未加密 1:已加密",
  33259. "type": "integer"
  33260. },
  33261. "isdefault": {
  33262. "description": "是否默认地址 - 0:否 1:是",
  33263. "type": "integer"
  33264. },
  33265. "phonenum": {
  33266. "description": "提货人联系方式(加密存储)",
  33267. "type": "string"
  33268. },
  33269. "provinceid": {
  33270. "description": "省",
  33271. "type": "integer"
  33272. },
  33273. "provincename": {
  33274. "description": "省名称",
  33275. "type": "string"
  33276. },
  33277. "receivername": {
  33278. "description": "提货人姓名",
  33279. "type": "string"
  33280. },
  33281. "takeremark": {
  33282. "description": "提货备注",
  33283. "type": "string"
  33284. },
  33285. "userid": {
  33286. "description": "用户ID",
  33287. "type": "integer"
  33288. }
  33289. }
  33290. },
  33291. "models.Useraccount": {
  33292. "type": "object",
  33293. "required": [
  33294. "userid"
  33295. ],
  33296. "properties": {
  33297. "accountname": {
  33298. "description": "账户名称(机构名称)",
  33299. "type": "string"
  33300. },
  33301. "accountstatus": {
  33302. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  33303. "type": "integer"
  33304. },
  33305. "applysrc": {
  33306. "description": "申请来源 - 1:管理端 2:终端",
  33307. "type": "integer"
  33308. },
  33309. "auditremark": {
  33310. "description": "审核备注",
  33311. "type": "string"
  33312. },
  33313. "auditsrc": {
  33314. "description": "审核来源 - 1:管理端 2:终端",
  33315. "type": "integer"
  33316. },
  33317. "audittime": {
  33318. "description": "审核时间",
  33319. "type": "string"
  33320. },
  33321. "audituserid": {
  33322. "description": "审核人",
  33323. "type": "integer"
  33324. },
  33325. "broker": {
  33326. "description": "所属经纪人ID",
  33327. "type": "integer"
  33328. },
  33329. "canceltime": {
  33330. "description": "销户时间",
  33331. "type": "string"
  33332. },
  33333. "canceluserid": {
  33334. "description": "销户人",
  33335. "type": "integer"
  33336. },
  33337. "canrecommend": {
  33338. "description": "是否可推荐 - 0:不可 1;可",
  33339. "type": "integer"
  33340. },
  33341. "createtime": {
  33342. "description": "创建时间",
  33343. "type": "string"
  33344. },
  33345. "creatorid": {
  33346. "description": "创建人",
  33347. "type": "integer"
  33348. },
  33349. "hasauth": {
  33350. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  33351. "type": "integer"
  33352. },
  33353. "isanonymous": {
  33354. "description": "是否匿名下单 - 0:否 1:是",
  33355. "type": "integer"
  33356. },
  33357. "maxinvestornum": {
  33358. "description": "最大用户数(经纪会员下投资者个数)",
  33359. "type": "integer"
  33360. },
  33361. "memberuserid": {
  33362. "description": "所属会员ID",
  33363. "type": "integer"
  33364. },
  33365. "modifierid": {
  33366. "description": "修改人",
  33367. "type": "integer"
  33368. },
  33369. "modifyremark": {
  33370. "description": "变更备注",
  33371. "type": "string"
  33372. },
  33373. "modifystatus": {
  33374. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  33375. "type": "integer"
  33376. },
  33377. "modifytime": {
  33378. "description": "修改时间",
  33379. "type": "string"
  33380. },
  33381. "parenttopuser": {
  33382. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  33383. "type": "string"
  33384. },
  33385. "parentuserid": {
  33386. "description": "所属机构ID",
  33387. "type": "integer"
  33388. },
  33389. "reckonaccountid": {
  33390. "description": "默认结算资金账号ID(机构分润使用) 作废",
  33391. "type": "integer"
  33392. },
  33393. "refercount": {
  33394. "description": "推荐总人数",
  33395. "type": "integer"
  33396. },
  33397. "refereeuserid": {
  33398. "description": "推荐人ID",
  33399. "type": "integer"
  33400. },
  33401. "refernum": {
  33402. "description": "推荐码",
  33403. "type": "string"
  33404. },
  33405. "rootuserid": {
  33406. "description": "根用户ID",
  33407. "type": "integer"
  33408. },
  33409. "subaccountlevel": {
  33410. "description": "子账户层数",
  33411. "type": "integer"
  33412. },
  33413. "subarealevelpath": {
  33414. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  33415. "type": "string"
  33416. },
  33417. "userid": {
  33418. "description": "用户ID",
  33419. "type": "integer"
  33420. },
  33421. "usertype": {
  33422. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  33423. "type": "integer"
  33424. }
  33425. }
  33426. },
  33427. "models.Userfavoritegoods": {
  33428. "type": "object",
  33429. "required": [
  33430. "goodsid"
  33431. ],
  33432. "properties": {
  33433. "goodsid": {
  33434. "description": "商品ID",
  33435. "type": "integer"
  33436. }
  33437. }
  33438. },
  33439. "models.Userinfo": {
  33440. "type": "object",
  33441. "required": [
  33442. "userid"
  33443. ],
  33444. "properties": {
  33445. "address": {
  33446. "description": "地址",
  33447. "type": "string"
  33448. },
  33449. "attachment1": {
  33450. "description": "附件1",
  33451. "type": "string"
  33452. },
  33453. "attachment2": {
  33454. "description": "附件2",
  33455. "type": "string"
  33456. },
  33457. "bankaccount": {
  33458. "description": "银行帐号 (加密存储)",
  33459. "type": "string"
  33460. },
  33461. "bankaccountname": {
  33462. "description": "收款人名称",
  33463. "type": "string"
  33464. },
  33465. "bankcardfrontphotourl": {
  33466. "description": "银行卡正面照地址",
  33467. "type": "string"
  33468. },
  33469. "bankid": {
  33470. "description": "银行编码",
  33471. "type": "string"
  33472. },
  33473. "bankname": {
  33474. "description": "银行名称",
  33475. "type": "string"
  33476. },
  33477. "biznature": {
  33478. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  33479. "type": "integer"
  33480. },
  33481. "bizscope": {
  33482. "description": "企业经营范围(企业)",
  33483. "type": "string"
  33484. },
  33485. "cardbackphotourl": {
  33486. "description": "证件背面图片地址",
  33487. "type": "string"
  33488. },
  33489. "cardfrontphotourl": {
  33490. "description": "证件正面图片地址",
  33491. "type": "string"
  33492. },
  33493. "cardnum": {
  33494. "description": "证件号码(加密存储)",
  33495. "type": "string"
  33496. },
  33497. "cardtypeid": {
  33498. "description": "证件类型ID",
  33499. "type": "integer"
  33500. },
  33501. "cityid": {
  33502. "description": "市",
  33503. "type": "integer"
  33504. },
  33505. "company": {
  33506. "description": "公司(个人)",
  33507. "type": "string"
  33508. },
  33509. "contactname": {
  33510. "description": "联系人",
  33511. "type": "string"
  33512. },
  33513. "countryid": {
  33514. "description": "国家",
  33515. "type": "integer"
  33516. },
  33517. "createtime": {
  33518. "description": "创建时间",
  33519. "type": "string"
  33520. },
  33521. "creatorid": {
  33522. "description": "创建人",
  33523. "type": "integer"
  33524. },
  33525. "customername": {
  33526. "description": "客户名称(企业名称)",
  33527. "type": "string"
  33528. },
  33529. "districtid": {
  33530. "description": "地区",
  33531. "type": "integer"
  33532. },
  33533. "email": {
  33534. "description": "邮件(加密存储)",
  33535. "type": "string"
  33536. },
  33537. "fax": {
  33538. "description": "传真(加密存储)",
  33539. "type": "string"
  33540. },
  33541. "halfbodyphotourl": {
  33542. "description": "半身照地址",
  33543. "type": "string"
  33544. },
  33545. "hasencrypt": {
  33546. "description": "数据是否已加密 - 0:未加密 1:已加密",
  33547. "type": "integer"
  33548. },
  33549. "headurl": {
  33550. "description": "头像地址",
  33551. "type": "string"
  33552. },
  33553. "legalcardbackphotourl": {
  33554. "description": "法人身份证背面照地址",
  33555. "type": "string"
  33556. },
  33557. "legalcardfrontphotourl": {
  33558. "description": "法人身份证正面照地址",
  33559. "type": "string"
  33560. },
  33561. "legalpersonname": {
  33562. "description": "法人姓名(企业)",
  33563. "type": "string"
  33564. },
  33565. "mobile": {
  33566. "description": "手机号码(加密存储)",
  33567. "type": "string"
  33568. },
  33569. "mobile2": {
  33570. "description": "手机号码[明文-尚志]",
  33571. "type": "string"
  33572. },
  33573. "modifierid": {
  33574. "description": "修改人",
  33575. "type": "integer"
  33576. },
  33577. "modifiertime": {
  33578. "description": "修改时间",
  33579. "type": "string"
  33580. },
  33581. "needinvoice": {
  33582. "description": "是否需要发票 - 0:不需要 1:需要",
  33583. "type": "integer"
  33584. },
  33585. "nickname": {
  33586. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  33587. "type": "string"
  33588. },
  33589. "openmode": {
  33590. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  33591. "type": "integer"
  33592. },
  33593. "otherurl": {
  33594. "description": "其它图片地址[使用分号分隔]",
  33595. "type": "string"
  33596. },
  33597. "postalcode": {
  33598. "description": "邮政编码",
  33599. "type": "string"
  33600. },
  33601. "provinceid": {
  33602. "description": "省",
  33603. "type": "integer"
  33604. },
  33605. "qq": {
  33606. "description": "QQ(加密存储",
  33607. "type": "string"
  33608. },
  33609. "remark": {
  33610. "description": "备注",
  33611. "type": "string"
  33612. },
  33613. "sex": {
  33614. "description": "用户性别 0: 女 1: 男",
  33615. "type": "integer"
  33616. },
  33617. "signpdfurl": {
  33618. "description": "签约pdf文件",
  33619. "type": "string"
  33620. },
  33621. "telphone": {
  33622. "description": "联系电话(加密存储)",
  33623. "type": "string"
  33624. },
  33625. "userid": {
  33626. "description": "用户ID",
  33627. "type": "integer"
  33628. },
  33629. "userinfotype": {
  33630. "description": "用户信息类型 - 1:个人 2:企业",
  33631. "type": "integer"
  33632. },
  33633. "userstatus": {
  33634. "description": "用户状态 - 1:正常 2:注销",
  33635. "type": "integer"
  33636. },
  33637. "usertype": {
  33638. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  33639. "type": "integer"
  33640. },
  33641. "wechat": {
  33642. "description": "微信(加密存储)",
  33643. "type": "string"
  33644. },
  33645. "wskhinfo": {
  33646. "description": "开户申请信息(JSON)",
  33647. "type": "string"
  33648. }
  33649. }
  33650. },
  33651. "models.WRSConverTDetail": {
  33652. "type": "object",
  33653. "properties": {
  33654. "convertratio": {
  33655. "description": "套保系数",
  33656. "type": "number"
  33657. },
  33658. "deliverygoodscode": {
  33659. "description": "现货商品代码",
  33660. "type": "string"
  33661. },
  33662. "deliverygoodsid": {
  33663. "description": "现货品种ID",
  33664. "type": "integer"
  33665. },
  33666. "deliverygoodsname": {
  33667. "description": "现货商品名称",
  33668. "type": "string"
  33669. },
  33670. "enumdicname": {
  33671. "description": "单位名称",
  33672. "type": "string"
  33673. },
  33674. "goodsunitid": {
  33675. "description": "套保品种单位id",
  33676. "type": "integer"
  33677. },
  33678. "middlegoodscode": {
  33679. "description": "套保品种代码",
  33680. "type": "string"
  33681. },
  33682. "middlegoodsid": {
  33683. "description": "套保品种ID",
  33684. "type": "integer"
  33685. },
  33686. "middlegoodsname": {
  33687. "description": "套保品种名称",
  33688. "type": "string"
  33689. },
  33690. "modifytime": {
  33691. "description": "修改时间",
  33692. "type": "string"
  33693. },
  33694. "wrstandardid": {
  33695. "description": "品类ID",
  33696. "type": "integer"
  33697. }
  33698. }
  33699. },
  33700. "models.WRStandardInfo": {
  33701. "type": "object",
  33702. "required": [
  33703. "wrstandardid"
  33704. ],
  33705. "properties": {
  33706. "areauserid": {
  33707. "description": "所属机构",
  33708. "type": "integer"
  33709. },
  33710. "convertfactor": {
  33711. "description": "标仓系数",
  33712. "type": "number"
  33713. },
  33714. "createtime": {
  33715. "description": "创建时间",
  33716. "type": "string"
  33717. },
  33718. "creatorid": {
  33719. "description": "创建人",
  33720. "type": "integer"
  33721. },
  33722. "deliverygoodsid": {
  33723. "description": "品种ID",
  33724. "type": "integer"
  33725. },
  33726. "deliverygoodsname": {
  33727. "description": "交割商品名称",
  33728. "type": "string"
  33729. },
  33730. "factoryitemjson": {
  33731. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  33732. "type": "string"
  33733. },
  33734. "isvalid": {
  33735. "description": "是否有效 - 0:无效 1:有效",
  33736. "type": "integer"
  33737. },
  33738. "minivalue": {
  33739. "description": "最小变动值",
  33740. "type": "integer"
  33741. },
  33742. "minivaluedp": {
  33743. "description": "最小变动值小数位",
  33744. "type": "integer"
  33745. },
  33746. "realminivalue": {
  33747. "description": "实际最小变动值",
  33748. "type": "integer"
  33749. },
  33750. "realminivaluedp": {
  33751. "description": "实际最小变动值小数位",
  33752. "type": "integer"
  33753. },
  33754. "remark": {
  33755. "description": "备注",
  33756. "type": "string"
  33757. },
  33758. "unitid": {
  33759. "description": "单位ID",
  33760. "type": "integer"
  33761. },
  33762. "unitname": {
  33763. "description": "单位",
  33764. "type": "string"
  33765. },
  33766. "updatetime": {
  33767. "description": "更新时间",
  33768. "type": "string"
  33769. },
  33770. "updatorid": {
  33771. "description": "更新人",
  33772. "type": "integer"
  33773. },
  33774. "wrsstatus": {
  33775. "description": "状态 - 作废 - 0:未激活 1:正常",
  33776. "type": "integer"
  33777. },
  33778. "wrstandardcode": {
  33779. "description": "现货品类代码",
  33780. "type": "string"
  33781. },
  33782. "wrstandardid": {
  33783. "description": "现货品类ID(SEQ_WRSTANDARD)",
  33784. "type": "integer"
  33785. },
  33786. "wrstandardname": {
  33787. "description": "现货品类名称",
  33788. "type": "string"
  33789. }
  33790. }
  33791. },
  33792. "models.WRTradeBargainApply": {
  33793. "type": "object",
  33794. "properties": {
  33795. "accountid": {
  33796. "description": "摘牌资金账号",
  33797. "type": "integer"
  33798. },
  33799. "applyprice": {
  33800. "description": "申请价格(议价价格)",
  33801. "type": "string"
  33802. },
  33803. "applyqty": {
  33804. "description": "摘牌数量(议价数量)",
  33805. "type": "number"
  33806. },
  33807. "applyremark": {
  33808. "description": "申请备注",
  33809. "type": "string"
  33810. },
  33811. "applystatus": {
  33812. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  33813. "type": "integer"
  33814. },
  33815. "applytime": {
  33816. "description": "申请时间(议价时间)",
  33817. "type": "string"
  33818. },
  33819. "begindate": {
  33820. "description": "开始交易日(yyyymmdd)",
  33821. "type": "string"
  33822. },
  33823. "buyorsell": {
  33824. "description": "买卖(挂牌类型) - 0:买 1:卖",
  33825. "type": "integer"
  33826. },
  33827. "confirmremark": {
  33828. "description": "确认备注",
  33829. "type": "string"
  33830. },
  33831. "confirmtime": {
  33832. "description": "确认时间",
  33833. "type": "string"
  33834. },
  33835. "confirmuserid": {
  33836. "description": "确认人",
  33837. "type": "integer"
  33838. },
  33839. "deliverygoodscode": {
  33840. "description": "品种代码",
  33841. "type": "string"
  33842. },
  33843. "deliverygoodsid": {
  33844. "description": "品种ID",
  33845. "type": "integer"
  33846. },
  33847. "deliverygoodsname": {
  33848. "description": "品种名称",
  33849. "type": "string"
  33850. },
  33851. "deliverymonth": {
  33852. "description": "交收月",
  33853. "type": "string"
  33854. },
  33855. "enddate": {
  33856. "description": "结束交易日(yyyymmdd)",
  33857. "type": "string"
  33858. },
  33859. "enumdicname": {
  33860. "description": "单位名称",
  33861. "type": "string"
  33862. },
  33863. "fixedprice": {
  33864. "description": "挂牌价格",
  33865. "type": "number"
  33866. },
  33867. "handlestatus": {
  33868. "description": "处理状态",
  33869. "type": "integer"
  33870. },
  33871. "marginvalue": {
  33872. "description": "履约保证金比例",
  33873. "type": "number"
  33874. },
  33875. "marketid": {
  33876. "description": "市场ID",
  33877. "type": "integer"
  33878. },
  33879. "matchaccountid": {
  33880. "description": "挂牌方资金账号",
  33881. "type": "integer"
  33882. },
  33883. "matchuserid": {
  33884. "description": "挂牌方用户id",
  33885. "type": "integer"
  33886. },
  33887. "matchusername": {
  33888. "description": "挂牌方用户名称(已脱敏)",
  33889. "type": "string"
  33890. },
  33891. "minivalue": {
  33892. "description": "现货商品最小变动值",
  33893. "type": "integer"
  33894. },
  33895. "optioncompare": {
  33896. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33897. "type": "string"
  33898. },
  33899. "orderqty": {
  33900. "description": "挂牌数量",
  33901. "type": "integer"
  33902. },
  33903. "refprice": {
  33904. "description": "参考价格",
  33905. "type": "string"
  33906. },
  33907. "retcode": {
  33908. "description": "委托返回代码",
  33909. "type": "integer"
  33910. },
  33911. "templatename": {
  33912. "description": "履约方式(履约模板名称)",
  33913. "type": "string"
  33914. },
  33915. "tradedate": {
  33916. "description": "交易日(yyyyMMdd)",
  33917. "type": "string"
  33918. },
  33919. "userid": {
  33920. "description": "摘牌人用户ID(议价人ID)",
  33921. "type": "integer"
  33922. },
  33923. "username": {
  33924. "description": "议价人名字(已脱敏)",
  33925. "type": "string"
  33926. },
  33927. "validtime": {
  33928. "description": "有效期限",
  33929. "type": "string"
  33930. },
  33931. "warehouseid": {
  33932. "description": "仓库ID",
  33933. "type": "integer"
  33934. },
  33935. "warehousename": {
  33936. "description": "仓库名称",
  33937. "type": "string"
  33938. },
  33939. "wrbargainid": {
  33940. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  33941. "type": "string"
  33942. },
  33943. "wrfactortypeid": {
  33944. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33945. "type": "string"
  33946. },
  33947. "wrfactortypename": {
  33948. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33949. "type": "string"
  33950. },
  33951. "wrstandardcode": {
  33952. "description": "现货商品代码",
  33953. "type": "string"
  33954. },
  33955. "wrstandardid": {
  33956. "description": "现货商品ID",
  33957. "type": "integer"
  33958. },
  33959. "wrstandardname": {
  33960. "description": "商品名称",
  33961. "type": "string"
  33962. },
  33963. "wrtradeorderid": {
  33964. "description": "关联委托单ID",
  33965. "type": "string"
  33966. },
  33967. "wrtypename": {
  33968. "description": "商品",
  33969. "type": "string"
  33970. }
  33971. }
  33972. },
  33973. "models.Warehouseinfo": {
  33974. "type": "object",
  33975. "required": [
  33976. "autoid",
  33977. "warehousecode"
  33978. ],
  33979. "properties": {
  33980. "address": {
  33981. "description": "详细地址",
  33982. "type": "string"
  33983. },
  33984. "areauserid": {
  33985. "description": "所属机构",
  33986. "type": "integer"
  33987. },
  33988. "autoid": {
  33989. "description": "自增ID",
  33990. "type": "integer"
  33991. },
  33992. "cityid": {
  33993. "description": "市",
  33994. "type": "integer"
  33995. },
  33996. "contactname": {
  33997. "description": "联系人",
  33998. "type": "string"
  33999. },
  34000. "contactnum": {
  34001. "description": "联系电话",
  34002. "type": "string"
  34003. },
  34004. "countryid": {
  34005. "description": "国家",
  34006. "type": "integer"
  34007. },
  34008. "createtime": {
  34009. "description": "创建时间",
  34010. "type": "string"
  34011. },
  34012. "districtid": {
  34013. "description": "区",
  34014. "type": "integer"
  34015. },
  34016. "hasvideo": {
  34017. "description": "是否有视频 - 0:无 1:有",
  34018. "type": "integer"
  34019. },
  34020. "provinceid": {
  34021. "description": "省",
  34022. "type": "integer"
  34023. },
  34024. "remark": {
  34025. "description": "审核备注",
  34026. "type": "string"
  34027. },
  34028. "videourl": {
  34029. "description": "视频地址",
  34030. "type": "string"
  34031. },
  34032. "warehousecode": {
  34033. "description": "仓库代码",
  34034. "type": "string"
  34035. },
  34036. "warehousename": {
  34037. "description": "仓库名称",
  34038. "type": "string"
  34039. },
  34040. "warehousestatus": {
  34041. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  34042. "type": "integer"
  34043. },
  34044. "warehousetype": {
  34045. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  34046. "type": "integer"
  34047. }
  34048. }
  34049. },
  34050. "models.WrAverageTradePrice": {
  34051. "type": "object",
  34052. "properties": {
  34053. "averageprice": {
  34054. "description": "成交均价",
  34055. "type": "number"
  34056. },
  34057. "tradedate": {
  34058. "description": "交易日yyyymm",
  34059. "type": "string"
  34060. }
  34061. }
  34062. },
  34063. "models.WrBsGoodsInfo": {
  34064. "type": "object",
  34065. "properties": {
  34066. "buyorsell": {
  34067. "description": "买卖方向 0-买 1-卖",
  34068. "type": "integer"
  34069. },
  34070. "goodsid": {
  34071. "description": "交易合约ID",
  34072. "type": "integer"
  34073. },
  34074. "lstitem": {
  34075. "description": "商品信息项",
  34076. "type": "array",
  34077. "items": {
  34078. "$ref": "#/definitions/models.WrTypeItem"
  34079. }
  34080. },
  34081. "lststep": {
  34082. "description": "履约规则",
  34083. "type": "array",
  34084. "items": {
  34085. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34086. }
  34087. }
  34088. }
  34089. },
  34090. "models.WrBuybackDetail": {
  34091. "type": "object",
  34092. "properties": {
  34093. "buybackamount": {
  34094. "description": "回购金额",
  34095. "type": "number"
  34096. },
  34097. "buybackqty": {
  34098. "description": "回购数量",
  34099. "type": "number"
  34100. },
  34101. "buybackreleasemargin": {
  34102. "description": "回购释放保证金",
  34103. "type": "number"
  34104. },
  34105. "buybacktime": {
  34106. "description": "回购时间",
  34107. "type": "string"
  34108. },
  34109. "errordesc": {
  34110. "description": "错误描述",
  34111. "type": "string"
  34112. },
  34113. "handlestatus": {
  34114. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  34115. "type": "integer"
  34116. },
  34117. "relatedwrid": {
  34118. "description": "关联仓单ID",
  34119. "type": "integer"
  34120. },
  34121. "scfcontractid": {
  34122. "description": "SCF合同ID",
  34123. "type": "string"
  34124. },
  34125. "scfwrbuybackid": {
  34126. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  34127. "type": "integer"
  34128. },
  34129. "tradedate": {
  34130. "description": "交易日(yyyyMMdd)",
  34131. "type": "string"
  34132. }
  34133. }
  34134. },
  34135. "models.WrDeliveryAvalidHoldLB": {
  34136. "type": "object",
  34137. "properties": {
  34138. "accountid": {
  34139. "description": "资金账号",
  34140. "type": "integer"
  34141. },
  34142. "avalidqty": {
  34143. "description": "数量(可点选数量)",
  34144. "type": "number"
  34145. },
  34146. "deliverygoodsid": {
  34147. "description": "品种id",
  34148. "type": "integer"
  34149. },
  34150. "enumdicname": {
  34151. "description": "单位名称",
  34152. "type": "string"
  34153. },
  34154. "goodsid": {
  34155. "description": "x合约商品id",
  34156. "type": "integer"
  34157. },
  34158. "ladingbillid": {
  34159. "description": "提单id",
  34160. "type": "string"
  34161. },
  34162. "pgoodscode": {
  34163. "description": "p商品代码(点价合约)",
  34164. "type": "string"
  34165. },
  34166. "pgoodsid": {
  34167. "description": "p商品id(点价合约)",
  34168. "type": "integer"
  34169. },
  34170. "pgoodsname": {
  34171. "description": "p商品名称(点价合约)",
  34172. "type": "string"
  34173. },
  34174. "pricemove": {
  34175. "description": "升贴水",
  34176. "type": "number"
  34177. },
  34178. "subnum": {
  34179. "description": "提单子id",
  34180. "type": "integer"
  34181. },
  34182. "userid": {
  34183. "description": "用户id",
  34184. "type": "integer"
  34185. },
  34186. "username": {
  34187. "description": "仓单持有人",
  34188. "type": "string"
  34189. },
  34190. "warehousecode": {
  34191. "description": "仓库代码",
  34192. "type": "string"
  34193. },
  34194. "warehouseid": {
  34195. "description": "仓库id",
  34196. "type": "integer"
  34197. },
  34198. "warehousename": {
  34199. "description": "仓库名称",
  34200. "type": "string"
  34201. },
  34202. "wrfactortypeid": {
  34203. "description": "仓单要素id",
  34204. "type": "string"
  34205. },
  34206. "wrstandardcode": {
  34207. "description": "品代码",
  34208. "type": "string"
  34209. },
  34210. "wrstandardid": {
  34211. "description": "品类d",
  34212. "type": "integer"
  34213. },
  34214. "wrstandardname": {
  34215. "description": "品类名称",
  34216. "type": "string"
  34217. },
  34218. "wrtypename": {
  34219. "description": "商品",
  34220. "type": "string"
  34221. },
  34222. "xgoodscode": {
  34223. "description": "x合约代码",
  34224. "type": "string"
  34225. },
  34226. "xgoodsname": {
  34227. "description": "x合约名称",
  34228. "type": "string"
  34229. }
  34230. }
  34231. },
  34232. "models.WrDeliveryDetail": {
  34233. "type": "object",
  34234. "properties": {
  34235. "accountid": {
  34236. "description": "账号ID",
  34237. "type": "integer"
  34238. },
  34239. "averageprice": {
  34240. "description": "交割均价 = 交割金额 / 交割数量",
  34241. "type": "number"
  34242. },
  34243. "begindate": {
  34244. "description": "开始交易日(yyyymmdd)",
  34245. "type": "string"
  34246. },
  34247. "buyorsell": {
  34248. "description": "方向 - 0:买 1:卖",
  34249. "type": "integer"
  34250. },
  34251. "deliveryamount": {
  34252. "description": "货款金额(X总货款+P总货款)",
  34253. "type": "number"
  34254. },
  34255. "deliveryid": {
  34256. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  34257. "type": "string"
  34258. },
  34259. "deliveryorderid": {
  34260. "description": "申报单号",
  34261. "type": "string"
  34262. },
  34263. "deliverypricemove": {
  34264. "description": "升贴水(升贴水总额)",
  34265. "type": "number"
  34266. },
  34267. "deliveryqty": {
  34268. "description": "交收数量(点选数量)",
  34269. "type": "number"
  34270. },
  34271. "deliverystatus": {
  34272. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  34273. "type": "integer"
  34274. },
  34275. "deliverytime": {
  34276. "description": "交割时间",
  34277. "type": "string"
  34278. },
  34279. "deliverytotalamount": {
  34280. "description": "交收金额",
  34281. "type": "number"
  34282. },
  34283. "enddate": {
  34284. "description": "结束交易日(yyyymmdd)",
  34285. "type": "string"
  34286. },
  34287. "enumdicname": {
  34288. "description": "单位名称",
  34289. "type": "string"
  34290. },
  34291. "matchaccountid": {
  34292. "description": "对手账号ID",
  34293. "type": "integer"
  34294. },
  34295. "matchusername": {
  34296. "description": "对手方名称(仓单持有人)",
  34297. "type": "string"
  34298. },
  34299. "p1goodsremainamount": {
  34300. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  34301. "type": "number"
  34302. },
  34303. "pdeliverycloseqty": {
  34304. "description": "p合约平仓数量",
  34305. "type": "number"
  34306. },
  34307. "pdeliveryprice": {
  34308. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  34309. "type": "number"
  34310. },
  34311. "pgoodscode": {
  34312. "description": "商品代码",
  34313. "type": "string"
  34314. },
  34315. "pgoodsid": {
  34316. "description": "p点选合约id",
  34317. "type": "integer"
  34318. },
  34319. "pgoodsname": {
  34320. "description": "商品名称",
  34321. "type": "string"
  34322. },
  34323. "ppricemode": {
  34324. "description": "点价价格方式 - 1:商品价 2:固定值",
  34325. "type": "integer"
  34326. },
  34327. "tradedate": {
  34328. "description": "交易日(yyyymmdd)",
  34329. "type": "string"
  34330. },
  34331. "userid": {
  34332. "description": "用户id",
  34333. "type": "integer"
  34334. },
  34335. "username": {
  34336. "description": "用户名称",
  34337. "type": "string"
  34338. },
  34339. "warehousename": {
  34340. "description": "仓库名称",
  34341. "type": "string"
  34342. },
  34343. "wrfactortypeid": {
  34344. "description": "仓单要素类型ID",
  34345. "type": "string"
  34346. },
  34347. "wrtypename": {
  34348. "description": "商品",
  34349. "type": "string"
  34350. },
  34351. "xdeliverycloseqty": {
  34352. "description": "合约数量",
  34353. "type": "number"
  34354. },
  34355. "xgoodsamount": {
  34356. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  34357. "type": "number"
  34358. },
  34359. "xgoodscode": {
  34360. "description": "商品代码",
  34361. "type": "string"
  34362. },
  34363. "xgoodsid": {
  34364. "description": "x交易合约ID",
  34365. "type": "integer"
  34366. },
  34367. "xgoodsname": {
  34368. "description": "商品名称",
  34369. "type": "string"
  34370. }
  34371. }
  34372. },
  34373. "models.WrDeliveryGoodsSection": {
  34374. "type": "object",
  34375. "properties": {
  34376. "dglst": {
  34377. "description": "板块商品列表",
  34378. "type": "array",
  34379. "items": {
  34380. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  34381. }
  34382. },
  34383. "imagepath": {
  34384. "description": "图片地址",
  34385. "type": "string"
  34386. },
  34387. "orderindex": {
  34388. "description": "排序",
  34389. "type": "integer"
  34390. },
  34391. "sectionid": {
  34392. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  34393. "type": "integer"
  34394. },
  34395. "sectionname": {
  34396. "description": "版块名称",
  34397. "type": "string"
  34398. },
  34399. "sectiontype": {
  34400. "description": "版块类型 - 1:指数版块 2:普通版块",
  34401. "type": "integer"
  34402. }
  34403. }
  34404. },
  34405. "models.WrDeliveryGoodsSectionConfig": {
  34406. "type": "object",
  34407. "properties": {
  34408. "deliverygoodscode": {
  34409. "description": "现货商品代码",
  34410. "type": "string"
  34411. },
  34412. "deliverygoodsid": {
  34413. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  34414. "type": "integer"
  34415. },
  34416. "deliverygoodsname": {
  34417. "description": "现货商品名称",
  34418. "type": "string"
  34419. },
  34420. "orderindex": {
  34421. "description": "排序",
  34422. "type": "integer"
  34423. }
  34424. }
  34425. },
  34426. "models.WrFAProductDetail": {
  34427. "type": "object",
  34428. "properties": {
  34429. "accountid": {
  34430. "description": "资金账号",
  34431. "type": "integer"
  34432. },
  34433. "areauserid": {
  34434. "description": "金融机构ID",
  34435. "type": "integer"
  34436. },
  34437. "financingdays": {
  34438. "description": "天数(天)",
  34439. "type": "integer"
  34440. },
  34441. "interestminlen": {
  34442. "description": "最小起息天数",
  34443. "type": "integer"
  34444. },
  34445. "interestrate": {
  34446. "description": "利率",
  34447. "type": "number"
  34448. },
  34449. "interestratemode": {
  34450. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34451. "type": "integer"
  34452. },
  34453. "interestsettlemode": {
  34454. "description": "结息方式 - 1:按日结息 3:按月结息",
  34455. "type": "integer"
  34456. },
  34457. "interestsettlevalue": {
  34458. "description": "结息方式值",
  34459. "type": "integer"
  34460. },
  34461. "isautoloan": {
  34462. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  34463. "type": "integer"
  34464. },
  34465. "loantag": {
  34466. "description": "放款标识: \"放款快\" 或者为空",
  34467. "type": "string"
  34468. },
  34469. "marginratio": {
  34470. "description": "保证金比率质押率 - [仓单质押]",
  34471. "type": "number"
  34472. },
  34473. "productdetailid": {
  34474. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  34475. "type": "integer"
  34476. },
  34477. "productid": {
  34478. "description": "金融产品ID",
  34479. "type": "integer"
  34480. },
  34481. "productname": {
  34482. "description": "产品名称",
  34483. "type": "string"
  34484. },
  34485. "updatetime": {
  34486. "description": "更新时间",
  34487. "type": "string"
  34488. },
  34489. "username": {
  34490. "description": "融出方",
  34491. "type": "string"
  34492. }
  34493. }
  34494. },
  34495. "models.WrFactorTypeInfo": {
  34496. "type": "object",
  34497. "properties": {
  34498. "deliverygoodscode": {
  34499. "description": "品种代码",
  34500. "type": "string"
  34501. },
  34502. "deliverygoodsname": {
  34503. "description": "品种名称",
  34504. "type": "string"
  34505. },
  34506. "dgfactoryitemid": {
  34507. "description": "选择项id",
  34508. "type": "integer"
  34509. },
  34510. "dgfactoryitemtypeid": {
  34511. "description": "要素选择项ID (1-仓库 2-品牌)",
  34512. "type": "integer"
  34513. },
  34514. "dgfactoryitemvalue": {
  34515. "description": "要素项值",
  34516. "type": "string"
  34517. },
  34518. "itemtypename": {
  34519. "description": "要素项名称",
  34520. "type": "string"
  34521. },
  34522. "optioncompare": {
  34523. "description": "选择比较串",
  34524. "type": "string"
  34525. },
  34526. "warehouseid": {
  34527. "description": "仓库id",
  34528. "type": "integer"
  34529. },
  34530. "wrfactortypeid": {
  34531. "description": "仓单要素ID",
  34532. "type": "string"
  34533. },
  34534. "wrfactortypename": {
  34535. "description": "要素名称",
  34536. "type": "string"
  34537. },
  34538. "wrfactortypename2": {
  34539. "description": "要素名称(不含仓库)",
  34540. "type": "string"
  34541. },
  34542. "wrstandardcode": {
  34543. "description": "品类代码",
  34544. "type": "string"
  34545. },
  34546. "wrstandardid": {
  34547. "description": "品类id",
  34548. "type": "integer"
  34549. },
  34550. "wrstandardname": {
  34551. "description": "品类名称",
  34552. "type": "string"
  34553. }
  34554. }
  34555. },
  34556. "models.WrFilterItem": {
  34557. "type": "object",
  34558. "properties": {
  34559. "itemcode": {
  34560. "description": "代码",
  34561. "type": "string"
  34562. },
  34563. "itemid": {
  34564. "description": "项id",
  34565. "type": "integer"
  34566. },
  34567. "itemname": {
  34568. "description": "名称",
  34569. "type": "string"
  34570. },
  34571. "itemtype": {
  34572. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  34573. "type": "integer"
  34574. }
  34575. }
  34576. },
  34577. "models.WrFinanceBuyApply": {
  34578. "type": "object",
  34579. "properties": {
  34580. "applydate": {
  34581. "description": "申请时间",
  34582. "type": "string"
  34583. },
  34584. "applystatus": {
  34585. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  34586. "type": "integer"
  34587. },
  34588. "applyuserid": {
  34589. "description": "申请人",
  34590. "type": "integer"
  34591. },
  34592. "auditdate": {
  34593. "description": "审核时间",
  34594. "type": "string"
  34595. },
  34596. "auditremark": {
  34597. "description": "审核备注",
  34598. "type": "string"
  34599. },
  34600. "audituserid": {
  34601. "description": "审核人",
  34602. "type": "integer"
  34603. },
  34604. "buyaccountid": {
  34605. "description": "买方资金账号",
  34606. "type": "integer"
  34607. },
  34608. "buyorsell": {
  34609. "description": "买卖 - 0:买 1:卖",
  34610. "type": "integer"
  34611. },
  34612. "buyuserid": {
  34613. "description": "买方用户ID",
  34614. "type": "integer"
  34615. },
  34616. "buyusername": {
  34617. "description": "买方名称",
  34618. "type": "string"
  34619. },
  34620. "buywrtradeorderid": {
  34621. "description": "融资方买委托单ID",
  34622. "type": "string"
  34623. },
  34624. "deliverygoodscode": {
  34625. "description": "品种代码",
  34626. "type": "string"
  34627. },
  34628. "deliverygoodsid": {
  34629. "description": "品种ID",
  34630. "type": "integer"
  34631. },
  34632. "deliverygoodsname": {
  34633. "description": "品种名称",
  34634. "type": "string"
  34635. },
  34636. "deliverymonth": {
  34637. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  34638. "type": "string"
  34639. },
  34640. "enumdicname": {
  34641. "description": "单位名称",
  34642. "type": "string"
  34643. },
  34644. "financeaccountid": {
  34645. "description": "融资方资金帐户ID",
  34646. "type": "integer"
  34647. },
  34648. "financeapplyid": {
  34649. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34650. "type": "string"
  34651. },
  34652. "financeareauserid": {
  34653. "description": "融资方用户ID",
  34654. "type": "string"
  34655. },
  34656. "financename": {
  34657. "description": "融出方名称",
  34658. "type": "string"
  34659. },
  34660. "financetype": {
  34661. "description": "融资类型 1-融资回购",
  34662. "type": "integer"
  34663. },
  34664. "financingdays": {
  34665. "description": "天数(天)",
  34666. "type": "integer"
  34667. },
  34668. "freezebuymargin": {
  34669. "description": "冻结融资保证金(买方)",
  34670. "type": "number"
  34671. },
  34672. "handleremark": {
  34673. "description": "处理备注",
  34674. "type": "string"
  34675. },
  34676. "handlestatus": {
  34677. "description": "处理状态",
  34678. "type": "integer"
  34679. },
  34680. "interestminlen": {
  34681. "description": "最小起息天数",
  34682. "type": "integer"
  34683. },
  34684. "interestrate": {
  34685. "description": "利率",
  34686. "type": "number"
  34687. },
  34688. "interestratemode": {
  34689. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34690. "type": "integer"
  34691. },
  34692. "interestsettlemode": {
  34693. "description": "结息方式 - 1:按日结息 3:按月结息",
  34694. "type": "integer"
  34695. },
  34696. "interestsettlevalue": {
  34697. "description": "结息方式值",
  34698. "type": "integer"
  34699. },
  34700. "isautoloan": {
  34701. "description": "是否自动放款 - 0:手动 1:自动",
  34702. "type": "integer"
  34703. },
  34704. "marginratio": {
  34705. "description": "保证金比率质押率 - [仓单质押]",
  34706. "type": "number"
  34707. },
  34708. "marketid": {
  34709. "description": "市场ID",
  34710. "type": "integer"
  34711. },
  34712. "minivalue": {
  34713. "description": "现货商品最小变动值",
  34714. "type": "integer"
  34715. },
  34716. "optioncompare": {
  34717. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34718. "type": "string"
  34719. },
  34720. "orderqty": {
  34721. "description": "委托数量(商品数量)",
  34722. "type": "number"
  34723. },
  34724. "productdetailid": {
  34725. "description": "产品组合ID",
  34726. "type": "integer"
  34727. },
  34728. "productid": {
  34729. "description": "金融产品ID",
  34730. "type": "integer"
  34731. },
  34732. "productname": {
  34733. "description": "产品名称",
  34734. "type": "string"
  34735. },
  34736. "remark": {
  34737. "description": "备注",
  34738. "type": "string"
  34739. },
  34740. "scfcontractid": {
  34741. "description": "仓单回购合同ID",
  34742. "type": "string"
  34743. },
  34744. "sellaccountid": {
  34745. "description": "卖方资金账号",
  34746. "type": "integer"
  34747. },
  34748. "selluserid": {
  34749. "description": "卖方用户ID",
  34750. "type": "integer"
  34751. },
  34752. "sellwrtradeorderid": {
  34753. "description": "卖方委托单ID",
  34754. "type": "string"
  34755. },
  34756. "tradeamount": {
  34757. "description": "成交金额(借款金额)",
  34758. "type": "number"
  34759. },
  34760. "tradedate": {
  34761. "description": "交易日(yyyyMMdd)",
  34762. "type": "string"
  34763. },
  34764. "tradeprice": {
  34765. "description": "成交价格",
  34766. "type": "number"
  34767. },
  34768. "warehouseid": {
  34769. "description": "仓库ID",
  34770. "type": "integer"
  34771. },
  34772. "warehousename": {
  34773. "description": "仓库名称",
  34774. "type": "string"
  34775. },
  34776. "wrfactortypeid": {
  34777. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34778. "type": "string"
  34779. },
  34780. "wrfactortypename": {
  34781. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34782. "type": "string"
  34783. },
  34784. "wrpricetype": {
  34785. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  34786. "type": "integer"
  34787. },
  34788. "wrstandardcode": {
  34789. "description": "现货商品代码",
  34790. "type": "string"
  34791. },
  34792. "wrstandardid": {
  34793. "description": "现货商品ID",
  34794. "type": "integer"
  34795. },
  34796. "wrstandardname": {
  34797. "description": "商品名称",
  34798. "type": "string"
  34799. },
  34800. "wrtypename": {
  34801. "description": "商品",
  34802. "type": "string"
  34803. }
  34804. }
  34805. },
  34806. "models.WrFriendApply": {
  34807. "type": "object",
  34808. "properties": {
  34809. "applicantid": {
  34810. "description": "申请人",
  34811. "type": "integer"
  34812. },
  34813. "applyname": {
  34814. "description": "申请人名称",
  34815. "type": "string"
  34816. },
  34817. "applysrc": {
  34818. "description": "申请来源 - 1:管理端 2:终端",
  34819. "type": "integer"
  34820. },
  34821. "applystatus": {
  34822. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  34823. "type": "integer"
  34824. },
  34825. "applytime": {
  34826. "description": "申请时间",
  34827. "type": "string"
  34828. },
  34829. "auditname": {
  34830. "description": "审核人名称",
  34831. "type": "string"
  34832. },
  34833. "auditorid": {
  34834. "description": "审核人",
  34835. "type": "integer"
  34836. },
  34837. "auditremark": {
  34838. "description": "审核备注",
  34839. "type": "string"
  34840. },
  34841. "auditsrc": {
  34842. "description": "审核来源 - 1:管理端 2:终端",
  34843. "type": "integer"
  34844. },
  34845. "audittime": {
  34846. "description": "审核时间",
  34847. "type": "string"
  34848. },
  34849. "friendapplyid": {
  34850. "description": "申请ID(SEQ_FRIENDAPPLY)",
  34851. "type": "string"
  34852. },
  34853. "friendname": {
  34854. "description": "好友名字(已脱敏)",
  34855. "type": "string"
  34856. },
  34857. "frienduserid": {
  34858. "description": "好友用户ID",
  34859. "type": "string"
  34860. },
  34861. "remark": {
  34862. "description": "备注",
  34863. "type": "string"
  34864. },
  34865. "userid": {
  34866. "description": "申请人用户ID",
  34867. "type": "integer"
  34868. }
  34869. }
  34870. },
  34871. "models.WrFtDeliveryGoods": {
  34872. "type": "object",
  34873. "properties": {
  34874. "deliverygoodscode": {
  34875. "description": "品种代码",
  34876. "type": "string"
  34877. },
  34878. "deliverygoodsid": {
  34879. "description": "品种ID",
  34880. "type": "integer"
  34881. },
  34882. "deliverygoodsname": {
  34883. "description": "品种名称",
  34884. "type": "string"
  34885. },
  34886. "wdlst": {
  34887. "description": "商品列表",
  34888. "type": "array",
  34889. "items": {
  34890. "$ref": "#/definitions/models.WrFtWrstandard"
  34891. }
  34892. }
  34893. }
  34894. },
  34895. "models.WrFtWrstandard": {
  34896. "type": "object",
  34897. "properties": {
  34898. "enumdicname": {
  34899. "description": "单位名称",
  34900. "type": "string"
  34901. },
  34902. "minivalue": {
  34903. "description": "最小变动值",
  34904. "type": "integer"
  34905. },
  34906. "wrstandardcode": {
  34907. "description": "现货商品代码",
  34908. "type": "string"
  34909. },
  34910. "wrstandardid": {
  34911. "description": "现货商品ID",
  34912. "type": "integer"
  34913. },
  34914. "wrstandardname": {
  34915. "description": "商品名称",
  34916. "type": "string"
  34917. }
  34918. }
  34919. },
  34920. "models.WrGoodsInfo": {
  34921. "type": "object",
  34922. "properties": {
  34923. "haswr": {
  34924. "description": "0:仓单预售 1:仓单贸易",
  34925. "type": "integer"
  34926. },
  34927. "lstitem": {
  34928. "description": "商品信息项",
  34929. "type": "array",
  34930. "items": {
  34931. "$ref": "#/definitions/models.WrTypeItem"
  34932. }
  34933. },
  34934. "lststep": {
  34935. "description": "履约规则",
  34936. "type": "array",
  34937. "items": {
  34938. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34939. }
  34940. },
  34941. "marketid": {
  34942. "description": "市场id",
  34943. "type": "integer"
  34944. }
  34945. }
  34946. },
  34947. "models.WrGoodsPerformanceStep": {
  34948. "type": "object",
  34949. "properties": {
  34950. "autoid": {
  34951. "description": "AutoID",
  34952. "type": "integer"
  34953. },
  34954. "isauto": {
  34955. "description": "是否自动 - 0:不自动 1:自动",
  34956. "type": "integer"
  34957. },
  34958. "remark": {
  34959. "description": "备注",
  34960. "type": "string"
  34961. },
  34962. "stepdate": {
  34963. "description": "天数信息(T+N)",
  34964. "type": "string"
  34965. },
  34966. "stepdays": {
  34967. "description": "距离上一步天数",
  34968. "type": "integer"
  34969. },
  34970. "stepindex": {
  34971. "description": "步骤序号",
  34972. "type": "integer"
  34973. },
  34974. "stepinfo": {
  34975. "description": "步骤信息(步骤名称+步骤值)",
  34976. "type": "string"
  34977. },
  34978. "steptypeid": {
  34979. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  34980. "type": "integer"
  34981. },
  34982. "steptypename": {
  34983. "description": "步骤名称",
  34984. "type": "string"
  34985. },
  34986. "stepvalue": {
  34987. "description": "步骤值",
  34988. "type": "number"
  34989. },
  34990. "templateid": {
  34991. "description": "履约计划模板ID",
  34992. "type": "integer"
  34993. }
  34994. }
  34995. },
  34996. "models.WrHoldLB": {
  34997. "type": "object",
  34998. "properties": {
  34999. "accountid": {
  35000. "description": "持有人帐户ID",
  35001. "type": "integer"
  35002. },
  35003. "createtime": {
  35004. "description": "创建时间(过户时间)",
  35005. "type": "string"
  35006. },
  35007. "deliverygoodscode": {
  35008. "description": "品种代码",
  35009. "type": "string"
  35010. },
  35011. "deliverygoodsid": {
  35012. "description": "品种ID",
  35013. "type": "integer"
  35014. },
  35015. "deliverygoodsname": {
  35016. "description": "品种名称",
  35017. "type": "string"
  35018. },
  35019. "enableqty": {
  35020. "description": "可用数量",
  35021. "type": "number"
  35022. },
  35023. "enumdicname": {
  35024. "description": "单位名称",
  35025. "type": "string"
  35026. },
  35027. "freezerqty": {
  35028. "description": "冻结数量",
  35029. "type": "number"
  35030. },
  35031. "ladingbillid": {
  35032. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  35033. "type": "string"
  35034. },
  35035. "minivalue": {
  35036. "description": "现货商品最小变动值",
  35037. "type": "integer"
  35038. },
  35039. "optioncompare": {
  35040. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35041. "type": "string"
  35042. },
  35043. "parentsubnum": {
  35044. "description": "拆分父子单号",
  35045. "type": "integer"
  35046. },
  35047. "pledgeqty": {
  35048. "description": "质押数量",
  35049. "type": "number"
  35050. },
  35051. "qty": {
  35052. "description": "数量",
  35053. "type": "number"
  35054. },
  35055. "subnum": {
  35056. "description": "提单子单号",
  35057. "type": "integer"
  35058. },
  35059. "tradedate": {
  35060. "description": "交易日(yyyyMMdd)",
  35061. "type": "string"
  35062. },
  35063. "userid": {
  35064. "description": "持有人ID",
  35065. "type": "integer"
  35066. },
  35067. "warehouseid": {
  35068. "description": "仓库ID",
  35069. "type": "integer"
  35070. },
  35071. "warehousename": {
  35072. "description": "仓库名称",
  35073. "type": "string"
  35074. },
  35075. "wrfactortypeid": {
  35076. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35077. "type": "string"
  35078. },
  35079. "wrfactortypename": {
  35080. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35081. "type": "string"
  35082. },
  35083. "wrholdeno": {
  35084. "description": "仓单编号",
  35085. "type": "string"
  35086. },
  35087. "wrid": {
  35088. "description": "仓单变更ID",
  35089. "type": "string"
  35090. },
  35091. "wrstandardcode": {
  35092. "description": "现货商品代码",
  35093. "type": "string"
  35094. },
  35095. "wrstandardid": {
  35096. "description": "现货商品ID",
  35097. "type": "integer"
  35098. },
  35099. "wrstandardname": {
  35100. "description": "商品名称",
  35101. "type": "string"
  35102. },
  35103. "wrtypename": {
  35104. "description": "商品",
  35105. "type": "string"
  35106. }
  35107. }
  35108. },
  35109. "models.WrMarketTradeConfig": {
  35110. "type": "object",
  35111. "properties": {
  35112. "basisdownratio": {
  35113. "description": "浮动价基差下限比例(仓单贸易)",
  35114. "type": "number"
  35115. },
  35116. "basisupratio": {
  35117. "description": "浮动价基差上限比例(仓单贸易)",
  35118. "type": "number"
  35119. },
  35120. "buychargealgorithm": {
  35121. "description": "买方手续费收取方式 1:比率 2:固定",
  35122. "type": "integer"
  35123. },
  35124. "buychargealgorithm2": {
  35125. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  35126. "type": "integer"
  35127. },
  35128. "buychargealgorithmvalue": {
  35129. "description": "买方手续费设置值(交易所部分)",
  35130. "type": "number"
  35131. },
  35132. "buychargealgorithmvalue2": {
  35133. "description": "买方手续费设置值(会员部分)",
  35134. "type": "number"
  35135. },
  35136. "buychargealgorithmvalue3": {
  35137. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  35138. "type": "number"
  35139. },
  35140. "buychargealgorithmvalue4": {
  35141. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  35142. "type": "number"
  35143. },
  35144. "buyfirstmarginalgorithm": {
  35145. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  35146. "type": "integer"
  35147. },
  35148. "buyfirstmarginvalue": {
  35149. "description": "买方出价保证金设置值 - [竞拍]",
  35150. "type": "number"
  35151. },
  35152. "buymarginalgorithm": {
  35153. "description": "买方保证金方式 - 1:比率 2:固定",
  35154. "type": "integer"
  35155. },
  35156. "buymarginvalue": {
  35157. "description": "买方保证金设置值",
  35158. "type": "number"
  35159. },
  35160. "buyreleaseratio": {
  35161. "description": "买方释放比率[2:分步履约]",
  35162. "type": "number"
  35163. },
  35164. "executemode": {
  35165. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  35166. "type": "integer"
  35167. },
  35168. "executeside": {
  35169. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  35170. "type": "integer"
  35171. },
  35172. "failedchargealgorithm": {
  35173. "description": "流拍手续费收取方式 1:比率 2:固定",
  35174. "type": "integer"
  35175. },
  35176. "failedchargevalue": {
  35177. "description": "流拍手续费设置值",
  35178. "type": "number"
  35179. },
  35180. "failedchargevalue2": {
  35181. "description": "流拍卖方手续费设置值",
  35182. "type": "number"
  35183. },
  35184. "holddays": {
  35185. "description": "合同期限[2:分步履约]",
  35186. "type": "integer"
  35187. },
  35188. "marketid": {
  35189. "description": "市场ID-仓单贸易、竞拍、预售",
  35190. "type": "integer"
  35191. },
  35192. "minqty": {
  35193. "description": "最小执行量[2:分步履约]",
  35194. "type": "number"
  35195. },
  35196. "modifierid": {
  35197. "description": "修改人",
  35198. "type": "integer"
  35199. },
  35200. "performancetempid": {
  35201. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  35202. "type": "integer"
  35203. },
  35204. "performancetempid2": {
  35205. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  35206. "type": "integer"
  35207. },
  35208. "performancetempid2s": {
  35209. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  35210. "type": "string"
  35211. },
  35212. "performancetempids": {
  35213. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  35214. "type": "string"
  35215. },
  35216. "performanceway": {
  35217. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  35218. "type": "integer"
  35219. },
  35220. "sellchargealgorithm": {
  35221. "description": "卖方手续费收取方式 1:比率 2:固定",
  35222. "type": "integer"
  35223. },
  35224. "sellchargealgorithm2": {
  35225. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  35226. "type": "integer"
  35227. },
  35228. "sellchargealgorithmvalue": {
  35229. "description": "卖方手续费设置值(交易所部分)",
  35230. "type": "number"
  35231. },
  35232. "sellchargealgorithmvalue2": {
  35233. "description": "卖方手续费设置值(会员部分)",
  35234. "type": "number"
  35235. },
  35236. "sellchargealgorithmvalue3": {
  35237. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  35238. "type": "number"
  35239. },
  35240. "sellchargealgorithmvalue4": {
  35241. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  35242. "type": "number"
  35243. },
  35244. "sellmarginalgorithm": {
  35245. "description": "卖方保证金方式 - 1:比率 2:固定",
  35246. "type": "integer"
  35247. },
  35248. "sellmarginvalue": {
  35249. "description": "卖方保证金设置值",
  35250. "type": "number"
  35251. },
  35252. "sellmarginvalue2": {
  35253. "description": "卖方保证金设置值(无仓单)",
  35254. "type": "number"
  35255. },
  35256. "sellreleaseratio": {
  35257. "description": "卖方释放比率[2:分步履约]",
  35258. "type": "number"
  35259. },
  35260. "updatetime": {
  35261. "description": "更新时间",
  35262. "type": "string"
  35263. }
  35264. }
  35265. },
  35266. "models.WrOrderDetail": {
  35267. "type": "object",
  35268. "properties": {
  35269. "accountid": {
  35270. "description": "交易账号(资金账号)",
  35271. "type": "integer"
  35272. },
  35273. "allfriendsflag": {
  35274. "description": "是否全好友可见 - 0:否 1:是",
  35275. "type": "integer"
  35276. },
  35277. "amount": {
  35278. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  35279. "type": "number"
  35280. },
  35281. "begindate": {
  35282. "description": "开始交易日(yyyymmdd)",
  35283. "type": "string"
  35284. },
  35285. "buyorsell": {
  35286. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  35287. "type": "integer"
  35288. },
  35289. "canbargain": {
  35290. "description": "是否可议价 - 0:不可 1:可",
  35291. "type": "integer"
  35292. },
  35293. "cancelqty": {
  35294. "description": "撤销数量",
  35295. "type": "number"
  35296. },
  35297. "canpart": {
  35298. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  35299. "type": "integer"
  35300. },
  35301. "delistminqty": {
  35302. "description": "起摘数量",
  35303. "type": "integer"
  35304. },
  35305. "deliverygoodscode": {
  35306. "description": "品种代码",
  35307. "type": "string"
  35308. },
  35309. "deliverygoodsid": {
  35310. "description": "品种ID",
  35311. "type": "integer"
  35312. },
  35313. "deliverygoodsname": {
  35314. "description": "品种名称",
  35315. "type": "string"
  35316. },
  35317. "deliverymonth": {
  35318. "description": "交收月",
  35319. "type": "string"
  35320. },
  35321. "enddate": {
  35322. "description": "结束交易日(yyyymmdd)",
  35323. "type": "string"
  35324. },
  35325. "enumdicname": {
  35326. "description": "单位名称",
  35327. "type": "string"
  35328. },
  35329. "fixedprice": {
  35330. "description": "固定价格 - [挂牌]",
  35331. "type": "number"
  35332. },
  35333. "freezecharge": {
  35334. "description": "冻结手续费",
  35335. "type": "number"
  35336. },
  35337. "freezemargin": {
  35338. "description": "冻结保证金(保证金)",
  35339. "type": "number"
  35340. },
  35341. "futupricemove": {
  35342. "description": "期货升贴水",
  35343. "type": "number"
  35344. },
  35345. "futushow": {
  35346. "description": "期货合约/升贴水",
  35347. "type": "string"
  35348. },
  35349. "goodscode": {
  35350. "description": "期货合约",
  35351. "type": "string"
  35352. },
  35353. "goodsid": {
  35354. "description": "期货商品id",
  35355. "type": "integer"
  35356. },
  35357. "goodsname": {
  35358. "description": "商品名称",
  35359. "type": "string"
  35360. },
  35361. "haswr": {
  35362. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35363. "type": "integer"
  35364. },
  35365. "isspecified": {
  35366. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  35367. "type": "integer"
  35368. },
  35369. "ladingbillid": {
  35370. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  35371. "type": "string"
  35372. },
  35373. "marginvalue": {
  35374. "description": "保证金设置值(履约保证金)",
  35375. "type": "number"
  35376. },
  35377. "marketid": {
  35378. "description": "市场ID",
  35379. "type": "integer"
  35380. },
  35381. "matchusername": {
  35382. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  35383. "type": "string"
  35384. },
  35385. "minivalue": {
  35386. "description": "现货商品最小变动值",
  35387. "type": "integer"
  35388. },
  35389. "optioncompare": {
  35390. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35391. "type": "string"
  35392. },
  35393. "orderqty": {
  35394. "description": "委托数量",
  35395. "type": "number"
  35396. },
  35397. "ordertime": {
  35398. "description": "委托时间(挂牌时间)",
  35399. "type": "string"
  35400. },
  35401. "performancetemplateid": {
  35402. "description": "履约模板id",
  35403. "type": "integer"
  35404. },
  35405. "pricemove": {
  35406. "description": "升贴水(浮动价时填写) - [挂牌]",
  35407. "type": "number"
  35408. },
  35409. "taname": {
  35410. "description": "交易用户名称(资金账号名称)",
  35411. "type": "string"
  35412. },
  35413. "tradedate": {
  35414. "description": "交易日(yyyyMMdd)",
  35415. "type": "string"
  35416. },
  35417. "tradeprice": {
  35418. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  35419. "type": "number"
  35420. },
  35421. "tradeqty": {
  35422. "description": "成交数量",
  35423. "type": "number"
  35424. },
  35425. "userid": {
  35426. "description": "用户ID",
  35427. "type": "integer"
  35428. },
  35429. "validtime": {
  35430. "description": "挂牌有效期",
  35431. "type": "string"
  35432. },
  35433. "validtype": {
  35434. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  35435. "type": "integer"
  35436. },
  35437. "warehouseid": {
  35438. "description": "仓库ID",
  35439. "type": "integer"
  35440. },
  35441. "warehousename": {
  35442. "description": "仓库名称",
  35443. "type": "string"
  35444. },
  35445. "wrfactortypeid": {
  35446. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35447. "type": "string"
  35448. },
  35449. "wrfactortypename": {
  35450. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35451. "type": "string"
  35452. },
  35453. "wrpricetype": {
  35454. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  35455. "type": "integer"
  35456. },
  35457. "wrstandardcode": {
  35458. "description": "现货商品代码",
  35459. "type": "string"
  35460. },
  35461. "wrstandardid": {
  35462. "description": "现货商品ID",
  35463. "type": "integer"
  35464. },
  35465. "wrstandardname": {
  35466. "description": "商品名称",
  35467. "type": "string"
  35468. },
  35469. "wrtradeorderid": {
  35470. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35471. "type": "string"
  35472. },
  35473. "wrtradeorderstatus": {
  35474. "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:撤单解冻贷款失败",
  35475. "type": "integer"
  35476. },
  35477. "wrtradetype": {
  35478. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  35479. "type": "integer"
  35480. },
  35481. "wrtypename": {
  35482. "description": "商品",
  35483. "type": "string"
  35484. }
  35485. }
  35486. },
  35487. "models.WrOrderQuote": {
  35488. "type": "object",
  35489. "properties": {
  35490. "buyprice": {
  35491. "description": "买价",
  35492. "type": "number"
  35493. },
  35494. "buypricemove": {
  35495. "description": "买升贴水(基差)",
  35496. "type": "number"
  35497. },
  35498. "buyqty": {
  35499. "description": "买量",
  35500. "type": "number"
  35501. },
  35502. "deliverygoodscode": {
  35503. "description": "品种代码",
  35504. "type": "string"
  35505. },
  35506. "deliverygoodsid": {
  35507. "description": "品种id",
  35508. "type": "integer"
  35509. },
  35510. "deliverygoodsname": {
  35511. "description": "品种名称",
  35512. "type": "string"
  35513. },
  35514. "deliverymonth": {
  35515. "description": "交收月",
  35516. "type": "string"
  35517. },
  35518. "enumdicname": {
  35519. "description": "单位名称",
  35520. "type": "string"
  35521. },
  35522. "goodscode": {
  35523. "description": "商品合约(浮动价列表才有)",
  35524. "type": "string"
  35525. },
  35526. "goodsid": {
  35527. "description": "商品id(浮动价列表才有)",
  35528. "type": "integer"
  35529. },
  35530. "minivalue": {
  35531. "description": "现货商品最小变动值",
  35532. "type": "integer"
  35533. },
  35534. "sellprice": {
  35535. "description": "卖价",
  35536. "type": "number"
  35537. },
  35538. "sellpricemove": {
  35539. "description": "卖升贴水(基差)",
  35540. "type": "number"
  35541. },
  35542. "sellqty": {
  35543. "description": "卖量",
  35544. "type": "number"
  35545. },
  35546. "warehousecode": {
  35547. "description": "仓库代码",
  35548. "type": "string"
  35549. },
  35550. "warehouseid": {
  35551. "description": "仓库id",
  35552. "type": "integer"
  35553. },
  35554. "warehousename": {
  35555. "description": "仓库名称",
  35556. "type": "string"
  35557. },
  35558. "wrfactortypeid": {
  35559. "description": "仓单要素id",
  35560. "type": "string"
  35561. },
  35562. "wrfactortypename": {
  35563. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35564. "type": "string"
  35565. },
  35566. "wrgoodsname": {
  35567. "description": "商品(商品名称+仓库要素名称 拼接)",
  35568. "type": "string"
  35569. },
  35570. "wrstandardcode": {
  35571. "description": "商品代码",
  35572. "type": "string"
  35573. },
  35574. "wrstandardid": {
  35575. "description": "商品id",
  35576. "type": "integer"
  35577. },
  35578. "wrstandardname": {
  35579. "description": "商品名称",
  35580. "type": "string"
  35581. }
  35582. }
  35583. },
  35584. "models.WrOrderQuoteDetail": {
  35585. "type": "object",
  35586. "properties": {
  35587. "buyorsell": {
  35588. "description": "买卖 - 0:买 1:卖",
  35589. "type": "integer"
  35590. },
  35591. "delistminqty": {
  35592. "description": "起摘数量",
  35593. "type": "number"
  35594. },
  35595. "deliverymonth": {
  35596. "description": "交收月",
  35597. "type": "string"
  35598. },
  35599. "enumdicname": {
  35600. "description": "单位名称",
  35601. "type": "string"
  35602. },
  35603. "fixedprice": {
  35604. "description": "买(卖)价",
  35605. "type": "number"
  35606. },
  35607. "marketid": {
  35608. "description": "市场id",
  35609. "type": "integer"
  35610. },
  35611. "minivalue": {
  35612. "description": "现货商品最小变动值",
  35613. "type": "integer"
  35614. },
  35615. "orderqty": {
  35616. "description": "买(卖)量(=委托量-成交量)",
  35617. "type": "number"
  35618. },
  35619. "ordertime": {
  35620. "description": "委托时间",
  35621. "type": "string"
  35622. },
  35623. "pricemove": {
  35624. "description": "买(卖)升贴水- 基差",
  35625. "type": "number"
  35626. },
  35627. "userid": {
  35628. "description": "购买方(销售方)用户ID",
  35629. "type": "integer"
  35630. },
  35631. "username": {
  35632. "description": "购买方(销售方)",
  35633. "type": "string"
  35634. },
  35635. "wrtradeorderid": {
  35636. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35637. "type": "string"
  35638. }
  35639. }
  35640. },
  35641. "models.WrOutInApply": {
  35642. "type": "object",
  35643. "properties": {
  35644. "applyid": {
  35645. "description": "申请单id",
  35646. "type": "string"
  35647. },
  35648. "applystatus": {
  35649. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  35650. "type": "integer"
  35651. },
  35652. "applytime": {
  35653. "description": "申请时间",
  35654. "type": "string"
  35655. },
  35656. "applytype": {
  35657. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  35658. "type": "integer"
  35659. },
  35660. "begindate": {
  35661. "description": "开始交易日(yyyymmdd)",
  35662. "type": "string"
  35663. },
  35664. "deliverygoodscode": {
  35665. "description": "品种代码",
  35666. "type": "string"
  35667. },
  35668. "deliverygoodsid": {
  35669. "description": "品种ID",
  35670. "type": "integer"
  35671. },
  35672. "deliverygoodsname": {
  35673. "description": "品种名称",
  35674. "type": "string"
  35675. },
  35676. "enddate": {
  35677. "description": "结束交易日(yyyymmdd)",
  35678. "type": "string"
  35679. },
  35680. "enumdicname": {
  35681. "description": "单位名称",
  35682. "type": "string"
  35683. },
  35684. "expresscompany": {
  35685. "description": "物流公司",
  35686. "type": "string"
  35687. },
  35688. "expressnum": {
  35689. "description": "物流单号",
  35690. "type": "string"
  35691. },
  35692. "minivalue": {
  35693. "description": "现货商品最小变动值",
  35694. "type": "integer"
  35695. },
  35696. "optioncompare": {
  35697. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35698. "type": "string"
  35699. },
  35700. "qty": {
  35701. "description": "数量",
  35702. "type": "integer"
  35703. },
  35704. "userid": {
  35705. "description": "用户id",
  35706. "type": "integer"
  35707. },
  35708. "warehouseid": {
  35709. "description": "仓库ID",
  35710. "type": "integer"
  35711. },
  35712. "warehousename": {
  35713. "description": "仓库名称",
  35714. "type": "string"
  35715. },
  35716. "wrfactortypeid": {
  35717. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35718. "type": "string"
  35719. },
  35720. "wrfactortypename": {
  35721. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35722. "type": "string"
  35723. },
  35724. "wrstandardcode": {
  35725. "description": "现货商品代码",
  35726. "type": "string"
  35727. },
  35728. "wrstandardid": {
  35729. "description": "现货商品ID",
  35730. "type": "integer"
  35731. },
  35732. "wrstandardname": {
  35733. "description": "商品名称",
  35734. "type": "string"
  35735. },
  35736. "wrtypename": {
  35737. "description": "商品",
  35738. "type": "string"
  35739. }
  35740. }
  35741. },
  35742. "models.WrPerformancePlan": {
  35743. "type": "object",
  35744. "required": [
  35745. "userid"
  35746. ],
  35747. "properties": {
  35748. "activatemonth": {
  35749. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  35750. "type": "string"
  35751. },
  35752. "amount": {
  35753. "description": "履约金额(总金额)",
  35754. "type": "number"
  35755. },
  35756. "begindate": {
  35757. "description": "开始交易日(yyyymmdd)",
  35758. "type": "string"
  35759. },
  35760. "buyaccountid": {
  35761. "description": "买方账号",
  35762. "type": "integer"
  35763. },
  35764. "buyerfreezeamount": {
  35765. "description": "履约冻结(买履约)",
  35766. "type": "number"
  35767. },
  35768. "buyerfreezeamountremain": {
  35769. "description": "履约冻结剩余(买履约)",
  35770. "type": "number"
  35771. },
  35772. "buyorsell": {
  35773. "description": "买卖方向 0-买 1-卖",
  35774. "type": "integer"
  35775. },
  35776. "buypaidamount": {
  35777. "description": "买方已冻/已扣金额 (已付金额)",
  35778. "type": "number"
  35779. },
  35780. "buyusername": {
  35781. "description": "买方名字",
  35782. "type": "string"
  35783. },
  35784. "contractid": {
  35785. "description": "合同ID",
  35786. "type": "integer"
  35787. },
  35788. "createtime": {
  35789. "description": "创建时间",
  35790. "type": "string"
  35791. },
  35792. "creatorid": {
  35793. "description": "创建人",
  35794. "type": "integer"
  35795. },
  35796. "curstepdeadline": {
  35797. "description": "当前步骤到期时间",
  35798. "type": "string"
  35799. },
  35800. "curstepid": {
  35801. "description": "当前步骤ID",
  35802. "type": "string"
  35803. },
  35804. "curstepname": {
  35805. "description": "当前步骤名称",
  35806. "type": "string"
  35807. },
  35808. "deliverygoodscode": {
  35809. "description": "品种代码",
  35810. "type": "string"
  35811. },
  35812. "deliverygoodsid": {
  35813. "description": "品种ID",
  35814. "type": "integer"
  35815. },
  35816. "deliverygoodsname": {
  35817. "description": "品种名称",
  35818. "type": "string"
  35819. },
  35820. "enddate": {
  35821. "description": "结束交易日(yyyymmdd)",
  35822. "type": "string"
  35823. },
  35824. "enumdicname": {
  35825. "description": "单位名称",
  35826. "type": "string"
  35827. },
  35828. "expressfee": {
  35829. "description": "运费",
  35830. "type": "number"
  35831. },
  35832. "expressfeeconfirmed": {
  35833. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  35834. "type": "integer"
  35835. },
  35836. "hasovershort": {
  35837. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  35838. "type": "integer"
  35839. },
  35840. "haswr": {
  35841. "description": "类型 0-仓单预售 1-仓单贸易",
  35842. "type": "integer"
  35843. },
  35844. "marketid": {
  35845. "description": "市场ID",
  35846. "type": "integer"
  35847. },
  35848. "middleaccountid": {
  35849. "description": "中间商资金账号ID",
  35850. "type": "integer"
  35851. },
  35852. "middleuserid": {
  35853. "description": "中间商用户ID",
  35854. "type": "integer"
  35855. },
  35856. "minivalue": {
  35857. "description": "现货商品最小变动值",
  35858. "type": "integer"
  35859. },
  35860. "optioncompare": {
  35861. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35862. "type": "string"
  35863. },
  35864. "overshortamount": {
  35865. "description": "溢短金额",
  35866. "type": "number"
  35867. },
  35868. "overshortqty": {
  35869. "description": "溢短数量",
  35870. "type": "number"
  35871. },
  35872. "paymenttype": {
  35873. "description": "付款方式 - 1:冻结 2:扣款",
  35874. "type": "integer"
  35875. },
  35876. "performanceplanid": {
  35877. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  35878. "type": "string"
  35879. },
  35880. "performancestatus": {
  35881. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  35882. "type": "integer"
  35883. },
  35884. "performancetype": {
  35885. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  35886. "type": "integer"
  35887. },
  35888. "qty": {
  35889. "description": "履约数量",
  35890. "type": "number"
  35891. },
  35892. "relatedorderid": {
  35893. "description": "关联单号(履约类型的关联单号)",
  35894. "type": "string"
  35895. },
  35896. "remark": {
  35897. "description": "备注",
  35898. "type": "string"
  35899. },
  35900. "sellaccountid": {
  35901. "description": "卖方账号",
  35902. "type": "integer"
  35903. },
  35904. "sellerfreezeamount": {
  35905. "description": "履约冻结(卖履约)",
  35906. "type": "number"
  35907. },
  35908. "sellerfreezeamountremain": {
  35909. "description": "履约冻结剩余(卖履约)",
  35910. "type": "number"
  35911. },
  35912. "sellreceivedamount": {
  35913. "description": "卖方已收金额",
  35914. "type": "number"
  35915. },
  35916. "sellusername": {
  35917. "description": "卖方名字",
  35918. "type": "string"
  35919. },
  35920. "shipremark": {
  35921. "description": "发货备注[物流单号]",
  35922. "type": "string"
  35923. },
  35924. "starttime": {
  35925. "description": "开始时间",
  35926. "type": "string"
  35927. },
  35928. "steptypeid": {
  35929. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  35930. "type": "integer"
  35931. },
  35932. "typename": {
  35933. "description": "履约类型 名称",
  35934. "type": "string"
  35935. },
  35936. "unpaidamount": {
  35937. "description": "剩余款(待支付金额)",
  35938. "type": "number"
  35939. },
  35940. "userid": {
  35941. "description": "用户id",
  35942. "type": "integer"
  35943. },
  35944. "warehouseid": {
  35945. "description": "仓库ID",
  35946. "type": "integer"
  35947. },
  35948. "warehousename": {
  35949. "description": "仓库名称",
  35950. "type": "string"
  35951. },
  35952. "wrfactortypeid": {
  35953. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35954. "type": "string"
  35955. },
  35956. "wrfactortypename": {
  35957. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35958. "type": "string"
  35959. },
  35960. "wrstandardcode": {
  35961. "description": "现货商品代码",
  35962. "type": "string"
  35963. },
  35964. "wrstandardid": {
  35965. "description": "现货商品ID",
  35966. "type": "integer"
  35967. },
  35968. "wrstandardname": {
  35969. "description": "商品名称",
  35970. "type": "string"
  35971. },
  35972. "wrtransferuserid": {
  35973. "description": "仓单受让用户",
  35974. "type": "integer"
  35975. },
  35976. "wrtypename": {
  35977. "description": "商品",
  35978. "type": "string"
  35979. }
  35980. }
  35981. },
  35982. "models.WrPerformancePlanStep": {
  35983. "type": "object",
  35984. "properties": {
  35985. "delaydays": {
  35986. "description": "延期申请天数",
  35987. "type": "integer"
  35988. },
  35989. "deliverygoodscode": {
  35990. "description": "品种代码",
  35991. "type": "string"
  35992. },
  35993. "deliverygoodsid": {
  35994. "description": "品种ID",
  35995. "type": "integer"
  35996. },
  35997. "deliverygoodsname": {
  35998. "description": "品种名称",
  35999. "type": "string"
  36000. },
  36001. "endtime": {
  36002. "description": "结束日期",
  36003. "type": "string"
  36004. },
  36005. "enumdicname": {
  36006. "description": "单位名称",
  36007. "type": "string"
  36008. },
  36009. "executeside": {
  36010. "description": "步骤执行方 - 1:买方 2:卖方",
  36011. "type": "integer"
  36012. },
  36013. "handlestatus": {
  36014. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  36015. "type": "integer"
  36016. },
  36017. "isauto": {
  36018. "description": "是否自动 - 0:不自动 1:自动",
  36019. "type": "integer"
  36020. },
  36021. "islastreceivestep": {
  36022. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  36023. "type": "integer"
  36024. },
  36025. "minivalue": {
  36026. "description": "现货商品最小变动值",
  36027. "type": "integer"
  36028. },
  36029. "optioncompare": {
  36030. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36031. "type": "string"
  36032. },
  36033. "overdays": {
  36034. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  36035. "type": "integer"
  36036. },
  36037. "performancestepid": {
  36038. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  36039. "type": "string"
  36040. },
  36041. "planid": {
  36042. "description": "所属履约计划ID",
  36043. "type": "string"
  36044. },
  36045. "realamount": {
  36046. "description": "实际完成金额",
  36047. "type": "number"
  36048. },
  36049. "relatedorderid": {
  36050. "description": "关联单号",
  36051. "type": "string"
  36052. },
  36053. "remaindays": {
  36054. "description": "剩余天数",
  36055. "type": "integer"
  36056. },
  36057. "remark": {
  36058. "description": "错误备注",
  36059. "type": "string"
  36060. },
  36061. "starttime": {
  36062. "description": "开始日期",
  36063. "type": "string"
  36064. },
  36065. "stepamount": {
  36066. "description": "步骤金额",
  36067. "type": "number"
  36068. },
  36069. "stepdays": {
  36070. "description": "距离上一步天数(分钟)",
  36071. "type": "integer"
  36072. },
  36073. "stepindex": {
  36074. "description": "步骤序号",
  36075. "type": "integer"
  36076. },
  36077. "steplanchtype": {
  36078. "description": "步骤启动类型 - 1:系统自动 2:手动",
  36079. "type": "integer"
  36080. },
  36081. "stepremark": {
  36082. "description": "步骤备注",
  36083. "type": "string"
  36084. },
  36085. "stepstatus": {
  36086. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  36087. "type": "integer"
  36088. },
  36089. "steptypeid": {
  36090. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  36091. "type": "integer"
  36092. },
  36093. "steptypename": {
  36094. "description": "步骤名称",
  36095. "type": "string"
  36096. },
  36097. "stepvalue": {
  36098. "description": "步骤值",
  36099. "type": "number"
  36100. },
  36101. "warehouseid": {
  36102. "description": "仓库ID",
  36103. "type": "integer"
  36104. },
  36105. "warehousename": {
  36106. "description": "仓库名称",
  36107. "type": "string"
  36108. },
  36109. "wrfactortypeid": {
  36110. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36111. "type": "string"
  36112. },
  36113. "wrfactortypename": {
  36114. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36115. "type": "string"
  36116. },
  36117. "wrstandardcode": {
  36118. "description": "现货商品代码",
  36119. "type": "string"
  36120. },
  36121. "wrstandardid": {
  36122. "description": "现货商品ID",
  36123. "type": "integer"
  36124. },
  36125. "wrstandardname": {
  36126. "description": "商品名称",
  36127. "type": "string"
  36128. },
  36129. "wrtypename": {
  36130. "description": "商品",
  36131. "type": "string"
  36132. }
  36133. }
  36134. },
  36135. "models.WrPerformanceStepType": {
  36136. "type": "object",
  36137. "properties": {
  36138. "canauto": {
  36139. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  36140. "type": "integer"
  36141. },
  36142. "steptypeid": {
  36143. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  36144. "type": "integer"
  36145. },
  36146. "steptypename": {
  36147. "description": "步骤类型名称",
  36148. "type": "string"
  36149. }
  36150. }
  36151. },
  36152. "models.WrPerformanceTemplateEx": {
  36153. "type": "object",
  36154. "properties": {
  36155. "autoid": {
  36156. "description": "AutoID 模板id",
  36157. "type": "integer"
  36158. },
  36159. "createtime": {
  36160. "description": "创建时间",
  36161. "type": "string"
  36162. },
  36163. "creatorid": {
  36164. "description": "创建人",
  36165. "type": "integer"
  36166. },
  36167. "lstStep": {
  36168. "description": "步骤信息列表",
  36169. "type": "array",
  36170. "items": {
  36171. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  36172. }
  36173. },
  36174. "paymenttype": {
  36175. "description": "支付方式 - 1:冻结 2:扣款",
  36176. "type": "integer"
  36177. },
  36178. "takemode": {
  36179. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  36180. "type": "integer"
  36181. },
  36182. "templatename": {
  36183. "description": "模板名称",
  36184. "type": "string"
  36185. },
  36186. "templatetype": {
  36187. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  36188. "type": "integer"
  36189. },
  36190. "userid": {
  36191. "description": "所属用户",
  36192. "type": "integer"
  36193. }
  36194. }
  36195. },
  36196. "models.WrPosition": {
  36197. "type": "object",
  36198. "properties": {
  36199. "accountid": {
  36200. "description": "帐户ID",
  36201. "type": "integer"
  36202. },
  36203. "buyexcuteqty": {
  36204. "description": "采购履约中数量",
  36205. "type": "number"
  36206. },
  36207. "creditcurqty": {
  36208. "description": "授信当前数量(预售仓单:预售当前量)",
  36209. "type": "number"
  36210. },
  36211. "creditenableqty": {
  36212. "description": "授信可用数量(预售仓单: 可用数量)",
  36213. "type": "number"
  36214. },
  36215. "creditfreezeqty": {
  36216. "description": "授信冻结数量(预售仓单: 当前数量)",
  36217. "type": "number"
  36218. },
  36219. "credittotalqty": {
  36220. "description": "授信总数量(预售仓单:预售总量)",
  36221. "type": "number"
  36222. },
  36223. "credittradeqty": {
  36224. "description": "授信成交数量(预售仓单:成交总量)",
  36225. "type": "number"
  36226. },
  36227. "deliverygoodscode": {
  36228. "description": "品种代码",
  36229. "type": "string"
  36230. },
  36231. "deliverygoodsid": {
  36232. "description": "品种ID",
  36233. "type": "integer"
  36234. },
  36235. "deliverygoodsname": {
  36236. "description": "品种名称",
  36237. "type": "string"
  36238. },
  36239. "enalbeqty": {
  36240. "description": "可用数量",
  36241. "type": "number"
  36242. },
  36243. "enumdicname": {
  36244. "description": "单位名称",
  36245. "type": "string"
  36246. },
  36247. "freezeqty": {
  36248. "description": "总冻结数量",
  36249. "type": "number"
  36250. },
  36251. "haswr": {
  36252. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36253. "type": "integer"
  36254. },
  36255. "minivalue": {
  36256. "description": "现货商品最小变动值",
  36257. "type": "integer"
  36258. },
  36259. "modifytime": {
  36260. "description": "修改时间(过户时间)",
  36261. "type": "string"
  36262. },
  36263. "optioncompare": {
  36264. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36265. "type": "string"
  36266. },
  36267. "pledgeqty": {
  36268. "description": "质押数量",
  36269. "type": "number"
  36270. },
  36271. "querytype": {
  36272. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  36273. "type": "integer"
  36274. },
  36275. "sellexcuteqty": {
  36276. "description": "销售履约中数量",
  36277. "type": "number"
  36278. },
  36279. "totalqty": {
  36280. "description": "总数量(库存数量)",
  36281. "type": "number"
  36282. },
  36283. "warehouseid": {
  36284. "description": "仓库ID",
  36285. "type": "integer"
  36286. },
  36287. "warehousename": {
  36288. "description": "仓库名称",
  36289. "type": "string"
  36290. },
  36291. "wrfactortypeid": {
  36292. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36293. "type": "string"
  36294. },
  36295. "wrfactortypename": {
  36296. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36297. "type": "string"
  36298. },
  36299. "wrpositionid": {
  36300. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  36301. "type": "string"
  36302. },
  36303. "wrpositionno": {
  36304. "description": "仓单编号",
  36305. "type": "string"
  36306. },
  36307. "wrstandardcode": {
  36308. "description": "现货商品代码",
  36309. "type": "string"
  36310. },
  36311. "wrstandardid": {
  36312. "description": "现货商品ID",
  36313. "type": "integer"
  36314. },
  36315. "wrstandardname": {
  36316. "description": "商品名称",
  36317. "type": "string"
  36318. },
  36319. "wrtypename": {
  36320. "description": "商品",
  36321. "type": "string"
  36322. },
  36323. "wruserid": {
  36324. "description": "持有人ID",
  36325. "type": "integer"
  36326. }
  36327. }
  36328. },
  36329. "models.WrQuoteOrderMyq": {
  36330. "type": "object",
  36331. "properties": {
  36332. "buyorsell": {
  36333. "description": "买卖 - 0:买 1:卖",
  36334. "type": "integer"
  36335. },
  36336. "canbargain": {
  36337. "description": "是否可议价 - 0:不可 1:可",
  36338. "type": "integer"
  36339. },
  36340. "canpart": {
  36341. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  36342. "type": "integer"
  36343. },
  36344. "delistminqty": {
  36345. "description": "起摘数量",
  36346. "type": "number"
  36347. },
  36348. "deliverygoodscode": {
  36349. "description": "品种代码",
  36350. "type": "string"
  36351. },
  36352. "deliverygoodsid": {
  36353. "description": "品种ID",
  36354. "type": "integer"
  36355. },
  36356. "deliverygoodsname": {
  36357. "description": "品种名称",
  36358. "type": "string"
  36359. },
  36360. "deliverymonth": {
  36361. "description": "交收月",
  36362. "type": "string"
  36363. },
  36364. "enumdicname": {
  36365. "description": "单位名称",
  36366. "type": "string"
  36367. },
  36368. "fixedprice": {
  36369. "description": "买(卖)价",
  36370. "type": "number"
  36371. },
  36372. "goodscode": {
  36373. "description": "商品合约代码",
  36374. "type": "string"
  36375. },
  36376. "marginflag": {
  36377. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  36378. "type": "integer"
  36379. },
  36380. "marginvalue": {
  36381. "description": "保证金设置值",
  36382. "type": "number"
  36383. },
  36384. "minivalue": {
  36385. "description": "现货商品最小变动值",
  36386. "type": "integer"
  36387. },
  36388. "orderqty": {
  36389. "description": "买(卖)量(=委托量-成交量)",
  36390. "type": "number"
  36391. },
  36392. "ordertime": {
  36393. "description": "委托时间",
  36394. "type": "string"
  36395. },
  36396. "performancetemplateid": {
  36397. "description": "履约模板id",
  36398. "type": "integer"
  36399. },
  36400. "pricemove": {
  36401. "description": "买(卖)升贴水- 基差",
  36402. "type": "number"
  36403. },
  36404. "templatename": {
  36405. "description": "履约模板名称",
  36406. "type": "string"
  36407. },
  36408. "userid": {
  36409. "description": "购买方(销售方)用户ID",
  36410. "type": "integer"
  36411. },
  36412. "username": {
  36413. "description": "购买方(销售方)",
  36414. "type": "string"
  36415. },
  36416. "validtime": {
  36417. "description": "有效期限",
  36418. "type": "string"
  36419. },
  36420. "validtype": {
  36421. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  36422. "type": "integer"
  36423. },
  36424. "warehousename": {
  36425. "description": "仓库名称",
  36426. "type": "string"
  36427. },
  36428. "wrfactortypeid": {
  36429. "description": "仓单要素id",
  36430. "type": "string"
  36431. },
  36432. "wrstandardcode": {
  36433. "description": "现货商品代码",
  36434. "type": "string"
  36435. },
  36436. "wrstandardid": {
  36437. "description": "现货商品ID",
  36438. "type": "integer"
  36439. },
  36440. "wrstandardname": {
  36441. "description": "商品名称",
  36442. "type": "string"
  36443. },
  36444. "wrtradeorderid": {
  36445. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36446. "type": "string"
  36447. },
  36448. "wrtypename": {
  36449. "description": "商品",
  36450. "type": "string"
  36451. }
  36452. }
  36453. },
  36454. "models.WrScfContract": {
  36455. "type": "object",
  36456. "properties": {
  36457. "borroweruserid": {
  36458. "description": "借款用户ID",
  36459. "type": "integer"
  36460. },
  36461. "buybackwrpositionqty": {
  36462. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  36463. "type": "number"
  36464. },
  36465. "closeinterest": {
  36466. "description": "已结利息 -\u003e 已结费用",
  36467. "type": "number"
  36468. },
  36469. "currisklevel": {
  36470. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  36471. "type": "integer"
  36472. },
  36473. "deadline": {
  36474. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  36475. "type": "string"
  36476. },
  36477. "deliverygoodscode": {
  36478. "description": "品种代码",
  36479. "type": "string"
  36480. },
  36481. "deliverygoodsid": {
  36482. "description": "品种ID",
  36483. "type": "integer"
  36484. },
  36485. "deliverygoodsname": {
  36486. "description": "品种名称",
  36487. "type": "string"
  36488. },
  36489. "enumdicname": {
  36490. "description": "单位名称",
  36491. "type": "string"
  36492. },
  36493. "financingdays": {
  36494. "description": "天数(天)",
  36495. "type": "integer"
  36496. },
  36497. "initmargin": {
  36498. "description": "保证金 - [仓单回购]",
  36499. "type": "number"
  36500. },
  36501. "interestamount": {
  36502. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  36503. "type": "number"
  36504. },
  36505. "interestdebt": {
  36506. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  36507. "type": "number"
  36508. },
  36509. "interestminlen": {
  36510. "description": "最小起息天数",
  36511. "type": "integer"
  36512. },
  36513. "interestrate": {
  36514. "description": "利率",
  36515. "type": "number"
  36516. },
  36517. "interestratemode": {
  36518. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  36519. "type": "integer"
  36520. },
  36521. "interestsettlemode": {
  36522. "description": "结息方式 - 1:按日结息 3:按月结息",
  36523. "type": "integer"
  36524. },
  36525. "interestsettlevalue": {
  36526. "description": "结息方式值",
  36527. "type": "integer"
  36528. },
  36529. "isautoloan": {
  36530. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  36531. "type": "integer"
  36532. },
  36533. "lastcloseinterestday": {
  36534. "description": "最近结息日(yyyyMMdd)",
  36535. "type": "string"
  36536. },
  36537. "lenderamount": {
  36538. "description": "贷款金额 -\u003e 借款金额",
  36539. "type": "number"
  36540. },
  36541. "lenderuserid": {
  36542. "description": "贷款方用户ID -\u003e 融出方用户ID",
  36543. "type": "integer"
  36544. },
  36545. "lenderusername": {
  36546. "description": "融出方",
  36547. "type": "string"
  36548. },
  36549. "marginratio": {
  36550. "description": "保证金比率质押率 - [仓单质押]",
  36551. "type": "number"
  36552. },
  36553. "marketid": {
  36554. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  36555. "type": "integer"
  36556. },
  36557. "minivalue": {
  36558. "description": "现货商品最小变动值",
  36559. "type": "integer"
  36560. },
  36561. "optioncompare": {
  36562. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36563. "type": "string"
  36564. },
  36565. "pricemove": {
  36566. "description": "估值升贴水值",
  36567. "type": "number"
  36568. },
  36569. "productdetailid": {
  36570. "description": "产品组合ID",
  36571. "type": "integer"
  36572. },
  36573. "productid": {
  36574. "description": "金融产品ID",
  36575. "type": "integer"
  36576. },
  36577. "productname": {
  36578. "description": "产品名称",
  36579. "type": "string"
  36580. },
  36581. "remainamount": {
  36582. "description": "合同剩余金额 -\u003e 剩余金额",
  36583. "type": "number"
  36584. },
  36585. "remainwrpositionqty": {
  36586. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  36587. "type": "number"
  36588. },
  36589. "remark": {
  36590. "description": "备注",
  36591. "type": "string"
  36592. },
  36593. "scfcontractid": {
  36594. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  36595. "type": "string"
  36596. },
  36597. "scfcontractstatus": {
  36598. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  36599. "type": "integer"
  36600. },
  36601. "scfcontracttype": {
  36602. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  36603. "type": "integer"
  36604. },
  36605. "startinterestday": {
  36606. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  36607. "type": "string"
  36608. },
  36609. "totalinterest": {
  36610. "description": "已计利息 -\u003e 已计费用",
  36611. "type": "number"
  36612. },
  36613. "unpaidinterest": {
  36614. "description": "未结费用",
  36615. "type": "number"
  36616. },
  36617. "updatetime": {
  36618. "description": "更新时间",
  36619. "type": "string"
  36620. },
  36621. "warehouseid": {
  36622. "description": "仓库ID",
  36623. "type": "integer"
  36624. },
  36625. "warehousename": {
  36626. "description": "仓库名称",
  36627. "type": "string"
  36628. },
  36629. "wrfactortypeid": {
  36630. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36631. "type": "string"
  36632. },
  36633. "wrfactortypename": {
  36634. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36635. "type": "string"
  36636. },
  36637. "wrqty": {
  36638. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  36639. "type": "number"
  36640. },
  36641. "wrstandardcode": {
  36642. "description": "现货商品代码",
  36643. "type": "string"
  36644. },
  36645. "wrstandardid": {
  36646. "description": "现货商品ID",
  36647. "type": "integer"
  36648. },
  36649. "wrstandardname": {
  36650. "description": "商品名称",
  36651. "type": "string"
  36652. },
  36653. "wrtypename": {
  36654. "description": "商品",
  36655. "type": "string"
  36656. }
  36657. }
  36658. },
  36659. "models.WrScfContractInterest": {
  36660. "type": "object",
  36661. "properties": {
  36662. "closeinterest": {
  36663. "description": "已结利息",
  36664. "type": "number"
  36665. },
  36666. "closeintereststatus": {
  36667. "description": "结息状态 - 1:未结 2:已结",
  36668. "type": "integer"
  36669. },
  36670. "closetime": {
  36671. "description": "结息时间",
  36672. "type": "string"
  36673. },
  36674. "closetradedate": {
  36675. "description": "结息交易日",
  36676. "type": "string"
  36677. },
  36678. "creatorid": {
  36679. "description": "操作人ID",
  36680. "type": "integer"
  36681. },
  36682. "dayrate": {
  36683. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  36684. "type": "number"
  36685. },
  36686. "interest": {
  36687. "description": "利息",
  36688. "type": "number"
  36689. },
  36690. "interestamount": {
  36691. "description": "计息金额",
  36692. "type": "number"
  36693. },
  36694. "interestday": {
  36695. "description": "计息日(yyyyMMdd)",
  36696. "type": "string"
  36697. },
  36698. "scfcontractid": {
  36699. "description": "SCF合同ID",
  36700. "type": "string"
  36701. },
  36702. "scfcontractinterestid": {
  36703. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  36704. "type": "integer"
  36705. },
  36706. "updatetime": {
  36707. "description": "更新时间",
  36708. "type": "string"
  36709. }
  36710. }
  36711. },
  36712. "models.WrSiteColumnDetail": {
  36713. "type": "object",
  36714. "properties": {
  36715. "brief": {
  36716. "description": "简介",
  36717. "type": "string"
  36718. },
  36719. "context": {
  36720. "description": "内容",
  36721. "type": "string"
  36722. },
  36723. "coverimage": {
  36724. "description": "封面图片",
  36725. "type": "string"
  36726. },
  36727. "creaedate": {
  36728. "description": "创建时间",
  36729. "type": "string"
  36730. },
  36731. "id": {
  36732. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  36733. "type": "integer"
  36734. },
  36735. "istop": {
  36736. "description": "是否置顶 - 0:不置 1:置顶",
  36737. "type": "integer"
  36738. },
  36739. "publishdate": {
  36740. "description": "发布日期",
  36741. "type": "string"
  36742. },
  36743. "title": {
  36744. "description": "标题",
  36745. "type": "string"
  36746. },
  36747. "updatedate": {
  36748. "description": "修改时间",
  36749. "type": "string"
  36750. }
  36751. }
  36752. },
  36753. "models.WrSpecialMatchOrder": {
  36754. "type": "object",
  36755. "properties": {
  36756. "amount": {
  36757. "description": "金额 = 数量 * 价格",
  36758. "type": "number"
  36759. },
  36760. "buyorsell": {
  36761. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  36762. "type": "integer"
  36763. },
  36764. "cancelqty": {
  36765. "description": "撤销数量",
  36766. "type": "number"
  36767. },
  36768. "deliverygoodscode": {
  36769. "description": "品种代码",
  36770. "type": "string"
  36771. },
  36772. "deliverygoodsid": {
  36773. "description": "品种ID",
  36774. "type": "integer"
  36775. },
  36776. "deliverygoodsname": {
  36777. "description": "品种名称",
  36778. "type": "string"
  36779. },
  36780. "enumdicname": {
  36781. "description": "单位名称",
  36782. "type": "string"
  36783. },
  36784. "fixedprice": {
  36785. "description": "固定价格(价格)",
  36786. "type": "number"
  36787. },
  36788. "haswr": {
  36789. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36790. "type": "integer"
  36791. },
  36792. "isspecified": {
  36793. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  36794. "type": "integer"
  36795. },
  36796. "marketid": {
  36797. "description": "市场ID",
  36798. "type": "integer"
  36799. },
  36800. "matchuserid": {
  36801. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  36802. "type": "integer"
  36803. },
  36804. "matchusername": {
  36805. "description": "指定方",
  36806. "type": "string"
  36807. },
  36808. "minivalue": {
  36809. "description": "现货商品最小变动值",
  36810. "type": "integer"
  36811. },
  36812. "optioncompare": {
  36813. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36814. "type": "string"
  36815. },
  36816. "orderqty": {
  36817. "description": "委托数量",
  36818. "type": "number"
  36819. },
  36820. "ordertime": {
  36821. "description": "委托时间",
  36822. "type": "string"
  36823. },
  36824. "pricemove": {
  36825. "description": "升贴水(浮动价时填写) - [挂牌]",
  36826. "type": "number"
  36827. },
  36828. "tradedate": {
  36829. "description": "交易日(yyyyMMdd)",
  36830. "type": "string"
  36831. },
  36832. "tradeprice": {
  36833. "description": "成交价格",
  36834. "type": "number"
  36835. },
  36836. "tradeqty": {
  36837. "description": "成交数量",
  36838. "type": "number"
  36839. },
  36840. "userid": {
  36841. "description": "用户ID",
  36842. "type": "integer"
  36843. },
  36844. "username": {
  36845. "description": "发起方",
  36846. "type": "string"
  36847. },
  36848. "warehouseid": {
  36849. "description": "仓库ID",
  36850. "type": "integer"
  36851. },
  36852. "warehousename": {
  36853. "description": "仓库名称",
  36854. "type": "string"
  36855. },
  36856. "wrfactortypeid": {
  36857. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36858. "type": "string"
  36859. },
  36860. "wrfactortypename": {
  36861. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36862. "type": "string"
  36863. },
  36864. "wrpricetype": {
  36865. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  36866. "type": "integer"
  36867. },
  36868. "wrstandardcode": {
  36869. "description": "现货商品代码",
  36870. "type": "string"
  36871. },
  36872. "wrstandardid": {
  36873. "description": "现货商品ID",
  36874. "type": "integer"
  36875. },
  36876. "wrstandardname": {
  36877. "description": "商品名称",
  36878. "type": "string"
  36879. },
  36880. "wrtradeorderid": {
  36881. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36882. "type": "string"
  36883. },
  36884. "wrtradeorderstatus": {
  36885. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  36886. "type": "integer"
  36887. },
  36888. "wrtradetype": {
  36889. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36890. "type": "integer"
  36891. },
  36892. "wrtypename": {
  36893. "description": "商品",
  36894. "type": "string"
  36895. }
  36896. }
  36897. },
  36898. "models.WrSpotGroupTradeSum": {
  36899. "type": "object",
  36900. "properties": {
  36901. "deliverygoodscode": {
  36902. "description": "现货品种代码",
  36903. "type": "string"
  36904. },
  36905. "deliverygoodsid": {
  36906. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  36907. "type": "integer"
  36908. },
  36909. "deliverygoodsname": {
  36910. "description": "现货品种名称",
  36911. "type": "string"
  36912. },
  36913. "lastavgprice": {
  36914. "description": "上上个交易日价格(前2天价格)",
  36915. "type": "string"
  36916. },
  36917. "lastreckondate": {
  36918. "description": "上上个交易日(前2天交易日)",
  36919. "type": "string"
  36920. },
  36921. "reckondate": {
  36922. "description": "上个交易日(前1天交易日)",
  36923. "type": "string"
  36924. },
  36925. "todayavgprice": {
  36926. "description": "上个交易日价格(前1天价格)",
  36927. "type": "string"
  36928. },
  36929. "updown": {
  36930. "description": "涨跌",
  36931. "type": "string"
  36932. },
  36933. "updownratio": {
  36934. "description": "涨幅(已格式化, 直接显示即可)",
  36935. "type": "string"
  36936. }
  36937. }
  36938. },
  36939. "models.WrSpotGroupTradeSumDetail": {
  36940. "type": "object",
  36941. "properties": {
  36942. "deliverygoodsid": {
  36943. "description": "现货商品id",
  36944. "type": "integer"
  36945. },
  36946. "price": {
  36947. "description": "价格",
  36948. "type": "number"
  36949. },
  36950. "reckondate": {
  36951. "description": "日期(yyymmdd, 如:20211031)",
  36952. "type": "string"
  36953. }
  36954. }
  36955. },
  36956. "models.WrSpotGroupTradeSumEx": {
  36957. "type": "object",
  36958. "properties": {
  36959. "lst": {
  36960. "description": "指数列表",
  36961. "type": "array",
  36962. "items": {
  36963. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  36964. }
  36965. },
  36966. "prereckondate": {
  36967. "description": "上上个交易日(yyymmdd)",
  36968. "type": "string"
  36969. },
  36970. "reckondate": {
  36971. "description": "上个交易日(yyyymmdd)",
  36972. "type": "string"
  36973. }
  36974. }
  36975. },
  36976. "models.WrStandardFactoryItem": {
  36977. "type": "object",
  36978. "properties": {
  36979. "dgfactoryitemid": {
  36980. "description": "选择项id",
  36981. "type": "integer"
  36982. },
  36983. "dgfactoryitemvalue": {
  36984. "description": "要素项值",
  36985. "type": "string"
  36986. },
  36987. "warehouseid": {
  36988. "description": "仓库id",
  36989. "type": "integer"
  36990. }
  36991. }
  36992. },
  36993. "models.WrStandardFactoryItemEx": {
  36994. "type": "object",
  36995. "properties": {
  36996. "dgfactoryitemtypeid": {
  36997. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  36998. "type": "integer"
  36999. },
  37000. "itemlst": {
  37001. "description": "要素项列表",
  37002. "type": "array",
  37003. "items": {
  37004. "$ref": "#/definitions/models.WrStandardFactoryItem"
  37005. }
  37006. },
  37007. "itemtypename": {
  37008. "description": "要素项类型名称",
  37009. "type": "string"
  37010. },
  37011. "wrstandardid": {
  37012. "description": "品类",
  37013. "type": "integer"
  37014. }
  37015. }
  37016. },
  37017. "models.WrTradeDetail": {
  37018. "type": "object",
  37019. "properties": {
  37020. "accountid": {
  37021. "description": "资金账号",
  37022. "type": "integer"
  37023. },
  37024. "begindate": {
  37025. "description": "开始交易日(yyyymmdd)",
  37026. "type": "string"
  37027. },
  37028. "buyorsell": {
  37029. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  37030. "type": "integer"
  37031. },
  37032. "chargevalue": {
  37033. "description": "手续费",
  37034. "type": "number"
  37035. },
  37036. "deliverygoodscode": {
  37037. "description": "品种代码",
  37038. "type": "string"
  37039. },
  37040. "deliverygoodsid": {
  37041. "description": "品种ID",
  37042. "type": "integer"
  37043. },
  37044. "deliverygoodsname": {
  37045. "description": "品种名称",
  37046. "type": "string"
  37047. },
  37048. "deliverymonth": {
  37049. "description": "交收月",
  37050. "type": "string"
  37051. },
  37052. "enddate": {
  37053. "description": "结束交易日(yyyymmdd)",
  37054. "type": "string"
  37055. },
  37056. "enumdicname": {
  37057. "description": "单位名称",
  37058. "type": "string"
  37059. },
  37060. "haswr": {
  37061. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  37062. "type": "integer"
  37063. },
  37064. "marketid": {
  37065. "description": "市场ID",
  37066. "type": "integer"
  37067. },
  37068. "matchaccountid": {
  37069. "description": "对手账号",
  37070. "type": "integer"
  37071. },
  37072. "matchusername": {
  37073. "description": "对手方",
  37074. "type": "string"
  37075. },
  37076. "minivalue": {
  37077. "description": "现货商品最小变动值",
  37078. "type": "integer"
  37079. },
  37080. "optioncompare": {
  37081. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37082. "type": "string"
  37083. },
  37084. "tradedate": {
  37085. "description": "交易日(yyyyMMdd)",
  37086. "type": "string"
  37087. },
  37088. "tradeprice": {
  37089. "description": "成交价格",
  37090. "type": "number"
  37091. },
  37092. "tradeqty": {
  37093. "description": "成交数量",
  37094. "type": "number"
  37095. },
  37096. "tradetime": {
  37097. "description": "成交时间",
  37098. "type": "string"
  37099. },
  37100. "userid": {
  37101. "description": "用户ID",
  37102. "type": "integer"
  37103. },
  37104. "warehouseid": {
  37105. "description": "仓库ID",
  37106. "type": "integer"
  37107. },
  37108. "warehousename": {
  37109. "description": "仓库名称",
  37110. "type": "string"
  37111. },
  37112. "wrfactortypeid": {
  37113. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37114. "type": "string"
  37115. },
  37116. "wrfactortypename": {
  37117. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37118. "type": "string"
  37119. },
  37120. "wrstandardcode": {
  37121. "description": "现货商品代码",
  37122. "type": "string"
  37123. },
  37124. "wrstandardid": {
  37125. "description": "现货商品ID",
  37126. "type": "integer"
  37127. },
  37128. "wrstandardname": {
  37129. "description": "商品名称",
  37130. "type": "string"
  37131. },
  37132. "wrtradedetailid": {
  37133. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  37134. "type": "string"
  37135. },
  37136. "wrtradetype": {
  37137. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  37138. "type": "integer"
  37139. },
  37140. "wrtypename": {
  37141. "description": "商品",
  37142. "type": "string"
  37143. }
  37144. }
  37145. },
  37146. "models.WrTradeOrderDetail": {
  37147. "type": "object",
  37148. "properties": {
  37149. "buyorsell": {
  37150. "description": "买卖方向 0-买 1-卖",
  37151. "type": "integer"
  37152. },
  37153. "goodsid": {
  37154. "description": "商品id",
  37155. "type": "integer"
  37156. },
  37157. "orderid": {
  37158. "description": "委托单号",
  37159. "type": "string"
  37160. },
  37161. "orderprice": {
  37162. "description": "委托价格",
  37163. "type": "number"
  37164. },
  37165. "orderqty": {
  37166. "description": "委托数量",
  37167. "type": "integer"
  37168. },
  37169. "userid": {
  37170. "description": "用户id",
  37171. "type": "integer"
  37172. },
  37173. "username": {
  37174. "description": "用户名称(已脱敏)",
  37175. "type": "string"
  37176. }
  37177. }
  37178. },
  37179. "models.WrTypeItem": {
  37180. "type": "object",
  37181. "properties": {
  37182. "name": {
  37183. "description": "名称",
  37184. "type": "string"
  37185. },
  37186. "value": {
  37187. "description": "值",
  37188. "type": "string"
  37189. }
  37190. }
  37191. },
  37192. "models.WrUserFriend": {
  37193. "type": "object",
  37194. "properties": {
  37195. "friendname": {
  37196. "description": "朋友名称(已脱敏)",
  37197. "type": "string"
  37198. },
  37199. "frienduserid": {
  37200. "description": "朋友id",
  37201. "type": "integer"
  37202. },
  37203. "isfriend": {
  37204. "description": "是否好友 0-不是 1-是",
  37205. "type": "integer"
  37206. },
  37207. "userid": {
  37208. "description": "用户id",
  37209. "type": "integer"
  37210. }
  37211. }
  37212. },
  37213. "models.WrUserReceiptInfo": {
  37214. "type": "object",
  37215. "properties": {
  37216. "address": {
  37217. "description": "地址[发票类型:企业]",
  37218. "type": "string"
  37219. },
  37220. "autoid": {
  37221. "description": "AutoID",
  37222. "type": "integer"
  37223. },
  37224. "contactinfo": {
  37225. "description": "联系方式",
  37226. "type": "string"
  37227. },
  37228. "idnum": {
  37229. "description": "身份证号码[发票类型:个人]",
  37230. "type": "string"
  37231. },
  37232. "isdefault": {
  37233. "description": "是否默认地址 - 0:否 1:是",
  37234. "type": "integer"
  37235. },
  37236. "receiptaccount": {
  37237. "description": "发票帐号[发票类型:企业]",
  37238. "type": "string"
  37239. },
  37240. "receiptbank": {
  37241. "description": "发票开户行[发票类型:企业]",
  37242. "type": "string"
  37243. },
  37244. "receipttype": {
  37245. "description": "发票类型 - 1:个人 2:企业",
  37246. "type": "integer"
  37247. },
  37248. "taxpayerid": {
  37249. "description": "纳税人识别号",
  37250. "type": "string"
  37251. },
  37252. "userid": {
  37253. "description": "用户ID",
  37254. "type": "integer"
  37255. },
  37256. "username": {
  37257. "description": "户名(个人姓名或企业名称)",
  37258. "type": "string"
  37259. }
  37260. }
  37261. },
  37262. "models.XHBRAND": {
  37263. "type": "object",
  37264. "properties": {
  37265. "brandid": {
  37266. "description": "品牌id",
  37267. "type": "integer"
  37268. },
  37269. "brandname": {
  37270. "description": "品牌名称",
  37271. "type": "string"
  37272. },
  37273. "isvalid": {
  37274. "description": "是否有效 0-无效 1-有效",
  37275. "type": "integer"
  37276. }
  37277. }
  37278. },
  37279. "models.XHDeliveryGoods": {
  37280. "type": "object",
  37281. "properties": {
  37282. "areauserid": {
  37283. "description": "所属机构",
  37284. "type": "integer"
  37285. },
  37286. "bdlst": {
  37287. "description": "品牌列表",
  37288. "type": "array",
  37289. "items": {
  37290. "$ref": "#/definitions/models.XHBRAND"
  37291. }
  37292. },
  37293. "deliverygoodscode": {
  37294. "description": "现货品种代码",
  37295. "type": "string"
  37296. },
  37297. "deliverygoodsid": {
  37298. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  37299. "type": "integer"
  37300. },
  37301. "deliverygoodsname": {
  37302. "description": "现货品种名称",
  37303. "type": "string"
  37304. },
  37305. "dgstatus": {
  37306. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  37307. "type": "integer"
  37308. },
  37309. "filterSubEmpty": {
  37310. "description": "过滤下级为空的",
  37311. "type": "integer"
  37312. },
  37313. "isvalid": {
  37314. "description": "是否有效 - 0:无效 1:有效",
  37315. "type": "integer"
  37316. },
  37317. "remark": {
  37318. "description": "备注",
  37319. "type": "string"
  37320. },
  37321. "unitid": {
  37322. "description": "单位id(目前看,数据库中是空值)",
  37323. "type": "integer"
  37324. },
  37325. "wdlst": {
  37326. "description": "品类(现货商品)列表",
  37327. "type": "array",
  37328. "items": {
  37329. "$ref": "#/definitions/models.XHWrstandard"
  37330. }
  37331. }
  37332. }
  37333. },
  37334. "models.XHMiddleGoods": {
  37335. "type": "object",
  37336. "properties": {
  37337. "GPLST": {
  37338. "description": "期货品种列表",
  37339. "type": "array",
  37340. "items": {
  37341. "$ref": "#/definitions/models.TBGoodsGroup"
  37342. }
  37343. },
  37344. "convertratio": {
  37345. "description": "拆算系数",
  37346. "type": "number"
  37347. },
  37348. "costratio": {
  37349. "description": "成本权重",
  37350. "type": "number"
  37351. },
  37352. "deliverygoodsid": {
  37353. "description": "现货商品id",
  37354. "type": "integer"
  37355. },
  37356. "enumdicname": {
  37357. "description": "单位名称",
  37358. "type": "string"
  37359. },
  37360. "middlegoodscode": {
  37361. "description": "套保品种代码",
  37362. "type": "string"
  37363. },
  37364. "middlegoodsid": {
  37365. "description": "套保品种id",
  37366. "type": "integer"
  37367. },
  37368. "middlegoodsname": {
  37369. "description": "套保品种名称",
  37370. "type": "string"
  37371. },
  37372. "unitid": {
  37373. "description": "单位id",
  37374. "type": "integer"
  37375. }
  37376. }
  37377. },
  37378. "models.XHWrstandard": {
  37379. "type": "object",
  37380. "properties": {
  37381. "bannerpicurl": {
  37382. "description": "banner图",
  37383. "type": "string"
  37384. },
  37385. "deliverygoodsid": {
  37386. "description": "品种ID",
  37387. "type": "integer"
  37388. },
  37389. "enumdicname": {
  37390. "description": "单位名称",
  37391. "type": "string"
  37392. },
  37393. "mglst": {
  37394. "description": "套保品列表",
  37395. "type": "array",
  37396. "items": {
  37397. "$ref": "#/definitions/models.XHMiddleGoods"
  37398. }
  37399. },
  37400. "pictureurls": {
  37401. "description": "详情图片(逗号分隔)",
  37402. "type": "string"
  37403. },
  37404. "thumurls": {
  37405. "description": "缩略图片(1:1)(逗号分隔)",
  37406. "type": "string"
  37407. },
  37408. "unitid": {
  37409. "description": "单位id",
  37410. "type": "integer"
  37411. },
  37412. "vatrate": {
  37413. "description": "增值税率",
  37414. "type": "number"
  37415. },
  37416. "wrstandardcode": {
  37417. "description": "现货商品代码",
  37418. "type": "string"
  37419. },
  37420. "wrstandardid": {
  37421. "description": "现货商品ID(SEQ_WRSTANDARD)",
  37422. "type": "integer"
  37423. },
  37424. "wrstandardname": {
  37425. "description": "现货商品名称",
  37426. "type": "string"
  37427. }
  37428. }
  37429. },
  37430. "order.QueryHisTradeDetailRsp": {
  37431. "type": "object",
  37432. "required": [
  37433. "accountid",
  37434. "buyorsell",
  37435. "goodsid",
  37436. "histradedate",
  37437. "marketid",
  37438. "memberuserid",
  37439. "orderid",
  37440. "tradeamount",
  37441. "tradedate",
  37442. "tradeid",
  37443. "tradeprice",
  37444. "tradeqty",
  37445. "tradetime"
  37446. ],
  37447. "properties": {
  37448. "accountid": {
  37449. "description": "账户ID[报价币种]",
  37450. "type": "integer"
  37451. },
  37452. "advanceratio": {
  37453. "description": "首付比率",
  37454. "type": "number"
  37455. },
  37456. "buildtype": {
  37457. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  37458. "type": "integer"
  37459. },
  37460. "buyorsell": {
  37461. "description": "方向 - 0:买 1:卖",
  37462. "type": "integer"
  37463. },
  37464. "charge": {
  37465. "description": "手续费",
  37466. "type": "number"
  37467. },
  37468. "closecharge": {
  37469. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37470. "type": "number"
  37471. },
  37472. "closeexchagechargevalue": {
  37473. "description": "平仓交易所手续费设置值",
  37474. "type": "number"
  37475. },
  37476. "closefeealgorithm": {
  37477. "description": "平仓手续费收取方式 1:比率 2:固定",
  37478. "type": "integer"
  37479. },
  37480. "closememberchargevalue": {
  37481. "description": "平仓会员手续费设置值",
  37482. "type": "number"
  37483. },
  37484. "closepl": {
  37485. "description": "平仓盈亏",
  37486. "type": "number"
  37487. },
  37488. "closepl2": {
  37489. "description": "平仓盈亏[逐笔]",
  37490. "type": "number"
  37491. },
  37492. "closeqty": {
  37493. "description": "平仓数量(先建后平操作 需要记录)",
  37494. "type": "number"
  37495. },
  37496. "creditamount": {
  37497. "description": "授信金额",
  37498. "type": "number"
  37499. },
  37500. "decimalplace": {
  37501. "description": "商品报价小数位",
  37502. "type": "integer"
  37503. },
  37504. "enumdicname": {
  37505. "description": "单位名称",
  37506. "type": "string"
  37507. },
  37508. "gcaccountid": {
  37509. "description": "账户ID[合约币种]",
  37510. "type": "integer"
  37511. },
  37512. "goodscode": {
  37513. "description": "商品代码",
  37514. "type": "string"
  37515. },
  37516. "goodsid": {
  37517. "description": "商品ID",
  37518. "type": "integer"
  37519. },
  37520. "goodsname": {
  37521. "description": "商品名称",
  37522. "type": "string"
  37523. },
  37524. "goodunitid": {
  37525. "description": "商品单位id",
  37526. "type": "integer"
  37527. },
  37528. "histradedate": {
  37529. "description": "历史交易日",
  37530. "type": "string"
  37531. },
  37532. "intclosepl": {
  37533. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  37534. "type": "integer"
  37535. },
  37536. "isconfirmexercise": {
  37537. "description": "是否确认行权- 0:否 1:是",
  37538. "type": "integer"
  37539. },
  37540. "ismain": {
  37541. "description": "是否主单 - 0:不是 1:是",
  37542. "type": "integer"
  37543. },
  37544. "ispreexercise": {
  37545. "description": "是否预申报- 0:否 1:是",
  37546. "type": "integer"
  37547. },
  37548. "isreckoned": {
  37549. "description": "是否结算 - 0:未结算 1:已结算",
  37550. "type": "integer"
  37551. },
  37552. "isvaliddata": {
  37553. "description": "是否有效 - 0:无效 1:有效",
  37554. "type": "integer"
  37555. },
  37556. "listingselecttype": {
  37557. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37558. "type": "integer"
  37559. },
  37560. "marketid": {
  37561. "description": "市场ID",
  37562. "type": "integer"
  37563. },
  37564. "marketname": {
  37565. "description": "市场名称",
  37566. "type": "string"
  37567. },
  37568. "matchaccountid": {
  37569. "description": "对手账号id",
  37570. "type": "integer"
  37571. },
  37572. "memberuserid": {
  37573. "description": "会员id 个人投资者 需要填写",
  37574. "type": "integer"
  37575. },
  37576. "opencharge": {
  37577. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37578. "type": "number"
  37579. },
  37580. "openexchagechargevalue": {
  37581. "description": "建仓交易所手续费设置值",
  37582. "type": "number"
  37583. },
  37584. "openfeealgorithm": {
  37585. "description": "建仓手续费收取方式 1:比率 2:固定",
  37586. "type": "integer"
  37587. },
  37588. "openmemberchargevalue": {
  37589. "description": "建仓会员手续费设置值",
  37590. "type": "number"
  37591. },
  37592. "openqty": {
  37593. "description": "开仓数量(先建后平操作 需要记录)",
  37594. "type": "number"
  37595. },
  37596. "optiontype": {
  37597. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37598. "type": "integer"
  37599. },
  37600. "orderid": {
  37601. "description": "委托单号",
  37602. "type": "string"
  37603. },
  37604. "payamount": {
  37605. "description": "支付金额(付款金额)",
  37606. "type": "number"
  37607. },
  37608. "performanceplanid": {
  37609. "description": "履约计划ID[期权]",
  37610. "type": "integer"
  37611. },
  37612. "performancestatus": {
  37613. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  37614. "type": "integer"
  37615. },
  37616. "preexerciseprice": {
  37617. "description": "预申报价格",
  37618. "type": "number"
  37619. },
  37620. "premium": {
  37621. "description": "权利金 - [持仓单的权利金]",
  37622. "type": "number"
  37623. },
  37624. "qtydecimalplace": {
  37625. "description": "商品报价小数位",
  37626. "type": "integer"
  37627. },
  37628. "recvamount": {
  37629. "description": "到账金额 = 成交金额 - 手续费",
  37630. "type": "number"
  37631. },
  37632. "relatedouttradeid": {
  37633. "description": "关联外部成交单ID",
  37634. "type": "integer"
  37635. },
  37636. "status": {
  37637. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  37638. "type": "integer"
  37639. },
  37640. "totalamount": {
  37641. "description": "订单总额 = 成交金额 + 手续费",
  37642. "type": "number"
  37643. },
  37644. "tradeamount": {
  37645. "description": "成交金额[账户币种,用于所有权]",
  37646. "type": "number"
  37647. },
  37648. "tradedate": {
  37649. "description": "交易日(yyyyMMdd)",
  37650. "type": "string"
  37651. },
  37652. "tradeid": {
  37653. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37654. "type": "string"
  37655. },
  37656. "trademode": {
  37657. "description": "交易模式",
  37658. "type": "integer"
  37659. },
  37660. "tradeprice": {
  37661. "description": "成交价格",
  37662. "type": "number"
  37663. },
  37664. "tradeproperty": {
  37665. "description": "交易属性",
  37666. "type": "integer"
  37667. },
  37668. "tradeqty": {
  37669. "description": "成交数量",
  37670. "type": "number"
  37671. },
  37672. "tradetime": {
  37673. "description": "成交时间",
  37674. "type": "string"
  37675. },
  37676. "tradetype": {
  37677. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  37678. "type": "integer"
  37679. }
  37680. }
  37681. },
  37682. "order.QueryHisTradeOrderDetailRsp": {
  37683. "type": "object",
  37684. "required": [
  37685. "accountid",
  37686. "buildtype",
  37687. "buyorsell",
  37688. "goodsid",
  37689. "histradedate",
  37690. "marketid",
  37691. "memberuserid",
  37692. "operatetype",
  37693. "orderid",
  37694. "orderqty",
  37695. "ordertime",
  37696. "pricemode",
  37697. "tradedate",
  37698. "validtype"
  37699. ],
  37700. "properties": {
  37701. "accountid": {
  37702. "description": "账户ID[报价币种]",
  37703. "type": "integer"
  37704. },
  37705. "buildtype": {
  37706. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  37707. "type": "integer"
  37708. },
  37709. "buyorsell": {
  37710. "description": "买卖 - 0:买 1:卖",
  37711. "type": "integer"
  37712. },
  37713. "cancelorderid": {
  37714. "description": "撤单单号(撤单时填写)",
  37715. "type": "string"
  37716. },
  37717. "cancelqty": {
  37718. "description": "撤单数量",
  37719. "type": "number"
  37720. },
  37721. "clientordertime": {
  37722. "description": "客户端委托时间",
  37723. "type": "string"
  37724. },
  37725. "clientticket": {
  37726. "description": "客户端流水号",
  37727. "type": "string"
  37728. },
  37729. "clienttype": {
  37730. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  37731. "type": "integer"
  37732. },
  37733. "closeexchagechargevalue": {
  37734. "description": "平仓交易所手续费设置值",
  37735. "type": "number"
  37736. },
  37737. "closefeealgorithm": {
  37738. "description": "平仓手续费收取方式 1:比率 2:固定",
  37739. "type": "integer"
  37740. },
  37741. "closefreezecharge": {
  37742. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  37743. "type": "number"
  37744. },
  37745. "closememberchargevalue": {
  37746. "description": "平仓会员手续费设置值",
  37747. "type": "number"
  37748. },
  37749. "closeqty": {
  37750. "description": "平仓数量(先建后平操作 需要记录)",
  37751. "type": "number"
  37752. },
  37753. "closetradeqty": {
  37754. "description": "平仓成交数量(先建后平操作,需要记录)",
  37755. "type": "number"
  37756. },
  37757. "closeunfreezecharge": {
  37758. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  37759. "type": "number"
  37760. },
  37761. "decimalplace": {
  37762. "description": "商品报价小数位",
  37763. "type": "integer"
  37764. },
  37765. "delistingtype": {
  37766. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  37767. "type": "integer"
  37768. },
  37769. "enumdicname": {
  37770. "description": "单位名称",
  37771. "type": "string"
  37772. },
  37773. "freezecharge": {
  37774. "description": "冻结手续费",
  37775. "type": "number"
  37776. },
  37777. "freezemargin": {
  37778. "description": "冻结保证金(冻结交易金额)",
  37779. "type": "number"
  37780. },
  37781. "gcaccountid": {
  37782. "description": "账户ID[合约币种]",
  37783. "type": "integer"
  37784. },
  37785. "goodscode": {
  37786. "description": "商品代码",
  37787. "type": "string"
  37788. },
  37789. "goodsid": {
  37790. "description": "商品ID",
  37791. "type": "integer"
  37792. },
  37793. "goodsname": {
  37794. "description": "商品名称",
  37795. "type": "string"
  37796. },
  37797. "goodunitid": {
  37798. "description": "商品单位id",
  37799. "type": "integer"
  37800. },
  37801. "histradedate": {
  37802. "description": "历史交易日",
  37803. "type": "string"
  37804. },
  37805. "isconfirmexercise": {
  37806. "description": "是否确认行权- 0:否 1:是",
  37807. "type": "integer"
  37808. },
  37809. "ispreexercise": {
  37810. "description": "是否预申报- 0:否 1:是",
  37811. "type": "integer"
  37812. },
  37813. "isvaliddata": {
  37814. "description": "是否有效 - 0:无效 1:有效",
  37815. "type": "integer"
  37816. },
  37817. "listingselecttype": {
  37818. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37819. "type": "integer"
  37820. },
  37821. "marginalgorithm": {
  37822. "description": "保证金收取方式 1:比率 2:固定",
  37823. "type": "integer"
  37824. },
  37825. "marginvalue": {
  37826. "description": "即市保证金设置值",
  37827. "type": "number"
  37828. },
  37829. "marketid": {
  37830. "description": "市场ID",
  37831. "type": "integer"
  37832. },
  37833. "marketmaxsub": {
  37834. "description": "市价最大偏移范围",
  37835. "type": "number"
  37836. },
  37837. "marketname": {
  37838. "description": "市场名称",
  37839. "type": "string"
  37840. },
  37841. "memberuserid": {
  37842. "description": "所属会员UserID",
  37843. "type": "integer"
  37844. },
  37845. "openexchagechargevalue": {
  37846. "description": "建仓交易所手续费设置值",
  37847. "type": "number"
  37848. },
  37849. "openfeealgorithm": {
  37850. "description": "建仓手续费收取方式 1:比率 2:固定",
  37851. "type": "integer"
  37852. },
  37853. "openfreezecharge": {
  37854. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  37855. "type": "number"
  37856. },
  37857. "openmemberchargevalue": {
  37858. "description": "建仓会员手续费设置值",
  37859. "type": "number"
  37860. },
  37861. "openqty": {
  37862. "description": "开仓数量(先建后平操作,需要记录)",
  37863. "type": "number"
  37864. },
  37865. "opentradeqty": {
  37866. "description": "开仓成交数量(先建后平操作,需要记录)",
  37867. "type": "number"
  37868. },
  37869. "openunfreezecharge": {
  37870. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  37871. "type": "number"
  37872. },
  37873. "operatetype": {
  37874. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  37875. "type": "integer"
  37876. },
  37877. "operatorid": {
  37878. "description": "登录账号(LoginID)",
  37879. "type": "integer"
  37880. },
  37881. "optiontype": {
  37882. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37883. "type": "integer"
  37884. },
  37885. "orderid": {
  37886. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37887. "type": "string"
  37888. },
  37889. "orderprice": {
  37890. "description": "委托价格",
  37891. "type": "number"
  37892. },
  37893. "orderqty": {
  37894. "description": "委托数量",
  37895. "type": "number"
  37896. },
  37897. "ordersrc": {
  37898. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  37899. "type": "integer"
  37900. },
  37901. "orderstatus": {
  37902. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  37903. "type": "integer"
  37904. },
  37905. "ordertime": {
  37906. "description": "委托时间",
  37907. "type": "string"
  37908. },
  37909. "preexerciseprice": {
  37910. "description": "预申报价格",
  37911. "type": "number"
  37912. },
  37913. "premium": {
  37914. "description": "权利金",
  37915. "type": "number"
  37916. },
  37917. "preorderid": {
  37918. "description": "关联预埋单号(止盈止损单时填写)",
  37919. "type": "string"
  37920. },
  37921. "pricemode": {
  37922. "description": "取价方式 - 1:市价 2: 限价",
  37923. "type": "integer"
  37924. },
  37925. "qtydecimalplace": {
  37926. "description": "成交量小数位",
  37927. "type": "integer"
  37928. },
  37929. "quoteid": {
  37930. "description": "报价单ID",
  37931. "type": "integer"
  37932. },
  37933. "relatedid": {
  37934. "description": "关联单号(交割单)",
  37935. "type": "string"
  37936. },
  37937. "retcode": {
  37938. "description": "错误代码",
  37939. "type": "integer"
  37940. },
  37941. "sessionid": {
  37942. "description": "会话ID",
  37943. "type": "integer"
  37944. },
  37945. "tradedate": {
  37946. "description": "交易日(yyyyMMdd)",
  37947. "type": "string"
  37948. },
  37949. "trademode": {
  37950. "description": "交易模式",
  37951. "type": "integer"
  37952. },
  37953. "tradeproperty": {
  37954. "description": "交易属性",
  37955. "type": "integer"
  37956. },
  37957. "tradeqty": {
  37958. "description": "成交数量",
  37959. "type": "number"
  37960. },
  37961. "unfreezecharge": {
  37962. "description": "解冻手续费",
  37963. "type": "number"
  37964. },
  37965. "unfreezemargin": {
  37966. "description": "解冻保证金",
  37967. "type": "number"
  37968. },
  37969. "updatetime": {
  37970. "description": "更新时间",
  37971. "type": "string"
  37972. },
  37973. "uuid": {
  37974. "description": "发起端唯一id",
  37975. "type": "string"
  37976. },
  37977. "validtime": {
  37978. "description": "有效期限",
  37979. "type": "string"
  37980. },
  37981. "validtype": {
  37982. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  37983. "type": "integer"
  37984. },
  37985. "volumetype": {
  37986. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  37987. "type": "integer"
  37988. }
  37989. }
  37990. },
  37991. "order.QueryTradeDetailRsp": {
  37992. "type": "object",
  37993. "required": [
  37994. "accountid",
  37995. "buyorsell",
  37996. "goodsid",
  37997. "marketid",
  37998. "memberuserid",
  37999. "orderid",
  38000. "tradeamount",
  38001. "tradedate",
  38002. "tradeid",
  38003. "tradeprice",
  38004. "tradeqty",
  38005. "tradetime"
  38006. ],
  38007. "properties": {
  38008. "accountid": {
  38009. "description": "账户ID[报价币种]",
  38010. "type": "integer"
  38011. },
  38012. "advanceratio": {
  38013. "description": "首付比率",
  38014. "type": "number"
  38015. },
  38016. "buildtype": {
  38017. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  38018. "type": "integer"
  38019. },
  38020. "buyorsell": {
  38021. "description": "方向 - 0:买 1:卖",
  38022. "type": "integer"
  38023. },
  38024. "charge": {
  38025. "description": "手续费",
  38026. "type": "number"
  38027. },
  38028. "closecharge": {
  38029. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  38030. "type": "number"
  38031. },
  38032. "closeexchagechargevalue": {
  38033. "description": "平仓交易所手续费设置值",
  38034. "type": "number"
  38035. },
  38036. "closefeealgorithm": {
  38037. "description": "平仓手续费收取方式 1:比率 2:固定",
  38038. "type": "integer"
  38039. },
  38040. "closememberchargevalue": {
  38041. "description": "平仓会员手续费设置值",
  38042. "type": "number"
  38043. },
  38044. "closepl": {
  38045. "description": "平仓盈亏",
  38046. "type": "number"
  38047. },
  38048. "closepl2": {
  38049. "description": "平仓盈亏[逐笔]",
  38050. "type": "number"
  38051. },
  38052. "closeqty": {
  38053. "description": "平仓数量(先建后平操作 需要记录)",
  38054. "type": "number"
  38055. },
  38056. "creditamount": {
  38057. "description": "授信金额",
  38058. "type": "number"
  38059. },
  38060. "decimalplace": {
  38061. "description": "商品报价小数位",
  38062. "type": "integer"
  38063. },
  38064. "enumdicname": {
  38065. "description": "单位名称",
  38066. "type": "string"
  38067. },
  38068. "gcaccountid": {
  38069. "description": "账户ID[合约币种]",
  38070. "type": "integer"
  38071. },
  38072. "goodscode": {
  38073. "description": "商品代码",
  38074. "type": "string"
  38075. },
  38076. "goodsid": {
  38077. "description": "商品ID",
  38078. "type": "integer"
  38079. },
  38080. "goodsname": {
  38081. "description": "商品名称",
  38082. "type": "string"
  38083. },
  38084. "goodunitid": {
  38085. "description": "商品单位id",
  38086. "type": "integer"
  38087. },
  38088. "intclosepl": {
  38089. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  38090. "type": "integer"
  38091. },
  38092. "isconfirmexercise": {
  38093. "description": "是否确认行权- 0:否 1:是",
  38094. "type": "integer"
  38095. },
  38096. "ismain": {
  38097. "description": "是否主单 - 0:不是 1:是",
  38098. "type": "integer"
  38099. },
  38100. "ispreexercise": {
  38101. "description": "是否预申报- 0:否 1:是",
  38102. "type": "integer"
  38103. },
  38104. "isreckoned": {
  38105. "description": "是否结算 - 0:未结算 1:已结算",
  38106. "type": "integer"
  38107. },
  38108. "listingselecttype": {
  38109. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  38110. "type": "integer"
  38111. },
  38112. "marketid": {
  38113. "description": "市场ID",
  38114. "type": "integer"
  38115. },
  38116. "marketname": {
  38117. "description": "市场名称",
  38118. "type": "string"
  38119. },
  38120. "matchaccountid": {
  38121. "description": "对手账号id",
  38122. "type": "integer"
  38123. },
  38124. "memberuserid": {
  38125. "description": "会员id 个人投资者 需要填写",
  38126. "type": "integer"
  38127. },
  38128. "opencharge": {
  38129. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  38130. "type": "number"
  38131. },
  38132. "openexchagechargevalue": {
  38133. "description": "建仓交易所手续费设置值",
  38134. "type": "number"
  38135. },
  38136. "openfeealgorithm": {
  38137. "description": "建仓手续费收取方式 1:比率 2:固定",
  38138. "type": "integer"
  38139. },
  38140. "openmemberchargevalue": {
  38141. "description": "建仓会员手续费设置值",
  38142. "type": "number"
  38143. },
  38144. "openqty": {
  38145. "description": "开仓数量(先建后平操作 需要记录)",
  38146. "type": "number"
  38147. },
  38148. "optiontype": {
  38149. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  38150. "type": "integer"
  38151. },
  38152. "orderid": {
  38153. "description": "委托单号",
  38154. "type": "string"
  38155. },
  38156. "payamount": {
  38157. "description": "支付金额(付款金额)",
  38158. "type": "number"
  38159. },
  38160. "performanceplanid": {
  38161. "description": "履约计划ID[期权]",
  38162. "type": "integer"
  38163. },
  38164. "performancestatus": {
  38165. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  38166. "type": "integer"
  38167. },
  38168. "preexerciseprice": {
  38169. "description": "预申报价格",
  38170. "type": "number"
  38171. },
  38172. "premium": {
  38173. "description": "权利金 - [持仓单的权利金]",
  38174. "type": "number"
  38175. },
  38176. "qtydecimalplace": {
  38177. "description": "商品报价小数位",
  38178. "type": "integer"
  38179. },
  38180. "recvamount": {
  38181. "description": "到账金额 = 成交金额 - 手续费",
  38182. "type": "number"
  38183. },
  38184. "relatedouttradeid": {
  38185. "description": "关联外部成交单ID",
  38186. "type": "integer"
  38187. },
  38188. "status": {
  38189. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  38190. "type": "integer"
  38191. },
  38192. "totalamount": {
  38193. "description": "订单总额 = 成交金额 + 手续费",
  38194. "type": "number"
  38195. },
  38196. "tradeamount": {
  38197. "description": "成交金额[账户币种,用于所有权]",
  38198. "type": "number"
  38199. },
  38200. "tradedate": {
  38201. "description": "交易日(yyyyMMdd)",
  38202. "type": "string"
  38203. },
  38204. "tradeid": {
  38205. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38206. "type": "string"
  38207. },
  38208. "trademode": {
  38209. "description": "交易模式",
  38210. "type": "integer"
  38211. },
  38212. "tradeprice": {
  38213. "description": "成交价格",
  38214. "type": "number"
  38215. },
  38216. "tradeproperty": {
  38217. "description": "交易属性",
  38218. "type": "integer"
  38219. },
  38220. "tradeqty": {
  38221. "description": "成交数量",
  38222. "type": "number"
  38223. },
  38224. "tradetime": {
  38225. "description": "成交时间",
  38226. "type": "string"
  38227. },
  38228. "tradetype": {
  38229. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  38230. "type": "integer"
  38231. }
  38232. }
  38233. },
  38234. "order.QueryTradeOrderDetailRsp": {
  38235. "type": "object",
  38236. "required": [
  38237. "accountid",
  38238. "buildtype",
  38239. "buyorsell",
  38240. "goodsid",
  38241. "marketid",
  38242. "operatetype",
  38243. "orderqty",
  38244. "ordertime",
  38245. "pricemode",
  38246. "tradedate",
  38247. "validtype"
  38248. ],
  38249. "properties": {
  38250. "accountid": {
  38251. "description": "账户ID[报价币种]",
  38252. "type": "integer"
  38253. },
  38254. "buildtype": {
  38255. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  38256. "type": "integer"
  38257. },
  38258. "buyorsell": {
  38259. "description": "买卖 - 0:买 1:卖",
  38260. "type": "integer"
  38261. },
  38262. "cancelorderid": {
  38263. "description": "撤单单号(撤单时填写)",
  38264. "type": "string"
  38265. },
  38266. "cancelqty": {
  38267. "description": "撤单数量",
  38268. "type": "number"
  38269. },
  38270. "clienttype": {
  38271. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  38272. "type": "integer"
  38273. },
  38274. "closefreezecharge": {
  38275. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  38276. "type": "number"
  38277. },
  38278. "closeqty": {
  38279. "description": "平仓数量(先建后平操作 需要记录)",
  38280. "type": "number"
  38281. },
  38282. "closetradeqty": {
  38283. "description": "平仓成交数量(先建后平操作,需要记录)",
  38284. "type": "number"
  38285. },
  38286. "closeunfreezecharge": {
  38287. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  38288. "type": "number"
  38289. },
  38290. "decimalplace": {
  38291. "description": "商品报价小数位",
  38292. "type": "integer"
  38293. },
  38294. "delistingtype": {
  38295. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  38296. "type": "integer"
  38297. },
  38298. "enableqty": {
  38299. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  38300. "type": "number"
  38301. },
  38302. "enumdicname": {
  38303. "description": "单位名称",
  38304. "type": "string"
  38305. },
  38306. "freezecharge": {
  38307. "description": "冻结手续费",
  38308. "type": "number"
  38309. },
  38310. "freezemargin": {
  38311. "description": "冻结保证金(冻结交易金额)",
  38312. "type": "number"
  38313. },
  38314. "goodscode": {
  38315. "description": "商品代码",
  38316. "type": "string"
  38317. },
  38318. "goodsid": {
  38319. "description": "商品ID",
  38320. "type": "integer"
  38321. },
  38322. "goodsname": {
  38323. "description": "商品名称",
  38324. "type": "string"
  38325. },
  38326. "goodunitid": {
  38327. "description": "商品单位id",
  38328. "type": "integer"
  38329. },
  38330. "listingselecttype": {
  38331. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  38332. "type": "integer"
  38333. },
  38334. "marketid": {
  38335. "description": "市场ID",
  38336. "type": "integer"
  38337. },
  38338. "marketname": {
  38339. "description": "市场名称",
  38340. "type": "string"
  38341. },
  38342. "openfreezecharge": {
  38343. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  38344. "type": "number"
  38345. },
  38346. "openqty": {
  38347. "description": "开仓数量(先建后平操作,需要记录)",
  38348. "type": "number"
  38349. },
  38350. "opentradeqty": {
  38351. "description": "开仓成交数量(先建后平操作,需要记录)",
  38352. "type": "number"
  38353. },
  38354. "openunfreezecharge": {
  38355. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  38356. "type": "number"
  38357. },
  38358. "operatetype": {
  38359. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  38360. "type": "integer"
  38361. },
  38362. "operatorid": {
  38363. "description": "登录账号(LoginID)",
  38364. "type": "integer"
  38365. },
  38366. "orderid": {
  38367. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38368. "type": "string"
  38369. },
  38370. "orderprice": {
  38371. "description": "委托价格",
  38372. "type": "number"
  38373. },
  38374. "orderqty": {
  38375. "description": "委托数量",
  38376. "type": "number"
  38377. },
  38378. "ordersrc": {
  38379. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  38380. "type": "integer"
  38381. },
  38382. "orderstatus": {
  38383. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  38384. "type": "integer"
  38385. },
  38386. "ordertime": {
  38387. "description": "委托时间",
  38388. "type": "string"
  38389. },
  38390. "preorderid": {
  38391. "description": "关联预埋单号(止盈止损单时填写)",
  38392. "type": "string"
  38393. },
  38394. "pricemode": {
  38395. "description": "取价方式 - 1:市价 2: 限价",
  38396. "type": "integer"
  38397. },
  38398. "qtydecimalplace": {
  38399. "description": "商品报价小数位",
  38400. "type": "integer"
  38401. },
  38402. "relatedid": {
  38403. "description": "关联单号(交割单)",
  38404. "type": "string"
  38405. },
  38406. "tradedate": {
  38407. "description": "交易日(yyyyMMdd)",
  38408. "type": "string"
  38409. },
  38410. "trademode": {
  38411. "description": "交易模式",
  38412. "type": "integer"
  38413. },
  38414. "tradeqty": {
  38415. "description": "成交数量",
  38416. "type": "number"
  38417. },
  38418. "unfreezecharge": {
  38419. "description": "解冻手续费",
  38420. "type": "number"
  38421. },
  38422. "unfreezemargin": {
  38423. "description": "解冻保证金",
  38424. "type": "number"
  38425. },
  38426. "validtime": {
  38427. "description": "有效期限",
  38428. "type": "string"
  38429. },
  38430. "validtype": {
  38431. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  38432. "type": "integer"
  38433. },
  38434. "volumetype": {
  38435. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  38436. "type": "integer"
  38437. }
  38438. }
  38439. },
  38440. "order.QueryTradePositionRsp": {
  38441. "type": "object",
  38442. "required": [
  38443. "goodsid"
  38444. ],
  38445. "properties": {
  38446. "accountid": {
  38447. "description": "资金账户",
  38448. "type": "integer"
  38449. },
  38450. "agreeunit": {
  38451. "description": "合约单位",
  38452. "type": "number"
  38453. },
  38454. "averageprice": {
  38455. "description": "持仓均价",
  38456. "type": "number"
  38457. },
  38458. "buyorsell": {
  38459. "description": "方向 - 0:买 1:卖",
  38460. "type": "integer"
  38461. },
  38462. "closetotalqty": {
  38463. "description": "平仓总数量",
  38464. "type": "number"
  38465. },
  38466. "curholderamount": {
  38467. "description": "当前持仓总金额[商品币种]",
  38468. "type": "number"
  38469. },
  38470. "curpositionqty": {
  38471. "description": "当前持仓总数量",
  38472. "type": "number"
  38473. },
  38474. "currencyid": {
  38475. "description": "报价货币ID",
  38476. "type": "integer"
  38477. },
  38478. "curtdposition": {
  38479. "description": "期末今日头寸",
  38480. "type": "number"
  38481. },
  38482. "decimalplace": {
  38483. "description": "报价小数位",
  38484. "type": "integer"
  38485. },
  38486. "enableqty": {
  38487. "description": "可用量",
  38488. "type": "number"
  38489. },
  38490. "fretdposition": {
  38491. "description": "冻结今日头寸",
  38492. "type": "number"
  38493. },
  38494. "frozenqty": {
  38495. "description": "持仓冻结数量",
  38496. "type": "number"
  38497. },
  38498. "goodscode": {
  38499. "description": "商品代码",
  38500. "type": "string"
  38501. },
  38502. "goodsid": {
  38503. "description": "商品Id",
  38504. "type": "integer"
  38505. },
  38506. "goodsname": {
  38507. "description": "商品名称",
  38508. "type": "string"
  38509. },
  38510. "goodunit": {
  38511. "description": "报价单位",
  38512. "type": "string"
  38513. },
  38514. "goodunitid": {
  38515. "description": "报价单位ID",
  38516. "type": "integer"
  38517. },
  38518. "holderamount": {
  38519. "description": "期初持仓总金额[商品币种]",
  38520. "type": "number"
  38521. },
  38522. "lastprice": {
  38523. "description": "最新价",
  38524. "type": "number"
  38525. },
  38526. "marketamount": {
  38527. "description": "市值",
  38528. "type": "number"
  38529. },
  38530. "marketid": {
  38531. "description": "所属市场ID",
  38532. "type": "integer"
  38533. },
  38534. "openreqqty": {
  38535. "description": "开仓申请数量(用于比较最大持仓数量)",
  38536. "type": "number"
  38537. },
  38538. "opentotalqty": {
  38539. "description": "开仓总数量",
  38540. "type": "number"
  38541. },
  38542. "otherfrozenqty": {
  38543. "description": "持仓其他冻结数量(交割冻结)",
  38544. "type": "number"
  38545. },
  38546. "positionpl": {
  38547. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  38548. "type": "number"
  38549. },
  38550. "positionplrate": {
  38551. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  38552. "type": "number"
  38553. },
  38554. "positionqty": {
  38555. "description": "期初持仓数量",
  38556. "type": "number"
  38557. },
  38558. "qtydecimalplace": {
  38559. "description": "成交量小数位",
  38560. "type": "integer"
  38561. },
  38562. "refgoodscode": {
  38563. "description": "参考商品代码",
  38564. "type": "string"
  38565. },
  38566. "refgoodsid": {
  38567. "description": "参考商品ID",
  38568. "type": "integer"
  38569. },
  38570. "tnqty": {
  38571. "description": "T+N冻结总量",
  38572. "type": "number"
  38573. },
  38574. "tnusedqty": {
  38575. "description": "T+N使用量(可以使用T+N的冻结数量)",
  38576. "type": "number"
  38577. },
  38578. "trademode": {
  38579. "description": "交易模式",
  38580. "type": "integer"
  38581. },
  38582. "tradeproperty": {
  38583. "description": "交易属性",
  38584. "type": "integer"
  38585. },
  38586. "usedmargin": {
  38587. "description": "占用保证金[商品币种]",
  38588. "type": "number"
  38589. }
  38590. }
  38591. },
  38592. "pb.GoodsMarginCfgStruct": {
  38593. "type": "object",
  38594. "properties": {
  38595. "CustomerTypeID": {
  38596. "description": "投资者客户类型",
  38597. "type": "integer"
  38598. },
  38599. "GoodsID": {
  38600. "description": "商品ID",
  38601. "type": "integer"
  38602. },
  38603. "IsDefault": {
  38604. "description": "是否默认标志位",
  38605. "type": "integer"
  38606. },
  38607. "LockMarginValue": {
  38608. "description": "锁仓保证金",
  38609. "type": "number"
  38610. },
  38611. "MarginAlgorithm": {
  38612. "description": "保证金计算方式",
  38613. "type": "integer"
  38614. },
  38615. "MarketMarginValue": {
  38616. "description": "即市保证金值",
  38617. "type": "number"
  38618. },
  38619. "RealMarginAlgorithm": {
  38620. "description": "实付保证金计算方式",
  38621. "type": "integer"
  38622. },
  38623. "RealMarginValue": {
  38624. "description": "实付比例",
  38625. "type": "number"
  38626. },
  38627. "ReckonMarginValue": {
  38628. "description": "结算保证金值",
  38629. "type": "number"
  38630. }
  38631. }
  38632. },
  38633. "quote.HistoryData": {
  38634. "type": "object",
  38635. "properties": {
  38636. "c": {
  38637. "description": "收盘价",
  38638. "type": "number"
  38639. },
  38640. "f": {
  38641. "description": "是否补充数据",
  38642. "type": "boolean"
  38643. },
  38644. "h": {
  38645. "description": "最高价",
  38646. "type": "number"
  38647. },
  38648. "hv": {
  38649. "description": "持仓量",
  38650. "type": "integer"
  38651. },
  38652. "l": {
  38653. "description": "最低价",
  38654. "type": "number"
  38655. },
  38656. "o": {
  38657. "description": "开盘价",
  38658. "type": "number"
  38659. },
  38660. "s": {
  38661. "description": "结算价,日线周期(包括)以上才有",
  38662. "type": "number"
  38663. },
  38664. "ts": {
  38665. "description": "时间",
  38666. "type": "string"
  38667. },
  38668. "tt": {
  38669. "description": "总金额",
  38670. "type": "number"
  38671. },
  38672. "tv": {
  38673. "description": "总量(成交量)",
  38674. "type": "integer"
  38675. }
  38676. }
  38677. },
  38678. "quote.HistoryTikData": {
  38679. "type": "object",
  38680. "properties": {
  38681. "AV": {
  38682. "description": "卖量",
  38683. "type": "integer"
  38684. },
  38685. "Ask": {
  38686. "description": "卖价",
  38687. "type": "number"
  38688. },
  38689. "BV": {
  38690. "description": "买量",
  38691. "type": "integer"
  38692. },
  38693. "Bid": {
  38694. "description": "买价",
  38695. "type": "number"
  38696. },
  38697. "HI": {
  38698. "description": "单笔持仓",
  38699. "type": "integer"
  38700. },
  38701. "HV": {
  38702. "description": "持仓量",
  38703. "type": "integer"
  38704. },
  38705. "PE": {
  38706. "description": "现价",
  38707. "type": "number"
  38708. },
  38709. "TDR": {
  38710. "description": "交易方向,0:买 1:卖",
  38711. "type": "integer"
  38712. },
  38713. "TK": {
  38714. "description": "交易类型",
  38715. "type": "integer"
  38716. },
  38717. "TS": {
  38718. "description": "行情时间文本",
  38719. "type": "string"
  38720. },
  38721. "TT": {
  38722. "description": "现金额",
  38723. "type": "number"
  38724. },
  38725. "Vol": {
  38726. "description": "现量",
  38727. "type": "integer"
  38728. }
  38729. }
  38730. },
  38731. "quote.QueryQuoteDayRsp": {
  38732. "type": "object",
  38733. "properties": {
  38734. "ask": {
  38735. "description": "卖1",
  38736. "type": "number"
  38737. },
  38738. "ask10": {
  38739. "description": "卖10",
  38740. "type": "number"
  38741. },
  38742. "ask2": {
  38743. "description": "卖2",
  38744. "type": "number"
  38745. },
  38746. "ask3": {
  38747. "description": "卖3",
  38748. "type": "number"
  38749. },
  38750. "ask4": {
  38751. "description": "卖4",
  38752. "type": "number"
  38753. },
  38754. "ask5": {
  38755. "description": "卖5",
  38756. "type": "number"
  38757. },
  38758. "ask6": {
  38759. "description": "卖6",
  38760. "type": "number"
  38761. },
  38762. "ask7": {
  38763. "description": "卖7",
  38764. "type": "number"
  38765. },
  38766. "ask8": {
  38767. "description": "卖8",
  38768. "type": "number"
  38769. },
  38770. "ask9": {
  38771. "description": "卖9",
  38772. "type": "number"
  38773. },
  38774. "askorderid": {
  38775. "description": "卖单号1",
  38776. "type": "integer"
  38777. },
  38778. "askorderid2": {
  38779. "description": "卖单号2",
  38780. "type": "integer"
  38781. },
  38782. "askorderid3": {
  38783. "description": "卖单号3",
  38784. "type": "integer"
  38785. },
  38786. "askorderid4": {
  38787. "description": "卖单号4",
  38788. "type": "integer"
  38789. },
  38790. "askorderid5": {
  38791. "description": "卖单号5",
  38792. "type": "integer"
  38793. },
  38794. "askordervolume": {
  38795. "description": "卖单量1",
  38796. "type": "integer"
  38797. },
  38798. "askordervolume10": {
  38799. "description": "卖单量10",
  38800. "type": "integer"
  38801. },
  38802. "askordervolume2": {
  38803. "description": "卖单量2",
  38804. "type": "integer"
  38805. },
  38806. "askordervolume3": {
  38807. "description": "卖单量3",
  38808. "type": "integer"
  38809. },
  38810. "askordervolume4": {
  38811. "description": "卖单量4",
  38812. "type": "integer"
  38813. },
  38814. "askordervolume5": {
  38815. "description": "卖单量5",
  38816. "type": "integer"
  38817. },
  38818. "askordervolume6": {
  38819. "description": "卖单量6",
  38820. "type": "integer"
  38821. },
  38822. "askordervolume7": {
  38823. "description": "卖单量7",
  38824. "type": "integer"
  38825. },
  38826. "askordervolume8": {
  38827. "description": "卖单量8",
  38828. "type": "integer"
  38829. },
  38830. "askordervolume9": {
  38831. "description": "卖单量9",
  38832. "type": "integer"
  38833. },
  38834. "askqueueinfo": {
  38835. "description": "大利市卖港股用",
  38836. "type": "string"
  38837. },
  38838. "askvolume": {
  38839. "description": "卖量1",
  38840. "type": "integer"
  38841. },
  38842. "askvolume10": {
  38843. "description": "卖量10",
  38844. "type": "integer"
  38845. },
  38846. "askvolume2": {
  38847. "description": "卖量2",
  38848. "type": "integer"
  38849. },
  38850. "askvolume3": {
  38851. "description": "卖量3",
  38852. "type": "integer"
  38853. },
  38854. "askvolume4": {
  38855. "description": "卖量4",
  38856. "type": "integer"
  38857. },
  38858. "askvolume5": {
  38859. "description": "卖量5",
  38860. "type": "integer"
  38861. },
  38862. "askvolume6": {
  38863. "description": "卖量6",
  38864. "type": "integer"
  38865. },
  38866. "askvolume7": {
  38867. "description": "卖量7",
  38868. "type": "integer"
  38869. },
  38870. "askvolume8": {
  38871. "description": "卖量8",
  38872. "type": "integer"
  38873. },
  38874. "askvolume9": {
  38875. "description": "卖量9",
  38876. "type": "integer"
  38877. },
  38878. "averageprice": {
  38879. "description": "均价",
  38880. "type": "number"
  38881. },
  38882. "bid": {
  38883. "description": "买1",
  38884. "type": "number"
  38885. },
  38886. "bid10": {
  38887. "description": "买10",
  38888. "type": "number"
  38889. },
  38890. "bid2": {
  38891. "description": "买2",
  38892. "type": "number"
  38893. },
  38894. "bid3": {
  38895. "description": "买3",
  38896. "type": "number"
  38897. },
  38898. "bid4": {
  38899. "description": "买4",
  38900. "type": "number"
  38901. },
  38902. "bid5": {
  38903. "description": "买5",
  38904. "type": "number"
  38905. },
  38906. "bid6": {
  38907. "description": "买6",
  38908. "type": "number"
  38909. },
  38910. "bid7": {
  38911. "description": "买7",
  38912. "type": "number"
  38913. },
  38914. "bid8": {
  38915. "description": "买8",
  38916. "type": "number"
  38917. },
  38918. "bid9": {
  38919. "description": "买9",
  38920. "type": "number"
  38921. },
  38922. "bidorderid": {
  38923. "description": "买单号1",
  38924. "type": "integer"
  38925. },
  38926. "bidorderid2": {
  38927. "description": "买单号2",
  38928. "type": "integer"
  38929. },
  38930. "bidorderid3": {
  38931. "description": "买单号3",
  38932. "type": "integer"
  38933. },
  38934. "bidorderid4": {
  38935. "description": "买单号4",
  38936. "type": "integer"
  38937. },
  38938. "bidorderid5": {
  38939. "description": "买单号5",
  38940. "type": "integer"
  38941. },
  38942. "bidordervolume": {
  38943. "description": "买单量1",
  38944. "type": "integer"
  38945. },
  38946. "bidordervolume10": {
  38947. "description": "买单量10",
  38948. "type": "integer"
  38949. },
  38950. "bidordervolume2": {
  38951. "description": "买单量2",
  38952. "type": "integer"
  38953. },
  38954. "bidordervolume3": {
  38955. "description": "买单量3",
  38956. "type": "integer"
  38957. },
  38958. "bidordervolume4": {
  38959. "description": "买单量4",
  38960. "type": "integer"
  38961. },
  38962. "bidordervolume5": {
  38963. "description": "买单量5",
  38964. "type": "integer"
  38965. },
  38966. "bidordervolume6": {
  38967. "description": "买单量6",
  38968. "type": "integer"
  38969. },
  38970. "bidordervolume7": {
  38971. "description": "买单量7",
  38972. "type": "integer"
  38973. },
  38974. "bidordervolume8": {
  38975. "description": "买单量8",
  38976. "type": "integer"
  38977. },
  38978. "bidordervolume9": {
  38979. "description": "买单量9",
  38980. "type": "integer"
  38981. },
  38982. "bidqueueinfo": {
  38983. "description": "大利市买港股用",
  38984. "type": "string"
  38985. },
  38986. "bidvolume": {
  38987. "description": "买量1",
  38988. "type": "integer"
  38989. },
  38990. "bidvolume10": {
  38991. "description": "买量10",
  38992. "type": "integer"
  38993. },
  38994. "bidvolume2": {
  38995. "description": "买量2",
  38996. "type": "integer"
  38997. },
  38998. "bidvolume3": {
  38999. "description": "买量3",
  39000. "type": "integer"
  39001. },
  39002. "bidvolume4": {
  39003. "description": "买量4",
  39004. "type": "integer"
  39005. },
  39006. "bidvolume5": {
  39007. "description": "买量5",
  39008. "type": "integer"
  39009. },
  39010. "bidvolume6": {
  39011. "description": "买量6",
  39012. "type": "integer"
  39013. },
  39014. "bidvolume7": {
  39015. "description": "买量7",
  39016. "type": "integer"
  39017. },
  39018. "bidvolume8": {
  39019. "description": "买量8",
  39020. "type": "integer"
  39021. },
  39022. "bidvolume9": {
  39023. "description": "买量9",
  39024. "type": "integer"
  39025. },
  39026. "calloptionpremiums": {
  39027. "description": "认购期权1",
  39028. "type": "integer"
  39029. },
  39030. "calloptionpremiums2": {
  39031. "description": "认购期权2",
  39032. "type": "integer"
  39033. },
  39034. "calloptionpremiums3": {
  39035. "description": "认购期权3",
  39036. "type": "integer"
  39037. },
  39038. "calloptionpremiums4": {
  39039. "description": "认购期权4",
  39040. "type": "integer"
  39041. },
  39042. "calloptionpremiums5": {
  39043. "description": "认购期权5",
  39044. "type": "integer"
  39045. },
  39046. "cleartime": {
  39047. "description": "清盘时间",
  39048. "type": "integer"
  39049. },
  39050. "exchangecode": {
  39051. "description": "交易所代码",
  39052. "type": "integer"
  39053. },
  39054. "exchangedate": {
  39055. "description": "交易日",
  39056. "type": "integer"
  39057. },
  39058. "goodscode": {
  39059. "description": "商品代码",
  39060. "type": "string"
  39061. },
  39062. "grepmarketprice": {
  39063. "description": "暗盘价 港股专用",
  39064. "type": "number"
  39065. },
  39066. "highest": {
  39067. "description": "最高价",
  39068. "type": "number"
  39069. },
  39070. "holdincrement": {
  39071. "description": "单笔持仓",
  39072. "type": "integer"
  39073. },
  39074. "holdvolume": {
  39075. "description": "持仓",
  39076. "type": "integer"
  39077. },
  39078. "iep": {
  39079. "description": "平衡价 港股专用",
  39080. "type": "number"
  39081. },
  39082. "iev": {
  39083. "description": "平衡量 港股专用",
  39084. "type": "number"
  39085. },
  39086. "inventory": {
  39087. "description": "库存",
  39088. "type": "integer"
  39089. },
  39090. "iscleared": {
  39091. "description": "是否清盘标志",
  39092. "type": "integer"
  39093. },
  39094. "issettled": {
  39095. "description": "是否结算标志",
  39096. "type": "integer"
  39097. },
  39098. "last": {
  39099. "description": "最新价",
  39100. "type": "number"
  39101. },
  39102. "lastlot": {
  39103. "description": "最新成交手数",
  39104. "type": "integer"
  39105. },
  39106. "lasttime": {
  39107. "description": "行情时间(只有现价变化行情时间才变化)",
  39108. "type": "string"
  39109. },
  39110. "lastturnover": {
  39111. "description": "最新成交金额",
  39112. "type": "number"
  39113. },
  39114. "lastvolume": {
  39115. "description": "最新成交量",
  39116. "type": "integer"
  39117. },
  39118. "limitdown": {
  39119. "description": "跌停价",
  39120. "type": "number"
  39121. },
  39122. "limitup": {
  39123. "description": "涨停价",
  39124. "type": "number"
  39125. },
  39126. "lowest": {
  39127. "description": "最低价",
  39128. "type": "number"
  39129. },
  39130. "nontotalholdervolume": {
  39131. "description": "非交易持仓量",
  39132. "type": "integer"
  39133. },
  39134. "nontotallot": {
  39135. "description": "非交易总手数",
  39136. "type": "integer"
  39137. },
  39138. "nontotalturnover": {
  39139. "description": "非交易总金额",
  39140. "type": "integer"
  39141. },
  39142. "nontotalvolume": {
  39143. "description": "非交易总量",
  39144. "type": "integer"
  39145. },
  39146. "opened": {
  39147. "description": "开盘价",
  39148. "type": "number"
  39149. },
  39150. "opentime": {
  39151. "description": "开盘时间",
  39152. "type": "string"
  39153. },
  39154. "orderid": {
  39155. "description": "序号",
  39156. "type": "integer"
  39157. },
  39158. "preclose": {
  39159. "description": "昨收",
  39160. "type": "number"
  39161. },
  39162. "preholdvolume": {
  39163. "description": "昨持仓",
  39164. "type": "integer"
  39165. },
  39166. "presettle": {
  39167. "description": "昨结价",
  39168. "type": "number"
  39169. },
  39170. "publictradetype": {
  39171. "description": "公共交易标志类型 港股专用",
  39172. "type": "string"
  39173. },
  39174. "putoptionpremiums": {
  39175. "description": "认沽期权1",
  39176. "type": "integer"
  39177. },
  39178. "putoptionpremiums2": {
  39179. "description": "认沽期权2",
  39180. "type": "integer"
  39181. },
  39182. "putoptionpremiums3": {
  39183. "description": "认沽期权3",
  39184. "type": "integer"
  39185. },
  39186. "putoptionpremiums4": {
  39187. "description": "认沽期权4",
  39188. "type": "integer"
  39189. },
  39190. "putoptionpremiums5": {
  39191. "description": "认沽期权5",
  39192. "type": "integer"
  39193. },
  39194. "settle": {
  39195. "description": "结算价",
  39196. "type": "number"
  39197. },
  39198. "strikeprice": {
  39199. "description": "发行价",
  39200. "type": "number"
  39201. },
  39202. "totalaskvolume": {
  39203. "description": "内盘",
  39204. "type": "integer"
  39205. },
  39206. "totalbidvolume": {
  39207. "description": "外盘",
  39208. "type": "integer"
  39209. },
  39210. "totallot": {
  39211. "description": "总手数",
  39212. "type": "integer"
  39213. },
  39214. "totalturnover": {
  39215. "description": "总金额",
  39216. "type": "number"
  39217. },
  39218. "totalvolume": {
  39219. "description": "总量",
  39220. "type": "integer"
  39221. },
  39222. "utclasttime": {
  39223. "description": "utc的行情时间",
  39224. "type": "string"
  39225. }
  39226. }
  39227. },
  39228. "quote.QueryTSDataRsp": {
  39229. "type": "object",
  39230. "properties": {
  39231. "Count": {
  39232. "description": "交易日应有数据个数",
  39233. "type": "integer"
  39234. },
  39235. "decimalPlace": {
  39236. "description": "小数位",
  39237. "type": "integer"
  39238. },
  39239. "endTime": {
  39240. "description": "结束时间",
  39241. "type": "string"
  39242. },
  39243. "goodsCode": {
  39244. "description": "商品代码",
  39245. "type": "string"
  39246. },
  39247. "historyDatas": {
  39248. "description": "历史数据",
  39249. "type": "array",
  39250. "items": {
  39251. "$ref": "#/definitions/quote.HistoryData"
  39252. }
  39253. },
  39254. "outGoodsCode": {
  39255. "description": "外部商品代码",
  39256. "type": "string"
  39257. },
  39258. "preSettle": {
  39259. "description": "昨结价",
  39260. "type": "number"
  39261. },
  39262. "runSteps": {
  39263. "description": "交易日开休市计划",
  39264. "type": "array",
  39265. "items": {
  39266. "$ref": "#/definitions/quote.TSDataRunStep"
  39267. }
  39268. },
  39269. "startTime": {
  39270. "description": "开始时间",
  39271. "type": "string"
  39272. },
  39273. "tradeDate": {
  39274. "description": "交易日",
  39275. "type": "string"
  39276. }
  39277. }
  39278. },
  39279. "quote.TSDataRunStep": {
  39280. "type": "object",
  39281. "properties": {
  39282. "end": {
  39283. "description": "真实结束时间",
  39284. "type": "string"
  39285. },
  39286. "endflag": {
  39287. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  39288. "type": "integer"
  39289. },
  39290. "endtime": {
  39291. "description": "结束时间(HH:mm)",
  39292. "type": "string"
  39293. },
  39294. "endweekday": {
  39295. "description": "结束周几",
  39296. "type": "integer"
  39297. },
  39298. "groupid": {
  39299. "description": "分组ID",
  39300. "type": "integer"
  39301. },
  39302. "runstep": {
  39303. "description": "运行阶段 - 2:连续交易",
  39304. "type": "integer"
  39305. },
  39306. "sectionid": {
  39307. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  39308. "type": "integer"
  39309. },
  39310. "start": {
  39311. "description": "真实开始时间",
  39312. "type": "string"
  39313. },
  39314. "startflag": {
  39315. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  39316. "type": "integer"
  39317. },
  39318. "starttime": {
  39319. "description": "起始时间(HH:mm)",
  39320. "type": "string"
  39321. },
  39322. "startweekday": {
  39323. "description": "起始周几",
  39324. "type": "integer"
  39325. },
  39326. "tradeweekday": {
  39327. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  39328. "type": "integer"
  39329. }
  39330. }
  39331. },
  39332. "szdz.QueryConvertLogRsp": {
  39333. "type": "object",
  39334. "required": [
  39335. "logid"
  39336. ],
  39337. "properties": {
  39338. "accountid": {
  39339. "description": "资金账户ID",
  39340. "type": "integer"
  39341. },
  39342. "clientticket": {
  39343. "description": "客户端流水号",
  39344. "type": "string"
  39345. },
  39346. "converttype": {
  39347. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  39348. "type": "integer"
  39349. },
  39350. "createtime": {
  39351. "description": "记账时间",
  39352. "type": "string"
  39353. },
  39354. "daymaxvalue": {
  39355. "description": "配置当日最大转入限制",
  39356. "type": "number"
  39357. },
  39358. "daymaxvalue2": {
  39359. "description": "配置当日最大转入限制(转入)",
  39360. "type": "number"
  39361. },
  39362. "goodscode": {
  39363. "description": "商品代码",
  39364. "type": "string"
  39365. },
  39366. "goodsname": {
  39367. "description": "商品名称",
  39368. "type": "string"
  39369. },
  39370. "handlestatus": {
  39371. "description": "处理状态",
  39372. "type": "integer"
  39373. },
  39374. "innergoodsid": {
  39375. "description": "内部商品ID",
  39376. "type": "integer"
  39377. },
  39378. "inratio": {
  39379. "description": "配置转入比值",
  39380. "type": "integer"
  39381. },
  39382. "invalue": {
  39383. "description": "目标值",
  39384. "type": "number"
  39385. },
  39386. "logid": {
  39387. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  39388. "type": "integer"
  39389. },
  39390. "mobile": {
  39391. "description": "手机号码(加密存储)",
  39392. "type": "string"
  39393. },
  39394. "outergoodscode": {
  39395. "description": "外部商品代码[JD\\PD]",
  39396. "type": "string"
  39397. },
  39398. "outratio": {
  39399. "description": "配置转出比值",
  39400. "type": "integer"
  39401. },
  39402. "outvalue": {
  39403. "description": "源值",
  39404. "type": "number"
  39405. },
  39406. "pddecimalplace": {
  39407. "description": "PD小数位",
  39408. "type": "integer"
  39409. },
  39410. "qty": {
  39411. "description": "数量",
  39412. "type": "string"
  39413. },
  39414. "remark": {
  39415. "description": "备注",
  39416. "type": "string"
  39417. },
  39418. "sessionid": {
  39419. "description": "会话ID",
  39420. "type": "integer"
  39421. },
  39422. "timemaxvalue": {
  39423. "description": "配置单次最大转入限制",
  39424. "type": "number"
  39425. },
  39426. "timemaxvalue2": {
  39427. "description": "配置单次最大转入限制(转入)",
  39428. "type": "number"
  39429. },
  39430. "timeminvalue": {
  39431. "description": "配置单次最小数量限制",
  39432. "type": "number"
  39433. },
  39434. "timeminvalue2": {
  39435. "description": "配置单次最小数量限制(转入)",
  39436. "type": "number"
  39437. },
  39438. "tradedate": {
  39439. "description": "交易日(yyyyMMdd)",
  39440. "type": "string"
  39441. },
  39442. "userid": {
  39443. "description": "用户ID",
  39444. "type": "integer"
  39445. }
  39446. }
  39447. },
  39448. "szdz.QueryGoodsPickupRsp": {
  39449. "type": "object",
  39450. "required": [
  39451. "takeorderid"
  39452. ],
  39453. "properties": {
  39454. "accountid": {
  39455. "description": "账户ID",
  39456. "type": "integer"
  39457. },
  39458. "address": {
  39459. "description": "提货人详细地址",
  39460. "type": "string"
  39461. },
  39462. "auditer": {
  39463. "description": "审核人",
  39464. "type": "integer"
  39465. },
  39466. "audittime": {
  39467. "description": "审核时间",
  39468. "type": "string"
  39469. },
  39470. "cardnum": {
  39471. "description": "提货人证件号码",
  39472. "type": "string"
  39473. },
  39474. "cardtypeid": {
  39475. "description": "提货人证件类型",
  39476. "type": "integer"
  39477. },
  39478. "checkremark": {
  39479. "description": "审核备注",
  39480. "type": "string"
  39481. },
  39482. "goodscode": {
  39483. "description": "商品代码",
  39484. "type": "string"
  39485. },
  39486. "goodsid": {
  39487. "description": "商品ID",
  39488. "type": "integer"
  39489. },
  39490. "goodsname": {
  39491. "description": "商品名称",
  39492. "type": "string"
  39493. },
  39494. "handlestatus": {
  39495. "description": "处理状态",
  39496. "type": "integer"
  39497. },
  39498. "marketid": {
  39499. "description": "市场ID",
  39500. "type": "integer"
  39501. },
  39502. "phonenum": {
  39503. "description": "提货人联系方式",
  39504. "type": "string"
  39505. },
  39506. "qty": {
  39507. "description": "提货数量",
  39508. "type": "number"
  39509. },
  39510. "recivername": {
  39511. "description": "提货人姓名",
  39512. "type": "string"
  39513. },
  39514. "reqtime": {
  39515. "description": "更新时间",
  39516. "type": "string"
  39517. },
  39518. "takemode": {
  39519. "description": "提货方式 - 2:自提 3:配送",
  39520. "type": "integer"
  39521. },
  39522. "takeorderid": {
  39523. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  39524. "type": "string"
  39525. },
  39526. "takeorderstatus": {
  39527. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  39528. "type": "integer"
  39529. },
  39530. "takeremark": {
  39531. "description": "提货备注",
  39532. "type": "string"
  39533. },
  39534. "tradedate": {
  39535. "description": "交易日(yyyyMMdd)",
  39536. "type": "string"
  39537. },
  39538. "userid": {
  39539. "description": "用户ID",
  39540. "type": "integer"
  39541. }
  39542. }
  39543. },
  39544. "szdz.QueryRecieptOrderRsp": {
  39545. "type": "object",
  39546. "required": [
  39547. "ordertime"
  39548. ],
  39549. "properties": {
  39550. "accountName": {
  39551. "description": "所属账号名称(已脱敏)",
  39552. "type": "string"
  39553. },
  39554. "accountid": {
  39555. "description": "资金账号",
  39556. "type": "integer"
  39557. },
  39558. "buyorsell": {
  39559. "description": "方向 - 0:买 1:卖",
  39560. "type": "integer"
  39561. },
  39562. "enableqty": {
  39563. "description": "可摘数量",
  39564. "type": "integer"
  39565. },
  39566. "goodscode": {
  39567. "description": "商品代码",
  39568. "type": "string"
  39569. },
  39570. "goodsid": {
  39571. "description": "商品ID",
  39572. "type": "integer"
  39573. },
  39574. "goodsname": {
  39575. "description": "商品名称",
  39576. "type": "string"
  39577. },
  39578. "orderid": {
  39579. "description": "委托单号",
  39580. "type": "string"
  39581. },
  39582. "orderprice": {
  39583. "description": "委托价格",
  39584. "type": "number"
  39585. },
  39586. "ordertime": {
  39587. "description": "委托时间",
  39588. "type": "string"
  39589. },
  39590. "tradedate": {
  39591. "description": "交易日(yyyyMMdd)",
  39592. "type": "string"
  39593. }
  39594. }
  39595. },
  39596. "szdz.QuerySZDZTradePositionRsp": {
  39597. "type": "object",
  39598. "properties": {
  39599. "accountid": {
  39600. "description": "账号Id",
  39601. "type": "integer"
  39602. },
  39603. "agreeunit": {
  39604. "description": "合约单位",
  39605. "type": "number"
  39606. },
  39607. "averageprice": {
  39608. "description": "持仓均价",
  39609. "type": "number"
  39610. },
  39611. "buyorsell": {
  39612. "description": "方向 - 0:买 1:卖",
  39613. "type": "integer"
  39614. },
  39615. "closetotalqty": {
  39616. "description": "平仓总数量",
  39617. "type": "integer"
  39618. },
  39619. "curholderamount": {
  39620. "description": "当前持仓总金额",
  39621. "type": "number"
  39622. },
  39623. "curpositionqty": {
  39624. "description": "当前持仓总数量",
  39625. "type": "integer"
  39626. },
  39627. "currencyid": {
  39628. "description": "报价货币ID",
  39629. "type": "integer"
  39630. },
  39631. "curtdposition": {
  39632. "description": "期末今日头寸",
  39633. "type": "integer"
  39634. },
  39635. "decimalplace": {
  39636. "description": "报价小数位",
  39637. "type": "integer"
  39638. },
  39639. "enableqty": {
  39640. "description": "可用量",
  39641. "type": "integer"
  39642. },
  39643. "fretdposition": {
  39644. "description": "冻结今日头寸",
  39645. "type": "integer"
  39646. },
  39647. "frozenqty": {
  39648. "description": "持仓冻结数量",
  39649. "type": "integer"
  39650. },
  39651. "goodscode": {
  39652. "description": "商品代码(内部)",
  39653. "type": "string"
  39654. },
  39655. "goodsid": {
  39656. "description": "商品Id",
  39657. "type": "integer"
  39658. },
  39659. "goodsname": {
  39660. "description": "商品名称",
  39661. "type": "string"
  39662. },
  39663. "goodunit": {
  39664. "description": "报价单位",
  39665. "type": "string"
  39666. },
  39667. "goodunitid": {
  39668. "description": "报价单位ID",
  39669. "type": "integer"
  39670. },
  39671. "holderamount": {
  39672. "description": "期初持仓总金额",
  39673. "type": "number"
  39674. },
  39675. "marketid": {
  39676. "description": "市场ID",
  39677. "type": "integer"
  39678. },
  39679. "openreqqty": {
  39680. "description": "开仓申请数量",
  39681. "type": "integer"
  39682. },
  39683. "opentotalqty": {
  39684. "description": "开仓总数量",
  39685. "type": "integer"
  39686. },
  39687. "otherfrozenqty": {
  39688. "description": "持仓其他冻结数量(交割冻结)",
  39689. "type": "integer"
  39690. },
  39691. "positionqty": {
  39692. "description": "期初持仓数量",
  39693. "type": "integer"
  39694. },
  39695. "szdz3freezqty": {
  39696. "description": "尚志大宗转换冻结总数量",
  39697. "type": "integer"
  39698. },
  39699. "tnqty": {
  39700. "description": "T+N冻结总量",
  39701. "type": "integer"
  39702. },
  39703. "tnusedqty": {
  39704. "description": "T+N使用量",
  39705. "type": "integer"
  39706. },
  39707. "trademode": {
  39708. "description": "交易模式",
  39709. "type": "integer"
  39710. },
  39711. "usedmargin": {
  39712. "description": "占用保证金",
  39713. "type": "number"
  39714. }
  39715. }
  39716. },
  39717. "taaccount.QueryAmountLogRsp": {
  39718. "type": "object",
  39719. "required": [
  39720. "accountid",
  39721. "amount",
  39722. "amountadjusttype",
  39723. "autoid",
  39724. "balance",
  39725. "createtime",
  39726. "currentbalance",
  39727. "operatetype"
  39728. ],
  39729. "properties": {
  39730. "OPERATETYPENAME": {
  39731. "description": "资金操作类型名称",
  39732. "type": "string"
  39733. },
  39734. "accountid": {
  39735. "description": "资金账户ID",
  39736. "type": "integer"
  39737. },
  39738. "agoodscode": {
  39739. "description": "竞拍商品代码",
  39740. "type": "string"
  39741. },
  39742. "agoodsname": {
  39743. "description": "竞拍商品名称",
  39744. "type": "string"
  39745. },
  39746. "amount": {
  39747. "description": "资金金额",
  39748. "type": "number"
  39749. },
  39750. "amountadjusttype": {
  39751. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  39752. "type": "integer"
  39753. },
  39754. "autoid": {
  39755. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  39756. "type": "integer"
  39757. },
  39758. "balance": {
  39759. "description": "期初余额",
  39760. "type": "number"
  39761. },
  39762. "businesscode": {
  39763. "description": "业务编号",
  39764. "type": "integer"
  39765. },
  39766. "createtime": {
  39767. "description": "发生时间",
  39768. "type": "string"
  39769. },
  39770. "currencyid": {
  39771. "description": "币种ID",
  39772. "type": "integer"
  39773. },
  39774. "currentbalance": {
  39775. "description": "期末余额(变动后金额)",
  39776. "type": "number"
  39777. },
  39778. "dgoodscode": {
  39779. "description": "交割商品代码",
  39780. "type": "string"
  39781. },
  39782. "dgoodsname": {
  39783. "description": "交割商品名称",
  39784. "type": "string"
  39785. },
  39786. "goodscode": {
  39787. "description": "商品代码",
  39788. "type": "string"
  39789. },
  39790. "goodsid": {
  39791. "description": "商品ID",
  39792. "type": "integer"
  39793. },
  39794. "goodsname": {
  39795. "description": "商品名称",
  39796. "type": "string"
  39797. },
  39798. "marketid": {
  39799. "description": "市场ID",
  39800. "type": "integer"
  39801. },
  39802. "marketname": {
  39803. "description": "市场名称",
  39804. "type": "string"
  39805. },
  39806. "moneyticket": {
  39807. "description": "资金流水号:银行端流水号",
  39808. "type": "integer"
  39809. },
  39810. "operatetype": {
  39811. "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:营销收款",
  39812. "type": "integer"
  39813. },
  39814. "relationorderid": {
  39815. "description": "关联单号",
  39816. "type": "string"
  39817. },
  39818. "remark": {
  39819. "description": "备注",
  39820. "type": "string"
  39821. },
  39822. "trademode": {
  39823. "description": "交易模式",
  39824. "type": "integer"
  39825. }
  39826. }
  39827. },
  39828. "taaccount.QueryHisAmountLogRsp": {
  39829. "type": "object",
  39830. "required": [
  39831. "accountid",
  39832. "amount",
  39833. "amountadjusttype",
  39834. "autoid",
  39835. "balance",
  39836. "createtime",
  39837. "currentbalance",
  39838. "histradedate",
  39839. "operatetype"
  39840. ],
  39841. "properties": {
  39842. "OPERATETYPENAME": {
  39843. "description": "资金操作类型名称",
  39844. "type": "string"
  39845. },
  39846. "accountid": {
  39847. "description": "资金账户ID",
  39848. "type": "integer"
  39849. },
  39850. "agoodscode": {
  39851. "description": "竞拍商品代码",
  39852. "type": "string"
  39853. },
  39854. "agoodsname": {
  39855. "description": "竞拍商品名称",
  39856. "type": "string"
  39857. },
  39858. "amount": {
  39859. "description": "资金金额",
  39860. "type": "number"
  39861. },
  39862. "amountadjusttype": {
  39863. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  39864. "type": "integer"
  39865. },
  39866. "autoid": {
  39867. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  39868. "type": "integer"
  39869. },
  39870. "balance": {
  39871. "description": "期初余额",
  39872. "type": "number"
  39873. },
  39874. "businesscode": {
  39875. "description": "业务编号",
  39876. "type": "integer"
  39877. },
  39878. "createtime": {
  39879. "description": "发生时间",
  39880. "type": "string"
  39881. },
  39882. "currencyid": {
  39883. "description": "币种ID",
  39884. "type": "integer"
  39885. },
  39886. "currentbalance": {
  39887. "description": "期末余额(变动后金额)",
  39888. "type": "number"
  39889. },
  39890. "dgoodscode": {
  39891. "description": "交割商品代码",
  39892. "type": "string"
  39893. },
  39894. "dgoodsname": {
  39895. "description": "交割商品名称",
  39896. "type": "string"
  39897. },
  39898. "goodscode": {
  39899. "description": "商品代码",
  39900. "type": "string"
  39901. },
  39902. "goodsid": {
  39903. "description": "商品ID",
  39904. "type": "integer"
  39905. },
  39906. "goodsname": {
  39907. "description": "商品名称",
  39908. "type": "string"
  39909. },
  39910. "histradedate": {
  39911. "description": "历史交易日",
  39912. "type": "string"
  39913. },
  39914. "isvaliddata": {
  39915. "description": "是否有效 - 0:无效 1:有效",
  39916. "type": "integer"
  39917. },
  39918. "marketid": {
  39919. "description": "市场ID",
  39920. "type": "integer"
  39921. },
  39922. "marketname": {
  39923. "description": "市场名称",
  39924. "type": "string"
  39925. },
  39926. "moneyticket": {
  39927. "description": "资金流水号:银行端流水号",
  39928. "type": "integer"
  39929. },
  39930. "operatetype": {
  39931. "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:营销收款",
  39932. "type": "integer"
  39933. },
  39934. "relationorderid": {
  39935. "description": "关联单号",
  39936. "type": "string"
  39937. },
  39938. "remark": {
  39939. "description": "备注",
  39940. "type": "string"
  39941. },
  39942. "trademode": {
  39943. "description": "交易模式",
  39944. "type": "integer"
  39945. }
  39946. }
  39947. },
  39948. "trade.QueryRecieptOrderRsp": {
  39949. "type": "object",
  39950. "required": [
  39951. "ordertime"
  39952. ],
  39953. "properties": {
  39954. "accountName": {
  39955. "description": "所属账号名称(已脱敏)",
  39956. "type": "string"
  39957. },
  39958. "accountid": {
  39959. "description": "资金账号",
  39960. "type": "integer"
  39961. },
  39962. "buyorsell": {
  39963. "description": "方向 - 0:买 1:卖",
  39964. "type": "integer"
  39965. },
  39966. "enableqty": {
  39967. "description": "可摘数量",
  39968. "type": "integer"
  39969. },
  39970. "goodscode": {
  39971. "description": "商品代码",
  39972. "type": "string"
  39973. },
  39974. "goodsid": {
  39975. "description": "商品ID",
  39976. "type": "integer"
  39977. },
  39978. "goodsname": {
  39979. "description": "商品名称",
  39980. "type": "string"
  39981. },
  39982. "orderid": {
  39983. "description": "委托单号",
  39984. "type": "string"
  39985. },
  39986. "orderprice": {
  39987. "description": "委托价格",
  39988. "type": "number"
  39989. },
  39990. "ordertime": {
  39991. "description": "委托时间",
  39992. "type": "string"
  39993. },
  39994. "tradedate": {
  39995. "description": "交易日(yyyyMMdd)",
  39996. "type": "string"
  39997. }
  39998. }
  39999. },
  40000. "user.LoginQueryRsp": {
  40001. "type": "object",
  40002. "properties": {
  40003. "areaRoles": {
  40004. "description": "所属角色信息",
  40005. "type": "array",
  40006. "items": {
  40007. "$ref": "#/definitions/models.Arearole"
  40008. }
  40009. },
  40010. "externalExchanges": {
  40011. "description": "外部交易所",
  40012. "type": "array",
  40013. "items": {
  40014. "$ref": "#/definitions/models.Externalexchange"
  40015. }
  40016. },
  40017. "goodsgroups": {
  40018. "description": "商品组",
  40019. "type": "array",
  40020. "items": {
  40021. "$ref": "#/definitions/models.Goodsgroup"
  40022. }
  40023. },
  40024. "loginAccount": {
  40025. "description": "登录账号",
  40026. "$ref": "#/definitions/models.Loginaccount"
  40027. },
  40028. "markets": {
  40029. "description": "市场",
  40030. "type": "array",
  40031. "items": {
  40032. "$ref": "#/definitions/models.Market"
  40033. }
  40034. },
  40035. "systemParams": {
  40036. "description": "系统参数",
  40037. "type": "array",
  40038. "items": {
  40039. "$ref": "#/definitions/models.Systemparam"
  40040. }
  40041. },
  40042. "userAccount": {
  40043. "description": "用户账号",
  40044. "$ref": "#/definitions/models.Useraccount"
  40045. },
  40046. "userInfo": {
  40047. "description": "用户信息",
  40048. "$ref": "#/definitions/models.Userinfo"
  40049. },
  40050. "username": {
  40051. "description": "用户姓名",
  40052. "type": "string"
  40053. }
  40054. }
  40055. }
  40056. },
  40057. "securityDefinitions": {
  40058. "ApiKeyAuth": {
  40059. "type": "apiKey",
  40060. "name": "Authorization",
  40061. "in": "header"
  40062. }
  40063. }
  40064. }