docs.go 538 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "responses": {
  378. "200": {
  379. "description": "OK",
  380. "schema": {
  381. "$ref": "#/definitions/models.Enumdicitem"
  382. }
  383. },
  384. "500": {
  385. "description": "Internal Server Error",
  386. "schema": {
  387. "$ref": "#/definitions/app.Response"
  388. }
  389. }
  390. }
  391. }
  392. },
  393. "/Common/GetServerTime": {
  394. "get": {
  395. "produces": [
  396. "application/json"
  397. ],
  398. "tags": [
  399. "通用服务"
  400. ],
  401. "summary": "获取服务器时间",
  402. "responses": {
  403. "200": {
  404. "description": "OK",
  405. "schema": {
  406. "$ref": "#/definitions/app.Response"
  407. }
  408. },
  409. "500": {
  410. "description": "Internal Server Error",
  411. "schema": {
  412. "$ref": "#/definitions/app.Response"
  413. }
  414. }
  415. }
  416. }
  417. },
  418. "/Common/NoticeReaded": {
  419. "post": {
  420. "security": [
  421. {
  422. "ApiKeyAuth": []
  423. }
  424. ],
  425. "produces": [
  426. "application/json"
  427. ],
  428. "tags": [
  429. "通用服务"
  430. ],
  431. "summary": "通知公告设置已读请求",
  432. "parameters": [
  433. {
  434. "type": "integer",
  435. "description": "登录账号",
  436. "name": "loginID",
  437. "in": "query",
  438. "required": true
  439. },
  440. {
  441. "type": "integer",
  442. "description": "通知公告ID",
  443. "name": "noticeID",
  444. "in": "query",
  445. "required": true
  446. }
  447. ],
  448. "responses": {
  449. "200": {
  450. "description": "OK",
  451. "schema": {
  452. "$ref": "#/definitions/app.Response"
  453. }
  454. },
  455. "500": {
  456. "description": "Internal Server Error",
  457. "schema": {
  458. "$ref": "#/definitions/app.Response"
  459. }
  460. }
  461. }
  462. }
  463. },
  464. "/Common/QueryImageConfigs": {
  465. "get": {
  466. "produces": [
  467. "application/json"
  468. ],
  469. "tags": [
  470. "通用服务"
  471. ],
  472. "summary": "查询轮播图配置信息",
  473. "parameters": [
  474. {
  475. "type": "integer",
  476. "description": "类型 - 1:App首页轮播 2:我的",
  477. "name": "imageType",
  478. "in": "query"
  479. }
  480. ],
  481. "responses": {
  482. "200": {
  483. "description": "OK",
  484. "schema": {
  485. "$ref": "#/definitions/models.Szdz2imageconfig"
  486. }
  487. },
  488. "500": {
  489. "description": "Internal Server Error",
  490. "schema": {
  491. "$ref": "#/definitions/app.Response"
  492. }
  493. }
  494. }
  495. }
  496. },
  497. "/Common/QueryNotice": {
  498. "get": {
  499. "security": [
  500. {
  501. "ApiKeyAuth": []
  502. }
  503. ],
  504. "produces": [
  505. "application/json"
  506. ],
  507. "tags": [
  508. "通用服务"
  509. ],
  510. "summary": "通知公告系统消息查询",
  511. "parameters": [
  512. {
  513. "type": "integer",
  514. "description": "页码",
  515. "name": "page",
  516. "in": "query"
  517. },
  518. {
  519. "type": "integer",
  520. "description": "每页条数",
  521. "name": "pagesize",
  522. "in": "query"
  523. },
  524. {
  525. "type": "integer",
  526. "description": "登录账号",
  527. "name": "loginID",
  528. "in": "query",
  529. "required": true
  530. },
  531. {
  532. "type": "integer",
  533. "description": "消息类型 - 1:公告通知 2:系统消息",
  534. "name": "msgType",
  535. "in": "query"
  536. },
  537. {
  538. "type": "boolean",
  539. "description": "是否只获取未读信息",
  540. "name": "onlyUnRead",
  541. "in": "query"
  542. }
  543. ],
  544. "responses": {
  545. "200": {
  546. "description": "OK",
  547. "schema": {
  548. "$ref": "#/definitions/common.QueryNoticeRsp"
  549. }
  550. },
  551. "500": {
  552. "description": "Internal Server Error",
  553. "schema": {
  554. "$ref": "#/definitions/app.Response"
  555. }
  556. }
  557. }
  558. }
  559. },
  560. "/Common/QueryProvincesAndCities": {
  561. "get": {
  562. "produces": [
  563. "application/json"
  564. ],
  565. "tags": [
  566. "通用服务"
  567. ],
  568. "summary": "查询省市信息(不包括区)",
  569. "parameters": [
  570. {
  571. "type": "integer",
  572. "description": "省ID",
  573. "name": "provinceID",
  574. "in": "query"
  575. }
  576. ],
  577. "responses": {
  578. "200": {
  579. "description": "OK",
  580. "schema": {
  581. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  582. }
  583. },
  584. "500": {
  585. "description": "Internal Server Error",
  586. "schema": {
  587. "$ref": "#/definitions/app.Response"
  588. }
  589. }
  590. }
  591. }
  592. },
  593. "/Common/QueryTableDefine": {
  594. "get": {
  595. "produces": [
  596. "application/json"
  597. ],
  598. "tags": [
  599. "通用服务"
  600. ],
  601. "summary": "查询交易端列表头信息",
  602. "parameters": [
  603. {
  604. "type": "string",
  605. "description": "表key",
  606. "name": "tableKey",
  607. "in": "query"
  608. },
  609. {
  610. "type": "integer",
  611. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  612. "name": "tableType",
  613. "in": "query"
  614. }
  615. ],
  616. "responses": {
  617. "200": {
  618. "description": "OK",
  619. "schema": {
  620. "$ref": "#/definitions/common.QueryTableDefineRsp"
  621. }
  622. },
  623. "500": {
  624. "description": "Internal Server Error",
  625. "schema": {
  626. "$ref": "#/definitions/app.Response"
  627. }
  628. }
  629. }
  630. }
  631. },
  632. "/Common/QueryTraderMenu": {
  633. "get": {
  634. "produces": [
  635. "application/json"
  636. ],
  637. "tags": [
  638. "通用服务"
  639. ],
  640. "summary": "查询交易端菜单",
  641. "parameters": [
  642. {
  643. "type": "integer",
  644. "description": "登录账号",
  645. "name": "loginid",
  646. "in": "query",
  647. "required": true
  648. }
  649. ],
  650. "responses": {
  651. "200": {
  652. "description": "OK",
  653. "schema": {
  654. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  655. }
  656. },
  657. "500": {
  658. "description": "Internal Server Error",
  659. "schema": {
  660. "$ref": "#/definitions/app.Response"
  661. }
  662. }
  663. }
  664. }
  665. },
  666. "/Delivery/QueryDeliveryRelation": {
  667. "get": {
  668. "security": [
  669. {
  670. "ApiKeyAuth": []
  671. }
  672. ],
  673. "produces": [
  674. "application/json"
  675. ],
  676. "tags": [
  677. "交割服务"
  678. ],
  679. "summary": "查询商品交割关系表",
  680. "parameters": [
  681. {
  682. "type": "integer",
  683. "description": "商品ID",
  684. "name": "goodsid",
  685. "in": "query"
  686. },
  687. {
  688. "type": "integer",
  689. "description": "品种ID",
  690. "name": "deliverygoodsid",
  691. "in": "query"
  692. },
  693. {
  694. "type": "integer",
  695. "description": "市场ID",
  696. "name": "marketid",
  697. "in": "query"
  698. }
  699. ],
  700. "responses": {
  701. "200": {
  702. "description": "OK",
  703. "schema": {
  704. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  705. }
  706. },
  707. "500": {
  708. "description": "Internal Server Error",
  709. "schema": {
  710. "$ref": "#/definitions/app.Response"
  711. }
  712. }
  713. }
  714. }
  715. },
  716. "/Ermcp/QueryAvaildGoodsGroup": {
  717. "get": {
  718. "security": [
  719. {
  720. "ApiKeyAuth": []
  721. }
  722. ],
  723. "produces": [
  724. "application/json"
  725. ],
  726. "tags": [
  727. "企业风险管理(app)"
  728. ],
  729. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  730. "parameters": [
  731. {
  732. "type": "integer",
  733. "description": "所属机构ID",
  734. "name": "userid",
  735. "in": "query",
  736. "required": true
  737. }
  738. ],
  739. "responses": {
  740. "200": {
  741. "description": "OK",
  742. "schema": {
  743. "type": "array",
  744. "items": {
  745. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  746. }
  747. }
  748. },
  749. "500": {
  750. "description": "Internal Server Error",
  751. "schema": {
  752. "$ref": "#/definitions/app.Response"
  753. }
  754. }
  755. }
  756. }
  757. },
  758. "/Ermcp/QueryBusinessDj": {
  759. "get": {
  760. "security": [
  761. {
  762. "ApiKeyAuth": []
  763. }
  764. ],
  765. "produces": [
  766. "application/json"
  767. ],
  768. "tags": [
  769. "企业风险管理(app)"
  770. ],
  771. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  772. "parameters": [
  773. {
  774. "type": "integer",
  775. "description": "用户ID",
  776. "name": "UserId",
  777. "in": "query",
  778. "required": true
  779. },
  780. {
  781. "type": "string",
  782. "description": "现货合同ID, 不填则查所有",
  783. "name": "relatedid",
  784. "in": "query"
  785. }
  786. ],
  787. "responses": {
  788. "200": {
  789. "description": "OK",
  790. "schema": {
  791. "type": "array",
  792. "items": {
  793. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  794. }
  795. }
  796. },
  797. "500": {
  798. "description": "Internal Server Error",
  799. "schema": {
  800. "$ref": "#/definitions/app.Response"
  801. }
  802. }
  803. }
  804. }
  805. },
  806. "/Ermcp/QueryBusinessFp": {
  807. "get": {
  808. "security": [
  809. {
  810. "ApiKeyAuth": []
  811. }
  812. ],
  813. "produces": [
  814. "application/json"
  815. ],
  816. "tags": [
  817. "企业风险管理(app)"
  818. ],
  819. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  820. "parameters": [
  821. {
  822. "type": "integer",
  823. "description": "用户ID",
  824. "name": "UserId",
  825. "in": "query",
  826. "required": true
  827. },
  828. {
  829. "type": "string",
  830. "description": "现货合同ID, 不填则查所有",
  831. "name": "relatedid",
  832. "in": "query"
  833. }
  834. ],
  835. "responses": {
  836. "200": {
  837. "description": "OK",
  838. "schema": {
  839. "type": "array",
  840. "items": {
  841. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  842. }
  843. }
  844. },
  845. "500": {
  846. "description": "Internal Server Error",
  847. "schema": {
  848. "$ref": "#/definitions/app.Response"
  849. }
  850. }
  851. }
  852. }
  853. },
  854. "/Ermcp/QueryBusinessJs": {
  855. "get": {
  856. "security": [
  857. {
  858. "ApiKeyAuth": []
  859. }
  860. ],
  861. "produces": [
  862. "application/json"
  863. ],
  864. "tags": [
  865. "企业风险管理(app)"
  866. ],
  867. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  868. "parameters": [
  869. {
  870. "type": "integer",
  871. "description": "用户ID",
  872. "name": "UserId",
  873. "in": "query",
  874. "required": true
  875. },
  876. {
  877. "type": "string",
  878. "description": "现货合同ID, 不填则查所有",
  879. "name": "relatedid",
  880. "in": "query"
  881. }
  882. ],
  883. "responses": {
  884. "200": {
  885. "description": "OK",
  886. "schema": {
  887. "type": "array",
  888. "items": {
  889. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  890. }
  891. }
  892. },
  893. "500": {
  894. "description": "Internal Server Error",
  895. "schema": {
  896. "$ref": "#/definitions/app.Response"
  897. }
  898. }
  899. }
  900. }
  901. },
  902. "/Ermcp/QueryBusinessKx": {
  903. "get": {
  904. "security": [
  905. {
  906. "ApiKeyAuth": []
  907. }
  908. ],
  909. "produces": [
  910. "application/json"
  911. ],
  912. "tags": [
  913. "企业风险管理(app)"
  914. ],
  915. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  916. "parameters": [
  917. {
  918. "type": "integer",
  919. "description": "用户ID",
  920. "name": "UserId",
  921. "in": "query",
  922. "required": true
  923. },
  924. {
  925. "type": "string",
  926. "description": "现货合同ID, 不填则查所有",
  927. "name": "relatedid",
  928. "in": "query"
  929. }
  930. ],
  931. "responses": {
  932. "200": {
  933. "description": "OK",
  934. "schema": {
  935. "type": "array",
  936. "items": {
  937. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  938. }
  939. }
  940. },
  941. "500": {
  942. "description": "Internal Server Error",
  943. "schema": {
  944. "$ref": "#/definitions/app.Response"
  945. }
  946. }
  947. }
  948. }
  949. },
  950. "/Ermcp/QueryChangeLog": {
  951. "get": {
  952. "security": [
  953. {
  954. "ApiKeyAuth": []
  955. }
  956. ],
  957. "produces": [
  958. "application/json"
  959. ],
  960. "tags": [
  961. "企业风险管理(app)"
  962. ],
  963. "summary": "查询变更记录",
  964. "parameters": [
  965. {
  966. "type": "string",
  967. "description": "用户ID",
  968. "name": "RelatedId",
  969. "in": "query",
  970. "required": true
  971. }
  972. ],
  973. "responses": {
  974. "200": {
  975. "description": "OK",
  976. "schema": {
  977. "type": "array",
  978. "items": {
  979. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  980. }
  981. }
  982. },
  983. "500": {
  984. "description": "Internal Server Error",
  985. "schema": {
  986. "$ref": "#/definitions/app.Response"
  987. }
  988. }
  989. }
  990. }
  991. },
  992. "/Ermcp/QueryContract": {
  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": "合同类型 1-采购, -1-销售",
  1017. "name": "contracttype",
  1018. "in": "query",
  1019. "required": true
  1020. },
  1021. {
  1022. "type": "integer",
  1023. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  1024. "name": "querytype",
  1025. "in": "query",
  1026. "required": true
  1027. }
  1028. ],
  1029. "responses": {
  1030. "200": {
  1031. "description": "OK",
  1032. "schema": {
  1033. "type": "array",
  1034. "items": {
  1035. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  1036. }
  1037. }
  1038. },
  1039. "500": {
  1040. "description": "Internal Server Error",
  1041. "schema": {
  1042. "$ref": "#/definitions/app.Response"
  1043. }
  1044. }
  1045. }
  1046. }
  1047. },
  1048. "/Ermcp/QueryExposureDetail": {
  1049. "get": {
  1050. "security": [
  1051. {
  1052. "ApiKeyAuth": []
  1053. }
  1054. ],
  1055. "produces": [
  1056. "application/json"
  1057. ],
  1058. "tags": [
  1059. "企业风险管理(app)"
  1060. ],
  1061. "summary": "查询敞口现货明细",
  1062. "parameters": [
  1063. {
  1064. "type": "integer",
  1065. "description": "所属机构ID",
  1066. "name": "areaUserId",
  1067. "in": "query",
  1068. "required": true
  1069. },
  1070. {
  1071. "type": "integer",
  1072. "description": "套保商品",
  1073. "name": "middleGoodsId",
  1074. "in": "query",
  1075. "required": true
  1076. }
  1077. ],
  1078. "responses": {
  1079. "200": {
  1080. "description": "OK",
  1081. "schema": {
  1082. "type": "array",
  1083. "items": {
  1084. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1085. }
  1086. }
  1087. },
  1088. "500": {
  1089. "description": "Internal Server Error",
  1090. "schema": {
  1091. "$ref": "#/definitions/app.Response"
  1092. }
  1093. }
  1094. }
  1095. }
  1096. },
  1097. "/Ermcp/QueryExposureHedgePosition": {
  1098. "get": {
  1099. "security": [
  1100. {
  1101. "ApiKeyAuth": []
  1102. }
  1103. ],
  1104. "produces": [
  1105. "application/json"
  1106. ],
  1107. "tags": [
  1108. "企业风险管理(app)"
  1109. ],
  1110. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  1111. "parameters": [
  1112. {
  1113. "type": "integer",
  1114. "description": "所属机构ID",
  1115. "name": "areaUserId",
  1116. "in": "query",
  1117. "required": true
  1118. }
  1119. ],
  1120. "responses": {
  1121. "200": {
  1122. "description": "OK",
  1123. "schema": {
  1124. "type": "array",
  1125. "items": {
  1126. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  1127. }
  1128. }
  1129. },
  1130. "500": {
  1131. "description": "Internal Server Error",
  1132. "schema": {
  1133. "$ref": "#/definitions/app.Response"
  1134. }
  1135. }
  1136. }
  1137. }
  1138. },
  1139. "/Ermcp/QueryExposureHedgePositionDetail": {
  1140. "get": {
  1141. "security": [
  1142. {
  1143. "ApiKeyAuth": []
  1144. }
  1145. ],
  1146. "produces": [
  1147. "application/json"
  1148. ],
  1149. "tags": [
  1150. "企业风险管理(app)"
  1151. ],
  1152. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  1153. "parameters": [
  1154. {
  1155. "type": "integer",
  1156. "description": "所属机构ID",
  1157. "name": "areaUserId",
  1158. "in": "query",
  1159. "required": true
  1160. },
  1161. {
  1162. "type": "integer",
  1163. "description": "商品id",
  1164. "name": "goodsId",
  1165. "in": "query",
  1166. "required": true
  1167. }
  1168. ],
  1169. "responses": {
  1170. "200": {
  1171. "description": "OK",
  1172. "schema": {
  1173. "type": "array",
  1174. "items": {
  1175. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  1176. }
  1177. }
  1178. },
  1179. "500": {
  1180. "description": "Internal Server Error",
  1181. "schema": {
  1182. "$ref": "#/definitions/app.Response"
  1183. }
  1184. }
  1185. }
  1186. }
  1187. },
  1188. "/Ermcp/QueryExposureSpot": {
  1189. "get": {
  1190. "security": [
  1191. {
  1192. "ApiKeyAuth": []
  1193. }
  1194. ],
  1195. "produces": [
  1196. "application/json"
  1197. ],
  1198. "tags": [
  1199. "企业风险管理(app)"
  1200. ],
  1201. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  1202. "parameters": [
  1203. {
  1204. "type": "integer",
  1205. "description": "所属机构ID",
  1206. "name": "areaUserId",
  1207. "in": "query",
  1208. "required": true
  1209. }
  1210. ],
  1211. "responses": {
  1212. "200": {
  1213. "description": "OK",
  1214. "schema": {
  1215. "type": "array",
  1216. "items": {
  1217. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  1218. }
  1219. }
  1220. },
  1221. "500": {
  1222. "description": "Internal Server Error",
  1223. "schema": {
  1224. "$ref": "#/definitions/app.Response"
  1225. }
  1226. }
  1227. }
  1228. }
  1229. },
  1230. "/Ermcp/QueryExposureSpotDetail": {
  1231. "get": {
  1232. "security": [
  1233. {
  1234. "ApiKeyAuth": []
  1235. }
  1236. ],
  1237. "produces": [
  1238. "application/json"
  1239. ],
  1240. "tags": [
  1241. "企业风险管理(app)"
  1242. ],
  1243. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  1244. "parameters": [
  1245. {
  1246. "type": "integer",
  1247. "description": "所属机构ID",
  1248. "name": "areaUserId",
  1249. "in": "query",
  1250. "required": true
  1251. },
  1252. {
  1253. "type": "integer",
  1254. "description": "现货品种ID",
  1255. "name": "wrstandardId",
  1256. "in": "query",
  1257. "required": true
  1258. }
  1259. ],
  1260. "responses": {
  1261. "200": {
  1262. "description": "OK",
  1263. "schema": {
  1264. "type": "array",
  1265. "items": {
  1266. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  1267. }
  1268. }
  1269. },
  1270. "500": {
  1271. "description": "Internal Server Error",
  1272. "schema": {
  1273. "$ref": "#/definitions/app.Response"
  1274. }
  1275. }
  1276. }
  1277. }
  1278. },
  1279. "/Ermcp/QueryGGConvertConfig": {
  1280. "get": {
  1281. "security": [
  1282. {
  1283. "ApiKeyAuth": []
  1284. }
  1285. ],
  1286. "produces": [
  1287. "application/json"
  1288. ],
  1289. "tags": [
  1290. "企业风险管理(app)"
  1291. ],
  1292. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  1293. "parameters": [
  1294. {
  1295. "type": "integer",
  1296. "description": "品种id(不填则查所有)",
  1297. "name": "goodsgroupid",
  1298. "in": "query"
  1299. }
  1300. ],
  1301. "responses": {
  1302. "200": {
  1303. "description": "OK",
  1304. "schema": {
  1305. "type": "array",
  1306. "items": {
  1307. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  1308. }
  1309. }
  1310. },
  1311. "500": {
  1312. "description": "Internal Server Error",
  1313. "schema": {
  1314. "$ref": "#/definitions/app.Response"
  1315. }
  1316. }
  1317. }
  1318. }
  1319. },
  1320. "/Ermcp/QueryHedgePlan": {
  1321. "get": {
  1322. "security": [
  1323. {
  1324. "ApiKeyAuth": []
  1325. }
  1326. ],
  1327. "produces": [
  1328. "application/json"
  1329. ],
  1330. "tags": [
  1331. "企业风险管理(app)"
  1332. ],
  1333. "summary": "查询套保计划",
  1334. "parameters": [
  1335. {
  1336. "type": "integer",
  1337. "description": "用户ID",
  1338. "name": "userId",
  1339. "in": "query",
  1340. "required": true
  1341. },
  1342. {
  1343. "type": "string",
  1344. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  1345. "name": "HedgePlanStatus",
  1346. "in": "query",
  1347. "required": true
  1348. }
  1349. ],
  1350. "responses": {
  1351. "200": {
  1352. "description": "OK",
  1353. "schema": {
  1354. "type": "array",
  1355. "items": {
  1356. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  1357. }
  1358. }
  1359. },
  1360. "500": {
  1361. "description": "Internal Server Error",
  1362. "schema": {
  1363. "$ref": "#/definitions/app.Response"
  1364. }
  1365. }
  1366. }
  1367. }
  1368. },
  1369. "/Ermcp/QueryHisExposure": {
  1370. "get": {
  1371. "security": [
  1372. {
  1373. "ApiKeyAuth": []
  1374. }
  1375. ],
  1376. "produces": [
  1377. "application/json"
  1378. ],
  1379. "tags": [
  1380. "企业风险管理(app)"
  1381. ],
  1382. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  1383. "parameters": [
  1384. {
  1385. "type": "integer",
  1386. "description": "所属机构ID",
  1387. "name": "areaUserId",
  1388. "in": "query",
  1389. "required": true
  1390. },
  1391. {
  1392. "type": "integer",
  1393. "description": "最近多少条记录, -1:为查全部",
  1394. "name": "lastNum",
  1395. "in": "query",
  1396. "required": true
  1397. }
  1398. ],
  1399. "responses": {
  1400. "200": {
  1401. "description": "OK",
  1402. "schema": {
  1403. "type": "array",
  1404. "items": {
  1405. "$ref": "#/definitions/ermcp.HisExposureRsp"
  1406. }
  1407. }
  1408. },
  1409. "500": {
  1410. "description": "Internal Server Error",
  1411. "schema": {
  1412. "$ref": "#/definitions/app.Response"
  1413. }
  1414. }
  1415. }
  1416. }
  1417. },
  1418. "/Ermcp/QueryMiddleGoods": {
  1419. "get": {
  1420. "security": [
  1421. {
  1422. "ApiKeyAuth": []
  1423. }
  1424. ],
  1425. "produces": [
  1426. "application/json"
  1427. ],
  1428. "tags": [
  1429. "企业风险管理(app)"
  1430. ],
  1431. "summary": "查询套保品种(菜单:套保品种)",
  1432. "parameters": [
  1433. {
  1434. "type": "integer",
  1435. "description": "所属机构ID",
  1436. "name": "userid",
  1437. "in": "query",
  1438. "required": true
  1439. },
  1440. {
  1441. "type": "integer",
  1442. "description": "状态 0-停用 1-正常",
  1443. "name": "status",
  1444. "in": "query",
  1445. "required": true
  1446. }
  1447. ],
  1448. "responses": {
  1449. "200": {
  1450. "description": "OK",
  1451. "schema": {
  1452. "type": "array",
  1453. "items": {
  1454. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  1455. }
  1456. }
  1457. },
  1458. "500": {
  1459. "description": "Internal Server Error",
  1460. "schema": {
  1461. "$ref": "#/definitions/app.Response"
  1462. }
  1463. }
  1464. }
  1465. }
  1466. },
  1467. "/Ermcp/QueryMiddleGoodsChangeLog": {
  1468. "get": {
  1469. "security": [
  1470. {
  1471. "ApiKeyAuth": []
  1472. }
  1473. ],
  1474. "produces": [
  1475. "application/json"
  1476. ],
  1477. "tags": [
  1478. "企业风险管理(app)"
  1479. ],
  1480. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  1481. "parameters": [
  1482. {
  1483. "type": "integer",
  1484. "description": "所属机构ID",
  1485. "name": "userid",
  1486. "in": "query",
  1487. "required": true
  1488. },
  1489. {
  1490. "type": "integer",
  1491. "description": "套保品种id",
  1492. "name": "middlegoodsid",
  1493. "in": "query",
  1494. "required": true
  1495. }
  1496. ],
  1497. "responses": {
  1498. "200": {
  1499. "description": "OK",
  1500. "schema": {
  1501. "type": "array",
  1502. "items": {
  1503. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  1504. }
  1505. }
  1506. },
  1507. "500": {
  1508. "description": "Internal Server Error",
  1509. "schema": {
  1510. "$ref": "#/definitions/app.Response"
  1511. }
  1512. }
  1513. }
  1514. }
  1515. },
  1516. "/Ermcp/QueryMiddleGoodsDetail": {
  1517. "get": {
  1518. "security": [
  1519. {
  1520. "ApiKeyAuth": []
  1521. }
  1522. ],
  1523. "produces": [
  1524. "application/json"
  1525. ],
  1526. "tags": [
  1527. "企业风险管理(app)"
  1528. ],
  1529. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  1530. "parameters": [
  1531. {
  1532. "type": "integer",
  1533. "description": "所属机构ID",
  1534. "name": "userid",
  1535. "in": "query",
  1536. "required": true
  1537. },
  1538. {
  1539. "type": "integer",
  1540. "description": "套保品种id",
  1541. "name": "middlegoodsid",
  1542. "in": "query",
  1543. "required": true
  1544. }
  1545. ],
  1546. "responses": {
  1547. "200": {
  1548. "description": "OK",
  1549. "schema": {
  1550. "type": "array",
  1551. "items": {
  1552. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  1553. }
  1554. }
  1555. },
  1556. "500": {
  1557. "description": "Internal Server Error",
  1558. "schema": {
  1559. "$ref": "#/definitions/app.Response"
  1560. }
  1561. }
  1562. }
  1563. }
  1564. },
  1565. "/Ermcp/QueryRealtimeExposure": {
  1566. "get": {
  1567. "security": [
  1568. {
  1569. "ApiKeyAuth": []
  1570. }
  1571. ],
  1572. "produces": [
  1573. "application/json"
  1574. ],
  1575. "tags": [
  1576. "企业风险管理(app)"
  1577. ],
  1578. "summary": "查询实时敞口",
  1579. "parameters": [
  1580. {
  1581. "type": "integer",
  1582. "description": "所属机构ID",
  1583. "name": "AreaUserID",
  1584. "in": "query",
  1585. "required": true
  1586. }
  1587. ],
  1588. "responses": {
  1589. "200": {
  1590. "description": "OK",
  1591. "schema": {
  1592. "type": "array",
  1593. "items": {
  1594. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  1595. }
  1596. }
  1597. },
  1598. "500": {
  1599. "description": "Internal Server Error",
  1600. "schema": {
  1601. "$ref": "#/definitions/app.Response"
  1602. }
  1603. }
  1604. }
  1605. }
  1606. },
  1607. "/Ermcp/QueryRealtimeExposurePosition": {
  1608. "get": {
  1609. "security": [
  1610. {
  1611. "ApiKeyAuth": []
  1612. }
  1613. ],
  1614. "produces": [
  1615. "application/json"
  1616. ],
  1617. "tags": [
  1618. "企业风险管理(app)"
  1619. ],
  1620. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  1621. "parameters": [
  1622. {
  1623. "type": "integer",
  1624. "description": "所属机构ID",
  1625. "name": "areaUserId",
  1626. "in": "query",
  1627. "required": true
  1628. },
  1629. {
  1630. "type": "integer",
  1631. "description": "套保商品ID",
  1632. "name": "middleGoodsId",
  1633. "in": "query",
  1634. "required": true
  1635. }
  1636. ],
  1637. "responses": {
  1638. "200": {
  1639. "description": "OK",
  1640. "schema": {
  1641. "type": "array",
  1642. "items": {
  1643. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  1644. }
  1645. }
  1646. },
  1647. "500": {
  1648. "description": "Internal Server Error",
  1649. "schema": {
  1650. "$ref": "#/definitions/app.Response"
  1651. }
  1652. }
  1653. }
  1654. }
  1655. },
  1656. "/Ermcp/QuerySpotContract": {
  1657. "get": {
  1658. "security": [
  1659. {
  1660. "ApiKeyAuth": []
  1661. }
  1662. ],
  1663. "produces": [
  1664. "application/json"
  1665. ],
  1666. "tags": [
  1667. "企业风险管理(app)"
  1668. ],
  1669. "summary": "查询现货合同(对应现货合同菜单)",
  1670. "parameters": [
  1671. {
  1672. "type": "integer",
  1673. "description": "用户ID",
  1674. "name": "userId",
  1675. "in": "query",
  1676. "required": true
  1677. },
  1678. {
  1679. "type": "integer",
  1680. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  1681. "name": "QueryType",
  1682. "in": "query",
  1683. "required": true
  1684. }
  1685. ],
  1686. "responses": {
  1687. "200": {
  1688. "description": "OK",
  1689. "schema": {
  1690. "type": "array",
  1691. "items": {
  1692. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  1693. }
  1694. }
  1695. },
  1696. "500": {
  1697. "description": "Internal Server Error",
  1698. "schema": {
  1699. "$ref": "#/definitions/app.Response"
  1700. }
  1701. }
  1702. }
  1703. }
  1704. },
  1705. "/Ermcp/QueryUserInfo": {
  1706. "get": {
  1707. "security": [
  1708. {
  1709. "ApiKeyAuth": []
  1710. }
  1711. ],
  1712. "produces": [
  1713. "application/json"
  1714. ],
  1715. "tags": [
  1716. "企业风险管理(app)"
  1717. ],
  1718. "summary": "查询客户资料",
  1719. "parameters": [
  1720. {
  1721. "type": "integer",
  1722. "description": "所属机构用户ID",
  1723. "name": "MemberUserID",
  1724. "in": "query",
  1725. "required": true
  1726. },
  1727. {
  1728. "type": "integer",
  1729. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  1730. "name": "queryType",
  1731. "in": "query",
  1732. "required": true
  1733. }
  1734. ],
  1735. "responses": {
  1736. "200": {
  1737. "description": "OK",
  1738. "schema": {
  1739. "type": "array",
  1740. "items": {
  1741. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  1742. }
  1743. }
  1744. },
  1745. "500": {
  1746. "description": "Internal Server Error",
  1747. "schema": {
  1748. "$ref": "#/definitions/app.Response"
  1749. }
  1750. }
  1751. }
  1752. }
  1753. },
  1754. "/Ermcp/QueryWrStandard": {
  1755. "get": {
  1756. "security": [
  1757. {
  1758. "ApiKeyAuth": []
  1759. }
  1760. ],
  1761. "produces": [
  1762. "application/json"
  1763. ],
  1764. "tags": [
  1765. "企业风险管理(app)"
  1766. ],
  1767. "summary": "查询现货商品",
  1768. "parameters": [
  1769. {
  1770. "type": "integer",
  1771. "description": "所属机构ID",
  1772. "name": "userid",
  1773. "in": "query",
  1774. "required": true
  1775. },
  1776. {
  1777. "type": "integer",
  1778. "description": "状态 0-停用 1-正常",
  1779. "name": "status",
  1780. "in": "query",
  1781. "required": true
  1782. }
  1783. ],
  1784. "responses": {
  1785. "200": {
  1786. "description": "OK",
  1787. "schema": {
  1788. "type": "array",
  1789. "items": {
  1790. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  1791. }
  1792. }
  1793. },
  1794. "500": {
  1795. "description": "Internal Server Error",
  1796. "schema": {
  1797. "$ref": "#/definitions/app.Response"
  1798. }
  1799. }
  1800. }
  1801. }
  1802. },
  1803. "/Ermcp/QueryWrStandardDetail": {
  1804. "get": {
  1805. "security": [
  1806. {
  1807. "ApiKeyAuth": []
  1808. }
  1809. ],
  1810. "produces": [
  1811. "application/json"
  1812. ],
  1813. "tags": [
  1814. "企业风险管理(app)"
  1815. ],
  1816. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  1817. "parameters": [
  1818. {
  1819. "type": "integer",
  1820. "description": "所属机构ID",
  1821. "name": "userid",
  1822. "in": "query",
  1823. "required": true
  1824. },
  1825. {
  1826. "type": "integer",
  1827. "description": "现货商品ID",
  1828. "name": "wrstandardid",
  1829. "in": "query",
  1830. "required": true
  1831. }
  1832. ],
  1833. "responses": {
  1834. "200": {
  1835. "description": "OK",
  1836. "schema": {
  1837. "type": "array",
  1838. "items": {
  1839. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  1840. }
  1841. }
  1842. },
  1843. "500": {
  1844. "description": "Internal Server Error",
  1845. "schema": {
  1846. "$ref": "#/definitions/app.Response"
  1847. }
  1848. }
  1849. }
  1850. }
  1851. },
  1852. "/Erms2/QueryArbitrageStrategy": {
  1853. "get": {
  1854. "security": [
  1855. {
  1856. "ApiKeyAuth": []
  1857. }
  1858. ],
  1859. "produces": [
  1860. "application/json"
  1861. ],
  1862. "tags": [
  1863. "风险管理"
  1864. ],
  1865. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  1866. "parameters": [
  1867. {
  1868. "type": "integer",
  1869. "description": "账户ID",
  1870. "name": "userid",
  1871. "in": "query",
  1872. "required": true
  1873. },
  1874. {
  1875. "type": "string",
  1876. "description": "商品组ID(品种ID)",
  1877. "name": "goodsgroupid",
  1878. "in": "query"
  1879. }
  1880. ],
  1881. "responses": {
  1882. "200": {
  1883. "description": "OK",
  1884. "schema": {
  1885. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  1886. }
  1887. },
  1888. "500": {
  1889. "description": "Internal Server Error",
  1890. "schema": {
  1891. "$ref": "#/definitions/app.Response"
  1892. }
  1893. }
  1894. }
  1895. }
  1896. },
  1897. "/Erms2/QueryInnerTradeDetail": {
  1898. "get": {
  1899. "security": [
  1900. {
  1901. "ApiKeyAuth": []
  1902. }
  1903. ],
  1904. "produces": [
  1905. "application/json"
  1906. ],
  1907. "tags": [
  1908. "风险管理"
  1909. ],
  1910. "summary": "查询内部成交单信息",
  1911. "parameters": [
  1912. {
  1913. "type": "integer",
  1914. "description": "资金账户",
  1915. "name": "accountid",
  1916. "in": "query",
  1917. "required": true
  1918. }
  1919. ],
  1920. "responses": {
  1921. "200": {
  1922. "description": "OK",
  1923. "schema": {
  1924. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  1925. }
  1926. },
  1927. "500": {
  1928. "description": "Internal Server Error",
  1929. "schema": {
  1930. "$ref": "#/definitions/app.Response"
  1931. }
  1932. }
  1933. }
  1934. }
  1935. },
  1936. "/Erms2/QuerySpotContract": {
  1937. "get": {
  1938. "security": [
  1939. {
  1940. "ApiKeyAuth": []
  1941. }
  1942. ],
  1943. "produces": [
  1944. "application/json"
  1945. ],
  1946. "tags": [
  1947. "风险管理"
  1948. ],
  1949. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  1950. "parameters": [
  1951. {
  1952. "type": "integer",
  1953. "description": "策略申请ID",
  1954. "name": "asapplyid",
  1955. "in": "query",
  1956. "required": true
  1957. },
  1958. {
  1959. "type": "integer",
  1960. "description": "现货合同ID",
  1961. "name": "spotcontractid",
  1962. "in": "query"
  1963. }
  1964. ],
  1965. "responses": {
  1966. "200": {
  1967. "description": "OK",
  1968. "schema": {
  1969. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  1970. }
  1971. },
  1972. "500": {
  1973. "description": "Internal Server Error",
  1974. "schema": {
  1975. "$ref": "#/definitions/app.Response"
  1976. }
  1977. }
  1978. }
  1979. }
  1980. },
  1981. "/Erms3/AddErms2ASApply": {
  1982. "post": {
  1983. "security": [
  1984. {
  1985. "ApiKeyAuth": []
  1986. }
  1987. ],
  1988. "produces": [
  1989. "application/json"
  1990. ],
  1991. "tags": [
  1992. "风险管理v3"
  1993. ],
  1994. "summary": "新增期现套利业务申请",
  1995. "parameters": [
  1996. {
  1997. "description": "申请参数",
  1998. "name": "jsonBody",
  1999. "in": "body",
  2000. "required": true,
  2001. "schema": {
  2002. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  2003. }
  2004. }
  2005. ],
  2006. "responses": {
  2007. "200": {
  2008. "description": "OK",
  2009. "schema": {
  2010. "$ref": "#/definitions/app.Response"
  2011. }
  2012. },
  2013. "500": {
  2014. "description": "Internal Server Error",
  2015. "schema": {
  2016. "$ref": "#/definitions/app.Response"
  2017. }
  2018. }
  2019. }
  2020. }
  2021. },
  2022. "/Erms3/AddErms2SpotTradeApply": {
  2023. "post": {
  2024. "security": [
  2025. {
  2026. "ApiKeyAuth": []
  2027. }
  2028. ],
  2029. "produces": [
  2030. "application/json"
  2031. ],
  2032. "tags": [
  2033. "风险管理v3"
  2034. ],
  2035. "summary": "新增现货贸易业务申请",
  2036. "parameters": [
  2037. {
  2038. "description": "申请参数",
  2039. "name": "jsonBody",
  2040. "in": "body",
  2041. "required": true,
  2042. "schema": {
  2043. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  2044. }
  2045. }
  2046. ],
  2047. "responses": {
  2048. "200": {
  2049. "description": "OK",
  2050. "schema": {
  2051. "$ref": "#/definitions/app.Response"
  2052. }
  2053. },
  2054. "500": {
  2055. "description": "Internal Server Error",
  2056. "schema": {
  2057. "$ref": "#/definitions/app.Response"
  2058. }
  2059. }
  2060. }
  2061. }
  2062. },
  2063. "/Erms3/AddSpotContractApply": {
  2064. "post": {
  2065. "security": [
  2066. {
  2067. "ApiKeyAuth": []
  2068. }
  2069. ],
  2070. "produces": [
  2071. "application/json"
  2072. ],
  2073. "tags": [
  2074. "风险管理v3"
  2075. ],
  2076. "summary": "新增现货合同申请",
  2077. "parameters": [
  2078. {
  2079. "description": "申请参数",
  2080. "name": "jsonBody",
  2081. "in": "body",
  2082. "required": true,
  2083. "schema": {
  2084. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  2085. }
  2086. }
  2087. ],
  2088. "responses": {
  2089. "200": {
  2090. "description": "OK",
  2091. "schema": {
  2092. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  2093. }
  2094. },
  2095. "500": {
  2096. "description": "Internal Server Error",
  2097. "schema": {
  2098. "$ref": "#/definitions/app.Response"
  2099. }
  2100. }
  2101. }
  2102. }
  2103. },
  2104. "/Erms3/AddUserInfoApply": {
  2105. "post": {
  2106. "security": [
  2107. {
  2108. "ApiKeyAuth": []
  2109. }
  2110. ],
  2111. "produces": [
  2112. "application/json"
  2113. ],
  2114. "tags": [
  2115. "风险管理v3"
  2116. ],
  2117. "summary": "新增客户申请",
  2118. "parameters": [
  2119. {
  2120. "description": "申请参数",
  2121. "name": "jsonBody",
  2122. "in": "body",
  2123. "required": true,
  2124. "schema": {
  2125. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  2126. }
  2127. }
  2128. ],
  2129. "responses": {
  2130. "200": {
  2131. "description": "OK",
  2132. "schema": {
  2133. "$ref": "#/definitions/app.Response"
  2134. }
  2135. },
  2136. "500": {
  2137. "description": "Internal Server Error",
  2138. "schema": {
  2139. "$ref": "#/definitions/app.Response"
  2140. }
  2141. }
  2142. }
  2143. }
  2144. },
  2145. "/Erms3/QueryBusinessInfo": {
  2146. "get": {
  2147. "security": [
  2148. {
  2149. "ApiKeyAuth": []
  2150. }
  2151. ],
  2152. "produces": [
  2153. "application/json"
  2154. ],
  2155. "tags": [
  2156. "风险管理v3"
  2157. ],
  2158. "summary": "查询业务表单数据",
  2159. "parameters": [
  2160. {
  2161. "type": "string",
  2162. "description": "资金账号ID列表,用逗号分隔",
  2163. "name": "accountids",
  2164. "in": "query",
  2165. "required": true
  2166. },
  2167. {
  2168. "type": "integer",
  2169. "description": "状态,0为未结束 1为已结束",
  2170. "name": "status",
  2171. "in": "query",
  2172. "required": true
  2173. }
  2174. ],
  2175. "responses": {
  2176. "200": {
  2177. "description": "OK",
  2178. "schema": {
  2179. "type": "array",
  2180. "items": {
  2181. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  2182. }
  2183. }
  2184. },
  2185. "500": {
  2186. "description": "Internal Server Error",
  2187. "schema": {
  2188. "$ref": "#/definitions/app.Response"
  2189. }
  2190. }
  2191. }
  2192. }
  2193. },
  2194. "/Erms3/QueryPendingAuditContract": {
  2195. "get": {
  2196. "security": [
  2197. {
  2198. "ApiKeyAuth": []
  2199. }
  2200. ],
  2201. "produces": [
  2202. "application/json"
  2203. ],
  2204. "tags": [
  2205. "风险管理v3"
  2206. ],
  2207. "summary": "查询待审核合同",
  2208. "parameters": [
  2209. {
  2210. "type": "string",
  2211. "description": "资金账号ID列表,逗号隔开",
  2212. "name": "accountids",
  2213. "in": "query",
  2214. "required": true
  2215. },
  2216. {
  2217. "type": "integer",
  2218. "description": "合同类型 1-采购 -1-销售",
  2219. "name": "contracttype",
  2220. "in": "query",
  2221. "required": true
  2222. },
  2223. {
  2224. "type": "integer",
  2225. "description": "合同模式 1-普通 2-回购",
  2226. "name": "contractmode",
  2227. "in": "query",
  2228. "required": true
  2229. }
  2230. ],
  2231. "responses": {
  2232. "200": {
  2233. "description": "OK",
  2234. "schema": {
  2235. "type": "array",
  2236. "items": {
  2237. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  2238. }
  2239. }
  2240. },
  2241. "500": {
  2242. "description": "Internal Server Error",
  2243. "schema": {
  2244. "$ref": "#/definitions/app.Response"
  2245. }
  2246. }
  2247. }
  2248. }
  2249. },
  2250. "/Erms3/QueryPendingBusiness": {
  2251. "get": {
  2252. "security": [
  2253. {
  2254. "ApiKeyAuth": []
  2255. }
  2256. ],
  2257. "produces": [
  2258. "application/json"
  2259. ],
  2260. "tags": [
  2261. "风险管理v3"
  2262. ],
  2263. "summary": "查询待审核基差贸易业务",
  2264. "parameters": [
  2265. {
  2266. "type": "string",
  2267. "description": "资金账号ID列表,逗号隔开",
  2268. "name": "accountids",
  2269. "in": "query",
  2270. "required": true
  2271. }
  2272. ],
  2273. "responses": {
  2274. "200": {
  2275. "description": "OK",
  2276. "schema": {
  2277. "type": "array",
  2278. "items": {
  2279. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  2280. }
  2281. }
  2282. },
  2283. "500": {
  2284. "description": "Internal Server Error",
  2285. "schema": {
  2286. "$ref": "#/definitions/app.Response"
  2287. }
  2288. }
  2289. }
  2290. }
  2291. },
  2292. "/Erms3/QuerySpotContractAppleForm": {
  2293. "get": {
  2294. "security": [
  2295. {
  2296. "ApiKeyAuth": []
  2297. }
  2298. ],
  2299. "produces": [
  2300. "application/json"
  2301. ],
  2302. "tags": [
  2303. "风险管理v3"
  2304. ],
  2305. "summary": "查询合同申请表单数据",
  2306. "parameters": [
  2307. {
  2308. "type": "integer",
  2309. "description": "登录账号",
  2310. "name": "loginID",
  2311. "in": "query",
  2312. "required": true
  2313. }
  2314. ],
  2315. "responses": {
  2316. "200": {
  2317. "description": "OK",
  2318. "schema": {
  2319. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  2320. }
  2321. },
  2322. "500": {
  2323. "description": "Internal Server Error",
  2324. "schema": {
  2325. "$ref": "#/definitions/app.Response"
  2326. }
  2327. }
  2328. }
  2329. }
  2330. },
  2331. "/Erms3/QuerySpotContractDetail": {
  2332. "get": {
  2333. "security": [
  2334. {
  2335. "ApiKeyAuth": []
  2336. }
  2337. ],
  2338. "produces": [
  2339. "application/json"
  2340. ],
  2341. "tags": [
  2342. "风险管理v3"
  2343. ],
  2344. "summary": "查询合同详细信息",
  2345. "parameters": [
  2346. {
  2347. "type": "string",
  2348. "description": "资金账号ID列表,用逗号分隔",
  2349. "name": "accountids",
  2350. "in": "query",
  2351. "required": true
  2352. },
  2353. {
  2354. "type": "integer",
  2355. "description": "合同类型,1为采购合同 -1为销售合同",
  2356. "name": "contracttype",
  2357. "in": "query",
  2358. "required": true
  2359. },
  2360. {
  2361. "type": "integer",
  2362. "description": "合同模式,1为普通合同 2为回购销售合同",
  2363. "name": "contractmode",
  2364. "in": "query",
  2365. "required": true
  2366. },
  2367. {
  2368. "type": "integer",
  2369. "description": "状态,0为履约中 1为已完成",
  2370. "name": "status",
  2371. "in": "query",
  2372. "required": true
  2373. }
  2374. ],
  2375. "responses": {
  2376. "200": {
  2377. "description": "OK",
  2378. "schema": {
  2379. "type": "array",
  2380. "items": {
  2381. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  2382. }
  2383. }
  2384. },
  2385. "500": {
  2386. "description": "Internal Server Error",
  2387. "schema": {
  2388. "$ref": "#/definitions/app.Response"
  2389. }
  2390. }
  2391. }
  2392. }
  2393. },
  2394. "/Erms3/QueryUserInfoApplies": {
  2395. "get": {
  2396. "security": [
  2397. {
  2398. "ApiKeyAuth": []
  2399. }
  2400. ],
  2401. "produces": [
  2402. "application/json"
  2403. ],
  2404. "tags": [
  2405. "风险管理v3"
  2406. ],
  2407. "summary": "客户申请信息查询",
  2408. "parameters": [
  2409. {
  2410. "type": "integer",
  2411. "description": "页码",
  2412. "name": "page",
  2413. "in": "query"
  2414. },
  2415. {
  2416. "type": "integer",
  2417. "description": "每页条数",
  2418. "name": "pagesize",
  2419. "in": "query"
  2420. },
  2421. {
  2422. "type": "string",
  2423. "description": "客户名称,支持模糊查询",
  2424. "name": "userName",
  2425. "in": "query"
  2426. }
  2427. ],
  2428. "responses": {
  2429. "200": {
  2430. "description": "OK",
  2431. "schema": {
  2432. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  2433. }
  2434. },
  2435. "500": {
  2436. "description": "Internal Server Error",
  2437. "schema": {
  2438. "$ref": "#/definitions/app.Response"
  2439. }
  2440. }
  2441. }
  2442. }
  2443. },
  2444. "/Erms3/QueryUserInfos": {
  2445. "get": {
  2446. "security": [
  2447. {
  2448. "ApiKeyAuth": []
  2449. }
  2450. ],
  2451. "produces": [
  2452. "application/json"
  2453. ],
  2454. "tags": [
  2455. "风险管理v3"
  2456. ],
  2457. "summary": "客户信息查询",
  2458. "parameters": [
  2459. {
  2460. "type": "integer",
  2461. "description": "页码",
  2462. "name": "page",
  2463. "in": "query"
  2464. },
  2465. {
  2466. "type": "integer",
  2467. "description": "每页条数",
  2468. "name": "pagesize",
  2469. "in": "query"
  2470. },
  2471. {
  2472. "type": "string",
  2473. "description": "客户名称,支持模糊查询",
  2474. "name": "userName",
  2475. "in": "query"
  2476. }
  2477. ],
  2478. "responses": {
  2479. "200": {
  2480. "description": "OK",
  2481. "schema": {
  2482. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  2483. }
  2484. },
  2485. "500": {
  2486. "description": "Internal Server Error",
  2487. "schema": {
  2488. "$ref": "#/definitions/app.Response"
  2489. }
  2490. }
  2491. }
  2492. }
  2493. },
  2494. "/HSBY/GetHsbyMyCount": {
  2495. "get": {
  2496. "security": [
  2497. {
  2498. "ApiKeyAuth": []
  2499. }
  2500. ],
  2501. "description": "说明: 不包括已完成的数量。",
  2502. "produces": [
  2503. "application/json"
  2504. ],
  2505. "tags": [
  2506. "定制【海商报业】"
  2507. ],
  2508. "summary": "获取我的订单与包裹数量",
  2509. "parameters": [
  2510. {
  2511. "type": "string",
  2512. "description": "资金账户列表,格式:1,2,3",
  2513. "name": "accountIDs",
  2514. "in": "query",
  2515. "required": true
  2516. }
  2517. ],
  2518. "responses": {
  2519. "200": {
  2520. "description": "OK",
  2521. "schema": {
  2522. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  2523. }
  2524. },
  2525. "500": {
  2526. "description": "Internal Server Error",
  2527. "schema": {
  2528. "$ref": "#/definitions/app.Response"
  2529. }
  2530. }
  2531. }
  2532. }
  2533. },
  2534. "/HSBY/QueryClientFixedADConfigs": {
  2535. "get": {
  2536. "security": [
  2537. {
  2538. "ApiKeyAuth": []
  2539. }
  2540. ],
  2541. "produces": [
  2542. "application/json"
  2543. ],
  2544. "tags": [
  2545. "定制【海商报业】"
  2546. ],
  2547. "summary": "获取终端固定广告配置",
  2548. "responses": {
  2549. "200": {
  2550. "description": "OK",
  2551. "schema": {
  2552. "$ref": "#/definitions/models.Clientfixedadconfig"
  2553. }
  2554. },
  2555. "500": {
  2556. "description": "Internal Server Error",
  2557. "schema": {
  2558. "$ref": "#/definitions/app.Response"
  2559. }
  2560. }
  2561. }
  2562. }
  2563. },
  2564. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  2565. "get": {
  2566. "security": [
  2567. {
  2568. "ApiKeyAuth": []
  2569. }
  2570. ],
  2571. "produces": [
  2572. "application/json"
  2573. ],
  2574. "tags": [
  2575. "定制【海商报业】"
  2576. ],
  2577. "summary": "查询\"我的订单 - 已完成\"单据信息",
  2578. "parameters": [
  2579. {
  2580. "type": "integer",
  2581. "description": "页码",
  2582. "name": "page",
  2583. "in": "query"
  2584. },
  2585. {
  2586. "type": "integer",
  2587. "description": "每页条数",
  2588. "name": "pagesize",
  2589. "in": "query"
  2590. },
  2591. {
  2592. "type": "string",
  2593. "description": "资金账户列表,格式:1,2,3",
  2594. "name": "accountIDs",
  2595. "in": "query",
  2596. "required": true
  2597. }
  2598. ],
  2599. "responses": {
  2600. "200": {
  2601. "description": "OK",
  2602. "schema": {
  2603. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  2604. }
  2605. },
  2606. "500": {
  2607. "description": "Internal Server Error",
  2608. "schema": {
  2609. "$ref": "#/definitions/app.Response"
  2610. }
  2611. }
  2612. }
  2613. }
  2614. },
  2615. "/HSBY/QueryHsbyGoodsOrderDetails": {
  2616. "get": {
  2617. "security": [
  2618. {
  2619. "ApiKeyAuth": []
  2620. }
  2621. ],
  2622. "description": "说明:查询结果已按委托价格和委托时间排序",
  2623. "produces": [
  2624. "application/json"
  2625. ],
  2626. "tags": [
  2627. "定制【海商报业】"
  2628. ],
  2629. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  2630. "parameters": [
  2631. {
  2632. "type": "integer",
  2633. "description": "商品ID",
  2634. "name": "goodsID",
  2635. "in": "query",
  2636. "required": true
  2637. },
  2638. {
  2639. "type": "string",
  2640. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  2641. "name": "accountIDs",
  2642. "in": "query"
  2643. },
  2644. {
  2645. "type": "integer",
  2646. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  2647. "name": "buyOrSell",
  2648. "in": "query"
  2649. },
  2650. {
  2651. "type": "number",
  2652. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  2653. "name": "price",
  2654. "in": "query"
  2655. },
  2656. {
  2657. "type": "integer",
  2658. "description": "档位,不传则默认为3档",
  2659. "name": "speed",
  2660. "in": "query"
  2661. }
  2662. ],
  2663. "responses": {
  2664. "200": {
  2665. "description": "OK",
  2666. "schema": {
  2667. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  2668. }
  2669. },
  2670. "500": {
  2671. "description": "Internal Server Error",
  2672. "schema": {
  2673. "$ref": "#/definitions/app.Response"
  2674. }
  2675. }
  2676. }
  2677. }
  2678. },
  2679. "/HSBY/QueryHsbyListingGoodsDetail": {
  2680. "get": {
  2681. "security": [
  2682. {
  2683. "ApiKeyAuth": []
  2684. }
  2685. ],
  2686. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  2687. "produces": [
  2688. "application/json"
  2689. ],
  2690. "tags": [
  2691. "定制【海商报业】"
  2692. ],
  2693. "summary": "查询二级市场(挂牌点选)商品信息详情",
  2694. "parameters": [
  2695. {
  2696. "type": "integer",
  2697. "description": "商品ID",
  2698. "name": "goodsID",
  2699. "in": "query",
  2700. "required": true
  2701. },
  2702. {
  2703. "type": "integer",
  2704. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  2705. "name": "accountID",
  2706. "in": "query"
  2707. }
  2708. ],
  2709. "responses": {
  2710. "200": {
  2711. "description": "OK",
  2712. "schema": {
  2713. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  2714. }
  2715. },
  2716. "500": {
  2717. "description": "Internal Server Error",
  2718. "schema": {
  2719. "$ref": "#/definitions/app.Response"
  2720. }
  2721. }
  2722. }
  2723. }
  2724. },
  2725. "/HSBY/QueryHsbyMarketGoodsDetail": {
  2726. "get": {
  2727. "security": [
  2728. {
  2729. "ApiKeyAuth": []
  2730. }
  2731. ],
  2732. "produces": [
  2733. "application/json"
  2734. ],
  2735. "tags": [
  2736. "定制【海商报业】"
  2737. ],
  2738. "summary": "查询三级市场(商城)商品信息详情",
  2739. "parameters": [
  2740. {
  2741. "type": "integer",
  2742. "description": "委托单号",
  2743. "name": "orderID",
  2744. "in": "query",
  2745. "required": true
  2746. },
  2747. {
  2748. "type": "integer",
  2749. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  2750. "name": "accountID",
  2751. "in": "query"
  2752. }
  2753. ],
  2754. "responses": {
  2755. "200": {
  2756. "description": "OK",
  2757. "schema": {
  2758. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  2759. }
  2760. },
  2761. "500": {
  2762. "description": "Internal Server Error",
  2763. "schema": {
  2764. "$ref": "#/definitions/app.Response"
  2765. }
  2766. }
  2767. }
  2768. }
  2769. },
  2770. "/HSBY/QueryHsbyMarketGoodses": {
  2771. "get": {
  2772. "security": [
  2773. {
  2774. "ApiKeyAuth": []
  2775. }
  2776. ],
  2777. "produces": [
  2778. "application/json"
  2779. ],
  2780. "tags": [
  2781. "定制【海商报业】"
  2782. ],
  2783. "summary": "查询特卖商品列表(三级商城)",
  2784. "parameters": [
  2785. {
  2786. "type": "integer",
  2787. "description": "页码",
  2788. "name": "page",
  2789. "in": "query"
  2790. },
  2791. {
  2792. "type": "integer",
  2793. "description": "每页条数",
  2794. "name": "pagesize",
  2795. "in": "query"
  2796. },
  2797. {
  2798. "type": "string",
  2799. "description": "市场ID列表,格式:1,2,3",
  2800. "name": "marketIDs",
  2801. "in": "query",
  2802. "required": true
  2803. },
  2804. {
  2805. "type": "integer",
  2806. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  2807. "name": "accountID",
  2808. "in": "query",
  2809. "required": true
  2810. },
  2811. {
  2812. "type": "integer",
  2813. "description": "类别ID",
  2814. "name": "categoryID",
  2815. "in": "query"
  2816. },
  2817. {
  2818. "type": "string",
  2819. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  2820. "name": "goodsIDs",
  2821. "in": "query"
  2822. },
  2823. {
  2824. "type": "integer",
  2825. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  2826. "name": "couponTypeID",
  2827. "in": "query"
  2828. }
  2829. ],
  2830. "responses": {
  2831. "200": {
  2832. "description": "OK",
  2833. "schema": {
  2834. "$ref": "#/definitions/models.HsbyMarketGoods"
  2835. }
  2836. },
  2837. "500": {
  2838. "description": "Internal Server Error",
  2839. "schema": {
  2840. "$ref": "#/definitions/app.Response"
  2841. }
  2842. }
  2843. }
  2844. }
  2845. },
  2846. "/HSBY/QueryHsbyMarkets": {
  2847. "get": {
  2848. "security": [
  2849. {
  2850. "ApiKeyAuth": []
  2851. }
  2852. ],
  2853. "produces": [
  2854. "application/json"
  2855. ],
  2856. "tags": [
  2857. "定制【海商报业】"
  2858. ],
  2859. "summary": "查询海商报业相关市场信息",
  2860. "responses": {
  2861. "200": {
  2862. "description": "OK",
  2863. "schema": {
  2864. "$ref": "#/definitions/models.HsbyMarketInfo"
  2865. }
  2866. },
  2867. "500": {
  2868. "description": "Internal Server Error",
  2869. "schema": {
  2870. "$ref": "#/definitions/app.Response"
  2871. }
  2872. }
  2873. }
  2874. }
  2875. },
  2876. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  2877. "get": {
  2878. "security": [
  2879. {
  2880. "ApiKeyAuth": []
  2881. }
  2882. ],
  2883. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  2884. "produces": [
  2885. "application/json"
  2886. ],
  2887. "tags": [
  2888. "定制【海商报业】"
  2889. ],
  2890. "summary": "查询“我的订单”信息",
  2891. "parameters": [
  2892. {
  2893. "type": "string",
  2894. "description": "资金账户列表,格式:1,2,3",
  2895. "name": "accountIDs",
  2896. "in": "query",
  2897. "required": true
  2898. },
  2899. {
  2900. "type": "integer",
  2901. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  2902. "name": "myBuyStatus",
  2903. "in": "query"
  2904. }
  2905. ],
  2906. "responses": {
  2907. "200": {
  2908. "description": "OK",
  2909. "schema": {
  2910. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  2911. }
  2912. },
  2913. "500": {
  2914. "description": "Internal Server Error",
  2915. "schema": {
  2916. "$ref": "#/definitions/app.Response"
  2917. }
  2918. }
  2919. }
  2920. }
  2921. },
  2922. "/HSBY/QueryHsbyMyGoods": {
  2923. "get": {
  2924. "security": [
  2925. {
  2926. "ApiKeyAuth": []
  2927. }
  2928. ],
  2929. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  2930. "produces": [
  2931. "application/json"
  2932. ],
  2933. "tags": [
  2934. "定制【海商报业】"
  2935. ],
  2936. "summary": "查询“我的商品”信息",
  2937. "parameters": [
  2938. {
  2939. "type": "string",
  2940. "description": "资金账户列表,格式:1,2,3",
  2941. "name": "accountIDs",
  2942. "in": "query",
  2943. "required": true
  2944. }
  2945. ],
  2946. "responses": {
  2947. "200": {
  2948. "description": "OK",
  2949. "schema": {
  2950. "$ref": "#/definitions/models.HsbyMyGoods"
  2951. }
  2952. },
  2953. "500": {
  2954. "description": "Internal Server Error",
  2955. "schema": {
  2956. "$ref": "#/definitions/app.Response"
  2957. }
  2958. }
  2959. }
  2960. }
  2961. },
  2962. "/HSBY/QueryHsbyMyPackages": {
  2963. "get": {
  2964. "security": [
  2965. {
  2966. "ApiKeyAuth": []
  2967. }
  2968. ],
  2969. "produces": [
  2970. "application/json"
  2971. ],
  2972. "tags": [
  2973. "定制【海商报业】"
  2974. ],
  2975. "summary": "查询我的包裹信息",
  2976. "parameters": [
  2977. {
  2978. "type": "string",
  2979. "description": "资金账户列表,格式:1,2,3",
  2980. "name": "accountIDs",
  2981. "in": "query",
  2982. "required": true
  2983. },
  2984. {
  2985. "type": "integer",
  2986. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2987. "name": "takeOrderStatus",
  2988. "in": "query"
  2989. }
  2990. ],
  2991. "responses": {
  2992. "200": {
  2993. "description": "OK",
  2994. "schema": {
  2995. "$ref": "#/definitions/models.HsbyMyPackage"
  2996. }
  2997. },
  2998. "500": {
  2999. "description": "Internal Server Error",
  3000. "schema": {
  3001. "$ref": "#/definitions/app.Response"
  3002. }
  3003. }
  3004. }
  3005. }
  3006. },
  3007. "/HSBY/QueryHsbyPreGoodsDetail": {
  3008. "get": {
  3009. "security": [
  3010. {
  3011. "ApiKeyAuth": []
  3012. }
  3013. ],
  3014. "produces": [
  3015. "application/json"
  3016. ],
  3017. "tags": [
  3018. "定制【海商报业】"
  3019. ],
  3020. "summary": "查询一级市场(预售)商品信息详情",
  3021. "parameters": [
  3022. {
  3023. "type": "integer",
  3024. "description": "商品ID",
  3025. "name": "goodsID",
  3026. "in": "query",
  3027. "required": true
  3028. },
  3029. {
  3030. "type": "integer",
  3031. "description": "资金账户,主要用于获取预售商品购买上限",
  3032. "name": "accountID",
  3033. "in": "query"
  3034. }
  3035. ],
  3036. "responses": {
  3037. "200": {
  3038. "description": "OK",
  3039. "schema": {
  3040. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  3041. }
  3042. },
  3043. "500": {
  3044. "description": "Internal Server Error",
  3045. "schema": {
  3046. "$ref": "#/definitions/app.Response"
  3047. }
  3048. }
  3049. }
  3050. }
  3051. },
  3052. "/HSBY/QueryHsbyPreGoodses": {
  3053. "get": {
  3054. "security": [
  3055. {
  3056. "ApiKeyAuth": []
  3057. }
  3058. ],
  3059. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  3060. "produces": [
  3061. "application/json"
  3062. ],
  3063. "tags": [
  3064. "定制【海商报业】"
  3065. ],
  3066. "summary": "查询新品上市商品列表(一级市场预售)",
  3067. "parameters": [
  3068. {
  3069. "type": "integer",
  3070. "description": "页码",
  3071. "name": "page",
  3072. "in": "query"
  3073. },
  3074. {
  3075. "type": "integer",
  3076. "description": "每页条数",
  3077. "name": "pagesize",
  3078. "in": "query"
  3079. },
  3080. {
  3081. "type": "string",
  3082. "description": "市场ID列表,格式:1,2,3",
  3083. "name": "marketIDs",
  3084. "in": "query",
  3085. "required": true
  3086. },
  3087. {
  3088. "type": "integer",
  3089. "description": "目的地(省)ID",
  3090. "name": "descProvinceID",
  3091. "in": "query"
  3092. },
  3093. {
  3094. "type": "integer",
  3095. "description": "目的地(市)ID",
  3096. "name": "descCityID",
  3097. "in": "query"
  3098. }
  3099. ],
  3100. "responses": {
  3101. "200": {
  3102. "description": "OK",
  3103. "schema": {
  3104. "$ref": "#/definitions/models.HsbyPreGoods"
  3105. }
  3106. },
  3107. "500": {
  3108. "description": "Internal Server Error",
  3109. "schema": {
  3110. "$ref": "#/definitions/app.Response"
  3111. }
  3112. }
  3113. }
  3114. }
  3115. },
  3116. "/HSBY/QueryHsbySellMyDetails": {
  3117. "get": {
  3118. "security": [
  3119. {
  3120. "ApiKeyAuth": []
  3121. }
  3122. ],
  3123. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  3124. "produces": [
  3125. "application/json"
  3126. ],
  3127. "tags": [
  3128. "定制【海商报业】"
  3129. ],
  3130. "summary": "查询\"我的闲置\"单据信息",
  3131. "parameters": [
  3132. {
  3133. "type": "integer",
  3134. "description": "页码",
  3135. "name": "page",
  3136. "in": "query"
  3137. },
  3138. {
  3139. "type": "integer",
  3140. "description": "每页条数",
  3141. "name": "pagesize",
  3142. "in": "query"
  3143. },
  3144. {
  3145. "type": "string",
  3146. "description": "资金账户列表,格式:1,2,3",
  3147. "name": "accountIDs",
  3148. "in": "query",
  3149. "required": true
  3150. },
  3151. {
  3152. "type": "integer",
  3153. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  3154. "name": "orderType",
  3155. "in": "query"
  3156. }
  3157. ],
  3158. "responses": {
  3159. "200": {
  3160. "description": "OK",
  3161. "schema": {
  3162. "$ref": "#/definitions/models.HsbySellMyDetail"
  3163. }
  3164. },
  3165. "500": {
  3166. "description": "Internal Server Error",
  3167. "schema": {
  3168. "$ref": "#/definitions/app.Response"
  3169. }
  3170. }
  3171. }
  3172. }
  3173. },
  3174. "/HSBY/QueryHsbyTopGoodses": {
  3175. "get": {
  3176. "security": [
  3177. {
  3178. "ApiKeyAuth": []
  3179. }
  3180. ],
  3181. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  3182. "produces": [
  3183. "application/json"
  3184. ],
  3185. "tags": [
  3186. "定制【海商报业】"
  3187. ],
  3188. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  3189. "parameters": [
  3190. {
  3191. "type": "integer",
  3192. "description": "页码",
  3193. "name": "page",
  3194. "in": "query"
  3195. },
  3196. {
  3197. "type": "integer",
  3198. "description": "每页条数",
  3199. "name": "pagesize",
  3200. "in": "query"
  3201. },
  3202. {
  3203. "type": "string",
  3204. "description": "市场ID列表,格式:1,2,3",
  3205. "name": "marketIDs",
  3206. "in": "query",
  3207. "required": true
  3208. },
  3209. {
  3210. "type": "integer",
  3211. "description": "目的地(省)ID",
  3212. "name": "descProvinceID",
  3213. "in": "query"
  3214. },
  3215. {
  3216. "type": "integer",
  3217. "description": "目的地(市)ID",
  3218. "name": "descCityID",
  3219. "in": "query"
  3220. }
  3221. ],
  3222. "responses": {
  3223. "200": {
  3224. "description": "OK",
  3225. "schema": {
  3226. "$ref": "#/definitions/models.HsbyTopGoods"
  3227. }
  3228. },
  3229. "500": {
  3230. "description": "Internal Server Error",
  3231. "schema": {
  3232. "$ref": "#/definitions/app.Response"
  3233. }
  3234. }
  3235. }
  3236. }
  3237. },
  3238. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  3239. "get": {
  3240. "security": [
  3241. {
  3242. "ApiKeyAuth": []
  3243. }
  3244. ],
  3245. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  3246. "produces": [
  3247. "application/json"
  3248. ],
  3249. "tags": [
  3250. "定制【海商报业】"
  3251. ],
  3252. "summary": "查询游客三级市场(商城)商品信息详情",
  3253. "parameters": [
  3254. {
  3255. "type": "integer",
  3256. "description": "商品ID",
  3257. "name": "goodsID",
  3258. "in": "query",
  3259. "required": true
  3260. }
  3261. ],
  3262. "responses": {
  3263. "200": {
  3264. "description": "OK",
  3265. "schema": {
  3266. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3267. }
  3268. },
  3269. "500": {
  3270. "description": "Internal Server Error",
  3271. "schema": {
  3272. "$ref": "#/definitions/app.Response"
  3273. }
  3274. }
  3275. }
  3276. }
  3277. },
  3278. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  3279. "get": {
  3280. "security": [
  3281. {
  3282. "ApiKeyAuth": []
  3283. }
  3284. ],
  3285. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  3286. "produces": [
  3287. "application/json"
  3288. ],
  3289. "tags": [
  3290. "定制【海商报业】"
  3291. ],
  3292. "summary": "查询游客特卖商品列表(三级商城)",
  3293. "parameters": [
  3294. {
  3295. "type": "integer",
  3296. "description": "页码",
  3297. "name": "page",
  3298. "in": "query"
  3299. },
  3300. {
  3301. "type": "integer",
  3302. "description": "每页条数",
  3303. "name": "pagesize",
  3304. "in": "query"
  3305. },
  3306. {
  3307. "type": "string",
  3308. "description": "市场ID列表,格式:1,2,3",
  3309. "name": "marketIDs",
  3310. "in": "query",
  3311. "required": true
  3312. },
  3313. {
  3314. "type": "integer",
  3315. "description": "类别ID",
  3316. "name": "categoryID",
  3317. "in": "query"
  3318. },
  3319. {
  3320. "type": "string",
  3321. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3322. "name": "goodsIDs",
  3323. "in": "query"
  3324. }
  3325. ],
  3326. "responses": {
  3327. "200": {
  3328. "description": "OK",
  3329. "schema": {
  3330. "$ref": "#/definitions/models.HsbyMarketGoods"
  3331. }
  3332. },
  3333. "500": {
  3334. "description": "Internal Server Error",
  3335. "schema": {
  3336. "$ref": "#/definitions/app.Response"
  3337. }
  3338. }
  3339. }
  3340. }
  3341. },
  3342. "/HSBY/QueryMyCollectionOrders": {
  3343. "get": {
  3344. "security": [
  3345. {
  3346. "ApiKeyAuth": []
  3347. }
  3348. ],
  3349. "produces": [
  3350. "application/json"
  3351. ],
  3352. "tags": [
  3353. "定制【海商报业】"
  3354. ],
  3355. "summary": "我的闲置中收款信息查询",
  3356. "parameters": [
  3357. {
  3358. "type": "integer",
  3359. "description": "页码",
  3360. "name": "page",
  3361. "in": "query"
  3362. },
  3363. {
  3364. "type": "integer",
  3365. "description": "每页条数",
  3366. "name": "pagesize",
  3367. "in": "query"
  3368. },
  3369. {
  3370. "type": "string",
  3371. "description": "资金账户,格式:1,2,3",
  3372. "name": "accountIDs",
  3373. "in": "query",
  3374. "required": true
  3375. }
  3376. ],
  3377. "responses": {
  3378. "200": {
  3379. "description": "OK",
  3380. "schema": {
  3381. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  3382. }
  3383. },
  3384. "500": {
  3385. "description": "Internal Server Error",
  3386. "schema": {
  3387. "$ref": "#/definitions/app.Response"
  3388. }
  3389. }
  3390. }
  3391. }
  3392. },
  3393. "/HSBY/QueryMyCouponHolds": {
  3394. "get": {
  3395. "security": [
  3396. {
  3397. "ApiKeyAuth": []
  3398. }
  3399. ],
  3400. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  3401. "produces": [
  3402. "application/json"
  3403. ],
  3404. "tags": [
  3405. "定制【海商报业】"
  3406. ],
  3407. "summary": "我的优惠卷持仓查询",
  3408. "parameters": [
  3409. {
  3410. "type": "string",
  3411. "description": "资金账户列表,格式:1,2,3",
  3412. "name": "accountIDs",
  3413. "in": "query",
  3414. "required": true
  3415. },
  3416. {
  3417. "type": "string",
  3418. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  3419. "name": "holdStatus",
  3420. "in": "query"
  3421. }
  3422. ],
  3423. "responses": {
  3424. "200": {
  3425. "description": "OK",
  3426. "schema": {
  3427. "$ref": "#/definitions/models.MyCouponHold"
  3428. }
  3429. },
  3430. "500": {
  3431. "description": "Internal Server Error",
  3432. "schema": {
  3433. "$ref": "#/definitions/app.Response"
  3434. }
  3435. }
  3436. }
  3437. }
  3438. },
  3439. "/HSBY/QueryMyCoupons": {
  3440. "get": {
  3441. "security": [
  3442. {
  3443. "ApiKeyAuth": []
  3444. }
  3445. ],
  3446. "produces": [
  3447. "application/json"
  3448. ],
  3449. "tags": [
  3450. "定制【海商报业】"
  3451. ],
  3452. "summary": "我的优惠卷查询",
  3453. "parameters": [
  3454. {
  3455. "type": "string",
  3456. "description": "资金账户列表,格式:1,2,3",
  3457. "name": "accountIDs",
  3458. "in": "query",
  3459. "required": true
  3460. },
  3461. {
  3462. "type": "integer",
  3463. "description": "商品ID, 一般与sellUserID配套传入",
  3464. "name": "goodsID",
  3465. "in": "query"
  3466. },
  3467. {
  3468. "type": "integer",
  3469. "description": "卖方UserID",
  3470. "name": "sellUserID",
  3471. "in": "query"
  3472. }
  3473. ],
  3474. "responses": {
  3475. "200": {
  3476. "description": "OK",
  3477. "schema": {
  3478. "$ref": "#/definitions/models.MyCoupon"
  3479. }
  3480. },
  3481. "500": {
  3482. "description": "Internal Server Error",
  3483. "schema": {
  3484. "$ref": "#/definitions/app.Response"
  3485. }
  3486. }
  3487. }
  3488. }
  3489. },
  3490. "/HSBY/QueryMyPayOrders": {
  3491. "get": {
  3492. "security": [
  3493. {
  3494. "ApiKeyAuth": []
  3495. }
  3496. ],
  3497. "produces": [
  3498. "application/json"
  3499. ],
  3500. "tags": [
  3501. "定制【海商报业】"
  3502. ],
  3503. "summary": "获取我的订单中待付款信息",
  3504. "parameters": [
  3505. {
  3506. "type": "integer",
  3507. "description": "页码",
  3508. "name": "page",
  3509. "in": "query"
  3510. },
  3511. {
  3512. "type": "integer",
  3513. "description": "每页条数",
  3514. "name": "pagesize",
  3515. "in": "query"
  3516. },
  3517. {
  3518. "type": "string",
  3519. "description": "资金账户列表,格式:1,2,3",
  3520. "name": "accountIDs",
  3521. "in": "query",
  3522. "required": true
  3523. },
  3524. {
  3525. "type": "integer",
  3526. "description": "买方委托单号",
  3527. "name": "buyOrderID",
  3528. "in": "query"
  3529. },
  3530. {
  3531. "type": "integer",
  3532. "description": "卖方委托单号",
  3533. "name": "sellOrderID",
  3534. "in": "query"
  3535. }
  3536. ],
  3537. "responses": {
  3538. "200": {
  3539. "description": "OK",
  3540. "schema": {
  3541. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  3542. }
  3543. },
  3544. "500": {
  3545. "description": "Internal Server Error",
  3546. "schema": {
  3547. "$ref": "#/definitions/app.Response"
  3548. }
  3549. }
  3550. }
  3551. }
  3552. },
  3553. "/HSBY/QueryMyUsedCoupon": {
  3554. "get": {
  3555. "security": [
  3556. {
  3557. "ApiKeyAuth": []
  3558. }
  3559. ],
  3560. "produces": [
  3561. "application/json"
  3562. ],
  3563. "tags": [
  3564. "定制【海商报业】"
  3565. ],
  3566. "summary": "已使用优惠卷查询",
  3567. "parameters": [
  3568. {
  3569. "type": "string",
  3570. "description": "资金账户列表,格式:1,2,3",
  3571. "name": "accountIDs",
  3572. "in": "query",
  3573. "required": true
  3574. }
  3575. ],
  3576. "responses": {
  3577. "200": {
  3578. "description": "OK",
  3579. "schema": {
  3580. "$ref": "#/definitions/models.MyUsedCoupon"
  3581. }
  3582. },
  3583. "500": {
  3584. "description": "Internal Server Error",
  3585. "schema": {
  3586. "$ref": "#/definitions/app.Response"
  3587. }
  3588. }
  3589. }
  3590. }
  3591. },
  3592. "/HSBY/QueryProvincesAndCities": {
  3593. "get": {
  3594. "security": [
  3595. {
  3596. "ApiKeyAuth": []
  3597. }
  3598. ],
  3599. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  3600. "produces": [
  3601. "application/json"
  3602. ],
  3603. "tags": [
  3604. "定制【海商报业】"
  3605. ],
  3606. "summary": "查询省市信息(不包括区)",
  3607. "parameters": [
  3608. {
  3609. "type": "integer",
  3610. "description": "省ID",
  3611. "name": "provinceID",
  3612. "in": "query"
  3613. }
  3614. ],
  3615. "responses": {
  3616. "200": {
  3617. "description": "OK",
  3618. "schema": {
  3619. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  3620. }
  3621. },
  3622. "500": {
  3623. "description": "Internal Server Error",
  3624. "schema": {
  3625. "$ref": "#/definitions/app.Response"
  3626. }
  3627. }
  3628. }
  3629. }
  3630. },
  3631. "/HSBY/SetHsbyMyPackagesStatus": {
  3632. "post": {
  3633. "security": [
  3634. {
  3635. "ApiKeyAuth": []
  3636. }
  3637. ],
  3638. "produces": [
  3639. "application/json"
  3640. ],
  3641. "tags": [
  3642. "定制【海商报业】"
  3643. ],
  3644. "summary": "设置我的包裹已收货状态",
  3645. "parameters": [
  3646. {
  3647. "type": "string",
  3648. "description": "提货单号",
  3649. "name": "takeOrderID",
  3650. "in": "query",
  3651. "required": true
  3652. },
  3653. {
  3654. "type": "integer",
  3655. "description": "资金账号",
  3656. "name": "accountID",
  3657. "in": "query",
  3658. "required": true
  3659. }
  3660. ],
  3661. "responses": {
  3662. "200": {
  3663. "description": "OK",
  3664. "schema": {
  3665. "$ref": "#/definitions/app.Response"
  3666. }
  3667. },
  3668. "500": {
  3669. "description": "Internal Server Error",
  3670. "schema": {
  3671. "$ref": "#/definitions/app.Response"
  3672. }
  3673. }
  3674. }
  3675. }
  3676. },
  3677. "/Market/QueryGoodsesByLoginID": {
  3678. "get": {
  3679. "security": [
  3680. {
  3681. "ApiKeyAuth": []
  3682. }
  3683. ],
  3684. "produces": [
  3685. "application/json"
  3686. ],
  3687. "tags": [
  3688. "通用市场"
  3689. ],
  3690. "summary": "获取登录账号有权限的商品信息",
  3691. "parameters": [
  3692. {
  3693. "type": "integer",
  3694. "description": "登录账号",
  3695. "name": "loginID",
  3696. "in": "query",
  3697. "required": true
  3698. },
  3699. {
  3700. "type": "string",
  3701. "description": "市场ID列表,格式:1,2,3",
  3702. "name": "marketIDs",
  3703. "in": "query"
  3704. }
  3705. ],
  3706. "responses": {
  3707. "200": {
  3708. "description": "OK",
  3709. "schema": {
  3710. "$ref": "#/definitions/models.Goods"
  3711. }
  3712. },
  3713. "500": {
  3714. "description": "Internal Server Error",
  3715. "schema": {
  3716. "$ref": "#/definitions/app.Response"
  3717. }
  3718. }
  3719. }
  3720. }
  3721. },
  3722. "/Market/QueryMarketRun": {
  3723. "get": {
  3724. "security": [
  3725. {
  3726. "ApiKeyAuth": []
  3727. }
  3728. ],
  3729. "produces": [
  3730. "application/json"
  3731. ],
  3732. "tags": [
  3733. "通用市场"
  3734. ],
  3735. "summary": "查询市场运行信息",
  3736. "parameters": [
  3737. {
  3738. "type": "integer",
  3739. "description": "市场ID,不传返回所有",
  3740. "name": "marketID",
  3741. "in": "query"
  3742. }
  3743. ],
  3744. "responses": {
  3745. "200": {
  3746. "description": "OK",
  3747. "schema": {
  3748. "$ref": "#/definitions/models.Marketrun"
  3749. }
  3750. },
  3751. "500": {
  3752. "description": "Internal Server Error",
  3753. "schema": {
  3754. "$ref": "#/definitions/app.Response"
  3755. }
  3756. }
  3757. }
  3758. }
  3759. },
  3760. "/Market/QueryMarketsByLoginID": {
  3761. "get": {
  3762. "security": [
  3763. {
  3764. "ApiKeyAuth": []
  3765. }
  3766. ],
  3767. "produces": [
  3768. "application/json"
  3769. ],
  3770. "tags": [
  3771. "通用市场"
  3772. ],
  3773. "summary": "获取登录账号有权限的市场信息",
  3774. "parameters": [
  3775. {
  3776. "type": "integer",
  3777. "description": "登录账号",
  3778. "name": "loginID",
  3779. "in": "query",
  3780. "required": true
  3781. }
  3782. ],
  3783. "responses": {
  3784. "200": {
  3785. "description": "OK",
  3786. "schema": {
  3787. "$ref": "#/definitions/models.Market"
  3788. }
  3789. },
  3790. "500": {
  3791. "description": "Internal Server Error",
  3792. "schema": {
  3793. "$ref": "#/definitions/app.Response"
  3794. }
  3795. }
  3796. }
  3797. }
  3798. },
  3799. "/Order/QueryHisTradeDetail": {
  3800. "get": {
  3801. "security": [
  3802. {
  3803. "ApiKeyAuth": []
  3804. }
  3805. ],
  3806. "produces": [
  3807. "application/json"
  3808. ],
  3809. "tags": [
  3810. "通用单据"
  3811. ],
  3812. "summary": "历史成交单查询(合约市场)",
  3813. "parameters": [
  3814. {
  3815. "type": "string",
  3816. "description": "资金账户 - 格式:1,2,3",
  3817. "name": "accountID",
  3818. "in": "query",
  3819. "required": true
  3820. },
  3821. {
  3822. "type": "integer",
  3823. "description": "成交单号",
  3824. "name": "tradeID",
  3825. "in": "query"
  3826. },
  3827. {
  3828. "type": "integer",
  3829. "description": "委托单号",
  3830. "name": "orderID",
  3831. "in": "query"
  3832. },
  3833. {
  3834. "type": "string",
  3835. "description": "交易模式 - 格式:1,2,3",
  3836. "name": "tradeMode",
  3837. "in": "query"
  3838. },
  3839. {
  3840. "type": "integer",
  3841. "description": "委托单据类型",
  3842. "name": "buildType",
  3843. "in": "query"
  3844. },
  3845. {
  3846. "type": "string",
  3847. "description": "成交类别 - 格式:1,2,3",
  3848. "name": "tradeType",
  3849. "in": "query"
  3850. },
  3851. {
  3852. "type": "string",
  3853. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3854. "name": "startDate",
  3855. "in": "query"
  3856. },
  3857. {
  3858. "type": "string",
  3859. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3860. "name": "endDate",
  3861. "in": "query"
  3862. }
  3863. ],
  3864. "responses": {
  3865. "200": {
  3866. "description": "OK",
  3867. "schema": {
  3868. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  3869. }
  3870. },
  3871. "500": {
  3872. "description": "Internal Server Error",
  3873. "schema": {
  3874. "$ref": "#/definitions/app.Response"
  3875. }
  3876. }
  3877. }
  3878. }
  3879. },
  3880. "/Order/QueryHisTradeOrderDetail": {
  3881. "get": {
  3882. "security": [
  3883. {
  3884. "ApiKeyAuth": []
  3885. }
  3886. ],
  3887. "produces": [
  3888. "application/json"
  3889. ],
  3890. "tags": [
  3891. "通用单据"
  3892. ],
  3893. "summary": "历史委托单查询请求(合约市场)",
  3894. "parameters": [
  3895. {
  3896. "type": "string",
  3897. "description": "资金账户 - 格式:1,2,3",
  3898. "name": "accountID",
  3899. "in": "query",
  3900. "required": true
  3901. },
  3902. {
  3903. "type": "string",
  3904. "description": "交易模式 - 格式:1,2,3",
  3905. "name": "tradeMode",
  3906. "in": "query"
  3907. },
  3908. {
  3909. "type": "string",
  3910. "description": "委托状态 - 格式:1,2,3",
  3911. "name": "orderStatus",
  3912. "in": "query"
  3913. },
  3914. {
  3915. "type": "integer",
  3916. "description": "委托单号",
  3917. "name": "orderID",
  3918. "in": "query"
  3919. },
  3920. {
  3921. "type": "string",
  3922. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3923. "name": "startDate",
  3924. "in": "query"
  3925. },
  3926. {
  3927. "type": "string",
  3928. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3929. "name": "endDate",
  3930. "in": "query"
  3931. }
  3932. ],
  3933. "responses": {
  3934. "200": {
  3935. "description": "OK",
  3936. "schema": {
  3937. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  3938. }
  3939. },
  3940. "500": {
  3941. "description": "Internal Server Error",
  3942. "schema": {
  3943. "$ref": "#/definitions/app.Response"
  3944. }
  3945. }
  3946. }
  3947. }
  3948. },
  3949. "/Order/QueryTradeDetail": {
  3950. "get": {
  3951. "security": [
  3952. {
  3953. "ApiKeyAuth": []
  3954. }
  3955. ],
  3956. "produces": [
  3957. "application/json"
  3958. ],
  3959. "tags": [
  3960. "通用单据"
  3961. ],
  3962. "summary": "成交单查询(合约市场)",
  3963. "parameters": [
  3964. {
  3965. "type": "string",
  3966. "description": "资金账户 - 格式:1,2,3",
  3967. "name": "accountID",
  3968. "in": "query",
  3969. "required": true
  3970. },
  3971. {
  3972. "type": "integer",
  3973. "description": "成交单号",
  3974. "name": "tradeID",
  3975. "in": "query"
  3976. },
  3977. {
  3978. "type": "integer",
  3979. "description": "委托单号",
  3980. "name": "orderID",
  3981. "in": "query"
  3982. },
  3983. {
  3984. "type": "string",
  3985. "description": "交易模式 - 格式:1,2,3",
  3986. "name": "tradeMode",
  3987. "in": "query"
  3988. },
  3989. {
  3990. "type": "integer",
  3991. "description": "委托单据类型",
  3992. "name": "buildType",
  3993. "in": "query"
  3994. },
  3995. {
  3996. "type": "string",
  3997. "description": "成交类别 - 格式:1,2,3",
  3998. "name": "tradeType",
  3999. "in": "query"
  4000. }
  4001. ],
  4002. "responses": {
  4003. "200": {
  4004. "description": "OK",
  4005. "schema": {
  4006. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  4007. }
  4008. },
  4009. "500": {
  4010. "description": "Internal Server Error",
  4011. "schema": {
  4012. "$ref": "#/definitions/app.Response"
  4013. }
  4014. }
  4015. }
  4016. }
  4017. },
  4018. "/Order/QueryTradeOrderDetail": {
  4019. "get": {
  4020. "security": [
  4021. {
  4022. "ApiKeyAuth": []
  4023. }
  4024. ],
  4025. "produces": [
  4026. "application/json"
  4027. ],
  4028. "tags": [
  4029. "通用单据"
  4030. ],
  4031. "summary": "委托单查询请求(合约市场)",
  4032. "parameters": [
  4033. {
  4034. "type": "string",
  4035. "description": "资金账户 - 格式:1,2,3",
  4036. "name": "accountID",
  4037. "in": "query",
  4038. "required": true
  4039. },
  4040. {
  4041. "type": "string",
  4042. "description": "交易模式 - 格式:1,2,3",
  4043. "name": "tradeMode",
  4044. "in": "query"
  4045. },
  4046. {
  4047. "type": "string",
  4048. "description": "委托状态 - 格式:1,2,3",
  4049. "name": "orderStatus",
  4050. "in": "query"
  4051. },
  4052. {
  4053. "type": "integer",
  4054. "description": "委托单号",
  4055. "name": "orderID",
  4056. "in": "query"
  4057. }
  4058. ],
  4059. "responses": {
  4060. "200": {
  4061. "description": "OK",
  4062. "schema": {
  4063. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  4064. }
  4065. },
  4066. "500": {
  4067. "description": "Internal Server Error",
  4068. "schema": {
  4069. "$ref": "#/definitions/app.Response"
  4070. }
  4071. }
  4072. }
  4073. }
  4074. },
  4075. "/Order/QueryTradePosition": {
  4076. "get": {
  4077. "security": [
  4078. {
  4079. "ApiKeyAuth": []
  4080. }
  4081. ],
  4082. "produces": [
  4083. "application/json"
  4084. ],
  4085. "tags": [
  4086. "通用单据"
  4087. ],
  4088. "summary": "持仓汇总查询(合约市场)",
  4089. "parameters": [
  4090. {
  4091. "type": "string",
  4092. "description": "资金账户 - 格式:1,2,3",
  4093. "name": "accountID",
  4094. "in": "query",
  4095. "required": true
  4096. },
  4097. {
  4098. "type": "string",
  4099. "description": "交易模式 - 格式:1,2,3",
  4100. "name": "tradeMode",
  4101. "in": "query"
  4102. }
  4103. ],
  4104. "responses": {
  4105. "200": {
  4106. "description": "OK",
  4107. "schema": {
  4108. "$ref": "#/definitions/order.QueryTradePositionRsp"
  4109. }
  4110. },
  4111. "500": {
  4112. "description": "Internal Server Error",
  4113. "schema": {
  4114. "$ref": "#/definitions/app.Response"
  4115. }
  4116. }
  4117. }
  4118. }
  4119. },
  4120. "/Quote/QueryHistoryDatas": {
  4121. "get": {
  4122. "security": [
  4123. {
  4124. "ApiKeyAuth": []
  4125. }
  4126. ],
  4127. "produces": [
  4128. "application/json"
  4129. ],
  4130. "tags": [
  4131. "行情服务"
  4132. ],
  4133. "summary": "查询行情历史数据",
  4134. "parameters": [
  4135. {
  4136. "type": "integer",
  4137. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  4138. "name": "cycleType",
  4139. "in": "query",
  4140. "required": true
  4141. },
  4142. {
  4143. "type": "string",
  4144. "description": "商品代码",
  4145. "name": "goodsCode",
  4146. "in": "query",
  4147. "required": true
  4148. },
  4149. {
  4150. "type": "string",
  4151. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  4152. "name": "startTime",
  4153. "in": "query"
  4154. },
  4155. {
  4156. "type": "string",
  4157. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  4158. "name": "endTime",
  4159. "in": "query"
  4160. },
  4161. {
  4162. "type": "integer",
  4163. "description": "条数",
  4164. "name": "count",
  4165. "in": "query"
  4166. },
  4167. {
  4168. "type": "boolean",
  4169. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  4170. "name": "isAsc",
  4171. "in": "query"
  4172. }
  4173. ],
  4174. "responses": {
  4175. "200": {
  4176. "description": "OK",
  4177. "schema": {
  4178. "$ref": "#/definitions/quote.HistoryData"
  4179. }
  4180. },
  4181. "500": {
  4182. "description": "Internal Server Error",
  4183. "schema": {
  4184. "$ref": "#/definitions/app.Response"
  4185. }
  4186. }
  4187. }
  4188. }
  4189. },
  4190. "/Quote/QueryTSData": {
  4191. "get": {
  4192. "produces": [
  4193. "application/json"
  4194. ],
  4195. "tags": [
  4196. "行情服务"
  4197. ],
  4198. "summary": "分时图数据查询",
  4199. "parameters": [
  4200. {
  4201. "type": "string",
  4202. "description": "商品代码",
  4203. "name": "GoodsCode",
  4204. "in": "query",
  4205. "required": true
  4206. }
  4207. ],
  4208. "responses": {
  4209. "200": {
  4210. "description": "OK",
  4211. "schema": {
  4212. "$ref": "#/definitions/quote.QueryTSDataRsp"
  4213. }
  4214. },
  4215. "500": {
  4216. "description": "Internal Server Error",
  4217. "schema": {
  4218. "$ref": "#/definitions/app.Response"
  4219. }
  4220. }
  4221. }
  4222. }
  4223. },
  4224. "/SZDZ/QueryConvertConfig": {
  4225. "get": {
  4226. "security": [
  4227. {
  4228. "ApiKeyAuth": []
  4229. }
  4230. ],
  4231. "produces": [
  4232. "application/json"
  4233. ],
  4234. "tags": [
  4235. "定制【尚志大宗】"
  4236. ],
  4237. "summary": "查询交易系统转换设置",
  4238. "parameters": [
  4239. {
  4240. "type": "integer",
  4241. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  4242. "name": "convertType",
  4243. "in": "query"
  4244. },
  4245. {
  4246. "type": "string",
  4247. "description": "外部商品代码[JD\\PD]",
  4248. "name": "outerGoodsCode",
  4249. "in": "query"
  4250. },
  4251. {
  4252. "type": "string",
  4253. "description": "内部商品ID列表[交易],格式:1,2,3",
  4254. "name": "innerGoodsIDs",
  4255. "in": "query"
  4256. }
  4257. ],
  4258. "responses": {
  4259. "200": {
  4260. "description": "OK",
  4261. "schema": {
  4262. "$ref": "#/definitions/models.Szdz3convertconfig"
  4263. }
  4264. },
  4265. "500": {
  4266. "description": "Internal Server Error",
  4267. "schema": {
  4268. "$ref": "#/definitions/app.Response"
  4269. }
  4270. }
  4271. }
  4272. }
  4273. },
  4274. "/SZDZ/QueryConvertLog": {
  4275. "get": {
  4276. "security": [
  4277. {
  4278. "ApiKeyAuth": []
  4279. }
  4280. ],
  4281. "produces": [
  4282. "application/json"
  4283. ],
  4284. "tags": [
  4285. "定制【尚志大宗】"
  4286. ],
  4287. "summary": "交易系统转换流水查询",
  4288. "parameters": [
  4289. {
  4290. "type": "string",
  4291. "description": "资金账户 - 格式:1,2,3",
  4292. "name": "accountID",
  4293. "in": "query",
  4294. "required": true
  4295. },
  4296. {
  4297. "type": "string",
  4298. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  4299. "name": "startDate",
  4300. "in": "query"
  4301. },
  4302. {
  4303. "type": "string",
  4304. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  4305. "name": "endDate",
  4306. "in": "query"
  4307. }
  4308. ],
  4309. "responses": {
  4310. "200": {
  4311. "description": "OK",
  4312. "schema": {
  4313. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  4314. }
  4315. },
  4316. "500": {
  4317. "description": "Internal Server Error",
  4318. "schema": {
  4319. "$ref": "#/definitions/app.Response"
  4320. }
  4321. }
  4322. }
  4323. }
  4324. },
  4325. "/SZDZ/QueryGoodsPickup": {
  4326. "get": {
  4327. "security": [
  4328. {
  4329. "ApiKeyAuth": []
  4330. }
  4331. ],
  4332. "produces": [
  4333. "application/json"
  4334. ],
  4335. "tags": [
  4336. "定制【尚志大宗】"
  4337. ],
  4338. "summary": "商品提货单查询",
  4339. "parameters": [
  4340. {
  4341. "type": "string",
  4342. "description": "资金账户 - 格式:1,2,3",
  4343. "name": "accountID",
  4344. "in": "query",
  4345. "required": true
  4346. },
  4347. {
  4348. "type": "integer",
  4349. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  4350. "name": "takeOrderStatus",
  4351. "in": "query"
  4352. }
  4353. ],
  4354. "responses": {
  4355. "200": {
  4356. "description": "OK",
  4357. "schema": {
  4358. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  4359. }
  4360. },
  4361. "500": {
  4362. "description": "Internal Server Error",
  4363. "schema": {
  4364. "$ref": "#/definitions/app.Response"
  4365. }
  4366. }
  4367. }
  4368. }
  4369. },
  4370. "/SZDZ/QueryRecieptOrder": {
  4371. "get": {
  4372. "security": [
  4373. {
  4374. "ApiKeyAuth": []
  4375. }
  4376. ],
  4377. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  4378. "produces": [
  4379. "application/json"
  4380. ],
  4381. "tags": [
  4382. "定制【尚志大宗】"
  4383. ],
  4384. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  4385. "parameters": [
  4386. {
  4387. "type": "integer",
  4388. "description": "页码",
  4389. "name": "page",
  4390. "in": "query"
  4391. },
  4392. {
  4393. "type": "integer",
  4394. "description": "每页条数",
  4395. "name": "pagesize",
  4396. "in": "query"
  4397. },
  4398. {
  4399. "type": "integer",
  4400. "description": "商品ID",
  4401. "name": "goodsID",
  4402. "in": "query",
  4403. "required": true
  4404. },
  4405. {
  4406. "type": "string",
  4407. "description": "所属账户名称",
  4408. "name": "accountName",
  4409. "in": "query"
  4410. },
  4411. {
  4412. "type": "integer",
  4413. "description": "市场ID",
  4414. "name": "marketID",
  4415. "in": "query"
  4416. },
  4417. {
  4418. "type": "integer",
  4419. "description": "方向 - 0:买 1:卖",
  4420. "name": "buyorsell",
  4421. "in": "query",
  4422. "required": true
  4423. }
  4424. ],
  4425. "responses": {
  4426. "200": {
  4427. "description": "OK",
  4428. "schema": {
  4429. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  4430. }
  4431. },
  4432. "500": {
  4433. "description": "Internal Server Error",
  4434. "schema": {
  4435. "$ref": "#/definitions/app.Response"
  4436. }
  4437. }
  4438. }
  4439. }
  4440. },
  4441. "/SZDZ/QuerySZDZTradePosition": {
  4442. "get": {
  4443. "security": [
  4444. {
  4445. "ApiKeyAuth": []
  4446. }
  4447. ],
  4448. "produces": [
  4449. "application/json"
  4450. ],
  4451. "tags": [
  4452. "定制【尚志大宗】"
  4453. ],
  4454. "summary": "持仓汇总查询(尚志大宗)",
  4455. "parameters": [
  4456. {
  4457. "type": "integer",
  4458. "description": "资金账户",
  4459. "name": "accountID",
  4460. "in": "query",
  4461. "required": true
  4462. }
  4463. ],
  4464. "responses": {
  4465. "200": {
  4466. "description": "OK",
  4467. "schema": {
  4468. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  4469. }
  4470. },
  4471. "500": {
  4472. "description": "Internal Server Error",
  4473. "schema": {
  4474. "$ref": "#/definitions/app.Response"
  4475. }
  4476. }
  4477. }
  4478. }
  4479. },
  4480. "/SZDZ/SearchWhite": {
  4481. "get": {
  4482. "security": [
  4483. {
  4484. "ApiKeyAuth": []
  4485. }
  4486. ],
  4487. "produces": [
  4488. "application/json"
  4489. ],
  4490. "tags": [
  4491. "定制【尚志大宗】"
  4492. ],
  4493. "summary": "搜索白名单",
  4494. "parameters": [
  4495. {
  4496. "type": "integer",
  4497. "description": "用户ID",
  4498. "name": "userID",
  4499. "in": "query",
  4500. "required": true
  4501. }
  4502. ],
  4503. "responses": {
  4504. "200": {
  4505. "description": "OK",
  4506. "schema": {
  4507. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  4508. }
  4509. },
  4510. "500": {
  4511. "description": "Internal Server Error",
  4512. "schema": {
  4513. "$ref": "#/definitions/app.Response"
  4514. }
  4515. }
  4516. }
  4517. }
  4518. },
  4519. "/Search/SearchGoodses": {
  4520. "get": {
  4521. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  4522. "produces": [
  4523. "application/json"
  4524. ],
  4525. "tags": [
  4526. "检索服务"
  4527. ],
  4528. "summary": "检索商品信息",
  4529. "parameters": [
  4530. {
  4531. "type": "string",
  4532. "description": "检索内容",
  4533. "name": "content",
  4534. "in": "query",
  4535. "required": true
  4536. },
  4537. {
  4538. "type": "string",
  4539. "description": "交易模式,格式:1,2,3",
  4540. "name": "tradeModes",
  4541. "in": "query"
  4542. }
  4543. ],
  4544. "responses": {
  4545. "200": {
  4546. "description": "OK",
  4547. "schema": {
  4548. "$ref": "#/definitions/models.SearchGoods"
  4549. }
  4550. },
  4551. "500": {
  4552. "description": "Internal Server Error",
  4553. "schema": {
  4554. "$ref": "#/definitions/app.Response"
  4555. }
  4556. }
  4557. }
  4558. }
  4559. },
  4560. "/TaAccount/QueryAmountLog": {
  4561. "get": {
  4562. "security": [
  4563. {
  4564. "ApiKeyAuth": []
  4565. }
  4566. ],
  4567. "produces": [
  4568. "application/json"
  4569. ],
  4570. "tags": [
  4571. "资金账户"
  4572. ],
  4573. "summary": "资金流水查询(当前)",
  4574. "parameters": [
  4575. {
  4576. "type": "integer",
  4577. "description": "页码",
  4578. "name": "page",
  4579. "in": "query"
  4580. },
  4581. {
  4582. "type": "integer",
  4583. "description": "每页条数",
  4584. "name": "pagesize",
  4585. "in": "query"
  4586. },
  4587. {
  4588. "type": "string",
  4589. "description": "资金账户 - 格式:1,2,3",
  4590. "name": "accountID",
  4591. "in": "query",
  4592. "required": true
  4593. },
  4594. {
  4595. "type": "string",
  4596. "description": "资金操作类型 - 格式:1,2,3",
  4597. "name": "OperateType",
  4598. "in": "query"
  4599. }
  4600. ],
  4601. "responses": {
  4602. "200": {
  4603. "description": "OK",
  4604. "schema": {
  4605. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  4606. }
  4607. },
  4608. "500": {
  4609. "description": "Internal Server Error",
  4610. "schema": {
  4611. "$ref": "#/definitions/app.Response"
  4612. }
  4613. }
  4614. }
  4615. }
  4616. },
  4617. "/TaAccount/QueryHisAmountLog": {
  4618. "get": {
  4619. "security": [
  4620. {
  4621. "ApiKeyAuth": []
  4622. }
  4623. ],
  4624. "produces": [
  4625. "application/json"
  4626. ],
  4627. "tags": [
  4628. "资金账户"
  4629. ],
  4630. "summary": "资金流水查询(历史)",
  4631. "parameters": [
  4632. {
  4633. "type": "integer",
  4634. "description": "页码",
  4635. "name": "page",
  4636. "in": "query"
  4637. },
  4638. {
  4639. "type": "integer",
  4640. "description": "每页条数",
  4641. "name": "pagesize",
  4642. "in": "query"
  4643. },
  4644. {
  4645. "type": "string",
  4646. "description": "资金账户 - 格式:1,2,3",
  4647. "name": "accountID",
  4648. "in": "query",
  4649. "required": true
  4650. },
  4651. {
  4652. "type": "string",
  4653. "description": "资金操作类型 - 格式:1,2,3",
  4654. "name": "OperateType",
  4655. "in": "query"
  4656. },
  4657. {
  4658. "type": "string",
  4659. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4660. "name": "startDate",
  4661. "in": "query"
  4662. },
  4663. {
  4664. "type": "string",
  4665. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4666. "name": "endDate",
  4667. "in": "query"
  4668. }
  4669. ],
  4670. "responses": {
  4671. "200": {
  4672. "description": "OK",
  4673. "schema": {
  4674. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  4675. }
  4676. },
  4677. "500": {
  4678. "description": "Internal Server Error",
  4679. "schema": {
  4680. "$ref": "#/definitions/app.Response"
  4681. }
  4682. }
  4683. }
  4684. }
  4685. },
  4686. "/Trade/QueryRecieptOrder": {
  4687. "get": {
  4688. "security": [
  4689. {
  4690. "ApiKeyAuth": []
  4691. }
  4692. ],
  4693. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  4694. "produces": [
  4695. "application/json"
  4696. ],
  4697. "tags": [
  4698. "通用交易"
  4699. ],
  4700. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  4701. "parameters": [
  4702. {
  4703. "type": "integer",
  4704. "description": "页码",
  4705. "name": "page",
  4706. "in": "query"
  4707. },
  4708. {
  4709. "type": "integer",
  4710. "description": "每页条数",
  4711. "name": "pagesize",
  4712. "in": "query"
  4713. },
  4714. {
  4715. "type": "integer",
  4716. "description": "商品ID",
  4717. "name": "goodsID",
  4718. "in": "query",
  4719. "required": true
  4720. },
  4721. {
  4722. "type": "string",
  4723. "description": "所属账户名称",
  4724. "name": "accountName",
  4725. "in": "query"
  4726. },
  4727. {
  4728. "type": "integer",
  4729. "description": "市场ID",
  4730. "name": "marketID",
  4731. "in": "query"
  4732. },
  4733. {
  4734. "type": "integer",
  4735. "description": "方向 - 0:买 1:卖",
  4736. "name": "buyorsell",
  4737. "in": "query",
  4738. "required": true
  4739. }
  4740. ],
  4741. "responses": {
  4742. "200": {
  4743. "description": "OK",
  4744. "schema": {
  4745. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  4746. }
  4747. },
  4748. "500": {
  4749. "description": "Internal Server Error",
  4750. "schema": {
  4751. "$ref": "#/definitions/app.Response"
  4752. }
  4753. }
  4754. }
  4755. }
  4756. },
  4757. "/User/AddMessageBoard": {
  4758. "post": {
  4759. "security": [
  4760. {
  4761. "ApiKeyAuth": []
  4762. }
  4763. ],
  4764. "produces": [
  4765. "application/json"
  4766. ],
  4767. "tags": [
  4768. "用户信息"
  4769. ],
  4770. "summary": "添加用户留言板信息",
  4771. "parameters": [
  4772. {
  4773. "type": "integer",
  4774. "description": "用户ID",
  4775. "name": "userID",
  4776. "in": "query",
  4777. "required": true
  4778. },
  4779. {
  4780. "type": "string",
  4781. "description": "留言信息",
  4782. "name": "message",
  4783. "in": "query",
  4784. "required": true
  4785. }
  4786. ],
  4787. "responses": {
  4788. "200": {
  4789. "description": "OK",
  4790. "schema": {
  4791. "$ref": "#/definitions/app.Response"
  4792. }
  4793. },
  4794. "500": {
  4795. "description": "Internal Server Error",
  4796. "schema": {
  4797. "$ref": "#/definitions/app.Response"
  4798. }
  4799. }
  4800. }
  4801. }
  4802. },
  4803. "/User/AddUserFavoriteGoods": {
  4804. "post": {
  4805. "security": [
  4806. {
  4807. "ApiKeyAuth": []
  4808. }
  4809. ],
  4810. "produces": [
  4811. "application/json"
  4812. ],
  4813. "tags": [
  4814. "用户信息"
  4815. ],
  4816. "summary": "添加用户商品收藏信息",
  4817. "parameters": [
  4818. {
  4819. "type": "integer",
  4820. "description": "用户ID",
  4821. "name": "userID",
  4822. "in": "query",
  4823. "required": true
  4824. },
  4825. {
  4826. "type": "integer",
  4827. "description": "商品ID",
  4828. "name": "goodsID",
  4829. "in": "query",
  4830. "required": true
  4831. }
  4832. ],
  4833. "responses": {
  4834. "200": {
  4835. "description": "OK",
  4836. "schema": {
  4837. "$ref": "#/definitions/app.Response"
  4838. }
  4839. },
  4840. "500": {
  4841. "description": "Internal Server Error",
  4842. "schema": {
  4843. "$ref": "#/definitions/app.Response"
  4844. }
  4845. }
  4846. }
  4847. }
  4848. },
  4849. "/User/GetLoginID": {
  4850. "get": {
  4851. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  4852. "produces": [
  4853. "application/json"
  4854. ],
  4855. "tags": [
  4856. "用户信息"
  4857. ],
  4858. "summary": "获取登录ID",
  4859. "parameters": [
  4860. {
  4861. "type": "string",
  4862. "description": "登录代码",
  4863. "name": "username",
  4864. "in": "query",
  4865. "required": true
  4866. }
  4867. ],
  4868. "responses": {
  4869. "200": {
  4870. "description": "OK",
  4871. "schema": {
  4872. "$ref": "#/definitions/app.Response"
  4873. }
  4874. },
  4875. "500": {
  4876. "description": "Internal Server Error",
  4877. "schema": {
  4878. "$ref": "#/definitions/app.Response"
  4879. }
  4880. }
  4881. }
  4882. }
  4883. },
  4884. "/User/GetUserAccount": {
  4885. "get": {
  4886. "security": [
  4887. {
  4888. "ApiKeyAuth": []
  4889. }
  4890. ],
  4891. "produces": [
  4892. "application/json"
  4893. ],
  4894. "tags": [
  4895. "用户信息"
  4896. ],
  4897. "summary": "获取用户账号信息",
  4898. "parameters": [
  4899. {
  4900. "type": "integer",
  4901. "description": "用户ID",
  4902. "name": "userID",
  4903. "in": "query",
  4904. "required": true
  4905. }
  4906. ],
  4907. "responses": {
  4908. "200": {
  4909. "description": "OK",
  4910. "schema": {
  4911. "$ref": "#/definitions/models.Useraccount"
  4912. }
  4913. },
  4914. "500": {
  4915. "description": "Internal Server Error",
  4916. "schema": {
  4917. "$ref": "#/definitions/app.Response"
  4918. }
  4919. }
  4920. }
  4921. }
  4922. },
  4923. "/User/GetUserAuthStatus": {
  4924. "get": {
  4925. "security": [
  4926. {
  4927. "ApiKeyAuth": []
  4928. }
  4929. ],
  4930. "produces": [
  4931. "application/json"
  4932. ],
  4933. "tags": [
  4934. "用户信息"
  4935. ],
  4936. "summary": "获取用户实名认证状态",
  4937. "parameters": [
  4938. {
  4939. "type": "integer",
  4940. "description": "用户ID",
  4941. "name": "userID",
  4942. "in": "query",
  4943. "required": true
  4944. }
  4945. ],
  4946. "responses": {
  4947. "200": {
  4948. "description": "OK",
  4949. "schema": {
  4950. "$ref": "#/definitions/app.Response"
  4951. }
  4952. },
  4953. "500": {
  4954. "description": "Internal Server Error",
  4955. "schema": {
  4956. "$ref": "#/definitions/app.Response"
  4957. }
  4958. }
  4959. }
  4960. }
  4961. },
  4962. "/User/QueryMessageBoard": {
  4963. "get": {
  4964. "security": [
  4965. {
  4966. "ApiKeyAuth": []
  4967. }
  4968. ],
  4969. "produces": [
  4970. "application/json"
  4971. ],
  4972. "tags": [
  4973. "用户信息"
  4974. ],
  4975. "summary": "获取用户留言板信息",
  4976. "parameters": [
  4977. {
  4978. "type": "integer",
  4979. "description": "用户ID",
  4980. "name": "userID",
  4981. "in": "query",
  4982. "required": true
  4983. }
  4984. ],
  4985. "responses": {
  4986. "200": {
  4987. "description": "OK",
  4988. "schema": {
  4989. "$ref": "#/definitions/models.Messageboard"
  4990. }
  4991. },
  4992. "500": {
  4993. "description": "Internal Server Error",
  4994. "schema": {
  4995. "$ref": "#/definitions/app.Response"
  4996. }
  4997. }
  4998. }
  4999. }
  5000. },
  5001. "/User/QueryUserFavoriteGoodses": {
  5002. "get": {
  5003. "security": [
  5004. {
  5005. "ApiKeyAuth": []
  5006. }
  5007. ],
  5008. "produces": [
  5009. "application/json"
  5010. ],
  5011. "tags": [
  5012. "用户信息"
  5013. ],
  5014. "summary": "获取用户商品收藏信息",
  5015. "parameters": [
  5016. {
  5017. "type": "integer",
  5018. "description": "用户ID",
  5019. "name": "userID",
  5020. "in": "query",
  5021. "required": true
  5022. }
  5023. ],
  5024. "responses": {
  5025. "200": {
  5026. "description": "OK",
  5027. "schema": {
  5028. "$ref": "#/definitions/models.Userfavoritegoods"
  5029. }
  5030. },
  5031. "500": {
  5032. "description": "Internal Server Error",
  5033. "schema": {
  5034. "$ref": "#/definitions/app.Response"
  5035. }
  5036. }
  5037. }
  5038. }
  5039. },
  5040. "/User/QueryUserInfo": {
  5041. "get": {
  5042. "security": [
  5043. {
  5044. "ApiKeyAuth": []
  5045. }
  5046. ],
  5047. "produces": [
  5048. "application/json"
  5049. ],
  5050. "tags": [
  5051. "用户信息"
  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/models.Userinfo"
  5068. }
  5069. },
  5070. "500": {
  5071. "description": "Internal Server Error",
  5072. "schema": {
  5073. "$ref": "#/definitions/app.Response"
  5074. }
  5075. }
  5076. }
  5077. }
  5078. },
  5079. "/User/QueryUserReferNum": {
  5080. "get": {
  5081. "produces": [
  5082. "application/json"
  5083. ],
  5084. "tags": [
  5085. "用户信息"
  5086. ],
  5087. "summary": "获取用户邀请码",
  5088. "parameters": [
  5089. {
  5090. "type": "integer",
  5091. "description": "用户ID",
  5092. "name": "userID",
  5093. "in": "query",
  5094. "required": true
  5095. }
  5096. ],
  5097. "responses": {
  5098. "200": {
  5099. "description": "OK",
  5100. "schema": {
  5101. "$ref": "#/definitions/app.Response"
  5102. }
  5103. },
  5104. "500": {
  5105. "description": "Internal Server Error",
  5106. "schema": {
  5107. "$ref": "#/definitions/app.Response"
  5108. }
  5109. }
  5110. }
  5111. }
  5112. },
  5113. "/User/RemoveUserFavoriteGoods": {
  5114. "post": {
  5115. "security": [
  5116. {
  5117. "ApiKeyAuth": []
  5118. }
  5119. ],
  5120. "produces": [
  5121. "application/json"
  5122. ],
  5123. "tags": [
  5124. "用户信息"
  5125. ],
  5126. "summary": "移除用户商品收藏信息",
  5127. "parameters": [
  5128. {
  5129. "type": "integer",
  5130. "description": "用户ID",
  5131. "name": "userID",
  5132. "in": "query",
  5133. "required": true
  5134. },
  5135. {
  5136. "type": "integer",
  5137. "description": "商品ID",
  5138. "name": "goodsID",
  5139. "in": "query",
  5140. "required": true
  5141. }
  5142. ],
  5143. "responses": {
  5144. "200": {
  5145. "description": "OK",
  5146. "schema": {
  5147. "$ref": "#/definitions/app.Response"
  5148. }
  5149. },
  5150. "500": {
  5151. "description": "Internal Server Error",
  5152. "schema": {
  5153. "$ref": "#/definitions/app.Response"
  5154. }
  5155. }
  5156. }
  5157. }
  5158. },
  5159. "/WR/GetWRCategoryInfo": {
  5160. "get": {
  5161. "produces": [
  5162. "application/json"
  5163. ],
  5164. "tags": [
  5165. "仓单服务"
  5166. ],
  5167. "summary": "获取现货分类信息",
  5168. "responses": {
  5169. "200": {
  5170. "description": "OK",
  5171. "schema": {
  5172. "$ref": "#/definitions/models.WRCategoryTree"
  5173. }
  5174. },
  5175. "500": {
  5176. "description": "Internal Server Error",
  5177. "schema": {
  5178. "$ref": "#/definitions/app.Response"
  5179. }
  5180. }
  5181. }
  5182. }
  5183. },
  5184. "/WRTrade/GetAllDeliveryGoods": {
  5185. "get": {
  5186. "security": [
  5187. {
  5188. "ApiKeyAuth": []
  5189. },
  5190. {
  5191. "ApiKeyAuth": []
  5192. }
  5193. ],
  5194. "produces": [
  5195. "application/json",
  5196. "application/json"
  5197. ],
  5198. "tags": [
  5199. "仓单贸易",
  5200. "仓单贸易"
  5201. ],
  5202. "summary": "获取带仓单分类的种类信息",
  5203. "responses": {
  5204. "200": {
  5205. "description": "OK",
  5206. "schema": {
  5207. "$ref": "#/definitions/app.Response"
  5208. }
  5209. },
  5210. "500": {
  5211. "description": "Internal Server Error",
  5212. "schema": {
  5213. "$ref": "#/definitions/app.Response"
  5214. }
  5215. }
  5216. }
  5217. }
  5218. }
  5219. },
  5220. "definitions": {
  5221. "app.Response": {
  5222. "type": "object",
  5223. "properties": {
  5224. "code": {
  5225. "type": "integer"
  5226. },
  5227. "data": {
  5228. "type": "object"
  5229. },
  5230. "msg": {
  5231. "type": "string"
  5232. },
  5233. "page": {
  5234. "description": "页码",
  5235. "type": "integer"
  5236. },
  5237. "pagesize": {
  5238. "description": "每页条数",
  5239. "type": "integer"
  5240. },
  5241. "total": {
  5242. "description": "总条数",
  5243. "type": "integer"
  5244. }
  5245. }
  5246. },
  5247. "common.QueryNoticeRsp": {
  5248. "type": "object",
  5249. "required": [
  5250. "autoid"
  5251. ],
  5252. "properties": {
  5253. "auditoruserid": {
  5254. "description": "审核人",
  5255. "type": "integer"
  5256. },
  5257. "auditremark": {
  5258. "description": "审核备注",
  5259. "type": "string"
  5260. },
  5261. "audittime": {
  5262. "description": "审核日期",
  5263. "type": "string"
  5264. },
  5265. "autoid": {
  5266. "description": "自增ID",
  5267. "type": "integer"
  5268. },
  5269. "content": {
  5270. "description": "内容",
  5271. "type": "string"
  5272. },
  5273. "createtime": {
  5274. "description": "创建时间",
  5275. "type": "string"
  5276. },
  5277. "creatorid": {
  5278. "description": "建仓人",
  5279. "type": "integer"
  5280. },
  5281. "endtime": {
  5282. "description": "结束时间",
  5283. "type": "string"
  5284. },
  5285. "istop": {
  5286. "description": "是否置顶 - 0:不置顶 1:置顶",
  5287. "type": "integer"
  5288. },
  5289. "msgiconurl": {
  5290. "description": "消息图标Url",
  5291. "type": "string"
  5292. },
  5293. "msgtype": {
  5294. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  5295. "type": "integer"
  5296. },
  5297. "publisher": {
  5298. "description": "消息发布者",
  5299. "type": "string"
  5300. },
  5301. "readed": {
  5302. "description": "是否已读",
  5303. "type": "boolean"
  5304. },
  5305. "scheduletime": {
  5306. "description": "计划发送时间",
  5307. "type": "string"
  5308. },
  5309. "sendtype": {
  5310. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  5311. "type": "integer"
  5312. },
  5313. "sentstatus": {
  5314. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  5315. "type": "integer"
  5316. },
  5317. "title": {
  5318. "description": "标题",
  5319. "type": "string"
  5320. },
  5321. "userid": {
  5322. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  5323. "type": "integer"
  5324. }
  5325. }
  5326. },
  5327. "common.QueryProvincesAndCitiesRsp": {
  5328. "type": "object",
  5329. "properties": {
  5330. "cities": {
  5331. "description": "市",
  5332. "type": "array",
  5333. "items": {
  5334. "$ref": "#/definitions/models.Division"
  5335. }
  5336. },
  5337. "province": {
  5338. "description": "省",
  5339. "type": "object",
  5340. "$ref": "#/definitions/models.Division"
  5341. }
  5342. }
  5343. },
  5344. "common.QueryTableDefineRsp": {
  5345. "type": "object",
  5346. "required": [
  5347. "tablekey"
  5348. ],
  5349. "properties": {
  5350. "columns": {
  5351. "description": "列头信息数组",
  5352. "type": "array",
  5353. "items": {
  5354. "$ref": "#/definitions/models.Tablecolumnconfig"
  5355. }
  5356. },
  5357. "remark": {
  5358. "description": "Remark",
  5359. "type": "string"
  5360. },
  5361. "tabelmenu": {
  5362. "description": "列表菜单",
  5363. "type": "string"
  5364. },
  5365. "tablekey": {
  5366. "description": "列表Key",
  5367. "type": "string"
  5368. },
  5369. "tablename": {
  5370. "description": "列表名称",
  5371. "type": "string"
  5372. },
  5373. "tabletype": {
  5374. "description": "列表类型 - 1:管理端 2:终端",
  5375. "type": "integer"
  5376. }
  5377. }
  5378. },
  5379. "common.QueryTraderMenuRsp": {
  5380. "type": "object",
  5381. "properties": {
  5382. "OperationMenu": {
  5383. "description": "功能菜单",
  5384. "type": "array",
  5385. "items": {
  5386. "$ref": "#/definitions/models.OperationPrimaryMenu"
  5387. }
  5388. },
  5389. "QuoteMenu": {
  5390. "description": "报价牌分类菜单",
  5391. "type": "array",
  5392. "items": {
  5393. "$ref": "#/definitions/models.QuotePrimaryMenu"
  5394. }
  5395. }
  5396. }
  5397. },
  5398. "cptrade.Cptradepositioncancel": {
  5399. "type": "object",
  5400. "required": [
  5401. "cancelid"
  5402. ],
  5403. "properties": {
  5404. "accountid": {
  5405. "description": "申请人账户ID",
  5406. "type": "integer"
  5407. },
  5408. "applystatus": {
  5409. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  5410. "type": "integer"
  5411. },
  5412. "applytime": {
  5413. "description": "申请时间",
  5414. "type": "string"
  5415. },
  5416. "cancelid": {
  5417. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  5418. "type": "integer"
  5419. },
  5420. "cancelqty": {
  5421. "description": "注销数量",
  5422. "type": "integer"
  5423. },
  5424. "createtime": {
  5425. "description": "创建时间",
  5426. "type": "string"
  5427. },
  5428. "creatorid": {
  5429. "description": "创建人ID",
  5430. "type": "integer"
  5431. },
  5432. "creatorname": {
  5433. "description": "创建人",
  5434. "type": "string"
  5435. },
  5436. "goodscode": {
  5437. "description": "订单商品代码",
  5438. "type": "string"
  5439. },
  5440. "goodsid": {
  5441. "description": "商品ID",
  5442. "type": "integer"
  5443. },
  5444. "goodsname": {
  5445. "description": "订单商品名称",
  5446. "type": "string"
  5447. },
  5448. "goodunit": {
  5449. "description": "报价单位",
  5450. "type": "string"
  5451. },
  5452. "handlestatus": {
  5453. "description": "处理状态",
  5454. "type": "integer"
  5455. },
  5456. "marketid": {
  5457. "description": "市场ID",
  5458. "type": "integer"
  5459. },
  5460. "marketname": {
  5461. "description": "市场名称",
  5462. "type": "string"
  5463. },
  5464. "tradedate": {
  5465. "description": "交易日(yyyyMMdd)",
  5466. "type": "string"
  5467. },
  5468. "userid": {
  5469. "description": "申请人ID",
  5470. "type": "integer"
  5471. }
  5472. }
  5473. },
  5474. "cptrade.Cptradepresaleapply": {
  5475. "type": "object",
  5476. "required": [
  5477. "applyid"
  5478. ],
  5479. "properties": {
  5480. "accountid": {
  5481. "description": "申请人账户ID",
  5482. "type": "integer"
  5483. },
  5484. "applyid": {
  5485. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  5486. "type": "integer"
  5487. },
  5488. "applyremark": {
  5489. "description": "申请备注",
  5490. "type": "string"
  5491. },
  5492. "applystatus": {
  5493. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  5494. "type": "integer"
  5495. },
  5496. "applytime": {
  5497. "description": "申请时间",
  5498. "type": "string"
  5499. },
  5500. "attachmenturl": {
  5501. "description": "附件地址",
  5502. "type": "string"
  5503. },
  5504. "endtime": {
  5505. "description": "预售结束时间",
  5506. "type": "string"
  5507. },
  5508. "goodscode": {
  5509. "description": "商品代码",
  5510. "type": "string"
  5511. },
  5512. "goodsid": {
  5513. "description": "商品ID",
  5514. "type": "integer"
  5515. },
  5516. "goodsname": {
  5517. "description": "商品名称",
  5518. "type": "string"
  5519. },
  5520. "goodunit": {
  5521. "description": "报价单位",
  5522. "type": "string"
  5523. },
  5524. "handlestatus": {
  5525. "description": "处理状态",
  5526. "type": "integer"
  5527. },
  5528. "marketid": {
  5529. "description": "预售市场ID",
  5530. "type": "integer"
  5531. },
  5532. "marketname": {
  5533. "description": "预售市场名称",
  5534. "type": "string"
  5535. },
  5536. "presaleqty": {
  5537. "description": "预售数量",
  5538. "type": "integer"
  5539. },
  5540. "relatedgoodscode": {
  5541. "description": "关联交易合约代码",
  5542. "type": "string"
  5543. },
  5544. "relatedgoodsid": {
  5545. "description": "关联交易合约ID",
  5546. "type": "integer"
  5547. },
  5548. "relatedgoodsname": {
  5549. "description": "关联交易合约名称",
  5550. "type": "string"
  5551. },
  5552. "starttime": {
  5553. "description": "预售开始时间",
  5554. "type": "string"
  5555. },
  5556. "tradedate": {
  5557. "description": "交易日(yyyyMMdd)",
  5558. "type": "string"
  5559. },
  5560. "trademode": {
  5561. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  5562. "type": "integer"
  5563. },
  5564. "userid": {
  5565. "description": "申请人ID",
  5566. "type": "integer"
  5567. }
  5568. }
  5569. },
  5570. "cptrade.Cptradeusergoodsdata": {
  5571. "type": "object",
  5572. "required": [
  5573. "accountid",
  5574. "goodsid"
  5575. ],
  5576. "properties": {
  5577. "EnabledQty": {
  5578. "description": "可用量",
  5579. "type": "integer"
  5580. },
  5581. "GoodsCode": {
  5582. "description": "订单商品代码",
  5583. "type": "string"
  5584. },
  5585. "GoodsName": {
  5586. "description": "订单商品名称",
  5587. "type": "string"
  5588. },
  5589. "WRStandardCode": {
  5590. "description": "仓单标准代码",
  5591. "type": "string"
  5592. },
  5593. "WRStandardName": {
  5594. "description": "仓单标准名称",
  5595. "type": "string"
  5596. },
  5597. "accountid": {
  5598. "description": "账户ID",
  5599. "type": "integer"
  5600. },
  5601. "cancelqty": {
  5602. "description": "注销量",
  5603. "type": "integer"
  5604. },
  5605. "curpresaleqty": {
  5606. "description": "当前预售量",
  5607. "type": "integer"
  5608. },
  5609. "deliveryqty": {
  5610. "description": "交割量",
  5611. "type": "integer"
  5612. },
  5613. "freezeamount": {
  5614. "description": "冻结金额",
  5615. "type": "number"
  5616. },
  5617. "goodsid": {
  5618. "description": "商品ID",
  5619. "type": "integer"
  5620. },
  5621. "goodunit": {
  5622. "description": "报价单位",
  5623. "type": "string"
  5624. },
  5625. "hasspotfreeze": {
  5626. "description": "是否有现货冻结 - 0:否 1:有",
  5627. "type": "integer"
  5628. },
  5629. "inqty": {
  5630. "description": "转入量(总数量)",
  5631. "type": "integer"
  5632. },
  5633. "marketid": {
  5634. "description": "市场ID",
  5635. "type": "integer"
  5636. },
  5637. "presaledamount": {
  5638. "description": "已预售总金额",
  5639. "type": "integer"
  5640. },
  5641. "presaledqty": {
  5642. "description": "已预售量",
  5643. "type": "integer"
  5644. },
  5645. "userid": {
  5646. "description": "用户ID",
  5647. "type": "integer"
  5648. },
  5649. "wrstandardid": {
  5650. "description": "仓单标准ID",
  5651. "type": "integer"
  5652. }
  5653. }
  5654. },
  5655. "cptrade.QueryCPTradeMyBidRsp": {
  5656. "type": "object",
  5657. "required": [
  5658. "accountid",
  5659. "goodsid",
  5660. "marketid",
  5661. "orderid",
  5662. "orderqty",
  5663. "ordertime",
  5664. "tradeprice",
  5665. "tradeqty"
  5666. ],
  5667. "properties": {
  5668. "accountid": {
  5669. "description": "账户ID[报价币种]",
  5670. "type": "integer"
  5671. },
  5672. "goodsid": {
  5673. "description": "商品ID",
  5674. "type": "integer"
  5675. },
  5676. "goodunit": {
  5677. "description": "报价单位",
  5678. "type": "string"
  5679. },
  5680. "marketid": {
  5681. "description": "市场ID",
  5682. "type": "integer"
  5683. },
  5684. "orderid": {
  5685. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5686. "type": "integer"
  5687. },
  5688. "orderprice": {
  5689. "description": "委托价格",
  5690. "type": "number"
  5691. },
  5692. "orderqty": {
  5693. "description": "委托数量",
  5694. "type": "integer"
  5695. },
  5696. "ordertime": {
  5697. "description": "委托时间",
  5698. "type": "string"
  5699. },
  5700. "ordertotalprice": {
  5701. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  5702. "type": "number"
  5703. },
  5704. "ordertotalweight": {
  5705. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  5706. "type": "integer"
  5707. },
  5708. "totaltotalprice": {
  5709. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  5710. "type": "number"
  5711. },
  5712. "tradeprice": {
  5713. "description": "成交价格",
  5714. "type": "number"
  5715. },
  5716. "tradeqty": {
  5717. "description": "成交数量",
  5718. "type": "integer"
  5719. }
  5720. }
  5721. },
  5722. "cptrade.QueryCPTradeOrderDetailRsq": {
  5723. "type": "object",
  5724. "required": [
  5725. "accountid",
  5726. "buildtype",
  5727. "buyorsell",
  5728. "goodsid",
  5729. "marketid",
  5730. "memberuserid",
  5731. "operatetype",
  5732. "orderqty",
  5733. "ordertime",
  5734. "pricemode",
  5735. "strorderid",
  5736. "tradedate",
  5737. "validtype"
  5738. ],
  5739. "properties": {
  5740. "accountid": {
  5741. "description": "账户ID[报价币种]",
  5742. "type": "integer"
  5743. },
  5744. "buildtype": {
  5745. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  5746. "type": "integer"
  5747. },
  5748. "buyorsell": {
  5749. "description": "买卖 - 0:买 1:卖",
  5750. "type": "integer"
  5751. },
  5752. "cancelorderid": {
  5753. "description": "撤单单号(撤单时填写)",
  5754. "type": "integer"
  5755. },
  5756. "cancelqty": {
  5757. "description": "撤单数量",
  5758. "type": "integer"
  5759. },
  5760. "clientordertime": {
  5761. "description": "客户端委托时间",
  5762. "type": "string"
  5763. },
  5764. "clientticket": {
  5765. "description": "客户端流水号",
  5766. "type": "string"
  5767. },
  5768. "clienttype": {
  5769. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  5770. "type": "integer"
  5771. },
  5772. "closeexchagechargevalue": {
  5773. "description": "平仓交易所手续费设置值",
  5774. "type": "number"
  5775. },
  5776. "closefeealgorithm": {
  5777. "description": "平仓手续费收取方式 1:比率 2:固定",
  5778. "type": "integer"
  5779. },
  5780. "closefreezecharge": {
  5781. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  5782. "type": "number"
  5783. },
  5784. "closememberchargevalue": {
  5785. "description": "平仓会员手续费设置值",
  5786. "type": "number"
  5787. },
  5788. "closeqty": {
  5789. "description": "平仓数量(先建后平操作 需要记录)",
  5790. "type": "integer"
  5791. },
  5792. "closetradeqty": {
  5793. "description": "平仓成交数量(先建后平操作,需要记录)",
  5794. "type": "integer"
  5795. },
  5796. "closeunfreezecharge": {
  5797. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  5798. "type": "number"
  5799. },
  5800. "delistingtype": {
  5801. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  5802. "type": "integer"
  5803. },
  5804. "freezecharge": {
  5805. "description": "冻结手续费",
  5806. "type": "number"
  5807. },
  5808. "freezemargin": {
  5809. "description": "冻结保证金(冻结交易金额)",
  5810. "type": "number"
  5811. },
  5812. "gcaccountid": {
  5813. "description": "账户ID[合约币种]",
  5814. "type": "integer"
  5815. },
  5816. "goodsid": {
  5817. "description": "商品ID",
  5818. "type": "integer"
  5819. },
  5820. "isconfirmexercise": {
  5821. "description": "是否确认行权- 0:否 1:是",
  5822. "type": "integer"
  5823. },
  5824. "ispreexercise": {
  5825. "description": "是否预申报- 0:否 1:是",
  5826. "type": "integer"
  5827. },
  5828. "listingselecttype": {
  5829. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  5830. "type": "integer"
  5831. },
  5832. "marginalgorithm": {
  5833. "description": "保证金收取方式 1:比率 2:固定",
  5834. "type": "integer"
  5835. },
  5836. "marginvalue": {
  5837. "description": "即市保证金设置值",
  5838. "type": "number"
  5839. },
  5840. "marketid": {
  5841. "description": "市场ID",
  5842. "type": "integer"
  5843. },
  5844. "marketmaxsub": {
  5845. "description": "市价最大偏移范围",
  5846. "type": "number"
  5847. },
  5848. "memberuserid": {
  5849. "description": "所属会员UserID",
  5850. "type": "integer"
  5851. },
  5852. "openexchagechargevalue": {
  5853. "description": "建仓交易所手续费设置值",
  5854. "type": "number"
  5855. },
  5856. "openfeealgorithm": {
  5857. "description": "建仓手续费收取方式 1:比率 2:固定",
  5858. "type": "integer"
  5859. },
  5860. "openfreezecharge": {
  5861. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  5862. "type": "number"
  5863. },
  5864. "openmemberchargevalue": {
  5865. "description": "建仓会员手续费设置值",
  5866. "type": "number"
  5867. },
  5868. "openqty": {
  5869. "description": "开仓数量(先建后平操作,需要记录)",
  5870. "type": "integer"
  5871. },
  5872. "opentradeqty": {
  5873. "description": "开仓成交数量(先建后平操作,需要记录)",
  5874. "type": "integer"
  5875. },
  5876. "openunfreezecharge": {
  5877. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  5878. "type": "number"
  5879. },
  5880. "operatetype": {
  5881. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  5882. "type": "integer"
  5883. },
  5884. "operatorid": {
  5885. "description": "登录账号(LoginID)",
  5886. "type": "integer"
  5887. },
  5888. "optiontype": {
  5889. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  5890. "type": "integer"
  5891. },
  5892. "orderprice": {
  5893. "description": "委托价格",
  5894. "type": "number"
  5895. },
  5896. "orderqty": {
  5897. "description": "委托数量",
  5898. "type": "integer"
  5899. },
  5900. "ordersrc": {
  5901. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  5902. "type": "integer"
  5903. },
  5904. "orderstatus": {
  5905. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  5906. "type": "integer"
  5907. },
  5908. "ordertime": {
  5909. "description": "委托时间",
  5910. "type": "string"
  5911. },
  5912. "preexerciseprice": {
  5913. "description": "预申报价格",
  5914. "type": "number"
  5915. },
  5916. "premium": {
  5917. "description": "权利金",
  5918. "type": "number"
  5919. },
  5920. "preorderid": {
  5921. "description": "关联预埋单号(止盈止损单时填写)",
  5922. "type": "integer"
  5923. },
  5924. "pricemode": {
  5925. "description": "取价方式 - 1:市价 2: 限价",
  5926. "type": "integer"
  5927. },
  5928. "quoteid": {
  5929. "description": "报价单ID",
  5930. "type": "integer"
  5931. },
  5932. "relatedid": {
  5933. "description": "关联单号(交割单)",
  5934. "type": "integer"
  5935. },
  5936. "retcode": {
  5937. "description": "错误代码",
  5938. "type": "integer"
  5939. },
  5940. "sessionid": {
  5941. "description": "会话ID",
  5942. "type": "integer"
  5943. },
  5944. "strorderid": {
  5945. "description": "委托单号",
  5946. "type": "string"
  5947. },
  5948. "tradedate": {
  5949. "description": "交易日(yyyyMMdd)",
  5950. "type": "string"
  5951. },
  5952. "tradeproperty": {
  5953. "description": "交易属性",
  5954. "type": "integer"
  5955. },
  5956. "tradeqty": {
  5957. "description": "成交数量",
  5958. "type": "integer"
  5959. },
  5960. "unfreezecharge": {
  5961. "description": "解冻手续费",
  5962. "type": "number"
  5963. },
  5964. "unfreezemargin": {
  5965. "description": "解冻保证金",
  5966. "type": "number"
  5967. },
  5968. "updatetime": {
  5969. "description": "更新时间",
  5970. "type": "string"
  5971. },
  5972. "uuid": {
  5973. "description": "发起端唯一id",
  5974. "type": "string"
  5975. },
  5976. "validtime": {
  5977. "description": "有效期限",
  5978. "type": "string"
  5979. },
  5980. "validtype": {
  5981. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  5982. "type": "integer"
  5983. },
  5984. "volumetype": {
  5985. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  5986. "type": "integer"
  5987. }
  5988. }
  5989. },
  5990. "cptrade.QueryMyCPTradeGoodsRsp": {
  5991. "type": "object",
  5992. "required": [
  5993. "goodscode",
  5994. "goodsid",
  5995. "goodsname",
  5996. "marketid",
  5997. "relatedgoodscode",
  5998. "relatedgoodsname"
  5999. ],
  6000. "properties": {
  6001. "accountid": {
  6002. "description": "卖方账户ID",
  6003. "type": "integer"
  6004. },
  6005. "agreeunit": {
  6006. "description": "合约单位",
  6007. "type": "number"
  6008. },
  6009. "applyid": {
  6010. "description": "关联申请ID",
  6011. "type": "integer"
  6012. },
  6013. "attachmenturl": {
  6014. "description": "附件地址",
  6015. "type": "string"
  6016. },
  6017. "createtime": {
  6018. "description": "创建时间",
  6019. "type": "string"
  6020. },
  6021. "currencyid": {
  6022. "description": "报价货币ID",
  6023. "type": "integer"
  6024. },
  6025. "decimalplace": {
  6026. "description": "报价小数位",
  6027. "type": "integer"
  6028. },
  6029. "endtime": {
  6030. "description": "预售结束时间",
  6031. "type": "string"
  6032. },
  6033. "floorprice": {
  6034. "description": "底价[大宗式竞拍]",
  6035. "type": "number"
  6036. },
  6037. "goodscode": {
  6038. "description": "商品代码(预售)",
  6039. "type": "string"
  6040. },
  6041. "goodsdetail": {
  6042. "description": "详情[大宗]",
  6043. "type": "string"
  6044. },
  6045. "goodsid": {
  6046. "description": "商品ID(自增ID SEQ_GOODS)",
  6047. "type": "integer"
  6048. },
  6049. "goodsname": {
  6050. "description": "商品名称(预售)",
  6051. "type": "string"
  6052. },
  6053. "goodunit": {
  6054. "description": "报价单位",
  6055. "type": "string"
  6056. },
  6057. "goodunitid": {
  6058. "description": "报价单位ID",
  6059. "type": "integer"
  6060. },
  6061. "marketid": {
  6062. "description": "所属市场ID",
  6063. "type": "integer"
  6064. },
  6065. "marketname": {
  6066. "description": "预售市场名称",
  6067. "type": "string"
  6068. },
  6069. "presaledamount": {
  6070. "description": "已预售总金额(预售结束时更新)",
  6071. "type": "number"
  6072. },
  6073. "presaledqty": {
  6074. "description": "已预售量(预售结束时更新)",
  6075. "type": "integer"
  6076. },
  6077. "presalemode": {
  6078. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  6079. "type": "integer"
  6080. },
  6081. "presaleqty": {
  6082. "description": "预售数量",
  6083. "type": "integer"
  6084. },
  6085. "refprice": {
  6086. "description": "参考价格[一口价]",
  6087. "type": "number"
  6088. },
  6089. "relatedgoodscode": {
  6090. "description": "商品代码(订单)",
  6091. "type": "string"
  6092. },
  6093. "relatedgoodsid": {
  6094. "description": "关联交易合约ID",
  6095. "type": "integer"
  6096. },
  6097. "relatedgoodsname": {
  6098. "description": "商品名称(订单)",
  6099. "type": "string"
  6100. },
  6101. "relatedmarketid": {
  6102. "description": "关联交易合约市场ID",
  6103. "type": "integer"
  6104. },
  6105. "sellstatus": {
  6106. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  6107. "type": "integer"
  6108. },
  6109. "startprice": {
  6110. "description": "起拍价[大宗式竞拍]",
  6111. "type": "number"
  6112. },
  6113. "starttime": {
  6114. "description": "预售开始时间",
  6115. "type": "string"
  6116. },
  6117. "tradedate": {
  6118. "description": "交易日(yyyyMMdd)",
  6119. "type": "string"
  6120. },
  6121. "tradeprice": {
  6122. "description": "成交价[大宗]",
  6123. "type": "number"
  6124. },
  6125. "userid": {
  6126. "description": "卖方用户ID",
  6127. "type": "integer"
  6128. }
  6129. }
  6130. },
  6131. "cptrade.QueryPresaleGoodsExRsp": {
  6132. "type": "object",
  6133. "required": [
  6134. "goodsid"
  6135. ],
  6136. "properties": {
  6137. "attachmenturl": {
  6138. "description": "附件地址",
  6139. "type": "string"
  6140. },
  6141. "createtime": {
  6142. "description": "创建时间",
  6143. "type": "string"
  6144. },
  6145. "endtime": {
  6146. "description": "预售结束时间",
  6147. "type": "string"
  6148. },
  6149. "floorprice": {
  6150. "description": "底价[大宗式竞拍]",
  6151. "type": "number"
  6152. },
  6153. "goodsdetail": {
  6154. "description": "详情[大宗]",
  6155. "type": "string"
  6156. },
  6157. "goodsid": {
  6158. "description": "商品ID(预售)",
  6159. "type": "integer"
  6160. },
  6161. "goodunit": {
  6162. "description": "报价单位",
  6163. "type": "string"
  6164. },
  6165. "marketid": {
  6166. "description": "预售市场ID - 根据预售模式选择市场",
  6167. "type": "integer"
  6168. },
  6169. "presaledamount": {
  6170. "description": "已预售总金额(预售结束时更新)",
  6171. "type": "number"
  6172. },
  6173. "presaledqty": {
  6174. "description": "已预售量(预售结束时更新)",
  6175. "type": "integer"
  6176. },
  6177. "presalemode": {
  6178. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  6179. "type": "integer"
  6180. },
  6181. "presaleqty": {
  6182. "description": "预售数量",
  6183. "type": "integer"
  6184. },
  6185. "refprice": {
  6186. "description": "参考价格[一口价]",
  6187. "type": "number"
  6188. },
  6189. "relatedgoodsid": {
  6190. "description": "关联交易合约ID",
  6191. "type": "integer"
  6192. },
  6193. "relatedmarketid": {
  6194. "description": "关联交易合约市场ID",
  6195. "type": "integer"
  6196. },
  6197. "sellstatus": {
  6198. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  6199. "type": "integer"
  6200. },
  6201. "startprice": {
  6202. "description": "起拍价[大宗式竞拍]",
  6203. "type": "number"
  6204. },
  6205. "starttime": {
  6206. "description": "预售开始时间",
  6207. "type": "string"
  6208. },
  6209. "tradedate": {
  6210. "description": "交易日(yyyyMMdd)",
  6211. "type": "string"
  6212. },
  6213. "tradeprice": {
  6214. "description": "成交价[大宗]",
  6215. "type": "number"
  6216. }
  6217. }
  6218. },
  6219. "delivery.QueryDeliveryRelationRsp": {
  6220. "type": "object",
  6221. "required": [
  6222. "begindate",
  6223. "enddate",
  6224. "goodsid",
  6225. "mindeliveryqty",
  6226. "xdeliveryratio"
  6227. ],
  6228. "properties": {
  6229. "begindate": {
  6230. "description": "起始日期(yyyyMMdd)",
  6231. "type": "string"
  6232. },
  6233. "buytemplateid": {
  6234. "description": "买履约计划模板ID",
  6235. "type": "integer"
  6236. },
  6237. "deliverygoodscode": {
  6238. "description": "品种代码",
  6239. "type": "string"
  6240. },
  6241. "deliverygoodsid": {
  6242. "description": "交割商品",
  6243. "type": "integer"
  6244. },
  6245. "deliverygoodsname": {
  6246. "description": "品种名称",
  6247. "type": "string"
  6248. },
  6249. "deliverymode": {
  6250. "description": "交割方式 - 1:点选式 2:申报式",
  6251. "type": "integer"
  6252. },
  6253. "deliverypricerule": {
  6254. "description": "交割价规则- 1:行情价 2:建仓价",
  6255. "type": "integer"
  6256. },
  6257. "deliverytype": {
  6258. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  6259. "type": "integer"
  6260. },
  6261. "enddate": {
  6262. "description": "结束日期(yyyyMMdd)",
  6263. "type": "string"
  6264. },
  6265. "goodscode": {
  6266. "description": "商品代码",
  6267. "type": "string"
  6268. },
  6269. "goodsid": {
  6270. "description": "交易合约ID",
  6271. "type": "integer"
  6272. },
  6273. "goodsname": {
  6274. "description": "商品名称",
  6275. "type": "string"
  6276. },
  6277. "marketid": {
  6278. "description": "市场ID",
  6279. "type": "integer"
  6280. },
  6281. "mindeliveryqty": {
  6282. "description": "最小交割系数(K)",
  6283. "type": "integer"
  6284. },
  6285. "p2deliveryprice": {
  6286. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  6287. "type": "number"
  6288. },
  6289. "p2deliveryratio": {
  6290. "description": "P2合约系数(p)",
  6291. "type": "integer"
  6292. },
  6293. "p2goodsid": {
  6294. "description": "P2合约ID",
  6295. "type": "integer"
  6296. },
  6297. "p2pricemode": {
  6298. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  6299. "type": "integer"
  6300. },
  6301. "pdeliveryprice": {
  6302. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  6303. "type": "number"
  6304. },
  6305. "pdeliveryratio": {
  6306. "description": "P合约系数(n)",
  6307. "type": "integer"
  6308. },
  6309. "pgoodsid": {
  6310. "description": "P合约ID",
  6311. "type": "integer"
  6312. },
  6313. "ppricemode": {
  6314. "description": "P合约价格方式 - 1:商品价 2:固定值",
  6315. "type": "integer"
  6316. },
  6317. "rratio": {
  6318. "description": "兑换系数(R)",
  6319. "type": "integer"
  6320. },
  6321. "rratio1": {
  6322. "description": "兑换系数(交易合约)(R1)",
  6323. "type": "integer"
  6324. },
  6325. "rratio2": {
  6326. "description": "兑换系数(仓单标准)(R2)",
  6327. "type": "integer"
  6328. },
  6329. "selltemplateid": {
  6330. "description": "卖履约计划模板ID",
  6331. "type": "integer"
  6332. },
  6333. "wrstandardid": {
  6334. "description": "仓单标准ID",
  6335. "type": "integer"
  6336. },
  6337. "xdeliveryratio": {
  6338. "description": "交易合约系数(m)",
  6339. "type": "integer"
  6340. }
  6341. }
  6342. },
  6343. "ermcp.ExposureDetailRsp": {
  6344. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  6345. },
  6346. "ermcp.ExposureHedgePosDetailRsp": {
  6347. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  6348. },
  6349. "ermcp.ExposureHedgePositionRsp": {
  6350. "$ref": "#/definitions/models.ErmcpHedgePosition"
  6351. },
  6352. "ermcp.ExposureSpotDetailRsp": {
  6353. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  6354. },
  6355. "ermcp.ExposureSpotRsp": {
  6356. "$ref": "#/definitions/models.AreaSpotModel"
  6357. },
  6358. "ermcp.HisExposureRsp": {
  6359. "$ref": "#/definitions/models.ErmcpHisExposure"
  6360. },
  6361. "ermcp.QryAvalidGPRsp": {
  6362. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  6363. },
  6364. "ermcp.QryBusinessDjRsp": {
  6365. "type": "object",
  6366. "properties": {
  6367. "amount": {
  6368. "description": "点价金额=(点价价格+升贴水)*点价数量",
  6369. "type": "number"
  6370. },
  6371. "applyid": {
  6372. "description": "申请人",
  6373. "type": "string"
  6374. },
  6375. "applyname": {
  6376. "description": "申请人名称",
  6377. "type": "string"
  6378. },
  6379. "applystatus": {
  6380. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6381. "type": "integer"
  6382. },
  6383. "applytime": {
  6384. "description": "申请时间",
  6385. "type": "string"
  6386. },
  6387. "auditname": {
  6388. "description": "审核人名称",
  6389. "type": "string"
  6390. },
  6391. "audittime": {
  6392. "description": "审核时间",
  6393. "type": "string"
  6394. },
  6395. "buyusername": {
  6396. "description": "采购方名称",
  6397. "type": "string"
  6398. },
  6399. "contractno": {
  6400. "description": "合同编号",
  6401. "type": "string"
  6402. },
  6403. "contractstatus": {
  6404. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6405. "type": "integer"
  6406. },
  6407. "contracttype": {
  6408. "description": "现货合同类型 - 1:采购 -1:销售",
  6409. "type": "integer"
  6410. },
  6411. "enumdicname": {
  6412. "description": "单位名称",
  6413. "type": "string"
  6414. },
  6415. "goodscode": {
  6416. "description": "点价合约",
  6417. "type": "string"
  6418. },
  6419. "goodsname": {
  6420. "description": "商品名称",
  6421. "type": "string"
  6422. },
  6423. "operateapplyid": {
  6424. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6425. "type": "string"
  6426. },
  6427. "operateapplytype": {
  6428. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6429. "type": "integer"
  6430. },
  6431. "pricedPrice": {
  6432. "description": "点价价格(非必填)",
  6433. "type": "number"
  6434. },
  6435. "pricedQty": {
  6436. "description": "点价数量(非必填)",
  6437. "type": "number"
  6438. },
  6439. "pricemove": {
  6440. "description": "升贴水",
  6441. "type": "number"
  6442. },
  6443. "pricetype": {
  6444. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6445. "type": "integer"
  6446. },
  6447. "relatedid": {
  6448. "description": "现货合同ID",
  6449. "type": "string"
  6450. },
  6451. "sellusername": {
  6452. "description": "销售方名字",
  6453. "type": "string"
  6454. },
  6455. "userid": {
  6456. "description": "用户ID",
  6457. "type": "integer"
  6458. }
  6459. }
  6460. },
  6461. "ermcp.QryBussinessFpRsp": {
  6462. "type": "object",
  6463. "properties": {
  6464. "applyid": {
  6465. "description": "申请人",
  6466. "type": "string"
  6467. },
  6468. "applyname": {
  6469. "description": "申请人名称",
  6470. "type": "string"
  6471. },
  6472. "applystatus": {
  6473. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6474. "type": "integer"
  6475. },
  6476. "applytime": {
  6477. "description": "申请时间",
  6478. "type": "string"
  6479. },
  6480. "auditname": {
  6481. "description": "审核人名称",
  6482. "type": "string"
  6483. },
  6484. "audittime": {
  6485. "description": "审核时间",
  6486. "type": "string"
  6487. },
  6488. "buyusername": {
  6489. "description": "采购方名称",
  6490. "type": "string"
  6491. },
  6492. "contractno": {
  6493. "description": "合同编号",
  6494. "type": "string"
  6495. },
  6496. "contractstatus": {
  6497. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6498. "type": "integer"
  6499. },
  6500. "contracttype": {
  6501. "description": "现货合同类型 - 1:采购 -1:销售",
  6502. "type": "integer"
  6503. },
  6504. "enumdicname": {
  6505. "description": "单位名称",
  6506. "type": "string"
  6507. },
  6508. "goodscode": {
  6509. "description": "点价合约",
  6510. "type": "string"
  6511. },
  6512. "goodsname": {
  6513. "description": "商品名称",
  6514. "type": "string"
  6515. },
  6516. "invoiceAmount": {
  6517. "description": "已开收票金额(销售为开票,采购为收票)",
  6518. "type": "number"
  6519. },
  6520. "operateapplyid": {
  6521. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6522. "type": "string"
  6523. },
  6524. "operateapplytype": {
  6525. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6526. "type": "integer"
  6527. },
  6528. "pricemove": {
  6529. "description": "升贴水",
  6530. "type": "number"
  6531. },
  6532. "pricetype": {
  6533. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6534. "type": "integer"
  6535. },
  6536. "relatedid": {
  6537. "description": "现货合同ID",
  6538. "type": "string"
  6539. },
  6540. "sellusername": {
  6541. "description": "销售方名字",
  6542. "type": "string"
  6543. },
  6544. "userid": {
  6545. "description": "用户ID",
  6546. "type": "integer"
  6547. }
  6548. }
  6549. },
  6550. "ermcp.QryBussinessJsRsp": {
  6551. "type": "object",
  6552. "properties": {
  6553. "addmargin": {
  6554. "description": "追加保证金(非必填)",
  6555. "type": "number"
  6556. },
  6557. "applyid": {
  6558. "description": "申请人",
  6559. "type": "string"
  6560. },
  6561. "applyname": {
  6562. "description": "申请人名称",
  6563. "type": "string"
  6564. },
  6565. "applystatus": {
  6566. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6567. "type": "integer"
  6568. },
  6569. "applytime": {
  6570. "description": "申请时间",
  6571. "type": "string"
  6572. },
  6573. "auditname": {
  6574. "description": "审核人名称",
  6575. "type": "string"
  6576. },
  6577. "audittime": {
  6578. "description": "审核时间",
  6579. "type": "string"
  6580. },
  6581. "buyusername": {
  6582. "description": "采购方名称",
  6583. "type": "string"
  6584. },
  6585. "contractno": {
  6586. "description": "合同编号",
  6587. "type": "string"
  6588. },
  6589. "contractstatus": {
  6590. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6591. "type": "integer"
  6592. },
  6593. "contracttype": {
  6594. "description": "现货合同类型 - 1:采购 -1:销售",
  6595. "type": "integer"
  6596. },
  6597. "decmargin": {
  6598. "description": "减少保证金(非必填)",
  6599. "type": "number"
  6600. },
  6601. "enumdicname": {
  6602. "description": "单位名称",
  6603. "type": "string"
  6604. },
  6605. "goodscode": {
  6606. "description": "点价合约",
  6607. "type": "string"
  6608. },
  6609. "goodsname": {
  6610. "description": "商品名称",
  6611. "type": "string"
  6612. },
  6613. "operateapplyid": {
  6614. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6615. "type": "string"
  6616. },
  6617. "operateapplytype": {
  6618. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6619. "type": "integer"
  6620. },
  6621. "pricemove": {
  6622. "description": "升贴水",
  6623. "type": "number"
  6624. },
  6625. "pricetype": {
  6626. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6627. "type": "integer"
  6628. },
  6629. "reckonadjustamount": {
  6630. "description": "结算调整金额(非必填)",
  6631. "type": "number"
  6632. },
  6633. "reckonosamount": {
  6634. "description": "结算溢短金额(非必填)",
  6635. "type": "number"
  6636. },
  6637. "reckonotheramount": {
  6638. "description": "结算其他费用(非必填)",
  6639. "type": "number"
  6640. },
  6641. "reckonrealqty": {
  6642. "description": "结算实际数量(非必填)",
  6643. "type": "number"
  6644. },
  6645. "relatedid": {
  6646. "description": "现货合同ID",
  6647. "type": "string"
  6648. },
  6649. "sellusername": {
  6650. "description": "销售方名字",
  6651. "type": "string"
  6652. },
  6653. "userid": {
  6654. "description": "用户ID",
  6655. "type": "integer"
  6656. }
  6657. }
  6658. },
  6659. "ermcp.QryBussinessKxRsp": {
  6660. "type": "object",
  6661. "properties": {
  6662. "applyid": {
  6663. "description": "申请人",
  6664. "type": "string"
  6665. },
  6666. "applyname": {
  6667. "description": "申请人名称",
  6668. "type": "string"
  6669. },
  6670. "applystatus": {
  6671. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6672. "type": "integer"
  6673. },
  6674. "applytime": {
  6675. "description": "申请时间",
  6676. "type": "string"
  6677. },
  6678. "auditname": {
  6679. "description": "审核人名称",
  6680. "type": "string"
  6681. },
  6682. "audittime": {
  6683. "description": "审核时间",
  6684. "type": "string"
  6685. },
  6686. "buyusername": {
  6687. "description": "采购方名称",
  6688. "type": "string"
  6689. },
  6690. "contractno": {
  6691. "description": "合同编号",
  6692. "type": "string"
  6693. },
  6694. "contractstatus": {
  6695. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6696. "type": "integer"
  6697. },
  6698. "contracttype": {
  6699. "description": "现货合同类型 - 1:采购 -1:销售",
  6700. "type": "integer"
  6701. },
  6702. "deductamount": {
  6703. "description": "退款(非必填)",
  6704. "type": "number"
  6705. },
  6706. "enumdicname": {
  6707. "description": "单位名称",
  6708. "type": "string"
  6709. },
  6710. "goodscode": {
  6711. "description": "点价合约",
  6712. "type": "string"
  6713. },
  6714. "goodsname": {
  6715. "description": "商品名称",
  6716. "type": "string"
  6717. },
  6718. "kxtype": {
  6719. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  6720. "type": "integer"
  6721. },
  6722. "operateapplyid": {
  6723. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6724. "type": "string"
  6725. },
  6726. "operateapplytype": {
  6727. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6728. "type": "integer"
  6729. },
  6730. "payamount": {
  6731. "description": "收付款(非必填)",
  6732. "type": "number"
  6733. },
  6734. "pricemove": {
  6735. "description": "升贴水",
  6736. "type": "number"
  6737. },
  6738. "pricetype": {
  6739. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6740. "type": "integer"
  6741. },
  6742. "relatedid": {
  6743. "description": "现货合同ID",
  6744. "type": "string"
  6745. },
  6746. "sellusername": {
  6747. "description": "销售方名字",
  6748. "type": "string"
  6749. },
  6750. "userid": {
  6751. "description": "用户ID",
  6752. "type": "integer"
  6753. }
  6754. }
  6755. },
  6756. "ermcp.QryErmcpRsp": {
  6757. "$ref": "#/definitions/models.ErmcpModel"
  6758. },
  6759. "ermcp.QryGGCovertCfgRsp": {
  6760. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  6761. },
  6762. "ermcp.QryHedgePlanRsp": {
  6763. "$ref": "#/definitions/models.ErmcpHedgePlan"
  6764. },
  6765. "ermcp.QryMGChangeLogRsp": {
  6766. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  6767. },
  6768. "ermcp.QryMiddleGoodsDetailRsp": {
  6769. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  6770. },
  6771. "ermcp.QryMiddleGoodsRsp": {
  6772. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  6773. },
  6774. "ermcp.QryOPLogRsp": {
  6775. "$ref": "#/definitions/models.ErmcpOPLogModel"
  6776. },
  6777. "ermcp.QrySpotContractRsp": {
  6778. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  6779. },
  6780. "ermcp.QryUserInfoRsp": {
  6781. "$ref": "#/definitions/models.ErmcpUserModel"
  6782. },
  6783. "ermcp.QryWrStandardDetailRsp": {
  6784. "$ref": "#/definitions/models.ErmcpWrstandDetail"
  6785. },
  6786. "ermcp.QryWrStandardRsp": {
  6787. "$ref": "#/definitions/models.ErmcpWrstandard"
  6788. },
  6789. "ermcp.RealtimeExposurePositionRsp": {
  6790. "$ref": "#/definitions/models.ErmcpExposurePostion"
  6791. },
  6792. "ermcp.RealtimeExposureRsp": {
  6793. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  6794. },
  6795. "erms2.QueryArbitrageStrategyRsp": {
  6796. "type": "object",
  6797. "required": [
  6798. "asapplyid"
  6799. ],
  6800. "properties": {
  6801. "applybasis": {
  6802. "description": "申请基差",
  6803. "type": "number"
  6804. },
  6805. "asapplyid": {
  6806. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  6807. "type": "string"
  6808. },
  6809. "asname": {
  6810. "description": "策略名称",
  6811. "type": "string"
  6812. },
  6813. "asno": {
  6814. "description": "策略编号",
  6815. "type": "string"
  6816. },
  6817. "basischangepl": {
  6818. "description": "基差变动损益[结算更新]",
  6819. "type": "number"
  6820. },
  6821. "biztype": {
  6822. "description": "业务类型 - 1:正向套利 -1:反向套利",
  6823. "type": "integer"
  6824. },
  6825. "closetradedate": {
  6826. "description": "完结交易日(yyyyMMdd)",
  6827. "type": "string"
  6828. },
  6829. "curbasis": {
  6830. "description": "当前基差[结算更新]",
  6831. "type": "number"
  6832. },
  6833. "deliverygoodsid": {
  6834. "description": "现货品种ID",
  6835. "type": "integer"
  6836. },
  6837. "futureavgprice": {
  6838. "description": "期货建仓均价",
  6839. "type": "number"
  6840. },
  6841. "futurecloseamount": {
  6842. "description": "期货平仓金额",
  6843. "type": "number"
  6844. },
  6845. "futurecloseqty": {
  6846. "description": "期货平仓数量",
  6847. "type": "number"
  6848. },
  6849. "futureopenamount": {
  6850. "description": "期货开仓金额",
  6851. "type": "number"
  6852. },
  6853. "futureopenqty": {
  6854. "description": "期货开仓数量",
  6855. "type": "number"
  6856. },
  6857. "futurepl": {
  6858. "description": "期货总盈亏[结算更新]",
  6859. "type": "number"
  6860. },
  6861. "futureqty": {
  6862. "description": "期货持仓数量",
  6863. "type": "number"
  6864. },
  6865. "futurequote": {
  6866. "description": "期货额度",
  6867. "type": "number"
  6868. },
  6869. "goodsgroupid": {
  6870. "description": "期货品种ID",
  6871. "type": "integer"
  6872. },
  6873. "marketid": {
  6874. "description": "市场ID",
  6875. "type": "integer"
  6876. },
  6877. "netexposure": {
  6878. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  6879. "type": "number"
  6880. },
  6881. "netexposurepl": {
  6882. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  6883. "type": "number"
  6884. },
  6885. "netexposurerate": {
  6886. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  6887. "type": "number"
  6888. },
  6889. "openbasis": {
  6890. "description": "建仓基差",
  6891. "type": "number"
  6892. },
  6893. "pricedspotqty": {
  6894. "description": "已定价现货数量",
  6895. "type": "number"
  6896. },
  6897. "pricedspotqtynotax": {
  6898. "description": "已定价现货不含税数量",
  6899. "type": "number"
  6900. },
  6901. "remark": {
  6902. "description": "备注",
  6903. "type": "string"
  6904. },
  6905. "spotavgprice": {
  6906. "description": "现货均价",
  6907. "type": "number"
  6908. },
  6909. "spotbuyamount": {
  6910. "description": "现货采购金额",
  6911. "type": "number"
  6912. },
  6913. "spotbuyqty": {
  6914. "description": "现货采购数量",
  6915. "type": "number"
  6916. },
  6917. "spotpl": {
  6918. "description": "现货总盈亏[结算更新]",
  6919. "type": "number"
  6920. },
  6921. "spotquota": {
  6922. "description": "现货额度",
  6923. "type": "number"
  6924. },
  6925. "spotsellamount": {
  6926. "description": "现货销售金额",
  6927. "type": "number"
  6928. },
  6929. "spotsellqty": {
  6930. "description": "现货销售数量",
  6931. "type": "number"
  6932. },
  6933. "spotusedquota": {
  6934. "description": "现货占用资金",
  6935. "type": "number"
  6936. },
  6937. "strategystatus": {
  6938. "description": "策略状态 - 0:未结束 1:已结束",
  6939. "type": "integer"
  6940. },
  6941. "totalpl": {
  6942. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  6943. "type": "number"
  6944. },
  6945. "tradedate": {
  6946. "description": "交易日(yyyyMMdd)",
  6947. "type": "string"
  6948. },
  6949. "updatetime": {
  6950. "description": "更新时间",
  6951. "type": "string"
  6952. },
  6953. "usedquota": {
  6954. "description": "已占用资金",
  6955. "type": "number"
  6956. },
  6957. "userid": {
  6958. "description": "所属机构",
  6959. "type": "integer"
  6960. }
  6961. }
  6962. },
  6963. "erms2.QueryInnerTradeDetailRsp": {
  6964. "type": "object",
  6965. "required": [
  6966. "asapplyid",
  6967. "buyorsell",
  6968. "goodscode",
  6969. "goodsgroupid",
  6970. "goodsgroupname",
  6971. "goodsname",
  6972. "tradeid"
  6973. ],
  6974. "properties": {
  6975. "accountid": {
  6976. "description": "账号ID",
  6977. "type": "integer"
  6978. },
  6979. "agreeunit": {
  6980. "description": "合约单位",
  6981. "type": "number"
  6982. },
  6983. "asapplyid": {
  6984. "description": "策略申请ID",
  6985. "type": "integer"
  6986. },
  6987. "asname": {
  6988. "description": "策略名称",
  6989. "type": "string"
  6990. },
  6991. "asno": {
  6992. "description": "策略编号",
  6993. "type": "string"
  6994. },
  6995. "buyorsell": {
  6996. "description": "方向 - 0:买 1:卖",
  6997. "type": "integer"
  6998. },
  6999. "channelbuildtype": {
  7000. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  7001. "type": "integer"
  7002. },
  7003. "closetype": {
  7004. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  7005. "type": "integer"
  7006. },
  7007. "decimalplace": {
  7008. "description": "报价小数位",
  7009. "type": "integer"
  7010. },
  7011. "detailtype": {
  7012. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  7013. "type": "integer"
  7014. },
  7015. "exexchangecode": {
  7016. "description": "外部交易所代码",
  7017. "type": "string"
  7018. },
  7019. "exexchangename": {
  7020. "description": "外部交易所名称",
  7021. "type": "string"
  7022. },
  7023. "goodscode": {
  7024. "description": "商品代码(合约)",
  7025. "type": "string"
  7026. },
  7027. "goodsgroupid": {
  7028. "description": "商品组ID(品种ID)",
  7029. "type": "integer"
  7030. },
  7031. "goodsgroupname": {
  7032. "description": "商品组名称(品种)",
  7033. "type": "string"
  7034. },
  7035. "goodsid": {
  7036. "description": "商品ID",
  7037. "type": "integer"
  7038. },
  7039. "goodsname": {
  7040. "description": "商品名称(合约)",
  7041. "type": "string"
  7042. },
  7043. "goodunit": {
  7044. "description": "报价单位",
  7045. "type": "string"
  7046. },
  7047. "marketid": {
  7048. "description": "市场ID",
  7049. "type": "integer"
  7050. },
  7051. "orderid": {
  7052. "description": "委托单号",
  7053. "type": "string"
  7054. },
  7055. "outgoodscode": {
  7056. "description": "商品代码(外部)",
  7057. "type": "string"
  7058. },
  7059. "relatedouttradeid": {
  7060. "description": "关联外部成交单ID",
  7061. "type": "string"
  7062. },
  7063. "remark": {
  7064. "description": "备注",
  7065. "type": "string"
  7066. },
  7067. "spotcontractid": {
  7068. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  7069. "type": "integer"
  7070. },
  7071. "spotcontractno": {
  7072. "description": "现货合同编号",
  7073. "type": "string"
  7074. },
  7075. "tradeid": {
  7076. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7077. "type": "string"
  7078. },
  7079. "tradeprice": {
  7080. "description": "成交价格",
  7081. "type": "number"
  7082. },
  7083. "tradeqty": {
  7084. "description": "成交数量",
  7085. "type": "integer"
  7086. },
  7087. "tradetime": {
  7088. "description": "成交时间",
  7089. "type": "string"
  7090. },
  7091. "updatetime": {
  7092. "description": "更新时间",
  7093. "type": "string"
  7094. }
  7095. }
  7096. },
  7097. "erms2.QuerySpotContractRsp": {
  7098. "type": "object",
  7099. "required": [
  7100. "spotcontractid"
  7101. ],
  7102. "properties": {
  7103. "accountid": {
  7104. "description": "资金账户ID",
  7105. "type": "integer"
  7106. },
  7107. "areauserid": {
  7108. "description": "所属机构",
  7109. "type": "integer"
  7110. },
  7111. "closedate": {
  7112. "description": "终止日期",
  7113. "type": "string"
  7114. },
  7115. "closeremark": {
  7116. "description": "结束备注",
  7117. "type": "string"
  7118. },
  7119. "closetradedate": {
  7120. "description": "完结交易日(yyyyMMdd)",
  7121. "type": "string"
  7122. },
  7123. "closetype": {
  7124. "description": "终止类型 - 1:违约 2:提前终止",
  7125. "type": "integer"
  7126. },
  7127. "contractamount": {
  7128. "description": "合同金额",
  7129. "type": "number"
  7130. },
  7131. "contractattachment": {
  7132. "description": "合同附件",
  7133. "type": "string"
  7134. },
  7135. "contractno": {
  7136. "description": "现货合同编号",
  7137. "type": "string"
  7138. },
  7139. "contractqty": {
  7140. "description": "合同数量(数值) (用于计算)",
  7141. "type": "number"
  7142. },
  7143. "contractqtychar": {
  7144. "description": "合同数量\\已订价数量 (用于显示)",
  7145. "type": "string"
  7146. },
  7147. "contractstatus": {
  7148. "description": "合同状态 - 0:未结束 1:已结束",
  7149. "type": "integer"
  7150. },
  7151. "contracttype": {
  7152. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  7153. "type": "integer"
  7154. },
  7155. "customeraccountid": {
  7156. "description": "客户资金账户ID",
  7157. "type": "integer"
  7158. },
  7159. "customeruserid": {
  7160. "description": "客户ID",
  7161. "type": "integer"
  7162. },
  7163. "deliverygoodsdesc": {
  7164. "description": "品种说明",
  7165. "type": "string"
  7166. },
  7167. "deliverygoodsid": {
  7168. "description": "现货品种ID",
  7169. "type": "integer"
  7170. },
  7171. "handlestatus": {
  7172. "description": "处理状态",
  7173. "type": "integer"
  7174. },
  7175. "invoiceatt": {
  7176. "description": "发票附件",
  7177. "type": "string"
  7178. },
  7179. "invoicedatetime": {
  7180. "description": "开收票更新时间",
  7181. "type": "string"
  7182. },
  7183. "invoiceopentime": {
  7184. "description": "开票时间",
  7185. "type": "string"
  7186. },
  7187. "invoiceremark": {
  7188. "description": "发票备注",
  7189. "type": "string"
  7190. },
  7191. "invoicestatus": {
  7192. "description": "开收票状态 - 0:未开票 1:已开票",
  7193. "type": "integer"
  7194. },
  7195. "lastdate": {
  7196. "description": "交货时间",
  7197. "type": "string"
  7198. },
  7199. "marketid": {
  7200. "description": "市场ID",
  7201. "type": "integer"
  7202. },
  7203. "paydatetime": {
  7204. "description": "收付款更新时间",
  7205. "type": "string"
  7206. },
  7207. "payremark": {
  7208. "description": "收付款备注",
  7209. "type": "string"
  7210. },
  7211. "paystatus": {
  7212. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  7213. "type": "integer"
  7214. },
  7215. "positionqty": {
  7216. "description": "头寸数量 - 合同数量去小数部分",
  7217. "type": "integer"
  7218. },
  7219. "producttype": {
  7220. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7221. "type": "integer"
  7222. },
  7223. "relatedqty": {
  7224. "description": "已关联数量",
  7225. "type": "number"
  7226. },
  7227. "relatedstatus": {
  7228. "description": "关联完结状态 - 0:未结束 1:已结束",
  7229. "type": "integer"
  7230. },
  7231. "remark": {
  7232. "description": "备注",
  7233. "type": "string"
  7234. },
  7235. "signdate": {
  7236. "description": "签订日期",
  7237. "type": "string"
  7238. },
  7239. "spotcontractid": {
  7240. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  7241. "type": "string"
  7242. },
  7243. "spotdatetime": {
  7244. "description": "收发货更新时间",
  7245. "type": "string"
  7246. },
  7247. "spotprice": {
  7248. "description": "价格",
  7249. "type": "number"
  7250. },
  7251. "spotremark": {
  7252. "description": "收发货备注",
  7253. "type": "string"
  7254. },
  7255. "spotstatus": {
  7256. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  7257. "type": "integer"
  7258. },
  7259. "tradedate": {
  7260. "description": "交易日(yyyyMMdd)",
  7261. "type": "string"
  7262. },
  7263. "userid": {
  7264. "description": "业务员用户ID",
  7265. "type": "integer"
  7266. },
  7267. "warehouseid": {
  7268. "description": "仓库ID",
  7269. "type": "integer"
  7270. },
  7271. "wrfactortypeid": {
  7272. "description": "仓单要素类型ID",
  7273. "type": "integer"
  7274. },
  7275. "wrstandardid": {
  7276. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  7277. "type": "integer"
  7278. }
  7279. }
  7280. },
  7281. "erms3.AddErms2ASApplyReq": {
  7282. "type": "object",
  7283. "required": [
  7284. "asapplyid"
  7285. ],
  7286. "properties": {
  7287. "applybasis": {
  7288. "description": "申请基差",
  7289. "type": "number"
  7290. },
  7291. "applystatus": {
  7292. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7293. "type": "integer"
  7294. },
  7295. "asapplyid": {
  7296. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  7297. "type": "integer"
  7298. },
  7299. "asname": {
  7300. "description": "策略名称",
  7301. "type": "string"
  7302. },
  7303. "asno": {
  7304. "description": "策略编号",
  7305. "type": "string"
  7306. },
  7307. "auditid": {
  7308. "description": "审核人",
  7309. "type": "integer"
  7310. },
  7311. "auditremark": {
  7312. "description": "审核备注",
  7313. "type": "string"
  7314. },
  7315. "audittime": {
  7316. "description": "审核时间",
  7317. "type": "string"
  7318. },
  7319. "biztype": {
  7320. "description": "业务类型 - 1:正向套利 2:反向套利",
  7321. "type": "integer"
  7322. },
  7323. "createtime": {
  7324. "description": "创建时间",
  7325. "type": "string"
  7326. },
  7327. "creatorid": {
  7328. "description": "创建人",
  7329. "type": "integer"
  7330. },
  7331. "deliverygoodsid": {
  7332. "description": "现货品种ID",
  7333. "type": "integer"
  7334. },
  7335. "futurequote": {
  7336. "description": "期货额度",
  7337. "type": "number"
  7338. },
  7339. "goodsgroupid": {
  7340. "description": "期货品种ID",
  7341. "type": "integer"
  7342. },
  7343. "marketid": {
  7344. "description": "市场ID",
  7345. "type": "integer"
  7346. },
  7347. "remark": {
  7348. "description": "备注",
  7349. "type": "string"
  7350. },
  7351. "spotquota": {
  7352. "description": "现货额度",
  7353. "type": "number"
  7354. },
  7355. "tradedate": {
  7356. "description": "交易日(yyyyMMdd)",
  7357. "type": "string"
  7358. },
  7359. "userid": {
  7360. "description": "所属机构",
  7361. "type": "integer"
  7362. }
  7363. }
  7364. },
  7365. "erms3.AddErms2SpotTradeApplyReq": {
  7366. "type": "object",
  7367. "required": [
  7368. "spottradeid"
  7369. ],
  7370. "properties": {
  7371. "applyjsondetail": {
  7372. "description": "申请明细(JSON)",
  7373. "type": "string"
  7374. },
  7375. "applystatus": {
  7376. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7377. "type": "integer"
  7378. },
  7379. "areauserid": {
  7380. "description": "所属机构",
  7381. "type": "integer"
  7382. },
  7383. "auditid": {
  7384. "description": "审核人",
  7385. "type": "integer"
  7386. },
  7387. "auditremark": {
  7388. "description": "审核备注",
  7389. "type": "string"
  7390. },
  7391. "audittime": {
  7392. "description": "审核时间",
  7393. "type": "string"
  7394. },
  7395. "createtime": {
  7396. "description": "创建时间",
  7397. "type": "string"
  7398. },
  7399. "creatorid": {
  7400. "description": "创建人",
  7401. "type": "integer"
  7402. },
  7403. "deliverygoodsid": {
  7404. "description": "现货品种ID",
  7405. "type": "integer"
  7406. },
  7407. "futureaccountid": {
  7408. "description": "期货资金账户",
  7409. "type": "integer"
  7410. },
  7411. "goodsgroupid": {
  7412. "description": "期货品种",
  7413. "type": "integer"
  7414. },
  7415. "marketid": {
  7416. "description": "市场ID",
  7417. "type": "integer"
  7418. },
  7419. "remark": {
  7420. "description": "备注",
  7421. "type": "string"
  7422. },
  7423. "spotaccountid": {
  7424. "description": "现货资金账户",
  7425. "type": "integer"
  7426. },
  7427. "spottradeid": {
  7428. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  7429. "type": "integer"
  7430. },
  7431. "spottradename": {
  7432. "description": "业务名称",
  7433. "type": "string"
  7434. },
  7435. "spottradeno": {
  7436. "description": "业务编号",
  7437. "type": "string"
  7438. },
  7439. "tradedate": {
  7440. "description": "交易日(yyyyMMdd)",
  7441. "type": "string"
  7442. },
  7443. "wrstandardid": {
  7444. "description": "仓单标准ID",
  7445. "type": "integer"
  7446. }
  7447. }
  7448. },
  7449. "erms3.AddSpotContractApplyReq": {
  7450. "type": "object",
  7451. "required": [
  7452. "accountid",
  7453. "areauserid",
  7454. "contractno",
  7455. "contracttype",
  7456. "customeraccountid",
  7457. "customeruserid",
  7458. "details",
  7459. "orimargin",
  7460. "signdate"
  7461. ],
  7462. "properties": {
  7463. "accountid": {
  7464. "description": "资金账户ID",
  7465. "type": "integer"
  7466. },
  7467. "areauserid": {
  7468. "description": "所属机构",
  7469. "type": "integer"
  7470. },
  7471. "contractattachment": {
  7472. "description": "合同附件",
  7473. "type": "string"
  7474. },
  7475. "contractno": {
  7476. "description": "现货合同编号",
  7477. "type": "string"
  7478. },
  7479. "contracttype": {
  7480. "description": "现货合同类型 - 1:采购 -1:销售",
  7481. "type": "integer"
  7482. },
  7483. "creatorid": {
  7484. "description": "申请人",
  7485. "type": "integer"
  7486. },
  7487. "customeraccountid": {
  7488. "description": "客户资金账户ID",
  7489. "type": "integer"
  7490. },
  7491. "customeruserid": {
  7492. "description": "客户ID",
  7493. "type": "integer"
  7494. },
  7495. "details": {
  7496. "description": "明细",
  7497. "type": "array",
  7498. "items": {
  7499. "$ref": "#/definitions/erms3.SoptContractDetail"
  7500. }
  7501. },
  7502. "orimargin": {
  7503. "description": "初始保证金",
  7504. "type": "number"
  7505. },
  7506. "remark": {
  7507. "description": "备注",
  7508. "type": "string"
  7509. },
  7510. "signdate": {
  7511. "description": "签订日期",
  7512. "type": "string"
  7513. }
  7514. }
  7515. },
  7516. "erms3.AddSpotContractApplyRsp": {
  7517. "type": "object",
  7518. "required": [
  7519. "contractno"
  7520. ],
  7521. "properties": {
  7522. "contractno": {
  7523. "description": "现货合同编号",
  7524. "type": "string"
  7525. },
  7526. "spotcontractid": {
  7527. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  7528. "type": "integer"
  7529. }
  7530. }
  7531. },
  7532. "erms3.AddUserInfoApplyReq": {
  7533. "type": "object",
  7534. "required": [
  7535. "userid"
  7536. ],
  7537. "properties": {
  7538. "accountid": {
  7539. "description": "交易系统帐号Id (加密存储)",
  7540. "type": "integer"
  7541. },
  7542. "areacode": {
  7543. "description": "机构代码",
  7544. "type": "string"
  7545. },
  7546. "areaid": {
  7547. "description": "机构Id",
  7548. "type": "integer"
  7549. },
  7550. "attachment1": {
  7551. "description": "附件1",
  7552. "type": "string"
  7553. },
  7554. "attachment2": {
  7555. "description": "附件2",
  7556. "type": "string"
  7557. },
  7558. "attachment3": {
  7559. "description": "附件3",
  7560. "type": "string"
  7561. },
  7562. "attachment4": {
  7563. "description": "附件4",
  7564. "type": "string"
  7565. },
  7566. "attachment5": {
  7567. "description": "附件5",
  7568. "type": "string"
  7569. },
  7570. "auditedby": {
  7571. "description": "审核人",
  7572. "type": "string"
  7573. },
  7574. "auditime": {
  7575. "description": "审核时间",
  7576. "type": "string"
  7577. },
  7578. "bankaccount": {
  7579. "description": "银行帐号 (加密存储)",
  7580. "type": "string"
  7581. },
  7582. "bankaccountname": {
  7583. "description": "收款人名称",
  7584. "type": "string"
  7585. },
  7586. "bankcardbackphotourl": {
  7587. "description": "银行卡背面照地址",
  7588. "type": "string"
  7589. },
  7590. "bankcardfrontphotourl": {
  7591. "description": "银行卡正面照地址",
  7592. "type": "string"
  7593. },
  7594. "bankid": {
  7595. "description": "银行编码",
  7596. "type": "string"
  7597. },
  7598. "bankname": {
  7599. "description": "银行名称",
  7600. "type": "string"
  7601. },
  7602. "bankpictureurl": {
  7603. "description": "银行卡正面地址",
  7604. "type": "string"
  7605. },
  7606. "biznature": {
  7607. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7608. "type": "integer"
  7609. },
  7610. "bizscope": {
  7611. "description": "企业经营范围(企业)",
  7612. "type": "string"
  7613. },
  7614. "biztype": {
  7615. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  7616. "type": "integer"
  7617. },
  7618. "brokerid": {
  7619. "description": "经纪人ID(加密存储)",
  7620. "type": "string"
  7621. },
  7622. "cardaddress": {
  7623. "description": "证件地址 (加密存储)",
  7624. "type": "string"
  7625. },
  7626. "cardbackphotourl": {
  7627. "description": "背面证件照地址",
  7628. "type": "string"
  7629. },
  7630. "cardfrontphotourl": {
  7631. "description": "正面证件照地址",
  7632. "type": "string"
  7633. },
  7634. "cardnum": {
  7635. "description": "证件号码 (加密存储)",
  7636. "type": "string"
  7637. },
  7638. "cardtype": {
  7639. "description": "证件类型",
  7640. "type": "integer"
  7641. },
  7642. "cityid": {
  7643. "description": "市",
  7644. "type": "integer"
  7645. },
  7646. "company": {
  7647. "description": "公司(个人)",
  7648. "type": "string"
  7649. },
  7650. "contactcardbackphotourl": {
  7651. "description": "联系人证件背面图片地址",
  7652. "type": "string"
  7653. },
  7654. "contactcardfrontphotourl": {
  7655. "description": "联系人证件正面图片地址",
  7656. "type": "string"
  7657. },
  7658. "contactname": {
  7659. "description": "联系人",
  7660. "type": "string"
  7661. },
  7662. "countryid": {
  7663. "description": "国家",
  7664. "type": "integer"
  7665. },
  7666. "createtime": {
  7667. "description": "开户申请时间",
  7668. "type": "string"
  7669. },
  7670. "cusbankid": {
  7671. "description": "签约类型",
  7672. "type": "string"
  7673. },
  7674. "cusbankname": {
  7675. "description": "签约类型名称",
  7676. "type": "string"
  7677. },
  7678. "customername": {
  7679. "description": "客户名称(企业名称)",
  7680. "type": "string"
  7681. },
  7682. "districtid": {
  7683. "description": "地区",
  7684. "type": "integer"
  7685. },
  7686. "email": {
  7687. "description": "Email地址(加密存储)",
  7688. "type": "string"
  7689. },
  7690. "halfbodyphotourl": {
  7691. "description": "半身照地址",
  7692. "type": "string"
  7693. },
  7694. "headurl": {
  7695. "description": "头像地址",
  7696. "type": "string"
  7697. },
  7698. "ipaddress": {
  7699. "description": "IP地址",
  7700. "type": "string"
  7701. },
  7702. "isvalidate": {
  7703. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  7704. "type": "string"
  7705. },
  7706. "legalcardbackphotourl": {
  7707. "description": "法人身份证背面照地址",
  7708. "type": "string"
  7709. },
  7710. "legalcardfrontphotourl": {
  7711. "description": "法人身份证正面照地址",
  7712. "type": "string"
  7713. },
  7714. "legalpersonname": {
  7715. "description": "法人姓名(企业)",
  7716. "type": "string"
  7717. },
  7718. "logincode": {
  7719. "description": "登录帐号 (加密存储)",
  7720. "type": "string"
  7721. },
  7722. "memberareaid": {
  7723. "description": "所属会员ID",
  7724. "type": "integer"
  7725. },
  7726. "mobile2": {
  7727. "description": "手机号码[明文-尚志]",
  7728. "type": "string"
  7729. },
  7730. "mobilephone": {
  7731. "description": "手机号码 (加密存储)",
  7732. "type": "string"
  7733. },
  7734. "modifiedby": {
  7735. "description": "修改人帐号",
  7736. "type": "integer"
  7737. },
  7738. "modifiedtime": {
  7739. "description": "修改时间",
  7740. "type": "string"
  7741. },
  7742. "nickname": {
  7743. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  7744. "type": "string"
  7745. },
  7746. "openmode": {
  7747. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  7748. "type": "integer"
  7749. },
  7750. "otherurl": {
  7751. "description": "其它图片地址[使用分号分隔]",
  7752. "type": "string"
  7753. },
  7754. "postalcode": {
  7755. "description": "邮政编码",
  7756. "type": "string"
  7757. },
  7758. "provinceid": {
  7759. "description": "省",
  7760. "type": "integer"
  7761. },
  7762. "proxystatementurl": {
  7763. "description": "授权委托书",
  7764. "type": "string"
  7765. },
  7766. "qq": {
  7767. "description": "QQ(加密存储",
  7768. "type": "string"
  7769. },
  7770. "referral": {
  7771. "description": "推荐人编码",
  7772. "type": "string"
  7773. },
  7774. "remark": {
  7775. "description": "备注",
  7776. "type": "string"
  7777. },
  7778. "removebeforestatus": {
  7779. "description": "REMOVEBEFORESTATUS",
  7780. "type": "integer"
  7781. },
  7782. "sex": {
  7783. "description": "性别 - 0:女 1:男",
  7784. "type": "integer"
  7785. },
  7786. "signedstatus": {
  7787. "description": "账户一号签签约状态",
  7788. "type": "integer"
  7789. },
  7790. "signpdfurl": {
  7791. "description": "签约pdf文件",
  7792. "type": "string"
  7793. },
  7794. "subbranch": {
  7795. "description": "开户支行",
  7796. "type": "string"
  7797. },
  7798. "telphone": {
  7799. "description": "联系电话(加密存储)",
  7800. "type": "string"
  7801. },
  7802. "userid": {
  7803. "description": "用户ID(自增ID)",
  7804. "type": "integer"
  7805. },
  7806. "userinfotype": {
  7807. "description": "用户信息类型 - 1:个人 2:企业",
  7808. "type": "integer"
  7809. },
  7810. "username": {
  7811. "description": "用户姓名",
  7812. "type": "string"
  7813. },
  7814. "userstate": {
  7815. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  7816. "type": "integer"
  7817. },
  7818. "usertype": {
  7819. "description": "用户类型 - 1:投资者 2:机构",
  7820. "type": "integer"
  7821. },
  7822. "videourl": {
  7823. "description": "视频地址",
  7824. "type": "string"
  7825. },
  7826. "wechat": {
  7827. "description": "微信号 (加密存储)",
  7828. "type": "string"
  7829. }
  7830. }
  7831. },
  7832. "erms3.CustomerInfo": {
  7833. "type": "object",
  7834. "required": [
  7835. "userid"
  7836. ],
  7837. "properties": {
  7838. "accountids": {
  7839. "description": "资金账户ID列表",
  7840. "type": "array",
  7841. "items": {
  7842. "type": "integer"
  7843. }
  7844. },
  7845. "customername": {
  7846. "description": "名称(企业名称)",
  7847. "type": "string"
  7848. },
  7849. "mobile": {
  7850. "description": "手机号码",
  7851. "type": "string"
  7852. },
  7853. "userid": {
  7854. "description": "用户ID",
  7855. "type": "integer"
  7856. }
  7857. }
  7858. },
  7859. "erms3.QryAuditContractRsp": {
  7860. "type": "object",
  7861. "required": [
  7862. "matchcustomername",
  7863. "spotcontractid"
  7864. ],
  7865. "properties": {
  7866. "accountid": {
  7867. "description": "交易员ID",
  7868. "type": "string"
  7869. },
  7870. "applystatus": {
  7871. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7872. "type": "integer"
  7873. },
  7874. "curdeliveryqty": {
  7875. "description": "未交收量",
  7876. "type": "integer"
  7877. },
  7878. "customername": {
  7879. "description": "采购方ID",
  7880. "type": "string"
  7881. },
  7882. "deliverygoodsid": {
  7883. "description": "品种ID",
  7884. "type": "string"
  7885. },
  7886. "deliveryqty": {
  7887. "description": "交收量",
  7888. "type": "integer"
  7889. },
  7890. "enumdicname": {
  7891. "description": "单位名称",
  7892. "type": "string"
  7893. },
  7894. "matchaccountid": {
  7895. "description": "业务员ID",
  7896. "type": "string"
  7897. },
  7898. "matchcustomername": {
  7899. "description": "销售方ID",
  7900. "type": "string"
  7901. },
  7902. "pricedqty": {
  7903. "description": "定价量",
  7904. "type": "number"
  7905. },
  7906. "signdate": {
  7907. "description": "签订日期",
  7908. "type": "string"
  7909. },
  7910. "spotcontractid": {
  7911. "description": "合同ID",
  7912. "type": "string"
  7913. },
  7914. "totaldqty": {
  7915. "description": "合同量",
  7916. "type": "number"
  7917. },
  7918. "unpricedqty": {
  7919. "description": "未定价量",
  7920. "type": "number"
  7921. },
  7922. "wrstandardname": {
  7923. "description": "商品名称",
  7924. "type": "string"
  7925. }
  7926. }
  7927. },
  7928. "erms3.QryPendingBizRsp": {
  7929. "$ref": "#/definitions/models.PendingAuditBizModel"
  7930. },
  7931. "erms3.QueryBusinessInfoRsp": {
  7932. "type": "object",
  7933. "properties": {
  7934. "businessid": {
  7935. "description": "业务ID.",
  7936. "type": "integer"
  7937. },
  7938. "buyamount": {
  7939. "description": "采购额.",
  7940. "type": "number"
  7941. },
  7942. "buyqty": {
  7943. "description": "采购量.",
  7944. "type": "string"
  7945. },
  7946. "futurepl": {
  7947. "description": "期货盈亏.",
  7948. "type": "number"
  7949. },
  7950. "futureqty": {
  7951. "description": "期货敞口.",
  7952. "type": "string"
  7953. },
  7954. "goodsid": {
  7955. "description": "商品名称/商品代码.",
  7956. "type": "string"
  7957. },
  7958. "hedgingqty": {
  7959. "description": "套保量.",
  7960. "type": "string"
  7961. },
  7962. "sellamount": {
  7963. "description": "销售额.",
  7964. "type": "number"
  7965. },
  7966. "sellqty": {
  7967. "description": "销售量.",
  7968. "type": "string"
  7969. },
  7970. "spotmarketvalue": {
  7971. "description": "现货市值.",
  7972. "type": "number"
  7973. },
  7974. "spotpl": {
  7975. "description": "浮动权益.",
  7976. "type": "number"
  7977. },
  7978. "spotqty": {
  7979. "description": "现货量.",
  7980. "type": "string"
  7981. },
  7982. "statu": {
  7983. "description": "状态,0-未结束 1-已结束.",
  7984. "type": "integer"
  7985. },
  7986. "totalpl": {
  7987. "description": "总盈亏.",
  7988. "type": "number"
  7989. },
  7990. "totalqty": {
  7991. "description": "总敞口.",
  7992. "type": "string"
  7993. },
  7994. "type": {
  7995. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  7996. "type": "integer"
  7997. }
  7998. }
  7999. },
  8000. "erms3.QuerySpotContractAppleFormRsp": {
  8001. "type": "object",
  8002. "properties": {
  8003. "goodses": {
  8004. "description": "合约列表",
  8005. "type": "array",
  8006. "items": {
  8007. "$ref": "#/definitions/models.GoodsIDAndName"
  8008. }
  8009. },
  8010. "oppositeusers": {
  8011. "description": "对方账号列表",
  8012. "type": "array",
  8013. "items": {
  8014. "$ref": "#/definitions/erms3.CustomerInfo"
  8015. }
  8016. },
  8017. "ouruser": {
  8018. "description": "我方账号",
  8019. "type": "object",
  8020. "$ref": "#/definitions/erms3.CustomerInfo"
  8021. },
  8022. "warehouseinfos": {
  8023. "description": "仓库信息列表",
  8024. "type": "array",
  8025. "items": {
  8026. "$ref": "#/definitions/models.Warehouseinfo"
  8027. }
  8028. },
  8029. "wrstandards": {
  8030. "description": "仓单标准列表",
  8031. "type": "array",
  8032. "items": {
  8033. "$ref": "#/definitions/models.WRStandardInfo"
  8034. }
  8035. }
  8036. }
  8037. },
  8038. "erms3.QuerySpotContractInfoRsp": {
  8039. "type": "object",
  8040. "properties": {
  8041. "accountid": {
  8042. "description": "表示交易员ID.",
  8043. "type": "integer"
  8044. },
  8045. "curdeliveryqty": {
  8046. "description": "表示未交收量.",
  8047. "type": "number"
  8048. },
  8049. "customername": {
  8050. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  8051. "type": "string"
  8052. },
  8053. "deliverygoodsid": {
  8054. "description": "表示品种ID.",
  8055. "type": "string"
  8056. },
  8057. "deliveryqty": {
  8058. "description": "表示交收量.",
  8059. "type": "number"
  8060. },
  8061. "matchaccountid": {
  8062. "description": "表示业务员ID.",
  8063. "type": "integer"
  8064. },
  8065. "matchcustomername": {
  8066. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  8067. "type": "string"
  8068. },
  8069. "priceqty": {
  8070. "description": "表示定价量.",
  8071. "type": "number"
  8072. },
  8073. "relatedbizid": {
  8074. "description": "表示业务ID.",
  8075. "type": "string"
  8076. },
  8077. "signdate": {
  8078. "description": "表示签订日期.",
  8079. "type": "string"
  8080. },
  8081. "spotcontractid": {
  8082. "description": "合同ID",
  8083. "type": "string"
  8084. },
  8085. "status": {
  8086. "description": "表示状态,0-履约中 1-已完成.",
  8087. "type": "integer"
  8088. },
  8089. "totalqty": {
  8090. "description": "表示合同量.",
  8091. "type": "number"
  8092. },
  8093. "unpricedqty": {
  8094. "description": "表示未定价量.",
  8095. "type": "number"
  8096. },
  8097. "wrstandardname": {
  8098. "description": "表示商品ID.",
  8099. "type": "string"
  8100. }
  8101. }
  8102. },
  8103. "erms3.QueryUserInfoAppliesRsp": {
  8104. "type": "object",
  8105. "required": [
  8106. "userid"
  8107. ],
  8108. "properties": {
  8109. "biznature": {
  8110. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  8111. "type": "integer"
  8112. },
  8113. "contactname": {
  8114. "description": "联系人",
  8115. "type": "string"
  8116. },
  8117. "createtime": {
  8118. "description": "开户申请时间",
  8119. "type": "string"
  8120. },
  8121. "userid": {
  8122. "description": "用户ID(自增ID)",
  8123. "type": "integer"
  8124. },
  8125. "userinfotype": {
  8126. "description": "用户信息类型 - 1:个人 2:企业",
  8127. "type": "integer"
  8128. },
  8129. "username": {
  8130. "description": "用户姓名",
  8131. "type": "string"
  8132. },
  8133. "userstate": {
  8134. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  8135. "type": "integer"
  8136. }
  8137. }
  8138. },
  8139. "erms3.QueryUserInfosRsp": {
  8140. "type": "object",
  8141. "required": [
  8142. "userid"
  8143. ],
  8144. "properties": {
  8145. "biznature": {
  8146. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  8147. "type": "integer"
  8148. },
  8149. "contactname": {
  8150. "description": "联系人",
  8151. "type": "string"
  8152. },
  8153. "customername": {
  8154. "description": "客户名称(企业名称)",
  8155. "type": "string"
  8156. },
  8157. "userid": {
  8158. "description": "用户ID",
  8159. "type": "integer"
  8160. },
  8161. "userinfotype": {
  8162. "description": "用户信息类型 - 1:个人 2:企业",
  8163. "type": "integer"
  8164. },
  8165. "userstatus": {
  8166. "description": "用户状态 - 1:正常 2:注销",
  8167. "type": "integer"
  8168. }
  8169. }
  8170. },
  8171. "erms3.SoptContractDetail": {
  8172. "type": "object",
  8173. "required": [
  8174. "deliverygoodsid",
  8175. "producttype",
  8176. "unitname",
  8177. "warehouseid",
  8178. "wrstandardid",
  8179. "wrstandardname"
  8180. ],
  8181. "properties": {
  8182. "deliverygoodsdesc": {
  8183. "description": "现货品种说明",
  8184. "type": "string"
  8185. },
  8186. "deliverygoodsid": {
  8187. "description": "现货品种ID",
  8188. "type": "integer"
  8189. },
  8190. "deliverygoodsname": {
  8191. "description": "现货品种名称",
  8192. "type": "string"
  8193. },
  8194. "pointdesc": {
  8195. "description": "点价描述",
  8196. "type": "string"
  8197. },
  8198. "producttype": {
  8199. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  8200. "type": "integer"
  8201. },
  8202. "producttypename": {
  8203. "description": "产品类型名称",
  8204. "type": "string"
  8205. },
  8206. "spotPointOrderVoList": {
  8207. "description": "点价列表",
  8208. "type": "array",
  8209. "items": {
  8210. "$ref": "#/definitions/erms3.SpotPointOrder"
  8211. }
  8212. },
  8213. "spotPriceOrderList": {
  8214. "description": "定价列表",
  8215. "type": "array",
  8216. "items": {
  8217. "$ref": "#/definitions/erms3.SpotPriceOrder"
  8218. }
  8219. },
  8220. "unitname": {
  8221. "description": "单位名称",
  8222. "type": "string"
  8223. },
  8224. "warehouseid": {
  8225. "description": "仓库ID",
  8226. "type": "integer"
  8227. },
  8228. "warehousename": {
  8229. "description": "仓库名称",
  8230. "type": "string"
  8231. },
  8232. "wrstandardid": {
  8233. "description": "交易标的ID",
  8234. "type": "integer"
  8235. },
  8236. "wrstandardname": {
  8237. "description": "交易标的名称",
  8238. "type": "string"
  8239. }
  8240. }
  8241. },
  8242. "erms3.SpotPointOrder": {
  8243. "type": "object",
  8244. "required": [
  8245. "basic",
  8246. "goodsid",
  8247. "qty"
  8248. ],
  8249. "properties": {
  8250. "basic": {
  8251. "description": "基差",
  8252. "type": "number"
  8253. },
  8254. "deliveryenddate": {
  8255. "description": "交收结束日期",
  8256. "type": "string"
  8257. },
  8258. "deliverystartdate": {
  8259. "description": "交收开始日期",
  8260. "type": "string"
  8261. },
  8262. "enddate": {
  8263. "description": "点价结束日期",
  8264. "type": "string"
  8265. },
  8266. "goodsid": {
  8267. "description": "商品ID",
  8268. "type": "integer"
  8269. },
  8270. "goodsname": {
  8271. "description": "商品名称",
  8272. "type": "string"
  8273. },
  8274. "qty": {
  8275. "description": "数量",
  8276. "type": "number"
  8277. },
  8278. "startdate": {
  8279. "description": "点价开始日期",
  8280. "type": "string"
  8281. }
  8282. }
  8283. },
  8284. "erms3.SpotPriceOrder": {
  8285. "type": "object",
  8286. "required": [
  8287. "amount",
  8288. "price",
  8289. "qty"
  8290. ],
  8291. "properties": {
  8292. "amount": {
  8293. "description": "金额",
  8294. "type": "number"
  8295. },
  8296. "deliveryenddate": {
  8297. "description": "交收结束日期",
  8298. "type": "string"
  8299. },
  8300. "deliverystartdate": {
  8301. "description": "交收开始日期",
  8302. "type": "string"
  8303. },
  8304. "price": {
  8305. "description": "价格",
  8306. "type": "number"
  8307. },
  8308. "qty": {
  8309. "description": "数量",
  8310. "type": "number"
  8311. }
  8312. }
  8313. },
  8314. "hsby.GetHsbyMyCountRsp": {
  8315. "type": "object",
  8316. "properties": {
  8317. "myCouponCount": {
  8318. "description": "我的优惠卷数量",
  8319. "type": "integer"
  8320. },
  8321. "myOrderDetailListingCount": {
  8322. "description": "我的订单求购中数量",
  8323. "type": "integer"
  8324. },
  8325. "myOrderDetailPreCount": {
  8326. "description": "我的订单抢购中数量",
  8327. "type": "integer"
  8328. },
  8329. "myPackageUnReceiveCount": {
  8330. "description": "我的包裹待收货数量",
  8331. "type": "integer"
  8332. },
  8333. "myPackageUnSendCount": {
  8334. "description": "我的包裹待发货数量",
  8335. "type": "integer"
  8336. },
  8337. "myPayOrderCount": {
  8338. "description": "我的订单待付款数量",
  8339. "type": "integer"
  8340. }
  8341. }
  8342. },
  8343. "hsby.QueryProvincesAndCitiesRsp": {
  8344. "type": "object",
  8345. "properties": {
  8346. "cities": {
  8347. "description": "市",
  8348. "type": "array",
  8349. "items": {
  8350. "$ref": "#/definitions/models.Division"
  8351. }
  8352. },
  8353. "province": {
  8354. "description": "省",
  8355. "type": "object",
  8356. "$ref": "#/definitions/models.Division"
  8357. }
  8358. }
  8359. },
  8360. "models.AreaSpotModel": {
  8361. "type": "object",
  8362. "properties": {
  8363. "areauserid": {
  8364. "description": "所属机构",
  8365. "type": "integer"
  8366. },
  8367. "decreaseqty": {
  8368. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  8369. "type": "number"
  8370. },
  8371. "increaseqty": {
  8372. "description": "增加数量=销售计划数量+采购已定价数量",
  8373. "type": "number"
  8374. },
  8375. "oritoalspotqty": {
  8376. "description": "昨日数量",
  8377. "type": "number"
  8378. },
  8379. "totalspotqty": {
  8380. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  8381. "type": "number"
  8382. },
  8383. "updatetime": {
  8384. "description": "更新时间",
  8385. "type": "string"
  8386. },
  8387. "wrstandardcode": {
  8388. "description": "现货品种代码",
  8389. "type": "string"
  8390. },
  8391. "wrstandardid": {
  8392. "description": "现货商品ID",
  8393. "type": "integer"
  8394. },
  8395. "wrstandardname": {
  8396. "description": "现货品种",
  8397. "type": "string"
  8398. }
  8399. }
  8400. },
  8401. "models.Clientfixedadconfig": {
  8402. "type": "object",
  8403. "required": [
  8404. "adsort",
  8405. "adtype"
  8406. ],
  8407. "properties": {
  8408. "adsort": {
  8409. "description": "排序",
  8410. "type": "integer"
  8411. },
  8412. "adtype": {
  8413. "description": "广告位类型 - 1:新品抢购(HSBY)",
  8414. "type": "integer"
  8415. },
  8416. "areauserid": {
  8417. "description": "所属机构ID",
  8418. "type": "integer"
  8419. },
  8420. "createdate": {
  8421. "description": "创建时间",
  8422. "type": "string"
  8423. },
  8424. "creatorid": {
  8425. "description": "创建人",
  8426. "type": "integer"
  8427. },
  8428. "imagepath": {
  8429. "description": "图片",
  8430. "type": "string"
  8431. },
  8432. "isshow": {
  8433. "description": "是否展示 - 0:不展示 1:展示",
  8434. "type": "integer"
  8435. },
  8436. "modifierid": {
  8437. "description": "操作人",
  8438. "type": "integer"
  8439. },
  8440. "recsize": {
  8441. "description": "推荐尺寸",
  8442. "type": "string"
  8443. },
  8444. "title": {
  8445. "description": "标题",
  8446. "type": "string"
  8447. },
  8448. "updatedate": {
  8449. "description": "更新时间",
  8450. "type": "string"
  8451. },
  8452. "urlcontent": {
  8453. "description": "链接(地址或商品ID)",
  8454. "type": "string"
  8455. },
  8456. "urltype": {
  8457. "description": "链接类型 - 1:直接地址 2:商品ID",
  8458. "type": "integer"
  8459. }
  8460. }
  8461. },
  8462. "models.Division": {
  8463. "type": "object",
  8464. "required": [
  8465. "autoid",
  8466. "divisioncode"
  8467. ],
  8468. "properties": {
  8469. "autoid": {
  8470. "description": "自增ID",
  8471. "type": "integer"
  8472. },
  8473. "divisioncode": {
  8474. "description": "行政代码",
  8475. "type": "string"
  8476. },
  8477. "divisionlevel": {
  8478. "description": "行政级别",
  8479. "type": "string"
  8480. },
  8481. "divisionname": {
  8482. "description": "行政名称",
  8483. "type": "string"
  8484. },
  8485. "modifierid": {
  8486. "description": "修改人",
  8487. "type": "integer"
  8488. },
  8489. "modifytime": {
  8490. "description": "修改时间",
  8491. "type": "string"
  8492. },
  8493. "parentcode": {
  8494. "description": "上级行政代码",
  8495. "type": "string"
  8496. },
  8497. "pathname": {
  8498. "description": "路径名称",
  8499. "type": "string"
  8500. },
  8501. "postcode": {
  8502. "description": "邮政编码",
  8503. "type": "string"
  8504. },
  8505. "separablename": {
  8506. "description": "可拆分的全称",
  8507. "type": "string"
  8508. },
  8509. "shortcode": {
  8510. "description": "地区简码",
  8511. "type": "string"
  8512. }
  8513. }
  8514. },
  8515. "models.Enumdicitem": {
  8516. "type": "object",
  8517. "required": [
  8518. "autoid",
  8519. "enumdiccode",
  8520. "enumdicid",
  8521. "enumitemname"
  8522. ],
  8523. "properties": {
  8524. "autoid": {
  8525. "description": "自增ID",
  8526. "type": "integer"
  8527. },
  8528. "bankmappedvalue": {
  8529. "description": "银行服务对应值",
  8530. "type": "string"
  8531. },
  8532. "enumdiccode": {
  8533. "description": "所属枚举代码",
  8534. "type": "string"
  8535. },
  8536. "enumdicid": {
  8537. "description": "所属枚举ID",
  8538. "type": "integer"
  8539. },
  8540. "enumdicname": {
  8541. "description": "枚举项名称",
  8542. "type": "string"
  8543. },
  8544. "enumitemname": {
  8545. "description": "枚举项值",
  8546. "type": "integer"
  8547. },
  8548. "enumitemstatus": {
  8549. "description": "枚举项状态 - 1.启用 2.不启用",
  8550. "type": "integer"
  8551. },
  8552. "enumitemvalue": {
  8553. "description": "通用值 - [币种通用简写]",
  8554. "type": "string"
  8555. },
  8556. "param1": {
  8557. "description": "参数1[币种:币种小数位]",
  8558. "type": "string"
  8559. },
  8560. "param2": {
  8561. "description": "参数1[币种:币种显示单位]",
  8562. "type": "string"
  8563. },
  8564. "remark": {
  8565. "description": "备注",
  8566. "type": "string"
  8567. }
  8568. }
  8569. },
  8570. "models.ErmcpAreaSpotDetailModel": {
  8571. "type": "object",
  8572. "properties": {
  8573. "contracttype": {
  8574. "description": "合同类型 1-采购 -1-销售",
  8575. "type": "integer"
  8576. },
  8577. "enumdicname": {
  8578. "description": "现货商品单位名称",
  8579. "type": "string"
  8580. },
  8581. "logtype": {
  8582. "description": "记录类型 1-套保 2-现货合同",
  8583. "type": "integer"
  8584. },
  8585. "qty": {
  8586. "description": "数量",
  8587. "type": "number"
  8588. },
  8589. "recordname": {
  8590. "description": "类型名称",
  8591. "type": "string"
  8592. },
  8593. "relatedid": {
  8594. "description": "套保计划ID/现货合同ID",
  8595. "type": "string"
  8596. },
  8597. "relatedno": {
  8598. "description": "编号",
  8599. "type": "string"
  8600. },
  8601. "strtime": {
  8602. "description": "时间",
  8603. "type": "string"
  8604. },
  8605. "wrstandardcode": {
  8606. "description": "现货商品代码",
  8607. "type": "string"
  8608. },
  8609. "wrstandardname": {
  8610. "description": "现货商品名称",
  8611. "type": "string"
  8612. }
  8613. }
  8614. },
  8615. "models.ErmcpAvalidGoodsGroupModel": {
  8616. "type": "object",
  8617. "properties": {
  8618. "goodsgroupid": {
  8619. "description": "期货品种id",
  8620. "type": "integer"
  8621. },
  8622. "goodsgroupname": {
  8623. "description": "期货品种名称",
  8624. "type": "string"
  8625. },
  8626. "goodunitid": {
  8627. "description": "品种单位id",
  8628. "type": "integer"
  8629. },
  8630. "goodunitname": {
  8631. "description": "品种单位名称",
  8632. "type": "string"
  8633. },
  8634. "outergroupcode": {
  8635. "description": "期货品种代码",
  8636. "type": "string"
  8637. }
  8638. }
  8639. },
  8640. "models.ErmcpExposureDetailModel": {
  8641. "type": "object",
  8642. "properties": {
  8643. "areauserid": {
  8644. "description": "机构ID",
  8645. "type": "integer"
  8646. },
  8647. "changeQty": {
  8648. "description": "套保变动量",
  8649. "type": "number"
  8650. },
  8651. "contracttype": {
  8652. "description": "现货合同类型 - 1:采购 -1:销售",
  8653. "type": "integer"
  8654. },
  8655. "convertfactor": {
  8656. "description": "标仓系数",
  8657. "type": "number"
  8658. },
  8659. "convertratio": {
  8660. "description": "套保系数",
  8661. "type": "number"
  8662. },
  8663. "createtime": {
  8664. "description": "时间",
  8665. "type": "string"
  8666. },
  8667. "enumdicname": {
  8668. "description": "现货商品单位名称",
  8669. "type": "string"
  8670. },
  8671. "logtype": {
  8672. "description": "类型 - 1:套保计划 2:现货合同",
  8673. "type": "integer"
  8674. },
  8675. "middlegoodsId": {
  8676. "description": "套保商品id",
  8677. "type": "integer"
  8678. },
  8679. "middlegoodscode": {
  8680. "description": "套保商品代码",
  8681. "type": "string"
  8682. },
  8683. "middlegoodsname": {
  8684. "description": "套保商品名称",
  8685. "type": "string"
  8686. },
  8687. "qty": {
  8688. "description": "数量",
  8689. "type": "number"
  8690. },
  8691. "relateNo": {
  8692. "description": "现货合同/套保计划编号",
  8693. "type": "string"
  8694. },
  8695. "wrstandardcode": {
  8696. "description": "现货商品代码",
  8697. "type": "string"
  8698. },
  8699. "wrstandardid": {
  8700. "description": "现货商品ID",
  8701. "type": "integer"
  8702. },
  8703. "wrstandardname": {
  8704. "description": "现货商品名称",
  8705. "type": "string"
  8706. }
  8707. }
  8708. },
  8709. "models.ErmcpExposurePostion": {
  8710. "type": "object",
  8711. "properties": {
  8712. "areauserid": {
  8713. "description": "所属机构id",
  8714. "type": "integer"
  8715. },
  8716. "curqty": {
  8717. "description": "当前持仓",
  8718. "type": "integer"
  8719. },
  8720. "diffhedgeqty": {
  8721. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  8722. "type": "number"
  8723. },
  8724. "diffqty": {
  8725. "description": "持仓变动量=当前持仓-昨日持仓",
  8726. "type": "integer"
  8727. },
  8728. "goodscode": {
  8729. "description": "商品代码",
  8730. "type": "string"
  8731. },
  8732. "goodsid": {
  8733. "description": "商品id",
  8734. "type": "integer"
  8735. },
  8736. "goodsname": {
  8737. "description": "商品名称",
  8738. "type": "string"
  8739. },
  8740. "middlegoodsid": {
  8741. "description": "套保商品id",
  8742. "type": "integer"
  8743. },
  8744. "ydqty": {
  8745. "description": "昨日持仓",
  8746. "type": "integer"
  8747. }
  8748. }
  8749. },
  8750. "models.ErmcpGGConvertCfg": {
  8751. "type": "object",
  8752. "properties": {
  8753. "convertratio": {
  8754. "description": "折算系数",
  8755. "type": "number"
  8756. },
  8757. "destgoodsgroupid": {
  8758. "description": "目标品种ID",
  8759. "type": "integer"
  8760. },
  8761. "dstcode": {
  8762. "description": "目录品种代码",
  8763. "type": "string"
  8764. },
  8765. "dstname": {
  8766. "description": "目标品种名称",
  8767. "type": "string"
  8768. },
  8769. "dstunitid": {
  8770. "description": "目标品种单位ID",
  8771. "type": "integer"
  8772. },
  8773. "dstunitidname": {
  8774. "description": "目标品种单位名称",
  8775. "type": "string"
  8776. },
  8777. "srccode": {
  8778. "description": "源品种代码",
  8779. "type": "string"
  8780. },
  8781. "srcgoodsgroupid": {
  8782. "description": "源品种ID",
  8783. "type": "integer"
  8784. },
  8785. "srcname": {
  8786. "description": "源品种名称",
  8787. "type": "string"
  8788. },
  8789. "srcunitid": {
  8790. "description": "源品种单位ID",
  8791. "type": "integer"
  8792. },
  8793. "srcunitidname": {
  8794. "description": "源品种单位名称",
  8795. "type": "string"
  8796. }
  8797. }
  8798. },
  8799. "models.ErmcpHedgePlan": {
  8800. "type": "object",
  8801. "properties": {
  8802. "areauserid": {
  8803. "description": "用户ID",
  8804. "type": "integer"
  8805. },
  8806. "contracttype": {
  8807. "description": "计划类型 - 1:采购 -1:销售",
  8808. "type": "integer"
  8809. },
  8810. "convertfactor": {
  8811. "description": "标仓系数",
  8812. "type": "number"
  8813. },
  8814. "deliverygoodsid": {
  8815. "description": "现货品种ID",
  8816. "type": "integer"
  8817. },
  8818. "deliverygoodsname": {
  8819. "description": "现货品种名称",
  8820. "type": "string"
  8821. },
  8822. "hedgeplanid": {
  8823. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  8824. "type": "string"
  8825. },
  8826. "hedgeplanno": {
  8827. "description": "套保计划编号(名称)",
  8828. "type": "string"
  8829. },
  8830. "hedgeplanstatus": {
  8831. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8832. "type": "integer"
  8833. },
  8834. "planqty": {
  8835. "description": "计划数量",
  8836. "type": "number"
  8837. },
  8838. "plantime": {
  8839. "description": "计划时间",
  8840. "type": "string"
  8841. },
  8842. "producttype": {
  8843. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8844. "type": "integer"
  8845. },
  8846. "remark": {
  8847. "description": "备注",
  8848. "type": "string"
  8849. },
  8850. "spotgoodsdesc": {
  8851. "description": "商品型号",
  8852. "type": "string"
  8853. },
  8854. "wrstandardid": {
  8855. "description": "现货商品ID",
  8856. "type": "integer"
  8857. },
  8858. "wrstandardname": {
  8859. "description": "现货商品名称",
  8860. "type": "string"
  8861. }
  8862. }
  8863. },
  8864. "models.ErmcpHedgePosition": {
  8865. "type": "object",
  8866. "properties": {
  8867. "accountid": {
  8868. "description": "资金账号[外部母账户]",
  8869. "type": "integer"
  8870. },
  8871. "curbuyposition": {
  8872. "description": "期末买头寸",
  8873. "type": "integer"
  8874. },
  8875. "cursellposition": {
  8876. "description": "期末卖头寸",
  8877. "type": "integer"
  8878. },
  8879. "curtdbuyposition": {
  8880. "description": "期末今日买头寸",
  8881. "type": "integer"
  8882. },
  8883. "curtdsellposition": {
  8884. "description": "期末今日卖头寸",
  8885. "type": "integer"
  8886. },
  8887. "curydbuyposition": {
  8888. "description": "期末上日买头寸",
  8889. "type": "integer"
  8890. },
  8891. "curydsellposition": {
  8892. "description": "期末上日卖头寸",
  8893. "type": "integer"
  8894. },
  8895. "decreaseqty": {
  8896. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  8897. "type": "integer"
  8898. },
  8899. "fretdbuyposition": {
  8900. "description": "冻结今日买头寸",
  8901. "type": "integer"
  8902. },
  8903. "fretdsellposition": {
  8904. "description": "冻结今日卖头寸",
  8905. "type": "integer"
  8906. },
  8907. "freydbuyposition": {
  8908. "description": "冻结上日买头寸",
  8909. "type": "integer"
  8910. },
  8911. "freydsellposition": {
  8912. "description": "冻结上日卖头寸",
  8913. "type": "integer"
  8914. },
  8915. "goodscode": {
  8916. "description": "商品代码",
  8917. "type": "string"
  8918. },
  8919. "goodsid": {
  8920. "description": "商品id",
  8921. "type": "integer"
  8922. },
  8923. "goodsname": {
  8924. "description": "商品名称",
  8925. "type": "string"
  8926. },
  8927. "hedgeaccountcode": {
  8928. "description": "对冲账号",
  8929. "type": "string"
  8930. },
  8931. "hedgegoodsid": {
  8932. "description": "对冲合约ID",
  8933. "type": "integer"
  8934. },
  8935. "increaseqty": {
  8936. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  8937. "type": "integer"
  8938. },
  8939. "marketid": {
  8940. "description": "市场ID",
  8941. "type": "integer"
  8942. },
  8943. "relateduserid": {
  8944. "description": "关联用户id",
  8945. "type": "integer"
  8946. },
  8947. "totalcurqty": {
  8948. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  8949. "type": "integer"
  8950. },
  8951. "totalydqty": {
  8952. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  8953. "type": "integer"
  8954. },
  8955. "tradedate": {
  8956. "description": "交易日(yyyyMMdd)",
  8957. "type": "string"
  8958. },
  8959. "ydbuyposition": {
  8960. "description": "期初买头寸",
  8961. "type": "integer"
  8962. },
  8963. "ydsellposition": {
  8964. "description": "期初卖头寸",
  8965. "type": "integer"
  8966. }
  8967. }
  8968. },
  8969. "models.ErmcpHedgePositionDetail": {
  8970. "type": "object",
  8971. "properties": {
  8972. "buyorsell": {
  8973. "description": "买卖方向 0-买 1-卖",
  8974. "type": "integer"
  8975. },
  8976. "channelbuildtype": {
  8977. "description": "开平方向 1-建仓 2-平仓",
  8978. "type": "integer"
  8979. },
  8980. "goodscode": {
  8981. "description": "商品代码",
  8982. "type": "string"
  8983. },
  8984. "goodsname": {
  8985. "description": "商品名称",
  8986. "type": "string"
  8987. },
  8988. "hedgegoodsid": {
  8989. "description": "商品id",
  8990. "type": "integer"
  8991. },
  8992. "tradeqty": {
  8993. "description": "数量(成交数量)",
  8994. "type": "integer"
  8995. },
  8996. "tradetime": {
  8997. "description": "时间(成交时间)",
  8998. "type": "string"
  8999. }
  9000. }
  9001. },
  9002. "models.ErmcpHisExposure": {
  9003. "type": "object",
  9004. "properties": {
  9005. "areauserid": {
  9006. "description": "所属机构",
  9007. "type": "integer"
  9008. },
  9009. "middlegoodscode": {
  9010. "description": "套保品种代码",
  9011. "type": "string"
  9012. },
  9013. "middlegoodsid": {
  9014. "description": "套保品种ID",
  9015. "type": "integer"
  9016. },
  9017. "middlegoodsname": {
  9018. "description": "套保品种名称",
  9019. "type": "string"
  9020. },
  9021. "needhedgeexposourE": {
  9022. "description": "应套保敞口",
  9023. "type": "number"
  9024. },
  9025. "needhedgeratio": {
  9026. "description": "应套保敞口比例",
  9027. "type": "number"
  9028. },
  9029. "reckondate": {
  9030. "description": "日照时期(yyyyMMdd)",
  9031. "type": "string"
  9032. },
  9033. "totalexposure": {
  9034. "description": "总敞口",
  9035. "type": "number"
  9036. },
  9037. "totalfutureqty": {
  9038. "description": "期货头寸总量",
  9039. "type": "number"
  9040. },
  9041. "totalhedgeratio": {
  9042. "description": "敞口比例",
  9043. "type": "number"
  9044. },
  9045. "totalneedhedgeqty": {
  9046. "description": "应套保总量",
  9047. "type": "number"
  9048. },
  9049. "totalspotqty": {
  9050. "description": "现货头寸总量",
  9051. "type": "number"
  9052. }
  9053. }
  9054. },
  9055. "models.ErmcpMiddleGoodsChangeLog": {
  9056. "type": "object",
  9057. "properties": {
  9058. "aftervalue": {
  9059. "description": "变更后",
  9060. "type": "number"
  9061. },
  9062. "applyid": {
  9063. "description": "操作人",
  9064. "type": "integer"
  9065. },
  9066. "applyname": {
  9067. "description": "操作人名称",
  9068. "type": "string"
  9069. },
  9070. "applysrc": {
  9071. "description": "操作来源 - 1:管理端 2:终端",
  9072. "type": "integer"
  9073. },
  9074. "beforevalue": {
  9075. "description": "变更前",
  9076. "type": "number"
  9077. },
  9078. "changelogtype": {
  9079. "description": "变更流水类型 - 1:套保比率变更",
  9080. "type": "integer"
  9081. },
  9082. "handlestatus": {
  9083. "description": "处理状态",
  9084. "type": "integer"
  9085. },
  9086. "logdatetime": {
  9087. "description": "流水日期",
  9088. "type": "string"
  9089. },
  9090. "logid": {
  9091. "description": "流水ID",
  9092. "type": "integer"
  9093. },
  9094. "logremark": {
  9095. "description": "流水备注",
  9096. "type": "string"
  9097. },
  9098. "middlegoodsid": {
  9099. "description": "套保品种ID",
  9100. "type": "integer"
  9101. },
  9102. "tradedate": {
  9103. "description": "交易日(yyyyMMdd)",
  9104. "type": "string"
  9105. },
  9106. "updatetime": {
  9107. "description": "更新时间",
  9108. "type": "string"
  9109. }
  9110. }
  9111. },
  9112. "models.ErmcpMiddleGoodsDetail": {
  9113. "type": "object",
  9114. "properties": {
  9115. "cvList": {
  9116. "description": "期货品种折算列表",
  9117. "type": "array",
  9118. "items": {
  9119. "$ref": "#/definitions/models.GoodsGroupConvert"
  9120. }
  9121. },
  9122. "mg": {
  9123. "description": "套保品种基本信息",
  9124. "type": "object",
  9125. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  9126. }
  9127. }
  9128. },
  9129. "models.ErmcpMiddleGoodsModel": {
  9130. "type": "object",
  9131. "properties": {
  9132. "areauserid": {
  9133. "description": "机构用户ID",
  9134. "type": "integer"
  9135. },
  9136. "enumdicname": {
  9137. "description": "单位名称",
  9138. "type": "string"
  9139. },
  9140. "evaluateratio": {
  9141. "description": "估价系数",
  9142. "type": "number"
  9143. },
  9144. "goodsgroupid": {
  9145. "description": "关联期货品种ID",
  9146. "type": "integer"
  9147. },
  9148. "isvalid": {
  9149. "description": "状态 0-无效(停用) 1-有效(正常)",
  9150. "type": "integer"
  9151. },
  9152. "middlegoodscode": {
  9153. "description": "套保品种代码",
  9154. "type": "string"
  9155. },
  9156. "middlegoodsid": {
  9157. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  9158. "type": "integer"
  9159. },
  9160. "middlegoodsname": {
  9161. "description": "套保品种名称",
  9162. "type": "string"
  9163. },
  9164. "modifytime": {
  9165. "description": "修改时间",
  9166. "type": "string"
  9167. },
  9168. "needhedgeratio": {
  9169. "description": "套保比率",
  9170. "type": "number"
  9171. },
  9172. "qtydecimalplace": {
  9173. "description": "数量小数位",
  9174. "type": "integer"
  9175. },
  9176. "relatedgoodsid": {
  9177. "description": "关联交易商品ID",
  9178. "type": "integer"
  9179. },
  9180. "relatedgoodstype": {
  9181. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  9182. "type": "integer"
  9183. }
  9184. }
  9185. },
  9186. "models.ErmcpModel": {
  9187. "type": "object",
  9188. "properties": {
  9189. "accountname": {
  9190. "description": "账户名称",
  9191. "type": "string"
  9192. },
  9193. "audittime": {
  9194. "description": "审核时间",
  9195. "type": "string"
  9196. },
  9197. "contracctstatus": {
  9198. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9199. "type": "integer"
  9200. },
  9201. "contractmargin": {
  9202. "description": "合同保证金",
  9203. "type": "number"
  9204. },
  9205. "contractno": {
  9206. "description": "合同编号",
  9207. "type": "string"
  9208. },
  9209. "contracttype": {
  9210. "description": "合同类型 1-采购, -1-销售",
  9211. "type": "integer"
  9212. },
  9213. "convertfactor": {
  9214. "description": "标仓系数",
  9215. "type": "number"
  9216. },
  9217. "daikaiamount": {
  9218. "description": "待开票额",
  9219. "type": "number"
  9220. },
  9221. "deliveryenddate": {
  9222. "description": "交割结束日",
  9223. "type": "string"
  9224. },
  9225. "deliverygoodscode": {
  9226. "description": "现货商品代码",
  9227. "type": "string"
  9228. },
  9229. "deliverygoodsid": {
  9230. "description": "现货商品ID",
  9231. "type": "integer"
  9232. },
  9233. "deliverygoodsname": {
  9234. "description": "现货商品名称",
  9235. "type": "string"
  9236. },
  9237. "deliverystartdate": {
  9238. "description": "交割开始日",
  9239. "type": "string"
  9240. },
  9241. "enddate": {
  9242. "description": "点价结束日",
  9243. "type": "string"
  9244. },
  9245. "enumdicname": {
  9246. "description": "单位名称",
  9247. "type": "string"
  9248. },
  9249. "goodscode": {
  9250. "description": "点价商品代码",
  9251. "type": "string"
  9252. },
  9253. "goodsid": {
  9254. "description": "点价商品ID",
  9255. "type": "integer"
  9256. },
  9257. "invoiceamount": {
  9258. "description": "已开票额",
  9259. "type": "number"
  9260. },
  9261. "loanamount": {
  9262. "description": "贷款总额=已定价额+调整金额",
  9263. "type": "number"
  9264. },
  9265. "margin": {
  9266. "description": "保证金",
  9267. "type": "number"
  9268. },
  9269. "payamount": {
  9270. "description": "已收付额(收款或付款)",
  9271. "type": "number"
  9272. },
  9273. "price": {
  9274. "description": "价格",
  9275. "type": "number"
  9276. },
  9277. "pricedamount": {
  9278. "description": "已定价额",
  9279. "type": "number"
  9280. },
  9281. "pricedavg": {
  9282. "description": "已点均价",
  9283. "type": "number"
  9284. },
  9285. "pricedqty": {
  9286. "description": "已定价量",
  9287. "type": "number"
  9288. },
  9289. "pricemove": {
  9290. "description": "升贴水",
  9291. "type": "number"
  9292. },
  9293. "pricetype": {
  9294. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9295. "type": "integer"
  9296. },
  9297. "producttype": {
  9298. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9299. "type": "integer"
  9300. },
  9301. "qty": {
  9302. "description": "合同量",
  9303. "type": "number"
  9304. },
  9305. "reckonadjustamount": {
  9306. "description": "调整金额",
  9307. "type": "number"
  9308. },
  9309. "reckonedamount": {
  9310. "description": "已收付额(已确定额)",
  9311. "type": "number"
  9312. },
  9313. "reckonotheramount": {
  9314. "description": "其它费用",
  9315. "type": "number"
  9316. },
  9317. "reckonrealqty": {
  9318. "description": "已确定量",
  9319. "type": "number"
  9320. },
  9321. "remark": {
  9322. "description": "备注",
  9323. "type": "string"
  9324. },
  9325. "spotcontractid": {
  9326. "description": "合同ID",
  9327. "type": "string"
  9328. },
  9329. "spotgoodsdesc": {
  9330. "description": "商品型号(商品规格)",
  9331. "type": "string"
  9332. },
  9333. "startdate": {
  9334. "description": "点价开始日",
  9335. "type": "string"
  9336. },
  9337. "totalamount": {
  9338. "description": "合计总额",
  9339. "type": "number"
  9340. },
  9341. "unpayamount": {
  9342. "description": "待支收额(支付或收款)",
  9343. "type": "number"
  9344. },
  9345. "unpricedqty": {
  9346. "description": "未定价量",
  9347. "type": "number"
  9348. },
  9349. "unsureqty": {
  9350. "description": "未确定量",
  9351. "type": "number"
  9352. },
  9353. "userid": {
  9354. "description": "用户ID",
  9355. "type": "integer"
  9356. }
  9357. }
  9358. },
  9359. "models.ErmcpOPLogModel": {
  9360. "type": "object",
  9361. "properties": {
  9362. "aftervalue": {
  9363. "description": "变更后",
  9364. "type": "number"
  9365. },
  9366. "applyid": {
  9367. "description": "操作人ID",
  9368. "type": "string"
  9369. },
  9370. "applyname": {
  9371. "description": "操作人名称",
  9372. "type": "string"
  9373. },
  9374. "beforevalue": {
  9375. "description": "变更前",
  9376. "type": "number"
  9377. },
  9378. "biztype": {
  9379. "description": "业务类型 - 1:套保计划 2:现货合同",
  9380. "type": "integer"
  9381. },
  9382. "contracttype": {
  9383. "description": "现货合同类型 - 1:采购 -1:销售",
  9384. "type": "integer"
  9385. },
  9386. "logvalue": {
  9387. "description": "数值",
  9388. "type": "number"
  9389. },
  9390. "operatelogtype": {
  9391. "description": "操作流水类型",
  9392. "type": "integer"
  9393. },
  9394. "operatelogtypedesc": {
  9395. "description": "操作流水类型名称",
  9396. "type": "string"
  9397. },
  9398. "relatedid": {
  9399. "description": "现货合同ID\\套保计划",
  9400. "type": "string"
  9401. },
  9402. "updatetime": {
  9403. "description": "更新时间",
  9404. "type": "string"
  9405. }
  9406. }
  9407. },
  9408. "models.ErmcpRealExposureModel": {
  9409. "type": "object",
  9410. "properties": {
  9411. "areaUserID": {
  9412. "description": "所属机构",
  9413. "type": "integer"
  9414. },
  9415. "buyFutureQty": {
  9416. "description": "买入期货数量",
  9417. "type": "number"
  9418. },
  9419. "buyPlanQty": {
  9420. "description": "采购计划数量",
  9421. "type": "number"
  9422. },
  9423. "buyPricedQty": {
  9424. "description": "采购合同已定价数量",
  9425. "type": "number"
  9426. },
  9427. "diffFutuQty": {
  9428. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  9429. "type": "number"
  9430. },
  9431. "diffSpotQty": {
  9432. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  9433. "type": "number"
  9434. },
  9435. "middleGoodsCode": {
  9436. "description": "套保品种代码",
  9437. "type": "string"
  9438. },
  9439. "middleGoodsHedgeRatio": {
  9440. "description": "应套保比例",
  9441. "type": "number"
  9442. },
  9443. "middleGoodsID": {
  9444. "description": "套保品种",
  9445. "type": "integer"
  9446. },
  9447. "middleGoodsName": {
  9448. "description": "套保品种名称",
  9449. "type": "string"
  9450. },
  9451. "needHedgeExposoure": {
  9452. "description": "应套保敞口",
  9453. "type": "number"
  9454. },
  9455. "needHedgeRatio": {
  9456. "description": "应套保敞口比例",
  9457. "type": "number"
  9458. },
  9459. "oriBuyFutureQty": {
  9460. "description": "期初买入期货数量",
  9461. "type": "number"
  9462. },
  9463. "oriBuyPlanQty": {
  9464. "description": "期初采购计划数量",
  9465. "type": "number"
  9466. },
  9467. "oriBuyPricedQty": {
  9468. "description": "期初采购合同已定价数量",
  9469. "type": "number"
  9470. },
  9471. "oriSellFutureQty": {
  9472. "description": "期初卖出期货数量",
  9473. "type": "number"
  9474. },
  9475. "oriSellPlanQty": {
  9476. "description": "期初销售计划数量",
  9477. "type": "number"
  9478. },
  9479. "oriSellPricedQty": {
  9480. "description": "期初销售合同已定价数量",
  9481. "type": "number"
  9482. },
  9483. "oriTotalFutuQty": {
  9484. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  9485. "type": "number"
  9486. },
  9487. "oriTotalSpotQty": {
  9488. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  9489. "type": "number"
  9490. },
  9491. "sellFutureQty": {
  9492. "description": "卖出期货数量",
  9493. "type": "number"
  9494. },
  9495. "sellPlanQty": {
  9496. "description": "销售计划数量",
  9497. "type": "number"
  9498. },
  9499. "sellPricedQty": {
  9500. "description": "销售合同已定价数量",
  9501. "type": "number"
  9502. },
  9503. "totalExposure": {
  9504. "description": "总敞口",
  9505. "type": "number"
  9506. },
  9507. "totalFutureQty": {
  9508. "description": "期货数量",
  9509. "type": "number"
  9510. },
  9511. "totalHedgeRatio": {
  9512. "description": "敞口比例",
  9513. "type": "number"
  9514. },
  9515. "totalNeedHedgeQty": {
  9516. "description": "期货应套保量",
  9517. "type": "number"
  9518. },
  9519. "totalSpotQty": {
  9520. "description": "现货数量",
  9521. "type": "number"
  9522. }
  9523. }
  9524. },
  9525. "models.ErmcpSpotContractModel": {
  9526. "type": "object",
  9527. "properties": {
  9528. "amount": {
  9529. "description": "金额 [1:一口价、3:暂定价]",
  9530. "type": "number"
  9531. },
  9532. "auditremark": {
  9533. "description": "审核意见",
  9534. "type": "string"
  9535. },
  9536. "audittime": {
  9537. "description": "审核时间",
  9538. "type": "string"
  9539. },
  9540. "brandname": {
  9541. "description": "品牌名称",
  9542. "type": "string"
  9543. },
  9544. "buyuserid": {
  9545. "description": "采购方ID",
  9546. "type": "integer"
  9547. },
  9548. "buyusername": {
  9549. "description": "采购方名称",
  9550. "type": "string"
  9551. },
  9552. "contracctstatus": {
  9553. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9554. "type": "integer"
  9555. },
  9556. "contractmargin": {
  9557. "description": "合同保证金",
  9558. "type": "number"
  9559. },
  9560. "contractno": {
  9561. "description": "现货合同编号",
  9562. "type": "string"
  9563. },
  9564. "contracttype": {
  9565. "description": "现货合同类型 - 1:采购 -1:销售",
  9566. "type": "integer"
  9567. },
  9568. "convertfactor": {
  9569. "description": "标仓系数",
  9570. "type": "number"
  9571. },
  9572. "createtime": {
  9573. "description": "创建时间",
  9574. "type": "string"
  9575. },
  9576. "deliveryenddate": {
  9577. "description": "交收期(结束)",
  9578. "type": "string"
  9579. },
  9580. "deliverygoodscode": {
  9581. "description": "现货品种代码",
  9582. "type": "string"
  9583. },
  9584. "deliverygoodsid": {
  9585. "description": "现货品种ID",
  9586. "type": "integer"
  9587. },
  9588. "deliverygoodsname": {
  9589. "description": "现货品种名称",
  9590. "type": "string"
  9591. },
  9592. "deliverystartdate": {
  9593. "description": "交收期(开始)",
  9594. "type": "string"
  9595. },
  9596. "enddate": {
  9597. "description": "点价结束日期 [2:点价 3:暂定价]",
  9598. "type": "string"
  9599. },
  9600. "enumdicname": {
  9601. "description": "单位名称",
  9602. "type": "string"
  9603. },
  9604. "goodscode": {
  9605. "description": "点价合约代码",
  9606. "type": "string"
  9607. },
  9608. "goodsid": {
  9609. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  9610. "type": "integer"
  9611. },
  9612. "margin": {
  9613. "description": "当前保证金",
  9614. "type": "number"
  9615. },
  9616. "modelname": {
  9617. "description": "型号名称",
  9618. "type": "string"
  9619. },
  9620. "price": {
  9621. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  9622. "type": "number"
  9623. },
  9624. "pricemove": {
  9625. "description": "升贴水 [2:点价 3:暂定价]",
  9626. "type": "number"
  9627. },
  9628. "pricetype": {
  9629. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9630. "type": "integer"
  9631. },
  9632. "producttype": {
  9633. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9634. "type": "integer"
  9635. },
  9636. "qty": {
  9637. "description": "数量",
  9638. "type": "number"
  9639. },
  9640. "remark": {
  9641. "description": "备注",
  9642. "type": "string"
  9643. },
  9644. "selluserid": {
  9645. "description": "销售方ID",
  9646. "type": "integer"
  9647. },
  9648. "sellusername": {
  9649. "description": "销售方名称",
  9650. "type": "string"
  9651. },
  9652. "spotcontractid": {
  9653. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  9654. "type": "string"
  9655. },
  9656. "spotgoodsbrandid": {
  9657. "description": "现货品牌ID",
  9658. "type": "integer"
  9659. },
  9660. "spotgoodsdesc": {
  9661. "description": "商品型号",
  9662. "type": "string"
  9663. },
  9664. "spotgoodsmodelid": {
  9665. "description": "现货型号ID",
  9666. "type": "integer"
  9667. },
  9668. "startdate": {
  9669. "description": "点价开始日期 [2:点价 3:暂定价]",
  9670. "type": "string"
  9671. },
  9672. "userid": {
  9673. "description": "机构ID",
  9674. "type": "integer"
  9675. },
  9676. "wrstandardid": {
  9677. "description": "现货商品ID",
  9678. "type": "integer"
  9679. }
  9680. }
  9681. },
  9682. "models.ErmcpUserModel": {
  9683. "type": "object",
  9684. "properties": {
  9685. "address": {
  9686. "description": "通讯地址",
  9687. "type": "string"
  9688. },
  9689. "attachment1": {
  9690. "description": "附件1",
  9691. "type": "string"
  9692. },
  9693. "cardfrontphotourl": {
  9694. "description": "证件正面图片地址",
  9695. "type": "string"
  9696. },
  9697. "cardnum": {
  9698. "description": "证件号码",
  9699. "type": "string"
  9700. },
  9701. "cardtype": {
  9702. "description": "证件类型",
  9703. "type": "integer"
  9704. },
  9705. "cardtypename": {
  9706. "description": "证件类型名称",
  9707. "type": "string"
  9708. },
  9709. "cityid": {
  9710. "description": "市",
  9711. "type": "integer"
  9712. },
  9713. "countryid": {
  9714. "description": "国家",
  9715. "type": "integer"
  9716. },
  9717. "customername": {
  9718. "description": "企业名称",
  9719. "type": "string"
  9720. },
  9721. "memberuserid": {
  9722. "description": "所属机构ID",
  9723. "type": "integer"
  9724. },
  9725. "mobile": {
  9726. "description": "手机号码",
  9727. "type": "string"
  9728. },
  9729. "provinceid": {
  9730. "description": "省",
  9731. "type": "integer"
  9732. },
  9733. "remark": {
  9734. "description": "备注",
  9735. "type": "string"
  9736. },
  9737. "status": {
  9738. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  9739. "type": "integer"
  9740. },
  9741. "statusdesc": {
  9742. "description": "账户状态中文描述",
  9743. "type": "string"
  9744. },
  9745. "telphone": {
  9746. "description": "联系电话",
  9747. "type": "string"
  9748. },
  9749. "userid": {
  9750. "description": "用户ID",
  9751. "type": "integer"
  9752. },
  9753. "userinfotype": {
  9754. "description": "客户类型",
  9755. "type": "string"
  9756. }
  9757. }
  9758. },
  9759. "models.ErmcpWrstandDetail": {
  9760. "type": "object",
  9761. "properties": {
  9762. "gbList": {
  9763. "description": "品牌列表",
  9764. "type": "array",
  9765. "items": {
  9766. "$ref": "#/definitions/models.GoodsBrand"
  9767. }
  9768. },
  9769. "gtList": {
  9770. "description": "型号列表",
  9771. "type": "array",
  9772. "items": {
  9773. "$ref": "#/definitions/models.GoodsTypeModel"
  9774. }
  9775. },
  9776. "wrd": {
  9777. "description": "基本信息",
  9778. "type": "object",
  9779. "$ref": "#/definitions/models.ErmcpWrstandard"
  9780. },
  9781. "wrsList": {
  9782. "description": "套保信息列表",
  9783. "type": "array",
  9784. "items": {
  9785. "$ref": "#/definitions/models.WRSConverTDetail"
  9786. }
  9787. }
  9788. }
  9789. },
  9790. "models.ErmcpWrstandard": {
  9791. "type": "object",
  9792. "properties": {
  9793. "areauserid": {
  9794. "description": "所属机构",
  9795. "type": "integer"
  9796. },
  9797. "createtime": {
  9798. "description": "创建时间",
  9799. "type": "string"
  9800. },
  9801. "creatorid": {
  9802. "description": "创建人",
  9803. "type": "integer"
  9804. },
  9805. "deliverygoodsid": {
  9806. "description": "品种ID",
  9807. "type": "integer"
  9808. },
  9809. "enumdicname": {
  9810. "description": "单位名称",
  9811. "type": "string"
  9812. },
  9813. "isvalid": {
  9814. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  9815. "type": "integer"
  9816. },
  9817. "minivalue": {
  9818. "description": "最小变动值",
  9819. "type": "integer"
  9820. },
  9821. "minivaluedp": {
  9822. "description": "最小变动值小数位",
  9823. "type": "integer"
  9824. },
  9825. "realminivalue": {
  9826. "description": "实际最小变动值",
  9827. "type": "integer"
  9828. },
  9829. "realminivaluedp": {
  9830. "description": "实际最小变动值小数位",
  9831. "type": "integer"
  9832. },
  9833. "remark": {
  9834. "description": "备注",
  9835. "type": "string"
  9836. },
  9837. "unitid": {
  9838. "description": "单位ID",
  9839. "type": "integer"
  9840. },
  9841. "updatetime": {
  9842. "description": "更新时间",
  9843. "type": "string"
  9844. },
  9845. "wrstandardcode": {
  9846. "description": "现货商品代码",
  9847. "type": "string"
  9848. },
  9849. "wrstandardid": {
  9850. "description": "现货商品ID(SEQ_WRSTANDARD)",
  9851. "type": "integer"
  9852. },
  9853. "wrstandardname": {
  9854. "description": "现货商品名称",
  9855. "type": "string"
  9856. }
  9857. }
  9858. },
  9859. "models.Goods": {
  9860. "type": "object",
  9861. "required": [
  9862. "goodscode",
  9863. "goodsid",
  9864. "goodsname",
  9865. "marketid"
  9866. ],
  9867. "properties": {
  9868. "agreeunit": {
  9869. "description": "合约单位",
  9870. "type": "number"
  9871. },
  9872. "auditaccountid": {
  9873. "description": "审核操作员账号",
  9874. "type": "integer"
  9875. },
  9876. "audittime": {
  9877. "description": "审核时间",
  9878. "type": "string"
  9879. },
  9880. "cancelaccountid": {
  9881. "description": "注销操作员账号",
  9882. "type": "integer"
  9883. },
  9884. "canceltime": {
  9885. "description": "注销时间",
  9886. "type": "string"
  9887. },
  9888. "closepricemode": {
  9889. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  9890. "type": "integer"
  9891. },
  9892. "closepriceparam": {
  9893. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  9894. "type": "number"
  9895. },
  9896. "createtime": {
  9897. "description": "创建时间",
  9898. "type": "string"
  9899. },
  9900. "creatorid": {
  9901. "description": "创建人",
  9902. "type": "integer"
  9903. },
  9904. "currencyid": {
  9905. "description": "报价货币ID",
  9906. "type": "integer"
  9907. },
  9908. "cutmode": {
  9909. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  9910. "type": "integer"
  9911. },
  9912. "decimalplace": {
  9913. "description": "报价小数位",
  9914. "type": "integer"
  9915. },
  9916. "delistingdate": {
  9917. "description": "商品退市时间(状态:退市) -- 已作废",
  9918. "type": "string"
  9919. },
  9920. "delistingmode": {
  9921. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  9922. "type": "integer"
  9923. },
  9924. "deliveryflag": {
  9925. "description": "交割标志 - 0:不可交割 1:可交割",
  9926. "type": "integer"
  9927. },
  9928. "forceclosemode": {
  9929. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  9930. "type": "integer"
  9931. },
  9932. "forceclosevalue": {
  9933. "description": "定期强平参数 [收益权]",
  9934. "type": "integer"
  9935. },
  9936. "goodscode": {
  9937. "description": "商品代码(内部)",
  9938. "type": "string"
  9939. },
  9940. "goodscurrencyid": {
  9941. "description": "合约货币ID",
  9942. "type": "integer"
  9943. },
  9944. "goodsgroupid": {
  9945. "description": "所属商品组ID",
  9946. "type": "integer"
  9947. },
  9948. "goodsid": {
  9949. "description": "商品ID(自增ID SEQ_GOODS)",
  9950. "type": "integer"
  9951. },
  9952. "goodsname": {
  9953. "description": "商品名称",
  9954. "type": "string"
  9955. },
  9956. "goodsquotetype": {
  9957. "description": "合约报价类型: 1-直接报价 2-间接报价",
  9958. "type": "integer"
  9959. },
  9960. "goodsstatus": {
  9961. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  9962. "type": "integer"
  9963. },
  9964. "goodstradetype": {
  9965. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  9966. "type": "integer"
  9967. },
  9968. "goodunitid": {
  9969. "description": "报价单位ID",
  9970. "type": "integer"
  9971. },
  9972. "hasquoter": {
  9973. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  9974. "type": "integer"
  9975. },
  9976. "hqprotecttime": {
  9977. "description": "行情保护时间(秒)",
  9978. "type": "integer"
  9979. },
  9980. "innerdealmode": {
  9981. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  9982. "type": "integer"
  9983. },
  9984. "isbuylimited": {
  9985. "description": "是否限制建仓量 - 0:不限制 1:限制",
  9986. "type": "integer"
  9987. },
  9988. "lasttradedate": {
  9989. "description": "最后交易日期(状态:待退市)",
  9990. "type": "string"
  9991. },
  9992. "listingdate": {
  9993. "description": "交易开始日期",
  9994. "type": "string"
  9995. },
  9996. "marketid": {
  9997. "description": "所属市场ID",
  9998. "type": "integer"
  9999. },
  10000. "modifierid": {
  10001. "description": "修改人",
  10002. "type": "integer"
  10003. },
  10004. "modifystatus": {
  10005. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  10006. "type": "integer"
  10007. },
  10008. "modifytime": {
  10009. "description": "修改时间",
  10010. "type": "string"
  10011. },
  10012. "outerdealmode": {
  10013. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  10014. "type": "integer"
  10015. },
  10016. "outgoodscode": {
  10017. "description": "商品代码(外部)",
  10018. "type": "string"
  10019. },
  10020. "qtydecimalplace": {
  10021. "description": "成交量小数位",
  10022. "type": "integer"
  10023. },
  10024. "quotegear": {
  10025. "description": "行情档位(1-10)",
  10026. "type": "integer"
  10027. },
  10028. "quoteminunit": {
  10029. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10030. "type": "integer"
  10031. },
  10032. "quoteshowtype": {
  10033. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  10034. "type": "integer"
  10035. },
  10036. "quoteshowtypeinterval": {
  10037. "description": "行情报价间隔时间(秒)(成交价时为0)",
  10038. "type": "integer"
  10039. },
  10040. "remark": {
  10041. "description": "备注",
  10042. "type": "string"
  10043. }
  10044. }
  10045. },
  10046. "models.GoodsBrand": {
  10047. "type": "object",
  10048. "properties": {
  10049. "brandid": {
  10050. "description": "品牌ID",
  10051. "type": "integer"
  10052. },
  10053. "brandname": {
  10054. "description": "品牌名称",
  10055. "type": "string"
  10056. },
  10057. "isvalid": {
  10058. "description": "是否有效 - 0:无效 1:有效",
  10059. "type": "integer"
  10060. }
  10061. }
  10062. },
  10063. "models.GoodsGroupConvert": {
  10064. "type": "object",
  10065. "properties": {
  10066. "convertratio": {
  10067. "description": "折算系数",
  10068. "type": "number"
  10069. },
  10070. "dstgoodsgroupid": {
  10071. "description": "目标期货品种ID",
  10072. "type": "integer"
  10073. },
  10074. "goodsgroupname": {
  10075. "description": "期货品种名称",
  10076. "type": "string"
  10077. },
  10078. "outergroupcode": {
  10079. "description": "期货品种代码",
  10080. "type": "string"
  10081. },
  10082. "srcgoodsgroupid": {
  10083. "description": "源期货品种ID",
  10084. "type": "integer"
  10085. }
  10086. }
  10087. },
  10088. "models.GoodsIDAndName": {
  10089. "type": "object",
  10090. "required": [
  10091. "goodscode",
  10092. "goodsid",
  10093. "goodsname",
  10094. "marketid"
  10095. ],
  10096. "properties": {
  10097. "goodscode": {
  10098. "description": "商品代码(内部)",
  10099. "type": "string"
  10100. },
  10101. "goodsid": {
  10102. "description": "商品ID(自增ID SEQ_GOODS)",
  10103. "type": "integer"
  10104. },
  10105. "goodsname": {
  10106. "description": "商品名称",
  10107. "type": "string"
  10108. },
  10109. "marketid": {
  10110. "description": "所属市场ID",
  10111. "type": "integer"
  10112. }
  10113. }
  10114. },
  10115. "models.GoodsTypeModel": {
  10116. "type": "object",
  10117. "properties": {
  10118. "modelid": {
  10119. "description": "型号ID",
  10120. "type": "integer"
  10121. },
  10122. "modelname": {
  10123. "description": "型号名称",
  10124. "type": "string"
  10125. },
  10126. "updatetime": {
  10127. "description": "更新时间",
  10128. "type": "string"
  10129. }
  10130. }
  10131. },
  10132. "models.HsbyBuyMyPayOrder": {
  10133. "type": "object",
  10134. "required": [
  10135. "goodscode",
  10136. "goodsname",
  10137. "tradeid",
  10138. "trademode"
  10139. ],
  10140. "properties": {
  10141. "agreeunit": {
  10142. "description": "合约单位",
  10143. "type": "number"
  10144. },
  10145. "buyaccountid": {
  10146. "description": "买方账号ID[报价币种]",
  10147. "type": "integer"
  10148. },
  10149. "buyorderid": {
  10150. "description": "买方委托单号",
  10151. "type": "string"
  10152. },
  10153. "createtime": {
  10154. "description": "创建时间",
  10155. "type": "string"
  10156. },
  10157. "currencysign": {
  10158. "description": "货币符号",
  10159. "type": "string"
  10160. },
  10161. "decimalplace": {
  10162. "description": "报价小数位",
  10163. "type": "integer"
  10164. },
  10165. "goodscode": {
  10166. "description": "商品代码(内部)",
  10167. "type": "string"
  10168. },
  10169. "goodsid": {
  10170. "description": "商品ID",
  10171. "type": "integer"
  10172. },
  10173. "goodsname": {
  10174. "description": "商品名称",
  10175. "type": "string"
  10176. },
  10177. "marketid": {
  10178. "description": "市场ID",
  10179. "type": "integer"
  10180. },
  10181. "offamount": {
  10182. "description": "优惠金额",
  10183. "type": "number"
  10184. },
  10185. "payamount": {
  10186. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  10187. "type": "number"
  10188. },
  10189. "payflag": {
  10190. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  10191. "type": "integer"
  10192. },
  10193. "paylimitedtime": {
  10194. "description": "支付期限",
  10195. "type": "string"
  10196. },
  10197. "paytime": {
  10198. "description": "付款时间",
  10199. "type": "string"
  10200. },
  10201. "picurls1": {
  10202. "description": "预售商品介绍图片[多张用逗号分隔]",
  10203. "type": "string"
  10204. },
  10205. "picurls2": {
  10206. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  10207. "type": "string"
  10208. },
  10209. "sellaccountid": {
  10210. "description": "卖方账号ID[报价币种]",
  10211. "type": "integer"
  10212. },
  10213. "sellorderid": {
  10214. "description": "卖方委托单号",
  10215. "type": "string"
  10216. },
  10217. "tradeamount": {
  10218. "description": "成交金额",
  10219. "type": "number"
  10220. },
  10221. "tradecharge": {
  10222. "description": "成交手续费(买方)",
  10223. "type": "number"
  10224. },
  10225. "tradedate": {
  10226. "description": "交易日(yyyyMMdd)",
  10227. "type": "string"
  10228. },
  10229. "tradeid": {
  10230. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10231. "type": "string"
  10232. },
  10233. "trademode": {
  10234. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10235. "type": "integer"
  10236. },
  10237. "tradeprice": {
  10238. "description": "成交价格",
  10239. "type": "number"
  10240. },
  10241. "tradeqty": {
  10242. "description": "成交数量",
  10243. "type": "integer"
  10244. },
  10245. "vendorname1": {
  10246. "description": "预售商品供应商名称",
  10247. "type": "string"
  10248. },
  10249. "vendorname2": {
  10250. "description": "挂牌商品供应商名称",
  10251. "type": "string"
  10252. }
  10253. }
  10254. },
  10255. "models.HsbyBuyMyTradeDetail": {
  10256. "type": "object",
  10257. "required": [
  10258. "accountid",
  10259. "buyorsell",
  10260. "goodscode",
  10261. "goodsid",
  10262. "goodsname",
  10263. "marketid",
  10264. "orderid",
  10265. "qty",
  10266. "time",
  10267. "trademode"
  10268. ],
  10269. "properties": {
  10270. "accountid": {
  10271. "description": "账户ID[报价币种]",
  10272. "type": "integer"
  10273. },
  10274. "agreeunit": {
  10275. "description": "合约单位",
  10276. "type": "number"
  10277. },
  10278. "amount": {
  10279. "description": "金额 = 价格 * 数量 * 合约单位",
  10280. "type": "number"
  10281. },
  10282. "buyorsell": {
  10283. "description": "买卖 - 0:买 1:卖",
  10284. "type": "integer"
  10285. },
  10286. "currencysign": {
  10287. "description": "货币符号",
  10288. "type": "string"
  10289. },
  10290. "decimalplace": {
  10291. "description": "报价小数位",
  10292. "type": "integer"
  10293. },
  10294. "goodscode": {
  10295. "description": "商品代码(内部)",
  10296. "type": "string"
  10297. },
  10298. "goodsid": {
  10299. "description": "商品ID",
  10300. "type": "integer"
  10301. },
  10302. "goodsname": {
  10303. "description": "商品名称",
  10304. "type": "string"
  10305. },
  10306. "marketid": {
  10307. "description": "市场ID",
  10308. "type": "integer"
  10309. },
  10310. "orderid": {
  10311. "description": "单号(成交单号)",
  10312. "type": "string"
  10313. },
  10314. "picurls1": {
  10315. "description": "预售商品介绍图片[多张用逗号分隔]",
  10316. "type": "string"
  10317. },
  10318. "picurls2": {
  10319. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  10320. "type": "string"
  10321. },
  10322. "price": {
  10323. "description": "价格",
  10324. "type": "number"
  10325. },
  10326. "qty": {
  10327. "description": "数量",
  10328. "type": "integer"
  10329. },
  10330. "time": {
  10331. "description": "时间",
  10332. "type": "string"
  10333. },
  10334. "trademode": {
  10335. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10336. "type": "integer"
  10337. },
  10338. "vendorname1": {
  10339. "description": "预售商品供应商名称",
  10340. "type": "string"
  10341. },
  10342. "vendorname2": {
  10343. "description": "挂牌商品供应商名称",
  10344. "type": "string"
  10345. }
  10346. }
  10347. },
  10348. "models.HsbyGoodsOrderDetail": {
  10349. "type": "object",
  10350. "required": [
  10351. "buyorsell",
  10352. "orderid",
  10353. "ordertime"
  10354. ],
  10355. "properties": {
  10356. "buyorsell": {
  10357. "description": "买卖 - 0:买 1:卖",
  10358. "type": "integer"
  10359. },
  10360. "currencysign": {
  10361. "description": "货币符号",
  10362. "type": "string"
  10363. },
  10364. "customername": {
  10365. "description": "客户名称(企业名称),已脱敏",
  10366. "type": "string"
  10367. },
  10368. "enableqty": {
  10369. "description": "可用数量",
  10370. "type": "integer"
  10371. },
  10372. "goodunit": {
  10373. "description": "报价单位",
  10374. "type": "string"
  10375. },
  10376. "orderid": {
  10377. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10378. "type": "string"
  10379. },
  10380. "orderprice": {
  10381. "description": "委托价格",
  10382. "type": "number"
  10383. },
  10384. "ordertime": {
  10385. "description": "委托时间",
  10386. "type": "string"
  10387. }
  10388. }
  10389. },
  10390. "models.HsbyListingGoodsDetail": {
  10391. "type": "object",
  10392. "required": [
  10393. "goodscode",
  10394. "goodsid",
  10395. "goodsname",
  10396. "marketid",
  10397. "trademode"
  10398. ],
  10399. "properties": {
  10400. "agreeunit": {
  10401. "description": "合约单位",
  10402. "type": "number"
  10403. },
  10404. "buymaxqty": {
  10405. "description": "购买上限 [71] - 0为不限",
  10406. "type": "integer"
  10407. },
  10408. "currency": {
  10409. "description": "货币",
  10410. "type": "string"
  10411. },
  10412. "currencysign": {
  10413. "description": "货币符号",
  10414. "type": "string"
  10415. },
  10416. "decimalplace": {
  10417. "description": "报价小数位",
  10418. "type": "integer"
  10419. },
  10420. "desccityid": {
  10421. "description": "目的地(市)ID",
  10422. "type": "integer"
  10423. },
  10424. "descprovinceid": {
  10425. "description": "目的地(省)ID",
  10426. "type": "integer"
  10427. },
  10428. "goodscode": {
  10429. "description": "商品代码(内部)",
  10430. "type": "string"
  10431. },
  10432. "goodsdesc": {
  10433. "description": "商品详情",
  10434. "type": "string"
  10435. },
  10436. "goodsid": {
  10437. "description": "商品ID(自增ID SEQ_GOODS)",
  10438. "type": "integer"
  10439. },
  10440. "goodsname": {
  10441. "description": "商品名称",
  10442. "type": "string"
  10443. },
  10444. "goodsprice": {
  10445. "description": "商品价格",
  10446. "type": "number"
  10447. },
  10448. "hotindex": {
  10449. "description": "景点热度",
  10450. "type": "integer"
  10451. },
  10452. "last": {
  10453. "description": "现价",
  10454. "type": "number"
  10455. },
  10456. "limitdown": {
  10457. "description": "跌停价",
  10458. "type": "number"
  10459. },
  10460. "limitup": {
  10461. "description": "涨停价",
  10462. "type": "number"
  10463. },
  10464. "lotsize": {
  10465. "description": "手数最小变动单位",
  10466. "type": "integer"
  10467. },
  10468. "marketid": {
  10469. "description": "所属市场ID",
  10470. "type": "integer"
  10471. },
  10472. "picurls": {
  10473. "description": "介绍图片[多张用逗号分隔]",
  10474. "type": "string"
  10475. },
  10476. "quoteminunit": {
  10477. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10478. "type": "integer"
  10479. },
  10480. "stepvalue": {
  10481. "description": "价格最小变动单位",
  10482. "type": "number"
  10483. },
  10484. "trademode": {
  10485. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10486. "type": "integer"
  10487. },
  10488. "vendorattr": {
  10489. "description": "供应商附件(多张,逗号分隔)",
  10490. "type": "string"
  10491. },
  10492. "vendorname": {
  10493. "description": "供应商名称",
  10494. "type": "string"
  10495. },
  10496. "vendorphone": {
  10497. "description": "供应商客服电话",
  10498. "type": "string"
  10499. },
  10500. "videourls": {
  10501. "description": "介绍视频[多张用逗号分隔]",
  10502. "type": "string"
  10503. }
  10504. }
  10505. },
  10506. "models.HsbyMarketGoods": {
  10507. "type": "object",
  10508. "required": [
  10509. "accountid",
  10510. "buyorsell",
  10511. "goodscode",
  10512. "goodsid",
  10513. "goodsname",
  10514. "marketid",
  10515. "orderid",
  10516. "trademode"
  10517. ],
  10518. "properties": {
  10519. "accountid": {
  10520. "description": "账户ID[报价币种]",
  10521. "type": "integer"
  10522. },
  10523. "agreeunit": {
  10524. "description": "合约单位",
  10525. "type": "number"
  10526. },
  10527. "buyorsell": {
  10528. "description": "买卖 - 0:买 1:卖",
  10529. "type": "integer"
  10530. },
  10531. "categoryid": {
  10532. "description": "类别ID(WRCATEGORY)",
  10533. "type": "integer"
  10534. },
  10535. "currency": {
  10536. "description": "货币",
  10537. "type": "string"
  10538. },
  10539. "currencysign": {
  10540. "description": "货币符号",
  10541. "type": "string"
  10542. },
  10543. "customername": {
  10544. "description": "卖家名称",
  10545. "type": "string"
  10546. },
  10547. "decimalplace": {
  10548. "description": "报价小数位",
  10549. "type": "integer"
  10550. },
  10551. "goodscode": {
  10552. "description": "商品代码(内部)",
  10553. "type": "string"
  10554. },
  10555. "goodsid": {
  10556. "description": "商品ID",
  10557. "type": "integer"
  10558. },
  10559. "goodsname": {
  10560. "description": "商品名称",
  10561. "type": "string"
  10562. },
  10563. "goodsprice": {
  10564. "description": "商品价格",
  10565. "type": "number"
  10566. },
  10567. "hascoupon": {
  10568. "description": "是否可用优惠卷",
  10569. "type": "boolean"
  10570. },
  10571. "hotindex": {
  10572. "description": "景点热度",
  10573. "type": "integer"
  10574. },
  10575. "marketid": {
  10576. "description": "市场ID",
  10577. "type": "integer"
  10578. },
  10579. "orderid": {
  10580. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10581. "type": "string"
  10582. },
  10583. "orderprice": {
  10584. "description": "委托价格",
  10585. "type": "number"
  10586. },
  10587. "orderstatus": {
  10588. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10589. "type": "integer"
  10590. },
  10591. "picurls": {
  10592. "description": "介绍图片[多张用逗号分隔]",
  10593. "type": "string"
  10594. },
  10595. "quoteminunit": {
  10596. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10597. "type": "integer"
  10598. },
  10599. "sellUserID": {
  10600. "description": "卖方UserID",
  10601. "type": "integer"
  10602. },
  10603. "trademode": {
  10604. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10605. "type": "integer"
  10606. },
  10607. "videourls": {
  10608. "description": "介绍视频[多张用逗号分隔]",
  10609. "type": "string"
  10610. }
  10611. }
  10612. },
  10613. "models.HsbyMarketGoodsDetail": {
  10614. "type": "object",
  10615. "required": [
  10616. "accountid",
  10617. "buyorsell",
  10618. "goodscode",
  10619. "goodsid",
  10620. "goodsname",
  10621. "marketid",
  10622. "orderid",
  10623. "orderqty",
  10624. "trademode"
  10625. ],
  10626. "properties": {
  10627. "accountid": {
  10628. "description": "账户ID[报价币种]",
  10629. "type": "integer"
  10630. },
  10631. "agreeunit": {
  10632. "description": "合约单位",
  10633. "type": "number"
  10634. },
  10635. "buymaxqty": {
  10636. "description": "购买上限 [71] - 0为不限",
  10637. "type": "integer"
  10638. },
  10639. "buyorsell": {
  10640. "description": "买卖 - 0:买 1:卖",
  10641. "type": "integer"
  10642. },
  10643. "cancelqty": {
  10644. "description": "撤单数量",
  10645. "type": "integer"
  10646. },
  10647. "categoryid": {
  10648. "description": "类别ID(WRCATEGORY)",
  10649. "type": "integer"
  10650. },
  10651. "currency": {
  10652. "description": "货币",
  10653. "type": "string"
  10654. },
  10655. "currencysign": {
  10656. "description": "货币符号",
  10657. "type": "string"
  10658. },
  10659. "customername": {
  10660. "description": "卖家名称",
  10661. "type": "string"
  10662. },
  10663. "decimalplace": {
  10664. "description": "报价小数位",
  10665. "type": "integer"
  10666. },
  10667. "goodscode": {
  10668. "description": "商品代码(内部)",
  10669. "type": "string"
  10670. },
  10671. "goodsdesc": {
  10672. "description": "商品详情",
  10673. "type": "string"
  10674. },
  10675. "goodsid": {
  10676. "description": "商品ID",
  10677. "type": "integer"
  10678. },
  10679. "goodsname": {
  10680. "description": "商品名称",
  10681. "type": "string"
  10682. },
  10683. "goodsprice": {
  10684. "description": "商品价格",
  10685. "type": "number"
  10686. },
  10687. "hotindex": {
  10688. "description": "景点热度",
  10689. "type": "integer"
  10690. },
  10691. "lotsize": {
  10692. "description": "手数最小变动单位",
  10693. "type": "integer"
  10694. },
  10695. "marketid": {
  10696. "description": "市场ID",
  10697. "type": "integer"
  10698. },
  10699. "orderid": {
  10700. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10701. "type": "string"
  10702. },
  10703. "orderprice": {
  10704. "description": "委托价格",
  10705. "type": "number"
  10706. },
  10707. "orderqty": {
  10708. "description": "委托数量",
  10709. "type": "integer"
  10710. },
  10711. "orderstatus": {
  10712. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10713. "type": "integer"
  10714. },
  10715. "picurls": {
  10716. "description": "介绍图片[多张用逗号分隔]",
  10717. "type": "string"
  10718. },
  10719. "quoteminunit": {
  10720. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10721. "type": "integer"
  10722. },
  10723. "sellUserID": {
  10724. "description": "卖方UserID",
  10725. "type": "integer"
  10726. },
  10727. "trademode": {
  10728. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10729. "type": "integer"
  10730. },
  10731. "tradeqty": {
  10732. "description": "成交数量",
  10733. "type": "integer"
  10734. },
  10735. "vendorattr": {
  10736. "description": "供应商附件(多张,逗号分隔)",
  10737. "type": "string"
  10738. },
  10739. "vendorname": {
  10740. "description": "供应商名称",
  10741. "type": "string"
  10742. },
  10743. "vendorphone": {
  10744. "description": "供应商客服电话",
  10745. "type": "string"
  10746. },
  10747. "videourls": {
  10748. "description": "介绍视频[多张用逗号分隔]",
  10749. "type": "string"
  10750. }
  10751. }
  10752. },
  10753. "models.HsbyMarketInfo": {
  10754. "type": "object",
  10755. "required": [
  10756. "marketid",
  10757. "marketstatus",
  10758. "trademode"
  10759. ],
  10760. "properties": {
  10761. "marketid": {
  10762. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  10763. "type": "integer"
  10764. },
  10765. "marketname": {
  10766. "description": "市场名称",
  10767. "type": "string"
  10768. },
  10769. "marketstatus": {
  10770. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  10771. "type": "integer"
  10772. },
  10773. "trademode": {
  10774. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10775. "type": "integer"
  10776. }
  10777. }
  10778. },
  10779. "models.HsbyMyGoods": {
  10780. "type": "object",
  10781. "required": [
  10782. "accountid",
  10783. "goodscode",
  10784. "goodsid",
  10785. "goodsname",
  10786. "marketid",
  10787. "trademode"
  10788. ],
  10789. "properties": {
  10790. "accountid": {
  10791. "description": "账号Id",
  10792. "type": "integer"
  10793. },
  10794. "agreeunit": {
  10795. "description": "合约单位",
  10796. "type": "number"
  10797. },
  10798. "buyaverageprice": {
  10799. "description": "持仓均价",
  10800. "type": "number"
  10801. },
  10802. "buycurholderamount": {
  10803. "description": "买当前持仓总金额[商品币种]",
  10804. "type": "number"
  10805. },
  10806. "buycurpositionqty": {
  10807. "description": "买当前持仓总数量",
  10808. "type": "integer"
  10809. },
  10810. "buymaxqty": {
  10811. "description": "购买上限 [71] - 0为不限",
  10812. "type": "integer"
  10813. },
  10814. "currencysign": {
  10815. "description": "货币符号",
  10816. "type": "string"
  10817. },
  10818. "decimalplace": {
  10819. "description": "报价小数位",
  10820. "type": "integer"
  10821. },
  10822. "enableqty": {
  10823. "description": "可用数量",
  10824. "type": "integer"
  10825. },
  10826. "goodscode": {
  10827. "description": "商品代码(内部)",
  10828. "type": "string"
  10829. },
  10830. "goodsid": {
  10831. "description": "商品Id",
  10832. "type": "integer"
  10833. },
  10834. "goodsname": {
  10835. "description": "商品名称",
  10836. "type": "string"
  10837. },
  10838. "goodsprice": {
  10839. "description": "商品价格",
  10840. "type": "number"
  10841. },
  10842. "goodsstatus": {
  10843. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  10844. "type": "integer"
  10845. },
  10846. "last": {
  10847. "description": "现价(仅使用于挂牌点选)",
  10848. "type": "number"
  10849. },
  10850. "limitdown": {
  10851. "description": "跌停价(仅使用于挂牌点选)",
  10852. "type": "number"
  10853. },
  10854. "limitup": {
  10855. "description": "涨停价(仅使用于挂牌点选)",
  10856. "type": "number"
  10857. },
  10858. "lotsize": {
  10859. "description": "手数最小变动单位",
  10860. "type": "integer"
  10861. },
  10862. "marketid": {
  10863. "description": "所属市场ID",
  10864. "type": "integer"
  10865. },
  10866. "picurls": {
  10867. "description": "介绍图片[多张用逗号分隔]",
  10868. "type": "string"
  10869. },
  10870. "quoteminunit": {
  10871. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10872. "type": "integer"
  10873. },
  10874. "stepvalue": {
  10875. "description": "价格最小变动单位",
  10876. "type": "number"
  10877. },
  10878. "trademode": {
  10879. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10880. "type": "integer"
  10881. }
  10882. }
  10883. },
  10884. "models.HsbyMyPackage": {
  10885. "type": "object",
  10886. "required": [
  10887. "goodscode",
  10888. "goodsname",
  10889. "takeorderid",
  10890. "trademode"
  10891. ],
  10892. "properties": {
  10893. "accountid": {
  10894. "description": "账户ID",
  10895. "type": "integer"
  10896. },
  10897. "address": {
  10898. "description": "提货人详细地址",
  10899. "type": "string"
  10900. },
  10901. "agreeunit": {
  10902. "description": "合约单位",
  10903. "type": "number"
  10904. },
  10905. "amount": {
  10906. "description": "提货金额",
  10907. "type": "number"
  10908. },
  10909. "auditer": {
  10910. "description": "审核人",
  10911. "type": "integer"
  10912. },
  10913. "audittime": {
  10914. "description": "审核时间",
  10915. "type": "string"
  10916. },
  10917. "averageprice": {
  10918. "description": "均价",
  10919. "type": "number"
  10920. },
  10921. "cardnum": {
  10922. "description": "提货人证件号码",
  10923. "type": "string"
  10924. },
  10925. "cardtypeid": {
  10926. "description": "提货人证件类型",
  10927. "type": "integer"
  10928. },
  10929. "checkremark": {
  10930. "description": "审核备注",
  10931. "type": "string"
  10932. },
  10933. "currencysign": {
  10934. "description": "货币符号",
  10935. "type": "string"
  10936. },
  10937. "decimalplace": {
  10938. "description": "报价小数位",
  10939. "type": "integer"
  10940. },
  10941. "goodscode": {
  10942. "description": "商品代码(内部)",
  10943. "type": "string"
  10944. },
  10945. "goodsid": {
  10946. "description": "商品ID",
  10947. "type": "integer"
  10948. },
  10949. "goodsname": {
  10950. "description": "商品名称",
  10951. "type": "string"
  10952. },
  10953. "handlestatus": {
  10954. "description": "处理状态",
  10955. "type": "integer"
  10956. },
  10957. "marketid": {
  10958. "description": "市场ID",
  10959. "type": "integer"
  10960. },
  10961. "phonenum": {
  10962. "description": "提货人联系方式",
  10963. "type": "string"
  10964. },
  10965. "picurls": {
  10966. "description": "介绍图片[多张用逗号分隔]",
  10967. "type": "string"
  10968. },
  10969. "qty": {
  10970. "description": "提货数量",
  10971. "type": "number"
  10972. },
  10973. "recivername": {
  10974. "description": "提货人姓名",
  10975. "type": "string"
  10976. },
  10977. "reqtime": {
  10978. "description": "更新时间",
  10979. "type": "string"
  10980. },
  10981. "takemode": {
  10982. "description": "提货方式 - 2:自提 3:配送",
  10983. "type": "integer"
  10984. },
  10985. "takeorderid": {
  10986. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  10987. "type": "string"
  10988. },
  10989. "takeorderstatus": {
  10990. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10991. "type": "integer"
  10992. },
  10993. "takeremark": {
  10994. "description": "提货备注",
  10995. "type": "string"
  10996. },
  10997. "tradedate": {
  10998. "description": "交易日(yyyyMMdd)",
  10999. "type": "string"
  11000. },
  11001. "trademode": {
  11002. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11003. "type": "integer"
  11004. },
  11005. "userid": {
  11006. "description": "用户ID",
  11007. "type": "integer"
  11008. },
  11009. "vendorname": {
  11010. "description": "供应商名称",
  11011. "type": "string"
  11012. }
  11013. }
  11014. },
  11015. "models.HsbyPreGoods": {
  11016. "type": "object",
  11017. "required": [
  11018. "goodscode",
  11019. "goodsid",
  11020. "goodsname",
  11021. "marketid",
  11022. "trademode"
  11023. ],
  11024. "properties": {
  11025. "agreeunit": {
  11026. "description": "合约单位",
  11027. "type": "number"
  11028. },
  11029. "currency": {
  11030. "description": "货币",
  11031. "type": "string"
  11032. },
  11033. "currencysign": {
  11034. "description": "货币符号",
  11035. "type": "string"
  11036. },
  11037. "decimalplace": {
  11038. "description": "报价小数位",
  11039. "type": "integer"
  11040. },
  11041. "enableqty": {
  11042. "description": "剩余数量",
  11043. "type": "integer"
  11044. },
  11045. "goodscode": {
  11046. "description": "商品代码(内部)",
  11047. "type": "string"
  11048. },
  11049. "goodsid": {
  11050. "description": "商品ID(自增ID SEQ_GOODS)",
  11051. "type": "integer"
  11052. },
  11053. "goodsname": {
  11054. "description": "商品名称",
  11055. "type": "string"
  11056. },
  11057. "goodsstatus": {
  11058. "description": "商品状态- 2:未上市 3:上市",
  11059. "type": "integer"
  11060. },
  11061. "lasttradedate": {
  11062. "description": "最后交易日期(状态:待退市)",
  11063. "type": "string"
  11064. },
  11065. "listingdate": {
  11066. "description": "交易开始日期",
  11067. "type": "string"
  11068. },
  11069. "marketid": {
  11070. "description": "所属市场ID",
  11071. "type": "integer"
  11072. },
  11073. "picurls": {
  11074. "description": "介绍图片[多张用逗号分隔]",
  11075. "type": "string"
  11076. },
  11077. "presaledqty": {
  11078. "description": "已预售量(预售结束时更新)",
  11079. "type": "integer"
  11080. },
  11081. "presaleqty": {
  11082. "description": "预售数量",
  11083. "type": "integer"
  11084. },
  11085. "quoteminunit": {
  11086. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11087. "type": "integer"
  11088. },
  11089. "refprice": {
  11090. "description": "参考价格[一口价]",
  11091. "type": "number"
  11092. },
  11093. "relatedgoodsid": {
  11094. "description": "关联交易合约ID",
  11095. "type": "integer"
  11096. },
  11097. "trademode": {
  11098. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11099. "type": "integer"
  11100. },
  11101. "videourls": {
  11102. "description": "介绍视频[多张用逗号分隔]",
  11103. "type": "string"
  11104. }
  11105. }
  11106. },
  11107. "models.HsbyPreGoodsDetail": {
  11108. "type": "object",
  11109. "required": [
  11110. "goodscode",
  11111. "goodsid",
  11112. "goodsname",
  11113. "marketid",
  11114. "trademode"
  11115. ],
  11116. "properties": {
  11117. "agreeunit": {
  11118. "description": "合约单位",
  11119. "type": "number"
  11120. },
  11121. "buymaxqty": {
  11122. "description": "购买上限 [71] - 0为不限",
  11123. "type": "integer"
  11124. },
  11125. "currency": {
  11126. "description": "货币",
  11127. "type": "string"
  11128. },
  11129. "currencysign": {
  11130. "description": "货币符号",
  11131. "type": "string"
  11132. },
  11133. "customername": {
  11134. "description": "发行单位",
  11135. "type": "string"
  11136. },
  11137. "decimalplace": {
  11138. "description": "报价小数位",
  11139. "type": "integer"
  11140. },
  11141. "desccityid": {
  11142. "description": "目的地(市)ID",
  11143. "type": "integer"
  11144. },
  11145. "descprovinceid": {
  11146. "description": "目的地(省)ID",
  11147. "type": "integer"
  11148. },
  11149. "enableqty": {
  11150. "description": "剩余数量",
  11151. "type": "integer"
  11152. },
  11153. "goodscode": {
  11154. "description": "商品代码(内部)",
  11155. "type": "string"
  11156. },
  11157. "goodsdesc": {
  11158. "description": "商品详情",
  11159. "type": "string"
  11160. },
  11161. "goodsid": {
  11162. "description": "商品ID(自增ID SEQ_GOODS)",
  11163. "type": "integer"
  11164. },
  11165. "goodsname": {
  11166. "description": "商品名称",
  11167. "type": "string"
  11168. },
  11169. "goodsstatus": {
  11170. "description": "商品状态- 2:未上市 3:上市",
  11171. "type": "integer"
  11172. },
  11173. "goodunit": {
  11174. "description": "报价单位",
  11175. "type": "string"
  11176. },
  11177. "lasttradedate": {
  11178. "description": "最后交易日期(状态:待退市)",
  11179. "type": "string"
  11180. },
  11181. "listingdate": {
  11182. "description": "交易开始日期",
  11183. "type": "string"
  11184. },
  11185. "lotsize": {
  11186. "description": "手数最小变动单位",
  11187. "type": "integer"
  11188. },
  11189. "marketid": {
  11190. "description": "所属市场ID",
  11191. "type": "integer"
  11192. },
  11193. "picurls": {
  11194. "description": "介绍图片[多张用逗号分隔]",
  11195. "type": "string"
  11196. },
  11197. "presaledqty": {
  11198. "description": "已预售量(预售结束时更新)",
  11199. "type": "integer"
  11200. },
  11201. "presaleqty": {
  11202. "description": "预售数量",
  11203. "type": "integer"
  11204. },
  11205. "quoteminunit": {
  11206. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11207. "type": "integer"
  11208. },
  11209. "refprice": {
  11210. "description": "参考价格[一口价]",
  11211. "type": "number"
  11212. },
  11213. "relatedgoodsid": {
  11214. "description": "关联交易合约ID",
  11215. "type": "integer"
  11216. },
  11217. "stepvalue": {
  11218. "description": "价格最小变动单位",
  11219. "type": "number"
  11220. },
  11221. "trademode": {
  11222. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11223. "type": "integer"
  11224. },
  11225. "vendorattr": {
  11226. "description": "供应商附件(多张,逗号分隔)",
  11227. "type": "string"
  11228. },
  11229. "vendorname": {
  11230. "description": "供应商名称",
  11231. "type": "string"
  11232. },
  11233. "vendorphone": {
  11234. "description": "供应商客服电话",
  11235. "type": "string"
  11236. },
  11237. "videourls": {
  11238. "description": "介绍视频[多张用逗号分隔]",
  11239. "type": "string"
  11240. }
  11241. }
  11242. },
  11243. "models.HsbySellCollectionOrder": {
  11244. "type": "object",
  11245. "required": [
  11246. "goodscode",
  11247. "goodsname",
  11248. "tradeid",
  11249. "trademode"
  11250. ],
  11251. "properties": {
  11252. "agreeunit": {
  11253. "description": "合约单位",
  11254. "type": "number"
  11255. },
  11256. "buyaccountid": {
  11257. "description": "买方账号ID[报价币种]",
  11258. "type": "integer"
  11259. },
  11260. "buyorderid": {
  11261. "description": "买方委托单号",
  11262. "type": "string"
  11263. },
  11264. "createtime": {
  11265. "description": "创建时间",
  11266. "type": "string"
  11267. },
  11268. "currencysign": {
  11269. "description": "货币符号",
  11270. "type": "string"
  11271. },
  11272. "decimalplace": {
  11273. "description": "报价小数位",
  11274. "type": "integer"
  11275. },
  11276. "goodscode": {
  11277. "description": "商品代码(内部)",
  11278. "type": "string"
  11279. },
  11280. "goodsid": {
  11281. "description": "商品ID",
  11282. "type": "integer"
  11283. },
  11284. "goodsname": {
  11285. "description": "商品名称",
  11286. "type": "string"
  11287. },
  11288. "marketid": {
  11289. "description": "市场ID",
  11290. "type": "integer"
  11291. },
  11292. "offamount": {
  11293. "description": "优惠金额",
  11294. "type": "number"
  11295. },
  11296. "payamount": {
  11297. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  11298. "type": "number"
  11299. },
  11300. "payflag": {
  11301. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  11302. "type": "integer"
  11303. },
  11304. "paylimitedtime": {
  11305. "description": "支付期限",
  11306. "type": "string"
  11307. },
  11308. "paytime": {
  11309. "description": "付款时间",
  11310. "type": "string"
  11311. },
  11312. "picurls": {
  11313. "description": "商品介绍图片[多张用逗号分隔]",
  11314. "type": "string"
  11315. },
  11316. "sellaccountid": {
  11317. "description": "卖方账号ID[报价币种]",
  11318. "type": "integer"
  11319. },
  11320. "sellorderid": {
  11321. "description": "卖方委托单号",
  11322. "type": "string"
  11323. },
  11324. "tradeamount": {
  11325. "description": "成交金额",
  11326. "type": "number"
  11327. },
  11328. "tradecharge": {
  11329. "description": "成交手续费(买方)",
  11330. "type": "number"
  11331. },
  11332. "tradedate": {
  11333. "description": "交易日(yyyyMMdd)",
  11334. "type": "string"
  11335. },
  11336. "tradeid": {
  11337. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11338. "type": "string"
  11339. },
  11340. "trademode": {
  11341. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11342. "type": "integer"
  11343. },
  11344. "tradeprice": {
  11345. "description": "成交价格",
  11346. "type": "number"
  11347. },
  11348. "tradeqty": {
  11349. "description": "成交数量",
  11350. "type": "integer"
  11351. }
  11352. }
  11353. },
  11354. "models.HsbySellMyDetail": {
  11355. "type": "object",
  11356. "required": [
  11357. "accountid",
  11358. "buyorsell",
  11359. "goodscode",
  11360. "goodsid",
  11361. "goodsname",
  11362. "marketid",
  11363. "orderid",
  11364. "time",
  11365. "trademode"
  11366. ],
  11367. "properties": {
  11368. "accountid": {
  11369. "description": "账户ID[报价币种]",
  11370. "type": "integer"
  11371. },
  11372. "agreeunit": {
  11373. "description": "合约单位",
  11374. "type": "number"
  11375. },
  11376. "buyorsell": {
  11377. "description": "买卖 - 0:买 1:卖",
  11378. "type": "integer"
  11379. },
  11380. "currencysign": {
  11381. "description": "货币符号",
  11382. "type": "string"
  11383. },
  11384. "decimalplace": {
  11385. "description": "报价小数位",
  11386. "type": "integer"
  11387. },
  11388. "goodscode": {
  11389. "description": "商品代码(内部)",
  11390. "type": "string"
  11391. },
  11392. "goodsid": {
  11393. "description": "商品ID",
  11394. "type": "integer"
  11395. },
  11396. "goodsname": {
  11397. "description": "商品名称",
  11398. "type": "string"
  11399. },
  11400. "marketid": {
  11401. "description": "市场ID",
  11402. "type": "integer"
  11403. },
  11404. "orderid": {
  11405. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  11406. "type": "string"
  11407. },
  11408. "ordertype": {
  11409. "description": "单据类型:0 - 发布中, 1 - 已完成",
  11410. "type": "integer"
  11411. },
  11412. "picurls": {
  11413. "description": "介绍图片[多张用逗号分隔]",
  11414. "type": "string"
  11415. },
  11416. "price": {
  11417. "description": "价格",
  11418. "type": "number"
  11419. },
  11420. "qty": {
  11421. "description": "数量",
  11422. "type": "integer"
  11423. },
  11424. "time": {
  11425. "description": "时间",
  11426. "type": "string"
  11427. },
  11428. "trademode": {
  11429. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11430. "type": "integer"
  11431. },
  11432. "vendorname": {
  11433. "description": "供应商名称",
  11434. "type": "string"
  11435. }
  11436. }
  11437. },
  11438. "models.HsbyTopGoods": {
  11439. "type": "object",
  11440. "required": [
  11441. "goodscode",
  11442. "goodsid",
  11443. "goodsname",
  11444. "marketid",
  11445. "trademode"
  11446. ],
  11447. "properties": {
  11448. "agreeunit": {
  11449. "description": "合约单位",
  11450. "type": "number"
  11451. },
  11452. "currency": {
  11453. "description": "货币",
  11454. "type": "string"
  11455. },
  11456. "currencysign": {
  11457. "description": "货币符号",
  11458. "type": "string"
  11459. },
  11460. "decimalplace": {
  11461. "description": "报价小数位",
  11462. "type": "integer"
  11463. },
  11464. "goodscode": {
  11465. "description": "商品代码(内部)",
  11466. "type": "string"
  11467. },
  11468. "goodsid": {
  11469. "description": "商品ID(自增ID SEQ_GOODS)",
  11470. "type": "integer"
  11471. },
  11472. "goodsname": {
  11473. "description": "商品名称",
  11474. "type": "string"
  11475. },
  11476. "hotindex": {
  11477. "description": "景点热度",
  11478. "type": "integer"
  11479. },
  11480. "last": {
  11481. "description": "现价",
  11482. "type": "number"
  11483. },
  11484. "marketid": {
  11485. "description": "所属市场ID",
  11486. "type": "integer"
  11487. },
  11488. "picurls": {
  11489. "description": "介绍图片[多张用逗号分隔]",
  11490. "type": "string"
  11491. },
  11492. "quoteminunit": {
  11493. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11494. "type": "integer"
  11495. },
  11496. "trademode": {
  11497. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11498. "type": "integer"
  11499. },
  11500. "videourls": {
  11501. "description": "介绍视频[多张用逗号分隔]",
  11502. "type": "string"
  11503. }
  11504. }
  11505. },
  11506. "models.HybsMyBuyOrderDetail": {
  11507. "type": "object",
  11508. "required": [
  11509. "accountid",
  11510. "buyorsell",
  11511. "goodscode",
  11512. "goodsid",
  11513. "goodsname",
  11514. "marketid",
  11515. "orderid",
  11516. "orderqty",
  11517. "ordertime",
  11518. "trademode"
  11519. ],
  11520. "properties": {
  11521. "accountid": {
  11522. "description": "账户ID[报价币种]",
  11523. "type": "integer"
  11524. },
  11525. "agreeunit": {
  11526. "description": "合约单位",
  11527. "type": "number"
  11528. },
  11529. "buyorsell": {
  11530. "description": "买卖 - 0:买 1:卖",
  11531. "type": "integer"
  11532. },
  11533. "cancelqty": {
  11534. "description": "撤单数量",
  11535. "type": "integer"
  11536. },
  11537. "currencysign": {
  11538. "description": "货币符号",
  11539. "type": "string"
  11540. },
  11541. "decimalplace": {
  11542. "description": "报价小数位",
  11543. "type": "integer"
  11544. },
  11545. "goodscode": {
  11546. "description": "商品代码(内部)",
  11547. "type": "string"
  11548. },
  11549. "goodsid": {
  11550. "description": "商品ID",
  11551. "type": "integer"
  11552. },
  11553. "goodsname": {
  11554. "description": "商品名称",
  11555. "type": "string"
  11556. },
  11557. "listingselecttype": {
  11558. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11559. "type": "integer"
  11560. },
  11561. "marketid": {
  11562. "description": "市场ID",
  11563. "type": "integer"
  11564. },
  11565. "mybuystatus": {
  11566. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  11567. "type": "integer"
  11568. },
  11569. "orderamount": {
  11570. "description": "委托金额",
  11571. "type": "number"
  11572. },
  11573. "orderid": {
  11574. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11575. "type": "string"
  11576. },
  11577. "orderprice": {
  11578. "description": "委托价格",
  11579. "type": "number"
  11580. },
  11581. "orderqty": {
  11582. "description": "委托数量",
  11583. "type": "integer"
  11584. },
  11585. "orderstatus": {
  11586. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11587. "type": "integer"
  11588. },
  11589. "ordertime": {
  11590. "description": "委托时间",
  11591. "type": "string"
  11592. },
  11593. "picurls1": {
  11594. "description": "预售商品介绍图片[多张用逗号分隔]",
  11595. "type": "string"
  11596. },
  11597. "picurls2": {
  11598. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  11599. "type": "string"
  11600. },
  11601. "trademode": {
  11602. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11603. "type": "integer"
  11604. },
  11605. "tradeqty": {
  11606. "description": "成交数量",
  11607. "type": "integer"
  11608. },
  11609. "vendorname1": {
  11610. "description": "预售商品供应商名称",
  11611. "type": "string"
  11612. },
  11613. "vendorname2": {
  11614. "description": "挂牌商品供应商名称",
  11615. "type": "string"
  11616. }
  11617. }
  11618. },
  11619. "models.Market": {
  11620. "type": "object",
  11621. "required": [
  11622. "marketid",
  11623. "marketstatus",
  11624. "openmethod",
  11625. "reckonpricealgorithm",
  11626. "trademode",
  11627. "tradeproperty"
  11628. ],
  11629. "properties": {
  11630. "auctionwrtype": {
  11631. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  11632. "type": "integer"
  11633. },
  11634. "canacceptquote": {
  11635. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  11636. "type": "integer"
  11637. },
  11638. "cangoodsexercise": {
  11639. "description": "[期权]是否可现货行权- 0:否 1:是",
  11640. "type": "integer"
  11641. },
  11642. "cangoodsexercisetype": {
  11643. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  11644. "type": "integer"
  11645. },
  11646. "canmanualquotestrike": {
  11647. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  11648. "type": "integer"
  11649. },
  11650. "canmutistage": {
  11651. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  11652. "type": "integer"
  11653. },
  11654. "canpreexercise": {
  11655. "description": "[期权]是否可预申报- 0:否 1:是",
  11656. "type": "integer"
  11657. },
  11658. "clearinterval": {
  11659. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  11660. "type": "integer"
  11661. },
  11662. "contracttmp": {
  11663. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  11664. "type": "string"
  11665. },
  11666. "exchareaid": {
  11667. "description": "所属交易所,可以没有",
  11668. "type": "integer"
  11669. },
  11670. "goodstype": {
  11671. "description": "商品类型 - 1:交易商品 2:仓单商品",
  11672. "type": "integer"
  11673. },
  11674. "hasrebate": {
  11675. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  11676. "type": "integer"
  11677. },
  11678. "hastradecredit": {
  11679. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  11680. "type": "integer"
  11681. },
  11682. "haswr": {
  11683. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  11684. "type": "integer"
  11685. },
  11686. "isdeductmargin": {
  11687. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  11688. "type": "integer"
  11689. },
  11690. "isrecordsource": {
  11691. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  11692. "type": "integer"
  11693. },
  11694. "isreleasemargin": {
  11695. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  11696. "type": "integer"
  11697. },
  11698. "marginformula": {
  11699. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  11700. "type": "integer"
  11701. },
  11702. "marginformula2": {
  11703. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  11704. "type": "integer"
  11705. },
  11706. "marketid": {
  11707. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  11708. "type": "integer"
  11709. },
  11710. "marketname": {
  11711. "description": "市场名称",
  11712. "type": "string"
  11713. },
  11714. "marketserviceid": {
  11715. "description": "市场服务ID",
  11716. "type": "integer"
  11717. },
  11718. "marketstatus": {
  11719. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  11720. "type": "integer"
  11721. },
  11722. "markettype": {
  11723. "description": "市场类型- 1:非交易服务 2:交易服务",
  11724. "type": "integer"
  11725. },
  11726. "matchermode": {
  11727. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  11728. "type": "integer"
  11729. },
  11730. "openmethod": {
  11731. "description": "开盘模式 - 0 自动 1手动",
  11732. "type": "integer"
  11733. },
  11734. "otcuserid": {
  11735. "description": "场外期权做市商[场外期权]",
  11736. "type": "integer"
  11737. },
  11738. "outersynctime": {
  11739. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  11740. "type": "string"
  11741. },
  11742. "pendingflag": {
  11743. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  11744. "type": "integer"
  11745. },
  11746. "pendingtime": {
  11747. "description": "待开市时间[通道交易-对冲](HH:mm)",
  11748. "type": "string"
  11749. },
  11750. "performancetempid": {
  11751. "description": "履约计划模板ID - 作废",
  11752. "type": "integer"
  11753. },
  11754. "premiumquotemode": {
  11755. "description": "权利金报价方式 - 1:自动 2:手动",
  11756. "type": "integer"
  11757. },
  11758. "rebateratio": {
  11759. "description": "返利比率[竞价式]",
  11760. "type": "number"
  11761. },
  11762. "reckonorder": {
  11763. "description": "结算顺序",
  11764. "type": "integer"
  11765. },
  11766. "reckonpricealgorithm": {
  11767. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  11768. "type": "integer"
  11769. },
  11770. "reckonpriceparam": {
  11771. "description": "结算价参数",
  11772. "type": "integer"
  11773. },
  11774. "reckontime": {
  11775. "description": "结算时间[通道交易-对冲](HH:mm)",
  11776. "type": "string"
  11777. },
  11778. "roleprioritytype": {
  11779. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  11780. "type": "integer"
  11781. },
  11782. "selllistingauditflag": {
  11783. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  11784. "type": "integer"
  11785. },
  11786. "trademarkettype": {
  11787. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  11788. "type": "integer"
  11789. },
  11790. "trademode": {
  11791. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11792. "type": "integer"
  11793. },
  11794. "tradeproperty": {
  11795. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  11796. "type": "integer"
  11797. },
  11798. "tradetype": {
  11799. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  11800. "type": "integer"
  11801. }
  11802. }
  11803. },
  11804. "models.Marketrun": {
  11805. "type": "object",
  11806. "required": [
  11807. "marketid",
  11808. "nexttradedate",
  11809. "reckonflag",
  11810. "runstatus",
  11811. "tradedate",
  11812. "tradedate2"
  11813. ],
  11814. "properties": {
  11815. "afternexttradedate": {
  11816. "description": "下下交易日",
  11817. "type": "string"
  11818. },
  11819. "clearquoteflag": {
  11820. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  11821. "type": "integer"
  11822. },
  11823. "lastreckondate": {
  11824. "description": "最新交易日(结算成功)",
  11825. "type": "string"
  11826. },
  11827. "machinedate": {
  11828. "description": "机器时间",
  11829. "type": "string"
  11830. },
  11831. "manualflag": {
  11832. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  11833. "type": "integer"
  11834. },
  11835. "marketid": {
  11836. "description": "市场ID",
  11837. "type": "integer"
  11838. },
  11839. "nexttradedate": {
  11840. "description": "下一交易日",
  11841. "type": "string"
  11842. },
  11843. "pretradedate": {
  11844. "description": "上一交易日",
  11845. "type": "string"
  11846. },
  11847. "reckonflag": {
  11848. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  11849. "type": "integer"
  11850. },
  11851. "runstatus": {
  11852. "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.今日免清算",
  11853. "type": "integer"
  11854. },
  11855. "sectionid": {
  11856. "description": "时间段号[多时段时用]",
  11857. "type": "integer"
  11858. },
  11859. "tradedate": {
  11860. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  11861. "type": "string"
  11862. },
  11863. "tradedate2": {
  11864. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  11865. "type": "string"
  11866. },
  11867. "updatetime": {
  11868. "description": "更新时间",
  11869. "type": "string"
  11870. }
  11871. }
  11872. },
  11873. "models.Messageboard": {
  11874. "type": "object",
  11875. "required": [
  11876. "messageboardid"
  11877. ],
  11878. "properties": {
  11879. "createtime": {
  11880. "description": "创建时间",
  11881. "type": "string"
  11882. },
  11883. "message": {
  11884. "description": "留言信息",
  11885. "type": "string"
  11886. },
  11887. "messageboardid": {
  11888. "description": "留言簿ID(SEQ_MessageBoard)",
  11889. "type": "integer"
  11890. },
  11891. "userid": {
  11892. "description": "用户ID",
  11893. "type": "integer"
  11894. }
  11895. }
  11896. },
  11897. "models.MyCoupon": {
  11898. "type": "object",
  11899. "required": [
  11900. "accountid",
  11901. "coupontypeid"
  11902. ],
  11903. "properties": {
  11904. "accountid": {
  11905. "description": "资金账户ID",
  11906. "type": "integer"
  11907. },
  11908. "areauserid": {
  11909. "description": "所属机构",
  11910. "type": "integer"
  11911. },
  11912. "conditionvalue": {
  11913. "description": "条件阈值(可为0)",
  11914. "type": "number"
  11915. },
  11916. "couponcategroy": {
  11917. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  11918. "type": "integer"
  11919. },
  11920. "couponname": {
  11921. "description": "优惠券名称",
  11922. "type": "string"
  11923. },
  11924. "coupontypeid": {
  11925. "description": "优惠券类型ID",
  11926. "type": "string"
  11927. },
  11928. "couponvalue": {
  11929. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  11930. "type": "number"
  11931. },
  11932. "curfreezeqty": {
  11933. "description": "期末冻结数量",
  11934. "type": "integer"
  11935. },
  11936. "curqty": {
  11937. "description": "期末数量",
  11938. "type": "integer"
  11939. },
  11940. "isgeneral": {
  11941. "description": "是否通用券 - 0:否 1:是",
  11942. "type": "integer"
  11943. },
  11944. "isunusable": {
  11945. "description": "是否不可用",
  11946. "type": "boolean"
  11947. },
  11948. "limitedflag": {
  11949. "description": "是否指定商品 - 0:不限 1:限制",
  11950. "type": "integer"
  11951. },
  11952. "limitedgoodsids": {
  11953. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  11954. "type": "string"
  11955. },
  11956. "orifreezeqty": {
  11957. "description": "期初冻结数量",
  11958. "type": "integer"
  11959. },
  11960. "oriqty": {
  11961. "description": "期初数量",
  11962. "type": "integer"
  11963. },
  11964. "reasontype": {
  11965. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  11966. "type": "integer"
  11967. },
  11968. "todaydecrease": {
  11969. "description": "今日减少",
  11970. "type": "integer"
  11971. },
  11972. "todayincrease": {
  11973. "description": "今日增加",
  11974. "type": "integer"
  11975. },
  11976. "userid": {
  11977. "description": "用户ID",
  11978. "type": "integer"
  11979. },
  11980. "userscope": {
  11981. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  11982. "type": "string"
  11983. }
  11984. }
  11985. },
  11986. "models.MyCouponHold": {
  11987. "type": "object",
  11988. "required": [
  11989. "couponholdid"
  11990. ],
  11991. "properties": {
  11992. "accountid": {
  11993. "description": "资金账户ID",
  11994. "type": "integer"
  11995. },
  11996. "conditionvalue": {
  11997. "description": "条件阈值(可为0)",
  11998. "type": "number"
  11999. },
  12000. "couponcategroy": {
  12001. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  12002. "type": "integer"
  12003. },
  12004. "couponholdid": {
  12005. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  12006. "type": "string"
  12007. },
  12008. "couponname": {
  12009. "description": "优惠券名称",
  12010. "type": "string"
  12011. },
  12012. "coupontypeid": {
  12013. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  12014. "type": "string"
  12015. },
  12016. "couponvalue": {
  12017. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  12018. "type": "number"
  12019. },
  12020. "createtime": {
  12021. "description": "创建时间",
  12022. "type": "string"
  12023. },
  12024. "enddate": {
  12025. "description": "结束日期",
  12026. "type": "string"
  12027. },
  12028. "giveapplyid": {
  12029. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  12030. "type": "integer"
  12031. },
  12032. "holdstatus": {
  12033. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  12034. "type": "integer"
  12035. },
  12036. "isgeneral": {
  12037. "description": "是否通用券 - 0:否 1:是",
  12038. "type": "integer"
  12039. },
  12040. "limitedflag": {
  12041. "description": "是否指定商品 - 0:不限 1:限制",
  12042. "type": "integer"
  12043. },
  12044. "limitedgoodsids": {
  12045. "description": "指定商品IDs[逗号分隔]",
  12046. "type": "string"
  12047. },
  12048. "qty": {
  12049. "description": "数量(按1平铺)",
  12050. "type": "integer"
  12051. },
  12052. "startdate": {
  12053. "description": "开始日期",
  12054. "type": "string"
  12055. },
  12056. "userid": {
  12057. "description": "用户ID",
  12058. "type": "integer"
  12059. },
  12060. "userscope": {
  12061. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  12062. "type": "string"
  12063. }
  12064. }
  12065. },
  12066. "models.MyUsedCoupon": {
  12067. "type": "object",
  12068. "required": [
  12069. "coupontypeid",
  12070. "orderid"
  12071. ],
  12072. "properties": {
  12073. "accountid": {
  12074. "description": "资金账户ID(买方)",
  12075. "type": "integer"
  12076. },
  12077. "conditionvalue": {
  12078. "description": "条件阈值(可为0)",
  12079. "type": "number"
  12080. },
  12081. "couponcategroy": {
  12082. "description": "种类 - 1:现金券 2:折扣券",
  12083. "type": "integer"
  12084. },
  12085. "couponname": {
  12086. "description": "优惠券名称",
  12087. "type": "string"
  12088. },
  12089. "coupontypeid": {
  12090. "description": "优惠券类型ID(买方)",
  12091. "type": "string"
  12092. },
  12093. "couponvalue": {
  12094. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  12095. "type": "number"
  12096. },
  12097. "createtime": {
  12098. "description": "创建时间",
  12099. "type": "string"
  12100. },
  12101. "goodsid": {
  12102. "description": "商品ID",
  12103. "type": "integer"
  12104. },
  12105. "handlestatus": {
  12106. "description": "处理状态",
  12107. "type": "integer"
  12108. },
  12109. "marketid": {
  12110. "description": "市场ID",
  12111. "type": "integer"
  12112. },
  12113. "offamount": {
  12114. "description": "优惠金额",
  12115. "type": "number"
  12116. },
  12117. "orderid": {
  12118. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12119. "type": "string"
  12120. },
  12121. "sellaccountid": {
  12122. "description": "资金账户ID(卖方)",
  12123. "type": "integer"
  12124. },
  12125. "tradeamount": {
  12126. "description": "成交金额",
  12127. "type": "number"
  12128. },
  12129. "tradeid": {
  12130. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12131. "type": "string"
  12132. },
  12133. "usedqty": {
  12134. "description": "使用数量",
  12135. "type": "integer"
  12136. }
  12137. }
  12138. },
  12139. "models.OperationPrimaryMenu": {
  12140. "type": "object",
  12141. "properties": {
  12142. "Children": {
  12143. "description": "二级功能菜单",
  12144. "type": "array",
  12145. "items": {
  12146. "$ref": "#/definitions/models.OperationSecondaryMenu"
  12147. }
  12148. },
  12149. "Key": {
  12150. "description": "菜单KEY",
  12151. "type": "string"
  12152. },
  12153. "Label": {
  12154. "description": "菜单标题",
  12155. "type": "string"
  12156. }
  12157. }
  12158. },
  12159. "models.OperationSecondaryMenu": {
  12160. "type": "object",
  12161. "properties": {
  12162. "Key": {
  12163. "description": "菜单KEY",
  12164. "type": "string"
  12165. },
  12166. "Label": {
  12167. "description": "菜单标题",
  12168. "type": "string"
  12169. },
  12170. "TabList": {
  12171. "description": "三级功能菜单",
  12172. "type": "array",
  12173. "items": {
  12174. "$ref": "#/definitions/models.OperationTabMenu"
  12175. }
  12176. }
  12177. }
  12178. },
  12179. "models.OperationTabMenu": {
  12180. "type": "object",
  12181. "properties": {
  12182. "Key": {
  12183. "description": "菜单KEY",
  12184. "type": "string"
  12185. },
  12186. "Label": {
  12187. "description": "菜单标题",
  12188. "type": "string"
  12189. }
  12190. }
  12191. },
  12192. "models.PendingAuditBizModel": {
  12193. "type": "object",
  12194. "properties": {
  12195. "accountid": {
  12196. "description": "现货账户",
  12197. "type": "string"
  12198. },
  12199. "areaname": {
  12200. "description": "所属部门",
  12201. "type": "string"
  12202. },
  12203. "bizid": {
  12204. "description": "业务ID",
  12205. "type": "string"
  12206. },
  12207. "bizname": {
  12208. "description": "业务名称",
  12209. "type": "string"
  12210. },
  12211. "status": {
  12212. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12213. "type": "integer"
  12214. },
  12215. "type": {
  12216. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  12217. "type": "integer"
  12218. }
  12219. }
  12220. },
  12221. "models.QuotePrimaryMenu": {
  12222. "type": "object",
  12223. "properties": {
  12224. "Index": {
  12225. "description": "序号",
  12226. "type": "integer"
  12227. },
  12228. "Key": {
  12229. "description": "键名",
  12230. "type": "string"
  12231. },
  12232. "Name": {
  12233. "description": "菜单名称",
  12234. "type": "string"
  12235. },
  12236. "SubMenus": {
  12237. "description": "子菜单",
  12238. "type": "array",
  12239. "items": {
  12240. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  12241. }
  12242. },
  12243. "SubTitleType": {
  12244. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  12245. "type": "integer"
  12246. },
  12247. "TradeModes": {
  12248. "description": "包含市场交易类型",
  12249. "type": "string"
  12250. }
  12251. }
  12252. },
  12253. "models.QuoteSecondaryMenu": {
  12254. "type": "object",
  12255. "properties": {
  12256. "ExExchangeCode": {
  12257. "description": "外部交易所代码",
  12258. "type": "string"
  12259. },
  12260. "ExExchangeID": {
  12261. "description": "外部交易所ID",
  12262. "type": "integer"
  12263. },
  12264. "GoodsGroupIDs": {
  12265. "description": "商品组ID列表",
  12266. "type": "array",
  12267. "items": {
  12268. "type": "integer"
  12269. }
  12270. },
  12271. "Index": {
  12272. "description": "序号",
  12273. "type": "integer"
  12274. },
  12275. "MarketID": {
  12276. "description": "市场ID",
  12277. "type": "integer"
  12278. },
  12279. "MenuTitle": {
  12280. "description": "菜单标题(市场名称或外部交易所名称)",
  12281. "type": "string"
  12282. },
  12283. "TradeMode": {
  12284. "description": "交易模式",
  12285. "type": "integer"
  12286. }
  12287. }
  12288. },
  12289. "models.SearchGoods": {
  12290. "type": "object",
  12291. "required": [
  12292. "goodscode",
  12293. "goodsid",
  12294. "goodsname",
  12295. "marketid",
  12296. "trademode"
  12297. ],
  12298. "properties": {
  12299. "goodscode": {
  12300. "description": "商品代码(内部)",
  12301. "type": "string"
  12302. },
  12303. "goodsid": {
  12304. "description": "商品ID(自增ID SEQ_GOODS)",
  12305. "type": "integer"
  12306. },
  12307. "goodsname": {
  12308. "description": "商品名称",
  12309. "type": "string"
  12310. },
  12311. "marketid": {
  12312. "description": "所属市场ID",
  12313. "type": "integer"
  12314. },
  12315. "marketname": {
  12316. "description": "市场名称",
  12317. "type": "string"
  12318. },
  12319. "trademode": {
  12320. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12321. "type": "integer"
  12322. }
  12323. }
  12324. },
  12325. "models.Szdz2imageconfig": {
  12326. "type": "object",
  12327. "required": [
  12328. "configid"
  12329. ],
  12330. "properties": {
  12331. "configid": {
  12332. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  12333. "type": "integer"
  12334. },
  12335. "imagepath": {
  12336. "description": "图片",
  12337. "type": "string"
  12338. },
  12339. "imagetype": {
  12340. "description": "类型 - 1:App首页轮播 2:我的",
  12341. "type": "integer"
  12342. },
  12343. "sort": {
  12344. "description": "排序",
  12345. "type": "integer"
  12346. },
  12347. "title": {
  12348. "description": "标题",
  12349. "type": "string"
  12350. },
  12351. "url": {
  12352. "description": "链接",
  12353. "type": "string"
  12354. }
  12355. }
  12356. },
  12357. "models.Szdz3convertconfig": {
  12358. "type": "object",
  12359. "required": [
  12360. "converttype",
  12361. "innergoodsid",
  12362. "outergoodscode"
  12363. ],
  12364. "properties": {
  12365. "canin": {
  12366. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  12367. "type": "integer"
  12368. },
  12369. "canout": {
  12370. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  12371. "type": "integer"
  12372. },
  12373. "converttype": {
  12374. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  12375. "type": "integer"
  12376. },
  12377. "createtime": {
  12378. "description": "创建时间",
  12379. "type": "string"
  12380. },
  12381. "creatorid": {
  12382. "description": "创建人",
  12383. "type": "integer"
  12384. },
  12385. "daymaxvalue": {
  12386. "description": "当日最大转入限制",
  12387. "type": "number"
  12388. },
  12389. "freezedays": {
  12390. "description": "冻结天数 [5:花生米转交易]",
  12391. "type": "integer"
  12392. },
  12393. "innergoodsid": {
  12394. "description": "内部商品ID[交易]",
  12395. "type": "integer"
  12396. },
  12397. "inratio": {
  12398. "description": "目标值",
  12399. "type": "integer"
  12400. },
  12401. "modifierid": {
  12402. "description": "修改人",
  12403. "type": "integer"
  12404. },
  12405. "modifytime": {
  12406. "description": "修改时间",
  12407. "type": "string"
  12408. },
  12409. "outergoodscode": {
  12410. "description": "外部商品代码[JD\\PD]",
  12411. "type": "string"
  12412. },
  12413. "outratio": {
  12414. "description": "源值",
  12415. "type": "integer"
  12416. },
  12417. "pddecimalplace": {
  12418. "description": "PD小数位",
  12419. "type": "integer"
  12420. },
  12421. "timemaxvalue": {
  12422. "description": "单次最大转入限制",
  12423. "type": "number"
  12424. },
  12425. "timeminvalue": {
  12426. "description": "单次最小转入限制",
  12427. "type": "number"
  12428. }
  12429. }
  12430. },
  12431. "models.Szdz3searchwhitelist": {
  12432. "type": "object",
  12433. "required": [
  12434. "userid"
  12435. ],
  12436. "properties": {
  12437. "createtime": {
  12438. "description": "创建时间",
  12439. "type": "string"
  12440. },
  12441. "creatorid": {
  12442. "description": "创建人",
  12443. "type": "integer"
  12444. },
  12445. "modifierid": {
  12446. "description": "修改人",
  12447. "type": "integer"
  12448. },
  12449. "modifytime": {
  12450. "description": "修改时间",
  12451. "type": "string"
  12452. },
  12453. "userid": {
  12454. "description": "用户ID",
  12455. "type": "integer"
  12456. }
  12457. }
  12458. },
  12459. "models.Tablecolumnconfig": {
  12460. "type": "object",
  12461. "required": [
  12462. "autoid"
  12463. ],
  12464. "properties": {
  12465. "aligntype": {
  12466. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  12467. "type": "integer"
  12468. },
  12469. "autoid": {
  12470. "description": "AutoID",
  12471. "type": "integer"
  12472. },
  12473. "columnfield": {
  12474. "description": "列字段",
  12475. "type": "string"
  12476. },
  12477. "columntitle": {
  12478. "description": "列Title",
  12479. "type": "string"
  12480. },
  12481. "columnwidth": {
  12482. "description": "列宽",
  12483. "type": "string"
  12484. },
  12485. "formatterstring": {
  12486. "description": "格式化字符",
  12487. "type": "string"
  12488. },
  12489. "formattertype": {
  12490. "description": "格式化类型",
  12491. "type": "string"
  12492. },
  12493. "groupname": {
  12494. "description": "表头分组名称",
  12495. "type": "string"
  12496. },
  12497. "isshow": {
  12498. "description": "是否显示 - 0:不显示 1:显示",
  12499. "type": "integer"
  12500. },
  12501. "needsummary": {
  12502. "description": "是否需要汇总 - 0:不需要 1:需要",
  12503. "type": "integer"
  12504. },
  12505. "orderindex": {
  12506. "description": "顺序",
  12507. "type": "integer"
  12508. },
  12509. "remark": {
  12510. "description": "备注",
  12511. "type": "string"
  12512. },
  12513. "summarytype": {
  12514. "description": "汇总类型 - 1:加总 2:最后一个",
  12515. "type": "integer"
  12516. },
  12517. "tablekey": {
  12518. "description": "列表Key",
  12519. "type": "string"
  12520. }
  12521. }
  12522. },
  12523. "models.Useraccount": {
  12524. "type": "object",
  12525. "required": [
  12526. "userid"
  12527. ],
  12528. "properties": {
  12529. "accountname": {
  12530. "description": "账户名称(机构名称)",
  12531. "type": "string"
  12532. },
  12533. "accountstatus": {
  12534. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  12535. "type": "integer"
  12536. },
  12537. "auditremark": {
  12538. "description": "审核备注",
  12539. "type": "string"
  12540. },
  12541. "audittime": {
  12542. "description": "审核时间",
  12543. "type": "string"
  12544. },
  12545. "audituserid": {
  12546. "description": "审核人",
  12547. "type": "integer"
  12548. },
  12549. "broker": {
  12550. "description": "所属经纪人ID",
  12551. "type": "integer"
  12552. },
  12553. "canceltime": {
  12554. "description": "销户时间",
  12555. "type": "string"
  12556. },
  12557. "canceluserid": {
  12558. "description": "销户人",
  12559. "type": "integer"
  12560. },
  12561. "createtime": {
  12562. "description": "创建时间",
  12563. "type": "string"
  12564. },
  12565. "creatorid": {
  12566. "description": "创建人",
  12567. "type": "integer"
  12568. },
  12569. "hasauth": {
  12570. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  12571. "type": "integer"
  12572. },
  12573. "isanonymous": {
  12574. "description": "是否匿名下单 - 0:否 1:是",
  12575. "type": "integer"
  12576. },
  12577. "maxinvestornum": {
  12578. "description": "最大用户数(经纪会员下投资者个数)",
  12579. "type": "integer"
  12580. },
  12581. "memberuserid": {
  12582. "description": "所属会员ID",
  12583. "type": "integer"
  12584. },
  12585. "modifierid": {
  12586. "description": "修改人",
  12587. "type": "integer"
  12588. },
  12589. "modifyremark": {
  12590. "description": "变更备注",
  12591. "type": "string"
  12592. },
  12593. "modifystatus": {
  12594. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  12595. "type": "integer"
  12596. },
  12597. "modifytime": {
  12598. "description": "修改时间",
  12599. "type": "string"
  12600. },
  12601. "parentuserid": {
  12602. "description": "所属机构ID",
  12603. "type": "integer"
  12604. },
  12605. "reckonaccountid": {
  12606. "description": "默认结算资金账号ID(机构分润使用) 作废",
  12607. "type": "integer"
  12608. },
  12609. "refercount": {
  12610. "description": "推荐总人数",
  12611. "type": "integer"
  12612. },
  12613. "refereeuserid": {
  12614. "description": "推荐人ID",
  12615. "type": "integer"
  12616. },
  12617. "refernum": {
  12618. "description": "推荐码",
  12619. "type": "string"
  12620. },
  12621. "subarealevelpath": {
  12622. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  12623. "type": "string"
  12624. },
  12625. "userid": {
  12626. "description": "用户ID",
  12627. "type": "integer"
  12628. },
  12629. "usertype": {
  12630. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  12631. "type": "integer"
  12632. }
  12633. }
  12634. },
  12635. "models.Userfavoritegoods": {
  12636. "type": "object",
  12637. "required": [
  12638. "goodsid"
  12639. ],
  12640. "properties": {
  12641. "goodsid": {
  12642. "description": "商品ID",
  12643. "type": "integer"
  12644. }
  12645. }
  12646. },
  12647. "models.Userinfo": {
  12648. "type": "object",
  12649. "required": [
  12650. "userid"
  12651. ],
  12652. "properties": {
  12653. "address": {
  12654. "description": "地址",
  12655. "type": "string"
  12656. },
  12657. "attachment1": {
  12658. "description": "附件1",
  12659. "type": "string"
  12660. },
  12661. "attachment2": {
  12662. "description": "附件2",
  12663. "type": "string"
  12664. },
  12665. "bankaccount": {
  12666. "description": "银行帐号 (加密存储)",
  12667. "type": "string"
  12668. },
  12669. "bankaccountname": {
  12670. "description": "收款人名称",
  12671. "type": "string"
  12672. },
  12673. "bankcardfrontphotourl": {
  12674. "description": "银行卡正面照地址",
  12675. "type": "string"
  12676. },
  12677. "bankid": {
  12678. "description": "银行编码",
  12679. "type": "string"
  12680. },
  12681. "bankname": {
  12682. "description": "银行名称",
  12683. "type": "string"
  12684. },
  12685. "biznature": {
  12686. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12687. "type": "integer"
  12688. },
  12689. "bizscope": {
  12690. "description": "企业经营范围(企业)",
  12691. "type": "string"
  12692. },
  12693. "cardbackphotourl": {
  12694. "description": "证件背面图片地址",
  12695. "type": "string"
  12696. },
  12697. "cardfrontphotourl": {
  12698. "description": "证件正面图片地址",
  12699. "type": "string"
  12700. },
  12701. "cardnum": {
  12702. "description": "证件号码(加密存储)",
  12703. "type": "string"
  12704. },
  12705. "cardtypeid": {
  12706. "description": "证件类型ID",
  12707. "type": "integer"
  12708. },
  12709. "cityid": {
  12710. "description": "市",
  12711. "type": "integer"
  12712. },
  12713. "company": {
  12714. "description": "公司(个人)",
  12715. "type": "string"
  12716. },
  12717. "contactname": {
  12718. "description": "联系人",
  12719. "type": "string"
  12720. },
  12721. "countryid": {
  12722. "description": "国家",
  12723. "type": "integer"
  12724. },
  12725. "createtime": {
  12726. "description": "创建时间",
  12727. "type": "string"
  12728. },
  12729. "creatorid": {
  12730. "description": "创建人",
  12731. "type": "integer"
  12732. },
  12733. "customername": {
  12734. "description": "客户名称(企业名称)",
  12735. "type": "string"
  12736. },
  12737. "districtid": {
  12738. "description": "地区",
  12739. "type": "integer"
  12740. },
  12741. "email": {
  12742. "description": "邮件(加密存储)",
  12743. "type": "string"
  12744. },
  12745. "fax": {
  12746. "description": "传真(加密存储)",
  12747. "type": "string"
  12748. },
  12749. "halfbodyphotourl": {
  12750. "description": "半身照地址",
  12751. "type": "string"
  12752. },
  12753. "hasencrypt": {
  12754. "description": "数据是否已加密 - 0:未加密 1:已加密",
  12755. "type": "integer"
  12756. },
  12757. "headurl": {
  12758. "description": "头像地址",
  12759. "type": "string"
  12760. },
  12761. "legalcardbackphotourl": {
  12762. "description": "法人身份证背面照地址",
  12763. "type": "string"
  12764. },
  12765. "legalcardfrontphotourl": {
  12766. "description": "法人身份证正面照地址",
  12767. "type": "string"
  12768. },
  12769. "legalpersonname": {
  12770. "description": "法人姓名(企业)",
  12771. "type": "string"
  12772. },
  12773. "mobile": {
  12774. "description": "手机号码(加密存储)",
  12775. "type": "string"
  12776. },
  12777. "mobile2": {
  12778. "description": "手机号码[明文-尚志]",
  12779. "type": "string"
  12780. },
  12781. "modifierid": {
  12782. "description": "修改人",
  12783. "type": "integer"
  12784. },
  12785. "modifiertime": {
  12786. "description": "修改时间",
  12787. "type": "string"
  12788. },
  12789. "needinvoice": {
  12790. "description": "是否需要发票 - 0:不需要 1:需要",
  12791. "type": "integer"
  12792. },
  12793. "nickname": {
  12794. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  12795. "type": "string"
  12796. },
  12797. "openmode": {
  12798. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  12799. "type": "integer"
  12800. },
  12801. "otherurl": {
  12802. "description": "其它图片地址[使用分号分隔]",
  12803. "type": "string"
  12804. },
  12805. "postalcode": {
  12806. "description": "邮政编码",
  12807. "type": "string"
  12808. },
  12809. "provinceid": {
  12810. "description": "省",
  12811. "type": "integer"
  12812. },
  12813. "qq": {
  12814. "description": "QQ(加密存储",
  12815. "type": "string"
  12816. },
  12817. "remark": {
  12818. "description": "备注",
  12819. "type": "string"
  12820. },
  12821. "sex": {
  12822. "description": "用户性别 0: 女 1: 男",
  12823. "type": "integer"
  12824. },
  12825. "signpdfurl": {
  12826. "description": "签约pdf文件",
  12827. "type": "string"
  12828. },
  12829. "telphone": {
  12830. "description": "联系电话(加密存储)",
  12831. "type": "string"
  12832. },
  12833. "userid": {
  12834. "description": "用户ID",
  12835. "type": "integer"
  12836. },
  12837. "userinfotype": {
  12838. "description": "用户信息类型 - 1:个人 2:企业",
  12839. "type": "integer"
  12840. },
  12841. "userstatus": {
  12842. "description": "用户状态 - 1:正常 2:注销",
  12843. "type": "integer"
  12844. },
  12845. "usertype": {
  12846. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  12847. "type": "integer"
  12848. },
  12849. "wechat": {
  12850. "description": "微信(加密存储)",
  12851. "type": "string"
  12852. },
  12853. "wskhinfo": {
  12854. "description": "开户申请信息(JSON)",
  12855. "type": "string"
  12856. }
  12857. }
  12858. },
  12859. "models.WRCategoryTree": {
  12860. "type": "object",
  12861. "required": [
  12862. "categoryid"
  12863. ],
  12864. "properties": {
  12865. "areauserid": {
  12866. "description": "所属机构",
  12867. "type": "integer"
  12868. },
  12869. "categorydesc": {
  12870. "description": "类别描述",
  12871. "type": "string"
  12872. },
  12873. "categoryid": {
  12874. "description": "类别ID(SEQ_WRCATEGORY)",
  12875. "type": "integer"
  12876. },
  12877. "categoryname": {
  12878. "description": "类别名称",
  12879. "type": "string"
  12880. },
  12881. "iconurl": {
  12882. "description": "图标地址",
  12883. "type": "string"
  12884. },
  12885. "orderindex": {
  12886. "description": "顺序",
  12887. "type": "integer"
  12888. },
  12889. "parentcategoryid": {
  12890. "description": "父类别ID",
  12891. "type": "integer"
  12892. },
  12893. "subcategory": {
  12894. "description": "子分类",
  12895. "type": "array",
  12896. "items": {
  12897. "$ref": "#/definitions/models.WRCategoryTree"
  12898. }
  12899. }
  12900. }
  12901. },
  12902. "models.WRSConverTDetail": {
  12903. "type": "object",
  12904. "properties": {
  12905. "convertratio": {
  12906. "description": "套保系数",
  12907. "type": "number"
  12908. },
  12909. "deliverygoodsid": {
  12910. "description": "现货品种ID",
  12911. "type": "integer"
  12912. },
  12913. "middlegoodscode": {
  12914. "description": "套保品种代码",
  12915. "type": "string"
  12916. },
  12917. "middlegoodsid": {
  12918. "description": "套保品种ID",
  12919. "type": "integer"
  12920. },
  12921. "middlegoodsname": {
  12922. "description": "套保品种名称",
  12923. "type": "string"
  12924. },
  12925. "modifytime": {
  12926. "description": "修改时间",
  12927. "type": "string"
  12928. },
  12929. "wrstandardid": {
  12930. "description": "现货商品ID",
  12931. "type": "integer"
  12932. }
  12933. }
  12934. },
  12935. "models.WRStandardInfo": {
  12936. "type": "object",
  12937. "required": [
  12938. "wrstandardid"
  12939. ],
  12940. "properties": {
  12941. "createtime": {
  12942. "description": "创建时间",
  12943. "type": "string"
  12944. },
  12945. "creatorid": {
  12946. "description": "创建人",
  12947. "type": "integer"
  12948. },
  12949. "deliverygoodsid": {
  12950. "description": "品种ID",
  12951. "type": "integer"
  12952. },
  12953. "deliverygoodsname": {
  12954. "description": "交割商品名称",
  12955. "type": "string"
  12956. },
  12957. "factoryitemjson": {
  12958. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  12959. "type": "string"
  12960. },
  12961. "isvalid": {
  12962. "description": "是否有效 - 0:无效 1:有效",
  12963. "type": "integer"
  12964. },
  12965. "minivalue": {
  12966. "description": "最小变动值",
  12967. "type": "integer"
  12968. },
  12969. "minivaluedp": {
  12970. "description": "最小变动值小数位",
  12971. "type": "integer"
  12972. },
  12973. "realminivalue": {
  12974. "description": "实际最小变动值",
  12975. "type": "integer"
  12976. },
  12977. "realminivaluedp": {
  12978. "description": "实际最小变动值小数位",
  12979. "type": "integer"
  12980. },
  12981. "unitid": {
  12982. "description": "单位ID",
  12983. "type": "integer"
  12984. },
  12985. "unitname": {
  12986. "description": "单位",
  12987. "type": "string"
  12988. },
  12989. "updatetime": {
  12990. "description": "更新时间",
  12991. "type": "string"
  12992. },
  12993. "updatorid": {
  12994. "description": "更新人",
  12995. "type": "integer"
  12996. },
  12997. "wrsstatus": {
  12998. "description": "状态 - 作废 - 0:未激活 1:正常",
  12999. "type": "integer"
  13000. },
  13001. "wrstandardcode": {
  13002. "description": "仓单标准代码",
  13003. "type": "string"
  13004. },
  13005. "wrstandardid": {
  13006. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  13007. "type": "integer"
  13008. },
  13009. "wrstandardname": {
  13010. "description": "仓单标准名称",
  13011. "type": "string"
  13012. }
  13013. }
  13014. },
  13015. "models.Warehouseinfo": {
  13016. "type": "object",
  13017. "required": [
  13018. "autoid",
  13019. "warehousecode"
  13020. ],
  13021. "properties": {
  13022. "address": {
  13023. "description": "详细地址",
  13024. "type": "string"
  13025. },
  13026. "areauserid": {
  13027. "description": "所属机构",
  13028. "type": "integer"
  13029. },
  13030. "autoid": {
  13031. "description": "自增ID",
  13032. "type": "integer"
  13033. },
  13034. "cityid": {
  13035. "description": "市",
  13036. "type": "integer"
  13037. },
  13038. "contactname": {
  13039. "description": "联系人",
  13040. "type": "string"
  13041. },
  13042. "contactnum": {
  13043. "description": "联系电话",
  13044. "type": "string"
  13045. },
  13046. "countryid": {
  13047. "description": "国家",
  13048. "type": "integer"
  13049. },
  13050. "createtime": {
  13051. "description": "创建时间",
  13052. "type": "string"
  13053. },
  13054. "districtid": {
  13055. "description": "区",
  13056. "type": "integer"
  13057. },
  13058. "hasvideo": {
  13059. "description": "是否有视频 - 0:无 1:有",
  13060. "type": "integer"
  13061. },
  13062. "provinceid": {
  13063. "description": "省",
  13064. "type": "integer"
  13065. },
  13066. "remark": {
  13067. "description": "审核备注",
  13068. "type": "string"
  13069. },
  13070. "videourl": {
  13071. "description": "视频地址",
  13072. "type": "string"
  13073. },
  13074. "warehousecode": {
  13075. "description": "仓库代码",
  13076. "type": "string"
  13077. },
  13078. "warehousename": {
  13079. "description": "仓库名称",
  13080. "type": "string"
  13081. },
  13082. "warehousestatus": {
  13083. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  13084. "type": "integer"
  13085. },
  13086. "warehousetype": {
  13087. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13088. "type": "integer"
  13089. }
  13090. }
  13091. },
  13092. "order.QueryHisTradeDetailRsp": {
  13093. "type": "object",
  13094. "required": [
  13095. "accountid",
  13096. "buyorsell",
  13097. "goodsid",
  13098. "histradedate",
  13099. "marketid",
  13100. "memberuserid",
  13101. "orderid",
  13102. "tradeamount",
  13103. "tradedate",
  13104. "tradeid",
  13105. "tradeprice",
  13106. "tradeqty",
  13107. "tradetime"
  13108. ],
  13109. "properties": {
  13110. "accountid": {
  13111. "description": "账户ID[报价币种]",
  13112. "type": "integer"
  13113. },
  13114. "buildtype": {
  13115. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  13116. "type": "integer"
  13117. },
  13118. "buyorsell": {
  13119. "description": "方向 - 0:买 1:卖",
  13120. "type": "integer"
  13121. },
  13122. "charge": {
  13123. "description": "手续费",
  13124. "type": "number"
  13125. },
  13126. "closecharge": {
  13127. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  13128. "type": "number"
  13129. },
  13130. "closeexchagechargevalue": {
  13131. "description": "平仓交易所手续费设置值",
  13132. "type": "number"
  13133. },
  13134. "closefeealgorithm": {
  13135. "description": "平仓手续费收取方式 1:比率 2:固定",
  13136. "type": "integer"
  13137. },
  13138. "closememberchargevalue": {
  13139. "description": "平仓会员手续费设置值",
  13140. "type": "number"
  13141. },
  13142. "closepl": {
  13143. "description": "平仓盈亏",
  13144. "type": "number"
  13145. },
  13146. "closepl2": {
  13147. "description": "平仓盈亏[逐笔]",
  13148. "type": "number"
  13149. },
  13150. "closeqty": {
  13151. "description": "平仓数量(先建后平操作 需要记录)",
  13152. "type": "integer"
  13153. },
  13154. "creditamount": {
  13155. "description": "授信金额",
  13156. "type": "number"
  13157. },
  13158. "gcaccountid": {
  13159. "description": "账户ID[合约币种]",
  13160. "type": "integer"
  13161. },
  13162. "goodscode": {
  13163. "description": "商品代码",
  13164. "type": "string"
  13165. },
  13166. "goodsid": {
  13167. "description": "商品ID",
  13168. "type": "integer"
  13169. },
  13170. "goodsname": {
  13171. "description": "商品名称",
  13172. "type": "string"
  13173. },
  13174. "histradedate": {
  13175. "description": "历史交易日",
  13176. "type": "string"
  13177. },
  13178. "intclosepl": {
  13179. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  13180. "type": "integer"
  13181. },
  13182. "isconfirmexercise": {
  13183. "description": "是否确认行权- 0:否 1:是",
  13184. "type": "integer"
  13185. },
  13186. "ismain": {
  13187. "description": "是否主单 - 0:不是 1:是",
  13188. "type": "integer"
  13189. },
  13190. "ispreexercise": {
  13191. "description": "是否预申报- 0:否 1:是",
  13192. "type": "integer"
  13193. },
  13194. "isreckoned": {
  13195. "description": "是否结算 - 0:未结算 1:已结算",
  13196. "type": "integer"
  13197. },
  13198. "isvaliddata": {
  13199. "description": "是否有效 - 0:无效 1:有效",
  13200. "type": "integer"
  13201. },
  13202. "listingselecttype": {
  13203. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13204. "type": "integer"
  13205. },
  13206. "marketid": {
  13207. "description": "市场ID",
  13208. "type": "integer"
  13209. },
  13210. "marketname": {
  13211. "description": "市场名称",
  13212. "type": "string"
  13213. },
  13214. "matchaccountid": {
  13215. "description": "对手账号id",
  13216. "type": "integer"
  13217. },
  13218. "memberuserid": {
  13219. "description": "会员id 个人投资者 需要填写",
  13220. "type": "integer"
  13221. },
  13222. "opencharge": {
  13223. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  13224. "type": "number"
  13225. },
  13226. "openexchagechargevalue": {
  13227. "description": "建仓交易所手续费设置值",
  13228. "type": "number"
  13229. },
  13230. "openfeealgorithm": {
  13231. "description": "建仓手续费收取方式 1:比率 2:固定",
  13232. "type": "integer"
  13233. },
  13234. "openmemberchargevalue": {
  13235. "description": "建仓会员手续费设置值",
  13236. "type": "number"
  13237. },
  13238. "openqty": {
  13239. "description": "开仓数量(先建后平操作 需要记录)",
  13240. "type": "integer"
  13241. },
  13242. "optiontype": {
  13243. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  13244. "type": "integer"
  13245. },
  13246. "orderid": {
  13247. "description": "委托单号",
  13248. "type": "string"
  13249. },
  13250. "performanceplanid": {
  13251. "description": "履约计划ID[期权]",
  13252. "type": "integer"
  13253. },
  13254. "performancestatus": {
  13255. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  13256. "type": "integer"
  13257. },
  13258. "preexerciseprice": {
  13259. "description": "预申报价格",
  13260. "type": "number"
  13261. },
  13262. "premium": {
  13263. "description": "权利金 - [持仓单的权利金]",
  13264. "type": "number"
  13265. },
  13266. "relatedouttradeid": {
  13267. "description": "关联外部成交单ID",
  13268. "type": "integer"
  13269. },
  13270. "status": {
  13271. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  13272. "type": "integer"
  13273. },
  13274. "tradeamount": {
  13275. "description": "成交金额[账户币种,用于所有权]",
  13276. "type": "number"
  13277. },
  13278. "tradedate": {
  13279. "description": "交易日(yyyyMMdd)",
  13280. "type": "string"
  13281. },
  13282. "tradeid": {
  13283. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13284. "type": "string"
  13285. },
  13286. "trademode": {
  13287. "description": "交易模式",
  13288. "type": "integer"
  13289. },
  13290. "tradeprice": {
  13291. "description": "成交价格",
  13292. "type": "number"
  13293. },
  13294. "tradeproperty": {
  13295. "description": "交易属性",
  13296. "type": "integer"
  13297. },
  13298. "tradeqty": {
  13299. "description": "成交数量",
  13300. "type": "integer"
  13301. },
  13302. "tradetime": {
  13303. "description": "成交时间",
  13304. "type": "string"
  13305. },
  13306. "tradetype": {
  13307. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  13308. "type": "integer"
  13309. }
  13310. }
  13311. },
  13312. "order.QueryHisTradeOrderDetailRsp": {
  13313. "type": "object",
  13314. "required": [
  13315. "accountid",
  13316. "buildtype",
  13317. "buyorsell",
  13318. "goodsid",
  13319. "histradedate",
  13320. "marketid",
  13321. "memberuserid",
  13322. "operatetype",
  13323. "orderid",
  13324. "orderqty",
  13325. "ordertime",
  13326. "pricemode",
  13327. "tradedate",
  13328. "validtype"
  13329. ],
  13330. "properties": {
  13331. "accountid": {
  13332. "description": "账户ID[报价币种]",
  13333. "type": "integer"
  13334. },
  13335. "buildtype": {
  13336. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  13337. "type": "integer"
  13338. },
  13339. "buyorsell": {
  13340. "description": "买卖 - 0:买 1:卖",
  13341. "type": "integer"
  13342. },
  13343. "cancelorderid": {
  13344. "description": "撤单单号(撤单时填写)",
  13345. "type": "string"
  13346. },
  13347. "cancelqty": {
  13348. "description": "撤单数量",
  13349. "type": "integer"
  13350. },
  13351. "clientordertime": {
  13352. "description": "客户端委托时间",
  13353. "type": "string"
  13354. },
  13355. "clientticket": {
  13356. "description": "客户端流水号",
  13357. "type": "string"
  13358. },
  13359. "clienttype": {
  13360. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  13361. "type": "integer"
  13362. },
  13363. "closeexchagechargevalue": {
  13364. "description": "平仓交易所手续费设置值",
  13365. "type": "number"
  13366. },
  13367. "closefeealgorithm": {
  13368. "description": "平仓手续费收取方式 1:比率 2:固定",
  13369. "type": "integer"
  13370. },
  13371. "closefreezecharge": {
  13372. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  13373. "type": "number"
  13374. },
  13375. "closememberchargevalue": {
  13376. "description": "平仓会员手续费设置值",
  13377. "type": "number"
  13378. },
  13379. "closeqty": {
  13380. "description": "平仓数量(先建后平操作 需要记录)",
  13381. "type": "integer"
  13382. },
  13383. "closetradeqty": {
  13384. "description": "平仓成交数量(先建后平操作,需要记录)",
  13385. "type": "integer"
  13386. },
  13387. "closeunfreezecharge": {
  13388. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  13389. "type": "number"
  13390. },
  13391. "delistingtype": {
  13392. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  13393. "type": "integer"
  13394. },
  13395. "freezecharge": {
  13396. "description": "冻结手续费",
  13397. "type": "number"
  13398. },
  13399. "freezemargin": {
  13400. "description": "冻结保证金(冻结交易金额)",
  13401. "type": "number"
  13402. },
  13403. "gcaccountid": {
  13404. "description": "账户ID[合约币种]",
  13405. "type": "integer"
  13406. },
  13407. "goodscode": {
  13408. "description": "商品代码",
  13409. "type": "string"
  13410. },
  13411. "goodsid": {
  13412. "description": "商品ID",
  13413. "type": "integer"
  13414. },
  13415. "goodsname": {
  13416. "description": "商品名称",
  13417. "type": "string"
  13418. },
  13419. "histradedate": {
  13420. "description": "历史交易日",
  13421. "type": "string"
  13422. },
  13423. "isconfirmexercise": {
  13424. "description": "是否确认行权- 0:否 1:是",
  13425. "type": "integer"
  13426. },
  13427. "ispreexercise": {
  13428. "description": "是否预申报- 0:否 1:是",
  13429. "type": "integer"
  13430. },
  13431. "isvaliddata": {
  13432. "description": "是否有效 - 0:无效 1:有效",
  13433. "type": "integer"
  13434. },
  13435. "listingselecttype": {
  13436. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13437. "type": "integer"
  13438. },
  13439. "marginalgorithm": {
  13440. "description": "保证金收取方式 1:比率 2:固定",
  13441. "type": "integer"
  13442. },
  13443. "marginvalue": {
  13444. "description": "即市保证金设置值",
  13445. "type": "number"
  13446. },
  13447. "marketid": {
  13448. "description": "市场ID",
  13449. "type": "integer"
  13450. },
  13451. "marketmaxsub": {
  13452. "description": "市价最大偏移范围",
  13453. "type": "number"
  13454. },
  13455. "marketname": {
  13456. "description": "市场名称",
  13457. "type": "string"
  13458. },
  13459. "memberuserid": {
  13460. "description": "所属会员UserID",
  13461. "type": "integer"
  13462. },
  13463. "openexchagechargevalue": {
  13464. "description": "建仓交易所手续费设置值",
  13465. "type": "number"
  13466. },
  13467. "openfeealgorithm": {
  13468. "description": "建仓手续费收取方式 1:比率 2:固定",
  13469. "type": "integer"
  13470. },
  13471. "openfreezecharge": {
  13472. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  13473. "type": "number"
  13474. },
  13475. "openmemberchargevalue": {
  13476. "description": "建仓会员手续费设置值",
  13477. "type": "number"
  13478. },
  13479. "openqty": {
  13480. "description": "开仓数量(先建后平操作,需要记录)",
  13481. "type": "integer"
  13482. },
  13483. "opentradeqty": {
  13484. "description": "开仓成交数量(先建后平操作,需要记录)",
  13485. "type": "integer"
  13486. },
  13487. "openunfreezecharge": {
  13488. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  13489. "type": "number"
  13490. },
  13491. "operatetype": {
  13492. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  13493. "type": "integer"
  13494. },
  13495. "operatorid": {
  13496. "description": "登录账号(LoginID)",
  13497. "type": "integer"
  13498. },
  13499. "optiontype": {
  13500. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  13501. "type": "integer"
  13502. },
  13503. "orderid": {
  13504. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13505. "type": "string"
  13506. },
  13507. "orderprice": {
  13508. "description": "委托价格",
  13509. "type": "number"
  13510. },
  13511. "orderqty": {
  13512. "description": "委托数量",
  13513. "type": "integer"
  13514. },
  13515. "ordersrc": {
  13516. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  13517. "type": "integer"
  13518. },
  13519. "orderstatus": {
  13520. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13521. "type": "integer"
  13522. },
  13523. "ordertime": {
  13524. "description": "委托时间",
  13525. "type": "string"
  13526. },
  13527. "preexerciseprice": {
  13528. "description": "预申报价格",
  13529. "type": "number"
  13530. },
  13531. "premium": {
  13532. "description": "权利金",
  13533. "type": "number"
  13534. },
  13535. "preorderid": {
  13536. "description": "关联预埋单号(止盈止损单时填写)",
  13537. "type": "string"
  13538. },
  13539. "pricemode": {
  13540. "description": "取价方式 - 1:市价 2: 限价",
  13541. "type": "integer"
  13542. },
  13543. "quoteid": {
  13544. "description": "报价单ID",
  13545. "type": "integer"
  13546. },
  13547. "relatedid": {
  13548. "description": "关联单号(交割单)",
  13549. "type": "string"
  13550. },
  13551. "retcode": {
  13552. "description": "错误代码",
  13553. "type": "integer"
  13554. },
  13555. "sessionid": {
  13556. "description": "会话ID",
  13557. "type": "integer"
  13558. },
  13559. "tradedate": {
  13560. "description": "交易日(yyyyMMdd)",
  13561. "type": "string"
  13562. },
  13563. "trademode": {
  13564. "description": "交易模式",
  13565. "type": "integer"
  13566. },
  13567. "tradeproperty": {
  13568. "description": "交易属性",
  13569. "type": "integer"
  13570. },
  13571. "tradeqty": {
  13572. "description": "成交数量",
  13573. "type": "integer"
  13574. },
  13575. "unfreezecharge": {
  13576. "description": "解冻手续费",
  13577. "type": "number"
  13578. },
  13579. "unfreezemargin": {
  13580. "description": "解冻保证金",
  13581. "type": "number"
  13582. },
  13583. "updatetime": {
  13584. "description": "更新时间",
  13585. "type": "string"
  13586. },
  13587. "uuid": {
  13588. "description": "发起端唯一id",
  13589. "type": "string"
  13590. },
  13591. "validtime": {
  13592. "description": "有效期限",
  13593. "type": "string"
  13594. },
  13595. "validtype": {
  13596. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  13597. "type": "integer"
  13598. },
  13599. "volumetype": {
  13600. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  13601. "type": "integer"
  13602. }
  13603. }
  13604. },
  13605. "order.QueryTradeDetailRsp": {
  13606. "type": "object",
  13607. "required": [
  13608. "accountid",
  13609. "buyorsell",
  13610. "goodsid",
  13611. "marketid",
  13612. "memberuserid",
  13613. "orderid",
  13614. "tradeamount",
  13615. "tradedate",
  13616. "tradeid",
  13617. "tradeprice",
  13618. "tradeqty",
  13619. "tradetime"
  13620. ],
  13621. "properties": {
  13622. "accountid": {
  13623. "description": "账户ID[报价币种]",
  13624. "type": "integer"
  13625. },
  13626. "buildtype": {
  13627. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  13628. "type": "integer"
  13629. },
  13630. "buyorsell": {
  13631. "description": "方向 - 0:买 1:卖",
  13632. "type": "integer"
  13633. },
  13634. "charge": {
  13635. "description": "手续费",
  13636. "type": "number"
  13637. },
  13638. "closecharge": {
  13639. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  13640. "type": "number"
  13641. },
  13642. "closeexchagechargevalue": {
  13643. "description": "平仓交易所手续费设置值",
  13644. "type": "number"
  13645. },
  13646. "closefeealgorithm": {
  13647. "description": "平仓手续费收取方式 1:比率 2:固定",
  13648. "type": "integer"
  13649. },
  13650. "closememberchargevalue": {
  13651. "description": "平仓会员手续费设置值",
  13652. "type": "number"
  13653. },
  13654. "closepl": {
  13655. "description": "平仓盈亏",
  13656. "type": "number"
  13657. },
  13658. "closepl2": {
  13659. "description": "平仓盈亏[逐笔]",
  13660. "type": "number"
  13661. },
  13662. "closeqty": {
  13663. "description": "平仓数量(先建后平操作 需要记录)",
  13664. "type": "integer"
  13665. },
  13666. "creditamount": {
  13667. "description": "授信金额",
  13668. "type": "number"
  13669. },
  13670. "gcaccountid": {
  13671. "description": "账户ID[合约币种]",
  13672. "type": "integer"
  13673. },
  13674. "goodscode": {
  13675. "description": "商品代码",
  13676. "type": "string"
  13677. },
  13678. "goodsid": {
  13679. "description": "商品ID",
  13680. "type": "integer"
  13681. },
  13682. "goodsname": {
  13683. "description": "商品名称",
  13684. "type": "string"
  13685. },
  13686. "intclosepl": {
  13687. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  13688. "type": "integer"
  13689. },
  13690. "isconfirmexercise": {
  13691. "description": "是否确认行权- 0:否 1:是",
  13692. "type": "integer"
  13693. },
  13694. "ismain": {
  13695. "description": "是否主单 - 0:不是 1:是",
  13696. "type": "integer"
  13697. },
  13698. "ispreexercise": {
  13699. "description": "是否预申报- 0:否 1:是",
  13700. "type": "integer"
  13701. },
  13702. "isreckoned": {
  13703. "description": "是否结算 - 0:未结算 1:已结算",
  13704. "type": "integer"
  13705. },
  13706. "listingselecttype": {
  13707. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13708. "type": "integer"
  13709. },
  13710. "marketid": {
  13711. "description": "市场ID",
  13712. "type": "integer"
  13713. },
  13714. "marketname": {
  13715. "description": "市场名称",
  13716. "type": "string"
  13717. },
  13718. "matchaccountid": {
  13719. "description": "对手账号id",
  13720. "type": "integer"
  13721. },
  13722. "memberuserid": {
  13723. "description": "会员id 个人投资者 需要填写",
  13724. "type": "integer"
  13725. },
  13726. "opencharge": {
  13727. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  13728. "type": "number"
  13729. },
  13730. "openexchagechargevalue": {
  13731. "description": "建仓交易所手续费设置值",
  13732. "type": "number"
  13733. },
  13734. "openfeealgorithm": {
  13735. "description": "建仓手续费收取方式 1:比率 2:固定",
  13736. "type": "integer"
  13737. },
  13738. "openmemberchargevalue": {
  13739. "description": "建仓会员手续费设置值",
  13740. "type": "number"
  13741. },
  13742. "openqty": {
  13743. "description": "开仓数量(先建后平操作 需要记录)",
  13744. "type": "integer"
  13745. },
  13746. "optiontype": {
  13747. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  13748. "type": "integer"
  13749. },
  13750. "orderid": {
  13751. "description": "委托单号",
  13752. "type": "string"
  13753. },
  13754. "performanceplanid": {
  13755. "description": "履约计划ID[期权]",
  13756. "type": "integer"
  13757. },
  13758. "performancestatus": {
  13759. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  13760. "type": "integer"
  13761. },
  13762. "preexerciseprice": {
  13763. "description": "预申报价格",
  13764. "type": "number"
  13765. },
  13766. "premium": {
  13767. "description": "权利金 - [持仓单的权利金]",
  13768. "type": "number"
  13769. },
  13770. "relatedouttradeid": {
  13771. "description": "关联外部成交单ID",
  13772. "type": "integer"
  13773. },
  13774. "status": {
  13775. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  13776. "type": "integer"
  13777. },
  13778. "tradeamount": {
  13779. "description": "成交金额[账户币种,用于所有权]",
  13780. "type": "number"
  13781. },
  13782. "tradedate": {
  13783. "description": "交易日(yyyyMMdd)",
  13784. "type": "string"
  13785. },
  13786. "tradeid": {
  13787. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13788. "type": "string"
  13789. },
  13790. "trademode": {
  13791. "description": "交易模式",
  13792. "type": "integer"
  13793. },
  13794. "tradeprice": {
  13795. "description": "成交价格",
  13796. "type": "number"
  13797. },
  13798. "tradeproperty": {
  13799. "description": "交易属性",
  13800. "type": "integer"
  13801. },
  13802. "tradeqty": {
  13803. "description": "成交数量",
  13804. "type": "integer"
  13805. },
  13806. "tradetime": {
  13807. "description": "成交时间",
  13808. "type": "string"
  13809. },
  13810. "tradetype": {
  13811. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  13812. "type": "integer"
  13813. }
  13814. }
  13815. },
  13816. "order.QueryTradeOrderDetailRsp": {
  13817. "type": "object",
  13818. "required": [
  13819. "accountid",
  13820. "buildtype",
  13821. "buyorsell",
  13822. "goodsid",
  13823. "marketid",
  13824. "operatetype",
  13825. "orderqty",
  13826. "ordertime",
  13827. "pricemode",
  13828. "tradedate",
  13829. "validtype"
  13830. ],
  13831. "properties": {
  13832. "accountid": {
  13833. "description": "账户ID[报价币种]",
  13834. "type": "integer"
  13835. },
  13836. "buildtype": {
  13837. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  13838. "type": "integer"
  13839. },
  13840. "buyorsell": {
  13841. "description": "买卖 - 0:买 1:卖",
  13842. "type": "integer"
  13843. },
  13844. "cancelorderid": {
  13845. "description": "撤单单号(撤单时填写)",
  13846. "type": "string"
  13847. },
  13848. "cancelqty": {
  13849. "description": "撤单数量",
  13850. "type": "integer"
  13851. },
  13852. "clienttype": {
  13853. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  13854. "type": "integer"
  13855. },
  13856. "closefreezecharge": {
  13857. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  13858. "type": "number"
  13859. },
  13860. "closeqty": {
  13861. "description": "平仓数量(先建后平操作 需要记录)",
  13862. "type": "integer"
  13863. },
  13864. "closetradeqty": {
  13865. "description": "平仓成交数量(先建后平操作,需要记录)",
  13866. "type": "integer"
  13867. },
  13868. "closeunfreezecharge": {
  13869. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  13870. "type": "number"
  13871. },
  13872. "delistingtype": {
  13873. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  13874. "type": "integer"
  13875. },
  13876. "enableqty": {
  13877. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  13878. "type": "integer"
  13879. },
  13880. "freezecharge": {
  13881. "description": "冻结手续费",
  13882. "type": "number"
  13883. },
  13884. "freezemargin": {
  13885. "description": "冻结保证金(冻结交易金额)",
  13886. "type": "number"
  13887. },
  13888. "goodscode": {
  13889. "description": "商品代码",
  13890. "type": "string"
  13891. },
  13892. "goodsid": {
  13893. "description": "商品ID",
  13894. "type": "integer"
  13895. },
  13896. "goodsname": {
  13897. "description": "商品名称",
  13898. "type": "string"
  13899. },
  13900. "listingselecttype": {
  13901. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13902. "type": "integer"
  13903. },
  13904. "marketid": {
  13905. "description": "市场ID",
  13906. "type": "integer"
  13907. },
  13908. "marketname": {
  13909. "description": "市场名称",
  13910. "type": "string"
  13911. },
  13912. "openfreezecharge": {
  13913. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  13914. "type": "number"
  13915. },
  13916. "openqty": {
  13917. "description": "开仓数量(先建后平操作,需要记录)",
  13918. "type": "integer"
  13919. },
  13920. "opentradeqty": {
  13921. "description": "开仓成交数量(先建后平操作,需要记录)",
  13922. "type": "integer"
  13923. },
  13924. "openunfreezecharge": {
  13925. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  13926. "type": "number"
  13927. },
  13928. "operatetype": {
  13929. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  13930. "type": "integer"
  13931. },
  13932. "operatorid": {
  13933. "description": "登录账号(LoginID)",
  13934. "type": "integer"
  13935. },
  13936. "orderid": {
  13937. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13938. "type": "string"
  13939. },
  13940. "orderprice": {
  13941. "description": "委托价格",
  13942. "type": "number"
  13943. },
  13944. "orderqty": {
  13945. "description": "委托数量",
  13946. "type": "integer"
  13947. },
  13948. "ordersrc": {
  13949. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  13950. "type": "integer"
  13951. },
  13952. "orderstatus": {
  13953. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13954. "type": "integer"
  13955. },
  13956. "ordertime": {
  13957. "description": "委托时间",
  13958. "type": "string"
  13959. },
  13960. "preorderid": {
  13961. "description": "关联预埋单号(止盈止损单时填写)",
  13962. "type": "string"
  13963. },
  13964. "pricemode": {
  13965. "description": "取价方式 - 1:市价 2: 限价",
  13966. "type": "integer"
  13967. },
  13968. "relatedid": {
  13969. "description": "关联单号(交割单)",
  13970. "type": "string"
  13971. },
  13972. "tradedate": {
  13973. "description": "交易日(yyyyMMdd)",
  13974. "type": "string"
  13975. },
  13976. "trademode": {
  13977. "description": "交易模式",
  13978. "type": "integer"
  13979. },
  13980. "tradeqty": {
  13981. "description": "成交数量",
  13982. "type": "integer"
  13983. },
  13984. "unfreezecharge": {
  13985. "description": "解冻手续费",
  13986. "type": "number"
  13987. },
  13988. "unfreezemargin": {
  13989. "description": "解冻保证金",
  13990. "type": "number"
  13991. },
  13992. "validtime": {
  13993. "description": "有效期限",
  13994. "type": "string"
  13995. },
  13996. "validtype": {
  13997. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  13998. "type": "integer"
  13999. },
  14000. "volumetype": {
  14001. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  14002. "type": "integer"
  14003. }
  14004. }
  14005. },
  14006. "order.QueryTradePositionRsp": {
  14007. "type": "object",
  14008. "required": [
  14009. "goodsid"
  14010. ],
  14011. "properties": {
  14012. "accountid": {
  14013. "description": "资金账户",
  14014. "type": "integer"
  14015. },
  14016. "agreeunit": {
  14017. "description": "合约单位",
  14018. "type": "number"
  14019. },
  14020. "averageprice": {
  14021. "description": "持仓均价",
  14022. "type": "number"
  14023. },
  14024. "buyorsell": {
  14025. "description": "方向 - 0:买 1:卖",
  14026. "type": "integer"
  14027. },
  14028. "closetotalqty": {
  14029. "description": "平仓总数量",
  14030. "type": "integer"
  14031. },
  14032. "curholderamount": {
  14033. "description": "当前持仓总金额[商品币种]",
  14034. "type": "number"
  14035. },
  14036. "curpositionqty": {
  14037. "description": "当前持仓总数量",
  14038. "type": "integer"
  14039. },
  14040. "currencyid": {
  14041. "description": "报价货币ID",
  14042. "type": "integer"
  14043. },
  14044. "curtdposition": {
  14045. "description": "期末今日头寸",
  14046. "type": "integer"
  14047. },
  14048. "decimalplace": {
  14049. "description": "报价小数位",
  14050. "type": "integer"
  14051. },
  14052. "enableqty": {
  14053. "description": "可用量",
  14054. "type": "integer"
  14055. },
  14056. "fretdposition": {
  14057. "description": "冻结今日头寸",
  14058. "type": "integer"
  14059. },
  14060. "frozenqty": {
  14061. "description": "持仓冻结数量",
  14062. "type": "integer"
  14063. },
  14064. "goodscode": {
  14065. "description": "商品代码",
  14066. "type": "string"
  14067. },
  14068. "goodsid": {
  14069. "description": "商品Id",
  14070. "type": "integer"
  14071. },
  14072. "goodsname": {
  14073. "description": "商品名称",
  14074. "type": "string"
  14075. },
  14076. "goodunit": {
  14077. "description": "报价单位",
  14078. "type": "string"
  14079. },
  14080. "goodunitid": {
  14081. "description": "报价单位ID",
  14082. "type": "integer"
  14083. },
  14084. "holderamount": {
  14085. "description": "期初持仓总金额[商品币种]",
  14086. "type": "number"
  14087. },
  14088. "marketid": {
  14089. "description": "所属市场ID",
  14090. "type": "integer"
  14091. },
  14092. "openreqqty": {
  14093. "description": "开仓申请数量(用于比较最大持仓数量)",
  14094. "type": "integer"
  14095. },
  14096. "opentotalqty": {
  14097. "description": "开仓总数量",
  14098. "type": "integer"
  14099. },
  14100. "otherfrozenqty": {
  14101. "description": "持仓其他冻结数量(交割冻结)",
  14102. "type": "integer"
  14103. },
  14104. "positionqty": {
  14105. "description": "期初持仓数量",
  14106. "type": "integer"
  14107. },
  14108. "tnqty": {
  14109. "description": "T+N冻结总量",
  14110. "type": "integer"
  14111. },
  14112. "tnusedqty": {
  14113. "description": "T+N使用量(可以使用T+N的冻结数量)",
  14114. "type": "integer"
  14115. },
  14116. "trademode": {
  14117. "description": "交易模式",
  14118. "type": "integer"
  14119. },
  14120. "usedmargin": {
  14121. "description": "占用保证金[商品币种]",
  14122. "type": "number"
  14123. }
  14124. }
  14125. },
  14126. "quote.HistoryData": {
  14127. "type": "object",
  14128. "properties": {
  14129. "c": {
  14130. "description": "收盘价",
  14131. "type": "number"
  14132. },
  14133. "h": {
  14134. "description": "最高价",
  14135. "type": "number"
  14136. },
  14137. "hv": {
  14138. "description": "持仓量",
  14139. "type": "integer"
  14140. },
  14141. "l": {
  14142. "description": "最低价",
  14143. "type": "number"
  14144. },
  14145. "o": {
  14146. "description": "开盘价",
  14147. "type": "number"
  14148. },
  14149. "s": {
  14150. "description": "结算价,日线周期(包括)以上才有",
  14151. "type": "number"
  14152. },
  14153. "ts": {
  14154. "description": "时间",
  14155. "type": "string"
  14156. },
  14157. "tt": {
  14158. "description": "总金额",
  14159. "type": "number"
  14160. },
  14161. "tv": {
  14162. "description": "总量",
  14163. "type": "integer"
  14164. }
  14165. }
  14166. },
  14167. "quote.QueryTSDataRsp": {
  14168. "type": "object",
  14169. "properties": {
  14170. "decimalPlace": {
  14171. "description": "小数位",
  14172. "type": "integer"
  14173. },
  14174. "endTime": {
  14175. "description": "结束时间",
  14176. "type": "string"
  14177. },
  14178. "goodsCode": {
  14179. "description": "商品代码",
  14180. "type": "string"
  14181. },
  14182. "historyDatas": {
  14183. "description": "历史数据",
  14184. "type": "array",
  14185. "items": {
  14186. "$ref": "#/definitions/quote.HistoryData"
  14187. }
  14188. },
  14189. "preSettle": {
  14190. "description": "昨结",
  14191. "type": "number"
  14192. },
  14193. "startTime": {
  14194. "description": "开始时间",
  14195. "type": "string"
  14196. },
  14197. "tradeDate": {
  14198. "description": "交易日",
  14199. "type": "string"
  14200. }
  14201. }
  14202. },
  14203. "szdz.QueryConvertLogRsp": {
  14204. "type": "object",
  14205. "required": [
  14206. "logid"
  14207. ],
  14208. "properties": {
  14209. "accountid": {
  14210. "description": "资金账户ID",
  14211. "type": "integer"
  14212. },
  14213. "clientticket": {
  14214. "description": "客户端流水号",
  14215. "type": "string"
  14216. },
  14217. "converttype": {
  14218. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  14219. "type": "integer"
  14220. },
  14221. "createtime": {
  14222. "description": "记账时间",
  14223. "type": "string"
  14224. },
  14225. "daymaxvalue": {
  14226. "description": "配置当日最大转入限制",
  14227. "type": "number"
  14228. },
  14229. "daymaxvalue2": {
  14230. "description": "配置当日最大转入限制(转入)",
  14231. "type": "number"
  14232. },
  14233. "goodscode": {
  14234. "description": "商品代码",
  14235. "type": "string"
  14236. },
  14237. "goodsname": {
  14238. "description": "商品名称",
  14239. "type": "string"
  14240. },
  14241. "handlestatus": {
  14242. "description": "处理状态",
  14243. "type": "integer"
  14244. },
  14245. "innergoodsid": {
  14246. "description": "内部商品ID",
  14247. "type": "integer"
  14248. },
  14249. "inratio": {
  14250. "description": "配置转入比值",
  14251. "type": "integer"
  14252. },
  14253. "invalue": {
  14254. "description": "目标值",
  14255. "type": "number"
  14256. },
  14257. "logid": {
  14258. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14259. "type": "integer"
  14260. },
  14261. "mobile": {
  14262. "description": "手机号码(加密存储)",
  14263. "type": "string"
  14264. },
  14265. "outergoodscode": {
  14266. "description": "外部商品代码[JD\\PD]",
  14267. "type": "string"
  14268. },
  14269. "outratio": {
  14270. "description": "配置转出比值",
  14271. "type": "integer"
  14272. },
  14273. "outvalue": {
  14274. "description": "源值",
  14275. "type": "number"
  14276. },
  14277. "pddecimalplace": {
  14278. "description": "PD小数位",
  14279. "type": "integer"
  14280. },
  14281. "qty": {
  14282. "description": "数量",
  14283. "type": "string"
  14284. },
  14285. "remark": {
  14286. "description": "备注",
  14287. "type": "string"
  14288. },
  14289. "sessionid": {
  14290. "description": "会话ID",
  14291. "type": "integer"
  14292. },
  14293. "timemaxvalue": {
  14294. "description": "配置单次最大转入限制",
  14295. "type": "number"
  14296. },
  14297. "timemaxvalue2": {
  14298. "description": "配置单次最大转入限制(转入)",
  14299. "type": "number"
  14300. },
  14301. "timeminvalue": {
  14302. "description": "配置单次最小数量限制",
  14303. "type": "number"
  14304. },
  14305. "timeminvalue2": {
  14306. "description": "配置单次最小数量限制(转入)",
  14307. "type": "number"
  14308. },
  14309. "tradedate": {
  14310. "description": "交易日(yyyyMMdd)",
  14311. "type": "string"
  14312. },
  14313. "userid": {
  14314. "description": "用户ID",
  14315. "type": "integer"
  14316. }
  14317. }
  14318. },
  14319. "szdz.QueryGoodsPickupRsp": {
  14320. "type": "object",
  14321. "required": [
  14322. "takeorderid"
  14323. ],
  14324. "properties": {
  14325. "accountid": {
  14326. "description": "账户ID",
  14327. "type": "integer"
  14328. },
  14329. "address": {
  14330. "description": "提货人详细地址",
  14331. "type": "string"
  14332. },
  14333. "auditer": {
  14334. "description": "审核人",
  14335. "type": "integer"
  14336. },
  14337. "audittime": {
  14338. "description": "审核时间",
  14339. "type": "string"
  14340. },
  14341. "cardnum": {
  14342. "description": "提货人证件号码",
  14343. "type": "string"
  14344. },
  14345. "cardtypeid": {
  14346. "description": "提货人证件类型",
  14347. "type": "integer"
  14348. },
  14349. "checkremark": {
  14350. "description": "审核备注",
  14351. "type": "string"
  14352. },
  14353. "goodscode": {
  14354. "description": "商品代码",
  14355. "type": "string"
  14356. },
  14357. "goodsid": {
  14358. "description": "商品ID",
  14359. "type": "integer"
  14360. },
  14361. "goodsname": {
  14362. "description": "商品名称",
  14363. "type": "string"
  14364. },
  14365. "handlestatus": {
  14366. "description": "处理状态",
  14367. "type": "integer"
  14368. },
  14369. "marketid": {
  14370. "description": "市场ID",
  14371. "type": "integer"
  14372. },
  14373. "phonenum": {
  14374. "description": "提货人联系方式",
  14375. "type": "string"
  14376. },
  14377. "qty": {
  14378. "description": "提货数量",
  14379. "type": "number"
  14380. },
  14381. "recivername": {
  14382. "description": "提货人姓名",
  14383. "type": "string"
  14384. },
  14385. "reqtime": {
  14386. "description": "更新时间",
  14387. "type": "string"
  14388. },
  14389. "takemode": {
  14390. "description": "提货方式 - 2:自提 3:配送",
  14391. "type": "integer"
  14392. },
  14393. "takeorderid": {
  14394. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  14395. "type": "string"
  14396. },
  14397. "takeorderstatus": {
  14398. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  14399. "type": "integer"
  14400. },
  14401. "takeremark": {
  14402. "description": "提货备注",
  14403. "type": "string"
  14404. },
  14405. "tradedate": {
  14406. "description": "交易日(yyyyMMdd)",
  14407. "type": "string"
  14408. },
  14409. "userid": {
  14410. "description": "用户ID",
  14411. "type": "integer"
  14412. }
  14413. }
  14414. },
  14415. "szdz.QueryRecieptOrderRsp": {
  14416. "type": "object",
  14417. "required": [
  14418. "ordertime"
  14419. ],
  14420. "properties": {
  14421. "accountName": {
  14422. "description": "所属账号名称(已脱敏)",
  14423. "type": "string"
  14424. },
  14425. "accountid": {
  14426. "description": "资金账号",
  14427. "type": "integer"
  14428. },
  14429. "buyorsell": {
  14430. "description": "方向 - 0:买 1:卖",
  14431. "type": "integer"
  14432. },
  14433. "enableqty": {
  14434. "description": "可摘数量",
  14435. "type": "integer"
  14436. },
  14437. "goodscode": {
  14438. "description": "商品代码",
  14439. "type": "string"
  14440. },
  14441. "goodsid": {
  14442. "description": "商品ID",
  14443. "type": "integer"
  14444. },
  14445. "goodsname": {
  14446. "description": "商品名称",
  14447. "type": "string"
  14448. },
  14449. "orderid": {
  14450. "description": "委托单号",
  14451. "type": "string"
  14452. },
  14453. "orderprice": {
  14454. "description": "委托价格",
  14455. "type": "number"
  14456. },
  14457. "ordertime": {
  14458. "description": "委托时间",
  14459. "type": "string"
  14460. },
  14461. "tradedate": {
  14462. "description": "交易日(yyyyMMdd)",
  14463. "type": "string"
  14464. }
  14465. }
  14466. },
  14467. "szdz.QuerySZDZTradePositionRsp": {
  14468. "type": "object",
  14469. "properties": {
  14470. "accountid": {
  14471. "description": "账号Id",
  14472. "type": "integer"
  14473. },
  14474. "agreeunit": {
  14475. "description": "合约单位",
  14476. "type": "number"
  14477. },
  14478. "averageprice": {
  14479. "description": "持仓均价",
  14480. "type": "number"
  14481. },
  14482. "buyorsell": {
  14483. "description": "方向 - 0:买 1:卖",
  14484. "type": "integer"
  14485. },
  14486. "closetotalqty": {
  14487. "description": "平仓总数量",
  14488. "type": "integer"
  14489. },
  14490. "curholderamount": {
  14491. "description": "当前持仓总金额",
  14492. "type": "number"
  14493. },
  14494. "curpositionqty": {
  14495. "description": "当前持仓总数量",
  14496. "type": "integer"
  14497. },
  14498. "currencyid": {
  14499. "description": "报价货币ID",
  14500. "type": "integer"
  14501. },
  14502. "curtdposition": {
  14503. "description": "期末今日头寸",
  14504. "type": "integer"
  14505. },
  14506. "decimalplace": {
  14507. "description": "报价小数位",
  14508. "type": "integer"
  14509. },
  14510. "enableqty": {
  14511. "description": "可用量",
  14512. "type": "integer"
  14513. },
  14514. "fretdposition": {
  14515. "description": "冻结今日头寸",
  14516. "type": "integer"
  14517. },
  14518. "frozenqty": {
  14519. "description": "持仓冻结数量",
  14520. "type": "integer"
  14521. },
  14522. "goodscode": {
  14523. "description": "商品代码(内部)",
  14524. "type": "string"
  14525. },
  14526. "goodsid": {
  14527. "description": "商品Id",
  14528. "type": "integer"
  14529. },
  14530. "goodsname": {
  14531. "description": "商品名称",
  14532. "type": "string"
  14533. },
  14534. "goodunit": {
  14535. "description": "报价单位",
  14536. "type": "string"
  14537. },
  14538. "goodunitid": {
  14539. "description": "报价单位ID",
  14540. "type": "integer"
  14541. },
  14542. "holderamount": {
  14543. "description": "期初持仓总金额",
  14544. "type": "number"
  14545. },
  14546. "marketid": {
  14547. "description": "市场ID",
  14548. "type": "integer"
  14549. },
  14550. "openreqqty": {
  14551. "description": "开仓申请数量",
  14552. "type": "integer"
  14553. },
  14554. "opentotalqty": {
  14555. "description": "开仓总数量",
  14556. "type": "integer"
  14557. },
  14558. "otherfrozenqty": {
  14559. "description": "持仓其他冻结数量(交割冻结)",
  14560. "type": "integer"
  14561. },
  14562. "positionqty": {
  14563. "description": "期初持仓数量",
  14564. "type": "integer"
  14565. },
  14566. "szdz3freezqty": {
  14567. "description": "尚志大宗转换冻结总数量",
  14568. "type": "integer"
  14569. },
  14570. "tnqty": {
  14571. "description": "T+N冻结总量",
  14572. "type": "integer"
  14573. },
  14574. "tnusedqty": {
  14575. "description": "T+N使用量",
  14576. "type": "integer"
  14577. },
  14578. "trademode": {
  14579. "description": "交易模式",
  14580. "type": "integer"
  14581. },
  14582. "usedmargin": {
  14583. "description": "占用保证金",
  14584. "type": "number"
  14585. }
  14586. }
  14587. },
  14588. "taaccount.QueryAmountLogRsp": {
  14589. "type": "object",
  14590. "required": [
  14591. "accountid",
  14592. "amount",
  14593. "amountadjusttype",
  14594. "autoid",
  14595. "balance",
  14596. "createtime",
  14597. "currentbalance",
  14598. "operatetype"
  14599. ],
  14600. "properties": {
  14601. "OPERATETYPENAME": {
  14602. "description": "资金操作类型名称",
  14603. "type": "string"
  14604. },
  14605. "accountid": {
  14606. "description": "资金账户ID",
  14607. "type": "integer"
  14608. },
  14609. "agoodscode": {
  14610. "description": "竞拍商品代码",
  14611. "type": "string"
  14612. },
  14613. "agoodsname": {
  14614. "description": "竞拍商品名称",
  14615. "type": "string"
  14616. },
  14617. "amount": {
  14618. "description": "资金金额",
  14619. "type": "number"
  14620. },
  14621. "amountadjusttype": {
  14622. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  14623. "type": "integer"
  14624. },
  14625. "autoid": {
  14626. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  14627. "type": "integer"
  14628. },
  14629. "balance": {
  14630. "description": "期初余额",
  14631. "type": "number"
  14632. },
  14633. "businesscode": {
  14634. "description": "业务编号",
  14635. "type": "integer"
  14636. },
  14637. "createtime": {
  14638. "description": "发生时间",
  14639. "type": "string"
  14640. },
  14641. "currencyid": {
  14642. "description": "币种ID",
  14643. "type": "integer"
  14644. },
  14645. "currentbalance": {
  14646. "description": "期末余额(变动后金额)",
  14647. "type": "number"
  14648. },
  14649. "dgoodscode": {
  14650. "description": "交割商品代码",
  14651. "type": "string"
  14652. },
  14653. "dgoodsname": {
  14654. "description": "交割商品名称",
  14655. "type": "string"
  14656. },
  14657. "goodscode": {
  14658. "description": "商品代码",
  14659. "type": "string"
  14660. },
  14661. "goodsid": {
  14662. "description": "商品ID",
  14663. "type": "integer"
  14664. },
  14665. "goodsname": {
  14666. "description": "商品名称",
  14667. "type": "string"
  14668. },
  14669. "marketid": {
  14670. "description": "市场ID",
  14671. "type": "integer"
  14672. },
  14673. "marketname": {
  14674. "description": "市场名称",
  14675. "type": "string"
  14676. },
  14677. "moneyticket": {
  14678. "description": "资金流水号:银行端流水号",
  14679. "type": "integer"
  14680. },
  14681. "operatetype": {
  14682. "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:营销收款",
  14683. "type": "integer"
  14684. },
  14685. "relationorderid": {
  14686. "description": "关联单号",
  14687. "type": "string"
  14688. },
  14689. "remark": {
  14690. "description": "备注",
  14691. "type": "string"
  14692. },
  14693. "trademode": {
  14694. "description": "交易模式",
  14695. "type": "integer"
  14696. }
  14697. }
  14698. },
  14699. "taaccount.QueryHisAmountLogRsp": {
  14700. "type": "object",
  14701. "required": [
  14702. "accountid",
  14703. "amount",
  14704. "amountadjusttype",
  14705. "autoid",
  14706. "balance",
  14707. "createtime",
  14708. "currentbalance",
  14709. "histradedate",
  14710. "operatetype"
  14711. ],
  14712. "properties": {
  14713. "OPERATETYPENAME": {
  14714. "description": "资金操作类型名称",
  14715. "type": "string"
  14716. },
  14717. "accountid": {
  14718. "description": "资金账户ID",
  14719. "type": "integer"
  14720. },
  14721. "agoodscode": {
  14722. "description": "竞拍商品代码",
  14723. "type": "string"
  14724. },
  14725. "agoodsname": {
  14726. "description": "竞拍商品名称",
  14727. "type": "string"
  14728. },
  14729. "amount": {
  14730. "description": "资金金额",
  14731. "type": "number"
  14732. },
  14733. "amountadjusttype": {
  14734. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  14735. "type": "integer"
  14736. },
  14737. "autoid": {
  14738. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  14739. "type": "integer"
  14740. },
  14741. "balance": {
  14742. "description": "期初余额",
  14743. "type": "number"
  14744. },
  14745. "businesscode": {
  14746. "description": "业务编号",
  14747. "type": "integer"
  14748. },
  14749. "createtime": {
  14750. "description": "发生时间",
  14751. "type": "string"
  14752. },
  14753. "currencyid": {
  14754. "description": "币种ID",
  14755. "type": "integer"
  14756. },
  14757. "currentbalance": {
  14758. "description": "期末余额(变动后金额)",
  14759. "type": "number"
  14760. },
  14761. "dgoodscode": {
  14762. "description": "交割商品代码",
  14763. "type": "string"
  14764. },
  14765. "dgoodsname": {
  14766. "description": "交割商品名称",
  14767. "type": "string"
  14768. },
  14769. "goodscode": {
  14770. "description": "商品代码",
  14771. "type": "string"
  14772. },
  14773. "goodsid": {
  14774. "description": "商品ID",
  14775. "type": "integer"
  14776. },
  14777. "goodsname": {
  14778. "description": "商品名称",
  14779. "type": "string"
  14780. },
  14781. "histradedate": {
  14782. "description": "历史交易日",
  14783. "type": "string"
  14784. },
  14785. "isvaliddata": {
  14786. "description": "是否有效 - 0:无效 1:有效",
  14787. "type": "integer"
  14788. },
  14789. "marketid": {
  14790. "description": "市场ID",
  14791. "type": "integer"
  14792. },
  14793. "marketname": {
  14794. "description": "市场名称",
  14795. "type": "string"
  14796. },
  14797. "moneyticket": {
  14798. "description": "资金流水号:银行端流水号",
  14799. "type": "integer"
  14800. },
  14801. "operatetype": {
  14802. "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:营销收款",
  14803. "type": "integer"
  14804. },
  14805. "relationorderid": {
  14806. "description": "关联单号",
  14807. "type": "string"
  14808. },
  14809. "remark": {
  14810. "description": "备注",
  14811. "type": "string"
  14812. },
  14813. "trademode": {
  14814. "description": "交易模式",
  14815. "type": "integer"
  14816. }
  14817. }
  14818. },
  14819. "trade.QueryRecieptOrderRsp": {
  14820. "type": "object",
  14821. "required": [
  14822. "ordertime"
  14823. ],
  14824. "properties": {
  14825. "accountName": {
  14826. "description": "所属账号名称(已脱敏)",
  14827. "type": "string"
  14828. },
  14829. "accountid": {
  14830. "description": "资金账号",
  14831. "type": "integer"
  14832. },
  14833. "buyorsell": {
  14834. "description": "方向 - 0:买 1:卖",
  14835. "type": "integer"
  14836. },
  14837. "enableqty": {
  14838. "description": "可摘数量",
  14839. "type": "integer"
  14840. },
  14841. "goodscode": {
  14842. "description": "商品代码",
  14843. "type": "string"
  14844. },
  14845. "goodsid": {
  14846. "description": "商品ID",
  14847. "type": "integer"
  14848. },
  14849. "goodsname": {
  14850. "description": "商品名称",
  14851. "type": "string"
  14852. },
  14853. "orderid": {
  14854. "description": "委托单号",
  14855. "type": "string"
  14856. },
  14857. "orderprice": {
  14858. "description": "委托价格",
  14859. "type": "number"
  14860. },
  14861. "ordertime": {
  14862. "description": "委托时间",
  14863. "type": "string"
  14864. },
  14865. "tradedate": {
  14866. "description": "交易日(yyyyMMdd)",
  14867. "type": "string"
  14868. }
  14869. }
  14870. }
  14871. },
  14872. "securityDefinitions": {
  14873. "ApiKeyAuth": {
  14874. "type": "apiKey",
  14875. "name": "Authorization",
  14876. "in": "header"
  14877. }
  14878. }
  14879. }`
  14880. type swaggerInfo struct {
  14881. Version string
  14882. Host string
  14883. BasePath string
  14884. Schemes []string
  14885. Title string
  14886. Description string
  14887. }
  14888. // SwaggerInfo holds exported Swagger Info so clients can modify it
  14889. var SwaggerInfo = swaggerInfo{
  14890. Version: "1.0",
  14891. Host: "",
  14892. BasePath: "/api",
  14893. Schemes: []string{},
  14894. Title: "MTP2.0 查询服务 API",
  14895. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  14896. }
  14897. type s struct{}
  14898. func (s *s) ReadDoc() string {
  14899. sInfo := SwaggerInfo
  14900. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  14901. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  14902. "marshal": func(v interface{}) string {
  14903. a, _ := json.Marshal(v)
  14904. return string(a)
  14905. },
  14906. }).Parse(doc)
  14907. if err != nil {
  14908. return doc
  14909. }
  14910. var tpl bytes.Buffer
  14911. if err := t.Execute(&tpl, sInfo); err != nil {
  14912. return doc
  14913. }
  14914. return tpl.String()
  14915. }
  14916. func init() {
  14917. swag.Register(swag.Name, &s{})
  14918. }