swagger.json 1.3 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276
  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. "license": {},
  9. "version": "1.0"
  10. },
  11. "basePath": "/api",
  12. "paths": {
  13. "/CPTrade/QueryCPTradeMyBidInfos": {
  14. "get": {
  15. "security": [
  16. {
  17. "ApiKeyAuth": []
  18. }
  19. ],
  20. "produces": [
  21. "application/json"
  22. ],
  23. "tags": [
  24. "产能预售"
  25. ],
  26. "summary": "查询产能预售我的出价信息",
  27. "parameters": [
  28. {
  29. "type": "integer",
  30. "description": "资金账户",
  31. "name": "accountid",
  32. "in": "query",
  33. "required": true
  34. },
  35. {
  36. "type": "integer",
  37. "description": "预售市场ID",
  38. "name": "marketid",
  39. "in": "query"
  40. },
  41. {
  42. "type": "integer",
  43. "description": "预售商品ID",
  44. "name": "goodsid",
  45. "in": "query"
  46. }
  47. ],
  48. "responses": {
  49. "200": {
  50. "description": "OK",
  51. "schema": {
  52. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  53. }
  54. },
  55. "500": {
  56. "description": "Internal Server Error",
  57. "schema": {
  58. "$ref": "#/definitions/app.Response"
  59. }
  60. }
  61. }
  62. }
  63. },
  64. "/CPTrade/QueryCPTradeOrderDetail": {
  65. "get": {
  66. "security": [
  67. {
  68. "ApiKeyAuth": []
  69. }
  70. ],
  71. "produces": [
  72. "application/json"
  73. ],
  74. "tags": [
  75. "产能预售"
  76. ],
  77. "summary": "查询产能预售委托单信息",
  78. "parameters": [
  79. {
  80. "type": "integer",
  81. "description": "预售商品ID",
  82. "name": "goodsid",
  83. "in": "query"
  84. },
  85. {
  86. "type": "integer",
  87. "description": "预售市场ID",
  88. "name": "marketid",
  89. "in": "query"
  90. },
  91. {
  92. "type": "string",
  93. "description": "预售商品ID列表 - 格式:1,2,3",
  94. "name": "goodsids",
  95. "in": "query"
  96. }
  97. ],
  98. "responses": {
  99. "200": {
  100. "description": "OK",
  101. "schema": {
  102. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  103. }
  104. },
  105. "500": {
  106. "description": "Internal Server Error",
  107. "schema": {
  108. "$ref": "#/definitions/app.Response"
  109. }
  110. }
  111. }
  112. }
  113. },
  114. "/CPTrade/QueryMyCPTradeGoods": {
  115. "get": {
  116. "security": [
  117. {
  118. "ApiKeyAuth": []
  119. }
  120. ],
  121. "produces": [
  122. "application/json"
  123. ],
  124. "tags": [
  125. "产能预售"
  126. ],
  127. "summary": "查询我的预售信息",
  128. "parameters": [
  129. {
  130. "type": "integer",
  131. "description": "资金账户",
  132. "name": "accountid",
  133. "in": "query",
  134. "required": true
  135. }
  136. ],
  137. "responses": {
  138. "200": {
  139. "description": "OK",
  140. "schema": {
  141. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  142. }
  143. },
  144. "500": {
  145. "description": "Internal Server Error",
  146. "schema": {
  147. "$ref": "#/definitions/app.Response"
  148. }
  149. }
  150. }
  151. }
  152. },
  153. "/CPTrade/QueryPositionCancel": {
  154. "get": {
  155. "security": [
  156. {
  157. "ApiKeyAuth": []
  158. }
  159. ],
  160. "produces": [
  161. "application/json"
  162. ],
  163. "tags": [
  164. "产能预售"
  165. ],
  166. "summary": "查询远期订单注销申请信息",
  167. "parameters": [
  168. {
  169. "type": "integer",
  170. "description": "账户ID",
  171. "name": "userid",
  172. "in": "query",
  173. "required": true
  174. },
  175. {
  176. "type": "integer",
  177. "description": "注销ID",
  178. "name": "cancelid",
  179. "in": "query"
  180. },
  181. {
  182. "type": "integer",
  183. "description": "资金账户ID",
  184. "name": "accountid",
  185. "in": "query"
  186. }
  187. ],
  188. "responses": {
  189. "200": {
  190. "description": "OK",
  191. "schema": {
  192. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  193. }
  194. },
  195. "500": {
  196. "description": "Internal Server Error",
  197. "schema": {
  198. "$ref": "#/definitions/app.Response"
  199. }
  200. }
  201. }
  202. }
  203. },
  204. "/CPTrade/QueryPreasleApply": {
  205. "get": {
  206. "security": [
  207. {
  208. "ApiKeyAuth": []
  209. }
  210. ],
  211. "produces": [
  212. "application/json"
  213. ],
  214. "tags": [
  215. "产能预售"
  216. ],
  217. "summary": "查询产能预售申请信息",
  218. "parameters": [
  219. {
  220. "type": "integer",
  221. "description": "账户ID",
  222. "name": "userid",
  223. "in": "query",
  224. "required": true
  225. },
  226. {
  227. "type": "integer",
  228. "description": "申请ID",
  229. "name": "applyid",
  230. "in": "query"
  231. },
  232. {
  233. "type": "integer",
  234. "description": "资金账户ID",
  235. "name": "accountid",
  236. "in": "query"
  237. }
  238. ],
  239. "responses": {
  240. "200": {
  241. "description": "OK",
  242. "schema": {
  243. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  244. }
  245. },
  246. "500": {
  247. "description": "Internal Server Error",
  248. "schema": {
  249. "$ref": "#/definitions/app.Response"
  250. }
  251. }
  252. }
  253. }
  254. },
  255. "/CPTrade/QueryPresaleGoodsEx": {
  256. "get": {
  257. "security": [
  258. {
  259. "ApiKeyAuth": []
  260. }
  261. ],
  262. "produces": [
  263. "application/json"
  264. ],
  265. "tags": [
  266. "产能预售"
  267. ],
  268. "summary": "查询产能预售商品扩展信息",
  269. "parameters": [
  270. {
  271. "type": "integer",
  272. "description": "预售商品ID",
  273. "name": "goodsid",
  274. "in": "query"
  275. },
  276. {
  277. "type": "integer",
  278. "description": "预售市场ID",
  279. "name": "marketid",
  280. "in": "query"
  281. },
  282. {
  283. "type": "integer",
  284. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  285. "name": "presalemode",
  286. "in": "query"
  287. },
  288. {
  289. "type": "string",
  290. "description": "预售商品ID列表 - 格式:1,2,3",
  291. "name": "goodsids",
  292. "in": "query"
  293. },
  294. {
  295. "type": "string",
  296. "description": "预售商品代码",
  297. "name": "goodscode",
  298. "in": "query"
  299. }
  300. ],
  301. "responses": {
  302. "200": {
  303. "description": "OK",
  304. "schema": {
  305. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  306. }
  307. },
  308. "500": {
  309. "description": "Internal Server Error",
  310. "schema": {
  311. "$ref": "#/definitions/app.Response"
  312. }
  313. }
  314. }
  315. }
  316. },
  317. "/CPTrade/QueryUserGoodsData": {
  318. "get": {
  319. "security": [
  320. {
  321. "ApiKeyAuth": []
  322. }
  323. ],
  324. "produces": [
  325. "application/json"
  326. ],
  327. "tags": [
  328. "产能预售"
  329. ],
  330. "summary": "查询远期订单信息",
  331. "parameters": [
  332. {
  333. "type": "integer",
  334. "description": "资金账户ID",
  335. "name": "accountid",
  336. "in": "query",
  337. "required": true
  338. }
  339. ],
  340. "responses": {
  341. "200": {
  342. "description": "OK",
  343. "schema": {
  344. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  345. }
  346. },
  347. "500": {
  348. "description": "Internal Server Error",
  349. "schema": {
  350. "$ref": "#/definitions/app.Response"
  351. }
  352. }
  353. }
  354. }
  355. },
  356. "/Common/GetAllEnums": {
  357. "get": {
  358. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  359. "produces": [
  360. "application/json"
  361. ],
  362. "tags": [
  363. "通用服务"
  364. ],
  365. "summary": "获取所有枚举信息",
  366. "parameters": [
  367. {
  368. "type": "integer",
  369. "description": "起始自增ID",
  370. "name": "autoid",
  371. "in": "query"
  372. }
  373. ],
  374. "responses": {
  375. "200": {
  376. "description": "OK",
  377. "schema": {
  378. "$ref": "#/definitions/models.Enumdicitem"
  379. }
  380. },
  381. "500": {
  382. "description": "Internal Server Error",
  383. "schema": {
  384. "$ref": "#/definitions/app.Response"
  385. }
  386. }
  387. }
  388. }
  389. },
  390. "/Common/GetClientMenus": {
  391. "get": {
  392. "security": [
  393. {
  394. "ApiKeyAuth": []
  395. }
  396. ],
  397. "produces": [
  398. "application/json"
  399. ],
  400. "tags": [
  401. "通用服务"
  402. ],
  403. "summary": "获取交易端菜单",
  404. "parameters": [
  405. {
  406. "type": "integer",
  407. "description": "登录账号",
  408. "name": "loginID",
  409. "in": "query",
  410. "required": true
  411. },
  412. {
  413. "type": "integer",
  414. "description": "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据",
  415. "name": "clientType",
  416. "in": "query"
  417. },
  418. {
  419. "type": "string",
  420. "description": "分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台",
  421. "name": "name",
  422. "in": "query"
  423. }
  424. ],
  425. "responses": {
  426. "200": {
  427. "description": "OK",
  428. "schema": {
  429. "type": "array",
  430. "items": {
  431. "$ref": "#/definitions/common.ClientMenu"
  432. }
  433. }
  434. },
  435. "500": {
  436. "description": "Internal Server Error",
  437. "schema": {
  438. "$ref": "#/definitions/app.Response"
  439. }
  440. }
  441. }
  442. }
  443. },
  444. "/Common/GetDivisions": {
  445. "get": {
  446. "produces": [
  447. "application/json"
  448. ],
  449. "tags": [
  450. "通用服务"
  451. ],
  452. "summary": "查询区域信息",
  453. "responses": {
  454. "200": {
  455. "description": "OK",
  456. "schema": {
  457. "$ref": "#/definitions/models.Division"
  458. }
  459. },
  460. "500": {
  461. "description": "Internal Server Error",
  462. "schema": {
  463. "$ref": "#/definitions/app.Response"
  464. }
  465. }
  466. }
  467. }
  468. },
  469. "/Common/GetServerTime": {
  470. "get": {
  471. "produces": [
  472. "application/json"
  473. ],
  474. "tags": [
  475. "通用服务"
  476. ],
  477. "summary": "获取服务器时间",
  478. "responses": {
  479. "200": {
  480. "description": "OK",
  481. "schema": {
  482. "$ref": "#/definitions/app.Response"
  483. }
  484. },
  485. "500": {
  486. "description": "Internal Server Error",
  487. "schema": {
  488. "$ref": "#/definitions/app.Response"
  489. }
  490. }
  491. }
  492. }
  493. },
  494. "/Common/NoticeReaded": {
  495. "post": {
  496. "security": [
  497. {
  498. "ApiKeyAuth": []
  499. }
  500. ],
  501. "produces": [
  502. "application/json"
  503. ],
  504. "tags": [
  505. "通用服务"
  506. ],
  507. "summary": "通知公告设置已读请求",
  508. "parameters": [
  509. {
  510. "type": "integer",
  511. "description": "登录账号",
  512. "name": "loginID",
  513. "in": "query",
  514. "required": true
  515. },
  516. {
  517. "type": "integer",
  518. "description": "通知公告ID",
  519. "name": "noticeID",
  520. "in": "query",
  521. "required": true
  522. }
  523. ],
  524. "responses": {
  525. "200": {
  526. "description": "OK",
  527. "schema": {
  528. "$ref": "#/definitions/app.Response"
  529. }
  530. },
  531. "500": {
  532. "description": "Internal Server Error",
  533. "schema": {
  534. "$ref": "#/definitions/app.Response"
  535. }
  536. }
  537. }
  538. }
  539. },
  540. "/Common/QueryErrorInfos": {
  541. "get": {
  542. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  543. "produces": [
  544. "application/json"
  545. ],
  546. "tags": [
  547. "通用服务"
  548. ],
  549. "summary": "获取数据库错误信息",
  550. "parameters": [
  551. {
  552. "type": "string",
  553. "description": "起始行号前索引",
  554. "name": "rowNumber",
  555. "in": "query"
  556. }
  557. ],
  558. "responses": {
  559. "200": {
  560. "description": "OK",
  561. "schema": {
  562. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  563. }
  564. },
  565. "500": {
  566. "description": "Internal Server Error",
  567. "schema": {
  568. "$ref": "#/definitions/app.Response"
  569. }
  570. }
  571. }
  572. }
  573. },
  574. "/Common/QueryImageConfigs": {
  575. "get": {
  576. "produces": [
  577. "application/json"
  578. ],
  579. "tags": [
  580. "通用服务"
  581. ],
  582. "summary": "查询轮播图配置信息",
  583. "parameters": [
  584. {
  585. "type": "integer",
  586. "description": "用户id",
  587. "name": "userId",
  588. "in": "query"
  589. },
  590. {
  591. "type": "integer",
  592. "description": "类型 - 1:App首页轮播 2:我的",
  593. "name": "imageType",
  594. "in": "query"
  595. }
  596. ],
  597. "responses": {
  598. "200": {
  599. "description": "OK",
  600. "schema": {
  601. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  602. }
  603. },
  604. "500": {
  605. "description": "Internal Server Error",
  606. "schema": {
  607. "$ref": "#/definitions/app.Response"
  608. }
  609. }
  610. }
  611. }
  612. },
  613. "/Common/QueryNotice": {
  614. "get": {
  615. "security": [
  616. {
  617. "ApiKeyAuth": []
  618. }
  619. ],
  620. "produces": [
  621. "application/json"
  622. ],
  623. "tags": [
  624. "通用服务"
  625. ],
  626. "summary": "通知公告系统消息查询",
  627. "parameters": [
  628. {
  629. "type": "integer",
  630. "description": "页码",
  631. "name": "page",
  632. "in": "query"
  633. },
  634. {
  635. "type": "integer",
  636. "description": "每页条数",
  637. "name": "pagesize",
  638. "in": "query"
  639. },
  640. {
  641. "type": "integer",
  642. "description": "登录账号",
  643. "name": "loginID",
  644. "in": "query",
  645. "required": true
  646. },
  647. {
  648. "type": "integer",
  649. "description": "消息类型 - 1:公告通知 2:系统消息",
  650. "name": "msgType",
  651. "in": "query"
  652. },
  653. {
  654. "type": "boolean",
  655. "description": "是否只获取未读信息",
  656. "name": "onlyUnRead",
  657. "in": "query"
  658. },
  659. {
  660. "type": "integer",
  661. "description": "自增ID,传入后会返回这个ID后面的记录",
  662. "name": "lastID",
  663. "in": "query"
  664. }
  665. ],
  666. "responses": {
  667. "200": {
  668. "description": "OK",
  669. "schema": {
  670. "$ref": "#/definitions/common.QueryNoticeRsp"
  671. }
  672. },
  673. "500": {
  674. "description": "Internal Server Error",
  675. "schema": {
  676. "$ref": "#/definitions/app.Response"
  677. }
  678. }
  679. }
  680. }
  681. },
  682. "/Common/QueryProvincesAndCities": {
  683. "get": {
  684. "produces": [
  685. "application/json"
  686. ],
  687. "tags": [
  688. "通用服务"
  689. ],
  690. "summary": "查询省市信息(不包括区)",
  691. "parameters": [
  692. {
  693. "type": "integer",
  694. "description": "省ID",
  695. "name": "provinceID",
  696. "in": "query"
  697. }
  698. ],
  699. "responses": {
  700. "200": {
  701. "description": "OK",
  702. "schema": {
  703. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  704. }
  705. },
  706. "500": {
  707. "description": "Internal Server Error",
  708. "schema": {
  709. "$ref": "#/definitions/app.Response"
  710. }
  711. }
  712. }
  713. }
  714. },
  715. "/Common/QueryTableDefine": {
  716. "get": {
  717. "produces": [
  718. "application/json"
  719. ],
  720. "tags": [
  721. "通用服务"
  722. ],
  723. "summary": "查询交易端列表头信息",
  724. "parameters": [
  725. {
  726. "type": "string",
  727. "description": "表key",
  728. "name": "tableKey",
  729. "in": "query"
  730. },
  731. {
  732. "type": "integer",
  733. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  734. "name": "tableType",
  735. "in": "query"
  736. }
  737. ],
  738. "responses": {
  739. "200": {
  740. "description": "OK",
  741. "schema": {
  742. "$ref": "#/definitions/common.QueryTableDefineRsp"
  743. }
  744. },
  745. "500": {
  746. "description": "Internal Server Error",
  747. "schema": {
  748. "$ref": "#/definitions/app.Response"
  749. }
  750. }
  751. }
  752. }
  753. },
  754. "/Common/QueryTraderMenu": {
  755. "get": {
  756. "produces": [
  757. "application/json"
  758. ],
  759. "tags": [
  760. "通用服务"
  761. ],
  762. "summary": "查询交易端菜单",
  763. "parameters": [
  764. {
  765. "type": "integer",
  766. "description": "登录账号",
  767. "name": "loginid",
  768. "in": "query",
  769. "required": true
  770. }
  771. ],
  772. "responses": {
  773. "200": {
  774. "description": "OK",
  775. "schema": {
  776. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  777. }
  778. },
  779. "500": {
  780. "description": "Internal Server Error",
  781. "schema": {
  782. "$ref": "#/definitions/app.Response"
  783. }
  784. }
  785. }
  786. }
  787. },
  788. "/Delivery/QueryDeliveryRelation": {
  789. "get": {
  790. "security": [
  791. {
  792. "ApiKeyAuth": []
  793. }
  794. ],
  795. "produces": [
  796. "application/json"
  797. ],
  798. "tags": [
  799. "交割服务"
  800. ],
  801. "summary": "查询商品交割关系表",
  802. "parameters": [
  803. {
  804. "type": "integer",
  805. "description": "商品ID",
  806. "name": "goodsid",
  807. "in": "query"
  808. },
  809. {
  810. "type": "integer",
  811. "description": "品种ID",
  812. "name": "deliverygoodsid",
  813. "in": "query"
  814. },
  815. {
  816. "type": "integer",
  817. "description": "市场ID",
  818. "name": "marketid",
  819. "in": "query"
  820. }
  821. ],
  822. "responses": {
  823. "200": {
  824. "description": "OK",
  825. "schema": {
  826. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  827. }
  828. },
  829. "500": {
  830. "description": "Internal Server Error",
  831. "schema": {
  832. "$ref": "#/definitions/app.Response"
  833. }
  834. }
  835. }
  836. }
  837. },
  838. "/Ermcp/GetErmcpGoods": {
  839. "get": {
  840. "security": [
  841. {
  842. "ApiKeyAuth": []
  843. }
  844. ],
  845. "produces": [
  846. "application/json"
  847. ],
  848. "tags": [
  849. "企业风险管理(app)"
  850. ],
  851. "summary": "查询企业风管期货商品信息",
  852. "parameters": [
  853. {
  854. "type": "string",
  855. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  856. "name": "lastUpdateTime",
  857. "in": "query"
  858. }
  859. ],
  860. "responses": {
  861. "200": {
  862. "description": "OK",
  863. "schema": {
  864. "$ref": "#/definitions/models.ErmcpGoods"
  865. }
  866. },
  867. "500": {
  868. "description": "Internal Server Error",
  869. "schema": {
  870. "$ref": "#/definitions/app.Response"
  871. }
  872. }
  873. }
  874. }
  875. },
  876. "/Ermcp/GetErmcpGoodsSortByPosition": {
  877. "get": {
  878. "security": [
  879. {
  880. "ApiKeyAuth": []
  881. }
  882. ],
  883. "produces": [
  884. "application/json"
  885. ],
  886. "tags": [
  887. "企业风险管理(app)"
  888. ],
  889. "summary": "查询企业风管期货主力、次主力商品信息",
  890. "parameters": [
  891. {
  892. "type": "string",
  893. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  894. "name": "sortIndex",
  895. "in": "query"
  896. }
  897. ],
  898. "responses": {
  899. "200": {
  900. "description": "OK",
  901. "schema": {
  902. "$ref": "#/definitions/models.Goodssortbypreposition"
  903. }
  904. },
  905. "500": {
  906. "description": "Internal Server Error",
  907. "schema": {
  908. "$ref": "#/definitions/app.Response"
  909. }
  910. }
  911. }
  912. }
  913. },
  914. "/Ermcp/GetErmcpOutAccountStatus": {
  915. "get": {
  916. "security": [
  917. {
  918. "ApiKeyAuth": []
  919. }
  920. ],
  921. "produces": [
  922. "application/json"
  923. ],
  924. "tags": [
  925. "企业风险管理(app)"
  926. ],
  927. "summary": "获取目标登录账号当前对冲账号在线状态",
  928. "parameters": [
  929. {
  930. "type": "integer",
  931. "description": "登录账号",
  932. "name": "loginID",
  933. "in": "query",
  934. "required": true
  935. }
  936. ],
  937. "responses": {
  938. "200": {
  939. "description": "OK",
  940. "schema": {
  941. "$ref": "#/definitions/models.Hedgemarketopenlog"
  942. }
  943. },
  944. "500": {
  945. "description": "Internal Server Error",
  946. "schema": {
  947. "$ref": "#/definitions/app.Response"
  948. }
  949. }
  950. }
  951. }
  952. },
  953. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  954. "get": {
  955. "security": [
  956. {
  957. "ApiKeyAuth": []
  958. }
  959. ],
  960. "produces": [
  961. "application/json"
  962. ],
  963. "tags": [
  964. "企业风险管理(app)"
  965. ],
  966. "summary": "获取企业风管终端权限",
  967. "parameters": [
  968. {
  969. "type": "integer",
  970. "description": "登录账号",
  971. "name": "loginID",
  972. "in": "query",
  973. "required": true
  974. }
  975. ],
  976. "responses": {
  977. "200": {
  978. "description": "OK",
  979. "schema": {
  980. "$ref": "#/definitions/models.Funcmenulist"
  981. }
  982. },
  983. "500": {
  984. "description": "Internal Server Error",
  985. "schema": {
  986. "$ref": "#/definitions/app.Response"
  987. }
  988. }
  989. }
  990. }
  991. },
  992. "/Ermcp/QueryAccMgrBizGroupSet": {
  993. "get": {
  994. "security": [
  995. {
  996. "ApiKeyAuth": []
  997. }
  998. ],
  999. "produces": [
  1000. "application/json"
  1001. ],
  1002. "tags": [
  1003. "企业风险管理(app)"
  1004. ],
  1005. "summary": "查询业务类型分组(账户管理/账户设置)",
  1006. "parameters": [
  1007. {
  1008. "type": "integer",
  1009. "description": "用户ID",
  1010. "name": "userid",
  1011. "in": "query",
  1012. "required": true
  1013. },
  1014. {
  1015. "type": "integer",
  1016. "description": "现货商品id",
  1017. "name": "deliverygoodsid",
  1018. "in": "query"
  1019. }
  1020. ],
  1021. "responses": {
  1022. "200": {
  1023. "description": "OK",
  1024. "schema": {
  1025. "type": "array",
  1026. "items": {
  1027. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1028. }
  1029. }
  1030. },
  1031. "500": {
  1032. "description": "Internal Server Error",
  1033. "schema": {
  1034. "$ref": "#/definitions/app.Response"
  1035. }
  1036. }
  1037. }
  1038. }
  1039. },
  1040. "/Ermcp/QueryAccMgrLoginUser": {
  1041. "get": {
  1042. "security": [
  1043. {
  1044. "ApiKeyAuth": []
  1045. }
  1046. ],
  1047. "produces": [
  1048. "application/json"
  1049. ],
  1050. "tags": [
  1051. "企业风险管理(app)"
  1052. ],
  1053. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1054. "parameters": [
  1055. {
  1056. "type": "integer",
  1057. "description": "用户ID",
  1058. "name": "userid",
  1059. "in": "query",
  1060. "required": true
  1061. },
  1062. {
  1063. "type": "integer",
  1064. "description": "用户类型 2-机构 7-企业成员",
  1065. "name": "usertype",
  1066. "in": "query"
  1067. },
  1068. {
  1069. "type": "integer",
  1070. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1071. "name": "querytype",
  1072. "in": "query",
  1073. "required": true
  1074. }
  1075. ],
  1076. "responses": {
  1077. "200": {
  1078. "description": "OK",
  1079. "schema": {
  1080. "type": "array",
  1081. "items": {
  1082. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1083. }
  1084. }
  1085. },
  1086. "500": {
  1087. "description": "Internal Server Error",
  1088. "schema": {
  1089. "$ref": "#/definitions/app.Response"
  1090. }
  1091. }
  1092. }
  1093. }
  1094. },
  1095. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1096. "get": {
  1097. "security": [
  1098. {
  1099. "ApiKeyAuth": []
  1100. }
  1101. ],
  1102. "produces": [
  1103. "application/json"
  1104. ],
  1105. "tags": [
  1106. "企业风险管理(app)"
  1107. ],
  1108. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1109. "parameters": [
  1110. {
  1111. "type": "integer",
  1112. "description": "用户ID",
  1113. "name": "userid",
  1114. "in": "query"
  1115. },
  1116. {
  1117. "type": "integer",
  1118. "description": "主账号id",
  1119. "name": "accountid",
  1120. "in": "query"
  1121. }
  1122. ],
  1123. "responses": {
  1124. "200": {
  1125. "description": "OK",
  1126. "schema": {
  1127. "type": "array",
  1128. "items": {
  1129. "$ref": "#/definitions/models.MainAccountInfo"
  1130. }
  1131. }
  1132. },
  1133. "500": {
  1134. "description": "Internal Server Error",
  1135. "schema": {
  1136. "$ref": "#/definitions/app.Response"
  1137. }
  1138. }
  1139. }
  1140. }
  1141. },
  1142. "/Ermcp/QueryAccMgrRole": {
  1143. "get": {
  1144. "security": [
  1145. {
  1146. "ApiKeyAuth": []
  1147. }
  1148. ],
  1149. "produces": [
  1150. "application/json"
  1151. ],
  1152. "tags": [
  1153. "企业风险管理(app)"
  1154. ],
  1155. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1156. "parameters": [
  1157. {
  1158. "type": "integer",
  1159. "description": "用户ID",
  1160. "name": "userid",
  1161. "in": "query",
  1162. "required": true
  1163. }
  1164. ],
  1165. "responses": {
  1166. "200": {
  1167. "description": "OK",
  1168. "schema": {
  1169. "type": "array",
  1170. "items": {
  1171. "$ref": "#/definitions/models.ErmcpRole"
  1172. }
  1173. }
  1174. },
  1175. "500": {
  1176. "description": "Internal Server Error",
  1177. "schema": {
  1178. "$ref": "#/definitions/app.Response"
  1179. }
  1180. }
  1181. }
  1182. }
  1183. },
  1184. "/Ermcp/QueryAccMgrRoleMenu": {
  1185. "get": {
  1186. "security": [
  1187. {
  1188. "ApiKeyAuth": []
  1189. }
  1190. ],
  1191. "produces": [
  1192. "application/json"
  1193. ],
  1194. "tags": [
  1195. "企业风险管理(app)"
  1196. ],
  1197. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1198. "parameters": [
  1199. {
  1200. "type": "integer",
  1201. "description": "用户ID",
  1202. "name": "userid",
  1203. "in": "query",
  1204. "required": true
  1205. },
  1206. {
  1207. "type": "string",
  1208. "description": "角色id(可多个,逗号隔开)",
  1209. "name": "roleid",
  1210. "in": "query"
  1211. },
  1212. {
  1213. "type": "integer",
  1214. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1215. "name": "menutype",
  1216. "in": "query"
  1217. }
  1218. ],
  1219. "responses": {
  1220. "200": {
  1221. "description": "OK",
  1222. "schema": {
  1223. "type": "array",
  1224. "items": {
  1225. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1226. }
  1227. }
  1228. },
  1229. "500": {
  1230. "description": "Internal Server Error",
  1231. "schema": {
  1232. "$ref": "#/definitions/app.Response"
  1233. }
  1234. }
  1235. }
  1236. }
  1237. },
  1238. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1239. "get": {
  1240. "security": [
  1241. {
  1242. "ApiKeyAuth": []
  1243. }
  1244. ],
  1245. "produces": [
  1246. "application/json"
  1247. ],
  1248. "tags": [
  1249. "企业风险管理(app)"
  1250. ],
  1251. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1252. "parameters": [
  1253. {
  1254. "type": "integer",
  1255. "description": "用户ID",
  1256. "name": "userid",
  1257. "in": "query",
  1258. "required": true
  1259. },
  1260. {
  1261. "type": "integer",
  1262. "description": "账号id",
  1263. "name": "accountid",
  1264. "in": "query"
  1265. }
  1266. ],
  1267. "responses": {
  1268. "200": {
  1269. "description": "OK",
  1270. "schema": {
  1271. "type": "array",
  1272. "items": {
  1273. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1274. }
  1275. }
  1276. },
  1277. "500": {
  1278. "description": "Internal Server Error",
  1279. "schema": {
  1280. "$ref": "#/definitions/app.Response"
  1281. }
  1282. }
  1283. }
  1284. }
  1285. },
  1286. "/Ermcp/QueryAccMgrTaaccount": {
  1287. "get": {
  1288. "security": [
  1289. {
  1290. "ApiKeyAuth": []
  1291. }
  1292. ],
  1293. "produces": [
  1294. "application/json"
  1295. ],
  1296. "tags": [
  1297. "企业风险管理(app)"
  1298. ],
  1299. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1300. "parameters": [
  1301. {
  1302. "type": "integer",
  1303. "description": "用户ID",
  1304. "name": "userid",
  1305. "in": "query",
  1306. "required": true
  1307. }
  1308. ],
  1309. "responses": {
  1310. "200": {
  1311. "description": "OK",
  1312. "schema": {
  1313. "type": "array",
  1314. "items": {
  1315. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1316. }
  1317. }
  1318. },
  1319. "500": {
  1320. "description": "Internal Server Error",
  1321. "schema": {
  1322. "$ref": "#/definitions/app.Response"
  1323. }
  1324. }
  1325. }
  1326. }
  1327. },
  1328. "/Ermcp/QueryAvaildGoodsGroup": {
  1329. "get": {
  1330. "security": [
  1331. {
  1332. "ApiKeyAuth": []
  1333. }
  1334. ],
  1335. "produces": [
  1336. "application/json"
  1337. ],
  1338. "tags": [
  1339. "企业风险管理(app)"
  1340. ],
  1341. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1342. "parameters": [
  1343. {
  1344. "type": "integer",
  1345. "description": "所属机构ID",
  1346. "name": "userid",
  1347. "in": "query",
  1348. "required": true
  1349. }
  1350. ],
  1351. "responses": {
  1352. "200": {
  1353. "description": "OK",
  1354. "schema": {
  1355. "type": "array",
  1356. "items": {
  1357. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1358. }
  1359. }
  1360. },
  1361. "500": {
  1362. "description": "Internal Server Error",
  1363. "schema": {
  1364. "$ref": "#/definitions/app.Response"
  1365. }
  1366. }
  1367. }
  1368. }
  1369. },
  1370. "/Ermcp/QueryBusinessDj": {
  1371. "get": {
  1372. "security": [
  1373. {
  1374. "ApiKeyAuth": []
  1375. }
  1376. ],
  1377. "produces": [
  1378. "application/json"
  1379. ],
  1380. "tags": [
  1381. "企业风险管理(app)"
  1382. ],
  1383. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1384. "parameters": [
  1385. {
  1386. "type": "integer",
  1387. "description": "用户ID",
  1388. "name": "UserId",
  1389. "in": "query",
  1390. "required": true
  1391. },
  1392. {
  1393. "type": "integer",
  1394. "description": "用户类型 2-机构 7-企业成员",
  1395. "name": "usertype",
  1396. "in": "query"
  1397. },
  1398. {
  1399. "type": "string",
  1400. "description": "现货合同ID, 不填则查所有",
  1401. "name": "relatedid",
  1402. "in": "query"
  1403. },
  1404. {
  1405. "type": "string",
  1406. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1407. "name": "applystatus",
  1408. "in": "query"
  1409. }
  1410. ],
  1411. "responses": {
  1412. "200": {
  1413. "description": "OK",
  1414. "schema": {
  1415. "type": "array",
  1416. "items": {
  1417. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1418. }
  1419. }
  1420. },
  1421. "500": {
  1422. "description": "Internal Server Error",
  1423. "schema": {
  1424. "$ref": "#/definitions/app.Response"
  1425. }
  1426. }
  1427. }
  1428. }
  1429. },
  1430. "/Ermcp/QueryBusinessFp": {
  1431. "get": {
  1432. "security": [
  1433. {
  1434. "ApiKeyAuth": []
  1435. }
  1436. ],
  1437. "produces": [
  1438. "application/json"
  1439. ],
  1440. "tags": [
  1441. "企业风险管理(app)"
  1442. ],
  1443. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1444. "parameters": [
  1445. {
  1446. "type": "integer",
  1447. "description": "用户ID",
  1448. "name": "UserId",
  1449. "in": "query",
  1450. "required": true
  1451. },
  1452. {
  1453. "type": "integer",
  1454. "description": "用户类型 2-机构 7-企业成员",
  1455. "name": "usertype",
  1456. "in": "query"
  1457. },
  1458. {
  1459. "type": "string",
  1460. "description": "现货合同ID, 不填则查所有",
  1461. "name": "relatedid",
  1462. "in": "query"
  1463. },
  1464. {
  1465. "type": "string",
  1466. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1467. "name": "applystatus",
  1468. "in": "query"
  1469. }
  1470. ],
  1471. "responses": {
  1472. "200": {
  1473. "description": "OK",
  1474. "schema": {
  1475. "type": "array",
  1476. "items": {
  1477. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1478. }
  1479. }
  1480. },
  1481. "500": {
  1482. "description": "Internal Server Error",
  1483. "schema": {
  1484. "$ref": "#/definitions/app.Response"
  1485. }
  1486. }
  1487. }
  1488. }
  1489. },
  1490. "/Ermcp/QueryBusinessJs": {
  1491. "get": {
  1492. "security": [
  1493. {
  1494. "ApiKeyAuth": []
  1495. }
  1496. ],
  1497. "produces": [
  1498. "application/json"
  1499. ],
  1500. "tags": [
  1501. "企业风险管理(app)"
  1502. ],
  1503. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1504. "parameters": [
  1505. {
  1506. "type": "integer",
  1507. "description": "用户ID",
  1508. "name": "UserId",
  1509. "in": "query",
  1510. "required": true
  1511. },
  1512. {
  1513. "type": "integer",
  1514. "description": "用户类型 2-机构 7-企业成员",
  1515. "name": "usertype",
  1516. "in": "query"
  1517. },
  1518. {
  1519. "type": "string",
  1520. "description": "现货合同ID, 不填则查所有",
  1521. "name": "relatedid",
  1522. "in": "query"
  1523. },
  1524. {
  1525. "type": "string",
  1526. "description": "操作申请id",
  1527. "name": "operateapplyid",
  1528. "in": "query"
  1529. },
  1530. {
  1531. "type": "string",
  1532. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1533. "name": "applystatus",
  1534. "in": "query"
  1535. }
  1536. ],
  1537. "responses": {
  1538. "200": {
  1539. "description": "OK",
  1540. "schema": {
  1541. "type": "array",
  1542. "items": {
  1543. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1544. }
  1545. }
  1546. },
  1547. "500": {
  1548. "description": "Internal Server Error",
  1549. "schema": {
  1550. "$ref": "#/definitions/app.Response"
  1551. }
  1552. }
  1553. }
  1554. }
  1555. },
  1556. "/Ermcp/QueryBusinessJsEx": {
  1557. "get": {
  1558. "security": [
  1559. {
  1560. "ApiKeyAuth": []
  1561. }
  1562. ],
  1563. "produces": [
  1564. "application/json"
  1565. ],
  1566. "tags": [
  1567. "企业风险管理(app)"
  1568. ],
  1569. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1570. "parameters": [
  1571. {
  1572. "type": "integer",
  1573. "description": "用户ID",
  1574. "name": "UserId",
  1575. "in": "query",
  1576. "required": true
  1577. },
  1578. {
  1579. "type": "integer",
  1580. "description": "用户类型 2-机构 7-企业成员",
  1581. "name": "usertype",
  1582. "in": "query"
  1583. },
  1584. {
  1585. "type": "string",
  1586. "description": "现货合同ID, 不填则查所有",
  1587. "name": "relatedid",
  1588. "in": "query"
  1589. },
  1590. {
  1591. "type": "string",
  1592. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1593. "name": "applystatus",
  1594. "in": "query"
  1595. }
  1596. ],
  1597. "responses": {
  1598. "200": {
  1599. "description": "OK",
  1600. "schema": {
  1601. "type": "array",
  1602. "items": {
  1603. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1604. }
  1605. }
  1606. },
  1607. "500": {
  1608. "description": "Internal Server Error",
  1609. "schema": {
  1610. "$ref": "#/definitions/app.Response"
  1611. }
  1612. }
  1613. }
  1614. }
  1615. },
  1616. "/Ermcp/QueryBusinessKx": {
  1617. "get": {
  1618. "security": [
  1619. {
  1620. "ApiKeyAuth": []
  1621. }
  1622. ],
  1623. "produces": [
  1624. "application/json"
  1625. ],
  1626. "tags": [
  1627. "企业风险管理(app)"
  1628. ],
  1629. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1630. "parameters": [
  1631. {
  1632. "type": "integer",
  1633. "description": "用户ID",
  1634. "name": "UserId",
  1635. "in": "query",
  1636. "required": true
  1637. },
  1638. {
  1639. "type": "integer",
  1640. "description": "用户类型 2-机构 7-企业成员",
  1641. "name": "usertype",
  1642. "in": "query"
  1643. },
  1644. {
  1645. "type": "string",
  1646. "description": "现货合同ID, 不填则查所有",
  1647. "name": "relatedid",
  1648. "in": "query"
  1649. },
  1650. {
  1651. "type": "string",
  1652. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1653. "name": "applystatus",
  1654. "in": "query"
  1655. }
  1656. ],
  1657. "responses": {
  1658. "200": {
  1659. "description": "OK",
  1660. "schema": {
  1661. "type": "array",
  1662. "items": {
  1663. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1664. }
  1665. }
  1666. },
  1667. "500": {
  1668. "description": "Internal Server Error",
  1669. "schema": {
  1670. "$ref": "#/definitions/app.Response"
  1671. }
  1672. }
  1673. }
  1674. }
  1675. },
  1676. "/Ermcp/QueryChangeLog": {
  1677. "get": {
  1678. "security": [
  1679. {
  1680. "ApiKeyAuth": []
  1681. }
  1682. ],
  1683. "produces": [
  1684. "application/json"
  1685. ],
  1686. "tags": [
  1687. "企业风险管理(app)"
  1688. ],
  1689. "summary": "查询变更记录",
  1690. "parameters": [
  1691. {
  1692. "type": "string",
  1693. "description": "合同ID",
  1694. "name": "RelatedId",
  1695. "in": "query",
  1696. "required": true
  1697. }
  1698. ],
  1699. "responses": {
  1700. "200": {
  1701. "description": "OK",
  1702. "schema": {
  1703. "type": "array",
  1704. "items": {
  1705. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1706. }
  1707. }
  1708. },
  1709. "500": {
  1710. "description": "Internal Server Error",
  1711. "schema": {
  1712. "$ref": "#/definitions/app.Response"
  1713. }
  1714. }
  1715. }
  1716. }
  1717. },
  1718. "/Ermcp/QueryErmcpHisOrderDetails": {
  1719. "get": {
  1720. "security": [
  1721. {
  1722. "ApiKeyAuth": []
  1723. }
  1724. ],
  1725. "produces": [
  1726. "application/json"
  1727. ],
  1728. "tags": [
  1729. "企业风险管理(app)"
  1730. ],
  1731. "summary": "获取企业风管期货历史委托单信息",
  1732. "parameters": [
  1733. {
  1734. "type": "integer",
  1735. "description": "资金账户ID",
  1736. "name": "accountID",
  1737. "in": "query",
  1738. "required": true
  1739. },
  1740. {
  1741. "type": "string",
  1742. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1743. "name": "startDate",
  1744. "in": "query"
  1745. },
  1746. {
  1747. "type": "string",
  1748. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1749. "name": "endDate",
  1750. "in": "query"
  1751. }
  1752. ],
  1753. "responses": {
  1754. "200": {
  1755. "description": "OK",
  1756. "schema": {
  1757. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1758. }
  1759. },
  1760. "500": {
  1761. "description": "Internal Server Error",
  1762. "schema": {
  1763. "$ref": "#/definitions/app.Response"
  1764. }
  1765. }
  1766. }
  1767. }
  1768. },
  1769. "/Ermcp/QueryErmcpHisTradeDetails": {
  1770. "get": {
  1771. "security": [
  1772. {
  1773. "ApiKeyAuth": []
  1774. }
  1775. ],
  1776. "produces": [
  1777. "application/json"
  1778. ],
  1779. "tags": [
  1780. "企业风险管理(app)"
  1781. ],
  1782. "summary": "获取企业风管期货历史成交单信息",
  1783. "parameters": [
  1784. {
  1785. "type": "integer",
  1786. "description": "资金账户ID",
  1787. "name": "accountID",
  1788. "in": "query",
  1789. "required": true
  1790. },
  1791. {
  1792. "type": "integer",
  1793. "description": "商品ID",
  1794. "name": "goodsID",
  1795. "in": "query"
  1796. },
  1797. {
  1798. "type": "integer",
  1799. "description": "买卖方向,0:买 1:卖",
  1800. "name": "buyOrSell",
  1801. "in": "query"
  1802. },
  1803. {
  1804. "type": "integer",
  1805. "description": "关联委托单号",
  1806. "name": "orderID",
  1807. "in": "query"
  1808. },
  1809. {
  1810. "type": "string",
  1811. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1812. "name": "startDate",
  1813. "in": "query"
  1814. },
  1815. {
  1816. "type": "string",
  1817. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1818. "name": "endDate",
  1819. "in": "query"
  1820. }
  1821. ],
  1822. "responses": {
  1823. "200": {
  1824. "description": "OK",
  1825. "schema": {
  1826. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1827. }
  1828. },
  1829. "500": {
  1830. "description": "Internal Server Error",
  1831. "schema": {
  1832. "$ref": "#/definitions/app.Response"
  1833. }
  1834. }
  1835. }
  1836. }
  1837. },
  1838. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1839. "get": {
  1840. "security": [
  1841. {
  1842. "ApiKeyAuth": []
  1843. }
  1844. ],
  1845. "produces": [
  1846. "application/json"
  1847. ],
  1848. "tags": [
  1849. "企业风险管理(app)"
  1850. ],
  1851. "summary": "获取企业风管期货内部持仓单信息",
  1852. "parameters": [
  1853. {
  1854. "type": "integer",
  1855. "description": "资金账户ID",
  1856. "name": "accountID",
  1857. "in": "query",
  1858. "required": true
  1859. },
  1860. {
  1861. "type": "integer",
  1862. "description": "商品ID",
  1863. "name": "goodsID",
  1864. "in": "query"
  1865. },
  1866. {
  1867. "type": "integer",
  1868. "description": "买卖方向,0:买 1:卖",
  1869. "name": "buyOrSell",
  1870. "in": "query"
  1871. }
  1872. ],
  1873. "responses": {
  1874. "200": {
  1875. "description": "OK",
  1876. "schema": {
  1877. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1878. }
  1879. },
  1880. "500": {
  1881. "description": "Internal Server Error",
  1882. "schema": {
  1883. "$ref": "#/definitions/app.Response"
  1884. }
  1885. }
  1886. }
  1887. }
  1888. },
  1889. "/Ermcp/QueryErmcpOrderDetails": {
  1890. "get": {
  1891. "security": [
  1892. {
  1893. "ApiKeyAuth": []
  1894. }
  1895. ],
  1896. "produces": [
  1897. "application/json"
  1898. ],
  1899. "tags": [
  1900. "企业风险管理(app)"
  1901. ],
  1902. "summary": "获取企业风管期货委托单信息",
  1903. "parameters": [
  1904. {
  1905. "type": "integer",
  1906. "description": "资金账户ID",
  1907. "name": "accountID",
  1908. "in": "query",
  1909. "required": true
  1910. }
  1911. ],
  1912. "responses": {
  1913. "200": {
  1914. "description": "OK",
  1915. "schema": {
  1916. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1917. }
  1918. },
  1919. "500": {
  1920. "description": "Internal Server Error",
  1921. "schema": {
  1922. "$ref": "#/definitions/app.Response"
  1923. }
  1924. }
  1925. }
  1926. }
  1927. },
  1928. "/Ermcp/QueryErmcpTradeDetails": {
  1929. "get": {
  1930. "security": [
  1931. {
  1932. "ApiKeyAuth": []
  1933. }
  1934. ],
  1935. "produces": [
  1936. "application/json"
  1937. ],
  1938. "tags": [
  1939. "企业风险管理(app)"
  1940. ],
  1941. "summary": "获取企业风管期货成交单信息",
  1942. "parameters": [
  1943. {
  1944. "type": "integer",
  1945. "description": "资金账户ID",
  1946. "name": "accountID",
  1947. "in": "query",
  1948. "required": true
  1949. },
  1950. {
  1951. "type": "integer",
  1952. "description": "商品ID",
  1953. "name": "goodsID",
  1954. "in": "query"
  1955. },
  1956. {
  1957. "type": "integer",
  1958. "description": "买卖方向,0:买 1:卖",
  1959. "name": "buyOrSell",
  1960. "in": "query"
  1961. },
  1962. {
  1963. "type": "integer",
  1964. "description": "关联委托单号",
  1965. "name": "orderID",
  1966. "in": "query"
  1967. }
  1968. ],
  1969. "responses": {
  1970. "200": {
  1971. "description": "OK",
  1972. "schema": {
  1973. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1974. }
  1975. },
  1976. "500": {
  1977. "description": "Internal Server Error",
  1978. "schema": {
  1979. "$ref": "#/definitions/app.Response"
  1980. }
  1981. }
  1982. }
  1983. }
  1984. },
  1985. "/Ermcp/QueryErmcpTradePosition": {
  1986. "get": {
  1987. "security": [
  1988. {
  1989. "ApiKeyAuth": []
  1990. }
  1991. ],
  1992. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1993. "produces": [
  1994. "application/json"
  1995. ],
  1996. "tags": [
  1997. "企业风险管理(app)"
  1998. ],
  1999. "summary": "获取企业风管期货持仓头寸信息",
  2000. "parameters": [
  2001. {
  2002. "type": "integer",
  2003. "description": "资金账户ID",
  2004. "name": "accountID",
  2005. "in": "query",
  2006. "required": true
  2007. },
  2008. {
  2009. "type": "integer",
  2010. "description": "所属市场ID",
  2011. "name": "marketID",
  2012. "in": "query"
  2013. }
  2014. ],
  2015. "responses": {
  2016. "200": {
  2017. "description": "OK",
  2018. "schema": {
  2019. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2020. }
  2021. },
  2022. "500": {
  2023. "description": "Internal Server Error",
  2024. "schema": {
  2025. "$ref": "#/definitions/app.Response"
  2026. }
  2027. }
  2028. }
  2029. }
  2030. },
  2031. "/Ermcp/QueryExposureDetail": {
  2032. "get": {
  2033. "security": [
  2034. {
  2035. "ApiKeyAuth": []
  2036. }
  2037. ],
  2038. "produces": [
  2039. "application/json"
  2040. ],
  2041. "tags": [
  2042. "企业风险管理(app)"
  2043. ],
  2044. "summary": "查询敞口现货明细",
  2045. "parameters": [
  2046. {
  2047. "type": "integer",
  2048. "description": "所属机构ID",
  2049. "name": "areaUserId",
  2050. "in": "query",
  2051. "required": true
  2052. },
  2053. {
  2054. "type": "integer",
  2055. "description": "套保商品",
  2056. "name": "middleGoodsId",
  2057. "in": "query",
  2058. "required": true
  2059. }
  2060. ],
  2061. "responses": {
  2062. "200": {
  2063. "description": "OK",
  2064. "schema": {
  2065. "type": "array",
  2066. "items": {
  2067. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2068. }
  2069. }
  2070. },
  2071. "500": {
  2072. "description": "Internal Server Error",
  2073. "schema": {
  2074. "$ref": "#/definitions/app.Response"
  2075. }
  2076. }
  2077. }
  2078. }
  2079. },
  2080. "/Ermcp/QueryExposureGoods": {
  2081. "get": {
  2082. "security": [
  2083. {
  2084. "ApiKeyAuth": []
  2085. }
  2086. ],
  2087. "produces": [
  2088. "application/json"
  2089. ],
  2090. "tags": [
  2091. "企业风险管理(app)"
  2092. ],
  2093. "summary": "查询敞口主力合约",
  2094. "parameters": [
  2095. {
  2096. "type": "integer",
  2097. "description": "套保商品id",
  2098. "name": "middlegoodsid",
  2099. "in": "query",
  2100. "required": true
  2101. }
  2102. ],
  2103. "responses": {
  2104. "200": {
  2105. "description": "OK",
  2106. "schema": {
  2107. "type": "array",
  2108. "items": {
  2109. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2110. }
  2111. }
  2112. },
  2113. "500": {
  2114. "description": "Internal Server Error",
  2115. "schema": {
  2116. "$ref": "#/definitions/app.Response"
  2117. }
  2118. }
  2119. }
  2120. }
  2121. },
  2122. "/Ermcp/QueryExposureHedgePosition": {
  2123. "get": {
  2124. "security": [
  2125. {
  2126. "ApiKeyAuth": []
  2127. }
  2128. ],
  2129. "produces": [
  2130. "application/json"
  2131. ],
  2132. "tags": [
  2133. "企业风险管理(app)"
  2134. ],
  2135. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2136. "parameters": [
  2137. {
  2138. "type": "integer",
  2139. "description": "用户id",
  2140. "name": "userid",
  2141. "in": "query",
  2142. "required": true
  2143. }
  2144. ],
  2145. "responses": {
  2146. "200": {
  2147. "description": "OK",
  2148. "schema": {
  2149. "type": "array",
  2150. "items": {
  2151. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2152. }
  2153. }
  2154. },
  2155. "500": {
  2156. "description": "Internal Server Error",
  2157. "schema": {
  2158. "$ref": "#/definitions/app.Response"
  2159. }
  2160. }
  2161. }
  2162. }
  2163. },
  2164. "/Ermcp/QueryExposureHedgePositionDetail": {
  2165. "get": {
  2166. "security": [
  2167. {
  2168. "ApiKeyAuth": []
  2169. }
  2170. ],
  2171. "produces": [
  2172. "application/json"
  2173. ],
  2174. "tags": [
  2175. "企业风险管理(app)"
  2176. ],
  2177. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2178. "parameters": [
  2179. {
  2180. "type": "integer",
  2181. "description": "所属机构ID",
  2182. "name": "userid",
  2183. "in": "query",
  2184. "required": true
  2185. },
  2186. {
  2187. "type": "integer",
  2188. "description": "商品id",
  2189. "name": "goodsId",
  2190. "in": "query",
  2191. "required": true
  2192. }
  2193. ],
  2194. "responses": {
  2195. "200": {
  2196. "description": "OK",
  2197. "schema": {
  2198. "type": "array",
  2199. "items": {
  2200. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2201. }
  2202. }
  2203. },
  2204. "500": {
  2205. "description": "Internal Server Error",
  2206. "schema": {
  2207. "$ref": "#/definitions/app.Response"
  2208. }
  2209. }
  2210. }
  2211. }
  2212. },
  2213. "/Ermcp/QueryExposureSpot": {
  2214. "get": {
  2215. "security": [
  2216. {
  2217. "ApiKeyAuth": []
  2218. }
  2219. ],
  2220. "produces": [
  2221. "application/json"
  2222. ],
  2223. "tags": [
  2224. "企业风险管理(app)"
  2225. ],
  2226. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2227. "parameters": [
  2228. {
  2229. "type": "integer",
  2230. "description": "所属机构ID",
  2231. "name": "areaUserId",
  2232. "in": "query",
  2233. "required": true
  2234. }
  2235. ],
  2236. "responses": {
  2237. "200": {
  2238. "description": "OK",
  2239. "schema": {
  2240. "type": "array",
  2241. "items": {
  2242. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2243. }
  2244. }
  2245. },
  2246. "500": {
  2247. "description": "Internal Server Error",
  2248. "schema": {
  2249. "$ref": "#/definitions/app.Response"
  2250. }
  2251. }
  2252. }
  2253. }
  2254. },
  2255. "/Ermcp/QueryExposureSpotDetail": {
  2256. "get": {
  2257. "security": [
  2258. {
  2259. "ApiKeyAuth": []
  2260. }
  2261. ],
  2262. "produces": [
  2263. "application/json"
  2264. ],
  2265. "tags": [
  2266. "企业风险管理(app)"
  2267. ],
  2268. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2269. "parameters": [
  2270. {
  2271. "type": "integer",
  2272. "description": "所属机构ID",
  2273. "name": "areaUserId",
  2274. "in": "query",
  2275. "required": true
  2276. },
  2277. {
  2278. "type": "integer",
  2279. "description": "现货品种ID",
  2280. "name": "wrstandardId",
  2281. "in": "query",
  2282. "required": true
  2283. }
  2284. ],
  2285. "responses": {
  2286. "200": {
  2287. "description": "OK",
  2288. "schema": {
  2289. "type": "array",
  2290. "items": {
  2291. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2292. }
  2293. }
  2294. },
  2295. "500": {
  2296. "description": "Internal Server Error",
  2297. "schema": {
  2298. "$ref": "#/definitions/app.Response"
  2299. }
  2300. }
  2301. }
  2302. }
  2303. },
  2304. "/Ermcp/QueryFuturesCompany": {
  2305. "get": {
  2306. "security": [
  2307. {
  2308. "ApiKeyAuth": []
  2309. }
  2310. ],
  2311. "produces": [
  2312. "application/json"
  2313. ],
  2314. "tags": [
  2315. "企业风险管理(app)"
  2316. ],
  2317. "summary": "查询期货公司",
  2318. "responses": {
  2319. "200": {
  2320. "description": "OK",
  2321. "schema": {
  2322. "type": "array",
  2323. "items": {
  2324. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2325. }
  2326. }
  2327. },
  2328. "500": {
  2329. "description": "Internal Server Error",
  2330. "schema": {
  2331. "$ref": "#/definitions/app.Response"
  2332. }
  2333. }
  2334. }
  2335. }
  2336. },
  2337. "/Ermcp/QueryGGConvertConfig": {
  2338. "get": {
  2339. "security": [
  2340. {
  2341. "ApiKeyAuth": []
  2342. }
  2343. ],
  2344. "produces": [
  2345. "application/json"
  2346. ],
  2347. "tags": [
  2348. "企业风险管理(app)"
  2349. ],
  2350. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2351. "parameters": [
  2352. {
  2353. "type": "integer",
  2354. "description": "品种id(不填则查所有)",
  2355. "name": "goodsgroupid",
  2356. "in": "query"
  2357. }
  2358. ],
  2359. "responses": {
  2360. "200": {
  2361. "description": "OK",
  2362. "schema": {
  2363. "type": "array",
  2364. "items": {
  2365. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2366. }
  2367. }
  2368. },
  2369. "500": {
  2370. "description": "Internal Server Error",
  2371. "schema": {
  2372. "$ref": "#/definitions/app.Response"
  2373. }
  2374. }
  2375. }
  2376. }
  2377. },
  2378. "/Ermcp/QueryGoodsBrand": {
  2379. "get": {
  2380. "security": [
  2381. {
  2382. "ApiKeyAuth": []
  2383. }
  2384. ],
  2385. "produces": [
  2386. "application/json"
  2387. ],
  2388. "tags": [
  2389. "企业风险管理(app)"
  2390. ],
  2391. "summary": "查询商品品牌",
  2392. "parameters": [
  2393. {
  2394. "type": "integer",
  2395. "description": "用户ID",
  2396. "name": "userid",
  2397. "in": "query",
  2398. "required": true
  2399. },
  2400. {
  2401. "type": "integer",
  2402. "description": "现货商品ID",
  2403. "name": "wrstandardid",
  2404. "in": "query"
  2405. }
  2406. ],
  2407. "responses": {
  2408. "200": {
  2409. "description": "OK",
  2410. "schema": {
  2411. "type": "array",
  2412. "items": {
  2413. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2414. }
  2415. }
  2416. },
  2417. "500": {
  2418. "description": "Internal Server Error",
  2419. "schema": {
  2420. "$ref": "#/definitions/app.Response"
  2421. }
  2422. }
  2423. }
  2424. }
  2425. },
  2426. "/Ermcp/QueryGoodsModel": {
  2427. "get": {
  2428. "security": [
  2429. {
  2430. "ApiKeyAuth": []
  2431. }
  2432. ],
  2433. "produces": [
  2434. "application/json"
  2435. ],
  2436. "tags": [
  2437. "企业风险管理(app)"
  2438. ],
  2439. "summary": "查询商品型号",
  2440. "parameters": [
  2441. {
  2442. "type": "integer",
  2443. "description": "用户ID",
  2444. "name": "userid",
  2445. "in": "query",
  2446. "required": true
  2447. }
  2448. ],
  2449. "responses": {
  2450. "200": {
  2451. "description": "OK",
  2452. "schema": {
  2453. "type": "array",
  2454. "items": {
  2455. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2456. }
  2457. }
  2458. },
  2459. "500": {
  2460. "description": "Internal Server Error",
  2461. "schema": {
  2462. "$ref": "#/definitions/app.Response"
  2463. }
  2464. }
  2465. }
  2466. }
  2467. },
  2468. "/Ermcp/QueryHisExposure": {
  2469. "get": {
  2470. "security": [
  2471. {
  2472. "ApiKeyAuth": []
  2473. }
  2474. ],
  2475. "produces": [
  2476. "application/json"
  2477. ],
  2478. "tags": [
  2479. "企业风险管理(app)"
  2480. ],
  2481. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2482. "parameters": [
  2483. {
  2484. "type": "integer",
  2485. "description": "用户id",
  2486. "name": "userid",
  2487. "in": "query",
  2488. "required": true
  2489. },
  2490. {
  2491. "type": "integer",
  2492. "description": "每个品种记录数",
  2493. "name": "lastNum",
  2494. "in": "query",
  2495. "required": true
  2496. }
  2497. ],
  2498. "responses": {
  2499. "200": {
  2500. "description": "OK",
  2501. "schema": {
  2502. "type": "array",
  2503. "items": {
  2504. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2505. }
  2506. }
  2507. },
  2508. "500": {
  2509. "description": "Internal Server Error",
  2510. "schema": {
  2511. "$ref": "#/definitions/app.Response"
  2512. }
  2513. }
  2514. }
  2515. }
  2516. },
  2517. "/Ermcp/QueryMiddleGoods": {
  2518. "get": {
  2519. "security": [
  2520. {
  2521. "ApiKeyAuth": []
  2522. }
  2523. ],
  2524. "produces": [
  2525. "application/json"
  2526. ],
  2527. "tags": [
  2528. "企业风险管理(app)"
  2529. ],
  2530. "summary": "查询套保品种(菜单:套保品种)",
  2531. "parameters": [
  2532. {
  2533. "type": "integer",
  2534. "description": "所属机构ID",
  2535. "name": "userid",
  2536. "in": "query",
  2537. "required": true
  2538. },
  2539. {
  2540. "type": "integer",
  2541. "description": "状态 0-停用 1-正常",
  2542. "name": "status",
  2543. "in": "query",
  2544. "required": true
  2545. }
  2546. ],
  2547. "responses": {
  2548. "200": {
  2549. "description": "OK",
  2550. "schema": {
  2551. "type": "array",
  2552. "items": {
  2553. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2554. }
  2555. }
  2556. },
  2557. "500": {
  2558. "description": "Internal Server Error",
  2559. "schema": {
  2560. "$ref": "#/definitions/app.Response"
  2561. }
  2562. }
  2563. }
  2564. }
  2565. },
  2566. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2567. "get": {
  2568. "security": [
  2569. {
  2570. "ApiKeyAuth": []
  2571. }
  2572. ],
  2573. "produces": [
  2574. "application/json"
  2575. ],
  2576. "tags": [
  2577. "企业风险管理(app)"
  2578. ],
  2579. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2580. "parameters": [
  2581. {
  2582. "type": "integer",
  2583. "description": "所属机构ID",
  2584. "name": "userid",
  2585. "in": "query",
  2586. "required": true
  2587. },
  2588. {
  2589. "type": "integer",
  2590. "description": "套保品种id",
  2591. "name": "middlegoodsid",
  2592. "in": "query",
  2593. "required": true
  2594. }
  2595. ],
  2596. "responses": {
  2597. "200": {
  2598. "description": "OK",
  2599. "schema": {
  2600. "type": "array",
  2601. "items": {
  2602. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2603. }
  2604. }
  2605. },
  2606. "500": {
  2607. "description": "Internal Server Error",
  2608. "schema": {
  2609. "$ref": "#/definitions/app.Response"
  2610. }
  2611. }
  2612. }
  2613. }
  2614. },
  2615. "/Ermcp/QueryMiddleGoodsDetail": {
  2616. "get": {
  2617. "security": [
  2618. {
  2619. "ApiKeyAuth": []
  2620. }
  2621. ],
  2622. "produces": [
  2623. "application/json"
  2624. ],
  2625. "tags": [
  2626. "企业风险管理(app)"
  2627. ],
  2628. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2629. "parameters": [
  2630. {
  2631. "type": "integer",
  2632. "description": "所属机构ID",
  2633. "name": "userid",
  2634. "in": "query",
  2635. "required": true
  2636. },
  2637. {
  2638. "type": "integer",
  2639. "description": "套保品种id",
  2640. "name": "middlegoodsid",
  2641. "in": "query"
  2642. }
  2643. ],
  2644. "responses": {
  2645. "200": {
  2646. "description": "OK",
  2647. "schema": {
  2648. "type": "array",
  2649. "items": {
  2650. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2651. }
  2652. }
  2653. },
  2654. "500": {
  2655. "description": "Internal Server Error",
  2656. "schema": {
  2657. "$ref": "#/definitions/app.Response"
  2658. }
  2659. }
  2660. }
  2661. }
  2662. },
  2663. "/Ermcp/QueryPendingAuditInfo": {
  2664. "get": {
  2665. "security": [
  2666. {
  2667. "ApiKeyAuth": []
  2668. }
  2669. ],
  2670. "produces": [
  2671. "application/json"
  2672. ],
  2673. "tags": [
  2674. "企业风险管理(app)"
  2675. ],
  2676. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2677. "parameters": [
  2678. {
  2679. "type": "integer",
  2680. "description": "用户ID",
  2681. "name": "UserId",
  2682. "in": "query",
  2683. "required": true
  2684. }
  2685. ],
  2686. "responses": {
  2687. "200": {
  2688. "description": "OK",
  2689. "schema": {
  2690. "type": "array",
  2691. "items": {
  2692. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2693. }
  2694. }
  2695. },
  2696. "500": {
  2697. "description": "Internal Server Error",
  2698. "schema": {
  2699. "$ref": "#/definitions/app.Response"
  2700. }
  2701. }
  2702. }
  2703. }
  2704. },
  2705. "/Ermcp/QueryRealtimeExposure": {
  2706. "get": {
  2707. "security": [
  2708. {
  2709. "ApiKeyAuth": []
  2710. }
  2711. ],
  2712. "produces": [
  2713. "application/json"
  2714. ],
  2715. "tags": [
  2716. "企业风险管理(app)"
  2717. ],
  2718. "summary": "查询实时敞口",
  2719. "parameters": [
  2720. {
  2721. "type": "integer",
  2722. "description": "所属机构ID",
  2723. "name": "userid",
  2724. "in": "query",
  2725. "required": true
  2726. }
  2727. ],
  2728. "responses": {
  2729. "200": {
  2730. "description": "OK",
  2731. "schema": {
  2732. "type": "array",
  2733. "items": {
  2734. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2735. }
  2736. }
  2737. },
  2738. "500": {
  2739. "description": "Internal Server Error",
  2740. "schema": {
  2741. "$ref": "#/definitions/app.Response"
  2742. }
  2743. }
  2744. }
  2745. }
  2746. },
  2747. "/Ermcp/QueryRealtimeExposurePosition": {
  2748. "get": {
  2749. "security": [
  2750. {
  2751. "ApiKeyAuth": []
  2752. }
  2753. ],
  2754. "produces": [
  2755. "application/json"
  2756. ],
  2757. "tags": [
  2758. "企业风险管理(app)"
  2759. ],
  2760. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2761. "parameters": [
  2762. {
  2763. "type": "integer",
  2764. "description": "用户id",
  2765. "name": "userid",
  2766. "in": "query",
  2767. "required": true
  2768. },
  2769. {
  2770. "type": "integer",
  2771. "description": "套保商品ID",
  2772. "name": "middleGoodsId",
  2773. "in": "query",
  2774. "required": true
  2775. }
  2776. ],
  2777. "responses": {
  2778. "200": {
  2779. "description": "OK",
  2780. "schema": {
  2781. "type": "array",
  2782. "items": {
  2783. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2784. }
  2785. }
  2786. },
  2787. "500": {
  2788. "description": "Internal Server Error",
  2789. "schema": {
  2790. "$ref": "#/definitions/app.Response"
  2791. }
  2792. }
  2793. }
  2794. }
  2795. },
  2796. "/Ermcp/QueryRoleMenu": {
  2797. "get": {
  2798. "security": [
  2799. {
  2800. "ApiKeyAuth": []
  2801. }
  2802. ],
  2803. "produces": [
  2804. "application/json"
  2805. ],
  2806. "tags": [
  2807. "企业风险管理(app)"
  2808. ],
  2809. "summary": "查询角色菜单和权限",
  2810. "parameters": [
  2811. {
  2812. "type": "integer",
  2813. "description": "登录ID",
  2814. "name": "loginid",
  2815. "in": "query",
  2816. "required": true
  2817. },
  2818. {
  2819. "type": "integer",
  2820. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2821. "name": "menutype",
  2822. "in": "query"
  2823. }
  2824. ],
  2825. "responses": {
  2826. "200": {
  2827. "description": "OK",
  2828. "schema": {
  2829. "type": "array",
  2830. "items": {
  2831. "$ref": "#/definitions/models.RoleMenu"
  2832. }
  2833. }
  2834. },
  2835. "500": {
  2836. "description": "Internal Server Error",
  2837. "schema": {
  2838. "$ref": "#/definitions/app.Response"
  2839. }
  2840. }
  2841. }
  2842. }
  2843. },
  2844. "/Ermcp/QueryTradeConfigTMP": {
  2845. "get": {
  2846. "security": [
  2847. {
  2848. "ApiKeyAuth": []
  2849. }
  2850. ],
  2851. "produces": [
  2852. "application/json"
  2853. ],
  2854. "tags": [
  2855. "企业风险管理(app)"
  2856. ],
  2857. "summary": "查询交易模板配置",
  2858. "parameters": [
  2859. {
  2860. "type": "integer",
  2861. "description": "所属机构id",
  2862. "name": "areauserid",
  2863. "in": "query"
  2864. }
  2865. ],
  2866. "responses": {
  2867. "200": {
  2868. "description": "OK",
  2869. "schema": {
  2870. "type": "array",
  2871. "items": {
  2872. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2873. }
  2874. }
  2875. },
  2876. "500": {
  2877. "description": "Internal Server Error",
  2878. "schema": {
  2879. "$ref": "#/definitions/app.Response"
  2880. }
  2881. }
  2882. }
  2883. }
  2884. },
  2885. "/Ermcp/QueryUserInfo": {
  2886. "get": {
  2887. "security": [
  2888. {
  2889. "ApiKeyAuth": []
  2890. }
  2891. ],
  2892. "produces": [
  2893. "application/json"
  2894. ],
  2895. "tags": [
  2896. "企业风险管理(app)"
  2897. ],
  2898. "summary": "查询客户资料",
  2899. "parameters": [
  2900. {
  2901. "type": "integer",
  2902. "description": "所属机构用户ID",
  2903. "name": "MemberUserID",
  2904. "in": "query",
  2905. "required": true
  2906. },
  2907. {
  2908. "type": "integer",
  2909. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2910. "name": "queryType",
  2911. "in": "query",
  2912. "required": true
  2913. }
  2914. ],
  2915. "responses": {
  2916. "200": {
  2917. "description": "OK",
  2918. "schema": {
  2919. "type": "array",
  2920. "items": {
  2921. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2922. }
  2923. }
  2924. },
  2925. "500": {
  2926. "description": "Internal Server Error",
  2927. "schema": {
  2928. "$ref": "#/definitions/app.Response"
  2929. }
  2930. }
  2931. }
  2932. }
  2933. },
  2934. "/Ermcp/QueryWarehouseInfo": {
  2935. "get": {
  2936. "security": [
  2937. {
  2938. "ApiKeyAuth": []
  2939. }
  2940. ],
  2941. "produces": [
  2942. "application/json"
  2943. ],
  2944. "tags": [
  2945. "企业风险管理(app)"
  2946. ],
  2947. "summary": "查询仓库信息",
  2948. "parameters": [
  2949. {
  2950. "type": "integer",
  2951. "description": "用户ID",
  2952. "name": "userid",
  2953. "in": "query",
  2954. "required": true
  2955. },
  2956. {
  2957. "type": "string",
  2958. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2959. "name": "status",
  2960. "in": "query"
  2961. }
  2962. ],
  2963. "responses": {
  2964. "200": {
  2965. "description": "OK",
  2966. "schema": {
  2967. "type": "array",
  2968. "items": {
  2969. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2970. }
  2971. }
  2972. },
  2973. "500": {
  2974. "description": "Internal Server Error",
  2975. "schema": {
  2976. "$ref": "#/definitions/app.Response"
  2977. }
  2978. }
  2979. }
  2980. }
  2981. },
  2982. "/Ermcp3/QryAreaExpourseContractDetail": {
  2983. "get": {
  2984. "security": [
  2985. {
  2986. "ApiKeyAuth": []
  2987. }
  2988. ],
  2989. "produces": [
  2990. "application/json"
  2991. ],
  2992. "tags": [
  2993. "企业风险管理v3(app)"
  2994. ],
  2995. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  2996. "parameters": [
  2997. {
  2998. "type": "integer",
  2999. "description": "用户ID",
  3000. "name": "userid",
  3001. "in": "query",
  3002. "required": true
  3003. },
  3004. {
  3005. "type": "integer",
  3006. "description": "套保商品id",
  3007. "name": "middlegoodsid",
  3008. "in": "query",
  3009. "required": true
  3010. },
  3011. {
  3012. "type": "integer",
  3013. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3014. "name": "cycletype",
  3015. "in": "query",
  3016. "required": true
  3017. },
  3018. {
  3019. "type": "string",
  3020. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3021. "name": "cycletime",
  3022. "in": "query",
  3023. "required": true
  3024. }
  3025. ],
  3026. "responses": {
  3027. "200": {
  3028. "description": "OK",
  3029. "schema": {
  3030. "type": "array",
  3031. "items": {
  3032. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3033. }
  3034. }
  3035. },
  3036. "500": {
  3037. "description": "Internal Server Error",
  3038. "schema": {
  3039. "$ref": "#/definitions/app.Response"
  3040. }
  3041. }
  3042. }
  3043. }
  3044. },
  3045. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3046. "get": {
  3047. "security": [
  3048. {
  3049. "ApiKeyAuth": []
  3050. }
  3051. ],
  3052. "produces": [
  3053. "application/json"
  3054. ],
  3055. "tags": [
  3056. "企业风险管理v3(app)"
  3057. ],
  3058. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3059. "parameters": [
  3060. {
  3061. "type": "integer",
  3062. "description": "用户ID",
  3063. "name": "userid",
  3064. "in": "query",
  3065. "required": true
  3066. },
  3067. {
  3068. "type": "integer",
  3069. "description": "套保商品id",
  3070. "name": "middlegoodsid",
  3071. "in": "query",
  3072. "required": true
  3073. },
  3074. {
  3075. "type": "integer",
  3076. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3077. "name": "cycletype",
  3078. "in": "query",
  3079. "required": true
  3080. },
  3081. {
  3082. "type": "string",
  3083. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3084. "name": "cycletime",
  3085. "in": "query",
  3086. "required": true
  3087. }
  3088. ],
  3089. "responses": {
  3090. "200": {
  3091. "description": "OK",
  3092. "schema": {
  3093. "type": "array",
  3094. "items": {
  3095. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3096. }
  3097. }
  3098. },
  3099. "500": {
  3100. "description": "Internal Server Error",
  3101. "schema": {
  3102. "$ref": "#/definitions/app.Response"
  3103. }
  3104. }
  3105. }
  3106. }
  3107. },
  3108. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3109. "get": {
  3110. "security": [
  3111. {
  3112. "ApiKeyAuth": []
  3113. }
  3114. ],
  3115. "produces": [
  3116. "application/json"
  3117. ],
  3118. "tags": [
  3119. "企业风险管理v3(app)"
  3120. ],
  3121. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3122. "parameters": [
  3123. {
  3124. "type": "integer",
  3125. "description": "用户ID",
  3126. "name": "userid",
  3127. "in": "query",
  3128. "required": true
  3129. },
  3130. {
  3131. "type": "integer",
  3132. "description": "套保商品id",
  3133. "name": "middlegoodsid",
  3134. "in": "query",
  3135. "required": true
  3136. },
  3137. {
  3138. "type": "integer",
  3139. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3140. "name": "cycletype",
  3141. "in": "query",
  3142. "required": true
  3143. },
  3144. {
  3145. "type": "string",
  3146. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3147. "name": "cycletime",
  3148. "in": "query",
  3149. "required": true
  3150. }
  3151. ],
  3152. "responses": {
  3153. "200": {
  3154. "description": "OK",
  3155. "schema": {
  3156. "type": "array",
  3157. "items": {
  3158. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3159. }
  3160. }
  3161. },
  3162. "500": {
  3163. "description": "Internal Server Error",
  3164. "schema": {
  3165. "$ref": "#/definitions/app.Response"
  3166. }
  3167. }
  3168. }
  3169. }
  3170. },
  3171. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3172. "get": {
  3173. "security": [
  3174. {
  3175. "ApiKeyAuth": []
  3176. }
  3177. ],
  3178. "produces": [
  3179. "application/json"
  3180. ],
  3181. "tags": [
  3182. "企业风险管理v3(app)"
  3183. ],
  3184. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3185. "parameters": [
  3186. {
  3187. "type": "integer",
  3188. "description": "用户ID",
  3189. "name": "userid",
  3190. "in": "query",
  3191. "required": true
  3192. },
  3193. {
  3194. "type": "integer",
  3195. "description": "套保商品id",
  3196. "name": "middlegoodsid",
  3197. "in": "query",
  3198. "required": true
  3199. },
  3200. {
  3201. "type": "integer",
  3202. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3203. "name": "cycletype",
  3204. "in": "query",
  3205. "required": true
  3206. },
  3207. {
  3208. "type": "string",
  3209. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3210. "name": "cycletime",
  3211. "in": "query",
  3212. "required": true
  3213. }
  3214. ],
  3215. "responses": {
  3216. "200": {
  3217. "description": "OK",
  3218. "schema": {
  3219. "type": "array",
  3220. "items": {
  3221. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3222. }
  3223. }
  3224. },
  3225. "500": {
  3226. "description": "Internal Server Error",
  3227. "schema": {
  3228. "$ref": "#/definitions/app.Response"
  3229. }
  3230. }
  3231. }
  3232. }
  3233. },
  3234. "/Ermcp3/QryAreaExpourseReport": {
  3235. "get": {
  3236. "security": [
  3237. {
  3238. "ApiKeyAuth": []
  3239. }
  3240. ],
  3241. "produces": [
  3242. "application/json"
  3243. ],
  3244. "tags": [
  3245. "企业风险管理v3(app)"
  3246. ],
  3247. "summary": "查询敞口报表",
  3248. "parameters": [
  3249. {
  3250. "type": "integer",
  3251. "description": "用户ID",
  3252. "name": "userid",
  3253. "in": "query",
  3254. "required": true
  3255. },
  3256. {
  3257. "type": "integer",
  3258. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3259. "name": "querytype",
  3260. "in": "query",
  3261. "required": true
  3262. },
  3263. {
  3264. "type": "integer",
  3265. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3266. "name": "cycletype",
  3267. "in": "query",
  3268. "required": true
  3269. },
  3270. {
  3271. "type": "string",
  3272. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3273. "name": "cycletime",
  3274. "in": "query",
  3275. "required": true
  3276. }
  3277. ],
  3278. "responses": {
  3279. "200": {
  3280. "description": "OK",
  3281. "schema": {
  3282. "type": "array",
  3283. "items": {
  3284. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3285. }
  3286. }
  3287. },
  3288. "500": {
  3289. "description": "Internal Server Error",
  3290. "schema": {
  3291. "$ref": "#/definitions/app.Response"
  3292. }
  3293. }
  3294. }
  3295. }
  3296. },
  3297. "/Ermcp3/QryAreaSpotplReport": {
  3298. "get": {
  3299. "security": [
  3300. {
  3301. "ApiKeyAuth": []
  3302. }
  3303. ],
  3304. "produces": [
  3305. "application/json"
  3306. ],
  3307. "tags": [
  3308. "企业风险管理v3(app)"
  3309. ],
  3310. "summary": "查询现货报表",
  3311. "parameters": [
  3312. {
  3313. "type": "integer",
  3314. "description": "用户ID",
  3315. "name": "userid",
  3316. "in": "query",
  3317. "required": true
  3318. },
  3319. {
  3320. "type": "integer",
  3321. "description": "查询类型 1-报表 2-报表明细",
  3322. "name": "querytype",
  3323. "in": "query",
  3324. "required": true
  3325. },
  3326. {
  3327. "type": "integer",
  3328. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3329. "name": "cycletype",
  3330. "in": "query",
  3331. "required": true
  3332. },
  3333. {
  3334. "type": "string",
  3335. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3336. "name": "cycletime",
  3337. "in": "query",
  3338. "required": true
  3339. },
  3340. {
  3341. "type": "integer",
  3342. "description": "现货品种id(明细必填)",
  3343. "name": "deliverygoodsid",
  3344. "in": "query"
  3345. },
  3346. {
  3347. "type": "integer",
  3348. "description": "币种id(明细必填)",
  3349. "name": "currencyid",
  3350. "in": "query"
  3351. }
  3352. ],
  3353. "responses": {
  3354. "200": {
  3355. "description": "OK",
  3356. "schema": {
  3357. "type": "array",
  3358. "items": {
  3359. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3360. }
  3361. }
  3362. },
  3363. "500": {
  3364. "description": "Internal Server Error",
  3365. "schema": {
  3366. "$ref": "#/definitions/app.Response"
  3367. }
  3368. }
  3369. }
  3370. }
  3371. },
  3372. "/Ermcp3/QryAreaStockReport": {
  3373. "get": {
  3374. "security": [
  3375. {
  3376. "ApiKeyAuth": []
  3377. }
  3378. ],
  3379. "produces": [
  3380. "application/json"
  3381. ],
  3382. "tags": [
  3383. "企业风险管理v3(app)"
  3384. ],
  3385. "summary": "查询库存报表",
  3386. "parameters": [
  3387. {
  3388. "type": "integer",
  3389. "description": "用户ID",
  3390. "name": "userid",
  3391. "in": "query",
  3392. "required": true
  3393. },
  3394. {
  3395. "type": "integer",
  3396. "description": "查询类型 1-报表 2-报表明细",
  3397. "name": "querytype",
  3398. "in": "query",
  3399. "required": true
  3400. },
  3401. {
  3402. "type": "integer",
  3403. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3404. "name": "cycletype",
  3405. "in": "query",
  3406. "required": true
  3407. },
  3408. {
  3409. "type": "string",
  3410. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3411. "name": "cycletime",
  3412. "in": "query",
  3413. "required": true
  3414. },
  3415. {
  3416. "type": "string",
  3417. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3418. "name": "sumfields",
  3419. "in": "query"
  3420. },
  3421. {
  3422. "type": "integer",
  3423. "description": "品种ID",
  3424. "name": "deliverygoodsid",
  3425. "in": "query"
  3426. },
  3427. {
  3428. "type": "integer",
  3429. "description": "品类ID",
  3430. "name": "wrstandardid",
  3431. "in": "query"
  3432. },
  3433. {
  3434. "type": "integer",
  3435. "description": "品牌ID",
  3436. "name": "spotgoodsbrandid",
  3437. "in": "query"
  3438. },
  3439. {
  3440. "type": "integer",
  3441. "description": "仓库ID",
  3442. "name": "warehouseinfoid",
  3443. "in": "query"
  3444. }
  3445. ],
  3446. "responses": {
  3447. "200": {
  3448. "description": "OK",
  3449. "schema": {
  3450. "type": "array",
  3451. "items": {
  3452. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3453. }
  3454. }
  3455. },
  3456. "500": {
  3457. "description": "Internal Server Error",
  3458. "schema": {
  3459. "$ref": "#/definitions/app.Response"
  3460. }
  3461. }
  3462. }
  3463. }
  3464. },
  3465. "/Ermcp3/QryAreaSumPL": {
  3466. "get": {
  3467. "security": [
  3468. {
  3469. "ApiKeyAuth": []
  3470. }
  3471. ],
  3472. "produces": [
  3473. "application/json"
  3474. ],
  3475. "tags": [
  3476. "企业风险管理v3(app)"
  3477. ],
  3478. "summary": "查询汇总损益表",
  3479. "parameters": [
  3480. {
  3481. "type": "integer",
  3482. "description": "用户ID",
  3483. "name": "userid",
  3484. "in": "query",
  3485. "required": true
  3486. },
  3487. {
  3488. "type": "integer",
  3489. "description": "查询类型 1-报表 2-报表明细",
  3490. "name": "querytype",
  3491. "in": "query",
  3492. "required": true
  3493. },
  3494. {
  3495. "type": "integer",
  3496. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3497. "name": "cycletype",
  3498. "in": "query",
  3499. "required": true
  3500. },
  3501. {
  3502. "type": "string",
  3503. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3504. "name": "cycletime",
  3505. "in": "query",
  3506. "required": true
  3507. },
  3508. {
  3509. "type": "integer",
  3510. "description": "币种id(明细必填)",
  3511. "name": "currencyid",
  3512. "in": "query"
  3513. }
  3514. ],
  3515. "responses": {
  3516. "200": {
  3517. "description": "OK",
  3518. "schema": {
  3519. "type": "array",
  3520. "items": {
  3521. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3522. }
  3523. }
  3524. },
  3525. "500": {
  3526. "description": "Internal Server Error",
  3527. "schema": {
  3528. "$ref": "#/definitions/app.Response"
  3529. }
  3530. }
  3531. }
  3532. }
  3533. },
  3534. "/Ermcp3/QryFinanceReport": {
  3535. "get": {
  3536. "security": [
  3537. {
  3538. "ApiKeyAuth": []
  3539. }
  3540. ],
  3541. "produces": [
  3542. "application/json"
  3543. ],
  3544. "tags": [
  3545. "企业风险管理v3(app)"
  3546. ],
  3547. "summary": "查询财务报表",
  3548. "parameters": [
  3549. {
  3550. "type": "integer",
  3551. "description": "用户ID",
  3552. "name": "userid",
  3553. "in": "query",
  3554. "required": true
  3555. },
  3556. {
  3557. "type": "integer",
  3558. "description": "查询类型 1-报表 2-报表明细",
  3559. "name": "querytype",
  3560. "in": "query",
  3561. "required": true
  3562. },
  3563. {
  3564. "type": "integer",
  3565. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3566. "name": "cycletype",
  3567. "in": "query",
  3568. "required": true
  3569. },
  3570. {
  3571. "type": "string",
  3572. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3573. "name": "cycletime",
  3574. "in": "query",
  3575. "required": true
  3576. },
  3577. {
  3578. "type": "integer",
  3579. "description": "币种id(报表明细必填)",
  3580. "name": "currencyid",
  3581. "in": "query"
  3582. },
  3583. {
  3584. "type": "string",
  3585. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3586. "name": "sumfields",
  3587. "in": "query"
  3588. }
  3589. ],
  3590. "responses": {
  3591. "200": {
  3592. "description": "OK",
  3593. "schema": {
  3594. "type": "array",
  3595. "items": {
  3596. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3597. }
  3598. }
  3599. },
  3600. "500": {
  3601. "description": "Internal Server Error",
  3602. "schema": {
  3603. "$ref": "#/definitions/app.Response"
  3604. }
  3605. }
  3606. }
  3607. }
  3608. },
  3609. "/Ermcp3/QryTaFutureDataReport": {
  3610. "get": {
  3611. "security": [
  3612. {
  3613. "ApiKeyAuth": []
  3614. }
  3615. ],
  3616. "produces": [
  3617. "application/json"
  3618. ],
  3619. "tags": [
  3620. "企业风险管理v3(app)"
  3621. ],
  3622. "summary": "查询期货报表",
  3623. "parameters": [
  3624. {
  3625. "type": "integer",
  3626. "description": "用户ID",
  3627. "name": "userid",
  3628. "in": "query",
  3629. "required": true
  3630. },
  3631. {
  3632. "type": "integer",
  3633. "description": "查询类型 1-报表 2-报表明细",
  3634. "name": "querytype",
  3635. "in": "query",
  3636. "required": true
  3637. },
  3638. {
  3639. "type": "integer",
  3640. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3641. "name": "cycletype",
  3642. "in": "query",
  3643. "required": true
  3644. },
  3645. {
  3646. "type": "string",
  3647. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3648. "name": "cycletime",
  3649. "in": "query",
  3650. "required": true
  3651. },
  3652. {
  3653. "type": "integer",
  3654. "description": "币种id(查明细必填)",
  3655. "name": "currencyid",
  3656. "in": "query"
  3657. },
  3658. {
  3659. "type": "integer",
  3660. "description": "品种id(查明细必填)",
  3661. "name": "goodsgroupid",
  3662. "in": "query"
  3663. },
  3664. {
  3665. "type": "integer",
  3666. "description": "商品id(查明细必填)",
  3667. "name": "goodsid",
  3668. "in": "query"
  3669. },
  3670. {
  3671. "type": "integer",
  3672. "description": "买卖方向(查明细必填)",
  3673. "name": "buyorsell",
  3674. "in": "query"
  3675. }
  3676. ],
  3677. "responses": {
  3678. "200": {
  3679. "description": "OK",
  3680. "schema": {
  3681. "type": "array",
  3682. "items": {
  3683. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3684. }
  3685. }
  3686. },
  3687. "500": {
  3688. "description": "Internal Server Error",
  3689. "schema": {
  3690. "$ref": "#/definitions/app.Response"
  3691. }
  3692. }
  3693. }
  3694. }
  3695. },
  3696. "/Ermcp3/QueryAreaStock": {
  3697. "get": {
  3698. "security": [
  3699. {
  3700. "ApiKeyAuth": []
  3701. }
  3702. ],
  3703. "produces": [
  3704. "application/json"
  3705. ],
  3706. "tags": [
  3707. "企业风险管理v3(app)"
  3708. ],
  3709. "summary": "查询机构库存(库存管理/当前库存)",
  3710. "parameters": [
  3711. {
  3712. "type": "integer",
  3713. "description": "用户ID",
  3714. "name": "userid",
  3715. "in": "query",
  3716. "required": true
  3717. }
  3718. ],
  3719. "responses": {
  3720. "200": {
  3721. "description": "OK",
  3722. "schema": {
  3723. "type": "array",
  3724. "items": {
  3725. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3726. }
  3727. }
  3728. },
  3729. "500": {
  3730. "description": "Internal Server Error",
  3731. "schema": {
  3732. "$ref": "#/definitions/app.Response"
  3733. }
  3734. }
  3735. }
  3736. }
  3737. },
  3738. "/Ermcp3/QueryAreaStockApply": {
  3739. "get": {
  3740. "security": [
  3741. {
  3742. "ApiKeyAuth": []
  3743. }
  3744. ],
  3745. "produces": [
  3746. "application/json"
  3747. ],
  3748. "tags": [
  3749. "企业风险管理v3(app)"
  3750. ],
  3751. "summary": "查询库存申请(出入库记录|库存审核)",
  3752. "parameters": [
  3753. {
  3754. "type": "integer",
  3755. "description": "用户ID",
  3756. "name": "userid",
  3757. "in": "query",
  3758. "required": true
  3759. },
  3760. {
  3761. "type": "integer",
  3762. "description": "用户类型 2-机构 7-企业成员",
  3763. "name": "usertype",
  3764. "in": "query"
  3765. },
  3766. {
  3767. "type": "integer",
  3768. "description": "现货商品ID",
  3769. "name": "deliverygoodsid",
  3770. "in": "query"
  3771. },
  3772. {
  3773. "type": "string",
  3774. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3775. "name": "inouttype",
  3776. "in": "query"
  3777. },
  3778. {
  3779. "type": "integer",
  3780. "description": "合同ID",
  3781. "name": "spotcontractid",
  3782. "in": "query"
  3783. },
  3784. {
  3785. "type": "integer",
  3786. "description": "品类ID",
  3787. "name": "wrstandardid",
  3788. "in": "query"
  3789. },
  3790. {
  3791. "type": "integer",
  3792. "description": "品牌ID",
  3793. "name": "spotgoodsbrandid",
  3794. "in": "query"
  3795. },
  3796. {
  3797. "type": "integer",
  3798. "description": "仓库ID",
  3799. "name": "warehouseinfoid",
  3800. "in": "query"
  3801. },
  3802. {
  3803. "type": "string",
  3804. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3805. "name": "applystatus",
  3806. "in": "query"
  3807. }
  3808. ],
  3809. "responses": {
  3810. "200": {
  3811. "description": "OK",
  3812. "schema": {
  3813. "type": "array",
  3814. "items": {
  3815. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3816. }
  3817. }
  3818. },
  3819. "500": {
  3820. "description": "Internal Server Error",
  3821. "schema": {
  3822. "$ref": "#/definitions/app.Response"
  3823. }
  3824. }
  3825. }
  3826. }
  3827. },
  3828. "/Ermcp3/QueryAreaStockApplySum": {
  3829. "get": {
  3830. "security": [
  3831. {
  3832. "ApiKeyAuth": []
  3833. }
  3834. ],
  3835. "produces": [
  3836. "application/json"
  3837. ],
  3838. "tags": [
  3839. "企业风险管理v3(app)"
  3840. ],
  3841. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3842. "parameters": [
  3843. {
  3844. "type": "integer",
  3845. "description": "合同ID",
  3846. "name": "spotcontractid",
  3847. "in": "query",
  3848. "required": true
  3849. }
  3850. ],
  3851. "responses": {
  3852. "200": {
  3853. "description": "OK",
  3854. "schema": {
  3855. "type": "array",
  3856. "items": {
  3857. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3858. }
  3859. }
  3860. },
  3861. "500": {
  3862. "description": "Internal Server Error",
  3863. "schema": {
  3864. "$ref": "#/definitions/app.Response"
  3865. }
  3866. }
  3867. }
  3868. }
  3869. },
  3870. "/Ermcp3/QueryDGFactoryItem": {
  3871. "get": {
  3872. "security": [
  3873. {
  3874. "ApiKeyAuth": []
  3875. }
  3876. ],
  3877. "produces": [
  3878. "application/json"
  3879. ],
  3880. "tags": [
  3881. "企业风险管理v3(app)"
  3882. ],
  3883. "summary": "查询品种要素定义项",
  3884. "parameters": [
  3885. {
  3886. "type": "integer",
  3887. "description": "用户id",
  3888. "name": "userid",
  3889. "in": "query"
  3890. },
  3891. {
  3892. "type": "integer",
  3893. "description": "用户类型 2-机构 7-企业成员",
  3894. "name": "usertype",
  3895. "in": "query"
  3896. },
  3897. {
  3898. "type": "integer",
  3899. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3900. "name": "dgfactoryitemid",
  3901. "in": "query"
  3902. },
  3903. {
  3904. "type": "integer",
  3905. "description": "现货品种ID",
  3906. "name": "deliverygoodsid",
  3907. "in": "query"
  3908. },
  3909. {
  3910. "type": "integer",
  3911. "description": "要素项类型",
  3912. "name": "dgfactoryitemtypeid",
  3913. "in": "query"
  3914. },
  3915. {
  3916. "type": "integer",
  3917. "description": "顺序",
  3918. "name": "orderindex",
  3919. "in": "query"
  3920. }
  3921. ],
  3922. "responses": {
  3923. "200": {
  3924. "description": "OK",
  3925. "schema": {
  3926. "type": "array",
  3927. "items": {
  3928. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3929. }
  3930. }
  3931. },
  3932. "500": {
  3933. "description": "Internal Server Error",
  3934. "schema": {
  3935. "$ref": "#/definitions/app.Response"
  3936. }
  3937. }
  3938. }
  3939. }
  3940. },
  3941. "/Ermcp3/QueryDeliveryGoods": {
  3942. "get": {
  3943. "security": [
  3944. {
  3945. "ApiKeyAuth": []
  3946. }
  3947. ],
  3948. "produces": [
  3949. "application/json"
  3950. ],
  3951. "tags": [
  3952. "企业风险管理v3(app)"
  3953. ],
  3954. "summary": "查询现货商品",
  3955. "parameters": [
  3956. {
  3957. "type": "integer",
  3958. "description": "用户id",
  3959. "name": "userid",
  3960. "in": "query",
  3961. "required": true
  3962. },
  3963. {
  3964. "type": "integer",
  3965. "description": "用户类型 2-机构 7-企业成员",
  3966. "name": "usertype",
  3967. "in": "query"
  3968. },
  3969. {
  3970. "type": "integer",
  3971. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3972. "name": "excludecfg",
  3973. "in": "query"
  3974. }
  3975. ],
  3976. "responses": {
  3977. "200": {
  3978. "description": "OK",
  3979. "schema": {
  3980. "type": "array",
  3981. "items": {
  3982. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3983. }
  3984. }
  3985. },
  3986. "500": {
  3987. "description": "Internal Server Error",
  3988. "schema": {
  3989. "$ref": "#/definitions/app.Response"
  3990. }
  3991. }
  3992. }
  3993. }
  3994. },
  3995. "/Ermcp3/QueryDeliveryGoodsDetail": {
  3996. "get": {
  3997. "security": [
  3998. {
  3999. "ApiKeyAuth": []
  4000. }
  4001. ],
  4002. "produces": [
  4003. "application/json"
  4004. ],
  4005. "tags": [
  4006. "企业风险管理v3(app)"
  4007. ],
  4008. "summary": "查询现货商品详情",
  4009. "parameters": [
  4010. {
  4011. "type": "integer",
  4012. "description": "用户id",
  4013. "name": "userid",
  4014. "in": "query",
  4015. "required": true
  4016. },
  4017. {
  4018. "type": "integer",
  4019. "description": "用户类型 2-机构 7-企业成员",
  4020. "name": "usertype",
  4021. "in": "query"
  4022. },
  4023. {
  4024. "type": "integer",
  4025. "description": "现货商品id",
  4026. "name": "deliverygoodsid",
  4027. "in": "query"
  4028. }
  4029. ],
  4030. "responses": {
  4031. "200": {
  4032. "description": "OK",
  4033. "schema": {
  4034. "type": "array",
  4035. "items": {
  4036. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  4037. }
  4038. }
  4039. },
  4040. "500": {
  4041. "description": "Internal Server Error",
  4042. "schema": {
  4043. "$ref": "#/definitions/app.Response"
  4044. }
  4045. }
  4046. }
  4047. }
  4048. },
  4049. "/Ermcp3/QueryExposureDetail": {
  4050. "get": {
  4051. "security": [
  4052. {
  4053. "ApiKeyAuth": []
  4054. }
  4055. ],
  4056. "produces": [
  4057. "application/json"
  4058. ],
  4059. "tags": [
  4060. "企业风险管理v3(app)"
  4061. ],
  4062. "summary": "查询敞口现货明细",
  4063. "parameters": [
  4064. {
  4065. "type": "integer",
  4066. "description": "用户id",
  4067. "name": "userid",
  4068. "in": "query",
  4069. "required": true
  4070. },
  4071. {
  4072. "type": "integer",
  4073. "description": "用户类型 2-机构 7-企业成员",
  4074. "name": "usertype",
  4075. "in": "query"
  4076. },
  4077. {
  4078. "type": "integer",
  4079. "description": "套保商品",
  4080. "name": "middlegoodsid",
  4081. "in": "query",
  4082. "required": true
  4083. }
  4084. ],
  4085. "responses": {
  4086. "200": {
  4087. "description": "OK",
  4088. "schema": {
  4089. "type": "array",
  4090. "items": {
  4091. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4092. }
  4093. }
  4094. },
  4095. "500": {
  4096. "description": "Internal Server Error",
  4097. "schema": {
  4098. "$ref": "#/definitions/app.Response"
  4099. }
  4100. }
  4101. }
  4102. }
  4103. },
  4104. "/Ermcp3/QueryExposureSpot": {
  4105. "get": {
  4106. "security": [
  4107. {
  4108. "ApiKeyAuth": []
  4109. }
  4110. ],
  4111. "produces": [
  4112. "application/json"
  4113. ],
  4114. "tags": [
  4115. "企业风险管理v3(app)"
  4116. ],
  4117. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4118. "parameters": [
  4119. {
  4120. "type": "integer",
  4121. "description": "用户id",
  4122. "name": "userid",
  4123. "in": "query",
  4124. "required": true
  4125. },
  4126. {
  4127. "type": "integer",
  4128. "description": "用户类型 2-机构 7-企业成员",
  4129. "name": "usertype",
  4130. "in": "query"
  4131. }
  4132. ],
  4133. "responses": {
  4134. "200": {
  4135. "description": "OK",
  4136. "schema": {
  4137. "type": "array",
  4138. "items": {
  4139. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4140. }
  4141. }
  4142. },
  4143. "500": {
  4144. "description": "Internal Server Error",
  4145. "schema": {
  4146. "$ref": "#/definitions/app.Response"
  4147. }
  4148. }
  4149. }
  4150. }
  4151. },
  4152. "/Ermcp3/QueryExposureSpotDetail": {
  4153. "get": {
  4154. "security": [
  4155. {
  4156. "ApiKeyAuth": []
  4157. }
  4158. ],
  4159. "produces": [
  4160. "application/json"
  4161. ],
  4162. "tags": [
  4163. "企业风险管理v3(app)"
  4164. ],
  4165. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4166. "parameters": [
  4167. {
  4168. "type": "integer",
  4169. "description": "用户id",
  4170. "name": "userid",
  4171. "in": "query",
  4172. "required": true
  4173. },
  4174. {
  4175. "type": "integer",
  4176. "description": "用户类型 2-机构 7-企业成员",
  4177. "name": "usertype",
  4178. "in": "query"
  4179. },
  4180. {
  4181. "type": "integer",
  4182. "description": "现货品种ID",
  4183. "name": "deliverygoodsid",
  4184. "in": "query",
  4185. "required": true
  4186. }
  4187. ],
  4188. "responses": {
  4189. "200": {
  4190. "description": "OK",
  4191. "schema": {
  4192. "type": "array",
  4193. "items": {
  4194. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4195. }
  4196. }
  4197. },
  4198. "500": {
  4199. "description": "Internal Server Error",
  4200. "schema": {
  4201. "$ref": "#/definitions/app.Response"
  4202. }
  4203. }
  4204. }
  4205. }
  4206. },
  4207. "/Ermcp3/QueryGoodsGroup": {
  4208. "get": {
  4209. "security": [
  4210. {
  4211. "ApiKeyAuth": []
  4212. }
  4213. ],
  4214. "produces": [
  4215. "application/json"
  4216. ],
  4217. "tags": [
  4218. "企业风险管理v3(app)"
  4219. ],
  4220. "summary": "查询期货商品组",
  4221. "parameters": [
  4222. {
  4223. "type": "integer",
  4224. "description": "用户id",
  4225. "name": "userid",
  4226. "in": "query",
  4227. "required": true
  4228. },
  4229. {
  4230. "type": "integer",
  4231. "description": "用户类型 2-机构 7-企业成员",
  4232. "name": "usertype",
  4233. "in": "query"
  4234. },
  4235. {
  4236. "type": "integer",
  4237. "description": "排除套保品中已关联的商品组 1-排除",
  4238. "name": "excludecfg",
  4239. "in": "query"
  4240. }
  4241. ],
  4242. "responses": {
  4243. "200": {
  4244. "description": "OK",
  4245. "schema": {
  4246. "type": "array",
  4247. "items": {
  4248. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4249. }
  4250. }
  4251. },
  4252. "500": {
  4253. "description": "Internal Server Error",
  4254. "schema": {
  4255. "$ref": "#/definitions/app.Response"
  4256. }
  4257. }
  4258. }
  4259. }
  4260. },
  4261. "/Ermcp3/QueryGoodsWrstandard": {
  4262. "get": {
  4263. "security": [
  4264. {
  4265. "ApiKeyAuth": []
  4266. }
  4267. ],
  4268. "produces": [
  4269. "application/json"
  4270. ],
  4271. "tags": [
  4272. "企业风险管理v3(app)"
  4273. ],
  4274. "summary": "查询商品品类",
  4275. "parameters": [
  4276. {
  4277. "type": "integer",
  4278. "description": "用户id",
  4279. "name": "userid",
  4280. "in": "query",
  4281. "required": true
  4282. },
  4283. {
  4284. "type": "integer",
  4285. "description": "用户类型 2-机构 7-企业成员",
  4286. "name": "usertype",
  4287. "in": "query"
  4288. },
  4289. {
  4290. "type": "integer",
  4291. "description": "现货商品id",
  4292. "name": "deliverygoodsid",
  4293. "in": "query"
  4294. }
  4295. ],
  4296. "responses": {
  4297. "200": {
  4298. "description": "OK",
  4299. "schema": {
  4300. "type": "array",
  4301. "items": {
  4302. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4303. }
  4304. }
  4305. },
  4306. "500": {
  4307. "description": "Internal Server Error",
  4308. "schema": {
  4309. "$ref": "#/definitions/app.Response"
  4310. }
  4311. }
  4312. }
  4313. }
  4314. },
  4315. "/Ermcp3/QueryGoodsbrand": {
  4316. "get": {
  4317. "security": [
  4318. {
  4319. "ApiKeyAuth": []
  4320. }
  4321. ],
  4322. "produces": [
  4323. "application/json"
  4324. ],
  4325. "tags": [
  4326. "企业风险管理v3(app)"
  4327. ],
  4328. "summary": "查询商品品牌",
  4329. "parameters": [
  4330. {
  4331. "type": "integer",
  4332. "description": "用户id",
  4333. "name": "userid",
  4334. "in": "query",
  4335. "required": true
  4336. },
  4337. {
  4338. "type": "integer",
  4339. "description": "用户类型 2-机构 7-企业成员",
  4340. "name": "usertype",
  4341. "in": "query"
  4342. }
  4343. ],
  4344. "responses": {
  4345. "200": {
  4346. "description": "OK",
  4347. "schema": {
  4348. "type": "array",
  4349. "items": {
  4350. "$ref": "#/definitions/models.Ermcp3Brand"
  4351. }
  4352. }
  4353. },
  4354. "500": {
  4355. "description": "Internal Server Error",
  4356. "schema": {
  4357. "$ref": "#/definitions/app.Response"
  4358. }
  4359. }
  4360. }
  4361. }
  4362. },
  4363. "/Ermcp3/QueryHedgePlan": {
  4364. "get": {
  4365. "security": [
  4366. {
  4367. "ApiKeyAuth": []
  4368. }
  4369. ],
  4370. "produces": [
  4371. "application/json"
  4372. ],
  4373. "tags": [
  4374. "企业风险管理v3(app)"
  4375. ],
  4376. "summary": "查询套保计划",
  4377. "parameters": [
  4378. {
  4379. "type": "integer",
  4380. "description": "用户ID",
  4381. "name": "userid",
  4382. "in": "query",
  4383. "required": true
  4384. },
  4385. {
  4386. "type": "integer",
  4387. "description": "用户类型 2-机构 7-企业成员",
  4388. "name": "usertype",
  4389. "in": "query"
  4390. },
  4391. {
  4392. "type": "string",
  4393. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4394. "name": "hedgeplanstatus",
  4395. "in": "query",
  4396. "required": true
  4397. }
  4398. ],
  4399. "responses": {
  4400. "200": {
  4401. "description": "OK",
  4402. "schema": {
  4403. "type": "array",
  4404. "items": {
  4405. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4406. }
  4407. }
  4408. },
  4409. "500": {
  4410. "description": "Internal Server Error",
  4411. "schema": {
  4412. "$ref": "#/definitions/app.Response"
  4413. }
  4414. }
  4415. }
  4416. }
  4417. },
  4418. "/Ermcp3/QueryMiddleGoodsDetail": {
  4419. "get": {
  4420. "security": [
  4421. {
  4422. "ApiKeyAuth": []
  4423. }
  4424. ],
  4425. "produces": [
  4426. "application/json"
  4427. ],
  4428. "tags": [
  4429. "企业风险管理v3(app)"
  4430. ],
  4431. "summary": "查询套保品种详情(套保品种/商品详情)",
  4432. "parameters": [
  4433. {
  4434. "type": "integer",
  4435. "description": "用户id",
  4436. "name": "userid",
  4437. "in": "query",
  4438. "required": true
  4439. },
  4440. {
  4441. "type": "integer",
  4442. "description": "用户类型 2-机构 7-企业成员",
  4443. "name": "usertype",
  4444. "in": "query"
  4445. },
  4446. {
  4447. "type": "integer",
  4448. "description": "套保品种id",
  4449. "name": "middlegoodsid",
  4450. "in": "query"
  4451. }
  4452. ],
  4453. "responses": {
  4454. "200": {
  4455. "description": "OK",
  4456. "schema": {
  4457. "type": "array",
  4458. "items": {
  4459. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4460. }
  4461. }
  4462. },
  4463. "500": {
  4464. "description": "Internal Server Error",
  4465. "schema": {
  4466. "$ref": "#/definitions/app.Response"
  4467. }
  4468. }
  4469. }
  4470. }
  4471. },
  4472. "/Ermcp3/QueryRootUserAccount": {
  4473. "get": {
  4474. "security": [
  4475. {
  4476. "ApiKeyAuth": []
  4477. }
  4478. ],
  4479. "produces": [
  4480. "application/json"
  4481. ],
  4482. "tags": [
  4483. "企业风险管理v3(app)"
  4484. ],
  4485. "summary": "查询顶级用户信息",
  4486. "parameters": [
  4487. {
  4488. "type": "integer",
  4489. "description": "用户ID",
  4490. "name": "userid",
  4491. "in": "query",
  4492. "required": true
  4493. }
  4494. ],
  4495. "responses": {
  4496. "200": {
  4497. "description": "OK",
  4498. "schema": {
  4499. "type": "array",
  4500. "items": {
  4501. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  4502. }
  4503. }
  4504. },
  4505. "500": {
  4506. "description": "Internal Server Error",
  4507. "schema": {
  4508. "$ref": "#/definitions/app.Response"
  4509. }
  4510. }
  4511. }
  4512. }
  4513. },
  4514. "/Ermcp3/QuerySpotContract": {
  4515. "get": {
  4516. "security": [
  4517. {
  4518. "ApiKeyAuth": []
  4519. }
  4520. ],
  4521. "produces": [
  4522. "application/json"
  4523. ],
  4524. "tags": [
  4525. "企业风险管理v3(app)"
  4526. ],
  4527. "summary": "查询现货合同",
  4528. "parameters": [
  4529. {
  4530. "type": "integer",
  4531. "description": "用户id",
  4532. "name": "userid",
  4533. "in": "query",
  4534. "required": true
  4535. },
  4536. {
  4537. "type": "integer",
  4538. "description": "用户类型 2-机构 7-企业成员",
  4539. "name": "usertype",
  4540. "in": "query"
  4541. },
  4542. {
  4543. "type": "integer",
  4544. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4545. "name": "querytype",
  4546. "in": "query",
  4547. "required": true
  4548. },
  4549. {
  4550. "type": "string",
  4551. "description": "合同ID(SpotContractId)",
  4552. "name": "contractid",
  4553. "in": "query"
  4554. }
  4555. ],
  4556. "responses": {
  4557. "200": {
  4558. "description": "OK",
  4559. "schema": {
  4560. "type": "array",
  4561. "items": {
  4562. "$ref": "#/definitions/models.Ermcp3Contract"
  4563. }
  4564. }
  4565. },
  4566. "500": {
  4567. "description": "Internal Server Error",
  4568. "schema": {
  4569. "$ref": "#/definitions/app.Response"
  4570. }
  4571. }
  4572. }
  4573. }
  4574. },
  4575. "/Ermcp3/QuerySpotContractBS": {
  4576. "get": {
  4577. "security": [
  4578. {
  4579. "ApiKeyAuth": []
  4580. }
  4581. ],
  4582. "produces": [
  4583. "application/json"
  4584. ],
  4585. "tags": [
  4586. "企业风险管理v3(app)"
  4587. ],
  4588. "summary": "查询合同(采购/销售)",
  4589. "parameters": [
  4590. {
  4591. "type": "integer",
  4592. "description": "用户id",
  4593. "name": "userid",
  4594. "in": "query",
  4595. "required": true
  4596. },
  4597. {
  4598. "type": "integer",
  4599. "description": "用户类型 2-机构 7-企业成员",
  4600. "name": "usertype",
  4601. "in": "query"
  4602. },
  4603. {
  4604. "type": "integer",
  4605. "description": "合同类型 1-采购, -1-销售",
  4606. "name": "contracttype",
  4607. "in": "query",
  4608. "required": true
  4609. },
  4610. {
  4611. "type": "integer",
  4612. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4613. "name": "querytype",
  4614. "in": "query",
  4615. "required": true
  4616. },
  4617. {
  4618. "type": "string",
  4619. "description": "合同ID(SpotContractId)",
  4620. "name": "contractid",
  4621. "in": "query"
  4622. }
  4623. ],
  4624. "responses": {
  4625. "200": {
  4626. "description": "OK",
  4627. "schema": {
  4628. "type": "array",
  4629. "items": {
  4630. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4631. }
  4632. }
  4633. },
  4634. "500": {
  4635. "description": "Internal Server Error",
  4636. "schema": {
  4637. "$ref": "#/definitions/app.Response"
  4638. }
  4639. }
  4640. }
  4641. }
  4642. },
  4643. "/Ermcp3/QuerySpotGoodsPrice": {
  4644. "get": {
  4645. "security": [
  4646. {
  4647. "ApiKeyAuth": []
  4648. }
  4649. ],
  4650. "produces": [
  4651. "application/json"
  4652. ],
  4653. "tags": [
  4654. "企业风险管理v3(app)"
  4655. ],
  4656. "summary": "查询现货市价(现货市价)",
  4657. "parameters": [
  4658. {
  4659. "type": "integer",
  4660. "description": "用户ID",
  4661. "name": "userid",
  4662. "in": "query",
  4663. "required": true
  4664. }
  4665. ],
  4666. "responses": {
  4667. "200": {
  4668. "description": "OK",
  4669. "schema": {
  4670. "type": "array",
  4671. "items": {
  4672. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4673. }
  4674. }
  4675. },
  4676. "500": {
  4677. "description": "Internal Server Error",
  4678. "schema": {
  4679. "$ref": "#/definitions/app.Response"
  4680. }
  4681. }
  4682. }
  4683. }
  4684. },
  4685. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4686. "get": {
  4687. "security": [
  4688. {
  4689. "ApiKeyAuth": []
  4690. }
  4691. ],
  4692. "produces": [
  4693. "application/json"
  4694. ],
  4695. "tags": [
  4696. "企业风险管理v3(app)"
  4697. ],
  4698. "summary": "查询现货市价详情(现货市价/详情)",
  4699. "parameters": [
  4700. {
  4701. "type": "integer",
  4702. "description": "用户ID",
  4703. "name": "userid",
  4704. "in": "query",
  4705. "required": true
  4706. },
  4707. {
  4708. "type": "integer",
  4709. "description": "现货商品ID",
  4710. "name": "deliverygoodsid",
  4711. "in": "query",
  4712. "required": true
  4713. },
  4714. {
  4715. "type": "integer",
  4716. "description": "品牌ID",
  4717. "name": "brandid",
  4718. "in": "query"
  4719. },
  4720. {
  4721. "type": "integer",
  4722. "description": "品类ID",
  4723. "name": "wrstandardid",
  4724. "in": "query"
  4725. }
  4726. ],
  4727. "responses": {
  4728. "200": {
  4729. "description": "OK",
  4730. "schema": {
  4731. "type": "array",
  4732. "items": {
  4733. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4734. }
  4735. }
  4736. },
  4737. "500": {
  4738. "description": "Internal Server Error",
  4739. "schema": {
  4740. "$ref": "#/definitions/app.Response"
  4741. }
  4742. }
  4743. }
  4744. }
  4745. },
  4746. "/Erms2/QueryArbitrageStrategy": {
  4747. "get": {
  4748. "security": [
  4749. {
  4750. "ApiKeyAuth": []
  4751. }
  4752. ],
  4753. "produces": [
  4754. "application/json"
  4755. ],
  4756. "tags": [
  4757. "风险管理"
  4758. ],
  4759. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4760. "parameters": [
  4761. {
  4762. "type": "integer",
  4763. "description": "账户ID",
  4764. "name": "userid",
  4765. "in": "query",
  4766. "required": true
  4767. },
  4768. {
  4769. "type": "string",
  4770. "description": "商品组ID(品种ID)",
  4771. "name": "goodsgroupid",
  4772. "in": "query"
  4773. }
  4774. ],
  4775. "responses": {
  4776. "200": {
  4777. "description": "OK",
  4778. "schema": {
  4779. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4780. }
  4781. },
  4782. "500": {
  4783. "description": "Internal Server Error",
  4784. "schema": {
  4785. "$ref": "#/definitions/app.Response"
  4786. }
  4787. }
  4788. }
  4789. }
  4790. },
  4791. "/Erms2/QueryInnerTradeDetail": {
  4792. "get": {
  4793. "security": [
  4794. {
  4795. "ApiKeyAuth": []
  4796. }
  4797. ],
  4798. "produces": [
  4799. "application/json"
  4800. ],
  4801. "tags": [
  4802. "风险管理"
  4803. ],
  4804. "summary": "查询内部成交单信息",
  4805. "parameters": [
  4806. {
  4807. "type": "integer",
  4808. "description": "资金账户",
  4809. "name": "accountid",
  4810. "in": "query",
  4811. "required": true
  4812. }
  4813. ],
  4814. "responses": {
  4815. "200": {
  4816. "description": "OK",
  4817. "schema": {
  4818. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4819. }
  4820. },
  4821. "500": {
  4822. "description": "Internal Server Error",
  4823. "schema": {
  4824. "$ref": "#/definitions/app.Response"
  4825. }
  4826. }
  4827. }
  4828. }
  4829. },
  4830. "/Erms2/QuerySpotContract": {
  4831. "get": {
  4832. "security": [
  4833. {
  4834. "ApiKeyAuth": []
  4835. }
  4836. ],
  4837. "produces": [
  4838. "application/json"
  4839. ],
  4840. "tags": [
  4841. "风险管理"
  4842. ],
  4843. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4844. "parameters": [
  4845. {
  4846. "type": "integer",
  4847. "description": "策略申请ID",
  4848. "name": "asapplyid",
  4849. "in": "query",
  4850. "required": true
  4851. },
  4852. {
  4853. "type": "integer",
  4854. "description": "现货合同ID",
  4855. "name": "spotcontractid",
  4856. "in": "query"
  4857. }
  4858. ],
  4859. "responses": {
  4860. "200": {
  4861. "description": "OK",
  4862. "schema": {
  4863. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4864. }
  4865. },
  4866. "500": {
  4867. "description": "Internal Server Error",
  4868. "schema": {
  4869. "$ref": "#/definitions/app.Response"
  4870. }
  4871. }
  4872. }
  4873. }
  4874. },
  4875. "/Erms3/AddErms2ASApply": {
  4876. "post": {
  4877. "security": [
  4878. {
  4879. "ApiKeyAuth": []
  4880. }
  4881. ],
  4882. "produces": [
  4883. "application/json"
  4884. ],
  4885. "tags": [
  4886. "风险管理v3"
  4887. ],
  4888. "summary": "新增期现套利业务申请",
  4889. "parameters": [
  4890. {
  4891. "description": "申请参数",
  4892. "name": "jsonBody",
  4893. "in": "body",
  4894. "required": true,
  4895. "schema": {
  4896. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4897. }
  4898. }
  4899. ],
  4900. "responses": {
  4901. "200": {
  4902. "description": "OK",
  4903. "schema": {
  4904. "$ref": "#/definitions/app.Response"
  4905. }
  4906. },
  4907. "500": {
  4908. "description": "Internal Server Error",
  4909. "schema": {
  4910. "$ref": "#/definitions/app.Response"
  4911. }
  4912. }
  4913. }
  4914. }
  4915. },
  4916. "/Erms3/AddErms2SpotTradeApply": {
  4917. "post": {
  4918. "security": [
  4919. {
  4920. "ApiKeyAuth": []
  4921. }
  4922. ],
  4923. "produces": [
  4924. "application/json"
  4925. ],
  4926. "tags": [
  4927. "风险管理v3"
  4928. ],
  4929. "summary": "新增现货贸易业务申请",
  4930. "parameters": [
  4931. {
  4932. "description": "申请参数",
  4933. "name": "jsonBody",
  4934. "in": "body",
  4935. "required": true,
  4936. "schema": {
  4937. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4938. }
  4939. }
  4940. ],
  4941. "responses": {
  4942. "200": {
  4943. "description": "OK",
  4944. "schema": {
  4945. "$ref": "#/definitions/app.Response"
  4946. }
  4947. },
  4948. "500": {
  4949. "description": "Internal Server Error",
  4950. "schema": {
  4951. "$ref": "#/definitions/app.Response"
  4952. }
  4953. }
  4954. }
  4955. }
  4956. },
  4957. "/Erms3/AddSpotContractApply": {
  4958. "post": {
  4959. "security": [
  4960. {
  4961. "ApiKeyAuth": []
  4962. }
  4963. ],
  4964. "produces": [
  4965. "application/json"
  4966. ],
  4967. "tags": [
  4968. "风险管理v3"
  4969. ],
  4970. "summary": "新增现货合同申请",
  4971. "parameters": [
  4972. {
  4973. "description": "申请参数",
  4974. "name": "jsonBody",
  4975. "in": "body",
  4976. "required": true,
  4977. "schema": {
  4978. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4979. }
  4980. }
  4981. ],
  4982. "responses": {
  4983. "200": {
  4984. "description": "OK",
  4985. "schema": {
  4986. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4987. }
  4988. },
  4989. "500": {
  4990. "description": "Internal Server Error",
  4991. "schema": {
  4992. "$ref": "#/definitions/app.Response"
  4993. }
  4994. }
  4995. }
  4996. }
  4997. },
  4998. "/Erms3/AddUserInfoApply": {
  4999. "post": {
  5000. "security": [
  5001. {
  5002. "ApiKeyAuth": []
  5003. }
  5004. ],
  5005. "produces": [
  5006. "application/json"
  5007. ],
  5008. "tags": [
  5009. "风险管理v3"
  5010. ],
  5011. "summary": "新增客户申请",
  5012. "parameters": [
  5013. {
  5014. "description": "用户信息",
  5015. "name": "jsonBody",
  5016. "in": "body",
  5017. "required": true,
  5018. "schema": {
  5019. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5020. }
  5021. }
  5022. ],
  5023. "responses": {
  5024. "200": {
  5025. "description": "OK",
  5026. "schema": {
  5027. "$ref": "#/definitions/app.Response"
  5028. }
  5029. },
  5030. "500": {
  5031. "description": "Internal Server Error",
  5032. "schema": {
  5033. "$ref": "#/definitions/app.Response"
  5034. }
  5035. }
  5036. }
  5037. }
  5038. },
  5039. "/Erms3/DeleteUserInfoApply": {
  5040. "get": {
  5041. "security": [
  5042. {
  5043. "ApiKeyAuth": []
  5044. }
  5045. ],
  5046. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5047. "produces": [
  5048. "application/json"
  5049. ],
  5050. "tags": [
  5051. "风险管理v3"
  5052. ],
  5053. "summary": "删除客户申请",
  5054. "parameters": [
  5055. {
  5056. "type": "integer",
  5057. "description": "用户ID",
  5058. "name": "userID",
  5059. "in": "query",
  5060. "required": true
  5061. }
  5062. ],
  5063. "responses": {
  5064. "200": {
  5065. "description": "OK",
  5066. "schema": {
  5067. "$ref": "#/definitions/app.Response"
  5068. }
  5069. },
  5070. "500": {
  5071. "description": "Internal Server Error",
  5072. "schema": {
  5073. "$ref": "#/definitions/app.Response"
  5074. }
  5075. }
  5076. }
  5077. }
  5078. },
  5079. "/Erms3/ModifyUserInfoApply": {
  5080. "post": {
  5081. "security": [
  5082. {
  5083. "ApiKeyAuth": []
  5084. }
  5085. ],
  5086. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5087. "produces": [
  5088. "application/json"
  5089. ],
  5090. "tags": [
  5091. "风险管理v3"
  5092. ],
  5093. "summary": "修改客户申请",
  5094. "parameters": [
  5095. {
  5096. "description": "用户信息",
  5097. "name": "jsonBody",
  5098. "in": "body",
  5099. "required": true,
  5100. "schema": {
  5101. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5102. }
  5103. }
  5104. ],
  5105. "responses": {
  5106. "200": {
  5107. "description": "OK",
  5108. "schema": {
  5109. "$ref": "#/definitions/app.Response"
  5110. }
  5111. },
  5112. "500": {
  5113. "description": "Internal Server Error",
  5114. "schema": {
  5115. "$ref": "#/definitions/app.Response"
  5116. }
  5117. }
  5118. }
  5119. }
  5120. },
  5121. "/Erms3/QueryBusinessInfo": {
  5122. "get": {
  5123. "security": [
  5124. {
  5125. "ApiKeyAuth": []
  5126. }
  5127. ],
  5128. "produces": [
  5129. "application/json"
  5130. ],
  5131. "tags": [
  5132. "风险管理v3"
  5133. ],
  5134. "summary": "查询业务表单数据",
  5135. "parameters": [
  5136. {
  5137. "type": "string",
  5138. "description": "资金账号ID列表,用逗号分隔",
  5139. "name": "accountids",
  5140. "in": "query",
  5141. "required": true
  5142. },
  5143. {
  5144. "type": "integer",
  5145. "description": "状态,0为未结束 1为已结束",
  5146. "name": "status",
  5147. "in": "query",
  5148. "required": true
  5149. }
  5150. ],
  5151. "responses": {
  5152. "200": {
  5153. "description": "OK",
  5154. "schema": {
  5155. "type": "array",
  5156. "items": {
  5157. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5158. }
  5159. }
  5160. },
  5161. "500": {
  5162. "description": "Internal Server Error",
  5163. "schema": {
  5164. "$ref": "#/definitions/app.Response"
  5165. }
  5166. }
  5167. }
  5168. }
  5169. },
  5170. "/Erms3/QueryPendingAuditContract": {
  5171. "get": {
  5172. "security": [
  5173. {
  5174. "ApiKeyAuth": []
  5175. }
  5176. ],
  5177. "produces": [
  5178. "application/json"
  5179. ],
  5180. "tags": [
  5181. "风险管理v3"
  5182. ],
  5183. "summary": "查询待审核合同",
  5184. "parameters": [
  5185. {
  5186. "type": "string",
  5187. "description": "资金账号ID列表,逗号隔开",
  5188. "name": "accountids",
  5189. "in": "query",
  5190. "required": true
  5191. },
  5192. {
  5193. "type": "integer",
  5194. "description": "合同类型 1-采购 -1-销售",
  5195. "name": "contracttype",
  5196. "in": "query",
  5197. "required": true
  5198. },
  5199. {
  5200. "type": "integer",
  5201. "description": "合同模式 1-普通 2-回购",
  5202. "name": "contractmode",
  5203. "in": "query",
  5204. "required": true
  5205. }
  5206. ],
  5207. "responses": {
  5208. "200": {
  5209. "description": "OK",
  5210. "schema": {
  5211. "type": "array",
  5212. "items": {
  5213. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5214. }
  5215. }
  5216. },
  5217. "500": {
  5218. "description": "Internal Server Error",
  5219. "schema": {
  5220. "$ref": "#/definitions/app.Response"
  5221. }
  5222. }
  5223. }
  5224. }
  5225. },
  5226. "/Erms3/QueryPendingBusiness": {
  5227. "get": {
  5228. "security": [
  5229. {
  5230. "ApiKeyAuth": []
  5231. }
  5232. ],
  5233. "produces": [
  5234. "application/json"
  5235. ],
  5236. "tags": [
  5237. "风险管理v3"
  5238. ],
  5239. "summary": "查询待审核基差贸易业务",
  5240. "parameters": [
  5241. {
  5242. "type": "string",
  5243. "description": "资金账号ID列表,逗号隔开",
  5244. "name": "accountids",
  5245. "in": "query",
  5246. "required": true
  5247. }
  5248. ],
  5249. "responses": {
  5250. "200": {
  5251. "description": "OK",
  5252. "schema": {
  5253. "type": "array",
  5254. "items": {
  5255. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5256. }
  5257. }
  5258. },
  5259. "500": {
  5260. "description": "Internal Server Error",
  5261. "schema": {
  5262. "$ref": "#/definitions/app.Response"
  5263. }
  5264. }
  5265. }
  5266. }
  5267. },
  5268. "/Erms3/QuerySpotContractAppleForm": {
  5269. "get": {
  5270. "security": [
  5271. {
  5272. "ApiKeyAuth": []
  5273. }
  5274. ],
  5275. "produces": [
  5276. "application/json"
  5277. ],
  5278. "tags": [
  5279. "风险管理v3"
  5280. ],
  5281. "summary": "查询合同申请表单数据",
  5282. "parameters": [
  5283. {
  5284. "type": "integer",
  5285. "description": "登录账号",
  5286. "name": "loginID",
  5287. "in": "query",
  5288. "required": true
  5289. }
  5290. ],
  5291. "responses": {
  5292. "200": {
  5293. "description": "OK",
  5294. "schema": {
  5295. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5296. }
  5297. },
  5298. "500": {
  5299. "description": "Internal Server Error",
  5300. "schema": {
  5301. "$ref": "#/definitions/app.Response"
  5302. }
  5303. }
  5304. }
  5305. }
  5306. },
  5307. "/Erms3/QuerySpotContractDetail": {
  5308. "get": {
  5309. "security": [
  5310. {
  5311. "ApiKeyAuth": []
  5312. }
  5313. ],
  5314. "produces": [
  5315. "application/json"
  5316. ],
  5317. "tags": [
  5318. "风险管理v3"
  5319. ],
  5320. "summary": "查询合同详细信息",
  5321. "parameters": [
  5322. {
  5323. "type": "string",
  5324. "description": "资金账号ID列表,用逗号分隔",
  5325. "name": "accountids",
  5326. "in": "query",
  5327. "required": true
  5328. },
  5329. {
  5330. "type": "integer",
  5331. "description": "合同类型,1为采购合同 -1为销售合同",
  5332. "name": "contracttype",
  5333. "in": "query",
  5334. "required": true
  5335. },
  5336. {
  5337. "type": "integer",
  5338. "description": "合同模式,1为普通合同 2为回购销售合同",
  5339. "name": "contractmode",
  5340. "in": "query",
  5341. "required": true
  5342. },
  5343. {
  5344. "type": "integer",
  5345. "description": "状态,0为履约中 1为已完成",
  5346. "name": "status",
  5347. "in": "query",
  5348. "required": true
  5349. }
  5350. ],
  5351. "responses": {
  5352. "200": {
  5353. "description": "OK",
  5354. "schema": {
  5355. "type": "array",
  5356. "items": {
  5357. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5358. }
  5359. }
  5360. },
  5361. "500": {
  5362. "description": "Internal Server Error",
  5363. "schema": {
  5364. "$ref": "#/definitions/app.Response"
  5365. }
  5366. }
  5367. }
  5368. }
  5369. },
  5370. "/Erms3/QueryUserInfoApplies": {
  5371. "get": {
  5372. "security": [
  5373. {
  5374. "ApiKeyAuth": []
  5375. }
  5376. ],
  5377. "produces": [
  5378. "application/json"
  5379. ],
  5380. "tags": [
  5381. "风险管理v3"
  5382. ],
  5383. "summary": "客户申请信息查询",
  5384. "parameters": [
  5385. {
  5386. "type": "integer",
  5387. "description": "页码",
  5388. "name": "page",
  5389. "in": "query"
  5390. },
  5391. {
  5392. "type": "integer",
  5393. "description": "每页条数",
  5394. "name": "pagesize",
  5395. "in": "query"
  5396. },
  5397. {
  5398. "type": "string",
  5399. "description": "客户名称,支持模糊查询",
  5400. "name": "userName",
  5401. "in": "query"
  5402. }
  5403. ],
  5404. "responses": {
  5405. "200": {
  5406. "description": "OK",
  5407. "schema": {
  5408. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5409. }
  5410. },
  5411. "500": {
  5412. "description": "Internal Server Error",
  5413. "schema": {
  5414. "$ref": "#/definitions/app.Response"
  5415. }
  5416. }
  5417. }
  5418. }
  5419. },
  5420. "/Erms3/QueryUserInfos": {
  5421. "get": {
  5422. "security": [
  5423. {
  5424. "ApiKeyAuth": []
  5425. }
  5426. ],
  5427. "produces": [
  5428. "application/json"
  5429. ],
  5430. "tags": [
  5431. "风险管理v3"
  5432. ],
  5433. "summary": "客户信息查询",
  5434. "parameters": [
  5435. {
  5436. "type": "integer",
  5437. "description": "页码",
  5438. "name": "page",
  5439. "in": "query"
  5440. },
  5441. {
  5442. "type": "integer",
  5443. "description": "每页条数",
  5444. "name": "pagesize",
  5445. "in": "query"
  5446. },
  5447. {
  5448. "type": "string",
  5449. "description": "客户名称,支持模糊查询",
  5450. "name": "userName",
  5451. "in": "query"
  5452. }
  5453. ],
  5454. "responses": {
  5455. "200": {
  5456. "description": "OK",
  5457. "schema": {
  5458. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5459. }
  5460. },
  5461. "500": {
  5462. "description": "Internal Server Error",
  5463. "schema": {
  5464. "$ref": "#/definitions/app.Response"
  5465. }
  5466. }
  5467. }
  5468. }
  5469. },
  5470. "/HSBY/GetHsbyMyCount": {
  5471. "get": {
  5472. "security": [
  5473. {
  5474. "ApiKeyAuth": []
  5475. }
  5476. ],
  5477. "description": "说明: 不包括已完成的数量。",
  5478. "produces": [
  5479. "application/json"
  5480. ],
  5481. "tags": [
  5482. "定制【海商报业】"
  5483. ],
  5484. "summary": "获取我的订单与包裹数量",
  5485. "parameters": [
  5486. {
  5487. "type": "string",
  5488. "description": "资金账户列表,格式:1,2,3",
  5489. "name": "accountIDs",
  5490. "in": "query",
  5491. "required": true
  5492. }
  5493. ],
  5494. "responses": {
  5495. "200": {
  5496. "description": "OK",
  5497. "schema": {
  5498. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5499. }
  5500. },
  5501. "500": {
  5502. "description": "Internal Server Error",
  5503. "schema": {
  5504. "$ref": "#/definitions/app.Response"
  5505. }
  5506. }
  5507. }
  5508. }
  5509. },
  5510. "/HSBY/QueryClientFixedADConfigs": {
  5511. "get": {
  5512. "security": [
  5513. {
  5514. "ApiKeyAuth": []
  5515. }
  5516. ],
  5517. "produces": [
  5518. "application/json"
  5519. ],
  5520. "tags": [
  5521. "定制【海商报业】"
  5522. ],
  5523. "summary": "获取终端固定广告配置",
  5524. "responses": {
  5525. "200": {
  5526. "description": "OK",
  5527. "schema": {
  5528. "$ref": "#/definitions/models.Clientfixedadconfig"
  5529. }
  5530. },
  5531. "500": {
  5532. "description": "Internal Server Error",
  5533. "schema": {
  5534. "$ref": "#/definitions/app.Response"
  5535. }
  5536. }
  5537. }
  5538. }
  5539. },
  5540. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5541. "get": {
  5542. "security": [
  5543. {
  5544. "ApiKeyAuth": []
  5545. }
  5546. ],
  5547. "produces": [
  5548. "application/json"
  5549. ],
  5550. "tags": [
  5551. "定制【海商报业】"
  5552. ],
  5553. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5554. "parameters": [
  5555. {
  5556. "type": "integer",
  5557. "description": "页码",
  5558. "name": "page",
  5559. "in": "query"
  5560. },
  5561. {
  5562. "type": "integer",
  5563. "description": "每页条数",
  5564. "name": "pagesize",
  5565. "in": "query"
  5566. },
  5567. {
  5568. "type": "string",
  5569. "description": "资金账户列表,格式:1,2,3",
  5570. "name": "accountIDs",
  5571. "in": "query",
  5572. "required": true
  5573. }
  5574. ],
  5575. "responses": {
  5576. "200": {
  5577. "description": "OK",
  5578. "schema": {
  5579. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5580. }
  5581. },
  5582. "500": {
  5583. "description": "Internal Server Error",
  5584. "schema": {
  5585. "$ref": "#/definitions/app.Response"
  5586. }
  5587. }
  5588. }
  5589. }
  5590. },
  5591. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5592. "get": {
  5593. "security": [
  5594. {
  5595. "ApiKeyAuth": []
  5596. }
  5597. ],
  5598. "description": "说明:查询结果已按委托价格和委托时间排序",
  5599. "produces": [
  5600. "application/json"
  5601. ],
  5602. "tags": [
  5603. "定制【海商报业】"
  5604. ],
  5605. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5606. "parameters": [
  5607. {
  5608. "type": "integer",
  5609. "description": "商品ID",
  5610. "name": "goodsID",
  5611. "in": "query",
  5612. "required": true
  5613. },
  5614. {
  5615. "type": "string",
  5616. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5617. "name": "accountIDs",
  5618. "in": "query"
  5619. },
  5620. {
  5621. "type": "integer",
  5622. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5623. "name": "buyOrSell",
  5624. "in": "query"
  5625. },
  5626. {
  5627. "type": "number",
  5628. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5629. "name": "price",
  5630. "in": "query"
  5631. },
  5632. {
  5633. "type": "integer",
  5634. "description": "档位,不传则默认为3档",
  5635. "name": "speed",
  5636. "in": "query"
  5637. }
  5638. ],
  5639. "responses": {
  5640. "200": {
  5641. "description": "OK",
  5642. "schema": {
  5643. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5644. }
  5645. },
  5646. "500": {
  5647. "description": "Internal Server Error",
  5648. "schema": {
  5649. "$ref": "#/definitions/app.Response"
  5650. }
  5651. }
  5652. }
  5653. }
  5654. },
  5655. "/HSBY/QueryHsbyListingGoodsDetail": {
  5656. "get": {
  5657. "security": [
  5658. {
  5659. "ApiKeyAuth": []
  5660. }
  5661. ],
  5662. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5663. "produces": [
  5664. "application/json"
  5665. ],
  5666. "tags": [
  5667. "定制【海商报业】"
  5668. ],
  5669. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5670. "parameters": [
  5671. {
  5672. "type": "integer",
  5673. "description": "商品ID",
  5674. "name": "goodsID",
  5675. "in": "query",
  5676. "required": true
  5677. },
  5678. {
  5679. "type": "integer",
  5680. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5681. "name": "accountID",
  5682. "in": "query"
  5683. }
  5684. ],
  5685. "responses": {
  5686. "200": {
  5687. "description": "OK",
  5688. "schema": {
  5689. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5690. }
  5691. },
  5692. "500": {
  5693. "description": "Internal Server Error",
  5694. "schema": {
  5695. "$ref": "#/definitions/app.Response"
  5696. }
  5697. }
  5698. }
  5699. }
  5700. },
  5701. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5702. "get": {
  5703. "security": [
  5704. {
  5705. "ApiKeyAuth": []
  5706. }
  5707. ],
  5708. "produces": [
  5709. "application/json"
  5710. ],
  5711. "tags": [
  5712. "定制【海商报业】"
  5713. ],
  5714. "summary": "查询三级市场(商城)商品信息详情",
  5715. "parameters": [
  5716. {
  5717. "type": "integer",
  5718. "description": "委托单号",
  5719. "name": "orderID",
  5720. "in": "query",
  5721. "required": true
  5722. },
  5723. {
  5724. "type": "integer",
  5725. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5726. "name": "accountID",
  5727. "in": "query"
  5728. }
  5729. ],
  5730. "responses": {
  5731. "200": {
  5732. "description": "OK",
  5733. "schema": {
  5734. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5735. }
  5736. },
  5737. "500": {
  5738. "description": "Internal Server Error",
  5739. "schema": {
  5740. "$ref": "#/definitions/app.Response"
  5741. }
  5742. }
  5743. }
  5744. }
  5745. },
  5746. "/HSBY/QueryHsbyMarketGoodses": {
  5747. "get": {
  5748. "security": [
  5749. {
  5750. "ApiKeyAuth": []
  5751. }
  5752. ],
  5753. "produces": [
  5754. "application/json"
  5755. ],
  5756. "tags": [
  5757. "定制【海商报业】"
  5758. ],
  5759. "summary": "查询特卖商品列表(三级商城)",
  5760. "parameters": [
  5761. {
  5762. "type": "integer",
  5763. "description": "页码",
  5764. "name": "page",
  5765. "in": "query"
  5766. },
  5767. {
  5768. "type": "integer",
  5769. "description": "每页条数",
  5770. "name": "pagesize",
  5771. "in": "query"
  5772. },
  5773. {
  5774. "type": "string",
  5775. "description": "市场ID列表,格式:1,2,3",
  5776. "name": "marketIDs",
  5777. "in": "query",
  5778. "required": true
  5779. },
  5780. {
  5781. "type": "integer",
  5782. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5783. "name": "accountID",
  5784. "in": "query",
  5785. "required": true
  5786. },
  5787. {
  5788. "type": "integer",
  5789. "description": "类别ID",
  5790. "name": "categoryID",
  5791. "in": "query"
  5792. },
  5793. {
  5794. "type": "string",
  5795. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5796. "name": "goodsIDs",
  5797. "in": "query"
  5798. },
  5799. {
  5800. "type": "integer",
  5801. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5802. "name": "couponTypeID",
  5803. "in": "query"
  5804. }
  5805. ],
  5806. "responses": {
  5807. "200": {
  5808. "description": "OK",
  5809. "schema": {
  5810. "$ref": "#/definitions/models.HsbyMarketGoods"
  5811. }
  5812. },
  5813. "500": {
  5814. "description": "Internal Server Error",
  5815. "schema": {
  5816. "$ref": "#/definitions/app.Response"
  5817. }
  5818. }
  5819. }
  5820. }
  5821. },
  5822. "/HSBY/QueryHsbyMarkets": {
  5823. "get": {
  5824. "security": [
  5825. {
  5826. "ApiKeyAuth": []
  5827. }
  5828. ],
  5829. "produces": [
  5830. "application/json"
  5831. ],
  5832. "tags": [
  5833. "定制【海商报业】"
  5834. ],
  5835. "summary": "查询海商报业相关市场信息",
  5836. "responses": {
  5837. "200": {
  5838. "description": "OK",
  5839. "schema": {
  5840. "$ref": "#/definitions/models.HsbyMarketInfo"
  5841. }
  5842. },
  5843. "500": {
  5844. "description": "Internal Server Error",
  5845. "schema": {
  5846. "$ref": "#/definitions/app.Response"
  5847. }
  5848. }
  5849. }
  5850. }
  5851. },
  5852. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5853. "get": {
  5854. "security": [
  5855. {
  5856. "ApiKeyAuth": []
  5857. }
  5858. ],
  5859. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5860. "produces": [
  5861. "application/json"
  5862. ],
  5863. "tags": [
  5864. "定制【海商报业】"
  5865. ],
  5866. "summary": "查询“我的订单”信息",
  5867. "parameters": [
  5868. {
  5869. "type": "string",
  5870. "description": "资金账户列表,格式:1,2,3",
  5871. "name": "accountIDs",
  5872. "in": "query",
  5873. "required": true
  5874. }
  5875. ],
  5876. "responses": {
  5877. "200": {
  5878. "description": "OK",
  5879. "schema": {
  5880. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5881. }
  5882. },
  5883. "500": {
  5884. "description": "Internal Server Error",
  5885. "schema": {
  5886. "$ref": "#/definitions/app.Response"
  5887. }
  5888. }
  5889. }
  5890. }
  5891. },
  5892. "/HSBY/QueryHsbyMyGoods": {
  5893. "get": {
  5894. "security": [
  5895. {
  5896. "ApiKeyAuth": []
  5897. }
  5898. ],
  5899. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5900. "produces": [
  5901. "application/json"
  5902. ],
  5903. "tags": [
  5904. "定制【海商报业】"
  5905. ],
  5906. "summary": "查询“我的商品”信息",
  5907. "parameters": [
  5908. {
  5909. "type": "string",
  5910. "description": "资金账户列表,格式:1,2,3",
  5911. "name": "accountIDs",
  5912. "in": "query",
  5913. "required": true
  5914. }
  5915. ],
  5916. "responses": {
  5917. "200": {
  5918. "description": "OK",
  5919. "schema": {
  5920. "$ref": "#/definitions/models.HsbyMyGoods"
  5921. }
  5922. },
  5923. "500": {
  5924. "description": "Internal Server Error",
  5925. "schema": {
  5926. "$ref": "#/definitions/app.Response"
  5927. }
  5928. }
  5929. }
  5930. }
  5931. },
  5932. "/HSBY/QueryHsbyMyPackages": {
  5933. "get": {
  5934. "security": [
  5935. {
  5936. "ApiKeyAuth": []
  5937. }
  5938. ],
  5939. "produces": [
  5940. "application/json"
  5941. ],
  5942. "tags": [
  5943. "定制【海商报业】"
  5944. ],
  5945. "summary": "查询我的包裹信息",
  5946. "parameters": [
  5947. {
  5948. "type": "string",
  5949. "description": "资金账户列表,格式:1,2,3",
  5950. "name": "accountIDs",
  5951. "in": "query",
  5952. "required": true
  5953. },
  5954. {
  5955. "type": "integer",
  5956. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5957. "name": "takeOrderStatus",
  5958. "in": "query"
  5959. }
  5960. ],
  5961. "responses": {
  5962. "200": {
  5963. "description": "OK",
  5964. "schema": {
  5965. "$ref": "#/definitions/models.HsbyMyPackage"
  5966. }
  5967. },
  5968. "500": {
  5969. "description": "Internal Server Error",
  5970. "schema": {
  5971. "$ref": "#/definitions/app.Response"
  5972. }
  5973. }
  5974. }
  5975. }
  5976. },
  5977. "/HSBY/QueryHsbyPreGoodsDetail": {
  5978. "get": {
  5979. "security": [
  5980. {
  5981. "ApiKeyAuth": []
  5982. }
  5983. ],
  5984. "produces": [
  5985. "application/json"
  5986. ],
  5987. "tags": [
  5988. "定制【海商报业】"
  5989. ],
  5990. "summary": "查询一级市场(预售)商品信息详情",
  5991. "parameters": [
  5992. {
  5993. "type": "integer",
  5994. "description": "商品ID",
  5995. "name": "goodsID",
  5996. "in": "query",
  5997. "required": true
  5998. },
  5999. {
  6000. "type": "integer",
  6001. "description": "资金账户,主要用于获取预售商品购买上限",
  6002. "name": "accountID",
  6003. "in": "query"
  6004. }
  6005. ],
  6006. "responses": {
  6007. "200": {
  6008. "description": "OK",
  6009. "schema": {
  6010. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6011. }
  6012. },
  6013. "500": {
  6014. "description": "Internal Server Error",
  6015. "schema": {
  6016. "$ref": "#/definitions/app.Response"
  6017. }
  6018. }
  6019. }
  6020. }
  6021. },
  6022. "/HSBY/QueryHsbyPreGoodses": {
  6023. "get": {
  6024. "security": [
  6025. {
  6026. "ApiKeyAuth": []
  6027. }
  6028. ],
  6029. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6030. "produces": [
  6031. "application/json"
  6032. ],
  6033. "tags": [
  6034. "定制【海商报业】"
  6035. ],
  6036. "summary": "查询新品上市商品列表(一级市场预售)",
  6037. "parameters": [
  6038. {
  6039. "type": "integer",
  6040. "description": "页码",
  6041. "name": "page",
  6042. "in": "query"
  6043. },
  6044. {
  6045. "type": "integer",
  6046. "description": "每页条数",
  6047. "name": "pagesize",
  6048. "in": "query"
  6049. },
  6050. {
  6051. "type": "string",
  6052. "description": "市场ID列表,格式:1,2,3",
  6053. "name": "marketIDs",
  6054. "in": "query",
  6055. "required": true
  6056. },
  6057. {
  6058. "type": "integer",
  6059. "description": "目的地(省)ID",
  6060. "name": "descProvinceID",
  6061. "in": "query"
  6062. },
  6063. {
  6064. "type": "integer",
  6065. "description": "目的地(市)ID",
  6066. "name": "descCityID",
  6067. "in": "query"
  6068. }
  6069. ],
  6070. "responses": {
  6071. "200": {
  6072. "description": "OK",
  6073. "schema": {
  6074. "$ref": "#/definitions/models.HsbyPreGoods"
  6075. }
  6076. },
  6077. "500": {
  6078. "description": "Internal Server Error",
  6079. "schema": {
  6080. "$ref": "#/definitions/app.Response"
  6081. }
  6082. }
  6083. }
  6084. }
  6085. },
  6086. "/HSBY/QueryHsbySellMyDetails": {
  6087. "get": {
  6088. "security": [
  6089. {
  6090. "ApiKeyAuth": []
  6091. }
  6092. ],
  6093. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6094. "produces": [
  6095. "application/json"
  6096. ],
  6097. "tags": [
  6098. "定制【海商报业】"
  6099. ],
  6100. "summary": "查询\"我的闲置\"单据信息",
  6101. "parameters": [
  6102. {
  6103. "type": "integer",
  6104. "description": "页码",
  6105. "name": "page",
  6106. "in": "query"
  6107. },
  6108. {
  6109. "type": "integer",
  6110. "description": "每页条数",
  6111. "name": "pagesize",
  6112. "in": "query"
  6113. },
  6114. {
  6115. "type": "string",
  6116. "description": "资金账户列表,格式:1,2,3",
  6117. "name": "accountIDs",
  6118. "in": "query",
  6119. "required": true
  6120. },
  6121. {
  6122. "type": "integer",
  6123. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6124. "name": "orderType",
  6125. "in": "query"
  6126. }
  6127. ],
  6128. "responses": {
  6129. "200": {
  6130. "description": "OK",
  6131. "schema": {
  6132. "$ref": "#/definitions/models.HsbySellMyDetail"
  6133. }
  6134. },
  6135. "500": {
  6136. "description": "Internal Server Error",
  6137. "schema": {
  6138. "$ref": "#/definitions/app.Response"
  6139. }
  6140. }
  6141. }
  6142. }
  6143. },
  6144. "/HSBY/QueryHsbyTopGoodses": {
  6145. "get": {
  6146. "security": [
  6147. {
  6148. "ApiKeyAuth": []
  6149. }
  6150. ],
  6151. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6152. "produces": [
  6153. "application/json"
  6154. ],
  6155. "tags": [
  6156. "定制【海商报业】"
  6157. ],
  6158. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6159. "parameters": [
  6160. {
  6161. "type": "integer",
  6162. "description": "页码",
  6163. "name": "page",
  6164. "in": "query"
  6165. },
  6166. {
  6167. "type": "integer",
  6168. "description": "每页条数",
  6169. "name": "pagesize",
  6170. "in": "query"
  6171. },
  6172. {
  6173. "type": "string",
  6174. "description": "市场ID列表,格式:1,2,3",
  6175. "name": "marketIDs",
  6176. "in": "query",
  6177. "required": true
  6178. },
  6179. {
  6180. "type": "integer",
  6181. "description": "目的地(省)ID",
  6182. "name": "descProvinceID",
  6183. "in": "query"
  6184. },
  6185. {
  6186. "type": "integer",
  6187. "description": "目的地(市)ID",
  6188. "name": "descCityID",
  6189. "in": "query"
  6190. }
  6191. ],
  6192. "responses": {
  6193. "200": {
  6194. "description": "OK",
  6195. "schema": {
  6196. "$ref": "#/definitions/models.HsbyTopGoods"
  6197. }
  6198. },
  6199. "500": {
  6200. "description": "Internal Server Error",
  6201. "schema": {
  6202. "$ref": "#/definitions/app.Response"
  6203. }
  6204. }
  6205. }
  6206. }
  6207. },
  6208. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6209. "get": {
  6210. "security": [
  6211. {
  6212. "ApiKeyAuth": []
  6213. }
  6214. ],
  6215. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6216. "produces": [
  6217. "application/json"
  6218. ],
  6219. "tags": [
  6220. "定制【海商报业】"
  6221. ],
  6222. "summary": "查询游客三级市场(商城)商品信息详情",
  6223. "parameters": [
  6224. {
  6225. "type": "integer",
  6226. "description": "商品ID",
  6227. "name": "goodsID",
  6228. "in": "query",
  6229. "required": true
  6230. }
  6231. ],
  6232. "responses": {
  6233. "200": {
  6234. "description": "OK",
  6235. "schema": {
  6236. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6237. }
  6238. },
  6239. "500": {
  6240. "description": "Internal Server Error",
  6241. "schema": {
  6242. "$ref": "#/definitions/app.Response"
  6243. }
  6244. }
  6245. }
  6246. }
  6247. },
  6248. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6249. "get": {
  6250. "security": [
  6251. {
  6252. "ApiKeyAuth": []
  6253. }
  6254. ],
  6255. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  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": "市场ID列表,格式:1,2,3",
  6279. "name": "marketIDs",
  6280. "in": "query",
  6281. "required": true
  6282. },
  6283. {
  6284. "type": "integer",
  6285. "description": "类别ID",
  6286. "name": "categoryID",
  6287. "in": "query"
  6288. },
  6289. {
  6290. "type": "string",
  6291. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6292. "name": "goodsIDs",
  6293. "in": "query"
  6294. }
  6295. ],
  6296. "responses": {
  6297. "200": {
  6298. "description": "OK",
  6299. "schema": {
  6300. "$ref": "#/definitions/models.HsbyMarketGoods"
  6301. }
  6302. },
  6303. "500": {
  6304. "description": "Internal Server Error",
  6305. "schema": {
  6306. "$ref": "#/definitions/app.Response"
  6307. }
  6308. }
  6309. }
  6310. }
  6311. },
  6312. "/HSBY/QueryMyCollectionOrders": {
  6313. "get": {
  6314. "security": [
  6315. {
  6316. "ApiKeyAuth": []
  6317. }
  6318. ],
  6319. "produces": [
  6320. "application/json"
  6321. ],
  6322. "tags": [
  6323. "定制【海商报业】"
  6324. ],
  6325. "summary": "我的闲置中收款信息查询",
  6326. "parameters": [
  6327. {
  6328. "type": "integer",
  6329. "description": "页码",
  6330. "name": "page",
  6331. "in": "query"
  6332. },
  6333. {
  6334. "type": "integer",
  6335. "description": "每页条数",
  6336. "name": "pagesize",
  6337. "in": "query"
  6338. },
  6339. {
  6340. "type": "string",
  6341. "description": "资金账户,格式:1,2,3",
  6342. "name": "accountIDs",
  6343. "in": "query",
  6344. "required": true
  6345. }
  6346. ],
  6347. "responses": {
  6348. "200": {
  6349. "description": "OK",
  6350. "schema": {
  6351. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6352. }
  6353. },
  6354. "500": {
  6355. "description": "Internal Server Error",
  6356. "schema": {
  6357. "$ref": "#/definitions/app.Response"
  6358. }
  6359. }
  6360. }
  6361. }
  6362. },
  6363. "/HSBY/QueryMyCouponHolds": {
  6364. "get": {
  6365. "security": [
  6366. {
  6367. "ApiKeyAuth": []
  6368. }
  6369. ],
  6370. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6371. "produces": [
  6372. "application/json"
  6373. ],
  6374. "tags": [
  6375. "定制【海商报业】"
  6376. ],
  6377. "summary": "我的优惠卷持仓查询",
  6378. "parameters": [
  6379. {
  6380. "type": "string",
  6381. "description": "资金账户列表,格式:1,2,3",
  6382. "name": "accountIDs",
  6383. "in": "query",
  6384. "required": true
  6385. },
  6386. {
  6387. "type": "string",
  6388. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6389. "name": "holdStatus",
  6390. "in": "query"
  6391. }
  6392. ],
  6393. "responses": {
  6394. "200": {
  6395. "description": "OK",
  6396. "schema": {
  6397. "$ref": "#/definitions/models.MyCouponHold"
  6398. }
  6399. },
  6400. "500": {
  6401. "description": "Internal Server Error",
  6402. "schema": {
  6403. "$ref": "#/definitions/app.Response"
  6404. }
  6405. }
  6406. }
  6407. }
  6408. },
  6409. "/HSBY/QueryMyCoupons": {
  6410. "get": {
  6411. "security": [
  6412. {
  6413. "ApiKeyAuth": []
  6414. }
  6415. ],
  6416. "produces": [
  6417. "application/json"
  6418. ],
  6419. "tags": [
  6420. "定制【海商报业】"
  6421. ],
  6422. "summary": "我的优惠卷查询",
  6423. "parameters": [
  6424. {
  6425. "type": "string",
  6426. "description": "资金账户列表,格式:1,2,3",
  6427. "name": "accountIDs",
  6428. "in": "query",
  6429. "required": true
  6430. },
  6431. {
  6432. "type": "integer",
  6433. "description": "商品ID, 一般与sellUserID配套传入",
  6434. "name": "goodsID",
  6435. "in": "query"
  6436. },
  6437. {
  6438. "type": "integer",
  6439. "description": "卖方UserID",
  6440. "name": "sellUserID",
  6441. "in": "query"
  6442. }
  6443. ],
  6444. "responses": {
  6445. "200": {
  6446. "description": "OK",
  6447. "schema": {
  6448. "$ref": "#/definitions/models.MyCoupon"
  6449. }
  6450. },
  6451. "500": {
  6452. "description": "Internal Server Error",
  6453. "schema": {
  6454. "$ref": "#/definitions/app.Response"
  6455. }
  6456. }
  6457. }
  6458. }
  6459. },
  6460. "/HSBY/QueryMyPayOrders": {
  6461. "get": {
  6462. "security": [
  6463. {
  6464. "ApiKeyAuth": []
  6465. }
  6466. ],
  6467. "produces": [
  6468. "application/json"
  6469. ],
  6470. "tags": [
  6471. "定制【海商报业】"
  6472. ],
  6473. "summary": "获取我的订单中待付款信息",
  6474. "parameters": [
  6475. {
  6476. "type": "integer",
  6477. "description": "页码",
  6478. "name": "page",
  6479. "in": "query"
  6480. },
  6481. {
  6482. "type": "integer",
  6483. "description": "每页条数",
  6484. "name": "pagesize",
  6485. "in": "query"
  6486. },
  6487. {
  6488. "type": "string",
  6489. "description": "资金账户列表,格式:1,2,3",
  6490. "name": "accountIDs",
  6491. "in": "query",
  6492. "required": true
  6493. },
  6494. {
  6495. "type": "integer",
  6496. "description": "买方委托单号",
  6497. "name": "buyOrderID",
  6498. "in": "query"
  6499. },
  6500. {
  6501. "type": "integer",
  6502. "description": "卖方委托单号",
  6503. "name": "sellOrderID",
  6504. "in": "query"
  6505. }
  6506. ],
  6507. "responses": {
  6508. "200": {
  6509. "description": "OK",
  6510. "schema": {
  6511. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6512. }
  6513. },
  6514. "500": {
  6515. "description": "Internal Server Error",
  6516. "schema": {
  6517. "$ref": "#/definitions/app.Response"
  6518. }
  6519. }
  6520. }
  6521. }
  6522. },
  6523. "/HSBY/QueryMyUsedCoupon": {
  6524. "get": {
  6525. "security": [
  6526. {
  6527. "ApiKeyAuth": []
  6528. }
  6529. ],
  6530. "produces": [
  6531. "application/json"
  6532. ],
  6533. "tags": [
  6534. "定制【海商报业】"
  6535. ],
  6536. "summary": "已使用优惠卷查询",
  6537. "parameters": [
  6538. {
  6539. "type": "string",
  6540. "description": "资金账户列表,格式:1,2,3",
  6541. "name": "accountIDs",
  6542. "in": "query",
  6543. "required": true
  6544. }
  6545. ],
  6546. "responses": {
  6547. "200": {
  6548. "description": "OK",
  6549. "schema": {
  6550. "$ref": "#/definitions/models.MyUsedCoupon"
  6551. }
  6552. },
  6553. "500": {
  6554. "description": "Internal Server Error",
  6555. "schema": {
  6556. "$ref": "#/definitions/app.Response"
  6557. }
  6558. }
  6559. }
  6560. }
  6561. },
  6562. "/HSBY/QueryProvincesAndCities": {
  6563. "get": {
  6564. "security": [
  6565. {
  6566. "ApiKeyAuth": []
  6567. }
  6568. ],
  6569. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6570. "produces": [
  6571. "application/json"
  6572. ],
  6573. "tags": [
  6574. "定制【海商报业】"
  6575. ],
  6576. "summary": "查询省市信息(不包括区)",
  6577. "parameters": [
  6578. {
  6579. "type": "integer",
  6580. "description": "省ID",
  6581. "name": "provinceID",
  6582. "in": "query"
  6583. }
  6584. ],
  6585. "responses": {
  6586. "200": {
  6587. "description": "OK",
  6588. "schema": {
  6589. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6590. }
  6591. },
  6592. "500": {
  6593. "description": "Internal Server Error",
  6594. "schema": {
  6595. "$ref": "#/definitions/app.Response"
  6596. }
  6597. }
  6598. }
  6599. }
  6600. },
  6601. "/HSBY/SetHsbyMyPackagesStatus": {
  6602. "post": {
  6603. "security": [
  6604. {
  6605. "ApiKeyAuth": []
  6606. }
  6607. ],
  6608. "produces": [
  6609. "application/json"
  6610. ],
  6611. "tags": [
  6612. "定制【海商报业】"
  6613. ],
  6614. "summary": "设置我的包裹已收货状态",
  6615. "parameters": [
  6616. {
  6617. "type": "string",
  6618. "description": "提货单号",
  6619. "name": "takeOrderID",
  6620. "in": "query",
  6621. "required": true
  6622. },
  6623. {
  6624. "type": "integer",
  6625. "description": "资金账号",
  6626. "name": "accountID",
  6627. "in": "query",
  6628. "required": true
  6629. }
  6630. ],
  6631. "responses": {
  6632. "200": {
  6633. "description": "OK",
  6634. "schema": {
  6635. "$ref": "#/definitions/app.Response"
  6636. }
  6637. },
  6638. "500": {
  6639. "description": "Internal Server Error",
  6640. "schema": {
  6641. "$ref": "#/definitions/app.Response"
  6642. }
  6643. }
  6644. }
  6645. }
  6646. },
  6647. "/Market/GetAllExExchanges": {
  6648. "get": {
  6649. "security": [
  6650. {
  6651. "ApiKeyAuth": []
  6652. }
  6653. ],
  6654. "produces": [
  6655. "application/json"
  6656. ],
  6657. "tags": [
  6658. "通用市场"
  6659. ],
  6660. "summary": "获取所有外部交易所信息",
  6661. "responses": {
  6662. "200": {
  6663. "description": "OK",
  6664. "schema": {
  6665. "$ref": "#/definitions/models.Goods"
  6666. }
  6667. },
  6668. "500": {
  6669. "description": "Internal Server Error",
  6670. "schema": {
  6671. "$ref": "#/definitions/app.Response"
  6672. }
  6673. }
  6674. }
  6675. }
  6676. },
  6677. "/Market/QueryGoodsesByLoginID": {
  6678. "get": {
  6679. "security": [
  6680. {
  6681. "ApiKeyAuth": []
  6682. }
  6683. ],
  6684. "produces": [
  6685. "application/json"
  6686. ],
  6687. "tags": [
  6688. "通用市场"
  6689. ],
  6690. "summary": "获取登录账号有权限的商品信息",
  6691. "parameters": [
  6692. {
  6693. "type": "integer",
  6694. "description": "登录账号",
  6695. "name": "loginID",
  6696. "in": "query",
  6697. "required": true
  6698. },
  6699. {
  6700. "type": "string",
  6701. "description": "市场ID列表,格式:1,2,3",
  6702. "name": "marketIDs",
  6703. "in": "query"
  6704. }
  6705. ],
  6706. "responses": {
  6707. "200": {
  6708. "description": "OK",
  6709. "schema": {
  6710. "$ref": "#/definitions/models.Goods"
  6711. }
  6712. },
  6713. "500": {
  6714. "description": "Internal Server Error",
  6715. "schema": {
  6716. "$ref": "#/definitions/app.Response"
  6717. }
  6718. }
  6719. }
  6720. }
  6721. },
  6722. "/Market/QueryMarketRun": {
  6723. "get": {
  6724. "security": [
  6725. {
  6726. "ApiKeyAuth": []
  6727. }
  6728. ],
  6729. "produces": [
  6730. "application/json"
  6731. ],
  6732. "tags": [
  6733. "通用市场"
  6734. ],
  6735. "summary": "查询市场运行信息",
  6736. "parameters": [
  6737. {
  6738. "type": "integer",
  6739. "description": "市场ID,不传返回所有",
  6740. "name": "marketID",
  6741. "in": "query"
  6742. }
  6743. ],
  6744. "responses": {
  6745. "200": {
  6746. "description": "OK",
  6747. "schema": {
  6748. "$ref": "#/definitions/models.Marketrun"
  6749. }
  6750. },
  6751. "500": {
  6752. "description": "Internal Server Error",
  6753. "schema": {
  6754. "$ref": "#/definitions/app.Response"
  6755. }
  6756. }
  6757. }
  6758. }
  6759. },
  6760. "/Market/QueryMarketsByLoginID": {
  6761. "get": {
  6762. "security": [
  6763. {
  6764. "ApiKeyAuth": []
  6765. }
  6766. ],
  6767. "produces": [
  6768. "application/json"
  6769. ],
  6770. "tags": [
  6771. "通用市场"
  6772. ],
  6773. "summary": "获取登录账号有权限的市场信息",
  6774. "parameters": [
  6775. {
  6776. "type": "integer",
  6777. "description": "登录账号",
  6778. "name": "loginID",
  6779. "in": "query",
  6780. "required": true
  6781. }
  6782. ],
  6783. "responses": {
  6784. "200": {
  6785. "description": "OK",
  6786. "schema": {
  6787. "$ref": "#/definitions/models.Market"
  6788. }
  6789. },
  6790. "500": {
  6791. "description": "Internal Server Error",
  6792. "schema": {
  6793. "$ref": "#/definitions/app.Response"
  6794. }
  6795. }
  6796. }
  6797. }
  6798. },
  6799. "/Order/QueryHisTradeDetail": {
  6800. "get": {
  6801. "security": [
  6802. {
  6803. "ApiKeyAuth": []
  6804. }
  6805. ],
  6806. "produces": [
  6807. "application/json"
  6808. ],
  6809. "tags": [
  6810. "通用单据"
  6811. ],
  6812. "summary": "历史成交单查询(合约市场)",
  6813. "parameters": [
  6814. {
  6815. "type": "string",
  6816. "description": "资金账户 - 格式:1,2,3",
  6817. "name": "accountID",
  6818. "in": "query",
  6819. "required": true
  6820. },
  6821. {
  6822. "type": "integer",
  6823. "description": "成交单号",
  6824. "name": "tradeID",
  6825. "in": "query"
  6826. },
  6827. {
  6828. "type": "integer",
  6829. "description": "委托单号",
  6830. "name": "orderID",
  6831. "in": "query"
  6832. },
  6833. {
  6834. "type": "integer",
  6835. "description": "商品ID",
  6836. "name": "goodsID",
  6837. "in": "query"
  6838. },
  6839. {
  6840. "type": "string",
  6841. "description": "交易模式 - 格式:1,2,3",
  6842. "name": "tradeMode",
  6843. "in": "query"
  6844. },
  6845. {
  6846. "type": "integer",
  6847. "description": "委托单据类型",
  6848. "name": "buildType",
  6849. "in": "query"
  6850. },
  6851. {
  6852. "type": "string",
  6853. "description": "成交类别 - 格式:1,2,3",
  6854. "name": "tradeType",
  6855. "in": "query"
  6856. },
  6857. {
  6858. "type": "string",
  6859. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6860. "name": "startDate",
  6861. "in": "query"
  6862. },
  6863. {
  6864. "type": "string",
  6865. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6866. "name": "endDate",
  6867. "in": "query"
  6868. }
  6869. ],
  6870. "responses": {
  6871. "200": {
  6872. "description": "OK",
  6873. "schema": {
  6874. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6875. }
  6876. },
  6877. "500": {
  6878. "description": "Internal Server Error",
  6879. "schema": {
  6880. "$ref": "#/definitions/app.Response"
  6881. }
  6882. }
  6883. }
  6884. }
  6885. },
  6886. "/Order/QueryHisTradeOrderDetail": {
  6887. "get": {
  6888. "security": [
  6889. {
  6890. "ApiKeyAuth": []
  6891. }
  6892. ],
  6893. "produces": [
  6894. "application/json"
  6895. ],
  6896. "tags": [
  6897. "通用单据"
  6898. ],
  6899. "summary": "历史委托单查询请求(合约市场)",
  6900. "parameters": [
  6901. {
  6902. "type": "string",
  6903. "description": "资金账户 - 格式:1,2,3",
  6904. "name": "accountID",
  6905. "in": "query",
  6906. "required": true
  6907. },
  6908. {
  6909. "type": "string",
  6910. "description": "交易模式 - 格式:1,2,3",
  6911. "name": "tradeMode",
  6912. "in": "query"
  6913. },
  6914. {
  6915. "type": "string",
  6916. "description": "委托状态 - 格式:1,2,3",
  6917. "name": "orderStatus",
  6918. "in": "query"
  6919. },
  6920. {
  6921. "type": "integer",
  6922. "description": "委托单号",
  6923. "name": "orderID",
  6924. "in": "query"
  6925. },
  6926. {
  6927. "type": "string",
  6928. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6929. "name": "startDate",
  6930. "in": "query"
  6931. },
  6932. {
  6933. "type": "string",
  6934. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6935. "name": "endDate",
  6936. "in": "query"
  6937. }
  6938. ],
  6939. "responses": {
  6940. "200": {
  6941. "description": "OK",
  6942. "schema": {
  6943. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6944. }
  6945. },
  6946. "500": {
  6947. "description": "Internal Server Error",
  6948. "schema": {
  6949. "$ref": "#/definitions/app.Response"
  6950. }
  6951. }
  6952. }
  6953. }
  6954. },
  6955. "/Order/QueryTradeDetail": {
  6956. "get": {
  6957. "security": [
  6958. {
  6959. "ApiKeyAuth": []
  6960. }
  6961. ],
  6962. "produces": [
  6963. "application/json"
  6964. ],
  6965. "tags": [
  6966. "通用单据"
  6967. ],
  6968. "summary": "成交单查询(合约市场)",
  6969. "parameters": [
  6970. {
  6971. "type": "string",
  6972. "description": "资金账户 - 格式:1,2,3",
  6973. "name": "accountID",
  6974. "in": "query",
  6975. "required": true
  6976. },
  6977. {
  6978. "type": "integer",
  6979. "description": "成交单号",
  6980. "name": "tradeID",
  6981. "in": "query"
  6982. },
  6983. {
  6984. "type": "integer",
  6985. "description": "委托单号",
  6986. "name": "orderID",
  6987. "in": "query"
  6988. },
  6989. {
  6990. "type": "string",
  6991. "description": "交易模式 - 格式:1,2,3",
  6992. "name": "tradeMode",
  6993. "in": "query"
  6994. },
  6995. {
  6996. "type": "integer",
  6997. "description": "委托单据类型",
  6998. "name": "buildType",
  6999. "in": "query"
  7000. },
  7001. {
  7002. "type": "string",
  7003. "description": "成交类别 - 格式:1,2,3",
  7004. "name": "tradeType",
  7005. "in": "query"
  7006. },
  7007. {
  7008. "type": "integer",
  7009. "description": "商品ID",
  7010. "name": "goodsID",
  7011. "in": "query"
  7012. }
  7013. ],
  7014. "responses": {
  7015. "200": {
  7016. "description": "OK",
  7017. "schema": {
  7018. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7019. }
  7020. },
  7021. "500": {
  7022. "description": "Internal Server Error",
  7023. "schema": {
  7024. "$ref": "#/definitions/app.Response"
  7025. }
  7026. }
  7027. }
  7028. }
  7029. },
  7030. "/Order/QueryTradeOrderDetail": {
  7031. "get": {
  7032. "security": [
  7033. {
  7034. "ApiKeyAuth": []
  7035. }
  7036. ],
  7037. "produces": [
  7038. "application/json"
  7039. ],
  7040. "tags": [
  7041. "通用单据"
  7042. ],
  7043. "summary": "委托单查询请求(合约市场)",
  7044. "parameters": [
  7045. {
  7046. "type": "string",
  7047. "description": "资金账户 - 格式:1,2,3",
  7048. "name": "accountID",
  7049. "in": "query",
  7050. "required": true
  7051. },
  7052. {
  7053. "type": "string",
  7054. "description": "交易模式 - 格式:1,2,3",
  7055. "name": "tradeMode",
  7056. "in": "query"
  7057. },
  7058. {
  7059. "type": "string",
  7060. "description": "委托状态 - 格式:1,2,3",
  7061. "name": "orderStatus",
  7062. "in": "query"
  7063. },
  7064. {
  7065. "type": "integer",
  7066. "description": "委托单号",
  7067. "name": "orderID",
  7068. "in": "query"
  7069. }
  7070. ],
  7071. "responses": {
  7072. "200": {
  7073. "description": "OK",
  7074. "schema": {
  7075. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7076. }
  7077. },
  7078. "500": {
  7079. "description": "Internal Server Error",
  7080. "schema": {
  7081. "$ref": "#/definitions/app.Response"
  7082. }
  7083. }
  7084. }
  7085. }
  7086. },
  7087. "/Order/QueryTradePosition": {
  7088. "get": {
  7089. "security": [
  7090. {
  7091. "ApiKeyAuth": []
  7092. }
  7093. ],
  7094. "produces": [
  7095. "application/json"
  7096. ],
  7097. "tags": [
  7098. "通用单据"
  7099. ],
  7100. "summary": "持仓汇总查询(合约市场)",
  7101. "parameters": [
  7102. {
  7103. "type": "string",
  7104. "description": "资金账户 - 格式:1,2,3",
  7105. "name": "accountID",
  7106. "in": "query",
  7107. "required": true
  7108. },
  7109. {
  7110. "type": "string",
  7111. "description": "交易模式 - 格式:1,2,3",
  7112. "name": "tradeMode",
  7113. "in": "query"
  7114. }
  7115. ],
  7116. "responses": {
  7117. "200": {
  7118. "description": "OK",
  7119. "schema": {
  7120. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7121. }
  7122. },
  7123. "500": {
  7124. "description": "Internal Server Error",
  7125. "schema": {
  7126. "$ref": "#/definitions/app.Response"
  7127. }
  7128. }
  7129. }
  7130. }
  7131. },
  7132. "/Qhj/QueryAccountInOutApply": {
  7133. "get": {
  7134. "security": [
  7135. {
  7136. "ApiKeyAuth": []
  7137. }
  7138. ],
  7139. "produces": [
  7140. "application/json"
  7141. ],
  7142. "tags": [
  7143. "大连千海金"
  7144. ],
  7145. "summary": "查询充值提现",
  7146. "parameters": [
  7147. {
  7148. "type": "integer",
  7149. "description": "用户ID",
  7150. "name": "userid",
  7151. "in": "query",
  7152. "required": true
  7153. },
  7154. {
  7155. "type": "string",
  7156. "description": "申请起始日期(格式yyyymmdd)",
  7157. "name": "begindate",
  7158. "in": "query"
  7159. },
  7160. {
  7161. "type": "string",
  7162. "description": "申请截止日期(格式yyyymmdd)",
  7163. "name": "enddate",
  7164. "in": "query"
  7165. },
  7166. {
  7167. "type": "string",
  7168. "description": "模糊搜索名称",
  7169. "name": "likename",
  7170. "in": "query"
  7171. }
  7172. ],
  7173. "responses": {
  7174. "200": {
  7175. "description": "OK",
  7176. "schema": {
  7177. "type": "array",
  7178. "items": {
  7179. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7180. }
  7181. }
  7182. },
  7183. "500": {
  7184. "description": "Internal Server Error",
  7185. "schema": {
  7186. "$ref": "#/definitions/app.Response"
  7187. }
  7188. }
  7189. }
  7190. }
  7191. },
  7192. "/Qhj/QueryAreaFinanceConfig": {
  7193. "get": {
  7194. "security": [
  7195. {
  7196. "ApiKeyAuth": []
  7197. }
  7198. ],
  7199. "produces": [
  7200. "application/json"
  7201. ],
  7202. "tags": [
  7203. "大连千海金"
  7204. ],
  7205. "summary": "查询企业配置表",
  7206. "parameters": [
  7207. {
  7208. "type": "integer",
  7209. "description": "机构用户ID 其他做市关系,都设置为 1",
  7210. "name": "userid",
  7211. "in": "query"
  7212. }
  7213. ],
  7214. "responses": {
  7215. "200": {
  7216. "description": "OK",
  7217. "schema": {
  7218. "type": "array",
  7219. "items": {
  7220. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  7221. }
  7222. }
  7223. },
  7224. "500": {
  7225. "description": "Internal Server Error",
  7226. "schema": {
  7227. "$ref": "#/definitions/app.Response"
  7228. }
  7229. }
  7230. }
  7231. }
  7232. },
  7233. "/Qhj/QueryBankAccountSign": {
  7234. "get": {
  7235. "security": [
  7236. {
  7237. "ApiKeyAuth": []
  7238. }
  7239. ],
  7240. "produces": [
  7241. "application/json"
  7242. ],
  7243. "tags": [
  7244. "大连千海金"
  7245. ],
  7246. "summary": "查询签约银行信息(提现账户管理)",
  7247. "parameters": [
  7248. {
  7249. "type": "integer",
  7250. "description": "用户ID",
  7251. "name": "userid",
  7252. "in": "query",
  7253. "required": true
  7254. }
  7255. ],
  7256. "responses": {
  7257. "200": {
  7258. "description": "OK",
  7259. "schema": {
  7260. "type": "array",
  7261. "items": {
  7262. "$ref": "#/definitions/models.QhjBankAccountSign"
  7263. }
  7264. }
  7265. },
  7266. "500": {
  7267. "description": "Internal Server Error",
  7268. "schema": {
  7269. "$ref": "#/definitions/app.Response"
  7270. }
  7271. }
  7272. }
  7273. }
  7274. },
  7275. "/Qhj/QueryBankInfo": {
  7276. "get": {
  7277. "security": [
  7278. {
  7279. "ApiKeyAuth": []
  7280. }
  7281. ],
  7282. "produces": [
  7283. "application/json"
  7284. ],
  7285. "tags": [
  7286. "大连千海金"
  7287. ],
  7288. "summary": "查询开户行",
  7289. "responses": {
  7290. "200": {
  7291. "description": "OK",
  7292. "schema": {
  7293. "type": "array",
  7294. "items": {
  7295. "$ref": "#/definitions/models.QhjBankInfo"
  7296. }
  7297. }
  7298. },
  7299. "500": {
  7300. "description": "Internal Server Error",
  7301. "schema": {
  7302. "$ref": "#/definitions/app.Response"
  7303. }
  7304. }
  7305. }
  7306. }
  7307. },
  7308. "/Qhj/QueryBrokerApply": {
  7309. "get": {
  7310. "security": [
  7311. {
  7312. "ApiKeyAuth": []
  7313. }
  7314. ],
  7315. "produces": [
  7316. "application/json"
  7317. ],
  7318. "tags": [
  7319. "大连千海金"
  7320. ],
  7321. "summary": "查询经纪人申请",
  7322. "parameters": [
  7323. {
  7324. "type": "integer",
  7325. "description": "所属机构ID",
  7326. "name": "userid",
  7327. "in": "query"
  7328. },
  7329. {
  7330. "type": "string",
  7331. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7332. "name": "filterstatus",
  7333. "in": "query"
  7334. }
  7335. ],
  7336. "responses": {
  7337. "200": {
  7338. "description": "OK",
  7339. "schema": {
  7340. "type": "array",
  7341. "items": {
  7342. "$ref": "#/definitions/models.QhjBrokerApply"
  7343. }
  7344. }
  7345. },
  7346. "500": {
  7347. "description": "Internal Server Error",
  7348. "schema": {
  7349. "$ref": "#/definitions/app.Response"
  7350. }
  7351. }
  7352. }
  7353. }
  7354. },
  7355. "/Qhj/QueryBrokerApplyEx": {
  7356. "get": {
  7357. "security": [
  7358. {
  7359. "ApiKeyAuth": []
  7360. }
  7361. ],
  7362. "produces": [
  7363. "application/json"
  7364. ],
  7365. "tags": [
  7366. "大连千海金"
  7367. ],
  7368. "summary": "查询经纪人信息和申请记录",
  7369. "parameters": [
  7370. {
  7371. "type": "integer",
  7372. "description": "所属机构ID",
  7373. "name": "userid",
  7374. "in": "query"
  7375. }
  7376. ],
  7377. "responses": {
  7378. "200": {
  7379. "description": "OK",
  7380. "schema": {
  7381. "type": "array",
  7382. "items": {
  7383. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  7384. }
  7385. }
  7386. },
  7387. "500": {
  7388. "description": "Internal Server Error",
  7389. "schema": {
  7390. "$ref": "#/definitions/app.Response"
  7391. }
  7392. }
  7393. }
  7394. }
  7395. },
  7396. "/Qhj/QueryBrokerRewardLog": {
  7397. "get": {
  7398. "security": [
  7399. {
  7400. "ApiKeyAuth": []
  7401. }
  7402. ],
  7403. "produces": [
  7404. "application/json"
  7405. ],
  7406. "tags": [
  7407. "大连千海金"
  7408. ],
  7409. "summary": "查询奖励流水(我的奖励)",
  7410. "parameters": [
  7411. {
  7412. "type": "integer",
  7413. "description": "用户ID",
  7414. "name": "userid",
  7415. "in": "query",
  7416. "required": true
  7417. },
  7418. {
  7419. "type": "string",
  7420. "description": "开始交易日(yyyymmdd)",
  7421. "name": "begindate",
  7422. "in": "query"
  7423. },
  7424. {
  7425. "type": "string",
  7426. "description": "结束交易日(yyyymmdd)",
  7427. "name": "enddate",
  7428. "in": "query"
  7429. }
  7430. ],
  7431. "responses": {
  7432. "200": {
  7433. "description": "OK",
  7434. "schema": {
  7435. "type": "array",
  7436. "items": {
  7437. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  7438. }
  7439. }
  7440. },
  7441. "500": {
  7442. "description": "Internal Server Error",
  7443. "schema": {
  7444. "$ref": "#/definitions/app.Response"
  7445. }
  7446. }
  7447. }
  7448. }
  7449. },
  7450. "/Qhj/QueryContract": {
  7451. "get": {
  7452. "security": [
  7453. {
  7454. "ApiKeyAuth": []
  7455. }
  7456. ],
  7457. "produces": [
  7458. "application/json"
  7459. ],
  7460. "tags": [
  7461. "大连千海金"
  7462. ],
  7463. "summary": "查询融资明细(合同)",
  7464. "parameters": [
  7465. {
  7466. "type": "integer",
  7467. "description": "用户ID",
  7468. "name": "userid",
  7469. "in": "query"
  7470. },
  7471. {
  7472. "type": "integer",
  7473. "description": "scf合同id",
  7474. "name": "scfcontractid",
  7475. "in": "query"
  7476. }
  7477. ],
  7478. "responses": {
  7479. "200": {
  7480. "description": "OK",
  7481. "schema": {
  7482. "type": "array",
  7483. "items": {
  7484. "$ref": "#/definitions/models.QhjContract"
  7485. }
  7486. }
  7487. },
  7488. "500": {
  7489. "description": "Internal Server Error",
  7490. "schema": {
  7491. "$ref": "#/definitions/app.Response"
  7492. }
  7493. }
  7494. }
  7495. }
  7496. },
  7497. "/Qhj/QueryContractLog": {
  7498. "get": {
  7499. "security": [
  7500. {
  7501. "ApiKeyAuth": []
  7502. }
  7503. ],
  7504. "produces": [
  7505. "application/json"
  7506. ],
  7507. "tags": [
  7508. "大连千海金"
  7509. ],
  7510. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  7511. "parameters": [
  7512. {
  7513. "type": "integer",
  7514. "description": "scf合同id",
  7515. "name": "scfcontractid",
  7516. "in": "query",
  7517. "required": true
  7518. },
  7519. {
  7520. "type": "string",
  7521. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  7522. "name": "amounttype",
  7523. "in": "query"
  7524. }
  7525. ],
  7526. "responses": {
  7527. "200": {
  7528. "description": "OK",
  7529. "schema": {
  7530. "type": "array",
  7531. "items": {
  7532. "$ref": "#/definitions/models.QhjContractLog"
  7533. }
  7534. }
  7535. },
  7536. "500": {
  7537. "description": "Internal Server Error",
  7538. "schema": {
  7539. "$ref": "#/definitions/app.Response"
  7540. }
  7541. }
  7542. }
  7543. }
  7544. },
  7545. "/Qhj/QueryCusBankSignBank": {
  7546. "get": {
  7547. "security": [
  7548. {
  7549. "ApiKeyAuth": []
  7550. }
  7551. ],
  7552. "produces": [
  7553. "application/json"
  7554. ],
  7555. "tags": [
  7556. "大连千海金"
  7557. ],
  7558. "summary": "查询托管银行",
  7559. "responses": {
  7560. "200": {
  7561. "description": "OK",
  7562. "schema": {
  7563. "type": "array",
  7564. "items": {
  7565. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  7566. }
  7567. }
  7568. },
  7569. "500": {
  7570. "description": "Internal Server Error",
  7571. "schema": {
  7572. "$ref": "#/definitions/app.Response"
  7573. }
  7574. }
  7575. }
  7576. }
  7577. },
  7578. "/Qhj/QueryCustomerInfo": {
  7579. "get": {
  7580. "security": [
  7581. {
  7582. "ApiKeyAuth": []
  7583. }
  7584. ],
  7585. "produces": [
  7586. "application/json"
  7587. ],
  7588. "tags": [
  7589. "大连千海金"
  7590. ],
  7591. "summary": "查询客户资料",
  7592. "parameters": [
  7593. {
  7594. "type": "integer",
  7595. "description": "用户ID",
  7596. "name": "userid",
  7597. "in": "query",
  7598. "required": true
  7599. },
  7600. {
  7601. "type": "integer",
  7602. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  7603. "name": "querytype",
  7604. "in": "query",
  7605. "required": true
  7606. },
  7607. {
  7608. "type": "integer",
  7609. "description": "客户类型 1-个人 2-企业",
  7610. "name": "userinfotype",
  7611. "in": "query"
  7612. },
  7613. {
  7614. "type": "string",
  7615. "description": "客户名称(模糊匹配)",
  7616. "name": "customername",
  7617. "in": "query"
  7618. },
  7619. {
  7620. "type": "string",
  7621. "description": "昵称(模糊匹配)",
  7622. "name": "nickname",
  7623. "in": "query"
  7624. },
  7625. {
  7626. "type": "integer",
  7627. "description": "是否包含子级 1-包含",
  7628. "name": "includesub",
  7629. "in": "query"
  7630. }
  7631. ],
  7632. "responses": {
  7633. "200": {
  7634. "description": "OK",
  7635. "schema": {
  7636. "type": "array",
  7637. "items": {
  7638. "$ref": "#/definitions/models.QhjCustomer"
  7639. }
  7640. }
  7641. },
  7642. "500": {
  7643. "description": "Internal Server Error",
  7644. "schema": {
  7645. "$ref": "#/definitions/app.Response"
  7646. }
  7647. }
  7648. }
  7649. }
  7650. },
  7651. "/Qhj/QueryGoodsEx": {
  7652. "get": {
  7653. "security": [
  7654. {
  7655. "ApiKeyAuth": []
  7656. }
  7657. ],
  7658. "produces": [
  7659. "application/json"
  7660. ],
  7661. "tags": [
  7662. "大连千海金"
  7663. ],
  7664. "summary": "交易商品扩展表",
  7665. "parameters": [
  7666. {
  7667. "type": "integer",
  7668. "description": "商品id",
  7669. "name": "goodsid",
  7670. "in": "query"
  7671. }
  7672. ],
  7673. "responses": {
  7674. "200": {
  7675. "description": "OK",
  7676. "schema": {
  7677. "type": "array",
  7678. "items": {
  7679. "$ref": "#/definitions/models.Qhjgoodsex"
  7680. }
  7681. }
  7682. },
  7683. "500": {
  7684. "description": "Internal Server Error",
  7685. "schema": {
  7686. "$ref": "#/definitions/app.Response"
  7687. }
  7688. }
  7689. }
  7690. }
  7691. },
  7692. "/Qhj/QueryMyTeam": {
  7693. "get": {
  7694. "security": [
  7695. {
  7696. "ApiKeyAuth": []
  7697. }
  7698. ],
  7699. "produces": [
  7700. "application/json"
  7701. ],
  7702. "tags": [
  7703. "大连千海金"
  7704. ],
  7705. "summary": "查询我的团队",
  7706. "parameters": [
  7707. {
  7708. "type": "integer",
  7709. "description": "用户ID",
  7710. "name": "userid",
  7711. "in": "query",
  7712. "required": true
  7713. }
  7714. ],
  7715. "responses": {
  7716. "200": {
  7717. "description": "OK",
  7718. "schema": {
  7719. "type": "array",
  7720. "items": {
  7721. "$ref": "#/definitions/models.QhjMyTeamEx"
  7722. }
  7723. }
  7724. },
  7725. "500": {
  7726. "description": "Internal Server Error",
  7727. "schema": {
  7728. "$ref": "#/definitions/app.Response"
  7729. }
  7730. }
  7731. }
  7732. }
  7733. },
  7734. "/Qhj/QueryMyTeamOrder": {
  7735. "get": {
  7736. "security": [
  7737. {
  7738. "ApiKeyAuth": []
  7739. }
  7740. ],
  7741. "produces": [
  7742. "application/json"
  7743. ],
  7744. "tags": [
  7745. "大连千海金"
  7746. ],
  7747. "summary": "查询团队订单(我的团队/团队订单)",
  7748. "parameters": [
  7749. {
  7750. "type": "integer",
  7751. "description": "页码",
  7752. "name": "page",
  7753. "in": "query"
  7754. },
  7755. {
  7756. "type": "integer",
  7757. "description": "每页条数",
  7758. "name": "pagesize",
  7759. "in": "query"
  7760. },
  7761. {
  7762. "type": "integer",
  7763. "description": "用户ID",
  7764. "name": "userid",
  7765. "in": "query",
  7766. "required": true
  7767. },
  7768. {
  7769. "type": "integer",
  7770. "description": "交易模式",
  7771. "name": "trademode",
  7772. "in": "query"
  7773. },
  7774. {
  7775. "type": "string",
  7776. "description": "名称(模糊搜索账户)",
  7777. "name": "filtername",
  7778. "in": "query"
  7779. }
  7780. ],
  7781. "responses": {
  7782. "200": {
  7783. "description": "OK",
  7784. "schema": {
  7785. "type": "array",
  7786. "items": {
  7787. "$ref": "#/definitions/models.QhjTeamOrder"
  7788. }
  7789. }
  7790. },
  7791. "500": {
  7792. "description": "Internal Server Error",
  7793. "schema": {
  7794. "$ref": "#/definitions/app.Response"
  7795. }
  7796. }
  7797. }
  7798. }
  7799. },
  7800. "/Qhj/QueryParentAreaList": {
  7801. "get": {
  7802. "security": [
  7803. {
  7804. "ApiKeyAuth": []
  7805. }
  7806. ],
  7807. "produces": [
  7808. "application/json"
  7809. ],
  7810. "tags": [
  7811. "大连千海金"
  7812. ],
  7813. "summary": "查询所属机构列表",
  7814. "parameters": [
  7815. {
  7816. "type": "integer",
  7817. "description": "用户ID",
  7818. "name": "userid",
  7819. "in": "query",
  7820. "required": true
  7821. }
  7822. ],
  7823. "responses": {
  7824. "200": {
  7825. "description": "OK",
  7826. "schema": {
  7827. "type": "array",
  7828. "items": {
  7829. "$ref": "#/definitions/models.QhjParentAreaList"
  7830. }
  7831. }
  7832. },
  7833. "500": {
  7834. "description": "Internal Server Error",
  7835. "schema": {
  7836. "$ref": "#/definitions/app.Response"
  7837. }
  7838. }
  7839. }
  7840. }
  7841. },
  7842. "/Qhj/QueryPayOrder": {
  7843. "get": {
  7844. "security": [
  7845. {
  7846. "ApiKeyAuth": []
  7847. }
  7848. ],
  7849. "produces": [
  7850. "application/json"
  7851. ],
  7852. "tags": [
  7853. "大连千海金"
  7854. ],
  7855. "summary": "查询待付款单据",
  7856. "parameters": [
  7857. {
  7858. "type": "integer",
  7859. "description": "资金账号id",
  7860. "name": "accountid",
  7861. "in": "query",
  7862. "required": true
  7863. },
  7864. {
  7865. "type": "integer",
  7866. "description": "成交单号",
  7867. "name": "tradeid",
  7868. "in": "query"
  7869. },
  7870. {
  7871. "type": "string",
  7872. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7873. "name": "payflag",
  7874. "in": "query"
  7875. }
  7876. ],
  7877. "responses": {
  7878. "200": {
  7879. "description": "OK",
  7880. "schema": {
  7881. "type": "array",
  7882. "items": {
  7883. "$ref": "#/definitions/models.QhjPayOrder"
  7884. }
  7885. }
  7886. },
  7887. "500": {
  7888. "description": "Internal Server Error",
  7889. "schema": {
  7890. "$ref": "#/definitions/app.Response"
  7891. }
  7892. }
  7893. }
  7894. }
  7895. },
  7896. "/Qhj/QueryPickArea": {
  7897. "get": {
  7898. "security": [
  7899. {
  7900. "ApiKeyAuth": []
  7901. }
  7902. ],
  7903. "produces": [
  7904. "application/json"
  7905. ],
  7906. "tags": [
  7907. "大连千海金"
  7908. ],
  7909. "summary": "查询提货门店",
  7910. "parameters": [
  7911. {
  7912. "type": "integer",
  7913. "description": "用户ID",
  7914. "name": "userid",
  7915. "in": "query"
  7916. }
  7917. ],
  7918. "responses": {
  7919. "200": {
  7920. "description": "OK",
  7921. "schema": {
  7922. "type": "array",
  7923. "items": {
  7924. "$ref": "#/definitions/models.QhjPickArea"
  7925. }
  7926. }
  7927. },
  7928. "500": {
  7929. "description": "Internal Server Error",
  7930. "schema": {
  7931. "$ref": "#/definitions/app.Response"
  7932. }
  7933. }
  7934. }
  7935. }
  7936. },
  7937. "/Qhj/QueryPickGoods": {
  7938. "get": {
  7939. "security": [
  7940. {
  7941. "ApiKeyAuth": []
  7942. }
  7943. ],
  7944. "produces": [
  7945. "application/json"
  7946. ],
  7947. "tags": [
  7948. "大连千海金"
  7949. ],
  7950. "summary": "查询提货商品",
  7951. "parameters": [
  7952. {
  7953. "type": "integer",
  7954. "description": "交易商品id",
  7955. "name": "goodsid",
  7956. "in": "query",
  7957. "required": true
  7958. },
  7959. {
  7960. "type": "string",
  7961. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  7962. "name": "status",
  7963. "in": "query"
  7964. }
  7965. ],
  7966. "responses": {
  7967. "200": {
  7968. "description": "OK",
  7969. "schema": {
  7970. "type": "array",
  7971. "items": {
  7972. "$ref": "#/definitions/models.QhjPickGoods"
  7973. }
  7974. }
  7975. },
  7976. "500": {
  7977. "description": "Internal Server Error",
  7978. "schema": {
  7979. "$ref": "#/definitions/app.Response"
  7980. }
  7981. }
  7982. }
  7983. }
  7984. },
  7985. "/Qhj/QueryRSTriggerLog": {
  7986. "get": {
  7987. "security": [
  7988. {
  7989. "ApiKeyAuth": []
  7990. }
  7991. ],
  7992. "produces": [
  7993. "application/json"
  7994. ],
  7995. "tags": [
  7996. "大连千海金"
  7997. ],
  7998. "summary": "查询定投记录(定投管理/详情/定投记录)",
  7999. "parameters": [
  8000. {
  8001. "type": "integer",
  8002. "description": "用户ID",
  8003. "name": "userid",
  8004. "in": "query"
  8005. },
  8006. {
  8007. "type": "integer",
  8008. "description": "定投策略id",
  8009. "name": "regularlystrategyid",
  8010. "in": "query"
  8011. },
  8012. {
  8013. "type": "integer",
  8014. "description": "商品id",
  8015. "name": "goodsid",
  8016. "in": "query"
  8017. },
  8018. {
  8019. "type": "string",
  8020. "description": "开始交易日(yyyymmdd)",
  8021. "name": "begindate",
  8022. "in": "query"
  8023. },
  8024. {
  8025. "type": "string",
  8026. "description": "结束交易日(yyyymmdd)",
  8027. "name": "enddate",
  8028. "in": "query"
  8029. },
  8030. {
  8031. "type": "string",
  8032. "description": "名称(模糊搜索账户)",
  8033. "name": "filtername",
  8034. "in": "query"
  8035. }
  8036. ],
  8037. "responses": {
  8038. "200": {
  8039. "description": "OK",
  8040. "schema": {
  8041. "type": "array",
  8042. "items": {
  8043. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8044. }
  8045. }
  8046. },
  8047. "500": {
  8048. "description": "Internal Server Error",
  8049. "schema": {
  8050. "$ref": "#/definitions/app.Response"
  8051. }
  8052. }
  8053. }
  8054. }
  8055. },
  8056. "/Qhj/QueryRStrategy": {
  8057. "get": {
  8058. "security": [
  8059. {
  8060. "ApiKeyAuth": []
  8061. }
  8062. ],
  8063. "produces": [
  8064. "application/json"
  8065. ],
  8066. "tags": [
  8067. "大连千海金"
  8068. ],
  8069. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8070. "parameters": [
  8071. {
  8072. "type": "integer",
  8073. "description": "用户ID",
  8074. "name": "userid",
  8075. "in": "query"
  8076. },
  8077. {
  8078. "type": "integer",
  8079. "description": "商品id",
  8080. "name": "goodsid",
  8081. "in": "query"
  8082. },
  8083. {
  8084. "type": "string",
  8085. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8086. "name": "status",
  8087. "in": "query"
  8088. },
  8089. {
  8090. "type": "string",
  8091. "description": "名称(模糊搜索账户)",
  8092. "name": "filtername",
  8093. "in": "query"
  8094. }
  8095. ],
  8096. "responses": {
  8097. "200": {
  8098. "description": "OK",
  8099. "schema": {
  8100. "type": "array",
  8101. "items": {
  8102. "$ref": "#/definitions/models.QhjRStrategy"
  8103. }
  8104. }
  8105. },
  8106. "500": {
  8107. "description": "Internal Server Error",
  8108. "schema": {
  8109. "$ref": "#/definitions/app.Response"
  8110. }
  8111. }
  8112. }
  8113. }
  8114. },
  8115. "/Qhj/QueryReckonPriceLog": {
  8116. "get": {
  8117. "security": [
  8118. {
  8119. "ApiKeyAuth": []
  8120. }
  8121. ],
  8122. "produces": [
  8123. "application/json"
  8124. ],
  8125. "tags": [
  8126. "大连千海金"
  8127. ],
  8128. "summary": "查询定投价(结算价)",
  8129. "parameters": [
  8130. {
  8131. "type": "integer",
  8132. "description": "商品ID",
  8133. "name": "goodsid",
  8134. "in": "query"
  8135. },
  8136. {
  8137. "type": "string",
  8138. "description": "交易日 格式(yyyymmdd)",
  8139. "name": "tradedate",
  8140. "in": "query"
  8141. }
  8142. ],
  8143. "responses": {
  8144. "200": {
  8145. "description": "OK",
  8146. "schema": {
  8147. "type": "array",
  8148. "items": {
  8149. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8150. }
  8151. }
  8152. },
  8153. "500": {
  8154. "description": "Internal Server Error",
  8155. "schema": {
  8156. "$ref": "#/definitions/app.Response"
  8157. }
  8158. }
  8159. }
  8160. }
  8161. },
  8162. "/Qhj/QueryScoreLog": {
  8163. "get": {
  8164. "security": [
  8165. {
  8166. "ApiKeyAuth": []
  8167. }
  8168. ],
  8169. "produces": [
  8170. "application/json"
  8171. ],
  8172. "tags": [
  8173. "大连千海金"
  8174. ],
  8175. "summary": "查询积分流水(我的积分)",
  8176. "parameters": [
  8177. {
  8178. "type": "integer",
  8179. "description": "用户ID",
  8180. "name": "userid",
  8181. "in": "query",
  8182. "required": true
  8183. },
  8184. {
  8185. "type": "string",
  8186. "description": "开始交易日(yyyymmdd)",
  8187. "name": "begindate",
  8188. "in": "query"
  8189. },
  8190. {
  8191. "type": "string",
  8192. "description": "结束交易日(yyyymmdd)",
  8193. "name": "enddate",
  8194. "in": "query"
  8195. },
  8196. {
  8197. "type": "integer",
  8198. "description": "最近多少条",
  8199. "name": "lastnum",
  8200. "in": "query"
  8201. }
  8202. ],
  8203. "responses": {
  8204. "200": {
  8205. "description": "OK",
  8206. "schema": {
  8207. "type": "array",
  8208. "items": {
  8209. "$ref": "#/definitions/models.QhjScoreLog"
  8210. }
  8211. }
  8212. },
  8213. "500": {
  8214. "description": "Internal Server Error",
  8215. "schema": {
  8216. "$ref": "#/definitions/app.Response"
  8217. }
  8218. }
  8219. }
  8220. }
  8221. },
  8222. "/Qhj/QuerySiteColumnDetail": {
  8223. "get": {
  8224. "security": [
  8225. {
  8226. "ApiKeyAuth": []
  8227. }
  8228. ],
  8229. "produces": [
  8230. "application/json"
  8231. ],
  8232. "tags": [
  8233. "大连千海金"
  8234. ],
  8235. "summary": "查询资讯",
  8236. "parameters": [
  8237. {
  8238. "type": "integer",
  8239. "description": "用户ID",
  8240. "name": "userid",
  8241. "in": "query",
  8242. "required": true
  8243. }
  8244. ],
  8245. "responses": {
  8246. "200": {
  8247. "description": "OK",
  8248. "schema": {
  8249. "type": "array",
  8250. "items": {
  8251. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  8252. }
  8253. }
  8254. },
  8255. "500": {
  8256. "description": "Internal Server Error",
  8257. "schema": {
  8258. "$ref": "#/definitions/app.Response"
  8259. }
  8260. }
  8261. }
  8262. }
  8263. },
  8264. "/Qhj/QueryTradeGoodsPickup": {
  8265. "get": {
  8266. "security": [
  8267. {
  8268. "ApiKeyAuth": []
  8269. }
  8270. ],
  8271. "produces": [
  8272. "application/json"
  8273. ],
  8274. "tags": [
  8275. "大连千海金"
  8276. ],
  8277. "summary": "查询提货",
  8278. "parameters": [
  8279. {
  8280. "type": "integer",
  8281. "description": "用户ID",
  8282. "name": "userid",
  8283. "in": "query",
  8284. "required": true
  8285. },
  8286. {
  8287. "type": "integer",
  8288. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  8289. "name": "takeorderstatus",
  8290. "in": "query"
  8291. }
  8292. ],
  8293. "responses": {
  8294. "200": {
  8295. "description": "OK",
  8296. "schema": {
  8297. "type": "array",
  8298. "items": {
  8299. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  8300. }
  8301. }
  8302. },
  8303. "500": {
  8304. "description": "Internal Server Error",
  8305. "schema": {
  8306. "$ref": "#/definitions/app.Response"
  8307. }
  8308. }
  8309. }
  8310. }
  8311. },
  8312. "/Qhj/QueryUserCollectConfig": {
  8313. "get": {
  8314. "security": [
  8315. {
  8316. "ApiKeyAuth": []
  8317. }
  8318. ],
  8319. "produces": [
  8320. "application/json"
  8321. ],
  8322. "tags": [
  8323. "大连千海金"
  8324. ],
  8325. "summary": "查询提现账户设置",
  8326. "parameters": [
  8327. {
  8328. "type": "integer",
  8329. "description": "用户ID",
  8330. "name": "userid",
  8331. "in": "query",
  8332. "required": true
  8333. }
  8334. ],
  8335. "responses": {
  8336. "200": {
  8337. "description": "OK",
  8338. "schema": {
  8339. "type": "array",
  8340. "items": {
  8341. "$ref": "#/definitions/models.UserCollectConfig"
  8342. }
  8343. }
  8344. },
  8345. "500": {
  8346. "description": "Internal Server Error",
  8347. "schema": {
  8348. "$ref": "#/definitions/app.Response"
  8349. }
  8350. }
  8351. }
  8352. }
  8353. },
  8354. "/Qhj/QueryUserReceiveInfo": {
  8355. "get": {
  8356. "security": [
  8357. {
  8358. "ApiKeyAuth": []
  8359. }
  8360. ],
  8361. "produces": [
  8362. "application/json"
  8363. ],
  8364. "tags": [
  8365. "大连千海金"
  8366. ],
  8367. "summary": "查询收货地址信息",
  8368. "parameters": [
  8369. {
  8370. "type": "integer",
  8371. "description": "用户ID",
  8372. "name": "userid",
  8373. "in": "query",
  8374. "required": true
  8375. }
  8376. ],
  8377. "responses": {
  8378. "200": {
  8379. "description": "OK",
  8380. "schema": {
  8381. "type": "array",
  8382. "items": {
  8383. "$ref": "#/definitions/models.UserReceiveInfo"
  8384. }
  8385. }
  8386. },
  8387. "500": {
  8388. "description": "Internal Server Error",
  8389. "schema": {
  8390. "$ref": "#/definitions/app.Response"
  8391. }
  8392. }
  8393. }
  8394. }
  8395. },
  8396. "/QhjMgr/QueryAccountInOutApply": {
  8397. "get": {
  8398. "security": [
  8399. {
  8400. "ApiKeyAuth": []
  8401. }
  8402. ],
  8403. "produces": [
  8404. "application/json"
  8405. ],
  8406. "tags": [
  8407. "大连千海金(PCWeb)"
  8408. ],
  8409. "summary": "查询充值提现",
  8410. "parameters": [
  8411. {
  8412. "type": "integer",
  8413. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  8414. "name": "querytype",
  8415. "in": "query",
  8416. "required": true
  8417. },
  8418. {
  8419. "type": "integer",
  8420. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  8421. "name": "applystatus",
  8422. "in": "query"
  8423. },
  8424. {
  8425. "type": "string",
  8426. "description": "申请起始日期(格式yyyymmdd)",
  8427. "name": "begindate",
  8428. "in": "query"
  8429. },
  8430. {
  8431. "type": "string",
  8432. "description": "申请截止日期(格式yyyymmdd)",
  8433. "name": "enddate",
  8434. "in": "query"
  8435. },
  8436. {
  8437. "type": "string",
  8438. "description": "模糊搜索名称",
  8439. "name": "likename",
  8440. "in": "query"
  8441. }
  8442. ],
  8443. "responses": {
  8444. "200": {
  8445. "description": "OK",
  8446. "schema": {
  8447. "type": "array",
  8448. "items": {
  8449. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  8450. }
  8451. }
  8452. },
  8453. "500": {
  8454. "description": "Internal Server Error",
  8455. "schema": {
  8456. "$ref": "#/definitions/app.Response"
  8457. }
  8458. }
  8459. }
  8460. }
  8461. },
  8462. "/QhjMgr/QueryBrokerApply": {
  8463. "get": {
  8464. "security": [
  8465. {
  8466. "ApiKeyAuth": []
  8467. }
  8468. ],
  8469. "produces": [
  8470. "application/json"
  8471. ],
  8472. "tags": [
  8473. "大连千海金(PCWeb)"
  8474. ],
  8475. "summary": "查询经纪人申请",
  8476. "parameters": [
  8477. {
  8478. "type": "integer",
  8479. "description": "所属机构ID",
  8480. "name": "userid",
  8481. "in": "query"
  8482. },
  8483. {
  8484. "type": "string",
  8485. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8486. "name": "filterstatus",
  8487. "in": "query"
  8488. },
  8489. {
  8490. "type": "string",
  8491. "description": "名称(模糊匹配)",
  8492. "name": "filtername",
  8493. "in": "query"
  8494. },
  8495. {
  8496. "type": "integer",
  8497. "description": "是否包含子级 1-包含",
  8498. "name": "includesub",
  8499. "in": "query"
  8500. }
  8501. ],
  8502. "responses": {
  8503. "200": {
  8504. "description": "OK",
  8505. "schema": {
  8506. "type": "array",
  8507. "items": {
  8508. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  8509. }
  8510. }
  8511. },
  8512. "500": {
  8513. "description": "Internal Server Error",
  8514. "schema": {
  8515. "$ref": "#/definitions/app.Response"
  8516. }
  8517. }
  8518. }
  8519. }
  8520. },
  8521. "/QhjMgr/QueryBrokerRewardReport": {
  8522. "get": {
  8523. "security": [
  8524. {
  8525. "ApiKeyAuth": []
  8526. }
  8527. ],
  8528. "produces": [
  8529. "application/json"
  8530. ],
  8531. "tags": [
  8532. "大连千海金(PCWeb)"
  8533. ],
  8534. "summary": "查询经纪人奖励报表(废弃)",
  8535. "parameters": [
  8536. {
  8537. "type": "integer",
  8538. "description": "所属机构ID",
  8539. "name": "userid",
  8540. "in": "query",
  8541. "required": true
  8542. },
  8543. {
  8544. "type": "integer",
  8545. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8546. "name": "cycletype",
  8547. "in": "query",
  8548. "required": true
  8549. },
  8550. {
  8551. "type": "string",
  8552. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  8553. "name": "cycletime",
  8554. "in": "query",
  8555. "required": true
  8556. },
  8557. {
  8558. "type": "string",
  8559. "description": "名称(模糊匹配)",
  8560. "name": "filtername",
  8561. "in": "query"
  8562. },
  8563. {
  8564. "type": "integer",
  8565. "description": "是否包含子级 1-包含",
  8566. "name": "includesub",
  8567. "in": "query"
  8568. }
  8569. ],
  8570. "responses": {
  8571. "200": {
  8572. "description": "OK",
  8573. "schema": {
  8574. "type": "array",
  8575. "items": {
  8576. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  8577. }
  8578. }
  8579. },
  8580. "500": {
  8581. "description": "Internal Server Error",
  8582. "schema": {
  8583. "$ref": "#/definitions/app.Response"
  8584. }
  8585. }
  8586. }
  8587. }
  8588. },
  8589. "/QhjMgr/QueryContract": {
  8590. "get": {
  8591. "security": [
  8592. {
  8593. "ApiKeyAuth": []
  8594. }
  8595. ],
  8596. "produces": [
  8597. "application/json"
  8598. ],
  8599. "tags": [
  8600. "大连千海金(PCWeb)"
  8601. ],
  8602. "summary": "查询融资信息(合同)",
  8603. "parameters": [
  8604. {
  8605. "type": "integer",
  8606. "description": "用户ID",
  8607. "name": "userid",
  8608. "in": "query"
  8609. },
  8610. {
  8611. "type": "integer",
  8612. "description": "商品id",
  8613. "name": "goodsid",
  8614. "in": "query"
  8615. },
  8616. {
  8617. "type": "string",
  8618. "description": "名称(模糊搜索账户)",
  8619. "name": "filtername",
  8620. "in": "query"
  8621. },
  8622. {
  8623. "type": "string",
  8624. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  8625. "name": "risklevel",
  8626. "in": "query"
  8627. },
  8628. {
  8629. "type": "string",
  8630. "description": "开始交易日(yyyymmdd)",
  8631. "name": "begindate",
  8632. "in": "query"
  8633. },
  8634. {
  8635. "type": "string",
  8636. "description": "结束交易日(yyyymmdd)",
  8637. "name": "enddate",
  8638. "in": "query"
  8639. }
  8640. ],
  8641. "responses": {
  8642. "200": {
  8643. "description": "OK",
  8644. "schema": {
  8645. "type": "array",
  8646. "items": {
  8647. "$ref": "#/definitions/models.QhjMgrContract"
  8648. }
  8649. }
  8650. },
  8651. "500": {
  8652. "description": "Internal Server Error",
  8653. "schema": {
  8654. "$ref": "#/definitions/app.Response"
  8655. }
  8656. }
  8657. }
  8658. }
  8659. },
  8660. "/QhjMgr/QueryCustomerInfo": {
  8661. "get": {
  8662. "security": [
  8663. {
  8664. "ApiKeyAuth": []
  8665. }
  8666. ],
  8667. "produces": [
  8668. "application/json"
  8669. ],
  8670. "tags": [
  8671. "大连千海金(PCWeb)"
  8672. ],
  8673. "summary": "查询客户资料",
  8674. "parameters": [
  8675. {
  8676. "type": "integer",
  8677. "description": "用户ID",
  8678. "name": "userid",
  8679. "in": "query",
  8680. "required": true
  8681. },
  8682. {
  8683. "type": "integer",
  8684. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8685. "name": "querytype",
  8686. "in": "query",
  8687. "required": true
  8688. },
  8689. {
  8690. "type": "integer",
  8691. "description": "客户类型 1-个人 2-企业",
  8692. "name": "userinfotype",
  8693. "in": "query"
  8694. },
  8695. {
  8696. "type": "string",
  8697. "description": "客户名称(模糊匹配)",
  8698. "name": "customername",
  8699. "in": "query"
  8700. },
  8701. {
  8702. "type": "string",
  8703. "description": "昵称(模糊匹配)",
  8704. "name": "nickname",
  8705. "in": "query"
  8706. },
  8707. {
  8708. "type": "string",
  8709. "description": "所属客户经理(模糊匹配)",
  8710. "name": "brokername",
  8711. "in": "query"
  8712. },
  8713. {
  8714. "type": "integer",
  8715. "description": "是否包含子级 1-包含",
  8716. "name": "includesub",
  8717. "in": "query"
  8718. }
  8719. ],
  8720. "responses": {
  8721. "200": {
  8722. "description": "OK",
  8723. "schema": {
  8724. "type": "array",
  8725. "items": {
  8726. "$ref": "#/definitions/models.QhjMgrCustomer"
  8727. }
  8728. }
  8729. },
  8730. "500": {
  8731. "description": "Internal Server Error",
  8732. "schema": {
  8733. "$ref": "#/definitions/app.Response"
  8734. }
  8735. }
  8736. }
  8737. }
  8738. },
  8739. "/QhjMgr/QueryPickGoods": {
  8740. "get": {
  8741. "security": [
  8742. {
  8743. "ApiKeyAuth": []
  8744. }
  8745. ],
  8746. "produces": [
  8747. "application/json"
  8748. ],
  8749. "tags": [
  8750. "大连千海金(PCWeb)"
  8751. ],
  8752. "summary": "查询提货商品",
  8753. "parameters": [
  8754. {
  8755. "type": "string",
  8756. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8757. "name": "status",
  8758. "in": "query"
  8759. }
  8760. ],
  8761. "responses": {
  8762. "200": {
  8763. "description": "OK",
  8764. "schema": {
  8765. "type": "array",
  8766. "items": {
  8767. "$ref": "#/definitions/models.QhjMgrPickGoods"
  8768. }
  8769. }
  8770. },
  8771. "500": {
  8772. "description": "Internal Server Error",
  8773. "schema": {
  8774. "$ref": "#/definitions/app.Response"
  8775. }
  8776. }
  8777. }
  8778. }
  8779. },
  8780. "/QhjMgr/QuerySubArea": {
  8781. "get": {
  8782. "security": [
  8783. {
  8784. "ApiKeyAuth": []
  8785. }
  8786. ],
  8787. "produces": [
  8788. "application/json"
  8789. ],
  8790. "tags": [
  8791. "大连千海金(PCWeb)"
  8792. ],
  8793. "summary": "查询子机构列表",
  8794. "parameters": [
  8795. {
  8796. "type": "integer",
  8797. "description": "用户ID",
  8798. "name": "userid",
  8799. "in": "query",
  8800. "required": true
  8801. }
  8802. ],
  8803. "responses": {
  8804. "200": {
  8805. "description": "OK",
  8806. "schema": {
  8807. "type": "array",
  8808. "items": {
  8809. "$ref": "#/definitions/models.QhjMgrSubArea"
  8810. }
  8811. }
  8812. },
  8813. "500": {
  8814. "description": "Internal Server Error",
  8815. "schema": {
  8816. "$ref": "#/definitions/app.Response"
  8817. }
  8818. }
  8819. }
  8820. }
  8821. },
  8822. "/QhjMgr/QueryTradeDetail": {
  8823. "get": {
  8824. "security": [
  8825. {
  8826. "ApiKeyAuth": []
  8827. }
  8828. ],
  8829. "produces": [
  8830. "application/json"
  8831. ],
  8832. "tags": [
  8833. "大连千海金(PCWeb)"
  8834. ],
  8835. "summary": "查询成交明细",
  8836. "parameters": [
  8837. {
  8838. "type": "integer",
  8839. "description": "用户ID",
  8840. "name": "userid",
  8841. "in": "query",
  8842. "required": true
  8843. },
  8844. {
  8845. "type": "integer",
  8846. "description": "用户类型 1-个人 2-企业",
  8847. "name": "userinfotype",
  8848. "in": "query"
  8849. },
  8850. {
  8851. "type": "integer",
  8852. "description": "交易模式",
  8853. "name": "trademode",
  8854. "in": "query"
  8855. },
  8856. {
  8857. "type": "integer",
  8858. "description": "商品id",
  8859. "name": "goodsid",
  8860. "in": "query"
  8861. },
  8862. {
  8863. "type": "string",
  8864. "description": "名称(模糊搜索账户)",
  8865. "name": "filtername",
  8866. "in": "query"
  8867. },
  8868. {
  8869. "type": "string",
  8870. "description": "开始交易日(yyyymmdd)",
  8871. "name": "begindate",
  8872. "in": "query"
  8873. },
  8874. {
  8875. "type": "string",
  8876. "description": "结束交易日(yyyymmdd)",
  8877. "name": "enddate",
  8878. "in": "query"
  8879. },
  8880. {
  8881. "type": "integer",
  8882. "description": "是否包含子级 1-包含",
  8883. "name": "includesub",
  8884. "in": "query"
  8885. }
  8886. ],
  8887. "responses": {
  8888. "200": {
  8889. "description": "OK",
  8890. "schema": {
  8891. "type": "array",
  8892. "items": {
  8893. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  8894. }
  8895. }
  8896. },
  8897. "500": {
  8898. "description": "Internal Server Error",
  8899. "schema": {
  8900. "$ref": "#/definitions/app.Response"
  8901. }
  8902. }
  8903. }
  8904. }
  8905. },
  8906. "/QhjMgr/QueryTradeOrderDetail": {
  8907. "get": {
  8908. "security": [
  8909. {
  8910. "ApiKeyAuth": []
  8911. }
  8912. ],
  8913. "produces": [
  8914. "application/json"
  8915. ],
  8916. "tags": [
  8917. "大连千海金(PCWeb)"
  8918. ],
  8919. "summary": "查询委托明细",
  8920. "parameters": [
  8921. {
  8922. "type": "integer",
  8923. "description": "用户ID",
  8924. "name": "userid",
  8925. "in": "query",
  8926. "required": true
  8927. },
  8928. {
  8929. "type": "integer",
  8930. "description": "用户类型 1-个人 2-企业",
  8931. "name": "userinfotype",
  8932. "in": "query"
  8933. },
  8934. {
  8935. "type": "integer",
  8936. "description": "交易模式",
  8937. "name": "trademode",
  8938. "in": "query"
  8939. },
  8940. {
  8941. "type": "integer",
  8942. "description": "商品id",
  8943. "name": "goodsid",
  8944. "in": "query"
  8945. },
  8946. {
  8947. "type": "string",
  8948. "description": "名称(模糊搜索账户)",
  8949. "name": "filtername",
  8950. "in": "query"
  8951. },
  8952. {
  8953. "type": "string",
  8954. "description": "开始交易日(yyyymmdd)",
  8955. "name": "begindate",
  8956. "in": "query"
  8957. },
  8958. {
  8959. "type": "string",
  8960. "description": "结束交易日(yyyymmdd)",
  8961. "name": "enddate",
  8962. "in": "query"
  8963. },
  8964. {
  8965. "type": "integer",
  8966. "description": "是否包含子级 1-包含",
  8967. "name": "includesub",
  8968. "in": "query"
  8969. }
  8970. ],
  8971. "responses": {
  8972. "200": {
  8973. "description": "OK",
  8974. "schema": {
  8975. "type": "array",
  8976. "items": {
  8977. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  8978. }
  8979. }
  8980. },
  8981. "500": {
  8982. "description": "Internal Server Error",
  8983. "schema": {
  8984. "$ref": "#/definitions/app.Response"
  8985. }
  8986. }
  8987. }
  8988. }
  8989. },
  8990. "/QhjMgr/QueryTradePayOrder": {
  8991. "get": {
  8992. "security": [
  8993. {
  8994. "ApiKeyAuth": []
  8995. }
  8996. ],
  8997. "produces": [
  8998. "application/json"
  8999. ],
  9000. "tags": [
  9001. "大连千海金(PCWeb)"
  9002. ],
  9003. "summary": "查询待付款单",
  9004. "parameters": [
  9005. {
  9006. "type": "integer",
  9007. "description": "用户ID",
  9008. "name": "userid",
  9009. "in": "query",
  9010. "required": true
  9011. },
  9012. {
  9013. "type": "string",
  9014. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9015. "name": "payflag",
  9016. "in": "query"
  9017. },
  9018. {
  9019. "type": "integer",
  9020. "description": "用户类型 1-个人 2-企业",
  9021. "name": "userinfotype",
  9022. "in": "query"
  9023. },
  9024. {
  9025. "type": "integer",
  9026. "description": "交易模式",
  9027. "name": "trademode",
  9028. "in": "query"
  9029. },
  9030. {
  9031. "type": "integer",
  9032. "description": "商品id",
  9033. "name": "goodsid",
  9034. "in": "query"
  9035. },
  9036. {
  9037. "type": "string",
  9038. "description": "名称(模糊搜索账户)",
  9039. "name": "filtername",
  9040. "in": "query"
  9041. },
  9042. {
  9043. "type": "string",
  9044. "description": "开始交易日(yyyymmdd)",
  9045. "name": "begindate",
  9046. "in": "query"
  9047. },
  9048. {
  9049. "type": "string",
  9050. "description": "结束交易日(yyyymmdd)",
  9051. "name": "enddate",
  9052. "in": "query"
  9053. },
  9054. {
  9055. "type": "integer",
  9056. "description": "是否包含子级 1-包含",
  9057. "name": "includesub",
  9058. "in": "query"
  9059. }
  9060. ],
  9061. "responses": {
  9062. "200": {
  9063. "description": "OK",
  9064. "schema": {
  9065. "type": "array",
  9066. "items": {
  9067. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9068. }
  9069. }
  9070. },
  9071. "500": {
  9072. "description": "Internal Server Error",
  9073. "schema": {
  9074. "$ref": "#/definitions/app.Response"
  9075. }
  9076. }
  9077. }
  9078. }
  9079. },
  9080. "/QhjMgr/QueryTradePosition": {
  9081. "get": {
  9082. "security": [
  9083. {
  9084. "ApiKeyAuth": []
  9085. }
  9086. ],
  9087. "produces": [
  9088. "application/json"
  9089. ],
  9090. "tags": [
  9091. "大连千海金(PCWeb)"
  9092. ],
  9093. "summary": "查询持仓汇总",
  9094. "parameters": [
  9095. {
  9096. "type": "integer",
  9097. "description": "用户ID",
  9098. "name": "userid",
  9099. "in": "query",
  9100. "required": true
  9101. },
  9102. {
  9103. "type": "integer",
  9104. "description": "用户类型 1-个人 2-企业",
  9105. "name": "userinfotype",
  9106. "in": "query"
  9107. },
  9108. {
  9109. "type": "integer",
  9110. "description": "交易模式",
  9111. "name": "trademode",
  9112. "in": "query"
  9113. },
  9114. {
  9115. "type": "integer",
  9116. "description": "商品id",
  9117. "name": "goodsid",
  9118. "in": "query"
  9119. },
  9120. {
  9121. "type": "string",
  9122. "description": "名称(模糊搜索账户)",
  9123. "name": "filtername",
  9124. "in": "query"
  9125. },
  9126. {
  9127. "type": "integer",
  9128. "description": "是否包含子级 1-包含",
  9129. "name": "includesub",
  9130. "in": "query"
  9131. }
  9132. ],
  9133. "responses": {
  9134. "200": {
  9135. "description": "OK",
  9136. "schema": {
  9137. "type": "array",
  9138. "items": {
  9139. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9140. }
  9141. }
  9142. },
  9143. "500": {
  9144. "description": "Internal Server Error",
  9145. "schema": {
  9146. "$ref": "#/definitions/app.Response"
  9147. }
  9148. }
  9149. }
  9150. }
  9151. },
  9152. "/QhjSys/QueryAgreementChangeLog": {
  9153. "get": {
  9154. "security": [
  9155. {
  9156. "ApiKeyAuth": []
  9157. }
  9158. ],
  9159. "produces": [
  9160. "application/json"
  9161. ],
  9162. "tags": [
  9163. "大连千海金(协议和签约信息)"
  9164. ],
  9165. "summary": "查询协议配置变更流水",
  9166. "parameters": [
  9167. {
  9168. "type": "integer",
  9169. "description": "协议ID",
  9170. "name": "agreementid",
  9171. "in": "query"
  9172. },
  9173. {
  9174. "type": "integer",
  9175. "description": "协议版本号",
  9176. "name": "agreementversion",
  9177. "in": "query"
  9178. },
  9179. {
  9180. "type": "integer",
  9181. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9182. "name": "agreementtype",
  9183. "in": "query"
  9184. },
  9185. {
  9186. "type": "string",
  9187. "description": "协议编号(模糊匹配)",
  9188. "name": "agreementno",
  9189. "in": "query"
  9190. },
  9191. {
  9192. "type": "string",
  9193. "description": "协议名称(模糊匹配)",
  9194. "name": "agreementname",
  9195. "in": "query"
  9196. }
  9197. ],
  9198. "responses": {
  9199. "200": {
  9200. "description": "OK",
  9201. "schema": {
  9202. "type": "array",
  9203. "items": {
  9204. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9205. }
  9206. }
  9207. },
  9208. "500": {
  9209. "description": "Internal Server Error",
  9210. "schema": {
  9211. "$ref": "#/definitions/app.Response"
  9212. }
  9213. }
  9214. }
  9215. }
  9216. },
  9217. "/QhjSys/QueryAgreementConfig": {
  9218. "get": {
  9219. "security": [
  9220. {
  9221. "ApiKeyAuth": []
  9222. }
  9223. ],
  9224. "produces": [
  9225. "application/json"
  9226. ],
  9227. "tags": [
  9228. "大连千海金(协议和签约信息)"
  9229. ],
  9230. "summary": "查询协议配置",
  9231. "parameters": [
  9232. {
  9233. "type": "integer",
  9234. "description": "协议ID",
  9235. "name": "agreementid",
  9236. "in": "query"
  9237. },
  9238. {
  9239. "type": "integer",
  9240. "description": "协议版本号",
  9241. "name": "agreementversion",
  9242. "in": "query"
  9243. },
  9244. {
  9245. "type": "integer",
  9246. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9247. "name": "agreementtype",
  9248. "in": "query"
  9249. },
  9250. {
  9251. "type": "integer",
  9252. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  9253. "name": "isvalid",
  9254. "in": "query"
  9255. },
  9256. {
  9257. "type": "string",
  9258. "description": "协议编号(模糊匹配)",
  9259. "name": "agreementno",
  9260. "in": "query"
  9261. },
  9262. {
  9263. "type": "string",
  9264. "description": "协议名称(模糊匹配)",
  9265. "name": "agreementname",
  9266. "in": "query"
  9267. }
  9268. ],
  9269. "responses": {
  9270. "200": {
  9271. "description": "OK",
  9272. "schema": {
  9273. "type": "array",
  9274. "items": {
  9275. "$ref": "#/definitions/models.QhjAgreementConfig"
  9276. }
  9277. }
  9278. },
  9279. "500": {
  9280. "description": "Internal Server Error",
  9281. "schema": {
  9282. "$ref": "#/definitions/app.Response"
  9283. }
  9284. }
  9285. }
  9286. }
  9287. },
  9288. "/QhjSys/QueryCustomerSignStatus": {
  9289. "get": {
  9290. "security": [
  9291. {
  9292. "ApiKeyAuth": []
  9293. }
  9294. ],
  9295. "produces": [
  9296. "application/json"
  9297. ],
  9298. "tags": [
  9299. "大连千海金(协议和签约信息)"
  9300. ],
  9301. "summary": "查询客户协议签约状态",
  9302. "parameters": [
  9303. {
  9304. "type": "integer",
  9305. "description": "客户ID",
  9306. "name": "userid",
  9307. "in": "query"
  9308. },
  9309. {
  9310. "type": "integer",
  9311. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  9312. "name": "nodetype",
  9313. "in": "query"
  9314. },
  9315. {
  9316. "type": "integer",
  9317. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9318. "name": "goodsid",
  9319. "in": "query"
  9320. },
  9321. {
  9322. "type": "string",
  9323. "description": "创建交易日(yyyyMMdd)",
  9324. "name": "tradedate",
  9325. "in": "query"
  9326. },
  9327. {
  9328. "type": "string",
  9329. "description": "用户名称(模糊匹配)",
  9330. "name": "username",
  9331. "in": "query"
  9332. }
  9333. ],
  9334. "responses": {
  9335. "200": {
  9336. "description": "OK",
  9337. "schema": {
  9338. "type": "array",
  9339. "items": {
  9340. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  9341. }
  9342. }
  9343. },
  9344. "500": {
  9345. "description": "Internal Server Error",
  9346. "schema": {
  9347. "$ref": "#/definitions/app.Response"
  9348. }
  9349. }
  9350. }
  9351. }
  9352. },
  9353. "/QhjSys/QueryNodeAgreementConfig": {
  9354. "get": {
  9355. "security": [
  9356. {
  9357. "ApiKeyAuth": []
  9358. }
  9359. ],
  9360. "produces": [
  9361. "application/json"
  9362. ],
  9363. "tags": [
  9364. "大连千海金(协议和签约信息)"
  9365. ],
  9366. "summary": "查询协议节点配置",
  9367. "parameters": [
  9368. {
  9369. "type": "integer",
  9370. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9371. "name": "configid",
  9372. "in": "query"
  9373. },
  9374. {
  9375. "type": "integer",
  9376. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9377. "name": "nodetype",
  9378. "in": "query"
  9379. },
  9380. {
  9381. "type": "integer",
  9382. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9383. "name": "goodsid",
  9384. "in": "query"
  9385. },
  9386. {
  9387. "type": "integer",
  9388. "description": "协议ID",
  9389. "name": "agreementid",
  9390. "in": "query"
  9391. },
  9392. {
  9393. "type": "integer",
  9394. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9395. "name": "agreementtype",
  9396. "in": "query"
  9397. },
  9398. {
  9399. "type": "integer",
  9400. "description": "协议版本号",
  9401. "name": "agreementversion",
  9402. "in": "query"
  9403. },
  9404. {
  9405. "type": "string",
  9406. "description": "协议编号(模糊匹配)",
  9407. "name": "agreementno",
  9408. "in": "query"
  9409. },
  9410. {
  9411. "type": "string",
  9412. "description": "协议名称(模糊匹配)",
  9413. "name": "agreementname",
  9414. "in": "query"
  9415. }
  9416. ],
  9417. "responses": {
  9418. "200": {
  9419. "description": "OK",
  9420. "schema": {
  9421. "type": "array",
  9422. "items": {
  9423. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  9424. }
  9425. }
  9426. },
  9427. "500": {
  9428. "description": "Internal Server Error",
  9429. "schema": {
  9430. "$ref": "#/definitions/app.Response"
  9431. }
  9432. }
  9433. }
  9434. }
  9435. },
  9436. "/QhjSys/QueryQhjCustomerSignLog": {
  9437. "get": {
  9438. "security": [
  9439. {
  9440. "ApiKeyAuth": []
  9441. }
  9442. ],
  9443. "produces": [
  9444. "application/json"
  9445. ],
  9446. "tags": [
  9447. "大连千海金(协议和签约信息)"
  9448. ],
  9449. "summary": "查询客户协议签约流水",
  9450. "parameters": [
  9451. {
  9452. "type": "integer",
  9453. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  9454. "name": "logid",
  9455. "in": "query"
  9456. },
  9457. {
  9458. "type": "integer",
  9459. "description": "客户ID",
  9460. "name": "userid",
  9461. "in": "query"
  9462. },
  9463. {
  9464. "type": "integer",
  9465. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9466. "name": "nodetype",
  9467. "in": "query"
  9468. },
  9469. {
  9470. "type": "integer",
  9471. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9472. "name": "goodsid",
  9473. "in": "query"
  9474. },
  9475. {
  9476. "type": "integer",
  9477. "description": "协议ID",
  9478. "name": "agreementid",
  9479. "in": "query"
  9480. },
  9481. {
  9482. "type": "string",
  9483. "description": "用户名称(模糊匹配)",
  9484. "name": "username",
  9485. "in": "query"
  9486. },
  9487. {
  9488. "type": "string",
  9489. "description": "协议编号(模糊匹配)",
  9490. "name": "agreementno",
  9491. "in": "query"
  9492. },
  9493. {
  9494. "type": "string",
  9495. "description": "协议名称(模糊匹配)",
  9496. "name": "agreementname",
  9497. "in": "query"
  9498. }
  9499. ],
  9500. "responses": {
  9501. "200": {
  9502. "description": "OK",
  9503. "schema": {
  9504. "type": "array",
  9505. "items": {
  9506. "$ref": "#/definitions/models.QhjCustomerSignLog"
  9507. }
  9508. }
  9509. },
  9510. "500": {
  9511. "description": "Internal Server Error",
  9512. "schema": {
  9513. "$ref": "#/definitions/app.Response"
  9514. }
  9515. }
  9516. }
  9517. }
  9518. },
  9519. "/QhjSys/QueryUserNodeCfgAndStatus": {
  9520. "get": {
  9521. "security": [
  9522. {
  9523. "ApiKeyAuth": []
  9524. }
  9525. ],
  9526. "produces": [
  9527. "application/json"
  9528. ],
  9529. "tags": [
  9530. "大连千海金(协议和签约信息)"
  9531. ],
  9532. "summary": "查询用户协议节点配置和状态",
  9533. "parameters": [
  9534. {
  9535. "type": "integer",
  9536. "description": "客户ID",
  9537. "name": "userid",
  9538. "in": "query"
  9539. },
  9540. {
  9541. "type": "integer",
  9542. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9543. "name": "configid",
  9544. "in": "query"
  9545. },
  9546. {
  9547. "type": "string",
  9548. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9549. "name": "nodetype",
  9550. "in": "query"
  9551. },
  9552. {
  9553. "type": "integer",
  9554. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9555. "name": "goodsid",
  9556. "in": "query"
  9557. },
  9558. {
  9559. "type": "integer",
  9560. "description": "协议ID",
  9561. "name": "agreementid",
  9562. "in": "query"
  9563. },
  9564. {
  9565. "type": "integer",
  9566. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9567. "name": "agreementtype",
  9568. "in": "query"
  9569. },
  9570. {
  9571. "type": "integer",
  9572. "description": "协议版本号",
  9573. "name": "agreementversion",
  9574. "in": "query"
  9575. },
  9576. {
  9577. "type": "string",
  9578. "description": "协议编号(模糊匹配)",
  9579. "name": "agreementno",
  9580. "in": "query"
  9581. },
  9582. {
  9583. "type": "string",
  9584. "description": "协议名称(模糊匹配)",
  9585. "name": "agreementname",
  9586. "in": "query"
  9587. }
  9588. ],
  9589. "responses": {
  9590. "200": {
  9591. "description": "OK",
  9592. "schema": {
  9593. "type": "array",
  9594. "items": {
  9595. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  9596. }
  9597. }
  9598. },
  9599. "500": {
  9600. "description": "Internal Server Error",
  9601. "schema": {
  9602. "$ref": "#/definitions/app.Response"
  9603. }
  9604. }
  9605. }
  9606. }
  9607. },
  9608. "/Quote/QueryHistoryDatas": {
  9609. "get": {
  9610. "security": [
  9611. {
  9612. "ApiKeyAuth": []
  9613. }
  9614. ],
  9615. "produces": [
  9616. "application/json"
  9617. ],
  9618. "tags": [
  9619. "行情服务"
  9620. ],
  9621. "summary": "查询行情历史数据",
  9622. "parameters": [
  9623. {
  9624. "type": "integer",
  9625. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  9626. "name": "cycleType",
  9627. "in": "query",
  9628. "required": true
  9629. },
  9630. {
  9631. "type": "string",
  9632. "description": "商品代码",
  9633. "name": "goodsCode",
  9634. "in": "query",
  9635. "required": true
  9636. },
  9637. {
  9638. "type": "string",
  9639. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9640. "name": "startTime",
  9641. "in": "query"
  9642. },
  9643. {
  9644. "type": "string",
  9645. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9646. "name": "endTime",
  9647. "in": "query"
  9648. },
  9649. {
  9650. "type": "integer",
  9651. "description": "条数",
  9652. "name": "count",
  9653. "in": "query"
  9654. },
  9655. {
  9656. "type": "boolean",
  9657. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9658. "name": "isAsc",
  9659. "in": "query"
  9660. }
  9661. ],
  9662. "responses": {
  9663. "200": {
  9664. "description": "OK",
  9665. "schema": {
  9666. "$ref": "#/definitions/quote.HistoryData"
  9667. }
  9668. },
  9669. "500": {
  9670. "description": "Internal Server Error",
  9671. "schema": {
  9672. "$ref": "#/definitions/app.Response"
  9673. }
  9674. }
  9675. }
  9676. }
  9677. },
  9678. "/Quote/QueryHistoryTikDatas": {
  9679. "get": {
  9680. "security": [
  9681. {
  9682. "ApiKeyAuth": []
  9683. }
  9684. ],
  9685. "produces": [
  9686. "application/json"
  9687. ],
  9688. "tags": [
  9689. "行情服务"
  9690. ],
  9691. "summary": "查询行情Tik数据",
  9692. "parameters": [
  9693. {
  9694. "type": "string",
  9695. "description": "商品代码",
  9696. "name": "goodsCode",
  9697. "in": "query",
  9698. "required": true
  9699. },
  9700. {
  9701. "type": "string",
  9702. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9703. "name": "startTime",
  9704. "in": "query"
  9705. },
  9706. {
  9707. "type": "string",
  9708. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9709. "name": "endTime",
  9710. "in": "query"
  9711. },
  9712. {
  9713. "type": "integer",
  9714. "description": "条数",
  9715. "name": "count",
  9716. "in": "query"
  9717. },
  9718. {
  9719. "type": "boolean",
  9720. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9721. "name": "isAsc",
  9722. "in": "query"
  9723. }
  9724. ],
  9725. "responses": {
  9726. "200": {
  9727. "description": "OK",
  9728. "schema": {
  9729. "$ref": "#/definitions/quote.HistoryTikData"
  9730. }
  9731. },
  9732. "500": {
  9733. "description": "Internal Server Error",
  9734. "schema": {
  9735. "$ref": "#/definitions/app.Response"
  9736. }
  9737. }
  9738. }
  9739. }
  9740. },
  9741. "/Quote/QueryQuoteDay": {
  9742. "get": {
  9743. "security": [
  9744. {
  9745. "ApiKeyAuth": []
  9746. }
  9747. ],
  9748. "produces": [
  9749. "application/json"
  9750. ],
  9751. "tags": [
  9752. "行情服务"
  9753. ],
  9754. "summary": "获取商品盘面信息",
  9755. "parameters": [
  9756. {
  9757. "type": "string",
  9758. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  9759. "name": "goodsCodes",
  9760. "in": "query",
  9761. "required": true
  9762. }
  9763. ],
  9764. "responses": {
  9765. "200": {
  9766. "description": "OK",
  9767. "schema": {
  9768. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  9769. }
  9770. },
  9771. "500": {
  9772. "description": "Internal Server Error",
  9773. "schema": {
  9774. "$ref": "#/definitions/app.Response"
  9775. }
  9776. }
  9777. }
  9778. }
  9779. },
  9780. "/Quote/QueryTSData": {
  9781. "get": {
  9782. "security": [
  9783. {
  9784. "ApiKeyAuth": []
  9785. }
  9786. ],
  9787. "produces": [
  9788. "application/json"
  9789. ],
  9790. "tags": [
  9791. "行情服务"
  9792. ],
  9793. "summary": "分时图数据查询",
  9794. "parameters": [
  9795. {
  9796. "type": "string",
  9797. "description": "商品代码",
  9798. "name": "goodsCode",
  9799. "in": "query",
  9800. "required": true
  9801. }
  9802. ],
  9803. "responses": {
  9804. "200": {
  9805. "description": "OK",
  9806. "schema": {
  9807. "$ref": "#/definitions/quote.QueryTSDataRsp"
  9808. }
  9809. },
  9810. "500": {
  9811. "description": "Internal Server Error",
  9812. "schema": {
  9813. "$ref": "#/definitions/app.Response"
  9814. }
  9815. }
  9816. }
  9817. }
  9818. },
  9819. "/SZDZ/QueryConvertConfig": {
  9820. "get": {
  9821. "security": [
  9822. {
  9823. "ApiKeyAuth": []
  9824. }
  9825. ],
  9826. "produces": [
  9827. "application/json"
  9828. ],
  9829. "tags": [
  9830. "定制【尚志大宗】"
  9831. ],
  9832. "summary": "查询交易系统转换设置",
  9833. "parameters": [
  9834. {
  9835. "type": "integer",
  9836. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  9837. "name": "convertType",
  9838. "in": "query"
  9839. },
  9840. {
  9841. "type": "string",
  9842. "description": "外部商品代码[JD\\PD]",
  9843. "name": "outerGoodsCode",
  9844. "in": "query"
  9845. },
  9846. {
  9847. "type": "string",
  9848. "description": "内部商品ID列表[交易],格式:1,2,3",
  9849. "name": "innerGoodsIDs",
  9850. "in": "query"
  9851. }
  9852. ],
  9853. "responses": {
  9854. "200": {
  9855. "description": "OK",
  9856. "schema": {
  9857. "$ref": "#/definitions/models.Szdz3convertconfig"
  9858. }
  9859. },
  9860. "500": {
  9861. "description": "Internal Server Error",
  9862. "schema": {
  9863. "$ref": "#/definitions/app.Response"
  9864. }
  9865. }
  9866. }
  9867. }
  9868. },
  9869. "/SZDZ/QueryConvertLog": {
  9870. "get": {
  9871. "security": [
  9872. {
  9873. "ApiKeyAuth": []
  9874. }
  9875. ],
  9876. "produces": [
  9877. "application/json"
  9878. ],
  9879. "tags": [
  9880. "定制【尚志大宗】"
  9881. ],
  9882. "summary": "交易系统转换流水查询",
  9883. "parameters": [
  9884. {
  9885. "type": "string",
  9886. "description": "资金账户 - 格式:1,2,3",
  9887. "name": "accountID",
  9888. "in": "query",
  9889. "required": true
  9890. },
  9891. {
  9892. "type": "string",
  9893. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9894. "name": "startDate",
  9895. "in": "query"
  9896. },
  9897. {
  9898. "type": "string",
  9899. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9900. "name": "endDate",
  9901. "in": "query"
  9902. }
  9903. ],
  9904. "responses": {
  9905. "200": {
  9906. "description": "OK",
  9907. "schema": {
  9908. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  9909. }
  9910. },
  9911. "500": {
  9912. "description": "Internal Server Error",
  9913. "schema": {
  9914. "$ref": "#/definitions/app.Response"
  9915. }
  9916. }
  9917. }
  9918. }
  9919. },
  9920. "/SZDZ/QueryGoodsPickup": {
  9921. "get": {
  9922. "security": [
  9923. {
  9924. "ApiKeyAuth": []
  9925. }
  9926. ],
  9927. "produces": [
  9928. "application/json"
  9929. ],
  9930. "tags": [
  9931. "定制【尚志大宗】"
  9932. ],
  9933. "summary": "商品提货单查询",
  9934. "parameters": [
  9935. {
  9936. "type": "string",
  9937. "description": "资金账户 - 格式:1,2,3",
  9938. "name": "accountID",
  9939. "in": "query",
  9940. "required": true
  9941. },
  9942. {
  9943. "type": "integer",
  9944. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  9945. "name": "takeOrderStatus",
  9946. "in": "query"
  9947. }
  9948. ],
  9949. "responses": {
  9950. "200": {
  9951. "description": "OK",
  9952. "schema": {
  9953. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  9954. }
  9955. },
  9956. "500": {
  9957. "description": "Internal Server Error",
  9958. "schema": {
  9959. "$ref": "#/definitions/app.Response"
  9960. }
  9961. }
  9962. }
  9963. }
  9964. },
  9965. "/SZDZ/QueryRecieptOrder": {
  9966. "get": {
  9967. "security": [
  9968. {
  9969. "ApiKeyAuth": []
  9970. }
  9971. ],
  9972. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  9973. "produces": [
  9974. "application/json"
  9975. ],
  9976. "tags": [
  9977. "定制【尚志大宗】"
  9978. ],
  9979. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  9980. "parameters": [
  9981. {
  9982. "type": "integer",
  9983. "description": "页码",
  9984. "name": "page",
  9985. "in": "query"
  9986. },
  9987. {
  9988. "type": "integer",
  9989. "description": "每页条数",
  9990. "name": "pagesize",
  9991. "in": "query"
  9992. },
  9993. {
  9994. "type": "integer",
  9995. "description": "商品ID",
  9996. "name": "goodsID",
  9997. "in": "query",
  9998. "required": true
  9999. },
  10000. {
  10001. "type": "string",
  10002. "description": "所属账户名称",
  10003. "name": "accountName",
  10004. "in": "query"
  10005. },
  10006. {
  10007. "type": "integer",
  10008. "description": "市场ID",
  10009. "name": "marketID",
  10010. "in": "query"
  10011. },
  10012. {
  10013. "type": "integer",
  10014. "description": "方向 - 0:买 1:卖",
  10015. "name": "buyorsell",
  10016. "in": "query",
  10017. "required": true
  10018. }
  10019. ],
  10020. "responses": {
  10021. "200": {
  10022. "description": "OK",
  10023. "schema": {
  10024. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10025. }
  10026. },
  10027. "500": {
  10028. "description": "Internal Server Error",
  10029. "schema": {
  10030. "$ref": "#/definitions/app.Response"
  10031. }
  10032. }
  10033. }
  10034. }
  10035. },
  10036. "/SZDZ/QuerySZDZTradePosition": {
  10037. "get": {
  10038. "security": [
  10039. {
  10040. "ApiKeyAuth": []
  10041. }
  10042. ],
  10043. "produces": [
  10044. "application/json"
  10045. ],
  10046. "tags": [
  10047. "定制【尚志大宗】"
  10048. ],
  10049. "summary": "持仓汇总查询(尚志大宗)",
  10050. "parameters": [
  10051. {
  10052. "type": "integer",
  10053. "description": "资金账户",
  10054. "name": "accountID",
  10055. "in": "query",
  10056. "required": true
  10057. }
  10058. ],
  10059. "responses": {
  10060. "200": {
  10061. "description": "OK",
  10062. "schema": {
  10063. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10064. }
  10065. },
  10066. "500": {
  10067. "description": "Internal Server Error",
  10068. "schema": {
  10069. "$ref": "#/definitions/app.Response"
  10070. }
  10071. }
  10072. }
  10073. }
  10074. },
  10075. "/SZDZ/SearchWhite": {
  10076. "get": {
  10077. "security": [
  10078. {
  10079. "ApiKeyAuth": []
  10080. }
  10081. ],
  10082. "produces": [
  10083. "application/json"
  10084. ],
  10085. "tags": [
  10086. "定制【尚志大宗】"
  10087. ],
  10088. "summary": "搜索白名单",
  10089. "parameters": [
  10090. {
  10091. "type": "integer",
  10092. "description": "用户ID",
  10093. "name": "userID",
  10094. "in": "query",
  10095. "required": true
  10096. }
  10097. ],
  10098. "responses": {
  10099. "200": {
  10100. "description": "OK",
  10101. "schema": {
  10102. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10103. }
  10104. },
  10105. "500": {
  10106. "description": "Internal Server Error",
  10107. "schema": {
  10108. "$ref": "#/definitions/app.Response"
  10109. }
  10110. }
  10111. }
  10112. }
  10113. },
  10114. "/Search/SearchGoodses": {
  10115. "get": {
  10116. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10117. "produces": [
  10118. "application/json"
  10119. ],
  10120. "tags": [
  10121. "检索服务"
  10122. ],
  10123. "summary": "检索商品信息",
  10124. "parameters": [
  10125. {
  10126. "type": "string",
  10127. "description": "检索内容",
  10128. "name": "content",
  10129. "in": "query",
  10130. "required": true
  10131. },
  10132. {
  10133. "type": "string",
  10134. "description": "交易模式,格式:1,2,3",
  10135. "name": "tradeModes",
  10136. "in": "query"
  10137. }
  10138. ],
  10139. "responses": {
  10140. "200": {
  10141. "description": "OK",
  10142. "schema": {
  10143. "$ref": "#/definitions/models.SearchGoods"
  10144. }
  10145. },
  10146. "500": {
  10147. "description": "Internal Server Error",
  10148. "schema": {
  10149. "$ref": "#/definitions/app.Response"
  10150. }
  10151. }
  10152. }
  10153. }
  10154. },
  10155. "/TaAccount/GetTaAccounts": {
  10156. "get": {
  10157. "security": [
  10158. {
  10159. "ApiKeyAuth": []
  10160. }
  10161. ],
  10162. "produces": [
  10163. "application/json"
  10164. ],
  10165. "tags": [
  10166. "资金账户"
  10167. ],
  10168. "summary": "获取资金账户信息",
  10169. "parameters": [
  10170. {
  10171. "type": "integer",
  10172. "description": "登录账户",
  10173. "name": "loginID",
  10174. "in": "query",
  10175. "required": true
  10176. },
  10177. {
  10178. "type": "integer",
  10179. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10180. "name": "taAccountType",
  10181. "in": "query"
  10182. }
  10183. ],
  10184. "responses": {
  10185. "200": {
  10186. "description": "OK",
  10187. "schema": {
  10188. "$ref": "#/definitions/models.Taaccount"
  10189. }
  10190. },
  10191. "500": {
  10192. "description": "Internal Server Error",
  10193. "schema": {
  10194. "$ref": "#/definitions/app.Response"
  10195. }
  10196. }
  10197. }
  10198. }
  10199. },
  10200. "/TaAccount/QueryAmountLog": {
  10201. "get": {
  10202. "security": [
  10203. {
  10204. "ApiKeyAuth": []
  10205. }
  10206. ],
  10207. "produces": [
  10208. "application/json"
  10209. ],
  10210. "tags": [
  10211. "资金账户"
  10212. ],
  10213. "summary": "资金流水查询(当前)",
  10214. "parameters": [
  10215. {
  10216. "type": "integer",
  10217. "description": "页码",
  10218. "name": "page",
  10219. "in": "query"
  10220. },
  10221. {
  10222. "type": "integer",
  10223. "description": "每页条数",
  10224. "name": "pagesize",
  10225. "in": "query"
  10226. },
  10227. {
  10228. "type": "string",
  10229. "description": "资金账户 - 格式:1,2,3",
  10230. "name": "accountID",
  10231. "in": "query",
  10232. "required": true
  10233. },
  10234. {
  10235. "type": "string",
  10236. "description": "资金操作类型 - 格式:1,2,3",
  10237. "name": "OperateType",
  10238. "in": "query"
  10239. }
  10240. ],
  10241. "responses": {
  10242. "200": {
  10243. "description": "OK",
  10244. "schema": {
  10245. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  10246. }
  10247. },
  10248. "500": {
  10249. "description": "Internal Server Error",
  10250. "schema": {
  10251. "$ref": "#/definitions/app.Response"
  10252. }
  10253. }
  10254. }
  10255. }
  10256. },
  10257. "/TaAccount/QueryHisAmountLog": {
  10258. "get": {
  10259. "security": [
  10260. {
  10261. "ApiKeyAuth": []
  10262. }
  10263. ],
  10264. "produces": [
  10265. "application/json"
  10266. ],
  10267. "tags": [
  10268. "资金账户"
  10269. ],
  10270. "summary": "资金流水查询(历史)",
  10271. "parameters": [
  10272. {
  10273. "type": "integer",
  10274. "description": "页码",
  10275. "name": "page",
  10276. "in": "query"
  10277. },
  10278. {
  10279. "type": "integer",
  10280. "description": "每页条数",
  10281. "name": "pagesize",
  10282. "in": "query"
  10283. },
  10284. {
  10285. "type": "string",
  10286. "description": "资金账户 - 格式:1,2,3",
  10287. "name": "accountID",
  10288. "in": "query",
  10289. "required": true
  10290. },
  10291. {
  10292. "type": "string",
  10293. "description": "资金操作类型 - 格式:1,2,3",
  10294. "name": "OperateType",
  10295. "in": "query"
  10296. },
  10297. {
  10298. "type": "string",
  10299. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  10300. "name": "startDate",
  10301. "in": "query"
  10302. },
  10303. {
  10304. "type": "string",
  10305. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  10306. "name": "endDate",
  10307. "in": "query"
  10308. }
  10309. ],
  10310. "responses": {
  10311. "200": {
  10312. "description": "OK",
  10313. "schema": {
  10314. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  10315. }
  10316. },
  10317. "500": {
  10318. "description": "Internal Server Error",
  10319. "schema": {
  10320. "$ref": "#/definitions/app.Response"
  10321. }
  10322. }
  10323. }
  10324. }
  10325. },
  10326. "/Trade/QueryRecieptOrder": {
  10327. "get": {
  10328. "security": [
  10329. {
  10330. "ApiKeyAuth": []
  10331. }
  10332. ],
  10333. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10334. "produces": [
  10335. "application/json"
  10336. ],
  10337. "tags": [
  10338. "通用交易"
  10339. ],
  10340. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  10341. "parameters": [
  10342. {
  10343. "type": "integer",
  10344. "description": "页码",
  10345. "name": "page",
  10346. "in": "query"
  10347. },
  10348. {
  10349. "type": "integer",
  10350. "description": "每页条数",
  10351. "name": "pagesize",
  10352. "in": "query"
  10353. },
  10354. {
  10355. "type": "integer",
  10356. "description": "商品ID",
  10357. "name": "goodsID",
  10358. "in": "query",
  10359. "required": true
  10360. },
  10361. {
  10362. "type": "string",
  10363. "description": "所属账户名称",
  10364. "name": "accountName",
  10365. "in": "query"
  10366. },
  10367. {
  10368. "type": "integer",
  10369. "description": "市场ID",
  10370. "name": "marketID",
  10371. "in": "query"
  10372. },
  10373. {
  10374. "type": "integer",
  10375. "description": "方向 - 0:买 1:卖",
  10376. "name": "buyorsell",
  10377. "in": "query",
  10378. "required": true
  10379. }
  10380. ],
  10381. "responses": {
  10382. "200": {
  10383. "description": "OK",
  10384. "schema": {
  10385. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  10386. }
  10387. },
  10388. "500": {
  10389. "description": "Internal Server Error",
  10390. "schema": {
  10391. "$ref": "#/definitions/app.Response"
  10392. }
  10393. }
  10394. }
  10395. }
  10396. },
  10397. "/User/AddMessageBoard": {
  10398. "post": {
  10399. "security": [
  10400. {
  10401. "ApiKeyAuth": []
  10402. }
  10403. ],
  10404. "produces": [
  10405. "application/json"
  10406. ],
  10407. "tags": [
  10408. "用户信息"
  10409. ],
  10410. "summary": "添加用户留言板信息",
  10411. "parameters": [
  10412. {
  10413. "type": "integer",
  10414. "description": "用户ID",
  10415. "name": "userID",
  10416. "in": "query",
  10417. "required": true
  10418. },
  10419. {
  10420. "type": "string",
  10421. "description": "留言信息",
  10422. "name": "message",
  10423. "in": "query",
  10424. "required": true
  10425. },
  10426. {
  10427. "type": "string",
  10428. "description": "联系电话",
  10429. "name": "contactNum",
  10430. "in": "query",
  10431. "required": true
  10432. }
  10433. ],
  10434. "responses": {
  10435. "200": {
  10436. "description": "OK",
  10437. "schema": {
  10438. "$ref": "#/definitions/app.Response"
  10439. }
  10440. },
  10441. "500": {
  10442. "description": "Internal Server Error",
  10443. "schema": {
  10444. "$ref": "#/definitions/app.Response"
  10445. }
  10446. }
  10447. }
  10448. }
  10449. },
  10450. "/User/AddUserFavoriteGoods": {
  10451. "post": {
  10452. "security": [
  10453. {
  10454. "ApiKeyAuth": []
  10455. }
  10456. ],
  10457. "produces": [
  10458. "application/json"
  10459. ],
  10460. "tags": [
  10461. "用户信息"
  10462. ],
  10463. "summary": "添加用户商品收藏信息",
  10464. "parameters": [
  10465. {
  10466. "type": "integer",
  10467. "description": "用户ID",
  10468. "name": "userID",
  10469. "in": "query",
  10470. "required": true
  10471. },
  10472. {
  10473. "type": "integer",
  10474. "description": "商品ID",
  10475. "name": "goodsID",
  10476. "in": "query",
  10477. "required": true
  10478. }
  10479. ],
  10480. "responses": {
  10481. "200": {
  10482. "description": "OK",
  10483. "schema": {
  10484. "$ref": "#/definitions/app.Response"
  10485. }
  10486. },
  10487. "500": {
  10488. "description": "Internal Server Error",
  10489. "schema": {
  10490. "$ref": "#/definitions/app.Response"
  10491. }
  10492. }
  10493. }
  10494. }
  10495. },
  10496. "/User/GetLoginID": {
  10497. "get": {
  10498. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  10499. "produces": [
  10500. "application/json"
  10501. ],
  10502. "tags": [
  10503. "用户信息"
  10504. ],
  10505. "summary": "获取登录ID",
  10506. "parameters": [
  10507. {
  10508. "type": "string",
  10509. "description": "登录代码",
  10510. "name": "username",
  10511. "in": "query",
  10512. "required": true
  10513. }
  10514. ],
  10515. "responses": {
  10516. "200": {
  10517. "description": "OK",
  10518. "schema": {
  10519. "$ref": "#/definitions/app.Response"
  10520. }
  10521. },
  10522. "500": {
  10523. "description": "Internal Server Error",
  10524. "schema": {
  10525. "$ref": "#/definitions/app.Response"
  10526. }
  10527. }
  10528. }
  10529. }
  10530. },
  10531. "/User/GetUserAccount": {
  10532. "get": {
  10533. "security": [
  10534. {
  10535. "ApiKeyAuth": []
  10536. }
  10537. ],
  10538. "produces": [
  10539. "application/json"
  10540. ],
  10541. "tags": [
  10542. "用户信息"
  10543. ],
  10544. "summary": "获取用户账号信息",
  10545. "parameters": [
  10546. {
  10547. "type": "integer",
  10548. "description": "用户ID",
  10549. "name": "userID",
  10550. "in": "query",
  10551. "required": true
  10552. }
  10553. ],
  10554. "responses": {
  10555. "200": {
  10556. "description": "OK",
  10557. "schema": {
  10558. "$ref": "#/definitions/models.Useraccount"
  10559. }
  10560. },
  10561. "500": {
  10562. "description": "Internal Server Error",
  10563. "schema": {
  10564. "$ref": "#/definitions/app.Response"
  10565. }
  10566. }
  10567. }
  10568. }
  10569. },
  10570. "/User/GetUserAuthStatus": {
  10571. "get": {
  10572. "security": [
  10573. {
  10574. "ApiKeyAuth": []
  10575. }
  10576. ],
  10577. "produces": [
  10578. "application/json"
  10579. ],
  10580. "tags": [
  10581. "用户信息"
  10582. ],
  10583. "summary": "获取用户实名认证状态",
  10584. "parameters": [
  10585. {
  10586. "type": "integer",
  10587. "description": "用户ID",
  10588. "name": "userID",
  10589. "in": "query",
  10590. "required": true
  10591. }
  10592. ],
  10593. "responses": {
  10594. "200": {
  10595. "description": "OK",
  10596. "schema": {
  10597. "$ref": "#/definitions/app.Response"
  10598. }
  10599. },
  10600. "500": {
  10601. "description": "Internal Server Error",
  10602. "schema": {
  10603. "$ref": "#/definitions/app.Response"
  10604. }
  10605. }
  10606. }
  10607. }
  10608. },
  10609. "/User/LoginQuery": {
  10610. "get": {
  10611. "security": [
  10612. {
  10613. "ApiKeyAuth": []
  10614. }
  10615. ],
  10616. "produces": [
  10617. "application/json"
  10618. ],
  10619. "tags": [
  10620. "用户信息"
  10621. ],
  10622. "summary": "账户登录后信息查询",
  10623. "parameters": [
  10624. {
  10625. "type": "integer",
  10626. "description": "登录账号",
  10627. "name": "loginID",
  10628. "in": "query",
  10629. "required": true
  10630. }
  10631. ],
  10632. "responses": {
  10633. "200": {
  10634. "description": "OK",
  10635. "schema": {
  10636. "$ref": "#/definitions/user.LoginQueryRsp"
  10637. }
  10638. },
  10639. "500": {
  10640. "description": "Internal Server Error",
  10641. "schema": {
  10642. "$ref": "#/definitions/app.Response"
  10643. }
  10644. }
  10645. }
  10646. }
  10647. },
  10648. "/User/QueryMessageBoard": {
  10649. "get": {
  10650. "security": [
  10651. {
  10652. "ApiKeyAuth": []
  10653. }
  10654. ],
  10655. "produces": [
  10656. "application/json"
  10657. ],
  10658. "tags": [
  10659. "用户信息"
  10660. ],
  10661. "summary": "获取用户留言板信息",
  10662. "parameters": [
  10663. {
  10664. "type": "integer",
  10665. "description": "用户ID",
  10666. "name": "userID",
  10667. "in": "query",
  10668. "required": true
  10669. }
  10670. ],
  10671. "responses": {
  10672. "200": {
  10673. "description": "OK",
  10674. "schema": {
  10675. "$ref": "#/definitions/models.Messageboard"
  10676. }
  10677. },
  10678. "500": {
  10679. "description": "Internal Server Error",
  10680. "schema": {
  10681. "$ref": "#/definitions/app.Response"
  10682. }
  10683. }
  10684. }
  10685. }
  10686. },
  10687. "/User/QueryUserFavoriteGoodses": {
  10688. "get": {
  10689. "security": [
  10690. {
  10691. "ApiKeyAuth": []
  10692. }
  10693. ],
  10694. "produces": [
  10695. "application/json"
  10696. ],
  10697. "tags": [
  10698. "用户信息"
  10699. ],
  10700. "summary": "获取用户商品收藏信息",
  10701. "parameters": [
  10702. {
  10703. "type": "integer",
  10704. "description": "用户ID",
  10705. "name": "userID",
  10706. "in": "query",
  10707. "required": true
  10708. }
  10709. ],
  10710. "responses": {
  10711. "200": {
  10712. "description": "OK",
  10713. "schema": {
  10714. "$ref": "#/definitions/models.Userfavoritegoods"
  10715. }
  10716. },
  10717. "500": {
  10718. "description": "Internal Server Error",
  10719. "schema": {
  10720. "$ref": "#/definitions/app.Response"
  10721. }
  10722. }
  10723. }
  10724. }
  10725. },
  10726. "/User/QueryUserInfo": {
  10727. "get": {
  10728. "security": [
  10729. {
  10730. "ApiKeyAuth": []
  10731. }
  10732. ],
  10733. "produces": [
  10734. "application/json"
  10735. ],
  10736. "tags": [
  10737. "用户信息"
  10738. ],
  10739. "summary": "获取用户信息",
  10740. "parameters": [
  10741. {
  10742. "type": "integer",
  10743. "description": "用户ID",
  10744. "name": "userID",
  10745. "in": "query",
  10746. "required": true
  10747. },
  10748. {
  10749. "type": "boolean",
  10750. "description": "是否解密",
  10751. "name": "isDecrypt",
  10752. "in": "query"
  10753. }
  10754. ],
  10755. "responses": {
  10756. "200": {
  10757. "description": "OK",
  10758. "schema": {
  10759. "$ref": "#/definitions/models.Userinfo"
  10760. }
  10761. },
  10762. "500": {
  10763. "description": "Internal Server Error",
  10764. "schema": {
  10765. "$ref": "#/definitions/app.Response"
  10766. }
  10767. }
  10768. }
  10769. }
  10770. },
  10771. "/User/QueryUserReferNum": {
  10772. "get": {
  10773. "produces": [
  10774. "application/json"
  10775. ],
  10776. "tags": [
  10777. "用户信息"
  10778. ],
  10779. "summary": "获取用户邀请码",
  10780. "parameters": [
  10781. {
  10782. "type": "integer",
  10783. "description": "用户ID",
  10784. "name": "userID",
  10785. "in": "query",
  10786. "required": true
  10787. }
  10788. ],
  10789. "responses": {
  10790. "200": {
  10791. "description": "OK",
  10792. "schema": {
  10793. "$ref": "#/definitions/app.Response"
  10794. }
  10795. },
  10796. "500": {
  10797. "description": "Internal Server Error",
  10798. "schema": {
  10799. "$ref": "#/definitions/app.Response"
  10800. }
  10801. }
  10802. }
  10803. }
  10804. },
  10805. "/User/RemoveUserFavoriteGoods": {
  10806. "post": {
  10807. "security": [
  10808. {
  10809. "ApiKeyAuth": []
  10810. }
  10811. ],
  10812. "produces": [
  10813. "application/json"
  10814. ],
  10815. "tags": [
  10816. "用户信息"
  10817. ],
  10818. "summary": "移除用户商品收藏信息",
  10819. "parameters": [
  10820. {
  10821. "type": "integer",
  10822. "description": "用户ID",
  10823. "name": "userID",
  10824. "in": "query",
  10825. "required": true
  10826. },
  10827. {
  10828. "type": "integer",
  10829. "description": "商品ID",
  10830. "name": "goodsID",
  10831. "in": "query",
  10832. "required": true
  10833. }
  10834. ],
  10835. "responses": {
  10836. "200": {
  10837. "description": "OK",
  10838. "schema": {
  10839. "$ref": "#/definitions/app.Response"
  10840. }
  10841. },
  10842. "500": {
  10843. "description": "Internal Server Error",
  10844. "schema": {
  10845. "$ref": "#/definitions/app.Response"
  10846. }
  10847. }
  10848. }
  10849. }
  10850. },
  10851. "/User/UpdateUserAccountStatus": {
  10852. "post": {
  10853. "security": [
  10854. {
  10855. "ApiKeyAuth": []
  10856. }
  10857. ],
  10858. "produces": [
  10859. "application/json"
  10860. ],
  10861. "tags": [
  10862. "用户信息"
  10863. ],
  10864. "summary": "更新用户状态",
  10865. "parameters": [
  10866. {
  10867. "type": "integer",
  10868. "description": "用户ID",
  10869. "name": "userID",
  10870. "in": "query",
  10871. "required": true
  10872. },
  10873. {
  10874. "type": "integer",
  10875. "description": "账户状态 - 4:正常 6:注销(停用)",
  10876. "name": "accountStatus",
  10877. "in": "query",
  10878. "required": true
  10879. }
  10880. ],
  10881. "responses": {
  10882. "200": {
  10883. "description": "OK",
  10884. "schema": {
  10885. "$ref": "#/definitions/app.Response"
  10886. }
  10887. },
  10888. "500": {
  10889. "description": "Internal Server Error",
  10890. "schema": {
  10891. "$ref": "#/definitions/app.Response"
  10892. }
  10893. }
  10894. }
  10895. }
  10896. },
  10897. "/WRTrade/GetAllDeliveryGoods": {
  10898. "get": {
  10899. "security": [
  10900. {
  10901. "ApiKeyAuth": []
  10902. },
  10903. {
  10904. "ApiKeyAuth": []
  10905. }
  10906. ],
  10907. "produces": [
  10908. "application/json",
  10909. "application/json"
  10910. ],
  10911. "tags": [
  10912. "仓单贸易",
  10913. "仓单贸易"
  10914. ],
  10915. "summary": "获取带仓单分类的种类信息",
  10916. "responses": {
  10917. "200": {
  10918. "description": "OK",
  10919. "schema": {
  10920. "$ref": "#/definitions/app.Response"
  10921. }
  10922. },
  10923. "500": {
  10924. "description": "Internal Server Error",
  10925. "schema": {
  10926. "$ref": "#/definitions/app.Response"
  10927. }
  10928. }
  10929. }
  10930. }
  10931. },
  10932. "/WrTrade2/QueryFaProductDetail": {
  10933. "get": {
  10934. "security": [
  10935. {
  10936. "ApiKeyAuth": []
  10937. }
  10938. ],
  10939. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  10940. "produces": [
  10941. "application/json"
  10942. ],
  10943. "tags": [
  10944. "仓单贸易v2"
  10945. ],
  10946. "summary": "查询融资产品列表",
  10947. "parameters": [
  10948. {
  10949. "type": "integer",
  10950. "description": "仓单要素id",
  10951. "name": "wrfactortypeid",
  10952. "in": "query",
  10953. "required": true
  10954. }
  10955. ],
  10956. "responses": {
  10957. "200": {
  10958. "description": "OK",
  10959. "schema": {
  10960. "type": "array",
  10961. "items": {
  10962. "$ref": "#/definitions/models.WrFAProductDetail"
  10963. }
  10964. }
  10965. },
  10966. "500": {
  10967. "description": "Internal Server Error",
  10968. "schema": {
  10969. "$ref": "#/definitions/app.Response"
  10970. }
  10971. }
  10972. }
  10973. }
  10974. },
  10975. "/WrTrade2/QueryFilterItem": {
  10976. "get": {
  10977. "security": [
  10978. {
  10979. "ApiKeyAuth": []
  10980. }
  10981. ],
  10982. "produces": [
  10983. "application/json"
  10984. ],
  10985. "tags": [
  10986. "仓单贸易v2"
  10987. ],
  10988. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  10989. "parameters": [
  10990. {
  10991. "type": "string",
  10992. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  10993. "name": "itype",
  10994. "in": "query",
  10995. "required": true
  10996. }
  10997. ],
  10998. "responses": {
  10999. "200": {
  11000. "description": "OK",
  11001. "schema": {
  11002. "type": "array",
  11003. "items": {
  11004. "$ref": "#/definitions/models.WrFilterItem"
  11005. }
  11006. }
  11007. },
  11008. "500": {
  11009. "description": "Internal Server Error",
  11010. "schema": {
  11011. "$ref": "#/definitions/app.Response"
  11012. }
  11013. }
  11014. }
  11015. }
  11016. },
  11017. "/WrTrade2/QueryFtDeliveryGoods": {
  11018. "get": {
  11019. "security": [
  11020. {
  11021. "ApiKeyAuth": []
  11022. }
  11023. ],
  11024. "produces": [
  11025. "application/json"
  11026. ],
  11027. "tags": [
  11028. "仓单贸易v2"
  11029. ],
  11030. "summary": "查询品种品类筛选框列表",
  11031. "responses": {
  11032. "200": {
  11033. "description": "OK",
  11034. "schema": {
  11035. "type": "array",
  11036. "items": {
  11037. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  11038. }
  11039. }
  11040. },
  11041. "500": {
  11042. "description": "Internal Server Error",
  11043. "schema": {
  11044. "$ref": "#/definitions/app.Response"
  11045. }
  11046. }
  11047. }
  11048. }
  11049. },
  11050. "/WrTrade2/QueryHoldLB": {
  11051. "get": {
  11052. "security": [
  11053. {
  11054. "ApiKeyAuth": []
  11055. }
  11056. ],
  11057. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  11058. "produces": [
  11059. "application/json"
  11060. ],
  11061. "tags": [
  11062. "仓单贸易v2"
  11063. ],
  11064. "summary": "查询仓单持有记录",
  11065. "parameters": [
  11066. {
  11067. "type": "integer",
  11068. "description": "资金账号",
  11069. "name": "accountid",
  11070. "in": "query",
  11071. "required": true
  11072. },
  11073. {
  11074. "type": "integer",
  11075. "description": "仓库id",
  11076. "name": "warehouseid",
  11077. "in": "query"
  11078. },
  11079. {
  11080. "type": "integer",
  11081. "description": "品种id",
  11082. "name": "deliverygoodsid",
  11083. "in": "query"
  11084. },
  11085. {
  11086. "type": "integer",
  11087. "description": "品类id",
  11088. "name": "wrstandardid",
  11089. "in": "query"
  11090. },
  11091. {
  11092. "type": "integer",
  11093. "description": "仓单要素id",
  11094. "name": "wrfactortypeid",
  11095. "in": "query"
  11096. }
  11097. ],
  11098. "responses": {
  11099. "200": {
  11100. "description": "OK",
  11101. "schema": {
  11102. "type": "array",
  11103. "items": {
  11104. "$ref": "#/definitions/models.WrHoldLB"
  11105. }
  11106. }
  11107. },
  11108. "500": {
  11109. "description": "Internal Server Error",
  11110. "schema": {
  11111. "$ref": "#/definitions/app.Response"
  11112. }
  11113. }
  11114. }
  11115. }
  11116. },
  11117. "/WrTrade2/QueryOrderQuote": {
  11118. "get": {
  11119. "security": [
  11120. {
  11121. "ApiKeyAuth": []
  11122. }
  11123. ],
  11124. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  11125. "produces": [
  11126. "application/json"
  11127. ],
  11128. "tags": [
  11129. "仓单贸易v2"
  11130. ],
  11131. "summary": "查询大厅行情列表",
  11132. "parameters": [
  11133. {
  11134. "type": "integer",
  11135. "description": "页码",
  11136. "name": "page",
  11137. "in": "query"
  11138. },
  11139. {
  11140. "type": "integer",
  11141. "description": "每页条数",
  11142. "name": "pagesize",
  11143. "in": "query"
  11144. },
  11145. {
  11146. "type": "integer",
  11147. "description": "仓单贸易市场id",
  11148. "name": "marketid",
  11149. "in": "query"
  11150. },
  11151. {
  11152. "type": "integer",
  11153. "description": "价格方式 - 1:固定价 2-浮动价",
  11154. "name": "wrpricetype",
  11155. "in": "query",
  11156. "required": true
  11157. },
  11158. {
  11159. "type": "integer",
  11160. "description": "0:仓单预售 1:仓单贸易",
  11161. "name": "haswr",
  11162. "in": "query",
  11163. "required": true
  11164. },
  11165. {
  11166. "type": "string",
  11167. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11168. "name": "dgitemname",
  11169. "in": "query"
  11170. },
  11171. {
  11172. "type": "integer",
  11173. "description": "仓库id(筛选条件)",
  11174. "name": "warehouseid",
  11175. "in": "query"
  11176. },
  11177. {
  11178. "type": "integer",
  11179. "description": "品种id",
  11180. "name": "deliverygoodsid",
  11181. "in": "query"
  11182. },
  11183. {
  11184. "type": "integer",
  11185. "description": "品类id",
  11186. "name": "wrstandardid",
  11187. "in": "query"
  11188. },
  11189. {
  11190. "type": "integer",
  11191. "description": "仓单要素id",
  11192. "name": "wrfactortypeid",
  11193. "in": "query"
  11194. },
  11195. {
  11196. "type": "string",
  11197. "description": "交收月(yyyy-mm) 仓单预售填写",
  11198. "name": "deliverymonth",
  11199. "in": "query"
  11200. }
  11201. ],
  11202. "responses": {
  11203. "200": {
  11204. "description": "OK",
  11205. "schema": {
  11206. "type": "array",
  11207. "items": {
  11208. "$ref": "#/definitions/models.WrOrderQuote"
  11209. }
  11210. }
  11211. },
  11212. "500": {
  11213. "description": "Internal Server Error",
  11214. "schema": {
  11215. "$ref": "#/definitions/app.Response"
  11216. }
  11217. }
  11218. }
  11219. }
  11220. },
  11221. "/WrTrade2/QueryOrderQuoteDetail": {
  11222. "get": {
  11223. "security": [
  11224. {
  11225. "ApiKeyAuth": []
  11226. }
  11227. ],
  11228. "produces": [
  11229. "application/json"
  11230. ],
  11231. "tags": [
  11232. "仓单贸易v2"
  11233. ],
  11234. "summary": "查询买卖大厅",
  11235. "parameters": [
  11236. {
  11237. "type": "integer",
  11238. "description": "页码",
  11239. "name": "page",
  11240. "in": "query"
  11241. },
  11242. {
  11243. "type": "integer",
  11244. "description": "每页条数",
  11245. "name": "pagesize",
  11246. "in": "query"
  11247. },
  11248. {
  11249. "type": "integer",
  11250. "description": "仓单贸易市场id",
  11251. "name": "marketid",
  11252. "in": "query"
  11253. },
  11254. {
  11255. "type": "integer",
  11256. "description": "价格方式 - 1:固定价 2-浮动价",
  11257. "name": "wrpricetype",
  11258. "in": "query",
  11259. "required": true
  11260. },
  11261. {
  11262. "type": "integer",
  11263. "description": "0:仓单预售 1:仓单贸易",
  11264. "name": "haswr",
  11265. "in": "query",
  11266. "required": true
  11267. },
  11268. {
  11269. "type": "integer",
  11270. "description": "仓单要素id",
  11271. "name": "wrfactortypeid",
  11272. "in": "query",
  11273. "required": true
  11274. },
  11275. {
  11276. "type": "integer",
  11277. "description": "期货商品id(浮动价方式时填)",
  11278. "name": "goodsid",
  11279. "in": "query"
  11280. },
  11281. {
  11282. "type": "integer",
  11283. "description": "买卖方向 0-买 1-卖",
  11284. "name": "buyorsell",
  11285. "in": "query",
  11286. "required": true
  11287. },
  11288. {
  11289. "type": "string",
  11290. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  11291. "name": "deliverymonth",
  11292. "in": "query"
  11293. }
  11294. ],
  11295. "responses": {
  11296. "200": {
  11297. "description": "OK",
  11298. "schema": {
  11299. "type": "array",
  11300. "items": {
  11301. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  11302. }
  11303. }
  11304. },
  11305. "500": {
  11306. "description": "Internal Server Error",
  11307. "schema": {
  11308. "$ref": "#/definitions/app.Response"
  11309. }
  11310. }
  11311. }
  11312. }
  11313. },
  11314. "/WrTrade2/QueryOrderQuoteMyq": {
  11315. "get": {
  11316. "security": [
  11317. {
  11318. "ApiKeyAuth": []
  11319. }
  11320. ],
  11321. "produces": [
  11322. "application/json"
  11323. ],
  11324. "tags": [
  11325. "仓单贸易v2"
  11326. ],
  11327. "summary": "查询贸易圈挂牌大厅",
  11328. "parameters": [
  11329. {
  11330. "type": "integer",
  11331. "description": "页码",
  11332. "name": "page",
  11333. "in": "query"
  11334. },
  11335. {
  11336. "type": "integer",
  11337. "description": "每页条数",
  11338. "name": "pagesize",
  11339. "in": "query"
  11340. },
  11341. {
  11342. "type": "integer",
  11343. "description": "用户id",
  11344. "name": "userid",
  11345. "in": "query",
  11346. "required": true
  11347. },
  11348. {
  11349. "type": "integer",
  11350. "description": "仓单贸易市场id",
  11351. "name": "marketid",
  11352. "in": "query"
  11353. },
  11354. {
  11355. "type": "integer",
  11356. "description": "0:仓单预售 1:仓单贸易",
  11357. "name": "haswr",
  11358. "in": "query",
  11359. "required": true
  11360. },
  11361. {
  11362. "type": "integer",
  11363. "description": "买卖方向 0-买 1-卖",
  11364. "name": "buyorsell",
  11365. "in": "query",
  11366. "required": true
  11367. },
  11368. {
  11369. "type": "integer",
  11370. "description": "品种id",
  11371. "name": "deliverygoodsid",
  11372. "in": "query"
  11373. },
  11374. {
  11375. "type": "integer",
  11376. "description": "品类id",
  11377. "name": "wrstandardid",
  11378. "in": "query"
  11379. },
  11380. {
  11381. "type": "string",
  11382. "description": "交收月(yyyy-mm) 仓单预售填写",
  11383. "name": "deliverymonth",
  11384. "in": "query"
  11385. },
  11386. {
  11387. "type": "string",
  11388. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11389. "name": "dgitemname",
  11390. "in": "query"
  11391. }
  11392. ],
  11393. "responses": {
  11394. "200": {
  11395. "description": "OK",
  11396. "schema": {
  11397. "type": "array",
  11398. "items": {
  11399. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  11400. }
  11401. }
  11402. },
  11403. "500": {
  11404. "description": "Internal Server Error",
  11405. "schema": {
  11406. "$ref": "#/definitions/app.Response"
  11407. }
  11408. }
  11409. }
  11410. }
  11411. },
  11412. "/WrTrade2/QueryPerformancePlan": {
  11413. "get": {
  11414. "security": [
  11415. {
  11416. "ApiKeyAuth": []
  11417. }
  11418. ],
  11419. "produces": [
  11420. "application/json"
  11421. ],
  11422. "tags": [
  11423. "仓单贸易v2"
  11424. ],
  11425. "summary": "查询履约信息",
  11426. "parameters": [
  11427. {
  11428. "type": "integer",
  11429. "description": "用户id",
  11430. "name": "userid",
  11431. "in": "query",
  11432. "required": true
  11433. },
  11434. {
  11435. "type": "integer",
  11436. "description": "买卖方向 0-买 1-卖",
  11437. "name": "buyorsell",
  11438. "in": "query",
  11439. "required": true
  11440. }
  11441. ],
  11442. "responses": {
  11443. "200": {
  11444. "description": "OK",
  11445. "schema": {
  11446. "type": "array",
  11447. "items": {
  11448. "$ref": "#/definitions/models.WrPerformancePlan"
  11449. }
  11450. }
  11451. },
  11452. "500": {
  11453. "description": "Internal Server Error",
  11454. "schema": {
  11455. "$ref": "#/definitions/app.Response"
  11456. }
  11457. }
  11458. }
  11459. }
  11460. },
  11461. "/WrTrade2/QueryPermancePlanTmp": {
  11462. "get": {
  11463. "security": [
  11464. {
  11465. "ApiKeyAuth": []
  11466. }
  11467. ],
  11468. "description": "返回指定用户的模板和公共模板(用户id为空)",
  11469. "produces": [
  11470. "application/json"
  11471. ],
  11472. "tags": [
  11473. "仓单贸易v2"
  11474. ],
  11475. "summary": "查询履约模板",
  11476. "parameters": [
  11477. {
  11478. "type": "integer",
  11479. "description": "用户id",
  11480. "name": "userid",
  11481. "in": "query"
  11482. },
  11483. {
  11484. "type": "string",
  11485. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  11486. "name": "tmptype",
  11487. "in": "query"
  11488. },
  11489. {
  11490. "type": "integer",
  11491. "description": "是否包含公共模板(用户id为空的) 1-包含",
  11492. "name": "includepub",
  11493. "in": "query"
  11494. }
  11495. ],
  11496. "responses": {
  11497. "200": {
  11498. "description": "OK",
  11499. "schema": {
  11500. "type": "array",
  11501. "items": {
  11502. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  11503. }
  11504. }
  11505. },
  11506. "500": {
  11507. "description": "Internal Server Error",
  11508. "schema": {
  11509. "$ref": "#/definitions/app.Response"
  11510. }
  11511. }
  11512. }
  11513. }
  11514. },
  11515. "/WrTrade2/QueryWrAverageTradePrice": {
  11516. "get": {
  11517. "security": [
  11518. {
  11519. "ApiKeyAuth": []
  11520. }
  11521. ],
  11522. "produces": [
  11523. "application/json"
  11524. ],
  11525. "tags": [
  11526. "仓单贸易v2"
  11527. ],
  11528. "summary": "查询成交价(历史走势)",
  11529. "parameters": [
  11530. {
  11531. "type": "integer",
  11532. "description": "页码",
  11533. "name": "page",
  11534. "in": "query"
  11535. },
  11536. {
  11537. "type": "integer",
  11538. "description": "每页条数",
  11539. "name": "pagesize",
  11540. "in": "query"
  11541. },
  11542. {
  11543. "type": "integer",
  11544. "description": "0:仓单预售 1:仓单贸易",
  11545. "name": "haswr",
  11546. "in": "query",
  11547. "required": true
  11548. },
  11549. {
  11550. "type": "integer",
  11551. "description": "仓单要素id",
  11552. "name": "wrfactortypeid",
  11553. "in": "query",
  11554. "required": true
  11555. }
  11556. ],
  11557. "responses": {
  11558. "200": {
  11559. "description": "OK",
  11560. "schema": {
  11561. "type": "array",
  11562. "items": {
  11563. "$ref": "#/definitions/models.WrAverageTradePrice"
  11564. }
  11565. }
  11566. },
  11567. "500": {
  11568. "description": "Internal Server Error",
  11569. "schema": {
  11570. "$ref": "#/definitions/app.Response"
  11571. }
  11572. }
  11573. }
  11574. }
  11575. },
  11576. "/WrTrade2/QueryWrBsGoodsInfo": {
  11577. "get": {
  11578. "security": [
  11579. {
  11580. "ApiKeyAuth": []
  11581. }
  11582. ],
  11583. "description": "合约交易/买卖大厅/详情",
  11584. "produces": [
  11585. "application/json"
  11586. ],
  11587. "tags": [
  11588. "仓单贸易v2"
  11589. ],
  11590. "summary": "查询合约交易买卖大厅详情",
  11591. "parameters": [
  11592. {
  11593. "type": "integer",
  11594. "description": "商品id",
  11595. "name": "goodsid",
  11596. "in": "query",
  11597. "required": true
  11598. }
  11599. ],
  11600. "responses": {
  11601. "200": {
  11602. "description": "OK",
  11603. "schema": {
  11604. "type": "array",
  11605. "items": {
  11606. "$ref": "#/definitions/models.WrBsGoodsInfo"
  11607. }
  11608. }
  11609. },
  11610. "500": {
  11611. "description": "Internal Server Error",
  11612. "schema": {
  11613. "$ref": "#/definitions/app.Response"
  11614. }
  11615. }
  11616. }
  11617. }
  11618. },
  11619. "/WrTrade2/QueryWrBuybackDetail": {
  11620. "get": {
  11621. "security": [
  11622. {
  11623. "ApiKeyAuth": []
  11624. }
  11625. ],
  11626. "produces": [
  11627. "application/json"
  11628. ],
  11629. "tags": [
  11630. "仓单贸易v2"
  11631. ],
  11632. "summary": "查询仓单回购明细",
  11633. "parameters": [
  11634. {
  11635. "type": "integer",
  11636. "description": "融资合同id",
  11637. "name": "scfcontractid",
  11638. "in": "query"
  11639. }
  11640. ],
  11641. "responses": {
  11642. "200": {
  11643. "description": "OK",
  11644. "schema": {
  11645. "type": "array",
  11646. "items": {
  11647. "$ref": "#/definitions/models.WrBuybackDetail"
  11648. }
  11649. }
  11650. },
  11651. "500": {
  11652. "description": "Internal Server Error",
  11653. "schema": {
  11654. "$ref": "#/definitions/app.Response"
  11655. }
  11656. }
  11657. }
  11658. }
  11659. },
  11660. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  11661. "get": {
  11662. "security": [
  11663. {
  11664. "ApiKeyAuth": []
  11665. }
  11666. ],
  11667. "produces": [
  11668. "application/json"
  11669. ],
  11670. "tags": [
  11671. "仓单贸易v2"
  11672. ],
  11673. "summary": "查询合约交收可点选仓单",
  11674. "parameters": [
  11675. {
  11676. "type": "integer",
  11677. "description": "资金账号",
  11678. "name": "accountid",
  11679. "in": "query",
  11680. "required": true
  11681. },
  11682. {
  11683. "type": "integer",
  11684. "description": "商品id",
  11685. "name": "goodsid",
  11686. "in": "query",
  11687. "required": true
  11688. }
  11689. ],
  11690. "responses": {
  11691. "200": {
  11692. "description": "OK",
  11693. "schema": {
  11694. "type": "array",
  11695. "items": {
  11696. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  11697. }
  11698. }
  11699. },
  11700. "500": {
  11701. "description": "Internal Server Error",
  11702. "schema": {
  11703. "$ref": "#/definitions/app.Response"
  11704. }
  11705. }
  11706. }
  11707. }
  11708. },
  11709. "/WrTrade2/QueryWrDeliveryDetail": {
  11710. "get": {
  11711. "security": [
  11712. {
  11713. "ApiKeyAuth": []
  11714. }
  11715. ],
  11716. "produces": [
  11717. "application/json"
  11718. ],
  11719. "tags": [
  11720. "仓单贸易v2"
  11721. ],
  11722. "summary": "查询交收",
  11723. "parameters": [
  11724. {
  11725. "type": "integer",
  11726. "description": "用户id",
  11727. "name": "userid",
  11728. "in": "query",
  11729. "required": true
  11730. },
  11731. {
  11732. "type": "integer",
  11733. "description": "资金账号id",
  11734. "name": "accountid",
  11735. "in": "query"
  11736. }
  11737. ],
  11738. "responses": {
  11739. "200": {
  11740. "description": "OK",
  11741. "schema": {
  11742. "type": "array",
  11743. "items": {
  11744. "$ref": "#/definitions/models.WrDeliveryDetail"
  11745. }
  11746. }
  11747. },
  11748. "500": {
  11749. "description": "Internal Server Error",
  11750. "schema": {
  11751. "$ref": "#/definitions/app.Response"
  11752. }
  11753. }
  11754. }
  11755. }
  11756. },
  11757. "/WrTrade2/QueryWrFactorTypeInfo": {
  11758. "get": {
  11759. "security": [
  11760. {
  11761. "ApiKeyAuth": []
  11762. }
  11763. ],
  11764. "produces": [
  11765. "application/json"
  11766. ],
  11767. "tags": [
  11768. "仓单贸易v2"
  11769. ],
  11770. "summary": "查询仓单要素详细信息",
  11771. "parameters": [
  11772. {
  11773. "type": "integer",
  11774. "description": "仓单要素id",
  11775. "name": "wrfactortypeid",
  11776. "in": "query",
  11777. "required": true
  11778. }
  11779. ],
  11780. "responses": {
  11781. "200": {
  11782. "description": "OK",
  11783. "schema": {
  11784. "type": "array",
  11785. "items": {
  11786. "$ref": "#/definitions/models.WrFactorTypeInfo"
  11787. }
  11788. }
  11789. },
  11790. "500": {
  11791. "description": "Internal Server Error",
  11792. "schema": {
  11793. "$ref": "#/definitions/app.Response"
  11794. }
  11795. }
  11796. }
  11797. }
  11798. },
  11799. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  11800. "get": {
  11801. "security": [
  11802. {
  11803. "ApiKeyAuth": []
  11804. }
  11805. ],
  11806. "produces": [
  11807. "application/json"
  11808. ],
  11809. "tags": [
  11810. "仓单贸易v2"
  11811. ],
  11812. "summary": "查询仓单要素详细信息列表项",
  11813. "parameters": [
  11814. {
  11815. "type": "integer",
  11816. "description": "仓单要素id",
  11817. "name": "wrfactortypeid",
  11818. "in": "query",
  11819. "required": true
  11820. }
  11821. ],
  11822. "responses": {
  11823. "200": {
  11824. "description": "OK",
  11825. "schema": {
  11826. "type": "array",
  11827. "items": {
  11828. "$ref": "#/definitions/models.WrTypeItem"
  11829. }
  11830. }
  11831. },
  11832. "500": {
  11833. "description": "Internal Server Error",
  11834. "schema": {
  11835. "$ref": "#/definitions/app.Response"
  11836. }
  11837. }
  11838. }
  11839. }
  11840. },
  11841. "/WrTrade2/QueryWrFinanceBuyApply": {
  11842. "get": {
  11843. "security": [
  11844. {
  11845. "ApiKeyAuth": []
  11846. }
  11847. ],
  11848. "description": "页面 融资信息+ / 申请单",
  11849. "produces": [
  11850. "application/json"
  11851. ],
  11852. "tags": [
  11853. "仓单贸易v2"
  11854. ],
  11855. "summary": "查询融资购买申请",
  11856. "parameters": [
  11857. {
  11858. "type": "integer",
  11859. "description": "用户id",
  11860. "name": "userid",
  11861. "in": "query",
  11862. "required": true
  11863. }
  11864. ],
  11865. "responses": {
  11866. "200": {
  11867. "description": "OK",
  11868. "schema": {
  11869. "type": "array",
  11870. "items": {
  11871. "$ref": "#/definitions/models.WrFinanceBuyApply"
  11872. }
  11873. }
  11874. },
  11875. "500": {
  11876. "description": "Internal Server Error",
  11877. "schema": {
  11878. "$ref": "#/definitions/app.Response"
  11879. }
  11880. }
  11881. }
  11882. }
  11883. },
  11884. "/WrTrade2/QueryWrFriendApply": {
  11885. "get": {
  11886. "security": [
  11887. {
  11888. "ApiKeyAuth": []
  11889. }
  11890. ],
  11891. "produces": [
  11892. "application/json"
  11893. ],
  11894. "tags": [
  11895. "仓单贸易v2"
  11896. ],
  11897. "summary": "查询好友申请记录",
  11898. "parameters": [
  11899. {
  11900. "type": "integer",
  11901. "description": "用户id",
  11902. "name": "userid",
  11903. "in": "query",
  11904. "required": true
  11905. }
  11906. ],
  11907. "responses": {
  11908. "200": {
  11909. "description": "OK",
  11910. "schema": {
  11911. "type": "array",
  11912. "items": {
  11913. "$ref": "#/definitions/models.WrFriendApply"
  11914. }
  11915. }
  11916. },
  11917. "500": {
  11918. "description": "Internal Server Error",
  11919. "schema": {
  11920. "$ref": "#/definitions/app.Response"
  11921. }
  11922. }
  11923. }
  11924. }
  11925. },
  11926. "/WrTrade2/QueryWrGoodsInfo": {
  11927. "get": {
  11928. "security": [
  11929. {
  11930. "ApiKeyAuth": []
  11931. }
  11932. ],
  11933. "produces": [
  11934. "application/json"
  11935. ],
  11936. "tags": [
  11937. "仓单贸易v2"
  11938. ],
  11939. "summary": "查询仓单商品信息",
  11940. "parameters": [
  11941. {
  11942. "type": "integer",
  11943. "description": "仓单贸易市场id",
  11944. "name": "marketid",
  11945. "in": "query"
  11946. },
  11947. {
  11948. "type": "integer",
  11949. "description": "0:仓单预售 1:仓单贸易",
  11950. "name": "haswr",
  11951. "in": "query",
  11952. "required": true
  11953. },
  11954. {
  11955. "type": "integer",
  11956. "description": "仓单要素id",
  11957. "name": "wrfactortypeid",
  11958. "in": "query",
  11959. "required": true
  11960. },
  11961. {
  11962. "type": "integer",
  11963. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  11964. "name": "tmplateid",
  11965. "in": "query"
  11966. }
  11967. ],
  11968. "responses": {
  11969. "200": {
  11970. "description": "OK",
  11971. "schema": {
  11972. "type": "array",
  11973. "items": {
  11974. "$ref": "#/definitions/models.WrGoodsInfo"
  11975. }
  11976. }
  11977. },
  11978. "500": {
  11979. "description": "Internal Server Error",
  11980. "schema": {
  11981. "$ref": "#/definitions/app.Response"
  11982. }
  11983. }
  11984. }
  11985. }
  11986. },
  11987. "/WrTrade2/QueryWrMarketTradeConfig": {
  11988. "get": {
  11989. "security": [
  11990. {
  11991. "ApiKeyAuth": []
  11992. }
  11993. ],
  11994. "produces": [
  11995. "application/json"
  11996. ],
  11997. "tags": [
  11998. "仓单贸易v2"
  11999. ],
  12000. "summary": "查询市场交易参数配置",
  12001. "parameters": [
  12002. {
  12003. "type": "integer",
  12004. "description": "市场id",
  12005. "name": "marketid",
  12006. "in": "query"
  12007. }
  12008. ],
  12009. "responses": {
  12010. "200": {
  12011. "description": "OK",
  12012. "schema": {
  12013. "type": "array",
  12014. "items": {
  12015. "$ref": "#/definitions/models.WrMarketTradeConfig"
  12016. }
  12017. }
  12018. },
  12019. "500": {
  12020. "description": "Internal Server Error",
  12021. "schema": {
  12022. "$ref": "#/definitions/app.Response"
  12023. }
  12024. }
  12025. }
  12026. }
  12027. },
  12028. "/WrTrade2/QueryWrOrderDetail": {
  12029. "get": {
  12030. "security": [
  12031. {
  12032. "ApiKeyAuth": []
  12033. }
  12034. ],
  12035. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  12036. "produces": [
  12037. "application/json"
  12038. ],
  12039. "tags": [
  12040. "仓单贸易v2"
  12041. ],
  12042. "summary": "查询仓单委托单(挂单)",
  12043. "parameters": [
  12044. {
  12045. "type": "integer",
  12046. "description": "页码",
  12047. "name": "page",
  12048. "in": "query"
  12049. },
  12050. {
  12051. "type": "integer",
  12052. "description": "每页条数",
  12053. "name": "pagesize",
  12054. "in": "query"
  12055. },
  12056. {
  12057. "type": "integer",
  12058. "description": "用户id",
  12059. "name": "userid",
  12060. "in": "query",
  12061. "required": true
  12062. },
  12063. {
  12064. "type": "integer",
  12065. "description": "仓单贸易市场id",
  12066. "name": "marketid",
  12067. "in": "query"
  12068. },
  12069. {
  12070. "type": "integer",
  12071. "description": "0:仓单预售 1:仓单贸易",
  12072. "name": "haswr",
  12073. "in": "query",
  12074. "required": true
  12075. }
  12076. ],
  12077. "responses": {
  12078. "200": {
  12079. "description": "OK",
  12080. "schema": {
  12081. "type": "array",
  12082. "items": {
  12083. "$ref": "#/definitions/models.WrOrderDetail"
  12084. }
  12085. }
  12086. },
  12087. "500": {
  12088. "description": "Internal Server Error",
  12089. "schema": {
  12090. "$ref": "#/definitions/app.Response"
  12091. }
  12092. }
  12093. }
  12094. }
  12095. },
  12096. "/WrTrade2/QueryWrOutInApply": {
  12097. "get": {
  12098. "security": [
  12099. {
  12100. "ApiKeyAuth": []
  12101. }
  12102. ],
  12103. "produces": [
  12104. "application/json"
  12105. ],
  12106. "tags": [
  12107. "仓单贸易v2"
  12108. ],
  12109. "summary": "查询提货申请",
  12110. "parameters": [
  12111. {
  12112. "type": "integer",
  12113. "description": "用户id",
  12114. "name": "userid",
  12115. "in": "query",
  12116. "required": true
  12117. }
  12118. ],
  12119. "responses": {
  12120. "200": {
  12121. "description": "OK",
  12122. "schema": {
  12123. "type": "array",
  12124. "items": {
  12125. "$ref": "#/definitions/models.WrOutInApply"
  12126. }
  12127. }
  12128. },
  12129. "500": {
  12130. "description": "Internal Server Error",
  12131. "schema": {
  12132. "$ref": "#/definitions/app.Response"
  12133. }
  12134. }
  12135. }
  12136. }
  12137. },
  12138. "/WrTrade2/QueryWrPerformancePlanStep": {
  12139. "get": {
  12140. "security": [
  12141. {
  12142. "ApiKeyAuth": []
  12143. }
  12144. ],
  12145. "produces": [
  12146. "application/json"
  12147. ],
  12148. "tags": [
  12149. "仓单贸易v2"
  12150. ],
  12151. "summary": "查询履约信息详情",
  12152. "parameters": [
  12153. {
  12154. "type": "integer",
  12155. "description": "履约计划id(performanceplanid)",
  12156. "name": "planid",
  12157. "in": "query",
  12158. "required": true
  12159. },
  12160. {
  12161. "type": "integer",
  12162. "description": "当前步骤id",
  12163. "name": "curstepid",
  12164. "in": "query"
  12165. }
  12166. ],
  12167. "responses": {
  12168. "200": {
  12169. "description": "OK",
  12170. "schema": {
  12171. "type": "array",
  12172. "items": {
  12173. "$ref": "#/definitions/models.WrPerformancePlanStep"
  12174. }
  12175. }
  12176. },
  12177. "500": {
  12178. "description": "Internal Server Error",
  12179. "schema": {
  12180. "$ref": "#/definitions/app.Response"
  12181. }
  12182. }
  12183. }
  12184. }
  12185. },
  12186. "/WrTrade2/QueryWrPerformanceStepType": {
  12187. "get": {
  12188. "security": [
  12189. {
  12190. "ApiKeyAuth": []
  12191. }
  12192. ],
  12193. "produces": [
  12194. "application/json"
  12195. ],
  12196. "tags": [
  12197. "仓单贸易v2"
  12198. ],
  12199. "summary": "查询履约步骤枚举",
  12200. "responses": {
  12201. "200": {
  12202. "description": "OK",
  12203. "schema": {
  12204. "type": "array",
  12205. "items": {
  12206. "$ref": "#/definitions/models.WrPerformanceStepType"
  12207. }
  12208. }
  12209. },
  12210. "500": {
  12211. "description": "Internal Server Error",
  12212. "schema": {
  12213. "$ref": "#/definitions/app.Response"
  12214. }
  12215. }
  12216. }
  12217. }
  12218. },
  12219. "/WrTrade2/QueryWrPosition": {
  12220. "get": {
  12221. "security": [
  12222. {
  12223. "ApiKeyAuth": []
  12224. }
  12225. ],
  12226. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  12227. "produces": [
  12228. "application/json"
  12229. ],
  12230. "tags": [
  12231. "仓单贸易v2"
  12232. ],
  12233. "summary": "查询现货(预售)仓单持仓",
  12234. "parameters": [
  12235. {
  12236. "type": "integer",
  12237. "description": "用户id",
  12238. "name": "userid",
  12239. "in": "query",
  12240. "required": true
  12241. },
  12242. {
  12243. "type": "integer",
  12244. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  12245. "name": "querytype",
  12246. "in": "query",
  12247. "required": true
  12248. },
  12249. {
  12250. "type": "integer",
  12251. "description": "0:仓单预售 1:仓单贸易",
  12252. "name": "haswr",
  12253. "in": "query",
  12254. "required": true
  12255. },
  12256. {
  12257. "type": "string",
  12258. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12259. "name": "dgitemname",
  12260. "in": "query"
  12261. },
  12262. {
  12263. "type": "integer",
  12264. "description": "仓库id(筛选条件)",
  12265. "name": "warehouseid",
  12266. "in": "query"
  12267. },
  12268. {
  12269. "type": "integer",
  12270. "description": "品种id",
  12271. "name": "deliverygoodsid",
  12272. "in": "query"
  12273. },
  12274. {
  12275. "type": "integer",
  12276. "description": "品类id",
  12277. "name": "wrstandardid",
  12278. "in": "query"
  12279. }
  12280. ],
  12281. "responses": {
  12282. "200": {
  12283. "description": "OK",
  12284. "schema": {
  12285. "type": "array",
  12286. "items": {
  12287. "$ref": "#/definitions/models.WrPosition"
  12288. }
  12289. }
  12290. },
  12291. "500": {
  12292. "description": "Internal Server Error",
  12293. "schema": {
  12294. "$ref": "#/definitions/app.Response"
  12295. }
  12296. }
  12297. }
  12298. }
  12299. },
  12300. "/WrTrade2/QueryWrScfContract": {
  12301. "get": {
  12302. "security": [
  12303. {
  12304. "ApiKeyAuth": []
  12305. }
  12306. ],
  12307. "produces": [
  12308. "application/json"
  12309. ],
  12310. "tags": [
  12311. "仓单贸易v2"
  12312. ],
  12313. "summary": "查询仓单贸易融资合同",
  12314. "parameters": [
  12315. {
  12316. "type": "integer",
  12317. "description": "用户id",
  12318. "name": "userid",
  12319. "in": "query",
  12320. "required": true
  12321. },
  12322. {
  12323. "type": "integer",
  12324. "description": "融资合同id",
  12325. "name": "scfcontractid",
  12326. "in": "query"
  12327. }
  12328. ],
  12329. "responses": {
  12330. "200": {
  12331. "description": "OK",
  12332. "schema": {
  12333. "type": "array",
  12334. "items": {
  12335. "$ref": "#/definitions/models.WrScfContract"
  12336. }
  12337. }
  12338. },
  12339. "500": {
  12340. "description": "Internal Server Error",
  12341. "schema": {
  12342. "$ref": "#/definitions/app.Response"
  12343. }
  12344. }
  12345. }
  12346. }
  12347. },
  12348. "/WrTrade2/QueryWrScfContractInterest": {
  12349. "get": {
  12350. "security": [
  12351. {
  12352. "ApiKeyAuth": []
  12353. }
  12354. ],
  12355. "produces": [
  12356. "application/json"
  12357. ],
  12358. "tags": [
  12359. "仓单贸易v2"
  12360. ],
  12361. "summary": "查询融资合同费用明细",
  12362. "parameters": [
  12363. {
  12364. "type": "integer",
  12365. "description": "融资合同id",
  12366. "name": "scfcontractid",
  12367. "in": "query"
  12368. }
  12369. ],
  12370. "responses": {
  12371. "200": {
  12372. "description": "OK",
  12373. "schema": {
  12374. "type": "array",
  12375. "items": {
  12376. "$ref": "#/definitions/models.WrScfContractInterest"
  12377. }
  12378. }
  12379. },
  12380. "500": {
  12381. "description": "Internal Server Error",
  12382. "schema": {
  12383. "$ref": "#/definitions/app.Response"
  12384. }
  12385. }
  12386. }
  12387. }
  12388. },
  12389. "/WrTrade2/QueryWrSpecialMatchOrder": {
  12390. "get": {
  12391. "security": [
  12392. {
  12393. "ApiKeyAuth": []
  12394. }
  12395. ],
  12396. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  12397. "produces": [
  12398. "application/json"
  12399. ],
  12400. "tags": [
  12401. "仓单贸易v2"
  12402. ],
  12403. "summary": "查询指定成交",
  12404. "parameters": [
  12405. {
  12406. "type": "integer",
  12407. "description": "页码",
  12408. "name": "page",
  12409. "in": "query"
  12410. },
  12411. {
  12412. "type": "integer",
  12413. "description": "每页条数",
  12414. "name": "pagesize",
  12415. "in": "query"
  12416. },
  12417. {
  12418. "type": "integer",
  12419. "description": "用户id",
  12420. "name": "userid",
  12421. "in": "query",
  12422. "required": true
  12423. },
  12424. {
  12425. "type": "integer",
  12426. "description": "仓单贸易市场id",
  12427. "name": "marketid",
  12428. "in": "query"
  12429. },
  12430. {
  12431. "type": "integer",
  12432. "description": "0:仓单预售 1:仓单贸易",
  12433. "name": "haswr",
  12434. "in": "query",
  12435. "required": true
  12436. }
  12437. ],
  12438. "responses": {
  12439. "200": {
  12440. "description": "OK",
  12441. "schema": {
  12442. "type": "array",
  12443. "items": {
  12444. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  12445. }
  12446. }
  12447. },
  12448. "500": {
  12449. "description": "Internal Server Error",
  12450. "schema": {
  12451. "$ref": "#/definitions/app.Response"
  12452. }
  12453. }
  12454. }
  12455. }
  12456. },
  12457. "/WrTrade2/QueryWrStandardFactoryItem": {
  12458. "get": {
  12459. "security": [
  12460. {
  12461. "ApiKeyAuth": []
  12462. }
  12463. ],
  12464. "produces": [
  12465. "application/json"
  12466. ],
  12467. "tags": [
  12468. "仓单贸易v2"
  12469. ],
  12470. "summary": "查询品类要素定义项",
  12471. "parameters": [
  12472. {
  12473. "type": "integer",
  12474. "description": "品类id",
  12475. "name": "wrstandardid",
  12476. "in": "query",
  12477. "required": true
  12478. }
  12479. ],
  12480. "responses": {
  12481. "200": {
  12482. "description": "OK",
  12483. "schema": {
  12484. "type": "array",
  12485. "items": {
  12486. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  12487. }
  12488. }
  12489. },
  12490. "500": {
  12491. "description": "Internal Server Error",
  12492. "schema": {
  12493. "$ref": "#/definitions/app.Response"
  12494. }
  12495. }
  12496. }
  12497. }
  12498. },
  12499. "/WrTrade2/QueryWrTradeBargainApply": {
  12500. "get": {
  12501. "security": [
  12502. {
  12503. "ApiKeyAuth": []
  12504. }
  12505. ],
  12506. "description": "1.页面 挂单/议价单, 只需传单号就行 2.页面 议价, 查的是作为摘牌方发起的议价单, 参数 userid=登录userid 3. 页面 议价/议价单, 和2类似, 但要指定单号 参数 userid, wrtradeorderid",
  12507. "produces": [
  12508. "application/json"
  12509. ],
  12510. "tags": [
  12511. "仓单贸易v2"
  12512. ],
  12513. "summary": "查询议价单",
  12514. "parameters": [
  12515. {
  12516. "type": "integer",
  12517. "description": "议价人id(摘牌方)",
  12518. "name": "userid",
  12519. "in": "query"
  12520. },
  12521. {
  12522. "type": "integer",
  12523. "description": "关联委托单id",
  12524. "name": "wrtradeorderid",
  12525. "in": "query"
  12526. },
  12527. {
  12528. "type": "integer",
  12529. "description": "0:仓单预售 1:仓单贸易",
  12530. "name": "haswr",
  12531. "in": "query",
  12532. "required": true
  12533. }
  12534. ],
  12535. "responses": {
  12536. "200": {
  12537. "description": "OK",
  12538. "schema": {
  12539. "type": "array",
  12540. "items": {
  12541. "$ref": "#/definitions/models.WRTradeBargainApply"
  12542. }
  12543. }
  12544. },
  12545. "500": {
  12546. "description": "Internal Server Error",
  12547. "schema": {
  12548. "$ref": "#/definitions/app.Response"
  12549. }
  12550. }
  12551. }
  12552. }
  12553. },
  12554. "/WrTrade2/QueryWrTradeDetail": {
  12555. "get": {
  12556. "security": [
  12557. {
  12558. "ApiKeyAuth": []
  12559. }
  12560. ],
  12561. "produces": [
  12562. "application/json"
  12563. ],
  12564. "tags": [
  12565. "仓单贸易v2"
  12566. ],
  12567. "summary": "查询仓单成交明细",
  12568. "parameters": [
  12569. {
  12570. "type": "integer",
  12571. "description": "页码",
  12572. "name": "page",
  12573. "in": "query"
  12574. },
  12575. {
  12576. "type": "integer",
  12577. "description": "每页条数",
  12578. "name": "pagesize",
  12579. "in": "query"
  12580. },
  12581. {
  12582. "type": "integer",
  12583. "description": "用户id",
  12584. "name": "userid",
  12585. "in": "query",
  12586. "required": true
  12587. },
  12588. {
  12589. "type": "integer",
  12590. "description": "仓单贸易市场id",
  12591. "name": "marketid",
  12592. "in": "query"
  12593. },
  12594. {
  12595. "type": "integer",
  12596. "description": "0:仓单预售 1:仓单贸易",
  12597. "name": "haswr",
  12598. "in": "query",
  12599. "required": true
  12600. }
  12601. ],
  12602. "responses": {
  12603. "200": {
  12604. "description": "OK",
  12605. "schema": {
  12606. "type": "array",
  12607. "items": {
  12608. "$ref": "#/definitions/models.WrTradeDetail"
  12609. }
  12610. }
  12611. },
  12612. "500": {
  12613. "description": "Internal Server Error",
  12614. "schema": {
  12615. "$ref": "#/definitions/app.Response"
  12616. }
  12617. }
  12618. }
  12619. }
  12620. },
  12621. "/WrTrade2/QueryWrTradeOrderDetail": {
  12622. "get": {
  12623. "security": [
  12624. {
  12625. "ApiKeyAuth": []
  12626. }
  12627. ],
  12628. "produces": [
  12629. "application/json"
  12630. ],
  12631. "tags": [
  12632. "仓单贸易v2"
  12633. ],
  12634. "summary": "查询合约交易买卖大厅",
  12635. "parameters": [
  12636. {
  12637. "type": "integer",
  12638. "description": "页码",
  12639. "name": "page",
  12640. "in": "query"
  12641. },
  12642. {
  12643. "type": "integer",
  12644. "description": "每页条数",
  12645. "name": "pagesize",
  12646. "in": "query"
  12647. },
  12648. {
  12649. "type": "integer",
  12650. "description": "商品id",
  12651. "name": "goodsid",
  12652. "in": "query",
  12653. "required": true
  12654. },
  12655. {
  12656. "type": "integer",
  12657. "description": "买卖方向 0-买 1-卖",
  12658. "name": "buyorsell",
  12659. "in": "query",
  12660. "required": true
  12661. }
  12662. ],
  12663. "responses": {
  12664. "200": {
  12665. "description": "OK",
  12666. "schema": {
  12667. "type": "array",
  12668. "items": {
  12669. "$ref": "#/definitions/models.WrTradeOrderDetail"
  12670. }
  12671. }
  12672. },
  12673. "500": {
  12674. "description": "Internal Server Error",
  12675. "schema": {
  12676. "$ref": "#/definitions/app.Response"
  12677. }
  12678. }
  12679. }
  12680. }
  12681. },
  12682. "/WrTrade2/QueryWrUserFriend": {
  12683. "get": {
  12684. "security": [
  12685. {
  12686. "ApiKeyAuth": []
  12687. }
  12688. ],
  12689. "produces": [
  12690. "application/json"
  12691. ],
  12692. "tags": [
  12693. "仓单贸易v2"
  12694. ],
  12695. "summary": "查询我的朋友",
  12696. "parameters": [
  12697. {
  12698. "type": "integer",
  12699. "description": "用户id",
  12700. "name": "userid",
  12701. "in": "query",
  12702. "required": true
  12703. },
  12704. {
  12705. "type": "integer",
  12706. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  12707. "name": "newuserid",
  12708. "in": "query"
  12709. }
  12710. ],
  12711. "responses": {
  12712. "200": {
  12713. "description": "OK",
  12714. "schema": {
  12715. "type": "array",
  12716. "items": {
  12717. "$ref": "#/definitions/models.WrUserFriend"
  12718. }
  12719. }
  12720. },
  12721. "500": {
  12722. "description": "Internal Server Error",
  12723. "schema": {
  12724. "$ref": "#/definitions/app.Response"
  12725. }
  12726. }
  12727. }
  12728. }
  12729. }
  12730. },
  12731. "definitions": {
  12732. "app.Response": {
  12733. "type": "object",
  12734. "properties": {
  12735. "code": {
  12736. "type": "integer"
  12737. },
  12738. "data": {
  12739. "type": "object"
  12740. },
  12741. "msg": {
  12742. "type": "string"
  12743. },
  12744. "page": {
  12745. "description": "页码",
  12746. "type": "integer"
  12747. },
  12748. "pagesize": {
  12749. "description": "每页条数",
  12750. "type": "integer"
  12751. },
  12752. "total": {
  12753. "description": "总条数",
  12754. "type": "integer"
  12755. }
  12756. }
  12757. },
  12758. "common.ClientMenu": {
  12759. "type": "object",
  12760. "properties": {
  12761. "children": {
  12762. "description": "子菜单列表",
  12763. "type": "array",
  12764. "items": {
  12765. "$ref": "#/definitions/common.ClientMenu"
  12766. }
  12767. },
  12768. "code": {
  12769. "description": "ID",
  12770. "type": "string"
  12771. },
  12772. "isshow": {
  12773. "description": "是否显示",
  12774. "type": "boolean"
  12775. },
  12776. "remark": {
  12777. "description": "备注",
  12778. "type": "string"
  12779. },
  12780. "rulekey": {
  12781. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  12782. "type": "string"
  12783. },
  12784. "sort": {
  12785. "description": "排序",
  12786. "type": "integer"
  12787. },
  12788. "title": {
  12789. "description": "标题",
  12790. "type": "string"
  12791. },
  12792. "type": {
  12793. "description": "类型,1:菜单 2:按钮",
  12794. "type": "integer"
  12795. },
  12796. "url": {
  12797. "description": "URL",
  12798. "type": "string"
  12799. }
  12800. }
  12801. },
  12802. "common.QueryImageConfigsRsp": {
  12803. "type": "object",
  12804. "required": [
  12805. "configid"
  12806. ],
  12807. "properties": {
  12808. "areauserid": {
  12809. "description": "所属机构ID",
  12810. "type": "integer"
  12811. },
  12812. "configid": {
  12813. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  12814. "type": "integer"
  12815. },
  12816. "createdate": {
  12817. "description": "创建时间",
  12818. "type": "string"
  12819. },
  12820. "creatorid": {
  12821. "description": "创建人",
  12822. "type": "integer"
  12823. },
  12824. "imagepath": {
  12825. "description": "图片",
  12826. "type": "string"
  12827. },
  12828. "imagetype": {
  12829. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  12830. "type": "integer"
  12831. },
  12832. "isshow": {
  12833. "description": "是否展示 - 0:不展示 1:展示",
  12834. "type": "integer"
  12835. },
  12836. "marketid": {
  12837. "description": "市场ID",
  12838. "type": "integer"
  12839. },
  12840. "modifierid": {
  12841. "description": "操作人",
  12842. "type": "integer"
  12843. },
  12844. "sort": {
  12845. "description": "排序",
  12846. "type": "integer"
  12847. },
  12848. "title": {
  12849. "description": "标题",
  12850. "type": "string"
  12851. },
  12852. "trademode": {
  12853. "description": "交易模式",
  12854. "type": "integer"
  12855. },
  12856. "updatedate": {
  12857. "description": "修改时间",
  12858. "type": "string"
  12859. },
  12860. "url": {
  12861. "description": "链接(地址或商品ID)",
  12862. "type": "string"
  12863. },
  12864. "urltype": {
  12865. "description": "链接类型 - 1:直接地址 2:商品ID",
  12866. "type": "integer"
  12867. }
  12868. }
  12869. },
  12870. "common.QueryNoticeRsp": {
  12871. "type": "object",
  12872. "required": [
  12873. "autoid"
  12874. ],
  12875. "properties": {
  12876. "auditoruserid": {
  12877. "description": "审核人",
  12878. "type": "integer"
  12879. },
  12880. "auditremark": {
  12881. "description": "审核备注",
  12882. "type": "string"
  12883. },
  12884. "audittime": {
  12885. "description": "审核日期",
  12886. "type": "string"
  12887. },
  12888. "autoid": {
  12889. "description": "自增ID",
  12890. "type": "integer"
  12891. },
  12892. "content": {
  12893. "description": "内容",
  12894. "type": "string"
  12895. },
  12896. "createtime": {
  12897. "description": "创建时间",
  12898. "type": "string"
  12899. },
  12900. "creatorid": {
  12901. "description": "建仓人",
  12902. "type": "integer"
  12903. },
  12904. "endtime": {
  12905. "description": "结束时间",
  12906. "type": "string"
  12907. },
  12908. "istop": {
  12909. "description": "是否置顶 - 0:不置顶 1:置顶",
  12910. "type": "integer"
  12911. },
  12912. "msgiconurl": {
  12913. "description": "消息图标Url",
  12914. "type": "string"
  12915. },
  12916. "msgtype": {
  12917. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  12918. "type": "integer"
  12919. },
  12920. "publisher": {
  12921. "description": "消息发布者",
  12922. "type": "string"
  12923. },
  12924. "readed": {
  12925. "description": "是否已读",
  12926. "type": "boolean"
  12927. },
  12928. "scheduletime": {
  12929. "description": "计划发送时间",
  12930. "type": "string"
  12931. },
  12932. "sendtype": {
  12933. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  12934. "type": "integer"
  12935. },
  12936. "sentstatus": {
  12937. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  12938. "type": "integer"
  12939. },
  12940. "title": {
  12941. "description": "标题",
  12942. "type": "string"
  12943. },
  12944. "userid": {
  12945. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  12946. "type": "integer"
  12947. }
  12948. }
  12949. },
  12950. "common.QueryProvincesAndCitiesRsp": {
  12951. "type": "object",
  12952. "properties": {
  12953. "cities": {
  12954. "description": "市",
  12955. "type": "array",
  12956. "items": {
  12957. "$ref": "#/definitions/models.Division"
  12958. }
  12959. },
  12960. "province": {
  12961. "description": "省",
  12962. "type": "object",
  12963. "$ref": "#/definitions/models.Division"
  12964. }
  12965. }
  12966. },
  12967. "common.QueryTableDefineRsp": {
  12968. "type": "object",
  12969. "required": [
  12970. "tablekey"
  12971. ],
  12972. "properties": {
  12973. "columns": {
  12974. "description": "列头信息数组",
  12975. "type": "array",
  12976. "items": {
  12977. "$ref": "#/definitions/models.Tablecolumnconfig"
  12978. }
  12979. },
  12980. "remark": {
  12981. "description": "Remark",
  12982. "type": "string"
  12983. },
  12984. "tabelmenu": {
  12985. "description": "列表菜单",
  12986. "type": "string"
  12987. },
  12988. "tablekey": {
  12989. "description": "列表Key",
  12990. "type": "string"
  12991. },
  12992. "tablename": {
  12993. "description": "列表名称",
  12994. "type": "string"
  12995. },
  12996. "tabletype": {
  12997. "description": "列表类型 - 1:管理端 2:终端",
  12998. "type": "integer"
  12999. }
  13000. }
  13001. },
  13002. "common.QueryTraderMenuRsp": {
  13003. "type": "object",
  13004. "properties": {
  13005. "OperationMenu": {
  13006. "description": "功能菜单",
  13007. "type": "array",
  13008. "items": {
  13009. "$ref": "#/definitions/models.OperationPrimaryMenu"
  13010. }
  13011. },
  13012. "QuoteMenu": {
  13013. "description": "报价牌分类菜单",
  13014. "type": "array",
  13015. "items": {
  13016. "$ref": "#/definitions/models.QuotePrimaryMenu"
  13017. }
  13018. }
  13019. }
  13020. },
  13021. "cptrade.Cptradepositioncancel": {
  13022. "type": "object",
  13023. "required": [
  13024. "cancelid"
  13025. ],
  13026. "properties": {
  13027. "accountid": {
  13028. "description": "申请人账户ID",
  13029. "type": "integer"
  13030. },
  13031. "applystatus": {
  13032. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  13033. "type": "integer"
  13034. },
  13035. "applytime": {
  13036. "description": "申请时间",
  13037. "type": "string"
  13038. },
  13039. "cancelid": {
  13040. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  13041. "type": "integer"
  13042. },
  13043. "cancelqty": {
  13044. "description": "注销数量",
  13045. "type": "integer"
  13046. },
  13047. "createtime": {
  13048. "description": "创建时间",
  13049. "type": "string"
  13050. },
  13051. "creatorid": {
  13052. "description": "创建人ID",
  13053. "type": "integer"
  13054. },
  13055. "creatorname": {
  13056. "description": "创建人",
  13057. "type": "string"
  13058. },
  13059. "goodscode": {
  13060. "description": "订单商品代码",
  13061. "type": "string"
  13062. },
  13063. "goodsid": {
  13064. "description": "商品ID",
  13065. "type": "integer"
  13066. },
  13067. "goodsname": {
  13068. "description": "订单商品名称",
  13069. "type": "string"
  13070. },
  13071. "goodunit": {
  13072. "description": "报价单位",
  13073. "type": "string"
  13074. },
  13075. "handlestatus": {
  13076. "description": "处理状态",
  13077. "type": "integer"
  13078. },
  13079. "marketid": {
  13080. "description": "市场ID",
  13081. "type": "integer"
  13082. },
  13083. "marketname": {
  13084. "description": "市场名称",
  13085. "type": "string"
  13086. },
  13087. "tradedate": {
  13088. "description": "交易日(yyyyMMdd)",
  13089. "type": "string"
  13090. },
  13091. "userid": {
  13092. "description": "申请人ID",
  13093. "type": "integer"
  13094. }
  13095. }
  13096. },
  13097. "cptrade.Cptradepresaleapply": {
  13098. "type": "object",
  13099. "required": [
  13100. "applyid"
  13101. ],
  13102. "properties": {
  13103. "accountid": {
  13104. "description": "申请人账户ID",
  13105. "type": "integer"
  13106. },
  13107. "applyid": {
  13108. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  13109. "type": "integer"
  13110. },
  13111. "applyremark": {
  13112. "description": "申请备注",
  13113. "type": "string"
  13114. },
  13115. "applystatus": {
  13116. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  13117. "type": "integer"
  13118. },
  13119. "applytime": {
  13120. "description": "申请时间",
  13121. "type": "string"
  13122. },
  13123. "attachmenturl": {
  13124. "description": "附件地址",
  13125. "type": "string"
  13126. },
  13127. "endtime": {
  13128. "description": "预售结束时间",
  13129. "type": "string"
  13130. },
  13131. "goodscode": {
  13132. "description": "商品代码",
  13133. "type": "string"
  13134. },
  13135. "goodsid": {
  13136. "description": "商品ID",
  13137. "type": "integer"
  13138. },
  13139. "goodsname": {
  13140. "description": "商品名称",
  13141. "type": "string"
  13142. },
  13143. "goodunit": {
  13144. "description": "报价单位",
  13145. "type": "string"
  13146. },
  13147. "handlestatus": {
  13148. "description": "处理状态",
  13149. "type": "integer"
  13150. },
  13151. "marketid": {
  13152. "description": "预售市场ID",
  13153. "type": "integer"
  13154. },
  13155. "marketname": {
  13156. "description": "预售市场名称",
  13157. "type": "string"
  13158. },
  13159. "presaleqty": {
  13160. "description": "预售数量",
  13161. "type": "integer"
  13162. },
  13163. "relatedgoodscode": {
  13164. "description": "关联交易合约代码",
  13165. "type": "string"
  13166. },
  13167. "relatedgoodsid": {
  13168. "description": "关联交易合约ID",
  13169. "type": "integer"
  13170. },
  13171. "relatedgoodsname": {
  13172. "description": "关联交易合约名称",
  13173. "type": "string"
  13174. },
  13175. "starttime": {
  13176. "description": "预售开始时间",
  13177. "type": "string"
  13178. },
  13179. "tradedate": {
  13180. "description": "交易日(yyyyMMdd)",
  13181. "type": "string"
  13182. },
  13183. "trademode": {
  13184. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  13185. "type": "integer"
  13186. },
  13187. "userid": {
  13188. "description": "申请人ID",
  13189. "type": "integer"
  13190. }
  13191. }
  13192. },
  13193. "cptrade.Cptradeusergoodsdata": {
  13194. "type": "object",
  13195. "required": [
  13196. "accountid",
  13197. "goodsid"
  13198. ],
  13199. "properties": {
  13200. "EnabledQty": {
  13201. "description": "可用量",
  13202. "type": "integer"
  13203. },
  13204. "GoodsCode": {
  13205. "description": "订单商品代码",
  13206. "type": "string"
  13207. },
  13208. "GoodsName": {
  13209. "description": "订单商品名称",
  13210. "type": "string"
  13211. },
  13212. "WRStandardCode": {
  13213. "description": "仓单标准代码",
  13214. "type": "string"
  13215. },
  13216. "WRStandardName": {
  13217. "description": "仓单标准名称",
  13218. "type": "string"
  13219. },
  13220. "accountid": {
  13221. "description": "账户ID",
  13222. "type": "integer"
  13223. },
  13224. "cancelqty": {
  13225. "description": "注销量",
  13226. "type": "integer"
  13227. },
  13228. "curpresaleqty": {
  13229. "description": "当前预售量",
  13230. "type": "integer"
  13231. },
  13232. "deliveryqty": {
  13233. "description": "交割量",
  13234. "type": "integer"
  13235. },
  13236. "freezeamount": {
  13237. "description": "冻结金额",
  13238. "type": "number"
  13239. },
  13240. "goodsid": {
  13241. "description": "商品ID",
  13242. "type": "integer"
  13243. },
  13244. "goodunit": {
  13245. "description": "报价单位",
  13246. "type": "string"
  13247. },
  13248. "hasspotfreeze": {
  13249. "description": "是否有现货冻结 - 0:否 1:有",
  13250. "type": "integer"
  13251. },
  13252. "inqty": {
  13253. "description": "转入量(总数量)",
  13254. "type": "integer"
  13255. },
  13256. "marketid": {
  13257. "description": "市场ID",
  13258. "type": "integer"
  13259. },
  13260. "presaledamount": {
  13261. "description": "已预售总金额",
  13262. "type": "integer"
  13263. },
  13264. "presaledqty": {
  13265. "description": "已预售量",
  13266. "type": "integer"
  13267. },
  13268. "userid": {
  13269. "description": "用户ID",
  13270. "type": "integer"
  13271. },
  13272. "wrstandardid": {
  13273. "description": "仓单标准ID",
  13274. "type": "integer"
  13275. }
  13276. }
  13277. },
  13278. "cptrade.QueryCPTradeMyBidRsp": {
  13279. "type": "object",
  13280. "required": [
  13281. "accountid",
  13282. "goodsid",
  13283. "marketid",
  13284. "orderid",
  13285. "orderqty",
  13286. "ordertime",
  13287. "tradeprice",
  13288. "tradeqty"
  13289. ],
  13290. "properties": {
  13291. "accountid": {
  13292. "description": "账户ID[报价币种]",
  13293. "type": "integer"
  13294. },
  13295. "goodsid": {
  13296. "description": "商品ID",
  13297. "type": "integer"
  13298. },
  13299. "goodunit": {
  13300. "description": "报价单位",
  13301. "type": "string"
  13302. },
  13303. "marketid": {
  13304. "description": "市场ID",
  13305. "type": "integer"
  13306. },
  13307. "orderid": {
  13308. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13309. "type": "integer"
  13310. },
  13311. "orderprice": {
  13312. "description": "委托价格",
  13313. "type": "number"
  13314. },
  13315. "orderqty": {
  13316. "description": "委托数量",
  13317. "type": "integer"
  13318. },
  13319. "ordertime": {
  13320. "description": "委托时间",
  13321. "type": "string"
  13322. },
  13323. "ordertotalprice": {
  13324. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  13325. "type": "number"
  13326. },
  13327. "ordertotalweight": {
  13328. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  13329. "type": "integer"
  13330. },
  13331. "totaltotalprice": {
  13332. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  13333. "type": "number"
  13334. },
  13335. "tradeprice": {
  13336. "description": "成交价格",
  13337. "type": "number"
  13338. },
  13339. "tradeqty": {
  13340. "description": "成交数量",
  13341. "type": "integer"
  13342. }
  13343. }
  13344. },
  13345. "cptrade.QueryCPTradeOrderDetailRsq": {
  13346. "type": "object",
  13347. "required": [
  13348. "accountid",
  13349. "buildtype",
  13350. "buyorsell",
  13351. "goodsid",
  13352. "marketid",
  13353. "memberuserid",
  13354. "operatetype",
  13355. "orderqty",
  13356. "ordertime",
  13357. "pricemode",
  13358. "strorderid",
  13359. "tradedate",
  13360. "validtype"
  13361. ],
  13362. "properties": {
  13363. "accountid": {
  13364. "description": "账户ID[报价币种]",
  13365. "type": "integer"
  13366. },
  13367. "buildtype": {
  13368. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  13369. "type": "integer"
  13370. },
  13371. "buyorsell": {
  13372. "description": "买卖 - 0:买 1:卖",
  13373. "type": "integer"
  13374. },
  13375. "cancelorderid": {
  13376. "description": "撤单单号(撤单时填写)",
  13377. "type": "integer"
  13378. },
  13379. "cancelqty": {
  13380. "description": "撤单数量",
  13381. "type": "integer"
  13382. },
  13383. "clientordertime": {
  13384. "description": "客户端委托时间",
  13385. "type": "string"
  13386. },
  13387. "clientticket": {
  13388. "description": "客户端流水号",
  13389. "type": "string"
  13390. },
  13391. "clienttype": {
  13392. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  13393. "type": "integer"
  13394. },
  13395. "closeexchagechargevalue": {
  13396. "description": "平仓交易所手续费设置值",
  13397. "type": "number"
  13398. },
  13399. "closefeealgorithm": {
  13400. "description": "平仓手续费收取方式 1:比率 2:固定",
  13401. "type": "integer"
  13402. },
  13403. "closefreezecharge": {
  13404. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  13405. "type": "number"
  13406. },
  13407. "closememberchargevalue": {
  13408. "description": "平仓会员手续费设置值",
  13409. "type": "number"
  13410. },
  13411. "closeqty": {
  13412. "description": "平仓数量(先建后平操作 需要记录)",
  13413. "type": "integer"
  13414. },
  13415. "closetradeqty": {
  13416. "description": "平仓成交数量(先建后平操作,需要记录)",
  13417. "type": "integer"
  13418. },
  13419. "closeunfreezecharge": {
  13420. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  13421. "type": "number"
  13422. },
  13423. "delistingtype": {
  13424. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  13425. "type": "integer"
  13426. },
  13427. "freezecharge": {
  13428. "description": "冻结手续费",
  13429. "type": "number"
  13430. },
  13431. "freezemargin": {
  13432. "description": "冻结保证金(冻结交易金额)",
  13433. "type": "number"
  13434. },
  13435. "gcaccountid": {
  13436. "description": "账户ID[合约币种]",
  13437. "type": "integer"
  13438. },
  13439. "goodsid": {
  13440. "description": "商品ID",
  13441. "type": "integer"
  13442. },
  13443. "isconfirmexercise": {
  13444. "description": "是否确认行权- 0:否 1:是",
  13445. "type": "integer"
  13446. },
  13447. "ispreexercise": {
  13448. "description": "是否预申报- 0:否 1:是",
  13449. "type": "integer"
  13450. },
  13451. "listingselecttype": {
  13452. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13453. "type": "integer"
  13454. },
  13455. "marginalgorithm": {
  13456. "description": "保证金收取方式 1:比率 2:固定",
  13457. "type": "integer"
  13458. },
  13459. "marginvalue": {
  13460. "description": "即市保证金设置值",
  13461. "type": "number"
  13462. },
  13463. "marketid": {
  13464. "description": "市场ID",
  13465. "type": "integer"
  13466. },
  13467. "marketmaxsub": {
  13468. "description": "市价最大偏移范围",
  13469. "type": "number"
  13470. },
  13471. "memberuserid": {
  13472. "description": "所属会员UserID",
  13473. "type": "integer"
  13474. },
  13475. "openexchagechargevalue": {
  13476. "description": "建仓交易所手续费设置值",
  13477. "type": "number"
  13478. },
  13479. "openfeealgorithm": {
  13480. "description": "建仓手续费收取方式 1:比率 2:固定",
  13481. "type": "integer"
  13482. },
  13483. "openfreezecharge": {
  13484. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  13485. "type": "number"
  13486. },
  13487. "openmemberchargevalue": {
  13488. "description": "建仓会员手续费设置值",
  13489. "type": "number"
  13490. },
  13491. "openqty": {
  13492. "description": "开仓数量(先建后平操作,需要记录)",
  13493. "type": "integer"
  13494. },
  13495. "opentradeqty": {
  13496. "description": "开仓成交数量(先建后平操作,需要记录)",
  13497. "type": "integer"
  13498. },
  13499. "openunfreezecharge": {
  13500. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  13501. "type": "number"
  13502. },
  13503. "operatetype": {
  13504. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  13505. "type": "integer"
  13506. },
  13507. "operatorid": {
  13508. "description": "登录账号(LoginID)",
  13509. "type": "integer"
  13510. },
  13511. "optiontype": {
  13512. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  13513. "type": "integer"
  13514. },
  13515. "orderprice": {
  13516. "description": "委托价格",
  13517. "type": "number"
  13518. },
  13519. "orderqty": {
  13520. "description": "委托数量",
  13521. "type": "integer"
  13522. },
  13523. "ordersrc": {
  13524. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  13525. "type": "integer"
  13526. },
  13527. "orderstatus": {
  13528. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13529. "type": "integer"
  13530. },
  13531. "ordertime": {
  13532. "description": "委托时间",
  13533. "type": "string"
  13534. },
  13535. "preexerciseprice": {
  13536. "description": "预申报价格",
  13537. "type": "number"
  13538. },
  13539. "premium": {
  13540. "description": "权利金",
  13541. "type": "number"
  13542. },
  13543. "preorderid": {
  13544. "description": "关联预埋单号(止盈止损单时填写)",
  13545. "type": "integer"
  13546. },
  13547. "pricemode": {
  13548. "description": "取价方式 - 1:市价 2: 限价",
  13549. "type": "integer"
  13550. },
  13551. "quoteid": {
  13552. "description": "报价单ID",
  13553. "type": "integer"
  13554. },
  13555. "relatedid": {
  13556. "description": "关联单号(交割单)",
  13557. "type": "integer"
  13558. },
  13559. "retcode": {
  13560. "description": "错误代码",
  13561. "type": "integer"
  13562. },
  13563. "sessionid": {
  13564. "description": "会话ID",
  13565. "type": "integer"
  13566. },
  13567. "strorderid": {
  13568. "description": "委托单号",
  13569. "type": "string"
  13570. },
  13571. "tradedate": {
  13572. "description": "交易日(yyyyMMdd)",
  13573. "type": "string"
  13574. },
  13575. "tradeproperty": {
  13576. "description": "交易属性",
  13577. "type": "integer"
  13578. },
  13579. "tradeqty": {
  13580. "description": "成交数量",
  13581. "type": "integer"
  13582. },
  13583. "unfreezecharge": {
  13584. "description": "解冻手续费",
  13585. "type": "number"
  13586. },
  13587. "unfreezemargin": {
  13588. "description": "解冻保证金",
  13589. "type": "number"
  13590. },
  13591. "updatetime": {
  13592. "description": "更新时间",
  13593. "type": "string"
  13594. },
  13595. "uuid": {
  13596. "description": "发起端唯一id",
  13597. "type": "string"
  13598. },
  13599. "validtime": {
  13600. "description": "有效期限",
  13601. "type": "string"
  13602. },
  13603. "validtype": {
  13604. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  13605. "type": "integer"
  13606. },
  13607. "volumetype": {
  13608. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  13609. "type": "integer"
  13610. }
  13611. }
  13612. },
  13613. "cptrade.QueryMyCPTradeGoodsRsp": {
  13614. "type": "object",
  13615. "required": [
  13616. "goodscode",
  13617. "goodsid",
  13618. "goodsname",
  13619. "marketid",
  13620. "relatedgoodscode",
  13621. "relatedgoodsname"
  13622. ],
  13623. "properties": {
  13624. "accountid": {
  13625. "description": "卖方账户ID",
  13626. "type": "integer"
  13627. },
  13628. "agreeunit": {
  13629. "description": "合约单位",
  13630. "type": "number"
  13631. },
  13632. "applyid": {
  13633. "description": "关联申请ID",
  13634. "type": "integer"
  13635. },
  13636. "attachmenturl": {
  13637. "description": "附件地址",
  13638. "type": "string"
  13639. },
  13640. "createtime": {
  13641. "description": "创建时间",
  13642. "type": "string"
  13643. },
  13644. "currencyid": {
  13645. "description": "报价货币ID",
  13646. "type": "integer"
  13647. },
  13648. "decimalplace": {
  13649. "description": "报价小数位",
  13650. "type": "integer"
  13651. },
  13652. "endtime": {
  13653. "description": "预售结束时间",
  13654. "type": "string"
  13655. },
  13656. "floorprice": {
  13657. "description": "底价[大宗式竞拍]",
  13658. "type": "number"
  13659. },
  13660. "goodscode": {
  13661. "description": "商品代码(预售)",
  13662. "type": "string"
  13663. },
  13664. "goodsdetail": {
  13665. "description": "详情[大宗]",
  13666. "type": "string"
  13667. },
  13668. "goodsid": {
  13669. "description": "商品ID(自增ID SEQ_GOODS)",
  13670. "type": "integer"
  13671. },
  13672. "goodsname": {
  13673. "description": "商品名称(预售)",
  13674. "type": "string"
  13675. },
  13676. "goodunit": {
  13677. "description": "报价单位",
  13678. "type": "string"
  13679. },
  13680. "goodunitid": {
  13681. "description": "报价单位ID",
  13682. "type": "integer"
  13683. },
  13684. "marketid": {
  13685. "description": "所属市场ID",
  13686. "type": "integer"
  13687. },
  13688. "marketname": {
  13689. "description": "预售市场名称",
  13690. "type": "string"
  13691. },
  13692. "presaledamount": {
  13693. "description": "已预售总金额(预售结束时更新)",
  13694. "type": "number"
  13695. },
  13696. "presaledqty": {
  13697. "description": "已预售量(预售结束时更新)",
  13698. "type": "integer"
  13699. },
  13700. "presalemode": {
  13701. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  13702. "type": "integer"
  13703. },
  13704. "presaleqty": {
  13705. "description": "预售数量",
  13706. "type": "integer"
  13707. },
  13708. "refprice": {
  13709. "description": "参考价格[一口价]",
  13710. "type": "number"
  13711. },
  13712. "relatedgoodscode": {
  13713. "description": "商品代码(订单)",
  13714. "type": "string"
  13715. },
  13716. "relatedgoodsid": {
  13717. "description": "关联交易合约ID",
  13718. "type": "integer"
  13719. },
  13720. "relatedgoodsname": {
  13721. "description": "商品名称(订单)",
  13722. "type": "string"
  13723. },
  13724. "relatedmarketid": {
  13725. "description": "关联交易合约市场ID",
  13726. "type": "integer"
  13727. },
  13728. "sellstatus": {
  13729. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  13730. "type": "integer"
  13731. },
  13732. "startprice": {
  13733. "description": "起拍价[大宗式竞拍]",
  13734. "type": "number"
  13735. },
  13736. "starttime": {
  13737. "description": "预售开始时间",
  13738. "type": "string"
  13739. },
  13740. "tradedate": {
  13741. "description": "交易日(yyyyMMdd)",
  13742. "type": "string"
  13743. },
  13744. "tradeprice": {
  13745. "description": "成交价[大宗]",
  13746. "type": "number"
  13747. },
  13748. "userid": {
  13749. "description": "卖方用户ID",
  13750. "type": "integer"
  13751. }
  13752. }
  13753. },
  13754. "cptrade.QueryPresaleGoodsExRsp": {
  13755. "type": "object",
  13756. "required": [
  13757. "goodsid"
  13758. ],
  13759. "properties": {
  13760. "attachmenturl": {
  13761. "description": "附件地址",
  13762. "type": "string"
  13763. },
  13764. "createtime": {
  13765. "description": "创建时间",
  13766. "type": "string"
  13767. },
  13768. "endtime": {
  13769. "description": "预售结束时间",
  13770. "type": "string"
  13771. },
  13772. "floorprice": {
  13773. "description": "底价[大宗式竞拍]",
  13774. "type": "number"
  13775. },
  13776. "goodsdetail": {
  13777. "description": "详情[大宗]",
  13778. "type": "string"
  13779. },
  13780. "goodsid": {
  13781. "description": "商品ID(预售)",
  13782. "type": "integer"
  13783. },
  13784. "goodunit": {
  13785. "description": "报价单位",
  13786. "type": "string"
  13787. },
  13788. "marketid": {
  13789. "description": "预售市场ID - 根据预售模式选择市场",
  13790. "type": "integer"
  13791. },
  13792. "presaledamount": {
  13793. "description": "已预售总金额(预售结束时更新)",
  13794. "type": "number"
  13795. },
  13796. "presaledqty": {
  13797. "description": "已预售量(预售结束时更新)",
  13798. "type": "integer"
  13799. },
  13800. "presalemode": {
  13801. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  13802. "type": "integer"
  13803. },
  13804. "presaleqty": {
  13805. "description": "预售数量",
  13806. "type": "integer"
  13807. },
  13808. "refprice": {
  13809. "description": "参考价格[一口价]",
  13810. "type": "number"
  13811. },
  13812. "relatedgoodsid": {
  13813. "description": "关联交易合约ID",
  13814. "type": "integer"
  13815. },
  13816. "relatedmarketid": {
  13817. "description": "关联交易合约市场ID",
  13818. "type": "integer"
  13819. },
  13820. "sellstatus": {
  13821. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  13822. "type": "integer"
  13823. },
  13824. "startprice": {
  13825. "description": "起拍价[大宗式竞拍]",
  13826. "type": "number"
  13827. },
  13828. "starttime": {
  13829. "description": "预售开始时间",
  13830. "type": "string"
  13831. },
  13832. "tradedate": {
  13833. "description": "交易日(yyyyMMdd)",
  13834. "type": "string"
  13835. },
  13836. "tradeprice": {
  13837. "description": "成交价[大宗]",
  13838. "type": "number"
  13839. }
  13840. }
  13841. },
  13842. "delivery.QueryDeliveryRelationRsp": {
  13843. "type": "object",
  13844. "required": [
  13845. "begindate",
  13846. "enddate",
  13847. "goodsid",
  13848. "mindeliveryqty",
  13849. "xdeliveryratio"
  13850. ],
  13851. "properties": {
  13852. "begindate": {
  13853. "description": "起始日期(yyyyMMdd)",
  13854. "type": "string"
  13855. },
  13856. "buytemplateid": {
  13857. "description": "买履约计划模板ID",
  13858. "type": "integer"
  13859. },
  13860. "deliverygoodscode": {
  13861. "description": "品种代码",
  13862. "type": "string"
  13863. },
  13864. "deliverygoodsid": {
  13865. "description": "交割商品",
  13866. "type": "integer"
  13867. },
  13868. "deliverygoodsname": {
  13869. "description": "品种名称",
  13870. "type": "string"
  13871. },
  13872. "deliverymode": {
  13873. "description": "交割方式 - 1:点选式 2:申报式",
  13874. "type": "integer"
  13875. },
  13876. "deliverypricerule": {
  13877. "description": "交割价规则- 1:行情价 2:建仓价",
  13878. "type": "integer"
  13879. },
  13880. "deliverytype": {
  13881. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  13882. "type": "integer"
  13883. },
  13884. "enddate": {
  13885. "description": "结束日期(yyyyMMdd)",
  13886. "type": "string"
  13887. },
  13888. "enumdicname": {
  13889. "description": "品类单位名称",
  13890. "type": "string"
  13891. },
  13892. "goodscode": {
  13893. "description": "商品代码",
  13894. "type": "string"
  13895. },
  13896. "goodsid": {
  13897. "description": "交易合约ID",
  13898. "type": "integer"
  13899. },
  13900. "goodsname": {
  13901. "description": "商品名称",
  13902. "type": "string"
  13903. },
  13904. "marketid": {
  13905. "description": "市场ID",
  13906. "type": "integer"
  13907. },
  13908. "mindeliveryqty": {
  13909. "description": "最小交割系数(K)",
  13910. "type": "integer"
  13911. },
  13912. "p2deliveryprice": {
  13913. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  13914. "type": "number"
  13915. },
  13916. "p2deliveryratio": {
  13917. "description": "P2合约系数(p)",
  13918. "type": "integer"
  13919. },
  13920. "p2goodsid": {
  13921. "description": "P2合约ID",
  13922. "type": "integer"
  13923. },
  13924. "p2pricemode": {
  13925. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  13926. "type": "integer"
  13927. },
  13928. "pdeliveryprice": {
  13929. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  13930. "type": "number"
  13931. },
  13932. "pdeliveryratio": {
  13933. "description": "P合约系数(n)",
  13934. "type": "integer"
  13935. },
  13936. "pgoodscode": {
  13937. "description": "p合约代码",
  13938. "type": "string"
  13939. },
  13940. "pgoodsid": {
  13941. "description": "P合约ID",
  13942. "type": "integer"
  13943. },
  13944. "ppricemode": {
  13945. "description": "P合约价格方式 - 1:商品价 2:固定值",
  13946. "type": "integer"
  13947. },
  13948. "rratio": {
  13949. "description": "兑换系数(R)",
  13950. "type": "integer"
  13951. },
  13952. "rratio1": {
  13953. "description": "兑换系数(交易合约)(R1)",
  13954. "type": "integer"
  13955. },
  13956. "rratio2": {
  13957. "description": "兑换系数(仓单标准)(R2)",
  13958. "type": "integer"
  13959. },
  13960. "selltemplateid": {
  13961. "description": "卖履约计划模板ID",
  13962. "type": "integer"
  13963. },
  13964. "wrstandardid": {
  13965. "description": "仓单标准ID",
  13966. "type": "integer"
  13967. },
  13968. "xdeliveryratio": {
  13969. "description": "交易合约系数(m)",
  13970. "type": "integer"
  13971. }
  13972. }
  13973. },
  13974. "ermcp.ExposureDetailRsp": {
  13975. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  13976. },
  13977. "ermcp.ExposureHedgePosDetailRsp": {
  13978. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  13979. },
  13980. "ermcp.ExposureHedgePositionRsp": {
  13981. "$ref": "#/definitions/models.ErmcpHedgePosition"
  13982. },
  13983. "ermcp.ExposureSpotDetailRsp": {
  13984. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  13985. },
  13986. "ermcp.ExposureSpotRsp": {
  13987. "$ref": "#/definitions/models.AreaSpotModel"
  13988. },
  13989. "ermcp.HisExposureRsp": {
  13990. "$ref": "#/definitions/models.ErmcpHisExposureS"
  13991. },
  13992. "ermcp.PendingAuditCntRsp": {
  13993. "$ref": "#/definitions/models.ErmcpPendingAudit"
  13994. },
  13995. "ermcp.QryAvalidGPRsp": {
  13996. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  13997. },
  13998. "ermcp.QryBusinessDjRsp": {
  13999. "type": "object",
  14000. "properties": {
  14001. "amount": {
  14002. "description": "点价金额=(点价价格+升贴水)*点价数量",
  14003. "type": "number"
  14004. },
  14005. "applyid": {
  14006. "description": "申请人",
  14007. "type": "string"
  14008. },
  14009. "applyname": {
  14010. "description": "申请人名称",
  14011. "type": "string"
  14012. },
  14013. "applystatus": {
  14014. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14015. "type": "integer"
  14016. },
  14017. "applytime": {
  14018. "description": "申请时间",
  14019. "type": "string"
  14020. },
  14021. "attachurl": {
  14022. "description": "附件",
  14023. "type": "string"
  14024. },
  14025. "auditid": {
  14026. "description": "审核人ID",
  14027. "type": "string"
  14028. },
  14029. "auditname": {
  14030. "description": "审核人名称",
  14031. "type": "string"
  14032. },
  14033. "audittime": {
  14034. "description": "审核时间",
  14035. "type": "string"
  14036. },
  14037. "buyusername": {
  14038. "description": "采购方名称",
  14039. "type": "string"
  14040. },
  14041. "contractno": {
  14042. "description": "合同编号",
  14043. "type": "string"
  14044. },
  14045. "contractstatus": {
  14046. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14047. "type": "integer"
  14048. },
  14049. "contracttype": {
  14050. "description": "现货合同类型 - 1:采购 -1:销售",
  14051. "type": "integer"
  14052. },
  14053. "deliverygoodscode": {
  14054. "description": "现货品种代码",
  14055. "type": "string"
  14056. },
  14057. "deliverygoodsid": {
  14058. "description": "现货商品ID",
  14059. "type": "integer"
  14060. },
  14061. "deliverygoodsname": {
  14062. "description": "现货品种名称",
  14063. "type": "string"
  14064. },
  14065. "enumdicname": {
  14066. "description": "单位名称",
  14067. "type": "string"
  14068. },
  14069. "goodscode": {
  14070. "description": "点价合约",
  14071. "type": "string"
  14072. },
  14073. "goodsname": {
  14074. "description": "商品名称",
  14075. "type": "string"
  14076. },
  14077. "operateapplyid": {
  14078. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14079. "type": "string"
  14080. },
  14081. "operateapplytype": {
  14082. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14083. "type": "integer"
  14084. },
  14085. "pricedPrice": {
  14086. "description": "点价价格(非必填)",
  14087. "type": "number"
  14088. },
  14089. "pricedQty": {
  14090. "description": "点价数量(非必填)",
  14091. "type": "number"
  14092. },
  14093. "pricemove": {
  14094. "description": "升贴水",
  14095. "type": "number"
  14096. },
  14097. "pricetype": {
  14098. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14099. "type": "integer"
  14100. },
  14101. "relatedid": {
  14102. "description": "现货合同ID",
  14103. "type": "string"
  14104. },
  14105. "sellusername": {
  14106. "description": "销售方名字",
  14107. "type": "string"
  14108. },
  14109. "userid": {
  14110. "description": "用户ID",
  14111. "type": "integer"
  14112. },
  14113. "wrstandardcode": {
  14114. "description": "品类代码",
  14115. "type": "string"
  14116. },
  14117. "wrstandardid": {
  14118. "description": "品类id",
  14119. "type": "integer"
  14120. },
  14121. "wrstandardname": {
  14122. "description": "品类名称",
  14123. "type": "string"
  14124. }
  14125. }
  14126. },
  14127. "ermcp.QryBussinessFpRsp": {
  14128. "type": "object",
  14129. "properties": {
  14130. "applyid": {
  14131. "description": "申请人",
  14132. "type": "string"
  14133. },
  14134. "applyname": {
  14135. "description": "申请人名称",
  14136. "type": "string"
  14137. },
  14138. "applystatus": {
  14139. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14140. "type": "integer"
  14141. },
  14142. "applytime": {
  14143. "description": "申请时间",
  14144. "type": "string"
  14145. },
  14146. "attachurl": {
  14147. "description": "附件",
  14148. "type": "string"
  14149. },
  14150. "auditid": {
  14151. "description": "审核人ID",
  14152. "type": "string"
  14153. },
  14154. "auditname": {
  14155. "description": "审核人名称",
  14156. "type": "string"
  14157. },
  14158. "audittime": {
  14159. "description": "审核时间",
  14160. "type": "string"
  14161. },
  14162. "buyusername": {
  14163. "description": "采购方名称",
  14164. "type": "string"
  14165. },
  14166. "contractno": {
  14167. "description": "合同编号",
  14168. "type": "string"
  14169. },
  14170. "contractstatus": {
  14171. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14172. "type": "integer"
  14173. },
  14174. "contracttype": {
  14175. "description": "现货合同类型 - 1:采购 -1:销售",
  14176. "type": "integer"
  14177. },
  14178. "deliverygoodscode": {
  14179. "description": "现货品种代码",
  14180. "type": "string"
  14181. },
  14182. "deliverygoodsid": {
  14183. "description": "现货商品ID",
  14184. "type": "integer"
  14185. },
  14186. "deliverygoodsname": {
  14187. "description": "现货品种名称",
  14188. "type": "string"
  14189. },
  14190. "enumdicname": {
  14191. "description": "单位名称",
  14192. "type": "string"
  14193. },
  14194. "goodscode": {
  14195. "description": "点价合约",
  14196. "type": "string"
  14197. },
  14198. "goodsname": {
  14199. "description": "商品名称",
  14200. "type": "string"
  14201. },
  14202. "invoiceAmount": {
  14203. "description": "已开收票金额(销售为开票,采购为收票)",
  14204. "type": "number"
  14205. },
  14206. "operateapplyid": {
  14207. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14208. "type": "string"
  14209. },
  14210. "operateapplytype": {
  14211. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14212. "type": "integer"
  14213. },
  14214. "pricemove": {
  14215. "description": "升贴水",
  14216. "type": "number"
  14217. },
  14218. "pricetype": {
  14219. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14220. "type": "integer"
  14221. },
  14222. "relatedid": {
  14223. "description": "现货合同ID",
  14224. "type": "string"
  14225. },
  14226. "sellusername": {
  14227. "description": "销售方名字",
  14228. "type": "string"
  14229. },
  14230. "userid": {
  14231. "description": "用户ID",
  14232. "type": "integer"
  14233. },
  14234. "wrstandardcode": {
  14235. "description": "品类代码",
  14236. "type": "string"
  14237. },
  14238. "wrstandardid": {
  14239. "description": "品类id",
  14240. "type": "integer"
  14241. },
  14242. "wrstandardname": {
  14243. "description": "品类名称",
  14244. "type": "string"
  14245. }
  14246. }
  14247. },
  14248. "ermcp.QryBussinessJsExRsp": {
  14249. "type": "object",
  14250. "properties": {
  14251. "applyid": {
  14252. "description": "申请人",
  14253. "type": "string"
  14254. },
  14255. "applyname": {
  14256. "description": "申请人名称",
  14257. "type": "string"
  14258. },
  14259. "applystatus": {
  14260. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14261. "type": "integer"
  14262. },
  14263. "applytime": {
  14264. "description": "申请时间",
  14265. "type": "string"
  14266. },
  14267. "attachurl": {
  14268. "description": "附件",
  14269. "type": "string"
  14270. },
  14271. "auditid": {
  14272. "description": "审核人ID",
  14273. "type": "string"
  14274. },
  14275. "auditname": {
  14276. "description": "审核人名称",
  14277. "type": "string"
  14278. },
  14279. "audittime": {
  14280. "description": "审核时间",
  14281. "type": "string"
  14282. },
  14283. "buyusername": {
  14284. "description": "采购方名称",
  14285. "type": "string"
  14286. },
  14287. "contractno": {
  14288. "description": "合同编号",
  14289. "type": "string"
  14290. },
  14291. "contractstatus": {
  14292. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14293. "type": "integer"
  14294. },
  14295. "contracttype": {
  14296. "description": "现货合同类型 - 1:采购 -1:销售",
  14297. "type": "integer"
  14298. },
  14299. "deliverygoodscode": {
  14300. "description": "现货品种代码",
  14301. "type": "string"
  14302. },
  14303. "deliverygoodsid": {
  14304. "description": "现货商品ID",
  14305. "type": "integer"
  14306. },
  14307. "deliverygoodsname": {
  14308. "description": "现货品种名称",
  14309. "type": "string"
  14310. },
  14311. "enumdicname": {
  14312. "description": "单位名称",
  14313. "type": "string"
  14314. },
  14315. "goodscode": {
  14316. "description": "点价合约",
  14317. "type": "string"
  14318. },
  14319. "goodsname": {
  14320. "description": "商品名称",
  14321. "type": "string"
  14322. },
  14323. "operateapplyid": {
  14324. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14325. "type": "string"
  14326. },
  14327. "operateapplytype": {
  14328. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14329. "type": "integer"
  14330. },
  14331. "pricemove": {
  14332. "description": "升贴水",
  14333. "type": "number"
  14334. },
  14335. "pricetype": {
  14336. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14337. "type": "integer"
  14338. },
  14339. "reckontype": {
  14340. "description": "结算类型",
  14341. "type": "string"
  14342. },
  14343. "reckonvalue": {
  14344. "description": "值",
  14345. "type": "number"
  14346. },
  14347. "relatedid": {
  14348. "description": "现货合同ID",
  14349. "type": "string"
  14350. },
  14351. "sellusername": {
  14352. "description": "销售方名字",
  14353. "type": "string"
  14354. },
  14355. "userid": {
  14356. "description": "用户ID",
  14357. "type": "integer"
  14358. },
  14359. "wrstandardcode": {
  14360. "description": "品类代码",
  14361. "type": "string"
  14362. },
  14363. "wrstandardid": {
  14364. "description": "品类id",
  14365. "type": "integer"
  14366. },
  14367. "wrstandardname": {
  14368. "description": "品类名称",
  14369. "type": "string"
  14370. }
  14371. }
  14372. },
  14373. "ermcp.QryBussinessJsRsp": {
  14374. "type": "object",
  14375. "properties": {
  14376. "addmargin": {
  14377. "description": "追加保证金(非必填)",
  14378. "type": "number"
  14379. },
  14380. "applyid": {
  14381. "description": "申请人",
  14382. "type": "string"
  14383. },
  14384. "applyname": {
  14385. "description": "申请人名称",
  14386. "type": "string"
  14387. },
  14388. "applystatus": {
  14389. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14390. "type": "integer"
  14391. },
  14392. "applytime": {
  14393. "description": "申请时间",
  14394. "type": "string"
  14395. },
  14396. "attachurl": {
  14397. "description": "附件",
  14398. "type": "string"
  14399. },
  14400. "auditid": {
  14401. "description": "审核人ID",
  14402. "type": "string"
  14403. },
  14404. "auditname": {
  14405. "description": "审核人名称",
  14406. "type": "string"
  14407. },
  14408. "audittime": {
  14409. "description": "审核时间",
  14410. "type": "string"
  14411. },
  14412. "buyusername": {
  14413. "description": "采购方名称",
  14414. "type": "string"
  14415. },
  14416. "contractno": {
  14417. "description": "合同编号",
  14418. "type": "string"
  14419. },
  14420. "contractstatus": {
  14421. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14422. "type": "integer"
  14423. },
  14424. "contracttype": {
  14425. "description": "现货合同类型 - 1:采购 -1:销售",
  14426. "type": "integer"
  14427. },
  14428. "decmargin": {
  14429. "description": "减少保证金(非必填)",
  14430. "type": "number"
  14431. },
  14432. "deliverygoodscode": {
  14433. "description": "现货品种代码",
  14434. "type": "string"
  14435. },
  14436. "deliverygoodsid": {
  14437. "description": "现货商品ID",
  14438. "type": "integer"
  14439. },
  14440. "deliverygoodsname": {
  14441. "description": "现货品种名称",
  14442. "type": "string"
  14443. },
  14444. "enumdicname": {
  14445. "description": "单位名称",
  14446. "type": "string"
  14447. },
  14448. "goodscode": {
  14449. "description": "点价合约",
  14450. "type": "string"
  14451. },
  14452. "goodsname": {
  14453. "description": "商品名称",
  14454. "type": "string"
  14455. },
  14456. "operateapplyid": {
  14457. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14458. "type": "string"
  14459. },
  14460. "operateapplytype": {
  14461. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14462. "type": "integer"
  14463. },
  14464. "pricemove": {
  14465. "description": "升贴水",
  14466. "type": "number"
  14467. },
  14468. "pricetype": {
  14469. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14470. "type": "integer"
  14471. },
  14472. "reckonadjustamount": {
  14473. "description": "结算调整金额(非必填)",
  14474. "type": "number"
  14475. },
  14476. "reckonosamount": {
  14477. "description": "结算溢短金额(非必填)",
  14478. "type": "number"
  14479. },
  14480. "reckonotheramount": {
  14481. "description": "结算其他费用(非必填)",
  14482. "type": "number"
  14483. },
  14484. "reckonrealqty": {
  14485. "description": "结算实际数量(非必填)",
  14486. "type": "number"
  14487. },
  14488. "relatedid": {
  14489. "description": "现货合同ID",
  14490. "type": "string"
  14491. },
  14492. "sellusername": {
  14493. "description": "销售方名字",
  14494. "type": "string"
  14495. },
  14496. "userid": {
  14497. "description": "用户ID",
  14498. "type": "integer"
  14499. },
  14500. "wrstandardcode": {
  14501. "description": "品类代码",
  14502. "type": "string"
  14503. },
  14504. "wrstandardid": {
  14505. "description": "品类id",
  14506. "type": "integer"
  14507. },
  14508. "wrstandardname": {
  14509. "description": "品类名称",
  14510. "type": "string"
  14511. }
  14512. }
  14513. },
  14514. "ermcp.QryBussinessKxRsp": {
  14515. "type": "object",
  14516. "properties": {
  14517. "applyid": {
  14518. "description": "申请人",
  14519. "type": "string"
  14520. },
  14521. "applyname": {
  14522. "description": "申请人名称",
  14523. "type": "string"
  14524. },
  14525. "applystatus": {
  14526. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14527. "type": "integer"
  14528. },
  14529. "applytime": {
  14530. "description": "申请时间",
  14531. "type": "string"
  14532. },
  14533. "attachurl": {
  14534. "description": "附件",
  14535. "type": "string"
  14536. },
  14537. "auditid": {
  14538. "description": "审核人ID",
  14539. "type": "string"
  14540. },
  14541. "auditname": {
  14542. "description": "审核人名称",
  14543. "type": "string"
  14544. },
  14545. "audittime": {
  14546. "description": "审核时间",
  14547. "type": "string"
  14548. },
  14549. "buyusername": {
  14550. "description": "采购方名称",
  14551. "type": "string"
  14552. },
  14553. "contractno": {
  14554. "description": "合同编号",
  14555. "type": "string"
  14556. },
  14557. "contractstatus": {
  14558. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14559. "type": "integer"
  14560. },
  14561. "contracttype": {
  14562. "description": "现货合同类型 - 1:采购 -1:销售",
  14563. "type": "integer"
  14564. },
  14565. "deductamount": {
  14566. "description": "退款(非必填)",
  14567. "type": "number"
  14568. },
  14569. "deliverygoodscode": {
  14570. "description": "现货品种代码",
  14571. "type": "string"
  14572. },
  14573. "deliverygoodsid": {
  14574. "description": "现货商品ID",
  14575. "type": "integer"
  14576. },
  14577. "deliverygoodsname": {
  14578. "description": "现货品种名称",
  14579. "type": "string"
  14580. },
  14581. "enumdicname": {
  14582. "description": "单位名称",
  14583. "type": "string"
  14584. },
  14585. "goodscode": {
  14586. "description": "点价合约",
  14587. "type": "string"
  14588. },
  14589. "goodsname": {
  14590. "description": "商品名称",
  14591. "type": "string"
  14592. },
  14593. "kxtype": {
  14594. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  14595. "type": "integer"
  14596. },
  14597. "operateapplyid": {
  14598. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14599. "type": "string"
  14600. },
  14601. "operateapplytype": {
  14602. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14603. "type": "integer"
  14604. },
  14605. "payamount": {
  14606. "description": "收付款(非必填)",
  14607. "type": "number"
  14608. },
  14609. "pricemove": {
  14610. "description": "升贴水",
  14611. "type": "number"
  14612. },
  14613. "pricetype": {
  14614. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14615. "type": "integer"
  14616. },
  14617. "relatedid": {
  14618. "description": "现货合同ID",
  14619. "type": "string"
  14620. },
  14621. "sellusername": {
  14622. "description": "销售方名字",
  14623. "type": "string"
  14624. },
  14625. "userid": {
  14626. "description": "用户ID",
  14627. "type": "integer"
  14628. },
  14629. "wrstandardcode": {
  14630. "description": "品类代码",
  14631. "type": "string"
  14632. },
  14633. "wrstandardid": {
  14634. "description": "品类id",
  14635. "type": "integer"
  14636. },
  14637. "wrstandardname": {
  14638. "description": "品类名称",
  14639. "type": "string"
  14640. }
  14641. }
  14642. },
  14643. "ermcp.QryGGCovertCfgRsp": {
  14644. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  14645. },
  14646. "ermcp.QryMGChangeLogRsp": {
  14647. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  14648. },
  14649. "ermcp.QryMiddleGoodsDetailRsp": {
  14650. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  14651. },
  14652. "ermcp.QryMiddleGoodsRsp": {
  14653. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14654. },
  14655. "ermcp.QryOPLogRsp": {
  14656. "$ref": "#/definitions/models.ErmcpOPLogModel"
  14657. },
  14658. "ermcp.QryUserInfoRsp": {
  14659. "$ref": "#/definitions/models.ErmcpUserModel"
  14660. },
  14661. "ermcp.QryWarehouseRsp": {
  14662. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  14663. },
  14664. "ermcp.QueryErmcpTradePositionRsp": {
  14665. "type": "object",
  14666. "properties": {
  14667. "agreeunit": {
  14668. "description": "合约单位",
  14669. "type": "number"
  14670. },
  14671. "buyorsell": {
  14672. "description": "方向 - 0:买 1:卖",
  14673. "type": "integer"
  14674. },
  14675. "curpositionqty": {
  14676. "description": "持仓(总仓数量, 期末头寸)",
  14677. "type": "integer"
  14678. },
  14679. "curtdposition": {
  14680. "description": "今仓数量(期末今日头寸)",
  14681. "type": "integer"
  14682. },
  14683. "curtdpositionenabled": {
  14684. "description": "今仓可用",
  14685. "type": "integer"
  14686. },
  14687. "decimalplace": {
  14688. "description": "报价小数位",
  14689. "type": "integer"
  14690. },
  14691. "enableqty": {
  14692. "description": "可用(总仓可用)",
  14693. "type": "integer"
  14694. },
  14695. "exexchangename": {
  14696. "description": "外部交易所名称",
  14697. "type": "string"
  14698. },
  14699. "goodscode": {
  14700. "description": "商品代码(内部)",
  14701. "type": "string"
  14702. },
  14703. "goodsid": {
  14704. "description": "商品ID(自增ID SEQ_GOODS)",
  14705. "type": "integer"
  14706. },
  14707. "goodsname": {
  14708. "description": "商品名称",
  14709. "type": "string"
  14710. },
  14711. "last": {
  14712. "description": "现价",
  14713. "type": "number"
  14714. },
  14715. "marketid": {
  14716. "description": "所属市场ID",
  14717. "type": "integer"
  14718. },
  14719. "openaverageprice": {
  14720. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  14721. "type": "number"
  14722. },
  14723. "opencost": {
  14724. "description": "开仓成本",
  14725. "type": "number"
  14726. },
  14727. "openpl": {
  14728. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  14729. "type": "number"
  14730. },
  14731. "outgoodscode": {
  14732. "description": "商品代码(外部)",
  14733. "type": "string"
  14734. },
  14735. "positionaverageprice": {
  14736. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  14737. "type": "number"
  14738. },
  14739. "positioncost": {
  14740. "description": "持仓成本",
  14741. "type": "number"
  14742. },
  14743. "positionpl": {
  14744. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  14745. "type": "number"
  14746. },
  14747. "positionplrate": {
  14748. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  14749. "type": "number"
  14750. },
  14751. "usedmargin": {
  14752. "description": "占用保证金",
  14753. "type": "number"
  14754. }
  14755. }
  14756. },
  14757. "ermcp.RealtimeExposurePositionRsp": {
  14758. "$ref": "#/definitions/models.ErmcpExposurePostion"
  14759. },
  14760. "ermcp.RealtimeExposureRsp": {
  14761. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  14762. },
  14763. "erms2.QueryArbitrageStrategyRsp": {
  14764. "type": "object",
  14765. "required": [
  14766. "asapplyid"
  14767. ],
  14768. "properties": {
  14769. "applybasis": {
  14770. "description": "申请基差",
  14771. "type": "number"
  14772. },
  14773. "asapplyid": {
  14774. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  14775. "type": "string"
  14776. },
  14777. "asname": {
  14778. "description": "策略名称",
  14779. "type": "string"
  14780. },
  14781. "asno": {
  14782. "description": "策略编号",
  14783. "type": "string"
  14784. },
  14785. "basischangepl": {
  14786. "description": "基差变动损益[结算更新]",
  14787. "type": "number"
  14788. },
  14789. "biztype": {
  14790. "description": "业务类型 - 1:正向套利 -1:反向套利",
  14791. "type": "integer"
  14792. },
  14793. "closetradedate": {
  14794. "description": "完结交易日(yyyyMMdd)",
  14795. "type": "string"
  14796. },
  14797. "curbasis": {
  14798. "description": "当前基差[结算更新]",
  14799. "type": "number"
  14800. },
  14801. "deliverygoodsid": {
  14802. "description": "现货品种ID",
  14803. "type": "integer"
  14804. },
  14805. "futureavgprice": {
  14806. "description": "期货建仓均价",
  14807. "type": "number"
  14808. },
  14809. "futurecloseamount": {
  14810. "description": "期货平仓金额",
  14811. "type": "number"
  14812. },
  14813. "futurecloseqty": {
  14814. "description": "期货平仓数量",
  14815. "type": "number"
  14816. },
  14817. "futureopenamount": {
  14818. "description": "期货开仓金额",
  14819. "type": "number"
  14820. },
  14821. "futureopenqty": {
  14822. "description": "期货开仓数量",
  14823. "type": "number"
  14824. },
  14825. "futurepl": {
  14826. "description": "期货总盈亏[结算更新]",
  14827. "type": "number"
  14828. },
  14829. "futureqty": {
  14830. "description": "期货持仓数量",
  14831. "type": "number"
  14832. },
  14833. "futurequote": {
  14834. "description": "期货额度",
  14835. "type": "number"
  14836. },
  14837. "goodsgroupid": {
  14838. "description": "期货品种ID",
  14839. "type": "integer"
  14840. },
  14841. "marketid": {
  14842. "description": "市场ID",
  14843. "type": "integer"
  14844. },
  14845. "netexposure": {
  14846. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  14847. "type": "number"
  14848. },
  14849. "netexposurepl": {
  14850. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  14851. "type": "number"
  14852. },
  14853. "netexposurerate": {
  14854. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  14855. "type": "number"
  14856. },
  14857. "openbasis": {
  14858. "description": "建仓基差",
  14859. "type": "number"
  14860. },
  14861. "pricedspotqty": {
  14862. "description": "已定价现货数量",
  14863. "type": "number"
  14864. },
  14865. "pricedspotqtynotax": {
  14866. "description": "已定价现货不含税数量",
  14867. "type": "number"
  14868. },
  14869. "remark": {
  14870. "description": "备注",
  14871. "type": "string"
  14872. },
  14873. "spotavgprice": {
  14874. "description": "现货均价",
  14875. "type": "number"
  14876. },
  14877. "spotbuyamount": {
  14878. "description": "现货采购金额",
  14879. "type": "number"
  14880. },
  14881. "spotbuyqty": {
  14882. "description": "现货采购数量",
  14883. "type": "number"
  14884. },
  14885. "spotpl": {
  14886. "description": "现货总盈亏[结算更新]",
  14887. "type": "number"
  14888. },
  14889. "spotquota": {
  14890. "description": "现货额度",
  14891. "type": "number"
  14892. },
  14893. "spotsellamount": {
  14894. "description": "现货销售金额",
  14895. "type": "number"
  14896. },
  14897. "spotsellqty": {
  14898. "description": "现货销售数量",
  14899. "type": "number"
  14900. },
  14901. "spotusedquota": {
  14902. "description": "现货占用资金",
  14903. "type": "number"
  14904. },
  14905. "strategystatus": {
  14906. "description": "策略状态 - 0:未结束 1:已结束",
  14907. "type": "integer"
  14908. },
  14909. "totalpl": {
  14910. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  14911. "type": "number"
  14912. },
  14913. "tradedate": {
  14914. "description": "交易日(yyyyMMdd)",
  14915. "type": "string"
  14916. },
  14917. "updatetime": {
  14918. "description": "更新时间",
  14919. "type": "string"
  14920. },
  14921. "usedquota": {
  14922. "description": "已占用资金",
  14923. "type": "number"
  14924. },
  14925. "userid": {
  14926. "description": "所属机构",
  14927. "type": "integer"
  14928. }
  14929. }
  14930. },
  14931. "erms2.QueryInnerTradeDetailRsp": {
  14932. "type": "object",
  14933. "required": [
  14934. "asapplyid",
  14935. "buyorsell",
  14936. "goodscode",
  14937. "goodsgroupid",
  14938. "goodsgroupname",
  14939. "goodsname",
  14940. "tradeid"
  14941. ],
  14942. "properties": {
  14943. "accountid": {
  14944. "description": "账号ID",
  14945. "type": "integer"
  14946. },
  14947. "agreeunit": {
  14948. "description": "合约单位",
  14949. "type": "number"
  14950. },
  14951. "asapplyid": {
  14952. "description": "策略申请ID",
  14953. "type": "integer"
  14954. },
  14955. "asname": {
  14956. "description": "策略名称",
  14957. "type": "string"
  14958. },
  14959. "asno": {
  14960. "description": "策略编号",
  14961. "type": "string"
  14962. },
  14963. "buyorsell": {
  14964. "description": "方向 - 0:买 1:卖",
  14965. "type": "integer"
  14966. },
  14967. "channelbuildtype": {
  14968. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  14969. "type": "integer"
  14970. },
  14971. "closetype": {
  14972. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  14973. "type": "integer"
  14974. },
  14975. "decimalplace": {
  14976. "description": "报价小数位",
  14977. "type": "integer"
  14978. },
  14979. "detailtype": {
  14980. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  14981. "type": "integer"
  14982. },
  14983. "exexchangecode": {
  14984. "description": "外部交易所代码",
  14985. "type": "string"
  14986. },
  14987. "exexchangename": {
  14988. "description": "外部交易所名称",
  14989. "type": "string"
  14990. },
  14991. "goodscode": {
  14992. "description": "商品代码(合约)",
  14993. "type": "string"
  14994. },
  14995. "goodsgroupid": {
  14996. "description": "商品组ID(品种ID)",
  14997. "type": "integer"
  14998. },
  14999. "goodsgroupname": {
  15000. "description": "商品组名称(品种)",
  15001. "type": "string"
  15002. },
  15003. "goodsid": {
  15004. "description": "商品ID",
  15005. "type": "integer"
  15006. },
  15007. "goodsname": {
  15008. "description": "商品名称(合约)",
  15009. "type": "string"
  15010. },
  15011. "goodunit": {
  15012. "description": "报价单位",
  15013. "type": "string"
  15014. },
  15015. "marketid": {
  15016. "description": "市场ID",
  15017. "type": "integer"
  15018. },
  15019. "orderid": {
  15020. "description": "委托单号",
  15021. "type": "string"
  15022. },
  15023. "outgoodscode": {
  15024. "description": "商品代码(外部)",
  15025. "type": "string"
  15026. },
  15027. "relatedouttradeid": {
  15028. "description": "关联外部成交单ID",
  15029. "type": "string"
  15030. },
  15031. "remark": {
  15032. "description": "备注",
  15033. "type": "string"
  15034. },
  15035. "spotcontractid": {
  15036. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  15037. "type": "integer"
  15038. },
  15039. "spotcontractno": {
  15040. "description": "现货合同编号",
  15041. "type": "string"
  15042. },
  15043. "tradeid": {
  15044. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15045. "type": "string"
  15046. },
  15047. "tradeprice": {
  15048. "description": "成交价格",
  15049. "type": "number"
  15050. },
  15051. "tradeqty": {
  15052. "description": "成交数量",
  15053. "type": "integer"
  15054. },
  15055. "tradetime": {
  15056. "description": "成交时间",
  15057. "type": "string"
  15058. },
  15059. "updatetime": {
  15060. "description": "更新时间",
  15061. "type": "string"
  15062. }
  15063. }
  15064. },
  15065. "erms2.QuerySpotContractRsp": {
  15066. "type": "object",
  15067. "required": [
  15068. "spotcontractid"
  15069. ],
  15070. "properties": {
  15071. "accountid": {
  15072. "description": "资金账户ID",
  15073. "type": "integer"
  15074. },
  15075. "areauserid": {
  15076. "description": "所属机构",
  15077. "type": "integer"
  15078. },
  15079. "closedate": {
  15080. "description": "终止日期",
  15081. "type": "string"
  15082. },
  15083. "closeremark": {
  15084. "description": "结束备注",
  15085. "type": "string"
  15086. },
  15087. "closetradedate": {
  15088. "description": "完结交易日(yyyyMMdd)",
  15089. "type": "string"
  15090. },
  15091. "closetype": {
  15092. "description": "终止类型 - 1:违约 2:提前终止",
  15093. "type": "integer"
  15094. },
  15095. "contractamount": {
  15096. "description": "合同金额",
  15097. "type": "number"
  15098. },
  15099. "contractattachment": {
  15100. "description": "合同附件",
  15101. "type": "string"
  15102. },
  15103. "contractno": {
  15104. "description": "现货合同编号",
  15105. "type": "string"
  15106. },
  15107. "contractqty": {
  15108. "description": "合同数量(数值) (用于计算)",
  15109. "type": "number"
  15110. },
  15111. "contractqtychar": {
  15112. "description": "合同数量\\已订价数量 (用于显示)",
  15113. "type": "string"
  15114. },
  15115. "contractstatus": {
  15116. "description": "合同状态 - 0:未结束 1:已结束",
  15117. "type": "integer"
  15118. },
  15119. "contracttype": {
  15120. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  15121. "type": "integer"
  15122. },
  15123. "customeraccountid": {
  15124. "description": "客户资金账户ID",
  15125. "type": "integer"
  15126. },
  15127. "customeruserid": {
  15128. "description": "客户ID",
  15129. "type": "integer"
  15130. },
  15131. "deliverygoodsdesc": {
  15132. "description": "品种说明",
  15133. "type": "string"
  15134. },
  15135. "deliverygoodsid": {
  15136. "description": "现货品种ID",
  15137. "type": "integer"
  15138. },
  15139. "handlestatus": {
  15140. "description": "处理状态",
  15141. "type": "integer"
  15142. },
  15143. "invoiceatt": {
  15144. "description": "发票附件",
  15145. "type": "string"
  15146. },
  15147. "invoicedatetime": {
  15148. "description": "开收票更新时间",
  15149. "type": "string"
  15150. },
  15151. "invoiceopentime": {
  15152. "description": "开票时间",
  15153. "type": "string"
  15154. },
  15155. "invoiceremark": {
  15156. "description": "发票备注",
  15157. "type": "string"
  15158. },
  15159. "invoicestatus": {
  15160. "description": "开收票状态 - 0:未开票 1:已开票",
  15161. "type": "integer"
  15162. },
  15163. "lastdate": {
  15164. "description": "交货时间",
  15165. "type": "string"
  15166. },
  15167. "marketid": {
  15168. "description": "市场ID",
  15169. "type": "integer"
  15170. },
  15171. "paydatetime": {
  15172. "description": "收付款更新时间",
  15173. "type": "string"
  15174. },
  15175. "payremark": {
  15176. "description": "收付款备注",
  15177. "type": "string"
  15178. },
  15179. "paystatus": {
  15180. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  15181. "type": "integer"
  15182. },
  15183. "positionqty": {
  15184. "description": "头寸数量 - 合同数量去小数部分",
  15185. "type": "integer"
  15186. },
  15187. "producttype": {
  15188. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15189. "type": "integer"
  15190. },
  15191. "relatedqty": {
  15192. "description": "已关联数量",
  15193. "type": "number"
  15194. },
  15195. "relatedstatus": {
  15196. "description": "关联完结状态 - 0:未结束 1:已结束",
  15197. "type": "integer"
  15198. },
  15199. "remark": {
  15200. "description": "备注",
  15201. "type": "string"
  15202. },
  15203. "signdate": {
  15204. "description": "签订日期",
  15205. "type": "string"
  15206. },
  15207. "spotcontractid": {
  15208. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  15209. "type": "string"
  15210. },
  15211. "spotdatetime": {
  15212. "description": "收发货更新时间",
  15213. "type": "string"
  15214. },
  15215. "spotprice": {
  15216. "description": "价格",
  15217. "type": "number"
  15218. },
  15219. "spotremark": {
  15220. "description": "收发货备注",
  15221. "type": "string"
  15222. },
  15223. "spotstatus": {
  15224. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  15225. "type": "integer"
  15226. },
  15227. "tradedate": {
  15228. "description": "交易日(yyyyMMdd)",
  15229. "type": "string"
  15230. },
  15231. "userid": {
  15232. "description": "业务员用户ID",
  15233. "type": "integer"
  15234. },
  15235. "warehouseid": {
  15236. "description": "仓库ID",
  15237. "type": "integer"
  15238. },
  15239. "wrfactortypeid": {
  15240. "description": "仓单要素类型ID",
  15241. "type": "integer"
  15242. },
  15243. "wrstandardid": {
  15244. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  15245. "type": "integer"
  15246. }
  15247. }
  15248. },
  15249. "erms3.AddErms2ASApplyReq": {
  15250. "type": "object",
  15251. "required": [
  15252. "asapplyid"
  15253. ],
  15254. "properties": {
  15255. "applybasis": {
  15256. "description": "申请基差",
  15257. "type": "number"
  15258. },
  15259. "applystatus": {
  15260. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  15261. "type": "integer"
  15262. },
  15263. "asapplyid": {
  15264. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  15265. "type": "integer"
  15266. },
  15267. "asname": {
  15268. "description": "策略名称",
  15269. "type": "string"
  15270. },
  15271. "asno": {
  15272. "description": "策略编号",
  15273. "type": "string"
  15274. },
  15275. "auditid": {
  15276. "description": "审核人",
  15277. "type": "integer"
  15278. },
  15279. "auditremark": {
  15280. "description": "审核备注",
  15281. "type": "string"
  15282. },
  15283. "audittime": {
  15284. "description": "审核时间",
  15285. "type": "string"
  15286. },
  15287. "biztype": {
  15288. "description": "业务类型 - 1:正向套利 2:反向套利",
  15289. "type": "integer"
  15290. },
  15291. "createtime": {
  15292. "description": "创建时间",
  15293. "type": "string"
  15294. },
  15295. "creatorid": {
  15296. "description": "创建人",
  15297. "type": "integer"
  15298. },
  15299. "deliverygoodsid": {
  15300. "description": "现货品种ID",
  15301. "type": "integer"
  15302. },
  15303. "futurequote": {
  15304. "description": "期货额度",
  15305. "type": "number"
  15306. },
  15307. "goodsgroupid": {
  15308. "description": "期货品种ID",
  15309. "type": "integer"
  15310. },
  15311. "marketid": {
  15312. "description": "市场ID",
  15313. "type": "integer"
  15314. },
  15315. "remark": {
  15316. "description": "备注",
  15317. "type": "string"
  15318. },
  15319. "spotquota": {
  15320. "description": "现货额度",
  15321. "type": "number"
  15322. },
  15323. "tradedate": {
  15324. "description": "交易日(yyyyMMdd)",
  15325. "type": "string"
  15326. },
  15327. "userid": {
  15328. "description": "所属机构",
  15329. "type": "integer"
  15330. }
  15331. }
  15332. },
  15333. "erms3.AddErms2SpotTradeApplyReq": {
  15334. "type": "object",
  15335. "required": [
  15336. "spottradeid"
  15337. ],
  15338. "properties": {
  15339. "applyjsondetail": {
  15340. "description": "申请明细(JSON)",
  15341. "type": "string"
  15342. },
  15343. "applystatus": {
  15344. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  15345. "type": "integer"
  15346. },
  15347. "areauserid": {
  15348. "description": "所属机构",
  15349. "type": "integer"
  15350. },
  15351. "auditid": {
  15352. "description": "审核人",
  15353. "type": "integer"
  15354. },
  15355. "auditremark": {
  15356. "description": "审核备注",
  15357. "type": "string"
  15358. },
  15359. "audittime": {
  15360. "description": "审核时间",
  15361. "type": "string"
  15362. },
  15363. "createtime": {
  15364. "description": "创建时间",
  15365. "type": "string"
  15366. },
  15367. "creatorid": {
  15368. "description": "创建人",
  15369. "type": "integer"
  15370. },
  15371. "deliverygoodsid": {
  15372. "description": "现货品种ID",
  15373. "type": "integer"
  15374. },
  15375. "futureaccountid": {
  15376. "description": "期货资金账户",
  15377. "type": "integer"
  15378. },
  15379. "goodsgroupid": {
  15380. "description": "期货品种",
  15381. "type": "integer"
  15382. },
  15383. "marketid": {
  15384. "description": "市场ID",
  15385. "type": "integer"
  15386. },
  15387. "remark": {
  15388. "description": "备注",
  15389. "type": "string"
  15390. },
  15391. "spotaccountid": {
  15392. "description": "现货资金账户",
  15393. "type": "integer"
  15394. },
  15395. "spottradeid": {
  15396. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  15397. "type": "integer"
  15398. },
  15399. "spottradename": {
  15400. "description": "业务名称",
  15401. "type": "string"
  15402. },
  15403. "spottradeno": {
  15404. "description": "业务编号",
  15405. "type": "string"
  15406. },
  15407. "tradedate": {
  15408. "description": "交易日(yyyyMMdd)",
  15409. "type": "string"
  15410. },
  15411. "wrstandardid": {
  15412. "description": "仓单标准ID",
  15413. "type": "integer"
  15414. }
  15415. }
  15416. },
  15417. "erms3.AddSpotContractApplyReq": {
  15418. "type": "object",
  15419. "required": [
  15420. "accountid",
  15421. "areauserid",
  15422. "contractno",
  15423. "contracttype",
  15424. "customeraccountid",
  15425. "customeruserid",
  15426. "details",
  15427. "orimargin",
  15428. "signdate"
  15429. ],
  15430. "properties": {
  15431. "accountid": {
  15432. "description": "资金账户ID",
  15433. "type": "integer"
  15434. },
  15435. "areauserid": {
  15436. "description": "所属机构",
  15437. "type": "integer"
  15438. },
  15439. "contractattachment": {
  15440. "description": "合同附件",
  15441. "type": "string"
  15442. },
  15443. "contractno": {
  15444. "description": "现货合同编号",
  15445. "type": "string"
  15446. },
  15447. "contracttype": {
  15448. "description": "现货合同类型 - 1:采购 -1:销售",
  15449. "type": "integer"
  15450. },
  15451. "creatorid": {
  15452. "description": "申请人",
  15453. "type": "integer"
  15454. },
  15455. "customeraccountid": {
  15456. "description": "客户资金账户ID",
  15457. "type": "integer"
  15458. },
  15459. "customeruserid": {
  15460. "description": "客户ID",
  15461. "type": "integer"
  15462. },
  15463. "details": {
  15464. "description": "明细",
  15465. "type": "array",
  15466. "items": {
  15467. "$ref": "#/definitions/erms3.SoptContractDetail"
  15468. }
  15469. },
  15470. "orimargin": {
  15471. "description": "初始保证金",
  15472. "type": "number"
  15473. },
  15474. "remark": {
  15475. "description": "备注",
  15476. "type": "string"
  15477. },
  15478. "signdate": {
  15479. "description": "签订日期",
  15480. "type": "string"
  15481. }
  15482. }
  15483. },
  15484. "erms3.AddSpotContractApplyRsp": {
  15485. "type": "object",
  15486. "required": [
  15487. "contractno"
  15488. ],
  15489. "properties": {
  15490. "contractno": {
  15491. "description": "现货合同编号",
  15492. "type": "string"
  15493. },
  15494. "spotcontractid": {
  15495. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  15496. "type": "integer"
  15497. }
  15498. }
  15499. },
  15500. "erms3.AddUserInfoApplyReq": {
  15501. "type": "object",
  15502. "required": [
  15503. "userid"
  15504. ],
  15505. "properties": {
  15506. "accountid": {
  15507. "description": "交易系统帐号Id (加密存储)",
  15508. "type": "integer"
  15509. },
  15510. "areacode": {
  15511. "description": "机构代码",
  15512. "type": "string"
  15513. },
  15514. "areaid": {
  15515. "description": "机构Id",
  15516. "type": "integer"
  15517. },
  15518. "attachment1": {
  15519. "description": "附件1",
  15520. "type": "string"
  15521. },
  15522. "attachment2": {
  15523. "description": "附件2",
  15524. "type": "string"
  15525. },
  15526. "attachment3": {
  15527. "description": "附件3",
  15528. "type": "string"
  15529. },
  15530. "attachment4": {
  15531. "description": "附件4",
  15532. "type": "string"
  15533. },
  15534. "attachment5": {
  15535. "description": "附件5",
  15536. "type": "string"
  15537. },
  15538. "auditedby": {
  15539. "description": "审核人",
  15540. "type": "string"
  15541. },
  15542. "auditime": {
  15543. "description": "审核时间",
  15544. "type": "string"
  15545. },
  15546. "auditsrc": {
  15547. "description": "审核来源 - 1:管理端 2:终端",
  15548. "type": "integer"
  15549. },
  15550. "bankaccount": {
  15551. "description": "银行帐号 (加密存储)",
  15552. "type": "string"
  15553. },
  15554. "bankaccountname": {
  15555. "description": "收款人名称",
  15556. "type": "string"
  15557. },
  15558. "bankcardbackphotourl": {
  15559. "description": "银行卡背面照地址",
  15560. "type": "string"
  15561. },
  15562. "bankcardfrontphotourl": {
  15563. "description": "银行卡正面照地址",
  15564. "type": "string"
  15565. },
  15566. "bankid": {
  15567. "description": "银行编码",
  15568. "type": "string"
  15569. },
  15570. "bankname": {
  15571. "description": "银行名称",
  15572. "type": "string"
  15573. },
  15574. "bankpictureurl": {
  15575. "description": "银行卡正面地址",
  15576. "type": "string"
  15577. },
  15578. "biznature": {
  15579. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15580. "type": "integer"
  15581. },
  15582. "bizscope": {
  15583. "description": "企业经营范围(企业)",
  15584. "type": "string"
  15585. },
  15586. "biztype": {
  15587. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  15588. "type": "integer"
  15589. },
  15590. "brokerid": {
  15591. "description": "经纪人ID(加密存储)",
  15592. "type": "string"
  15593. },
  15594. "cardaddress": {
  15595. "description": "证件地址 (加密存储)",
  15596. "type": "string"
  15597. },
  15598. "cardbackphotourl": {
  15599. "description": "背面证件照地址",
  15600. "type": "string"
  15601. },
  15602. "cardfrontphotourl": {
  15603. "description": "正面证件照地址",
  15604. "type": "string"
  15605. },
  15606. "cardnum": {
  15607. "description": "证件号码 (加密存储)",
  15608. "type": "string"
  15609. },
  15610. "cardtype": {
  15611. "description": "证件类型",
  15612. "type": "integer"
  15613. },
  15614. "cityid": {
  15615. "description": "市",
  15616. "type": "integer"
  15617. },
  15618. "company": {
  15619. "description": "公司(个人)",
  15620. "type": "string"
  15621. },
  15622. "contactcardbackphotourl": {
  15623. "description": "联系人证件背面图片地址",
  15624. "type": "string"
  15625. },
  15626. "contactcardfrontphotourl": {
  15627. "description": "联系人证件正面图片地址",
  15628. "type": "string"
  15629. },
  15630. "contactname": {
  15631. "description": "联系人",
  15632. "type": "string"
  15633. },
  15634. "countryid": {
  15635. "description": "国家",
  15636. "type": "integer"
  15637. },
  15638. "createtime": {
  15639. "description": "开户申请时间",
  15640. "type": "string"
  15641. },
  15642. "cusbankid": {
  15643. "description": "签约类型",
  15644. "type": "string"
  15645. },
  15646. "cusbankname": {
  15647. "description": "签约类型名称",
  15648. "type": "string"
  15649. },
  15650. "customername": {
  15651. "description": "客户名称(企业名称)",
  15652. "type": "string"
  15653. },
  15654. "districtid": {
  15655. "description": "地区",
  15656. "type": "integer"
  15657. },
  15658. "email": {
  15659. "description": "Email地址(加密存储)",
  15660. "type": "string"
  15661. },
  15662. "halfbodyphotourl": {
  15663. "description": "半身照地址",
  15664. "type": "string"
  15665. },
  15666. "headurl": {
  15667. "description": "头像地址",
  15668. "type": "string"
  15669. },
  15670. "ipaddress": {
  15671. "description": "IP地址",
  15672. "type": "string"
  15673. },
  15674. "isvalidate": {
  15675. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  15676. "type": "string"
  15677. },
  15678. "legalcardbackphotourl": {
  15679. "description": "法人身份证背面照地址",
  15680. "type": "string"
  15681. },
  15682. "legalcardfrontphotourl": {
  15683. "description": "法人身份证正面照地址",
  15684. "type": "string"
  15685. },
  15686. "legalpersonname": {
  15687. "description": "法人姓名(企业)",
  15688. "type": "string"
  15689. },
  15690. "logincode": {
  15691. "description": "登录帐号 (加密存储)",
  15692. "type": "string"
  15693. },
  15694. "memberareaid": {
  15695. "description": "所属会员ID",
  15696. "type": "integer"
  15697. },
  15698. "mobile2": {
  15699. "description": "手机号码[明文-尚志]",
  15700. "type": "string"
  15701. },
  15702. "mobilephone": {
  15703. "description": "手机号码 (加密存储)",
  15704. "type": "string"
  15705. },
  15706. "modifiedby": {
  15707. "description": "修改人帐号",
  15708. "type": "integer"
  15709. },
  15710. "modifiedtime": {
  15711. "description": "修改时间",
  15712. "type": "string"
  15713. },
  15714. "nickname": {
  15715. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  15716. "type": "string"
  15717. },
  15718. "openmode": {
  15719. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  15720. "type": "integer"
  15721. },
  15722. "otherurl": {
  15723. "description": "其它图片地址[使用分号分隔]",
  15724. "type": "string"
  15725. },
  15726. "postalcode": {
  15727. "description": "邮政编码",
  15728. "type": "string"
  15729. },
  15730. "provinceid": {
  15731. "description": "省",
  15732. "type": "integer"
  15733. },
  15734. "proxystatementurl": {
  15735. "description": "授权委托书",
  15736. "type": "string"
  15737. },
  15738. "qq": {
  15739. "description": "QQ(加密存储",
  15740. "type": "string"
  15741. },
  15742. "referral": {
  15743. "description": "推荐人编码",
  15744. "type": "string"
  15745. },
  15746. "remark": {
  15747. "description": "备注",
  15748. "type": "string"
  15749. },
  15750. "removebeforestatus": {
  15751. "description": "REMOVEBEFORESTATUS",
  15752. "type": "integer"
  15753. },
  15754. "sex": {
  15755. "description": "性别 - 0:女 1:男",
  15756. "type": "integer"
  15757. },
  15758. "signedstatus": {
  15759. "description": "账户一号签签约状态",
  15760. "type": "integer"
  15761. },
  15762. "signpdfurl": {
  15763. "description": "签约pdf文件",
  15764. "type": "string"
  15765. },
  15766. "subbranch": {
  15767. "description": "开户支行",
  15768. "type": "string"
  15769. },
  15770. "taxpayernum": {
  15771. "description": "纳税人识别号",
  15772. "type": "string"
  15773. },
  15774. "telphone": {
  15775. "description": "联系电话(加密存储)",
  15776. "type": "string"
  15777. },
  15778. "userid": {
  15779. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  15780. "type": "integer"
  15781. },
  15782. "userinfotype": {
  15783. "description": "用户信息类型 - 1:个人 2:企业",
  15784. "type": "integer"
  15785. },
  15786. "username": {
  15787. "description": "用户姓名",
  15788. "type": "string"
  15789. },
  15790. "userstate": {
  15791. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  15792. "type": "integer"
  15793. },
  15794. "usertype": {
  15795. "description": "用户类型 - 1:投资者 2:机构",
  15796. "type": "integer"
  15797. },
  15798. "videourl": {
  15799. "description": "视频地址",
  15800. "type": "string"
  15801. },
  15802. "wechat": {
  15803. "description": "微信号 (加密存储)",
  15804. "type": "string"
  15805. }
  15806. }
  15807. },
  15808. "erms3.CustomerInfo": {
  15809. "type": "object",
  15810. "required": [
  15811. "userid"
  15812. ],
  15813. "properties": {
  15814. "accountids": {
  15815. "description": "资金账户ID列表",
  15816. "type": "array",
  15817. "items": {
  15818. "type": "integer"
  15819. }
  15820. },
  15821. "customername": {
  15822. "description": "名称(企业名称)",
  15823. "type": "string"
  15824. },
  15825. "mobile": {
  15826. "description": "手机号码",
  15827. "type": "string"
  15828. },
  15829. "userid": {
  15830. "description": "用户ID",
  15831. "type": "integer"
  15832. }
  15833. }
  15834. },
  15835. "erms3.ModifyUserInfoApplyReq": {
  15836. "type": "object",
  15837. "required": [
  15838. "userid"
  15839. ],
  15840. "properties": {
  15841. "accountid": {
  15842. "description": "交易系统帐号Id (加密存储)",
  15843. "type": "integer"
  15844. },
  15845. "areacode": {
  15846. "description": "机构代码",
  15847. "type": "string"
  15848. },
  15849. "areaid": {
  15850. "description": "机构Id",
  15851. "type": "integer"
  15852. },
  15853. "attachment1": {
  15854. "description": "附件1",
  15855. "type": "string"
  15856. },
  15857. "attachment2": {
  15858. "description": "附件2",
  15859. "type": "string"
  15860. },
  15861. "attachment3": {
  15862. "description": "附件3",
  15863. "type": "string"
  15864. },
  15865. "attachment4": {
  15866. "description": "附件4",
  15867. "type": "string"
  15868. },
  15869. "attachment5": {
  15870. "description": "附件5",
  15871. "type": "string"
  15872. },
  15873. "auditedby": {
  15874. "description": "审核人",
  15875. "type": "string"
  15876. },
  15877. "auditime": {
  15878. "description": "审核时间",
  15879. "type": "string"
  15880. },
  15881. "auditsrc": {
  15882. "description": "审核来源 - 1:管理端 2:终端",
  15883. "type": "integer"
  15884. },
  15885. "bankaccount": {
  15886. "description": "银行帐号 (加密存储)",
  15887. "type": "string"
  15888. },
  15889. "bankaccountname": {
  15890. "description": "收款人名称",
  15891. "type": "string"
  15892. },
  15893. "bankcardbackphotourl": {
  15894. "description": "银行卡背面照地址",
  15895. "type": "string"
  15896. },
  15897. "bankcardfrontphotourl": {
  15898. "description": "银行卡正面照地址",
  15899. "type": "string"
  15900. },
  15901. "bankid": {
  15902. "description": "银行编码",
  15903. "type": "string"
  15904. },
  15905. "bankname": {
  15906. "description": "银行名称",
  15907. "type": "string"
  15908. },
  15909. "bankpictureurl": {
  15910. "description": "银行卡正面地址",
  15911. "type": "string"
  15912. },
  15913. "biznature": {
  15914. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15915. "type": "integer"
  15916. },
  15917. "bizscope": {
  15918. "description": "企业经营范围(企业)",
  15919. "type": "string"
  15920. },
  15921. "biztype": {
  15922. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  15923. "type": "integer"
  15924. },
  15925. "brokerid": {
  15926. "description": "经纪人ID(加密存储)",
  15927. "type": "string"
  15928. },
  15929. "cardaddress": {
  15930. "description": "证件地址 (加密存储)",
  15931. "type": "string"
  15932. },
  15933. "cardbackphotourl": {
  15934. "description": "背面证件照地址",
  15935. "type": "string"
  15936. },
  15937. "cardfrontphotourl": {
  15938. "description": "正面证件照地址",
  15939. "type": "string"
  15940. },
  15941. "cardnum": {
  15942. "description": "证件号码 (加密存储)",
  15943. "type": "string"
  15944. },
  15945. "cardtype": {
  15946. "description": "证件类型",
  15947. "type": "integer"
  15948. },
  15949. "cityid": {
  15950. "description": "市",
  15951. "type": "integer"
  15952. },
  15953. "company": {
  15954. "description": "公司(个人)",
  15955. "type": "string"
  15956. },
  15957. "contactcardbackphotourl": {
  15958. "description": "联系人证件背面图片地址",
  15959. "type": "string"
  15960. },
  15961. "contactcardfrontphotourl": {
  15962. "description": "联系人证件正面图片地址",
  15963. "type": "string"
  15964. },
  15965. "contactname": {
  15966. "description": "联系人",
  15967. "type": "string"
  15968. },
  15969. "countryid": {
  15970. "description": "国家",
  15971. "type": "integer"
  15972. },
  15973. "createtime": {
  15974. "description": "开户申请时间",
  15975. "type": "string"
  15976. },
  15977. "cusbankid": {
  15978. "description": "签约类型",
  15979. "type": "string"
  15980. },
  15981. "cusbankname": {
  15982. "description": "签约类型名称",
  15983. "type": "string"
  15984. },
  15985. "customername": {
  15986. "description": "客户名称(企业名称)",
  15987. "type": "string"
  15988. },
  15989. "districtid": {
  15990. "description": "地区",
  15991. "type": "integer"
  15992. },
  15993. "email": {
  15994. "description": "Email地址(加密存储)",
  15995. "type": "string"
  15996. },
  15997. "halfbodyphotourl": {
  15998. "description": "半身照地址",
  15999. "type": "string"
  16000. },
  16001. "headurl": {
  16002. "description": "头像地址",
  16003. "type": "string"
  16004. },
  16005. "ipaddress": {
  16006. "description": "IP地址",
  16007. "type": "string"
  16008. },
  16009. "isvalidate": {
  16010. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  16011. "type": "string"
  16012. },
  16013. "legalcardbackphotourl": {
  16014. "description": "法人身份证背面照地址",
  16015. "type": "string"
  16016. },
  16017. "legalcardfrontphotourl": {
  16018. "description": "法人身份证正面照地址",
  16019. "type": "string"
  16020. },
  16021. "legalpersonname": {
  16022. "description": "法人姓名(企业)",
  16023. "type": "string"
  16024. },
  16025. "logincode": {
  16026. "description": "登录帐号 (加密存储)",
  16027. "type": "string"
  16028. },
  16029. "memberareaid": {
  16030. "description": "所属会员ID",
  16031. "type": "integer"
  16032. },
  16033. "mobile2": {
  16034. "description": "手机号码[明文-尚志]",
  16035. "type": "string"
  16036. },
  16037. "mobilephone": {
  16038. "description": "手机号码 (加密存储)",
  16039. "type": "string"
  16040. },
  16041. "modifiedby": {
  16042. "description": "修改人帐号",
  16043. "type": "integer"
  16044. },
  16045. "modifiedtime": {
  16046. "description": "修改时间",
  16047. "type": "string"
  16048. },
  16049. "nickname": {
  16050. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  16051. "type": "string"
  16052. },
  16053. "openmode": {
  16054. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  16055. "type": "integer"
  16056. },
  16057. "otherurl": {
  16058. "description": "其它图片地址[使用分号分隔]",
  16059. "type": "string"
  16060. },
  16061. "postalcode": {
  16062. "description": "邮政编码",
  16063. "type": "string"
  16064. },
  16065. "provinceid": {
  16066. "description": "省",
  16067. "type": "integer"
  16068. },
  16069. "proxystatementurl": {
  16070. "description": "授权委托书",
  16071. "type": "string"
  16072. },
  16073. "qq": {
  16074. "description": "QQ(加密存储",
  16075. "type": "string"
  16076. },
  16077. "referral": {
  16078. "description": "推荐人编码",
  16079. "type": "string"
  16080. },
  16081. "remark": {
  16082. "description": "备注",
  16083. "type": "string"
  16084. },
  16085. "removebeforestatus": {
  16086. "description": "REMOVEBEFORESTATUS",
  16087. "type": "integer"
  16088. },
  16089. "sex": {
  16090. "description": "性别 - 0:女 1:男",
  16091. "type": "integer"
  16092. },
  16093. "signedstatus": {
  16094. "description": "账户一号签签约状态",
  16095. "type": "integer"
  16096. },
  16097. "signpdfurl": {
  16098. "description": "签约pdf文件",
  16099. "type": "string"
  16100. },
  16101. "subbranch": {
  16102. "description": "开户支行",
  16103. "type": "string"
  16104. },
  16105. "taxpayernum": {
  16106. "description": "纳税人识别号",
  16107. "type": "string"
  16108. },
  16109. "telphone": {
  16110. "description": "联系电话(加密存储)",
  16111. "type": "string"
  16112. },
  16113. "userid": {
  16114. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  16115. "type": "integer"
  16116. },
  16117. "userinfotype": {
  16118. "description": "用户信息类型 - 1:个人 2:企业",
  16119. "type": "integer"
  16120. },
  16121. "username": {
  16122. "description": "用户姓名",
  16123. "type": "string"
  16124. },
  16125. "userstate": {
  16126. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  16127. "type": "integer"
  16128. },
  16129. "usertype": {
  16130. "description": "用户类型 - 1:投资者 2:机构",
  16131. "type": "integer"
  16132. },
  16133. "videourl": {
  16134. "description": "视频地址",
  16135. "type": "string"
  16136. },
  16137. "wechat": {
  16138. "description": "微信号 (加密存储)",
  16139. "type": "string"
  16140. }
  16141. }
  16142. },
  16143. "erms3.QryAuditContractRsp": {
  16144. "type": "object",
  16145. "required": [
  16146. "matchcustomername",
  16147. "spotcontractid"
  16148. ],
  16149. "properties": {
  16150. "accountid": {
  16151. "description": "交易员ID",
  16152. "type": "string"
  16153. },
  16154. "applystatus": {
  16155. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  16156. "type": "integer"
  16157. },
  16158. "curdeliveryqty": {
  16159. "description": "未交收量",
  16160. "type": "integer"
  16161. },
  16162. "customername": {
  16163. "description": "采购方ID",
  16164. "type": "string"
  16165. },
  16166. "deliverygoodsid": {
  16167. "description": "品种ID",
  16168. "type": "string"
  16169. },
  16170. "deliveryqty": {
  16171. "description": "交收量",
  16172. "type": "integer"
  16173. },
  16174. "enumdicname": {
  16175. "description": "单位名称",
  16176. "type": "string"
  16177. },
  16178. "matchaccountid": {
  16179. "description": "业务员ID",
  16180. "type": "string"
  16181. },
  16182. "matchcustomername": {
  16183. "description": "销售方ID",
  16184. "type": "string"
  16185. },
  16186. "pricedqty": {
  16187. "description": "定价量",
  16188. "type": "number"
  16189. },
  16190. "signdate": {
  16191. "description": "签订日期",
  16192. "type": "string"
  16193. },
  16194. "spotcontractid": {
  16195. "description": "合同ID",
  16196. "type": "string"
  16197. },
  16198. "totaldqty": {
  16199. "description": "合同量",
  16200. "type": "number"
  16201. },
  16202. "unpricedqty": {
  16203. "description": "未定价量",
  16204. "type": "number"
  16205. },
  16206. "wrstandardname": {
  16207. "description": "商品名称",
  16208. "type": "string"
  16209. }
  16210. }
  16211. },
  16212. "erms3.QryPendingBizRsp": {
  16213. "$ref": "#/definitions/models.PendingAuditBizModel"
  16214. },
  16215. "erms3.QueryBusinessInfoRsp": {
  16216. "type": "object",
  16217. "properties": {
  16218. "businessid": {
  16219. "description": "业务ID.",
  16220. "type": "integer"
  16221. },
  16222. "buyamount": {
  16223. "description": "采购额.",
  16224. "type": "number"
  16225. },
  16226. "buyqty": {
  16227. "description": "采购量.",
  16228. "type": "string"
  16229. },
  16230. "futurepl": {
  16231. "description": "期货盈亏.",
  16232. "type": "number"
  16233. },
  16234. "futureqty": {
  16235. "description": "期货敞口.",
  16236. "type": "string"
  16237. },
  16238. "goodsid": {
  16239. "description": "商品名称/商品代码.",
  16240. "type": "string"
  16241. },
  16242. "hedgingqty": {
  16243. "description": "套保量.",
  16244. "type": "string"
  16245. },
  16246. "sellamount": {
  16247. "description": "销售额.",
  16248. "type": "number"
  16249. },
  16250. "sellqty": {
  16251. "description": "销售量.",
  16252. "type": "string"
  16253. },
  16254. "spotmarketvalue": {
  16255. "description": "现货市值.",
  16256. "type": "number"
  16257. },
  16258. "spotpl": {
  16259. "description": "浮动权益.",
  16260. "type": "number"
  16261. },
  16262. "spotqty": {
  16263. "description": "现货量.",
  16264. "type": "string"
  16265. },
  16266. "statu": {
  16267. "description": "状态,0-未结束 1-已结束.",
  16268. "type": "integer"
  16269. },
  16270. "totalpl": {
  16271. "description": "总盈亏.",
  16272. "type": "number"
  16273. },
  16274. "totalqty": {
  16275. "description": "总敞口.",
  16276. "type": "string"
  16277. },
  16278. "type": {
  16279. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  16280. "type": "integer"
  16281. }
  16282. }
  16283. },
  16284. "erms3.QuerySpotContractAppleFormRsp": {
  16285. "type": "object",
  16286. "properties": {
  16287. "goodses": {
  16288. "description": "合约列表",
  16289. "type": "array",
  16290. "items": {
  16291. "$ref": "#/definitions/models.GoodsIDAndName"
  16292. }
  16293. },
  16294. "oppositeusers": {
  16295. "description": "对方账号列表",
  16296. "type": "array",
  16297. "items": {
  16298. "$ref": "#/definitions/erms3.CustomerInfo"
  16299. }
  16300. },
  16301. "ouruser": {
  16302. "description": "我方账号",
  16303. "type": "object",
  16304. "$ref": "#/definitions/erms3.CustomerInfo"
  16305. },
  16306. "warehouseinfos": {
  16307. "description": "仓库信息列表",
  16308. "type": "array",
  16309. "items": {
  16310. "$ref": "#/definitions/models.Warehouseinfo"
  16311. }
  16312. },
  16313. "wrstandards": {
  16314. "description": "仓单标准列表",
  16315. "type": "array",
  16316. "items": {
  16317. "$ref": "#/definitions/models.WRStandardInfo"
  16318. }
  16319. }
  16320. }
  16321. },
  16322. "erms3.QuerySpotContractInfoRsp": {
  16323. "type": "object",
  16324. "properties": {
  16325. "accountid": {
  16326. "description": "表示交易员ID.",
  16327. "type": "integer"
  16328. },
  16329. "curdeliveryqty": {
  16330. "description": "表示未交收量.",
  16331. "type": "number"
  16332. },
  16333. "customername": {
  16334. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  16335. "type": "string"
  16336. },
  16337. "deliverygoodsid": {
  16338. "description": "表示品种ID.",
  16339. "type": "string"
  16340. },
  16341. "deliveryqty": {
  16342. "description": "表示交收量.",
  16343. "type": "number"
  16344. },
  16345. "matchaccountid": {
  16346. "description": "表示业务员ID.",
  16347. "type": "integer"
  16348. },
  16349. "matchcustomername": {
  16350. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  16351. "type": "string"
  16352. },
  16353. "priceqty": {
  16354. "description": "表示定价量.",
  16355. "type": "number"
  16356. },
  16357. "relatedbizid": {
  16358. "description": "表示业务ID.",
  16359. "type": "string"
  16360. },
  16361. "signdate": {
  16362. "description": "表示签订日期.",
  16363. "type": "string"
  16364. },
  16365. "spotcontractid": {
  16366. "description": "合同ID",
  16367. "type": "string"
  16368. },
  16369. "status": {
  16370. "description": "表示状态,0-履约中 1-已完成.",
  16371. "type": "integer"
  16372. },
  16373. "totalqty": {
  16374. "description": "表示合同量.",
  16375. "type": "number"
  16376. },
  16377. "unpricedqty": {
  16378. "description": "表示未定价量.",
  16379. "type": "number"
  16380. },
  16381. "wrstandardname": {
  16382. "description": "表示商品ID.",
  16383. "type": "string"
  16384. }
  16385. }
  16386. },
  16387. "erms3.QueryUserInfoAppliesRsp": {
  16388. "type": "object",
  16389. "required": [
  16390. "userid"
  16391. ],
  16392. "properties": {
  16393. "biznature": {
  16394. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16395. "type": "integer"
  16396. },
  16397. "contactname": {
  16398. "description": "联系人",
  16399. "type": "string"
  16400. },
  16401. "createtime": {
  16402. "description": "开户申请时间",
  16403. "type": "string"
  16404. },
  16405. "userid": {
  16406. "description": "用户ID(自增ID)",
  16407. "type": "integer"
  16408. },
  16409. "userinfotype": {
  16410. "description": "用户信息类型 - 1:个人 2:企业",
  16411. "type": "integer"
  16412. },
  16413. "username": {
  16414. "description": "用户姓名",
  16415. "type": "string"
  16416. },
  16417. "userstate": {
  16418. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  16419. "type": "integer"
  16420. }
  16421. }
  16422. },
  16423. "erms3.QueryUserInfosRsp": {
  16424. "type": "object",
  16425. "required": [
  16426. "userid"
  16427. ],
  16428. "properties": {
  16429. "biznature": {
  16430. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16431. "type": "integer"
  16432. },
  16433. "contactname": {
  16434. "description": "联系人",
  16435. "type": "string"
  16436. },
  16437. "customername": {
  16438. "description": "客户名称(企业名称)",
  16439. "type": "string"
  16440. },
  16441. "userid": {
  16442. "description": "用户ID",
  16443. "type": "integer"
  16444. },
  16445. "userinfotype": {
  16446. "description": "用户信息类型 - 1:个人 2:企业",
  16447. "type": "integer"
  16448. },
  16449. "userstatus": {
  16450. "description": "用户状态 - 1:正常 2:注销",
  16451. "type": "integer"
  16452. }
  16453. }
  16454. },
  16455. "erms3.SoptContractDetail": {
  16456. "type": "object",
  16457. "required": [
  16458. "deliverygoodsid",
  16459. "producttype",
  16460. "unitname",
  16461. "warehouseid",
  16462. "wrstandardid",
  16463. "wrstandardname"
  16464. ],
  16465. "properties": {
  16466. "deliverygoodsdesc": {
  16467. "description": "现货品种说明",
  16468. "type": "string"
  16469. },
  16470. "deliverygoodsid": {
  16471. "description": "现货品种ID",
  16472. "type": "integer"
  16473. },
  16474. "deliverygoodsname": {
  16475. "description": "现货品种名称",
  16476. "type": "string"
  16477. },
  16478. "pointdesc": {
  16479. "description": "点价描述",
  16480. "type": "string"
  16481. },
  16482. "producttype": {
  16483. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  16484. "type": "integer"
  16485. },
  16486. "producttypename": {
  16487. "description": "产品类型名称",
  16488. "type": "string"
  16489. },
  16490. "spotPointOrderVoList": {
  16491. "description": "点价列表",
  16492. "type": "array",
  16493. "items": {
  16494. "$ref": "#/definitions/erms3.SpotPointOrder"
  16495. }
  16496. },
  16497. "spotPriceOrderList": {
  16498. "description": "定价列表",
  16499. "type": "array",
  16500. "items": {
  16501. "$ref": "#/definitions/erms3.SpotPriceOrder"
  16502. }
  16503. },
  16504. "unitname": {
  16505. "description": "单位名称",
  16506. "type": "string"
  16507. },
  16508. "warehouseid": {
  16509. "description": "仓库ID",
  16510. "type": "integer"
  16511. },
  16512. "warehousename": {
  16513. "description": "仓库名称",
  16514. "type": "string"
  16515. },
  16516. "wrstandardid": {
  16517. "description": "交易标的ID",
  16518. "type": "integer"
  16519. },
  16520. "wrstandardname": {
  16521. "description": "交易标的名称",
  16522. "type": "string"
  16523. }
  16524. }
  16525. },
  16526. "erms3.SpotPointOrder": {
  16527. "type": "object",
  16528. "required": [
  16529. "basic",
  16530. "goodsid",
  16531. "qty"
  16532. ],
  16533. "properties": {
  16534. "basic": {
  16535. "description": "基差",
  16536. "type": "number"
  16537. },
  16538. "deliveryenddate": {
  16539. "description": "交收结束日期",
  16540. "type": "string"
  16541. },
  16542. "deliverystartdate": {
  16543. "description": "交收开始日期",
  16544. "type": "string"
  16545. },
  16546. "enddate": {
  16547. "description": "点价结束日期",
  16548. "type": "string"
  16549. },
  16550. "goodsid": {
  16551. "description": "商品ID",
  16552. "type": "integer"
  16553. },
  16554. "goodsname": {
  16555. "description": "商品名称",
  16556. "type": "string"
  16557. },
  16558. "qty": {
  16559. "description": "数量",
  16560. "type": "number"
  16561. },
  16562. "startdate": {
  16563. "description": "点价开始日期",
  16564. "type": "string"
  16565. }
  16566. }
  16567. },
  16568. "erms3.SpotPriceOrder": {
  16569. "type": "object",
  16570. "required": [
  16571. "amount",
  16572. "price",
  16573. "qty"
  16574. ],
  16575. "properties": {
  16576. "amount": {
  16577. "description": "金额",
  16578. "type": "number"
  16579. },
  16580. "deliveryenddate": {
  16581. "description": "交收结束日期",
  16582. "type": "string"
  16583. },
  16584. "deliverystartdate": {
  16585. "description": "交收开始日期",
  16586. "type": "string"
  16587. },
  16588. "price": {
  16589. "description": "价格",
  16590. "type": "number"
  16591. },
  16592. "qty": {
  16593. "description": "数量",
  16594. "type": "number"
  16595. }
  16596. }
  16597. },
  16598. "hsby.GetHsbyMyCountRsp": {
  16599. "type": "object",
  16600. "properties": {
  16601. "myCouponCount": {
  16602. "description": "我的优惠卷数量",
  16603. "type": "integer"
  16604. },
  16605. "myOrderDetailListingCount": {
  16606. "description": "我的订单求购中数量",
  16607. "type": "integer"
  16608. },
  16609. "myOrderDetailPreCount": {
  16610. "description": "我的订单抢购中数量",
  16611. "type": "integer"
  16612. },
  16613. "myPackageUnReceiveCount": {
  16614. "description": "我的包裹待收货数量",
  16615. "type": "integer"
  16616. },
  16617. "myPackageUnSendCount": {
  16618. "description": "我的包裹待发货数量",
  16619. "type": "integer"
  16620. },
  16621. "myPayOrderCount": {
  16622. "description": "我的订单待付款数量",
  16623. "type": "integer"
  16624. }
  16625. }
  16626. },
  16627. "hsby.QueryProvincesAndCitiesRsp": {
  16628. "type": "object",
  16629. "properties": {
  16630. "cities": {
  16631. "description": "市",
  16632. "type": "array",
  16633. "items": {
  16634. "$ref": "#/definitions/models.Division"
  16635. }
  16636. },
  16637. "province": {
  16638. "description": "省",
  16639. "type": "object",
  16640. "$ref": "#/definitions/models.Division"
  16641. }
  16642. }
  16643. },
  16644. "models.AreaSpotModel": {
  16645. "type": "object",
  16646. "properties": {
  16647. "areauserid": {
  16648. "description": "所属机构",
  16649. "type": "integer"
  16650. },
  16651. "decreaseqty": {
  16652. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  16653. "type": "number"
  16654. },
  16655. "increaseqty": {
  16656. "description": "增加数量=销售计划数量+采购已定价数量",
  16657. "type": "number"
  16658. },
  16659. "oritoalspotqty": {
  16660. "description": "昨日数量",
  16661. "type": "number"
  16662. },
  16663. "totalspotqty": {
  16664. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  16665. "type": "number"
  16666. },
  16667. "updatetime": {
  16668. "description": "更新时间",
  16669. "type": "string"
  16670. },
  16671. "wrstandardcode": {
  16672. "description": "现货品种代码",
  16673. "type": "string"
  16674. },
  16675. "wrstandardid": {
  16676. "description": "现货商品ID",
  16677. "type": "integer"
  16678. },
  16679. "wrstandardname": {
  16680. "description": "现货品种",
  16681. "type": "string"
  16682. }
  16683. }
  16684. },
  16685. "models.Arearole": {
  16686. "type": "object",
  16687. "required": [
  16688. "roletype",
  16689. "userid"
  16690. ],
  16691. "properties": {
  16692. "createtime": {
  16693. "description": "创建时间",
  16694. "type": "string"
  16695. },
  16696. "creatorid": {
  16697. "description": "创建人ID",
  16698. "type": "integer"
  16699. },
  16700. "fromuserid": {
  16701. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  16702. "type": "integer"
  16703. },
  16704. "isreturnscore": {
  16705. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  16706. "type": "integer"
  16707. },
  16708. "modifierid": {
  16709. "description": "修改人ID",
  16710. "type": "integer"
  16711. },
  16712. "modifytime": {
  16713. "description": "修改时间",
  16714. "type": "string"
  16715. },
  16716. "orgtype": {
  16717. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  16718. "type": "integer"
  16719. },
  16720. "outuserid": {
  16721. "description": "外部账户[场外期权做市商]",
  16722. "type": "string"
  16723. },
  16724. "parentuserid": {
  16725. "description": "上级组织机构(组织机构)",
  16726. "type": "integer"
  16727. },
  16728. "roletype": {
  16729. "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:门店",
  16730. "type": "integer"
  16731. },
  16732. "rootuserid": {
  16733. "description": "顶级组织机构用户ID(组织机构)",
  16734. "type": "integer"
  16735. },
  16736. "shoppassword": {
  16737. "description": "商城店铺登陆密码(商城店铺角色使用)",
  16738. "type": "string"
  16739. },
  16740. "sublevelpath": {
  16741. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  16742. "type": "string"
  16743. },
  16744. "suborgtype": {
  16745. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  16746. "type": "integer"
  16747. },
  16748. "tradeaccountid": {
  16749. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  16750. "type": "integer"
  16751. },
  16752. "transurl": {
  16753. "description": "物流地址(物流机构)",
  16754. "type": "string"
  16755. },
  16756. "userid": {
  16757. "description": "机构用户ID其他做市关系,都设置为 1",
  16758. "type": "integer"
  16759. }
  16760. }
  16761. },
  16762. "models.Clientfixedadconfig": {
  16763. "type": "object",
  16764. "required": [
  16765. "adsort",
  16766. "adtype"
  16767. ],
  16768. "properties": {
  16769. "adsort": {
  16770. "description": "排序",
  16771. "type": "integer"
  16772. },
  16773. "adtype": {
  16774. "description": "广告位类型 - 1:新品抢购(HSBY)",
  16775. "type": "integer"
  16776. },
  16777. "areauserid": {
  16778. "description": "所属机构ID",
  16779. "type": "integer"
  16780. },
  16781. "createdate": {
  16782. "description": "创建时间",
  16783. "type": "string"
  16784. },
  16785. "creatorid": {
  16786. "description": "创建人",
  16787. "type": "integer"
  16788. },
  16789. "imagepath": {
  16790. "description": "图片",
  16791. "type": "string"
  16792. },
  16793. "isshow": {
  16794. "description": "是否展示 - 0:不展示 1:展示",
  16795. "type": "integer"
  16796. },
  16797. "modifierid": {
  16798. "description": "操作人",
  16799. "type": "integer"
  16800. },
  16801. "recsize": {
  16802. "description": "推荐尺寸",
  16803. "type": "string"
  16804. },
  16805. "title": {
  16806. "description": "标题",
  16807. "type": "string"
  16808. },
  16809. "updatedate": {
  16810. "description": "更新时间",
  16811. "type": "string"
  16812. },
  16813. "urlcontent": {
  16814. "description": "链接(地址或商品ID)",
  16815. "type": "string"
  16816. },
  16817. "urltype": {
  16818. "description": "链接类型 - 1:直接地址 2:商品ID",
  16819. "type": "integer"
  16820. }
  16821. }
  16822. },
  16823. "models.Division": {
  16824. "type": "object",
  16825. "required": [
  16826. "autoid",
  16827. "divisioncode"
  16828. ],
  16829. "properties": {
  16830. "autoid": {
  16831. "description": "自增ID",
  16832. "type": "integer"
  16833. },
  16834. "divisioncode": {
  16835. "description": "行政代码",
  16836. "type": "string"
  16837. },
  16838. "divisionlevel": {
  16839. "description": "行政级别",
  16840. "type": "string"
  16841. },
  16842. "divisionname": {
  16843. "description": "行政名称",
  16844. "type": "string"
  16845. },
  16846. "modifierid": {
  16847. "description": "修改人",
  16848. "type": "integer"
  16849. },
  16850. "modifytime": {
  16851. "description": "修改时间",
  16852. "type": "string"
  16853. },
  16854. "parentcode": {
  16855. "description": "上级行政代码",
  16856. "type": "string"
  16857. },
  16858. "pathname": {
  16859. "description": "路径名称",
  16860. "type": "string"
  16861. },
  16862. "postcode": {
  16863. "description": "邮政编码",
  16864. "type": "string"
  16865. },
  16866. "separablename": {
  16867. "description": "可拆分的全称",
  16868. "type": "string"
  16869. },
  16870. "shortcode": {
  16871. "description": "地区简码",
  16872. "type": "string"
  16873. }
  16874. }
  16875. },
  16876. "models.Enumdicitem": {
  16877. "type": "object",
  16878. "required": [
  16879. "autoid",
  16880. "enumdiccode",
  16881. "enumdicid",
  16882. "enumitemname"
  16883. ],
  16884. "properties": {
  16885. "autoid": {
  16886. "description": "自增ID",
  16887. "type": "integer"
  16888. },
  16889. "bankmappedvalue": {
  16890. "description": "银行服务对应值",
  16891. "type": "string"
  16892. },
  16893. "enumdiccode": {
  16894. "description": "所属枚举代码",
  16895. "type": "string"
  16896. },
  16897. "enumdicid": {
  16898. "description": "所属枚举ID",
  16899. "type": "integer"
  16900. },
  16901. "enumdicname": {
  16902. "description": "枚举项名称",
  16903. "type": "string"
  16904. },
  16905. "enumitemname": {
  16906. "description": "枚举项值",
  16907. "type": "integer"
  16908. },
  16909. "enumitemstatus": {
  16910. "description": "枚举项状态 - 1.启用 2.不启用",
  16911. "type": "integer"
  16912. },
  16913. "enumitemvalue": {
  16914. "description": "通用值 - [币种通用简写]",
  16915. "type": "string"
  16916. },
  16917. "param1": {
  16918. "description": "参数1[币种:币种小数位]",
  16919. "type": "string"
  16920. },
  16921. "param2": {
  16922. "description": "参数1[币种:币种显示单位]",
  16923. "type": "string"
  16924. },
  16925. "remark": {
  16926. "description": "备注",
  16927. "type": "string"
  16928. }
  16929. }
  16930. },
  16931. "models.Ermcp3AreaSpot": {
  16932. "type": "object",
  16933. "properties": {
  16934. "areauserid": {
  16935. "description": "所属机构",
  16936. "type": "integer"
  16937. },
  16938. "decreaseqty": {
  16939. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  16940. "type": "number"
  16941. },
  16942. "deliverygoodscode": {
  16943. "description": "现货品种代码",
  16944. "type": "string"
  16945. },
  16946. "deliverygoodsid": {
  16947. "description": "现货品种id",
  16948. "type": "integer"
  16949. },
  16950. "deliverygoodsname": {
  16951. "description": "现货品种名称",
  16952. "type": "string"
  16953. },
  16954. "enumdicname": {
  16955. "description": "单位名称",
  16956. "type": "string"
  16957. },
  16958. "goodsunitid": {
  16959. "description": "现货品种单位id",
  16960. "type": "integer"
  16961. },
  16962. "increaseqty": {
  16963. "description": "增加数量=销售计划数量+采购已定价数量",
  16964. "type": "number"
  16965. },
  16966. "oritoalspotqty": {
  16967. "description": "昨日数量",
  16968. "type": "number"
  16969. },
  16970. "totalspotqty": {
  16971. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  16972. "type": "number"
  16973. },
  16974. "updatetime": {
  16975. "description": "更新时间",
  16976. "type": "string"
  16977. }
  16978. }
  16979. },
  16980. "models.Ermcp3AreaSpotDetail": {
  16981. "type": "object",
  16982. "properties": {
  16983. "contracttype": {
  16984. "description": "合同类型 1-采购 -1-销售",
  16985. "type": "integer"
  16986. },
  16987. "createtime": {
  16988. "description": "创建时间",
  16989. "type": "string"
  16990. },
  16991. "deliverygoodscode": {
  16992. "description": "现货品种代码",
  16993. "type": "string"
  16994. },
  16995. "deliverygoodsid": {
  16996. "description": "现货品种id",
  16997. "type": "integer"
  16998. },
  16999. "deliverygoodsname": {
  17000. "description": "现货品种名称",
  17001. "type": "string"
  17002. },
  17003. "enumdicname": {
  17004. "description": "现货商品单位名称",
  17005. "type": "string"
  17006. },
  17007. "logtype": {
  17008. "description": "记录类型 1-套保 2-现货合同",
  17009. "type": "integer"
  17010. },
  17011. "qty": {
  17012. "description": "数量",
  17013. "type": "number"
  17014. },
  17015. "recordname": {
  17016. "description": "类型名称",
  17017. "type": "string"
  17018. },
  17019. "relatedid": {
  17020. "description": "套保计划ID/现货合同ID",
  17021. "type": "string"
  17022. },
  17023. "relatedno": {
  17024. "description": "编号",
  17025. "type": "string"
  17026. },
  17027. "strtime": {
  17028. "description": "时间",
  17029. "type": "string"
  17030. }
  17031. }
  17032. },
  17033. "models.Ermcp3AreaSpotPLReport": {
  17034. "type": "object",
  17035. "properties": {
  17036. "accountid": {
  17037. "description": "期货账户ID (作废, 默认为0)",
  17038. "type": "integer"
  17039. },
  17040. "accountname": {
  17041. "description": "机构名称",
  17042. "type": "string"
  17043. },
  17044. "actualpl": {
  17045. "description": "现货损益",
  17046. "type": "number"
  17047. },
  17048. "areauserid": {
  17049. "description": "所属机构\\交易用户ID",
  17050. "type": "integer"
  17051. },
  17052. "begindate": {
  17053. "description": "开始交易日",
  17054. "type": "string"
  17055. },
  17056. "biztype": {
  17057. "description": "业务类型 - 1:套保 2:套利",
  17058. "type": "integer"
  17059. },
  17060. "brandname": {
  17061. "description": "品牌名称",
  17062. "type": "string"
  17063. },
  17064. "curamount": {
  17065. "description": "期末额",
  17066. "type": "number"
  17067. },
  17068. "curaverageprice": {
  17069. "description": "期末均价",
  17070. "type": "number"
  17071. },
  17072. "curbuyamount": {
  17073. "description": "期末采购总额",
  17074. "type": "number"
  17075. },
  17076. "curbuyqty": {
  17077. "description": "期末采购总量",
  17078. "type": "number"
  17079. },
  17080. "curmarketvalue": {
  17081. "description": "参考市值(期末市值)",
  17082. "type": "number"
  17083. },
  17084. "curqty": {
  17085. "description": "期末量",
  17086. "type": "number"
  17087. },
  17088. "currencyid": {
  17089. "description": "结算币种ID【原值】",
  17090. "type": "integer"
  17091. },
  17092. "currencyname": {
  17093. "description": "币种名称",
  17094. "type": "string"
  17095. },
  17096. "cursellamount": {
  17097. "description": "期末销售总额",
  17098. "type": "number"
  17099. },
  17100. "cursellqty": {
  17101. "description": "期末销售总量",
  17102. "type": "number"
  17103. },
  17104. "curspotprice": {
  17105. "description": "参考市价(最新价)",
  17106. "type": "number"
  17107. },
  17108. "cycletime": {
  17109. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17110. "type": "string"
  17111. },
  17112. "cycletype": {
  17113. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17114. "type": "integer"
  17115. },
  17116. "deliverygoodscode": {
  17117. "description": "现货商品代码",
  17118. "type": "string"
  17119. },
  17120. "deliverygoodsid": {
  17121. "description": "现货品种ID",
  17122. "type": "integer"
  17123. },
  17124. "deliverygoodsname": {
  17125. "description": "现货商品名称",
  17126. "type": "string"
  17127. },
  17128. "enddate": {
  17129. "description": "结束交易日",
  17130. "type": "string"
  17131. },
  17132. "enumdicname": {
  17133. "description": "现货商品单位名称",
  17134. "type": "string"
  17135. },
  17136. "floatpl": {
  17137. "description": "浮动损益",
  17138. "type": "number"
  17139. },
  17140. "goodsunitid": {
  17141. "description": "现货商品单位id",
  17142. "type": "integer"
  17143. },
  17144. "oriamount": {
  17145. "description": "期初额",
  17146. "type": "number"
  17147. },
  17148. "oriaverageprice": {
  17149. "description": "期初均价",
  17150. "type": "number"
  17151. },
  17152. "oribuyamount": {
  17153. "description": "期初采购总额",
  17154. "type": "number"
  17155. },
  17156. "oribuyqty": {
  17157. "description": "期初采购总量",
  17158. "type": "number"
  17159. },
  17160. "oriqty": {
  17161. "description": "期初量",
  17162. "type": "number"
  17163. },
  17164. "orisellamount": {
  17165. "description": "期初销售总额",
  17166. "type": "number"
  17167. },
  17168. "orisellqty": {
  17169. "description": "期初销售总量",
  17170. "type": "number"
  17171. },
  17172. "reckondate": {
  17173. "description": "日照时期(yyyyMMdd)",
  17174. "type": "string"
  17175. },
  17176. "spotgoodsbrandid": {
  17177. "description": "现货品牌ID",
  17178. "type": "integer"
  17179. },
  17180. "todaybuyamount": {
  17181. "description": "今日采购额(今采购额)",
  17182. "type": "number"
  17183. },
  17184. "todaybuyaverageprice": {
  17185. "description": "今日采购均价",
  17186. "type": "number"
  17187. },
  17188. "todaybuyqty": {
  17189. "description": "今日采购量(今采购量)",
  17190. "type": "number"
  17191. },
  17192. "todayinqty": {
  17193. "description": "今日入库量(今入库量)",
  17194. "type": "number"
  17195. },
  17196. "todayoutqty": {
  17197. "description": "今日出库量(今出库量)",
  17198. "type": "number"
  17199. },
  17200. "todaysellamount": {
  17201. "description": "今日销售额(今销售额)",
  17202. "type": "number"
  17203. },
  17204. "todaysellaverageprice": {
  17205. "description": "今日销售均价",
  17206. "type": "number"
  17207. },
  17208. "todaysellqty": {
  17209. "description": "今日销售量(今销售量)",
  17210. "type": "number"
  17211. },
  17212. "unitid": {
  17213. "description": "品类单位id",
  17214. "type": "integer"
  17215. },
  17216. "unitidname": {
  17217. "description": "品类单位名称",
  17218. "type": "string"
  17219. },
  17220. "updatetime": {
  17221. "description": "更新时间",
  17222. "type": "string"
  17223. },
  17224. "wrfactortypeid": {
  17225. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  17226. "type": "integer"
  17227. },
  17228. "wrstandardcode": {
  17229. "description": "品类代码",
  17230. "type": "string"
  17231. },
  17232. "wrstandardid": {
  17233. "description": "现货品类ID",
  17234. "type": "integer"
  17235. },
  17236. "wrstandardname": {
  17237. "description": "品类名称",
  17238. "type": "string"
  17239. }
  17240. }
  17241. },
  17242. "models.Ermcp3AreaStock": {
  17243. "type": "object",
  17244. "required": [
  17245. "userid"
  17246. ],
  17247. "properties": {
  17248. "brandname": {
  17249. "description": "品牌名称",
  17250. "type": "string"
  17251. },
  17252. "curstock": {
  17253. "description": "期末库存量(今日量)",
  17254. "type": "number"
  17255. },
  17256. "deliverygoodscode": {
  17257. "description": "现货品种代码",
  17258. "type": "string"
  17259. },
  17260. "deliverygoodsid": {
  17261. "description": "现货品种id",
  17262. "type": "integer"
  17263. },
  17264. "deliverygoodsname": {
  17265. "description": "现货品种名称",
  17266. "type": "string"
  17267. },
  17268. "enumdicname": {
  17269. "description": "单位名称",
  17270. "type": "string"
  17271. },
  17272. "goodsunitid": {
  17273. "description": "现货商品单位id",
  17274. "type": "integer"
  17275. },
  17276. "oristock": {
  17277. "description": "期初库存量(昨日量)",
  17278. "type": "number"
  17279. },
  17280. "spotgoodsbrandid": {
  17281. "description": "现货品牌ID",
  17282. "type": "integer"
  17283. },
  17284. "todaybuyinqty": {
  17285. "description": "今日采购入库量",
  17286. "type": "number"
  17287. },
  17288. "todayproduceinqty": {
  17289. "description": "今日生产入库量",
  17290. "type": "number"
  17291. },
  17292. "todayproduceoutqty": {
  17293. "description": "今日生产出库量",
  17294. "type": "number"
  17295. },
  17296. "todayselloutqty": {
  17297. "description": "今日销售出库量",
  17298. "type": "number"
  17299. },
  17300. "unitid": {
  17301. "description": "单位id",
  17302. "type": "integer"
  17303. },
  17304. "updatetime": {
  17305. "description": "更新时间",
  17306. "type": "string"
  17307. },
  17308. "userid": {
  17309. "description": "机构ID",
  17310. "type": "integer"
  17311. },
  17312. "username": {
  17313. "description": "机构名称",
  17314. "type": "string"
  17315. },
  17316. "warehousecode": {
  17317. "description": "仓库代码",
  17318. "type": "string"
  17319. },
  17320. "warehouseinfoid": {
  17321. "description": "仓库ID",
  17322. "type": "string"
  17323. },
  17324. "warehousename": {
  17325. "description": "仓库名称",
  17326. "type": "string"
  17327. },
  17328. "warehousetype": {
  17329. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17330. "type": "integer"
  17331. },
  17332. "wrstandardcode": {
  17333. "description": "品类代码",
  17334. "type": "string"
  17335. },
  17336. "wrstandardid": {
  17337. "description": "品类ID",
  17338. "type": "string"
  17339. },
  17340. "wrstandardname": {
  17341. "description": "品类名称",
  17342. "type": "string"
  17343. }
  17344. }
  17345. },
  17346. "models.Ermcp3AreaStockApply": {
  17347. "type": "object",
  17348. "properties": {
  17349. "applyid": {
  17350. "description": "申请人",
  17351. "type": "integer"
  17352. },
  17353. "applyname": {
  17354. "description": "申请人名称",
  17355. "type": "string"
  17356. },
  17357. "applyremark": {
  17358. "description": "申请备注",
  17359. "type": "string"
  17360. },
  17361. "applysrc": {
  17362. "description": "申请来源 - 1:管理端 2:终端",
  17363. "type": "integer"
  17364. },
  17365. "applystatus": {
  17366. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17367. "type": "integer"
  17368. },
  17369. "applytime": {
  17370. "description": "申请时间",
  17371. "type": "string"
  17372. },
  17373. "auditid": {
  17374. "description": "审核人",
  17375. "type": "integer"
  17376. },
  17377. "auditname": {
  17378. "description": "审核人名称",
  17379. "type": "string"
  17380. },
  17381. "auditremark": {
  17382. "description": "审核备注",
  17383. "type": "string"
  17384. },
  17385. "auditsrc": {
  17386. "description": "审核来源 - 1:管理端 2:终端",
  17387. "type": "integer"
  17388. },
  17389. "audittime": {
  17390. "description": "审核时间",
  17391. "type": "string"
  17392. },
  17393. "audittradedate": {
  17394. "description": "审核交易日(yyyyMMdd)",
  17395. "type": "string"
  17396. },
  17397. "brandname": {
  17398. "description": "品牌名称",
  17399. "type": "string"
  17400. },
  17401. "buynickname": {
  17402. "description": "采购方昵称",
  17403. "type": "string"
  17404. },
  17405. "buyuserid": {
  17406. "description": "采购方userid",
  17407. "type": "integer"
  17408. },
  17409. "buyusername": {
  17410. "description": "采购方名称",
  17411. "type": "string"
  17412. },
  17413. "contractno": {
  17414. "description": "合同编号",
  17415. "type": "string"
  17416. },
  17417. "contractqty": {
  17418. "description": "合同量",
  17419. "type": "number"
  17420. },
  17421. "contracttype": {
  17422. "description": "现货合同类型 - 1:采购 -1:销售",
  17423. "type": "integer"
  17424. },
  17425. "deliverygoodscode": {
  17426. "description": "现货品种代码",
  17427. "type": "string"
  17428. },
  17429. "deliverygoodsid": {
  17430. "description": "现货品种id",
  17431. "type": "integer"
  17432. },
  17433. "deliverygoodsname": {
  17434. "description": "现货品种名称",
  17435. "type": "string"
  17436. },
  17437. "detailjson": {
  17438. "description": "明细数据",
  17439. "type": "string"
  17440. },
  17441. "enumdicname": {
  17442. "description": "现货商品单位名称",
  17443. "type": "string"
  17444. },
  17445. "inoutapplyid": {
  17446. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  17447. "type": "string"
  17448. },
  17449. "inouttype": {
  17450. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  17451. "type": "integer"
  17452. },
  17453. "pricetype": {
  17454. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17455. "type": "integer"
  17456. },
  17457. "qty": {
  17458. "description": "数量",
  17459. "type": "number"
  17460. },
  17461. "sellnickname": {
  17462. "description": "销售方昵称",
  17463. "type": "string"
  17464. },
  17465. "selluserid": {
  17466. "description": "销售方userid",
  17467. "type": "integer"
  17468. },
  17469. "sellusername": {
  17470. "description": "销售方名称",
  17471. "type": "string"
  17472. },
  17473. "spotcontractid": {
  17474. "description": "关联现货合同ID",
  17475. "type": "string"
  17476. },
  17477. "spotgoodsbrandid": {
  17478. "description": "现货品牌ID",
  17479. "type": "integer"
  17480. },
  17481. "unitid": {
  17482. "description": "单位id",
  17483. "type": "integer"
  17484. },
  17485. "userid": {
  17486. "description": "机构ID",
  17487. "type": "integer"
  17488. },
  17489. "warehousecode": {
  17490. "description": "仓库代码",
  17491. "type": "string"
  17492. },
  17493. "warehouseinfoid": {
  17494. "description": "现货仓库ID",
  17495. "type": "string"
  17496. },
  17497. "warehousename": {
  17498. "description": "仓库名称",
  17499. "type": "string"
  17500. },
  17501. "warehousetype": {
  17502. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17503. "type": "integer"
  17504. },
  17505. "wrstandardcode": {
  17506. "description": "品类代码",
  17507. "type": "string"
  17508. },
  17509. "wrstandardid": {
  17510. "description": "品类ID",
  17511. "type": "integer"
  17512. },
  17513. "wrstandardname": {
  17514. "description": "品类名称",
  17515. "type": "string"
  17516. }
  17517. }
  17518. },
  17519. "models.Ermcp3AreaStockApplySum": {
  17520. "type": "object",
  17521. "properties": {
  17522. "brandname": {
  17523. "description": "品牌名称",
  17524. "type": "string"
  17525. },
  17526. "inouttype": {
  17527. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  17528. "type": "integer"
  17529. },
  17530. "spotcontractid": {
  17531. "description": "关联现货合同ID",
  17532. "type": "string"
  17533. },
  17534. "spotgoodsbrandid": {
  17535. "description": "品牌id",
  17536. "type": "integer"
  17537. },
  17538. "totalqty": {
  17539. "description": "总数量",
  17540. "type": "number"
  17541. },
  17542. "wrstandardid": {
  17543. "description": "品类id",
  17544. "type": "integer"
  17545. },
  17546. "wrstandardname": {
  17547. "description": "品类名称",
  17548. "type": "string"
  17549. }
  17550. }
  17551. },
  17552. "models.Ermcp3AreaStockReportEx": {
  17553. "type": "object",
  17554. "properties": {
  17555. "begindate": {
  17556. "description": "开始交易日",
  17557. "type": "string"
  17558. },
  17559. "brandname": {
  17560. "description": "品牌名称",
  17561. "type": "string"
  17562. },
  17563. "curstock": {
  17564. "description": "期末库存量",
  17565. "type": "number"
  17566. },
  17567. "cycletime": {
  17568. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17569. "type": "string"
  17570. },
  17571. "cycletype": {
  17572. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17573. "type": "integer"
  17574. },
  17575. "deliverygoodscode": {
  17576. "description": "现货品种代码",
  17577. "type": "string"
  17578. },
  17579. "deliverygoodsid": {
  17580. "description": "现货品种id",
  17581. "type": "integer"
  17582. },
  17583. "deliverygoodsname": {
  17584. "description": "现货品种名称",
  17585. "type": "string"
  17586. },
  17587. "diffqty": {
  17588. "description": "库存变化量 = 期末 - 期初",
  17589. "type": "number"
  17590. },
  17591. "enddate": {
  17592. "description": "结束交易日",
  17593. "type": "string"
  17594. },
  17595. "enumdicname": {
  17596. "description": "单位名称",
  17597. "type": "string"
  17598. },
  17599. "goodsunitid": {
  17600. "description": "现货单位id",
  17601. "type": "integer"
  17602. },
  17603. "oristock": {
  17604. "description": "期初库存量",
  17605. "type": "number"
  17606. },
  17607. "reckondate": {
  17608. "description": "日照时期(yyyyMMdd)",
  17609. "type": "string"
  17610. },
  17611. "spotgoodsbrandid": {
  17612. "description": "现货品牌ID",
  17613. "type": "integer"
  17614. },
  17615. "todaybuyinqty": {
  17616. "description": "今采购入库量",
  17617. "type": "number"
  17618. },
  17619. "todayproduceinqty": {
  17620. "description": "今内部入库量",
  17621. "type": "number"
  17622. },
  17623. "todayproduceoutqty": {
  17624. "description": "今内部出库量",
  17625. "type": "number"
  17626. },
  17627. "todayselloutqty": {
  17628. "description": "今销售出库量",
  17629. "type": "number"
  17630. },
  17631. "unbuyinqty": {
  17632. "description": "采购未入库量(数据库未找到相关字段?)",
  17633. "type": "number"
  17634. },
  17635. "unitid": {
  17636. "description": "品类单位id",
  17637. "type": "integer"
  17638. },
  17639. "unselloutqty": {
  17640. "description": "销售未出库量(数据库未找到相关字段?)",
  17641. "type": "number"
  17642. },
  17643. "updatetime": {
  17644. "description": "更新时间",
  17645. "type": "string"
  17646. },
  17647. "userid": {
  17648. "description": "机构ID",
  17649. "type": "integer"
  17650. },
  17651. "username": {
  17652. "description": "机构名称",
  17653. "type": "string"
  17654. },
  17655. "warehousecode": {
  17656. "description": "仓库代码",
  17657. "type": "string"
  17658. },
  17659. "warehouseinfoid": {
  17660. "description": "仓库ID",
  17661. "type": "string"
  17662. },
  17663. "warehousename": {
  17664. "description": "仓库名称",
  17665. "type": "string"
  17666. },
  17667. "warehousetype": {
  17668. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17669. "type": "integer"
  17670. },
  17671. "wrstandardcode": {
  17672. "description": "品类代码",
  17673. "type": "string"
  17674. },
  17675. "wrstandardid": {
  17676. "description": "品类ID",
  17677. "type": "integer"
  17678. },
  17679. "wrstandardname": {
  17680. "description": "品类名称",
  17681. "type": "string"
  17682. }
  17683. }
  17684. },
  17685. "models.Ermcp3ArealSumPL": {
  17686. "type": "object",
  17687. "properties": {
  17688. "accountname": {
  17689. "description": "机构名称",
  17690. "type": "string"
  17691. },
  17692. "areauserid": {
  17693. "description": "所属机构\\交易用户ID",
  17694. "type": "integer"
  17695. },
  17696. "begindate": {
  17697. "description": "开始交易日",
  17698. "type": "string"
  17699. },
  17700. "currencyid": {
  17701. "description": "结算币种ID",
  17702. "type": "integer"
  17703. },
  17704. "currencyname": {
  17705. "description": "币种名称",
  17706. "type": "string"
  17707. },
  17708. "cycletime": {
  17709. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17710. "type": "string"
  17711. },
  17712. "cycletype": {
  17713. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17714. "type": "integer"
  17715. },
  17716. "enddate": {
  17717. "description": "结束交易日",
  17718. "type": "string"
  17719. },
  17720. "enumdicname": {
  17721. "description": "单位名称(套保品种)",
  17722. "type": "string"
  17723. },
  17724. "futureactualpl": {
  17725. "description": "期货损益",
  17726. "type": "number"
  17727. },
  17728. "futurefloatpl": {
  17729. "description": "期货浮动损益",
  17730. "type": "number"
  17731. },
  17732. "goodsunitid": {
  17733. "description": "套保品种单位id",
  17734. "type": "integer"
  17735. },
  17736. "middlegoodscode": {
  17737. "description": "套保品种代码",
  17738. "type": "string"
  17739. },
  17740. "middlegoodsid": {
  17741. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  17742. "type": "integer"
  17743. },
  17744. "middlegoodsname": {
  17745. "description": "套保品种名称",
  17746. "type": "string"
  17747. },
  17748. "reckondate": {
  17749. "description": "日照时期(yyyyMMdd)",
  17750. "type": "string"
  17751. },
  17752. "spotactualpl": {
  17753. "description": "现货损益",
  17754. "type": "number"
  17755. },
  17756. "spotfloatpl": {
  17757. "description": "现货浮动损益",
  17758. "type": "number"
  17759. },
  17760. "sumactualpl": {
  17761. "description": "实际损益 = (ActualPL + FutureActualPL)",
  17762. "type": "number"
  17763. },
  17764. "sumpl": {
  17765. "description": "汇总损益",
  17766. "type": "number"
  17767. },
  17768. "updatetime": {
  17769. "description": "更新时间",
  17770. "type": "string"
  17771. }
  17772. }
  17773. },
  17774. "models.Ermcp3Brand": {
  17775. "type": "object",
  17776. "properties": {
  17777. "areauserid": {
  17778. "description": "用户id",
  17779. "type": "integer"
  17780. },
  17781. "brandid": {
  17782. "description": "品牌id",
  17783. "type": "integer"
  17784. },
  17785. "brandname": {
  17786. "description": "品牌名称",
  17787. "type": "string"
  17788. },
  17789. "deliverygoodsid": {
  17790. "description": "品种ID",
  17791. "type": "integer"
  17792. }
  17793. }
  17794. },
  17795. "models.Ermcp3Contract": {
  17796. "type": "object",
  17797. "properties": {
  17798. "accountid": {
  17799. "description": "期货账户id",
  17800. "type": "string"
  17801. },
  17802. "amount": {
  17803. "description": "金额 [1:一口价、3:暂定价]",
  17804. "type": "number"
  17805. },
  17806. "attachment": {
  17807. "description": "附件",
  17808. "type": "string"
  17809. },
  17810. "auditremark": {
  17811. "description": "审核意见",
  17812. "type": "string"
  17813. },
  17814. "audittime": {
  17815. "description": "审核时间",
  17816. "type": "string"
  17817. },
  17818. "biztype": {
  17819. "description": "业务类型 1-套保 2-套利",
  17820. "type": "integer"
  17821. },
  17822. "brandname": {
  17823. "description": "品牌名称",
  17824. "type": "string"
  17825. },
  17826. "buynickname": {
  17827. "description": "销售方昵称",
  17828. "type": "string"
  17829. },
  17830. "buyuserid": {
  17831. "description": "采购方ID",
  17832. "type": "integer"
  17833. },
  17834. "buyusername": {
  17835. "description": "采购方名称",
  17836. "type": "string"
  17837. },
  17838. "contracctstatus": {
  17839. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17840. "type": "integer"
  17841. },
  17842. "contractmargin": {
  17843. "description": "合同保证金",
  17844. "type": "number"
  17845. },
  17846. "contractno": {
  17847. "description": "现货合同编号",
  17848. "type": "string"
  17849. },
  17850. "contracttype": {
  17851. "description": "现货合同类型 - 1:采购 -1:销售",
  17852. "type": "integer"
  17853. },
  17854. "convertfactor": {
  17855. "description": "标仓系数(品类)",
  17856. "type": "number"
  17857. },
  17858. "createtime": {
  17859. "description": "创建时间",
  17860. "type": "string"
  17861. },
  17862. "currencyid": {
  17863. "description": "币种id",
  17864. "type": "integer"
  17865. },
  17866. "currencyname": {
  17867. "description": "币种名称",
  17868. "type": "string"
  17869. },
  17870. "deliveryenddate": {
  17871. "description": "交收期(结束)",
  17872. "type": "string"
  17873. },
  17874. "deliverygoodscode": {
  17875. "description": "现货品种代码",
  17876. "type": "string"
  17877. },
  17878. "deliverygoodsid": {
  17879. "description": "现货品种ID",
  17880. "type": "integer"
  17881. },
  17882. "deliverygoodsname": {
  17883. "description": "现货品种名称",
  17884. "type": "string"
  17885. },
  17886. "deliverystartdate": {
  17887. "description": "交收期(开始)",
  17888. "type": "string"
  17889. },
  17890. "enddate": {
  17891. "description": "点价结束日期 [2:点价 3:暂定价]",
  17892. "type": "string"
  17893. },
  17894. "enumdicname": {
  17895. "description": "单位名称",
  17896. "type": "string"
  17897. },
  17898. "goodscode": {
  17899. "description": "点价合约代码",
  17900. "type": "string"
  17901. },
  17902. "goodsid": {
  17903. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  17904. "type": "integer"
  17905. },
  17906. "goodsname": {
  17907. "description": "点价商品名称",
  17908. "type": "string"
  17909. },
  17910. "margin": {
  17911. "description": "当前保证金",
  17912. "type": "number"
  17913. },
  17914. "meruserid": {
  17915. "description": "跟单员id",
  17916. "type": "integer"
  17917. },
  17918. "meruserlogincode": {
  17919. "description": "跟单员登录代码",
  17920. "type": "string"
  17921. },
  17922. "merusername": {
  17923. "description": "跟单员名称",
  17924. "type": "string"
  17925. },
  17926. "price": {
  17927. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  17928. "type": "number"
  17929. },
  17930. "pricemove": {
  17931. "description": "升贴水 [2:点价 3:暂定价]",
  17932. "type": "number"
  17933. },
  17934. "pricetype": {
  17935. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17936. "type": "integer"
  17937. },
  17938. "producttype": {
  17939. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17940. "type": "integer"
  17941. },
  17942. "qty": {
  17943. "description": "数量",
  17944. "type": "number"
  17945. },
  17946. "remark": {
  17947. "description": "备注",
  17948. "type": "string"
  17949. },
  17950. "saleuserid": {
  17951. "description": "业务员id",
  17952. "type": "integer"
  17953. },
  17954. "saleuserlogincode": {
  17955. "description": "业务员登录代码",
  17956. "type": "string"
  17957. },
  17958. "saleusername": {
  17959. "description": "业务员名称",
  17960. "type": "string"
  17961. },
  17962. "sellnickname": {
  17963. "description": "采购方昵称",
  17964. "type": "string"
  17965. },
  17966. "selluserid": {
  17967. "description": "销售方ID",
  17968. "type": "integer"
  17969. },
  17970. "sellusername": {
  17971. "description": "销售方名称",
  17972. "type": "string"
  17973. },
  17974. "spotcontractid": {
  17975. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  17976. "type": "string"
  17977. },
  17978. "spotgoodsbrandid": {
  17979. "description": "现货品牌ID(DGFactoryItem表的ID)",
  17980. "type": "integer"
  17981. },
  17982. "spotgoodsdesc": {
  17983. "description": "商品型号",
  17984. "type": "string"
  17985. },
  17986. "startdate": {
  17987. "description": "点价开始日期 [2:点价 3:暂定价]",
  17988. "type": "string"
  17989. },
  17990. "tradeuserid": {
  17991. "description": "交易员id",
  17992. "type": "integer"
  17993. },
  17994. "tradeuserlogincode": {
  17995. "description": "交易员登录代码",
  17996. "type": "string"
  17997. },
  17998. "tradeusername": {
  17999. "description": "交易员名称",
  18000. "type": "string"
  18001. },
  18002. "unitid": {
  18003. "description": "单位id(取品类上的单位id)",
  18004. "type": "integer"
  18005. },
  18006. "updatetime": {
  18007. "description": "更新时间",
  18008. "type": "string"
  18009. },
  18010. "userid": {
  18011. "description": "所属机构ID",
  18012. "type": "integer"
  18013. },
  18014. "wrstandardcode": {
  18015. "description": "品类代码",
  18016. "type": "string"
  18017. },
  18018. "wrstandardid": {
  18019. "description": "品类ID",
  18020. "type": "integer"
  18021. },
  18022. "wrstandardname": {
  18023. "description": "品类名称",
  18024. "type": "string"
  18025. }
  18026. }
  18027. },
  18028. "models.Ermcp3ExposureContractDetail": {
  18029. "type": "object",
  18030. "properties": {
  18031. "biztype": {
  18032. "description": "业务类型 1-套保 2-套利",
  18033. "type": "integer"
  18034. },
  18035. "brandname": {
  18036. "description": "品牌名称",
  18037. "type": "string"
  18038. },
  18039. "buyuserid": {
  18040. "description": "采购方id",
  18041. "type": "integer"
  18042. },
  18043. "buyusername": {
  18044. "description": "采购方名称",
  18045. "type": "string"
  18046. },
  18047. "contractno": {
  18048. "description": "合同编号",
  18049. "type": "string"
  18050. },
  18051. "contracttype": {
  18052. "description": "现货合同类型 - 1:采购 -1:销售",
  18053. "type": "integer"
  18054. },
  18055. "convertfactor": {
  18056. "description": "标仓系数",
  18057. "type": "number"
  18058. },
  18059. "convertratio": {
  18060. "description": "折算系数(套保品种)",
  18061. "type": "number"
  18062. },
  18063. "curqty": {
  18064. "description": "今定价量",
  18065. "type": "number"
  18066. },
  18067. "deliverygoodscode": {
  18068. "description": "现货商品代码",
  18069. "type": "string"
  18070. },
  18071. "deliverygoodsid": {
  18072. "description": "现货商品id",
  18073. "type": "integer"
  18074. },
  18075. "deliverygoodsname": {
  18076. "description": "现货商品名称",
  18077. "type": "string"
  18078. },
  18079. "diffhedgeqty": {
  18080. "description": "套保变动量",
  18081. "type": "number"
  18082. },
  18083. "diffneedhedgeqty": {
  18084. "description": "应套保变动量",
  18085. "type": "number"
  18086. },
  18087. "diffqty": {
  18088. "description": "套保品种今变动量",
  18089. "type": "number"
  18090. },
  18091. "enumdicname": {
  18092. "description": "单位名称",
  18093. "type": "string"
  18094. },
  18095. "mgunitname": {
  18096. "description": "套保品种单位名称",
  18097. "type": "string"
  18098. },
  18099. "middlegoodscode": {
  18100. "description": "套保品种代码",
  18101. "type": "string"
  18102. },
  18103. "middlegoodsid": {
  18104. "description": "套保品种id",
  18105. "type": "integer"
  18106. },
  18107. "middlegoodsname": {
  18108. "description": "套保品种名称",
  18109. "type": "string"
  18110. },
  18111. "needarbitrageratio": {
  18112. "description": "应套利比例",
  18113. "type": "number"
  18114. },
  18115. "needhedgeratio": {
  18116. "description": "应套保比例",
  18117. "type": "number"
  18118. },
  18119. "pricedqty": {
  18120. "description": "已定价量",
  18121. "type": "number"
  18122. },
  18123. "qty": {
  18124. "description": "合同量",
  18125. "type": "number"
  18126. },
  18127. "selluserid": {
  18128. "description": "销售方id",
  18129. "type": "integer"
  18130. },
  18131. "sellusername": {
  18132. "description": "销售方名称",
  18133. "type": "string"
  18134. },
  18135. "spotcontractid": {
  18136. "description": "合同id",
  18137. "type": "string"
  18138. },
  18139. "todaypricedqty": {
  18140. "description": "今定价量",
  18141. "type": "number"
  18142. },
  18143. "tradedate": {
  18144. "description": "交易日",
  18145. "type": "string"
  18146. },
  18147. "unitid": {
  18148. "description": "品类单位id",
  18149. "type": "integer"
  18150. },
  18151. "userid": {
  18152. "description": "机构id",
  18153. "type": "integer"
  18154. },
  18155. "username": {
  18156. "description": "交易用户",
  18157. "type": "string"
  18158. },
  18159. "wrstandardcode": {
  18160. "description": "品类代码",
  18161. "type": "string"
  18162. },
  18163. "wrstandardid": {
  18164. "description": "品类id",
  18165. "type": "integer"
  18166. },
  18167. "wrstandardname": {
  18168. "description": "品类名称",
  18169. "type": "string"
  18170. }
  18171. }
  18172. },
  18173. "models.Ermcp3ExposureDetail": {
  18174. "type": "object",
  18175. "properties": {
  18176. "areauserid": {
  18177. "description": "机构ID",
  18178. "type": "integer"
  18179. },
  18180. "changeQty": {
  18181. "description": "套保变动量",
  18182. "type": "number"
  18183. },
  18184. "contracttype": {
  18185. "description": "现货合同类型 - 1:采购 -1:销售",
  18186. "type": "integer"
  18187. },
  18188. "convertfactor": {
  18189. "description": "标仓系数",
  18190. "type": "number"
  18191. },
  18192. "convertratio": {
  18193. "description": "套保系数",
  18194. "type": "number"
  18195. },
  18196. "createtime": {
  18197. "description": "时间",
  18198. "type": "string"
  18199. },
  18200. "deliverygoodscode": {
  18201. "description": "现货品种代码",
  18202. "type": "string"
  18203. },
  18204. "deliverygoodsid": {
  18205. "description": "现货品种id",
  18206. "type": "integer"
  18207. },
  18208. "deliverygoodsname": {
  18209. "description": "现货品种名称",
  18210. "type": "string"
  18211. },
  18212. "enumdicname": {
  18213. "description": "现货商品单位名称",
  18214. "type": "string"
  18215. },
  18216. "logtype": {
  18217. "description": "类型 - 1:套保计划 2:现货合同",
  18218. "type": "integer"
  18219. },
  18220. "mgunitid": {
  18221. "description": "套保品种单位id",
  18222. "type": "integer"
  18223. },
  18224. "mgunitidname": {
  18225. "description": "套保品种单位名称",
  18226. "type": "string"
  18227. },
  18228. "middlegoodsId": {
  18229. "description": "套保商品id",
  18230. "type": "integer"
  18231. },
  18232. "middlegoodscode": {
  18233. "description": "套保商品代码",
  18234. "type": "string"
  18235. },
  18236. "middlegoodsname": {
  18237. "description": "套保商品名称",
  18238. "type": "string"
  18239. },
  18240. "qty": {
  18241. "description": "数量",
  18242. "type": "number"
  18243. },
  18244. "relateNo": {
  18245. "description": "现货合同/套保计划编号",
  18246. "type": "string"
  18247. }
  18248. }
  18249. },
  18250. "models.Ermcp3ExposureFutuDetail": {
  18251. "type": "object",
  18252. "properties": {
  18253. "accountid": {
  18254. "description": "交易账户id",
  18255. "type": "integer"
  18256. },
  18257. "accountname": {
  18258. "description": "交易账户",
  18259. "type": "string"
  18260. },
  18261. "begindate": {
  18262. "description": "开始交易日",
  18263. "type": "string"
  18264. },
  18265. "buyorsell": {
  18266. "description": "方向 0-买 1-卖",
  18267. "type": "integer"
  18268. },
  18269. "diffmgqty": {
  18270. "description": "套保品种今变化量",
  18271. "type": "number"
  18272. },
  18273. "diffneedqty": {
  18274. "description": "应套保总量变化量",
  18275. "type": "number"
  18276. },
  18277. "difftradeqty": {
  18278. "description": "交易品种今变化量",
  18279. "type": "number"
  18280. },
  18281. "enddate": {
  18282. "description": "结束交易日",
  18283. "type": "string"
  18284. },
  18285. "enumdicname": {
  18286. "description": "单位名称",
  18287. "type": "string"
  18288. },
  18289. "goodscode": {
  18290. "description": "商品代码",
  18291. "type": "string"
  18292. },
  18293. "goodsid": {
  18294. "description": "商品id",
  18295. "type": "integer"
  18296. },
  18297. "goodsname": {
  18298. "description": "商品名称",
  18299. "type": "string"
  18300. },
  18301. "holdqty": {
  18302. "description": "期末持仓量",
  18303. "type": "number"
  18304. },
  18305. "middlegoodscode": {
  18306. "description": "套保商品代码",
  18307. "type": "string"
  18308. },
  18309. "middlegoodsid": {
  18310. "description": "套保商品id",
  18311. "type": "integer"
  18312. },
  18313. "middlegoodsname": {
  18314. "description": "套保商品名称",
  18315. "type": "string"
  18316. },
  18317. "oriholdqty": {
  18318. "description": "期初持仓量",
  18319. "type": "number"
  18320. },
  18321. "todaycloseqty": {
  18322. "description": "今平仓量",
  18323. "type": "number"
  18324. },
  18325. "todayopenqty": {
  18326. "description": "今开仓量",
  18327. "type": "number"
  18328. },
  18329. "tradedate": {
  18330. "description": "交易日",
  18331. "type": "string"
  18332. }
  18333. }
  18334. },
  18335. "models.Ermcp3ExposureHedgeplanDetail": {
  18336. "type": "object",
  18337. "properties": {
  18338. "biztype": {
  18339. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  18340. "type": "integer"
  18341. },
  18342. "changqty": {
  18343. "description": "应套保总量变化量",
  18344. "type": "number"
  18345. },
  18346. "contracttype": {
  18347. "description": "计划类型 - 1:采购 -1:销售",
  18348. "type": "integer"
  18349. },
  18350. "convertratio": {
  18351. "description": "折算系数(套保品种)",
  18352. "type": "number"
  18353. },
  18354. "deliverygoodscode": {
  18355. "description": "现货商品代码",
  18356. "type": "string"
  18357. },
  18358. "deliverygoodsid": {
  18359. "description": "现货商品id",
  18360. "type": "integer"
  18361. },
  18362. "deliverygoodsname": {
  18363. "description": "现货商吕名称",
  18364. "type": "string"
  18365. },
  18366. "dgunitid": {
  18367. "description": "现货商品单位id",
  18368. "type": "integer"
  18369. },
  18370. "dgunitidname": {
  18371. "description": "单位名称(现货商品)",
  18372. "type": "string"
  18373. },
  18374. "diffqty": {
  18375. "description": "套保品种今变动量",
  18376. "type": "number"
  18377. },
  18378. "enumdicname": {
  18379. "description": "单位名称(品类)",
  18380. "type": "string"
  18381. },
  18382. "hedgeplanid": {
  18383. "description": "套保计划id",
  18384. "type": "string"
  18385. },
  18386. "hedgeplanno": {
  18387. "description": "套保计划名称",
  18388. "type": "string"
  18389. },
  18390. "hedgeplanstatus": {
  18391. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18392. "type": "integer"
  18393. },
  18394. "mgunitidname": {
  18395. "description": "单位名称(套保商品)",
  18396. "type": "string"
  18397. },
  18398. "middlegoodscode": {
  18399. "description": "套保品种代码",
  18400. "type": "string"
  18401. },
  18402. "middlegoodsid": {
  18403. "description": "套保品种id",
  18404. "type": "integer"
  18405. },
  18406. "middlegoodsname": {
  18407. "description": "套保品种名称",
  18408. "type": "string"
  18409. },
  18410. "needarbitrageratio": {
  18411. "description": "应套利比例",
  18412. "type": "number"
  18413. },
  18414. "needhedgeratio": {
  18415. "description": "应套保比例",
  18416. "type": "number"
  18417. },
  18418. "pricedqty": {
  18419. "description": "已定价量",
  18420. "type": "number"
  18421. },
  18422. "qty": {
  18423. "description": "合同量",
  18424. "type": "number"
  18425. },
  18426. "tradedate": {
  18427. "description": "交易日(登记日)",
  18428. "type": "string"
  18429. },
  18430. "unitid": {
  18431. "description": "品类单位id",
  18432. "type": "integer"
  18433. },
  18434. "userid": {
  18435. "description": "机构id",
  18436. "type": "integer"
  18437. },
  18438. "wrstandardcode": {
  18439. "description": "品类代码",
  18440. "type": "string"
  18441. },
  18442. "wrstandardid": {
  18443. "description": "品类id",
  18444. "type": "integer"
  18445. },
  18446. "wrstandardname": {
  18447. "description": "品类名称",
  18448. "type": "string"
  18449. }
  18450. }
  18451. },
  18452. "models.Ermcp3ExposureParamChLog": {
  18453. "type": "object",
  18454. "properties": {
  18455. "accountid": {
  18456. "description": "期货账户ID (作废, 默认为0)",
  18457. "type": "integer"
  18458. },
  18459. "aftervalue": {
  18460. "description": "应套保\\套利量变更后(调整后应套保总量)",
  18461. "type": "number"
  18462. },
  18463. "areauserid": {
  18464. "description": "所属机构\\交易用户ID",
  18465. "type": "integer"
  18466. },
  18467. "beforevalue": {
  18468. "description": "应套保\\套利量变更前(调整前应套保总量)",
  18469. "type": "number"
  18470. },
  18471. "begindate": {
  18472. "description": "开始交易日",
  18473. "type": "string"
  18474. },
  18475. "changelogtype": {
  18476. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  18477. "type": "integer"
  18478. },
  18479. "curvalue": {
  18480. "description": "当前套保\\套利量(套保总量|套利总量)",
  18481. "type": "number"
  18482. },
  18483. "diffvalue": {
  18484. "description": "应套保总量变化量",
  18485. "type": "number"
  18486. },
  18487. "enddate": {
  18488. "description": "结束交易日",
  18489. "type": "string"
  18490. },
  18491. "logdatetime": {
  18492. "description": "流水日期",
  18493. "type": "string"
  18494. },
  18495. "logid": {
  18496. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  18497. "type": "string"
  18498. },
  18499. "middlegoodscode": {
  18500. "description": "套保品种代码",
  18501. "type": "string"
  18502. },
  18503. "middlegoodsid": {
  18504. "description": "套保品种",
  18505. "type": "integer"
  18506. },
  18507. "middlegoodsname": {
  18508. "description": "套保品种名称",
  18509. "type": "string"
  18510. },
  18511. "paramaftervalue": {
  18512. "description": "参数变更后(调整后参数值)",
  18513. "type": "number"
  18514. },
  18515. "parambeforevalue": {
  18516. "description": "参数变更前(调整前参数值)",
  18517. "type": "number"
  18518. },
  18519. "tradedate": {
  18520. "description": "交易日(yyyyMMdd)",
  18521. "type": "string"
  18522. }
  18523. }
  18524. },
  18525. "models.Ermcp3ExpourseReport": {
  18526. "type": "object",
  18527. "properties": {
  18528. "accountid": {
  18529. "description": "期货账户ID (作废, 默认为0)",
  18530. "type": "integer"
  18531. },
  18532. "accountname": {
  18533. "description": "机构名称",
  18534. "type": "string"
  18535. },
  18536. "arbitrageqty": {
  18537. "description": "套利量",
  18538. "type": "number"
  18539. },
  18540. "areauserid": {
  18541. "description": "所属机构\\交易用户ID",
  18542. "type": "integer"
  18543. },
  18544. "begindate": {
  18545. "description": "开始交易日",
  18546. "type": "string"
  18547. },
  18548. "buyfutureqty": {
  18549. "description": "买入期货数量",
  18550. "type": "number"
  18551. },
  18552. "buyplanqty": {
  18553. "description": "采购计划数量",
  18554. "type": "number"
  18555. },
  18556. "buypricedqty": {
  18557. "description": "采购合同已定价数量",
  18558. "type": "number"
  18559. },
  18560. "cycletime": {
  18561. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18562. "type": "string"
  18563. },
  18564. "cycletype": {
  18565. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18566. "type": "integer"
  18567. },
  18568. "diffexposure": {
  18569. "description": "变动量(套保敞口)",
  18570. "type": "number"
  18571. },
  18572. "difffutuqty": {
  18573. "description": "变动量(期货)",
  18574. "type": "number"
  18575. },
  18576. "diffhedgeqty": {
  18577. "description": "变动量(现货应套保总量)",
  18578. "type": "number"
  18579. },
  18580. "diffmgqtya": {
  18581. "description": "套保变动量",
  18582. "type": "number"
  18583. },
  18584. "diffmgqtyb": {
  18585. "description": "套利变动量",
  18586. "type": "number"
  18587. },
  18588. "diffqty": {
  18589. "description": "变动量(总敞口)",
  18590. "type": "number"
  18591. },
  18592. "diffspotqty": {
  18593. "description": "变动量(现货)",
  18594. "type": "number"
  18595. },
  18596. "enddate": {
  18597. "description": "结束交易日",
  18598. "type": "string"
  18599. },
  18600. "enumdicname": {
  18601. "description": "单位名称",
  18602. "type": "string"
  18603. },
  18604. "hedgeqty": {
  18605. "description": "套保量",
  18606. "type": "number"
  18607. },
  18608. "mgneedhedgeratio": {
  18609. "description": "套保比例(套保品的)",
  18610. "type": "number"
  18611. },
  18612. "middlegoodsid": {
  18613. "description": "套保品种ID",
  18614. "type": "integer"
  18615. },
  18616. "middlegoodsname": {
  18617. "description": "套保商品名称",
  18618. "type": "string"
  18619. },
  18620. "middlgoodscode": {
  18621. "description": "套保商品代码",
  18622. "type": "string"
  18623. },
  18624. "needarbitrageqty": {
  18625. "description": "应套利量",
  18626. "type": "number"
  18627. },
  18628. "needarbitrageratio": {
  18629. "description": "套利比例(套保品的)",
  18630. "type": "number"
  18631. },
  18632. "needhedgeexposoure": {
  18633. "description": "应套保敞口(套保敞口)",
  18634. "type": "number"
  18635. },
  18636. "needhedgeqty": {
  18637. "description": "应套保量",
  18638. "type": "number"
  18639. },
  18640. "needhedgeratio": {
  18641. "description": "应套保敞口比例",
  18642. "type": "number"
  18643. },
  18644. "oriarbitrageqty": {
  18645. "description": "期初套利量",
  18646. "type": "number"
  18647. },
  18648. "oribuyfutureqty": {
  18649. "description": "期初买入期货数量",
  18650. "type": "number"
  18651. },
  18652. "oribuyplanqty": {
  18653. "description": "期初采购计划数量",
  18654. "type": "number"
  18655. },
  18656. "oribuypricedqty": {
  18657. "description": "期初采购合同已定价数量",
  18658. "type": "number"
  18659. },
  18660. "orihedgeqty": {
  18661. "description": "期初套保量",
  18662. "type": "number"
  18663. },
  18664. "orineedarbitrageqty": {
  18665. "description": "期初应套利量",
  18666. "type": "number"
  18667. },
  18668. "orineedhedgeexposoure": {
  18669. "description": "期初应套保敞口",
  18670. "type": "number"
  18671. },
  18672. "orineedhedgeqty": {
  18673. "description": "期初应套保量",
  18674. "type": "number"
  18675. },
  18676. "orisellfutureqty": {
  18677. "description": "期初卖出期货数量",
  18678. "type": "number"
  18679. },
  18680. "orisellplanqty": {
  18681. "description": "期初销售计划数量",
  18682. "type": "number"
  18683. },
  18684. "orisellpricedqty": {
  18685. "description": "期初销售合同已定价数量",
  18686. "type": "number"
  18687. },
  18688. "oritotalexposure": {
  18689. "description": "期初实时总敞口",
  18690. "type": "number"
  18691. },
  18692. "oritotalfutureqty": {
  18693. "description": "期初期货头寸总量",
  18694. "type": "number"
  18695. },
  18696. "oritotalneedhedgeqty": {
  18697. "description": "期初应套保总量",
  18698. "type": "number"
  18699. },
  18700. "oritotalspotqty": {
  18701. "description": "期初现货头寸总量",
  18702. "type": "number"
  18703. },
  18704. "reckondate": {
  18705. "description": "日照时期(yyyyMMdd)",
  18706. "type": "string"
  18707. },
  18708. "sellfutureqty": {
  18709. "description": "卖出期货数量",
  18710. "type": "number"
  18711. },
  18712. "sellplanqty": {
  18713. "description": "销售计划数量",
  18714. "type": "number"
  18715. },
  18716. "sellpricedqty": {
  18717. "description": "销售合同已定价数量",
  18718. "type": "number"
  18719. },
  18720. "totalexposure": {
  18721. "description": "实时总敞口(总敞口)",
  18722. "type": "number"
  18723. },
  18724. "totalfutureqty": {
  18725. "description": "期货头寸总量(期货总量)",
  18726. "type": "number"
  18727. },
  18728. "totalhedgeratio": {
  18729. "description": "敞口比例",
  18730. "type": "number"
  18731. },
  18732. "totalneedhedgeqty": {
  18733. "description": "应套保总量(现货应套保总量)",
  18734. "type": "number"
  18735. },
  18736. "totalspotqty": {
  18737. "description": "现货头寸总量",
  18738. "type": "number"
  18739. },
  18740. "unitid": {
  18741. "description": "单位id",
  18742. "type": "integer"
  18743. },
  18744. "updatetime": {
  18745. "description": "更新时间",
  18746. "type": "string"
  18747. }
  18748. }
  18749. },
  18750. "models.Ermcp3FinanceReport": {
  18751. "type": "object",
  18752. "properties": {
  18753. "accountname": {
  18754. "description": "机构名称",
  18755. "type": "string"
  18756. },
  18757. "areauserid": {
  18758. "description": "所属机构\\交易用户ID",
  18759. "type": "integer"
  18760. },
  18761. "begindate": {
  18762. "description": "开始交易日",
  18763. "type": "string"
  18764. },
  18765. "biztype": {
  18766. "description": "业务类型 - 1:套保 2:套利",
  18767. "type": "integer"
  18768. },
  18769. "brandname": {
  18770. "description": "品牌名称",
  18771. "type": "string"
  18772. },
  18773. "buypreinvoicedamount": {
  18774. "description": "采购预收票额(预收票额)",
  18775. "type": "number"
  18776. },
  18777. "buyprepaidamount": {
  18778. "description": "采购预付款额(预付货款额)",
  18779. "type": "number"
  18780. },
  18781. "buytodayinvoiceamount": {
  18782. "description": "采购今收票额(今收票额)",
  18783. "type": "number"
  18784. },
  18785. "buytodayrefundamount": {
  18786. "description": "采购今收退款额(今收退款额)",
  18787. "type": "number"
  18788. },
  18789. "buytodaysettleamount": {
  18790. "description": "采购今付款额(今付货款额)",
  18791. "type": "number"
  18792. },
  18793. "buyuninvoicedamount": {
  18794. "description": "采购应收票额(应收票额)",
  18795. "type": "number"
  18796. },
  18797. "buyunpaidamount": {
  18798. "description": "采购应付款额(应付货款额)",
  18799. "type": "number"
  18800. },
  18801. "currencyid": {
  18802. "description": "结算币种ID",
  18803. "type": "integer"
  18804. },
  18805. "currencyname": {
  18806. "description": "币种名称",
  18807. "type": "string"
  18808. },
  18809. "cycletime": {
  18810. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18811. "type": "string"
  18812. },
  18813. "cycletype": {
  18814. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18815. "type": "integer"
  18816. },
  18817. "deliverygoodscode": {
  18818. "description": "现货品种代码",
  18819. "type": "string"
  18820. },
  18821. "deliverygoodsid": {
  18822. "description": "现货品种ID",
  18823. "type": "integer"
  18824. },
  18825. "deliverygoodsname": {
  18826. "description": "现货品种名称",
  18827. "type": "string"
  18828. },
  18829. "enddate": {
  18830. "description": "结束交易日",
  18831. "type": "string"
  18832. },
  18833. "reckondate": {
  18834. "description": "日照时期(yyyyMMdd)",
  18835. "type": "string"
  18836. },
  18837. "sellpreinvoicedamount": {
  18838. "description": "销售预开票额(预开票额)",
  18839. "type": "number"
  18840. },
  18841. "sellprepaidamount": {
  18842. "description": "销售预收款额(预收货款额)",
  18843. "type": "number"
  18844. },
  18845. "selltodayinvoiceamount": {
  18846. "description": "销售今开票额(今开票额)",
  18847. "type": "number"
  18848. },
  18849. "selltodayrefundamount": {
  18850. "description": "销售今付退款额(今付退款额)",
  18851. "type": "number"
  18852. },
  18853. "selltodaysettleamount": {
  18854. "description": "销售今收款额(今收货款额)",
  18855. "type": "number"
  18856. },
  18857. "selluninvoicedamount": {
  18858. "description": "销售应开票额(应开票额)",
  18859. "type": "number"
  18860. },
  18861. "sellunpaidamount": {
  18862. "description": "销售应收款额(应收货款额)",
  18863. "type": "number"
  18864. },
  18865. "spotgoodsbrandid": {
  18866. "description": "现货品牌ID",
  18867. "type": "integer"
  18868. },
  18869. "todaypaysum": {
  18870. "description": "今付款合计",
  18871. "type": "number"
  18872. },
  18873. "todayreceivesum": {
  18874. "description": "今收款合计",
  18875. "type": "number"
  18876. },
  18877. "updatetime": {
  18878. "description": "更新时间",
  18879. "type": "string"
  18880. },
  18881. "wrfactortypeid": {
  18882. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  18883. "type": "integer"
  18884. },
  18885. "wrstandardcode": {
  18886. "description": "品类代码",
  18887. "type": "string"
  18888. },
  18889. "wrstandardid": {
  18890. "description": "现货商品ID",
  18891. "type": "integer"
  18892. },
  18893. "wrstandardname": {
  18894. "description": "品类名称",
  18895. "type": "string"
  18896. }
  18897. }
  18898. },
  18899. "models.Ermcp3Goods": {
  18900. "type": "object",
  18901. "properties": {
  18902. "agreeunit": {
  18903. "description": "合约单位(合约乘数)",
  18904. "type": "number"
  18905. },
  18906. "enumdicname": {
  18907. "description": "单位名称",
  18908. "type": "string"
  18909. },
  18910. "exexchangecode": {
  18911. "description": "交易所代码",
  18912. "type": "string"
  18913. },
  18914. "goodscode": {
  18915. "description": "期货商品代码",
  18916. "type": "string"
  18917. },
  18918. "goodsid": {
  18919. "description": "期货商品id",
  18920. "type": "integer"
  18921. },
  18922. "goodsname": {
  18923. "description": "期货商品名称",
  18924. "type": "string"
  18925. }
  18926. }
  18927. },
  18928. "models.Ermcp3GoodsGroup": {
  18929. "type": "object",
  18930. "required": [
  18931. "areauserid"
  18932. ],
  18933. "properties": {
  18934. "agreeunit": {
  18935. "description": "合约单位",
  18936. "type": "number"
  18937. },
  18938. "areauserid": {
  18939. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  18940. "type": "integer"
  18941. },
  18942. "canshort": {
  18943. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  18944. "type": "integer"
  18945. },
  18946. "closepricemode": {
  18947. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18948. "type": "integer"
  18949. },
  18950. "createtime": {
  18951. "description": "创建时间",
  18952. "type": "string"
  18953. },
  18954. "creatorid": {
  18955. "description": "创建人",
  18956. "type": "integer"
  18957. },
  18958. "currencyid": {
  18959. "description": "报价货币ID",
  18960. "type": "integer"
  18961. },
  18962. "decimalplace": {
  18963. "description": "报价小数位",
  18964. "type": "integer"
  18965. },
  18966. "enumdicname": {
  18967. "description": "单位名称",
  18968. "type": "string"
  18969. },
  18970. "exchangefullname": {
  18971. "description": "交易所全称",
  18972. "type": "string"
  18973. },
  18974. "excludecfg": {
  18975. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  18976. "type": "integer"
  18977. },
  18978. "exexchangecode": {
  18979. "description": "交易所代码",
  18980. "type": "string"
  18981. },
  18982. "exexchangeid": {
  18983. "description": "外部交易所ID[通道交易]",
  18984. "type": "integer"
  18985. },
  18986. "exexchangename": {
  18987. "description": "交易所名称",
  18988. "type": "string"
  18989. },
  18990. "goodsgroupid": {
  18991. "description": "商品组ID(自增ID)",
  18992. "type": "integer"
  18993. },
  18994. "goodsgroupname": {
  18995. "description": "商品组名称",
  18996. "type": "string"
  18997. },
  18998. "goodsgroupstatus": {
  18999. "description": "商品组状态 - 1:正常 2:注销",
  19000. "type": "integer"
  19001. },
  19002. "goodunitid": {
  19003. "description": "报价单位ID",
  19004. "type": "integer"
  19005. },
  19006. "groupcategroyid": {
  19007. "description": "品种分类ID",
  19008. "type": "integer"
  19009. },
  19010. "innerdealmode": {
  19011. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19012. "type": "integer"
  19013. },
  19014. "marketid": {
  19015. "description": "所属市场ID",
  19016. "type": "integer"
  19017. },
  19018. "modifierid": {
  19019. "description": "修改人",
  19020. "type": "integer"
  19021. },
  19022. "modifytime": {
  19023. "description": "修改时间",
  19024. "type": "string"
  19025. },
  19026. "outerdealmode": {
  19027. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19028. "type": "integer"
  19029. },
  19030. "outergroupcode": {
  19031. "description": "外部商品组代码[通道交易]",
  19032. "type": "string"
  19033. },
  19034. "quoteminunit": {
  19035. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19036. "type": "integer"
  19037. },
  19038. "quotesourcegroupid": {
  19039. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  19040. "type": "integer"
  19041. },
  19042. "syncgoodsqty": {
  19043. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  19044. "type": "integer"
  19045. }
  19046. }
  19047. },
  19048. "models.Ermcp3GoodsGroupEx": {
  19049. "type": "object",
  19050. "properties": {
  19051. "convertratio": {
  19052. "description": "折算系数(品种系数)",
  19053. "type": "number"
  19054. },
  19055. "enumdicname": {
  19056. "description": "单位名称",
  19057. "type": "string"
  19058. },
  19059. "exexchangecode": {
  19060. "description": "交易所代码",
  19061. "type": "string"
  19062. },
  19063. "glist": {
  19064. "description": "合约列表",
  19065. "type": "array",
  19066. "items": {
  19067. "$ref": "#/definitions/models.Ermcp3Goods"
  19068. }
  19069. },
  19070. "goodsgroupid": {
  19071. "description": "商品组id",
  19072. "type": "integer"
  19073. },
  19074. "goodsgroupname": {
  19075. "description": "商品组名称",
  19076. "type": "string"
  19077. },
  19078. "goodsunitid": {
  19079. "description": "单位id",
  19080. "type": "integer"
  19081. },
  19082. "middlegoodsid": {
  19083. "description": "套保商品id",
  19084. "type": "integer"
  19085. }
  19086. }
  19087. },
  19088. "models.Ermcp3HedgePlan": {
  19089. "type": "object",
  19090. "properties": {
  19091. "accountid": {
  19092. "description": "资金账号",
  19093. "type": "integer"
  19094. },
  19095. "areauserid": {
  19096. "description": "用户ID",
  19097. "type": "integer"
  19098. },
  19099. "auditid": {
  19100. "description": "审核id",
  19101. "type": "integer"
  19102. },
  19103. "auditname": {
  19104. "description": "审核人名称",
  19105. "type": "string"
  19106. },
  19107. "auditremark": {
  19108. "description": "审核备注",
  19109. "type": "string"
  19110. },
  19111. "auditsrc": {
  19112. "description": "审核来源 1-管理端 2-终端",
  19113. "type": "integer"
  19114. },
  19115. "audittime": {
  19116. "description": "审核时间",
  19117. "type": "string"
  19118. },
  19119. "contracttype": {
  19120. "description": "计划类型 - 1:采购 -1:销售",
  19121. "type": "integer"
  19122. },
  19123. "convertfactor": {
  19124. "description": "标仓系数",
  19125. "type": "number"
  19126. },
  19127. "createtime": {
  19128. "description": "创建时间",
  19129. "type": "string"
  19130. },
  19131. "currencyid": {
  19132. "description": "币种id",
  19133. "type": "integer"
  19134. },
  19135. "currencyname": {
  19136. "description": "币种名称",
  19137. "type": "string"
  19138. },
  19139. "deliverygoodscode": {
  19140. "description": "现货品种代码",
  19141. "type": "string"
  19142. },
  19143. "deliverygoodsid": {
  19144. "description": "现货品种ID",
  19145. "type": "integer"
  19146. },
  19147. "deliverygoodsname": {
  19148. "description": "现货品种名称",
  19149. "type": "string"
  19150. },
  19151. "enumdicname": {
  19152. "description": "单位名称(现货商品)",
  19153. "type": "string"
  19154. },
  19155. "hedgeplanid": {
  19156. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  19157. "type": "string"
  19158. },
  19159. "hedgeplanno": {
  19160. "description": "套保计划编号(名称)",
  19161. "type": "string"
  19162. },
  19163. "hedgeplanstatus": {
  19164. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19165. "type": "integer"
  19166. },
  19167. "planqty": {
  19168. "description": "计划数量",
  19169. "type": "number"
  19170. },
  19171. "plantime": {
  19172. "description": "计划时间",
  19173. "type": "string"
  19174. },
  19175. "producttype": {
  19176. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  19177. "type": "integer"
  19178. },
  19179. "remark": {
  19180. "description": "备注",
  19181. "type": "string"
  19182. },
  19183. "spotgoodsdesc": {
  19184. "description": "商品型号",
  19185. "type": "string"
  19186. },
  19187. "taaccountname": {
  19188. "description": "资金账号名称",
  19189. "type": "string"
  19190. },
  19191. "tradeuserid": {
  19192. "description": "交易用户id",
  19193. "type": "integer"
  19194. },
  19195. "tradeusername": {
  19196. "description": "交易用户名称",
  19197. "type": "string"
  19198. },
  19199. "unitid": {
  19200. "description": "单位id(现货商品)",
  19201. "type": "integer"
  19202. },
  19203. "updatetime": {
  19204. "description": "更新时间",
  19205. "type": "string"
  19206. },
  19207. "wrstandardcode": {
  19208. "description": "品类代码",
  19209. "type": "string"
  19210. },
  19211. "wrstandardid": {
  19212. "description": "品类id",
  19213. "type": "integer"
  19214. },
  19215. "wrstandardname": {
  19216. "description": "品类名称",
  19217. "type": "string"
  19218. },
  19219. "wrunitid": {
  19220. "description": "品类单位id",
  19221. "type": "integer"
  19222. },
  19223. "wrunitidame": {
  19224. "description": "品类单位名称",
  19225. "type": "string"
  19226. }
  19227. }
  19228. },
  19229. "models.Ermcp3MiddleGoodsDetail2": {
  19230. "type": "object",
  19231. "properties": {
  19232. "convertratio": {
  19233. "description": "套保系数(折算系数)",
  19234. "type": "number"
  19235. },
  19236. "gplist": {
  19237. "description": "关联商品组列表",
  19238. "type": "array",
  19239. "items": {
  19240. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  19241. }
  19242. },
  19243. "mg": {
  19244. "description": "套保商品信息",
  19245. "type": "object",
  19246. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  19247. }
  19248. }
  19249. },
  19250. "models.Ermcp3MiddleGoodsDetailEx": {
  19251. "type": "object",
  19252. "properties": {
  19253. "dglist": {
  19254. "description": "关联的现货品种列表",
  19255. "type": "array",
  19256. "items": {
  19257. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  19258. }
  19259. },
  19260. "gplist": {
  19261. "description": "关联商品组列表",
  19262. "type": "array",
  19263. "items": {
  19264. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  19265. }
  19266. },
  19267. "mg": {
  19268. "description": "套保商品信息",
  19269. "type": "object",
  19270. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  19271. }
  19272. }
  19273. },
  19274. "models.Ermcp3RootUserAccount": {
  19275. "type": "object",
  19276. "properties": {
  19277. "accountname": {
  19278. "description": "账户名称(机构名称)",
  19279. "type": "string"
  19280. },
  19281. "accountstatus": {
  19282. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  19283. "type": "integer"
  19284. },
  19285. "applysrc": {
  19286. "description": "申请来源 - 1:管理端 2:终端",
  19287. "type": "integer"
  19288. },
  19289. "auditremark": {
  19290. "description": "审核备注",
  19291. "type": "string"
  19292. },
  19293. "auditsrc": {
  19294. "description": "审核来源 - 1:管理端 2:终端",
  19295. "type": "integer"
  19296. },
  19297. "audittime": {
  19298. "description": "审核时间",
  19299. "type": "string"
  19300. },
  19301. "audituserid": {
  19302. "description": "审核人",
  19303. "type": "integer"
  19304. },
  19305. "broker": {
  19306. "description": "所属经纪人ID",
  19307. "type": "integer"
  19308. },
  19309. "canceltime": {
  19310. "description": "销户时间",
  19311. "type": "string"
  19312. },
  19313. "canceluserid": {
  19314. "description": "销户人",
  19315. "type": "integer"
  19316. },
  19317. "canrecommend": {
  19318. "description": "是否可推荐 - 0:不可 1;可",
  19319. "type": "integer"
  19320. },
  19321. "createtime": {
  19322. "description": "创建时间",
  19323. "type": "string"
  19324. },
  19325. "creatorid": {
  19326. "description": "创建人",
  19327. "type": "integer"
  19328. },
  19329. "hasauth": {
  19330. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  19331. "type": "integer"
  19332. },
  19333. "isanonymous": {
  19334. "description": "是否匿名下单 - 0:否 1:是",
  19335. "type": "integer"
  19336. },
  19337. "maxinvestornum": {
  19338. "description": "最大用户数(经纪会员下投资者个数)",
  19339. "type": "integer"
  19340. },
  19341. "memberuserid": {
  19342. "description": "所属会员ID",
  19343. "type": "integer"
  19344. },
  19345. "modifierid": {
  19346. "description": "修改人",
  19347. "type": "integer"
  19348. },
  19349. "modifyremark": {
  19350. "description": "变更备注",
  19351. "type": "string"
  19352. },
  19353. "modifystatus": {
  19354. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  19355. "type": "integer"
  19356. },
  19357. "modifytime": {
  19358. "description": "修改时间",
  19359. "type": "string"
  19360. },
  19361. "parenttopuser": {
  19362. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  19363. "type": "string"
  19364. },
  19365. "parentuserid": {
  19366. "description": "所属机构ID",
  19367. "type": "integer"
  19368. },
  19369. "reckonaccountid": {
  19370. "description": "默认结算资金账号ID(机构分润使用) 作废",
  19371. "type": "integer"
  19372. },
  19373. "refercount": {
  19374. "description": "推荐总人数",
  19375. "type": "integer"
  19376. },
  19377. "refereeuserid": {
  19378. "description": "推荐人ID",
  19379. "type": "integer"
  19380. },
  19381. "refernum": {
  19382. "description": "推荐码",
  19383. "type": "string"
  19384. },
  19385. "rootuserid": {
  19386. "description": "根用户ID",
  19387. "type": "integer"
  19388. },
  19389. "subaccountlevel": {
  19390. "description": "子账户层数",
  19391. "type": "integer"
  19392. },
  19393. "subarealevelpath": {
  19394. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  19395. "type": "string"
  19396. },
  19397. "userid": {
  19398. "description": "用户ID",
  19399. "type": "integer"
  19400. },
  19401. "usertype": {
  19402. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  19403. "type": "integer"
  19404. }
  19405. }
  19406. },
  19407. "models.Ermcp3SellBuyContract": {
  19408. "type": "object",
  19409. "properties": {
  19410. "accountid": {
  19411. "description": "期货账户id",
  19412. "type": "string"
  19413. },
  19414. "accountname": {
  19415. "description": "账户名称",
  19416. "type": "string"
  19417. },
  19418. "attachment": {
  19419. "description": "附件",
  19420. "type": "string"
  19421. },
  19422. "audittime": {
  19423. "description": "审核时间",
  19424. "type": "string"
  19425. },
  19426. "biztype": {
  19427. "description": "业务类型 1-套保 2-套利",
  19428. "type": "integer"
  19429. },
  19430. "brandname": {
  19431. "description": "品牌名称",
  19432. "type": "string"
  19433. },
  19434. "contracctstatus": {
  19435. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19436. "type": "integer"
  19437. },
  19438. "contractmargin": {
  19439. "description": "合同保证金",
  19440. "type": "number"
  19441. },
  19442. "contractno": {
  19443. "description": "合同编号",
  19444. "type": "string"
  19445. },
  19446. "contracttype": {
  19447. "description": "合同类型 1-采购, -1-销售",
  19448. "type": "integer"
  19449. },
  19450. "convertfactor": {
  19451. "description": "标仓系数(品类)",
  19452. "type": "number"
  19453. },
  19454. "createtime": {
  19455. "description": "创建时间",
  19456. "type": "string"
  19457. },
  19458. "currencyid": {
  19459. "description": "币种id",
  19460. "type": "integer"
  19461. },
  19462. "currencyname": {
  19463. "description": "币种名称",
  19464. "type": "string"
  19465. },
  19466. "daikaiamount": {
  19467. "description": "应收(开)票额",
  19468. "type": "number"
  19469. },
  19470. "deliveryenddate": {
  19471. "description": "交割结束日",
  19472. "type": "string"
  19473. },
  19474. "deliverygoodscode": {
  19475. "description": "现货品种代码",
  19476. "type": "string"
  19477. },
  19478. "deliverygoodsid": {
  19479. "description": "现货商品ID",
  19480. "type": "integer"
  19481. },
  19482. "deliverygoodsname": {
  19483. "description": "现货品种名称",
  19484. "type": "string"
  19485. },
  19486. "deliverystartdate": {
  19487. "description": "交割开始日",
  19488. "type": "string"
  19489. },
  19490. "enddate": {
  19491. "description": "点价结束日",
  19492. "type": "string"
  19493. },
  19494. "enumdicname": {
  19495. "description": "单位名称",
  19496. "type": "string"
  19497. },
  19498. "goodscode": {
  19499. "description": "点价商品代码",
  19500. "type": "string"
  19501. },
  19502. "goodsid": {
  19503. "description": "点价商品ID",
  19504. "type": "integer"
  19505. },
  19506. "goodsname": {
  19507. "description": "点价商品名称",
  19508. "type": "string"
  19509. },
  19510. "invoiceamount": {
  19511. "description": "已开票额",
  19512. "type": "number"
  19513. },
  19514. "loanamount": {
  19515. "description": "贷款总额=已定价额+调整金额",
  19516. "type": "number"
  19517. },
  19518. "margin": {
  19519. "description": "保证金",
  19520. "type": "number"
  19521. },
  19522. "meruserid": {
  19523. "description": "跟单员id",
  19524. "type": "integer"
  19525. },
  19526. "meruserlogincode": {
  19527. "description": "跟单员登录代码",
  19528. "type": "string"
  19529. },
  19530. "merusername": {
  19531. "description": "跟单员名称",
  19532. "type": "string"
  19533. },
  19534. "nickname": {
  19535. "description": "账户昵称",
  19536. "type": "string"
  19537. },
  19538. "payamount": {
  19539. "description": "已收付额(收款或付款)",
  19540. "type": "number"
  19541. },
  19542. "preinvoiceamount": {
  19543. "description": "预收(开)票额",
  19544. "type": "number"
  19545. },
  19546. "prepayamount": {
  19547. "description": "预收付额",
  19548. "type": "number"
  19549. },
  19550. "price": {
  19551. "description": "价格",
  19552. "type": "number"
  19553. },
  19554. "pricedamount": {
  19555. "description": "已定价额",
  19556. "type": "number"
  19557. },
  19558. "pricedavg": {
  19559. "description": "已点均价",
  19560. "type": "number"
  19561. },
  19562. "pricedqty": {
  19563. "description": "已定价量",
  19564. "type": "number"
  19565. },
  19566. "pricemove": {
  19567. "description": "升贴水",
  19568. "type": "number"
  19569. },
  19570. "pricetype": {
  19571. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19572. "type": "integer"
  19573. },
  19574. "producttype": {
  19575. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  19576. "type": "integer"
  19577. },
  19578. "qty": {
  19579. "description": "合同量",
  19580. "type": "number"
  19581. },
  19582. "reckonadjustamount": {
  19583. "description": "调整金额",
  19584. "type": "number"
  19585. },
  19586. "reckonedamount": {
  19587. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  19588. "type": "number"
  19589. },
  19590. "reckonotheramount": {
  19591. "description": "其它费用",
  19592. "type": "number"
  19593. },
  19594. "reckonrealqty": {
  19595. "description": "已确定量",
  19596. "type": "number"
  19597. },
  19598. "remark": {
  19599. "description": "备注",
  19600. "type": "string"
  19601. },
  19602. "saleuserid": {
  19603. "description": "业务员id",
  19604. "type": "integer"
  19605. },
  19606. "saleuserlogincode": {
  19607. "description": "业务员登录代码",
  19608. "type": "string"
  19609. },
  19610. "saleusername": {
  19611. "description": "业务员名称",
  19612. "type": "string"
  19613. },
  19614. "spotcontractid": {
  19615. "description": "合同ID",
  19616. "type": "string"
  19617. },
  19618. "spotgoodsbrandid": {
  19619. "description": "现货品牌ID(DGFactoryItem表的ID)",
  19620. "type": "integer"
  19621. },
  19622. "spotgoodsdesc": {
  19623. "description": "商品型号(商品规格)",
  19624. "type": "string"
  19625. },
  19626. "startdate": {
  19627. "description": "点价开始日",
  19628. "type": "string"
  19629. },
  19630. "totalamount": {
  19631. "description": "合计总额",
  19632. "type": "number"
  19633. },
  19634. "tradeuserid": {
  19635. "description": "交易员id",
  19636. "type": "integer"
  19637. },
  19638. "tradeuserlogincode": {
  19639. "description": "交易员登录代码",
  19640. "type": "string"
  19641. },
  19642. "tradeusername": {
  19643. "description": "交易员名称",
  19644. "type": "string"
  19645. },
  19646. "unpayamount": {
  19647. "description": "应收付款额(应支付或应收款)",
  19648. "type": "number"
  19649. },
  19650. "unpricedqty": {
  19651. "description": "未定价量",
  19652. "type": "number"
  19653. },
  19654. "unsureqty": {
  19655. "description": "未确定量",
  19656. "type": "number"
  19657. },
  19658. "userid": {
  19659. "description": "机构ID",
  19660. "type": "integer"
  19661. },
  19662. "wrstandardcode": {
  19663. "description": "品类代码",
  19664. "type": "string"
  19665. },
  19666. "wrstandardid": {
  19667. "description": "品类ID",
  19668. "type": "integer"
  19669. },
  19670. "wrstandardname": {
  19671. "description": "品类名称",
  19672. "type": "string"
  19673. }
  19674. }
  19675. },
  19676. "models.Ermcp3SpotGoodsPrice": {
  19677. "type": "object",
  19678. "properties": {
  19679. "areauserid": {
  19680. "description": "所属机构id",
  19681. "type": "integer"
  19682. },
  19683. "brandname": {
  19684. "description": "品牌名称",
  19685. "type": "string"
  19686. },
  19687. "currencyid": {
  19688. "description": "报价货币ID",
  19689. "type": "integer"
  19690. },
  19691. "currencyname": {
  19692. "description": "币种名称",
  19693. "type": "string"
  19694. },
  19695. "deliverygoodscode": {
  19696. "description": "现货商品代码",
  19697. "type": "string"
  19698. },
  19699. "deliverygoodsid": {
  19700. "description": "现货商品id",
  19701. "type": "integer"
  19702. },
  19703. "deliverygoodsname": {
  19704. "description": "现货商品名称",
  19705. "type": "string"
  19706. },
  19707. "enumdicname": {
  19708. "description": "现货商品单位名称",
  19709. "type": "string"
  19710. },
  19711. "gbenumdicname": {
  19712. "description": "品类单位名称",
  19713. "type": "string"
  19714. },
  19715. "gmunitid": {
  19716. "description": "品类单位id",
  19717. "type": "integer"
  19718. },
  19719. "isvalid": {
  19720. "description": "是否有效 - 0:无效 1:有效",
  19721. "type": "integer"
  19722. },
  19723. "operateid": {
  19724. "description": "最后操作人",
  19725. "type": "integer"
  19726. },
  19727. "operatesrc": {
  19728. "description": "最后操作来源 - 1:管理端 2:终端",
  19729. "type": "integer"
  19730. },
  19731. "operatetime": {
  19732. "description": "最后操作时间",
  19733. "type": "string"
  19734. },
  19735. "operatorname": {
  19736. "description": "操作人名称",
  19737. "type": "string"
  19738. },
  19739. "spotgoodsbrandid": {
  19740. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  19741. "type": "integer"
  19742. },
  19743. "spotgoodsprice": {
  19744. "description": "现货价格",
  19745. "type": "number"
  19746. },
  19747. "tradedate": {
  19748. "description": "交易日(yyyyMMdd)",
  19749. "type": "string"
  19750. },
  19751. "unitid": {
  19752. "description": "现货商品单位id",
  19753. "type": "integer"
  19754. },
  19755. "wrstandardcode": {
  19756. "description": "品类代码",
  19757. "type": "string"
  19758. },
  19759. "wrstandardid": {
  19760. "description": "现货品类ID(通用则为0)",
  19761. "type": "integer"
  19762. },
  19763. "wrstandardname": {
  19764. "description": "品类名称",
  19765. "type": "string"
  19766. }
  19767. }
  19768. },
  19769. "models.Ermcp3SpotGoodsPriceLog": {
  19770. "type": "object",
  19771. "properties": {
  19772. "areauserid": {
  19773. "description": "所属机构id",
  19774. "type": "integer"
  19775. },
  19776. "brandname": {
  19777. "description": "品牌名称",
  19778. "type": "string"
  19779. },
  19780. "currencyid": {
  19781. "description": "报价货币ID",
  19782. "type": "integer"
  19783. },
  19784. "deliverygoodscode": {
  19785. "description": "现货商品代码",
  19786. "type": "string"
  19787. },
  19788. "deliverygoodsid": {
  19789. "description": "现货商品id",
  19790. "type": "integer"
  19791. },
  19792. "deliverygoodsname": {
  19793. "description": "现货商品名称",
  19794. "type": "string"
  19795. },
  19796. "enumdicname": {
  19797. "description": "现货商品单位名称",
  19798. "type": "string"
  19799. },
  19800. "gbenumdicname": {
  19801. "description": "品类单位名称",
  19802. "type": "string"
  19803. },
  19804. "gmunitid": {
  19805. "description": "品类单位id",
  19806. "type": "integer"
  19807. },
  19808. "logid": {
  19809. "description": "日志id",
  19810. "type": "integer"
  19811. },
  19812. "operateid": {
  19813. "description": "最后操作人",
  19814. "type": "integer"
  19815. },
  19816. "operatesrc": {
  19817. "description": "最后操作来源 - 1:管理端 2:终端",
  19818. "type": "integer"
  19819. },
  19820. "operatetime": {
  19821. "description": "最后操作时间",
  19822. "type": "string"
  19823. },
  19824. "operatorname": {
  19825. "description": "操作人名称",
  19826. "type": "string"
  19827. },
  19828. "spotgoodsbrandid": {
  19829. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  19830. "type": "integer"
  19831. },
  19832. "spotgoodsprice": {
  19833. "description": "现货价格",
  19834. "type": "number"
  19835. },
  19836. "tradedate": {
  19837. "description": "交易日(yyyyMMdd)",
  19838. "type": "string"
  19839. },
  19840. "unitid": {
  19841. "description": "现货商品单位id",
  19842. "type": "integer"
  19843. },
  19844. "wrstandardcode": {
  19845. "description": "品类代码",
  19846. "type": "string"
  19847. },
  19848. "wrstandardid": {
  19849. "description": "现货品类ID(通用则为0)",
  19850. "type": "integer"
  19851. },
  19852. "wrstandardname": {
  19853. "description": "品类名称",
  19854. "type": "string"
  19855. }
  19856. }
  19857. },
  19858. "models.Ermcp3TaFutuReDataReport": {
  19859. "type": "object",
  19860. "properties": {
  19861. "accountid": {
  19862. "description": "交易账户",
  19863. "type": "integer"
  19864. },
  19865. "accountname": {
  19866. "description": "交易账号名称",
  19867. "type": "string"
  19868. },
  19869. "agreeunit": {
  19870. "description": "商品合约单位",
  19871. "type": "number"
  19872. },
  19873. "begindate": {
  19874. "description": "开始交易日",
  19875. "type": "string"
  19876. },
  19877. "buyorsell": {
  19878. "description": "持仓方向",
  19879. "type": "integer"
  19880. },
  19881. "charge": {
  19882. "description": "手续费",
  19883. "type": "number"
  19884. },
  19885. "closeavgprice": {
  19886. "description": "平仓均价",
  19887. "type": "number"
  19888. },
  19889. "closepl": {
  19890. "description": "平仓损益",
  19891. "type": "number"
  19892. },
  19893. "currencyid": {
  19894. "description": "结算币种ID",
  19895. "type": "integer"
  19896. },
  19897. "currencyname": {
  19898. "description": "币种名称",
  19899. "type": "string"
  19900. },
  19901. "cycletime": {
  19902. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19903. "type": "string"
  19904. },
  19905. "cycletype": {
  19906. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19907. "type": "integer"
  19908. },
  19909. "enddate": {
  19910. "description": "结束交易日",
  19911. "type": "string"
  19912. },
  19913. "enumdicname": {
  19914. "description": "单位名称",
  19915. "type": "string"
  19916. },
  19917. "floatpl": {
  19918. "description": "浮动损益",
  19919. "type": "number"
  19920. },
  19921. "goodscode": {
  19922. "description": "交易合约代码",
  19923. "type": "string"
  19924. },
  19925. "goodsgroupid": {
  19926. "description": "交易品种",
  19927. "type": "integer"
  19928. },
  19929. "goodsgroupname": {
  19930. "description": "交易品种名称",
  19931. "type": "string"
  19932. },
  19933. "goodsgroupspotqty": {
  19934. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  19935. "type": "number"
  19936. },
  19937. "goodsid": {
  19938. "description": "交易合约",
  19939. "type": "integer"
  19940. },
  19941. "goodsname": {
  19942. "description": "交易合约名称",
  19943. "type": "string"
  19944. },
  19945. "goodunitid": {
  19946. "description": "交易合约单位id",
  19947. "type": "integer"
  19948. },
  19949. "holdamount": {
  19950. "description": "期末持仓额",
  19951. "type": "number"
  19952. },
  19953. "holdqty": {
  19954. "description": "期末持仓量",
  19955. "type": "number"
  19956. },
  19957. "lastholdamount": {
  19958. "description": "当前持仓额",
  19959. "type": "number"
  19960. },
  19961. "lastprice": {
  19962. "description": "最新价",
  19963. "type": "number"
  19964. },
  19965. "middlegoodsid": {
  19966. "description": "套保品种id",
  19967. "type": "integer"
  19968. },
  19969. "middlegoodsname": {
  19970. "description": "套保商品名称",
  19971. "type": "string"
  19972. },
  19973. "middlegoodsqty": {
  19974. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  19975. "type": "number"
  19976. },
  19977. "middlgoodscode": {
  19978. "description": "套保商品代码",
  19979. "type": "string"
  19980. },
  19981. "openamount": {
  19982. "description": "期末开仓额",
  19983. "type": "number"
  19984. },
  19985. "openavgprice": {
  19986. "description": "开仓均价",
  19987. "type": "number"
  19988. },
  19989. "oriholdamount": {
  19990. "description": "期初持仓额",
  19991. "type": "number"
  19992. },
  19993. "oriholdqty": {
  19994. "description": "期初持仓量",
  19995. "type": "number"
  19996. },
  19997. "oriopenamount": {
  19998. "description": "期初开仓额",
  19999. "type": "number"
  20000. },
  20001. "outergroupcode": {
  20002. "description": "交易品种代码",
  20003. "type": "string"
  20004. },
  20005. "qtydecimalplace": {
  20006. "description": "成交量小数位",
  20007. "type": "integer"
  20008. },
  20009. "reckondate": {
  20010. "description": "日照时期(yyyyMMdd)",
  20011. "type": "string"
  20012. },
  20013. "reckonholdamount": {
  20014. "description": "结算持仓额",
  20015. "type": "number"
  20016. },
  20017. "reckonpl": {
  20018. "description": "结算损益",
  20019. "type": "number"
  20020. },
  20021. "reckonpl2": {
  20022. "description": "结算逐笔盈亏",
  20023. "type": "number"
  20024. },
  20025. "reckonprice": {
  20026. "description": "结算价",
  20027. "type": "number"
  20028. },
  20029. "relateduserid": {
  20030. "description": "账户关联用户ID",
  20031. "type": "integer"
  20032. },
  20033. "todaycloseamount": {
  20034. "description": "今平仓额",
  20035. "type": "number"
  20036. },
  20037. "todaycloseqty": {
  20038. "description": "今平仓量",
  20039. "type": "number"
  20040. },
  20041. "todaygoodsgroupspotqty": {
  20042. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  20043. "type": "number"
  20044. },
  20045. "todaymiddlegoodsqty": {
  20046. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  20047. "type": "number"
  20048. },
  20049. "todayopenamount": {
  20050. "description": "今开仓额",
  20051. "type": "number"
  20052. },
  20053. "todayopenqty": {
  20054. "description": "今开仓量",
  20055. "type": "number"
  20056. },
  20057. "userid": {
  20058. "description": "账户所属用户ID",
  20059. "type": "integer"
  20060. }
  20061. }
  20062. },
  20063. "models.Ermcp3Wrstandard": {
  20064. "type": "object",
  20065. "properties": {
  20066. "areauserid": {
  20067. "description": "所属机构",
  20068. "type": "integer"
  20069. },
  20070. "cantrade": {
  20071. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  20072. "type": "integer"
  20073. },
  20074. "convertfactor": {
  20075. "description": "标仓系数",
  20076. "type": "number"
  20077. },
  20078. "createtime": {
  20079. "description": "创建时间",
  20080. "type": "string"
  20081. },
  20082. "creatorid": {
  20083. "description": "创建人",
  20084. "type": "integer"
  20085. },
  20086. "deliverygoodsid": {
  20087. "description": "现货品种ID",
  20088. "type": "integer"
  20089. },
  20090. "enumdicname": {
  20091. "description": "品类单位名称",
  20092. "type": "string"
  20093. },
  20094. "isvalid": {
  20095. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  20096. "type": "integer"
  20097. },
  20098. "minivalue": {
  20099. "description": "最小变动值",
  20100. "type": "integer"
  20101. },
  20102. "minivaluedp": {
  20103. "description": "最小变动值小数位",
  20104. "type": "integer"
  20105. },
  20106. "realminivalue": {
  20107. "description": "实际最小变动值",
  20108. "type": "integer"
  20109. },
  20110. "realminivaluedp": {
  20111. "description": "实际最小变动值小数位",
  20112. "type": "integer"
  20113. },
  20114. "remark": {
  20115. "description": "备注",
  20116. "type": "string"
  20117. },
  20118. "unitid": {
  20119. "description": "品类单位ID",
  20120. "type": "integer"
  20121. },
  20122. "updatetime": {
  20123. "description": "更新时间",
  20124. "type": "string"
  20125. },
  20126. "wrstandardcode": {
  20127. "description": "品类代码",
  20128. "type": "string"
  20129. },
  20130. "wrstandardid": {
  20131. "description": "品类ID(SEQ_WRSTANDARD)",
  20132. "type": "integer"
  20133. },
  20134. "wrstandardname": {
  20135. "description": "品类名称",
  20136. "type": "string"
  20137. }
  20138. }
  20139. },
  20140. "models.ErmcpAreaSpotDetailModel": {
  20141. "type": "object",
  20142. "properties": {
  20143. "contracttype": {
  20144. "description": "合同类型 1-采购 -1-销售",
  20145. "type": "integer"
  20146. },
  20147. "createtime": {
  20148. "description": "创建时间",
  20149. "type": "string"
  20150. },
  20151. "enumdicname": {
  20152. "description": "现货商品单位名称",
  20153. "type": "string"
  20154. },
  20155. "logtype": {
  20156. "description": "记录类型 1-套保 2-现货合同",
  20157. "type": "integer"
  20158. },
  20159. "qty": {
  20160. "description": "数量",
  20161. "type": "number"
  20162. },
  20163. "recordname": {
  20164. "description": "类型名称",
  20165. "type": "string"
  20166. },
  20167. "relatedid": {
  20168. "description": "套保计划ID/现货合同ID",
  20169. "type": "string"
  20170. },
  20171. "relatedno": {
  20172. "description": "编号",
  20173. "type": "string"
  20174. },
  20175. "strtime": {
  20176. "description": "时间",
  20177. "type": "string"
  20178. },
  20179. "wrstandardcode": {
  20180. "description": "现货商品代码",
  20181. "type": "string"
  20182. },
  20183. "wrstandardname": {
  20184. "description": "现货商品名称",
  20185. "type": "string"
  20186. }
  20187. }
  20188. },
  20189. "models.ErmcpAvalidGoodsGroupModel": {
  20190. "type": "object",
  20191. "properties": {
  20192. "goodsgroupid": {
  20193. "description": "期货品种id",
  20194. "type": "integer"
  20195. },
  20196. "goodsgroupname": {
  20197. "description": "期货品种名称",
  20198. "type": "string"
  20199. },
  20200. "goodunitid": {
  20201. "description": "品种单位id",
  20202. "type": "integer"
  20203. },
  20204. "goodunitname": {
  20205. "description": "品种单位名称",
  20206. "type": "string"
  20207. },
  20208. "outergroupcode": {
  20209. "description": "期货品种代码",
  20210. "type": "string"
  20211. }
  20212. }
  20213. },
  20214. "models.ErmcpBizGroupEx": {
  20215. "type": "object",
  20216. "properties": {
  20217. "acclist": {
  20218. "description": "账号列表",
  20219. "type": "array",
  20220. "items": {
  20221. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  20222. }
  20223. },
  20224. "bizgroupid": {
  20225. "description": "业务分组id",
  20226. "type": "integer"
  20227. },
  20228. "biztype": {
  20229. "description": "业务类型 1-套保 2-套利",
  20230. "type": "integer"
  20231. },
  20232. "wrlist": {
  20233. "description": "现货商品表",
  20234. "type": "array",
  20235. "items": {
  20236. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  20237. }
  20238. }
  20239. }
  20240. },
  20241. "models.ErmcpBizGroupSpotGoods": {
  20242. "type": "object",
  20243. "properties": {
  20244. "areauserid": {
  20245. "description": "所属机构id",
  20246. "type": "integer"
  20247. },
  20248. "bizgroupid": {
  20249. "description": "分组id",
  20250. "type": "integer"
  20251. },
  20252. "biztype": {
  20253. "description": "业务类型 1-套保 2-套利",
  20254. "type": "integer"
  20255. },
  20256. "deliverygoodscode": {
  20257. "description": "现货商品代码",
  20258. "type": "string"
  20259. },
  20260. "deliverygoodsid": {
  20261. "description": "现货商品id",
  20262. "type": "integer"
  20263. },
  20264. "deliverygoodsname": {
  20265. "description": "现货商品名称",
  20266. "type": "string"
  20267. },
  20268. "unitid": {
  20269. "description": "现货商品单位id",
  20270. "type": "integer"
  20271. }
  20272. }
  20273. },
  20274. "models.ErmcpBizGroupTaAccount": {
  20275. "type": "object",
  20276. "properties": {
  20277. "accountid": {
  20278. "description": "账号id",
  20279. "type": "integer"
  20280. },
  20281. "accountname": {
  20282. "description": "账号名称",
  20283. "type": "string"
  20284. },
  20285. "areauserid": {
  20286. "description": "所属机构id",
  20287. "type": "integer"
  20288. },
  20289. "bizgroupid": {
  20290. "description": "业务分组id",
  20291. "type": "integer"
  20292. },
  20293. "ismain": {
  20294. "description": "是否主账号 1-是 0-否",
  20295. "type": "integer"
  20296. }
  20297. }
  20298. },
  20299. "models.ErmcpDGFactoryItem": {
  20300. "type": "object",
  20301. "properties": {
  20302. "areauserid": {
  20303. "description": "用户id",
  20304. "type": "integer"
  20305. },
  20306. "deliverygoodsid": {
  20307. "description": "现货品种ID",
  20308. "type": "integer"
  20309. },
  20310. "dgfactoryitemid": {
  20311. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  20312. "type": "integer"
  20313. },
  20314. "dgfactoryitemtypeid": {
  20315. "description": "要素项类型",
  20316. "type": "integer"
  20317. },
  20318. "dgfactoryitemvalue": {
  20319. "description": "要素项值(类型为仓库时填写仓库名称)",
  20320. "type": "string"
  20321. },
  20322. "isvalid": {
  20323. "description": "是否有效 - 0:无效 1:有效",
  20324. "type": "integer"
  20325. },
  20326. "orderindex": {
  20327. "description": "顺序",
  20328. "type": "integer"
  20329. },
  20330. "warehouseid": {
  20331. "description": "仓库ID(类型为仓库时填写)",
  20332. "type": "integer"
  20333. }
  20334. }
  20335. },
  20336. "models.ErmcpDeliveryGoods": {
  20337. "type": "object",
  20338. "properties": {
  20339. "agreeunit": {
  20340. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  20341. "type": "integer"
  20342. },
  20343. "areauserid": {
  20344. "description": "所属机构",
  20345. "type": "integer"
  20346. },
  20347. "auditflag": {
  20348. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  20349. "type": "integer"
  20350. },
  20351. "categoryid": {
  20352. "description": "类别ID(SEQ_WRCATEGORY)",
  20353. "type": "integer"
  20354. },
  20355. "deliverygoodscode": {
  20356. "description": "现货品种代码",
  20357. "type": "string"
  20358. },
  20359. "deliverygoodsid": {
  20360. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  20361. "type": "integer"
  20362. },
  20363. "deliverygoodsname": {
  20364. "description": "现货品种名称",
  20365. "type": "string"
  20366. },
  20367. "deliverygoodstype": {
  20368. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  20369. "type": "integer"
  20370. },
  20371. "dgstatus": {
  20372. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  20373. "type": "integer"
  20374. },
  20375. "enumdicname": {
  20376. "description": "现货品种单位名称",
  20377. "type": "string"
  20378. },
  20379. "goodsunitid": {
  20380. "description": "现货品种单位ID",
  20381. "type": "integer"
  20382. },
  20383. "isvalid": {
  20384. "description": "是否有效 - 0:无效 1:有效",
  20385. "type": "integer"
  20386. },
  20387. "qtydecimalplace": {
  20388. "description": "成交量小数位",
  20389. "type": "integer"
  20390. },
  20391. "remark": {
  20392. "description": "备注",
  20393. "type": "string"
  20394. },
  20395. "standardqty": {
  20396. "description": "标准数量(库位数量) [标准品特有]",
  20397. "type": "integer"
  20398. },
  20399. "standardqtyrange": {
  20400. "description": "标准数量偏差范围 [标准品特有]",
  20401. "type": "integer"
  20402. }
  20403. }
  20404. },
  20405. "models.ErmcpDeliveryGoodsDetail2": {
  20406. "type": "object",
  20407. "properties": {
  20408. "convertratio": {
  20409. "description": "套保系数(折算系数)",
  20410. "type": "number"
  20411. },
  20412. "data": {
  20413. "description": "现货商品基本信息(交割品种)",
  20414. "type": "object",
  20415. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  20416. },
  20417. "gblist": {
  20418. "description": "品牌列表",
  20419. "type": "array",
  20420. "items": {
  20421. "$ref": "#/definitions/models.Ermcp3Brand"
  20422. }
  20423. },
  20424. "gmlist": {
  20425. "description": "品类列表(仓单标准)",
  20426. "type": "array",
  20427. "items": {
  20428. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  20429. }
  20430. }
  20431. }
  20432. },
  20433. "models.ErmcpDeliveryGoodsDetailEx": {
  20434. "type": "object",
  20435. "properties": {
  20436. "data": {
  20437. "description": "现货商品基本信息(交割品种)",
  20438. "type": "object",
  20439. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  20440. },
  20441. "gblist": {
  20442. "description": "品牌列表",
  20443. "type": "array",
  20444. "items": {
  20445. "$ref": "#/definitions/models.Ermcp3Brand"
  20446. }
  20447. },
  20448. "gmlist": {
  20449. "description": "品类列表(仓单标准)",
  20450. "type": "array",
  20451. "items": {
  20452. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  20453. }
  20454. },
  20455. "mgList": {
  20456. "description": "套保列表",
  20457. "type": "array",
  20458. "items": {
  20459. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  20460. }
  20461. }
  20462. }
  20463. },
  20464. "models.ErmcpExposureDetailModel": {
  20465. "type": "object",
  20466. "properties": {
  20467. "areauserid": {
  20468. "description": "机构ID",
  20469. "type": "integer"
  20470. },
  20471. "changeQty": {
  20472. "description": "套保变动量",
  20473. "type": "number"
  20474. },
  20475. "contracttype": {
  20476. "description": "现货合同类型 - 1:采购 -1:销售",
  20477. "type": "integer"
  20478. },
  20479. "convertfactor": {
  20480. "description": "标仓系数",
  20481. "type": "number"
  20482. },
  20483. "convertratio": {
  20484. "description": "套保系数",
  20485. "type": "number"
  20486. },
  20487. "createtime": {
  20488. "description": "时间",
  20489. "type": "string"
  20490. },
  20491. "enumdicname": {
  20492. "description": "现货商品单位名称",
  20493. "type": "string"
  20494. },
  20495. "logtype": {
  20496. "description": "类型 - 1:套保计划 2:现货合同",
  20497. "type": "integer"
  20498. },
  20499. "middlegoodsId": {
  20500. "description": "套保商品id",
  20501. "type": "integer"
  20502. },
  20503. "middlegoodscode": {
  20504. "description": "套保商品代码",
  20505. "type": "string"
  20506. },
  20507. "middlegoodsname": {
  20508. "description": "套保商品名称",
  20509. "type": "string"
  20510. },
  20511. "qty": {
  20512. "description": "数量",
  20513. "type": "number"
  20514. },
  20515. "relateNo": {
  20516. "description": "现货合同/套保计划编号",
  20517. "type": "string"
  20518. },
  20519. "wrstandardcode": {
  20520. "description": "现货商品代码",
  20521. "type": "string"
  20522. },
  20523. "wrstandardid": {
  20524. "description": "现货商品ID",
  20525. "type": "integer"
  20526. },
  20527. "wrstandardname": {
  20528. "description": "现货商品名称",
  20529. "type": "string"
  20530. }
  20531. }
  20532. },
  20533. "models.ErmcpExposurePostion": {
  20534. "type": "object",
  20535. "properties": {
  20536. "agreeunit": {
  20537. "description": "合约单位",
  20538. "type": "string"
  20539. },
  20540. "areauserid": {
  20541. "description": "所属机构id",
  20542. "type": "integer"
  20543. },
  20544. "convertratio": {
  20545. "description": "期货品种系数(折算系数)",
  20546. "type": "number"
  20547. },
  20548. "curqty": {
  20549. "description": "当前持仓",
  20550. "type": "integer"
  20551. },
  20552. "diffhedgeqty": {
  20553. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  20554. "type": "number"
  20555. },
  20556. "diffqty": {
  20557. "description": "持仓变动量=当前持仓-昨日持仓",
  20558. "type": "integer"
  20559. },
  20560. "goodscode": {
  20561. "description": "商品代码",
  20562. "type": "string"
  20563. },
  20564. "goodsid": {
  20565. "description": "商品id",
  20566. "type": "integer"
  20567. },
  20568. "goodsname": {
  20569. "description": "商品名称",
  20570. "type": "string"
  20571. },
  20572. "middlegoodsid": {
  20573. "description": "套保商品id",
  20574. "type": "integer"
  20575. },
  20576. "ydqty": {
  20577. "description": "昨日持仓",
  20578. "type": "integer"
  20579. }
  20580. }
  20581. },
  20582. "models.ErmcpFuturesCompany": {
  20583. "type": "object",
  20584. "properties": {
  20585. "brokerid": {
  20586. "description": "经纪公司代码",
  20587. "type": "string"
  20588. },
  20589. "channeladdress": {
  20590. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  20591. "type": "string"
  20592. },
  20593. "channelid": {
  20594. "description": "对冲渠道ID",
  20595. "type": "string"
  20596. },
  20597. "createtime": {
  20598. "description": "创建时间",
  20599. "type": "string"
  20600. },
  20601. "creatorid": {
  20602. "description": "创建人",
  20603. "type": "string"
  20604. },
  20605. "fcid": {
  20606. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  20607. "type": "integer"
  20608. },
  20609. "fcname": {
  20610. "description": "期货公司名称",
  20611. "type": "string"
  20612. },
  20613. "isvalid": {
  20614. "description": "是否有效 - 0:无效 1:有效",
  20615. "type": "integer"
  20616. },
  20617. "mhpaddress": {
  20618. "description": "MHP服务地址(IP:Port)",
  20619. "type": "string"
  20620. },
  20621. "riskrulegroupid": {
  20622. "description": "风控规则组ID",
  20623. "type": "string"
  20624. },
  20625. "tradefeetmpid": {
  20626. "description": "手续费模板ID[TradeConfigTmpType为2]",
  20627. "type": "string"
  20628. },
  20629. "trademargintmpid": {
  20630. "description": "保证金模板ID [TradeConfigTmpType为1]",
  20631. "type": "string"
  20632. },
  20633. "traderatetmpid": {
  20634. "description": "汇率模板ID[TradeConfigTmpType为3]",
  20635. "type": "string"
  20636. },
  20637. "updatetime": {
  20638. "description": "更新时间",
  20639. "type": "string"
  20640. },
  20641. "updatorid": {
  20642. "description": "更新人",
  20643. "type": "string"
  20644. }
  20645. }
  20646. },
  20647. "models.ErmcpGGConvertCfg": {
  20648. "type": "object",
  20649. "properties": {
  20650. "convertratio": {
  20651. "description": "折算系数",
  20652. "type": "number"
  20653. },
  20654. "destgoodsgroupid": {
  20655. "description": "目标品种ID",
  20656. "type": "integer"
  20657. },
  20658. "dstcode": {
  20659. "description": "目录品种代码",
  20660. "type": "string"
  20661. },
  20662. "dstexchangecode": {
  20663. "description": "目标期货交易所",
  20664. "type": "string"
  20665. },
  20666. "dstname": {
  20667. "description": "目标品种名称",
  20668. "type": "string"
  20669. },
  20670. "dstunitid": {
  20671. "description": "目标品种单位ID",
  20672. "type": "integer"
  20673. },
  20674. "dstunitidname": {
  20675. "description": "目标品种单位名称",
  20676. "type": "string"
  20677. },
  20678. "modifytime": {
  20679. "description": "修改时间",
  20680. "type": "string"
  20681. },
  20682. "srccode": {
  20683. "description": "源品种代码",
  20684. "type": "string"
  20685. },
  20686. "srcexchangecode": {
  20687. "description": "源期货交易所",
  20688. "type": "string"
  20689. },
  20690. "srcgoodsgroupid": {
  20691. "description": "源品种ID",
  20692. "type": "integer"
  20693. },
  20694. "srcname": {
  20695. "description": "源品种名称",
  20696. "type": "string"
  20697. },
  20698. "srcunitid": {
  20699. "description": "源品种单位ID",
  20700. "type": "integer"
  20701. },
  20702. "srcunitidname": {
  20703. "description": "源品种单位名称",
  20704. "type": "string"
  20705. }
  20706. }
  20707. },
  20708. "models.ErmcpGoods": {
  20709. "type": "object",
  20710. "required": [
  20711. "goodscode",
  20712. "goodsid",
  20713. "goodsname",
  20714. "marketid"
  20715. ],
  20716. "properties": {
  20717. "agreeunit": {
  20718. "description": "合约单位",
  20719. "type": "number"
  20720. },
  20721. "areauserid": {
  20722. "description": "所属机构",
  20723. "type": "integer"
  20724. },
  20725. "auditaccountid": {
  20726. "description": "审核操作员账号",
  20727. "type": "integer"
  20728. },
  20729. "audittime": {
  20730. "description": "审核时间",
  20731. "type": "string"
  20732. },
  20733. "cancelaccountid": {
  20734. "description": "注销操作员账号",
  20735. "type": "integer"
  20736. },
  20737. "canceltime": {
  20738. "description": "注销时间",
  20739. "type": "string"
  20740. },
  20741. "closepricemode": {
  20742. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  20743. "type": "integer"
  20744. },
  20745. "closepriceparam": {
  20746. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  20747. "type": "number"
  20748. },
  20749. "createtime": {
  20750. "description": "创建时间",
  20751. "type": "string"
  20752. },
  20753. "creatorid": {
  20754. "description": "创建人",
  20755. "type": "integer"
  20756. },
  20757. "currencyid": {
  20758. "description": "报价货币ID",
  20759. "type": "integer"
  20760. },
  20761. "cutmode": {
  20762. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  20763. "type": "integer"
  20764. },
  20765. "decimalplace": {
  20766. "description": "报价小数位",
  20767. "type": "integer"
  20768. },
  20769. "delistingdate": {
  20770. "description": "商品退市时间(状态:退市) -- 已作废",
  20771. "type": "string"
  20772. },
  20773. "delistingmode": {
  20774. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  20775. "type": "integer"
  20776. },
  20777. "deliveryflag": {
  20778. "description": "交割标志 - 0:不可交割 1:可交割",
  20779. "type": "integer"
  20780. },
  20781. "enumdicname": {
  20782. "description": "单位名称",
  20783. "type": "string"
  20784. },
  20785. "forceclosemode": {
  20786. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  20787. "type": "integer"
  20788. },
  20789. "forceclosevalue": {
  20790. "description": "定期强平参数 [收益权]",
  20791. "type": "integer"
  20792. },
  20793. "goodscode": {
  20794. "description": "商品代码(内部)",
  20795. "type": "string"
  20796. },
  20797. "goodscurrencyid": {
  20798. "description": "合约货币ID",
  20799. "type": "integer"
  20800. },
  20801. "goodsgroupid": {
  20802. "description": "所属商品组ID",
  20803. "type": "integer"
  20804. },
  20805. "goodsid": {
  20806. "description": "商品ID(自增ID SEQ_GOODS)",
  20807. "type": "integer"
  20808. },
  20809. "goodsname": {
  20810. "description": "商品名称",
  20811. "type": "string"
  20812. },
  20813. "goodsquotetype": {
  20814. "description": "合约报价类型: 1-直接报价 2-间接报价",
  20815. "type": "integer"
  20816. },
  20817. "goodsstatus": {
  20818. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  20819. "type": "integer"
  20820. },
  20821. "goodstradetype": {
  20822. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  20823. "type": "integer"
  20824. },
  20825. "goodunitid": {
  20826. "description": "报价单位ID",
  20827. "type": "integer"
  20828. },
  20829. "hasquoter": {
  20830. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  20831. "type": "integer"
  20832. },
  20833. "hqprotecttime": {
  20834. "description": "行情保护时间(秒)",
  20835. "type": "integer"
  20836. },
  20837. "innerdealmode": {
  20838. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  20839. "type": "integer"
  20840. },
  20841. "isbuylimited": {
  20842. "description": "是否限制建仓量 - 0:不限制 1:限制",
  20843. "type": "integer"
  20844. },
  20845. "isvisible": {
  20846. "description": "游客是否可见 - 0:不可见 1:可见",
  20847. "type": "integer"
  20848. },
  20849. "lasttradedate": {
  20850. "description": "最后交易日期(状态:待退市)",
  20851. "type": "string"
  20852. },
  20853. "listingdate": {
  20854. "description": "交易开始日期",
  20855. "type": "string"
  20856. },
  20857. "marketid": {
  20858. "description": "所属市场ID",
  20859. "type": "integer"
  20860. },
  20861. "modifierid": {
  20862. "description": "修改人",
  20863. "type": "integer"
  20864. },
  20865. "modifystatus": {
  20866. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  20867. "type": "integer"
  20868. },
  20869. "modifytime": {
  20870. "description": "修改时间",
  20871. "type": "string"
  20872. },
  20873. "outerdealmode": {
  20874. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  20875. "type": "integer"
  20876. },
  20877. "outgoodscode": {
  20878. "description": "商品代码(外部)",
  20879. "type": "string"
  20880. },
  20881. "pictureurl": {
  20882. "description": "商品图片",
  20883. "type": "string"
  20884. },
  20885. "qtydecimalplace": {
  20886. "description": "成交量小数位",
  20887. "type": "integer"
  20888. },
  20889. "quotegear": {
  20890. "description": "行情档位(1-10)",
  20891. "type": "integer"
  20892. },
  20893. "quoteminunit": {
  20894. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20895. "type": "integer"
  20896. },
  20897. "quoteshowtype": {
  20898. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  20899. "type": "integer"
  20900. },
  20901. "quoteshowtypeinterval": {
  20902. "description": "行情报价间隔时间(秒)(成交价时为0)",
  20903. "type": "integer"
  20904. },
  20905. "relatedgoodsid": {
  20906. "description": "关联参考商品ID",
  20907. "type": "integer"
  20908. },
  20909. "remark": {
  20910. "description": "备注",
  20911. "type": "string"
  20912. },
  20913. "trademode": {
  20914. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20915. "type": "integer"
  20916. }
  20917. }
  20918. },
  20919. "models.ErmcpGoodsBrand": {
  20920. "type": "object",
  20921. "properties": {
  20922. "areauserid": {
  20923. "description": "所属机构",
  20924. "type": "integer"
  20925. },
  20926. "brandid": {
  20927. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  20928. "type": "integer"
  20929. },
  20930. "brandname": {
  20931. "description": "品牌名称",
  20932. "type": "string"
  20933. },
  20934. "createtime": {
  20935. "description": "创建时间",
  20936. "type": "string"
  20937. },
  20938. "creatorid": {
  20939. "description": "创建人",
  20940. "type": "integer"
  20941. },
  20942. "creatorsrc": {
  20943. "description": "创建人来源 - 1:管理端 2:终端",
  20944. "type": "integer"
  20945. },
  20946. "deliverygoodsid": {
  20947. "description": "现货品种ID",
  20948. "type": "integer"
  20949. },
  20950. "isvalid": {
  20951. "description": "是否有效 - 0:无效 1:有效",
  20952. "type": "integer"
  20953. },
  20954. "updatetime": {
  20955. "description": "更新时间",
  20956. "type": "string"
  20957. },
  20958. "updatorid": {
  20959. "description": "更新人",
  20960. "type": "integer"
  20961. },
  20962. "updatorsrc": {
  20963. "description": "更新人来源 - 1:管理端 2:终端",
  20964. "type": "integer"
  20965. },
  20966. "wrstandardid": {
  20967. "description": "现货商品ID",
  20968. "type": "integer"
  20969. }
  20970. }
  20971. },
  20972. "models.ErmcpGoodsModel": {
  20973. "type": "object",
  20974. "properties": {
  20975. "areauserid": {
  20976. "description": "所属机构",
  20977. "type": "integer"
  20978. },
  20979. "convertfactor": {
  20980. "description": "标仓系数",
  20981. "type": "number"
  20982. },
  20983. "createtime": {
  20984. "description": "创建时间",
  20985. "type": "string"
  20986. },
  20987. "creatorid": {
  20988. "description": "创建人",
  20989. "type": "integer"
  20990. },
  20991. "creatorsrc": {
  20992. "description": "创建人来源 - 1:管理端 2:终端",
  20993. "type": "integer"
  20994. },
  20995. "deliverygoodsid": {
  20996. "description": "现货品种ID",
  20997. "type": "integer"
  20998. },
  20999. "isvalid": {
  21000. "description": "是否有效 - 0:无效 1:有效",
  21001. "type": "integer"
  21002. },
  21003. "modelid": {
  21004. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  21005. "type": "integer"
  21006. },
  21007. "modelname": {
  21008. "description": "型号名称",
  21009. "type": "string"
  21010. },
  21011. "updatetime": {
  21012. "description": "更新时间",
  21013. "type": "string"
  21014. },
  21015. "updatorid": {
  21016. "description": "更新人",
  21017. "type": "integer"
  21018. },
  21019. "updatorsrc": {
  21020. "description": "更新人来源 - 1:管理端 2:终端",
  21021. "type": "integer"
  21022. },
  21023. "wrstandardid": {
  21024. "description": "现货商品ID",
  21025. "type": "integer"
  21026. }
  21027. }
  21028. },
  21029. "models.ErmcpHedgePosition": {
  21030. "type": "object",
  21031. "properties": {
  21032. "accountid": {
  21033. "description": "资金账号[外部母账户]",
  21034. "type": "integer"
  21035. },
  21036. "curbuyposition": {
  21037. "description": "期末买头寸",
  21038. "type": "integer"
  21039. },
  21040. "cursellposition": {
  21041. "description": "期末卖头寸",
  21042. "type": "integer"
  21043. },
  21044. "curtdbuyposition": {
  21045. "description": "期末今日买头寸",
  21046. "type": "integer"
  21047. },
  21048. "curtdsellposition": {
  21049. "description": "期末今日卖头寸",
  21050. "type": "integer"
  21051. },
  21052. "curydbuyposition": {
  21053. "description": "期末上日买头寸",
  21054. "type": "integer"
  21055. },
  21056. "curydsellposition": {
  21057. "description": "期末上日卖头寸",
  21058. "type": "integer"
  21059. },
  21060. "decreaseqty": {
  21061. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  21062. "type": "integer"
  21063. },
  21064. "fretdbuyposition": {
  21065. "description": "冻结今日买头寸",
  21066. "type": "integer"
  21067. },
  21068. "fretdsellposition": {
  21069. "description": "冻结今日卖头寸",
  21070. "type": "integer"
  21071. },
  21072. "freydbuyposition": {
  21073. "description": "冻结上日买头寸",
  21074. "type": "integer"
  21075. },
  21076. "freydsellposition": {
  21077. "description": "冻结上日卖头寸",
  21078. "type": "integer"
  21079. },
  21080. "goodscode": {
  21081. "description": "商品代码",
  21082. "type": "string"
  21083. },
  21084. "goodsid": {
  21085. "description": "商品id",
  21086. "type": "integer"
  21087. },
  21088. "goodsname": {
  21089. "description": "商品名称",
  21090. "type": "string"
  21091. },
  21092. "hedgeaccountcode": {
  21093. "description": "对冲账号",
  21094. "type": "string"
  21095. },
  21096. "hedgegoodsid": {
  21097. "description": "对冲合约ID",
  21098. "type": "integer"
  21099. },
  21100. "increaseqty": {
  21101. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  21102. "type": "integer"
  21103. },
  21104. "marketid": {
  21105. "description": "市场ID",
  21106. "type": "integer"
  21107. },
  21108. "relateduserid": {
  21109. "description": "关联用户id",
  21110. "type": "integer"
  21111. },
  21112. "totalcurqty": {
  21113. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  21114. "type": "integer"
  21115. },
  21116. "totalydqty": {
  21117. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  21118. "type": "integer"
  21119. },
  21120. "tradedate": {
  21121. "description": "交易日(yyyyMMdd)",
  21122. "type": "string"
  21123. },
  21124. "ydbuyposition": {
  21125. "description": "期初买头寸",
  21126. "type": "integer"
  21127. },
  21128. "ydsellposition": {
  21129. "description": "期初卖头寸",
  21130. "type": "integer"
  21131. }
  21132. }
  21133. },
  21134. "models.ErmcpHedgePositionDetail": {
  21135. "type": "object",
  21136. "properties": {
  21137. "buyorsell": {
  21138. "description": "买卖方向 0-买 1-卖",
  21139. "type": "integer"
  21140. },
  21141. "channelbuildtype": {
  21142. "description": "开平方向 1-建仓 2-平仓",
  21143. "type": "integer"
  21144. },
  21145. "goodscode": {
  21146. "description": "商品代码",
  21147. "type": "string"
  21148. },
  21149. "goodsname": {
  21150. "description": "商品名称",
  21151. "type": "string"
  21152. },
  21153. "hedgegoodsid": {
  21154. "description": "商品id",
  21155. "type": "integer"
  21156. },
  21157. "tradeqty": {
  21158. "description": "数量(成交数量)",
  21159. "type": "integer"
  21160. },
  21161. "tradetime": {
  21162. "description": "时间(成交时间)",
  21163. "type": "string"
  21164. }
  21165. }
  21166. },
  21167. "models.ErmcpHisExposure": {
  21168. "type": "object",
  21169. "properties": {
  21170. "needhedgeexposoure": {
  21171. "description": "应套保敞口",
  21172. "type": "number"
  21173. },
  21174. "reckondate": {
  21175. "description": "日照时期(yyyyMMdd)",
  21176. "type": "string"
  21177. },
  21178. "totalexposure": {
  21179. "description": "总敞口",
  21180. "type": "number"
  21181. }
  21182. }
  21183. },
  21184. "models.ErmcpHisExposureS": {
  21185. "type": "object",
  21186. "properties": {
  21187. "data": {
  21188. "description": "历史敞口",
  21189. "type": "array",
  21190. "items": {
  21191. "$ref": "#/definitions/models.ErmcpHisExposure"
  21192. }
  21193. },
  21194. "enumdicname": {
  21195. "description": "单位名称",
  21196. "type": "string"
  21197. },
  21198. "middlegoodscode": {
  21199. "description": "套保品种代码",
  21200. "type": "string"
  21201. },
  21202. "middlegoodsid": {
  21203. "description": "套保品种ID",
  21204. "type": "integer"
  21205. },
  21206. "middlegoodsname": {
  21207. "description": "套保品种名称",
  21208. "type": "string"
  21209. }
  21210. }
  21211. },
  21212. "models.ErmcpLoginTaAccount": {
  21213. "type": "object",
  21214. "properties": {
  21215. "accountid": {
  21216. "description": "账号id",
  21217. "type": "integer"
  21218. },
  21219. "accountname": {
  21220. "description": "账号名称",
  21221. "type": "string"
  21222. }
  21223. }
  21224. },
  21225. "models.ErmcpLoginUser": {
  21226. "type": "object",
  21227. "properties": {
  21228. "acclist": {
  21229. "description": "关联资金账号",
  21230. "type": "array",
  21231. "items": {
  21232. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  21233. }
  21234. },
  21235. "accountname": {
  21236. "description": "用户名称",
  21237. "type": "string"
  21238. },
  21239. "clientroleid": {
  21240. "description": "角色id(usertype=2)",
  21241. "type": "integer"
  21242. },
  21243. "createtime": {
  21244. "description": "创建时间",
  21245. "type": "string"
  21246. },
  21247. "logincode": {
  21248. "description": "登录代码",
  21249. "type": "string"
  21250. },
  21251. "loginid": {
  21252. "description": "登录id(LOGINID)",
  21253. "type": "integer"
  21254. },
  21255. "loginname": {
  21256. "description": "登录名称(loginaccount表中的accountname字段)",
  21257. "type": "string"
  21258. },
  21259. "loginstatus": {
  21260. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  21261. "type": "integer"
  21262. },
  21263. "memberuserid": {
  21264. "description": "所属会员id",
  21265. "type": "integer"
  21266. },
  21267. "mobile": {
  21268. "description": "手机号",
  21269. "type": "string"
  21270. },
  21271. "modifytime": {
  21272. "description": "修改时间",
  21273. "type": "string"
  21274. },
  21275. "password": {
  21276. "description": "密码(不可解密)",
  21277. "type": "string"
  21278. },
  21279. "rolename": {
  21280. "description": "角色名称",
  21281. "type": "string"
  21282. },
  21283. "rolestatus": {
  21284. "description": "角色状态 1-启用 2-停用",
  21285. "type": "integer"
  21286. },
  21287. "roletype": {
  21288. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  21289. "type": "string"
  21290. },
  21291. "userid": {
  21292. "description": "用户id",
  21293. "type": "integer"
  21294. },
  21295. "usertype": {
  21296. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  21297. "type": "integer"
  21298. }
  21299. }
  21300. },
  21301. "models.ErmcpLoginUserEx": {
  21302. "type": "object",
  21303. "properties": {
  21304. "accountstatus": {
  21305. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  21306. "type": "integer"
  21307. },
  21308. "mobile": {
  21309. "description": "手机号",
  21310. "type": "string"
  21311. },
  21312. "querytype": {
  21313. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  21314. "type": "integer"
  21315. },
  21316. "roleid": {
  21317. "description": "角色id(交易账户-\u003e用户id)",
  21318. "type": "integer"
  21319. },
  21320. "rolename": {
  21321. "description": "角色名称(交易账户-\u003e用户名称)",
  21322. "type": "string"
  21323. },
  21324. "userlist": {
  21325. "description": "用户列表",
  21326. "type": "array",
  21327. "items": {
  21328. "$ref": "#/definitions/models.ErmcpLoginUser"
  21329. }
  21330. },
  21331. "usertype": {
  21332. "description": "用户类型 2-机构 7-企业成员(云平台)",
  21333. "type": "integer"
  21334. }
  21335. }
  21336. },
  21337. "models.ErmcpMiddleGoodsChangeLog": {
  21338. "type": "object",
  21339. "properties": {
  21340. "aftervalue": {
  21341. "description": "变更后",
  21342. "type": "number"
  21343. },
  21344. "applyid": {
  21345. "description": "操作人",
  21346. "type": "integer"
  21347. },
  21348. "applyname": {
  21349. "description": "操作人名称",
  21350. "type": "string"
  21351. },
  21352. "applysrc": {
  21353. "description": "操作来源 - 1:管理端 2:终端",
  21354. "type": "integer"
  21355. },
  21356. "beforevalue": {
  21357. "description": "变更前",
  21358. "type": "number"
  21359. },
  21360. "changelogtype": {
  21361. "description": "变更流水类型 - 1:套保比率变更",
  21362. "type": "integer"
  21363. },
  21364. "handlestatus": {
  21365. "description": "处理状态",
  21366. "type": "integer"
  21367. },
  21368. "logdatetime": {
  21369. "description": "流水日期",
  21370. "type": "string"
  21371. },
  21372. "logid": {
  21373. "description": "流水ID",
  21374. "type": "integer"
  21375. },
  21376. "logremark": {
  21377. "description": "流水备注",
  21378. "type": "string"
  21379. },
  21380. "middlegoodsid": {
  21381. "description": "套保品种ID",
  21382. "type": "integer"
  21383. },
  21384. "tradedate": {
  21385. "description": "交易日(yyyyMMdd)",
  21386. "type": "string"
  21387. },
  21388. "updatetime": {
  21389. "description": "更新时间",
  21390. "type": "string"
  21391. }
  21392. }
  21393. },
  21394. "models.ErmcpMiddleGoodsDetail": {
  21395. "type": "object",
  21396. "properties": {
  21397. "cvList": {
  21398. "description": "期货品种折算列表",
  21399. "type": "array",
  21400. "items": {
  21401. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  21402. }
  21403. },
  21404. "mg": {
  21405. "description": "套保品种基本信息",
  21406. "type": "object",
  21407. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  21408. },
  21409. "wrcList": {
  21410. "description": "现货品种列表(现货商品折算配置)",
  21411. "type": "array",
  21412. "items": {
  21413. "$ref": "#/definitions/models.WRSConverTDetail"
  21414. }
  21415. }
  21416. }
  21417. },
  21418. "models.ErmcpMiddleGoodsModel": {
  21419. "type": "object",
  21420. "properties": {
  21421. "areauserid": {
  21422. "description": "机构用户ID",
  21423. "type": "integer"
  21424. },
  21425. "createtime": {
  21426. "description": "修改时间",
  21427. "type": "string"
  21428. },
  21429. "enumdicname": {
  21430. "description": "单位名称",
  21431. "type": "string"
  21432. },
  21433. "evaluateratio": {
  21434. "description": "估价系数",
  21435. "type": "number"
  21436. },
  21437. "goodsgroupid": {
  21438. "description": "关联期货品种ID",
  21439. "type": "integer"
  21440. },
  21441. "goodsunitid": {
  21442. "description": "单位ID",
  21443. "type": "integer"
  21444. },
  21445. "isvalid": {
  21446. "description": "状态 0-无效(停用) 1-有效(正常)",
  21447. "type": "integer"
  21448. },
  21449. "middlegoodscode": {
  21450. "description": "套保品种代码",
  21451. "type": "string"
  21452. },
  21453. "middlegoodsid": {
  21454. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  21455. "type": "integer"
  21456. },
  21457. "middlegoodsname": {
  21458. "description": "套保品种名称",
  21459. "type": "string"
  21460. },
  21461. "modifytime": {
  21462. "description": "修改时间",
  21463. "type": "string"
  21464. },
  21465. "needarbitrageratio": {
  21466. "description": "套利比例",
  21467. "type": "number"
  21468. },
  21469. "needhedgeratio": {
  21470. "description": "套保比率",
  21471. "type": "number"
  21472. },
  21473. "qtydecimalplace": {
  21474. "description": "数量小数位",
  21475. "type": "integer"
  21476. },
  21477. "relatedgoodsid": {
  21478. "description": "关联交易商品ID",
  21479. "type": "integer"
  21480. },
  21481. "relatedgoodstype": {
  21482. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  21483. "type": "integer"
  21484. },
  21485. "remark": {
  21486. "description": "备注",
  21487. "type": "string"
  21488. }
  21489. }
  21490. },
  21491. "models.ErmcpMiddlegoodsRelateGoods": {
  21492. "type": "object",
  21493. "properties": {
  21494. "agreeunit": {
  21495. "description": "合约乘数",
  21496. "type": "number"
  21497. },
  21498. "convertratio": {
  21499. "description": "折算系数",
  21500. "type": "number"
  21501. },
  21502. "enumdicname": {
  21503. "description": "单位名称(交易商品)",
  21504. "type": "string"
  21505. },
  21506. "goodscode": {
  21507. "description": "交易商品代码",
  21508. "type": "string"
  21509. },
  21510. "goodsgroupid": {
  21511. "description": "交易品种id",
  21512. "type": "integer"
  21513. },
  21514. "goodsid": {
  21515. "description": "商品Id",
  21516. "type": "integer"
  21517. },
  21518. "goodsname": {
  21519. "description": "交易商品名称",
  21520. "type": "string"
  21521. },
  21522. "goodunitid": {
  21523. "description": "交易商品单位id",
  21524. "type": "integer"
  21525. },
  21526. "middlegoodsid": {
  21527. "description": "套保商品id",
  21528. "type": "integer"
  21529. },
  21530. "middlegoodsname": {
  21531. "description": "套保商品名称",
  21532. "type": "string"
  21533. },
  21534. "middlegoodsswcode": {
  21535. "description": "套保商品代码",
  21536. "type": "string"
  21537. },
  21538. "needarbitrageratio": {
  21539. "description": "应套利比例",
  21540. "type": "number"
  21541. },
  21542. "needhedgeratio": {
  21543. "description": "应套保比例",
  21544. "type": "number"
  21545. }
  21546. }
  21547. },
  21548. "models.ErmcpOPLogModel": {
  21549. "type": "object",
  21550. "properties": {
  21551. "aftervalue": {
  21552. "description": "变更后",
  21553. "type": "number"
  21554. },
  21555. "applyid": {
  21556. "description": "操作人ID",
  21557. "type": "string"
  21558. },
  21559. "applyname": {
  21560. "description": "操作人名称",
  21561. "type": "string"
  21562. },
  21563. "beforevalue": {
  21564. "description": "变更前",
  21565. "type": "number"
  21566. },
  21567. "biztype": {
  21568. "description": "业务类型 - 1:套保计划 2:现货合同",
  21569. "type": "integer"
  21570. },
  21571. "contracttype": {
  21572. "description": "现货合同类型 - 1:采购 -1:销售",
  21573. "type": "integer"
  21574. },
  21575. "logvalue": {
  21576. "description": "数值",
  21577. "type": "number"
  21578. },
  21579. "operatelogtype": {
  21580. "description": "操作流水类型",
  21581. "type": "integer"
  21582. },
  21583. "operatelogtypedesc": {
  21584. "description": "操作流水类型名称",
  21585. "type": "string"
  21586. },
  21587. "relatedid": {
  21588. "description": "现货合同ID\\套保计划",
  21589. "type": "string"
  21590. },
  21591. "updatetime": {
  21592. "description": "更新时间",
  21593. "type": "string"
  21594. }
  21595. }
  21596. },
  21597. "models.ErmcpPendingAudit": {
  21598. "type": "object",
  21599. "properties": {
  21600. "areastockqty": {
  21601. "description": "待审核数量: 库存申请",
  21602. "type": "integer"
  21603. },
  21604. "businessdjqty": {
  21605. "description": "待审核数量: 点价",
  21606. "type": "integer"
  21607. },
  21608. "businessfpqty": {
  21609. "description": "待审核数量: 发票",
  21610. "type": "integer"
  21611. },
  21612. "businessjsqty": {
  21613. "description": "待审核数量: 结算",
  21614. "type": "integer"
  21615. },
  21616. "businesskxqty": {
  21617. "description": "待审核数量: 款项",
  21618. "type": "integer"
  21619. },
  21620. "hedgeplanqty": {
  21621. "description": "待审核数量: 套保计划",
  21622. "type": "integer"
  21623. },
  21624. "spotcontractqty": {
  21625. "description": "待审核数量: 现货合同",
  21626. "type": "integer"
  21627. },
  21628. "userqty": {
  21629. "description": "待审核数量: 用户",
  21630. "type": "integer"
  21631. }
  21632. }
  21633. },
  21634. "models.ErmcpRealExposureModel": {
  21635. "type": "object",
  21636. "properties": {
  21637. "AreaUserID": {
  21638. "description": "所属机构",
  21639. "type": "integer"
  21640. },
  21641. "BuyFutureQty": {
  21642. "description": "买入期货数量",
  21643. "type": "number"
  21644. },
  21645. "BuyPlanQty": {
  21646. "description": "采购计划数量",
  21647. "type": "number"
  21648. },
  21649. "BuyPricedQty": {
  21650. "description": "采购合同已定价数量",
  21651. "type": "number"
  21652. },
  21653. "MiddleGoodsCode": {
  21654. "description": "套保品种代码",
  21655. "type": "string"
  21656. },
  21657. "MiddleGoodsHedgeRatio": {
  21658. "description": "套保比例",
  21659. "type": "number"
  21660. },
  21661. "MiddleGoodsID": {
  21662. "description": "套保品种",
  21663. "type": "integer"
  21664. },
  21665. "MiddleGoodsName": {
  21666. "description": "套保品种名称",
  21667. "type": "string"
  21668. },
  21669. "NeedHedgeExposoure": {
  21670. "description": "应套保敞口(套保敞口)",
  21671. "type": "number"
  21672. },
  21673. "NeedHedgeRatio": {
  21674. "description": "应套保敞口比例",
  21675. "type": "number"
  21676. },
  21677. "OriBuyFutureQty": {
  21678. "description": "期初买入期货数量",
  21679. "type": "number"
  21680. },
  21681. "OriBuyPlanQty": {
  21682. "description": "期初采购计划数量",
  21683. "type": "number"
  21684. },
  21685. "OriBuyPricedQty": {
  21686. "description": "期初采购合同已定价数量",
  21687. "type": "number"
  21688. },
  21689. "OriSellFutureQty": {
  21690. "description": "期初卖出期货数量",
  21691. "type": "number"
  21692. },
  21693. "OriSellPlanQty": {
  21694. "description": "期初销售计划数量",
  21695. "type": "number"
  21696. },
  21697. "OriSellPricedQty": {
  21698. "description": "期初销售合同已定价数量",
  21699. "type": "number"
  21700. },
  21701. "SellFutureQty": {
  21702. "description": "卖出期货数量",
  21703. "type": "number"
  21704. },
  21705. "SellPlanQty": {
  21706. "description": "销售计划数量",
  21707. "type": "number"
  21708. },
  21709. "SellPricedQty": {
  21710. "description": "销售合同已定价数量",
  21711. "type": "number"
  21712. },
  21713. "TotalExposure": {
  21714. "description": "总敞口",
  21715. "type": "number"
  21716. },
  21717. "TotalFutureQty": {
  21718. "description": "期货总量",
  21719. "type": "number"
  21720. },
  21721. "TotalHedgeRatio": {
  21722. "description": "敞口比例",
  21723. "type": "number"
  21724. },
  21725. "TotalNeedHedgeQty": {
  21726. "description": "应套保总量(现货应套保总量)",
  21727. "type": "number"
  21728. },
  21729. "TotalSpotQty": {
  21730. "description": "现货总量",
  21731. "type": "number"
  21732. },
  21733. "arbitrageqty": {
  21734. "description": "套利量",
  21735. "type": "number"
  21736. },
  21737. "diffArbitrageQty": {
  21738. "description": "套利变动量",
  21739. "type": "number"
  21740. },
  21741. "diffExposoureQty": {
  21742. "description": "变动量(套保敞口)",
  21743. "type": "number"
  21744. },
  21745. "diffFutuQty": {
  21746. "description": "变动量(期货总量)",
  21747. "type": "number"
  21748. },
  21749. "diffHedgeQty": {
  21750. "description": "套保变动量",
  21751. "type": "number"
  21752. },
  21753. "diffQty": {
  21754. "description": "变动量(总敞口)",
  21755. "type": "number"
  21756. },
  21757. "diffSpotHedgeQty": {
  21758. "description": "变动量(现货应套保总量)",
  21759. "type": "number"
  21760. },
  21761. "diffSpotQty": {
  21762. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  21763. "type": "number"
  21764. },
  21765. "enumdicname": {
  21766. "description": "单位名称",
  21767. "type": "string"
  21768. },
  21769. "hedgeqty": {
  21770. "description": "套保量",
  21771. "type": "number"
  21772. },
  21773. "needarbitrageqty": {
  21774. "description": "应套利量",
  21775. "type": "number"
  21776. },
  21777. "needarbitrageratio": {
  21778. "description": "套利比例",
  21779. "type": "number"
  21780. },
  21781. "needhedgeqty": {
  21782. "description": "应套保量",
  21783. "type": "number"
  21784. },
  21785. "oriTotalFutuQty": {
  21786. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  21787. "type": "number"
  21788. },
  21789. "oriTotalSpotQty": {
  21790. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  21791. "type": "number"
  21792. },
  21793. "oriarbitrageqty": {
  21794. "description": "期初套利量",
  21795. "type": "number"
  21796. },
  21797. "orihedgeqty": {
  21798. "description": "期初套保量",
  21799. "type": "number"
  21800. },
  21801. "orineedhedgeexposoure": {
  21802. "description": "期初套保敞口",
  21803. "type": "number"
  21804. },
  21805. "oritotalexposure": {
  21806. "description": "期初总敞口",
  21807. "type": "number"
  21808. },
  21809. "oritotalfutureqty": {
  21810. "description": "期初期货总量",
  21811. "type": "number"
  21812. },
  21813. "oritotalneedhedgeqty": {
  21814. "description": "期初现货应套保量",
  21815. "type": "number"
  21816. }
  21817. }
  21818. },
  21819. "models.ErmcpRole": {
  21820. "type": "object",
  21821. "properties": {
  21822. "areauserid": {
  21823. "description": "所属机构",
  21824. "type": "integer"
  21825. },
  21826. "autoid": {
  21827. "description": "角色ID(自增ID)",
  21828. "type": "integer"
  21829. },
  21830. "modifierid": {
  21831. "description": "修改人(创建人)",
  21832. "type": "integer"
  21833. },
  21834. "modifiername": {
  21835. "description": "修改人名称",
  21836. "type": "string"
  21837. },
  21838. "modifytime": {
  21839. "description": "修改时间(创建时间)",
  21840. "type": "string"
  21841. },
  21842. "rolename": {
  21843. "description": "角色名称",
  21844. "type": "string"
  21845. },
  21846. "rolestatus": {
  21847. "description": "角色状态 - 1:启用 2:停用",
  21848. "type": "integer"
  21849. },
  21850. "roletype": {
  21851. "description": "角色类型 - 1- 管理端 2- 交易端",
  21852. "type": "integer"
  21853. }
  21854. }
  21855. },
  21856. "models.ErmcpRoleMenu": {
  21857. "type": "object",
  21858. "properties": {
  21859. "iconame": {
  21860. "description": "菜单图标",
  21861. "type": "string"
  21862. },
  21863. "ishadrole": {
  21864. "description": "是否有权限",
  21865. "type": "boolean"
  21866. },
  21867. "menutype": {
  21868. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  21869. "type": "integer"
  21870. },
  21871. "parentcode": {
  21872. "description": "上级资源代码",
  21873. "type": "string"
  21874. },
  21875. "remark": {
  21876. "description": "菜单备注",
  21877. "type": "string"
  21878. },
  21879. "resourcecode": {
  21880. "description": "菜单代码",
  21881. "type": "string"
  21882. },
  21883. "resourcelevel": {
  21884. "description": "级别",
  21885. "type": "integer"
  21886. },
  21887. "resourcename": {
  21888. "description": "菜单名称",
  21889. "type": "string"
  21890. },
  21891. "roleid": {
  21892. "description": "角色id",
  21893. "type": "integer"
  21894. },
  21895. "sort": {
  21896. "description": "排序",
  21897. "type": "integer"
  21898. },
  21899. "url": {
  21900. "description": "URL",
  21901. "type": "string"
  21902. },
  21903. "userid": {
  21904. "description": "用户id",
  21905. "type": "integer"
  21906. }
  21907. }
  21908. },
  21909. "models.ErmcpRoleMenuEx": {
  21910. "type": "object",
  21911. "properties": {
  21912. "menu": {
  21913. "description": "父级菜单",
  21914. "type": "object",
  21915. "$ref": "#/definitions/models.ErmcpRoleMenu"
  21916. },
  21917. "subMenu": {
  21918. "description": "子级菜单",
  21919. "type": "array",
  21920. "items": {
  21921. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  21922. }
  21923. }
  21924. }
  21925. },
  21926. "models.ErmcpTaAccount": {
  21927. "type": "object",
  21928. "properties": {
  21929. "accountid": {
  21930. "description": "账户id",
  21931. "type": "integer"
  21932. },
  21933. "accountname": {
  21934. "description": "账户名称",
  21935. "type": "string"
  21936. },
  21937. "currencyid": {
  21938. "description": "币种id",
  21939. "type": "integer"
  21940. },
  21941. "hedgeaccountcode": {
  21942. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  21943. "type": "string"
  21944. },
  21945. "ismain": {
  21946. "description": "是否主账户 0-否 1-是",
  21947. "type": "integer"
  21948. },
  21949. "parentaccountid": {
  21950. "description": "父账户id",
  21951. "type": "integer"
  21952. },
  21953. "relateduserid": {
  21954. "description": "关联userid",
  21955. "type": "integer"
  21956. },
  21957. "tradefeetmpid": {
  21958. "description": "手续费模板id",
  21959. "type": "integer"
  21960. },
  21961. "tradefeetmpname": {
  21962. "description": "手续费模板名称",
  21963. "type": "string"
  21964. },
  21965. "trademargintmpid": {
  21966. "description": "保证金模板id",
  21967. "type": "integer"
  21968. },
  21969. "trademargintmpname": {
  21970. "description": "保证金模板名称",
  21971. "type": "string"
  21972. },
  21973. "traderatetmpid": {
  21974. "description": "汇率模板id",
  21975. "type": "integer"
  21976. },
  21977. "traderatetmpname": {
  21978. "description": "汇率模板名称",
  21979. "type": "string"
  21980. },
  21981. "tradestatus": {
  21982. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21983. "type": "integer"
  21984. },
  21985. "userid": {
  21986. "description": "用户id",
  21987. "type": "integer"
  21988. }
  21989. }
  21990. },
  21991. "models.ErmcpTaAccountEx": {
  21992. "type": "object",
  21993. "properties": {
  21994. "mainAcc": {
  21995. "description": "主账号",
  21996. "type": "object",
  21997. "$ref": "#/definitions/models.ErmcpTaAccountM"
  21998. },
  21999. "subacclist": {
  22000. "description": "子账号列表",
  22001. "type": "array",
  22002. "items": {
  22003. "$ref": "#/definitions/models.ErmcpTaAccount"
  22004. }
  22005. }
  22006. }
  22007. },
  22008. "models.ErmcpTaAccountInfo": {
  22009. "type": "object",
  22010. "properties": {
  22011. "accountid": {
  22012. "description": "资金账户ID",
  22013. "type": "integer"
  22014. },
  22015. "accountname": {
  22016. "description": "账户名称",
  22017. "type": "string"
  22018. },
  22019. "balance": {
  22020. "description": "期初余额",
  22021. "type": "number"
  22022. },
  22023. "capitalbalance": {
  22024. "description": "本金余额[外部子账户实际出入金余额]",
  22025. "type": "number"
  22026. },
  22027. "closepl": {
  22028. "description": "今日平仓盈亏",
  22029. "type": "number"
  22030. },
  22031. "creditdecrease": {
  22032. "description": "今日授信减少",
  22033. "type": "number"
  22034. },
  22035. "creditincrease": {
  22036. "description": "今日授信增加",
  22037. "type": "number"
  22038. },
  22039. "curdebt": {
  22040. "description": "期末欠款",
  22041. "type": "number"
  22042. },
  22043. "currencyid": {
  22044. "description": "货币ID",
  22045. "type": "integer"
  22046. },
  22047. "currentbalance": {
  22048. "description": "期末余额",
  22049. "type": "number"
  22050. },
  22051. "freezecharge": {
  22052. "description": "手续费冻结",
  22053. "type": "number"
  22054. },
  22055. "freezemargin": {
  22056. "description": "冻结保证金",
  22057. "type": "number"
  22058. },
  22059. "fromaccountid": {
  22060. "description": "所属上级账户",
  22061. "type": "integer"
  22062. },
  22063. "inamount": {
  22064. "description": "今日入金金额(包括三方入金)",
  22065. "type": "number"
  22066. },
  22067. "ismain": {
  22068. "description": "是否母账号 0:不是母账户 1:是母账户",
  22069. "type": "integer"
  22070. },
  22071. "mortgagecredit": {
  22072. "description": "授信金额",
  22073. "type": "number"
  22074. },
  22075. "oridebt": {
  22076. "description": "期初欠款",
  22077. "type": "number"
  22078. },
  22079. "orifreezecharge": {
  22080. "description": "期初手续费冻结",
  22081. "type": "number"
  22082. },
  22083. "orifreezemargin": {
  22084. "description": "期初冻结保证金",
  22085. "type": "number"
  22086. },
  22087. "orimortgagecredit": {
  22088. "description": "期初授信金额",
  22089. "type": "number"
  22090. },
  22091. "oriothercredit": {
  22092. "description": "期初其它授信金额",
  22093. "type": "number"
  22094. },
  22095. "oriotherfreezemargin": {
  22096. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  22097. "type": "number"
  22098. },
  22099. "orioutamountfreeze": {
  22100. "description": "期初出金冻结",
  22101. "type": "number"
  22102. },
  22103. "oriusedmargin": {
  22104. "description": "期初占用保证金",
  22105. "type": "number"
  22106. },
  22107. "othercredit": {
  22108. "description": "其它授信金额",
  22109. "type": "number"
  22110. },
  22111. "othercreditdecrease": {
  22112. "description": "今日其它授信减少",
  22113. "type": "number"
  22114. },
  22115. "othercreditincrease": {
  22116. "description": "今日其它授信增加",
  22117. "type": "number"
  22118. },
  22119. "otherfreezemargin": {
  22120. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  22121. "type": "number"
  22122. },
  22123. "outamount": {
  22124. "description": "今日出金金额(包括三方出金)",
  22125. "type": "number"
  22126. },
  22127. "outamountfreeze": {
  22128. "description": "出金冻结",
  22129. "type": "number"
  22130. },
  22131. "outthreshold": {
  22132. "description": "出金阈值",
  22133. "type": "number"
  22134. },
  22135. "parentaccountid": {
  22136. "description": "所属根账号",
  22137. "type": "integer"
  22138. },
  22139. "paycharge": {
  22140. "description": "今日手续费支出",
  22141. "type": "number"
  22142. },
  22143. "relateduserid": {
  22144. "description": "关联用户",
  22145. "type": "integer"
  22146. },
  22147. "signstatus": {
  22148. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  22149. "type": "integer"
  22150. },
  22151. "sublevelpath": {
  22152. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  22153. "type": "string"
  22154. },
  22155. "taaccounttype": {
  22156. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  22157. "type": "integer"
  22158. },
  22159. "thirdinamount": {
  22160. "description": "今日三方入金",
  22161. "type": "number"
  22162. },
  22163. "thirdoutamount": {
  22164. "description": "今日三方出金",
  22165. "type": "number"
  22166. },
  22167. "tradestatus": {
  22168. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22169. "type": "integer"
  22170. },
  22171. "transferamount": {
  22172. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  22173. "type": "number"
  22174. },
  22175. "usedmargin": {
  22176. "description": "占用保证金",
  22177. "type": "number"
  22178. },
  22179. "userid": {
  22180. "description": "用户ID",
  22181. "type": "integer"
  22182. }
  22183. }
  22184. },
  22185. "models.ErmcpTaAccountM": {
  22186. "type": "object",
  22187. "properties": {
  22188. "accountid": {
  22189. "description": "账户id",
  22190. "type": "integer"
  22191. },
  22192. "accountname": {
  22193. "description": "账户名称",
  22194. "type": "string"
  22195. },
  22196. "currencyid": {
  22197. "description": "币种id",
  22198. "type": "integer"
  22199. },
  22200. "fcid": {
  22201. "description": "期货公司id",
  22202. "type": "integer"
  22203. },
  22204. "fcname": {
  22205. "description": "期货公司代码",
  22206. "type": "string"
  22207. },
  22208. "hedgeaccountcode": {
  22209. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  22210. "type": "string"
  22211. },
  22212. "ismain": {
  22213. "description": "是否主账户 0-否 1-是",
  22214. "type": "integer"
  22215. },
  22216. "parentaccountid": {
  22217. "description": "父账户id",
  22218. "type": "integer"
  22219. },
  22220. "relateduserid": {
  22221. "description": "关联userid",
  22222. "type": "integer"
  22223. },
  22224. "tradefeetmpid": {
  22225. "description": "手续费模板id",
  22226. "type": "integer"
  22227. },
  22228. "tradefeetmpname": {
  22229. "description": "手续费模板名称",
  22230. "type": "string"
  22231. },
  22232. "trademargintmpid": {
  22233. "description": "保证金模板id",
  22234. "type": "integer"
  22235. },
  22236. "trademargintmpname": {
  22237. "description": "保证金模板名称",
  22238. "type": "string"
  22239. },
  22240. "traderatetmpid": {
  22241. "description": "汇率模板id",
  22242. "type": "integer"
  22243. },
  22244. "traderatetmpname": {
  22245. "description": "汇率模板名称",
  22246. "type": "string"
  22247. },
  22248. "tradestatus": {
  22249. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22250. "type": "integer"
  22251. },
  22252. "userid": {
  22253. "description": "用户id",
  22254. "type": "integer"
  22255. }
  22256. }
  22257. },
  22258. "models.ErmcpTradeConfigTMP": {
  22259. "type": "object",
  22260. "properties": {
  22261. "areauserid": {
  22262. "description": "所属机构",
  22263. "type": "integer"
  22264. },
  22265. "basiccurrencyid": {
  22266. "description": "基本币种ID[汇率] - 目标币种",
  22267. "type": "integer"
  22268. },
  22269. "mainaccountid": {
  22270. "description": "主账户ID",
  22271. "type": "integer"
  22272. },
  22273. "modifierid": {
  22274. "description": "修改人",
  22275. "type": "integer"
  22276. },
  22277. "remark": {
  22278. "description": "备注",
  22279. "type": "string"
  22280. },
  22281. "tradeconfigtmpid": {
  22282. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  22283. "type": "integer"
  22284. },
  22285. "tradeconfigtmpname": {
  22286. "description": "交易配置模板名称",
  22287. "type": "string"
  22288. },
  22289. "tradeconfigtmptype": {
  22290. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  22291. "type": "integer"
  22292. },
  22293. "updatetime": {
  22294. "description": "更新时间",
  22295. "type": "string"
  22296. }
  22297. }
  22298. },
  22299. "models.ErmcpUserModel": {
  22300. "type": "object",
  22301. "properties": {
  22302. "address": {
  22303. "description": "通讯地址",
  22304. "type": "string"
  22305. },
  22306. "attachment1": {
  22307. "description": "附件1",
  22308. "type": "string"
  22309. },
  22310. "audittime": {
  22311. "description": "审核时间",
  22312. "type": "string"
  22313. },
  22314. "cardbackphotourl": {
  22315. "description": "证件反面图片地址",
  22316. "type": "string"
  22317. },
  22318. "cardfrontphotourl": {
  22319. "description": "证件正面图片地址",
  22320. "type": "string"
  22321. },
  22322. "cardnum": {
  22323. "description": "证件号码",
  22324. "type": "string"
  22325. },
  22326. "cardtype": {
  22327. "description": "证件类型",
  22328. "type": "integer"
  22329. },
  22330. "cardtypename": {
  22331. "description": "证件类型名称",
  22332. "type": "string"
  22333. },
  22334. "cityid": {
  22335. "description": "市",
  22336. "type": "integer"
  22337. },
  22338. "contactname": {
  22339. "description": "联系人",
  22340. "type": "string"
  22341. },
  22342. "countryid": {
  22343. "description": "国家",
  22344. "type": "integer"
  22345. },
  22346. "createtime": {
  22347. "description": "创建时间",
  22348. "type": "string"
  22349. },
  22350. "customername": {
  22351. "description": "企业名称",
  22352. "type": "string"
  22353. },
  22354. "districtid": {
  22355. "description": "区域",
  22356. "type": "integer"
  22357. },
  22358. "email": {
  22359. "description": "邮件",
  22360. "type": "string"
  22361. },
  22362. "legalpersonname": {
  22363. "description": "法人姓名(企业)",
  22364. "type": "string"
  22365. },
  22366. "memberuserid": {
  22367. "description": "所属机构ID",
  22368. "type": "integer"
  22369. },
  22370. "mobile": {
  22371. "description": "手机号码",
  22372. "type": "string"
  22373. },
  22374. "modifytime": {
  22375. "description": "修改时间",
  22376. "type": "string"
  22377. },
  22378. "nickname": {
  22379. "description": "昵称",
  22380. "type": "string"
  22381. },
  22382. "provinceid": {
  22383. "description": "省",
  22384. "type": "integer"
  22385. },
  22386. "remark": {
  22387. "description": "备注",
  22388. "type": "string"
  22389. },
  22390. "status": {
  22391. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  22392. "type": "integer"
  22393. },
  22394. "statusdesc": {
  22395. "description": "账户状态中文描述",
  22396. "type": "string"
  22397. },
  22398. "taxpayernum": {
  22399. "description": "纳税人识别号",
  22400. "type": "string"
  22401. },
  22402. "telphone": {
  22403. "description": "联系电话",
  22404. "type": "string"
  22405. },
  22406. "userid": {
  22407. "description": "用户ID",
  22408. "type": "integer"
  22409. },
  22410. "userinfotype": {
  22411. "description": "客户类型",
  22412. "type": "string"
  22413. }
  22414. }
  22415. },
  22416. "models.ErmcpWareHouseInfo": {
  22417. "type": "object",
  22418. "properties": {
  22419. "address": {
  22420. "description": "详细地址",
  22421. "type": "string"
  22422. },
  22423. "areauserid": {
  22424. "description": "所属机构",
  22425. "type": "integer"
  22426. },
  22427. "autoid": {
  22428. "description": "自增ID(仓库ID)",
  22429. "type": "integer"
  22430. },
  22431. "cityid": {
  22432. "description": "市",
  22433. "type": "integer"
  22434. },
  22435. "contactname": {
  22436. "description": "联系人",
  22437. "type": "string"
  22438. },
  22439. "contactnum": {
  22440. "description": "联系电话",
  22441. "type": "string"
  22442. },
  22443. "countryid": {
  22444. "description": "国家",
  22445. "type": "integer"
  22446. },
  22447. "createtime": {
  22448. "description": "创建时间",
  22449. "type": "string"
  22450. },
  22451. "districtid": {
  22452. "description": "区",
  22453. "type": "integer"
  22454. },
  22455. "hasvideo": {
  22456. "description": "是否有视频 - 0:无 1:有",
  22457. "type": "integer"
  22458. },
  22459. "provinceid": {
  22460. "description": "省",
  22461. "type": "integer"
  22462. },
  22463. "remark": {
  22464. "description": "审核备注",
  22465. "type": "string"
  22466. },
  22467. "videourl": {
  22468. "description": "视频地址",
  22469. "type": "string"
  22470. },
  22471. "warehousecode": {
  22472. "description": "仓库代码",
  22473. "type": "string"
  22474. },
  22475. "warehousename": {
  22476. "description": "仓库名称",
  22477. "type": "string"
  22478. },
  22479. "warehousestatus": {
  22480. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  22481. "type": "integer"
  22482. },
  22483. "warehousetype": {
  22484. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22485. "type": "integer"
  22486. }
  22487. }
  22488. },
  22489. "models.Externalexchange": {
  22490. "type": "object",
  22491. "required": [
  22492. "autoid"
  22493. ],
  22494. "properties": {
  22495. "autoid": {
  22496. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  22497. "type": "integer"
  22498. },
  22499. "exchangefullname": {
  22500. "description": "外部交易所全称",
  22501. "type": "string"
  22502. },
  22503. "exexchangecode": {
  22504. "description": "外部交易所代码",
  22505. "type": "string"
  22506. },
  22507. "exexchangename": {
  22508. "description": "外部交易所名称(简称)",
  22509. "type": "string"
  22510. },
  22511. "ismarketprice": {
  22512. "description": "是否支持市价 - 0:不支持 1:支持",
  22513. "type": "integer"
  22514. },
  22515. "quotegear": {
  22516. "description": "行情档位(1-10)",
  22517. "type": "integer"
  22518. },
  22519. "showbrokerflag": {
  22520. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  22521. "type": "integer"
  22522. },
  22523. "updatetime": {
  22524. "description": "更新时间",
  22525. "type": "string"
  22526. }
  22527. }
  22528. },
  22529. "models.Funcmenulist": {
  22530. "type": "object",
  22531. "required": [
  22532. "resourcecode"
  22533. ],
  22534. "properties": {
  22535. "iconame": {
  22536. "description": "菜单图标",
  22537. "type": "string"
  22538. },
  22539. "menutype": {
  22540. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  22541. "type": "integer"
  22542. },
  22543. "parentcode": {
  22544. "description": "上级资源代码",
  22545. "type": "string"
  22546. },
  22547. "remark": {
  22548. "description": "备注",
  22549. "type": "string"
  22550. },
  22551. "resourcecode": {
  22552. "description": "资源代码",
  22553. "type": "string"
  22554. },
  22555. "resourcelevel": {
  22556. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  22557. "type": "integer"
  22558. },
  22559. "resourcename": {
  22560. "description": "资源名",
  22561. "type": "string"
  22562. },
  22563. "sort": {
  22564. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  22565. "type": "integer"
  22566. },
  22567. "url": {
  22568. "description": "URL",
  22569. "type": "string"
  22570. }
  22571. }
  22572. },
  22573. "models.Goods": {
  22574. "type": "object",
  22575. "required": [
  22576. "goodscode",
  22577. "goodsid",
  22578. "goodsname",
  22579. "marketid"
  22580. ],
  22581. "properties": {
  22582. "agreeunit": {
  22583. "description": "合约单位",
  22584. "type": "number"
  22585. },
  22586. "areauserid": {
  22587. "description": "所属机构",
  22588. "type": "integer"
  22589. },
  22590. "auditaccountid": {
  22591. "description": "审核操作员账号",
  22592. "type": "integer"
  22593. },
  22594. "audittime": {
  22595. "description": "审核时间",
  22596. "type": "string"
  22597. },
  22598. "cancelaccountid": {
  22599. "description": "注销操作员账号",
  22600. "type": "integer"
  22601. },
  22602. "canceltime": {
  22603. "description": "注销时间",
  22604. "type": "string"
  22605. },
  22606. "closepricemode": {
  22607. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  22608. "type": "integer"
  22609. },
  22610. "closepriceparam": {
  22611. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  22612. "type": "number"
  22613. },
  22614. "createtime": {
  22615. "description": "创建时间",
  22616. "type": "string"
  22617. },
  22618. "creatorid": {
  22619. "description": "创建人",
  22620. "type": "integer"
  22621. },
  22622. "currencyid": {
  22623. "description": "报价货币ID",
  22624. "type": "integer"
  22625. },
  22626. "cutmode": {
  22627. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  22628. "type": "integer"
  22629. },
  22630. "decimalplace": {
  22631. "description": "报价小数位",
  22632. "type": "integer"
  22633. },
  22634. "delistingdate": {
  22635. "description": "商品退市时间(状态:退市) -- 已作废",
  22636. "type": "string"
  22637. },
  22638. "delistingmode": {
  22639. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  22640. "type": "integer"
  22641. },
  22642. "deliveryflag": {
  22643. "description": "交割标志 - 0:不可交割 1:可交割",
  22644. "type": "integer"
  22645. },
  22646. "forceclosemode": {
  22647. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  22648. "type": "integer"
  22649. },
  22650. "forceclosevalue": {
  22651. "description": "定期强平参数 [收益权]",
  22652. "type": "integer"
  22653. },
  22654. "goodscode": {
  22655. "description": "商品代码(内部)",
  22656. "type": "string"
  22657. },
  22658. "goodscurrencyid": {
  22659. "description": "合约货币ID",
  22660. "type": "integer"
  22661. },
  22662. "goodsgroupid": {
  22663. "description": "所属商品组ID",
  22664. "type": "integer"
  22665. },
  22666. "goodsid": {
  22667. "description": "商品ID(自增ID SEQ_GOODS)",
  22668. "type": "integer"
  22669. },
  22670. "goodsname": {
  22671. "description": "商品名称",
  22672. "type": "string"
  22673. },
  22674. "goodsquotetype": {
  22675. "description": "合约报价类型: 1-直接报价 2-间接报价",
  22676. "type": "integer"
  22677. },
  22678. "goodsstatus": {
  22679. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  22680. "type": "integer"
  22681. },
  22682. "goodstradetype": {
  22683. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  22684. "type": "integer"
  22685. },
  22686. "goodunitid": {
  22687. "description": "报价单位ID",
  22688. "type": "integer"
  22689. },
  22690. "hasquoter": {
  22691. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  22692. "type": "integer"
  22693. },
  22694. "hqprotecttime": {
  22695. "description": "行情保护时间(秒)",
  22696. "type": "integer"
  22697. },
  22698. "innerdealmode": {
  22699. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  22700. "type": "integer"
  22701. },
  22702. "isbuylimited": {
  22703. "description": "是否限制建仓量 - 0:不限制 1:限制",
  22704. "type": "integer"
  22705. },
  22706. "isvisible": {
  22707. "description": "游客是否可见 - 0:不可见 1:可见",
  22708. "type": "integer"
  22709. },
  22710. "lasttradedate": {
  22711. "description": "最后交易日期(状态:待退市)",
  22712. "type": "string"
  22713. },
  22714. "listingdate": {
  22715. "description": "交易开始日期",
  22716. "type": "string"
  22717. },
  22718. "marketid": {
  22719. "description": "所属市场ID",
  22720. "type": "integer"
  22721. },
  22722. "modifierid": {
  22723. "description": "修改人",
  22724. "type": "integer"
  22725. },
  22726. "modifystatus": {
  22727. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  22728. "type": "integer"
  22729. },
  22730. "modifytime": {
  22731. "description": "修改时间",
  22732. "type": "string"
  22733. },
  22734. "outerdealmode": {
  22735. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  22736. "type": "integer"
  22737. },
  22738. "outgoodscode": {
  22739. "description": "商品代码(外部)",
  22740. "type": "string"
  22741. },
  22742. "pictureurl": {
  22743. "description": "商品图片",
  22744. "type": "string"
  22745. },
  22746. "qtydecimalplace": {
  22747. "description": "成交量小数位",
  22748. "type": "integer"
  22749. },
  22750. "quotegear": {
  22751. "description": "行情档位(1-10)",
  22752. "type": "integer"
  22753. },
  22754. "quoteminunit": {
  22755. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22756. "type": "integer"
  22757. },
  22758. "quoteshowtype": {
  22759. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  22760. "type": "integer"
  22761. },
  22762. "quoteshowtypeinterval": {
  22763. "description": "行情报价间隔时间(秒)(成交价时为0)",
  22764. "type": "integer"
  22765. },
  22766. "remark": {
  22767. "description": "备注",
  22768. "type": "string"
  22769. }
  22770. }
  22771. },
  22772. "models.GoodsIDAndName": {
  22773. "type": "object",
  22774. "required": [
  22775. "goodscode",
  22776. "goodsid",
  22777. "goodsname",
  22778. "marketid"
  22779. ],
  22780. "properties": {
  22781. "goodscode": {
  22782. "description": "商品代码(内部)",
  22783. "type": "string"
  22784. },
  22785. "goodsid": {
  22786. "description": "商品ID(自增ID SEQ_GOODS)",
  22787. "type": "integer"
  22788. },
  22789. "goodsname": {
  22790. "description": "商品名称",
  22791. "type": "string"
  22792. },
  22793. "marketid": {
  22794. "description": "所属市场ID",
  22795. "type": "integer"
  22796. }
  22797. }
  22798. },
  22799. "models.Goodsgroup": {
  22800. "type": "object",
  22801. "required": [
  22802. "goodsgroupid",
  22803. "goodsgroupname",
  22804. "goodsgroupstatus",
  22805. "marketid"
  22806. ],
  22807. "properties": {
  22808. "agreeunit": {
  22809. "description": "合约单位",
  22810. "type": "number"
  22811. },
  22812. "canshort": {
  22813. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  22814. "type": "integer"
  22815. },
  22816. "closepricemode": {
  22817. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  22818. "type": "integer"
  22819. },
  22820. "closepriceparam": {
  22821. "description": "强平最新价浮动比例 - 方式为2时使用",
  22822. "type": "number"
  22823. },
  22824. "createtime": {
  22825. "description": "创建时间",
  22826. "type": "string"
  22827. },
  22828. "creatorid": {
  22829. "description": "创建人",
  22830. "type": "integer"
  22831. },
  22832. "currencyid": {
  22833. "description": "报价货币ID",
  22834. "type": "integer"
  22835. },
  22836. "decimalplace": {
  22837. "description": "报价小数位",
  22838. "type": "integer"
  22839. },
  22840. "exercisetype": {
  22841. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  22842. "type": "integer"
  22843. },
  22844. "exexchangeid": {
  22845. "description": "外部交易所ID[通道交易]",
  22846. "type": "integer"
  22847. },
  22848. "goodsgroupid": {
  22849. "description": "商品组ID(自增ID)",
  22850. "type": "integer"
  22851. },
  22852. "goodsgroupname": {
  22853. "description": "商品组名称",
  22854. "type": "string"
  22855. },
  22856. "goodsgroupstatus": {
  22857. "description": "商品组状态 - 1:正常 2:注销",
  22858. "type": "integer"
  22859. },
  22860. "goodunitid": {
  22861. "description": "报价单位ID",
  22862. "type": "integer"
  22863. },
  22864. "innerdealmode": {
  22865. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  22866. "type": "integer"
  22867. },
  22868. "isbuylimited": {
  22869. "description": "是否限制建仓量 - 0:不限制 1:限制",
  22870. "type": "integer"
  22871. },
  22872. "marketid": {
  22873. "description": "所属市场ID",
  22874. "type": "integer"
  22875. },
  22876. "modifierid": {
  22877. "description": "修改人",
  22878. "type": "integer"
  22879. },
  22880. "modifytime": {
  22881. "description": "修改时间",
  22882. "type": "string"
  22883. },
  22884. "outerdealmode": {
  22885. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  22886. "type": "integer"
  22887. },
  22888. "outergroupcode": {
  22889. "description": "外部商品组代码[通道交易]",
  22890. "type": "string"
  22891. },
  22892. "premiumdecimalplace": {
  22893. "description": "权利金小数位[场外期权]",
  22894. "type": "integer"
  22895. },
  22896. "premiumspreadalgorithm": {
  22897. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  22898. "type": "integer"
  22899. },
  22900. "premiumspreadvalue": {
  22901. "description": "权利金点差值[场外期权]",
  22902. "type": "number"
  22903. },
  22904. "qtydecimalplace": {
  22905. "description": "成交量小数位",
  22906. "type": "integer"
  22907. },
  22908. "quotegear": {
  22909. "description": "行情档位(1-10)",
  22910. "type": "integer"
  22911. },
  22912. "quoteminunit": {
  22913. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22914. "type": "integer"
  22915. },
  22916. "quoterid": {
  22917. "description": "报价商ID[场外期权]",
  22918. "type": "integer"
  22919. },
  22920. "quotesourcegroupid": {
  22921. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  22922. "type": "integer"
  22923. },
  22924. "syncgoodsqty": {
  22925. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  22926. "type": "integer"
  22927. }
  22928. }
  22929. },
  22930. "models.Goodssortbypreposition": {
  22931. "type": "object",
  22932. "required": [
  22933. "goodscode",
  22934. "tradedate"
  22935. ],
  22936. "properties": {
  22937. "goodscode": {
  22938. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  22939. "type": "string"
  22940. },
  22941. "goodsgroupcode": {
  22942. "description": "品种代码",
  22943. "type": "string"
  22944. },
  22945. "prepositionqty": {
  22946. "description": "昨持仓量",
  22947. "type": "integer"
  22948. },
  22949. "sortindex": {
  22950. "description": "排序",
  22951. "type": "integer"
  22952. },
  22953. "tradedate": {
  22954. "description": "交易日",
  22955. "type": "string"
  22956. },
  22957. "updatetime": {
  22958. "description": "更新时间",
  22959. "type": "string"
  22960. }
  22961. }
  22962. },
  22963. "models.Hedgeinnerholderdetail": {
  22964. "type": "object",
  22965. "required": [
  22966. "buyorsell",
  22967. "tradeid"
  22968. ],
  22969. "properties": {
  22970. "accountid": {
  22971. "description": "账号ID",
  22972. "type": "integer"
  22973. },
  22974. "buyorsell": {
  22975. "description": "方向 - 0:买 1:卖",
  22976. "type": "integer"
  22977. },
  22978. "freezeqty": {
  22979. "description": "冻结数量 - 按单平使用",
  22980. "type": "integer"
  22981. },
  22982. "goodsid": {
  22983. "description": "商品ID",
  22984. "type": "integer"
  22985. },
  22986. "holderamount": {
  22987. "description": "持仓金额 [商品币种]",
  22988. "type": "number"
  22989. },
  22990. "holderdays": {
  22991. "description": "剩余冻结天数",
  22992. "type": "integer"
  22993. },
  22994. "holderprice": {
  22995. "description": "持仓价格",
  22996. "type": "number"
  22997. },
  22998. "holderqty": {
  22999. "description": "持仓数量",
  23000. "type": "integer"
  23001. },
  23002. "marketid": {
  23003. "description": "市场ID",
  23004. "type": "integer"
  23005. },
  23006. "openprice": {
  23007. "description": "建仓价格",
  23008. "type": "number"
  23009. },
  23010. "openqty": {
  23011. "description": "建仓数量",
  23012. "type": "integer"
  23013. },
  23014. "parentaccountid": {
  23015. "description": "所属母账户",
  23016. "type": "integer"
  23017. },
  23018. "releaseamount": {
  23019. "description": "释放持仓金额[商品币种]",
  23020. "type": "number"
  23021. },
  23022. "tradeamount": {
  23023. "description": "成交金额[账户]",
  23024. "type": "number"
  23025. },
  23026. "tradedate": {
  23027. "description": "交易日(yyyyMMdd)",
  23028. "type": "string"
  23029. },
  23030. "tradeid": {
  23031. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23032. "type": "string"
  23033. },
  23034. "tradetime": {
  23035. "description": "交易时间",
  23036. "type": "string"
  23037. }
  23038. }
  23039. },
  23040. "models.Hedgemarketopenlog": {
  23041. "type": "object",
  23042. "required": [
  23043. "accountid"
  23044. ],
  23045. "properties": {
  23046. "accountid": {
  23047. "description": "资金账号[外部母账户]",
  23048. "type": "integer"
  23049. },
  23050. "fcname": {
  23051. "description": "期货公司名称",
  23052. "type": "string"
  23053. },
  23054. "handlestatus": {
  23055. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  23056. "type": "integer"
  23057. },
  23058. "marketid": {
  23059. "description": "市场ID",
  23060. "type": "integer"
  23061. },
  23062. "status": {
  23063. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  23064. "type": "integer"
  23065. },
  23066. "tradedate": {
  23067. "description": "交易日(yyyyMMdd)",
  23068. "type": "string"
  23069. },
  23070. "updatetime": {
  23071. "description": "更新时间",
  23072. "type": "string"
  23073. }
  23074. }
  23075. },
  23076. "models.HsbyBuyMyPayOrder": {
  23077. "type": "object",
  23078. "required": [
  23079. "goodscode",
  23080. "goodsname",
  23081. "tradeid",
  23082. "trademode"
  23083. ],
  23084. "properties": {
  23085. "agreeunit": {
  23086. "description": "合约单位",
  23087. "type": "number"
  23088. },
  23089. "buyaccountid": {
  23090. "description": "买方账号ID[报价币种]",
  23091. "type": "integer"
  23092. },
  23093. "buyorderid": {
  23094. "description": "买方委托单号",
  23095. "type": "string"
  23096. },
  23097. "createtime": {
  23098. "description": "创建时间",
  23099. "type": "string"
  23100. },
  23101. "currencysign": {
  23102. "description": "货币符号",
  23103. "type": "string"
  23104. },
  23105. "decimalplace": {
  23106. "description": "报价小数位",
  23107. "type": "integer"
  23108. },
  23109. "goodscode": {
  23110. "description": "商品代码(内部)",
  23111. "type": "string"
  23112. },
  23113. "goodsid": {
  23114. "description": "商品ID",
  23115. "type": "integer"
  23116. },
  23117. "goodsname": {
  23118. "description": "商品名称",
  23119. "type": "string"
  23120. },
  23121. "marketid": {
  23122. "description": "市场ID",
  23123. "type": "integer"
  23124. },
  23125. "offamount": {
  23126. "description": "优惠金额",
  23127. "type": "number"
  23128. },
  23129. "originalamount": {
  23130. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  23131. "type": "number"
  23132. },
  23133. "payamount": {
  23134. "description": "支付金额 = TradeAmount + TradeCharge",
  23135. "type": "number"
  23136. },
  23137. "payflag": {
  23138. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  23139. "type": "integer"
  23140. },
  23141. "paylimitedtime": {
  23142. "description": "支付期限",
  23143. "type": "string"
  23144. },
  23145. "paytime": {
  23146. "description": "付款时间",
  23147. "type": "string"
  23148. },
  23149. "picurls1": {
  23150. "description": "预售商品介绍图片[多张用逗号分隔]",
  23151. "type": "string"
  23152. },
  23153. "picurls2": {
  23154. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  23155. "type": "string"
  23156. },
  23157. "sellaccountid": {
  23158. "description": "卖方账号ID[报价币种]",
  23159. "type": "integer"
  23160. },
  23161. "sellorderid": {
  23162. "description": "卖方委托单号",
  23163. "type": "string"
  23164. },
  23165. "tradeamount": {
  23166. "description": "成交金额",
  23167. "type": "number"
  23168. },
  23169. "tradecharge": {
  23170. "description": "成交手续费(买方)",
  23171. "type": "number"
  23172. },
  23173. "tradedate": {
  23174. "description": "交易日(yyyyMMdd)",
  23175. "type": "string"
  23176. },
  23177. "tradeid": {
  23178. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23179. "type": "string"
  23180. },
  23181. "trademode": {
  23182. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23183. "type": "integer"
  23184. },
  23185. "tradeprice": {
  23186. "description": "成交价格",
  23187. "type": "number"
  23188. },
  23189. "tradeqty": {
  23190. "description": "成交数量",
  23191. "type": "integer"
  23192. },
  23193. "vendorname1": {
  23194. "description": "预售商品供应商名称",
  23195. "type": "string"
  23196. },
  23197. "vendorname2": {
  23198. "description": "挂牌商品供应商名称",
  23199. "type": "string"
  23200. }
  23201. }
  23202. },
  23203. "models.HsbyBuyMyTradeDetail": {
  23204. "type": "object",
  23205. "required": [
  23206. "accountid",
  23207. "buyorsell",
  23208. "goodscode",
  23209. "goodsid",
  23210. "goodsname",
  23211. "marketid",
  23212. "orderid",
  23213. "qty",
  23214. "time",
  23215. "trademode"
  23216. ],
  23217. "properties": {
  23218. "accountid": {
  23219. "description": "账户ID[报价币种]",
  23220. "type": "integer"
  23221. },
  23222. "agreeunit": {
  23223. "description": "合约单位",
  23224. "type": "number"
  23225. },
  23226. "amount": {
  23227. "description": "金额 = 价格 * 数量 * 合约单位",
  23228. "type": "number"
  23229. },
  23230. "buyorsell": {
  23231. "description": "买卖 - 0:买 1:卖",
  23232. "type": "integer"
  23233. },
  23234. "currencysign": {
  23235. "description": "货币符号",
  23236. "type": "string"
  23237. },
  23238. "decimalplace": {
  23239. "description": "报价小数位",
  23240. "type": "integer"
  23241. },
  23242. "goodscode": {
  23243. "description": "商品代码(内部)",
  23244. "type": "string"
  23245. },
  23246. "goodsid": {
  23247. "description": "商品ID",
  23248. "type": "integer"
  23249. },
  23250. "goodsname": {
  23251. "description": "商品名称",
  23252. "type": "string"
  23253. },
  23254. "marketid": {
  23255. "description": "市场ID",
  23256. "type": "integer"
  23257. },
  23258. "orderamount": {
  23259. "description": "委托金额",
  23260. "type": "number"
  23261. },
  23262. "orderid": {
  23263. "description": "单号(成交单号)",
  23264. "type": "string"
  23265. },
  23266. "picurls1": {
  23267. "description": "预售商品介绍图片[多张用逗号分隔]",
  23268. "type": "string"
  23269. },
  23270. "picurls2": {
  23271. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  23272. "type": "string"
  23273. },
  23274. "price": {
  23275. "description": "价格",
  23276. "type": "number"
  23277. },
  23278. "qty": {
  23279. "description": "数量",
  23280. "type": "integer"
  23281. },
  23282. "time": {
  23283. "description": "时间",
  23284. "type": "string"
  23285. },
  23286. "trademode": {
  23287. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23288. "type": "integer"
  23289. },
  23290. "vendorname1": {
  23291. "description": "预售商品供应商名称",
  23292. "type": "string"
  23293. },
  23294. "vendorname2": {
  23295. "description": "挂牌商品供应商名称",
  23296. "type": "string"
  23297. }
  23298. }
  23299. },
  23300. "models.HsbyGoodsOrderDetail": {
  23301. "type": "object",
  23302. "required": [
  23303. "buyorsell",
  23304. "orderid",
  23305. "ordertime"
  23306. ],
  23307. "properties": {
  23308. "buyorsell": {
  23309. "description": "买卖 - 0:买 1:卖",
  23310. "type": "integer"
  23311. },
  23312. "currencysign": {
  23313. "description": "货币符号",
  23314. "type": "string"
  23315. },
  23316. "customername": {
  23317. "description": "客户名称(企业名称),已脱敏",
  23318. "type": "string"
  23319. },
  23320. "enableqty": {
  23321. "description": "可用数量",
  23322. "type": "integer"
  23323. },
  23324. "goodunit": {
  23325. "description": "报价单位",
  23326. "type": "string"
  23327. },
  23328. "orderid": {
  23329. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23330. "type": "string"
  23331. },
  23332. "orderprice": {
  23333. "description": "委托价格",
  23334. "type": "number"
  23335. },
  23336. "ordertime": {
  23337. "description": "委托时间",
  23338. "type": "string"
  23339. }
  23340. }
  23341. },
  23342. "models.HsbyListingGoodsDetail": {
  23343. "type": "object",
  23344. "required": [
  23345. "goodscode",
  23346. "goodsid",
  23347. "goodsname",
  23348. "marketid",
  23349. "trademode"
  23350. ],
  23351. "properties": {
  23352. "agreeunit": {
  23353. "description": "合约单位",
  23354. "type": "number"
  23355. },
  23356. "buymaxqty": {
  23357. "description": "购买上限 [71] - 0为不限",
  23358. "type": "integer"
  23359. },
  23360. "currency": {
  23361. "description": "货币",
  23362. "type": "string"
  23363. },
  23364. "currencysign": {
  23365. "description": "货币符号",
  23366. "type": "string"
  23367. },
  23368. "decimalplace": {
  23369. "description": "报价小数位",
  23370. "type": "integer"
  23371. },
  23372. "desccityid": {
  23373. "description": "目的地(市)ID",
  23374. "type": "integer"
  23375. },
  23376. "descprovinceid": {
  23377. "description": "目的地(省)ID",
  23378. "type": "integer"
  23379. },
  23380. "goodscode": {
  23381. "description": "商品代码(内部)",
  23382. "type": "string"
  23383. },
  23384. "goodsdesc": {
  23385. "description": "商品详情",
  23386. "type": "string"
  23387. },
  23388. "goodsid": {
  23389. "description": "商品ID(自增ID SEQ_GOODS)",
  23390. "type": "integer"
  23391. },
  23392. "goodsname": {
  23393. "description": "商品名称",
  23394. "type": "string"
  23395. },
  23396. "goodsprice": {
  23397. "description": "商品价格",
  23398. "type": "number"
  23399. },
  23400. "hotindex": {
  23401. "description": "景点热度",
  23402. "type": "integer"
  23403. },
  23404. "last": {
  23405. "description": "现价",
  23406. "type": "number"
  23407. },
  23408. "limitdown": {
  23409. "description": "跌停价",
  23410. "type": "number"
  23411. },
  23412. "limitup": {
  23413. "description": "涨停价",
  23414. "type": "number"
  23415. },
  23416. "lotsize": {
  23417. "description": "手数最小变动单位",
  23418. "type": "integer"
  23419. },
  23420. "marketid": {
  23421. "description": "所属市场ID",
  23422. "type": "integer"
  23423. },
  23424. "picurls": {
  23425. "description": "介绍图片[多张用逗号分隔]",
  23426. "type": "string"
  23427. },
  23428. "quoteminunit": {
  23429. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23430. "type": "integer"
  23431. },
  23432. "stepvalue": {
  23433. "description": "价格最小变动单位",
  23434. "type": "number"
  23435. },
  23436. "trademode": {
  23437. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23438. "type": "integer"
  23439. },
  23440. "vendorattr": {
  23441. "description": "供应商附件(多张,逗号分隔)",
  23442. "type": "string"
  23443. },
  23444. "vendorname": {
  23445. "description": "供应商名称",
  23446. "type": "string"
  23447. },
  23448. "vendorphone": {
  23449. "description": "供应商客服电话",
  23450. "type": "string"
  23451. },
  23452. "videourls": {
  23453. "description": "介绍视频[多张用逗号分隔]",
  23454. "type": "string"
  23455. }
  23456. }
  23457. },
  23458. "models.HsbyMarketGoods": {
  23459. "type": "object",
  23460. "required": [
  23461. "accountid",
  23462. "buyorsell",
  23463. "goodscode",
  23464. "goodsid",
  23465. "goodsname",
  23466. "marketid",
  23467. "orderid",
  23468. "trademode"
  23469. ],
  23470. "properties": {
  23471. "accountid": {
  23472. "description": "账户ID[报价币种]",
  23473. "type": "integer"
  23474. },
  23475. "agreeunit": {
  23476. "description": "合约单位",
  23477. "type": "number"
  23478. },
  23479. "buyorsell": {
  23480. "description": "买卖 - 0:买 1:卖",
  23481. "type": "integer"
  23482. },
  23483. "categoryid": {
  23484. "description": "类别ID(WRCATEGORY)",
  23485. "type": "integer"
  23486. },
  23487. "currency": {
  23488. "description": "货币",
  23489. "type": "string"
  23490. },
  23491. "currencysign": {
  23492. "description": "货币符号",
  23493. "type": "string"
  23494. },
  23495. "customername": {
  23496. "description": "卖家名称",
  23497. "type": "string"
  23498. },
  23499. "decimalplace": {
  23500. "description": "报价小数位",
  23501. "type": "integer"
  23502. },
  23503. "goodscode": {
  23504. "description": "商品代码(内部)",
  23505. "type": "string"
  23506. },
  23507. "goodsid": {
  23508. "description": "商品ID",
  23509. "type": "integer"
  23510. },
  23511. "goodsname": {
  23512. "description": "商品名称",
  23513. "type": "string"
  23514. },
  23515. "goodsprice": {
  23516. "description": "商品价格",
  23517. "type": "number"
  23518. },
  23519. "hascoupon": {
  23520. "description": "是否可用优惠卷",
  23521. "type": "boolean"
  23522. },
  23523. "hotindex": {
  23524. "description": "景点热度",
  23525. "type": "integer"
  23526. },
  23527. "marketid": {
  23528. "description": "市场ID",
  23529. "type": "integer"
  23530. },
  23531. "orderid": {
  23532. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23533. "type": "string"
  23534. },
  23535. "orderprice": {
  23536. "description": "委托价格",
  23537. "type": "number"
  23538. },
  23539. "orderstatus": {
  23540. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23541. "type": "integer"
  23542. },
  23543. "picurls": {
  23544. "description": "介绍图片[多张用逗号分隔]",
  23545. "type": "string"
  23546. },
  23547. "quoteminunit": {
  23548. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23549. "type": "integer"
  23550. },
  23551. "sellUserID": {
  23552. "description": "卖方UserID",
  23553. "type": "integer"
  23554. },
  23555. "trademode": {
  23556. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23557. "type": "integer"
  23558. },
  23559. "videourls": {
  23560. "description": "介绍视频[多张用逗号分隔]",
  23561. "type": "string"
  23562. }
  23563. }
  23564. },
  23565. "models.HsbyMarketGoodsDetail": {
  23566. "type": "object",
  23567. "required": [
  23568. "accountid",
  23569. "buyorsell",
  23570. "goodscode",
  23571. "goodsid",
  23572. "goodsname",
  23573. "marketid",
  23574. "orderid",
  23575. "orderqty",
  23576. "trademode"
  23577. ],
  23578. "properties": {
  23579. "accountid": {
  23580. "description": "账户ID[报价币种]",
  23581. "type": "integer"
  23582. },
  23583. "agreeunit": {
  23584. "description": "合约单位",
  23585. "type": "number"
  23586. },
  23587. "buymaxqty": {
  23588. "description": "购买上限 [71] - 0为不限",
  23589. "type": "integer"
  23590. },
  23591. "buyorsell": {
  23592. "description": "买卖 - 0:买 1:卖",
  23593. "type": "integer"
  23594. },
  23595. "cancelqty": {
  23596. "description": "撤单数量",
  23597. "type": "integer"
  23598. },
  23599. "categoryid": {
  23600. "description": "类别ID(WRCATEGORY)",
  23601. "type": "integer"
  23602. },
  23603. "currency": {
  23604. "description": "货币",
  23605. "type": "string"
  23606. },
  23607. "currencysign": {
  23608. "description": "货币符号",
  23609. "type": "string"
  23610. },
  23611. "customername": {
  23612. "description": "卖家名称",
  23613. "type": "string"
  23614. },
  23615. "decimalplace": {
  23616. "description": "报价小数位",
  23617. "type": "integer"
  23618. },
  23619. "goodscode": {
  23620. "description": "商品代码(内部)",
  23621. "type": "string"
  23622. },
  23623. "goodsdesc": {
  23624. "description": "商品详情",
  23625. "type": "string"
  23626. },
  23627. "goodsid": {
  23628. "description": "商品ID",
  23629. "type": "integer"
  23630. },
  23631. "goodsname": {
  23632. "description": "商品名称",
  23633. "type": "string"
  23634. },
  23635. "goodsprice": {
  23636. "description": "商品价格",
  23637. "type": "number"
  23638. },
  23639. "hotindex": {
  23640. "description": "景点热度",
  23641. "type": "integer"
  23642. },
  23643. "lotsize": {
  23644. "description": "手数最小变动单位",
  23645. "type": "integer"
  23646. },
  23647. "marketid": {
  23648. "description": "市场ID",
  23649. "type": "integer"
  23650. },
  23651. "orderid": {
  23652. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23653. "type": "string"
  23654. },
  23655. "orderprice": {
  23656. "description": "委托价格",
  23657. "type": "number"
  23658. },
  23659. "orderqty": {
  23660. "description": "委托数量",
  23661. "type": "integer"
  23662. },
  23663. "orderstatus": {
  23664. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23665. "type": "integer"
  23666. },
  23667. "picurls": {
  23668. "description": "介绍图片[多张用逗号分隔]",
  23669. "type": "string"
  23670. },
  23671. "quoteminunit": {
  23672. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23673. "type": "integer"
  23674. },
  23675. "sellUserID": {
  23676. "description": "卖方UserID",
  23677. "type": "integer"
  23678. },
  23679. "trademode": {
  23680. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23681. "type": "integer"
  23682. },
  23683. "tradeqty": {
  23684. "description": "成交数量",
  23685. "type": "integer"
  23686. },
  23687. "vendorattr": {
  23688. "description": "供应商附件(多张,逗号分隔)",
  23689. "type": "string"
  23690. },
  23691. "vendorname": {
  23692. "description": "供应商名称",
  23693. "type": "string"
  23694. },
  23695. "vendorphone": {
  23696. "description": "供应商客服电话",
  23697. "type": "string"
  23698. },
  23699. "videourls": {
  23700. "description": "介绍视频[多张用逗号分隔]",
  23701. "type": "string"
  23702. }
  23703. }
  23704. },
  23705. "models.HsbyMarketInfo": {
  23706. "type": "object",
  23707. "required": [
  23708. "marketid",
  23709. "marketstatus",
  23710. "trademode"
  23711. ],
  23712. "properties": {
  23713. "marketid": {
  23714. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  23715. "type": "integer"
  23716. },
  23717. "marketname": {
  23718. "description": "市场名称",
  23719. "type": "string"
  23720. },
  23721. "marketstatus": {
  23722. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  23723. "type": "integer"
  23724. },
  23725. "trademode": {
  23726. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23727. "type": "integer"
  23728. }
  23729. }
  23730. },
  23731. "models.HsbyMyGoods": {
  23732. "type": "object",
  23733. "required": [
  23734. "accountid",
  23735. "goodscode",
  23736. "goodsid",
  23737. "goodsname",
  23738. "marketid",
  23739. "trademode"
  23740. ],
  23741. "properties": {
  23742. "accountid": {
  23743. "description": "账号Id",
  23744. "type": "integer"
  23745. },
  23746. "agreeunit": {
  23747. "description": "合约单位",
  23748. "type": "number"
  23749. },
  23750. "buyaverageprice": {
  23751. "description": "持仓均价",
  23752. "type": "number"
  23753. },
  23754. "buycurholderamount": {
  23755. "description": "买当前持仓总金额[商品币种]",
  23756. "type": "number"
  23757. },
  23758. "buycurpositionqty": {
  23759. "description": "买当前持仓总数量",
  23760. "type": "integer"
  23761. },
  23762. "buymaxqty": {
  23763. "description": "购买上限 [71] - 0为不限",
  23764. "type": "integer"
  23765. },
  23766. "currencysign": {
  23767. "description": "货币符号",
  23768. "type": "string"
  23769. },
  23770. "decimalplace": {
  23771. "description": "报价小数位",
  23772. "type": "integer"
  23773. },
  23774. "enableqty": {
  23775. "description": "可用数量",
  23776. "type": "integer"
  23777. },
  23778. "goodscode": {
  23779. "description": "商品代码(内部)",
  23780. "type": "string"
  23781. },
  23782. "goodsid": {
  23783. "description": "商品Id",
  23784. "type": "integer"
  23785. },
  23786. "goodsname": {
  23787. "description": "商品名称",
  23788. "type": "string"
  23789. },
  23790. "goodsprice": {
  23791. "description": "商品价格",
  23792. "type": "number"
  23793. },
  23794. "goodsstatus": {
  23795. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  23796. "type": "integer"
  23797. },
  23798. "last": {
  23799. "description": "现价(仅使用于挂牌点选)",
  23800. "type": "number"
  23801. },
  23802. "limitdown": {
  23803. "description": "跌停价(仅使用于挂牌点选)",
  23804. "type": "number"
  23805. },
  23806. "limitup": {
  23807. "description": "涨停价(仅使用于挂牌点选)",
  23808. "type": "number"
  23809. },
  23810. "lotsize": {
  23811. "description": "手数最小变动单位",
  23812. "type": "integer"
  23813. },
  23814. "marketid": {
  23815. "description": "所属市场ID",
  23816. "type": "integer"
  23817. },
  23818. "picurls": {
  23819. "description": "介绍图片[多张用逗号分隔]",
  23820. "type": "string"
  23821. },
  23822. "quoteminunit": {
  23823. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23824. "type": "integer"
  23825. },
  23826. "stepvalue": {
  23827. "description": "价格最小变动单位",
  23828. "type": "number"
  23829. },
  23830. "trademode": {
  23831. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23832. "type": "integer"
  23833. }
  23834. }
  23835. },
  23836. "models.HsbyMyPackage": {
  23837. "type": "object",
  23838. "required": [
  23839. "goodscode",
  23840. "goodsname",
  23841. "takeorderid",
  23842. "trademode"
  23843. ],
  23844. "properties": {
  23845. "accountid": {
  23846. "description": "账户ID",
  23847. "type": "integer"
  23848. },
  23849. "address": {
  23850. "description": "提货人详细地址",
  23851. "type": "string"
  23852. },
  23853. "agreeunit": {
  23854. "description": "合约单位",
  23855. "type": "number"
  23856. },
  23857. "amount": {
  23858. "description": "提货金额",
  23859. "type": "number"
  23860. },
  23861. "auditer": {
  23862. "description": "审核人",
  23863. "type": "integer"
  23864. },
  23865. "audittime": {
  23866. "description": "审核时间",
  23867. "type": "string"
  23868. },
  23869. "averageprice": {
  23870. "description": "均价",
  23871. "type": "number"
  23872. },
  23873. "cardnum": {
  23874. "description": "提货人证件号码",
  23875. "type": "string"
  23876. },
  23877. "cardtypeid": {
  23878. "description": "提货人证件类型",
  23879. "type": "integer"
  23880. },
  23881. "checkremark": {
  23882. "description": "审核备注",
  23883. "type": "string"
  23884. },
  23885. "currencysign": {
  23886. "description": "货币符号",
  23887. "type": "string"
  23888. },
  23889. "decimalplace": {
  23890. "description": "报价小数位",
  23891. "type": "integer"
  23892. },
  23893. "goodscode": {
  23894. "description": "商品代码(内部)",
  23895. "type": "string"
  23896. },
  23897. "goodsid": {
  23898. "description": "商品ID",
  23899. "type": "integer"
  23900. },
  23901. "goodsname": {
  23902. "description": "商品名称",
  23903. "type": "string"
  23904. },
  23905. "handlestatus": {
  23906. "description": "处理状态",
  23907. "type": "integer"
  23908. },
  23909. "marketid": {
  23910. "description": "市场ID",
  23911. "type": "integer"
  23912. },
  23913. "phonenum": {
  23914. "description": "提货人联系方式",
  23915. "type": "string"
  23916. },
  23917. "picurls": {
  23918. "description": "介绍图片[多张用逗号分隔]",
  23919. "type": "string"
  23920. },
  23921. "qty": {
  23922. "description": "提货数量",
  23923. "type": "number"
  23924. },
  23925. "recivername": {
  23926. "description": "提货人姓名",
  23927. "type": "string"
  23928. },
  23929. "reqtime": {
  23930. "description": "更新时间",
  23931. "type": "string"
  23932. },
  23933. "takemode": {
  23934. "description": "提货方式 - 2:自提 3:配送",
  23935. "type": "integer"
  23936. },
  23937. "takeorderid": {
  23938. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  23939. "type": "string"
  23940. },
  23941. "takeorderstatus": {
  23942. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  23943. "type": "integer"
  23944. },
  23945. "takeremark": {
  23946. "description": "提货备注",
  23947. "type": "string"
  23948. },
  23949. "tradedate": {
  23950. "description": "交易日(yyyyMMdd)",
  23951. "type": "string"
  23952. },
  23953. "trademode": {
  23954. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23955. "type": "integer"
  23956. },
  23957. "userid": {
  23958. "description": "用户ID",
  23959. "type": "integer"
  23960. },
  23961. "vendorname": {
  23962. "description": "供应商名称",
  23963. "type": "string"
  23964. }
  23965. }
  23966. },
  23967. "models.HsbyPreGoods": {
  23968. "type": "object",
  23969. "required": [
  23970. "goodscode",
  23971. "goodsid",
  23972. "goodsname",
  23973. "marketid",
  23974. "trademode"
  23975. ],
  23976. "properties": {
  23977. "agreeunit": {
  23978. "description": "合约单位",
  23979. "type": "number"
  23980. },
  23981. "currency": {
  23982. "description": "货币",
  23983. "type": "string"
  23984. },
  23985. "currencysign": {
  23986. "description": "货币符号",
  23987. "type": "string"
  23988. },
  23989. "decimalplace": {
  23990. "description": "报价小数位",
  23991. "type": "integer"
  23992. },
  23993. "desccityid": {
  23994. "description": "目的地(市)",
  23995. "type": "integer"
  23996. },
  23997. "descprovinceid": {
  23998. "description": "目的地(省)",
  23999. "type": "integer"
  24000. },
  24001. "enableqty": {
  24002. "description": "剩余数量",
  24003. "type": "integer"
  24004. },
  24005. "goodscode": {
  24006. "description": "商品代码(内部)",
  24007. "type": "string"
  24008. },
  24009. "goodsid": {
  24010. "description": "商品ID(自增ID SEQ_GOODS)",
  24011. "type": "integer"
  24012. },
  24013. "goodsname": {
  24014. "description": "商品名称",
  24015. "type": "string"
  24016. },
  24017. "goodsstatus": {
  24018. "description": "商品状态- 2:未上市 3:上市",
  24019. "type": "integer"
  24020. },
  24021. "lasttradedate": {
  24022. "description": "最后交易日期(状态:待退市)",
  24023. "type": "string"
  24024. },
  24025. "listingdate": {
  24026. "description": "交易开始日期",
  24027. "type": "string"
  24028. },
  24029. "marketid": {
  24030. "description": "所属市场ID",
  24031. "type": "integer"
  24032. },
  24033. "picurls": {
  24034. "description": "介绍图片[多张用逗号分隔]",
  24035. "type": "string"
  24036. },
  24037. "presaledqty": {
  24038. "description": "已预售量(预售结束时更新)",
  24039. "type": "integer"
  24040. },
  24041. "presaleqty": {
  24042. "description": "预售数量",
  24043. "type": "integer"
  24044. },
  24045. "quoteminunit": {
  24046. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24047. "type": "integer"
  24048. },
  24049. "refprice": {
  24050. "description": "参考价格[一口价]",
  24051. "type": "number"
  24052. },
  24053. "relatedgoodsid": {
  24054. "description": "关联交易合约ID",
  24055. "type": "integer"
  24056. },
  24057. "trademode": {
  24058. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24059. "type": "integer"
  24060. },
  24061. "videourls": {
  24062. "description": "介绍视频[多张用逗号分隔]",
  24063. "type": "string"
  24064. }
  24065. }
  24066. },
  24067. "models.HsbyPreGoodsDetail": {
  24068. "type": "object",
  24069. "required": [
  24070. "goodscode",
  24071. "goodsid",
  24072. "goodsname",
  24073. "marketid",
  24074. "trademode"
  24075. ],
  24076. "properties": {
  24077. "agreeunit": {
  24078. "description": "合约单位",
  24079. "type": "number"
  24080. },
  24081. "buymaxqty": {
  24082. "description": "购买上限 [71] - 0为不限",
  24083. "type": "integer"
  24084. },
  24085. "currency": {
  24086. "description": "货币",
  24087. "type": "string"
  24088. },
  24089. "currencysign": {
  24090. "description": "货币符号",
  24091. "type": "string"
  24092. },
  24093. "customername": {
  24094. "description": "发行单位",
  24095. "type": "string"
  24096. },
  24097. "decimalplace": {
  24098. "description": "报价小数位",
  24099. "type": "integer"
  24100. },
  24101. "desccityid": {
  24102. "description": "目的地(市)ID",
  24103. "type": "integer"
  24104. },
  24105. "descprovinceid": {
  24106. "description": "目的地(省)ID",
  24107. "type": "integer"
  24108. },
  24109. "enableqty": {
  24110. "description": "剩余数量",
  24111. "type": "integer"
  24112. },
  24113. "goodscode": {
  24114. "description": "商品代码(内部)",
  24115. "type": "string"
  24116. },
  24117. "goodsdesc": {
  24118. "description": "商品详情",
  24119. "type": "string"
  24120. },
  24121. "goodsid": {
  24122. "description": "商品ID(自增ID SEQ_GOODS)",
  24123. "type": "integer"
  24124. },
  24125. "goodsname": {
  24126. "description": "商品名称",
  24127. "type": "string"
  24128. },
  24129. "goodsstatus": {
  24130. "description": "商品状态- 2:未上市 3:上市",
  24131. "type": "integer"
  24132. },
  24133. "goodunit": {
  24134. "description": "报价单位",
  24135. "type": "string"
  24136. },
  24137. "lasttradedate": {
  24138. "description": "最后交易日期(状态:待退市)",
  24139. "type": "string"
  24140. },
  24141. "listingdate": {
  24142. "description": "交易开始日期",
  24143. "type": "string"
  24144. },
  24145. "lotsize": {
  24146. "description": "手数最小变动单位",
  24147. "type": "integer"
  24148. },
  24149. "marketid": {
  24150. "description": "所属市场ID",
  24151. "type": "integer"
  24152. },
  24153. "picurls": {
  24154. "description": "介绍图片[多张用逗号分隔]",
  24155. "type": "string"
  24156. },
  24157. "presaledqty": {
  24158. "description": "已预售量(预售结束时更新)",
  24159. "type": "integer"
  24160. },
  24161. "presaleqty": {
  24162. "description": "预售数量",
  24163. "type": "integer"
  24164. },
  24165. "quoteminunit": {
  24166. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24167. "type": "integer"
  24168. },
  24169. "refprice": {
  24170. "description": "参考价格[一口价]",
  24171. "type": "number"
  24172. },
  24173. "relatedgoodsid": {
  24174. "description": "关联交易合约ID",
  24175. "type": "integer"
  24176. },
  24177. "stepvalue": {
  24178. "description": "价格最小变动单位",
  24179. "type": "number"
  24180. },
  24181. "trademode": {
  24182. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24183. "type": "integer"
  24184. },
  24185. "vendorattr": {
  24186. "description": "供应商附件(多张,逗号分隔)",
  24187. "type": "string"
  24188. },
  24189. "vendorname": {
  24190. "description": "供应商名称",
  24191. "type": "string"
  24192. },
  24193. "vendorphone": {
  24194. "description": "供应商客服电话",
  24195. "type": "string"
  24196. },
  24197. "videourls": {
  24198. "description": "介绍视频[多张用逗号分隔]",
  24199. "type": "string"
  24200. }
  24201. }
  24202. },
  24203. "models.HsbySellCollectionOrder": {
  24204. "type": "object",
  24205. "required": [
  24206. "goodscode",
  24207. "goodsname",
  24208. "tradeid",
  24209. "trademode"
  24210. ],
  24211. "properties": {
  24212. "agreeunit": {
  24213. "description": "合约单位",
  24214. "type": "number"
  24215. },
  24216. "buyaccountid": {
  24217. "description": "买方账号ID[报价币种]",
  24218. "type": "integer"
  24219. },
  24220. "buyorderid": {
  24221. "description": "买方委托单号",
  24222. "type": "string"
  24223. },
  24224. "createtime": {
  24225. "description": "创建时间",
  24226. "type": "string"
  24227. },
  24228. "currencysign": {
  24229. "description": "货币符号",
  24230. "type": "string"
  24231. },
  24232. "decimalplace": {
  24233. "description": "报价小数位",
  24234. "type": "integer"
  24235. },
  24236. "goodscode": {
  24237. "description": "商品代码(内部)",
  24238. "type": "string"
  24239. },
  24240. "goodsid": {
  24241. "description": "商品ID",
  24242. "type": "integer"
  24243. },
  24244. "goodsname": {
  24245. "description": "商品名称",
  24246. "type": "string"
  24247. },
  24248. "marketid": {
  24249. "description": "市场ID",
  24250. "type": "integer"
  24251. },
  24252. "offamount": {
  24253. "description": "优惠金额",
  24254. "type": "number"
  24255. },
  24256. "payamount": {
  24257. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  24258. "type": "number"
  24259. },
  24260. "payflag": {
  24261. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  24262. "type": "integer"
  24263. },
  24264. "paylimitedtime": {
  24265. "description": "支付期限",
  24266. "type": "string"
  24267. },
  24268. "paytime": {
  24269. "description": "付款时间",
  24270. "type": "string"
  24271. },
  24272. "picurls": {
  24273. "description": "商品介绍图片[多张用逗号分隔]",
  24274. "type": "string"
  24275. },
  24276. "sellaccountid": {
  24277. "description": "卖方账号ID[报价币种]",
  24278. "type": "integer"
  24279. },
  24280. "sellorderid": {
  24281. "description": "卖方委托单号",
  24282. "type": "string"
  24283. },
  24284. "tradeamount": {
  24285. "description": "成交金额",
  24286. "type": "number"
  24287. },
  24288. "tradecharge": {
  24289. "description": "成交手续费(买方)",
  24290. "type": "number"
  24291. },
  24292. "tradedate": {
  24293. "description": "交易日(yyyyMMdd)",
  24294. "type": "string"
  24295. },
  24296. "tradeid": {
  24297. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24298. "type": "string"
  24299. },
  24300. "trademode": {
  24301. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24302. "type": "integer"
  24303. },
  24304. "tradeprice": {
  24305. "description": "成交价格",
  24306. "type": "number"
  24307. },
  24308. "tradeqty": {
  24309. "description": "成交数量",
  24310. "type": "integer"
  24311. }
  24312. }
  24313. },
  24314. "models.HsbySellMyDetail": {
  24315. "type": "object",
  24316. "required": [
  24317. "accountid",
  24318. "buyorsell",
  24319. "goodscode",
  24320. "goodsid",
  24321. "goodsname",
  24322. "marketid",
  24323. "orderid",
  24324. "time",
  24325. "trademode"
  24326. ],
  24327. "properties": {
  24328. "accountid": {
  24329. "description": "账户ID[报价币种]",
  24330. "type": "integer"
  24331. },
  24332. "agreeunit": {
  24333. "description": "合约单位",
  24334. "type": "number"
  24335. },
  24336. "buyorsell": {
  24337. "description": "买卖 - 0:买 1:卖",
  24338. "type": "integer"
  24339. },
  24340. "currencysign": {
  24341. "description": "货币符号",
  24342. "type": "string"
  24343. },
  24344. "decimalplace": {
  24345. "description": "报价小数位",
  24346. "type": "integer"
  24347. },
  24348. "goodscode": {
  24349. "description": "商品代码(内部)",
  24350. "type": "string"
  24351. },
  24352. "goodsid": {
  24353. "description": "商品ID",
  24354. "type": "integer"
  24355. },
  24356. "goodsname": {
  24357. "description": "商品名称",
  24358. "type": "string"
  24359. },
  24360. "marketid": {
  24361. "description": "市场ID",
  24362. "type": "integer"
  24363. },
  24364. "orderid": {
  24365. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  24366. "type": "string"
  24367. },
  24368. "ordertype": {
  24369. "description": "单据类型:0 - 发布中, 1 - 已完成",
  24370. "type": "integer"
  24371. },
  24372. "picurls": {
  24373. "description": "介绍图片[多张用逗号分隔]",
  24374. "type": "string"
  24375. },
  24376. "price": {
  24377. "description": "价格",
  24378. "type": "number"
  24379. },
  24380. "qty": {
  24381. "description": "数量",
  24382. "type": "integer"
  24383. },
  24384. "time": {
  24385. "description": "时间",
  24386. "type": "string"
  24387. },
  24388. "trademode": {
  24389. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24390. "type": "integer"
  24391. },
  24392. "vendorname": {
  24393. "description": "供应商名称",
  24394. "type": "string"
  24395. }
  24396. }
  24397. },
  24398. "models.HsbyTopGoods": {
  24399. "type": "object",
  24400. "required": [
  24401. "goodscode",
  24402. "goodsid",
  24403. "goodsname",
  24404. "marketid",
  24405. "trademode"
  24406. ],
  24407. "properties": {
  24408. "agreeunit": {
  24409. "description": "合约单位",
  24410. "type": "number"
  24411. },
  24412. "currency": {
  24413. "description": "货币",
  24414. "type": "string"
  24415. },
  24416. "currencysign": {
  24417. "description": "货币符号",
  24418. "type": "string"
  24419. },
  24420. "decimalplace": {
  24421. "description": "报价小数位",
  24422. "type": "integer"
  24423. },
  24424. "desccityid": {
  24425. "description": "目的地(市)",
  24426. "type": "integer"
  24427. },
  24428. "descprovinceid": {
  24429. "description": "目的地(省)",
  24430. "type": "integer"
  24431. },
  24432. "goodscode": {
  24433. "description": "商品代码(内部)",
  24434. "type": "string"
  24435. },
  24436. "goodsid": {
  24437. "description": "商品ID(自增ID SEQ_GOODS)",
  24438. "type": "integer"
  24439. },
  24440. "goodsname": {
  24441. "description": "商品名称",
  24442. "type": "string"
  24443. },
  24444. "hotindex": {
  24445. "description": "景点热度",
  24446. "type": "integer"
  24447. },
  24448. "last": {
  24449. "description": "现价",
  24450. "type": "number"
  24451. },
  24452. "marketid": {
  24453. "description": "所属市场ID",
  24454. "type": "integer"
  24455. },
  24456. "picurls": {
  24457. "description": "介绍图片[多张用逗号分隔]",
  24458. "type": "string"
  24459. },
  24460. "quoteminunit": {
  24461. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24462. "type": "integer"
  24463. },
  24464. "trademode": {
  24465. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24466. "type": "integer"
  24467. },
  24468. "videourls": {
  24469. "description": "介绍视频[多张用逗号分隔]",
  24470. "type": "string"
  24471. }
  24472. }
  24473. },
  24474. "models.HybsMyBuyOrderDetail": {
  24475. "type": "object",
  24476. "required": [
  24477. "accountid",
  24478. "buyorsell",
  24479. "goodscode",
  24480. "goodsid",
  24481. "goodsname",
  24482. "marketid",
  24483. "orderid",
  24484. "orderqty",
  24485. "ordertime",
  24486. "trademode"
  24487. ],
  24488. "properties": {
  24489. "accountid": {
  24490. "description": "账户ID[报价币种]",
  24491. "type": "integer"
  24492. },
  24493. "agreeunit": {
  24494. "description": "合约单位",
  24495. "type": "number"
  24496. },
  24497. "buyorsell": {
  24498. "description": "买卖 - 0:买 1:卖",
  24499. "type": "integer"
  24500. },
  24501. "cancelqty": {
  24502. "description": "撤单数量",
  24503. "type": "integer"
  24504. },
  24505. "currencysign": {
  24506. "description": "货币符号",
  24507. "type": "string"
  24508. },
  24509. "decimalplace": {
  24510. "description": "报价小数位",
  24511. "type": "integer"
  24512. },
  24513. "goodscode": {
  24514. "description": "商品代码(内部)",
  24515. "type": "string"
  24516. },
  24517. "goodsid": {
  24518. "description": "商品ID",
  24519. "type": "integer"
  24520. },
  24521. "goodsname": {
  24522. "description": "商品名称",
  24523. "type": "string"
  24524. },
  24525. "listingselecttype": {
  24526. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  24527. "type": "integer"
  24528. },
  24529. "marketid": {
  24530. "description": "市场ID",
  24531. "type": "integer"
  24532. },
  24533. "mybuystatus": {
  24534. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  24535. "type": "integer"
  24536. },
  24537. "orderamount": {
  24538. "description": "委托金额",
  24539. "type": "number"
  24540. },
  24541. "orderid": {
  24542. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24543. "type": "string"
  24544. },
  24545. "orderprice": {
  24546. "description": "委托价格",
  24547. "type": "number"
  24548. },
  24549. "orderqty": {
  24550. "description": "委托数量",
  24551. "type": "integer"
  24552. },
  24553. "orderstatus": {
  24554. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  24555. "type": "integer"
  24556. },
  24557. "ordertime": {
  24558. "description": "委托时间",
  24559. "type": "string"
  24560. },
  24561. "picurls1": {
  24562. "description": "预售商品介绍图片[多张用逗号分隔]",
  24563. "type": "string"
  24564. },
  24565. "picurls2": {
  24566. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  24567. "type": "string"
  24568. },
  24569. "trademode": {
  24570. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24571. "type": "integer"
  24572. },
  24573. "tradeqty": {
  24574. "description": "成交数量",
  24575. "type": "integer"
  24576. },
  24577. "vendorname1": {
  24578. "description": "预售商品供应商名称",
  24579. "type": "string"
  24580. },
  24581. "vendorname2": {
  24582. "description": "挂牌商品供应商名称",
  24583. "type": "string"
  24584. }
  24585. }
  24586. },
  24587. "models.Loginaccount": {
  24588. "type": "object",
  24589. "required": [
  24590. "loginid"
  24591. ],
  24592. "properties": {
  24593. "accountname": {
  24594. "description": "账户名称",
  24595. "type": "string"
  24596. },
  24597. "canoutin": {
  24598. "description": "是否可出入金 - 0:不可 1:可",
  24599. "type": "integer"
  24600. },
  24601. "clientroleid": {
  24602. "description": "终端角色ID",
  24603. "type": "integer"
  24604. },
  24605. "haslogined": {
  24606. "description": "是否已登录 - 0:未登录 1:已登录",
  24607. "type": "integer"
  24608. },
  24609. "hasupdatedpwd": {
  24610. "description": "是否已更改密码 - 0:未修改 1:已修改",
  24611. "type": "integer"
  24612. },
  24613. "lastloginip": {
  24614. "description": "最新登录地址",
  24615. "type": "string"
  24616. },
  24617. "lastloginmode": {
  24618. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  24619. "type": "integer"
  24620. },
  24621. "lastloginremark": {
  24622. "description": "最新登录描述",
  24623. "type": "string"
  24624. },
  24625. "lastlogintime": {
  24626. "description": "最新登录时间",
  24627. "type": "string"
  24628. },
  24629. "logincode": {
  24630. "description": "登录代码",
  24631. "type": "string"
  24632. },
  24633. "loginfailnum": {
  24634. "description": "连续登录失败次数(登录成功时清零)",
  24635. "type": "integer"
  24636. },
  24637. "loginid": {
  24638. "description": "登陆账号",
  24639. "type": "integer"
  24640. },
  24641. "loginport": {
  24642. "description": "最新登录端口",
  24643. "type": "integer"
  24644. },
  24645. "loginstatus": {
  24646. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  24647. "type": "integer"
  24648. },
  24649. "loginusertype": {
  24650. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  24651. "type": "integer"
  24652. },
  24653. "mobile": {
  24654. "description": "手机号码(加密存储)",
  24655. "type": "string"
  24656. },
  24657. "modifierid": {
  24658. "description": "修改人",
  24659. "type": "integer"
  24660. },
  24661. "modifysrc": {
  24662. "description": "审核来源 - 1:管理端 2:终端",
  24663. "type": "integer"
  24664. },
  24665. "modifytime": {
  24666. "description": "修改时间",
  24667. "type": "string"
  24668. },
  24669. "password": {
  24670. "description": "登陆密码",
  24671. "type": "string"
  24672. },
  24673. "pwdwrongcount": {
  24674. "description": "密码错误次数",
  24675. "type": "integer"
  24676. },
  24677. "relateduserid": {
  24678. "description": "关联用户ID(机构)",
  24679. "type": "integer"
  24680. },
  24681. "taaccountrighttype": {
  24682. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  24683. "type": "integer"
  24684. },
  24685. "unfreezetime": {
  24686. "description": "账户解冻时间",
  24687. "type": "string"
  24688. },
  24689. "userid": {
  24690. "description": "用户ID",
  24691. "type": "integer"
  24692. }
  24693. }
  24694. },
  24695. "models.MainAccountInfo": {
  24696. "type": "object",
  24697. "properties": {
  24698. "accountid": {
  24699. "description": "账号id",
  24700. "type": "integer"
  24701. },
  24702. "accountname": {
  24703. "description": "账号名称(taaccount表中的名称)",
  24704. "type": "string"
  24705. },
  24706. "appid": {
  24707. "description": "AppID",
  24708. "type": "string"
  24709. },
  24710. "authcode": {
  24711. "description": "授权码",
  24712. "type": "string"
  24713. },
  24714. "brokerid": {
  24715. "description": "经纪商id",
  24716. "type": "string"
  24717. },
  24718. "fcid": {
  24719. "description": "期货公司id",
  24720. "type": "integer"
  24721. },
  24722. "fcname": {
  24723. "description": "期货公司代码",
  24724. "type": "string"
  24725. },
  24726. "hedgeaccountcode": {
  24727. "description": "外部账号代码(主账号登录代码)",
  24728. "type": "string"
  24729. },
  24730. "hedgeaccountpwd": {
  24731. "description": "密码",
  24732. "type": "string"
  24733. },
  24734. "ismain": {
  24735. "description": "是否主账号",
  24736. "type": "integer"
  24737. },
  24738. "relateduserid": {
  24739. "description": "关联用户id",
  24740. "type": "integer"
  24741. },
  24742. "userid": {
  24743. "description": "关联用户id",
  24744. "type": "integer"
  24745. }
  24746. }
  24747. },
  24748. "models.Market": {
  24749. "type": "object",
  24750. "required": [
  24751. "marketid",
  24752. "marketstatus",
  24753. "openmethod",
  24754. "reckonpricealgorithm",
  24755. "trademode",
  24756. "tradeproperty"
  24757. ],
  24758. "properties": {
  24759. "auctionwrtype": {
  24760. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  24761. "type": "integer"
  24762. },
  24763. "canacceptquote": {
  24764. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  24765. "type": "integer"
  24766. },
  24767. "cangoodsexercise": {
  24768. "description": "[期权]是否可现货行权- 0:否 1:是",
  24769. "type": "integer"
  24770. },
  24771. "cangoodsexercisetype": {
  24772. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  24773. "type": "integer"
  24774. },
  24775. "canmanualquotestrike": {
  24776. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  24777. "type": "integer"
  24778. },
  24779. "canmutistage": {
  24780. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  24781. "type": "integer"
  24782. },
  24783. "canpreexercise": {
  24784. "description": "[期权]是否可预申报- 0:否 1:是",
  24785. "type": "integer"
  24786. },
  24787. "clearinterval": {
  24788. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  24789. "type": "integer"
  24790. },
  24791. "contracttmp": {
  24792. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  24793. "type": "string"
  24794. },
  24795. "exchareaid": {
  24796. "description": "所属交易所,可以没有",
  24797. "type": "integer"
  24798. },
  24799. "goodstype": {
  24800. "description": "商品类型 - 1:交易商品 2:仓单商品",
  24801. "type": "integer"
  24802. },
  24803. "hasrebate": {
  24804. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  24805. "type": "integer"
  24806. },
  24807. "hastradecredit": {
  24808. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  24809. "type": "integer"
  24810. },
  24811. "haswr": {
  24812. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  24813. "type": "integer"
  24814. },
  24815. "isdeductmargin": {
  24816. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  24817. "type": "integer"
  24818. },
  24819. "isrecordsource": {
  24820. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  24821. "type": "integer"
  24822. },
  24823. "isreleasemargin": {
  24824. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  24825. "type": "integer"
  24826. },
  24827. "marginformula": {
  24828. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  24829. "type": "integer"
  24830. },
  24831. "marginformula2": {
  24832. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  24833. "type": "integer"
  24834. },
  24835. "marketid": {
  24836. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  24837. "type": "integer"
  24838. },
  24839. "marketname": {
  24840. "description": "市场名称",
  24841. "type": "string"
  24842. },
  24843. "marketserviceid": {
  24844. "description": "市场服务ID",
  24845. "type": "integer"
  24846. },
  24847. "marketstatus": {
  24848. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  24849. "type": "integer"
  24850. },
  24851. "markettype": {
  24852. "description": "市场类型- 1:非交易服务 2:交易服务",
  24853. "type": "integer"
  24854. },
  24855. "matchermode": {
  24856. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  24857. "type": "integer"
  24858. },
  24859. "openmethod": {
  24860. "description": "开盘模式 - 0 自动 1手动",
  24861. "type": "integer"
  24862. },
  24863. "otcuserid": {
  24864. "description": "场外期权做市商[场外期权]",
  24865. "type": "integer"
  24866. },
  24867. "outersynctime": {
  24868. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  24869. "type": "string"
  24870. },
  24871. "pendingflag": {
  24872. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  24873. "type": "integer"
  24874. },
  24875. "pendingtime": {
  24876. "description": "待开市时间[通道交易-对冲](HH:mm)",
  24877. "type": "string"
  24878. },
  24879. "performancetempid": {
  24880. "description": "履约计划模板ID - 作废",
  24881. "type": "integer"
  24882. },
  24883. "premiumquotemode": {
  24884. "description": "权利金报价方式 - 1:自动 2:手动",
  24885. "type": "integer"
  24886. },
  24887. "rebateratio": {
  24888. "description": "返利比率[竞价式]",
  24889. "type": "number"
  24890. },
  24891. "reckonorder": {
  24892. "description": "结算顺序",
  24893. "type": "integer"
  24894. },
  24895. "reckonpricealgorithm": {
  24896. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  24897. "type": "integer"
  24898. },
  24899. "reckonpriceparam": {
  24900. "description": "结算价参数",
  24901. "type": "integer"
  24902. },
  24903. "reckontime": {
  24904. "description": "结算时间[通道交易-对冲](HH:mm)",
  24905. "type": "string"
  24906. },
  24907. "roleprioritytype": {
  24908. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  24909. "type": "integer"
  24910. },
  24911. "selllistingauditflag": {
  24912. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  24913. "type": "integer"
  24914. },
  24915. "trademarkettype": {
  24916. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  24917. "type": "integer"
  24918. },
  24919. "trademode": {
  24920. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24921. "type": "integer"
  24922. },
  24923. "tradeproperty": {
  24924. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  24925. "type": "integer"
  24926. },
  24927. "tradetype": {
  24928. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  24929. "type": "integer"
  24930. }
  24931. }
  24932. },
  24933. "models.Marketrun": {
  24934. "type": "object",
  24935. "required": [
  24936. "marketid",
  24937. "nexttradedate",
  24938. "reckonflag",
  24939. "runstatus",
  24940. "tradedate",
  24941. "tradedate2"
  24942. ],
  24943. "properties": {
  24944. "afternexttradedate": {
  24945. "description": "下下交易日",
  24946. "type": "string"
  24947. },
  24948. "clearquoteflag": {
  24949. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  24950. "type": "integer"
  24951. },
  24952. "lastreckondate": {
  24953. "description": "最新交易日(结算成功)",
  24954. "type": "string"
  24955. },
  24956. "machinedate": {
  24957. "description": "机器时间",
  24958. "type": "string"
  24959. },
  24960. "manualflag": {
  24961. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  24962. "type": "integer"
  24963. },
  24964. "marketid": {
  24965. "description": "市场ID",
  24966. "type": "integer"
  24967. },
  24968. "nexttradedate": {
  24969. "description": "下一交易日",
  24970. "type": "string"
  24971. },
  24972. "pretradedate": {
  24973. "description": "上一交易日",
  24974. "type": "string"
  24975. },
  24976. "reckonflag": {
  24977. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  24978. "type": "integer"
  24979. },
  24980. "runstatus": {
  24981. "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.今日免清算",
  24982. "type": "integer"
  24983. },
  24984. "sectionid": {
  24985. "description": "时间段号[多时段时用]",
  24986. "type": "integer"
  24987. },
  24988. "tradedate": {
  24989. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  24990. "type": "string"
  24991. },
  24992. "tradedate2": {
  24993. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  24994. "type": "string"
  24995. },
  24996. "updatetime": {
  24997. "description": "更新时间",
  24998. "type": "string"
  24999. }
  25000. }
  25001. },
  25002. "models.Messageboard": {
  25003. "type": "object",
  25004. "required": [
  25005. "messageboardid"
  25006. ],
  25007. "properties": {
  25008. "contactnum": {
  25009. "description": "联系电话",
  25010. "type": "string"
  25011. },
  25012. "createtime": {
  25013. "description": "创建时间",
  25014. "type": "string"
  25015. },
  25016. "message": {
  25017. "description": "留言信息",
  25018. "type": "string"
  25019. },
  25020. "messageboardid": {
  25021. "description": "留言簿ID(SEQ_MessageBoard)",
  25022. "type": "integer"
  25023. },
  25024. "userid": {
  25025. "description": "用户ID",
  25026. "type": "integer"
  25027. }
  25028. }
  25029. },
  25030. "models.MyCoupon": {
  25031. "type": "object",
  25032. "required": [
  25033. "accountid",
  25034. "coupontypeid"
  25035. ],
  25036. "properties": {
  25037. "accountid": {
  25038. "description": "资金账户ID",
  25039. "type": "integer"
  25040. },
  25041. "areauserid": {
  25042. "description": "所属机构",
  25043. "type": "integer"
  25044. },
  25045. "conditionvalue": {
  25046. "description": "条件阈值(可为0)",
  25047. "type": "number"
  25048. },
  25049. "couponcategroy": {
  25050. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  25051. "type": "integer"
  25052. },
  25053. "couponname": {
  25054. "description": "优惠券名称",
  25055. "type": "string"
  25056. },
  25057. "coupontypeid": {
  25058. "description": "优惠券类型ID",
  25059. "type": "string"
  25060. },
  25061. "couponvalue": {
  25062. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  25063. "type": "number"
  25064. },
  25065. "curfreezeqty": {
  25066. "description": "期末冻结数量",
  25067. "type": "integer"
  25068. },
  25069. "curqty": {
  25070. "description": "期末数量",
  25071. "type": "integer"
  25072. },
  25073. "isgeneral": {
  25074. "description": "是否通用券 - 0:否 1:是",
  25075. "type": "integer"
  25076. },
  25077. "isunusable": {
  25078. "description": "是否不可用",
  25079. "type": "boolean"
  25080. },
  25081. "limitedflag": {
  25082. "description": "是否指定商品 - 0:不限 1:限制",
  25083. "type": "integer"
  25084. },
  25085. "limitedgoodsids": {
  25086. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  25087. "type": "string"
  25088. },
  25089. "orifreezeqty": {
  25090. "description": "期初冻结数量",
  25091. "type": "integer"
  25092. },
  25093. "oriqty": {
  25094. "description": "期初数量",
  25095. "type": "integer"
  25096. },
  25097. "reasontype": {
  25098. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  25099. "type": "integer"
  25100. },
  25101. "todaydecrease": {
  25102. "description": "今日减少",
  25103. "type": "integer"
  25104. },
  25105. "todayincrease": {
  25106. "description": "今日增加",
  25107. "type": "integer"
  25108. },
  25109. "userid": {
  25110. "description": "用户ID",
  25111. "type": "integer"
  25112. },
  25113. "userscope": {
  25114. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  25115. "type": "string"
  25116. }
  25117. }
  25118. },
  25119. "models.MyCouponHold": {
  25120. "type": "object",
  25121. "required": [
  25122. "couponholdid"
  25123. ],
  25124. "properties": {
  25125. "accountid": {
  25126. "description": "资金账户ID",
  25127. "type": "integer"
  25128. },
  25129. "conditionvalue": {
  25130. "description": "条件阈值(可为0)",
  25131. "type": "number"
  25132. },
  25133. "couponcategroy": {
  25134. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  25135. "type": "integer"
  25136. },
  25137. "couponholdid": {
  25138. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  25139. "type": "string"
  25140. },
  25141. "couponname": {
  25142. "description": "优惠券名称",
  25143. "type": "string"
  25144. },
  25145. "coupontypeid": {
  25146. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  25147. "type": "string"
  25148. },
  25149. "couponvalue": {
  25150. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  25151. "type": "number"
  25152. },
  25153. "createtime": {
  25154. "description": "创建时间",
  25155. "type": "string"
  25156. },
  25157. "enddate": {
  25158. "description": "结束日期",
  25159. "type": "string"
  25160. },
  25161. "giveapplyid": {
  25162. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  25163. "type": "integer"
  25164. },
  25165. "holdstatus": {
  25166. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  25167. "type": "integer"
  25168. },
  25169. "isgeneral": {
  25170. "description": "是否通用券 - 0:否 1:是",
  25171. "type": "integer"
  25172. },
  25173. "limitedflag": {
  25174. "description": "是否指定商品 - 0:不限 1:限制",
  25175. "type": "integer"
  25176. },
  25177. "limitedgoodsids": {
  25178. "description": "指定商品IDs[逗号分隔]",
  25179. "type": "string"
  25180. },
  25181. "qty": {
  25182. "description": "数量(按1平铺)",
  25183. "type": "integer"
  25184. },
  25185. "startdate": {
  25186. "description": "开始日期",
  25187. "type": "string"
  25188. },
  25189. "userid": {
  25190. "description": "用户ID",
  25191. "type": "integer"
  25192. },
  25193. "userscope": {
  25194. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  25195. "type": "string"
  25196. }
  25197. }
  25198. },
  25199. "models.MyUsedCoupon": {
  25200. "type": "object",
  25201. "required": [
  25202. "coupontypeid",
  25203. "orderid"
  25204. ],
  25205. "properties": {
  25206. "accountid": {
  25207. "description": "资金账户ID(买方)",
  25208. "type": "integer"
  25209. },
  25210. "conditionvalue": {
  25211. "description": "条件阈值(可为0)",
  25212. "type": "number"
  25213. },
  25214. "couponcategroy": {
  25215. "description": "种类 - 1:现金券 2:折扣券",
  25216. "type": "integer"
  25217. },
  25218. "couponname": {
  25219. "description": "优惠券名称",
  25220. "type": "string"
  25221. },
  25222. "coupontypeid": {
  25223. "description": "优惠券类型ID(买方)",
  25224. "type": "string"
  25225. },
  25226. "couponvalue": {
  25227. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  25228. "type": "number"
  25229. },
  25230. "createtime": {
  25231. "description": "创建时间",
  25232. "type": "string"
  25233. },
  25234. "goodsid": {
  25235. "description": "商品ID",
  25236. "type": "integer"
  25237. },
  25238. "handlestatus": {
  25239. "description": "处理状态",
  25240. "type": "integer"
  25241. },
  25242. "marketid": {
  25243. "description": "市场ID",
  25244. "type": "integer"
  25245. },
  25246. "offamount": {
  25247. "description": "优惠金额",
  25248. "type": "number"
  25249. },
  25250. "orderid": {
  25251. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25252. "type": "string"
  25253. },
  25254. "sellaccountid": {
  25255. "description": "资金账户ID(卖方)",
  25256. "type": "integer"
  25257. },
  25258. "tradeamount": {
  25259. "description": "成交金额",
  25260. "type": "number"
  25261. },
  25262. "tradeid": {
  25263. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25264. "type": "string"
  25265. },
  25266. "usedqty": {
  25267. "description": "使用数量",
  25268. "type": "integer"
  25269. }
  25270. }
  25271. },
  25272. "models.OperationPrimaryMenu": {
  25273. "type": "object",
  25274. "properties": {
  25275. "Children": {
  25276. "description": "二级功能菜单",
  25277. "type": "array",
  25278. "items": {
  25279. "$ref": "#/definitions/models.OperationSecondaryMenu"
  25280. }
  25281. },
  25282. "Key": {
  25283. "description": "菜单KEY",
  25284. "type": "string"
  25285. },
  25286. "Label": {
  25287. "description": "菜单标题",
  25288. "type": "string"
  25289. }
  25290. }
  25291. },
  25292. "models.OperationSecondaryMenu": {
  25293. "type": "object",
  25294. "properties": {
  25295. "Key": {
  25296. "description": "菜单KEY",
  25297. "type": "string"
  25298. },
  25299. "Label": {
  25300. "description": "菜单标题",
  25301. "type": "string"
  25302. },
  25303. "TabList": {
  25304. "description": "三级功能菜单",
  25305. "type": "array",
  25306. "items": {
  25307. "$ref": "#/definitions/models.OperationTabMenu"
  25308. }
  25309. }
  25310. }
  25311. },
  25312. "models.OperationTabMenu": {
  25313. "type": "object",
  25314. "properties": {
  25315. "Key": {
  25316. "description": "菜单KEY",
  25317. "type": "string"
  25318. },
  25319. "Label": {
  25320. "description": "菜单标题",
  25321. "type": "string"
  25322. }
  25323. }
  25324. },
  25325. "models.PendingAuditBizModel": {
  25326. "type": "object",
  25327. "properties": {
  25328. "accountid": {
  25329. "description": "现货账户",
  25330. "type": "string"
  25331. },
  25332. "areaname": {
  25333. "description": "所属部门",
  25334. "type": "string"
  25335. },
  25336. "bizid": {
  25337. "description": "业务ID",
  25338. "type": "string"
  25339. },
  25340. "bizname": {
  25341. "description": "业务名称",
  25342. "type": "string"
  25343. },
  25344. "status": {
  25345. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  25346. "type": "integer"
  25347. },
  25348. "type": {
  25349. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  25350. "type": "integer"
  25351. }
  25352. }
  25353. },
  25354. "models.QhjAccountOutInApply": {
  25355. "type": "object",
  25356. "properties": {
  25357. "accountcode": {
  25358. "description": "资金账号",
  25359. "type": "string"
  25360. },
  25361. "accountname": {
  25362. "description": "用户名称(名称)",
  25363. "type": "string"
  25364. },
  25365. "accountpwd": {
  25366. "description": "资金密码",
  25367. "type": "string"
  25368. },
  25369. "accountticket": {
  25370. "description": "最新账户服务流水号",
  25371. "type": "string"
  25372. },
  25373. "amount": {
  25374. "description": "金额",
  25375. "type": "number"
  25376. },
  25377. "applyremark": {
  25378. "description": "申请备注",
  25379. "type": "string"
  25380. },
  25381. "applystatus": {
  25382. "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: 复审通过,账户冻结金额检查中;",
  25383. "type": "integer"
  25384. },
  25385. "auditid": {
  25386. "description": "审核人",
  25387. "type": "integer"
  25388. },
  25389. "audittime": {
  25390. "description": "审核时间",
  25391. "type": "string"
  25392. },
  25393. "bank_apply_ticket": {
  25394. "description": "银行申请流水",
  25395. "type": "string"
  25396. },
  25397. "bankaccountname": {
  25398. "description": "银行账户名",
  25399. "type": "string"
  25400. },
  25401. "bankaccountno": {
  25402. "description": "银行卡号",
  25403. "type": "string"
  25404. },
  25405. "bankid": {
  25406. "description": "银行编号",
  25407. "type": "string"
  25408. },
  25409. "bankticket": {
  25410. "description": "银行流水",
  25411. "type": "string"
  25412. },
  25413. "branchbankid": {
  25414. "description": "银行支行号",
  25415. "type": "string"
  25416. },
  25417. "branchbankname": {
  25418. "description": "银行支行名称",
  25419. "type": "string"
  25420. },
  25421. "capamountout": {
  25422. "description": "出金(劣后本金) - 外部子账户",
  25423. "type": "number"
  25424. },
  25425. "certificatephotourl": {
  25426. "description": "凭证地址",
  25427. "type": "string"
  25428. },
  25429. "charge": {
  25430. "description": "手续费",
  25431. "type": "number"
  25432. },
  25433. "checkerrorflag": {
  25434. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  25435. "type": "integer"
  25436. },
  25437. "currency": {
  25438. "description": "币种",
  25439. "type": "string"
  25440. },
  25441. "cusbankid": {
  25442. "description": "托管银行编号",
  25443. "type": "string"
  25444. },
  25445. "exchticket": {
  25446. "description": "银行服务流水号",
  25447. "type": "string"
  25448. },
  25449. "executetype": {
  25450. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  25451. "type": "integer"
  25452. },
  25453. "extendinfo": {
  25454. "description": "扩展信息",
  25455. "type": "string"
  25456. },
  25457. "extoperateid": {
  25458. "description": "交易服务流水号",
  25459. "type": "integer"
  25460. },
  25461. "infamount": {
  25462. "description": "劣后金额(自有)",
  25463. "type": "number"
  25464. },
  25465. "logincode": {
  25466. "description": "登录账号(账号)",
  25467. "type": "string"
  25468. },
  25469. "netaddr": {
  25470. "description": "调转网址",
  25471. "type": "string"
  25472. },
  25473. "priamount": {
  25474. "description": "优先金额(授信)",
  25475. "type": "number"
  25476. },
  25477. "reauditid": {
  25478. "description": "复审人",
  25479. "type": "integer"
  25480. },
  25481. "reauditremark": {
  25482. "description": "复审备注",
  25483. "type": "string"
  25484. },
  25485. "reaudittime": {
  25486. "description": "复审时间",
  25487. "type": "string"
  25488. },
  25489. "relatedorderid": {
  25490. "description": "三方关联ID",
  25491. "type": "string"
  25492. },
  25493. "remark": {
  25494. "description": "备注",
  25495. "type": "string"
  25496. },
  25497. "remark2": {
  25498. "description": "备注(失败原因)",
  25499. "type": "string"
  25500. },
  25501. "soucreamount": {
  25502. "description": "原始出入金金额",
  25503. "type": "number"
  25504. },
  25505. "soucrecurrencyid": {
  25506. "description": "原始出入金币种",
  25507. "type": "integer"
  25508. },
  25509. "tradedate": {
  25510. "description": "交易日(yyyyMMdd)",
  25511. "type": "string"
  25512. },
  25513. "updatetime": {
  25514. "description": "更新时间(申请时间)",
  25515. "type": "string"
  25516. },
  25517. "userid": {
  25518. "description": "用户id",
  25519. "type": "integer"
  25520. },
  25521. "userinfotype": {
  25522. "description": "账户类型 1-个人 2-企业",
  25523. "type": "integer"
  25524. }
  25525. }
  25526. },
  25527. "models.QhjAgreementChangeLog": {
  25528. "type": "object",
  25529. "properties": {
  25530. "agreementcontent": {
  25531. "description": "协议内容",
  25532. "type": "string"
  25533. },
  25534. "agreementfrequency": {
  25535. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  25536. "type": "integer"
  25537. },
  25538. "agreementid": {
  25539. "description": "协议ID",
  25540. "type": "integer"
  25541. },
  25542. "agreementname": {
  25543. "description": "协议名称",
  25544. "type": "string"
  25545. },
  25546. "agreementno": {
  25547. "description": "协议编号",
  25548. "type": "string"
  25549. },
  25550. "agreementtype": {
  25551. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25552. "type": "integer"
  25553. },
  25554. "agreementversion": {
  25555. "description": "协议版本号",
  25556. "type": "integer"
  25557. },
  25558. "logid": {
  25559. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  25560. "type": "integer"
  25561. },
  25562. "reviserid": {
  25563. "description": "修改人",
  25564. "type": "integer"
  25565. },
  25566. "revisersrc": {
  25567. "description": "修改来源 - 1:管理端 2:终端",
  25568. "type": "integer"
  25569. },
  25570. "updatetime": {
  25571. "description": "更新时间",
  25572. "type": "string"
  25573. }
  25574. }
  25575. },
  25576. "models.QhjAgreementConfig": {
  25577. "type": "object",
  25578. "properties": {
  25579. "agreementcontent": {
  25580. "description": "协议内容",
  25581. "type": "string"
  25582. },
  25583. "agreementfrequency": {
  25584. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  25585. "type": "integer"
  25586. },
  25587. "agreementid": {
  25588. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  25589. "type": "integer"
  25590. },
  25591. "agreementname": {
  25592. "description": "协议名称",
  25593. "type": "string"
  25594. },
  25595. "agreementno": {
  25596. "description": "协议编号",
  25597. "type": "string"
  25598. },
  25599. "agreementtype": {
  25600. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25601. "type": "integer"
  25602. },
  25603. "agreementversion": {
  25604. "description": "协议版本号(从1开始每次修改加1)",
  25605. "type": "integer"
  25606. },
  25607. "createtime": {
  25608. "description": "创建时间",
  25609. "type": "string"
  25610. },
  25611. "creatorid": {
  25612. "description": "创建人",
  25613. "type": "integer"
  25614. },
  25615. "creatorsrc": {
  25616. "description": "创建来源 - 1:管理端 2:终端",
  25617. "type": "integer"
  25618. },
  25619. "isvalid": {
  25620. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  25621. "type": "integer"
  25622. },
  25623. "reviserid": {
  25624. "description": "修改人",
  25625. "type": "integer"
  25626. },
  25627. "revisersrc": {
  25628. "description": "修改来源 - 1:管理端 2:终端",
  25629. "type": "integer"
  25630. },
  25631. "updatetime": {
  25632. "description": "更新时间",
  25633. "type": "string"
  25634. }
  25635. }
  25636. },
  25637. "models.QhjAreaFinanceConfig": {
  25638. "type": "object",
  25639. "properties": {
  25640. "additionalratio": {
  25641. "description": "追加款比例",
  25642. "type": "number"
  25643. },
  25644. "advanceratio": {
  25645. "description": "预付款比例",
  25646. "type": "number"
  25647. },
  25648. "alarmratio": {
  25649. "description": "告警比例",
  25650. "type": "number"
  25651. },
  25652. "consumptiondirectreward": {
  25653. "description": "消费直推奖励值",
  25654. "type": "number"
  25655. },
  25656. "consumptionenabled": {
  25657. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  25658. "type": "integer"
  25659. },
  25660. "consumptionindirectreward": {
  25661. "description": "消费间推奖励值",
  25662. "type": "number"
  25663. },
  25664. "consumptionmodel": {
  25665. "description": "消费奖励方式 - 1:比率 2:固定",
  25666. "type": "integer"
  25667. },
  25668. "customerservicenum": {
  25669. "description": "客服电话",
  25670. "type": "string"
  25671. },
  25672. "dayinterestrate": {
  25673. "description": "日利率",
  25674. "type": "number"
  25675. },
  25676. "disableconsumptiontips": {
  25677. "description": "关闭消费奖励提示",
  25678. "type": "string"
  25679. },
  25680. "modifierid": {
  25681. "description": "修改人ID",
  25682. "type": "integer"
  25683. },
  25684. "modifysrc": {
  25685. "description": "审核来源 - 1:管理端 2:终端",
  25686. "type": "integer"
  25687. },
  25688. "modifytime": {
  25689. "description": "修改时间",
  25690. "type": "string"
  25691. },
  25692. "promotionvalue": {
  25693. "description": "推广奖励值(固定)",
  25694. "type": "number"
  25695. },
  25696. "scoreconfigvalue1": {
  25697. "description": "提货积分配置1",
  25698. "type": "integer"
  25699. },
  25700. "scoreconfigvalue2": {
  25701. "description": "提货积分配置2",
  25702. "type": "integer"
  25703. },
  25704. "userid": {
  25705. "description": "机构用户ID其他做市关系,都设置为 1",
  25706. "type": "integer"
  25707. },
  25708. "username": {
  25709. "description": "用户名称",
  25710. "type": "string"
  25711. }
  25712. }
  25713. },
  25714. "models.QhjBankAccountSign": {
  25715. "type": "object",
  25716. "properties": {
  25717. "accountcode": {
  25718. "description": "资金账号",
  25719. "type": "string"
  25720. },
  25721. "accountname": {
  25722. "description": "资金账号对应的账号名(UserName)",
  25723. "type": "string"
  25724. },
  25725. "accountname2": {
  25726. "description": "资金账号对应的账号名(UserName) - 密文",
  25727. "type": "string"
  25728. },
  25729. "accounttype": {
  25730. "description": "账户类型(UserType)",
  25731. "type": "integer"
  25732. },
  25733. "applicationtime": {
  25734. "description": "最后一次更新的时间",
  25735. "type": "string"
  25736. },
  25737. "applyexchticket": {
  25738. "description": "申请流水",
  25739. "type": "string"
  25740. },
  25741. "auditid": {
  25742. "description": "审核人",
  25743. "type": "integer"
  25744. },
  25745. "audittime": {
  25746. "description": "审核时间",
  25747. "type": "string"
  25748. },
  25749. "bankaccountname": {
  25750. "description": "签约银行卡账号名",
  25751. "type": "string"
  25752. },
  25753. "bankaccountname2": {
  25754. "description": "签约银行卡账号名 - 密文",
  25755. "type": "string"
  25756. },
  25757. "bankaccountno": {
  25758. "description": "银行卡号",
  25759. "type": "string"
  25760. },
  25761. "bankaccountno2": {
  25762. "description": "银行卡号 - 密文",
  25763. "type": "string"
  25764. },
  25765. "bankaccounttype": {
  25766. "description": "银行账户类型 - 1-对私; 2-对公",
  25767. "type": "integer"
  25768. },
  25769. "bankcardtype": {
  25770. "description": "银行卡类型",
  25771. "type": "integer"
  25772. },
  25773. "bankchildaccount": {
  25774. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  25775. "type": "string"
  25776. },
  25777. "bankcity": {
  25778. "description": "开户行城市",
  25779. "type": "string"
  25780. },
  25781. "bankid": {
  25782. "description": "签约银行ID",
  25783. "type": "string"
  25784. },
  25785. "bankname": {
  25786. "description": "签约银行名称",
  25787. "type": "string"
  25788. },
  25789. "bankprovince": {
  25790. "description": "开户行省份",
  25791. "type": "string"
  25792. },
  25793. "branchbankid": {
  25794. "description": "签约银行支行号",
  25795. "type": "string"
  25796. },
  25797. "branchbankname": {
  25798. "description": "签约银行支行名称",
  25799. "type": "string"
  25800. },
  25801. "cardno": {
  25802. "description": "证件号码",
  25803. "type": "string"
  25804. },
  25805. "cardno2": {
  25806. "description": "证件号码 - 密文",
  25807. "type": "string"
  25808. },
  25809. "cardtype": {
  25810. "description": "证件类型",
  25811. "type": "string"
  25812. },
  25813. "currency": {
  25814. "description": "币种",
  25815. "type": "string"
  25816. },
  25817. "cusbankid": {
  25818. "description": "托管银行编号",
  25819. "type": "string"
  25820. },
  25821. "direct": {
  25822. "description": "方向(可以判断那方先发起的签约)",
  25823. "type": "integer"
  25824. },
  25825. "exchticket": {
  25826. "description": "最后一次签约成功的流水号",
  25827. "type": "string"
  25828. },
  25829. "extendinfo": {
  25830. "description": "扩展信息(JSON字符串)",
  25831. "type": "string"
  25832. },
  25833. "mobilephone": {
  25834. "description": "手机号",
  25835. "type": "string"
  25836. },
  25837. "mobilephone2": {
  25838. "description": "手机号 - 密文",
  25839. "type": "string"
  25840. },
  25841. "netaddr": {
  25842. "description": "调转网址",
  25843. "type": "string"
  25844. },
  25845. "relateduserid": {
  25846. "description": "关联使用者userid",
  25847. "type": "integer"
  25848. },
  25849. "signstatus": {
  25850. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  25851. "type": "integer"
  25852. },
  25853. "updatetime": {
  25854. "description": "更新时间(签解约更新时间)",
  25855. "type": "string"
  25856. }
  25857. }
  25858. },
  25859. "models.QhjBankInfo": {
  25860. "type": "object",
  25861. "properties": {
  25862. "bankid": {
  25863. "description": "银行ID",
  25864. "type": "string"
  25865. },
  25866. "bankname": {
  25867. "description": "银行名称",
  25868. "type": "string"
  25869. },
  25870. "clearbankno": {
  25871. "description": "清算系统银行编号",
  25872. "type": "string"
  25873. },
  25874. "orderindex": {
  25875. "description": "排序顺序",
  25876. "type": "integer"
  25877. },
  25878. "status": {
  25879. "description": "状态 - 0:正常 1:注销",
  25880. "type": "integer"
  25881. }
  25882. }
  25883. },
  25884. "models.QhjBrokerApply": {
  25885. "type": "object",
  25886. "properties": {
  25887. "applicantid": {
  25888. "description": "申请人",
  25889. "type": "integer"
  25890. },
  25891. "applysrc": {
  25892. "description": "申请来源 - 1:管理端 2:终端",
  25893. "type": "integer"
  25894. },
  25895. "applystatus": {
  25896. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  25897. "type": "integer"
  25898. },
  25899. "applytime": {
  25900. "description": "申请时间",
  25901. "type": "string"
  25902. },
  25903. "auditorid": {
  25904. "description": "审核人",
  25905. "type": "integer"
  25906. },
  25907. "auditremark": {
  25908. "description": "审核备注",
  25909. "type": "string"
  25910. },
  25911. "auditsrc": {
  25912. "description": "审核来源 - 1:管理端 2:终端",
  25913. "type": "integer"
  25914. },
  25915. "audittime": {
  25916. "description": "审核时间",
  25917. "type": "string"
  25918. },
  25919. "audittradedate": {
  25920. "description": "审核交易日(yyyyMMdd)",
  25921. "type": "string"
  25922. },
  25923. "brokerapplyid": {
  25924. "description": "申请ID(SEQ_BROKERAPPLY)",
  25925. "type": "integer"
  25926. },
  25927. "cardbackphotourl": {
  25928. "description": "证件背面图片地址",
  25929. "type": "string"
  25930. },
  25931. "cardfrontphotourl": {
  25932. "description": "证件正面图片地址",
  25933. "type": "string"
  25934. },
  25935. "cardnum": {
  25936. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  25937. "type": "string"
  25938. },
  25939. "customername": {
  25940. "description": "姓名",
  25941. "type": "string"
  25942. },
  25943. "logincode": {
  25944. "description": "登录代码",
  25945. "type": "string"
  25946. },
  25947. "mobile": {
  25948. "description": "手机号码",
  25949. "type": "string"
  25950. },
  25951. "parentuserid": {
  25952. "description": "所属机构id",
  25953. "type": "integer"
  25954. },
  25955. "parentusername": {
  25956. "description": "所属机构名称",
  25957. "type": "string"
  25958. },
  25959. "refereeuserid": {
  25960. "description": "推荐人id(经纪人)",
  25961. "type": "integer"
  25962. },
  25963. "refernum": {
  25964. "description": "推荐码",
  25965. "type": "string"
  25966. },
  25967. "remark": {
  25968. "description": "备注",
  25969. "type": "string"
  25970. },
  25971. "subarealevelpath": {
  25972. "description": "层级路径",
  25973. "type": "string"
  25974. },
  25975. "tradedate": {
  25976. "description": "交易日(yyyyMMdd)",
  25977. "type": "string"
  25978. },
  25979. "userid": {
  25980. "description": "申请人用户ID",
  25981. "type": "integer"
  25982. },
  25983. "userinfotype": {
  25984. "description": "用户类型 1-个人 2-企业",
  25985. "type": "integer"
  25986. },
  25987. "username": {
  25988. "description": "用户名称",
  25989. "type": "string"
  25990. }
  25991. }
  25992. },
  25993. "models.QhjBrokerApplyEx": {
  25994. "type": "object",
  25995. "properties": {
  25996. "applylist": {
  25997. "description": "经纪人申请记录(只返回最新一条)",
  25998. "type": "array",
  25999. "items": {
  26000. "$ref": "#/definitions/models.QhjBrokerApply"
  26001. }
  26002. },
  26003. "canrecommend": {
  26004. "description": "是否经纪人 0-不是 1-是",
  26005. "type": "integer"
  26006. },
  26007. "refernum": {
  26008. "description": "推荐码",
  26009. "type": "string"
  26010. },
  26011. "userid": {
  26012. "description": "用户id",
  26013. "type": "integer"
  26014. },
  26015. "userinfotype": {
  26016. "description": "用户类型 1-个人 2-企业",
  26017. "type": "integer"
  26018. }
  26019. }
  26020. },
  26021. "models.QhjBrokerRewardLog": {
  26022. "type": "object",
  26023. "properties": {
  26024. "accountid": {
  26025. "description": "资金账号ID",
  26026. "type": "integer"
  26027. },
  26028. "createtime": {
  26029. "description": "创建时间(时间)",
  26030. "type": "string"
  26031. },
  26032. "handlestatus": {
  26033. "description": "处理状态",
  26034. "type": "integer"
  26035. },
  26036. "logid": {
  26037. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26038. "type": "string"
  26039. },
  26040. "marketid": {
  26041. "description": "市场ID",
  26042. "type": "integer"
  26043. },
  26044. "mmaccountid": {
  26045. "description": "做市商资金账号ID",
  26046. "type": "string"
  26047. },
  26048. "mmuserid": {
  26049. "description": "做市商用户ID",
  26050. "type": "string"
  26051. },
  26052. "rewardamount": {
  26053. "description": "奖励金额",
  26054. "type": "number"
  26055. },
  26056. "rewardmodel": {
  26057. "description": "消费奖励方式 - 1:比率 2:固定",
  26058. "type": "integer"
  26059. },
  26060. "rewardtype": {
  26061. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  26062. "type": "integer"
  26063. },
  26064. "rewardvalue": {
  26065. "description": "配置奖励值",
  26066. "type": "number"
  26067. },
  26068. "srcamount": {
  26069. "description": "成交金额 [消费奖励] (金额)",
  26070. "type": "number"
  26071. },
  26072. "srcgoodsid": {
  26073. "description": "来源商品ID [消费奖励]",
  26074. "type": "string"
  26075. },
  26076. "srctime": {
  26077. "description": "来源时间 (成交时间) [消费奖励]",
  26078. "type": "string"
  26079. },
  26080. "srctradeid": {
  26081. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  26082. "type": "string"
  26083. },
  26084. "srcuserid": {
  26085. "description": "来源用户ID(推广账户)",
  26086. "type": "string"
  26087. },
  26088. "srcusername": {
  26089. "description": "推广账户名称",
  26090. "type": "string"
  26091. },
  26092. "tradedate": {
  26093. "description": "交易日(yyyyMMdd)",
  26094. "type": "string"
  26095. },
  26096. "userid": {
  26097. "description": "经纪人用户ID",
  26098. "type": "integer"
  26099. }
  26100. }
  26101. },
  26102. "models.QhjContract": {
  26103. "type": "object",
  26104. "properties": {
  26105. "contractconfirmtime": {
  26106. "description": "合同确认时间(时间)",
  26107. "type": "string"
  26108. },
  26109. "currisklevel": {
  26110. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  26111. "type": "integer"
  26112. },
  26113. "decimalplace": {
  26114. "description": "商品报价小数位",
  26115. "type": "integer"
  26116. },
  26117. "enumdicname": {
  26118. "description": "单位名称",
  26119. "type": "string"
  26120. },
  26121. "goodscode": {
  26122. "description": "商品代码",
  26123. "type": "string"
  26124. },
  26125. "goodsid": {
  26126. "description": "商品ID [5:融资单]",
  26127. "type": "integer"
  26128. },
  26129. "goodsname": {
  26130. "description": "商品名称",
  26131. "type": "string"
  26132. },
  26133. "goodunitid": {
  26134. "description": "商品单位id",
  26135. "type": "integer"
  26136. },
  26137. "initmargin": {
  26138. "description": "初始保证金(首付款)",
  26139. "type": "number"
  26140. },
  26141. "lenderamount": {
  26142. "description": "贷款金额(总额|订单总额)",
  26143. "type": "number"
  26144. },
  26145. "marginratio": {
  26146. "description": "保证金比率(首付比例)",
  26147. "type": "number"
  26148. },
  26149. "payamount": {
  26150. "description": "已付(已付货款)",
  26151. "type": "number"
  26152. },
  26153. "reckonrecovermargin": {
  26154. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  26155. "type": "number"
  26156. },
  26157. "recoveredmargin": {
  26158. "description": "已追缴保证金",
  26159. "type": "number"
  26160. },
  26161. "remainamount": {
  26162. "description": "合同剩余金额(融资额)",
  26163. "type": "number"
  26164. },
  26165. "scfcontractid": {
  26166. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  26167. "type": "string"
  26168. },
  26169. "scfcontractstatus": {
  26170. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  26171. "type": "integer"
  26172. },
  26173. "scfcontracttype": {
  26174. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  26175. "type": "integer"
  26176. },
  26177. "totalinterest": {
  26178. "description": "已计总利息(利息)",
  26179. "type": "number"
  26180. },
  26181. "tradeprice": {
  26182. "description": "成交价格(成本价格)",
  26183. "type": "number"
  26184. },
  26185. "userid": {
  26186. "description": "用户ID",
  26187. "type": "integer"
  26188. },
  26189. "username": {
  26190. "description": "用户名称",
  26191. "type": "string"
  26192. },
  26193. "wrqty": {
  26194. "description": "仓单数量(数量)",
  26195. "type": "number"
  26196. }
  26197. }
  26198. },
  26199. "models.QhjContractLog": {
  26200. "type": "object",
  26201. "properties": {
  26202. "amount": {
  26203. "description": "支付金额",
  26204. "type": "number"
  26205. },
  26206. "amounttype": {
  26207. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  26208. "type": "integer"
  26209. },
  26210. "logid": {
  26211. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26212. "type": "string"
  26213. },
  26214. "remainamount": {
  26215. "description": "剩余货款",
  26216. "type": "number"
  26217. },
  26218. "scfcontractid": {
  26219. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  26220. "type": "integer"
  26221. },
  26222. "updatetime": {
  26223. "description": "更新时间",
  26224. "type": "string"
  26225. }
  26226. }
  26227. },
  26228. "models.QhjCusBankSignBankEx": {
  26229. "type": "object",
  26230. "properties": {
  26231. "banklst": {
  26232. "description": "银行列表",
  26233. "type": "array",
  26234. "items": {
  26235. "$ref": "#/definitions/models.QhjBankInfo"
  26236. }
  26237. },
  26238. "canallot": {
  26239. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  26240. "type": "integer"
  26241. },
  26242. "canallotquery": {
  26243. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  26244. "type": "integer"
  26245. },
  26246. "canbindcard": {
  26247. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  26248. "type": "integer"
  26249. },
  26250. "caninamount": {
  26251. "description": "是否可入金 - 0:不可 1:可以",
  26252. "type": "integer"
  26253. },
  26254. "caninamount2": {
  26255. "description": "是否可入金(网银端) - 0:不可 1:可以",
  26256. "type": "integer"
  26257. },
  26258. "canmodifybankcard": {
  26259. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  26260. "type": "integer"
  26261. },
  26262. "canmodifyphone": {
  26263. "description": "是否可修改手机号 - 0:不可 1:可以",
  26264. "type": "integer"
  26265. },
  26266. "canmodifysigninfo": {
  26267. "description": "是否可修改签约信息 - 0:不可 1:可以",
  26268. "type": "integer"
  26269. },
  26270. "canoutamount": {
  26271. "description": "是否可出金 - 0:不可 1:可以",
  26272. "type": "integer"
  26273. },
  26274. "canoutamount2": {
  26275. "description": "是否可出金(网银端) - 0:不可 1:可以",
  26276. "type": "integer"
  26277. },
  26278. "canrelease": {
  26279. "description": "是否可解约 - 0:不可 1:可以",
  26280. "type": "integer"
  26281. },
  26282. "canrelease2": {
  26283. "description": "是否可解约(网银端) - 0:不可 1:可以",
  26284. "type": "integer"
  26285. },
  26286. "cansign": {
  26287. "description": "是否可签约 - 0:不可 1:可以",
  26288. "type": "integer"
  26289. },
  26290. "cansign2": {
  26291. "description": "是否可签约(网银端) - 0:不可 1:可以",
  26292. "type": "integer"
  26293. },
  26294. "currency": {
  26295. "description": "币种",
  26296. "type": "string"
  26297. },
  26298. "cusbankid": {
  26299. "description": "托管银行编号(对应清算中心TRAN_NO)",
  26300. "type": "string"
  26301. },
  26302. "cusbankname": {
  26303. "description": "银行业务名称",
  26304. "type": "string"
  26305. },
  26306. "cusbankshortname": {
  26307. "description": "银行业务简称",
  26308. "type": "string"
  26309. },
  26310. "exchbankid": {
  26311. "description": "交易所开户银行ID",
  26312. "type": "string"
  26313. },
  26314. "exchpaybankaccname": {
  26315. "description": "交易所支出结算账户户名",
  26316. "type": "string"
  26317. },
  26318. "exchpaybankaccno": {
  26319. "description": "交易所支出结算账户",
  26320. "type": "string"
  26321. },
  26322. "isneedcheck": {
  26323. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  26324. "type": "integer"
  26325. },
  26326. "isneedclear": {
  26327. "description": "是否需要清算 - 0:不需要 1:需要",
  26328. "type": "integer"
  26329. },
  26330. "lastcheckstatus": {
  26331. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  26332. "type": "integer"
  26333. },
  26334. "lastchecktime": {
  26335. "description": "最后对账时间",
  26336. "type": "string"
  26337. },
  26338. "lastclearstatus": {
  26339. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  26340. "type": "integer"
  26341. },
  26342. "lastcleartime": {
  26343. "description": "最后清算时间",
  26344. "type": "string"
  26345. },
  26346. "lastsignintime": {
  26347. "description": "最后签到时间",
  26348. "type": "string"
  26349. },
  26350. "lastsignouttime": {
  26351. "description": "最后签退时间",
  26352. "type": "string"
  26353. },
  26354. "riskinfo": {
  26355. "description": "签约风险提示书",
  26356. "type": "string"
  26357. },
  26358. "signstatus": {
  26359. "description": "当前签到/签退状态 - 1:签到 2:签退",
  26360. "type": "integer"
  26361. },
  26362. "tradedate": {
  26363. "description": "交易日(yyyyMMdd)",
  26364. "type": "string"
  26365. },
  26366. "updatetime": {
  26367. "description": "当前签到/签退更新时间",
  26368. "type": "string"
  26369. }
  26370. }
  26371. },
  26372. "models.QhjCustomer": {
  26373. "type": "object",
  26374. "properties": {
  26375. "address": {
  26376. "description": "通讯地址",
  26377. "type": "string"
  26378. },
  26379. "attachment1": {
  26380. "description": "附件1",
  26381. "type": "string"
  26382. },
  26383. "audittime": {
  26384. "description": "审核时间",
  26385. "type": "string"
  26386. },
  26387. "cardbackphotourl": {
  26388. "description": "证件反面图片地址",
  26389. "type": "string"
  26390. },
  26391. "cardfrontphotourl": {
  26392. "description": "证件正面图片地址",
  26393. "type": "string"
  26394. },
  26395. "cardnum": {
  26396. "description": "证件号码",
  26397. "type": "string"
  26398. },
  26399. "cardtype": {
  26400. "description": "证件类型",
  26401. "type": "integer"
  26402. },
  26403. "cardtypename": {
  26404. "description": "证件类型名称",
  26405. "type": "string"
  26406. },
  26407. "cityid": {
  26408. "description": "市",
  26409. "type": "integer"
  26410. },
  26411. "cityname": {
  26412. "description": "城市名称",
  26413. "type": "string"
  26414. },
  26415. "contactname": {
  26416. "description": "联系人",
  26417. "type": "string"
  26418. },
  26419. "countryid": {
  26420. "description": "国家",
  26421. "type": "integer"
  26422. },
  26423. "countryname": {
  26424. "description": "国家名称",
  26425. "type": "string"
  26426. },
  26427. "createtime": {
  26428. "description": "创建时间",
  26429. "type": "string"
  26430. },
  26431. "customername": {
  26432. "description": "客户名称",
  26433. "type": "string"
  26434. },
  26435. "districtid": {
  26436. "description": "区域",
  26437. "type": "integer"
  26438. },
  26439. "districtname": {
  26440. "description": "地区名称",
  26441. "type": "string"
  26442. },
  26443. "email": {
  26444. "description": "邮件",
  26445. "type": "string"
  26446. },
  26447. "legalpersonname": {
  26448. "description": "法人姓名(企业)",
  26449. "type": "string"
  26450. },
  26451. "logincode": {
  26452. "description": "登录账号(代码)",
  26453. "type": "string"
  26454. },
  26455. "memberuserid": {
  26456. "description": "所属机构ID(所属会员)",
  26457. "type": "integer"
  26458. },
  26459. "memberusername": {
  26460. "description": "所属会员名称",
  26461. "type": "string"
  26462. },
  26463. "mobile": {
  26464. "description": "手机号码",
  26465. "type": "string"
  26466. },
  26467. "modifytime": {
  26468. "description": "修改时间",
  26469. "type": "string"
  26470. },
  26471. "nickname": {
  26472. "description": "昵称",
  26473. "type": "string"
  26474. },
  26475. "parentuserid": {
  26476. "description": "上级机构(所属机构)",
  26477. "type": "integer"
  26478. },
  26479. "parentusername": {
  26480. "description": "所属机构名称",
  26481. "type": "string"
  26482. },
  26483. "provinceid": {
  26484. "description": "省",
  26485. "type": "integer"
  26486. },
  26487. "provincename": {
  26488. "description": "省名称",
  26489. "type": "string"
  26490. },
  26491. "proxystatementurl": {
  26492. "description": "授权委托书",
  26493. "type": "string"
  26494. },
  26495. "remark": {
  26496. "description": "备注",
  26497. "type": "string"
  26498. },
  26499. "status": {
  26500. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  26501. "type": "integer"
  26502. },
  26503. "statusdesc": {
  26504. "description": "账户状态中文描述",
  26505. "type": "string"
  26506. },
  26507. "taxpayernum": {
  26508. "description": "纳税人识别号",
  26509. "type": "string"
  26510. },
  26511. "telphone": {
  26512. "description": "联系电话",
  26513. "type": "string"
  26514. },
  26515. "userid": {
  26516. "description": "用户ID",
  26517. "type": "integer"
  26518. },
  26519. "userinfotype": {
  26520. "description": "客户类型 1-个人 2-企业",
  26521. "type": "integer"
  26522. },
  26523. "username": {
  26524. "description": "用户名称",
  26525. "type": "string"
  26526. }
  26527. }
  26528. },
  26529. "models.QhjCustomerSignLog": {
  26530. "type": "object",
  26531. "properties": {
  26532. "agreementcontent": {
  26533. "description": "协议内容",
  26534. "type": "string"
  26535. },
  26536. "agreementid": {
  26537. "description": "协议ID",
  26538. "type": "integer"
  26539. },
  26540. "agreementname": {
  26541. "description": "协议名称",
  26542. "type": "string"
  26543. },
  26544. "agreementno": {
  26545. "description": "协议编号",
  26546. "type": "string"
  26547. },
  26548. "agreementtype": {
  26549. "description": "协议类型 - 1:注册 2:登录 3:交易",
  26550. "type": "integer"
  26551. },
  26552. "agreementversion": {
  26553. "description": "协议版本号",
  26554. "type": "integer"
  26555. },
  26556. "createtime": {
  26557. "description": "创建时间",
  26558. "type": "string"
  26559. },
  26560. "goodscode": {
  26561. "description": "商品代码",
  26562. "type": "string"
  26563. },
  26564. "goodsid": {
  26565. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  26566. "type": "integer"
  26567. },
  26568. "goodsname": {
  26569. "description": "商品名称",
  26570. "type": "string"
  26571. },
  26572. "logid": {
  26573. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  26574. "type": "integer"
  26575. },
  26576. "nodetype": {
  26577. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  26578. "type": "integer"
  26579. },
  26580. "signadressurl": {
  26581. "description": "签约文件地址",
  26582. "type": "string"
  26583. },
  26584. "signtimestamp": {
  26585. "description": "签约状态时间戳",
  26586. "type": "string"
  26587. },
  26588. "userid": {
  26589. "description": "客户ID",
  26590. "type": "integer"
  26591. },
  26592. "username": {
  26593. "description": "客户名称",
  26594. "type": "string"
  26595. }
  26596. }
  26597. },
  26598. "models.QhjCustomerSignStatus": {
  26599. "type": "object",
  26600. "properties": {
  26601. "createtime": {
  26602. "description": "创建时间",
  26603. "type": "string"
  26604. },
  26605. "goodscode": {
  26606. "description": "商品代码",
  26607. "type": "string"
  26608. },
  26609. "goodsid": {
  26610. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  26611. "type": "integer"
  26612. },
  26613. "goodsname": {
  26614. "description": "商品名称",
  26615. "type": "string"
  26616. },
  26617. "nodetype": {
  26618. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  26619. "type": "integer"
  26620. },
  26621. "signtimestamp": {
  26622. "description": "签约状态时间戳",
  26623. "type": "string"
  26624. },
  26625. "tradedate": {
  26626. "description": "创建交易日(yyyyMMdd)",
  26627. "type": "string"
  26628. },
  26629. "updatetime": {
  26630. "description": "更新时间",
  26631. "type": "string"
  26632. },
  26633. "userid": {
  26634. "description": "客户ID",
  26635. "type": "integer"
  26636. },
  26637. "username": {
  26638. "description": "客户名称",
  26639. "type": "string"
  26640. }
  26641. }
  26642. },
  26643. "models.QhjMgrAccountOutInApply": {
  26644. "type": "object",
  26645. "properties": {
  26646. "accountcode": {
  26647. "description": "资金账号",
  26648. "type": "string"
  26649. },
  26650. "accountname": {
  26651. "description": "用户名称(名称)",
  26652. "type": "string"
  26653. },
  26654. "accountpwd": {
  26655. "description": "资金密码",
  26656. "type": "string"
  26657. },
  26658. "accountticket": {
  26659. "description": "最新账户服务流水号",
  26660. "type": "string"
  26661. },
  26662. "amount": {
  26663. "description": "金额",
  26664. "type": "number"
  26665. },
  26666. "applyremark": {
  26667. "description": "申请备注",
  26668. "type": "string"
  26669. },
  26670. "applystatus": {
  26671. "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: 复审通过,账户冻结金额检查中;",
  26672. "type": "integer"
  26673. },
  26674. "auditid": {
  26675. "description": "审核人",
  26676. "type": "integer"
  26677. },
  26678. "audittime": {
  26679. "description": "审核时间",
  26680. "type": "string"
  26681. },
  26682. "bank_apply_ticket": {
  26683. "description": "银行申请流水",
  26684. "type": "string"
  26685. },
  26686. "bankaccountname": {
  26687. "description": "银行账户名",
  26688. "type": "string"
  26689. },
  26690. "bankaccountno": {
  26691. "description": "银行卡号",
  26692. "type": "string"
  26693. },
  26694. "bankid": {
  26695. "description": "银行编号",
  26696. "type": "string"
  26697. },
  26698. "bankname": {
  26699. "description": "银行名称",
  26700. "type": "string"
  26701. },
  26702. "bankticket": {
  26703. "description": "银行流水",
  26704. "type": "string"
  26705. },
  26706. "branchbankid": {
  26707. "description": "银行支行号",
  26708. "type": "string"
  26709. },
  26710. "branchbankname": {
  26711. "description": "银行支行名称",
  26712. "type": "string"
  26713. },
  26714. "capamountout": {
  26715. "description": "出金(劣后本金) - 外部子账户",
  26716. "type": "number"
  26717. },
  26718. "certificatephotourl": {
  26719. "description": "凭证地址",
  26720. "type": "string"
  26721. },
  26722. "charge": {
  26723. "description": "手续费",
  26724. "type": "number"
  26725. },
  26726. "checkerrorflag": {
  26727. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  26728. "type": "integer"
  26729. },
  26730. "currency": {
  26731. "description": "币种",
  26732. "type": "string"
  26733. },
  26734. "cusbankid": {
  26735. "description": "托管银行编号",
  26736. "type": "string"
  26737. },
  26738. "exchticket": {
  26739. "description": "银行服务流水号",
  26740. "type": "string"
  26741. },
  26742. "executetype": {
  26743. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  26744. "type": "integer"
  26745. },
  26746. "extendinfo": {
  26747. "description": "扩展信息",
  26748. "type": "string"
  26749. },
  26750. "extoperateid": {
  26751. "description": "交易服务流水号",
  26752. "type": "integer"
  26753. },
  26754. "infamount": {
  26755. "description": "劣后金额(自有)",
  26756. "type": "number"
  26757. },
  26758. "logincode": {
  26759. "description": "登录账号(账号)",
  26760. "type": "string"
  26761. },
  26762. "netaddr": {
  26763. "description": "调转网址",
  26764. "type": "string"
  26765. },
  26766. "priamount": {
  26767. "description": "优先金额(授信)",
  26768. "type": "number"
  26769. },
  26770. "reauditid": {
  26771. "description": "复审人",
  26772. "type": "integer"
  26773. },
  26774. "reauditremark": {
  26775. "description": "复审备注",
  26776. "type": "string"
  26777. },
  26778. "reaudittime": {
  26779. "description": "复审时间",
  26780. "type": "string"
  26781. },
  26782. "relatedorderid": {
  26783. "description": "三方关联ID",
  26784. "type": "string"
  26785. },
  26786. "remark": {
  26787. "description": "备注",
  26788. "type": "string"
  26789. },
  26790. "remark2": {
  26791. "description": "备注(失败原因)",
  26792. "type": "string"
  26793. },
  26794. "soucreamount": {
  26795. "description": "原始出入金金额",
  26796. "type": "number"
  26797. },
  26798. "soucrecurrencyid": {
  26799. "description": "原始出入金币种",
  26800. "type": "integer"
  26801. },
  26802. "tradedate": {
  26803. "description": "交易日(yyyyMMdd)",
  26804. "type": "string"
  26805. },
  26806. "updatetime": {
  26807. "description": "更新时间(申请时间)",
  26808. "type": "string"
  26809. },
  26810. "userid": {
  26811. "description": "用户id",
  26812. "type": "integer"
  26813. },
  26814. "userinfotype": {
  26815. "description": "账户类型 1-个人 2-企业",
  26816. "type": "integer"
  26817. }
  26818. }
  26819. },
  26820. "models.QhjMgrBrokerApply": {
  26821. "type": "object",
  26822. "properties": {
  26823. "applicantid": {
  26824. "description": "申请人",
  26825. "type": "integer"
  26826. },
  26827. "applysrc": {
  26828. "description": "申请来源 - 1:管理端 2:终端",
  26829. "type": "integer"
  26830. },
  26831. "applystatus": {
  26832. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  26833. "type": "integer"
  26834. },
  26835. "applytime": {
  26836. "description": "申请时间",
  26837. "type": "string"
  26838. },
  26839. "auditorid": {
  26840. "description": "审核人",
  26841. "type": "integer"
  26842. },
  26843. "auditremark": {
  26844. "description": "审核备注",
  26845. "type": "string"
  26846. },
  26847. "auditsrc": {
  26848. "description": "审核来源 - 1:管理端 2:终端",
  26849. "type": "integer"
  26850. },
  26851. "audittime": {
  26852. "description": "审核时间",
  26853. "type": "string"
  26854. },
  26855. "audittradedate": {
  26856. "description": "审核交易日(yyyyMMdd)",
  26857. "type": "string"
  26858. },
  26859. "brokerapplyid": {
  26860. "description": "申请ID(SEQ_BROKERAPPLY)",
  26861. "type": "integer"
  26862. },
  26863. "cardbackphotourl": {
  26864. "description": "证件背面图片地址",
  26865. "type": "string"
  26866. },
  26867. "cardfrontphotourl": {
  26868. "description": "证件正面图片地址",
  26869. "type": "string"
  26870. },
  26871. "cardnum": {
  26872. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  26873. "type": "string"
  26874. },
  26875. "customername": {
  26876. "description": "姓名",
  26877. "type": "string"
  26878. },
  26879. "filterstatus": {
  26880. "description": "筛选条件",
  26881. "type": "string"
  26882. },
  26883. "logincode": {
  26884. "description": "登录代码",
  26885. "type": "string"
  26886. },
  26887. "mobile": {
  26888. "description": "手机号码",
  26889. "type": "string"
  26890. },
  26891. "parentuserid": {
  26892. "description": "所属机构id",
  26893. "type": "integer"
  26894. },
  26895. "parentusername": {
  26896. "description": "所属机构名称",
  26897. "type": "string"
  26898. },
  26899. "refereeuserid": {
  26900. "description": "推荐人id(经纪人)",
  26901. "type": "integer"
  26902. },
  26903. "refernum": {
  26904. "description": "推荐码",
  26905. "type": "string"
  26906. },
  26907. "remark": {
  26908. "description": "备注",
  26909. "type": "string"
  26910. },
  26911. "subarealevelpath": {
  26912. "description": "层级路径",
  26913. "type": "string"
  26914. },
  26915. "tradedate": {
  26916. "description": "交易日(yyyyMMdd)",
  26917. "type": "string"
  26918. },
  26919. "userid": {
  26920. "description": "申请人用户ID",
  26921. "type": "integer"
  26922. },
  26923. "userinfotype": {
  26924. "description": "用户类型 1-个人 2-企业",
  26925. "type": "integer"
  26926. },
  26927. "username": {
  26928. "description": "用户名称",
  26929. "type": "string"
  26930. }
  26931. }
  26932. },
  26933. "models.QhjMgrBrokerRewardReport": {
  26934. "type": "object",
  26935. "properties": {
  26936. "createtime": {
  26937. "description": "创建时间(注册时间)",
  26938. "type": "string"
  26939. },
  26940. "cycletime": {
  26941. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  26942. "type": "string"
  26943. },
  26944. "cycletype": {
  26945. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  26946. "type": "integer"
  26947. },
  26948. "directtotalnum": {
  26949. "description": "直推总人数【期末】",
  26950. "type": "integer"
  26951. },
  26952. "indirecttotalnum": {
  26953. "description": "间推总人数【期末】",
  26954. "type": "integer"
  26955. },
  26956. "mobile": {
  26957. "description": "电话号码",
  26958. "type": "string"
  26959. },
  26960. "refereeuserid": {
  26961. "description": "推荐人id(经纪人id)",
  26962. "type": "integer"
  26963. },
  26964. "refereeusername": {
  26965. "description": "推荐人名称(经纪人) 上级经纪人名称",
  26966. "type": "string"
  26967. },
  26968. "refernum": {
  26969. "description": "推荐码",
  26970. "type": "string"
  26971. },
  26972. "subarealevelpath": {
  26973. "description": "用户层级路径",
  26974. "type": "string"
  26975. },
  26976. "todayrewardamount": {
  26977. "description": "奖励总金额【汇总】",
  26978. "type": "number"
  26979. },
  26980. "updatetime": {
  26981. "description": "更新时间",
  26982. "type": "string"
  26983. },
  26984. "userid": {
  26985. "description": "经纪人用户ID",
  26986. "type": "integer"
  26987. },
  26988. "userinfotype": {
  26989. "description": "用户类型 1-个人 2-企业",
  26990. "type": "integer"
  26991. },
  26992. "username": {
  26993. "description": "用户名称",
  26994. "type": "string"
  26995. }
  26996. }
  26997. },
  26998. "models.QhjMgrContract": {
  26999. "type": "object",
  27000. "properties": {
  27001. "contractconfirmtime": {
  27002. "description": "合同确认时间(时间)",
  27003. "type": "string"
  27004. },
  27005. "currisklevel": {
  27006. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  27007. "type": "integer"
  27008. },
  27009. "decimalplace": {
  27010. "description": "商品报价小数位",
  27011. "type": "integer"
  27012. },
  27013. "enumdicname": {
  27014. "description": "单位名称",
  27015. "type": "string"
  27016. },
  27017. "goodscode": {
  27018. "description": "商品代码",
  27019. "type": "string"
  27020. },
  27021. "goodsid": {
  27022. "description": "商品ID [5:融资单]",
  27023. "type": "integer"
  27024. },
  27025. "goodsname": {
  27026. "description": "商品名称",
  27027. "type": "string"
  27028. },
  27029. "goodunitid": {
  27030. "description": "商品单位id",
  27031. "type": "integer"
  27032. },
  27033. "initmargin": {
  27034. "description": "初始保证金(首付款)",
  27035. "type": "number"
  27036. },
  27037. "lenderamount": {
  27038. "description": "贷款金额(总额|订单总额)",
  27039. "type": "number"
  27040. },
  27041. "logincode": {
  27042. "description": "账号(登录代码)",
  27043. "type": "string"
  27044. },
  27045. "marginratio": {
  27046. "description": "保证金比率(首付比例)",
  27047. "type": "number"
  27048. },
  27049. "mobile": {
  27050. "description": "电话号码(用户资料里的电话)",
  27051. "type": "string"
  27052. },
  27053. "payamount": {
  27054. "description": "已付(已付货款)",
  27055. "type": "number"
  27056. },
  27057. "reckonrecovermargin": {
  27058. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  27059. "type": "number"
  27060. },
  27061. "recoveredmargin": {
  27062. "description": "已追缴保证金",
  27063. "type": "number"
  27064. },
  27065. "remainamount": {
  27066. "description": "合同剩余金额(融资额)",
  27067. "type": "number"
  27068. },
  27069. "scfcontractid": {
  27070. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  27071. "type": "string"
  27072. },
  27073. "scfcontractstatus": {
  27074. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  27075. "type": "integer"
  27076. },
  27077. "scfcontracttype": {
  27078. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  27079. "type": "integer"
  27080. },
  27081. "totalinterest": {
  27082. "description": "已计总利息(利息)",
  27083. "type": "number"
  27084. },
  27085. "tradedate": {
  27086. "description": "交易日",
  27087. "type": "string"
  27088. },
  27089. "tradeprice": {
  27090. "description": "成交价格(成本价格)",
  27091. "type": "number"
  27092. },
  27093. "userid": {
  27094. "description": "用户ID",
  27095. "type": "integer"
  27096. },
  27097. "userinfotype": {
  27098. "description": "用户类型 1-个人 2-企业",
  27099. "type": "integer"
  27100. },
  27101. "username": {
  27102. "description": "用户名称",
  27103. "type": "string"
  27104. },
  27105. "wrqty": {
  27106. "description": "仓单数量(数量)",
  27107. "type": "number"
  27108. }
  27109. }
  27110. },
  27111. "models.QhjMgrCustomer": {
  27112. "type": "object",
  27113. "properties": {
  27114. "address": {
  27115. "description": "通讯地址",
  27116. "type": "string"
  27117. },
  27118. "attachment1": {
  27119. "description": "附件1",
  27120. "type": "string"
  27121. },
  27122. "audittime": {
  27123. "description": "审核时间",
  27124. "type": "string"
  27125. },
  27126. "birthday": {
  27127. "description": "生日",
  27128. "type": "string"
  27129. },
  27130. "brokerid": {
  27131. "description": "所属客户经理id",
  27132. "type": "integer"
  27133. },
  27134. "brokername": {
  27135. "description": "所属客户经理名称",
  27136. "type": "string"
  27137. },
  27138. "cardbackphotourl": {
  27139. "description": "证件反面图片地址",
  27140. "type": "string"
  27141. },
  27142. "cardfrontphotourl": {
  27143. "description": "证件正面图片地址",
  27144. "type": "string"
  27145. },
  27146. "cardnum": {
  27147. "description": "证件号码",
  27148. "type": "string"
  27149. },
  27150. "cardtype": {
  27151. "description": "证件类型",
  27152. "type": "integer"
  27153. },
  27154. "cardtypename": {
  27155. "description": "证件类型名称",
  27156. "type": "string"
  27157. },
  27158. "cityid": {
  27159. "description": "市",
  27160. "type": "integer"
  27161. },
  27162. "cityname": {
  27163. "description": "城市名称",
  27164. "type": "string"
  27165. },
  27166. "contactname": {
  27167. "description": "联系人",
  27168. "type": "string"
  27169. },
  27170. "countryid": {
  27171. "description": "国家",
  27172. "type": "integer"
  27173. },
  27174. "countryname": {
  27175. "description": "国家名称",
  27176. "type": "string"
  27177. },
  27178. "createtime": {
  27179. "description": "创建时间",
  27180. "type": "string"
  27181. },
  27182. "customername": {
  27183. "description": "客户名称",
  27184. "type": "string"
  27185. },
  27186. "districtid": {
  27187. "description": "区域",
  27188. "type": "integer"
  27189. },
  27190. "districtname": {
  27191. "description": "地区名称",
  27192. "type": "string"
  27193. },
  27194. "email": {
  27195. "description": "邮件",
  27196. "type": "string"
  27197. },
  27198. "legalpersonname": {
  27199. "description": "法人姓名(企业)",
  27200. "type": "string"
  27201. },
  27202. "logincode": {
  27203. "description": "登录账号(代码)",
  27204. "type": "string"
  27205. },
  27206. "memberuserid": {
  27207. "description": "所属机构ID(所属会员)",
  27208. "type": "integer"
  27209. },
  27210. "memberusername": {
  27211. "description": "所属会员名称",
  27212. "type": "string"
  27213. },
  27214. "mobile": {
  27215. "description": "手机号码",
  27216. "type": "string"
  27217. },
  27218. "modifytime": {
  27219. "description": "修改时间",
  27220. "type": "string"
  27221. },
  27222. "nickname": {
  27223. "description": "昵称",
  27224. "type": "string"
  27225. },
  27226. "parentuserid": {
  27227. "description": "上级机构(所属机构)",
  27228. "type": "integer"
  27229. },
  27230. "parentusername": {
  27231. "description": "所属机构名称",
  27232. "type": "string"
  27233. },
  27234. "provinceid": {
  27235. "description": "省",
  27236. "type": "integer"
  27237. },
  27238. "provincename": {
  27239. "description": "省名称",
  27240. "type": "string"
  27241. },
  27242. "proxystatementurl": {
  27243. "description": "授权委托书",
  27244. "type": "string"
  27245. },
  27246. "querytype": {
  27247. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  27248. "type": "integer"
  27249. },
  27250. "remark": {
  27251. "description": "备注",
  27252. "type": "string"
  27253. },
  27254. "sex": {
  27255. "description": "性别 0-女 1-男",
  27256. "type": "integer"
  27257. },
  27258. "status": {
  27259. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27260. "type": "integer"
  27261. },
  27262. "statusdesc": {
  27263. "description": "账户状态中文描述",
  27264. "type": "string"
  27265. },
  27266. "taxpayernum": {
  27267. "description": "纳税人识别号",
  27268. "type": "string"
  27269. },
  27270. "telphone": {
  27271. "description": "联系电话",
  27272. "type": "string"
  27273. },
  27274. "userid": {
  27275. "description": "用户ID",
  27276. "type": "integer"
  27277. },
  27278. "userinfotype": {
  27279. "description": "客户类型 1-个人 2-企业",
  27280. "type": "integer"
  27281. },
  27282. "username": {
  27283. "description": "用户名称",
  27284. "type": "string"
  27285. }
  27286. }
  27287. },
  27288. "models.QhjMgrPickGoods": {
  27289. "type": "object",
  27290. "properties": {
  27291. "enumdicname": {
  27292. "description": "单位名称(提货商品)",
  27293. "type": "string"
  27294. },
  27295. "goodsid": {
  27296. "description": "商品id",
  27297. "type": "integer"
  27298. },
  27299. "imageaddress": {
  27300. "description": "图片",
  27301. "type": "string"
  27302. },
  27303. "modifierid": {
  27304. "description": "修改人",
  27305. "type": "integer"
  27306. },
  27307. "modifiername": {
  27308. "description": "修改人名称",
  27309. "type": "string"
  27310. },
  27311. "modifysrc": {
  27312. "description": "修改来源 - 1:管理端 2:终端",
  27313. "type": "integer"
  27314. },
  27315. "pickupgoodsagreeunit": {
  27316. "description": "合约乘数",
  27317. "type": "number"
  27318. },
  27319. "pickupgoodsdesc": {
  27320. "description": "描述",
  27321. "type": "string"
  27322. },
  27323. "pickupgoodsid": {
  27324. "description": "提货商品ID",
  27325. "type": "string"
  27326. },
  27327. "pickupgoodsname": {
  27328. "description": "提货商品名称",
  27329. "type": "string"
  27330. },
  27331. "pickupgoodsstatus": {
  27332. "description": "状态 - 1:正常 2:停用 3:注销",
  27333. "type": "integer"
  27334. },
  27335. "pickupgoodsunitid": {
  27336. "description": "单位ID",
  27337. "type": "integer"
  27338. },
  27339. "pickupratio": {
  27340. "description": "提货系数",
  27341. "type": "number"
  27342. },
  27343. "preparedays": {
  27344. "description": "备货期(天)",
  27345. "type": "integer"
  27346. },
  27347. "remark": {
  27348. "description": "备注",
  27349. "type": "string"
  27350. },
  27351. "updatetime": {
  27352. "description": "更新时间",
  27353. "type": "string"
  27354. }
  27355. }
  27356. },
  27357. "models.QhjMgrPositionRsp": {
  27358. "type": "object",
  27359. "properties": {
  27360. "accountid": {
  27361. "description": "账号Id",
  27362. "type": "integer"
  27363. },
  27364. "accountname": {
  27365. "description": "用户名称",
  27366. "type": "string"
  27367. },
  27368. "agreeunit": {
  27369. "description": "合约乘数",
  27370. "type": "number"
  27371. },
  27372. "averageprice": {
  27373. "description": "均价",
  27374. "type": "number"
  27375. },
  27376. "avialqty": {
  27377. "description": "可用数量",
  27378. "type": "number"
  27379. },
  27380. "decimalplace": {
  27381. "description": "报价小数位",
  27382. "type": "integer"
  27383. },
  27384. "enumdicname": {
  27385. "description": "单位名称(商品)",
  27386. "type": "string"
  27387. },
  27388. "frozenqty": {
  27389. "description": "冻结数量",
  27390. "type": "number"
  27391. },
  27392. "goodscode": {
  27393. "description": "商品代码(内部)",
  27394. "type": "string"
  27395. },
  27396. "goodsid": {
  27397. "description": "商品Id",
  27398. "type": "integer"
  27399. },
  27400. "goodsname": {
  27401. "description": "商品名称",
  27402. "type": "string"
  27403. },
  27404. "goodunitid": {
  27405. "description": "报价单位ID",
  27406. "type": "integer"
  27407. },
  27408. "holderamount": {
  27409. "description": "金额",
  27410. "type": "number"
  27411. },
  27412. "holderqty": {
  27413. "description": "持有数量",
  27414. "type": "number"
  27415. },
  27416. "holdertype": {
  27417. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  27418. "type": "integer"
  27419. },
  27420. "logincode": {
  27421. "description": "登录代码(账户)",
  27422. "type": "string"
  27423. },
  27424. "marketid": {
  27425. "description": "市场id",
  27426. "type": "integer"
  27427. },
  27428. "qtydecimalplace": {
  27429. "description": "成交量小数位",
  27430. "type": "integer"
  27431. },
  27432. "trademode": {
  27433. "description": "交易模式",
  27434. "type": "integer"
  27435. },
  27436. "userid": {
  27437. "description": "用户id",
  27438. "type": "integer"
  27439. },
  27440. "userinfotype": {
  27441. "description": "账户类型 1-个人 2-企业",
  27442. "type": "integer"
  27443. }
  27444. }
  27445. },
  27446. "models.QhjMgrSubArea": {
  27447. "type": "object",
  27448. "properties": {
  27449. "accountname": {
  27450. "description": "账户名称(机构名称)",
  27451. "type": "string"
  27452. },
  27453. "memberuserid": {
  27454. "description": "所属会员ID",
  27455. "type": "integer"
  27456. },
  27457. "parenttopuser": {
  27458. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  27459. "type": "string"
  27460. },
  27461. "parentuserid": {
  27462. "description": "所属机构ID",
  27463. "type": "integer"
  27464. },
  27465. "rootuserid": {
  27466. "description": "根用户ID",
  27467. "type": "string"
  27468. },
  27469. "subaccountlevel": {
  27470. "description": "子账户层数",
  27471. "type": "integer"
  27472. },
  27473. "subarealevelpath": {
  27474. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  27475. "type": "string"
  27476. },
  27477. "userid": {
  27478. "description": "用户ID",
  27479. "type": "integer"
  27480. },
  27481. "usertype": {
  27482. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27483. "type": "integer"
  27484. }
  27485. }
  27486. },
  27487. "models.QhjMgrTradeDetailRsp": {
  27488. "type": "object",
  27489. "properties": {
  27490. "accountid": {
  27491. "description": "资金账号",
  27492. "type": "integer"
  27493. },
  27494. "accountname": {
  27495. "description": "用户名称",
  27496. "type": "string"
  27497. },
  27498. "agreeunit": {
  27499. "description": "合约乘数",
  27500. "type": "number"
  27501. },
  27502. "buyorsell": {
  27503. "description": "成交类型(方向) 0:买 1:卖",
  27504. "type": "integer"
  27505. },
  27506. "decimalplace": {
  27507. "description": "报价小数位",
  27508. "type": "integer"
  27509. },
  27510. "enumdicname": {
  27511. "description": "单位名称(商品)",
  27512. "type": "string"
  27513. },
  27514. "goodscode": {
  27515. "description": "商品代码(内部)",
  27516. "type": "string"
  27517. },
  27518. "goodsid": {
  27519. "description": "商品id",
  27520. "type": "integer"
  27521. },
  27522. "goodsname": {
  27523. "description": "商品名称",
  27524. "type": "string"
  27525. },
  27526. "goodunitid": {
  27527. "description": "报价单位ID",
  27528. "type": "integer"
  27529. },
  27530. "logincode": {
  27531. "description": "登录代码(账户)",
  27532. "type": "string"
  27533. },
  27534. "marketid": {
  27535. "description": "市场id",
  27536. "type": "integer"
  27537. },
  27538. "orderid": {
  27539. "description": "关联委托单号",
  27540. "type": "string"
  27541. },
  27542. "qtydecimalplace": {
  27543. "description": "成交量小数位",
  27544. "type": "integer"
  27545. },
  27546. "tradeamount": {
  27547. "description": "金额",
  27548. "type": "number"
  27549. },
  27550. "tradedate": {
  27551. "description": "交易日",
  27552. "type": "string"
  27553. },
  27554. "tradeid": {
  27555. "description": "成交单号",
  27556. "type": "string"
  27557. },
  27558. "trademode": {
  27559. "description": "交易模式",
  27560. "type": "integer"
  27561. },
  27562. "tradeprice": {
  27563. "description": "价格",
  27564. "type": "number"
  27565. },
  27566. "tradeqty": {
  27567. "description": "数量",
  27568. "type": "number"
  27569. },
  27570. "tradetime": {
  27571. "description": "成交时间",
  27572. "type": "string"
  27573. },
  27574. "userid": {
  27575. "description": "用户id",
  27576. "type": "integer"
  27577. },
  27578. "userinfotype": {
  27579. "description": "账户类型 1-个人 2-企业",
  27580. "type": "integer"
  27581. }
  27582. }
  27583. },
  27584. "models.QhjMgrTradeOrderDetailRsp": {
  27585. "type": "object",
  27586. "properties": {
  27587. "accountid": {
  27588. "description": "资金账号",
  27589. "type": "integer"
  27590. },
  27591. "accountname": {
  27592. "description": "用户名称",
  27593. "type": "string"
  27594. },
  27595. "agreeunit": {
  27596. "description": "合约乘数",
  27597. "type": "number"
  27598. },
  27599. "amount": {
  27600. "description": "金额",
  27601. "type": "number"
  27602. },
  27603. "decimalplace": {
  27604. "description": "报价小数位",
  27605. "type": "integer"
  27606. },
  27607. "enumdicname": {
  27608. "description": "单位名称(商品)",
  27609. "type": "string"
  27610. },
  27611. "goodscode": {
  27612. "description": "商品代码(内部)",
  27613. "type": "string"
  27614. },
  27615. "goodsid": {
  27616. "description": "商品id",
  27617. "type": "integer"
  27618. },
  27619. "goodsname": {
  27620. "description": "商品名称",
  27621. "type": "string"
  27622. },
  27623. "goodunitid": {
  27624. "description": "报价单位ID",
  27625. "type": "integer"
  27626. },
  27627. "logincode": {
  27628. "description": "登录代码(账户)",
  27629. "type": "string"
  27630. },
  27631. "marketid": {
  27632. "description": "市场id",
  27633. "type": "integer"
  27634. },
  27635. "orderid": {
  27636. "description": "关联委托单号",
  27637. "type": "string"
  27638. },
  27639. "orderprice": {
  27640. "description": "价格",
  27641. "type": "number"
  27642. },
  27643. "orderqty": {
  27644. "description": "数量",
  27645. "type": "number"
  27646. },
  27647. "orderstatus": {
  27648. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  27649. "type": "integer"
  27650. },
  27651. "ordertime": {
  27652. "description": "委托时间",
  27653. "type": "string"
  27654. },
  27655. "qtydecimalplace": {
  27656. "description": "成交量小数位",
  27657. "type": "integer"
  27658. },
  27659. "tradedate": {
  27660. "description": "交易日",
  27661. "type": "string"
  27662. },
  27663. "trademode": {
  27664. "description": "交易模式",
  27665. "type": "integer"
  27666. },
  27667. "userid": {
  27668. "description": "用户id",
  27669. "type": "integer"
  27670. },
  27671. "userinfotype": {
  27672. "description": "账户类型 1-个人 2-企业",
  27673. "type": "integer"
  27674. }
  27675. }
  27676. },
  27677. "models.QhjMgrTradePayOrder": {
  27678. "type": "object",
  27679. "properties": {
  27680. "accountname": {
  27681. "description": "用户名称",
  27682. "type": "string"
  27683. },
  27684. "advanceratio": {
  27685. "description": "首付比率",
  27686. "type": "number"
  27687. },
  27688. "agreeunit": {
  27689. "description": "合约乘数",
  27690. "type": "number"
  27691. },
  27692. "buyaccountid": {
  27693. "description": "买方账号ID[报价币种]",
  27694. "type": "integer"
  27695. },
  27696. "buyorderid": {
  27697. "description": "买方委托单号(关联单号)",
  27698. "type": "string"
  27699. },
  27700. "createtime": {
  27701. "description": "创建时间",
  27702. "type": "string"
  27703. },
  27704. "decimalplace": {
  27705. "description": "报价小数位",
  27706. "type": "integer"
  27707. },
  27708. "enumdicname": {
  27709. "description": "单位名称(商品)",
  27710. "type": "string"
  27711. },
  27712. "goodscode": {
  27713. "description": "商品代码(内部)",
  27714. "type": "string"
  27715. },
  27716. "goodsid": {
  27717. "description": "商品ID",
  27718. "type": "integer"
  27719. },
  27720. "goodsname": {
  27721. "description": "商品名称",
  27722. "type": "string"
  27723. },
  27724. "goodunitid": {
  27725. "description": "报价单位ID",
  27726. "type": "integer"
  27727. },
  27728. "logincode": {
  27729. "description": "登录代码(账户)",
  27730. "type": "string"
  27731. },
  27732. "marketid": {
  27733. "description": "市场id",
  27734. "type": "integer"
  27735. },
  27736. "offamount": {
  27737. "description": "优惠金额",
  27738. "type": "number"
  27739. },
  27740. "operatetype": {
  27741. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  27742. "type": "integer"
  27743. },
  27744. "payamount": {
  27745. "description": "支付金额(金额)",
  27746. "type": "number"
  27747. },
  27748. "payflag": {
  27749. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  27750. "type": "integer"
  27751. },
  27752. "paylimitedtime": {
  27753. "description": "支付期限",
  27754. "type": "string"
  27755. },
  27756. "paytime": {
  27757. "description": "付款时间",
  27758. "type": "string"
  27759. },
  27760. "qtydecimalplace": {
  27761. "description": "成交量小数位",
  27762. "type": "integer"
  27763. },
  27764. "sellaccountid": {
  27765. "description": "卖方账号ID[报价币种]",
  27766. "type": "integer"
  27767. },
  27768. "sellorderid": {
  27769. "description": "卖方委托单号",
  27770. "type": "string"
  27771. },
  27772. "tradeamount": {
  27773. "description": "成交金额(优惠后金额)",
  27774. "type": "number"
  27775. },
  27776. "tradecharge": {
  27777. "description": "成交手续费(买方)",
  27778. "type": "number"
  27779. },
  27780. "tradedate": {
  27781. "description": "交易日(yyyyMMdd)",
  27782. "type": "string"
  27783. },
  27784. "tradeid": {
  27785. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27786. "type": "string"
  27787. },
  27788. "trademode": {
  27789. "description": "交易模式",
  27790. "type": "integer"
  27791. },
  27792. "tradeprice": {
  27793. "description": "成交价格(价格)",
  27794. "type": "number"
  27795. },
  27796. "tradeqty": {
  27797. "description": "成交数量(数量)",
  27798. "type": "number"
  27799. },
  27800. "tradetime": {
  27801. "description": "成交时间",
  27802. "type": "string"
  27803. },
  27804. "userid": {
  27805. "description": "用户id",
  27806. "type": "integer"
  27807. },
  27808. "userinfotype": {
  27809. "description": "账户类型 1-个人 2-企业",
  27810. "type": "integer"
  27811. }
  27812. }
  27813. },
  27814. "models.QhjMyTeamEx": {
  27815. "type": "object",
  27816. "properties": {
  27817. "accountname": {
  27818. "description": "用户名称",
  27819. "type": "string"
  27820. },
  27821. "accountstatus": {
  27822. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27823. "type": "integer"
  27824. },
  27825. "createtime": {
  27826. "description": "创建时间",
  27827. "type": "string"
  27828. },
  27829. "mobile": {
  27830. "description": "手机号码",
  27831. "type": "string"
  27832. },
  27833. "refereeuserid": {
  27834. "description": "推荐人id",
  27835. "type": "integer"
  27836. },
  27837. "refernum": {
  27838. "description": "推荐码",
  27839. "type": "string"
  27840. },
  27841. "subList": {
  27842. "type": "array",
  27843. "items": {
  27844. "$ref": "#/definitions/models.QhjMyTeamEx"
  27845. }
  27846. },
  27847. "userid": {
  27848. "description": "用户id",
  27849. "type": "integer"
  27850. },
  27851. "userinfotype": {
  27852. "description": "用户类型 1-个人 2-企业",
  27853. "type": "integer"
  27854. }
  27855. }
  27856. },
  27857. "models.QhjNodeAgreementConfig": {
  27858. "type": "object",
  27859. "properties": {
  27860. "agreementcontent": {
  27861. "description": "协议内容",
  27862. "type": "string"
  27863. },
  27864. "agreementid": {
  27865. "description": "协议ID",
  27866. "type": "integer"
  27867. },
  27868. "agreementname": {
  27869. "description": "协议名称",
  27870. "type": "string"
  27871. },
  27872. "agreementno": {
  27873. "description": "协议编号",
  27874. "type": "string"
  27875. },
  27876. "agreementtype": {
  27877. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27878. "type": "integer"
  27879. },
  27880. "agreementversion": {
  27881. "description": "协议版本号",
  27882. "type": "integer"
  27883. },
  27884. "configid": {
  27885. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  27886. "type": "integer"
  27887. },
  27888. "createtime": {
  27889. "description": "创建时间",
  27890. "type": "string"
  27891. },
  27892. "goodsid": {
  27893. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  27894. "type": "integer"
  27895. },
  27896. "nodetype": {
  27897. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  27898. "type": "integer"
  27899. }
  27900. }
  27901. },
  27902. "models.QhjParentAreaList": {
  27903. "type": "object",
  27904. "properties": {
  27905. "accountname": {
  27906. "description": "账户名称(机构名称)",
  27907. "type": "string"
  27908. },
  27909. "userid": {
  27910. "description": "用户ID",
  27911. "type": "integer"
  27912. },
  27913. "usertype": {
  27914. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27915. "type": "integer"
  27916. }
  27917. }
  27918. },
  27919. "models.QhjPayOrder": {
  27920. "type": "object",
  27921. "properties": {
  27922. "advanceratio": {
  27923. "description": "首付比率",
  27924. "type": "number"
  27925. },
  27926. "buyaccountid": {
  27927. "description": "买方账号ID[报价币种]",
  27928. "type": "integer"
  27929. },
  27930. "buyorderid": {
  27931. "description": "买方委托单号",
  27932. "type": "string"
  27933. },
  27934. "createtime": {
  27935. "description": "创建时间",
  27936. "type": "string"
  27937. },
  27938. "decimalplace": {
  27939. "description": "商品报价小数位",
  27940. "type": "integer"
  27941. },
  27942. "enumdicname": {
  27943. "description": "单位名称",
  27944. "type": "string"
  27945. },
  27946. "goodscode": {
  27947. "description": "商品代码",
  27948. "type": "string"
  27949. },
  27950. "goodsid": {
  27951. "description": "商品ID",
  27952. "type": "integer"
  27953. },
  27954. "goodsname": {
  27955. "description": "商品名称",
  27956. "type": "string"
  27957. },
  27958. "goodunitid": {
  27959. "description": "商品单位id",
  27960. "type": "integer"
  27961. },
  27962. "marketid": {
  27963. "description": "市场ID",
  27964. "type": "integer"
  27965. },
  27966. "offamount": {
  27967. "description": "优惠金额",
  27968. "type": "number"
  27969. },
  27970. "operatetype": {
  27971. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  27972. "type": "integer"
  27973. },
  27974. "payamount": {
  27975. "description": "支付金额",
  27976. "type": "number"
  27977. },
  27978. "payflag": {
  27979. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  27980. "type": "integer"
  27981. },
  27982. "paylimitedtime": {
  27983. "description": "支付期限",
  27984. "type": "string"
  27985. },
  27986. "paytime": {
  27987. "description": "付款时间",
  27988. "type": "string"
  27989. },
  27990. "qtydecimalplace": {
  27991. "description": "成交量小数位",
  27992. "type": "integer"
  27993. },
  27994. "sellaccountid": {
  27995. "description": "卖方账号ID[报价币种]",
  27996. "type": "integer"
  27997. },
  27998. "sellorderid": {
  27999. "description": "卖方委托单号",
  28000. "type": "string"
  28001. },
  28002. "tradeamount": {
  28003. "description": "成交金额(优惠后金额)",
  28004. "type": "number"
  28005. },
  28006. "tradecharge": {
  28007. "description": "成交手续费(买方)",
  28008. "type": "number"
  28009. },
  28010. "tradedate": {
  28011. "description": "交易日(yyyyMMdd)",
  28012. "type": "string"
  28013. },
  28014. "tradeid": {
  28015. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28016. "type": "string"
  28017. },
  28018. "tradeprice": {
  28019. "description": "成交价格",
  28020. "type": "number"
  28021. },
  28022. "tradeqty": {
  28023. "description": "成交数量",
  28024. "type": "number"
  28025. }
  28026. }
  28027. },
  28028. "models.QhjPickArea": {
  28029. "type": "object",
  28030. "properties": {
  28031. "address": {
  28032. "description": "详细地址",
  28033. "type": "string"
  28034. },
  28035. "cityid": {
  28036. "description": "市",
  28037. "type": "integer"
  28038. },
  28039. "cityname": {
  28040. "description": "城市名称",
  28041. "type": "string"
  28042. },
  28043. "countryid": {
  28044. "description": "国家",
  28045. "type": "integer"
  28046. },
  28047. "countryname": {
  28048. "description": "国家名称",
  28049. "type": "string"
  28050. },
  28051. "districtid": {
  28052. "description": "地区",
  28053. "type": "integer"
  28054. },
  28055. "districtname": {
  28056. "description": "地区名称",
  28057. "type": "string"
  28058. },
  28059. "fromuserid": {
  28060. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  28061. "type": "integer"
  28062. },
  28063. "fromusername": {
  28064. "description": "所属机构名称",
  28065. "type": "string"
  28066. },
  28067. "provinceid": {
  28068. "description": "省",
  28069. "type": "integer"
  28070. },
  28071. "provincename": {
  28072. "description": "省名称",
  28073. "type": "string"
  28074. },
  28075. "suborgtype": {
  28076. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  28077. "type": "integer"
  28078. },
  28079. "userid": {
  28080. "description": "机构用户ID 其他做市关系,都设置为 1",
  28081. "type": "integer"
  28082. },
  28083. "username": {
  28084. "description": "机构用户名称(门店门称)",
  28085. "type": "string"
  28086. }
  28087. }
  28088. },
  28089. "models.QhjPickGoods": {
  28090. "type": "object",
  28091. "properties": {
  28092. "enumdicname": {
  28093. "description": "单位名称(提货商品)",
  28094. "type": "string"
  28095. },
  28096. "goodsid": {
  28097. "description": "商品id",
  28098. "type": "integer"
  28099. },
  28100. "imageaddress": {
  28101. "description": "图片",
  28102. "type": "string"
  28103. },
  28104. "modifierid": {
  28105. "description": "修改人",
  28106. "type": "integer"
  28107. },
  28108. "modifiername": {
  28109. "description": "修改人名称",
  28110. "type": "string"
  28111. },
  28112. "modifysrc": {
  28113. "description": "修改来源 - 1:管理端 2:终端",
  28114. "type": "integer"
  28115. },
  28116. "pickupgoodsagreeunit": {
  28117. "description": "合约乘数",
  28118. "type": "number"
  28119. },
  28120. "pickupgoodsdesc": {
  28121. "description": "描述",
  28122. "type": "string"
  28123. },
  28124. "pickupgoodsid": {
  28125. "description": "提货商品ID",
  28126. "type": "string"
  28127. },
  28128. "pickupgoodsname": {
  28129. "description": "提货商品名称",
  28130. "type": "string"
  28131. },
  28132. "pickupgoodsstatus": {
  28133. "description": "状态 - 1:正常 2:停用 3:注销",
  28134. "type": "integer"
  28135. },
  28136. "pickupgoodsunitid": {
  28137. "description": "单位ID",
  28138. "type": "integer"
  28139. },
  28140. "pickupratio": {
  28141. "description": "提货系数",
  28142. "type": "number"
  28143. },
  28144. "preparedays": {
  28145. "description": "备货期(天)",
  28146. "type": "integer"
  28147. },
  28148. "remark": {
  28149. "description": "备注",
  28150. "type": "string"
  28151. },
  28152. "updatetime": {
  28153. "description": "更新时间",
  28154. "type": "string"
  28155. }
  28156. }
  28157. },
  28158. "models.QhjRSTriggerLog": {
  28159. "type": "object",
  28160. "properties": {
  28161. "accountid": {
  28162. "description": "用户资金账户",
  28163. "type": "integer"
  28164. },
  28165. "accountname": {
  28166. "description": "账号名称(ACCOUNTID对应的名称)",
  28167. "type": "string"
  28168. },
  28169. "currencyid": {
  28170. "description": "币种id",
  28171. "type": "integer"
  28172. },
  28173. "currencyname": {
  28174. "description": "币种名称",
  28175. "type": "string"
  28176. },
  28177. "decimalplace": {
  28178. "description": "商品报价小数位",
  28179. "type": "integer"
  28180. },
  28181. "enumdicname": {
  28182. "description": "单位名称",
  28183. "type": "string"
  28184. },
  28185. "goodscode": {
  28186. "description": "定投商品代码",
  28187. "type": "string"
  28188. },
  28189. "goodsid": {
  28190. "description": "定投商品ID",
  28191. "type": "integer"
  28192. },
  28193. "goodsname": {
  28194. "description": "定投商品名称",
  28195. "type": "string"
  28196. },
  28197. "goodunitid": {
  28198. "description": "定投商品单位id",
  28199. "type": "integer"
  28200. },
  28201. "logid": {
  28202. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  28203. "type": "string"
  28204. },
  28205. "logincode": {
  28206. "description": "账号(登录代码)",
  28207. "type": "string"
  28208. },
  28209. "qtydecimalplace": {
  28210. "description": "成交量小数位",
  28211. "type": "integer"
  28212. },
  28213. "regularlycycle": {
  28214. "description": "定投频率 - 1:每周 2:每月",
  28215. "type": "integer"
  28216. },
  28217. "regularlycyclevalue": {
  28218. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  28219. "type": "string"
  28220. },
  28221. "regularlymode": {
  28222. "description": "定投方式 - 1:按数量 2:按金额",
  28223. "type": "integer"
  28224. },
  28225. "regularlymodevalue": {
  28226. "description": "定投方式值 - 数量或金额",
  28227. "type": "number"
  28228. },
  28229. "regularlystrategyid": {
  28230. "description": "定投策略ID",
  28231. "type": "integer"
  28232. },
  28233. "retcode": {
  28234. "description": "错误码",
  28235. "type": "string"
  28236. },
  28237. "tradeid": {
  28238. "description": "成交单ID",
  28239. "type": "string"
  28240. },
  28241. "triggeramount": {
  28242. "description": "触发金额",
  28243. "type": "number"
  28244. },
  28245. "triggerqty": {
  28246. "description": "触发数量",
  28247. "type": "number"
  28248. },
  28249. "triggerstatus": {
  28250. "description": "触发状态 - 1:成功 2:失败",
  28251. "type": "integer"
  28252. },
  28253. "triggertime": {
  28254. "description": "触发时间",
  28255. "type": "string"
  28256. },
  28257. "triggertradedate": {
  28258. "description": "触发交易日",
  28259. "type": "string"
  28260. },
  28261. "userid": {
  28262. "description": "所属用户ID",
  28263. "type": "integer"
  28264. },
  28265. "userinfotype": {
  28266. "description": "用户类型 1-个人 2-企业",
  28267. "type": "integer"
  28268. },
  28269. "username": {
  28270. "description": "用户名称(userid对应的名称)",
  28271. "type": "string"
  28272. }
  28273. }
  28274. },
  28275. "models.QhjRStrategy": {
  28276. "type": "object",
  28277. "properties": {
  28278. "accountid": {
  28279. "description": "用户资金账户",
  28280. "type": "integer"
  28281. },
  28282. "accountname": {
  28283. "description": "账号名称(ACCOUNTID对应的名称)",
  28284. "type": "string"
  28285. },
  28286. "currencyid": {
  28287. "description": "币种id",
  28288. "type": "integer"
  28289. },
  28290. "currencyname": {
  28291. "description": "币种名称",
  28292. "type": "string"
  28293. },
  28294. "decimalplace": {
  28295. "description": "商品报价小数位",
  28296. "type": "integer"
  28297. },
  28298. "enumdicname": {
  28299. "description": "单位名称",
  28300. "type": "string"
  28301. },
  28302. "goodscode": {
  28303. "description": "定投商品代码",
  28304. "type": "string"
  28305. },
  28306. "goodsid": {
  28307. "description": "定投商品ID",
  28308. "type": "integer"
  28309. },
  28310. "goodsname": {
  28311. "description": "定投商品名称",
  28312. "type": "string"
  28313. },
  28314. "goodunitid": {
  28315. "description": "定投商品单位id",
  28316. "type": "integer"
  28317. },
  28318. "lasteffecttradedate": {
  28319. "description": "最新生效交易日",
  28320. "type": "string"
  28321. },
  28322. "laststoptradedate": {
  28323. "description": "最新暂停交易日",
  28324. "type": "string"
  28325. },
  28326. "lasttriggertradedate": {
  28327. "description": "最新触发交易日",
  28328. "type": "string"
  28329. },
  28330. "logincode": {
  28331. "description": "账号(登录代码)",
  28332. "type": "string"
  28333. },
  28334. "nexttriggeramount": {
  28335. "description": "下次触发金额",
  28336. "type": "number"
  28337. },
  28338. "nexttriggerdate": {
  28339. "description": "下次触发日期",
  28340. "type": "string"
  28341. },
  28342. "nexttriggerqty": {
  28343. "description": "下次触发数量 [按小数位放大值]",
  28344. "type": "number"
  28345. },
  28346. "qtydecimalplace": {
  28347. "description": "成交量小数位",
  28348. "type": "integer"
  28349. },
  28350. "regularlycycle": {
  28351. "description": "定投频率 - 1:每周 2:每月",
  28352. "type": "integer"
  28353. },
  28354. "regularlycyclevalue": {
  28355. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  28356. "type": "string"
  28357. },
  28358. "regularlymode": {
  28359. "description": "定投方式 - 1:按数量 2:按金额",
  28360. "type": "integer"
  28361. },
  28362. "regularlymodevalue": {
  28363. "description": "定投方式值 - 数量或金额",
  28364. "type": "number"
  28365. },
  28366. "regularlystrategyid": {
  28367. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  28368. "type": "integer"
  28369. },
  28370. "regularlystrategystatus": {
  28371. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  28372. "type": "integer"
  28373. },
  28374. "remark": {
  28375. "description": "备注",
  28376. "type": "string"
  28377. },
  28378. "triggersuccesstimes": {
  28379. "description": "累计定投成功次数",
  28380. "type": "string"
  28381. },
  28382. "triggertotalamount": {
  28383. "description": "累计定投金额(成功)",
  28384. "type": "number"
  28385. },
  28386. "triggertotalqty": {
  28387. "description": "累计定投数量(成功) [按小数位放大值]",
  28388. "type": "number"
  28389. },
  28390. "triggertotaltimes": {
  28391. "description": "累计定投总次数",
  28392. "type": "string"
  28393. },
  28394. "updatesrc": {
  28395. "description": "更新来源 - 1:管理端 2:终端",
  28396. "type": "integer"
  28397. },
  28398. "updatetime": {
  28399. "description": "更新时间",
  28400. "type": "string"
  28401. },
  28402. "updatorid": {
  28403. "description": "更新人",
  28404. "type": "string"
  28405. },
  28406. "userid": {
  28407. "description": "所属用户ID",
  28408. "type": "integer"
  28409. },
  28410. "userinfotype": {
  28411. "description": "用户类型 1-个人 2-企业",
  28412. "type": "integer"
  28413. },
  28414. "username": {
  28415. "description": "用户名称(userid对应的名称)",
  28416. "type": "string"
  28417. }
  28418. }
  28419. },
  28420. "models.QhjReckonPriceLog": {
  28421. "type": "object",
  28422. "properties": {
  28423. "decimalplace": {
  28424. "description": "商品报价小数位",
  28425. "type": "integer"
  28426. },
  28427. "goodscode": {
  28428. "description": "商品代码",
  28429. "type": "string"
  28430. },
  28431. "goodsid": {
  28432. "description": "商品ID",
  28433. "type": "integer"
  28434. },
  28435. "goodsname": {
  28436. "description": "商品名称",
  28437. "type": "string"
  28438. },
  28439. "lastreckonprice": {
  28440. "description": "上日结算价",
  28441. "type": "number"
  28442. },
  28443. "nextdnlimitprice": {
  28444. "description": "下个交易日跌停价",
  28445. "type": "number"
  28446. },
  28447. "nexttrade": {
  28448. "description": "下个交易日",
  28449. "type": "string"
  28450. },
  28451. "nextuplimitprice": {
  28452. "description": "下个交易日涨停价",
  28453. "type": "number"
  28454. },
  28455. "reckonprice": {
  28456. "description": "今日结算价(定投价)",
  28457. "type": "number"
  28458. },
  28459. "reckontime": {
  28460. "description": "结算时间",
  28461. "type": "string"
  28462. },
  28463. "totalholderqty": {
  28464. "description": "总持仓数",
  28465. "type": "integer"
  28466. },
  28467. "totalstock": {
  28468. "description": "总库存",
  28469. "type": "integer"
  28470. },
  28471. "tradedate": {
  28472. "description": "交易日",
  28473. "type": "string"
  28474. },
  28475. "updowncount": {
  28476. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  28477. "type": "integer"
  28478. },
  28479. "updownflag": {
  28480. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  28481. "type": "integer"
  28482. },
  28483. "updownrate": {
  28484. "description": "今日涨跌幅",
  28485. "type": "number"
  28486. },
  28487. "updownrate_2d": {
  28488. "description": "连续两日涨跌幅",
  28489. "type": "number"
  28490. },
  28491. "updownrate_3d": {
  28492. "description": "连续三日涨跌幅",
  28493. "type": "number"
  28494. }
  28495. }
  28496. },
  28497. "models.QhjScoreLog": {
  28498. "type": "object",
  28499. "properties": {
  28500. "accountid": {
  28501. "description": "账户ID",
  28502. "type": "integer"
  28503. },
  28504. "createtime": {
  28505. "description": "创建时间(时间)",
  28506. "type": "string"
  28507. },
  28508. "goodsid": {
  28509. "description": "商品ID",
  28510. "type": "integer"
  28511. },
  28512. "hasuploaded": {
  28513. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  28514. "type": "integer"
  28515. },
  28516. "logid": {
  28517. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28518. "type": "string"
  28519. },
  28520. "marketid": {
  28521. "description": "市场ID",
  28522. "type": "integer"
  28523. },
  28524. "relatedamount": {
  28525. "description": "关联金额",
  28526. "type": "number"
  28527. },
  28528. "relatedorderid": {
  28529. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  28530. "type": "string"
  28531. },
  28532. "scoreconfigvalue1": {
  28533. "description": "积分配置1",
  28534. "type": "integer"
  28535. },
  28536. "scoreconfigvalue2": {
  28537. "description": "积分配置1",
  28538. "type": "integer"
  28539. },
  28540. "scoretype": {
  28541. "description": "积分类型 - 1:提货积分",
  28542. "type": "integer"
  28543. },
  28544. "scorevalue": {
  28545. "description": "积分",
  28546. "type": "number"
  28547. },
  28548. "tradedate": {
  28549. "description": "交易日(yyyyMMdd)",
  28550. "type": "string"
  28551. },
  28552. "uploadedtime": {
  28553. "description": "同步时间",
  28554. "type": "string"
  28555. },
  28556. "userid": {
  28557. "description": "用户ID",
  28558. "type": "integer"
  28559. }
  28560. }
  28561. },
  28562. "models.QhjSiteColumnDetail": {
  28563. "type": "object",
  28564. "properties": {
  28565. "author": {
  28566. "description": "作者",
  28567. "type": "string"
  28568. },
  28569. "brief": {
  28570. "description": "简介",
  28571. "type": "string"
  28572. },
  28573. "columnid": {
  28574. "description": "所属栏目",
  28575. "type": "integer"
  28576. },
  28577. "context": {
  28578. "description": "内容",
  28579. "type": "string"
  28580. },
  28581. "coverimage": {
  28582. "description": "封面图片",
  28583. "type": "string"
  28584. },
  28585. "creaedate": {
  28586. "description": "创建时间",
  28587. "type": "string"
  28588. },
  28589. "creatorid": {
  28590. "description": "创建人",
  28591. "type": "integer"
  28592. },
  28593. "hits": {
  28594. "description": "点击数",
  28595. "type": "integer"
  28596. },
  28597. "id": {
  28598. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  28599. "type": "integer"
  28600. },
  28601. "isshow": {
  28602. "description": "是否展示 - 0:不展示 1:展示",
  28603. "type": "integer"
  28604. },
  28605. "istop": {
  28606. "description": "是否置顶 - 0:不置 1:置顶",
  28607. "type": "integer"
  28608. },
  28609. "modifierid": {
  28610. "description": "操作人",
  28611. "type": "integer"
  28612. },
  28613. "publishdate": {
  28614. "description": "发布日期",
  28615. "type": "string"
  28616. },
  28617. "status": {
  28618. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  28619. "type": "integer"
  28620. },
  28621. "title": {
  28622. "description": "标题",
  28623. "type": "string"
  28624. },
  28625. "updatedate": {
  28626. "description": "修改时间",
  28627. "type": "string"
  28628. },
  28629. "userid": {
  28630. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  28631. "type": "integer"
  28632. },
  28633. "username": {
  28634. "description": "用户名称",
  28635. "type": "string"
  28636. }
  28637. }
  28638. },
  28639. "models.QhjTeamOrder": {
  28640. "type": "object",
  28641. "properties": {
  28642. "accountid": {
  28643. "description": "账户ID[报价币种]",
  28644. "type": "integer"
  28645. },
  28646. "accountname": {
  28647. "description": "账户名称",
  28648. "type": "string"
  28649. },
  28650. "agreeunit": {
  28651. "description": "合约乘数",
  28652. "type": "number"
  28653. },
  28654. "buyorsell": {
  28655. "description": "方向 - 0:买 1:卖",
  28656. "type": "integer"
  28657. },
  28658. "decimalplace": {
  28659. "description": "报价小数位",
  28660. "type": "integer"
  28661. },
  28662. "enumdicname": {
  28663. "description": "单位名称",
  28664. "type": "string"
  28665. },
  28666. "goodscode": {
  28667. "description": "商品代码(内部)",
  28668. "type": "string"
  28669. },
  28670. "goodsid": {
  28671. "description": "商品ID",
  28672. "type": "integer"
  28673. },
  28674. "goodsname": {
  28675. "description": "商品名称",
  28676. "type": "string"
  28677. },
  28678. "goodunitid": {
  28679. "description": "报价单位ID",
  28680. "type": "integer"
  28681. },
  28682. "marketid": {
  28683. "description": "市场ID",
  28684. "type": "integer"
  28685. },
  28686. "marketname": {
  28687. "description": "市场名称",
  28688. "type": "string"
  28689. },
  28690. "qtydecimalplace": {
  28691. "description": "成交量小数位",
  28692. "type": "integer"
  28693. },
  28694. "refereeuserid": {
  28695. "description": "推荐人ID",
  28696. "type": "integer"
  28697. },
  28698. "tradeamount": {
  28699. "description": "成交金额[账户币种,用于所有权]",
  28700. "type": "number"
  28701. },
  28702. "tradedate": {
  28703. "description": "交易日(yyyyMMdd)",
  28704. "type": "string"
  28705. },
  28706. "trademode": {
  28707. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28708. "type": "integer"
  28709. },
  28710. "tradeprice": {
  28711. "description": "成交价格",
  28712. "type": "number"
  28713. },
  28714. "tradeqty": {
  28715. "description": "成交数量",
  28716. "type": "number"
  28717. },
  28718. "tradetime": {
  28719. "description": "成交时间",
  28720. "type": "string"
  28721. },
  28722. "userid": {
  28723. "description": "用户ID",
  28724. "type": "integer"
  28725. }
  28726. }
  28727. },
  28728. "models.QhjTradeGoodsPickup": {
  28729. "type": "object",
  28730. "properties": {
  28731. "accountid": {
  28732. "description": "账户ID",
  28733. "type": "integer"
  28734. },
  28735. "address": {
  28736. "description": "提货人详细地址",
  28737. "type": "string"
  28738. },
  28739. "amount": {
  28740. "description": "提货金额",
  28741. "type": "number"
  28742. },
  28743. "artradedate": {
  28744. "description": "自动收货交易日(yyyyMMdd)",
  28745. "type": "string"
  28746. },
  28747. "auditer": {
  28748. "description": "审核人",
  28749. "type": "integer"
  28750. },
  28751. "auditsrc": {
  28752. "description": "更新来源 - 1:管理端 2:终端",
  28753. "type": "integer"
  28754. },
  28755. "audittime": {
  28756. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  28757. "type": "string"
  28758. },
  28759. "audittradedate": {
  28760. "description": "审核交易日(yyyyMMdd)",
  28761. "type": "string"
  28762. },
  28763. "cardnum": {
  28764. "description": "提货人证件号码",
  28765. "type": "string"
  28766. },
  28767. "cardtypeid": {
  28768. "description": "提货人证件类型",
  28769. "type": "integer"
  28770. },
  28771. "checkremark": {
  28772. "description": "审核备注",
  28773. "type": "string"
  28774. },
  28775. "cityid": {
  28776. "description": "市",
  28777. "type": "integer"
  28778. },
  28779. "cityname": {
  28780. "description": "城市名称",
  28781. "type": "string"
  28782. },
  28783. "confirmtime": {
  28784. "description": "取货时间 或 收货时间",
  28785. "type": "string"
  28786. },
  28787. "countryid": {
  28788. "description": "国家",
  28789. "type": "integer"
  28790. },
  28791. "countryname": {
  28792. "description": "国家名称",
  28793. "type": "string"
  28794. },
  28795. "decimalplace": {
  28796. "description": "商品报价小数位",
  28797. "type": "integer"
  28798. },
  28799. "districtid": {
  28800. "description": "地区",
  28801. "type": "integer"
  28802. },
  28803. "districtname": {
  28804. "description": "地区名称",
  28805. "type": "string"
  28806. },
  28807. "enumdicname": {
  28808. "description": "单位名称(提货商品)",
  28809. "type": "string"
  28810. },
  28811. "expresscompany": {
  28812. "description": "物流公司",
  28813. "type": "string"
  28814. },
  28815. "expressnum": {
  28816. "description": "物流单号",
  28817. "type": "string"
  28818. },
  28819. "goodsagreeunit": {
  28820. "description": "交易商品乘数",
  28821. "type": "number"
  28822. },
  28823. "goodscode": {
  28824. "description": "商品代码",
  28825. "type": "string"
  28826. },
  28827. "goodsid": {
  28828. "description": "商品ID",
  28829. "type": "integer"
  28830. },
  28831. "goodsname": {
  28832. "description": "商品名称",
  28833. "type": "string"
  28834. },
  28835. "goodsqty": {
  28836. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  28837. "type": "number"
  28838. },
  28839. "handlestatus": {
  28840. "description": "处理状态",
  28841. "type": "integer"
  28842. },
  28843. "logincode": {
  28844. "description": "账号(登录代码, 有可能为空)",
  28845. "type": "string"
  28846. },
  28847. "marketid": {
  28848. "description": "市场ID",
  28849. "type": "integer"
  28850. },
  28851. "phonenum": {
  28852. "description": "提货人联系方式",
  28853. "type": "string"
  28854. },
  28855. "pickupgoodsagreeunit": {
  28856. "description": "提货商品合约乘数",
  28857. "type": "number"
  28858. },
  28859. "pickupgoodsid": {
  28860. "description": "提货商品ID",
  28861. "type": "string"
  28862. },
  28863. "pickupgoodsname": {
  28864. "description": "提货商品名称",
  28865. "type": "string"
  28866. },
  28867. "pickupgoodsqty": {
  28868. "description": "提货商品手数(数量)",
  28869. "type": "number"
  28870. },
  28871. "pickupgoodsunitid": {
  28872. "description": "单位ID(提货商品)",
  28873. "type": "integer"
  28874. },
  28875. "pickupratio": {
  28876. "description": "提货系数",
  28877. "type": "number"
  28878. },
  28879. "preparedays": {
  28880. "description": "备货期(天)-提货单明细表",
  28881. "type": "integer"
  28882. },
  28883. "provinceid": {
  28884. "description": "省",
  28885. "type": "integer"
  28886. },
  28887. "provincename": {
  28888. "description": "省名称",
  28889. "type": "string"
  28890. },
  28891. "qty": {
  28892. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  28893. "type": "number"
  28894. },
  28895. "qtydecimalplace": {
  28896. "description": "商品数量小数位",
  28897. "type": "integer"
  28898. },
  28899. "recivername": {
  28900. "description": "提货人姓名",
  28901. "type": "string"
  28902. },
  28903. "reqtime": {
  28904. "description": "提货申请时间",
  28905. "type": "string"
  28906. },
  28907. "storeuserid": {
  28908. "description": "门店用户ID (千海金)",
  28909. "type": "integer"
  28910. },
  28911. "storeusername": {
  28912. "description": "门店用户名称",
  28913. "type": "string"
  28914. },
  28915. "takemode": {
  28916. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  28917. "type": "integer"
  28918. },
  28919. "takeorderid": {
  28920. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  28921. "type": "string"
  28922. },
  28923. "takeorderstatus": {
  28924. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  28925. "type": "integer"
  28926. },
  28927. "takeremark": {
  28928. "description": "提货备注",
  28929. "type": "string"
  28930. },
  28931. "tradedate": {
  28932. "description": "交易日(yyyyMMdd)",
  28933. "type": "string"
  28934. },
  28935. "updatetime": {
  28936. "description": "更新时间",
  28937. "type": "string"
  28938. },
  28939. "userid": {
  28940. "description": "用户ID",
  28941. "type": "integer"
  28942. },
  28943. "userinfotype": {
  28944. "description": "客户类型 1-个人 2-企业",
  28945. "type": "integer"
  28946. },
  28947. "username": {
  28948. "description": "用户名称",
  28949. "type": "string"
  28950. }
  28951. }
  28952. },
  28953. "models.QhjUserNodeCfgAndStatus": {
  28954. "type": "object",
  28955. "properties": {
  28956. "agreementcontent": {
  28957. "description": "协议内容",
  28958. "type": "string"
  28959. },
  28960. "agreementid": {
  28961. "description": "协议ID",
  28962. "type": "integer"
  28963. },
  28964. "agreementname": {
  28965. "description": "协议名称",
  28966. "type": "string"
  28967. },
  28968. "agreementno": {
  28969. "description": "协议编号",
  28970. "type": "string"
  28971. },
  28972. "agreementtype": {
  28973. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28974. "type": "integer"
  28975. },
  28976. "agreementversion": {
  28977. "description": "协议版本号",
  28978. "type": "integer"
  28979. },
  28980. "configid": {
  28981. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  28982. "type": "integer"
  28983. },
  28984. "createtime": {
  28985. "description": "创建时间",
  28986. "type": "string"
  28987. },
  28988. "goodsid": {
  28989. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28990. "type": "integer"
  28991. },
  28992. "nodetype": {
  28993. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  28994. "type": "integer"
  28995. },
  28996. "signtimestamp": {
  28997. "description": "签约状态时间戳(最近一次)",
  28998. "type": "string"
  28999. },
  29000. "tradedate": {
  29001. "description": "签约交易日(yyyyMMdd)",
  29002. "type": "string"
  29003. },
  29004. "userid": {
  29005. "description": "客户ID",
  29006. "type": "integer"
  29007. }
  29008. }
  29009. },
  29010. "models.Qhjgoodsex": {
  29011. "type": "object",
  29012. "properties": {
  29013. "canfinance": {
  29014. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  29015. "type": "integer"
  29016. },
  29017. "canregularlybuy": {
  29018. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  29019. "type": "integer"
  29020. },
  29021. "defaulttradeuserid": {
  29022. "description": "默认交易用户ID",
  29023. "type": "integer"
  29024. },
  29025. "deliverygoodsid": {
  29026. "description": "现货品种ID",
  29027. "type": "integer"
  29028. },
  29029. "goodsid": {
  29030. "description": "商品ID(自增ID SEQ_GOODS)",
  29031. "type": "integer"
  29032. },
  29033. "minamount": {
  29034. "description": "最小购买金额",
  29035. "type": "number"
  29036. },
  29037. "regularlybuyminamount": {
  29038. "description": "定投最小金额",
  29039. "type": "number"
  29040. },
  29041. "regularlybuyminqty": {
  29042. "description": "定投最小数量",
  29043. "type": "number"
  29044. },
  29045. "spotgoodsbrandid": {
  29046. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  29047. "type": "integer"
  29048. },
  29049. "visibilityforenterprise": {
  29050. "description": "企业客户是否可见 - 0:不可见 1:可见",
  29051. "type": "integer"
  29052. },
  29053. "visibilityforpersonal": {
  29054. "description": "个人客户是否可见 - 0:不可见 1:可见",
  29055. "type": "integer"
  29056. },
  29057. "wrstandardid": {
  29058. "description": "现货商品ID",
  29059. "type": "integer"
  29060. }
  29061. }
  29062. },
  29063. "models.QueryErrorInfosRsp": {
  29064. "type": "object",
  29065. "required": [
  29066. "errorid"
  29067. ],
  29068. "properties": {
  29069. "description": {
  29070. "description": "异常描述",
  29071. "type": "string"
  29072. },
  29073. "errorcode": {
  29074. "description": "异常代码",
  29075. "type": "string"
  29076. },
  29077. "errorid": {
  29078. "description": "异常ID",
  29079. "type": "integer"
  29080. },
  29081. "modulecode": {
  29082. "description": "所属模块",
  29083. "type": "string"
  29084. },
  29085. "operatecode": {
  29086. "description": "所属操作",
  29087. "type": "string"
  29088. },
  29089. "rownumber": {
  29090. "description": "行号",
  29091. "type": "string"
  29092. }
  29093. }
  29094. },
  29095. "models.QueryHedgeOrderDetailRsp": {
  29096. "type": "object",
  29097. "properties": {
  29098. "accountid": {
  29099. "description": "账户ID",
  29100. "type": "integer"
  29101. },
  29102. "buyorsell": {
  29103. "description": "买卖 - 0:买 1:卖",
  29104. "type": "integer"
  29105. },
  29106. "cancellogincode": {
  29107. "description": "撤单人",
  29108. "type": "string"
  29109. },
  29110. "channelbuildtype": {
  29111. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  29112. "type": "integer"
  29113. },
  29114. "channelinnerorderstatus": {
  29115. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  29116. "type": "integer"
  29117. },
  29118. "channeloperatetype": {
  29119. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  29120. "type": "integer"
  29121. },
  29122. "closetype": {
  29123. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  29124. "type": "integer"
  29125. },
  29126. "curexchangerate": {
  29127. "description": "当前汇率",
  29128. "type": "number"
  29129. },
  29130. "exchangefullname": {
  29131. "description": "外部交易所全称",
  29132. "type": "string"
  29133. },
  29134. "goodscode": {
  29135. "description": "商品代码(内部)",
  29136. "type": "string"
  29137. },
  29138. "goodsid": {
  29139. "description": "商品ID",
  29140. "type": "integer"
  29141. },
  29142. "goodsname": {
  29143. "description": "商品名称",
  29144. "type": "string"
  29145. },
  29146. "marketid": {
  29147. "description": "市场ID",
  29148. "type": "integer"
  29149. },
  29150. "openfreezemargin": {
  29151. "description": "冻结保证金(冻结交易金额)",
  29152. "type": "number"
  29153. },
  29154. "orderid": {
  29155. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29156. "type": "string"
  29157. },
  29158. "orderlogincode": {
  29159. "description": "委托人",
  29160. "type": "string"
  29161. },
  29162. "orderprice": {
  29163. "description": "委托价格(账户)",
  29164. "type": "number"
  29165. },
  29166. "orderqty": {
  29167. "description": "委托数量",
  29168. "type": "integer"
  29169. },
  29170. "ordertime": {
  29171. "description": "委托时间",
  29172. "type": "string"
  29173. },
  29174. "pricemode": {
  29175. "description": "取价方式 - 1:市价 2: 限价",
  29176. "type": "integer"
  29177. },
  29178. "tradedate": {
  29179. "description": "交易日(yyyyMMdd)",
  29180. "type": "string"
  29181. },
  29182. "tradeqty": {
  29183. "description": "成交数量",
  29184. "type": "integer"
  29185. }
  29186. }
  29187. },
  29188. "models.QueryHedgeTradeDetailRsp": {
  29189. "type": "object",
  29190. "properties": {
  29191. "accountid": {
  29192. "description": "账号ID",
  29193. "type": "integer"
  29194. },
  29195. "buyorsell": {
  29196. "description": "方向 - 0:买 1:卖",
  29197. "type": "integer"
  29198. },
  29199. "channelbuildtype": {
  29200. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  29201. "type": "integer"
  29202. },
  29203. "closecharge": {
  29204. "description": "平仓手续费(账户)",
  29205. "type": "number"
  29206. },
  29207. "closecharge2": {
  29208. "description": "平仓手续费(商品)",
  29209. "type": "number"
  29210. },
  29211. "closepl": {
  29212. "description": "平仓盈亏(账户)",
  29213. "type": "number"
  29214. },
  29215. "closepl2": {
  29216. "description": "平仓盈亏(商品)",
  29217. "type": "number"
  29218. },
  29219. "closepl3": {
  29220. "description": "平仓盈亏(账户)(逐笔)",
  29221. "type": "number"
  29222. },
  29223. "closepl4": {
  29224. "description": "平仓盈亏(商品)(逐笔)",
  29225. "type": "number"
  29226. },
  29227. "closetype": {
  29228. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  29229. "type": "integer"
  29230. },
  29231. "curexchangerate": {
  29232. "description": "当前汇率",
  29233. "type": "number"
  29234. },
  29235. "exchangefullname": {
  29236. "description": "外部交易所全称",
  29237. "type": "string"
  29238. },
  29239. "goodscode": {
  29240. "description": "商品代码(内部)",
  29241. "type": "string"
  29242. },
  29243. "goodsid": {
  29244. "description": "商品ID",
  29245. "type": "integer"
  29246. },
  29247. "goodsname": {
  29248. "description": "商品名称",
  29249. "type": "string"
  29250. },
  29251. "marketid": {
  29252. "description": "市场ID",
  29253. "type": "integer"
  29254. },
  29255. "opencharge": {
  29256. "description": "建仓手续费(账户)",
  29257. "type": "number"
  29258. },
  29259. "opencharge2": {
  29260. "description": "建仓手续费(商品)",
  29261. "type": "number"
  29262. },
  29263. "orderid": {
  29264. "description": "委托单号",
  29265. "type": "string"
  29266. },
  29267. "orderlogincode": {
  29268. "description": "委托人",
  29269. "type": "string"
  29270. },
  29271. "tradeamount": {
  29272. "description": "成交金额(账户)",
  29273. "type": "number"
  29274. },
  29275. "tradedate": {
  29276. "description": "交易日(yyyyMMdd)",
  29277. "type": "string"
  29278. },
  29279. "tradeid": {
  29280. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29281. "type": "string"
  29282. },
  29283. "tradeprice": {
  29284. "description": "成交价格",
  29285. "type": "number"
  29286. },
  29287. "tradeqty": {
  29288. "description": "成交数量",
  29289. "type": "integer"
  29290. },
  29291. "tradetime": {
  29292. "description": "成交时间",
  29293. "type": "string"
  29294. },
  29295. "tradetype": {
  29296. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  29297. "type": "integer"
  29298. }
  29299. }
  29300. },
  29301. "models.QuotePrimaryMenu": {
  29302. "type": "object",
  29303. "properties": {
  29304. "Index": {
  29305. "description": "序号",
  29306. "type": "integer"
  29307. },
  29308. "Key": {
  29309. "description": "键名",
  29310. "type": "string"
  29311. },
  29312. "Name": {
  29313. "description": "菜单名称",
  29314. "type": "string"
  29315. },
  29316. "SubMenus": {
  29317. "description": "子菜单",
  29318. "type": "array",
  29319. "items": {
  29320. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  29321. }
  29322. },
  29323. "SubTitleType": {
  29324. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  29325. "type": "integer"
  29326. },
  29327. "TradeModes": {
  29328. "description": "包含市场交易类型",
  29329. "type": "string"
  29330. }
  29331. }
  29332. },
  29333. "models.QuoteSecondaryMenu": {
  29334. "type": "object",
  29335. "properties": {
  29336. "ExExchangeCode": {
  29337. "description": "外部交易所代码",
  29338. "type": "string"
  29339. },
  29340. "ExExchangeID": {
  29341. "description": "外部交易所ID",
  29342. "type": "integer"
  29343. },
  29344. "GoodsGroupIDs": {
  29345. "description": "商品组ID列表",
  29346. "type": "array",
  29347. "items": {
  29348. "type": "integer"
  29349. }
  29350. },
  29351. "Index": {
  29352. "description": "序号",
  29353. "type": "integer"
  29354. },
  29355. "MarketID": {
  29356. "description": "市场ID",
  29357. "type": "integer"
  29358. },
  29359. "MenuTitle": {
  29360. "description": "菜单标题(市场名称或外部交易所名称)",
  29361. "type": "string"
  29362. },
  29363. "TradeMode": {
  29364. "description": "交易模式",
  29365. "type": "integer"
  29366. }
  29367. }
  29368. },
  29369. "models.RoleMenu": {
  29370. "type": "object",
  29371. "properties": {
  29372. "hasright": {
  29373. "description": "是否有权限 0-没有权限 1-有权限",
  29374. "type": "integer"
  29375. },
  29376. "iconame": {
  29377. "description": "菜单图标",
  29378. "type": "string"
  29379. },
  29380. "menutype": {
  29381. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  29382. "type": "integer"
  29383. },
  29384. "parentcode": {
  29385. "description": "上级资源代码",
  29386. "type": "string"
  29387. },
  29388. "remark": {
  29389. "description": "菜单备注",
  29390. "type": "string"
  29391. },
  29392. "resourcecode": {
  29393. "description": "菜单代码",
  29394. "type": "string"
  29395. },
  29396. "resourcelevel": {
  29397. "description": "级别",
  29398. "type": "integer"
  29399. },
  29400. "resourcename": {
  29401. "description": "菜单名称",
  29402. "type": "string"
  29403. },
  29404. "roleid": {
  29405. "description": "角色id",
  29406. "type": "integer"
  29407. },
  29408. "sort": {
  29409. "description": "排序",
  29410. "type": "integer"
  29411. },
  29412. "subMenu": {
  29413. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  29414. "type": "array",
  29415. "items": {
  29416. "$ref": "#/definitions/models.RoleMenu"
  29417. }
  29418. },
  29419. "url": {
  29420. "description": "URL",
  29421. "type": "string"
  29422. },
  29423. "userid": {
  29424. "description": "用户id",
  29425. "type": "integer"
  29426. }
  29427. }
  29428. },
  29429. "models.SearchGoods": {
  29430. "type": "object",
  29431. "required": [
  29432. "goodscode",
  29433. "goodsid",
  29434. "goodsname",
  29435. "marketid",
  29436. "trademode"
  29437. ],
  29438. "properties": {
  29439. "goodscode": {
  29440. "description": "商品代码(内部)",
  29441. "type": "string"
  29442. },
  29443. "goodsid": {
  29444. "description": "商品ID(自增ID SEQ_GOODS)",
  29445. "type": "integer"
  29446. },
  29447. "goodsname": {
  29448. "description": "商品名称",
  29449. "type": "string"
  29450. },
  29451. "marketid": {
  29452. "description": "所属市场ID",
  29453. "type": "integer"
  29454. },
  29455. "marketname": {
  29456. "description": "市场名称",
  29457. "type": "string"
  29458. },
  29459. "trademode": {
  29460. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29461. "type": "integer"
  29462. }
  29463. }
  29464. },
  29465. "models.Systemparam": {
  29466. "type": "object",
  29467. "required": [
  29468. "paramcode"
  29469. ],
  29470. "properties": {
  29471. "loginid": {
  29472. "description": "更新用户账号,登录账号",
  29473. "type": "string"
  29474. },
  29475. "modifyflag": {
  29476. "description": "修改标志0 不允许修改 1 允许修改",
  29477. "type": "integer"
  29478. },
  29479. "paramcode": {
  29480. "description": "参数代码",
  29481. "type": "string"
  29482. },
  29483. "paramname": {
  29484. "description": "参数名",
  29485. "type": "string"
  29486. },
  29487. "paramtype": {
  29488. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  29489. "type": "integer"
  29490. },
  29491. "paramvalue": {
  29492. "description": "参数值",
  29493. "type": "string"
  29494. },
  29495. "paramvalue2": {
  29496. "description": "参数值(CLOB)",
  29497. "type": "string"
  29498. },
  29499. "regexpress": {
  29500. "description": "正则表达式",
  29501. "type": "string"
  29502. },
  29503. "remark": {
  29504. "description": "备注",
  29505. "type": "string"
  29506. },
  29507. "serverip": {
  29508. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  29509. "type": "string"
  29510. },
  29511. "showflag": {
  29512. "description": "是否显示0 不显示 1 显示",
  29513. "type": "integer"
  29514. },
  29515. "updatetime": {
  29516. "description": "更新时间",
  29517. "type": "string"
  29518. },
  29519. "userid": {
  29520. "description": "更新用户ID",
  29521. "type": "integer"
  29522. }
  29523. }
  29524. },
  29525. "models.Szdz3convertconfig": {
  29526. "type": "object",
  29527. "required": [
  29528. "converttype",
  29529. "innergoodsid",
  29530. "outergoodscode"
  29531. ],
  29532. "properties": {
  29533. "canin": {
  29534. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  29535. "type": "integer"
  29536. },
  29537. "canout": {
  29538. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  29539. "type": "integer"
  29540. },
  29541. "converttype": {
  29542. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  29543. "type": "integer"
  29544. },
  29545. "createtime": {
  29546. "description": "创建时间",
  29547. "type": "string"
  29548. },
  29549. "creatorid": {
  29550. "description": "创建人",
  29551. "type": "integer"
  29552. },
  29553. "daymaxvalue": {
  29554. "description": "当日最大转入限制",
  29555. "type": "number"
  29556. },
  29557. "freezedays": {
  29558. "description": "冻结天数 [5:花生米转交易]",
  29559. "type": "integer"
  29560. },
  29561. "innergoodsid": {
  29562. "description": "内部商品ID[交易]",
  29563. "type": "integer"
  29564. },
  29565. "inratio": {
  29566. "description": "目标值",
  29567. "type": "integer"
  29568. },
  29569. "modifierid": {
  29570. "description": "修改人",
  29571. "type": "integer"
  29572. },
  29573. "modifytime": {
  29574. "description": "修改时间",
  29575. "type": "string"
  29576. },
  29577. "outergoodscode": {
  29578. "description": "外部商品代码[JD\\PD]",
  29579. "type": "string"
  29580. },
  29581. "outratio": {
  29582. "description": "源值",
  29583. "type": "integer"
  29584. },
  29585. "pddecimalplace": {
  29586. "description": "PD小数位",
  29587. "type": "integer"
  29588. },
  29589. "timemaxvalue": {
  29590. "description": "单次最大转入限制",
  29591. "type": "number"
  29592. },
  29593. "timeminvalue": {
  29594. "description": "单次最小转入限制",
  29595. "type": "number"
  29596. }
  29597. }
  29598. },
  29599. "models.Szdz3searchwhitelist": {
  29600. "type": "object",
  29601. "required": [
  29602. "userid"
  29603. ],
  29604. "properties": {
  29605. "createtime": {
  29606. "description": "创建时间",
  29607. "type": "string"
  29608. },
  29609. "creatorid": {
  29610. "description": "创建人",
  29611. "type": "integer"
  29612. },
  29613. "modifierid": {
  29614. "description": "修改人",
  29615. "type": "integer"
  29616. },
  29617. "modifytime": {
  29618. "description": "修改时间",
  29619. "type": "string"
  29620. },
  29621. "userid": {
  29622. "description": "用户ID",
  29623. "type": "integer"
  29624. }
  29625. }
  29626. },
  29627. "models.Taaccount": {
  29628. "type": "object",
  29629. "required": [
  29630. "accountid",
  29631. "userid"
  29632. ],
  29633. "properties": {
  29634. "accountflag": {
  29635. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  29636. "type": "integer"
  29637. },
  29638. "accountid": {
  29639. "description": "资金账户ID",
  29640. "type": "integer"
  29641. },
  29642. "accountname": {
  29643. "description": "账户名称",
  29644. "type": "string"
  29645. },
  29646. "balance": {
  29647. "description": "期初余额",
  29648. "type": "number"
  29649. },
  29650. "capitalbalance": {
  29651. "description": "本金余额[外部子账户实际出入金余额]",
  29652. "type": "number"
  29653. },
  29654. "changeflag": {
  29655. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  29656. "type": "integer"
  29657. },
  29658. "changetime": {
  29659. "description": "账户状态变更时间",
  29660. "type": "string"
  29661. },
  29662. "closepl": {
  29663. "description": "今日平仓盈亏",
  29664. "type": "number"
  29665. },
  29666. "creditdecrease": {
  29667. "description": "今日授信减少",
  29668. "type": "number"
  29669. },
  29670. "creditincrease": {
  29671. "description": "今日授信增加",
  29672. "type": "number"
  29673. },
  29674. "curamount": {
  29675. "description": "总市值(从持仓中统计)",
  29676. "type": "number"
  29677. },
  29678. "currencyid": {
  29679. "description": "货币ID",
  29680. "type": "integer"
  29681. },
  29682. "currentbalance": {
  29683. "description": "期末余额",
  29684. "type": "number"
  29685. },
  29686. "freezecharge": {
  29687. "description": "手续费冻结",
  29688. "type": "number"
  29689. },
  29690. "freezemargin": {
  29691. "description": "冻结保证金",
  29692. "type": "number"
  29693. },
  29694. "fromaccountid": {
  29695. "description": "所属上级账户",
  29696. "type": "integer"
  29697. },
  29698. "inamount": {
  29699. "description": "今日入金金额(包括三方入金)",
  29700. "type": "number"
  29701. },
  29702. "ismain": {
  29703. "description": "是否母账号 0:不是母账户 1:是母账户",
  29704. "type": "integer"
  29705. },
  29706. "ismarketaccount": {
  29707. "description": "是否机构接单账号 0:不是 1:是",
  29708. "type": "integer"
  29709. },
  29710. "isreckonaccount": {
  29711. "description": "是否机构分润账号 0:不是 1:是",
  29712. "type": "integer"
  29713. },
  29714. "mortgagecredit": {
  29715. "description": "授信金额",
  29716. "type": "number"
  29717. },
  29718. "orifreezecharge": {
  29719. "description": "期初手续费冻结",
  29720. "type": "number"
  29721. },
  29722. "orifreezemargin": {
  29723. "description": "期初冻结保证金",
  29724. "type": "number"
  29725. },
  29726. "orimortgagecredit": {
  29727. "description": "期初授信金额",
  29728. "type": "number"
  29729. },
  29730. "oriothercredit": {
  29731. "description": "期初其它授信金额",
  29732. "type": "number"
  29733. },
  29734. "oriotherfreezemargin": {
  29735. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  29736. "type": "number"
  29737. },
  29738. "orioutamountfreeze": {
  29739. "description": "期初出金冻结",
  29740. "type": "number"
  29741. },
  29742. "oriusedmargin": {
  29743. "description": "期初占用保证金",
  29744. "type": "number"
  29745. },
  29746. "othercredit": {
  29747. "description": "其它授信金额",
  29748. "type": "number"
  29749. },
  29750. "othercreditdecrease": {
  29751. "description": "今日其它授信减少",
  29752. "type": "number"
  29753. },
  29754. "othercreditincrease": {
  29755. "description": "今日其它授信增加",
  29756. "type": "number"
  29757. },
  29758. "otherfreezemargin": {
  29759. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  29760. "type": "number"
  29761. },
  29762. "otherincome": {
  29763. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  29764. "type": "number"
  29765. },
  29766. "otherpay": {
  29767. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  29768. "type": "number"
  29769. },
  29770. "outamount": {
  29771. "description": "今日出金金额(包括三方出金)",
  29772. "type": "number"
  29773. },
  29774. "outamountfreeze": {
  29775. "description": "出金冻结",
  29776. "type": "number"
  29777. },
  29778. "outthreshold": {
  29779. "description": "出金阈值",
  29780. "type": "number"
  29781. },
  29782. "parentaccountid": {
  29783. "description": "所属根账号",
  29784. "type": "integer"
  29785. },
  29786. "paycharge": {
  29787. "description": "今日手续费支出",
  29788. "type": "number"
  29789. },
  29790. "relatedaccountstatus": {
  29791. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  29792. "type": "integer"
  29793. },
  29794. "relateduserid": {
  29795. "description": "关联用户",
  29796. "type": "integer"
  29797. },
  29798. "remainamount": {
  29799. "description": "融资额(从融资合同中统计)",
  29800. "type": "number"
  29801. },
  29802. "serivcegroup": {
  29803. "description": "服务分组",
  29804. "type": "integer"
  29805. },
  29806. "signstatus": {
  29807. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  29808. "type": "integer"
  29809. },
  29810. "sublevelpath": {
  29811. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  29812. "type": "string"
  29813. },
  29814. "taaccounttype": {
  29815. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  29816. "type": "integer"
  29817. },
  29818. "thirdinamount": {
  29819. "description": "今日三方入金",
  29820. "type": "number"
  29821. },
  29822. "thirdoutamount": {
  29823. "description": "今日三方出金",
  29824. "type": "number"
  29825. },
  29826. "tradestatus": {
  29827. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  29828. "type": "integer"
  29829. },
  29830. "tradestatuschangetime": {
  29831. "description": "激活时间",
  29832. "type": "string"
  29833. },
  29834. "transferamount": {
  29835. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  29836. "type": "number"
  29837. },
  29838. "usedmargin": {
  29839. "description": "占用保证金",
  29840. "type": "number"
  29841. },
  29842. "userid": {
  29843. "description": "用户ID",
  29844. "type": "integer"
  29845. }
  29846. }
  29847. },
  29848. "models.Tablecolumnconfig": {
  29849. "type": "object",
  29850. "required": [
  29851. "autoid"
  29852. ],
  29853. "properties": {
  29854. "aligntype": {
  29855. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  29856. "type": "integer"
  29857. },
  29858. "autoid": {
  29859. "description": "AutoID",
  29860. "type": "integer"
  29861. },
  29862. "columnfield": {
  29863. "description": "列字段",
  29864. "type": "string"
  29865. },
  29866. "columntitle": {
  29867. "description": "列Title",
  29868. "type": "string"
  29869. },
  29870. "columnwidth": {
  29871. "description": "列宽",
  29872. "type": "string"
  29873. },
  29874. "formatterstring": {
  29875. "description": "格式化字符",
  29876. "type": "string"
  29877. },
  29878. "formattertype": {
  29879. "description": "格式化类型",
  29880. "type": "string"
  29881. },
  29882. "groupname": {
  29883. "description": "表头分组名称",
  29884. "type": "string"
  29885. },
  29886. "isshow": {
  29887. "description": "是否显示 - 0:不显示 1:显示",
  29888. "type": "integer"
  29889. },
  29890. "needsummary": {
  29891. "description": "是否需要汇总 - 0:不需要 1:需要",
  29892. "type": "integer"
  29893. },
  29894. "orderindex": {
  29895. "description": "顺序",
  29896. "type": "integer"
  29897. },
  29898. "remark": {
  29899. "description": "备注",
  29900. "type": "string"
  29901. },
  29902. "summarytype": {
  29903. "description": "汇总类型 - 1:加总 2:最后一个",
  29904. "type": "integer"
  29905. },
  29906. "tablekey": {
  29907. "description": "列表Key",
  29908. "type": "string"
  29909. }
  29910. }
  29911. },
  29912. "models.UserCollectConfig": {
  29913. "type": "object",
  29914. "properties": {
  29915. "accountstatus": {
  29916. "description": "账户状态 - 1:正常 2:停用 3:注销",
  29917. "type": "integer"
  29918. },
  29919. "collectaccountname": {
  29920. "description": "收款人账户名称",
  29921. "type": "string"
  29922. },
  29923. "collectaccountno": {
  29924. "description": "收款人账户",
  29925. "type": "string"
  29926. },
  29927. "collectbankname": {
  29928. "description": "收款人开户行",
  29929. "type": "string"
  29930. },
  29931. "collectbranchbankname": {
  29932. "description": "收款人开户支行",
  29933. "type": "string"
  29934. },
  29935. "collectconfigid": {
  29936. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  29937. "type": "string"
  29938. },
  29939. "remark": {
  29940. "description": "备注",
  29941. "type": "string"
  29942. },
  29943. "userid": {
  29944. "description": "收款人用户ID",
  29945. "type": "integer"
  29946. }
  29947. }
  29948. },
  29949. "models.UserReceiveInfo": {
  29950. "type": "object",
  29951. "properties": {
  29952. "address": {
  29953. "description": "提货人详细地址",
  29954. "type": "string"
  29955. },
  29956. "autoid": {
  29957. "description": "AutoID",
  29958. "type": "integer"
  29959. },
  29960. "cardnum": {
  29961. "description": "证件号码(加密存储)",
  29962. "type": "string"
  29963. },
  29964. "cardtypeid": {
  29965. "description": "证件类型",
  29966. "type": "integer"
  29967. },
  29968. "cityid": {
  29969. "description": "市",
  29970. "type": "integer"
  29971. },
  29972. "cityname": {
  29973. "description": "城市名称",
  29974. "type": "string"
  29975. },
  29976. "countryid": {
  29977. "description": "国家",
  29978. "type": "integer"
  29979. },
  29980. "countryname": {
  29981. "description": "国家名称",
  29982. "type": "string"
  29983. },
  29984. "districtid": {
  29985. "description": "地区",
  29986. "type": "integer"
  29987. },
  29988. "districtname": {
  29989. "description": "地区名称",
  29990. "type": "string"
  29991. },
  29992. "hasencrypt": {
  29993. "description": "数据是否已加密 - 0:未加密 1:已加密",
  29994. "type": "integer"
  29995. },
  29996. "isdefault": {
  29997. "description": "是否默认地址 - 0:否 1:是",
  29998. "type": "integer"
  29999. },
  30000. "phonenum": {
  30001. "description": "提货人联系方式(加密存储)",
  30002. "type": "string"
  30003. },
  30004. "provinceid": {
  30005. "description": "省",
  30006. "type": "integer"
  30007. },
  30008. "provincename": {
  30009. "description": "省名称",
  30010. "type": "string"
  30011. },
  30012. "receivername": {
  30013. "description": "提货人姓名",
  30014. "type": "string"
  30015. },
  30016. "takeremark": {
  30017. "description": "提货备注",
  30018. "type": "string"
  30019. },
  30020. "userid": {
  30021. "description": "用户ID",
  30022. "type": "integer"
  30023. }
  30024. }
  30025. },
  30026. "models.Useraccount": {
  30027. "type": "object",
  30028. "required": [
  30029. "userid"
  30030. ],
  30031. "properties": {
  30032. "accountname": {
  30033. "description": "账户名称(机构名称)",
  30034. "type": "string"
  30035. },
  30036. "accountstatus": {
  30037. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30038. "type": "integer"
  30039. },
  30040. "applysrc": {
  30041. "description": "申请来源 - 1:管理端 2:终端",
  30042. "type": "integer"
  30043. },
  30044. "auditremark": {
  30045. "description": "审核备注",
  30046. "type": "string"
  30047. },
  30048. "auditsrc": {
  30049. "description": "审核来源 - 1:管理端 2:终端",
  30050. "type": "integer"
  30051. },
  30052. "audittime": {
  30053. "description": "审核时间",
  30054. "type": "string"
  30055. },
  30056. "audituserid": {
  30057. "description": "审核人",
  30058. "type": "integer"
  30059. },
  30060. "broker": {
  30061. "description": "所属经纪人ID",
  30062. "type": "integer"
  30063. },
  30064. "canceltime": {
  30065. "description": "销户时间",
  30066. "type": "string"
  30067. },
  30068. "canceluserid": {
  30069. "description": "销户人",
  30070. "type": "integer"
  30071. },
  30072. "canrecommend": {
  30073. "description": "是否可推荐 - 0:不可 1;可",
  30074. "type": "integer"
  30075. },
  30076. "createtime": {
  30077. "description": "创建时间",
  30078. "type": "string"
  30079. },
  30080. "creatorid": {
  30081. "description": "创建人",
  30082. "type": "integer"
  30083. },
  30084. "hasauth": {
  30085. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  30086. "type": "integer"
  30087. },
  30088. "isanonymous": {
  30089. "description": "是否匿名下单 - 0:否 1:是",
  30090. "type": "integer"
  30091. },
  30092. "maxinvestornum": {
  30093. "description": "最大用户数(经纪会员下投资者个数)",
  30094. "type": "integer"
  30095. },
  30096. "memberuserid": {
  30097. "description": "所属会员ID",
  30098. "type": "integer"
  30099. },
  30100. "modifierid": {
  30101. "description": "修改人",
  30102. "type": "integer"
  30103. },
  30104. "modifyremark": {
  30105. "description": "变更备注",
  30106. "type": "string"
  30107. },
  30108. "modifystatus": {
  30109. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  30110. "type": "integer"
  30111. },
  30112. "modifytime": {
  30113. "description": "修改时间",
  30114. "type": "string"
  30115. },
  30116. "parenttopuser": {
  30117. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  30118. "type": "string"
  30119. },
  30120. "parentuserid": {
  30121. "description": "所属机构ID",
  30122. "type": "integer"
  30123. },
  30124. "reckonaccountid": {
  30125. "description": "默认结算资金账号ID(机构分润使用) 作废",
  30126. "type": "integer"
  30127. },
  30128. "refercount": {
  30129. "description": "推荐总人数",
  30130. "type": "integer"
  30131. },
  30132. "refereeuserid": {
  30133. "description": "推荐人ID",
  30134. "type": "integer"
  30135. },
  30136. "refernum": {
  30137. "description": "推荐码",
  30138. "type": "string"
  30139. },
  30140. "rootuserid": {
  30141. "description": "根用户ID",
  30142. "type": "integer"
  30143. },
  30144. "subaccountlevel": {
  30145. "description": "子账户层数",
  30146. "type": "integer"
  30147. },
  30148. "subarealevelpath": {
  30149. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  30150. "type": "string"
  30151. },
  30152. "userid": {
  30153. "description": "用户ID",
  30154. "type": "integer"
  30155. },
  30156. "usertype": {
  30157. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30158. "type": "integer"
  30159. }
  30160. }
  30161. },
  30162. "models.Userfavoritegoods": {
  30163. "type": "object",
  30164. "required": [
  30165. "goodsid"
  30166. ],
  30167. "properties": {
  30168. "goodsid": {
  30169. "description": "商品ID",
  30170. "type": "integer"
  30171. }
  30172. }
  30173. },
  30174. "models.Userinfo": {
  30175. "type": "object",
  30176. "required": [
  30177. "userid"
  30178. ],
  30179. "properties": {
  30180. "address": {
  30181. "description": "地址",
  30182. "type": "string"
  30183. },
  30184. "attachment1": {
  30185. "description": "附件1",
  30186. "type": "string"
  30187. },
  30188. "attachment2": {
  30189. "description": "附件2",
  30190. "type": "string"
  30191. },
  30192. "bankaccount": {
  30193. "description": "银行帐号 (加密存储)",
  30194. "type": "string"
  30195. },
  30196. "bankaccountname": {
  30197. "description": "收款人名称",
  30198. "type": "string"
  30199. },
  30200. "bankcardfrontphotourl": {
  30201. "description": "银行卡正面照地址",
  30202. "type": "string"
  30203. },
  30204. "bankid": {
  30205. "description": "银行编码",
  30206. "type": "string"
  30207. },
  30208. "bankname": {
  30209. "description": "银行名称",
  30210. "type": "string"
  30211. },
  30212. "biznature": {
  30213. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  30214. "type": "integer"
  30215. },
  30216. "bizscope": {
  30217. "description": "企业经营范围(企业)",
  30218. "type": "string"
  30219. },
  30220. "cardbackphotourl": {
  30221. "description": "证件背面图片地址",
  30222. "type": "string"
  30223. },
  30224. "cardfrontphotourl": {
  30225. "description": "证件正面图片地址",
  30226. "type": "string"
  30227. },
  30228. "cardnum": {
  30229. "description": "证件号码(加密存储)",
  30230. "type": "string"
  30231. },
  30232. "cardtypeid": {
  30233. "description": "证件类型ID",
  30234. "type": "integer"
  30235. },
  30236. "cityid": {
  30237. "description": "市",
  30238. "type": "integer"
  30239. },
  30240. "company": {
  30241. "description": "公司(个人)",
  30242. "type": "string"
  30243. },
  30244. "contactname": {
  30245. "description": "联系人",
  30246. "type": "string"
  30247. },
  30248. "countryid": {
  30249. "description": "国家",
  30250. "type": "integer"
  30251. },
  30252. "createtime": {
  30253. "description": "创建时间",
  30254. "type": "string"
  30255. },
  30256. "creatorid": {
  30257. "description": "创建人",
  30258. "type": "integer"
  30259. },
  30260. "customername": {
  30261. "description": "客户名称(企业名称)",
  30262. "type": "string"
  30263. },
  30264. "districtid": {
  30265. "description": "地区",
  30266. "type": "integer"
  30267. },
  30268. "email": {
  30269. "description": "邮件(加密存储)",
  30270. "type": "string"
  30271. },
  30272. "fax": {
  30273. "description": "传真(加密存储)",
  30274. "type": "string"
  30275. },
  30276. "halfbodyphotourl": {
  30277. "description": "半身照地址",
  30278. "type": "string"
  30279. },
  30280. "hasencrypt": {
  30281. "description": "数据是否已加密 - 0:未加密 1:已加密",
  30282. "type": "integer"
  30283. },
  30284. "headurl": {
  30285. "description": "头像地址",
  30286. "type": "string"
  30287. },
  30288. "legalcardbackphotourl": {
  30289. "description": "法人身份证背面照地址",
  30290. "type": "string"
  30291. },
  30292. "legalcardfrontphotourl": {
  30293. "description": "法人身份证正面照地址",
  30294. "type": "string"
  30295. },
  30296. "legalpersonname": {
  30297. "description": "法人姓名(企业)",
  30298. "type": "string"
  30299. },
  30300. "mobile": {
  30301. "description": "手机号码(加密存储)",
  30302. "type": "string"
  30303. },
  30304. "mobile2": {
  30305. "description": "手机号码[明文-尚志]",
  30306. "type": "string"
  30307. },
  30308. "modifierid": {
  30309. "description": "修改人",
  30310. "type": "integer"
  30311. },
  30312. "modifiertime": {
  30313. "description": "修改时间",
  30314. "type": "string"
  30315. },
  30316. "needinvoice": {
  30317. "description": "是否需要发票 - 0:不需要 1:需要",
  30318. "type": "integer"
  30319. },
  30320. "nickname": {
  30321. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  30322. "type": "string"
  30323. },
  30324. "openmode": {
  30325. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  30326. "type": "integer"
  30327. },
  30328. "otherurl": {
  30329. "description": "其它图片地址[使用分号分隔]",
  30330. "type": "string"
  30331. },
  30332. "postalcode": {
  30333. "description": "邮政编码",
  30334. "type": "string"
  30335. },
  30336. "provinceid": {
  30337. "description": "省",
  30338. "type": "integer"
  30339. },
  30340. "qq": {
  30341. "description": "QQ(加密存储",
  30342. "type": "string"
  30343. },
  30344. "remark": {
  30345. "description": "备注",
  30346. "type": "string"
  30347. },
  30348. "sex": {
  30349. "description": "用户性别 0: 女 1: 男",
  30350. "type": "integer"
  30351. },
  30352. "signpdfurl": {
  30353. "description": "签约pdf文件",
  30354. "type": "string"
  30355. },
  30356. "telphone": {
  30357. "description": "联系电话(加密存储)",
  30358. "type": "string"
  30359. },
  30360. "userid": {
  30361. "description": "用户ID",
  30362. "type": "integer"
  30363. },
  30364. "userinfotype": {
  30365. "description": "用户信息类型 - 1:个人 2:企业",
  30366. "type": "integer"
  30367. },
  30368. "userstatus": {
  30369. "description": "用户状态 - 1:正常 2:注销",
  30370. "type": "integer"
  30371. },
  30372. "usertype": {
  30373. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  30374. "type": "integer"
  30375. },
  30376. "wechat": {
  30377. "description": "微信(加密存储)",
  30378. "type": "string"
  30379. },
  30380. "wskhinfo": {
  30381. "description": "开户申请信息(JSON)",
  30382. "type": "string"
  30383. }
  30384. }
  30385. },
  30386. "models.WRSConverTDetail": {
  30387. "type": "object",
  30388. "properties": {
  30389. "convertratio": {
  30390. "description": "套保系数",
  30391. "type": "number"
  30392. },
  30393. "deliverygoodscode": {
  30394. "description": "现货商品代码",
  30395. "type": "string"
  30396. },
  30397. "deliverygoodsid": {
  30398. "description": "现货品种ID",
  30399. "type": "integer"
  30400. },
  30401. "deliverygoodsname": {
  30402. "description": "现货商品名称",
  30403. "type": "string"
  30404. },
  30405. "enumdicname": {
  30406. "description": "单位名称",
  30407. "type": "string"
  30408. },
  30409. "goodsunitid": {
  30410. "description": "套保品种单位id",
  30411. "type": "integer"
  30412. },
  30413. "middlegoodscode": {
  30414. "description": "套保品种代码",
  30415. "type": "string"
  30416. },
  30417. "middlegoodsid": {
  30418. "description": "套保品种ID",
  30419. "type": "integer"
  30420. },
  30421. "middlegoodsname": {
  30422. "description": "套保品种名称",
  30423. "type": "string"
  30424. },
  30425. "modifytime": {
  30426. "description": "修改时间",
  30427. "type": "string"
  30428. },
  30429. "wrstandardid": {
  30430. "description": "品类ID",
  30431. "type": "integer"
  30432. }
  30433. }
  30434. },
  30435. "models.WRStandardInfo": {
  30436. "type": "object",
  30437. "required": [
  30438. "wrstandardid"
  30439. ],
  30440. "properties": {
  30441. "areauserid": {
  30442. "description": "所属机构",
  30443. "type": "integer"
  30444. },
  30445. "convertfactor": {
  30446. "description": "标仓系数",
  30447. "type": "number"
  30448. },
  30449. "createtime": {
  30450. "description": "创建时间",
  30451. "type": "string"
  30452. },
  30453. "creatorid": {
  30454. "description": "创建人",
  30455. "type": "integer"
  30456. },
  30457. "deliverygoodsid": {
  30458. "description": "品种ID",
  30459. "type": "integer"
  30460. },
  30461. "deliverygoodsname": {
  30462. "description": "交割商品名称",
  30463. "type": "string"
  30464. },
  30465. "factoryitemjson": {
  30466. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  30467. "type": "string"
  30468. },
  30469. "isvalid": {
  30470. "description": "是否有效 - 0:无效 1:有效",
  30471. "type": "integer"
  30472. },
  30473. "minivalue": {
  30474. "description": "最小变动值",
  30475. "type": "integer"
  30476. },
  30477. "minivaluedp": {
  30478. "description": "最小变动值小数位",
  30479. "type": "integer"
  30480. },
  30481. "realminivalue": {
  30482. "description": "实际最小变动值",
  30483. "type": "integer"
  30484. },
  30485. "realminivaluedp": {
  30486. "description": "实际最小变动值小数位",
  30487. "type": "integer"
  30488. },
  30489. "remark": {
  30490. "description": "备注",
  30491. "type": "string"
  30492. },
  30493. "unitid": {
  30494. "description": "单位ID",
  30495. "type": "integer"
  30496. },
  30497. "unitname": {
  30498. "description": "单位",
  30499. "type": "string"
  30500. },
  30501. "updatetime": {
  30502. "description": "更新时间",
  30503. "type": "string"
  30504. },
  30505. "updatorid": {
  30506. "description": "更新人",
  30507. "type": "integer"
  30508. },
  30509. "wrsstatus": {
  30510. "description": "状态 - 作废 - 0:未激活 1:正常",
  30511. "type": "integer"
  30512. },
  30513. "wrstandardcode": {
  30514. "description": "现货品类代码",
  30515. "type": "string"
  30516. },
  30517. "wrstandardid": {
  30518. "description": "现货品类ID(SEQ_WRSTANDARD)",
  30519. "type": "integer"
  30520. },
  30521. "wrstandardname": {
  30522. "description": "现货品类名称",
  30523. "type": "string"
  30524. }
  30525. }
  30526. },
  30527. "models.WRTradeBargainApply": {
  30528. "type": "object",
  30529. "properties": {
  30530. "accountid": {
  30531. "description": "摘牌资金账号",
  30532. "type": "integer"
  30533. },
  30534. "applyprice": {
  30535. "description": "申请价格(议价价格)",
  30536. "type": "string"
  30537. },
  30538. "applyqty": {
  30539. "description": "摘牌数量(议价数量)",
  30540. "type": "number"
  30541. },
  30542. "applyremark": {
  30543. "description": "申请备注",
  30544. "type": "string"
  30545. },
  30546. "applystatus": {
  30547. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  30548. "type": "integer"
  30549. },
  30550. "applytime": {
  30551. "description": "申请时间(议价时间)",
  30552. "type": "string"
  30553. },
  30554. "buyorsell": {
  30555. "description": "买卖(挂牌类型) - 0:买 1:卖",
  30556. "type": "integer"
  30557. },
  30558. "confirmremark": {
  30559. "description": "确认备注",
  30560. "type": "string"
  30561. },
  30562. "confirmtime": {
  30563. "description": "确认时间",
  30564. "type": "string"
  30565. },
  30566. "confirmuserid": {
  30567. "description": "确认人",
  30568. "type": "integer"
  30569. },
  30570. "deliverygoodscode": {
  30571. "description": "品种代码",
  30572. "type": "string"
  30573. },
  30574. "deliverygoodsid": {
  30575. "description": "品种ID",
  30576. "type": "integer"
  30577. },
  30578. "deliverygoodsname": {
  30579. "description": "品种名称",
  30580. "type": "string"
  30581. },
  30582. "deliverymonth": {
  30583. "description": "交收月",
  30584. "type": "string"
  30585. },
  30586. "enumdicname": {
  30587. "description": "单位名称",
  30588. "type": "string"
  30589. },
  30590. "fixedprice": {
  30591. "description": "挂牌价格",
  30592. "type": "number"
  30593. },
  30594. "handlestatus": {
  30595. "description": "处理状态",
  30596. "type": "integer"
  30597. },
  30598. "marginvalue": {
  30599. "description": "履约保证金比例",
  30600. "type": "number"
  30601. },
  30602. "marketid": {
  30603. "description": "市场ID",
  30604. "type": "integer"
  30605. },
  30606. "matchaccountid": {
  30607. "description": "挂牌方资金账号",
  30608. "type": "integer"
  30609. },
  30610. "matchuserid": {
  30611. "description": "挂牌方用户id",
  30612. "type": "integer"
  30613. },
  30614. "matchusername": {
  30615. "description": "挂牌方用户名称(已脱敏)",
  30616. "type": "string"
  30617. },
  30618. "minivalue": {
  30619. "description": "现货商品最小变动值",
  30620. "type": "integer"
  30621. },
  30622. "optioncompare": {
  30623. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30624. "type": "string"
  30625. },
  30626. "orderqty": {
  30627. "description": "挂牌数量",
  30628. "type": "integer"
  30629. },
  30630. "refprice": {
  30631. "description": "参考价格",
  30632. "type": "string"
  30633. },
  30634. "retcode": {
  30635. "description": "委托返回代码",
  30636. "type": "integer"
  30637. },
  30638. "templatename": {
  30639. "description": "履约方式(履约模板名称)",
  30640. "type": "string"
  30641. },
  30642. "tradedate": {
  30643. "description": "交易日(yyyyMMdd)",
  30644. "type": "string"
  30645. },
  30646. "userid": {
  30647. "description": "摘牌人用户ID(议价人ID)",
  30648. "type": "integer"
  30649. },
  30650. "username": {
  30651. "description": "议价人名字(已脱敏)",
  30652. "type": "string"
  30653. },
  30654. "validtime": {
  30655. "description": "有效期限",
  30656. "type": "string"
  30657. },
  30658. "warehouseid": {
  30659. "description": "仓库ID",
  30660. "type": "integer"
  30661. },
  30662. "warehousename": {
  30663. "description": "仓库名称",
  30664. "type": "string"
  30665. },
  30666. "wrbargainid": {
  30667. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  30668. "type": "string"
  30669. },
  30670. "wrfactortypeid": {
  30671. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30672. "type": "string"
  30673. },
  30674. "wrfactortypename": {
  30675. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30676. "type": "string"
  30677. },
  30678. "wrstandardcode": {
  30679. "description": "现货商品代码",
  30680. "type": "string"
  30681. },
  30682. "wrstandardid": {
  30683. "description": "现货商品ID",
  30684. "type": "integer"
  30685. },
  30686. "wrstandardname": {
  30687. "description": "商品名称",
  30688. "type": "string"
  30689. },
  30690. "wrtradeorderid": {
  30691. "description": "关联委托单ID",
  30692. "type": "string"
  30693. },
  30694. "wrtypename": {
  30695. "description": "商品",
  30696. "type": "string"
  30697. }
  30698. }
  30699. },
  30700. "models.Warehouseinfo": {
  30701. "type": "object",
  30702. "required": [
  30703. "autoid",
  30704. "warehousecode"
  30705. ],
  30706. "properties": {
  30707. "address": {
  30708. "description": "详细地址",
  30709. "type": "string"
  30710. },
  30711. "areauserid": {
  30712. "description": "所属机构",
  30713. "type": "integer"
  30714. },
  30715. "autoid": {
  30716. "description": "自增ID",
  30717. "type": "integer"
  30718. },
  30719. "cityid": {
  30720. "description": "市",
  30721. "type": "integer"
  30722. },
  30723. "contactname": {
  30724. "description": "联系人",
  30725. "type": "string"
  30726. },
  30727. "contactnum": {
  30728. "description": "联系电话",
  30729. "type": "string"
  30730. },
  30731. "countryid": {
  30732. "description": "国家",
  30733. "type": "integer"
  30734. },
  30735. "createtime": {
  30736. "description": "创建时间",
  30737. "type": "string"
  30738. },
  30739. "districtid": {
  30740. "description": "区",
  30741. "type": "integer"
  30742. },
  30743. "hasvideo": {
  30744. "description": "是否有视频 - 0:无 1:有",
  30745. "type": "integer"
  30746. },
  30747. "provinceid": {
  30748. "description": "省",
  30749. "type": "integer"
  30750. },
  30751. "remark": {
  30752. "description": "审核备注",
  30753. "type": "string"
  30754. },
  30755. "videourl": {
  30756. "description": "视频地址",
  30757. "type": "string"
  30758. },
  30759. "warehousecode": {
  30760. "description": "仓库代码",
  30761. "type": "string"
  30762. },
  30763. "warehousename": {
  30764. "description": "仓库名称",
  30765. "type": "string"
  30766. },
  30767. "warehousestatus": {
  30768. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  30769. "type": "integer"
  30770. },
  30771. "warehousetype": {
  30772. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  30773. "type": "integer"
  30774. }
  30775. }
  30776. },
  30777. "models.WrAverageTradePrice": {
  30778. "type": "object",
  30779. "properties": {
  30780. "averageprice": {
  30781. "description": "成交均价",
  30782. "type": "number"
  30783. },
  30784. "tradedate": {
  30785. "description": "交易日yyyymm",
  30786. "type": "string"
  30787. }
  30788. }
  30789. },
  30790. "models.WrBsGoodsInfo": {
  30791. "type": "object",
  30792. "properties": {
  30793. "buyorsell": {
  30794. "description": "买卖方向 0-买 1-卖",
  30795. "type": "integer"
  30796. },
  30797. "goodsid": {
  30798. "description": "交易合约ID",
  30799. "type": "integer"
  30800. },
  30801. "lstitem": {
  30802. "description": "商品信息项",
  30803. "type": "array",
  30804. "items": {
  30805. "$ref": "#/definitions/models.WrTypeItem"
  30806. }
  30807. },
  30808. "lststep": {
  30809. "description": "履约规则",
  30810. "type": "array",
  30811. "items": {
  30812. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  30813. }
  30814. }
  30815. }
  30816. },
  30817. "models.WrBuybackDetail": {
  30818. "type": "object",
  30819. "properties": {
  30820. "buybackamount": {
  30821. "description": "回购金额",
  30822. "type": "number"
  30823. },
  30824. "buybackqty": {
  30825. "description": "回购数量",
  30826. "type": "number"
  30827. },
  30828. "buybackreleasemargin": {
  30829. "description": "回购释放保证金",
  30830. "type": "number"
  30831. },
  30832. "buybacktime": {
  30833. "description": "回购时间",
  30834. "type": "string"
  30835. },
  30836. "errordesc": {
  30837. "description": "错误描述",
  30838. "type": "string"
  30839. },
  30840. "handlestatus": {
  30841. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  30842. "type": "integer"
  30843. },
  30844. "relatedwrid": {
  30845. "description": "关联仓单ID",
  30846. "type": "integer"
  30847. },
  30848. "scfcontractid": {
  30849. "description": "SCF合同ID",
  30850. "type": "string"
  30851. },
  30852. "scfwrbuybackid": {
  30853. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  30854. "type": "integer"
  30855. },
  30856. "tradedate": {
  30857. "description": "交易日(yyyyMMdd)",
  30858. "type": "string"
  30859. }
  30860. }
  30861. },
  30862. "models.WrDeliveryAvalidHoldLB": {
  30863. "type": "object",
  30864. "properties": {
  30865. "accountid": {
  30866. "description": "资金账号",
  30867. "type": "integer"
  30868. },
  30869. "avalidqty": {
  30870. "description": "数量(可点选数量)",
  30871. "type": "number"
  30872. },
  30873. "deliverygoodsid": {
  30874. "description": "品种id",
  30875. "type": "integer"
  30876. },
  30877. "enumdicname": {
  30878. "description": "单位名称",
  30879. "type": "string"
  30880. },
  30881. "goodsid": {
  30882. "description": "x合约商品id",
  30883. "type": "integer"
  30884. },
  30885. "ladingbillid": {
  30886. "description": "提单id",
  30887. "type": "string"
  30888. },
  30889. "pgoodscode": {
  30890. "description": "p商品代码(点价合约)",
  30891. "type": "string"
  30892. },
  30893. "pgoodsid": {
  30894. "description": "p商品id(点价合约)",
  30895. "type": "integer"
  30896. },
  30897. "pgoodsname": {
  30898. "description": "p商品名称(点价合约)",
  30899. "type": "string"
  30900. },
  30901. "pricemove": {
  30902. "description": "升贴水",
  30903. "type": "number"
  30904. },
  30905. "subnum": {
  30906. "description": "提单子id",
  30907. "type": "integer"
  30908. },
  30909. "userid": {
  30910. "description": "用户id",
  30911. "type": "integer"
  30912. },
  30913. "username": {
  30914. "description": "仓单持有人",
  30915. "type": "string"
  30916. },
  30917. "warehousecode": {
  30918. "description": "仓库代码",
  30919. "type": "string"
  30920. },
  30921. "warehouseid": {
  30922. "description": "仓库id",
  30923. "type": "integer"
  30924. },
  30925. "warehousename": {
  30926. "description": "仓库名称",
  30927. "type": "string"
  30928. },
  30929. "wrfactortypeid": {
  30930. "description": "仓单要素id",
  30931. "type": "string"
  30932. },
  30933. "wrstandardcode": {
  30934. "description": "品代码",
  30935. "type": "string"
  30936. },
  30937. "wrstandardid": {
  30938. "description": "品类d",
  30939. "type": "integer"
  30940. },
  30941. "wrstandardname": {
  30942. "description": "品类名称",
  30943. "type": "string"
  30944. },
  30945. "wrtypename": {
  30946. "description": "商品",
  30947. "type": "string"
  30948. },
  30949. "xgoodscode": {
  30950. "description": "x合约代码",
  30951. "type": "string"
  30952. },
  30953. "xgoodsname": {
  30954. "description": "x合约名称",
  30955. "type": "string"
  30956. }
  30957. }
  30958. },
  30959. "models.WrDeliveryDetail": {
  30960. "type": "object",
  30961. "properties": {
  30962. "accountid": {
  30963. "description": "账号ID",
  30964. "type": "integer"
  30965. },
  30966. "averageprice": {
  30967. "description": "交割均价 = 交割金额 / 交割数量",
  30968. "type": "number"
  30969. },
  30970. "buyorsell": {
  30971. "description": "方向 - 0:买 1:卖",
  30972. "type": "integer"
  30973. },
  30974. "deliveryamount": {
  30975. "description": "货款金额(X总货款+P总货款)",
  30976. "type": "number"
  30977. },
  30978. "deliveryid": {
  30979. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  30980. "type": "string"
  30981. },
  30982. "deliveryorderid": {
  30983. "description": "申报单号",
  30984. "type": "string"
  30985. },
  30986. "deliverypricemove": {
  30987. "description": "升贴水(升贴水总额)",
  30988. "type": "number"
  30989. },
  30990. "deliveryqty": {
  30991. "description": "交收数量(点选数量)",
  30992. "type": "number"
  30993. },
  30994. "deliverystatus": {
  30995. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  30996. "type": "integer"
  30997. },
  30998. "deliverytime": {
  30999. "description": "交割时间",
  31000. "type": "string"
  31001. },
  31002. "deliverytotalamount": {
  31003. "description": "交收金额",
  31004. "type": "number"
  31005. },
  31006. "enumdicname": {
  31007. "description": "单位名称",
  31008. "type": "string"
  31009. },
  31010. "matchaccountid": {
  31011. "description": "对手账号ID",
  31012. "type": "integer"
  31013. },
  31014. "matchusername": {
  31015. "description": "对手方名称(仓单持有人)",
  31016. "type": "string"
  31017. },
  31018. "p1goodsremainamount": {
  31019. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  31020. "type": "number"
  31021. },
  31022. "pdeliverycloseqty": {
  31023. "description": "p合约平仓数量",
  31024. "type": "number"
  31025. },
  31026. "pdeliveryprice": {
  31027. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  31028. "type": "number"
  31029. },
  31030. "pgoodscode": {
  31031. "description": "商品代码",
  31032. "type": "string"
  31033. },
  31034. "pgoodsid": {
  31035. "description": "p点选合约id",
  31036. "type": "integer"
  31037. },
  31038. "pgoodsname": {
  31039. "description": "商品名称",
  31040. "type": "string"
  31041. },
  31042. "ppricemode": {
  31043. "description": "点价价格方式 - 1:商品价 2:固定值",
  31044. "type": "integer"
  31045. },
  31046. "tradedate": {
  31047. "description": "交易日(yyyymmdd)",
  31048. "type": "string"
  31049. },
  31050. "userid": {
  31051. "description": "用户id",
  31052. "type": "integer"
  31053. },
  31054. "username": {
  31055. "description": "用户名称",
  31056. "type": "string"
  31057. },
  31058. "warehousename": {
  31059. "description": "仓库名称",
  31060. "type": "string"
  31061. },
  31062. "wrfactortypeid": {
  31063. "description": "仓单要素类型ID",
  31064. "type": "string"
  31065. },
  31066. "wrtypename": {
  31067. "description": "商品",
  31068. "type": "string"
  31069. },
  31070. "xdeliverycloseqty": {
  31071. "description": "合约数量",
  31072. "type": "number"
  31073. },
  31074. "xgoodsamount": {
  31075. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  31076. "type": "number"
  31077. },
  31078. "xgoodscode": {
  31079. "description": "商品代码",
  31080. "type": "string"
  31081. },
  31082. "xgoodsid": {
  31083. "description": "x交易合约ID",
  31084. "type": "integer"
  31085. },
  31086. "xgoodsname": {
  31087. "description": "商品名称",
  31088. "type": "string"
  31089. }
  31090. }
  31091. },
  31092. "models.WrFAProductDetail": {
  31093. "type": "object",
  31094. "properties": {
  31095. "accountid": {
  31096. "description": "资金账号",
  31097. "type": "integer"
  31098. },
  31099. "areauserid": {
  31100. "description": "金融机构ID",
  31101. "type": "integer"
  31102. },
  31103. "financingdays": {
  31104. "description": "天数(天)",
  31105. "type": "integer"
  31106. },
  31107. "interestminlen": {
  31108. "description": "最小起息天数",
  31109. "type": "integer"
  31110. },
  31111. "interestrate": {
  31112. "description": "利率",
  31113. "type": "number"
  31114. },
  31115. "interestratemode": {
  31116. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  31117. "type": "integer"
  31118. },
  31119. "interestsettlemode": {
  31120. "description": "结息方式 - 1:按日结息 3:按月结息",
  31121. "type": "integer"
  31122. },
  31123. "interestsettlevalue": {
  31124. "description": "结息方式值",
  31125. "type": "integer"
  31126. },
  31127. "isautoloan": {
  31128. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  31129. "type": "integer"
  31130. },
  31131. "loantag": {
  31132. "description": "放款标识: \"放款快\" 或者为空",
  31133. "type": "string"
  31134. },
  31135. "marginratio": {
  31136. "description": "保证金比率质押率 - [仓单质押]",
  31137. "type": "number"
  31138. },
  31139. "productdetailid": {
  31140. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  31141. "type": "integer"
  31142. },
  31143. "productid": {
  31144. "description": "金融产品ID",
  31145. "type": "integer"
  31146. },
  31147. "productname": {
  31148. "description": "产品名称",
  31149. "type": "string"
  31150. },
  31151. "updatetime": {
  31152. "description": "更新时间",
  31153. "type": "string"
  31154. },
  31155. "username": {
  31156. "description": "融出方",
  31157. "type": "string"
  31158. }
  31159. }
  31160. },
  31161. "models.WrFactorTypeInfo": {
  31162. "type": "object",
  31163. "properties": {
  31164. "deliverygoodscode": {
  31165. "description": "品种代码",
  31166. "type": "string"
  31167. },
  31168. "deliverygoodsname": {
  31169. "description": "品种名称",
  31170. "type": "string"
  31171. },
  31172. "dgfactoryitemid": {
  31173. "description": "选择项id",
  31174. "type": "integer"
  31175. },
  31176. "dgfactoryitemtypeid": {
  31177. "description": "要素选择项ID (1-仓库 2-品牌)",
  31178. "type": "integer"
  31179. },
  31180. "dgfactoryitemvalue": {
  31181. "description": "要素项值",
  31182. "type": "string"
  31183. },
  31184. "itemtypename": {
  31185. "description": "要素项名称",
  31186. "type": "string"
  31187. },
  31188. "optioncompare": {
  31189. "description": "选择比较串",
  31190. "type": "string"
  31191. },
  31192. "warehouseid": {
  31193. "description": "仓库id",
  31194. "type": "integer"
  31195. },
  31196. "wrfactortypeid": {
  31197. "description": "仓单要素ID",
  31198. "type": "string"
  31199. },
  31200. "wrfactortypename": {
  31201. "description": "要素名称",
  31202. "type": "string"
  31203. },
  31204. "wrfactortypename2": {
  31205. "description": "要素名称(不含仓库)",
  31206. "type": "string"
  31207. },
  31208. "wrstandardcode": {
  31209. "description": "品类代码",
  31210. "type": "string"
  31211. },
  31212. "wrstandardid": {
  31213. "description": "品类id",
  31214. "type": "integer"
  31215. },
  31216. "wrstandardname": {
  31217. "description": "品类名称",
  31218. "type": "string"
  31219. }
  31220. }
  31221. },
  31222. "models.WrFilterItem": {
  31223. "type": "object",
  31224. "properties": {
  31225. "itemcode": {
  31226. "description": "代码",
  31227. "type": "string"
  31228. },
  31229. "itemid": {
  31230. "description": "项id",
  31231. "type": "integer"
  31232. },
  31233. "itemname": {
  31234. "description": "名称",
  31235. "type": "string"
  31236. },
  31237. "itemtype": {
  31238. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  31239. "type": "integer"
  31240. }
  31241. }
  31242. },
  31243. "models.WrFinanceBuyApply": {
  31244. "type": "object",
  31245. "properties": {
  31246. "applydate": {
  31247. "description": "申请时间",
  31248. "type": "string"
  31249. },
  31250. "applystatus": {
  31251. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  31252. "type": "integer"
  31253. },
  31254. "applyuserid": {
  31255. "description": "申请人",
  31256. "type": "integer"
  31257. },
  31258. "auditdate": {
  31259. "description": "审核时间",
  31260. "type": "string"
  31261. },
  31262. "auditremark": {
  31263. "description": "审核备注",
  31264. "type": "string"
  31265. },
  31266. "audituserid": {
  31267. "description": "审核人",
  31268. "type": "integer"
  31269. },
  31270. "buyaccountid": {
  31271. "description": "买方资金账号",
  31272. "type": "integer"
  31273. },
  31274. "buyorsell": {
  31275. "description": "买卖 - 0:买 1:卖",
  31276. "type": "integer"
  31277. },
  31278. "buyuserid": {
  31279. "description": "买方用户ID",
  31280. "type": "integer"
  31281. },
  31282. "buyusername": {
  31283. "description": "买方名称",
  31284. "type": "string"
  31285. },
  31286. "buywrtradeorderid": {
  31287. "description": "融资方买委托单ID",
  31288. "type": "string"
  31289. },
  31290. "deliverygoodscode": {
  31291. "description": "品种代码",
  31292. "type": "string"
  31293. },
  31294. "deliverygoodsid": {
  31295. "description": "品种ID",
  31296. "type": "integer"
  31297. },
  31298. "deliverygoodsname": {
  31299. "description": "品种名称",
  31300. "type": "string"
  31301. },
  31302. "deliverymonth": {
  31303. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  31304. "type": "string"
  31305. },
  31306. "enumdicname": {
  31307. "description": "单位名称",
  31308. "type": "string"
  31309. },
  31310. "financeaccountid": {
  31311. "description": "融资方资金帐户ID",
  31312. "type": "integer"
  31313. },
  31314. "financeapplyid": {
  31315. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  31316. "type": "string"
  31317. },
  31318. "financeareauserid": {
  31319. "description": "融资方用户ID",
  31320. "type": "string"
  31321. },
  31322. "financename": {
  31323. "description": "融出方名称",
  31324. "type": "string"
  31325. },
  31326. "financetype": {
  31327. "description": "融资类型 1-融资回购",
  31328. "type": "integer"
  31329. },
  31330. "financingdays": {
  31331. "description": "天数(天)",
  31332. "type": "integer"
  31333. },
  31334. "freezebuymargin": {
  31335. "description": "冻结融资保证金(买方)",
  31336. "type": "number"
  31337. },
  31338. "handleremark": {
  31339. "description": "处理备注",
  31340. "type": "string"
  31341. },
  31342. "handlestatus": {
  31343. "description": "处理状态",
  31344. "type": "integer"
  31345. },
  31346. "interestminlen": {
  31347. "description": "最小起息天数",
  31348. "type": "integer"
  31349. },
  31350. "interestrate": {
  31351. "description": "利率",
  31352. "type": "number"
  31353. },
  31354. "interestratemode": {
  31355. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  31356. "type": "integer"
  31357. },
  31358. "interestsettlemode": {
  31359. "description": "结息方式 - 1:按日结息 3:按月结息",
  31360. "type": "integer"
  31361. },
  31362. "interestsettlevalue": {
  31363. "description": "结息方式值",
  31364. "type": "integer"
  31365. },
  31366. "isautoloan": {
  31367. "description": "是否自动放款 - 0:手动 1:自动",
  31368. "type": "integer"
  31369. },
  31370. "marginratio": {
  31371. "description": "保证金比率质押率 - [仓单质押]",
  31372. "type": "number"
  31373. },
  31374. "marketid": {
  31375. "description": "市场ID",
  31376. "type": "integer"
  31377. },
  31378. "minivalue": {
  31379. "description": "现货商品最小变动值",
  31380. "type": "integer"
  31381. },
  31382. "optioncompare": {
  31383. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31384. "type": "string"
  31385. },
  31386. "orderqty": {
  31387. "description": "委托数量(商品数量)",
  31388. "type": "number"
  31389. },
  31390. "productdetailid": {
  31391. "description": "产品组合ID",
  31392. "type": "integer"
  31393. },
  31394. "productid": {
  31395. "description": "金融产品ID",
  31396. "type": "integer"
  31397. },
  31398. "productname": {
  31399. "description": "产品名称",
  31400. "type": "string"
  31401. },
  31402. "remark": {
  31403. "description": "备注",
  31404. "type": "string"
  31405. },
  31406. "scfcontractid": {
  31407. "description": "仓单回购合同ID",
  31408. "type": "string"
  31409. },
  31410. "sellaccountid": {
  31411. "description": "卖方资金账号",
  31412. "type": "integer"
  31413. },
  31414. "selluserid": {
  31415. "description": "卖方用户ID",
  31416. "type": "integer"
  31417. },
  31418. "sellwrtradeorderid": {
  31419. "description": "卖方委托单ID",
  31420. "type": "string"
  31421. },
  31422. "tradeamount": {
  31423. "description": "成交金额(借款金额)",
  31424. "type": "number"
  31425. },
  31426. "tradedate": {
  31427. "description": "交易日(yyyyMMdd)",
  31428. "type": "string"
  31429. },
  31430. "tradeprice": {
  31431. "description": "成交价格",
  31432. "type": "number"
  31433. },
  31434. "warehouseid": {
  31435. "description": "仓库ID",
  31436. "type": "integer"
  31437. },
  31438. "warehousename": {
  31439. "description": "仓库名称",
  31440. "type": "string"
  31441. },
  31442. "wrfactortypeid": {
  31443. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31444. "type": "string"
  31445. },
  31446. "wrfactortypename": {
  31447. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31448. "type": "string"
  31449. },
  31450. "wrpricetype": {
  31451. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  31452. "type": "integer"
  31453. },
  31454. "wrstandardcode": {
  31455. "description": "现货商品代码",
  31456. "type": "string"
  31457. },
  31458. "wrstandardid": {
  31459. "description": "现货商品ID",
  31460. "type": "integer"
  31461. },
  31462. "wrstandardname": {
  31463. "description": "商品名称",
  31464. "type": "string"
  31465. },
  31466. "wrtypename": {
  31467. "description": "商品",
  31468. "type": "string"
  31469. }
  31470. }
  31471. },
  31472. "models.WrFriendApply": {
  31473. "type": "object",
  31474. "properties": {
  31475. "applicantid": {
  31476. "description": "申请人",
  31477. "type": "integer"
  31478. },
  31479. "applyname": {
  31480. "description": "申请人名称",
  31481. "type": "string"
  31482. },
  31483. "applysrc": {
  31484. "description": "申请来源 - 1:管理端 2:终端",
  31485. "type": "integer"
  31486. },
  31487. "applystatus": {
  31488. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  31489. "type": "integer"
  31490. },
  31491. "applytime": {
  31492. "description": "申请时间",
  31493. "type": "string"
  31494. },
  31495. "auditname": {
  31496. "description": "审核人名称",
  31497. "type": "string"
  31498. },
  31499. "auditorid": {
  31500. "description": "审核人",
  31501. "type": "integer"
  31502. },
  31503. "auditremark": {
  31504. "description": "审核备注",
  31505. "type": "string"
  31506. },
  31507. "auditsrc": {
  31508. "description": "审核来源 - 1:管理端 2:终端",
  31509. "type": "integer"
  31510. },
  31511. "audittime": {
  31512. "description": "审核时间",
  31513. "type": "string"
  31514. },
  31515. "friendapplyid": {
  31516. "description": "申请ID(SEQ_FRIENDAPPLY)",
  31517. "type": "string"
  31518. },
  31519. "friendname": {
  31520. "description": "好友名字(已脱敏)",
  31521. "type": "string"
  31522. },
  31523. "frienduserid": {
  31524. "description": "好友用户ID",
  31525. "type": "string"
  31526. },
  31527. "remark": {
  31528. "description": "备注",
  31529. "type": "string"
  31530. },
  31531. "userid": {
  31532. "description": "申请人用户ID",
  31533. "type": "integer"
  31534. }
  31535. }
  31536. },
  31537. "models.WrFtDeliveryGoods": {
  31538. "type": "object",
  31539. "properties": {
  31540. "deliverygoodscode": {
  31541. "description": "品种代码",
  31542. "type": "string"
  31543. },
  31544. "deliverygoodsid": {
  31545. "description": "品种ID",
  31546. "type": "integer"
  31547. },
  31548. "deliverygoodsname": {
  31549. "description": "品种名称",
  31550. "type": "string"
  31551. },
  31552. "wdlst": {
  31553. "description": "商品列表",
  31554. "type": "array",
  31555. "items": {
  31556. "$ref": "#/definitions/models.WrFtWrstandard"
  31557. }
  31558. }
  31559. }
  31560. },
  31561. "models.WrFtWrstandard": {
  31562. "type": "object",
  31563. "properties": {
  31564. "enumdicname": {
  31565. "description": "单位名称",
  31566. "type": "string"
  31567. },
  31568. "minivalue": {
  31569. "description": "最小变动值",
  31570. "type": "integer"
  31571. },
  31572. "wrstandardcode": {
  31573. "description": "现货商品代码",
  31574. "type": "string"
  31575. },
  31576. "wrstandardid": {
  31577. "description": "现货商品ID",
  31578. "type": "integer"
  31579. },
  31580. "wrstandardname": {
  31581. "description": "商品名称",
  31582. "type": "string"
  31583. }
  31584. }
  31585. },
  31586. "models.WrGoodsInfo": {
  31587. "type": "object",
  31588. "properties": {
  31589. "haswr": {
  31590. "description": "0:仓单预售 1:仓单贸易",
  31591. "type": "integer"
  31592. },
  31593. "lstitem": {
  31594. "description": "商品信息项",
  31595. "type": "array",
  31596. "items": {
  31597. "$ref": "#/definitions/models.WrTypeItem"
  31598. }
  31599. },
  31600. "lststep": {
  31601. "description": "履约规则",
  31602. "type": "array",
  31603. "items": {
  31604. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  31605. }
  31606. },
  31607. "marketid": {
  31608. "description": "市场id",
  31609. "type": "integer"
  31610. }
  31611. }
  31612. },
  31613. "models.WrGoodsPerformanceStep": {
  31614. "type": "object",
  31615. "properties": {
  31616. "autoid": {
  31617. "description": "AutoID",
  31618. "type": "integer"
  31619. },
  31620. "isauto": {
  31621. "description": "是否自动 - 0:不自动 1:自动",
  31622. "type": "integer"
  31623. },
  31624. "remark": {
  31625. "description": "备注",
  31626. "type": "string"
  31627. },
  31628. "stepdate": {
  31629. "description": "天数信息(T+N)",
  31630. "type": "string"
  31631. },
  31632. "stepdays": {
  31633. "description": "距离上一步天数",
  31634. "type": "integer"
  31635. },
  31636. "stepindex": {
  31637. "description": "步骤序号",
  31638. "type": "integer"
  31639. },
  31640. "stepinfo": {
  31641. "description": "步骤信息(步骤名称+步骤值)",
  31642. "type": "string"
  31643. },
  31644. "steptypeid": {
  31645. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  31646. "type": "integer"
  31647. },
  31648. "steptypename": {
  31649. "description": "步骤名称",
  31650. "type": "string"
  31651. },
  31652. "stepvalue": {
  31653. "description": "步骤值",
  31654. "type": "number"
  31655. },
  31656. "templateid": {
  31657. "description": "履约计划模板ID",
  31658. "type": "integer"
  31659. }
  31660. }
  31661. },
  31662. "models.WrHoldLB": {
  31663. "type": "object",
  31664. "properties": {
  31665. "accountid": {
  31666. "description": "持有人帐户ID",
  31667. "type": "integer"
  31668. },
  31669. "createtime": {
  31670. "description": "创建时间(过户时间)",
  31671. "type": "string"
  31672. },
  31673. "deliverygoodscode": {
  31674. "description": "品种代码",
  31675. "type": "string"
  31676. },
  31677. "deliverygoodsid": {
  31678. "description": "品种ID",
  31679. "type": "integer"
  31680. },
  31681. "deliverygoodsname": {
  31682. "description": "品种名称",
  31683. "type": "string"
  31684. },
  31685. "enableqty": {
  31686. "description": "可用数量",
  31687. "type": "number"
  31688. },
  31689. "enumdicname": {
  31690. "description": "单位名称",
  31691. "type": "string"
  31692. },
  31693. "freezerqty": {
  31694. "description": "冻结数量",
  31695. "type": "number"
  31696. },
  31697. "ladingbillid": {
  31698. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  31699. "type": "string"
  31700. },
  31701. "minivalue": {
  31702. "description": "现货商品最小变动值",
  31703. "type": "integer"
  31704. },
  31705. "optioncompare": {
  31706. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31707. "type": "string"
  31708. },
  31709. "parentsubnum": {
  31710. "description": "拆分父子单号",
  31711. "type": "integer"
  31712. },
  31713. "pledgeqty": {
  31714. "description": "质押数量",
  31715. "type": "number"
  31716. },
  31717. "qty": {
  31718. "description": "数量",
  31719. "type": "number"
  31720. },
  31721. "subnum": {
  31722. "description": "提单子单号",
  31723. "type": "integer"
  31724. },
  31725. "tradedate": {
  31726. "description": "交易日(yyyyMMdd)",
  31727. "type": "string"
  31728. },
  31729. "userid": {
  31730. "description": "持有人ID",
  31731. "type": "integer"
  31732. },
  31733. "warehouseid": {
  31734. "description": "仓库ID",
  31735. "type": "integer"
  31736. },
  31737. "warehousename": {
  31738. "description": "仓库名称",
  31739. "type": "string"
  31740. },
  31741. "wrfactortypeid": {
  31742. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31743. "type": "string"
  31744. },
  31745. "wrfactortypename": {
  31746. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31747. "type": "string"
  31748. },
  31749. "wrholdeno": {
  31750. "description": "仓单编号",
  31751. "type": "string"
  31752. },
  31753. "wrid": {
  31754. "description": "仓单变更ID",
  31755. "type": "string"
  31756. },
  31757. "wrstandardcode": {
  31758. "description": "现货商品代码",
  31759. "type": "string"
  31760. },
  31761. "wrstandardid": {
  31762. "description": "现货商品ID",
  31763. "type": "integer"
  31764. },
  31765. "wrstandardname": {
  31766. "description": "商品名称",
  31767. "type": "string"
  31768. },
  31769. "wrtypename": {
  31770. "description": "商品",
  31771. "type": "string"
  31772. }
  31773. }
  31774. },
  31775. "models.WrMarketTradeConfig": {
  31776. "type": "object",
  31777. "properties": {
  31778. "basisdownratio": {
  31779. "description": "浮动价基差下限比例(仓单贸易)",
  31780. "type": "number"
  31781. },
  31782. "basisupratio": {
  31783. "description": "浮动价基差上限比例(仓单贸易)",
  31784. "type": "number"
  31785. },
  31786. "buychargealgorithm": {
  31787. "description": "买方手续费收取方式 1:比率 2:固定",
  31788. "type": "integer"
  31789. },
  31790. "buychargealgorithm2": {
  31791. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  31792. "type": "integer"
  31793. },
  31794. "buychargealgorithmvalue": {
  31795. "description": "买方手续费设置值(交易所部分)",
  31796. "type": "number"
  31797. },
  31798. "buychargealgorithmvalue2": {
  31799. "description": "买方手续费设置值(会员部分)",
  31800. "type": "number"
  31801. },
  31802. "buychargealgorithmvalue3": {
  31803. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  31804. "type": "number"
  31805. },
  31806. "buychargealgorithmvalue4": {
  31807. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  31808. "type": "number"
  31809. },
  31810. "buyfirstmarginalgorithm": {
  31811. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  31812. "type": "integer"
  31813. },
  31814. "buyfirstmarginvalue": {
  31815. "description": "买方出价保证金设置值 - [竞拍]",
  31816. "type": "number"
  31817. },
  31818. "buymarginalgorithm": {
  31819. "description": "买方保证金方式 - 1:比率 2:固定",
  31820. "type": "integer"
  31821. },
  31822. "buymarginvalue": {
  31823. "description": "买方保证金设置值",
  31824. "type": "number"
  31825. },
  31826. "buyreleaseratio": {
  31827. "description": "买方释放比率[2:分步履约]",
  31828. "type": "number"
  31829. },
  31830. "executemode": {
  31831. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  31832. "type": "integer"
  31833. },
  31834. "executeside": {
  31835. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  31836. "type": "integer"
  31837. },
  31838. "failedchargealgorithm": {
  31839. "description": "流拍手续费收取方式 1:比率 2:固定",
  31840. "type": "integer"
  31841. },
  31842. "failedchargevalue": {
  31843. "description": "流拍手续费设置值",
  31844. "type": "number"
  31845. },
  31846. "failedchargevalue2": {
  31847. "description": "流拍卖方手续费设置值",
  31848. "type": "number"
  31849. },
  31850. "holddays": {
  31851. "description": "合同期限[2:分步履约]",
  31852. "type": "integer"
  31853. },
  31854. "marketid": {
  31855. "description": "市场ID-仓单贸易、竞拍、预售",
  31856. "type": "integer"
  31857. },
  31858. "minqty": {
  31859. "description": "最小执行量[2:分步履约]",
  31860. "type": "number"
  31861. },
  31862. "modifierid": {
  31863. "description": "修改人",
  31864. "type": "integer"
  31865. },
  31866. "performancetempid": {
  31867. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  31868. "type": "integer"
  31869. },
  31870. "performancetempid2": {
  31871. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  31872. "type": "integer"
  31873. },
  31874. "performanceway": {
  31875. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  31876. "type": "integer"
  31877. },
  31878. "sellchargealgorithm": {
  31879. "description": "卖方手续费收取方式 1:比率 2:固定",
  31880. "type": "integer"
  31881. },
  31882. "sellchargealgorithm2": {
  31883. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  31884. "type": "integer"
  31885. },
  31886. "sellchargealgorithmvalue": {
  31887. "description": "卖方手续费设置值(交易所部分)",
  31888. "type": "number"
  31889. },
  31890. "sellchargealgorithmvalue2": {
  31891. "description": "卖方手续费设置值(会员部分)",
  31892. "type": "number"
  31893. },
  31894. "sellchargealgorithmvalue3": {
  31895. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  31896. "type": "number"
  31897. },
  31898. "sellchargealgorithmvalue4": {
  31899. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  31900. "type": "number"
  31901. },
  31902. "sellmarginalgorithm": {
  31903. "description": "卖方保证金方式 - 1:比率 2:固定",
  31904. "type": "integer"
  31905. },
  31906. "sellmarginvalue": {
  31907. "description": "卖方保证金设置值",
  31908. "type": "number"
  31909. },
  31910. "sellmarginvalue2": {
  31911. "description": "卖方保证金设置值(无仓单)",
  31912. "type": "number"
  31913. },
  31914. "sellreleaseratio": {
  31915. "description": "卖方释放比率[2:分步履约]",
  31916. "type": "number"
  31917. },
  31918. "updatetime": {
  31919. "description": "更新时间",
  31920. "type": "string"
  31921. }
  31922. }
  31923. },
  31924. "models.WrOrderDetail": {
  31925. "type": "object",
  31926. "properties": {
  31927. "accountid": {
  31928. "description": "交易账号(资金账号)",
  31929. "type": "integer"
  31930. },
  31931. "allfriendsflag": {
  31932. "description": "是否全好友可见 - 0:否 1:是",
  31933. "type": "integer"
  31934. },
  31935. "amount": {
  31936. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  31937. "type": "number"
  31938. },
  31939. "buyorsell": {
  31940. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  31941. "type": "integer"
  31942. },
  31943. "canbargain": {
  31944. "description": "是否可议价 - 0:不可 1:可",
  31945. "type": "integer"
  31946. },
  31947. "cancelqty": {
  31948. "description": "撤销数量",
  31949. "type": "number"
  31950. },
  31951. "canpart": {
  31952. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  31953. "type": "integer"
  31954. },
  31955. "delistminqty": {
  31956. "description": "起摘数量",
  31957. "type": "integer"
  31958. },
  31959. "deliverygoodscode": {
  31960. "description": "品种代码",
  31961. "type": "string"
  31962. },
  31963. "deliverygoodsid": {
  31964. "description": "品种ID",
  31965. "type": "integer"
  31966. },
  31967. "deliverygoodsname": {
  31968. "description": "品种名称",
  31969. "type": "string"
  31970. },
  31971. "deliverymonth": {
  31972. "description": "交收月",
  31973. "type": "string"
  31974. },
  31975. "enumdicname": {
  31976. "description": "单位名称",
  31977. "type": "string"
  31978. },
  31979. "fixedprice": {
  31980. "description": "固定价格 - [挂牌]",
  31981. "type": "number"
  31982. },
  31983. "freezemargin": {
  31984. "description": "冻结保证金(保证金)",
  31985. "type": "number"
  31986. },
  31987. "futupricemove": {
  31988. "description": "期货升贴水",
  31989. "type": "number"
  31990. },
  31991. "futushow": {
  31992. "description": "期货合约/升贴水",
  31993. "type": "string"
  31994. },
  31995. "goodscode": {
  31996. "description": "期货合约",
  31997. "type": "string"
  31998. },
  31999. "goodsid": {
  32000. "description": "期货商品id",
  32001. "type": "integer"
  32002. },
  32003. "goodsname": {
  32004. "description": "商品名称",
  32005. "type": "string"
  32006. },
  32007. "haswr": {
  32008. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  32009. "type": "integer"
  32010. },
  32011. "isspecified": {
  32012. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  32013. "type": "integer"
  32014. },
  32015. "marginvalue": {
  32016. "description": "保证金设置值(履约保证金)",
  32017. "type": "number"
  32018. },
  32019. "marketid": {
  32020. "description": "市场ID",
  32021. "type": "integer"
  32022. },
  32023. "matchusername": {
  32024. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  32025. "type": "string"
  32026. },
  32027. "minivalue": {
  32028. "description": "现货商品最小变动值",
  32029. "type": "integer"
  32030. },
  32031. "optioncompare": {
  32032. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32033. "type": "string"
  32034. },
  32035. "orderqty": {
  32036. "description": "委托数量",
  32037. "type": "number"
  32038. },
  32039. "ordertime": {
  32040. "description": "委托时间(挂牌时间)",
  32041. "type": "string"
  32042. },
  32043. "pricemove": {
  32044. "description": "升贴水(浮动价时填写) - [挂牌]",
  32045. "type": "number"
  32046. },
  32047. "taname": {
  32048. "description": "交易用户名称(资金账号名称)",
  32049. "type": "string"
  32050. },
  32051. "tradedate": {
  32052. "description": "交易日(yyyyMMdd)",
  32053. "type": "string"
  32054. },
  32055. "tradeprice": {
  32056. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  32057. "type": "number"
  32058. },
  32059. "tradeqty": {
  32060. "description": "成交数量",
  32061. "type": "number"
  32062. },
  32063. "userid": {
  32064. "description": "用户ID",
  32065. "type": "integer"
  32066. },
  32067. "validtime": {
  32068. "description": "挂牌有效期",
  32069. "type": "string"
  32070. },
  32071. "warehouseid": {
  32072. "description": "仓库ID",
  32073. "type": "integer"
  32074. },
  32075. "warehousename": {
  32076. "description": "仓库名称",
  32077. "type": "string"
  32078. },
  32079. "wrfactortypeid": {
  32080. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32081. "type": "string"
  32082. },
  32083. "wrfactortypename": {
  32084. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32085. "type": "string"
  32086. },
  32087. "wrpricetype": {
  32088. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  32089. "type": "integer"
  32090. },
  32091. "wrstandardcode": {
  32092. "description": "现货商品代码",
  32093. "type": "string"
  32094. },
  32095. "wrstandardid": {
  32096. "description": "现货商品ID",
  32097. "type": "integer"
  32098. },
  32099. "wrstandardname": {
  32100. "description": "商品名称",
  32101. "type": "string"
  32102. },
  32103. "wrtradeorderid": {
  32104. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32105. "type": "string"
  32106. },
  32107. "wrtradeorderstatus": {
  32108. "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:撤单解冻贷款失败",
  32109. "type": "integer"
  32110. },
  32111. "wrtradetype": {
  32112. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  32113. "type": "integer"
  32114. },
  32115. "wrtypename": {
  32116. "description": "商品",
  32117. "type": "string"
  32118. }
  32119. }
  32120. },
  32121. "models.WrOrderQuote": {
  32122. "type": "object",
  32123. "properties": {
  32124. "buyprice": {
  32125. "description": "买价",
  32126. "type": "number"
  32127. },
  32128. "buypricemove": {
  32129. "description": "买升贴水(基差)",
  32130. "type": "number"
  32131. },
  32132. "buyqty": {
  32133. "description": "买量",
  32134. "type": "number"
  32135. },
  32136. "deliverygoodscode": {
  32137. "description": "品种代码",
  32138. "type": "string"
  32139. },
  32140. "deliverygoodsid": {
  32141. "description": "品种id",
  32142. "type": "integer"
  32143. },
  32144. "deliverygoodsname": {
  32145. "description": "品种名称",
  32146. "type": "string"
  32147. },
  32148. "deliverymonth": {
  32149. "description": "交收月",
  32150. "type": "string"
  32151. },
  32152. "enumdicname": {
  32153. "description": "单位名称",
  32154. "type": "string"
  32155. },
  32156. "goodscode": {
  32157. "description": "商品合约(浮动价列表才有)",
  32158. "type": "string"
  32159. },
  32160. "goodsid": {
  32161. "description": "商品id(浮动价列表才有)",
  32162. "type": "integer"
  32163. },
  32164. "minivalue": {
  32165. "description": "现货商品最小变动值",
  32166. "type": "integer"
  32167. },
  32168. "sellprice": {
  32169. "description": "卖价",
  32170. "type": "number"
  32171. },
  32172. "sellpricemove": {
  32173. "description": "卖升贴水(基差)",
  32174. "type": "number"
  32175. },
  32176. "sellqty": {
  32177. "description": "卖量",
  32178. "type": "number"
  32179. },
  32180. "warehousecode": {
  32181. "description": "仓库代码",
  32182. "type": "string"
  32183. },
  32184. "warehouseid": {
  32185. "description": "仓库id",
  32186. "type": "integer"
  32187. },
  32188. "warehousename": {
  32189. "description": "仓库名称",
  32190. "type": "string"
  32191. },
  32192. "wrfactortypeid": {
  32193. "description": "仓单要素id",
  32194. "type": "string"
  32195. },
  32196. "wrfactortypename": {
  32197. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32198. "type": "string"
  32199. },
  32200. "wrgoodsname": {
  32201. "description": "商品(商品名称+仓库要素名称 拼接)",
  32202. "type": "string"
  32203. },
  32204. "wrstandardcode": {
  32205. "description": "商品代码",
  32206. "type": "string"
  32207. },
  32208. "wrstandardid": {
  32209. "description": "商品id",
  32210. "type": "integer"
  32211. },
  32212. "wrstandardname": {
  32213. "description": "商品名称",
  32214. "type": "string"
  32215. }
  32216. }
  32217. },
  32218. "models.WrOrderQuoteDetail": {
  32219. "type": "object",
  32220. "properties": {
  32221. "buyorsell": {
  32222. "description": "买卖 - 0:买 1:卖",
  32223. "type": "integer"
  32224. },
  32225. "delistminqty": {
  32226. "description": "起摘数量",
  32227. "type": "number"
  32228. },
  32229. "deliverymonth": {
  32230. "description": "交收月",
  32231. "type": "string"
  32232. },
  32233. "enumdicname": {
  32234. "description": "单位名称",
  32235. "type": "string"
  32236. },
  32237. "fixedprice": {
  32238. "description": "买(卖)价",
  32239. "type": "number"
  32240. },
  32241. "minivalue": {
  32242. "description": "现货商品最小变动值",
  32243. "type": "integer"
  32244. },
  32245. "orderqty": {
  32246. "description": "买(卖)量(=委托量-成交量)",
  32247. "type": "number"
  32248. },
  32249. "ordertime": {
  32250. "description": "委托时间",
  32251. "type": "string"
  32252. },
  32253. "pricemove": {
  32254. "description": "买(卖)升贴水- 基差",
  32255. "type": "number"
  32256. },
  32257. "userid": {
  32258. "description": "购买方(销售方)用户ID",
  32259. "type": "integer"
  32260. },
  32261. "username": {
  32262. "description": "购买方(销售方)",
  32263. "type": "string"
  32264. },
  32265. "wrtradeorderid": {
  32266. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32267. "type": "string"
  32268. }
  32269. }
  32270. },
  32271. "models.WrOutInApply": {
  32272. "type": "object",
  32273. "properties": {
  32274. "applyid": {
  32275. "description": "申请单id",
  32276. "type": "string"
  32277. },
  32278. "applystatus": {
  32279. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  32280. "type": "integer"
  32281. },
  32282. "applytime": {
  32283. "description": "申请时间",
  32284. "type": "string"
  32285. },
  32286. "applytype": {
  32287. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  32288. "type": "integer"
  32289. },
  32290. "deliverygoodscode": {
  32291. "description": "品种代码",
  32292. "type": "string"
  32293. },
  32294. "deliverygoodsid": {
  32295. "description": "品种ID",
  32296. "type": "integer"
  32297. },
  32298. "deliverygoodsname": {
  32299. "description": "品种名称",
  32300. "type": "string"
  32301. },
  32302. "enumdicname": {
  32303. "description": "单位名称",
  32304. "type": "string"
  32305. },
  32306. "expresscompany": {
  32307. "description": "物流公司",
  32308. "type": "string"
  32309. },
  32310. "expressnum": {
  32311. "description": "物流单号",
  32312. "type": "string"
  32313. },
  32314. "minivalue": {
  32315. "description": "现货商品最小变动值",
  32316. "type": "integer"
  32317. },
  32318. "optioncompare": {
  32319. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32320. "type": "string"
  32321. },
  32322. "qty": {
  32323. "description": "数量",
  32324. "type": "integer"
  32325. },
  32326. "userid": {
  32327. "description": "用户id",
  32328. "type": "integer"
  32329. },
  32330. "warehouseid": {
  32331. "description": "仓库ID",
  32332. "type": "integer"
  32333. },
  32334. "warehousename": {
  32335. "description": "仓库名称",
  32336. "type": "string"
  32337. },
  32338. "wrfactortypeid": {
  32339. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32340. "type": "string"
  32341. },
  32342. "wrfactortypename": {
  32343. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32344. "type": "string"
  32345. },
  32346. "wrstandardcode": {
  32347. "description": "现货商品代码",
  32348. "type": "string"
  32349. },
  32350. "wrstandardid": {
  32351. "description": "现货商品ID",
  32352. "type": "integer"
  32353. },
  32354. "wrstandardname": {
  32355. "description": "商品名称",
  32356. "type": "string"
  32357. },
  32358. "wrtypename": {
  32359. "description": "商品",
  32360. "type": "string"
  32361. }
  32362. }
  32363. },
  32364. "models.WrPerformancePlan": {
  32365. "type": "object",
  32366. "required": [
  32367. "userid"
  32368. ],
  32369. "properties": {
  32370. "activatemonth": {
  32371. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  32372. "type": "string"
  32373. },
  32374. "amount": {
  32375. "description": "履约金额(总金额)",
  32376. "type": "number"
  32377. },
  32378. "buyaccountid": {
  32379. "description": "买方账号",
  32380. "type": "integer"
  32381. },
  32382. "buyerfreezeamount": {
  32383. "description": "履约冻结(买履约)",
  32384. "type": "number"
  32385. },
  32386. "buyerfreezeamountremain": {
  32387. "description": "履约冻结剩余(买履约)",
  32388. "type": "number"
  32389. },
  32390. "buyorsell": {
  32391. "description": "买卖方向 0-买 1-卖",
  32392. "type": "integer"
  32393. },
  32394. "buypaidamount": {
  32395. "description": "买方已冻/已扣金额 (已付金额)",
  32396. "type": "number"
  32397. },
  32398. "buyusername": {
  32399. "description": "买方名字",
  32400. "type": "string"
  32401. },
  32402. "contractid": {
  32403. "description": "合同ID",
  32404. "type": "integer"
  32405. },
  32406. "createtime": {
  32407. "description": "创建时间",
  32408. "type": "string"
  32409. },
  32410. "creatorid": {
  32411. "description": "创建人",
  32412. "type": "integer"
  32413. },
  32414. "curstepdeadline": {
  32415. "description": "当前步骤到期时间",
  32416. "type": "string"
  32417. },
  32418. "curstepid": {
  32419. "description": "当前步骤ID",
  32420. "type": "string"
  32421. },
  32422. "curstepname": {
  32423. "description": "当前步骤名称",
  32424. "type": "string"
  32425. },
  32426. "deliverygoodscode": {
  32427. "description": "品种代码",
  32428. "type": "string"
  32429. },
  32430. "deliverygoodsid": {
  32431. "description": "品种ID",
  32432. "type": "integer"
  32433. },
  32434. "deliverygoodsname": {
  32435. "description": "品种名称",
  32436. "type": "string"
  32437. },
  32438. "enumdicname": {
  32439. "description": "单位名称",
  32440. "type": "string"
  32441. },
  32442. "expressfee": {
  32443. "description": "运费",
  32444. "type": "number"
  32445. },
  32446. "expressfeeconfirmed": {
  32447. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  32448. "type": "integer"
  32449. },
  32450. "hasovershort": {
  32451. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  32452. "type": "integer"
  32453. },
  32454. "haswr": {
  32455. "description": "类型 0-仓单预售 1-仓单贸易",
  32456. "type": "integer"
  32457. },
  32458. "marketid": {
  32459. "description": "市场ID",
  32460. "type": "integer"
  32461. },
  32462. "middleaccountid": {
  32463. "description": "中间商资金账号ID",
  32464. "type": "integer"
  32465. },
  32466. "middleuserid": {
  32467. "description": "中间商用户ID",
  32468. "type": "integer"
  32469. },
  32470. "minivalue": {
  32471. "description": "现货商品最小变动值",
  32472. "type": "integer"
  32473. },
  32474. "optioncompare": {
  32475. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32476. "type": "string"
  32477. },
  32478. "overshortamount": {
  32479. "description": "溢短金额",
  32480. "type": "number"
  32481. },
  32482. "overshortqty": {
  32483. "description": "溢短数量",
  32484. "type": "number"
  32485. },
  32486. "paymenttype": {
  32487. "description": "付款方式 - 1:冻结 2:扣款",
  32488. "type": "integer"
  32489. },
  32490. "performanceplanid": {
  32491. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  32492. "type": "string"
  32493. },
  32494. "performancestatus": {
  32495. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  32496. "type": "integer"
  32497. },
  32498. "performancetype": {
  32499. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  32500. "type": "integer"
  32501. },
  32502. "qty": {
  32503. "description": "履约数量",
  32504. "type": "number"
  32505. },
  32506. "relatedorderid": {
  32507. "description": "关联单号(履约类型的关联单号)",
  32508. "type": "string"
  32509. },
  32510. "remark": {
  32511. "description": "备注",
  32512. "type": "string"
  32513. },
  32514. "sellaccountid": {
  32515. "description": "卖方账号",
  32516. "type": "integer"
  32517. },
  32518. "sellerfreezeamount": {
  32519. "description": "履约冻结(卖履约)",
  32520. "type": "number"
  32521. },
  32522. "sellerfreezeamountremain": {
  32523. "description": "履约冻结剩余(卖履约)",
  32524. "type": "number"
  32525. },
  32526. "sellreceivedamount": {
  32527. "description": "卖方已收金额",
  32528. "type": "number"
  32529. },
  32530. "sellusername": {
  32531. "description": "卖方名字",
  32532. "type": "string"
  32533. },
  32534. "shipremark": {
  32535. "description": "发货备注[物流单号]",
  32536. "type": "string"
  32537. },
  32538. "starttime": {
  32539. "description": "开始时间",
  32540. "type": "string"
  32541. },
  32542. "steptypeid": {
  32543. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  32544. "type": "integer"
  32545. },
  32546. "typename": {
  32547. "description": "履约类型 名称",
  32548. "type": "string"
  32549. },
  32550. "unpaidamount": {
  32551. "description": "剩余款(待支付金额)",
  32552. "type": "number"
  32553. },
  32554. "userid": {
  32555. "description": "用户id",
  32556. "type": "integer"
  32557. },
  32558. "warehouseid": {
  32559. "description": "仓库ID",
  32560. "type": "integer"
  32561. },
  32562. "warehousename": {
  32563. "description": "仓库名称",
  32564. "type": "string"
  32565. },
  32566. "wrfactortypeid": {
  32567. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32568. "type": "string"
  32569. },
  32570. "wrfactortypename": {
  32571. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32572. "type": "string"
  32573. },
  32574. "wrstandardcode": {
  32575. "description": "现货商品代码",
  32576. "type": "string"
  32577. },
  32578. "wrstandardid": {
  32579. "description": "现货商品ID",
  32580. "type": "integer"
  32581. },
  32582. "wrstandardname": {
  32583. "description": "商品名称",
  32584. "type": "string"
  32585. },
  32586. "wrtransferuserid": {
  32587. "description": "仓单受让用户",
  32588. "type": "integer"
  32589. },
  32590. "wrtypename": {
  32591. "description": "商品",
  32592. "type": "string"
  32593. }
  32594. }
  32595. },
  32596. "models.WrPerformancePlanStep": {
  32597. "type": "object",
  32598. "properties": {
  32599. "delaydays": {
  32600. "description": "延期申请天数",
  32601. "type": "integer"
  32602. },
  32603. "deliverygoodscode": {
  32604. "description": "品种代码",
  32605. "type": "string"
  32606. },
  32607. "deliverygoodsid": {
  32608. "description": "品种ID",
  32609. "type": "integer"
  32610. },
  32611. "deliverygoodsname": {
  32612. "description": "品种名称",
  32613. "type": "string"
  32614. },
  32615. "endtime": {
  32616. "description": "结束日期",
  32617. "type": "string"
  32618. },
  32619. "enumdicname": {
  32620. "description": "单位名称",
  32621. "type": "string"
  32622. },
  32623. "executeside": {
  32624. "description": "步骤执行方 - 1:买方 2:卖方",
  32625. "type": "integer"
  32626. },
  32627. "handlestatus": {
  32628. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  32629. "type": "integer"
  32630. },
  32631. "isauto": {
  32632. "description": "是否自动 - 0:不自动 1:自动",
  32633. "type": "integer"
  32634. },
  32635. "islastreceivestep": {
  32636. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  32637. "type": "integer"
  32638. },
  32639. "minivalue": {
  32640. "description": "现货商品最小变动值",
  32641. "type": "integer"
  32642. },
  32643. "optioncompare": {
  32644. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32645. "type": "string"
  32646. },
  32647. "overdays": {
  32648. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  32649. "type": "integer"
  32650. },
  32651. "performancestepid": {
  32652. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  32653. "type": "string"
  32654. },
  32655. "planid": {
  32656. "description": "所属履约计划ID",
  32657. "type": "string"
  32658. },
  32659. "realamount": {
  32660. "description": "实际完成金额",
  32661. "type": "number"
  32662. },
  32663. "relatedorderid": {
  32664. "description": "关联单号",
  32665. "type": "string"
  32666. },
  32667. "remaindays": {
  32668. "description": "剩余天数",
  32669. "type": "integer"
  32670. },
  32671. "remark": {
  32672. "description": "错误备注",
  32673. "type": "string"
  32674. },
  32675. "starttime": {
  32676. "description": "开始日期",
  32677. "type": "string"
  32678. },
  32679. "stepamount": {
  32680. "description": "步骤金额",
  32681. "type": "number"
  32682. },
  32683. "stepdays": {
  32684. "description": "距离上一步天数(分钟)",
  32685. "type": "integer"
  32686. },
  32687. "stepindex": {
  32688. "description": "步骤序号",
  32689. "type": "integer"
  32690. },
  32691. "steplanchtype": {
  32692. "description": "步骤启动类型 - 1:系统自动 2:手动",
  32693. "type": "integer"
  32694. },
  32695. "stepremark": {
  32696. "description": "步骤备注",
  32697. "type": "string"
  32698. },
  32699. "stepstatus": {
  32700. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  32701. "type": "integer"
  32702. },
  32703. "steptypeid": {
  32704. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  32705. "type": "integer"
  32706. },
  32707. "steptypename": {
  32708. "description": "步骤名称",
  32709. "type": "string"
  32710. },
  32711. "stepvalue": {
  32712. "description": "步骤值",
  32713. "type": "number"
  32714. },
  32715. "warehouseid": {
  32716. "description": "仓库ID",
  32717. "type": "integer"
  32718. },
  32719. "warehousename": {
  32720. "description": "仓库名称",
  32721. "type": "string"
  32722. },
  32723. "wrfactortypeid": {
  32724. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32725. "type": "string"
  32726. },
  32727. "wrfactortypename": {
  32728. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32729. "type": "string"
  32730. },
  32731. "wrstandardcode": {
  32732. "description": "现货商品代码",
  32733. "type": "string"
  32734. },
  32735. "wrstandardid": {
  32736. "description": "现货商品ID",
  32737. "type": "integer"
  32738. },
  32739. "wrstandardname": {
  32740. "description": "商品名称",
  32741. "type": "string"
  32742. },
  32743. "wrtypename": {
  32744. "description": "商品",
  32745. "type": "string"
  32746. }
  32747. }
  32748. },
  32749. "models.WrPerformanceStepType": {
  32750. "type": "object",
  32751. "properties": {
  32752. "canauto": {
  32753. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  32754. "type": "integer"
  32755. },
  32756. "steptypeid": {
  32757. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  32758. "type": "integer"
  32759. },
  32760. "steptypename": {
  32761. "description": "步骤类型名称",
  32762. "type": "string"
  32763. }
  32764. }
  32765. },
  32766. "models.WrPerformanceTemplateEx": {
  32767. "type": "object",
  32768. "properties": {
  32769. "autoid": {
  32770. "description": "AutoID 模板id",
  32771. "type": "integer"
  32772. },
  32773. "createtime": {
  32774. "description": "创建时间",
  32775. "type": "string"
  32776. },
  32777. "creatorid": {
  32778. "description": "创建人",
  32779. "type": "integer"
  32780. },
  32781. "lstStep": {
  32782. "description": "步骤信息列表",
  32783. "type": "array",
  32784. "items": {
  32785. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  32786. }
  32787. },
  32788. "paymenttype": {
  32789. "description": "支付方式 - 1:冻结 2:扣款",
  32790. "type": "integer"
  32791. },
  32792. "takemode": {
  32793. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  32794. "type": "integer"
  32795. },
  32796. "templatename": {
  32797. "description": "模板名称",
  32798. "type": "string"
  32799. },
  32800. "templatetype": {
  32801. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  32802. "type": "integer"
  32803. },
  32804. "userid": {
  32805. "description": "所属用户",
  32806. "type": "integer"
  32807. }
  32808. }
  32809. },
  32810. "models.WrPosition": {
  32811. "type": "object",
  32812. "properties": {
  32813. "accountid": {
  32814. "description": "帐户ID",
  32815. "type": "integer"
  32816. },
  32817. "buyexcuteqty": {
  32818. "description": "采购履约中数量",
  32819. "type": "number"
  32820. },
  32821. "creditcurqty": {
  32822. "description": "授信当前数量(预售仓单:预售当前量)",
  32823. "type": "number"
  32824. },
  32825. "creditenableqty": {
  32826. "description": "授信可用数量(预售仓单: 可用数量)",
  32827. "type": "number"
  32828. },
  32829. "creditfreezeqty": {
  32830. "description": "授信冻结数量(预售仓单: 当前数量)",
  32831. "type": "number"
  32832. },
  32833. "credittotalqty": {
  32834. "description": "授信总数量(预售仓单:预售总量)",
  32835. "type": "number"
  32836. },
  32837. "credittradeqty": {
  32838. "description": "授信成交数量(预售仓单:成交总量)",
  32839. "type": "number"
  32840. },
  32841. "deliverygoodscode": {
  32842. "description": "品种代码",
  32843. "type": "string"
  32844. },
  32845. "deliverygoodsid": {
  32846. "description": "品种ID",
  32847. "type": "integer"
  32848. },
  32849. "deliverygoodsname": {
  32850. "description": "品种名称",
  32851. "type": "string"
  32852. },
  32853. "enalbeqty": {
  32854. "description": "可用数量",
  32855. "type": "number"
  32856. },
  32857. "enumdicname": {
  32858. "description": "单位名称",
  32859. "type": "string"
  32860. },
  32861. "freezeqty": {
  32862. "description": "总冻结数量",
  32863. "type": "number"
  32864. },
  32865. "haswr": {
  32866. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  32867. "type": "integer"
  32868. },
  32869. "minivalue": {
  32870. "description": "现货商品最小变动值",
  32871. "type": "integer"
  32872. },
  32873. "modifytime": {
  32874. "description": "修改时间(过户时间)",
  32875. "type": "string"
  32876. },
  32877. "optioncompare": {
  32878. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32879. "type": "string"
  32880. },
  32881. "pledgeqty": {
  32882. "description": "质押数量",
  32883. "type": "number"
  32884. },
  32885. "querytype": {
  32886. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  32887. "type": "integer"
  32888. },
  32889. "sellexcuteqty": {
  32890. "description": "销售履约中数量",
  32891. "type": "number"
  32892. },
  32893. "totalqty": {
  32894. "description": "总数量(库存数量)",
  32895. "type": "number"
  32896. },
  32897. "warehouseid": {
  32898. "description": "仓库ID",
  32899. "type": "integer"
  32900. },
  32901. "warehousename": {
  32902. "description": "仓库名称",
  32903. "type": "string"
  32904. },
  32905. "wrfactortypeid": {
  32906. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32907. "type": "string"
  32908. },
  32909. "wrfactortypename": {
  32910. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32911. "type": "string"
  32912. },
  32913. "wrpositionid": {
  32914. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  32915. "type": "string"
  32916. },
  32917. "wrpositionno": {
  32918. "description": "仓单编号",
  32919. "type": "string"
  32920. },
  32921. "wrstandardcode": {
  32922. "description": "现货商品代码",
  32923. "type": "string"
  32924. },
  32925. "wrstandardid": {
  32926. "description": "现货商品ID",
  32927. "type": "integer"
  32928. },
  32929. "wrstandardname": {
  32930. "description": "商品名称",
  32931. "type": "string"
  32932. },
  32933. "wrtypename": {
  32934. "description": "商品",
  32935. "type": "string"
  32936. },
  32937. "wruserid": {
  32938. "description": "持有人ID",
  32939. "type": "integer"
  32940. }
  32941. }
  32942. },
  32943. "models.WrQuoteOrderMyq": {
  32944. "type": "object",
  32945. "properties": {
  32946. "buyorsell": {
  32947. "description": "买卖 - 0:买 1:卖",
  32948. "type": "integer"
  32949. },
  32950. "canbargain": {
  32951. "description": "是否可议价 - 0:不可 1:可",
  32952. "type": "integer"
  32953. },
  32954. "canpart": {
  32955. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  32956. "type": "integer"
  32957. },
  32958. "delistminqty": {
  32959. "description": "起摘数量",
  32960. "type": "number"
  32961. },
  32962. "deliverygoodscode": {
  32963. "description": "品种代码",
  32964. "type": "string"
  32965. },
  32966. "deliverygoodsid": {
  32967. "description": "品种ID",
  32968. "type": "integer"
  32969. },
  32970. "deliverygoodsname": {
  32971. "description": "品种名称",
  32972. "type": "string"
  32973. },
  32974. "deliverymonth": {
  32975. "description": "交收月",
  32976. "type": "string"
  32977. },
  32978. "enumdicname": {
  32979. "description": "单位名称",
  32980. "type": "string"
  32981. },
  32982. "fixedprice": {
  32983. "description": "买(卖)价",
  32984. "type": "number"
  32985. },
  32986. "goodscode": {
  32987. "description": "商品合约代码",
  32988. "type": "string"
  32989. },
  32990. "marginflag": {
  32991. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  32992. "type": "integer"
  32993. },
  32994. "marginvalue": {
  32995. "description": "保证金设置值",
  32996. "type": "number"
  32997. },
  32998. "minivalue": {
  32999. "description": "现货商品最小变动值",
  33000. "type": "integer"
  33001. },
  33002. "orderqty": {
  33003. "description": "买(卖)量(=委托量-成交量)",
  33004. "type": "number"
  33005. },
  33006. "ordertime": {
  33007. "description": "委托时间",
  33008. "type": "string"
  33009. },
  33010. "performancetemplateid": {
  33011. "description": "履约模板id",
  33012. "type": "integer"
  33013. },
  33014. "pricemove": {
  33015. "description": "买(卖)升贴水- 基差",
  33016. "type": "number"
  33017. },
  33018. "templatename": {
  33019. "description": "履约模板名称",
  33020. "type": "string"
  33021. },
  33022. "userid": {
  33023. "description": "购买方(销售方)用户ID",
  33024. "type": "integer"
  33025. },
  33026. "username": {
  33027. "description": "购买方(销售方)",
  33028. "type": "string"
  33029. },
  33030. "validtime": {
  33031. "description": "有效期限",
  33032. "type": "string"
  33033. },
  33034. "validtype": {
  33035. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  33036. "type": "integer"
  33037. },
  33038. "warehousename": {
  33039. "description": "仓库名称",
  33040. "type": "string"
  33041. },
  33042. "wrfactortypeid": {
  33043. "description": "仓单要素id",
  33044. "type": "string"
  33045. },
  33046. "wrstandardcode": {
  33047. "description": "现货商品代码",
  33048. "type": "string"
  33049. },
  33050. "wrstandardid": {
  33051. "description": "现货商品ID",
  33052. "type": "integer"
  33053. },
  33054. "wrstandardname": {
  33055. "description": "商品名称",
  33056. "type": "string"
  33057. },
  33058. "wrtradeorderid": {
  33059. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33060. "type": "string"
  33061. },
  33062. "wrtypename": {
  33063. "description": "商品",
  33064. "type": "string"
  33065. }
  33066. }
  33067. },
  33068. "models.WrScfContract": {
  33069. "type": "object",
  33070. "properties": {
  33071. "borroweruserid": {
  33072. "description": "借款用户ID",
  33073. "type": "integer"
  33074. },
  33075. "buybackwrpositionqty": {
  33076. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  33077. "type": "number"
  33078. },
  33079. "closeinterest": {
  33080. "description": "已结利息 -\u003e 已结费用",
  33081. "type": "number"
  33082. },
  33083. "currisklevel": {
  33084. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  33085. "type": "integer"
  33086. },
  33087. "deadline": {
  33088. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  33089. "type": "string"
  33090. },
  33091. "deliverygoodscode": {
  33092. "description": "品种代码",
  33093. "type": "string"
  33094. },
  33095. "deliverygoodsid": {
  33096. "description": "品种ID",
  33097. "type": "integer"
  33098. },
  33099. "deliverygoodsname": {
  33100. "description": "品种名称",
  33101. "type": "string"
  33102. },
  33103. "enumdicname": {
  33104. "description": "单位名称",
  33105. "type": "string"
  33106. },
  33107. "financingdays": {
  33108. "description": "天数(天)",
  33109. "type": "integer"
  33110. },
  33111. "initmargin": {
  33112. "description": "保证金 - [仓单回购]",
  33113. "type": "number"
  33114. },
  33115. "interestamount": {
  33116. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  33117. "type": "number"
  33118. },
  33119. "interestdebt": {
  33120. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  33121. "type": "number"
  33122. },
  33123. "interestminlen": {
  33124. "description": "最小起息天数",
  33125. "type": "integer"
  33126. },
  33127. "interestrate": {
  33128. "description": "利率",
  33129. "type": "number"
  33130. },
  33131. "interestratemode": {
  33132. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  33133. "type": "integer"
  33134. },
  33135. "interestsettlemode": {
  33136. "description": "结息方式 - 1:按日结息 3:按月结息",
  33137. "type": "integer"
  33138. },
  33139. "interestsettlevalue": {
  33140. "description": "结息方式值",
  33141. "type": "integer"
  33142. },
  33143. "isautoloan": {
  33144. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  33145. "type": "integer"
  33146. },
  33147. "lastcloseinterestday": {
  33148. "description": "最近结息日(yyyyMMdd)",
  33149. "type": "string"
  33150. },
  33151. "lenderamount": {
  33152. "description": "贷款金额 -\u003e 借款金额",
  33153. "type": "number"
  33154. },
  33155. "lenderuserid": {
  33156. "description": "贷款方用户ID -\u003e 融出方用户ID",
  33157. "type": "integer"
  33158. },
  33159. "lenderusername": {
  33160. "description": "融出方",
  33161. "type": "string"
  33162. },
  33163. "marginratio": {
  33164. "description": "保证金比率质押率 - [仓单质押]",
  33165. "type": "number"
  33166. },
  33167. "marketid": {
  33168. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  33169. "type": "integer"
  33170. },
  33171. "minivalue": {
  33172. "description": "现货商品最小变动值",
  33173. "type": "integer"
  33174. },
  33175. "optioncompare": {
  33176. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33177. "type": "string"
  33178. },
  33179. "pricemove": {
  33180. "description": "估值升贴水值",
  33181. "type": "number"
  33182. },
  33183. "productdetailid": {
  33184. "description": "产品组合ID",
  33185. "type": "integer"
  33186. },
  33187. "productid": {
  33188. "description": "金融产品ID",
  33189. "type": "integer"
  33190. },
  33191. "productname": {
  33192. "description": "产品名称",
  33193. "type": "string"
  33194. },
  33195. "remainamount": {
  33196. "description": "合同剩余金额 -\u003e 剩余金额",
  33197. "type": "number"
  33198. },
  33199. "remainwrpositionqty": {
  33200. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  33201. "type": "number"
  33202. },
  33203. "remark": {
  33204. "description": "备注",
  33205. "type": "string"
  33206. },
  33207. "scfcontractid": {
  33208. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  33209. "type": "string"
  33210. },
  33211. "scfcontractstatus": {
  33212. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  33213. "type": "integer"
  33214. },
  33215. "scfcontracttype": {
  33216. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  33217. "type": "integer"
  33218. },
  33219. "startinterestday": {
  33220. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  33221. "type": "string"
  33222. },
  33223. "totalinterest": {
  33224. "description": "已计利息 -\u003e 已计费用",
  33225. "type": "number"
  33226. },
  33227. "unpaidinterest": {
  33228. "description": "未结费用",
  33229. "type": "number"
  33230. },
  33231. "updatetime": {
  33232. "description": "更新时间",
  33233. "type": "string"
  33234. },
  33235. "warehouseid": {
  33236. "description": "仓库ID",
  33237. "type": "integer"
  33238. },
  33239. "warehousename": {
  33240. "description": "仓库名称",
  33241. "type": "string"
  33242. },
  33243. "wrfactortypeid": {
  33244. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33245. "type": "string"
  33246. },
  33247. "wrfactortypename": {
  33248. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33249. "type": "string"
  33250. },
  33251. "wrqty": {
  33252. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  33253. "type": "number"
  33254. },
  33255. "wrstandardcode": {
  33256. "description": "现货商品代码",
  33257. "type": "string"
  33258. },
  33259. "wrstandardid": {
  33260. "description": "现货商品ID",
  33261. "type": "integer"
  33262. },
  33263. "wrstandardname": {
  33264. "description": "商品名称",
  33265. "type": "string"
  33266. },
  33267. "wrtypename": {
  33268. "description": "商品",
  33269. "type": "string"
  33270. }
  33271. }
  33272. },
  33273. "models.WrScfContractInterest": {
  33274. "type": "object",
  33275. "properties": {
  33276. "closeinterest": {
  33277. "description": "已结利息",
  33278. "type": "number"
  33279. },
  33280. "closeintereststatus": {
  33281. "description": "结息状态 - 1:未结 2:已结",
  33282. "type": "integer"
  33283. },
  33284. "closetime": {
  33285. "description": "结息时间",
  33286. "type": "string"
  33287. },
  33288. "closetradedate": {
  33289. "description": "结息交易日",
  33290. "type": "string"
  33291. },
  33292. "creatorid": {
  33293. "description": "操作人ID",
  33294. "type": "integer"
  33295. },
  33296. "dayrate": {
  33297. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  33298. "type": "number"
  33299. },
  33300. "interest": {
  33301. "description": "利息",
  33302. "type": "number"
  33303. },
  33304. "interestamount": {
  33305. "description": "计息金额",
  33306. "type": "number"
  33307. },
  33308. "interestday": {
  33309. "description": "计息日(yyyyMMdd)",
  33310. "type": "string"
  33311. },
  33312. "scfcontractid": {
  33313. "description": "SCF合同ID",
  33314. "type": "string"
  33315. },
  33316. "scfcontractinterestid": {
  33317. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  33318. "type": "integer"
  33319. },
  33320. "updatetime": {
  33321. "description": "更新时间",
  33322. "type": "string"
  33323. }
  33324. }
  33325. },
  33326. "models.WrSpecialMatchOrder": {
  33327. "type": "object",
  33328. "properties": {
  33329. "amount": {
  33330. "description": "金额 = 数量 * 价格",
  33331. "type": "number"
  33332. },
  33333. "buyorsell": {
  33334. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  33335. "type": "integer"
  33336. },
  33337. "cancelqty": {
  33338. "description": "撤销数量",
  33339. "type": "number"
  33340. },
  33341. "deliverygoodscode": {
  33342. "description": "品种代码",
  33343. "type": "string"
  33344. },
  33345. "deliverygoodsid": {
  33346. "description": "品种ID",
  33347. "type": "integer"
  33348. },
  33349. "deliverygoodsname": {
  33350. "description": "品种名称",
  33351. "type": "string"
  33352. },
  33353. "enumdicname": {
  33354. "description": "单位名称",
  33355. "type": "string"
  33356. },
  33357. "fixedprice": {
  33358. "description": "固定价格(价格)",
  33359. "type": "number"
  33360. },
  33361. "haswr": {
  33362. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  33363. "type": "integer"
  33364. },
  33365. "marketid": {
  33366. "description": "市场ID",
  33367. "type": "integer"
  33368. },
  33369. "matchuserid": {
  33370. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  33371. "type": "integer"
  33372. },
  33373. "matchusername": {
  33374. "description": "指定方",
  33375. "type": "string"
  33376. },
  33377. "minivalue": {
  33378. "description": "现货商品最小变动值",
  33379. "type": "integer"
  33380. },
  33381. "optioncompare": {
  33382. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33383. "type": "string"
  33384. },
  33385. "orderqty": {
  33386. "description": "委托数量",
  33387. "type": "number"
  33388. },
  33389. "ordertime": {
  33390. "description": "委托时间",
  33391. "type": "string"
  33392. },
  33393. "pricemove": {
  33394. "description": "升贴水(浮动价时填写) - [挂牌]",
  33395. "type": "number"
  33396. },
  33397. "tradedate": {
  33398. "description": "交易日(yyyyMMdd)",
  33399. "type": "string"
  33400. },
  33401. "tradeprice": {
  33402. "description": "成交价格",
  33403. "type": "number"
  33404. },
  33405. "tradeqty": {
  33406. "description": "成交数量",
  33407. "type": "number"
  33408. },
  33409. "userid": {
  33410. "description": "用户ID",
  33411. "type": "integer"
  33412. },
  33413. "username": {
  33414. "description": "发起方",
  33415. "type": "string"
  33416. },
  33417. "warehouseid": {
  33418. "description": "仓库ID",
  33419. "type": "integer"
  33420. },
  33421. "warehousename": {
  33422. "description": "仓库名称",
  33423. "type": "string"
  33424. },
  33425. "wrfactortypeid": {
  33426. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33427. "type": "string"
  33428. },
  33429. "wrfactortypename": {
  33430. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33431. "type": "string"
  33432. },
  33433. "wrpricetype": {
  33434. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  33435. "type": "integer"
  33436. },
  33437. "wrstandardcode": {
  33438. "description": "现货商品代码",
  33439. "type": "string"
  33440. },
  33441. "wrstandardid": {
  33442. "description": "现货商品ID",
  33443. "type": "integer"
  33444. },
  33445. "wrstandardname": {
  33446. "description": "商品名称",
  33447. "type": "string"
  33448. },
  33449. "wrtradeorderid": {
  33450. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33451. "type": "string"
  33452. },
  33453. "wrtradeorderstatus": {
  33454. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  33455. "type": "integer"
  33456. },
  33457. "wrtradetype": {
  33458. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  33459. "type": "integer"
  33460. },
  33461. "wrtypename": {
  33462. "description": "商品",
  33463. "type": "string"
  33464. }
  33465. }
  33466. },
  33467. "models.WrStandardFactoryItem": {
  33468. "type": "object",
  33469. "properties": {
  33470. "dgfactoryitemid": {
  33471. "description": "选择项id",
  33472. "type": "integer"
  33473. },
  33474. "dgfactoryitemvalue": {
  33475. "description": "要素项值",
  33476. "type": "string"
  33477. },
  33478. "warehouseid": {
  33479. "description": "仓库id",
  33480. "type": "integer"
  33481. }
  33482. }
  33483. },
  33484. "models.WrStandardFactoryItemEx": {
  33485. "type": "object",
  33486. "properties": {
  33487. "dgfactoryitemtypeid": {
  33488. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  33489. "type": "integer"
  33490. },
  33491. "itemlst": {
  33492. "description": "要素项列表",
  33493. "type": "array",
  33494. "items": {
  33495. "$ref": "#/definitions/models.WrStandardFactoryItem"
  33496. }
  33497. },
  33498. "itemtypename": {
  33499. "description": "要素项类型名称",
  33500. "type": "string"
  33501. },
  33502. "wrstandardid": {
  33503. "description": "品类",
  33504. "type": "integer"
  33505. }
  33506. }
  33507. },
  33508. "models.WrTradeDetail": {
  33509. "type": "object",
  33510. "properties": {
  33511. "accountid": {
  33512. "description": "资金账号",
  33513. "type": "integer"
  33514. },
  33515. "buyorsell": {
  33516. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  33517. "type": "integer"
  33518. },
  33519. "deliverygoodscode": {
  33520. "description": "品种代码",
  33521. "type": "string"
  33522. },
  33523. "deliverygoodsid": {
  33524. "description": "品种ID",
  33525. "type": "integer"
  33526. },
  33527. "deliverygoodsname": {
  33528. "description": "品种名称",
  33529. "type": "string"
  33530. },
  33531. "deliverymonth": {
  33532. "description": "交收月",
  33533. "type": "string"
  33534. },
  33535. "enumdicname": {
  33536. "description": "单位名称",
  33537. "type": "string"
  33538. },
  33539. "haswr": {
  33540. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  33541. "type": "integer"
  33542. },
  33543. "marketid": {
  33544. "description": "市场ID",
  33545. "type": "integer"
  33546. },
  33547. "matchaccountid": {
  33548. "description": "对手账号",
  33549. "type": "integer"
  33550. },
  33551. "matchusername": {
  33552. "description": "对手方",
  33553. "type": "string"
  33554. },
  33555. "minivalue": {
  33556. "description": "现货商品最小变动值",
  33557. "type": "integer"
  33558. },
  33559. "optioncompare": {
  33560. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33561. "type": "string"
  33562. },
  33563. "tradedate": {
  33564. "description": "交易日(yyyyMMdd)",
  33565. "type": "string"
  33566. },
  33567. "tradeprice": {
  33568. "description": "成交价格",
  33569. "type": "number"
  33570. },
  33571. "tradeqty": {
  33572. "description": "成交数量",
  33573. "type": "number"
  33574. },
  33575. "tradetime": {
  33576. "description": "成交时间",
  33577. "type": "string"
  33578. },
  33579. "userid": {
  33580. "description": "用户ID",
  33581. "type": "integer"
  33582. },
  33583. "warehouseid": {
  33584. "description": "仓库ID",
  33585. "type": "integer"
  33586. },
  33587. "warehousename": {
  33588. "description": "仓库名称",
  33589. "type": "string"
  33590. },
  33591. "wrfactortypeid": {
  33592. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33593. "type": "string"
  33594. },
  33595. "wrfactortypename": {
  33596. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33597. "type": "string"
  33598. },
  33599. "wrstandardcode": {
  33600. "description": "现货商品代码",
  33601. "type": "string"
  33602. },
  33603. "wrstandardid": {
  33604. "description": "现货商品ID",
  33605. "type": "integer"
  33606. },
  33607. "wrstandardname": {
  33608. "description": "商品名称",
  33609. "type": "string"
  33610. },
  33611. "wrtradedetailid": {
  33612. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  33613. "type": "string"
  33614. },
  33615. "wrtradetype": {
  33616. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  33617. "type": "integer"
  33618. },
  33619. "wrtypename": {
  33620. "description": "商品",
  33621. "type": "string"
  33622. }
  33623. }
  33624. },
  33625. "models.WrTradeOrderDetail": {
  33626. "type": "object",
  33627. "properties": {
  33628. "buyorsell": {
  33629. "description": "买卖方向 0-买 1-卖",
  33630. "type": "integer"
  33631. },
  33632. "goodsid": {
  33633. "description": "商品id",
  33634. "type": "integer"
  33635. },
  33636. "orderid": {
  33637. "description": "委托单号",
  33638. "type": "string"
  33639. },
  33640. "orderprice": {
  33641. "description": "委托价格",
  33642. "type": "number"
  33643. },
  33644. "orderqty": {
  33645. "description": "委托数量",
  33646. "type": "integer"
  33647. },
  33648. "userid": {
  33649. "description": "用户id",
  33650. "type": "integer"
  33651. },
  33652. "username": {
  33653. "description": "用户名称(已脱敏)",
  33654. "type": "string"
  33655. }
  33656. }
  33657. },
  33658. "models.WrTypeItem": {
  33659. "type": "object",
  33660. "properties": {
  33661. "name": {
  33662. "description": "名称",
  33663. "type": "string"
  33664. },
  33665. "value": {
  33666. "description": "值",
  33667. "type": "string"
  33668. }
  33669. }
  33670. },
  33671. "models.WrUserFriend": {
  33672. "type": "object",
  33673. "properties": {
  33674. "friendname": {
  33675. "description": "朋友名称(已脱敏)",
  33676. "type": "string"
  33677. },
  33678. "frienduserid": {
  33679. "description": "朋友id",
  33680. "type": "integer"
  33681. },
  33682. "isfriend": {
  33683. "description": "是否好友 0-不是 1-是",
  33684. "type": "integer"
  33685. },
  33686. "userid": {
  33687. "description": "用户id",
  33688. "type": "integer"
  33689. }
  33690. }
  33691. },
  33692. "order.QueryHisTradeDetailRsp": {
  33693. "type": "object",
  33694. "required": [
  33695. "accountid",
  33696. "buyorsell",
  33697. "goodsid",
  33698. "histradedate",
  33699. "marketid",
  33700. "memberuserid",
  33701. "orderid",
  33702. "tradeamount",
  33703. "tradedate",
  33704. "tradeid",
  33705. "tradeprice",
  33706. "tradeqty",
  33707. "tradetime"
  33708. ],
  33709. "properties": {
  33710. "accountid": {
  33711. "description": "账户ID[报价币种]",
  33712. "type": "integer"
  33713. },
  33714. "advanceratio": {
  33715. "description": "首付比率",
  33716. "type": "number"
  33717. },
  33718. "buildtype": {
  33719. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  33720. "type": "integer"
  33721. },
  33722. "buyorsell": {
  33723. "description": "方向 - 0:买 1:卖",
  33724. "type": "integer"
  33725. },
  33726. "charge": {
  33727. "description": "手续费",
  33728. "type": "number"
  33729. },
  33730. "closecharge": {
  33731. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  33732. "type": "number"
  33733. },
  33734. "closeexchagechargevalue": {
  33735. "description": "平仓交易所手续费设置值",
  33736. "type": "number"
  33737. },
  33738. "closefeealgorithm": {
  33739. "description": "平仓手续费收取方式 1:比率 2:固定",
  33740. "type": "integer"
  33741. },
  33742. "closememberchargevalue": {
  33743. "description": "平仓会员手续费设置值",
  33744. "type": "number"
  33745. },
  33746. "closepl": {
  33747. "description": "平仓盈亏",
  33748. "type": "number"
  33749. },
  33750. "closepl2": {
  33751. "description": "平仓盈亏[逐笔]",
  33752. "type": "number"
  33753. },
  33754. "closeqty": {
  33755. "description": "平仓数量(先建后平操作 需要记录)",
  33756. "type": "number"
  33757. },
  33758. "creditamount": {
  33759. "description": "授信金额",
  33760. "type": "number"
  33761. },
  33762. "decimalplace": {
  33763. "description": "商品报价小数位",
  33764. "type": "integer"
  33765. },
  33766. "enumdicname": {
  33767. "description": "单位名称",
  33768. "type": "string"
  33769. },
  33770. "gcaccountid": {
  33771. "description": "账户ID[合约币种]",
  33772. "type": "integer"
  33773. },
  33774. "goodscode": {
  33775. "description": "商品代码",
  33776. "type": "string"
  33777. },
  33778. "goodsid": {
  33779. "description": "商品ID",
  33780. "type": "integer"
  33781. },
  33782. "goodsname": {
  33783. "description": "商品名称",
  33784. "type": "string"
  33785. },
  33786. "goodunitid": {
  33787. "description": "商品单位id",
  33788. "type": "integer"
  33789. },
  33790. "histradedate": {
  33791. "description": "历史交易日",
  33792. "type": "string"
  33793. },
  33794. "intclosepl": {
  33795. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  33796. "type": "integer"
  33797. },
  33798. "isconfirmexercise": {
  33799. "description": "是否确认行权- 0:否 1:是",
  33800. "type": "integer"
  33801. },
  33802. "ismain": {
  33803. "description": "是否主单 - 0:不是 1:是",
  33804. "type": "integer"
  33805. },
  33806. "ispreexercise": {
  33807. "description": "是否预申报- 0:否 1:是",
  33808. "type": "integer"
  33809. },
  33810. "isreckoned": {
  33811. "description": "是否结算 - 0:未结算 1:已结算",
  33812. "type": "integer"
  33813. },
  33814. "isvaliddata": {
  33815. "description": "是否有效 - 0:无效 1:有效",
  33816. "type": "integer"
  33817. },
  33818. "listingselecttype": {
  33819. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  33820. "type": "integer"
  33821. },
  33822. "marketid": {
  33823. "description": "市场ID",
  33824. "type": "integer"
  33825. },
  33826. "marketname": {
  33827. "description": "市场名称",
  33828. "type": "string"
  33829. },
  33830. "matchaccountid": {
  33831. "description": "对手账号id",
  33832. "type": "integer"
  33833. },
  33834. "memberuserid": {
  33835. "description": "会员id 个人投资者 需要填写",
  33836. "type": "integer"
  33837. },
  33838. "opencharge": {
  33839. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  33840. "type": "number"
  33841. },
  33842. "openexchagechargevalue": {
  33843. "description": "建仓交易所手续费设置值",
  33844. "type": "number"
  33845. },
  33846. "openfeealgorithm": {
  33847. "description": "建仓手续费收取方式 1:比率 2:固定",
  33848. "type": "integer"
  33849. },
  33850. "openmemberchargevalue": {
  33851. "description": "建仓会员手续费设置值",
  33852. "type": "number"
  33853. },
  33854. "openqty": {
  33855. "description": "开仓数量(先建后平操作 需要记录)",
  33856. "type": "number"
  33857. },
  33858. "optiontype": {
  33859. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  33860. "type": "integer"
  33861. },
  33862. "orderid": {
  33863. "description": "委托单号",
  33864. "type": "string"
  33865. },
  33866. "payamount": {
  33867. "description": "支付金额(付款金额)",
  33868. "type": "number"
  33869. },
  33870. "performanceplanid": {
  33871. "description": "履约计划ID[期权]",
  33872. "type": "integer"
  33873. },
  33874. "performancestatus": {
  33875. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  33876. "type": "integer"
  33877. },
  33878. "preexerciseprice": {
  33879. "description": "预申报价格",
  33880. "type": "number"
  33881. },
  33882. "premium": {
  33883. "description": "权利金 - [持仓单的权利金]",
  33884. "type": "number"
  33885. },
  33886. "qtydecimalplace": {
  33887. "description": "商品报价小数位",
  33888. "type": "integer"
  33889. },
  33890. "recvamount": {
  33891. "description": "到账金额 = 成交金额 - 手续费",
  33892. "type": "number"
  33893. },
  33894. "relatedouttradeid": {
  33895. "description": "关联外部成交单ID",
  33896. "type": "integer"
  33897. },
  33898. "status": {
  33899. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  33900. "type": "integer"
  33901. },
  33902. "totalamount": {
  33903. "description": "订单总额 = 成交金额 + 手续费",
  33904. "type": "number"
  33905. },
  33906. "tradeamount": {
  33907. "description": "成交金额[账户币种,用于所有权]",
  33908. "type": "number"
  33909. },
  33910. "tradedate": {
  33911. "description": "交易日(yyyyMMdd)",
  33912. "type": "string"
  33913. },
  33914. "tradeid": {
  33915. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33916. "type": "string"
  33917. },
  33918. "trademode": {
  33919. "description": "交易模式",
  33920. "type": "integer"
  33921. },
  33922. "tradeprice": {
  33923. "description": "成交价格",
  33924. "type": "number"
  33925. },
  33926. "tradeproperty": {
  33927. "description": "交易属性",
  33928. "type": "integer"
  33929. },
  33930. "tradeqty": {
  33931. "description": "成交数量",
  33932. "type": "number"
  33933. },
  33934. "tradetime": {
  33935. "description": "成交时间",
  33936. "type": "string"
  33937. },
  33938. "tradetype": {
  33939. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  33940. "type": "integer"
  33941. }
  33942. }
  33943. },
  33944. "order.QueryHisTradeOrderDetailRsp": {
  33945. "type": "object",
  33946. "required": [
  33947. "accountid",
  33948. "buildtype",
  33949. "buyorsell",
  33950. "goodsid",
  33951. "histradedate",
  33952. "marketid",
  33953. "memberuserid",
  33954. "operatetype",
  33955. "orderid",
  33956. "orderqty",
  33957. "ordertime",
  33958. "pricemode",
  33959. "tradedate",
  33960. "validtype"
  33961. ],
  33962. "properties": {
  33963. "accountid": {
  33964. "description": "账户ID[报价币种]",
  33965. "type": "integer"
  33966. },
  33967. "buildtype": {
  33968. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  33969. "type": "integer"
  33970. },
  33971. "buyorsell": {
  33972. "description": "买卖 - 0:买 1:卖",
  33973. "type": "integer"
  33974. },
  33975. "cancelorderid": {
  33976. "description": "撤单单号(撤单时填写)",
  33977. "type": "string"
  33978. },
  33979. "cancelqty": {
  33980. "description": "撤单数量",
  33981. "type": "number"
  33982. },
  33983. "clientordertime": {
  33984. "description": "客户端委托时间",
  33985. "type": "string"
  33986. },
  33987. "clientticket": {
  33988. "description": "客户端流水号",
  33989. "type": "string"
  33990. },
  33991. "clienttype": {
  33992. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  33993. "type": "integer"
  33994. },
  33995. "closeexchagechargevalue": {
  33996. "description": "平仓交易所手续费设置值",
  33997. "type": "number"
  33998. },
  33999. "closefeealgorithm": {
  34000. "description": "平仓手续费收取方式 1:比率 2:固定",
  34001. "type": "integer"
  34002. },
  34003. "closefreezecharge": {
  34004. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  34005. "type": "number"
  34006. },
  34007. "closememberchargevalue": {
  34008. "description": "平仓会员手续费设置值",
  34009. "type": "number"
  34010. },
  34011. "closeqty": {
  34012. "description": "平仓数量(先建后平操作 需要记录)",
  34013. "type": "number"
  34014. },
  34015. "closetradeqty": {
  34016. "description": "平仓成交数量(先建后平操作,需要记录)",
  34017. "type": "number"
  34018. },
  34019. "closeunfreezecharge": {
  34020. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  34021. "type": "number"
  34022. },
  34023. "decimalplace": {
  34024. "description": "商品报价小数位",
  34025. "type": "integer"
  34026. },
  34027. "delistingtype": {
  34028. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  34029. "type": "integer"
  34030. },
  34031. "enumdicname": {
  34032. "description": "单位名称",
  34033. "type": "string"
  34034. },
  34035. "freezecharge": {
  34036. "description": "冻结手续费",
  34037. "type": "number"
  34038. },
  34039. "freezemargin": {
  34040. "description": "冻结保证金(冻结交易金额)",
  34041. "type": "number"
  34042. },
  34043. "gcaccountid": {
  34044. "description": "账户ID[合约币种]",
  34045. "type": "integer"
  34046. },
  34047. "goodscode": {
  34048. "description": "商品代码",
  34049. "type": "string"
  34050. },
  34051. "goodsid": {
  34052. "description": "商品ID",
  34053. "type": "integer"
  34054. },
  34055. "goodsname": {
  34056. "description": "商品名称",
  34057. "type": "string"
  34058. },
  34059. "goodunitid": {
  34060. "description": "商品单位id",
  34061. "type": "integer"
  34062. },
  34063. "histradedate": {
  34064. "description": "历史交易日",
  34065. "type": "string"
  34066. },
  34067. "isconfirmexercise": {
  34068. "description": "是否确认行权- 0:否 1:是",
  34069. "type": "integer"
  34070. },
  34071. "ispreexercise": {
  34072. "description": "是否预申报- 0:否 1:是",
  34073. "type": "integer"
  34074. },
  34075. "isvaliddata": {
  34076. "description": "是否有效 - 0:无效 1:有效",
  34077. "type": "integer"
  34078. },
  34079. "listingselecttype": {
  34080. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  34081. "type": "integer"
  34082. },
  34083. "marginalgorithm": {
  34084. "description": "保证金收取方式 1:比率 2:固定",
  34085. "type": "integer"
  34086. },
  34087. "marginvalue": {
  34088. "description": "即市保证金设置值",
  34089. "type": "number"
  34090. },
  34091. "marketid": {
  34092. "description": "市场ID",
  34093. "type": "integer"
  34094. },
  34095. "marketmaxsub": {
  34096. "description": "市价最大偏移范围",
  34097. "type": "number"
  34098. },
  34099. "marketname": {
  34100. "description": "市场名称",
  34101. "type": "string"
  34102. },
  34103. "memberuserid": {
  34104. "description": "所属会员UserID",
  34105. "type": "integer"
  34106. },
  34107. "openexchagechargevalue": {
  34108. "description": "建仓交易所手续费设置值",
  34109. "type": "number"
  34110. },
  34111. "openfeealgorithm": {
  34112. "description": "建仓手续费收取方式 1:比率 2:固定",
  34113. "type": "integer"
  34114. },
  34115. "openfreezecharge": {
  34116. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  34117. "type": "number"
  34118. },
  34119. "openmemberchargevalue": {
  34120. "description": "建仓会员手续费设置值",
  34121. "type": "number"
  34122. },
  34123. "openqty": {
  34124. "description": "开仓数量(先建后平操作,需要记录)",
  34125. "type": "number"
  34126. },
  34127. "opentradeqty": {
  34128. "description": "开仓成交数量(先建后平操作,需要记录)",
  34129. "type": "number"
  34130. },
  34131. "openunfreezecharge": {
  34132. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  34133. "type": "number"
  34134. },
  34135. "operatetype": {
  34136. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  34137. "type": "integer"
  34138. },
  34139. "operatorid": {
  34140. "description": "登录账号(LoginID)",
  34141. "type": "integer"
  34142. },
  34143. "optiontype": {
  34144. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  34145. "type": "integer"
  34146. },
  34147. "orderid": {
  34148. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34149. "type": "string"
  34150. },
  34151. "orderprice": {
  34152. "description": "委托价格",
  34153. "type": "number"
  34154. },
  34155. "orderqty": {
  34156. "description": "委托数量",
  34157. "type": "number"
  34158. },
  34159. "ordersrc": {
  34160. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  34161. "type": "integer"
  34162. },
  34163. "orderstatus": {
  34164. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  34165. "type": "integer"
  34166. },
  34167. "ordertime": {
  34168. "description": "委托时间",
  34169. "type": "string"
  34170. },
  34171. "preexerciseprice": {
  34172. "description": "预申报价格",
  34173. "type": "number"
  34174. },
  34175. "premium": {
  34176. "description": "权利金",
  34177. "type": "number"
  34178. },
  34179. "preorderid": {
  34180. "description": "关联预埋单号(止盈止损单时填写)",
  34181. "type": "string"
  34182. },
  34183. "pricemode": {
  34184. "description": "取价方式 - 1:市价 2: 限价",
  34185. "type": "integer"
  34186. },
  34187. "qtydecimalplace": {
  34188. "description": "成交量小数位",
  34189. "type": "integer"
  34190. },
  34191. "quoteid": {
  34192. "description": "报价单ID",
  34193. "type": "integer"
  34194. },
  34195. "relatedid": {
  34196. "description": "关联单号(交割单)",
  34197. "type": "string"
  34198. },
  34199. "retcode": {
  34200. "description": "错误代码",
  34201. "type": "integer"
  34202. },
  34203. "sessionid": {
  34204. "description": "会话ID",
  34205. "type": "integer"
  34206. },
  34207. "tradedate": {
  34208. "description": "交易日(yyyyMMdd)",
  34209. "type": "string"
  34210. },
  34211. "trademode": {
  34212. "description": "交易模式",
  34213. "type": "integer"
  34214. },
  34215. "tradeproperty": {
  34216. "description": "交易属性",
  34217. "type": "integer"
  34218. },
  34219. "tradeqty": {
  34220. "description": "成交数量",
  34221. "type": "number"
  34222. },
  34223. "unfreezecharge": {
  34224. "description": "解冻手续费",
  34225. "type": "number"
  34226. },
  34227. "unfreezemargin": {
  34228. "description": "解冻保证金",
  34229. "type": "number"
  34230. },
  34231. "updatetime": {
  34232. "description": "更新时间",
  34233. "type": "string"
  34234. },
  34235. "uuid": {
  34236. "description": "发起端唯一id",
  34237. "type": "string"
  34238. },
  34239. "validtime": {
  34240. "description": "有效期限",
  34241. "type": "string"
  34242. },
  34243. "validtype": {
  34244. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  34245. "type": "integer"
  34246. },
  34247. "volumetype": {
  34248. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  34249. "type": "integer"
  34250. }
  34251. }
  34252. },
  34253. "order.QueryTradeDetailRsp": {
  34254. "type": "object",
  34255. "required": [
  34256. "accountid",
  34257. "buyorsell",
  34258. "goodsid",
  34259. "marketid",
  34260. "memberuserid",
  34261. "orderid",
  34262. "tradeamount",
  34263. "tradedate",
  34264. "tradeid",
  34265. "tradeprice",
  34266. "tradeqty",
  34267. "tradetime"
  34268. ],
  34269. "properties": {
  34270. "accountid": {
  34271. "description": "账户ID[报价币种]",
  34272. "type": "integer"
  34273. },
  34274. "advanceratio": {
  34275. "description": "首付比率",
  34276. "type": "number"
  34277. },
  34278. "buildtype": {
  34279. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  34280. "type": "integer"
  34281. },
  34282. "buyorsell": {
  34283. "description": "方向 - 0:买 1:卖",
  34284. "type": "integer"
  34285. },
  34286. "charge": {
  34287. "description": "手续费",
  34288. "type": "number"
  34289. },
  34290. "closecharge": {
  34291. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  34292. "type": "number"
  34293. },
  34294. "closeexchagechargevalue": {
  34295. "description": "平仓交易所手续费设置值",
  34296. "type": "number"
  34297. },
  34298. "closefeealgorithm": {
  34299. "description": "平仓手续费收取方式 1:比率 2:固定",
  34300. "type": "integer"
  34301. },
  34302. "closememberchargevalue": {
  34303. "description": "平仓会员手续费设置值",
  34304. "type": "number"
  34305. },
  34306. "closepl": {
  34307. "description": "平仓盈亏",
  34308. "type": "number"
  34309. },
  34310. "closepl2": {
  34311. "description": "平仓盈亏[逐笔]",
  34312. "type": "number"
  34313. },
  34314. "closeqty": {
  34315. "description": "平仓数量(先建后平操作 需要记录)",
  34316. "type": "number"
  34317. },
  34318. "creditamount": {
  34319. "description": "授信金额",
  34320. "type": "number"
  34321. },
  34322. "decimalplace": {
  34323. "description": "商品报价小数位",
  34324. "type": "integer"
  34325. },
  34326. "enumdicname": {
  34327. "description": "单位名称",
  34328. "type": "string"
  34329. },
  34330. "gcaccountid": {
  34331. "description": "账户ID[合约币种]",
  34332. "type": "integer"
  34333. },
  34334. "goodscode": {
  34335. "description": "商品代码",
  34336. "type": "string"
  34337. },
  34338. "goodsid": {
  34339. "description": "商品ID",
  34340. "type": "integer"
  34341. },
  34342. "goodsname": {
  34343. "description": "商品名称",
  34344. "type": "string"
  34345. },
  34346. "goodunitid": {
  34347. "description": "商品单位id",
  34348. "type": "integer"
  34349. },
  34350. "intclosepl": {
  34351. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  34352. "type": "integer"
  34353. },
  34354. "isconfirmexercise": {
  34355. "description": "是否确认行权- 0:否 1:是",
  34356. "type": "integer"
  34357. },
  34358. "ismain": {
  34359. "description": "是否主单 - 0:不是 1:是",
  34360. "type": "integer"
  34361. },
  34362. "ispreexercise": {
  34363. "description": "是否预申报- 0:否 1:是",
  34364. "type": "integer"
  34365. },
  34366. "isreckoned": {
  34367. "description": "是否结算 - 0:未结算 1:已结算",
  34368. "type": "integer"
  34369. },
  34370. "listingselecttype": {
  34371. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  34372. "type": "integer"
  34373. },
  34374. "marketid": {
  34375. "description": "市场ID",
  34376. "type": "integer"
  34377. },
  34378. "marketname": {
  34379. "description": "市场名称",
  34380. "type": "string"
  34381. },
  34382. "matchaccountid": {
  34383. "description": "对手账号id",
  34384. "type": "integer"
  34385. },
  34386. "memberuserid": {
  34387. "description": "会员id 个人投资者 需要填写",
  34388. "type": "integer"
  34389. },
  34390. "opencharge": {
  34391. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  34392. "type": "number"
  34393. },
  34394. "openexchagechargevalue": {
  34395. "description": "建仓交易所手续费设置值",
  34396. "type": "number"
  34397. },
  34398. "openfeealgorithm": {
  34399. "description": "建仓手续费收取方式 1:比率 2:固定",
  34400. "type": "integer"
  34401. },
  34402. "openmemberchargevalue": {
  34403. "description": "建仓会员手续费设置值",
  34404. "type": "number"
  34405. },
  34406. "openqty": {
  34407. "description": "开仓数量(先建后平操作 需要记录)",
  34408. "type": "number"
  34409. },
  34410. "optiontype": {
  34411. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  34412. "type": "integer"
  34413. },
  34414. "orderid": {
  34415. "description": "委托单号",
  34416. "type": "string"
  34417. },
  34418. "payamount": {
  34419. "description": "支付金额(付款金额)",
  34420. "type": "number"
  34421. },
  34422. "performanceplanid": {
  34423. "description": "履约计划ID[期权]",
  34424. "type": "integer"
  34425. },
  34426. "performancestatus": {
  34427. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  34428. "type": "integer"
  34429. },
  34430. "preexerciseprice": {
  34431. "description": "预申报价格",
  34432. "type": "number"
  34433. },
  34434. "premium": {
  34435. "description": "权利金 - [持仓单的权利金]",
  34436. "type": "number"
  34437. },
  34438. "qtydecimalplace": {
  34439. "description": "商品报价小数位",
  34440. "type": "integer"
  34441. },
  34442. "recvamount": {
  34443. "description": "到账金额 = 成交金额 - 手续费",
  34444. "type": "number"
  34445. },
  34446. "relatedouttradeid": {
  34447. "description": "关联外部成交单ID",
  34448. "type": "integer"
  34449. },
  34450. "status": {
  34451. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  34452. "type": "integer"
  34453. },
  34454. "totalamount": {
  34455. "description": "订单总额 = 成交金额 + 手续费",
  34456. "type": "number"
  34457. },
  34458. "tradeamount": {
  34459. "description": "成交金额[账户币种,用于所有权]",
  34460. "type": "number"
  34461. },
  34462. "tradedate": {
  34463. "description": "交易日(yyyyMMdd)",
  34464. "type": "string"
  34465. },
  34466. "tradeid": {
  34467. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34468. "type": "string"
  34469. },
  34470. "trademode": {
  34471. "description": "交易模式",
  34472. "type": "integer"
  34473. },
  34474. "tradeprice": {
  34475. "description": "成交价格",
  34476. "type": "number"
  34477. },
  34478. "tradeproperty": {
  34479. "description": "交易属性",
  34480. "type": "integer"
  34481. },
  34482. "tradeqty": {
  34483. "description": "成交数量",
  34484. "type": "number"
  34485. },
  34486. "tradetime": {
  34487. "description": "成交时间",
  34488. "type": "string"
  34489. },
  34490. "tradetype": {
  34491. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  34492. "type": "integer"
  34493. }
  34494. }
  34495. },
  34496. "order.QueryTradeOrderDetailRsp": {
  34497. "type": "object",
  34498. "required": [
  34499. "accountid",
  34500. "buildtype",
  34501. "buyorsell",
  34502. "goodsid",
  34503. "marketid",
  34504. "operatetype",
  34505. "orderqty",
  34506. "ordertime",
  34507. "pricemode",
  34508. "tradedate",
  34509. "validtype"
  34510. ],
  34511. "properties": {
  34512. "accountid": {
  34513. "description": "账户ID[报价币种]",
  34514. "type": "integer"
  34515. },
  34516. "buildtype": {
  34517. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  34518. "type": "integer"
  34519. },
  34520. "buyorsell": {
  34521. "description": "买卖 - 0:买 1:卖",
  34522. "type": "integer"
  34523. },
  34524. "cancelorderid": {
  34525. "description": "撤单单号(撤单时填写)",
  34526. "type": "string"
  34527. },
  34528. "cancelqty": {
  34529. "description": "撤单数量",
  34530. "type": "number"
  34531. },
  34532. "clienttype": {
  34533. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  34534. "type": "integer"
  34535. },
  34536. "closefreezecharge": {
  34537. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  34538. "type": "number"
  34539. },
  34540. "closeqty": {
  34541. "description": "平仓数量(先建后平操作 需要记录)",
  34542. "type": "number"
  34543. },
  34544. "closetradeqty": {
  34545. "description": "平仓成交数量(先建后平操作,需要记录)",
  34546. "type": "number"
  34547. },
  34548. "closeunfreezecharge": {
  34549. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  34550. "type": "number"
  34551. },
  34552. "decimalplace": {
  34553. "description": "商品报价小数位",
  34554. "type": "integer"
  34555. },
  34556. "delistingtype": {
  34557. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  34558. "type": "integer"
  34559. },
  34560. "enableqty": {
  34561. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  34562. "type": "number"
  34563. },
  34564. "enumdicname": {
  34565. "description": "单位名称",
  34566. "type": "string"
  34567. },
  34568. "freezecharge": {
  34569. "description": "冻结手续费",
  34570. "type": "number"
  34571. },
  34572. "freezemargin": {
  34573. "description": "冻结保证金(冻结交易金额)",
  34574. "type": "number"
  34575. },
  34576. "goodscode": {
  34577. "description": "商品代码",
  34578. "type": "string"
  34579. },
  34580. "goodsid": {
  34581. "description": "商品ID",
  34582. "type": "integer"
  34583. },
  34584. "goodsname": {
  34585. "description": "商品名称",
  34586. "type": "string"
  34587. },
  34588. "goodunitid": {
  34589. "description": "商品单位id",
  34590. "type": "integer"
  34591. },
  34592. "listingselecttype": {
  34593. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  34594. "type": "integer"
  34595. },
  34596. "marketid": {
  34597. "description": "市场ID",
  34598. "type": "integer"
  34599. },
  34600. "marketname": {
  34601. "description": "市场名称",
  34602. "type": "string"
  34603. },
  34604. "openfreezecharge": {
  34605. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  34606. "type": "number"
  34607. },
  34608. "openqty": {
  34609. "description": "开仓数量(先建后平操作,需要记录)",
  34610. "type": "number"
  34611. },
  34612. "opentradeqty": {
  34613. "description": "开仓成交数量(先建后平操作,需要记录)",
  34614. "type": "number"
  34615. },
  34616. "openunfreezecharge": {
  34617. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  34618. "type": "number"
  34619. },
  34620. "operatetype": {
  34621. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  34622. "type": "integer"
  34623. },
  34624. "operatorid": {
  34625. "description": "登录账号(LoginID)",
  34626. "type": "integer"
  34627. },
  34628. "orderid": {
  34629. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34630. "type": "string"
  34631. },
  34632. "orderprice": {
  34633. "description": "委托价格",
  34634. "type": "number"
  34635. },
  34636. "orderqty": {
  34637. "description": "委托数量",
  34638. "type": "number"
  34639. },
  34640. "ordersrc": {
  34641. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  34642. "type": "integer"
  34643. },
  34644. "orderstatus": {
  34645. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  34646. "type": "integer"
  34647. },
  34648. "ordertime": {
  34649. "description": "委托时间",
  34650. "type": "string"
  34651. },
  34652. "preorderid": {
  34653. "description": "关联预埋单号(止盈止损单时填写)",
  34654. "type": "string"
  34655. },
  34656. "pricemode": {
  34657. "description": "取价方式 - 1:市价 2: 限价",
  34658. "type": "integer"
  34659. },
  34660. "qtydecimalplace": {
  34661. "description": "商品报价小数位",
  34662. "type": "integer"
  34663. },
  34664. "relatedid": {
  34665. "description": "关联单号(交割单)",
  34666. "type": "string"
  34667. },
  34668. "tradedate": {
  34669. "description": "交易日(yyyyMMdd)",
  34670. "type": "string"
  34671. },
  34672. "trademode": {
  34673. "description": "交易模式",
  34674. "type": "integer"
  34675. },
  34676. "tradeqty": {
  34677. "description": "成交数量",
  34678. "type": "number"
  34679. },
  34680. "unfreezecharge": {
  34681. "description": "解冻手续费",
  34682. "type": "number"
  34683. },
  34684. "unfreezemargin": {
  34685. "description": "解冻保证金",
  34686. "type": "number"
  34687. },
  34688. "validtime": {
  34689. "description": "有效期限",
  34690. "type": "string"
  34691. },
  34692. "validtype": {
  34693. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  34694. "type": "integer"
  34695. },
  34696. "volumetype": {
  34697. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  34698. "type": "integer"
  34699. }
  34700. }
  34701. },
  34702. "order.QueryTradePositionRsp": {
  34703. "type": "object",
  34704. "required": [
  34705. "goodsid"
  34706. ],
  34707. "properties": {
  34708. "accountid": {
  34709. "description": "资金账户",
  34710. "type": "integer"
  34711. },
  34712. "agreeunit": {
  34713. "description": "合约单位",
  34714. "type": "number"
  34715. },
  34716. "averageprice": {
  34717. "description": "持仓均价",
  34718. "type": "number"
  34719. },
  34720. "buyorsell": {
  34721. "description": "方向 - 0:买 1:卖",
  34722. "type": "integer"
  34723. },
  34724. "closetotalqty": {
  34725. "description": "平仓总数量",
  34726. "type": "number"
  34727. },
  34728. "curholderamount": {
  34729. "description": "当前持仓总金额[商品币种]",
  34730. "type": "number"
  34731. },
  34732. "curpositionqty": {
  34733. "description": "当前持仓总数量",
  34734. "type": "number"
  34735. },
  34736. "currencyid": {
  34737. "description": "报价货币ID",
  34738. "type": "integer"
  34739. },
  34740. "curtdposition": {
  34741. "description": "期末今日头寸",
  34742. "type": "number"
  34743. },
  34744. "decimalplace": {
  34745. "description": "报价小数位",
  34746. "type": "integer"
  34747. },
  34748. "enableqty": {
  34749. "description": "可用量",
  34750. "type": "number"
  34751. },
  34752. "fretdposition": {
  34753. "description": "冻结今日头寸",
  34754. "type": "number"
  34755. },
  34756. "frozenqty": {
  34757. "description": "持仓冻结数量",
  34758. "type": "number"
  34759. },
  34760. "goodscode": {
  34761. "description": "商品代码",
  34762. "type": "string"
  34763. },
  34764. "goodsid": {
  34765. "description": "商品Id",
  34766. "type": "integer"
  34767. },
  34768. "goodsname": {
  34769. "description": "商品名称",
  34770. "type": "string"
  34771. },
  34772. "goodunit": {
  34773. "description": "报价单位",
  34774. "type": "string"
  34775. },
  34776. "goodunitid": {
  34777. "description": "报价单位ID",
  34778. "type": "integer"
  34779. },
  34780. "holderamount": {
  34781. "description": "期初持仓总金额[商品币种]",
  34782. "type": "number"
  34783. },
  34784. "lastprice": {
  34785. "description": "最新价",
  34786. "type": "number"
  34787. },
  34788. "marketamount": {
  34789. "description": "市值",
  34790. "type": "number"
  34791. },
  34792. "marketid": {
  34793. "description": "所属市场ID",
  34794. "type": "integer"
  34795. },
  34796. "openreqqty": {
  34797. "description": "开仓申请数量(用于比较最大持仓数量)",
  34798. "type": "number"
  34799. },
  34800. "opentotalqty": {
  34801. "description": "开仓总数量",
  34802. "type": "number"
  34803. },
  34804. "otherfrozenqty": {
  34805. "description": "持仓其他冻结数量(交割冻结)",
  34806. "type": "number"
  34807. },
  34808. "positionpl": {
  34809. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  34810. "type": "number"
  34811. },
  34812. "positionplrate": {
  34813. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  34814. "type": "number"
  34815. },
  34816. "positionqty": {
  34817. "description": "期初持仓数量",
  34818. "type": "number"
  34819. },
  34820. "qtydecimalplace": {
  34821. "description": "成交量小数位",
  34822. "type": "integer"
  34823. },
  34824. "tnqty": {
  34825. "description": "T+N冻结总量",
  34826. "type": "number"
  34827. },
  34828. "tnusedqty": {
  34829. "description": "T+N使用量(可以使用T+N的冻结数量)",
  34830. "type": "number"
  34831. },
  34832. "trademode": {
  34833. "description": "交易模式",
  34834. "type": "integer"
  34835. },
  34836. "usedmargin": {
  34837. "description": "占用保证金[商品币种]",
  34838. "type": "number"
  34839. }
  34840. }
  34841. },
  34842. "quote.HistoryData": {
  34843. "type": "object",
  34844. "properties": {
  34845. "c": {
  34846. "description": "收盘价",
  34847. "type": "number"
  34848. },
  34849. "f": {
  34850. "description": "是否补充数据",
  34851. "type": "boolean"
  34852. },
  34853. "h": {
  34854. "description": "最高价",
  34855. "type": "number"
  34856. },
  34857. "hv": {
  34858. "description": "持仓量",
  34859. "type": "integer"
  34860. },
  34861. "l": {
  34862. "description": "最低价",
  34863. "type": "number"
  34864. },
  34865. "o": {
  34866. "description": "开盘价",
  34867. "type": "number"
  34868. },
  34869. "s": {
  34870. "description": "结算价,日线周期(包括)以上才有",
  34871. "type": "number"
  34872. },
  34873. "ts": {
  34874. "description": "时间",
  34875. "type": "string"
  34876. },
  34877. "tt": {
  34878. "description": "总金额",
  34879. "type": "number"
  34880. },
  34881. "tv": {
  34882. "description": "总量",
  34883. "type": "integer"
  34884. }
  34885. }
  34886. },
  34887. "quote.HistoryTikData": {
  34888. "type": "object",
  34889. "properties": {
  34890. "AV": {
  34891. "description": "卖量",
  34892. "type": "integer"
  34893. },
  34894. "Ask": {
  34895. "description": "卖价",
  34896. "type": "number"
  34897. },
  34898. "BV": {
  34899. "description": "买量",
  34900. "type": "integer"
  34901. },
  34902. "Bid": {
  34903. "description": "买价",
  34904. "type": "number"
  34905. },
  34906. "HI": {
  34907. "description": "单笔持仓",
  34908. "type": "integer"
  34909. },
  34910. "HV": {
  34911. "description": "持仓量",
  34912. "type": "integer"
  34913. },
  34914. "PE": {
  34915. "description": "现价",
  34916. "type": "number"
  34917. },
  34918. "TDR": {
  34919. "description": "交易方向,0:买 1:卖",
  34920. "type": "integer"
  34921. },
  34922. "TK": {
  34923. "description": "交易类型",
  34924. "type": "integer"
  34925. },
  34926. "TS": {
  34927. "description": "行情时间文本",
  34928. "type": "string"
  34929. },
  34930. "TT": {
  34931. "description": "现金额",
  34932. "type": "number"
  34933. },
  34934. "Vol": {
  34935. "description": "现量",
  34936. "type": "integer"
  34937. }
  34938. }
  34939. },
  34940. "quote.QueryQuoteDayRsp": {
  34941. "type": "object",
  34942. "properties": {
  34943. "ask": {
  34944. "description": "卖1",
  34945. "type": "number"
  34946. },
  34947. "ask10": {
  34948. "description": "卖10",
  34949. "type": "number"
  34950. },
  34951. "ask2": {
  34952. "description": "卖2",
  34953. "type": "number"
  34954. },
  34955. "ask3": {
  34956. "description": "卖3",
  34957. "type": "number"
  34958. },
  34959. "ask4": {
  34960. "description": "卖4",
  34961. "type": "number"
  34962. },
  34963. "ask5": {
  34964. "description": "卖5",
  34965. "type": "number"
  34966. },
  34967. "ask6": {
  34968. "description": "卖6",
  34969. "type": "number"
  34970. },
  34971. "ask7": {
  34972. "description": "卖7",
  34973. "type": "number"
  34974. },
  34975. "ask8": {
  34976. "description": "卖8",
  34977. "type": "number"
  34978. },
  34979. "ask9": {
  34980. "description": "卖9",
  34981. "type": "number"
  34982. },
  34983. "askorderid": {
  34984. "description": "卖单号1",
  34985. "type": "integer"
  34986. },
  34987. "askorderid2": {
  34988. "description": "卖单号2",
  34989. "type": "integer"
  34990. },
  34991. "askorderid3": {
  34992. "description": "卖单号3",
  34993. "type": "integer"
  34994. },
  34995. "askorderid4": {
  34996. "description": "卖单号4",
  34997. "type": "integer"
  34998. },
  34999. "askorderid5": {
  35000. "description": "卖单号5",
  35001. "type": "integer"
  35002. },
  35003. "askordervolume": {
  35004. "description": "卖单量1",
  35005. "type": "integer"
  35006. },
  35007. "askordervolume10": {
  35008. "description": "卖单量10",
  35009. "type": "integer"
  35010. },
  35011. "askordervolume2": {
  35012. "description": "卖单量2",
  35013. "type": "integer"
  35014. },
  35015. "askordervolume3": {
  35016. "description": "卖单量3",
  35017. "type": "integer"
  35018. },
  35019. "askordervolume4": {
  35020. "description": "卖单量4",
  35021. "type": "integer"
  35022. },
  35023. "askordervolume5": {
  35024. "description": "卖单量5",
  35025. "type": "integer"
  35026. },
  35027. "askordervolume6": {
  35028. "description": "卖单量6",
  35029. "type": "integer"
  35030. },
  35031. "askordervolume7": {
  35032. "description": "卖单量7",
  35033. "type": "integer"
  35034. },
  35035. "askordervolume8": {
  35036. "description": "卖单量8",
  35037. "type": "integer"
  35038. },
  35039. "askordervolume9": {
  35040. "description": "卖单量9",
  35041. "type": "integer"
  35042. },
  35043. "askqueueinfo": {
  35044. "description": "大利市卖港股用",
  35045. "type": "string"
  35046. },
  35047. "askvolume": {
  35048. "description": "卖量1",
  35049. "type": "integer"
  35050. },
  35051. "askvolume10": {
  35052. "description": "卖量10",
  35053. "type": "integer"
  35054. },
  35055. "askvolume2": {
  35056. "description": "卖量2",
  35057. "type": "integer"
  35058. },
  35059. "askvolume3": {
  35060. "description": "卖量3",
  35061. "type": "integer"
  35062. },
  35063. "askvolume4": {
  35064. "description": "卖量4",
  35065. "type": "integer"
  35066. },
  35067. "askvolume5": {
  35068. "description": "卖量5",
  35069. "type": "integer"
  35070. },
  35071. "askvolume6": {
  35072. "description": "卖量6",
  35073. "type": "integer"
  35074. },
  35075. "askvolume7": {
  35076. "description": "卖量7",
  35077. "type": "integer"
  35078. },
  35079. "askvolume8": {
  35080. "description": "卖量8",
  35081. "type": "integer"
  35082. },
  35083. "askvolume9": {
  35084. "description": "卖量9",
  35085. "type": "integer"
  35086. },
  35087. "averageprice": {
  35088. "description": "均价",
  35089. "type": "number"
  35090. },
  35091. "bid": {
  35092. "description": "买1",
  35093. "type": "number"
  35094. },
  35095. "bid10": {
  35096. "description": "买10",
  35097. "type": "number"
  35098. },
  35099. "bid2": {
  35100. "description": "买2",
  35101. "type": "number"
  35102. },
  35103. "bid3": {
  35104. "description": "买3",
  35105. "type": "number"
  35106. },
  35107. "bid4": {
  35108. "description": "买4",
  35109. "type": "number"
  35110. },
  35111. "bid5": {
  35112. "description": "买5",
  35113. "type": "number"
  35114. },
  35115. "bid6": {
  35116. "description": "买6",
  35117. "type": "number"
  35118. },
  35119. "bid7": {
  35120. "description": "买7",
  35121. "type": "number"
  35122. },
  35123. "bid8": {
  35124. "description": "买8",
  35125. "type": "number"
  35126. },
  35127. "bid9": {
  35128. "description": "买9",
  35129. "type": "number"
  35130. },
  35131. "bidorderid": {
  35132. "description": "买单号1",
  35133. "type": "integer"
  35134. },
  35135. "bidorderid2": {
  35136. "description": "买单号2",
  35137. "type": "integer"
  35138. },
  35139. "bidorderid3": {
  35140. "description": "买单号3",
  35141. "type": "integer"
  35142. },
  35143. "bidorderid4": {
  35144. "description": "买单号4",
  35145. "type": "integer"
  35146. },
  35147. "bidorderid5": {
  35148. "description": "买单号5",
  35149. "type": "integer"
  35150. },
  35151. "bidordervolume": {
  35152. "description": "买单量1",
  35153. "type": "integer"
  35154. },
  35155. "bidordervolume10": {
  35156. "description": "买单量10",
  35157. "type": "integer"
  35158. },
  35159. "bidordervolume2": {
  35160. "description": "买单量2",
  35161. "type": "integer"
  35162. },
  35163. "bidordervolume3": {
  35164. "description": "买单量3",
  35165. "type": "integer"
  35166. },
  35167. "bidordervolume4": {
  35168. "description": "买单量4",
  35169. "type": "integer"
  35170. },
  35171. "bidordervolume5": {
  35172. "description": "买单量5",
  35173. "type": "integer"
  35174. },
  35175. "bidordervolume6": {
  35176. "description": "买单量6",
  35177. "type": "integer"
  35178. },
  35179. "bidordervolume7": {
  35180. "description": "买单量7",
  35181. "type": "integer"
  35182. },
  35183. "bidordervolume8": {
  35184. "description": "买单量8",
  35185. "type": "integer"
  35186. },
  35187. "bidordervolume9": {
  35188. "description": "买单量9",
  35189. "type": "integer"
  35190. },
  35191. "bidqueueinfo": {
  35192. "description": "大利市买港股用",
  35193. "type": "string"
  35194. },
  35195. "bidvolume": {
  35196. "description": "买量1",
  35197. "type": "integer"
  35198. },
  35199. "bidvolume10": {
  35200. "description": "买量10",
  35201. "type": "integer"
  35202. },
  35203. "bidvolume2": {
  35204. "description": "买量2",
  35205. "type": "integer"
  35206. },
  35207. "bidvolume3": {
  35208. "description": "买量3",
  35209. "type": "integer"
  35210. },
  35211. "bidvolume4": {
  35212. "description": "买量4",
  35213. "type": "integer"
  35214. },
  35215. "bidvolume5": {
  35216. "description": "买量5",
  35217. "type": "integer"
  35218. },
  35219. "bidvolume6": {
  35220. "description": "买量6",
  35221. "type": "integer"
  35222. },
  35223. "bidvolume7": {
  35224. "description": "买量7",
  35225. "type": "integer"
  35226. },
  35227. "bidvolume8": {
  35228. "description": "买量8",
  35229. "type": "integer"
  35230. },
  35231. "bidvolume9": {
  35232. "description": "买量9",
  35233. "type": "integer"
  35234. },
  35235. "calloptionpremiums": {
  35236. "description": "认购期权1",
  35237. "type": "integer"
  35238. },
  35239. "calloptionpremiums2": {
  35240. "description": "认购期权2",
  35241. "type": "integer"
  35242. },
  35243. "calloptionpremiums3": {
  35244. "description": "认购期权3",
  35245. "type": "integer"
  35246. },
  35247. "calloptionpremiums4": {
  35248. "description": "认购期权4",
  35249. "type": "integer"
  35250. },
  35251. "calloptionpremiums5": {
  35252. "description": "认购期权5",
  35253. "type": "integer"
  35254. },
  35255. "cleartime": {
  35256. "description": "清盘时间",
  35257. "type": "integer"
  35258. },
  35259. "exchangecode": {
  35260. "description": "交易所代码",
  35261. "type": "integer"
  35262. },
  35263. "exchangedate": {
  35264. "description": "交易日",
  35265. "type": "integer"
  35266. },
  35267. "goodscode": {
  35268. "description": "商品代码",
  35269. "type": "string"
  35270. },
  35271. "grepmarketprice": {
  35272. "description": "暗盘价 港股专用",
  35273. "type": "number"
  35274. },
  35275. "highest": {
  35276. "description": "最高价",
  35277. "type": "number"
  35278. },
  35279. "holdincrement": {
  35280. "description": "单笔持仓",
  35281. "type": "integer"
  35282. },
  35283. "holdvolume": {
  35284. "description": "持仓",
  35285. "type": "integer"
  35286. },
  35287. "iep": {
  35288. "description": "平衡价 港股专用",
  35289. "type": "number"
  35290. },
  35291. "iev": {
  35292. "description": "平衡量 港股专用",
  35293. "type": "number"
  35294. },
  35295. "inventory": {
  35296. "description": "库存",
  35297. "type": "integer"
  35298. },
  35299. "iscleared": {
  35300. "description": "是否清盘标志",
  35301. "type": "integer"
  35302. },
  35303. "issettled": {
  35304. "description": "是否结算标志",
  35305. "type": "integer"
  35306. },
  35307. "last": {
  35308. "description": "最新价",
  35309. "type": "number"
  35310. },
  35311. "lastlot": {
  35312. "description": "最新成交手数",
  35313. "type": "integer"
  35314. },
  35315. "lasttime": {
  35316. "description": "行情时间(只有现价变化行情时间才变化)",
  35317. "type": "string"
  35318. },
  35319. "lastturnover": {
  35320. "description": "最新成交金额",
  35321. "type": "number"
  35322. },
  35323. "lastvolume": {
  35324. "description": "最新成交量",
  35325. "type": "integer"
  35326. },
  35327. "limitdown": {
  35328. "description": "跌停价",
  35329. "type": "number"
  35330. },
  35331. "limitup": {
  35332. "description": "涨停价",
  35333. "type": "number"
  35334. },
  35335. "lowest": {
  35336. "description": "最低价",
  35337. "type": "number"
  35338. },
  35339. "nontotalholdervolume": {
  35340. "description": "非交易持仓量",
  35341. "type": "integer"
  35342. },
  35343. "nontotallot": {
  35344. "description": "非交易总手数",
  35345. "type": "integer"
  35346. },
  35347. "nontotalturnover": {
  35348. "description": "非交易总金额",
  35349. "type": "integer"
  35350. },
  35351. "nontotalvolume": {
  35352. "description": "非交易总量",
  35353. "type": "integer"
  35354. },
  35355. "opened": {
  35356. "description": "开盘价",
  35357. "type": "number"
  35358. },
  35359. "opentime": {
  35360. "description": "开盘时间",
  35361. "type": "string"
  35362. },
  35363. "orderid": {
  35364. "description": "序号",
  35365. "type": "integer"
  35366. },
  35367. "preclose": {
  35368. "description": "昨收",
  35369. "type": "number"
  35370. },
  35371. "preholdvolume": {
  35372. "description": "昨持仓",
  35373. "type": "integer"
  35374. },
  35375. "presettle": {
  35376. "description": "昨结价",
  35377. "type": "number"
  35378. },
  35379. "publictradetype": {
  35380. "description": "公共交易标志类型 港股专用",
  35381. "type": "string"
  35382. },
  35383. "putoptionpremiums": {
  35384. "description": "认沽期权1",
  35385. "type": "integer"
  35386. },
  35387. "putoptionpremiums2": {
  35388. "description": "认沽期权2",
  35389. "type": "integer"
  35390. },
  35391. "putoptionpremiums3": {
  35392. "description": "认沽期权3",
  35393. "type": "integer"
  35394. },
  35395. "putoptionpremiums4": {
  35396. "description": "认沽期权4",
  35397. "type": "integer"
  35398. },
  35399. "putoptionpremiums5": {
  35400. "description": "认沽期权5",
  35401. "type": "integer"
  35402. },
  35403. "settle": {
  35404. "description": "结算价",
  35405. "type": "number"
  35406. },
  35407. "strikeprice": {
  35408. "description": "发行价",
  35409. "type": "number"
  35410. },
  35411. "totalaskvolume": {
  35412. "description": "内盘",
  35413. "type": "integer"
  35414. },
  35415. "totalbidvolume": {
  35416. "description": "外盘",
  35417. "type": "integer"
  35418. },
  35419. "totallot": {
  35420. "description": "总手数",
  35421. "type": "integer"
  35422. },
  35423. "totalturnover": {
  35424. "description": "总金额",
  35425. "type": "number"
  35426. },
  35427. "totalvolume": {
  35428. "description": "总量",
  35429. "type": "integer"
  35430. },
  35431. "utclasttime": {
  35432. "description": "utc的行情时间",
  35433. "type": "string"
  35434. }
  35435. }
  35436. },
  35437. "quote.QueryTSDataRsp": {
  35438. "type": "object",
  35439. "properties": {
  35440. "Count": {
  35441. "description": "交易日应有数据个数",
  35442. "type": "integer"
  35443. },
  35444. "decimalPlace": {
  35445. "description": "小数位",
  35446. "type": "integer"
  35447. },
  35448. "endTime": {
  35449. "description": "结束时间",
  35450. "type": "string"
  35451. },
  35452. "goodsCode": {
  35453. "description": "商品代码",
  35454. "type": "string"
  35455. },
  35456. "historyDatas": {
  35457. "description": "历史数据",
  35458. "type": "array",
  35459. "items": {
  35460. "$ref": "#/definitions/quote.HistoryData"
  35461. }
  35462. },
  35463. "outGoodsCode": {
  35464. "description": "外部商品代码",
  35465. "type": "string"
  35466. },
  35467. "preSettle": {
  35468. "description": "昨结价",
  35469. "type": "number"
  35470. },
  35471. "runSteps": {
  35472. "description": "交易日开休市计划",
  35473. "type": "array",
  35474. "items": {
  35475. "$ref": "#/definitions/quote.TSDataRunStep"
  35476. }
  35477. },
  35478. "startTime": {
  35479. "description": "开始时间",
  35480. "type": "string"
  35481. },
  35482. "tradeDate": {
  35483. "description": "交易日",
  35484. "type": "string"
  35485. }
  35486. }
  35487. },
  35488. "quote.TSDataRunStep": {
  35489. "type": "object",
  35490. "properties": {
  35491. "end": {
  35492. "description": "真实结束时间",
  35493. "type": "string"
  35494. },
  35495. "endflag": {
  35496. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  35497. "type": "integer"
  35498. },
  35499. "endtime": {
  35500. "description": "结束时间(HH:mm)",
  35501. "type": "string"
  35502. },
  35503. "endweekday": {
  35504. "description": "结束周几",
  35505. "type": "integer"
  35506. },
  35507. "groupid": {
  35508. "description": "分组ID",
  35509. "type": "integer"
  35510. },
  35511. "runstep": {
  35512. "description": "运行阶段 - 2:连续交易",
  35513. "type": "integer"
  35514. },
  35515. "sectionid": {
  35516. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  35517. "type": "integer"
  35518. },
  35519. "start": {
  35520. "description": "真实开始时间",
  35521. "type": "string"
  35522. },
  35523. "startflag": {
  35524. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  35525. "type": "integer"
  35526. },
  35527. "starttime": {
  35528. "description": "起始时间(HH:mm)",
  35529. "type": "string"
  35530. },
  35531. "startweekday": {
  35532. "description": "起始周几",
  35533. "type": "integer"
  35534. },
  35535. "tradeweekday": {
  35536. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  35537. "type": "integer"
  35538. }
  35539. }
  35540. },
  35541. "szdz.QueryConvertLogRsp": {
  35542. "type": "object",
  35543. "required": [
  35544. "logid"
  35545. ],
  35546. "properties": {
  35547. "accountid": {
  35548. "description": "资金账户ID",
  35549. "type": "integer"
  35550. },
  35551. "clientticket": {
  35552. "description": "客户端流水号",
  35553. "type": "string"
  35554. },
  35555. "converttype": {
  35556. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  35557. "type": "integer"
  35558. },
  35559. "createtime": {
  35560. "description": "记账时间",
  35561. "type": "string"
  35562. },
  35563. "daymaxvalue": {
  35564. "description": "配置当日最大转入限制",
  35565. "type": "number"
  35566. },
  35567. "daymaxvalue2": {
  35568. "description": "配置当日最大转入限制(转入)",
  35569. "type": "number"
  35570. },
  35571. "goodscode": {
  35572. "description": "商品代码",
  35573. "type": "string"
  35574. },
  35575. "goodsname": {
  35576. "description": "商品名称",
  35577. "type": "string"
  35578. },
  35579. "handlestatus": {
  35580. "description": "处理状态",
  35581. "type": "integer"
  35582. },
  35583. "innergoodsid": {
  35584. "description": "内部商品ID",
  35585. "type": "integer"
  35586. },
  35587. "inratio": {
  35588. "description": "配置转入比值",
  35589. "type": "integer"
  35590. },
  35591. "invalue": {
  35592. "description": "目标值",
  35593. "type": "number"
  35594. },
  35595. "logid": {
  35596. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35597. "type": "integer"
  35598. },
  35599. "mobile": {
  35600. "description": "手机号码(加密存储)",
  35601. "type": "string"
  35602. },
  35603. "outergoodscode": {
  35604. "description": "外部商品代码[JD\\PD]",
  35605. "type": "string"
  35606. },
  35607. "outratio": {
  35608. "description": "配置转出比值",
  35609. "type": "integer"
  35610. },
  35611. "outvalue": {
  35612. "description": "源值",
  35613. "type": "number"
  35614. },
  35615. "pddecimalplace": {
  35616. "description": "PD小数位",
  35617. "type": "integer"
  35618. },
  35619. "qty": {
  35620. "description": "数量",
  35621. "type": "string"
  35622. },
  35623. "remark": {
  35624. "description": "备注",
  35625. "type": "string"
  35626. },
  35627. "sessionid": {
  35628. "description": "会话ID",
  35629. "type": "integer"
  35630. },
  35631. "timemaxvalue": {
  35632. "description": "配置单次最大转入限制",
  35633. "type": "number"
  35634. },
  35635. "timemaxvalue2": {
  35636. "description": "配置单次最大转入限制(转入)",
  35637. "type": "number"
  35638. },
  35639. "timeminvalue": {
  35640. "description": "配置单次最小数量限制",
  35641. "type": "number"
  35642. },
  35643. "timeminvalue2": {
  35644. "description": "配置单次最小数量限制(转入)",
  35645. "type": "number"
  35646. },
  35647. "tradedate": {
  35648. "description": "交易日(yyyyMMdd)",
  35649. "type": "string"
  35650. },
  35651. "userid": {
  35652. "description": "用户ID",
  35653. "type": "integer"
  35654. }
  35655. }
  35656. },
  35657. "szdz.QueryGoodsPickupRsp": {
  35658. "type": "object",
  35659. "required": [
  35660. "takeorderid"
  35661. ],
  35662. "properties": {
  35663. "accountid": {
  35664. "description": "账户ID",
  35665. "type": "integer"
  35666. },
  35667. "address": {
  35668. "description": "提货人详细地址",
  35669. "type": "string"
  35670. },
  35671. "auditer": {
  35672. "description": "审核人",
  35673. "type": "integer"
  35674. },
  35675. "audittime": {
  35676. "description": "审核时间",
  35677. "type": "string"
  35678. },
  35679. "cardnum": {
  35680. "description": "提货人证件号码",
  35681. "type": "string"
  35682. },
  35683. "cardtypeid": {
  35684. "description": "提货人证件类型",
  35685. "type": "integer"
  35686. },
  35687. "checkremark": {
  35688. "description": "审核备注",
  35689. "type": "string"
  35690. },
  35691. "goodscode": {
  35692. "description": "商品代码",
  35693. "type": "string"
  35694. },
  35695. "goodsid": {
  35696. "description": "商品ID",
  35697. "type": "integer"
  35698. },
  35699. "goodsname": {
  35700. "description": "商品名称",
  35701. "type": "string"
  35702. },
  35703. "handlestatus": {
  35704. "description": "处理状态",
  35705. "type": "integer"
  35706. },
  35707. "marketid": {
  35708. "description": "市场ID",
  35709. "type": "integer"
  35710. },
  35711. "phonenum": {
  35712. "description": "提货人联系方式",
  35713. "type": "string"
  35714. },
  35715. "qty": {
  35716. "description": "提货数量",
  35717. "type": "number"
  35718. },
  35719. "recivername": {
  35720. "description": "提货人姓名",
  35721. "type": "string"
  35722. },
  35723. "reqtime": {
  35724. "description": "更新时间",
  35725. "type": "string"
  35726. },
  35727. "takemode": {
  35728. "description": "提货方式 - 2:自提 3:配送",
  35729. "type": "integer"
  35730. },
  35731. "takeorderid": {
  35732. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  35733. "type": "string"
  35734. },
  35735. "takeorderstatus": {
  35736. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  35737. "type": "integer"
  35738. },
  35739. "takeremark": {
  35740. "description": "提货备注",
  35741. "type": "string"
  35742. },
  35743. "tradedate": {
  35744. "description": "交易日(yyyyMMdd)",
  35745. "type": "string"
  35746. },
  35747. "userid": {
  35748. "description": "用户ID",
  35749. "type": "integer"
  35750. }
  35751. }
  35752. },
  35753. "szdz.QueryRecieptOrderRsp": {
  35754. "type": "object",
  35755. "required": [
  35756. "ordertime"
  35757. ],
  35758. "properties": {
  35759. "accountName": {
  35760. "description": "所属账号名称(已脱敏)",
  35761. "type": "string"
  35762. },
  35763. "accountid": {
  35764. "description": "资金账号",
  35765. "type": "integer"
  35766. },
  35767. "buyorsell": {
  35768. "description": "方向 - 0:买 1:卖",
  35769. "type": "integer"
  35770. },
  35771. "enableqty": {
  35772. "description": "可摘数量",
  35773. "type": "integer"
  35774. },
  35775. "goodscode": {
  35776. "description": "商品代码",
  35777. "type": "string"
  35778. },
  35779. "goodsid": {
  35780. "description": "商品ID",
  35781. "type": "integer"
  35782. },
  35783. "goodsname": {
  35784. "description": "商品名称",
  35785. "type": "string"
  35786. },
  35787. "orderid": {
  35788. "description": "委托单号",
  35789. "type": "string"
  35790. },
  35791. "orderprice": {
  35792. "description": "委托价格",
  35793. "type": "number"
  35794. },
  35795. "ordertime": {
  35796. "description": "委托时间",
  35797. "type": "string"
  35798. },
  35799. "tradedate": {
  35800. "description": "交易日(yyyyMMdd)",
  35801. "type": "string"
  35802. }
  35803. }
  35804. },
  35805. "szdz.QuerySZDZTradePositionRsp": {
  35806. "type": "object",
  35807. "properties": {
  35808. "accountid": {
  35809. "description": "账号Id",
  35810. "type": "integer"
  35811. },
  35812. "agreeunit": {
  35813. "description": "合约单位",
  35814. "type": "number"
  35815. },
  35816. "averageprice": {
  35817. "description": "持仓均价",
  35818. "type": "number"
  35819. },
  35820. "buyorsell": {
  35821. "description": "方向 - 0:买 1:卖",
  35822. "type": "integer"
  35823. },
  35824. "closetotalqty": {
  35825. "description": "平仓总数量",
  35826. "type": "integer"
  35827. },
  35828. "curholderamount": {
  35829. "description": "当前持仓总金额",
  35830. "type": "number"
  35831. },
  35832. "curpositionqty": {
  35833. "description": "当前持仓总数量",
  35834. "type": "integer"
  35835. },
  35836. "currencyid": {
  35837. "description": "报价货币ID",
  35838. "type": "integer"
  35839. },
  35840. "curtdposition": {
  35841. "description": "期末今日头寸",
  35842. "type": "integer"
  35843. },
  35844. "decimalplace": {
  35845. "description": "报价小数位",
  35846. "type": "integer"
  35847. },
  35848. "enableqty": {
  35849. "description": "可用量",
  35850. "type": "integer"
  35851. },
  35852. "fretdposition": {
  35853. "description": "冻结今日头寸",
  35854. "type": "integer"
  35855. },
  35856. "frozenqty": {
  35857. "description": "持仓冻结数量",
  35858. "type": "integer"
  35859. },
  35860. "goodscode": {
  35861. "description": "商品代码(内部)",
  35862. "type": "string"
  35863. },
  35864. "goodsid": {
  35865. "description": "商品Id",
  35866. "type": "integer"
  35867. },
  35868. "goodsname": {
  35869. "description": "商品名称",
  35870. "type": "string"
  35871. },
  35872. "goodunit": {
  35873. "description": "报价单位",
  35874. "type": "string"
  35875. },
  35876. "goodunitid": {
  35877. "description": "报价单位ID",
  35878. "type": "integer"
  35879. },
  35880. "holderamount": {
  35881. "description": "期初持仓总金额",
  35882. "type": "number"
  35883. },
  35884. "marketid": {
  35885. "description": "市场ID",
  35886. "type": "integer"
  35887. },
  35888. "openreqqty": {
  35889. "description": "开仓申请数量",
  35890. "type": "integer"
  35891. },
  35892. "opentotalqty": {
  35893. "description": "开仓总数量",
  35894. "type": "integer"
  35895. },
  35896. "otherfrozenqty": {
  35897. "description": "持仓其他冻结数量(交割冻结)",
  35898. "type": "integer"
  35899. },
  35900. "positionqty": {
  35901. "description": "期初持仓数量",
  35902. "type": "integer"
  35903. },
  35904. "szdz3freezqty": {
  35905. "description": "尚志大宗转换冻结总数量",
  35906. "type": "integer"
  35907. },
  35908. "tnqty": {
  35909. "description": "T+N冻结总量",
  35910. "type": "integer"
  35911. },
  35912. "tnusedqty": {
  35913. "description": "T+N使用量",
  35914. "type": "integer"
  35915. },
  35916. "trademode": {
  35917. "description": "交易模式",
  35918. "type": "integer"
  35919. },
  35920. "usedmargin": {
  35921. "description": "占用保证金",
  35922. "type": "number"
  35923. }
  35924. }
  35925. },
  35926. "taaccount.QueryAmountLogRsp": {
  35927. "type": "object",
  35928. "required": [
  35929. "accountid",
  35930. "amount",
  35931. "amountadjusttype",
  35932. "autoid",
  35933. "balance",
  35934. "createtime",
  35935. "currentbalance",
  35936. "operatetype"
  35937. ],
  35938. "properties": {
  35939. "OPERATETYPENAME": {
  35940. "description": "资金操作类型名称",
  35941. "type": "string"
  35942. },
  35943. "accountid": {
  35944. "description": "资金账户ID",
  35945. "type": "integer"
  35946. },
  35947. "agoodscode": {
  35948. "description": "竞拍商品代码",
  35949. "type": "string"
  35950. },
  35951. "agoodsname": {
  35952. "description": "竞拍商品名称",
  35953. "type": "string"
  35954. },
  35955. "amount": {
  35956. "description": "资金金额",
  35957. "type": "number"
  35958. },
  35959. "amountadjusttype": {
  35960. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  35961. "type": "integer"
  35962. },
  35963. "autoid": {
  35964. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  35965. "type": "integer"
  35966. },
  35967. "balance": {
  35968. "description": "期初余额",
  35969. "type": "number"
  35970. },
  35971. "businesscode": {
  35972. "description": "业务编号",
  35973. "type": "integer"
  35974. },
  35975. "createtime": {
  35976. "description": "发生时间",
  35977. "type": "string"
  35978. },
  35979. "currencyid": {
  35980. "description": "币种ID",
  35981. "type": "integer"
  35982. },
  35983. "currentbalance": {
  35984. "description": "期末余额(变动后金额)",
  35985. "type": "number"
  35986. },
  35987. "dgoodscode": {
  35988. "description": "交割商品代码",
  35989. "type": "string"
  35990. },
  35991. "dgoodsname": {
  35992. "description": "交割商品名称",
  35993. "type": "string"
  35994. },
  35995. "goodscode": {
  35996. "description": "商品代码",
  35997. "type": "string"
  35998. },
  35999. "goodsid": {
  36000. "description": "商品ID",
  36001. "type": "integer"
  36002. },
  36003. "goodsname": {
  36004. "description": "商品名称",
  36005. "type": "string"
  36006. },
  36007. "marketid": {
  36008. "description": "市场ID",
  36009. "type": "integer"
  36010. },
  36011. "marketname": {
  36012. "description": "市场名称",
  36013. "type": "string"
  36014. },
  36015. "moneyticket": {
  36016. "description": "资金流水号:银行端流水号",
  36017. "type": "integer"
  36018. },
  36019. "operatetype": {
  36020. "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:营销收款",
  36021. "type": "integer"
  36022. },
  36023. "relationorderid": {
  36024. "description": "关联单号",
  36025. "type": "string"
  36026. },
  36027. "remark": {
  36028. "description": "备注",
  36029. "type": "string"
  36030. },
  36031. "trademode": {
  36032. "description": "交易模式",
  36033. "type": "integer"
  36034. }
  36035. }
  36036. },
  36037. "taaccount.QueryHisAmountLogRsp": {
  36038. "type": "object",
  36039. "required": [
  36040. "accountid",
  36041. "amount",
  36042. "amountadjusttype",
  36043. "autoid",
  36044. "balance",
  36045. "createtime",
  36046. "currentbalance",
  36047. "histradedate",
  36048. "operatetype"
  36049. ],
  36050. "properties": {
  36051. "OPERATETYPENAME": {
  36052. "description": "资金操作类型名称",
  36053. "type": "string"
  36054. },
  36055. "accountid": {
  36056. "description": "资金账户ID",
  36057. "type": "integer"
  36058. },
  36059. "agoodscode": {
  36060. "description": "竞拍商品代码",
  36061. "type": "string"
  36062. },
  36063. "agoodsname": {
  36064. "description": "竞拍商品名称",
  36065. "type": "string"
  36066. },
  36067. "amount": {
  36068. "description": "资金金额",
  36069. "type": "number"
  36070. },
  36071. "amountadjusttype": {
  36072. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  36073. "type": "integer"
  36074. },
  36075. "autoid": {
  36076. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  36077. "type": "integer"
  36078. },
  36079. "balance": {
  36080. "description": "期初余额",
  36081. "type": "number"
  36082. },
  36083. "businesscode": {
  36084. "description": "业务编号",
  36085. "type": "integer"
  36086. },
  36087. "createtime": {
  36088. "description": "发生时间",
  36089. "type": "string"
  36090. },
  36091. "currencyid": {
  36092. "description": "币种ID",
  36093. "type": "integer"
  36094. },
  36095. "currentbalance": {
  36096. "description": "期末余额(变动后金额)",
  36097. "type": "number"
  36098. },
  36099. "dgoodscode": {
  36100. "description": "交割商品代码",
  36101. "type": "string"
  36102. },
  36103. "dgoodsname": {
  36104. "description": "交割商品名称",
  36105. "type": "string"
  36106. },
  36107. "goodscode": {
  36108. "description": "商品代码",
  36109. "type": "string"
  36110. },
  36111. "goodsid": {
  36112. "description": "商品ID",
  36113. "type": "integer"
  36114. },
  36115. "goodsname": {
  36116. "description": "商品名称",
  36117. "type": "string"
  36118. },
  36119. "histradedate": {
  36120. "description": "历史交易日",
  36121. "type": "string"
  36122. },
  36123. "isvaliddata": {
  36124. "description": "是否有效 - 0:无效 1:有效",
  36125. "type": "integer"
  36126. },
  36127. "marketid": {
  36128. "description": "市场ID",
  36129. "type": "integer"
  36130. },
  36131. "marketname": {
  36132. "description": "市场名称",
  36133. "type": "string"
  36134. },
  36135. "moneyticket": {
  36136. "description": "资金流水号:银行端流水号",
  36137. "type": "integer"
  36138. },
  36139. "operatetype": {
  36140. "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:营销收款",
  36141. "type": "integer"
  36142. },
  36143. "relationorderid": {
  36144. "description": "关联单号",
  36145. "type": "string"
  36146. },
  36147. "remark": {
  36148. "description": "备注",
  36149. "type": "string"
  36150. },
  36151. "trademode": {
  36152. "description": "交易模式",
  36153. "type": "integer"
  36154. }
  36155. }
  36156. },
  36157. "trade.QueryRecieptOrderRsp": {
  36158. "type": "object",
  36159. "required": [
  36160. "ordertime"
  36161. ],
  36162. "properties": {
  36163. "accountName": {
  36164. "description": "所属账号名称(已脱敏)",
  36165. "type": "string"
  36166. },
  36167. "accountid": {
  36168. "description": "资金账号",
  36169. "type": "integer"
  36170. },
  36171. "buyorsell": {
  36172. "description": "方向 - 0:买 1:卖",
  36173. "type": "integer"
  36174. },
  36175. "enableqty": {
  36176. "description": "可摘数量",
  36177. "type": "integer"
  36178. },
  36179. "goodscode": {
  36180. "description": "商品代码",
  36181. "type": "string"
  36182. },
  36183. "goodsid": {
  36184. "description": "商品ID",
  36185. "type": "integer"
  36186. },
  36187. "goodsname": {
  36188. "description": "商品名称",
  36189. "type": "string"
  36190. },
  36191. "orderid": {
  36192. "description": "委托单号",
  36193. "type": "string"
  36194. },
  36195. "orderprice": {
  36196. "description": "委托价格",
  36197. "type": "number"
  36198. },
  36199. "ordertime": {
  36200. "description": "委托时间",
  36201. "type": "string"
  36202. },
  36203. "tradedate": {
  36204. "description": "交易日(yyyyMMdd)",
  36205. "type": "string"
  36206. }
  36207. }
  36208. },
  36209. "user.LoginQueryRsp": {
  36210. "type": "object",
  36211. "properties": {
  36212. "areaRoles": {
  36213. "description": "所属角色信息",
  36214. "type": "array",
  36215. "items": {
  36216. "$ref": "#/definitions/models.Arearole"
  36217. }
  36218. },
  36219. "externalExchanges": {
  36220. "description": "外部交易所",
  36221. "type": "array",
  36222. "items": {
  36223. "$ref": "#/definitions/models.Externalexchange"
  36224. }
  36225. },
  36226. "goodsgroups": {
  36227. "description": "商品组",
  36228. "type": "array",
  36229. "items": {
  36230. "$ref": "#/definitions/models.Goodsgroup"
  36231. }
  36232. },
  36233. "loginAccount": {
  36234. "description": "登录账号",
  36235. "type": "object",
  36236. "$ref": "#/definitions/models.Loginaccount"
  36237. },
  36238. "markets": {
  36239. "description": "市场",
  36240. "type": "array",
  36241. "items": {
  36242. "$ref": "#/definitions/models.Market"
  36243. }
  36244. },
  36245. "systemParams": {
  36246. "description": "系统参数",
  36247. "type": "array",
  36248. "items": {
  36249. "$ref": "#/definitions/models.Systemparam"
  36250. }
  36251. },
  36252. "userAccount": {
  36253. "description": "用户账号",
  36254. "type": "object",
  36255. "$ref": "#/definitions/models.Useraccount"
  36256. },
  36257. "userInfo": {
  36258. "description": "用户信息",
  36259. "type": "object",
  36260. "$ref": "#/definitions/models.Userinfo"
  36261. },
  36262. "username": {
  36263. "description": "用户姓名",
  36264. "type": "string"
  36265. }
  36266. }
  36267. }
  36268. },
  36269. "securityDefinitions": {
  36270. "ApiKeyAuth": {
  36271. "type": "apiKey",
  36272. "name": "Authorization",
  36273. "in": "header"
  36274. }
  36275. }
  36276. }