docs.go 540 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987
  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. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "produces": [
  370. "application/json"
  371. ],
  372. "tags": [
  373. "通用服务"
  374. ],
  375. "summary": "获取所有枚举信息",
  376. "responses": {
  377. "200": {
  378. "description": "OK",
  379. "schema": {
  380. "$ref": "#/definitions/models.Enumdicitem"
  381. }
  382. },
  383. "500": {
  384. "description": "Internal Server Error",
  385. "schema": {
  386. "$ref": "#/definitions/app.Response"
  387. }
  388. }
  389. }
  390. }
  391. },
  392. "/Common/GetServerTime": {
  393. "get": {
  394. "produces": [
  395. "application/json"
  396. ],
  397. "tags": [
  398. "通用服务"
  399. ],
  400. "summary": "获取服务器时间",
  401. "responses": {
  402. "200": {
  403. "description": "OK",
  404. "schema": {
  405. "$ref": "#/definitions/app.Response"
  406. }
  407. },
  408. "500": {
  409. "description": "Internal Server Error",
  410. "schema": {
  411. "$ref": "#/definitions/app.Response"
  412. }
  413. }
  414. }
  415. }
  416. },
  417. "/Common/NoticeReaded": {
  418. "post": {
  419. "security": [
  420. {
  421. "ApiKeyAuth": []
  422. }
  423. ],
  424. "produces": [
  425. "application/json"
  426. ],
  427. "tags": [
  428. "通用服务"
  429. ],
  430. "summary": "通知公告设置已读请求",
  431. "parameters": [
  432. {
  433. "type": "integer",
  434. "description": "登录账号",
  435. "name": "loginID",
  436. "in": "query",
  437. "required": true
  438. },
  439. {
  440. "type": "integer",
  441. "description": "通知公告ID",
  442. "name": "noticeID",
  443. "in": "query",
  444. "required": true
  445. }
  446. ],
  447. "responses": {
  448. "200": {
  449. "description": "OK",
  450. "schema": {
  451. "$ref": "#/definitions/app.Response"
  452. }
  453. },
  454. "500": {
  455. "description": "Internal Server Error",
  456. "schema": {
  457. "$ref": "#/definitions/app.Response"
  458. }
  459. }
  460. }
  461. }
  462. },
  463. "/Common/QueryImageConfigs": {
  464. "get": {
  465. "produces": [
  466. "application/json"
  467. ],
  468. "tags": [
  469. "通用服务"
  470. ],
  471. "summary": "查询轮播图配置信息",
  472. "parameters": [
  473. {
  474. "type": "integer",
  475. "description": "类型 - 1:App首页轮播 2:我的",
  476. "name": "imageType",
  477. "in": "query"
  478. }
  479. ],
  480. "responses": {
  481. "200": {
  482. "description": "OK",
  483. "schema": {
  484. "$ref": "#/definitions/models.Szdz2imageconfig"
  485. }
  486. },
  487. "500": {
  488. "description": "Internal Server Error",
  489. "schema": {
  490. "$ref": "#/definitions/app.Response"
  491. }
  492. }
  493. }
  494. }
  495. },
  496. "/Common/QueryNotice": {
  497. "get": {
  498. "security": [
  499. {
  500. "ApiKeyAuth": []
  501. }
  502. ],
  503. "produces": [
  504. "application/json"
  505. ],
  506. "tags": [
  507. "通用服务"
  508. ],
  509. "summary": "通知公告系统消息查询",
  510. "parameters": [
  511. {
  512. "type": "integer",
  513. "description": "页码",
  514. "name": "page",
  515. "in": "query"
  516. },
  517. {
  518. "type": "integer",
  519. "description": "每页条数",
  520. "name": "pagesize",
  521. "in": "query"
  522. },
  523. {
  524. "type": "integer",
  525. "description": "登录账号",
  526. "name": "loginID",
  527. "in": "query",
  528. "required": true
  529. },
  530. {
  531. "type": "integer",
  532. "description": "消息类型 - 1:公告通知 2:系统消息",
  533. "name": "msgType",
  534. "in": "query"
  535. },
  536. {
  537. "type": "boolean",
  538. "description": "是否只获取未读信息",
  539. "name": "onlyUnRead",
  540. "in": "query"
  541. }
  542. ],
  543. "responses": {
  544. "200": {
  545. "description": "OK",
  546. "schema": {
  547. "$ref": "#/definitions/common.QueryNoticeRsp"
  548. }
  549. },
  550. "500": {
  551. "description": "Internal Server Error",
  552. "schema": {
  553. "$ref": "#/definitions/app.Response"
  554. }
  555. }
  556. }
  557. }
  558. },
  559. "/Common/QueryProvincesAndCities": {
  560. "get": {
  561. "produces": [
  562. "application/json"
  563. ],
  564. "tags": [
  565. "通用服务"
  566. ],
  567. "summary": "查询省市信息(不包括区)",
  568. "parameters": [
  569. {
  570. "type": "integer",
  571. "description": "省ID",
  572. "name": "provinceID",
  573. "in": "query"
  574. }
  575. ],
  576. "responses": {
  577. "200": {
  578. "description": "OK",
  579. "schema": {
  580. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  581. }
  582. },
  583. "500": {
  584. "description": "Internal Server Error",
  585. "schema": {
  586. "$ref": "#/definitions/app.Response"
  587. }
  588. }
  589. }
  590. }
  591. },
  592. "/Common/QueryTableDefine": {
  593. "get": {
  594. "produces": [
  595. "application/json"
  596. ],
  597. "tags": [
  598. "通用服务"
  599. ],
  600. "summary": "查询交易端列表头信息",
  601. "parameters": [
  602. {
  603. "type": "string",
  604. "description": "表key",
  605. "name": "tableKey",
  606. "in": "query"
  607. },
  608. {
  609. "type": "integer",
  610. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  611. "name": "tableType",
  612. "in": "query"
  613. }
  614. ],
  615. "responses": {
  616. "200": {
  617. "description": "OK",
  618. "schema": {
  619. "$ref": "#/definitions/common.QueryTableDefineRsp"
  620. }
  621. },
  622. "500": {
  623. "description": "Internal Server Error",
  624. "schema": {
  625. "$ref": "#/definitions/app.Response"
  626. }
  627. }
  628. }
  629. }
  630. },
  631. "/Common/QueryTraderMenu": {
  632. "get": {
  633. "produces": [
  634. "application/json"
  635. ],
  636. "tags": [
  637. "通用服务"
  638. ],
  639. "summary": "查询交易端菜单",
  640. "parameters": [
  641. {
  642. "type": "integer",
  643. "description": "登录账号",
  644. "name": "loginid",
  645. "in": "query",
  646. "required": true
  647. }
  648. ],
  649. "responses": {
  650. "200": {
  651. "description": "OK",
  652. "schema": {
  653. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  654. }
  655. },
  656. "500": {
  657. "description": "Internal Server Error",
  658. "schema": {
  659. "$ref": "#/definitions/app.Response"
  660. }
  661. }
  662. }
  663. }
  664. },
  665. "/Delivery/QueryDeliveryRelation": {
  666. "get": {
  667. "security": [
  668. {
  669. "ApiKeyAuth": []
  670. }
  671. ],
  672. "produces": [
  673. "application/json"
  674. ],
  675. "tags": [
  676. "交割服务"
  677. ],
  678. "summary": "查询商品交割关系表",
  679. "parameters": [
  680. {
  681. "type": "integer",
  682. "description": "商品ID",
  683. "name": "goodsid",
  684. "in": "query"
  685. },
  686. {
  687. "type": "integer",
  688. "description": "品种ID",
  689. "name": "deliverygoodsid",
  690. "in": "query"
  691. },
  692. {
  693. "type": "integer",
  694. "description": "市场ID",
  695. "name": "marketid",
  696. "in": "query"
  697. }
  698. ],
  699. "responses": {
  700. "200": {
  701. "description": "OK",
  702. "schema": {
  703. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  704. }
  705. },
  706. "500": {
  707. "description": "Internal Server Error",
  708. "schema": {
  709. "$ref": "#/definitions/app.Response"
  710. }
  711. }
  712. }
  713. }
  714. },
  715. "/Ermcp/QueryAvaildGoodsGroup": {
  716. "get": {
  717. "security": [
  718. {
  719. "ApiKeyAuth": []
  720. }
  721. ],
  722. "produces": [
  723. "application/json"
  724. ],
  725. "tags": [
  726. "企业风险管理(app)"
  727. ],
  728. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  729. "parameters": [
  730. {
  731. "type": "integer",
  732. "description": "所属机构ID",
  733. "name": "userid",
  734. "in": "query",
  735. "required": true
  736. }
  737. ],
  738. "responses": {
  739. "200": {
  740. "description": "OK",
  741. "schema": {
  742. "type": "array",
  743. "items": {
  744. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  745. }
  746. }
  747. },
  748. "500": {
  749. "description": "Internal Server Error",
  750. "schema": {
  751. "$ref": "#/definitions/app.Response"
  752. }
  753. }
  754. }
  755. }
  756. },
  757. "/Ermcp/QueryBusinessDj": {
  758. "get": {
  759. "security": [
  760. {
  761. "ApiKeyAuth": []
  762. }
  763. ],
  764. "produces": [
  765. "application/json"
  766. ],
  767. "tags": [
  768. "企业风险管理(app)"
  769. ],
  770. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  771. "parameters": [
  772. {
  773. "type": "integer",
  774. "description": "用户ID",
  775. "name": "UserId",
  776. "in": "query",
  777. "required": true
  778. },
  779. {
  780. "type": "string",
  781. "description": "现货合同ID, 不填则查所有",
  782. "name": "relatedid",
  783. "in": "query"
  784. }
  785. ],
  786. "responses": {
  787. "200": {
  788. "description": "OK",
  789. "schema": {
  790. "type": "array",
  791. "items": {
  792. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  793. }
  794. }
  795. },
  796. "500": {
  797. "description": "Internal Server Error",
  798. "schema": {
  799. "$ref": "#/definitions/app.Response"
  800. }
  801. }
  802. }
  803. }
  804. },
  805. "/Ermcp/QueryBusinessFp": {
  806. "get": {
  807. "security": [
  808. {
  809. "ApiKeyAuth": []
  810. }
  811. ],
  812. "produces": [
  813. "application/json"
  814. ],
  815. "tags": [
  816. "企业风险管理(app)"
  817. ],
  818. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  819. "parameters": [
  820. {
  821. "type": "integer",
  822. "description": "用户ID",
  823. "name": "UserId",
  824. "in": "query",
  825. "required": true
  826. },
  827. {
  828. "type": "string",
  829. "description": "现货合同ID, 不填则查所有",
  830. "name": "relatedid",
  831. "in": "query"
  832. }
  833. ],
  834. "responses": {
  835. "200": {
  836. "description": "OK",
  837. "schema": {
  838. "type": "array",
  839. "items": {
  840. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  841. }
  842. }
  843. },
  844. "500": {
  845. "description": "Internal Server Error",
  846. "schema": {
  847. "$ref": "#/definitions/app.Response"
  848. }
  849. }
  850. }
  851. }
  852. },
  853. "/Ermcp/QueryBusinessJs": {
  854. "get": {
  855. "security": [
  856. {
  857. "ApiKeyAuth": []
  858. }
  859. ],
  860. "produces": [
  861. "application/json"
  862. ],
  863. "tags": [
  864. "企业风险管理(app)"
  865. ],
  866. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  867. "parameters": [
  868. {
  869. "type": "integer",
  870. "description": "用户ID",
  871. "name": "UserId",
  872. "in": "query",
  873. "required": true
  874. },
  875. {
  876. "type": "string",
  877. "description": "现货合同ID, 不填则查所有",
  878. "name": "relatedid",
  879. "in": "query"
  880. }
  881. ],
  882. "responses": {
  883. "200": {
  884. "description": "OK",
  885. "schema": {
  886. "type": "array",
  887. "items": {
  888. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  889. }
  890. }
  891. },
  892. "500": {
  893. "description": "Internal Server Error",
  894. "schema": {
  895. "$ref": "#/definitions/app.Response"
  896. }
  897. }
  898. }
  899. }
  900. },
  901. "/Ermcp/QueryBusinessKx": {
  902. "get": {
  903. "security": [
  904. {
  905. "ApiKeyAuth": []
  906. }
  907. ],
  908. "produces": [
  909. "application/json"
  910. ],
  911. "tags": [
  912. "企业风险管理(app)"
  913. ],
  914. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  915. "parameters": [
  916. {
  917. "type": "integer",
  918. "description": "用户ID",
  919. "name": "UserId",
  920. "in": "query",
  921. "required": true
  922. },
  923. {
  924. "type": "string",
  925. "description": "现货合同ID, 不填则查所有",
  926. "name": "relatedid",
  927. "in": "query"
  928. }
  929. ],
  930. "responses": {
  931. "200": {
  932. "description": "OK",
  933. "schema": {
  934. "type": "array",
  935. "items": {
  936. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  937. }
  938. }
  939. },
  940. "500": {
  941. "description": "Internal Server Error",
  942. "schema": {
  943. "$ref": "#/definitions/app.Response"
  944. }
  945. }
  946. }
  947. }
  948. },
  949. "/Ermcp/QueryChangeLog": {
  950. "get": {
  951. "security": [
  952. {
  953. "ApiKeyAuth": []
  954. }
  955. ],
  956. "produces": [
  957. "application/json"
  958. ],
  959. "tags": [
  960. "企业风险管理(app)"
  961. ],
  962. "summary": "查询变更记录",
  963. "parameters": [
  964. {
  965. "type": "string",
  966. "description": "用户ID",
  967. "name": "RelatedId",
  968. "in": "query",
  969. "required": true
  970. }
  971. ],
  972. "responses": {
  973. "200": {
  974. "description": "OK",
  975. "schema": {
  976. "type": "array",
  977. "items": {
  978. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  979. }
  980. }
  981. },
  982. "500": {
  983. "description": "Internal Server Error",
  984. "schema": {
  985. "$ref": "#/definitions/app.Response"
  986. }
  987. }
  988. }
  989. }
  990. },
  991. "/Ermcp/QueryContract": {
  992. "get": {
  993. "security": [
  994. {
  995. "ApiKeyAuth": []
  996. }
  997. ],
  998. "produces": [
  999. "application/json"
  1000. ],
  1001. "tags": [
  1002. "企业风险管理(app)"
  1003. ],
  1004. "summary": "查询合同(采购和销售)",
  1005. "parameters": [
  1006. {
  1007. "type": "integer",
  1008. "description": "用户ID",
  1009. "name": "userId",
  1010. "in": "query",
  1011. "required": true
  1012. },
  1013. {
  1014. "type": "integer",
  1015. "description": "合同类型 1-采购, -1-销售",
  1016. "name": "contracttype",
  1017. "in": "query",
  1018. "required": true
  1019. },
  1020. {
  1021. "type": "integer",
  1022. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  1023. "name": "querytype",
  1024. "in": "query",
  1025. "required": true
  1026. }
  1027. ],
  1028. "responses": {
  1029. "200": {
  1030. "description": "OK",
  1031. "schema": {
  1032. "type": "array",
  1033. "items": {
  1034. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  1035. }
  1036. }
  1037. },
  1038. "500": {
  1039. "description": "Internal Server Error",
  1040. "schema": {
  1041. "$ref": "#/definitions/app.Response"
  1042. }
  1043. }
  1044. }
  1045. }
  1046. },
  1047. "/Ermcp/QueryExposureDetail": {
  1048. "get": {
  1049. "security": [
  1050. {
  1051. "ApiKeyAuth": []
  1052. }
  1053. ],
  1054. "produces": [
  1055. "application/json"
  1056. ],
  1057. "tags": [
  1058. "企业风险管理(app)"
  1059. ],
  1060. "summary": "查询敞口现货明细",
  1061. "parameters": [
  1062. {
  1063. "type": "integer",
  1064. "description": "所属机构ID",
  1065. "name": "areaUserId",
  1066. "in": "query",
  1067. "required": true
  1068. },
  1069. {
  1070. "type": "integer",
  1071. "description": "套保商品",
  1072. "name": "middleGoodsId",
  1073. "in": "query",
  1074. "required": true
  1075. }
  1076. ],
  1077. "responses": {
  1078. "200": {
  1079. "description": "OK",
  1080. "schema": {
  1081. "type": "array",
  1082. "items": {
  1083. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1084. }
  1085. }
  1086. },
  1087. "500": {
  1088. "description": "Internal Server Error",
  1089. "schema": {
  1090. "$ref": "#/definitions/app.Response"
  1091. }
  1092. }
  1093. }
  1094. }
  1095. },
  1096. "/Ermcp/QueryExposureHedgePosition": {
  1097. "get": {
  1098. "security": [
  1099. {
  1100. "ApiKeyAuth": []
  1101. }
  1102. ],
  1103. "produces": [
  1104. "application/json"
  1105. ],
  1106. "tags": [
  1107. "企业风险管理(app)"
  1108. ],
  1109. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  1110. "parameters": [
  1111. {
  1112. "type": "integer",
  1113. "description": "所属机构ID",
  1114. "name": "areaUserId",
  1115. "in": "query",
  1116. "required": true
  1117. }
  1118. ],
  1119. "responses": {
  1120. "200": {
  1121. "description": "OK",
  1122. "schema": {
  1123. "type": "array",
  1124. "items": {
  1125. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  1126. }
  1127. }
  1128. },
  1129. "500": {
  1130. "description": "Internal Server Error",
  1131. "schema": {
  1132. "$ref": "#/definitions/app.Response"
  1133. }
  1134. }
  1135. }
  1136. }
  1137. },
  1138. "/Ermcp/QueryExposureHedgePositionDetail": {
  1139. "get": {
  1140. "security": [
  1141. {
  1142. "ApiKeyAuth": []
  1143. }
  1144. ],
  1145. "produces": [
  1146. "application/json"
  1147. ],
  1148. "tags": [
  1149. "企业风险管理(app)"
  1150. ],
  1151. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  1152. "parameters": [
  1153. {
  1154. "type": "integer",
  1155. "description": "所属机构ID",
  1156. "name": "areaUserId",
  1157. "in": "query",
  1158. "required": true
  1159. },
  1160. {
  1161. "type": "integer",
  1162. "description": "商品id",
  1163. "name": "goodsId",
  1164. "in": "query",
  1165. "required": true
  1166. }
  1167. ],
  1168. "responses": {
  1169. "200": {
  1170. "description": "OK",
  1171. "schema": {
  1172. "type": "array",
  1173. "items": {
  1174. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  1175. }
  1176. }
  1177. },
  1178. "500": {
  1179. "description": "Internal Server Error",
  1180. "schema": {
  1181. "$ref": "#/definitions/app.Response"
  1182. }
  1183. }
  1184. }
  1185. }
  1186. },
  1187. "/Ermcp/QueryExposureSpot": {
  1188. "get": {
  1189. "security": [
  1190. {
  1191. "ApiKeyAuth": []
  1192. }
  1193. ],
  1194. "produces": [
  1195. "application/json"
  1196. ],
  1197. "tags": [
  1198. "企业风险管理(app)"
  1199. ],
  1200. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  1201. "parameters": [
  1202. {
  1203. "type": "integer",
  1204. "description": "所属机构ID",
  1205. "name": "areaUserId",
  1206. "in": "query",
  1207. "required": true
  1208. }
  1209. ],
  1210. "responses": {
  1211. "200": {
  1212. "description": "OK",
  1213. "schema": {
  1214. "type": "array",
  1215. "items": {
  1216. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  1217. }
  1218. }
  1219. },
  1220. "500": {
  1221. "description": "Internal Server Error",
  1222. "schema": {
  1223. "$ref": "#/definitions/app.Response"
  1224. }
  1225. }
  1226. }
  1227. }
  1228. },
  1229. "/Ermcp/QueryExposureSpotDetail": {
  1230. "get": {
  1231. "security": [
  1232. {
  1233. "ApiKeyAuth": []
  1234. }
  1235. ],
  1236. "produces": [
  1237. "application/json"
  1238. ],
  1239. "tags": [
  1240. "企业风险管理(app)"
  1241. ],
  1242. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  1243. "parameters": [
  1244. {
  1245. "type": "integer",
  1246. "description": "所属机构ID",
  1247. "name": "areaUserId",
  1248. "in": "query",
  1249. "required": true
  1250. },
  1251. {
  1252. "type": "integer",
  1253. "description": "现货品种ID",
  1254. "name": "wrstandardId",
  1255. "in": "query",
  1256. "required": true
  1257. }
  1258. ],
  1259. "responses": {
  1260. "200": {
  1261. "description": "OK",
  1262. "schema": {
  1263. "type": "array",
  1264. "items": {
  1265. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  1266. }
  1267. }
  1268. },
  1269. "500": {
  1270. "description": "Internal Server Error",
  1271. "schema": {
  1272. "$ref": "#/definitions/app.Response"
  1273. }
  1274. }
  1275. }
  1276. }
  1277. },
  1278. "/Ermcp/QueryGGConvertConfig": {
  1279. "get": {
  1280. "security": [
  1281. {
  1282. "ApiKeyAuth": []
  1283. }
  1284. ],
  1285. "produces": [
  1286. "application/json"
  1287. ],
  1288. "tags": [
  1289. "企业风险管理(app)"
  1290. ],
  1291. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  1292. "parameters": [
  1293. {
  1294. "type": "integer",
  1295. "description": "品种id(不填则查所有)",
  1296. "name": "goodsgroupid",
  1297. "in": "query"
  1298. }
  1299. ],
  1300. "responses": {
  1301. "200": {
  1302. "description": "OK",
  1303. "schema": {
  1304. "type": "array",
  1305. "items": {
  1306. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  1307. }
  1308. }
  1309. },
  1310. "500": {
  1311. "description": "Internal Server Error",
  1312. "schema": {
  1313. "$ref": "#/definitions/app.Response"
  1314. }
  1315. }
  1316. }
  1317. }
  1318. },
  1319. "/Ermcp/QueryHedgePlan": {
  1320. "get": {
  1321. "security": [
  1322. {
  1323. "ApiKeyAuth": []
  1324. }
  1325. ],
  1326. "produces": [
  1327. "application/json"
  1328. ],
  1329. "tags": [
  1330. "企业风险管理(app)"
  1331. ],
  1332. "summary": "查询套保计划",
  1333. "parameters": [
  1334. {
  1335. "type": "integer",
  1336. "description": "用户ID",
  1337. "name": "userId",
  1338. "in": "query",
  1339. "required": true
  1340. },
  1341. {
  1342. "type": "string",
  1343. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  1344. "name": "HedgePlanStatus",
  1345. "in": "query",
  1346. "required": true
  1347. }
  1348. ],
  1349. "responses": {
  1350. "200": {
  1351. "description": "OK",
  1352. "schema": {
  1353. "type": "array",
  1354. "items": {
  1355. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  1356. }
  1357. }
  1358. },
  1359. "500": {
  1360. "description": "Internal Server Error",
  1361. "schema": {
  1362. "$ref": "#/definitions/app.Response"
  1363. }
  1364. }
  1365. }
  1366. }
  1367. },
  1368. "/Ermcp/QueryHisExposure": {
  1369. "get": {
  1370. "security": [
  1371. {
  1372. "ApiKeyAuth": []
  1373. }
  1374. ],
  1375. "produces": [
  1376. "application/json"
  1377. ],
  1378. "tags": [
  1379. "企业风险管理(app)"
  1380. ],
  1381. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  1382. "parameters": [
  1383. {
  1384. "type": "integer",
  1385. "description": "所属机构ID",
  1386. "name": "areaUserId",
  1387. "in": "query",
  1388. "required": true
  1389. },
  1390. {
  1391. "type": "integer",
  1392. "description": "最近多少条记录, -1:为查全部",
  1393. "name": "lastNum",
  1394. "in": "query",
  1395. "required": true
  1396. }
  1397. ],
  1398. "responses": {
  1399. "200": {
  1400. "description": "OK",
  1401. "schema": {
  1402. "type": "array",
  1403. "items": {
  1404. "$ref": "#/definitions/ermcp.HisExposureRsp"
  1405. }
  1406. }
  1407. },
  1408. "500": {
  1409. "description": "Internal Server Error",
  1410. "schema": {
  1411. "$ref": "#/definitions/app.Response"
  1412. }
  1413. }
  1414. }
  1415. }
  1416. },
  1417. "/Ermcp/QueryMiddleGoods": {
  1418. "get": {
  1419. "security": [
  1420. {
  1421. "ApiKeyAuth": []
  1422. }
  1423. ],
  1424. "produces": [
  1425. "application/json"
  1426. ],
  1427. "tags": [
  1428. "企业风险管理(app)"
  1429. ],
  1430. "summary": "查询套保品种(菜单:套保品种)",
  1431. "parameters": [
  1432. {
  1433. "type": "integer",
  1434. "description": "所属机构ID",
  1435. "name": "userid",
  1436. "in": "query",
  1437. "required": true
  1438. },
  1439. {
  1440. "type": "integer",
  1441. "description": "状态 0-停用 1-正常",
  1442. "name": "status",
  1443. "in": "query",
  1444. "required": true
  1445. }
  1446. ],
  1447. "responses": {
  1448. "200": {
  1449. "description": "OK",
  1450. "schema": {
  1451. "type": "array",
  1452. "items": {
  1453. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  1454. }
  1455. }
  1456. },
  1457. "500": {
  1458. "description": "Internal Server Error",
  1459. "schema": {
  1460. "$ref": "#/definitions/app.Response"
  1461. }
  1462. }
  1463. }
  1464. }
  1465. },
  1466. "/Ermcp/QueryMiddleGoodsChangeLog": {
  1467. "get": {
  1468. "security": [
  1469. {
  1470. "ApiKeyAuth": []
  1471. }
  1472. ],
  1473. "produces": [
  1474. "application/json"
  1475. ],
  1476. "tags": [
  1477. "企业风险管理(app)"
  1478. ],
  1479. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  1480. "parameters": [
  1481. {
  1482. "type": "integer",
  1483. "description": "所属机构ID",
  1484. "name": "userid",
  1485. "in": "query",
  1486. "required": true
  1487. },
  1488. {
  1489. "type": "integer",
  1490. "description": "套保品种id",
  1491. "name": "middlegoodsid",
  1492. "in": "query",
  1493. "required": true
  1494. }
  1495. ],
  1496. "responses": {
  1497. "200": {
  1498. "description": "OK",
  1499. "schema": {
  1500. "type": "array",
  1501. "items": {
  1502. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  1503. }
  1504. }
  1505. },
  1506. "500": {
  1507. "description": "Internal Server Error",
  1508. "schema": {
  1509. "$ref": "#/definitions/app.Response"
  1510. }
  1511. }
  1512. }
  1513. }
  1514. },
  1515. "/Ermcp/QueryMiddleGoodsDetail": {
  1516. "get": {
  1517. "security": [
  1518. {
  1519. "ApiKeyAuth": []
  1520. }
  1521. ],
  1522. "produces": [
  1523. "application/json"
  1524. ],
  1525. "tags": [
  1526. "企业风险管理(app)"
  1527. ],
  1528. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  1529. "parameters": [
  1530. {
  1531. "type": "integer",
  1532. "description": "所属机构ID",
  1533. "name": "userid",
  1534. "in": "query",
  1535. "required": true
  1536. },
  1537. {
  1538. "type": "integer",
  1539. "description": "套保品种id",
  1540. "name": "middlegoodsid",
  1541. "in": "query",
  1542. "required": true
  1543. }
  1544. ],
  1545. "responses": {
  1546. "200": {
  1547. "description": "OK",
  1548. "schema": {
  1549. "type": "array",
  1550. "items": {
  1551. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  1552. }
  1553. }
  1554. },
  1555. "500": {
  1556. "description": "Internal Server Error",
  1557. "schema": {
  1558. "$ref": "#/definitions/app.Response"
  1559. }
  1560. }
  1561. }
  1562. }
  1563. },
  1564. "/Ermcp/QueryRealtimeExposure": {
  1565. "get": {
  1566. "security": [
  1567. {
  1568. "ApiKeyAuth": []
  1569. }
  1570. ],
  1571. "produces": [
  1572. "application/json"
  1573. ],
  1574. "tags": [
  1575. "企业风险管理(app)"
  1576. ],
  1577. "summary": "查询实时敞口",
  1578. "parameters": [
  1579. {
  1580. "type": "integer",
  1581. "description": "所属机构ID",
  1582. "name": "AreaUserID",
  1583. "in": "query",
  1584. "required": true
  1585. }
  1586. ],
  1587. "responses": {
  1588. "200": {
  1589. "description": "OK",
  1590. "schema": {
  1591. "type": "array",
  1592. "items": {
  1593. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  1594. }
  1595. }
  1596. },
  1597. "500": {
  1598. "description": "Internal Server Error",
  1599. "schema": {
  1600. "$ref": "#/definitions/app.Response"
  1601. }
  1602. }
  1603. }
  1604. }
  1605. },
  1606. "/Ermcp/QueryRealtimeExposurePosition": {
  1607. "get": {
  1608. "security": [
  1609. {
  1610. "ApiKeyAuth": []
  1611. }
  1612. ],
  1613. "produces": [
  1614. "application/json"
  1615. ],
  1616. "tags": [
  1617. "企业风险管理(app)"
  1618. ],
  1619. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  1620. "parameters": [
  1621. {
  1622. "type": "integer",
  1623. "description": "所属机构ID",
  1624. "name": "areaUserId",
  1625. "in": "query",
  1626. "required": true
  1627. },
  1628. {
  1629. "type": "integer",
  1630. "description": "套保商品ID",
  1631. "name": "middleGoodsId",
  1632. "in": "query",
  1633. "required": true
  1634. }
  1635. ],
  1636. "responses": {
  1637. "200": {
  1638. "description": "OK",
  1639. "schema": {
  1640. "type": "array",
  1641. "items": {
  1642. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  1643. }
  1644. }
  1645. },
  1646. "500": {
  1647. "description": "Internal Server Error",
  1648. "schema": {
  1649. "$ref": "#/definitions/app.Response"
  1650. }
  1651. }
  1652. }
  1653. }
  1654. },
  1655. "/Ermcp/QuerySpotContract": {
  1656. "get": {
  1657. "security": [
  1658. {
  1659. "ApiKeyAuth": []
  1660. }
  1661. ],
  1662. "produces": [
  1663. "application/json"
  1664. ],
  1665. "tags": [
  1666. "企业风险管理(app)"
  1667. ],
  1668. "summary": "查询现货合同(对应现货合同菜单)",
  1669. "parameters": [
  1670. {
  1671. "type": "integer",
  1672. "description": "用户ID",
  1673. "name": "userId",
  1674. "in": "query",
  1675. "required": true
  1676. },
  1677. {
  1678. "type": "integer",
  1679. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  1680. "name": "QueryType",
  1681. "in": "query",
  1682. "required": true
  1683. }
  1684. ],
  1685. "responses": {
  1686. "200": {
  1687. "description": "OK",
  1688. "schema": {
  1689. "type": "array",
  1690. "items": {
  1691. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  1692. }
  1693. }
  1694. },
  1695. "500": {
  1696. "description": "Internal Server Error",
  1697. "schema": {
  1698. "$ref": "#/definitions/app.Response"
  1699. }
  1700. }
  1701. }
  1702. }
  1703. },
  1704. "/Ermcp/QueryUserInfo": {
  1705. "get": {
  1706. "security": [
  1707. {
  1708. "ApiKeyAuth": []
  1709. }
  1710. ],
  1711. "produces": [
  1712. "application/json"
  1713. ],
  1714. "tags": [
  1715. "企业风险管理(app)"
  1716. ],
  1717. "summary": "查询客户资料",
  1718. "parameters": [
  1719. {
  1720. "type": "integer",
  1721. "description": "所属机构用户ID",
  1722. "name": "MemberUserID",
  1723. "in": "query",
  1724. "required": true
  1725. },
  1726. {
  1727. "type": "integer",
  1728. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  1729. "name": "queryType",
  1730. "in": "query",
  1731. "required": true
  1732. }
  1733. ],
  1734. "responses": {
  1735. "200": {
  1736. "description": "OK",
  1737. "schema": {
  1738. "type": "array",
  1739. "items": {
  1740. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  1741. }
  1742. }
  1743. },
  1744. "500": {
  1745. "description": "Internal Server Error",
  1746. "schema": {
  1747. "$ref": "#/definitions/app.Response"
  1748. }
  1749. }
  1750. }
  1751. }
  1752. },
  1753. "/Ermcp/QueryWrStandard": {
  1754. "get": {
  1755. "security": [
  1756. {
  1757. "ApiKeyAuth": []
  1758. }
  1759. ],
  1760. "produces": [
  1761. "application/json"
  1762. ],
  1763. "tags": [
  1764. "企业风险管理(app)"
  1765. ],
  1766. "summary": "查询现货商品",
  1767. "parameters": [
  1768. {
  1769. "type": "integer",
  1770. "description": "所属机构ID",
  1771. "name": "userid",
  1772. "in": "query",
  1773. "required": true
  1774. },
  1775. {
  1776. "type": "integer",
  1777. "description": "状态 0-停用 1-正常",
  1778. "name": "status",
  1779. "in": "query",
  1780. "required": true
  1781. }
  1782. ],
  1783. "responses": {
  1784. "200": {
  1785. "description": "OK",
  1786. "schema": {
  1787. "type": "array",
  1788. "items": {
  1789. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  1790. }
  1791. }
  1792. },
  1793. "500": {
  1794. "description": "Internal Server Error",
  1795. "schema": {
  1796. "$ref": "#/definitions/app.Response"
  1797. }
  1798. }
  1799. }
  1800. }
  1801. },
  1802. "/Ermcp/QueryWrStandardDetail": {
  1803. "get": {
  1804. "security": [
  1805. {
  1806. "ApiKeyAuth": []
  1807. }
  1808. ],
  1809. "produces": [
  1810. "application/json"
  1811. ],
  1812. "tags": [
  1813. "企业风险管理(app)"
  1814. ],
  1815. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  1816. "parameters": [
  1817. {
  1818. "type": "integer",
  1819. "description": "所属机构ID",
  1820. "name": "userid",
  1821. "in": "query",
  1822. "required": true
  1823. },
  1824. {
  1825. "type": "integer",
  1826. "description": "现货商品ID",
  1827. "name": "wrstandardid",
  1828. "in": "query",
  1829. "required": true
  1830. }
  1831. ],
  1832. "responses": {
  1833. "200": {
  1834. "description": "OK",
  1835. "schema": {
  1836. "type": "array",
  1837. "items": {
  1838. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  1839. }
  1840. }
  1841. },
  1842. "500": {
  1843. "description": "Internal Server Error",
  1844. "schema": {
  1845. "$ref": "#/definitions/app.Response"
  1846. }
  1847. }
  1848. }
  1849. }
  1850. },
  1851. "/Erms2/QueryArbitrageStrategy": {
  1852. "get": {
  1853. "security": [
  1854. {
  1855. "ApiKeyAuth": []
  1856. }
  1857. ],
  1858. "produces": [
  1859. "application/json"
  1860. ],
  1861. "tags": [
  1862. "风险管理"
  1863. ],
  1864. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  1865. "parameters": [
  1866. {
  1867. "type": "integer",
  1868. "description": "账户ID",
  1869. "name": "userid",
  1870. "in": "query",
  1871. "required": true
  1872. },
  1873. {
  1874. "type": "string",
  1875. "description": "商品组ID(品种ID)",
  1876. "name": "goodsgroupid",
  1877. "in": "query"
  1878. }
  1879. ],
  1880. "responses": {
  1881. "200": {
  1882. "description": "OK",
  1883. "schema": {
  1884. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  1885. }
  1886. },
  1887. "500": {
  1888. "description": "Internal Server Error",
  1889. "schema": {
  1890. "$ref": "#/definitions/app.Response"
  1891. }
  1892. }
  1893. }
  1894. }
  1895. },
  1896. "/Erms2/QueryInnerTradeDetail": {
  1897. "get": {
  1898. "security": [
  1899. {
  1900. "ApiKeyAuth": []
  1901. }
  1902. ],
  1903. "produces": [
  1904. "application/json"
  1905. ],
  1906. "tags": [
  1907. "风险管理"
  1908. ],
  1909. "summary": "查询内部成交单信息",
  1910. "parameters": [
  1911. {
  1912. "type": "integer",
  1913. "description": "资金账户",
  1914. "name": "accountid",
  1915. "in": "query",
  1916. "required": true
  1917. }
  1918. ],
  1919. "responses": {
  1920. "200": {
  1921. "description": "OK",
  1922. "schema": {
  1923. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  1924. }
  1925. },
  1926. "500": {
  1927. "description": "Internal Server Error",
  1928. "schema": {
  1929. "$ref": "#/definitions/app.Response"
  1930. }
  1931. }
  1932. }
  1933. }
  1934. },
  1935. "/Erms2/QuerySpotContract": {
  1936. "get": {
  1937. "security": [
  1938. {
  1939. "ApiKeyAuth": []
  1940. }
  1941. ],
  1942. "produces": [
  1943. "application/json"
  1944. ],
  1945. "tags": [
  1946. "风险管理"
  1947. ],
  1948. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  1949. "parameters": [
  1950. {
  1951. "type": "integer",
  1952. "description": "策略申请ID",
  1953. "name": "asapplyid",
  1954. "in": "query",
  1955. "required": true
  1956. },
  1957. {
  1958. "type": "integer",
  1959. "description": "现货合同ID",
  1960. "name": "spotcontractid",
  1961. "in": "query"
  1962. }
  1963. ],
  1964. "responses": {
  1965. "200": {
  1966. "description": "OK",
  1967. "schema": {
  1968. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  1969. }
  1970. },
  1971. "500": {
  1972. "description": "Internal Server Error",
  1973. "schema": {
  1974. "$ref": "#/definitions/app.Response"
  1975. }
  1976. }
  1977. }
  1978. }
  1979. },
  1980. "/Erms3/AddErms2ASApply": {
  1981. "post": {
  1982. "security": [
  1983. {
  1984. "ApiKeyAuth": []
  1985. }
  1986. ],
  1987. "produces": [
  1988. "application/json"
  1989. ],
  1990. "tags": [
  1991. "风险管理v3"
  1992. ],
  1993. "summary": "新增期现套利业务申请",
  1994. "parameters": [
  1995. {
  1996. "description": "申请参数",
  1997. "name": "jsonBody",
  1998. "in": "body",
  1999. "required": true,
  2000. "schema": {
  2001. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  2002. }
  2003. }
  2004. ],
  2005. "responses": {
  2006. "200": {
  2007. "description": "OK",
  2008. "schema": {
  2009. "$ref": "#/definitions/app.Response"
  2010. }
  2011. },
  2012. "500": {
  2013. "description": "Internal Server Error",
  2014. "schema": {
  2015. "$ref": "#/definitions/app.Response"
  2016. }
  2017. }
  2018. }
  2019. }
  2020. },
  2021. "/Erms3/AddErms2SpotTradeApply": {
  2022. "post": {
  2023. "security": [
  2024. {
  2025. "ApiKeyAuth": []
  2026. }
  2027. ],
  2028. "produces": [
  2029. "application/json"
  2030. ],
  2031. "tags": [
  2032. "风险管理v3"
  2033. ],
  2034. "summary": "新增现货贸易业务申请",
  2035. "parameters": [
  2036. {
  2037. "description": "申请参数",
  2038. "name": "jsonBody",
  2039. "in": "body",
  2040. "required": true,
  2041. "schema": {
  2042. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  2043. }
  2044. }
  2045. ],
  2046. "responses": {
  2047. "200": {
  2048. "description": "OK",
  2049. "schema": {
  2050. "$ref": "#/definitions/app.Response"
  2051. }
  2052. },
  2053. "500": {
  2054. "description": "Internal Server Error",
  2055. "schema": {
  2056. "$ref": "#/definitions/app.Response"
  2057. }
  2058. }
  2059. }
  2060. }
  2061. },
  2062. "/Erms3/AddSpotContractApply": {
  2063. "post": {
  2064. "security": [
  2065. {
  2066. "ApiKeyAuth": []
  2067. }
  2068. ],
  2069. "produces": [
  2070. "application/json"
  2071. ],
  2072. "tags": [
  2073. "风险管理v3"
  2074. ],
  2075. "summary": "新增现货合同申请",
  2076. "parameters": [
  2077. {
  2078. "description": "申请参数",
  2079. "name": "jsonBody",
  2080. "in": "body",
  2081. "required": true,
  2082. "schema": {
  2083. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  2084. }
  2085. }
  2086. ],
  2087. "responses": {
  2088. "200": {
  2089. "description": "OK",
  2090. "schema": {
  2091. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  2092. }
  2093. },
  2094. "500": {
  2095. "description": "Internal Server Error",
  2096. "schema": {
  2097. "$ref": "#/definitions/app.Response"
  2098. }
  2099. }
  2100. }
  2101. }
  2102. },
  2103. "/Erms3/AddUserInfoApply": {
  2104. "post": {
  2105. "security": [
  2106. {
  2107. "ApiKeyAuth": []
  2108. }
  2109. ],
  2110. "produces": [
  2111. "application/json"
  2112. ],
  2113. "tags": [
  2114. "风险管理v3"
  2115. ],
  2116. "summary": "新增客户申请",
  2117. "parameters": [
  2118. {
  2119. "description": "申请参数",
  2120. "name": "jsonBody",
  2121. "in": "body",
  2122. "required": true,
  2123. "schema": {
  2124. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  2125. }
  2126. }
  2127. ],
  2128. "responses": {
  2129. "200": {
  2130. "description": "OK",
  2131. "schema": {
  2132. "$ref": "#/definitions/app.Response"
  2133. }
  2134. },
  2135. "500": {
  2136. "description": "Internal Server Error",
  2137. "schema": {
  2138. "$ref": "#/definitions/app.Response"
  2139. }
  2140. }
  2141. }
  2142. }
  2143. },
  2144. "/Erms3/QueryBusinessInfo": {
  2145. "get": {
  2146. "security": [
  2147. {
  2148. "ApiKeyAuth": []
  2149. }
  2150. ],
  2151. "produces": [
  2152. "application/json"
  2153. ],
  2154. "tags": [
  2155. "风险管理v3"
  2156. ],
  2157. "summary": "查询业务表单数据",
  2158. "parameters": [
  2159. {
  2160. "type": "string",
  2161. "description": "资金账号ID列表,用逗号分隔",
  2162. "name": "accountids",
  2163. "in": "query",
  2164. "required": true
  2165. },
  2166. {
  2167. "type": "integer",
  2168. "description": "状态,0为未结束 1为已结束",
  2169. "name": "status",
  2170. "in": "query",
  2171. "required": true
  2172. }
  2173. ],
  2174. "responses": {
  2175. "200": {
  2176. "description": "OK",
  2177. "schema": {
  2178. "type": "array",
  2179. "items": {
  2180. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  2181. }
  2182. }
  2183. },
  2184. "500": {
  2185. "description": "Internal Server Error",
  2186. "schema": {
  2187. "$ref": "#/definitions/app.Response"
  2188. }
  2189. }
  2190. }
  2191. }
  2192. },
  2193. "/Erms3/QueryPendingAuditContract": {
  2194. "get": {
  2195. "security": [
  2196. {
  2197. "ApiKeyAuth": []
  2198. }
  2199. ],
  2200. "produces": [
  2201. "application/json"
  2202. ],
  2203. "tags": [
  2204. "风险管理v3"
  2205. ],
  2206. "summary": "查询待审核合同",
  2207. "parameters": [
  2208. {
  2209. "type": "string",
  2210. "description": "资金账号ID列表,逗号隔开",
  2211. "name": "accountids",
  2212. "in": "query",
  2213. "required": true
  2214. },
  2215. {
  2216. "type": "integer",
  2217. "description": "合同类型 1-采购 -1-销售",
  2218. "name": "contracttype",
  2219. "in": "query",
  2220. "required": true
  2221. },
  2222. {
  2223. "type": "integer",
  2224. "description": "合同模式 1-普通 2-回购",
  2225. "name": "contractmode",
  2226. "in": "query",
  2227. "required": true
  2228. }
  2229. ],
  2230. "responses": {
  2231. "200": {
  2232. "description": "OK",
  2233. "schema": {
  2234. "type": "array",
  2235. "items": {
  2236. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  2237. }
  2238. }
  2239. },
  2240. "500": {
  2241. "description": "Internal Server Error",
  2242. "schema": {
  2243. "$ref": "#/definitions/app.Response"
  2244. }
  2245. }
  2246. }
  2247. }
  2248. },
  2249. "/Erms3/QueryPendingBusiness": {
  2250. "get": {
  2251. "security": [
  2252. {
  2253. "ApiKeyAuth": []
  2254. }
  2255. ],
  2256. "produces": [
  2257. "application/json"
  2258. ],
  2259. "tags": [
  2260. "风险管理v3"
  2261. ],
  2262. "summary": "查询待审核基差贸易业务",
  2263. "parameters": [
  2264. {
  2265. "type": "string",
  2266. "description": "资金账号ID列表,逗号隔开",
  2267. "name": "accountids",
  2268. "in": "query",
  2269. "required": true
  2270. }
  2271. ],
  2272. "responses": {
  2273. "200": {
  2274. "description": "OK",
  2275. "schema": {
  2276. "type": "array",
  2277. "items": {
  2278. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  2279. }
  2280. }
  2281. },
  2282. "500": {
  2283. "description": "Internal Server Error",
  2284. "schema": {
  2285. "$ref": "#/definitions/app.Response"
  2286. }
  2287. }
  2288. }
  2289. }
  2290. },
  2291. "/Erms3/QuerySpotContractAppleForm": {
  2292. "get": {
  2293. "security": [
  2294. {
  2295. "ApiKeyAuth": []
  2296. }
  2297. ],
  2298. "produces": [
  2299. "application/json"
  2300. ],
  2301. "tags": [
  2302. "风险管理v3"
  2303. ],
  2304. "summary": "查询合同申请表单数据",
  2305. "parameters": [
  2306. {
  2307. "type": "integer",
  2308. "description": "登录账号",
  2309. "name": "loginID",
  2310. "in": "query",
  2311. "required": true
  2312. }
  2313. ],
  2314. "responses": {
  2315. "200": {
  2316. "description": "OK",
  2317. "schema": {
  2318. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  2319. }
  2320. },
  2321. "500": {
  2322. "description": "Internal Server Error",
  2323. "schema": {
  2324. "$ref": "#/definitions/app.Response"
  2325. }
  2326. }
  2327. }
  2328. }
  2329. },
  2330. "/Erms3/QuerySpotContractDetail": {
  2331. "get": {
  2332. "security": [
  2333. {
  2334. "ApiKeyAuth": []
  2335. }
  2336. ],
  2337. "produces": [
  2338. "application/json"
  2339. ],
  2340. "tags": [
  2341. "风险管理v3"
  2342. ],
  2343. "summary": "查询合同详细信息",
  2344. "parameters": [
  2345. {
  2346. "type": "string",
  2347. "description": "资金账号ID列表,用逗号分隔",
  2348. "name": "accountids",
  2349. "in": "query",
  2350. "required": true
  2351. },
  2352. {
  2353. "type": "integer",
  2354. "description": "合同类型,1为采购合同 -1为销售合同",
  2355. "name": "contracttype",
  2356. "in": "query",
  2357. "required": true
  2358. },
  2359. {
  2360. "type": "integer",
  2361. "description": "合同模式,1为普通合同 2为回购销售合同",
  2362. "name": "contractmode",
  2363. "in": "query",
  2364. "required": true
  2365. },
  2366. {
  2367. "type": "integer",
  2368. "description": "状态,0为履约中 1为已完成",
  2369. "name": "status",
  2370. "in": "query",
  2371. "required": true
  2372. }
  2373. ],
  2374. "responses": {
  2375. "200": {
  2376. "description": "OK",
  2377. "schema": {
  2378. "type": "array",
  2379. "items": {
  2380. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  2381. }
  2382. }
  2383. },
  2384. "500": {
  2385. "description": "Internal Server Error",
  2386. "schema": {
  2387. "$ref": "#/definitions/app.Response"
  2388. }
  2389. }
  2390. }
  2391. }
  2392. },
  2393. "/Erms3/QueryUserInfoApplies": {
  2394. "get": {
  2395. "security": [
  2396. {
  2397. "ApiKeyAuth": []
  2398. }
  2399. ],
  2400. "produces": [
  2401. "application/json"
  2402. ],
  2403. "tags": [
  2404. "风险管理v3"
  2405. ],
  2406. "summary": "客户申请信息查询",
  2407. "parameters": [
  2408. {
  2409. "type": "integer",
  2410. "description": "页码",
  2411. "name": "page",
  2412. "in": "query"
  2413. },
  2414. {
  2415. "type": "integer",
  2416. "description": "每页条数",
  2417. "name": "pagesize",
  2418. "in": "query"
  2419. },
  2420. {
  2421. "type": "string",
  2422. "description": "客户名称,支持模糊查询",
  2423. "name": "userName",
  2424. "in": "query"
  2425. }
  2426. ],
  2427. "responses": {
  2428. "200": {
  2429. "description": "OK",
  2430. "schema": {
  2431. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  2432. }
  2433. },
  2434. "500": {
  2435. "description": "Internal Server Error",
  2436. "schema": {
  2437. "$ref": "#/definitions/app.Response"
  2438. }
  2439. }
  2440. }
  2441. }
  2442. },
  2443. "/Erms3/QueryUserInfos": {
  2444. "get": {
  2445. "security": [
  2446. {
  2447. "ApiKeyAuth": []
  2448. }
  2449. ],
  2450. "produces": [
  2451. "application/json"
  2452. ],
  2453. "tags": [
  2454. "风险管理v3"
  2455. ],
  2456. "summary": "客户信息查询",
  2457. "parameters": [
  2458. {
  2459. "type": "integer",
  2460. "description": "页码",
  2461. "name": "page",
  2462. "in": "query"
  2463. },
  2464. {
  2465. "type": "integer",
  2466. "description": "每页条数",
  2467. "name": "pagesize",
  2468. "in": "query"
  2469. },
  2470. {
  2471. "type": "string",
  2472. "description": "客户名称,支持模糊查询",
  2473. "name": "userName",
  2474. "in": "query"
  2475. }
  2476. ],
  2477. "responses": {
  2478. "200": {
  2479. "description": "OK",
  2480. "schema": {
  2481. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  2482. }
  2483. },
  2484. "500": {
  2485. "description": "Internal Server Error",
  2486. "schema": {
  2487. "$ref": "#/definitions/app.Response"
  2488. }
  2489. }
  2490. }
  2491. }
  2492. },
  2493. "/HSBY/GetHsbyMyCount": {
  2494. "get": {
  2495. "security": [
  2496. {
  2497. "ApiKeyAuth": []
  2498. }
  2499. ],
  2500. "description": "说明: 不包括已完成的数量。",
  2501. "produces": [
  2502. "application/json"
  2503. ],
  2504. "tags": [
  2505. "定制【海商报业】"
  2506. ],
  2507. "summary": "获取我的订单与包裹数量",
  2508. "parameters": [
  2509. {
  2510. "type": "string",
  2511. "description": "资金账户列表,格式:1,2,3",
  2512. "name": "accountIDs",
  2513. "in": "query",
  2514. "required": true
  2515. }
  2516. ],
  2517. "responses": {
  2518. "200": {
  2519. "description": "OK",
  2520. "schema": {
  2521. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  2522. }
  2523. },
  2524. "500": {
  2525. "description": "Internal Server Error",
  2526. "schema": {
  2527. "$ref": "#/definitions/app.Response"
  2528. }
  2529. }
  2530. }
  2531. }
  2532. },
  2533. "/HSBY/QueryClientFixedADConfigs": {
  2534. "get": {
  2535. "security": [
  2536. {
  2537. "ApiKeyAuth": []
  2538. }
  2539. ],
  2540. "produces": [
  2541. "application/json"
  2542. ],
  2543. "tags": [
  2544. "定制【海商报业】"
  2545. ],
  2546. "summary": "获取终端固定广告配置",
  2547. "responses": {
  2548. "200": {
  2549. "description": "OK",
  2550. "schema": {
  2551. "$ref": "#/definitions/models.Clientfixedadconfig"
  2552. }
  2553. },
  2554. "500": {
  2555. "description": "Internal Server Error",
  2556. "schema": {
  2557. "$ref": "#/definitions/app.Response"
  2558. }
  2559. }
  2560. }
  2561. }
  2562. },
  2563. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  2564. "get": {
  2565. "security": [
  2566. {
  2567. "ApiKeyAuth": []
  2568. }
  2569. ],
  2570. "produces": [
  2571. "application/json"
  2572. ],
  2573. "tags": [
  2574. "定制【海商报业】"
  2575. ],
  2576. "summary": "查询\"我的订单 - 已完成\"单据信息",
  2577. "parameters": [
  2578. {
  2579. "type": "integer",
  2580. "description": "页码",
  2581. "name": "page",
  2582. "in": "query"
  2583. },
  2584. {
  2585. "type": "integer",
  2586. "description": "每页条数",
  2587. "name": "pagesize",
  2588. "in": "query"
  2589. },
  2590. {
  2591. "type": "string",
  2592. "description": "资金账户列表,格式:1,2,3",
  2593. "name": "accountIDs",
  2594. "in": "query",
  2595. "required": true
  2596. }
  2597. ],
  2598. "responses": {
  2599. "200": {
  2600. "description": "OK",
  2601. "schema": {
  2602. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  2603. }
  2604. },
  2605. "500": {
  2606. "description": "Internal Server Error",
  2607. "schema": {
  2608. "$ref": "#/definitions/app.Response"
  2609. }
  2610. }
  2611. }
  2612. }
  2613. },
  2614. "/HSBY/QueryHsbyGoodsOrderDetails": {
  2615. "get": {
  2616. "security": [
  2617. {
  2618. "ApiKeyAuth": []
  2619. }
  2620. ],
  2621. "description": "说明:查询结果已按委托价格和委托时间排序",
  2622. "produces": [
  2623. "application/json"
  2624. ],
  2625. "tags": [
  2626. "定制【海商报业】"
  2627. ],
  2628. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  2629. "parameters": [
  2630. {
  2631. "type": "integer",
  2632. "description": "商品ID",
  2633. "name": "goodsID",
  2634. "in": "query",
  2635. "required": true
  2636. },
  2637. {
  2638. "type": "string",
  2639. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  2640. "name": "accountIDs",
  2641. "in": "query"
  2642. },
  2643. {
  2644. "type": "integer",
  2645. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  2646. "name": "buyOrSell",
  2647. "in": "query"
  2648. },
  2649. {
  2650. "type": "number",
  2651. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  2652. "name": "price",
  2653. "in": "query"
  2654. },
  2655. {
  2656. "type": "integer",
  2657. "description": "档位,不传则默认为3档",
  2658. "name": "speed",
  2659. "in": "query"
  2660. }
  2661. ],
  2662. "responses": {
  2663. "200": {
  2664. "description": "OK",
  2665. "schema": {
  2666. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  2667. }
  2668. },
  2669. "500": {
  2670. "description": "Internal Server Error",
  2671. "schema": {
  2672. "$ref": "#/definitions/app.Response"
  2673. }
  2674. }
  2675. }
  2676. }
  2677. },
  2678. "/HSBY/QueryHsbyListingGoodsDetail": {
  2679. "get": {
  2680. "security": [
  2681. {
  2682. "ApiKeyAuth": []
  2683. }
  2684. ],
  2685. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  2686. "produces": [
  2687. "application/json"
  2688. ],
  2689. "tags": [
  2690. "定制【海商报业】"
  2691. ],
  2692. "summary": "查询二级市场(挂牌点选)商品信息详情",
  2693. "parameters": [
  2694. {
  2695. "type": "integer",
  2696. "description": "商品ID",
  2697. "name": "goodsID",
  2698. "in": "query",
  2699. "required": true
  2700. },
  2701. {
  2702. "type": "integer",
  2703. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  2704. "name": "accountID",
  2705. "in": "query"
  2706. }
  2707. ],
  2708. "responses": {
  2709. "200": {
  2710. "description": "OK",
  2711. "schema": {
  2712. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  2713. }
  2714. },
  2715. "500": {
  2716. "description": "Internal Server Error",
  2717. "schema": {
  2718. "$ref": "#/definitions/app.Response"
  2719. }
  2720. }
  2721. }
  2722. }
  2723. },
  2724. "/HSBY/QueryHsbyMarketGoodsDetail": {
  2725. "get": {
  2726. "security": [
  2727. {
  2728. "ApiKeyAuth": []
  2729. }
  2730. ],
  2731. "produces": [
  2732. "application/json"
  2733. ],
  2734. "tags": [
  2735. "定制【海商报业】"
  2736. ],
  2737. "summary": "查询三级市场(商城)商品信息详情",
  2738. "parameters": [
  2739. {
  2740. "type": "integer",
  2741. "description": "委托单号",
  2742. "name": "orderID",
  2743. "in": "query",
  2744. "required": true
  2745. },
  2746. {
  2747. "type": "integer",
  2748. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  2749. "name": "accountID",
  2750. "in": "query"
  2751. }
  2752. ],
  2753. "responses": {
  2754. "200": {
  2755. "description": "OK",
  2756. "schema": {
  2757. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  2758. }
  2759. },
  2760. "500": {
  2761. "description": "Internal Server Error",
  2762. "schema": {
  2763. "$ref": "#/definitions/app.Response"
  2764. }
  2765. }
  2766. }
  2767. }
  2768. },
  2769. "/HSBY/QueryHsbyMarketGoodses": {
  2770. "get": {
  2771. "security": [
  2772. {
  2773. "ApiKeyAuth": []
  2774. }
  2775. ],
  2776. "produces": [
  2777. "application/json"
  2778. ],
  2779. "tags": [
  2780. "定制【海商报业】"
  2781. ],
  2782. "summary": "查询特卖商品列表(三级商城)",
  2783. "parameters": [
  2784. {
  2785. "type": "integer",
  2786. "description": "页码",
  2787. "name": "page",
  2788. "in": "query"
  2789. },
  2790. {
  2791. "type": "integer",
  2792. "description": "每页条数",
  2793. "name": "pagesize",
  2794. "in": "query"
  2795. },
  2796. {
  2797. "type": "string",
  2798. "description": "市场ID列表,格式:1,2,3",
  2799. "name": "marketIDs",
  2800. "in": "query",
  2801. "required": true
  2802. },
  2803. {
  2804. "type": "integer",
  2805. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  2806. "name": "accountID",
  2807. "in": "query",
  2808. "required": true
  2809. },
  2810. {
  2811. "type": "integer",
  2812. "description": "类别ID",
  2813. "name": "categoryID",
  2814. "in": "query"
  2815. },
  2816. {
  2817. "type": "string",
  2818. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  2819. "name": "goodsIDs",
  2820. "in": "query"
  2821. },
  2822. {
  2823. "type": "integer",
  2824. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  2825. "name": "couponTypeID",
  2826. "in": "query"
  2827. }
  2828. ],
  2829. "responses": {
  2830. "200": {
  2831. "description": "OK",
  2832. "schema": {
  2833. "$ref": "#/definitions/models.HsbyMarketGoods"
  2834. }
  2835. },
  2836. "500": {
  2837. "description": "Internal Server Error",
  2838. "schema": {
  2839. "$ref": "#/definitions/app.Response"
  2840. }
  2841. }
  2842. }
  2843. }
  2844. },
  2845. "/HSBY/QueryHsbyMarkets": {
  2846. "get": {
  2847. "security": [
  2848. {
  2849. "ApiKeyAuth": []
  2850. }
  2851. ],
  2852. "produces": [
  2853. "application/json"
  2854. ],
  2855. "tags": [
  2856. "定制【海商报业】"
  2857. ],
  2858. "summary": "查询海商报业相关市场信息",
  2859. "responses": {
  2860. "200": {
  2861. "description": "OK",
  2862. "schema": {
  2863. "$ref": "#/definitions/models.HsbyMarketInfo"
  2864. }
  2865. },
  2866. "500": {
  2867. "description": "Internal Server Error",
  2868. "schema": {
  2869. "$ref": "#/definitions/app.Response"
  2870. }
  2871. }
  2872. }
  2873. }
  2874. },
  2875. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  2876. "get": {
  2877. "security": [
  2878. {
  2879. "ApiKeyAuth": []
  2880. }
  2881. ],
  2882. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  2883. "produces": [
  2884. "application/json"
  2885. ],
  2886. "tags": [
  2887. "定制【海商报业】"
  2888. ],
  2889. "summary": "查询“我的订单”信息",
  2890. "parameters": [
  2891. {
  2892. "type": "string",
  2893. "description": "资金账户列表,格式:1,2,3",
  2894. "name": "accountIDs",
  2895. "in": "query",
  2896. "required": true
  2897. },
  2898. {
  2899. "type": "integer",
  2900. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  2901. "name": "myBuyStatus",
  2902. "in": "query"
  2903. }
  2904. ],
  2905. "responses": {
  2906. "200": {
  2907. "description": "OK",
  2908. "schema": {
  2909. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  2910. }
  2911. },
  2912. "500": {
  2913. "description": "Internal Server Error",
  2914. "schema": {
  2915. "$ref": "#/definitions/app.Response"
  2916. }
  2917. }
  2918. }
  2919. }
  2920. },
  2921. "/HSBY/QueryHsbyMyGoods": {
  2922. "get": {
  2923. "security": [
  2924. {
  2925. "ApiKeyAuth": []
  2926. }
  2927. ],
  2928. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  2929. "produces": [
  2930. "application/json"
  2931. ],
  2932. "tags": [
  2933. "定制【海商报业】"
  2934. ],
  2935. "summary": "查询“我的商品”信息",
  2936. "parameters": [
  2937. {
  2938. "type": "string",
  2939. "description": "资金账户列表,格式:1,2,3",
  2940. "name": "accountIDs",
  2941. "in": "query",
  2942. "required": true
  2943. }
  2944. ],
  2945. "responses": {
  2946. "200": {
  2947. "description": "OK",
  2948. "schema": {
  2949. "$ref": "#/definitions/models.HsbyMyGoods"
  2950. }
  2951. },
  2952. "500": {
  2953. "description": "Internal Server Error",
  2954. "schema": {
  2955. "$ref": "#/definitions/app.Response"
  2956. }
  2957. }
  2958. }
  2959. }
  2960. },
  2961. "/HSBY/QueryHsbyMyPackages": {
  2962. "get": {
  2963. "security": [
  2964. {
  2965. "ApiKeyAuth": []
  2966. }
  2967. ],
  2968. "produces": [
  2969. "application/json"
  2970. ],
  2971. "tags": [
  2972. "定制【海商报业】"
  2973. ],
  2974. "summary": "查询我的包裹信息",
  2975. "parameters": [
  2976. {
  2977. "type": "string",
  2978. "description": "资金账户列表,格式:1,2,3",
  2979. "name": "accountIDs",
  2980. "in": "query",
  2981. "required": true
  2982. },
  2983. {
  2984. "type": "integer",
  2985. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2986. "name": "takeOrderStatus",
  2987. "in": "query"
  2988. }
  2989. ],
  2990. "responses": {
  2991. "200": {
  2992. "description": "OK",
  2993. "schema": {
  2994. "$ref": "#/definitions/models.HsbyMyPackage"
  2995. }
  2996. },
  2997. "500": {
  2998. "description": "Internal Server Error",
  2999. "schema": {
  3000. "$ref": "#/definitions/app.Response"
  3001. }
  3002. }
  3003. }
  3004. }
  3005. },
  3006. "/HSBY/QueryHsbyPreGoodsDetail": {
  3007. "get": {
  3008. "security": [
  3009. {
  3010. "ApiKeyAuth": []
  3011. }
  3012. ],
  3013. "produces": [
  3014. "application/json"
  3015. ],
  3016. "tags": [
  3017. "定制【海商报业】"
  3018. ],
  3019. "summary": "查询一级市场(预售)商品信息详情",
  3020. "parameters": [
  3021. {
  3022. "type": "integer",
  3023. "description": "商品ID",
  3024. "name": "goodsID",
  3025. "in": "query",
  3026. "required": true
  3027. },
  3028. {
  3029. "type": "integer",
  3030. "description": "资金账户,主要用于获取预售商品购买上限",
  3031. "name": "accountID",
  3032. "in": "query"
  3033. }
  3034. ],
  3035. "responses": {
  3036. "200": {
  3037. "description": "OK",
  3038. "schema": {
  3039. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  3040. }
  3041. },
  3042. "500": {
  3043. "description": "Internal Server Error",
  3044. "schema": {
  3045. "$ref": "#/definitions/app.Response"
  3046. }
  3047. }
  3048. }
  3049. }
  3050. },
  3051. "/HSBY/QueryHsbyPreGoodses": {
  3052. "get": {
  3053. "security": [
  3054. {
  3055. "ApiKeyAuth": []
  3056. }
  3057. ],
  3058. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  3059. "produces": [
  3060. "application/json"
  3061. ],
  3062. "tags": [
  3063. "定制【海商报业】"
  3064. ],
  3065. "summary": "查询新品上市商品列表(一级市场预售)",
  3066. "parameters": [
  3067. {
  3068. "type": "integer",
  3069. "description": "页码",
  3070. "name": "page",
  3071. "in": "query"
  3072. },
  3073. {
  3074. "type": "integer",
  3075. "description": "每页条数",
  3076. "name": "pagesize",
  3077. "in": "query"
  3078. },
  3079. {
  3080. "type": "string",
  3081. "description": "市场ID列表,格式:1,2,3",
  3082. "name": "marketIDs",
  3083. "in": "query",
  3084. "required": true
  3085. },
  3086. {
  3087. "type": "integer",
  3088. "description": "目的地(省)ID",
  3089. "name": "descProvinceID",
  3090. "in": "query"
  3091. },
  3092. {
  3093. "type": "integer",
  3094. "description": "目的地(市)ID",
  3095. "name": "descCityID",
  3096. "in": "query"
  3097. }
  3098. ],
  3099. "responses": {
  3100. "200": {
  3101. "description": "OK",
  3102. "schema": {
  3103. "$ref": "#/definitions/models.HsbyPreGoods"
  3104. }
  3105. },
  3106. "500": {
  3107. "description": "Internal Server Error",
  3108. "schema": {
  3109. "$ref": "#/definitions/app.Response"
  3110. }
  3111. }
  3112. }
  3113. }
  3114. },
  3115. "/HSBY/QueryHsbySellMyDetails": {
  3116. "get": {
  3117. "security": [
  3118. {
  3119. "ApiKeyAuth": []
  3120. }
  3121. ],
  3122. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  3123. "produces": [
  3124. "application/json"
  3125. ],
  3126. "tags": [
  3127. "定制【海商报业】"
  3128. ],
  3129. "summary": "查询\"我的闲置\"单据信息",
  3130. "parameters": [
  3131. {
  3132. "type": "integer",
  3133. "description": "页码",
  3134. "name": "page",
  3135. "in": "query"
  3136. },
  3137. {
  3138. "type": "integer",
  3139. "description": "每页条数",
  3140. "name": "pagesize",
  3141. "in": "query"
  3142. },
  3143. {
  3144. "type": "string",
  3145. "description": "资金账户列表,格式:1,2,3",
  3146. "name": "accountIDs",
  3147. "in": "query",
  3148. "required": true
  3149. },
  3150. {
  3151. "type": "integer",
  3152. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  3153. "name": "orderType",
  3154. "in": "query"
  3155. }
  3156. ],
  3157. "responses": {
  3158. "200": {
  3159. "description": "OK",
  3160. "schema": {
  3161. "$ref": "#/definitions/models.HsbySellMyDetail"
  3162. }
  3163. },
  3164. "500": {
  3165. "description": "Internal Server Error",
  3166. "schema": {
  3167. "$ref": "#/definitions/app.Response"
  3168. }
  3169. }
  3170. }
  3171. }
  3172. },
  3173. "/HSBY/QueryHsbyTopGoodses": {
  3174. "get": {
  3175. "security": [
  3176. {
  3177. "ApiKeyAuth": []
  3178. }
  3179. ],
  3180. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  3181. "produces": [
  3182. "application/json"
  3183. ],
  3184. "tags": [
  3185. "定制【海商报业】"
  3186. ],
  3187. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  3188. "parameters": [
  3189. {
  3190. "type": "integer",
  3191. "description": "页码",
  3192. "name": "page",
  3193. "in": "query"
  3194. },
  3195. {
  3196. "type": "integer",
  3197. "description": "每页条数",
  3198. "name": "pagesize",
  3199. "in": "query"
  3200. },
  3201. {
  3202. "type": "string",
  3203. "description": "市场ID列表,格式:1,2,3",
  3204. "name": "marketIDs",
  3205. "in": "query",
  3206. "required": true
  3207. },
  3208. {
  3209. "type": "integer",
  3210. "description": "目的地(省)ID",
  3211. "name": "descProvinceID",
  3212. "in": "query"
  3213. },
  3214. {
  3215. "type": "integer",
  3216. "description": "目的地(市)ID",
  3217. "name": "descCityID",
  3218. "in": "query"
  3219. }
  3220. ],
  3221. "responses": {
  3222. "200": {
  3223. "description": "OK",
  3224. "schema": {
  3225. "$ref": "#/definitions/models.HsbyTopGoods"
  3226. }
  3227. },
  3228. "500": {
  3229. "description": "Internal Server Error",
  3230. "schema": {
  3231. "$ref": "#/definitions/app.Response"
  3232. }
  3233. }
  3234. }
  3235. }
  3236. },
  3237. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  3238. "get": {
  3239. "security": [
  3240. {
  3241. "ApiKeyAuth": []
  3242. }
  3243. ],
  3244. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  3245. "produces": [
  3246. "application/json"
  3247. ],
  3248. "tags": [
  3249. "定制【海商报业】"
  3250. ],
  3251. "summary": "查询游客三级市场(商城)商品信息详情",
  3252. "parameters": [
  3253. {
  3254. "type": "integer",
  3255. "description": "商品ID",
  3256. "name": "goodsID",
  3257. "in": "query",
  3258. "required": true
  3259. }
  3260. ],
  3261. "responses": {
  3262. "200": {
  3263. "description": "OK",
  3264. "schema": {
  3265. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3266. }
  3267. },
  3268. "500": {
  3269. "description": "Internal Server Error",
  3270. "schema": {
  3271. "$ref": "#/definitions/app.Response"
  3272. }
  3273. }
  3274. }
  3275. }
  3276. },
  3277. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  3278. "get": {
  3279. "security": [
  3280. {
  3281. "ApiKeyAuth": []
  3282. }
  3283. ],
  3284. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  3285. "produces": [
  3286. "application/json"
  3287. ],
  3288. "tags": [
  3289. "定制【海商报业】"
  3290. ],
  3291. "summary": "查询游客特卖商品列表(三级商城)",
  3292. "parameters": [
  3293. {
  3294. "type": "integer",
  3295. "description": "页码",
  3296. "name": "page",
  3297. "in": "query"
  3298. },
  3299. {
  3300. "type": "integer",
  3301. "description": "每页条数",
  3302. "name": "pagesize",
  3303. "in": "query"
  3304. },
  3305. {
  3306. "type": "string",
  3307. "description": "市场ID列表,格式:1,2,3",
  3308. "name": "marketIDs",
  3309. "in": "query",
  3310. "required": true
  3311. },
  3312. {
  3313. "type": "integer",
  3314. "description": "类别ID",
  3315. "name": "categoryID",
  3316. "in": "query"
  3317. },
  3318. {
  3319. "type": "string",
  3320. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3321. "name": "goodsIDs",
  3322. "in": "query"
  3323. }
  3324. ],
  3325. "responses": {
  3326. "200": {
  3327. "description": "OK",
  3328. "schema": {
  3329. "$ref": "#/definitions/models.HsbyMarketGoods"
  3330. }
  3331. },
  3332. "500": {
  3333. "description": "Internal Server Error",
  3334. "schema": {
  3335. "$ref": "#/definitions/app.Response"
  3336. }
  3337. }
  3338. }
  3339. }
  3340. },
  3341. "/HSBY/QueryMyCollectionOrders": {
  3342. "get": {
  3343. "security": [
  3344. {
  3345. "ApiKeyAuth": []
  3346. }
  3347. ],
  3348. "produces": [
  3349. "application/json"
  3350. ],
  3351. "tags": [
  3352. "定制【海商报业】"
  3353. ],
  3354. "summary": "我的闲置中收款信息查询",
  3355. "parameters": [
  3356. {
  3357. "type": "integer",
  3358. "description": "页码",
  3359. "name": "page",
  3360. "in": "query"
  3361. },
  3362. {
  3363. "type": "integer",
  3364. "description": "每页条数",
  3365. "name": "pagesize",
  3366. "in": "query"
  3367. },
  3368. {
  3369. "type": "string",
  3370. "description": "资金账户,格式:1,2,3",
  3371. "name": "accountIDs",
  3372. "in": "query",
  3373. "required": true
  3374. }
  3375. ],
  3376. "responses": {
  3377. "200": {
  3378. "description": "OK",
  3379. "schema": {
  3380. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  3381. }
  3382. },
  3383. "500": {
  3384. "description": "Internal Server Error",
  3385. "schema": {
  3386. "$ref": "#/definitions/app.Response"
  3387. }
  3388. }
  3389. }
  3390. }
  3391. },
  3392. "/HSBY/QueryMyCouponHolds": {
  3393. "get": {
  3394. "security": [
  3395. {
  3396. "ApiKeyAuth": []
  3397. }
  3398. ],
  3399. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  3400. "produces": [
  3401. "application/json"
  3402. ],
  3403. "tags": [
  3404. "定制【海商报业】"
  3405. ],
  3406. "summary": "我的优惠卷持仓查询",
  3407. "parameters": [
  3408. {
  3409. "type": "string",
  3410. "description": "资金账户列表,格式:1,2,3",
  3411. "name": "accountIDs",
  3412. "in": "query",
  3413. "required": true
  3414. },
  3415. {
  3416. "type": "string",
  3417. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  3418. "name": "holdStatus",
  3419. "in": "query"
  3420. }
  3421. ],
  3422. "responses": {
  3423. "200": {
  3424. "description": "OK",
  3425. "schema": {
  3426. "$ref": "#/definitions/models.MyCouponHold"
  3427. }
  3428. },
  3429. "500": {
  3430. "description": "Internal Server Error",
  3431. "schema": {
  3432. "$ref": "#/definitions/app.Response"
  3433. }
  3434. }
  3435. }
  3436. }
  3437. },
  3438. "/HSBY/QueryMyCoupons": {
  3439. "get": {
  3440. "security": [
  3441. {
  3442. "ApiKeyAuth": []
  3443. }
  3444. ],
  3445. "produces": [
  3446. "application/json"
  3447. ],
  3448. "tags": [
  3449. "定制【海商报业】"
  3450. ],
  3451. "summary": "我的优惠卷查询",
  3452. "parameters": [
  3453. {
  3454. "type": "string",
  3455. "description": "资金账户列表,格式:1,2,3",
  3456. "name": "accountIDs",
  3457. "in": "query",
  3458. "required": true
  3459. },
  3460. {
  3461. "type": "integer",
  3462. "description": "商品ID, 一般与sellUserID配套传入",
  3463. "name": "goodsID",
  3464. "in": "query"
  3465. },
  3466. {
  3467. "type": "integer",
  3468. "description": "卖方UserID",
  3469. "name": "sellUserID",
  3470. "in": "query"
  3471. }
  3472. ],
  3473. "responses": {
  3474. "200": {
  3475. "description": "OK",
  3476. "schema": {
  3477. "$ref": "#/definitions/models.MyCoupon"
  3478. }
  3479. },
  3480. "500": {
  3481. "description": "Internal Server Error",
  3482. "schema": {
  3483. "$ref": "#/definitions/app.Response"
  3484. }
  3485. }
  3486. }
  3487. }
  3488. },
  3489. "/HSBY/QueryMyPayOrders": {
  3490. "get": {
  3491. "security": [
  3492. {
  3493. "ApiKeyAuth": []
  3494. }
  3495. ],
  3496. "produces": [
  3497. "application/json"
  3498. ],
  3499. "tags": [
  3500. "定制【海商报业】"
  3501. ],
  3502. "summary": "获取我的订单中待付款信息",
  3503. "parameters": [
  3504. {
  3505. "type": "integer",
  3506. "description": "页码",
  3507. "name": "page",
  3508. "in": "query"
  3509. },
  3510. {
  3511. "type": "integer",
  3512. "description": "每页条数",
  3513. "name": "pagesize",
  3514. "in": "query"
  3515. },
  3516. {
  3517. "type": "string",
  3518. "description": "资金账户列表,格式:1,2,3",
  3519. "name": "accountIDs",
  3520. "in": "query",
  3521. "required": true
  3522. },
  3523. {
  3524. "type": "integer",
  3525. "description": "买方委托单号",
  3526. "name": "buyOrderID",
  3527. "in": "query"
  3528. },
  3529. {
  3530. "type": "integer",
  3531. "description": "卖方委托单号",
  3532. "name": "sellOrderID",
  3533. "in": "query"
  3534. }
  3535. ],
  3536. "responses": {
  3537. "200": {
  3538. "description": "OK",
  3539. "schema": {
  3540. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  3541. }
  3542. },
  3543. "500": {
  3544. "description": "Internal Server Error",
  3545. "schema": {
  3546. "$ref": "#/definitions/app.Response"
  3547. }
  3548. }
  3549. }
  3550. }
  3551. },
  3552. "/HSBY/QueryMyUsedCoupon": {
  3553. "get": {
  3554. "security": [
  3555. {
  3556. "ApiKeyAuth": []
  3557. }
  3558. ],
  3559. "produces": [
  3560. "application/json"
  3561. ],
  3562. "tags": [
  3563. "定制【海商报业】"
  3564. ],
  3565. "summary": "已使用优惠卷查询",
  3566. "parameters": [
  3567. {
  3568. "type": "string",
  3569. "description": "资金账户列表,格式:1,2,3",
  3570. "name": "accountIDs",
  3571. "in": "query",
  3572. "required": true
  3573. }
  3574. ],
  3575. "responses": {
  3576. "200": {
  3577. "description": "OK",
  3578. "schema": {
  3579. "$ref": "#/definitions/models.MyUsedCoupon"
  3580. }
  3581. },
  3582. "500": {
  3583. "description": "Internal Server Error",
  3584. "schema": {
  3585. "$ref": "#/definitions/app.Response"
  3586. }
  3587. }
  3588. }
  3589. }
  3590. },
  3591. "/HSBY/QueryProvincesAndCities": {
  3592. "get": {
  3593. "security": [
  3594. {
  3595. "ApiKeyAuth": []
  3596. }
  3597. ],
  3598. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  3599. "produces": [
  3600. "application/json"
  3601. ],
  3602. "tags": [
  3603. "定制【海商报业】"
  3604. ],
  3605. "summary": "查询省市信息(不包括区)",
  3606. "parameters": [
  3607. {
  3608. "type": "integer",
  3609. "description": "省ID",
  3610. "name": "provinceID",
  3611. "in": "query"
  3612. }
  3613. ],
  3614. "responses": {
  3615. "200": {
  3616. "description": "OK",
  3617. "schema": {
  3618. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  3619. }
  3620. },
  3621. "500": {
  3622. "description": "Internal Server Error",
  3623. "schema": {
  3624. "$ref": "#/definitions/app.Response"
  3625. }
  3626. }
  3627. }
  3628. }
  3629. },
  3630. "/HSBY/SetHsbyMyPackagesStatus": {
  3631. "post": {
  3632. "security": [
  3633. {
  3634. "ApiKeyAuth": []
  3635. }
  3636. ],
  3637. "produces": [
  3638. "application/json"
  3639. ],
  3640. "tags": [
  3641. "定制【海商报业】"
  3642. ],
  3643. "summary": "设置我的包裹已收货状态",
  3644. "parameters": [
  3645. {
  3646. "type": "string",
  3647. "description": "提货单号",
  3648. "name": "takeOrderID",
  3649. "in": "query",
  3650. "required": true
  3651. },
  3652. {
  3653. "type": "integer",
  3654. "description": "资金账号",
  3655. "name": "accountID",
  3656. "in": "query",
  3657. "required": true
  3658. }
  3659. ],
  3660. "responses": {
  3661. "200": {
  3662. "description": "OK",
  3663. "schema": {
  3664. "$ref": "#/definitions/app.Response"
  3665. }
  3666. },
  3667. "500": {
  3668. "description": "Internal Server Error",
  3669. "schema": {
  3670. "$ref": "#/definitions/app.Response"
  3671. }
  3672. }
  3673. }
  3674. }
  3675. },
  3676. "/Market/QueryGoodsesByLoginID": {
  3677. "get": {
  3678. "security": [
  3679. {
  3680. "ApiKeyAuth": []
  3681. }
  3682. ],
  3683. "produces": [
  3684. "application/json"
  3685. ],
  3686. "tags": [
  3687. "通用市场"
  3688. ],
  3689. "summary": "获取登录账号有权限的商品信息",
  3690. "parameters": [
  3691. {
  3692. "type": "integer",
  3693. "description": "登录账号",
  3694. "name": "loginID",
  3695. "in": "query",
  3696. "required": true
  3697. },
  3698. {
  3699. "type": "string",
  3700. "description": "市场ID列表,格式:1,2,3",
  3701. "name": "marketIDs",
  3702. "in": "query"
  3703. }
  3704. ],
  3705. "responses": {
  3706. "200": {
  3707. "description": "OK",
  3708. "schema": {
  3709. "$ref": "#/definitions/models.Goods"
  3710. }
  3711. },
  3712. "500": {
  3713. "description": "Internal Server Error",
  3714. "schema": {
  3715. "$ref": "#/definitions/app.Response"
  3716. }
  3717. }
  3718. }
  3719. }
  3720. },
  3721. "/Market/QueryMarketRun": {
  3722. "get": {
  3723. "security": [
  3724. {
  3725. "ApiKeyAuth": []
  3726. }
  3727. ],
  3728. "produces": [
  3729. "application/json"
  3730. ],
  3731. "tags": [
  3732. "通用市场"
  3733. ],
  3734. "summary": "查询市场运行信息",
  3735. "parameters": [
  3736. {
  3737. "type": "integer",
  3738. "description": "市场ID,不传返回所有",
  3739. "name": "marketID",
  3740. "in": "query"
  3741. }
  3742. ],
  3743. "responses": {
  3744. "200": {
  3745. "description": "OK",
  3746. "schema": {
  3747. "$ref": "#/definitions/models.Marketrun"
  3748. }
  3749. },
  3750. "500": {
  3751. "description": "Internal Server Error",
  3752. "schema": {
  3753. "$ref": "#/definitions/app.Response"
  3754. }
  3755. }
  3756. }
  3757. }
  3758. },
  3759. "/Market/QueryMarketsByLoginID": {
  3760. "get": {
  3761. "security": [
  3762. {
  3763. "ApiKeyAuth": []
  3764. }
  3765. ],
  3766. "produces": [
  3767. "application/json"
  3768. ],
  3769. "tags": [
  3770. "通用市场"
  3771. ],
  3772. "summary": "获取登录账号有权限的市场信息",
  3773. "parameters": [
  3774. {
  3775. "type": "integer",
  3776. "description": "登录账号",
  3777. "name": "loginID",
  3778. "in": "query",
  3779. "required": true
  3780. }
  3781. ],
  3782. "responses": {
  3783. "200": {
  3784. "description": "OK",
  3785. "schema": {
  3786. "$ref": "#/definitions/models.Market"
  3787. }
  3788. },
  3789. "500": {
  3790. "description": "Internal Server Error",
  3791. "schema": {
  3792. "$ref": "#/definitions/app.Response"
  3793. }
  3794. }
  3795. }
  3796. }
  3797. },
  3798. "/Order/QueryHisTradeDetail": {
  3799. "get": {
  3800. "security": [
  3801. {
  3802. "ApiKeyAuth": []
  3803. }
  3804. ],
  3805. "produces": [
  3806. "application/json"
  3807. ],
  3808. "tags": [
  3809. "通用单据"
  3810. ],
  3811. "summary": "历史成交单查询(合约市场)",
  3812. "parameters": [
  3813. {
  3814. "type": "string",
  3815. "description": "资金账户 - 格式:1,2,3",
  3816. "name": "accountID",
  3817. "in": "query",
  3818. "required": true
  3819. },
  3820. {
  3821. "type": "integer",
  3822. "description": "成交单号",
  3823. "name": "tradeID",
  3824. "in": "query"
  3825. },
  3826. {
  3827. "type": "integer",
  3828. "description": "委托单号",
  3829. "name": "orderID",
  3830. "in": "query"
  3831. },
  3832. {
  3833. "type": "string",
  3834. "description": "交易模式 - 格式:1,2,3",
  3835. "name": "tradeMode",
  3836. "in": "query"
  3837. },
  3838. {
  3839. "type": "integer",
  3840. "description": "委托单据类型",
  3841. "name": "buildType",
  3842. "in": "query"
  3843. },
  3844. {
  3845. "type": "string",
  3846. "description": "成交类别 - 格式:1,2,3",
  3847. "name": "tradeType",
  3848. "in": "query"
  3849. },
  3850. {
  3851. "type": "string",
  3852. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3853. "name": "startDate",
  3854. "in": "query"
  3855. },
  3856. {
  3857. "type": "string",
  3858. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3859. "name": "endDate",
  3860. "in": "query"
  3861. }
  3862. ],
  3863. "responses": {
  3864. "200": {
  3865. "description": "OK",
  3866. "schema": {
  3867. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  3868. }
  3869. },
  3870. "500": {
  3871. "description": "Internal Server Error",
  3872. "schema": {
  3873. "$ref": "#/definitions/app.Response"
  3874. }
  3875. }
  3876. }
  3877. }
  3878. },
  3879. "/Order/QueryHisTradeOrderDetail": {
  3880. "get": {
  3881. "security": [
  3882. {
  3883. "ApiKeyAuth": []
  3884. }
  3885. ],
  3886. "produces": [
  3887. "application/json"
  3888. ],
  3889. "tags": [
  3890. "通用单据"
  3891. ],
  3892. "summary": "历史委托单查询请求(合约市场)",
  3893. "parameters": [
  3894. {
  3895. "type": "string",
  3896. "description": "资金账户 - 格式:1,2,3",
  3897. "name": "accountID",
  3898. "in": "query",
  3899. "required": true
  3900. },
  3901. {
  3902. "type": "string",
  3903. "description": "交易模式 - 格式:1,2,3",
  3904. "name": "tradeMode",
  3905. "in": "query"
  3906. },
  3907. {
  3908. "type": "string",
  3909. "description": "委托状态 - 格式:1,2,3",
  3910. "name": "orderStatus",
  3911. "in": "query"
  3912. },
  3913. {
  3914. "type": "integer",
  3915. "description": "委托单号",
  3916. "name": "orderID",
  3917. "in": "query"
  3918. },
  3919. {
  3920. "type": "string",
  3921. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3922. "name": "startDate",
  3923. "in": "query"
  3924. },
  3925. {
  3926. "type": "string",
  3927. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3928. "name": "endDate",
  3929. "in": "query"
  3930. }
  3931. ],
  3932. "responses": {
  3933. "200": {
  3934. "description": "OK",
  3935. "schema": {
  3936. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  3937. }
  3938. },
  3939. "500": {
  3940. "description": "Internal Server Error",
  3941. "schema": {
  3942. "$ref": "#/definitions/app.Response"
  3943. }
  3944. }
  3945. }
  3946. }
  3947. },
  3948. "/Order/QueryTradeDetail": {
  3949. "get": {
  3950. "security": [
  3951. {
  3952. "ApiKeyAuth": []
  3953. }
  3954. ],
  3955. "produces": [
  3956. "application/json"
  3957. ],
  3958. "tags": [
  3959. "通用单据"
  3960. ],
  3961. "summary": "成交单查询(合约市场)",
  3962. "parameters": [
  3963. {
  3964. "type": "string",
  3965. "description": "资金账户 - 格式:1,2,3",
  3966. "name": "accountID",
  3967. "in": "query",
  3968. "required": true
  3969. },
  3970. {
  3971. "type": "integer",
  3972. "description": "成交单号",
  3973. "name": "tradeID",
  3974. "in": "query"
  3975. },
  3976. {
  3977. "type": "integer",
  3978. "description": "委托单号",
  3979. "name": "orderID",
  3980. "in": "query"
  3981. },
  3982. {
  3983. "type": "string",
  3984. "description": "交易模式 - 格式:1,2,3",
  3985. "name": "tradeMode",
  3986. "in": "query"
  3987. },
  3988. {
  3989. "type": "integer",
  3990. "description": "委托单据类型",
  3991. "name": "buildType",
  3992. "in": "query"
  3993. },
  3994. {
  3995. "type": "string",
  3996. "description": "成交类别 - 格式:1,2,3",
  3997. "name": "tradeType",
  3998. "in": "query"
  3999. }
  4000. ],
  4001. "responses": {
  4002. "200": {
  4003. "description": "OK",
  4004. "schema": {
  4005. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  4006. }
  4007. },
  4008. "500": {
  4009. "description": "Internal Server Error",
  4010. "schema": {
  4011. "$ref": "#/definitions/app.Response"
  4012. }
  4013. }
  4014. }
  4015. }
  4016. },
  4017. "/Order/QueryTradeOrderDetail": {
  4018. "get": {
  4019. "security": [
  4020. {
  4021. "ApiKeyAuth": []
  4022. }
  4023. ],
  4024. "produces": [
  4025. "application/json"
  4026. ],
  4027. "tags": [
  4028. "通用单据"
  4029. ],
  4030. "summary": "委托单查询请求(合约市场)",
  4031. "parameters": [
  4032. {
  4033. "type": "string",
  4034. "description": "资金账户 - 格式:1,2,3",
  4035. "name": "accountID",
  4036. "in": "query",
  4037. "required": true
  4038. },
  4039. {
  4040. "type": "string",
  4041. "description": "交易模式 - 格式:1,2,3",
  4042. "name": "tradeMode",
  4043. "in": "query"
  4044. },
  4045. {
  4046. "type": "string",
  4047. "description": "委托状态 - 格式:1,2,3",
  4048. "name": "orderStatus",
  4049. "in": "query"
  4050. },
  4051. {
  4052. "type": "integer",
  4053. "description": "委托单号",
  4054. "name": "orderID",
  4055. "in": "query"
  4056. }
  4057. ],
  4058. "responses": {
  4059. "200": {
  4060. "description": "OK",
  4061. "schema": {
  4062. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  4063. }
  4064. },
  4065. "500": {
  4066. "description": "Internal Server Error",
  4067. "schema": {
  4068. "$ref": "#/definitions/app.Response"
  4069. }
  4070. }
  4071. }
  4072. }
  4073. },
  4074. "/Order/QueryTradePosition": {
  4075. "get": {
  4076. "security": [
  4077. {
  4078. "ApiKeyAuth": []
  4079. }
  4080. ],
  4081. "produces": [
  4082. "application/json"
  4083. ],
  4084. "tags": [
  4085. "通用单据"
  4086. ],
  4087. "summary": "持仓汇总查询(合约市场)",
  4088. "parameters": [
  4089. {
  4090. "type": "string",
  4091. "description": "资金账户 - 格式:1,2,3",
  4092. "name": "accountID",
  4093. "in": "query",
  4094. "required": true
  4095. },
  4096. {
  4097. "type": "string",
  4098. "description": "交易模式 - 格式:1,2,3",
  4099. "name": "tradeMode",
  4100. "in": "query"
  4101. }
  4102. ],
  4103. "responses": {
  4104. "200": {
  4105. "description": "OK",
  4106. "schema": {
  4107. "$ref": "#/definitions/order.QueryTradePositionRsp"
  4108. }
  4109. },
  4110. "500": {
  4111. "description": "Internal Server Error",
  4112. "schema": {
  4113. "$ref": "#/definitions/app.Response"
  4114. }
  4115. }
  4116. }
  4117. }
  4118. },
  4119. "/Quote/QueryHistoryDatas": {
  4120. "get": {
  4121. "security": [
  4122. {
  4123. "ApiKeyAuth": []
  4124. }
  4125. ],
  4126. "produces": [
  4127. "application/json"
  4128. ],
  4129. "tags": [
  4130. "行情服务"
  4131. ],
  4132. "summary": "查询行情历史数据",
  4133. "parameters": [
  4134. {
  4135. "type": "integer",
  4136. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  4137. "name": "cycleType",
  4138. "in": "query",
  4139. "required": true
  4140. },
  4141. {
  4142. "type": "string",
  4143. "description": "商品代码",
  4144. "name": "goodsCode",
  4145. "in": "query",
  4146. "required": true
  4147. },
  4148. {
  4149. "type": "string",
  4150. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  4151. "name": "startTime",
  4152. "in": "query"
  4153. },
  4154. {
  4155. "type": "string",
  4156. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  4157. "name": "endTime",
  4158. "in": "query"
  4159. },
  4160. {
  4161. "type": "integer",
  4162. "description": "条数",
  4163. "name": "count",
  4164. "in": "query"
  4165. },
  4166. {
  4167. "type": "boolean",
  4168. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  4169. "name": "isAsc",
  4170. "in": "query"
  4171. }
  4172. ],
  4173. "responses": {
  4174. "200": {
  4175. "description": "OK",
  4176. "schema": {
  4177. "$ref": "#/definitions/quote.HistoryData"
  4178. }
  4179. },
  4180. "500": {
  4181. "description": "Internal Server Error",
  4182. "schema": {
  4183. "$ref": "#/definitions/app.Response"
  4184. }
  4185. }
  4186. }
  4187. }
  4188. },
  4189. "/Quote/QueryTSData": {
  4190. "get": {
  4191. "produces": [
  4192. "application/json"
  4193. ],
  4194. "tags": [
  4195. "行情服务"
  4196. ],
  4197. "summary": "分时图数据查询",
  4198. "parameters": [
  4199. {
  4200. "type": "string",
  4201. "description": "商品代码",
  4202. "name": "GoodsCode",
  4203. "in": "query",
  4204. "required": true
  4205. }
  4206. ],
  4207. "responses": {
  4208. "200": {
  4209. "description": "OK",
  4210. "schema": {
  4211. "$ref": "#/definitions/quote.QueryTSDataRsp"
  4212. }
  4213. },
  4214. "500": {
  4215. "description": "Internal Server Error",
  4216. "schema": {
  4217. "$ref": "#/definitions/app.Response"
  4218. }
  4219. }
  4220. }
  4221. }
  4222. },
  4223. "/SZDZ/QueryConvertConfig": {
  4224. "get": {
  4225. "security": [
  4226. {
  4227. "ApiKeyAuth": []
  4228. }
  4229. ],
  4230. "produces": [
  4231. "application/json"
  4232. ],
  4233. "tags": [
  4234. "定制【尚志大宗】"
  4235. ],
  4236. "summary": "查询交易系统转换设置",
  4237. "parameters": [
  4238. {
  4239. "type": "integer",
  4240. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  4241. "name": "convertType",
  4242. "in": "query"
  4243. },
  4244. {
  4245. "type": "string",
  4246. "description": "外部商品代码[JD\\PD]",
  4247. "name": "outerGoodsCode",
  4248. "in": "query"
  4249. },
  4250. {
  4251. "type": "string",
  4252. "description": "内部商品ID列表[交易],格式:1,2,3",
  4253. "name": "innerGoodsIDs",
  4254. "in": "query"
  4255. }
  4256. ],
  4257. "responses": {
  4258. "200": {
  4259. "description": "OK",
  4260. "schema": {
  4261. "$ref": "#/definitions/models.Szdz3convertconfig"
  4262. }
  4263. },
  4264. "500": {
  4265. "description": "Internal Server Error",
  4266. "schema": {
  4267. "$ref": "#/definitions/app.Response"
  4268. }
  4269. }
  4270. }
  4271. }
  4272. },
  4273. "/SZDZ/QueryConvertLog": {
  4274. "get": {
  4275. "security": [
  4276. {
  4277. "ApiKeyAuth": []
  4278. }
  4279. ],
  4280. "produces": [
  4281. "application/json"
  4282. ],
  4283. "tags": [
  4284. "定制【尚志大宗】"
  4285. ],
  4286. "summary": "交易系统转换流水查询",
  4287. "parameters": [
  4288. {
  4289. "type": "string",
  4290. "description": "资金账户 - 格式:1,2,3",
  4291. "name": "accountID",
  4292. "in": "query",
  4293. "required": true
  4294. },
  4295. {
  4296. "type": "string",
  4297. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  4298. "name": "startDate",
  4299. "in": "query"
  4300. },
  4301. {
  4302. "type": "string",
  4303. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  4304. "name": "endDate",
  4305. "in": "query"
  4306. }
  4307. ],
  4308. "responses": {
  4309. "200": {
  4310. "description": "OK",
  4311. "schema": {
  4312. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  4313. }
  4314. },
  4315. "500": {
  4316. "description": "Internal Server Error",
  4317. "schema": {
  4318. "$ref": "#/definitions/app.Response"
  4319. }
  4320. }
  4321. }
  4322. }
  4323. },
  4324. "/SZDZ/QueryGoodsPickup": {
  4325. "get": {
  4326. "security": [
  4327. {
  4328. "ApiKeyAuth": []
  4329. }
  4330. ],
  4331. "produces": [
  4332. "application/json"
  4333. ],
  4334. "tags": [
  4335. "定制【尚志大宗】"
  4336. ],
  4337. "summary": "商品提货单查询",
  4338. "parameters": [
  4339. {
  4340. "type": "string",
  4341. "description": "资金账户 - 格式:1,2,3",
  4342. "name": "accountID",
  4343. "in": "query",
  4344. "required": true
  4345. },
  4346. {
  4347. "type": "integer",
  4348. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  4349. "name": "takeOrderStatus",
  4350. "in": "query"
  4351. }
  4352. ],
  4353. "responses": {
  4354. "200": {
  4355. "description": "OK",
  4356. "schema": {
  4357. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  4358. }
  4359. },
  4360. "500": {
  4361. "description": "Internal Server Error",
  4362. "schema": {
  4363. "$ref": "#/definitions/app.Response"
  4364. }
  4365. }
  4366. }
  4367. }
  4368. },
  4369. "/SZDZ/QueryRecieptOrder": {
  4370. "get": {
  4371. "security": [
  4372. {
  4373. "ApiKeyAuth": []
  4374. }
  4375. ],
  4376. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  4377. "produces": [
  4378. "application/json"
  4379. ],
  4380. "tags": [
  4381. "定制【尚志大宗】"
  4382. ],
  4383. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  4384. "parameters": [
  4385. {
  4386. "type": "integer",
  4387. "description": "页码",
  4388. "name": "page",
  4389. "in": "query"
  4390. },
  4391. {
  4392. "type": "integer",
  4393. "description": "每页条数",
  4394. "name": "pagesize",
  4395. "in": "query"
  4396. },
  4397. {
  4398. "type": "integer",
  4399. "description": "商品ID",
  4400. "name": "goodsID",
  4401. "in": "query",
  4402. "required": true
  4403. },
  4404. {
  4405. "type": "string",
  4406. "description": "所属账户名称",
  4407. "name": "accountName",
  4408. "in": "query"
  4409. },
  4410. {
  4411. "type": "integer",
  4412. "description": "市场ID",
  4413. "name": "marketID",
  4414. "in": "query"
  4415. },
  4416. {
  4417. "type": "integer",
  4418. "description": "方向 - 0:买 1:卖",
  4419. "name": "buyorsell",
  4420. "in": "query",
  4421. "required": true
  4422. }
  4423. ],
  4424. "responses": {
  4425. "200": {
  4426. "description": "OK",
  4427. "schema": {
  4428. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  4429. }
  4430. },
  4431. "500": {
  4432. "description": "Internal Server Error",
  4433. "schema": {
  4434. "$ref": "#/definitions/app.Response"
  4435. }
  4436. }
  4437. }
  4438. }
  4439. },
  4440. "/SZDZ/QuerySZDZTradePosition": {
  4441. "get": {
  4442. "security": [
  4443. {
  4444. "ApiKeyAuth": []
  4445. }
  4446. ],
  4447. "produces": [
  4448. "application/json"
  4449. ],
  4450. "tags": [
  4451. "定制【尚志大宗】"
  4452. ],
  4453. "summary": "持仓汇总查询(尚志大宗)",
  4454. "parameters": [
  4455. {
  4456. "type": "integer",
  4457. "description": "资金账户",
  4458. "name": "accountID",
  4459. "in": "query",
  4460. "required": true
  4461. }
  4462. ],
  4463. "responses": {
  4464. "200": {
  4465. "description": "OK",
  4466. "schema": {
  4467. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  4468. }
  4469. },
  4470. "500": {
  4471. "description": "Internal Server Error",
  4472. "schema": {
  4473. "$ref": "#/definitions/app.Response"
  4474. }
  4475. }
  4476. }
  4477. }
  4478. },
  4479. "/SZDZ/SearchWhite": {
  4480. "get": {
  4481. "security": [
  4482. {
  4483. "ApiKeyAuth": []
  4484. }
  4485. ],
  4486. "produces": [
  4487. "application/json"
  4488. ],
  4489. "tags": [
  4490. "定制【尚志大宗】"
  4491. ],
  4492. "summary": "搜索白名单",
  4493. "parameters": [
  4494. {
  4495. "type": "integer",
  4496. "description": "用户ID",
  4497. "name": "userID",
  4498. "in": "query",
  4499. "required": true
  4500. }
  4501. ],
  4502. "responses": {
  4503. "200": {
  4504. "description": "OK",
  4505. "schema": {
  4506. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  4507. }
  4508. },
  4509. "500": {
  4510. "description": "Internal Server Error",
  4511. "schema": {
  4512. "$ref": "#/definitions/app.Response"
  4513. }
  4514. }
  4515. }
  4516. }
  4517. },
  4518. "/Search/SearchGoodses": {
  4519. "get": {
  4520. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  4521. "produces": [
  4522. "application/json"
  4523. ],
  4524. "tags": [
  4525. "检索服务"
  4526. ],
  4527. "summary": "检索商品信息",
  4528. "parameters": [
  4529. {
  4530. "type": "string",
  4531. "description": "检索内容",
  4532. "name": "content",
  4533. "in": "query",
  4534. "required": true
  4535. },
  4536. {
  4537. "type": "string",
  4538. "description": "交易模式,格式:1,2,3",
  4539. "name": "tradeModes",
  4540. "in": "query"
  4541. }
  4542. ],
  4543. "responses": {
  4544. "200": {
  4545. "description": "OK",
  4546. "schema": {
  4547. "$ref": "#/definitions/models.SearchGoods"
  4548. }
  4549. },
  4550. "500": {
  4551. "description": "Internal Server Error",
  4552. "schema": {
  4553. "$ref": "#/definitions/app.Response"
  4554. }
  4555. }
  4556. }
  4557. }
  4558. },
  4559. "/TaAccount/QueryAmountLog": {
  4560. "get": {
  4561. "security": [
  4562. {
  4563. "ApiKeyAuth": []
  4564. }
  4565. ],
  4566. "produces": [
  4567. "application/json"
  4568. ],
  4569. "tags": [
  4570. "资金账户"
  4571. ],
  4572. "summary": "资金流水查询(当前)",
  4573. "parameters": [
  4574. {
  4575. "type": "integer",
  4576. "description": "页码",
  4577. "name": "page",
  4578. "in": "query"
  4579. },
  4580. {
  4581. "type": "integer",
  4582. "description": "每页条数",
  4583. "name": "pagesize",
  4584. "in": "query"
  4585. },
  4586. {
  4587. "type": "string",
  4588. "description": "资金账户 - 格式:1,2,3",
  4589. "name": "accountID",
  4590. "in": "query",
  4591. "required": true
  4592. },
  4593. {
  4594. "type": "string",
  4595. "description": "资金操作类型 - 格式:1,2,3",
  4596. "name": "OperateType",
  4597. "in": "query"
  4598. }
  4599. ],
  4600. "responses": {
  4601. "200": {
  4602. "description": "OK",
  4603. "schema": {
  4604. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  4605. }
  4606. },
  4607. "500": {
  4608. "description": "Internal Server Error",
  4609. "schema": {
  4610. "$ref": "#/definitions/app.Response"
  4611. }
  4612. }
  4613. }
  4614. }
  4615. },
  4616. "/TaAccount/QueryHisAmountLog": {
  4617. "get": {
  4618. "security": [
  4619. {
  4620. "ApiKeyAuth": []
  4621. }
  4622. ],
  4623. "produces": [
  4624. "application/json"
  4625. ],
  4626. "tags": [
  4627. "资金账户"
  4628. ],
  4629. "summary": "资金流水查询(历史)",
  4630. "parameters": [
  4631. {
  4632. "type": "integer",
  4633. "description": "页码",
  4634. "name": "page",
  4635. "in": "query"
  4636. },
  4637. {
  4638. "type": "integer",
  4639. "description": "每页条数",
  4640. "name": "pagesize",
  4641. "in": "query"
  4642. },
  4643. {
  4644. "type": "string",
  4645. "description": "资金账户 - 格式:1,2,3",
  4646. "name": "accountID",
  4647. "in": "query",
  4648. "required": true
  4649. },
  4650. {
  4651. "type": "string",
  4652. "description": "资金操作类型 - 格式:1,2,3",
  4653. "name": "OperateType",
  4654. "in": "query"
  4655. },
  4656. {
  4657. "type": "string",
  4658. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4659. "name": "startDate",
  4660. "in": "query"
  4661. },
  4662. {
  4663. "type": "string",
  4664. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4665. "name": "endDate",
  4666. "in": "query"
  4667. }
  4668. ],
  4669. "responses": {
  4670. "200": {
  4671. "description": "OK",
  4672. "schema": {
  4673. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  4674. }
  4675. },
  4676. "500": {
  4677. "description": "Internal Server Error",
  4678. "schema": {
  4679. "$ref": "#/definitions/app.Response"
  4680. }
  4681. }
  4682. }
  4683. }
  4684. },
  4685. "/Trade/QueryRecieptOrder": {
  4686. "get": {
  4687. "security": [
  4688. {
  4689. "ApiKeyAuth": []
  4690. }
  4691. ],
  4692. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  4693. "produces": [
  4694. "application/json"
  4695. ],
  4696. "tags": [
  4697. "通用交易"
  4698. ],
  4699. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  4700. "parameters": [
  4701. {
  4702. "type": "integer",
  4703. "description": "页码",
  4704. "name": "page",
  4705. "in": "query"
  4706. },
  4707. {
  4708. "type": "integer",
  4709. "description": "每页条数",
  4710. "name": "pagesize",
  4711. "in": "query"
  4712. },
  4713. {
  4714. "type": "integer",
  4715. "description": "商品ID",
  4716. "name": "goodsID",
  4717. "in": "query",
  4718. "required": true
  4719. },
  4720. {
  4721. "type": "string",
  4722. "description": "所属账户名称",
  4723. "name": "accountName",
  4724. "in": "query"
  4725. },
  4726. {
  4727. "type": "integer",
  4728. "description": "市场ID",
  4729. "name": "marketID",
  4730. "in": "query"
  4731. },
  4732. {
  4733. "type": "integer",
  4734. "description": "方向 - 0:买 1:卖",
  4735. "name": "buyorsell",
  4736. "in": "query",
  4737. "required": true
  4738. }
  4739. ],
  4740. "responses": {
  4741. "200": {
  4742. "description": "OK",
  4743. "schema": {
  4744. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  4745. }
  4746. },
  4747. "500": {
  4748. "description": "Internal Server Error",
  4749. "schema": {
  4750. "$ref": "#/definitions/app.Response"
  4751. }
  4752. }
  4753. }
  4754. }
  4755. },
  4756. "/User/AddMessageBoard": {
  4757. "post": {
  4758. "security": [
  4759. {
  4760. "ApiKeyAuth": []
  4761. }
  4762. ],
  4763. "produces": [
  4764. "application/json"
  4765. ],
  4766. "tags": [
  4767. "用户信息"
  4768. ],
  4769. "summary": "添加用户留言板信息",
  4770. "parameters": [
  4771. {
  4772. "type": "integer",
  4773. "description": "用户ID",
  4774. "name": "userID",
  4775. "in": "query",
  4776. "required": true
  4777. },
  4778. {
  4779. "type": "string",
  4780. "description": "留言信息",
  4781. "name": "message",
  4782. "in": "query",
  4783. "required": true
  4784. }
  4785. ],
  4786. "responses": {
  4787. "200": {
  4788. "description": "OK",
  4789. "schema": {
  4790. "$ref": "#/definitions/app.Response"
  4791. }
  4792. },
  4793. "500": {
  4794. "description": "Internal Server Error",
  4795. "schema": {
  4796. "$ref": "#/definitions/app.Response"
  4797. }
  4798. }
  4799. }
  4800. }
  4801. },
  4802. "/User/AddUserFavoriteGoods": {
  4803. "post": {
  4804. "security": [
  4805. {
  4806. "ApiKeyAuth": []
  4807. }
  4808. ],
  4809. "produces": [
  4810. "application/json"
  4811. ],
  4812. "tags": [
  4813. "用户信息"
  4814. ],
  4815. "summary": "添加用户商品收藏信息",
  4816. "parameters": [
  4817. {
  4818. "type": "integer",
  4819. "description": "用户ID",
  4820. "name": "userID",
  4821. "in": "query",
  4822. "required": true
  4823. },
  4824. {
  4825. "type": "integer",
  4826. "description": "商品ID",
  4827. "name": "goodsID",
  4828. "in": "query",
  4829. "required": true
  4830. }
  4831. ],
  4832. "responses": {
  4833. "200": {
  4834. "description": "OK",
  4835. "schema": {
  4836. "$ref": "#/definitions/app.Response"
  4837. }
  4838. },
  4839. "500": {
  4840. "description": "Internal Server Error",
  4841. "schema": {
  4842. "$ref": "#/definitions/app.Response"
  4843. }
  4844. }
  4845. }
  4846. }
  4847. },
  4848. "/User/GetLoginID": {
  4849. "get": {
  4850. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  4851. "produces": [
  4852. "application/json"
  4853. ],
  4854. "tags": [
  4855. "用户信息"
  4856. ],
  4857. "summary": "获取登录ID",
  4858. "parameters": [
  4859. {
  4860. "type": "string",
  4861. "description": "登录代码",
  4862. "name": "username",
  4863. "in": "query",
  4864. "required": true
  4865. }
  4866. ],
  4867. "responses": {
  4868. "200": {
  4869. "description": "OK",
  4870. "schema": {
  4871. "$ref": "#/definitions/app.Response"
  4872. }
  4873. },
  4874. "500": {
  4875. "description": "Internal Server Error",
  4876. "schema": {
  4877. "$ref": "#/definitions/app.Response"
  4878. }
  4879. }
  4880. }
  4881. }
  4882. },
  4883. "/User/GetUserAccount": {
  4884. "get": {
  4885. "security": [
  4886. {
  4887. "ApiKeyAuth": []
  4888. }
  4889. ],
  4890. "produces": [
  4891. "application/json"
  4892. ],
  4893. "tags": [
  4894. "用户信息"
  4895. ],
  4896. "summary": "获取用户账号信息",
  4897. "parameters": [
  4898. {
  4899. "type": "integer",
  4900. "description": "用户ID",
  4901. "name": "userID",
  4902. "in": "query",
  4903. "required": true
  4904. }
  4905. ],
  4906. "responses": {
  4907. "200": {
  4908. "description": "OK",
  4909. "schema": {
  4910. "$ref": "#/definitions/models.Useraccount"
  4911. }
  4912. },
  4913. "500": {
  4914. "description": "Internal Server Error",
  4915. "schema": {
  4916. "$ref": "#/definitions/app.Response"
  4917. }
  4918. }
  4919. }
  4920. }
  4921. },
  4922. "/User/GetUserAuthStatus": {
  4923. "get": {
  4924. "security": [
  4925. {
  4926. "ApiKeyAuth": []
  4927. }
  4928. ],
  4929. "produces": [
  4930. "application/json"
  4931. ],
  4932. "tags": [
  4933. "用户信息"
  4934. ],
  4935. "summary": "获取用户实名认证状态",
  4936. "parameters": [
  4937. {
  4938. "type": "integer",
  4939. "description": "用户ID",
  4940. "name": "userID",
  4941. "in": "query",
  4942. "required": true
  4943. }
  4944. ],
  4945. "responses": {
  4946. "200": {
  4947. "description": "OK",
  4948. "schema": {
  4949. "$ref": "#/definitions/app.Response"
  4950. }
  4951. },
  4952. "500": {
  4953. "description": "Internal Server Error",
  4954. "schema": {
  4955. "$ref": "#/definitions/app.Response"
  4956. }
  4957. }
  4958. }
  4959. }
  4960. },
  4961. "/User/QueryMessageBoard": {
  4962. "get": {
  4963. "security": [
  4964. {
  4965. "ApiKeyAuth": []
  4966. }
  4967. ],
  4968. "produces": [
  4969. "application/json"
  4970. ],
  4971. "tags": [
  4972. "用户信息"
  4973. ],
  4974. "summary": "获取用户留言板信息",
  4975. "parameters": [
  4976. {
  4977. "type": "integer",
  4978. "description": "用户ID",
  4979. "name": "userID",
  4980. "in": "query",
  4981. "required": true
  4982. }
  4983. ],
  4984. "responses": {
  4985. "200": {
  4986. "description": "OK",
  4987. "schema": {
  4988. "$ref": "#/definitions/models.Messageboard"
  4989. }
  4990. },
  4991. "500": {
  4992. "description": "Internal Server Error",
  4993. "schema": {
  4994. "$ref": "#/definitions/app.Response"
  4995. }
  4996. }
  4997. }
  4998. }
  4999. },
  5000. "/User/QueryUserFavoriteGoodses": {
  5001. "get": {
  5002. "security": [
  5003. {
  5004. "ApiKeyAuth": []
  5005. }
  5006. ],
  5007. "produces": [
  5008. "application/json"
  5009. ],
  5010. "tags": [
  5011. "用户信息"
  5012. ],
  5013. "summary": "获取用户商品收藏信息",
  5014. "parameters": [
  5015. {
  5016. "type": "integer",
  5017. "description": "用户ID",
  5018. "name": "userID",
  5019. "in": "query",
  5020. "required": true
  5021. }
  5022. ],
  5023. "responses": {
  5024. "200": {
  5025. "description": "OK",
  5026. "schema": {
  5027. "$ref": "#/definitions/models.Userfavoritegoods"
  5028. }
  5029. },
  5030. "500": {
  5031. "description": "Internal Server Error",
  5032. "schema": {
  5033. "$ref": "#/definitions/app.Response"
  5034. }
  5035. }
  5036. }
  5037. }
  5038. },
  5039. "/User/QueryUserInfo": {
  5040. "get": {
  5041. "security": [
  5042. {
  5043. "ApiKeyAuth": []
  5044. }
  5045. ],
  5046. "produces": [
  5047. "application/json"
  5048. ],
  5049. "tags": [
  5050. "用户信息"
  5051. ],
  5052. "summary": "获取用户信息",
  5053. "parameters": [
  5054. {
  5055. "type": "integer",
  5056. "description": "用户ID",
  5057. "name": "userID",
  5058. "in": "query",
  5059. "required": true
  5060. }
  5061. ],
  5062. "responses": {
  5063. "200": {
  5064. "description": "OK",
  5065. "schema": {
  5066. "$ref": "#/definitions/models.Userinfo"
  5067. }
  5068. },
  5069. "500": {
  5070. "description": "Internal Server Error",
  5071. "schema": {
  5072. "$ref": "#/definitions/app.Response"
  5073. }
  5074. }
  5075. }
  5076. }
  5077. },
  5078. "/User/QueryUserReferNum": {
  5079. "get": {
  5080. "produces": [
  5081. "application/json"
  5082. ],
  5083. "tags": [
  5084. "用户信息"
  5085. ],
  5086. "summary": "获取用户邀请码",
  5087. "parameters": [
  5088. {
  5089. "type": "integer",
  5090. "description": "用户ID",
  5091. "name": "userID",
  5092. "in": "query",
  5093. "required": true
  5094. }
  5095. ],
  5096. "responses": {
  5097. "200": {
  5098. "description": "OK",
  5099. "schema": {
  5100. "$ref": "#/definitions/app.Response"
  5101. }
  5102. },
  5103. "500": {
  5104. "description": "Internal Server Error",
  5105. "schema": {
  5106. "$ref": "#/definitions/app.Response"
  5107. }
  5108. }
  5109. }
  5110. }
  5111. },
  5112. "/User/RemoveUserFavoriteGoods": {
  5113. "post": {
  5114. "security": [
  5115. {
  5116. "ApiKeyAuth": []
  5117. }
  5118. ],
  5119. "produces": [
  5120. "application/json"
  5121. ],
  5122. "tags": [
  5123. "用户信息"
  5124. ],
  5125. "summary": "移除用户商品收藏信息",
  5126. "parameters": [
  5127. {
  5128. "type": "integer",
  5129. "description": "用户ID",
  5130. "name": "userID",
  5131. "in": "query",
  5132. "required": true
  5133. },
  5134. {
  5135. "type": "integer",
  5136. "description": "商品ID",
  5137. "name": "goodsID",
  5138. "in": "query",
  5139. "required": true
  5140. }
  5141. ],
  5142. "responses": {
  5143. "200": {
  5144. "description": "OK",
  5145. "schema": {
  5146. "$ref": "#/definitions/app.Response"
  5147. }
  5148. },
  5149. "500": {
  5150. "description": "Internal Server Error",
  5151. "schema": {
  5152. "$ref": "#/definitions/app.Response"
  5153. }
  5154. }
  5155. }
  5156. }
  5157. },
  5158. "/WR/GetWRCategoryInfo": {
  5159. "get": {
  5160. "produces": [
  5161. "application/json"
  5162. ],
  5163. "tags": [
  5164. "仓单服务"
  5165. ],
  5166. "summary": "获取现货分类信息",
  5167. "responses": {
  5168. "200": {
  5169. "description": "OK",
  5170. "schema": {
  5171. "$ref": "#/definitions/models.WRCategoryTree"
  5172. }
  5173. },
  5174. "500": {
  5175. "description": "Internal Server Error",
  5176. "schema": {
  5177. "$ref": "#/definitions/app.Response"
  5178. }
  5179. }
  5180. }
  5181. }
  5182. },
  5183. "/WRTrade/GetAllDeliveryGoods": {
  5184. "get": {
  5185. "security": [
  5186. {
  5187. "ApiKeyAuth": []
  5188. },
  5189. {
  5190. "ApiKeyAuth": []
  5191. }
  5192. ],
  5193. "produces": [
  5194. "application/json",
  5195. "application/json"
  5196. ],
  5197. "tags": [
  5198. "仓单贸易",
  5199. "仓单贸易"
  5200. ],
  5201. "summary": "获取带仓单分类的种类信息",
  5202. "responses": {
  5203. "200": {
  5204. "description": "OK",
  5205. "schema": {
  5206. "$ref": "#/definitions/app.Response"
  5207. }
  5208. },
  5209. "500": {
  5210. "description": "Internal Server Error",
  5211. "schema": {
  5212. "$ref": "#/definitions/app.Response"
  5213. }
  5214. }
  5215. }
  5216. }
  5217. }
  5218. },
  5219. "definitions": {
  5220. "app.Response": {
  5221. "type": "object",
  5222. "properties": {
  5223. "code": {
  5224. "type": "integer"
  5225. },
  5226. "data": {
  5227. "type": "object"
  5228. },
  5229. "msg": {
  5230. "type": "string"
  5231. },
  5232. "page": {
  5233. "description": "页码",
  5234. "type": "integer"
  5235. },
  5236. "pagesize": {
  5237. "description": "每页条数",
  5238. "type": "integer"
  5239. },
  5240. "total": {
  5241. "description": "总条数",
  5242. "type": "integer"
  5243. }
  5244. }
  5245. },
  5246. "common.QueryNoticeRsp": {
  5247. "type": "object",
  5248. "required": [
  5249. "autoid"
  5250. ],
  5251. "properties": {
  5252. "auditoruserid": {
  5253. "description": "审核人",
  5254. "type": "integer"
  5255. },
  5256. "auditremark": {
  5257. "description": "审核备注",
  5258. "type": "string"
  5259. },
  5260. "audittime": {
  5261. "description": "审核日期",
  5262. "type": "string"
  5263. },
  5264. "autoid": {
  5265. "description": "自增ID",
  5266. "type": "integer"
  5267. },
  5268. "content": {
  5269. "description": "内容",
  5270. "type": "string"
  5271. },
  5272. "createtime": {
  5273. "description": "创建时间",
  5274. "type": "string"
  5275. },
  5276. "creatorid": {
  5277. "description": "建仓人",
  5278. "type": "integer"
  5279. },
  5280. "endtime": {
  5281. "description": "结束时间",
  5282. "type": "string"
  5283. },
  5284. "istop": {
  5285. "description": "是否置顶 - 0:不置顶 1:置顶",
  5286. "type": "integer"
  5287. },
  5288. "msgiconurl": {
  5289. "description": "消息图标Url",
  5290. "type": "string"
  5291. },
  5292. "msgtype": {
  5293. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  5294. "type": "integer"
  5295. },
  5296. "publisher": {
  5297. "description": "消息发布者",
  5298. "type": "string"
  5299. },
  5300. "readed": {
  5301. "description": "是否已读",
  5302. "type": "boolean"
  5303. },
  5304. "scheduletime": {
  5305. "description": "计划发送时间",
  5306. "type": "string"
  5307. },
  5308. "sendtype": {
  5309. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  5310. "type": "integer"
  5311. },
  5312. "sentstatus": {
  5313. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  5314. "type": "integer"
  5315. },
  5316. "title": {
  5317. "description": "标题",
  5318. "type": "string"
  5319. },
  5320. "userid": {
  5321. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  5322. "type": "integer"
  5323. }
  5324. }
  5325. },
  5326. "common.QueryProvincesAndCitiesRsp": {
  5327. "type": "object",
  5328. "properties": {
  5329. "cities": {
  5330. "description": "市",
  5331. "type": "array",
  5332. "items": {
  5333. "$ref": "#/definitions/models.Division"
  5334. }
  5335. },
  5336. "province": {
  5337. "description": "省",
  5338. "$ref": "#/definitions/models.Division"
  5339. }
  5340. }
  5341. },
  5342. "common.QueryTableDefineRsp": {
  5343. "type": "object",
  5344. "required": [
  5345. "tablekey"
  5346. ],
  5347. "properties": {
  5348. "columns": {
  5349. "description": "列头信息数组",
  5350. "type": "array",
  5351. "items": {
  5352. "$ref": "#/definitions/models.Tablecolumnconfig"
  5353. }
  5354. },
  5355. "remark": {
  5356. "description": "Remark",
  5357. "type": "string"
  5358. },
  5359. "tabelmenu": {
  5360. "description": "列表菜单",
  5361. "type": "string"
  5362. },
  5363. "tablekey": {
  5364. "description": "列表Key",
  5365. "type": "string"
  5366. },
  5367. "tablename": {
  5368. "description": "列表名称",
  5369. "type": "string"
  5370. },
  5371. "tabletype": {
  5372. "description": "列表类型 - 1:管理端 2:终端",
  5373. "type": "integer"
  5374. }
  5375. }
  5376. },
  5377. "common.QueryTraderMenuRsp": {
  5378. "type": "object",
  5379. "properties": {
  5380. "OperationMenu": {
  5381. "description": "功能菜单",
  5382. "type": "array",
  5383. "items": {
  5384. "$ref": "#/definitions/models.OperationPrimaryMenu"
  5385. }
  5386. },
  5387. "QuoteMenu": {
  5388. "description": "报价牌分类菜单",
  5389. "type": "array",
  5390. "items": {
  5391. "$ref": "#/definitions/models.QuotePrimaryMenu"
  5392. }
  5393. }
  5394. }
  5395. },
  5396. "cptrade.Cptradepositioncancel": {
  5397. "type": "object",
  5398. "required": [
  5399. "cancelid"
  5400. ],
  5401. "properties": {
  5402. "accountid": {
  5403. "description": "申请人账户ID",
  5404. "type": "integer"
  5405. },
  5406. "applystatus": {
  5407. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  5408. "type": "integer"
  5409. },
  5410. "applytime": {
  5411. "description": "申请时间",
  5412. "type": "string"
  5413. },
  5414. "cancelid": {
  5415. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  5416. "type": "integer"
  5417. },
  5418. "cancelqty": {
  5419. "description": "注销数量",
  5420. "type": "integer"
  5421. },
  5422. "createtime": {
  5423. "description": "创建时间",
  5424. "type": "string"
  5425. },
  5426. "creatorid": {
  5427. "description": "创建人ID",
  5428. "type": "integer"
  5429. },
  5430. "creatorname": {
  5431. "description": "创建人",
  5432. "type": "string"
  5433. },
  5434. "goodscode": {
  5435. "description": "订单商品代码",
  5436. "type": "string"
  5437. },
  5438. "goodsid": {
  5439. "description": "商品ID",
  5440. "type": "integer"
  5441. },
  5442. "goodsname": {
  5443. "description": "订单商品名称",
  5444. "type": "string"
  5445. },
  5446. "goodunit": {
  5447. "description": "报价单位",
  5448. "type": "string"
  5449. },
  5450. "handlestatus": {
  5451. "description": "处理状态",
  5452. "type": "integer"
  5453. },
  5454. "marketid": {
  5455. "description": "市场ID",
  5456. "type": "integer"
  5457. },
  5458. "marketname": {
  5459. "description": "市场名称",
  5460. "type": "string"
  5461. },
  5462. "tradedate": {
  5463. "description": "交易日(yyyyMMdd)",
  5464. "type": "string"
  5465. },
  5466. "userid": {
  5467. "description": "申请人ID",
  5468. "type": "integer"
  5469. }
  5470. }
  5471. },
  5472. "cptrade.Cptradepresaleapply": {
  5473. "type": "object",
  5474. "required": [
  5475. "applyid"
  5476. ],
  5477. "properties": {
  5478. "accountid": {
  5479. "description": "申请人账户ID",
  5480. "type": "integer"
  5481. },
  5482. "applyid": {
  5483. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  5484. "type": "integer"
  5485. },
  5486. "applyremark": {
  5487. "description": "申请备注",
  5488. "type": "string"
  5489. },
  5490. "applystatus": {
  5491. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  5492. "type": "integer"
  5493. },
  5494. "applytime": {
  5495. "description": "申请时间",
  5496. "type": "string"
  5497. },
  5498. "attachmenturl": {
  5499. "description": "附件地址",
  5500. "type": "string"
  5501. },
  5502. "endtime": {
  5503. "description": "预售结束时间",
  5504. "type": "string"
  5505. },
  5506. "goodscode": {
  5507. "description": "商品代码",
  5508. "type": "string"
  5509. },
  5510. "goodsid": {
  5511. "description": "商品ID",
  5512. "type": "integer"
  5513. },
  5514. "goodsname": {
  5515. "description": "商品名称",
  5516. "type": "string"
  5517. },
  5518. "goodunit": {
  5519. "description": "报价单位",
  5520. "type": "string"
  5521. },
  5522. "handlestatus": {
  5523. "description": "处理状态",
  5524. "type": "integer"
  5525. },
  5526. "marketid": {
  5527. "description": "预售市场ID",
  5528. "type": "integer"
  5529. },
  5530. "marketname": {
  5531. "description": "预售市场名称",
  5532. "type": "string"
  5533. },
  5534. "presaleqty": {
  5535. "description": "预售数量",
  5536. "type": "integer"
  5537. },
  5538. "relatedgoodscode": {
  5539. "description": "关联交易合约代码",
  5540. "type": "string"
  5541. },
  5542. "relatedgoodsid": {
  5543. "description": "关联交易合约ID",
  5544. "type": "integer"
  5545. },
  5546. "relatedgoodsname": {
  5547. "description": "关联交易合约名称",
  5548. "type": "string"
  5549. },
  5550. "starttime": {
  5551. "description": "预售开始时间",
  5552. "type": "string"
  5553. },
  5554. "tradedate": {
  5555. "description": "交易日(yyyyMMdd)",
  5556. "type": "string"
  5557. },
  5558. "trademode": {
  5559. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  5560. "type": "integer"
  5561. },
  5562. "userid": {
  5563. "description": "申请人ID",
  5564. "type": "integer"
  5565. }
  5566. }
  5567. },
  5568. "cptrade.Cptradeusergoodsdata": {
  5569. "type": "object",
  5570. "required": [
  5571. "accountid",
  5572. "goodsid"
  5573. ],
  5574. "properties": {
  5575. "EnabledQty": {
  5576. "description": "可用量",
  5577. "type": "integer"
  5578. },
  5579. "GoodsCode": {
  5580. "description": "订单商品代码",
  5581. "type": "string"
  5582. },
  5583. "GoodsName": {
  5584. "description": "订单商品名称",
  5585. "type": "string"
  5586. },
  5587. "WRStandardCode": {
  5588. "description": "仓单标准代码",
  5589. "type": "string"
  5590. },
  5591. "WRStandardName": {
  5592. "description": "仓单标准名称",
  5593. "type": "string"
  5594. },
  5595. "accountid": {
  5596. "description": "账户ID",
  5597. "type": "integer"
  5598. },
  5599. "cancelqty": {
  5600. "description": "注销量",
  5601. "type": "integer"
  5602. },
  5603. "curpresaleqty": {
  5604. "description": "当前预售量",
  5605. "type": "integer"
  5606. },
  5607. "deliveryqty": {
  5608. "description": "交割量",
  5609. "type": "integer"
  5610. },
  5611. "freezeamount": {
  5612. "description": "冻结金额",
  5613. "type": "number"
  5614. },
  5615. "goodsid": {
  5616. "description": "商品ID",
  5617. "type": "integer"
  5618. },
  5619. "goodunit": {
  5620. "description": "报价单位",
  5621. "type": "string"
  5622. },
  5623. "hasspotfreeze": {
  5624. "description": "是否有现货冻结 - 0:否 1:有",
  5625. "type": "integer"
  5626. },
  5627. "inqty": {
  5628. "description": "转入量(总数量)",
  5629. "type": "integer"
  5630. },
  5631. "marketid": {
  5632. "description": "市场ID",
  5633. "type": "integer"
  5634. },
  5635. "presaledamount": {
  5636. "description": "已预售总金额",
  5637. "type": "integer"
  5638. },
  5639. "presaledqty": {
  5640. "description": "已预售量",
  5641. "type": "integer"
  5642. },
  5643. "userid": {
  5644. "description": "用户ID",
  5645. "type": "integer"
  5646. },
  5647. "wrstandardid": {
  5648. "description": "仓单标准ID",
  5649. "type": "integer"
  5650. }
  5651. }
  5652. },
  5653. "cptrade.QueryCPTradeMyBidRsp": {
  5654. "type": "object",
  5655. "required": [
  5656. "accountid",
  5657. "goodsid",
  5658. "marketid",
  5659. "orderid",
  5660. "orderqty",
  5661. "ordertime",
  5662. "tradeprice",
  5663. "tradeqty"
  5664. ],
  5665. "properties": {
  5666. "accountid": {
  5667. "description": "账户ID[报价币种]",
  5668. "type": "integer"
  5669. },
  5670. "goodsid": {
  5671. "description": "商品ID",
  5672. "type": "integer"
  5673. },
  5674. "goodunit": {
  5675. "description": "报价单位",
  5676. "type": "string"
  5677. },
  5678. "marketid": {
  5679. "description": "市场ID",
  5680. "type": "integer"
  5681. },
  5682. "orderid": {
  5683. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5684. "type": "integer"
  5685. },
  5686. "orderprice": {
  5687. "description": "委托价格",
  5688. "type": "number"
  5689. },
  5690. "orderqty": {
  5691. "description": "委托数量",
  5692. "type": "integer"
  5693. },
  5694. "ordertime": {
  5695. "description": "委托时间",
  5696. "type": "string"
  5697. },
  5698. "ordertotalprice": {
  5699. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  5700. "type": "number"
  5701. },
  5702. "ordertotalweight": {
  5703. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  5704. "type": "integer"
  5705. },
  5706. "totaltotalprice": {
  5707. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  5708. "type": "number"
  5709. },
  5710. "tradeprice": {
  5711. "description": "成交价格",
  5712. "type": "number"
  5713. },
  5714. "tradeqty": {
  5715. "description": "成交数量",
  5716. "type": "integer"
  5717. }
  5718. }
  5719. },
  5720. "cptrade.QueryCPTradeOrderDetailRsq": {
  5721. "type": "object",
  5722. "required": [
  5723. "accountid",
  5724. "buildtype",
  5725. "buyorsell",
  5726. "goodsid",
  5727. "marketid",
  5728. "memberuserid",
  5729. "operatetype",
  5730. "orderqty",
  5731. "ordertime",
  5732. "pricemode",
  5733. "strorderid",
  5734. "tradedate",
  5735. "validtype"
  5736. ],
  5737. "properties": {
  5738. "accountid": {
  5739. "description": "账户ID[报价币种]",
  5740. "type": "integer"
  5741. },
  5742. "buildtype": {
  5743. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  5744. "type": "integer"
  5745. },
  5746. "buyorsell": {
  5747. "description": "买卖 - 0:买 1:卖",
  5748. "type": "integer"
  5749. },
  5750. "cancelorderid": {
  5751. "description": "撤单单号(撤单时填写)",
  5752. "type": "integer"
  5753. },
  5754. "cancelqty": {
  5755. "description": "撤单数量",
  5756. "type": "integer"
  5757. },
  5758. "clientordertime": {
  5759. "description": "客户端委托时间",
  5760. "type": "string"
  5761. },
  5762. "clientticket": {
  5763. "description": "客户端流水号",
  5764. "type": "string"
  5765. },
  5766. "clienttype": {
  5767. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  5768. "type": "integer"
  5769. },
  5770. "closeexchagechargevalue": {
  5771. "description": "平仓交易所手续费设置值",
  5772. "type": "number"
  5773. },
  5774. "closefeealgorithm": {
  5775. "description": "平仓手续费收取方式 1:比率 2:固定",
  5776. "type": "integer"
  5777. },
  5778. "closefreezecharge": {
  5779. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  5780. "type": "number"
  5781. },
  5782. "closememberchargevalue": {
  5783. "description": "平仓会员手续费设置值",
  5784. "type": "number"
  5785. },
  5786. "closeqty": {
  5787. "description": "平仓数量(先建后平操作 需要记录)",
  5788. "type": "integer"
  5789. },
  5790. "closetradeqty": {
  5791. "description": "平仓成交数量(先建后平操作,需要记录)",
  5792. "type": "integer"
  5793. },
  5794. "closeunfreezecharge": {
  5795. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  5796. "type": "number"
  5797. },
  5798. "delistingtype": {
  5799. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  5800. "type": "integer"
  5801. },
  5802. "freezecharge": {
  5803. "description": "冻结手续费",
  5804. "type": "number"
  5805. },
  5806. "freezemargin": {
  5807. "description": "冻结保证金(冻结交易金额)",
  5808. "type": "number"
  5809. },
  5810. "gcaccountid": {
  5811. "description": "账户ID[合约币种]",
  5812. "type": "integer"
  5813. },
  5814. "goodsid": {
  5815. "description": "商品ID",
  5816. "type": "integer"
  5817. },
  5818. "isconfirmexercise": {
  5819. "description": "是否确认行权- 0:否 1:是",
  5820. "type": "integer"
  5821. },
  5822. "ispreexercise": {
  5823. "description": "是否预申报- 0:否 1:是",
  5824. "type": "integer"
  5825. },
  5826. "listingselecttype": {
  5827. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  5828. "type": "integer"
  5829. },
  5830. "marginalgorithm": {
  5831. "description": "保证金收取方式 1:比率 2:固定",
  5832. "type": "integer"
  5833. },
  5834. "marginvalue": {
  5835. "description": "即市保证金设置值",
  5836. "type": "number"
  5837. },
  5838. "marketid": {
  5839. "description": "市场ID",
  5840. "type": "integer"
  5841. },
  5842. "marketmaxsub": {
  5843. "description": "市价最大偏移范围",
  5844. "type": "number"
  5845. },
  5846. "memberuserid": {
  5847. "description": "所属会员UserID",
  5848. "type": "integer"
  5849. },
  5850. "openexchagechargevalue": {
  5851. "description": "建仓交易所手续费设置值",
  5852. "type": "number"
  5853. },
  5854. "openfeealgorithm": {
  5855. "description": "建仓手续费收取方式 1:比率 2:固定",
  5856. "type": "integer"
  5857. },
  5858. "openfreezecharge": {
  5859. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  5860. "type": "number"
  5861. },
  5862. "openmemberchargevalue": {
  5863. "description": "建仓会员手续费设置值",
  5864. "type": "number"
  5865. },
  5866. "openqty": {
  5867. "description": "开仓数量(先建后平操作,需要记录)",
  5868. "type": "integer"
  5869. },
  5870. "opentradeqty": {
  5871. "description": "开仓成交数量(先建后平操作,需要记录)",
  5872. "type": "integer"
  5873. },
  5874. "openunfreezecharge": {
  5875. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  5876. "type": "number"
  5877. },
  5878. "operatetype": {
  5879. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  5880. "type": "integer"
  5881. },
  5882. "operatorid": {
  5883. "description": "登录账号(LoginID)",
  5884. "type": "integer"
  5885. },
  5886. "optiontype": {
  5887. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  5888. "type": "integer"
  5889. },
  5890. "orderprice": {
  5891. "description": "委托价格",
  5892. "type": "number"
  5893. },
  5894. "orderqty": {
  5895. "description": "委托数量",
  5896. "type": "integer"
  5897. },
  5898. "ordersrc": {
  5899. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  5900. "type": "integer"
  5901. },
  5902. "orderstatus": {
  5903. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  5904. "type": "integer"
  5905. },
  5906. "ordertime": {
  5907. "description": "委托时间",
  5908. "type": "string"
  5909. },
  5910. "preexerciseprice": {
  5911. "description": "预申报价格",
  5912. "type": "number"
  5913. },
  5914. "premium": {
  5915. "description": "权利金",
  5916. "type": "number"
  5917. },
  5918. "preorderid": {
  5919. "description": "关联预埋单号(止盈止损单时填写)",
  5920. "type": "integer"
  5921. },
  5922. "pricemode": {
  5923. "description": "取价方式 - 1:市价 2: 限价",
  5924. "type": "integer"
  5925. },
  5926. "quoteid": {
  5927. "description": "报价单ID",
  5928. "type": "integer"
  5929. },
  5930. "relatedid": {
  5931. "description": "关联单号(交割单)",
  5932. "type": "integer"
  5933. },
  5934. "retcode": {
  5935. "description": "错误代码",
  5936. "type": "integer"
  5937. },
  5938. "sessionid": {
  5939. "description": "会话ID",
  5940. "type": "integer"
  5941. },
  5942. "strorderid": {
  5943. "description": "委托单号",
  5944. "type": "string"
  5945. },
  5946. "tradedate": {
  5947. "description": "交易日(yyyyMMdd)",
  5948. "type": "string"
  5949. },
  5950. "tradeproperty": {
  5951. "description": "交易属性",
  5952. "type": "integer"
  5953. },
  5954. "tradeqty": {
  5955. "description": "成交数量",
  5956. "type": "integer"
  5957. },
  5958. "unfreezecharge": {
  5959. "description": "解冻手续费",
  5960. "type": "number"
  5961. },
  5962. "unfreezemargin": {
  5963. "description": "解冻保证金",
  5964. "type": "number"
  5965. },
  5966. "updatetime": {
  5967. "description": "更新时间",
  5968. "type": "string"
  5969. },
  5970. "uuid": {
  5971. "description": "发起端唯一id",
  5972. "type": "string"
  5973. },
  5974. "validtime": {
  5975. "description": "有效期限",
  5976. "type": "string"
  5977. },
  5978. "validtype": {
  5979. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  5980. "type": "integer"
  5981. },
  5982. "volumetype": {
  5983. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  5984. "type": "integer"
  5985. }
  5986. }
  5987. },
  5988. "cptrade.QueryMyCPTradeGoodsRsp": {
  5989. "type": "object",
  5990. "required": [
  5991. "goodscode",
  5992. "goodsid",
  5993. "goodsname",
  5994. "marketid",
  5995. "relatedgoodscode",
  5996. "relatedgoodsname"
  5997. ],
  5998. "properties": {
  5999. "accountid": {
  6000. "description": "卖方账户ID",
  6001. "type": "integer"
  6002. },
  6003. "agreeunit": {
  6004. "description": "合约单位",
  6005. "type": "number"
  6006. },
  6007. "applyid": {
  6008. "description": "关联申请ID",
  6009. "type": "integer"
  6010. },
  6011. "attachmenturl": {
  6012. "description": "附件地址",
  6013. "type": "string"
  6014. },
  6015. "createtime": {
  6016. "description": "创建时间",
  6017. "type": "string"
  6018. },
  6019. "currencyid": {
  6020. "description": "报价货币ID",
  6021. "type": "integer"
  6022. },
  6023. "decimalplace": {
  6024. "description": "报价小数位",
  6025. "type": "integer"
  6026. },
  6027. "endtime": {
  6028. "description": "预售结束时间",
  6029. "type": "string"
  6030. },
  6031. "floorprice": {
  6032. "description": "底价[大宗式竞拍]",
  6033. "type": "number"
  6034. },
  6035. "goodscode": {
  6036. "description": "商品代码(预售)",
  6037. "type": "string"
  6038. },
  6039. "goodsdetail": {
  6040. "description": "详情[大宗]",
  6041. "type": "string"
  6042. },
  6043. "goodsid": {
  6044. "description": "商品ID(自增ID SEQ_GOODS)",
  6045. "type": "integer"
  6046. },
  6047. "goodsname": {
  6048. "description": "商品名称(预售)",
  6049. "type": "string"
  6050. },
  6051. "goodunit": {
  6052. "description": "报价单位",
  6053. "type": "string"
  6054. },
  6055. "goodunitid": {
  6056. "description": "报价单位ID",
  6057. "type": "integer"
  6058. },
  6059. "marketid": {
  6060. "description": "所属市场ID",
  6061. "type": "integer"
  6062. },
  6063. "marketname": {
  6064. "description": "预售市场名称",
  6065. "type": "string"
  6066. },
  6067. "presaledamount": {
  6068. "description": "已预售总金额(预售结束时更新)",
  6069. "type": "number"
  6070. },
  6071. "presaledqty": {
  6072. "description": "已预售量(预售结束时更新)",
  6073. "type": "integer"
  6074. },
  6075. "presalemode": {
  6076. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  6077. "type": "integer"
  6078. },
  6079. "presaleqty": {
  6080. "description": "预售数量",
  6081. "type": "integer"
  6082. },
  6083. "refprice": {
  6084. "description": "参考价格[一口价]",
  6085. "type": "number"
  6086. },
  6087. "relatedgoodscode": {
  6088. "description": "商品代码(订单)",
  6089. "type": "string"
  6090. },
  6091. "relatedgoodsid": {
  6092. "description": "关联交易合约ID",
  6093. "type": "integer"
  6094. },
  6095. "relatedgoodsname": {
  6096. "description": "商品名称(订单)",
  6097. "type": "string"
  6098. },
  6099. "relatedmarketid": {
  6100. "description": "关联交易合约市场ID",
  6101. "type": "integer"
  6102. },
  6103. "sellstatus": {
  6104. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  6105. "type": "integer"
  6106. },
  6107. "startprice": {
  6108. "description": "起拍价[大宗式竞拍]",
  6109. "type": "number"
  6110. },
  6111. "starttime": {
  6112. "description": "预售开始时间",
  6113. "type": "string"
  6114. },
  6115. "tradedate": {
  6116. "description": "交易日(yyyyMMdd)",
  6117. "type": "string"
  6118. },
  6119. "tradeprice": {
  6120. "description": "成交价[大宗]",
  6121. "type": "number"
  6122. },
  6123. "userid": {
  6124. "description": "卖方用户ID",
  6125. "type": "integer"
  6126. }
  6127. }
  6128. },
  6129. "cptrade.QueryPresaleGoodsExRsp": {
  6130. "type": "object",
  6131. "required": [
  6132. "goodsid"
  6133. ],
  6134. "properties": {
  6135. "attachmenturl": {
  6136. "description": "附件地址",
  6137. "type": "string"
  6138. },
  6139. "createtime": {
  6140. "description": "创建时间",
  6141. "type": "string"
  6142. },
  6143. "endtime": {
  6144. "description": "预售结束时间",
  6145. "type": "string"
  6146. },
  6147. "floorprice": {
  6148. "description": "底价[大宗式竞拍]",
  6149. "type": "number"
  6150. },
  6151. "goodsdetail": {
  6152. "description": "详情[大宗]",
  6153. "type": "string"
  6154. },
  6155. "goodsid": {
  6156. "description": "商品ID(预售)",
  6157. "type": "integer"
  6158. },
  6159. "goodunit": {
  6160. "description": "报价单位",
  6161. "type": "string"
  6162. },
  6163. "marketid": {
  6164. "description": "预售市场ID - 根据预售模式选择市场",
  6165. "type": "integer"
  6166. },
  6167. "presaledamount": {
  6168. "description": "已预售总金额(预售结束时更新)",
  6169. "type": "number"
  6170. },
  6171. "presaledqty": {
  6172. "description": "已预售量(预售结束时更新)",
  6173. "type": "integer"
  6174. },
  6175. "presalemode": {
  6176. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  6177. "type": "integer"
  6178. },
  6179. "presaleqty": {
  6180. "description": "预售数量",
  6181. "type": "integer"
  6182. },
  6183. "refprice": {
  6184. "description": "参考价格[一口价]",
  6185. "type": "number"
  6186. },
  6187. "relatedgoodsid": {
  6188. "description": "关联交易合约ID",
  6189. "type": "integer"
  6190. },
  6191. "relatedmarketid": {
  6192. "description": "关联交易合约市场ID",
  6193. "type": "integer"
  6194. },
  6195. "sellstatus": {
  6196. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  6197. "type": "integer"
  6198. },
  6199. "startprice": {
  6200. "description": "起拍价[大宗式竞拍]",
  6201. "type": "number"
  6202. },
  6203. "starttime": {
  6204. "description": "预售开始时间",
  6205. "type": "string"
  6206. },
  6207. "tradedate": {
  6208. "description": "交易日(yyyyMMdd)",
  6209. "type": "string"
  6210. },
  6211. "tradeprice": {
  6212. "description": "成交价[大宗]",
  6213. "type": "number"
  6214. }
  6215. }
  6216. },
  6217. "delivery.QueryDeliveryRelationRsp": {
  6218. "type": "object",
  6219. "required": [
  6220. "begindate",
  6221. "enddate",
  6222. "goodsid",
  6223. "mindeliveryqty",
  6224. "xdeliveryratio"
  6225. ],
  6226. "properties": {
  6227. "begindate": {
  6228. "description": "起始日期(yyyyMMdd)",
  6229. "type": "string"
  6230. },
  6231. "buytemplateid": {
  6232. "description": "买履约计划模板ID",
  6233. "type": "integer"
  6234. },
  6235. "deliverygoodscode": {
  6236. "description": "品种代码",
  6237. "type": "string"
  6238. },
  6239. "deliverygoodsid": {
  6240. "description": "交割商品",
  6241. "type": "integer"
  6242. },
  6243. "deliverygoodsname": {
  6244. "description": "品种名称",
  6245. "type": "string"
  6246. },
  6247. "deliverymode": {
  6248. "description": "交割方式 - 1:点选式 2:申报式",
  6249. "type": "integer"
  6250. },
  6251. "deliverypricerule": {
  6252. "description": "交割价规则- 1:行情价 2:建仓价",
  6253. "type": "integer"
  6254. },
  6255. "deliverytype": {
  6256. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  6257. "type": "integer"
  6258. },
  6259. "enddate": {
  6260. "description": "结束日期(yyyyMMdd)",
  6261. "type": "string"
  6262. },
  6263. "goodscode": {
  6264. "description": "商品代码",
  6265. "type": "string"
  6266. },
  6267. "goodsid": {
  6268. "description": "交易合约ID",
  6269. "type": "integer"
  6270. },
  6271. "goodsname": {
  6272. "description": "商品名称",
  6273. "type": "string"
  6274. },
  6275. "marketid": {
  6276. "description": "市场ID",
  6277. "type": "integer"
  6278. },
  6279. "mindeliveryqty": {
  6280. "description": "最小交割系数(K)",
  6281. "type": "integer"
  6282. },
  6283. "p2deliveryprice": {
  6284. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  6285. "type": "number"
  6286. },
  6287. "p2deliveryratio": {
  6288. "description": "P2合约系数(p)",
  6289. "type": "integer"
  6290. },
  6291. "p2goodsid": {
  6292. "description": "P2合约ID",
  6293. "type": "integer"
  6294. },
  6295. "p2pricemode": {
  6296. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  6297. "type": "integer"
  6298. },
  6299. "pdeliveryprice": {
  6300. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  6301. "type": "number"
  6302. },
  6303. "pdeliveryratio": {
  6304. "description": "P合约系数(n)",
  6305. "type": "integer"
  6306. },
  6307. "pgoodsid": {
  6308. "description": "P合约ID",
  6309. "type": "integer"
  6310. },
  6311. "ppricemode": {
  6312. "description": "P合约价格方式 - 1:商品价 2:固定值",
  6313. "type": "integer"
  6314. },
  6315. "rratio": {
  6316. "description": "兑换系数(R)",
  6317. "type": "integer"
  6318. },
  6319. "rratio1": {
  6320. "description": "兑换系数(交易合约)(R1)",
  6321. "type": "integer"
  6322. },
  6323. "rratio2": {
  6324. "description": "兑换系数(仓单标准)(R2)",
  6325. "type": "integer"
  6326. },
  6327. "selltemplateid": {
  6328. "description": "卖履约计划模板ID",
  6329. "type": "integer"
  6330. },
  6331. "wrstandardid": {
  6332. "description": "仓单标准ID",
  6333. "type": "integer"
  6334. },
  6335. "xdeliveryratio": {
  6336. "description": "交易合约系数(m)",
  6337. "type": "integer"
  6338. }
  6339. }
  6340. },
  6341. "ermcp.ExposureDetailRsp": {
  6342. "type": "object",
  6343. "properties": {
  6344. "areauserid": {
  6345. "description": "机构ID",
  6346. "type": "integer"
  6347. },
  6348. "changeQty": {
  6349. "description": "套保变动量",
  6350. "type": "number"
  6351. },
  6352. "contracttype": {
  6353. "description": "现货合同类型 - 1:采购 -1:销售",
  6354. "type": "integer"
  6355. },
  6356. "convertfactor": {
  6357. "description": "标仓系数",
  6358. "type": "number"
  6359. },
  6360. "convertratio": {
  6361. "description": "套保系数",
  6362. "type": "number"
  6363. },
  6364. "createtime": {
  6365. "description": "时间",
  6366. "type": "string"
  6367. },
  6368. "enumdicname": {
  6369. "description": "现货商品单位名称",
  6370. "type": "string"
  6371. },
  6372. "logtype": {
  6373. "description": "类型 - 1:套保计划 2:现货合同",
  6374. "type": "integer"
  6375. },
  6376. "middlegoodsId": {
  6377. "description": "套保商品id",
  6378. "type": "integer"
  6379. },
  6380. "middlegoodscode": {
  6381. "description": "套保商品代码",
  6382. "type": "string"
  6383. },
  6384. "middlegoodsname": {
  6385. "description": "套保商品名称",
  6386. "type": "string"
  6387. },
  6388. "qty": {
  6389. "description": "数量",
  6390. "type": "number"
  6391. },
  6392. "relateNo": {
  6393. "description": "现货合同/套保计划编号",
  6394. "type": "string"
  6395. },
  6396. "wrstandardcode": {
  6397. "description": "现货商品代码",
  6398. "type": "string"
  6399. },
  6400. "wrstandardid": {
  6401. "description": "现货商品ID",
  6402. "type": "integer"
  6403. },
  6404. "wrstandardname": {
  6405. "description": "现货商品名称",
  6406. "type": "string"
  6407. }
  6408. }
  6409. },
  6410. "ermcp.ExposureHedgePosDetailRsp": {
  6411. "type": "object",
  6412. "properties": {
  6413. "buyorsell": {
  6414. "description": "买卖方向 0-买 1-卖",
  6415. "type": "integer"
  6416. },
  6417. "channelbuildtype": {
  6418. "description": "开平方向 1-建仓 2-平仓",
  6419. "type": "integer"
  6420. },
  6421. "goodscode": {
  6422. "description": "商品代码",
  6423. "type": "string"
  6424. },
  6425. "goodsname": {
  6426. "description": "商品名称",
  6427. "type": "string"
  6428. },
  6429. "hedgegoodsid": {
  6430. "description": "商品id",
  6431. "type": "integer"
  6432. },
  6433. "tradeqty": {
  6434. "description": "数量(成交数量)",
  6435. "type": "integer"
  6436. },
  6437. "tradetime": {
  6438. "description": "时间(成交时间)",
  6439. "type": "string"
  6440. }
  6441. }
  6442. },
  6443. "ermcp.ExposureHedgePositionRsp": {
  6444. "type": "object",
  6445. "properties": {
  6446. "accountid": {
  6447. "description": "资金账号[外部母账户]",
  6448. "type": "integer"
  6449. },
  6450. "curbuyposition": {
  6451. "description": "期末买头寸",
  6452. "type": "integer"
  6453. },
  6454. "cursellposition": {
  6455. "description": "期末卖头寸",
  6456. "type": "integer"
  6457. },
  6458. "curtdbuyposition": {
  6459. "description": "期末今日买头寸",
  6460. "type": "integer"
  6461. },
  6462. "curtdsellposition": {
  6463. "description": "期末今日卖头寸",
  6464. "type": "integer"
  6465. },
  6466. "curydbuyposition": {
  6467. "description": "期末上日买头寸",
  6468. "type": "integer"
  6469. },
  6470. "curydsellposition": {
  6471. "description": "期末上日卖头寸",
  6472. "type": "integer"
  6473. },
  6474. "decreaseqty": {
  6475. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  6476. "type": "integer"
  6477. },
  6478. "fretdbuyposition": {
  6479. "description": "冻结今日买头寸",
  6480. "type": "integer"
  6481. },
  6482. "fretdsellposition": {
  6483. "description": "冻结今日卖头寸",
  6484. "type": "integer"
  6485. },
  6486. "freydbuyposition": {
  6487. "description": "冻结上日买头寸",
  6488. "type": "integer"
  6489. },
  6490. "freydsellposition": {
  6491. "description": "冻结上日卖头寸",
  6492. "type": "integer"
  6493. },
  6494. "goodscode": {
  6495. "description": "商品代码",
  6496. "type": "string"
  6497. },
  6498. "goodsid": {
  6499. "description": "商品id",
  6500. "type": "integer"
  6501. },
  6502. "goodsname": {
  6503. "description": "商品名称",
  6504. "type": "string"
  6505. },
  6506. "hedgeaccountcode": {
  6507. "description": "对冲账号",
  6508. "type": "string"
  6509. },
  6510. "hedgegoodsid": {
  6511. "description": "对冲合约ID",
  6512. "type": "integer"
  6513. },
  6514. "increaseqty": {
  6515. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  6516. "type": "integer"
  6517. },
  6518. "marketid": {
  6519. "description": "市场ID",
  6520. "type": "integer"
  6521. },
  6522. "relateduserid": {
  6523. "description": "关联用户id",
  6524. "type": "integer"
  6525. },
  6526. "totalcurqty": {
  6527. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  6528. "type": "integer"
  6529. },
  6530. "totalydqty": {
  6531. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  6532. "type": "integer"
  6533. },
  6534. "tradedate": {
  6535. "description": "交易日(yyyyMMdd)",
  6536. "type": "string"
  6537. },
  6538. "ydbuyposition": {
  6539. "description": "期初买头寸",
  6540. "type": "integer"
  6541. },
  6542. "ydsellposition": {
  6543. "description": "期初卖头寸",
  6544. "type": "integer"
  6545. }
  6546. }
  6547. },
  6548. "ermcp.ExposureSpotDetailRsp": {
  6549. "type": "object",
  6550. "properties": {
  6551. "contracttype": {
  6552. "description": "合同类型 1-采购 -1-销售",
  6553. "type": "integer"
  6554. },
  6555. "enumdicname": {
  6556. "description": "现货商品单位名称",
  6557. "type": "string"
  6558. },
  6559. "logtype": {
  6560. "description": "记录类型 1-套保 2-现货合同",
  6561. "type": "integer"
  6562. },
  6563. "qty": {
  6564. "description": "数量",
  6565. "type": "number"
  6566. },
  6567. "recordname": {
  6568. "description": "类型名称",
  6569. "type": "string"
  6570. },
  6571. "relatedid": {
  6572. "description": "套保计划ID/现货合同ID",
  6573. "type": "string"
  6574. },
  6575. "relatedno": {
  6576. "description": "编号",
  6577. "type": "string"
  6578. },
  6579. "strtime": {
  6580. "description": "时间",
  6581. "type": "string"
  6582. },
  6583. "wrstandardcode": {
  6584. "description": "现货商品代码",
  6585. "type": "string"
  6586. },
  6587. "wrstandardname": {
  6588. "description": "现货商品名称",
  6589. "type": "string"
  6590. }
  6591. }
  6592. },
  6593. "ermcp.ExposureSpotRsp": {
  6594. "type": "object",
  6595. "properties": {
  6596. "areauserid": {
  6597. "description": "所属机构",
  6598. "type": "integer"
  6599. },
  6600. "decreaseqty": {
  6601. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  6602. "type": "number"
  6603. },
  6604. "increaseqty": {
  6605. "description": "增加数量=销售计划数量+采购已定价数量",
  6606. "type": "number"
  6607. },
  6608. "oritoalspotqty": {
  6609. "description": "昨日数量",
  6610. "type": "number"
  6611. },
  6612. "totalspotqty": {
  6613. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  6614. "type": "number"
  6615. },
  6616. "updatetime": {
  6617. "description": "更新时间",
  6618. "type": "string"
  6619. },
  6620. "wrstandardcode": {
  6621. "description": "现货品种代码",
  6622. "type": "string"
  6623. },
  6624. "wrstandardid": {
  6625. "description": "现货商品ID",
  6626. "type": "integer"
  6627. },
  6628. "wrstandardname": {
  6629. "description": "现货品种",
  6630. "type": "string"
  6631. }
  6632. }
  6633. },
  6634. "ermcp.HisExposureRsp": {
  6635. "type": "object",
  6636. "properties": {
  6637. "areauserid": {
  6638. "description": "所属机构",
  6639. "type": "integer"
  6640. },
  6641. "middlegoodscode": {
  6642. "description": "套保品种代码",
  6643. "type": "string"
  6644. },
  6645. "middlegoodsid": {
  6646. "description": "套保品种ID",
  6647. "type": "integer"
  6648. },
  6649. "middlegoodsname": {
  6650. "description": "套保品种名称",
  6651. "type": "string"
  6652. },
  6653. "needhedgeexposourE": {
  6654. "description": "应套保敞口",
  6655. "type": "number"
  6656. },
  6657. "needhedgeratio": {
  6658. "description": "应套保敞口比例",
  6659. "type": "number"
  6660. },
  6661. "reckondate": {
  6662. "description": "日照时期(yyyyMMdd)",
  6663. "type": "string"
  6664. },
  6665. "totalexposure": {
  6666. "description": "总敞口",
  6667. "type": "number"
  6668. },
  6669. "totalfutureqty": {
  6670. "description": "期货头寸总量",
  6671. "type": "number"
  6672. },
  6673. "totalhedgeratio": {
  6674. "description": "敞口比例",
  6675. "type": "number"
  6676. },
  6677. "totalneedhedgeqty": {
  6678. "description": "应套保总量",
  6679. "type": "number"
  6680. },
  6681. "totalspotqty": {
  6682. "description": "现货头寸总量",
  6683. "type": "number"
  6684. }
  6685. }
  6686. },
  6687. "ermcp.QryAvalidGPRsp": {
  6688. "type": "object",
  6689. "properties": {
  6690. "goodsgroupid": {
  6691. "description": "期货品种id",
  6692. "type": "integer"
  6693. },
  6694. "goodsgroupname": {
  6695. "description": "期货品种名称",
  6696. "type": "string"
  6697. },
  6698. "goodunitid": {
  6699. "description": "品种单位id",
  6700. "type": "integer"
  6701. },
  6702. "goodunitname": {
  6703. "description": "品种单位名称",
  6704. "type": "string"
  6705. },
  6706. "outergroupcode": {
  6707. "description": "期货品种代码",
  6708. "type": "string"
  6709. }
  6710. }
  6711. },
  6712. "ermcp.QryBusinessDjRsp": {
  6713. "type": "object",
  6714. "properties": {
  6715. "amount": {
  6716. "description": "点价金额=(点价价格+升贴水)*点价数量",
  6717. "type": "number"
  6718. },
  6719. "applyid": {
  6720. "description": "申请人",
  6721. "type": "string"
  6722. },
  6723. "applyname": {
  6724. "description": "申请人名称",
  6725. "type": "string"
  6726. },
  6727. "applystatus": {
  6728. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6729. "type": "integer"
  6730. },
  6731. "applytime": {
  6732. "description": "申请时间",
  6733. "type": "string"
  6734. },
  6735. "auditname": {
  6736. "description": "审核人名称",
  6737. "type": "string"
  6738. },
  6739. "audittime": {
  6740. "description": "审核时间",
  6741. "type": "string"
  6742. },
  6743. "buyusername": {
  6744. "description": "采购方名称",
  6745. "type": "string"
  6746. },
  6747. "contractno": {
  6748. "description": "合同编号",
  6749. "type": "string"
  6750. },
  6751. "contractstatus": {
  6752. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6753. "type": "integer"
  6754. },
  6755. "contracttype": {
  6756. "description": "现货合同类型 - 1:采购 -1:销售",
  6757. "type": "integer"
  6758. },
  6759. "enumdicname": {
  6760. "description": "单位名称",
  6761. "type": "string"
  6762. },
  6763. "goodscode": {
  6764. "description": "点价合约",
  6765. "type": "string"
  6766. },
  6767. "goodsname": {
  6768. "description": "商品名称",
  6769. "type": "string"
  6770. },
  6771. "operateapplyid": {
  6772. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6773. "type": "string"
  6774. },
  6775. "operateapplytype": {
  6776. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6777. "type": "integer"
  6778. },
  6779. "pricedPrice": {
  6780. "description": "点价价格(非必填)",
  6781. "type": "number"
  6782. },
  6783. "pricedQty": {
  6784. "description": "点价数量(非必填)",
  6785. "type": "number"
  6786. },
  6787. "pricemove": {
  6788. "description": "升贴水",
  6789. "type": "number"
  6790. },
  6791. "pricetype": {
  6792. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6793. "type": "integer"
  6794. },
  6795. "relatedid": {
  6796. "description": "现货合同ID",
  6797. "type": "string"
  6798. },
  6799. "sellusername": {
  6800. "description": "销售方名字",
  6801. "type": "string"
  6802. },
  6803. "userid": {
  6804. "description": "用户ID",
  6805. "type": "integer"
  6806. }
  6807. }
  6808. },
  6809. "ermcp.QryBussinessFpRsp": {
  6810. "type": "object",
  6811. "properties": {
  6812. "applyid": {
  6813. "description": "申请人",
  6814. "type": "string"
  6815. },
  6816. "applyname": {
  6817. "description": "申请人名称",
  6818. "type": "string"
  6819. },
  6820. "applystatus": {
  6821. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6822. "type": "integer"
  6823. },
  6824. "applytime": {
  6825. "description": "申请时间",
  6826. "type": "string"
  6827. },
  6828. "auditname": {
  6829. "description": "审核人名称",
  6830. "type": "string"
  6831. },
  6832. "audittime": {
  6833. "description": "审核时间",
  6834. "type": "string"
  6835. },
  6836. "buyusername": {
  6837. "description": "采购方名称",
  6838. "type": "string"
  6839. },
  6840. "contractno": {
  6841. "description": "合同编号",
  6842. "type": "string"
  6843. },
  6844. "contractstatus": {
  6845. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6846. "type": "integer"
  6847. },
  6848. "contracttype": {
  6849. "description": "现货合同类型 - 1:采购 -1:销售",
  6850. "type": "integer"
  6851. },
  6852. "enumdicname": {
  6853. "description": "单位名称",
  6854. "type": "string"
  6855. },
  6856. "goodscode": {
  6857. "description": "点价合约",
  6858. "type": "string"
  6859. },
  6860. "goodsname": {
  6861. "description": "商品名称",
  6862. "type": "string"
  6863. },
  6864. "invoiceAmount": {
  6865. "description": "已开收票金额(销售为开票,采购为收票)",
  6866. "type": "number"
  6867. },
  6868. "operateapplyid": {
  6869. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6870. "type": "string"
  6871. },
  6872. "operateapplytype": {
  6873. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6874. "type": "integer"
  6875. },
  6876. "pricemove": {
  6877. "description": "升贴水",
  6878. "type": "number"
  6879. },
  6880. "pricetype": {
  6881. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6882. "type": "integer"
  6883. },
  6884. "relatedid": {
  6885. "description": "现货合同ID",
  6886. "type": "string"
  6887. },
  6888. "sellusername": {
  6889. "description": "销售方名字",
  6890. "type": "string"
  6891. },
  6892. "userid": {
  6893. "description": "用户ID",
  6894. "type": "integer"
  6895. }
  6896. }
  6897. },
  6898. "ermcp.QryBussinessJsRsp": {
  6899. "type": "object",
  6900. "properties": {
  6901. "addmargin": {
  6902. "description": "追加保证金(非必填)",
  6903. "type": "number"
  6904. },
  6905. "applyid": {
  6906. "description": "申请人",
  6907. "type": "string"
  6908. },
  6909. "applyname": {
  6910. "description": "申请人名称",
  6911. "type": "string"
  6912. },
  6913. "applystatus": {
  6914. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6915. "type": "integer"
  6916. },
  6917. "applytime": {
  6918. "description": "申请时间",
  6919. "type": "string"
  6920. },
  6921. "auditname": {
  6922. "description": "审核人名称",
  6923. "type": "string"
  6924. },
  6925. "audittime": {
  6926. "description": "审核时间",
  6927. "type": "string"
  6928. },
  6929. "buyusername": {
  6930. "description": "采购方名称",
  6931. "type": "string"
  6932. },
  6933. "contractno": {
  6934. "description": "合同编号",
  6935. "type": "string"
  6936. },
  6937. "contractstatus": {
  6938. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6939. "type": "integer"
  6940. },
  6941. "contracttype": {
  6942. "description": "现货合同类型 - 1:采购 -1:销售",
  6943. "type": "integer"
  6944. },
  6945. "decmargin": {
  6946. "description": "减少保证金(非必填)",
  6947. "type": "number"
  6948. },
  6949. "enumdicname": {
  6950. "description": "单位名称",
  6951. "type": "string"
  6952. },
  6953. "goodscode": {
  6954. "description": "点价合约",
  6955. "type": "string"
  6956. },
  6957. "goodsname": {
  6958. "description": "商品名称",
  6959. "type": "string"
  6960. },
  6961. "operateapplyid": {
  6962. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6963. "type": "string"
  6964. },
  6965. "operateapplytype": {
  6966. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6967. "type": "integer"
  6968. },
  6969. "pricemove": {
  6970. "description": "升贴水",
  6971. "type": "number"
  6972. },
  6973. "pricetype": {
  6974. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6975. "type": "integer"
  6976. },
  6977. "reckonadjustamount": {
  6978. "description": "结算调整金额(非必填)",
  6979. "type": "number"
  6980. },
  6981. "reckonosamount": {
  6982. "description": "结算溢短金额(非必填)",
  6983. "type": "number"
  6984. },
  6985. "reckonotheramount": {
  6986. "description": "结算其他费用(非必填)",
  6987. "type": "number"
  6988. },
  6989. "reckonrealqty": {
  6990. "description": "结算实际数量(非必填)",
  6991. "type": "number"
  6992. },
  6993. "relatedid": {
  6994. "description": "现货合同ID",
  6995. "type": "string"
  6996. },
  6997. "sellusername": {
  6998. "description": "销售方名字",
  6999. "type": "string"
  7000. },
  7001. "userid": {
  7002. "description": "用户ID",
  7003. "type": "integer"
  7004. }
  7005. }
  7006. },
  7007. "ermcp.QryBussinessKxRsp": {
  7008. "type": "object",
  7009. "properties": {
  7010. "applyid": {
  7011. "description": "申请人",
  7012. "type": "string"
  7013. },
  7014. "applyname": {
  7015. "description": "申请人名称",
  7016. "type": "string"
  7017. },
  7018. "applystatus": {
  7019. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7020. "type": "integer"
  7021. },
  7022. "applytime": {
  7023. "description": "申请时间",
  7024. "type": "string"
  7025. },
  7026. "auditname": {
  7027. "description": "审核人名称",
  7028. "type": "string"
  7029. },
  7030. "audittime": {
  7031. "description": "审核时间",
  7032. "type": "string"
  7033. },
  7034. "buyusername": {
  7035. "description": "采购方名称",
  7036. "type": "string"
  7037. },
  7038. "contractno": {
  7039. "description": "合同编号",
  7040. "type": "string"
  7041. },
  7042. "contractstatus": {
  7043. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7044. "type": "integer"
  7045. },
  7046. "contracttype": {
  7047. "description": "现货合同类型 - 1:采购 -1:销售",
  7048. "type": "integer"
  7049. },
  7050. "deductamount": {
  7051. "description": "退款(非必填)",
  7052. "type": "number"
  7053. },
  7054. "enumdicname": {
  7055. "description": "单位名称",
  7056. "type": "string"
  7057. },
  7058. "goodscode": {
  7059. "description": "点价合约",
  7060. "type": "string"
  7061. },
  7062. "goodsname": {
  7063. "description": "商品名称",
  7064. "type": "string"
  7065. },
  7066. "kxtype": {
  7067. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  7068. "type": "integer"
  7069. },
  7070. "operateapplyid": {
  7071. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7072. "type": "string"
  7073. },
  7074. "operateapplytype": {
  7075. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7076. "type": "integer"
  7077. },
  7078. "payamount": {
  7079. "description": "收付款(非必填)",
  7080. "type": "number"
  7081. },
  7082. "pricemove": {
  7083. "description": "升贴水",
  7084. "type": "number"
  7085. },
  7086. "pricetype": {
  7087. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7088. "type": "integer"
  7089. },
  7090. "relatedid": {
  7091. "description": "现货合同ID",
  7092. "type": "string"
  7093. },
  7094. "sellusername": {
  7095. "description": "销售方名字",
  7096. "type": "string"
  7097. },
  7098. "userid": {
  7099. "description": "用户ID",
  7100. "type": "integer"
  7101. }
  7102. }
  7103. },
  7104. "ermcp.QryErmcpRsp": {
  7105. "type": "object",
  7106. "properties": {
  7107. "accountname": {
  7108. "description": "账户名称",
  7109. "type": "string"
  7110. },
  7111. "audittime": {
  7112. "description": "审核时间",
  7113. "type": "string"
  7114. },
  7115. "contracctstatus": {
  7116. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7117. "type": "integer"
  7118. },
  7119. "contractmargin": {
  7120. "description": "合同保证金",
  7121. "type": "number"
  7122. },
  7123. "contractno": {
  7124. "description": "合同编号",
  7125. "type": "string"
  7126. },
  7127. "contracttype": {
  7128. "description": "合同类型 1-采购, -1-销售",
  7129. "type": "integer"
  7130. },
  7131. "convertfactor": {
  7132. "description": "标仓系数",
  7133. "type": "number"
  7134. },
  7135. "daikaiamount": {
  7136. "description": "待开票额",
  7137. "type": "number"
  7138. },
  7139. "deliveryenddate": {
  7140. "description": "交割结束日",
  7141. "type": "string"
  7142. },
  7143. "deliverygoodscode": {
  7144. "description": "现货商品代码",
  7145. "type": "string"
  7146. },
  7147. "deliverygoodsid": {
  7148. "description": "现货商品ID",
  7149. "type": "integer"
  7150. },
  7151. "deliverygoodsname": {
  7152. "description": "现货商品名称",
  7153. "type": "string"
  7154. },
  7155. "deliverystartdate": {
  7156. "description": "交割开始日",
  7157. "type": "string"
  7158. },
  7159. "enddate": {
  7160. "description": "点价结束日",
  7161. "type": "string"
  7162. },
  7163. "enumdicname": {
  7164. "description": "单位名称",
  7165. "type": "string"
  7166. },
  7167. "goodscode": {
  7168. "description": "点价商品代码",
  7169. "type": "string"
  7170. },
  7171. "goodsid": {
  7172. "description": "点价商品ID",
  7173. "type": "integer"
  7174. },
  7175. "invoiceamount": {
  7176. "description": "已开票额",
  7177. "type": "number"
  7178. },
  7179. "loanamount": {
  7180. "description": "贷款总额=已定价额+调整金额",
  7181. "type": "number"
  7182. },
  7183. "margin": {
  7184. "description": "保证金",
  7185. "type": "number"
  7186. },
  7187. "payamount": {
  7188. "description": "已收付额(收款或付款)",
  7189. "type": "number"
  7190. },
  7191. "price": {
  7192. "description": "价格",
  7193. "type": "number"
  7194. },
  7195. "pricedamount": {
  7196. "description": "已定价额",
  7197. "type": "number"
  7198. },
  7199. "pricedavg": {
  7200. "description": "已点均价",
  7201. "type": "number"
  7202. },
  7203. "pricedqty": {
  7204. "description": "已定价量",
  7205. "type": "number"
  7206. },
  7207. "pricemove": {
  7208. "description": "升贴水",
  7209. "type": "number"
  7210. },
  7211. "pricetype": {
  7212. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7213. "type": "integer"
  7214. },
  7215. "producttype": {
  7216. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7217. "type": "integer"
  7218. },
  7219. "qty": {
  7220. "description": "合同量",
  7221. "type": "number"
  7222. },
  7223. "reckonadjustamount": {
  7224. "description": "调整金额",
  7225. "type": "number"
  7226. },
  7227. "reckonedamount": {
  7228. "description": "已收付额(已确定额)",
  7229. "type": "number"
  7230. },
  7231. "reckonotheramount": {
  7232. "description": "其它费用",
  7233. "type": "number"
  7234. },
  7235. "reckonrealqty": {
  7236. "description": "已确定量",
  7237. "type": "number"
  7238. },
  7239. "remark": {
  7240. "description": "备注",
  7241. "type": "string"
  7242. },
  7243. "spotcontractid": {
  7244. "description": "合同ID",
  7245. "type": "string"
  7246. },
  7247. "spotgoodsdesc": {
  7248. "description": "商品型号(商品规格)",
  7249. "type": "string"
  7250. },
  7251. "startdate": {
  7252. "description": "点价开始日",
  7253. "type": "string"
  7254. },
  7255. "totalamount": {
  7256. "description": "合计总额",
  7257. "type": "number"
  7258. },
  7259. "unpayamount": {
  7260. "description": "待支收额(支付或收款)",
  7261. "type": "number"
  7262. },
  7263. "unpricedqty": {
  7264. "description": "未定价量",
  7265. "type": "number"
  7266. },
  7267. "unsureqty": {
  7268. "description": "未确定量",
  7269. "type": "number"
  7270. },
  7271. "userid": {
  7272. "description": "用户ID",
  7273. "type": "integer"
  7274. }
  7275. }
  7276. },
  7277. "ermcp.QryGGCovertCfgRsp": {
  7278. "type": "object",
  7279. "properties": {
  7280. "convertratio": {
  7281. "description": "折算系数",
  7282. "type": "number"
  7283. },
  7284. "destgoodsgroupid": {
  7285. "description": "目标品种ID",
  7286. "type": "integer"
  7287. },
  7288. "dstcode": {
  7289. "description": "目录品种代码",
  7290. "type": "string"
  7291. },
  7292. "dstname": {
  7293. "description": "目标品种名称",
  7294. "type": "string"
  7295. },
  7296. "dstunitid": {
  7297. "description": "目标品种单位ID",
  7298. "type": "integer"
  7299. },
  7300. "dstunitidname": {
  7301. "description": "目标品种单位名称",
  7302. "type": "string"
  7303. },
  7304. "srccode": {
  7305. "description": "源品种代码",
  7306. "type": "string"
  7307. },
  7308. "srcgoodsgroupid": {
  7309. "description": "源品种ID",
  7310. "type": "integer"
  7311. },
  7312. "srcname": {
  7313. "description": "源品种名称",
  7314. "type": "string"
  7315. },
  7316. "srcunitid": {
  7317. "description": "源品种单位ID",
  7318. "type": "integer"
  7319. },
  7320. "srcunitidname": {
  7321. "description": "源品种单位名称",
  7322. "type": "string"
  7323. }
  7324. }
  7325. },
  7326. "ermcp.QryHedgePlanRsp": {
  7327. "type": "object",
  7328. "properties": {
  7329. "areauserid": {
  7330. "description": "用户ID",
  7331. "type": "integer"
  7332. },
  7333. "contracttype": {
  7334. "description": "计划类型 - 1:采购 -1:销售",
  7335. "type": "integer"
  7336. },
  7337. "convertfactor": {
  7338. "description": "标仓系数",
  7339. "type": "number"
  7340. },
  7341. "deliverygoodsid": {
  7342. "description": "现货品种ID",
  7343. "type": "integer"
  7344. },
  7345. "deliverygoodsname": {
  7346. "description": "现货品种名称",
  7347. "type": "string"
  7348. },
  7349. "hedgeplanid": {
  7350. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  7351. "type": "string"
  7352. },
  7353. "hedgeplanno": {
  7354. "description": "套保计划编号(名称)",
  7355. "type": "string"
  7356. },
  7357. "hedgeplanstatus": {
  7358. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7359. "type": "integer"
  7360. },
  7361. "planqty": {
  7362. "description": "计划数量",
  7363. "type": "number"
  7364. },
  7365. "plantime": {
  7366. "description": "计划时间",
  7367. "type": "string"
  7368. },
  7369. "producttype": {
  7370. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7371. "type": "integer"
  7372. },
  7373. "remark": {
  7374. "description": "备注",
  7375. "type": "string"
  7376. },
  7377. "spotgoodsdesc": {
  7378. "description": "商品型号",
  7379. "type": "string"
  7380. },
  7381. "wrstandardid": {
  7382. "description": "现货商品ID",
  7383. "type": "integer"
  7384. },
  7385. "wrstandardname": {
  7386. "description": "现货商品名称",
  7387. "type": "string"
  7388. }
  7389. }
  7390. },
  7391. "ermcp.QryMGChangeLogRsp": {
  7392. "type": "object",
  7393. "properties": {
  7394. "aftervalue": {
  7395. "description": "变更后",
  7396. "type": "number"
  7397. },
  7398. "applyid": {
  7399. "description": "操作人",
  7400. "type": "integer"
  7401. },
  7402. "applyname": {
  7403. "description": "操作人名称",
  7404. "type": "string"
  7405. },
  7406. "applysrc": {
  7407. "description": "操作来源 - 1:管理端 2:终端",
  7408. "type": "integer"
  7409. },
  7410. "beforevalue": {
  7411. "description": "变更前",
  7412. "type": "number"
  7413. },
  7414. "changelogtype": {
  7415. "description": "变更流水类型 - 1:套保比率变更",
  7416. "type": "integer"
  7417. },
  7418. "handlestatus": {
  7419. "description": "处理状态",
  7420. "type": "integer"
  7421. },
  7422. "logdatetime": {
  7423. "description": "流水日期",
  7424. "type": "string"
  7425. },
  7426. "logid": {
  7427. "description": "流水ID",
  7428. "type": "integer"
  7429. },
  7430. "logremark": {
  7431. "description": "流水备注",
  7432. "type": "string"
  7433. },
  7434. "middlegoodsid": {
  7435. "description": "套保品种ID",
  7436. "type": "integer"
  7437. },
  7438. "tradedate": {
  7439. "description": "交易日(yyyyMMdd)",
  7440. "type": "string"
  7441. },
  7442. "updatetime": {
  7443. "description": "更新时间",
  7444. "type": "string"
  7445. }
  7446. }
  7447. },
  7448. "ermcp.QryMiddleGoodsDetailRsp": {
  7449. "type": "object",
  7450. "properties": {
  7451. "cvList": {
  7452. "description": "期货品种折算列表",
  7453. "type": "array",
  7454. "items": {
  7455. "$ref": "#/definitions/models.GoodsGroupConvert"
  7456. }
  7457. },
  7458. "mg": {
  7459. "description": "套保品种基本信息",
  7460. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  7461. }
  7462. }
  7463. },
  7464. "ermcp.QryMiddleGoodsRsp": {
  7465. "type": "object",
  7466. "properties": {
  7467. "areauserid": {
  7468. "description": "机构用户ID",
  7469. "type": "integer"
  7470. },
  7471. "enumdicname": {
  7472. "description": "单位名称",
  7473. "type": "string"
  7474. },
  7475. "evaluateratio": {
  7476. "description": "估价系数",
  7477. "type": "number"
  7478. },
  7479. "goodsgroupid": {
  7480. "description": "关联期货品种ID",
  7481. "type": "integer"
  7482. },
  7483. "isvalid": {
  7484. "description": "状态 0-无效(停用) 1-有效(正常)",
  7485. "type": "integer"
  7486. },
  7487. "middlegoodscode": {
  7488. "description": "套保品种代码",
  7489. "type": "string"
  7490. },
  7491. "middlegoodsid": {
  7492. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  7493. "type": "integer"
  7494. },
  7495. "middlegoodsname": {
  7496. "description": "套保品种名称",
  7497. "type": "string"
  7498. },
  7499. "modifytime": {
  7500. "description": "修改时间",
  7501. "type": "string"
  7502. },
  7503. "needhedgeratio": {
  7504. "description": "套保比率",
  7505. "type": "number"
  7506. },
  7507. "qtydecimalplace": {
  7508. "description": "数量小数位",
  7509. "type": "integer"
  7510. },
  7511. "relatedgoodsid": {
  7512. "description": "关联交易商品ID",
  7513. "type": "integer"
  7514. },
  7515. "relatedgoodstype": {
  7516. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  7517. "type": "integer"
  7518. }
  7519. }
  7520. },
  7521. "ermcp.QryOPLogRsp": {
  7522. "type": "object",
  7523. "properties": {
  7524. "aftervalue": {
  7525. "description": "变更后",
  7526. "type": "number"
  7527. },
  7528. "applyid": {
  7529. "description": "操作人ID",
  7530. "type": "string"
  7531. },
  7532. "applyname": {
  7533. "description": "操作人名称",
  7534. "type": "string"
  7535. },
  7536. "beforevalue": {
  7537. "description": "变更前",
  7538. "type": "number"
  7539. },
  7540. "biztype": {
  7541. "description": "业务类型 - 1:套保计划 2:现货合同",
  7542. "type": "integer"
  7543. },
  7544. "contracttype": {
  7545. "description": "现货合同类型 - 1:采购 -1:销售",
  7546. "type": "integer"
  7547. },
  7548. "logvalue": {
  7549. "description": "数值",
  7550. "type": "number"
  7551. },
  7552. "operatelogtype": {
  7553. "description": "操作流水类型",
  7554. "type": "integer"
  7555. },
  7556. "operatelogtypedesc": {
  7557. "description": "操作流水类型名称",
  7558. "type": "string"
  7559. },
  7560. "relatedid": {
  7561. "description": "现货合同ID\\套保计划",
  7562. "type": "string"
  7563. },
  7564. "updatetime": {
  7565. "description": "更新时间",
  7566. "type": "string"
  7567. }
  7568. }
  7569. },
  7570. "ermcp.QrySpotContractRsp": {
  7571. "type": "object",
  7572. "properties": {
  7573. "amount": {
  7574. "description": "金额 [1:一口价、3:暂定价]",
  7575. "type": "number"
  7576. },
  7577. "auditremark": {
  7578. "description": "审核意见",
  7579. "type": "string"
  7580. },
  7581. "audittime": {
  7582. "description": "审核时间",
  7583. "type": "string"
  7584. },
  7585. "brandname": {
  7586. "description": "品牌名称",
  7587. "type": "string"
  7588. },
  7589. "buyuserid": {
  7590. "description": "采购方ID",
  7591. "type": "integer"
  7592. },
  7593. "buyusername": {
  7594. "description": "采购方名称",
  7595. "type": "string"
  7596. },
  7597. "contracctstatus": {
  7598. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7599. "type": "integer"
  7600. },
  7601. "contractmargin": {
  7602. "description": "合同保证金",
  7603. "type": "number"
  7604. },
  7605. "contractno": {
  7606. "description": "现货合同编号",
  7607. "type": "string"
  7608. },
  7609. "contracttype": {
  7610. "description": "现货合同类型 - 1:采购 -1:销售",
  7611. "type": "integer"
  7612. },
  7613. "convertfactor": {
  7614. "description": "标仓系数",
  7615. "type": "number"
  7616. },
  7617. "createtime": {
  7618. "description": "创建时间",
  7619. "type": "string"
  7620. },
  7621. "deliveryenddate": {
  7622. "description": "交收期(结束)",
  7623. "type": "string"
  7624. },
  7625. "deliverygoodscode": {
  7626. "description": "现货品种代码",
  7627. "type": "string"
  7628. },
  7629. "deliverygoodsid": {
  7630. "description": "现货品种ID",
  7631. "type": "integer"
  7632. },
  7633. "deliverygoodsname": {
  7634. "description": "现货品种名称",
  7635. "type": "string"
  7636. },
  7637. "deliverystartdate": {
  7638. "description": "交收期(开始)",
  7639. "type": "string"
  7640. },
  7641. "enddate": {
  7642. "description": "点价结束日期 [2:点价 3:暂定价]",
  7643. "type": "string"
  7644. },
  7645. "enumdicname": {
  7646. "description": "单位名称",
  7647. "type": "string"
  7648. },
  7649. "goodscode": {
  7650. "description": "点价合约代码",
  7651. "type": "string"
  7652. },
  7653. "goodsid": {
  7654. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  7655. "type": "integer"
  7656. },
  7657. "margin": {
  7658. "description": "当前保证金",
  7659. "type": "number"
  7660. },
  7661. "modelname": {
  7662. "description": "型号名称",
  7663. "type": "string"
  7664. },
  7665. "price": {
  7666. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  7667. "type": "number"
  7668. },
  7669. "pricemove": {
  7670. "description": "升贴水 [2:点价 3:暂定价]",
  7671. "type": "number"
  7672. },
  7673. "pricetype": {
  7674. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7675. "type": "integer"
  7676. },
  7677. "producttype": {
  7678. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7679. "type": "integer"
  7680. },
  7681. "qty": {
  7682. "description": "数量",
  7683. "type": "number"
  7684. },
  7685. "remark": {
  7686. "description": "备注",
  7687. "type": "string"
  7688. },
  7689. "selluserid": {
  7690. "description": "销售方ID",
  7691. "type": "integer"
  7692. },
  7693. "sellusername": {
  7694. "description": "销售方名称",
  7695. "type": "string"
  7696. },
  7697. "spotcontractid": {
  7698. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  7699. "type": "string"
  7700. },
  7701. "spotgoodsbrandid": {
  7702. "description": "现货品牌ID",
  7703. "type": "integer"
  7704. },
  7705. "spotgoodsdesc": {
  7706. "description": "商品型号",
  7707. "type": "string"
  7708. },
  7709. "spotgoodsmodelid": {
  7710. "description": "现货型号ID",
  7711. "type": "integer"
  7712. },
  7713. "startdate": {
  7714. "description": "点价开始日期 [2:点价 3:暂定价]",
  7715. "type": "string"
  7716. },
  7717. "userid": {
  7718. "description": "机构ID",
  7719. "type": "integer"
  7720. },
  7721. "wrstandardid": {
  7722. "description": "现货商品ID",
  7723. "type": "integer"
  7724. }
  7725. }
  7726. },
  7727. "ermcp.QryUserInfoRsp": {
  7728. "type": "object",
  7729. "properties": {
  7730. "address": {
  7731. "description": "通讯地址",
  7732. "type": "string"
  7733. },
  7734. "attachment1": {
  7735. "description": "附件1",
  7736. "type": "string"
  7737. },
  7738. "cardfrontphotourl": {
  7739. "description": "证件正面图片地址",
  7740. "type": "string"
  7741. },
  7742. "cardnum": {
  7743. "description": "证件号码",
  7744. "type": "string"
  7745. },
  7746. "cardtype": {
  7747. "description": "证件类型",
  7748. "type": "integer"
  7749. },
  7750. "cardtypename": {
  7751. "description": "证件类型名称",
  7752. "type": "string"
  7753. },
  7754. "cityid": {
  7755. "description": "市",
  7756. "type": "integer"
  7757. },
  7758. "countryid": {
  7759. "description": "国家",
  7760. "type": "integer"
  7761. },
  7762. "customername": {
  7763. "description": "企业名称",
  7764. "type": "string"
  7765. },
  7766. "memberuserid": {
  7767. "description": "所属机构ID",
  7768. "type": "integer"
  7769. },
  7770. "mobile": {
  7771. "description": "手机号码",
  7772. "type": "string"
  7773. },
  7774. "provinceid": {
  7775. "description": "省",
  7776. "type": "integer"
  7777. },
  7778. "remark": {
  7779. "description": "备注",
  7780. "type": "string"
  7781. },
  7782. "status": {
  7783. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  7784. "type": "integer"
  7785. },
  7786. "statusdesc": {
  7787. "description": "账户状态中文描述",
  7788. "type": "string"
  7789. },
  7790. "telphone": {
  7791. "description": "联系电话",
  7792. "type": "string"
  7793. },
  7794. "userid": {
  7795. "description": "用户ID",
  7796. "type": "integer"
  7797. },
  7798. "userinfotype": {
  7799. "description": "客户类型",
  7800. "type": "string"
  7801. }
  7802. }
  7803. },
  7804. "ermcp.QryWrStandardDetailRsp": {
  7805. "type": "object",
  7806. "properties": {
  7807. "gbList": {
  7808. "description": "品牌列表",
  7809. "type": "array",
  7810. "items": {
  7811. "$ref": "#/definitions/models.GoodsBrand"
  7812. }
  7813. },
  7814. "gtList": {
  7815. "description": "型号列表",
  7816. "type": "array",
  7817. "items": {
  7818. "$ref": "#/definitions/models.GoodsTypeModel"
  7819. }
  7820. },
  7821. "wrd": {
  7822. "description": "基本信息",
  7823. "$ref": "#/definitions/models.ErmcpWrstandard"
  7824. },
  7825. "wrsList": {
  7826. "description": "套保信息列表",
  7827. "type": "array",
  7828. "items": {
  7829. "$ref": "#/definitions/models.WRSConverTDetail"
  7830. }
  7831. }
  7832. }
  7833. },
  7834. "ermcp.QryWrStandardRsp": {
  7835. "type": "object",
  7836. "properties": {
  7837. "areauserid": {
  7838. "description": "所属机构",
  7839. "type": "integer"
  7840. },
  7841. "createtime": {
  7842. "description": "创建时间",
  7843. "type": "string"
  7844. },
  7845. "creatorid": {
  7846. "description": "创建人",
  7847. "type": "integer"
  7848. },
  7849. "deliverygoodsid": {
  7850. "description": "品种ID",
  7851. "type": "integer"
  7852. },
  7853. "enumdicname": {
  7854. "description": "单位名称",
  7855. "type": "string"
  7856. },
  7857. "isvalid": {
  7858. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  7859. "type": "integer"
  7860. },
  7861. "minivalue": {
  7862. "description": "最小变动值",
  7863. "type": "integer"
  7864. },
  7865. "minivaluedp": {
  7866. "description": "最小变动值小数位",
  7867. "type": "integer"
  7868. },
  7869. "realminivalue": {
  7870. "description": "实际最小变动值",
  7871. "type": "integer"
  7872. },
  7873. "realminivaluedp": {
  7874. "description": "实际最小变动值小数位",
  7875. "type": "integer"
  7876. },
  7877. "remark": {
  7878. "description": "备注",
  7879. "type": "string"
  7880. },
  7881. "unitid": {
  7882. "description": "单位ID",
  7883. "type": "integer"
  7884. },
  7885. "updatetime": {
  7886. "description": "更新时间",
  7887. "type": "string"
  7888. },
  7889. "wrstandardcode": {
  7890. "description": "现货商品代码",
  7891. "type": "string"
  7892. },
  7893. "wrstandardid": {
  7894. "description": "现货商品ID(SEQ_WRSTANDARD)",
  7895. "type": "integer"
  7896. },
  7897. "wrstandardname": {
  7898. "description": "现货商品名称",
  7899. "type": "string"
  7900. }
  7901. }
  7902. },
  7903. "ermcp.RealtimeExposurePositionRsp": {
  7904. "type": "object",
  7905. "properties": {
  7906. "areauserid": {
  7907. "description": "所属机构id",
  7908. "type": "integer"
  7909. },
  7910. "curqty": {
  7911. "description": "当前持仓",
  7912. "type": "integer"
  7913. },
  7914. "diffhedgeqty": {
  7915. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  7916. "type": "number"
  7917. },
  7918. "diffqty": {
  7919. "description": "持仓变动量=当前持仓-昨日持仓",
  7920. "type": "integer"
  7921. },
  7922. "goodscode": {
  7923. "description": "商品代码",
  7924. "type": "string"
  7925. },
  7926. "goodsid": {
  7927. "description": "商品id",
  7928. "type": "integer"
  7929. },
  7930. "goodsname": {
  7931. "description": "商品名称",
  7932. "type": "string"
  7933. },
  7934. "middlegoodsid": {
  7935. "description": "套保商品id",
  7936. "type": "integer"
  7937. },
  7938. "ydqty": {
  7939. "description": "昨日持仓",
  7940. "type": "integer"
  7941. }
  7942. }
  7943. },
  7944. "ermcp.RealtimeExposureRsp": {
  7945. "type": "object",
  7946. "properties": {
  7947. "areaUserID": {
  7948. "description": "所属机构",
  7949. "type": "integer"
  7950. },
  7951. "buyFutureQty": {
  7952. "description": "买入期货数量",
  7953. "type": "number"
  7954. },
  7955. "buyPlanQty": {
  7956. "description": "采购计划数量",
  7957. "type": "number"
  7958. },
  7959. "buyPricedQty": {
  7960. "description": "采购合同已定价数量",
  7961. "type": "number"
  7962. },
  7963. "diffFutuQty": {
  7964. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  7965. "type": "number"
  7966. },
  7967. "diffSpotQty": {
  7968. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  7969. "type": "number"
  7970. },
  7971. "middleGoodsCode": {
  7972. "description": "套保品种代码",
  7973. "type": "string"
  7974. },
  7975. "middleGoodsHedgeRatio": {
  7976. "description": "应套保比例",
  7977. "type": "number"
  7978. },
  7979. "middleGoodsID": {
  7980. "description": "套保品种",
  7981. "type": "integer"
  7982. },
  7983. "middleGoodsName": {
  7984. "description": "套保品种名称",
  7985. "type": "string"
  7986. },
  7987. "needHedgeExposoure": {
  7988. "description": "应套保敞口",
  7989. "type": "number"
  7990. },
  7991. "needHedgeRatio": {
  7992. "description": "应套保敞口比例",
  7993. "type": "number"
  7994. },
  7995. "oriBuyFutureQty": {
  7996. "description": "期初买入期货数量",
  7997. "type": "number"
  7998. },
  7999. "oriBuyPlanQty": {
  8000. "description": "期初采购计划数量",
  8001. "type": "number"
  8002. },
  8003. "oriBuyPricedQty": {
  8004. "description": "期初采购合同已定价数量",
  8005. "type": "number"
  8006. },
  8007. "oriSellFutureQty": {
  8008. "description": "期初卖出期货数量",
  8009. "type": "number"
  8010. },
  8011. "oriSellPlanQty": {
  8012. "description": "期初销售计划数量",
  8013. "type": "number"
  8014. },
  8015. "oriSellPricedQty": {
  8016. "description": "期初销售合同已定价数量",
  8017. "type": "number"
  8018. },
  8019. "oriTotalFutuQty": {
  8020. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  8021. "type": "number"
  8022. },
  8023. "oriTotalSpotQty": {
  8024. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  8025. "type": "number"
  8026. },
  8027. "sellFutureQty": {
  8028. "description": "卖出期货数量",
  8029. "type": "number"
  8030. },
  8031. "sellPlanQty": {
  8032. "description": "销售计划数量",
  8033. "type": "number"
  8034. },
  8035. "sellPricedQty": {
  8036. "description": "销售合同已定价数量",
  8037. "type": "number"
  8038. },
  8039. "totalExposure": {
  8040. "description": "总敞口",
  8041. "type": "number"
  8042. },
  8043. "totalFutureQty": {
  8044. "description": "期货数量",
  8045. "type": "number"
  8046. },
  8047. "totalHedgeRatio": {
  8048. "description": "敞口比例",
  8049. "type": "number"
  8050. },
  8051. "totalNeedHedgeQty": {
  8052. "description": "期货应套保量",
  8053. "type": "number"
  8054. },
  8055. "totalSpotQty": {
  8056. "description": "现货数量",
  8057. "type": "number"
  8058. }
  8059. }
  8060. },
  8061. "erms2.QueryArbitrageStrategyRsp": {
  8062. "type": "object",
  8063. "required": [
  8064. "asapplyid"
  8065. ],
  8066. "properties": {
  8067. "applybasis": {
  8068. "description": "申请基差",
  8069. "type": "number"
  8070. },
  8071. "asapplyid": {
  8072. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  8073. "type": "string"
  8074. },
  8075. "asname": {
  8076. "description": "策略名称",
  8077. "type": "string"
  8078. },
  8079. "asno": {
  8080. "description": "策略编号",
  8081. "type": "string"
  8082. },
  8083. "basischangepl": {
  8084. "description": "基差变动损益[结算更新]",
  8085. "type": "number"
  8086. },
  8087. "biztype": {
  8088. "description": "业务类型 - 1:正向套利 -1:反向套利",
  8089. "type": "integer"
  8090. },
  8091. "closetradedate": {
  8092. "description": "完结交易日(yyyyMMdd)",
  8093. "type": "string"
  8094. },
  8095. "curbasis": {
  8096. "description": "当前基差[结算更新]",
  8097. "type": "number"
  8098. },
  8099. "deliverygoodsid": {
  8100. "description": "现货品种ID",
  8101. "type": "integer"
  8102. },
  8103. "futureavgprice": {
  8104. "description": "期货建仓均价",
  8105. "type": "number"
  8106. },
  8107. "futurecloseamount": {
  8108. "description": "期货平仓金额",
  8109. "type": "number"
  8110. },
  8111. "futurecloseqty": {
  8112. "description": "期货平仓数量",
  8113. "type": "number"
  8114. },
  8115. "futureopenamount": {
  8116. "description": "期货开仓金额",
  8117. "type": "number"
  8118. },
  8119. "futureopenqty": {
  8120. "description": "期货开仓数量",
  8121. "type": "number"
  8122. },
  8123. "futurepl": {
  8124. "description": "期货总盈亏[结算更新]",
  8125. "type": "number"
  8126. },
  8127. "futureqty": {
  8128. "description": "期货持仓数量",
  8129. "type": "number"
  8130. },
  8131. "futurequote": {
  8132. "description": "期货额度",
  8133. "type": "number"
  8134. },
  8135. "goodsgroupid": {
  8136. "description": "期货品种ID",
  8137. "type": "integer"
  8138. },
  8139. "marketid": {
  8140. "description": "市场ID",
  8141. "type": "integer"
  8142. },
  8143. "netexposure": {
  8144. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  8145. "type": "number"
  8146. },
  8147. "netexposurepl": {
  8148. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  8149. "type": "number"
  8150. },
  8151. "netexposurerate": {
  8152. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  8153. "type": "number"
  8154. },
  8155. "openbasis": {
  8156. "description": "建仓基差",
  8157. "type": "number"
  8158. },
  8159. "pricedspotqty": {
  8160. "description": "已定价现货数量",
  8161. "type": "number"
  8162. },
  8163. "pricedspotqtynotax": {
  8164. "description": "已定价现货不含税数量",
  8165. "type": "number"
  8166. },
  8167. "remark": {
  8168. "description": "备注",
  8169. "type": "string"
  8170. },
  8171. "spotavgprice": {
  8172. "description": "现货均价",
  8173. "type": "number"
  8174. },
  8175. "spotbuyamount": {
  8176. "description": "现货采购金额",
  8177. "type": "number"
  8178. },
  8179. "spotbuyqty": {
  8180. "description": "现货采购数量",
  8181. "type": "number"
  8182. },
  8183. "spotpl": {
  8184. "description": "现货总盈亏[结算更新]",
  8185. "type": "number"
  8186. },
  8187. "spotquota": {
  8188. "description": "现货额度",
  8189. "type": "number"
  8190. },
  8191. "spotsellamount": {
  8192. "description": "现货销售金额",
  8193. "type": "number"
  8194. },
  8195. "spotsellqty": {
  8196. "description": "现货销售数量",
  8197. "type": "number"
  8198. },
  8199. "spotusedquota": {
  8200. "description": "现货占用资金",
  8201. "type": "number"
  8202. },
  8203. "strategystatus": {
  8204. "description": "策略状态 - 0:未结束 1:已结束",
  8205. "type": "integer"
  8206. },
  8207. "totalpl": {
  8208. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  8209. "type": "number"
  8210. },
  8211. "tradedate": {
  8212. "description": "交易日(yyyyMMdd)",
  8213. "type": "string"
  8214. },
  8215. "updatetime": {
  8216. "description": "更新时间",
  8217. "type": "string"
  8218. },
  8219. "usedquota": {
  8220. "description": "已占用资金",
  8221. "type": "number"
  8222. },
  8223. "userid": {
  8224. "description": "所属机构",
  8225. "type": "integer"
  8226. }
  8227. }
  8228. },
  8229. "erms2.QueryInnerTradeDetailRsp": {
  8230. "type": "object",
  8231. "required": [
  8232. "asapplyid",
  8233. "buyorsell",
  8234. "goodscode",
  8235. "goodsgroupid",
  8236. "goodsgroupname",
  8237. "goodsname",
  8238. "tradeid"
  8239. ],
  8240. "properties": {
  8241. "accountid": {
  8242. "description": "账号ID",
  8243. "type": "integer"
  8244. },
  8245. "agreeunit": {
  8246. "description": "合约单位",
  8247. "type": "number"
  8248. },
  8249. "asapplyid": {
  8250. "description": "策略申请ID",
  8251. "type": "integer"
  8252. },
  8253. "asname": {
  8254. "description": "策略名称",
  8255. "type": "string"
  8256. },
  8257. "asno": {
  8258. "description": "策略编号",
  8259. "type": "string"
  8260. },
  8261. "buyorsell": {
  8262. "description": "方向 - 0:买 1:卖",
  8263. "type": "integer"
  8264. },
  8265. "channelbuildtype": {
  8266. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  8267. "type": "integer"
  8268. },
  8269. "closetype": {
  8270. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  8271. "type": "integer"
  8272. },
  8273. "decimalplace": {
  8274. "description": "报价小数位",
  8275. "type": "integer"
  8276. },
  8277. "detailtype": {
  8278. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  8279. "type": "integer"
  8280. },
  8281. "exexchangecode": {
  8282. "description": "外部交易所代码",
  8283. "type": "string"
  8284. },
  8285. "exexchangename": {
  8286. "description": "外部交易所名称",
  8287. "type": "string"
  8288. },
  8289. "goodscode": {
  8290. "description": "商品代码(合约)",
  8291. "type": "string"
  8292. },
  8293. "goodsgroupid": {
  8294. "description": "商品组ID(品种ID)",
  8295. "type": "integer"
  8296. },
  8297. "goodsgroupname": {
  8298. "description": "商品组名称(品种)",
  8299. "type": "string"
  8300. },
  8301. "goodsid": {
  8302. "description": "商品ID",
  8303. "type": "integer"
  8304. },
  8305. "goodsname": {
  8306. "description": "商品名称(合约)",
  8307. "type": "string"
  8308. },
  8309. "goodunit": {
  8310. "description": "报价单位",
  8311. "type": "string"
  8312. },
  8313. "marketid": {
  8314. "description": "市场ID",
  8315. "type": "integer"
  8316. },
  8317. "orderid": {
  8318. "description": "委托单号",
  8319. "type": "string"
  8320. },
  8321. "outgoodscode": {
  8322. "description": "商品代码(外部)",
  8323. "type": "string"
  8324. },
  8325. "relatedouttradeid": {
  8326. "description": "关联外部成交单ID",
  8327. "type": "string"
  8328. },
  8329. "remark": {
  8330. "description": "备注",
  8331. "type": "string"
  8332. },
  8333. "spotcontractid": {
  8334. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  8335. "type": "integer"
  8336. },
  8337. "spotcontractno": {
  8338. "description": "现货合同编号",
  8339. "type": "string"
  8340. },
  8341. "tradeid": {
  8342. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8343. "type": "string"
  8344. },
  8345. "tradeprice": {
  8346. "description": "成交价格",
  8347. "type": "number"
  8348. },
  8349. "tradeqty": {
  8350. "description": "成交数量",
  8351. "type": "integer"
  8352. },
  8353. "tradetime": {
  8354. "description": "成交时间",
  8355. "type": "string"
  8356. },
  8357. "updatetime": {
  8358. "description": "更新时间",
  8359. "type": "string"
  8360. }
  8361. }
  8362. },
  8363. "erms2.QuerySpotContractRsp": {
  8364. "type": "object",
  8365. "required": [
  8366. "spotcontractid"
  8367. ],
  8368. "properties": {
  8369. "accountid": {
  8370. "description": "资金账户ID",
  8371. "type": "integer"
  8372. },
  8373. "areauserid": {
  8374. "description": "所属机构",
  8375. "type": "integer"
  8376. },
  8377. "closedate": {
  8378. "description": "终止日期",
  8379. "type": "string"
  8380. },
  8381. "closeremark": {
  8382. "description": "结束备注",
  8383. "type": "string"
  8384. },
  8385. "closetradedate": {
  8386. "description": "完结交易日(yyyyMMdd)",
  8387. "type": "string"
  8388. },
  8389. "closetype": {
  8390. "description": "终止类型 - 1:违约 2:提前终止",
  8391. "type": "integer"
  8392. },
  8393. "contractamount": {
  8394. "description": "合同金额",
  8395. "type": "number"
  8396. },
  8397. "contractattachment": {
  8398. "description": "合同附件",
  8399. "type": "string"
  8400. },
  8401. "contractno": {
  8402. "description": "现货合同编号",
  8403. "type": "string"
  8404. },
  8405. "contractqty": {
  8406. "description": "合同数量(数值) (用于计算)",
  8407. "type": "number"
  8408. },
  8409. "contractqtychar": {
  8410. "description": "合同数量\\已订价数量 (用于显示)",
  8411. "type": "string"
  8412. },
  8413. "contractstatus": {
  8414. "description": "合同状态 - 0:未结束 1:已结束",
  8415. "type": "integer"
  8416. },
  8417. "contracttype": {
  8418. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  8419. "type": "integer"
  8420. },
  8421. "customeraccountid": {
  8422. "description": "客户资金账户ID",
  8423. "type": "integer"
  8424. },
  8425. "customeruserid": {
  8426. "description": "客户ID",
  8427. "type": "integer"
  8428. },
  8429. "deliverygoodsdesc": {
  8430. "description": "品种说明",
  8431. "type": "string"
  8432. },
  8433. "deliverygoodsid": {
  8434. "description": "现货品种ID",
  8435. "type": "integer"
  8436. },
  8437. "handlestatus": {
  8438. "description": "处理状态",
  8439. "type": "integer"
  8440. },
  8441. "invoiceatt": {
  8442. "description": "发票附件",
  8443. "type": "string"
  8444. },
  8445. "invoicedatetime": {
  8446. "description": "开收票更新时间",
  8447. "type": "string"
  8448. },
  8449. "invoiceopentime": {
  8450. "description": "开票时间",
  8451. "type": "string"
  8452. },
  8453. "invoiceremark": {
  8454. "description": "发票备注",
  8455. "type": "string"
  8456. },
  8457. "invoicestatus": {
  8458. "description": "开收票状态 - 0:未开票 1:已开票",
  8459. "type": "integer"
  8460. },
  8461. "lastdate": {
  8462. "description": "交货时间",
  8463. "type": "string"
  8464. },
  8465. "marketid": {
  8466. "description": "市场ID",
  8467. "type": "integer"
  8468. },
  8469. "paydatetime": {
  8470. "description": "收付款更新时间",
  8471. "type": "string"
  8472. },
  8473. "payremark": {
  8474. "description": "收付款备注",
  8475. "type": "string"
  8476. },
  8477. "paystatus": {
  8478. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  8479. "type": "integer"
  8480. },
  8481. "positionqty": {
  8482. "description": "头寸数量 - 合同数量去小数部分",
  8483. "type": "integer"
  8484. },
  8485. "producttype": {
  8486. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8487. "type": "integer"
  8488. },
  8489. "relatedqty": {
  8490. "description": "已关联数量",
  8491. "type": "number"
  8492. },
  8493. "relatedstatus": {
  8494. "description": "关联完结状态 - 0:未结束 1:已结束",
  8495. "type": "integer"
  8496. },
  8497. "remark": {
  8498. "description": "备注",
  8499. "type": "string"
  8500. },
  8501. "signdate": {
  8502. "description": "签订日期",
  8503. "type": "string"
  8504. },
  8505. "spotcontractid": {
  8506. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  8507. "type": "string"
  8508. },
  8509. "spotdatetime": {
  8510. "description": "收发货更新时间",
  8511. "type": "string"
  8512. },
  8513. "spotprice": {
  8514. "description": "价格",
  8515. "type": "number"
  8516. },
  8517. "spotremark": {
  8518. "description": "收发货备注",
  8519. "type": "string"
  8520. },
  8521. "spotstatus": {
  8522. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  8523. "type": "integer"
  8524. },
  8525. "tradedate": {
  8526. "description": "交易日(yyyyMMdd)",
  8527. "type": "string"
  8528. },
  8529. "userid": {
  8530. "description": "业务员用户ID",
  8531. "type": "integer"
  8532. },
  8533. "warehouseid": {
  8534. "description": "仓库ID",
  8535. "type": "integer"
  8536. },
  8537. "wrfactortypeid": {
  8538. "description": "仓单要素类型ID",
  8539. "type": "integer"
  8540. },
  8541. "wrstandardid": {
  8542. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  8543. "type": "integer"
  8544. }
  8545. }
  8546. },
  8547. "erms3.AddErms2ASApplyReq": {
  8548. "type": "object",
  8549. "required": [
  8550. "asapplyid"
  8551. ],
  8552. "properties": {
  8553. "applybasis": {
  8554. "description": "申请基差",
  8555. "type": "number"
  8556. },
  8557. "applystatus": {
  8558. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  8559. "type": "integer"
  8560. },
  8561. "asapplyid": {
  8562. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  8563. "type": "integer"
  8564. },
  8565. "asname": {
  8566. "description": "策略名称",
  8567. "type": "string"
  8568. },
  8569. "asno": {
  8570. "description": "策略编号",
  8571. "type": "string"
  8572. },
  8573. "auditid": {
  8574. "description": "审核人",
  8575. "type": "integer"
  8576. },
  8577. "auditremark": {
  8578. "description": "审核备注",
  8579. "type": "string"
  8580. },
  8581. "audittime": {
  8582. "description": "审核时间",
  8583. "type": "string"
  8584. },
  8585. "biztype": {
  8586. "description": "业务类型 - 1:正向套利 2:反向套利",
  8587. "type": "integer"
  8588. },
  8589. "createtime": {
  8590. "description": "创建时间",
  8591. "type": "string"
  8592. },
  8593. "creatorid": {
  8594. "description": "创建人",
  8595. "type": "integer"
  8596. },
  8597. "deliverygoodsid": {
  8598. "description": "现货品种ID",
  8599. "type": "integer"
  8600. },
  8601. "futurequote": {
  8602. "description": "期货额度",
  8603. "type": "number"
  8604. },
  8605. "goodsgroupid": {
  8606. "description": "期货品种ID",
  8607. "type": "integer"
  8608. },
  8609. "marketid": {
  8610. "description": "市场ID",
  8611. "type": "integer"
  8612. },
  8613. "remark": {
  8614. "description": "备注",
  8615. "type": "string"
  8616. },
  8617. "spotquota": {
  8618. "description": "现货额度",
  8619. "type": "number"
  8620. },
  8621. "tradedate": {
  8622. "description": "交易日(yyyyMMdd)",
  8623. "type": "string"
  8624. },
  8625. "userid": {
  8626. "description": "所属机构",
  8627. "type": "integer"
  8628. }
  8629. }
  8630. },
  8631. "erms3.AddErms2SpotTradeApplyReq": {
  8632. "type": "object",
  8633. "required": [
  8634. "spottradeid"
  8635. ],
  8636. "properties": {
  8637. "applyjsondetail": {
  8638. "description": "申请明细(JSON)",
  8639. "type": "string"
  8640. },
  8641. "applystatus": {
  8642. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  8643. "type": "integer"
  8644. },
  8645. "areauserid": {
  8646. "description": "所属机构",
  8647. "type": "integer"
  8648. },
  8649. "auditid": {
  8650. "description": "审核人",
  8651. "type": "integer"
  8652. },
  8653. "auditremark": {
  8654. "description": "审核备注",
  8655. "type": "string"
  8656. },
  8657. "audittime": {
  8658. "description": "审核时间",
  8659. "type": "string"
  8660. },
  8661. "createtime": {
  8662. "description": "创建时间",
  8663. "type": "string"
  8664. },
  8665. "creatorid": {
  8666. "description": "创建人",
  8667. "type": "integer"
  8668. },
  8669. "deliverygoodsid": {
  8670. "description": "现货品种ID",
  8671. "type": "integer"
  8672. },
  8673. "futureaccountid": {
  8674. "description": "期货资金账户",
  8675. "type": "integer"
  8676. },
  8677. "goodsgroupid": {
  8678. "description": "期货品种",
  8679. "type": "integer"
  8680. },
  8681. "marketid": {
  8682. "description": "市场ID",
  8683. "type": "integer"
  8684. },
  8685. "remark": {
  8686. "description": "备注",
  8687. "type": "string"
  8688. },
  8689. "spotaccountid": {
  8690. "description": "现货资金账户",
  8691. "type": "integer"
  8692. },
  8693. "spottradeid": {
  8694. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  8695. "type": "integer"
  8696. },
  8697. "spottradename": {
  8698. "description": "业务名称",
  8699. "type": "string"
  8700. },
  8701. "spottradeno": {
  8702. "description": "业务编号",
  8703. "type": "string"
  8704. },
  8705. "tradedate": {
  8706. "description": "交易日(yyyyMMdd)",
  8707. "type": "string"
  8708. },
  8709. "wrstandardid": {
  8710. "description": "仓单标准ID",
  8711. "type": "integer"
  8712. }
  8713. }
  8714. },
  8715. "erms3.AddSpotContractApplyReq": {
  8716. "type": "object",
  8717. "required": [
  8718. "accountid",
  8719. "areauserid",
  8720. "contractno",
  8721. "contracttype",
  8722. "customeraccountid",
  8723. "customeruserid",
  8724. "details",
  8725. "orimargin",
  8726. "signdate"
  8727. ],
  8728. "properties": {
  8729. "accountid": {
  8730. "description": "资金账户ID",
  8731. "type": "integer"
  8732. },
  8733. "areauserid": {
  8734. "description": "所属机构",
  8735. "type": "integer"
  8736. },
  8737. "contractattachment": {
  8738. "description": "合同附件",
  8739. "type": "string"
  8740. },
  8741. "contractno": {
  8742. "description": "现货合同编号",
  8743. "type": "string"
  8744. },
  8745. "contracttype": {
  8746. "description": "现货合同类型 - 1:采购 -1:销售",
  8747. "type": "integer"
  8748. },
  8749. "creatorid": {
  8750. "description": "申请人",
  8751. "type": "integer"
  8752. },
  8753. "customeraccountid": {
  8754. "description": "客户资金账户ID",
  8755. "type": "integer"
  8756. },
  8757. "customeruserid": {
  8758. "description": "客户ID",
  8759. "type": "integer"
  8760. },
  8761. "details": {
  8762. "description": "明细",
  8763. "type": "array",
  8764. "items": {
  8765. "$ref": "#/definitions/erms3.SoptContractDetail"
  8766. }
  8767. },
  8768. "orimargin": {
  8769. "description": "初始保证金",
  8770. "type": "number"
  8771. },
  8772. "remark": {
  8773. "description": "备注",
  8774. "type": "string"
  8775. },
  8776. "signdate": {
  8777. "description": "签订日期",
  8778. "type": "string"
  8779. }
  8780. }
  8781. },
  8782. "erms3.AddSpotContractApplyRsp": {
  8783. "type": "object",
  8784. "required": [
  8785. "contractno"
  8786. ],
  8787. "properties": {
  8788. "contractno": {
  8789. "description": "现货合同编号",
  8790. "type": "string"
  8791. },
  8792. "spotcontractid": {
  8793. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  8794. "type": "integer"
  8795. }
  8796. }
  8797. },
  8798. "erms3.AddUserInfoApplyReq": {
  8799. "type": "object",
  8800. "required": [
  8801. "userid"
  8802. ],
  8803. "properties": {
  8804. "accountid": {
  8805. "description": "交易系统帐号Id (加密存储)",
  8806. "type": "integer"
  8807. },
  8808. "areacode": {
  8809. "description": "机构代码",
  8810. "type": "string"
  8811. },
  8812. "areaid": {
  8813. "description": "机构Id",
  8814. "type": "integer"
  8815. },
  8816. "attachment1": {
  8817. "description": "附件1",
  8818. "type": "string"
  8819. },
  8820. "attachment2": {
  8821. "description": "附件2",
  8822. "type": "string"
  8823. },
  8824. "attachment3": {
  8825. "description": "附件3",
  8826. "type": "string"
  8827. },
  8828. "attachment4": {
  8829. "description": "附件4",
  8830. "type": "string"
  8831. },
  8832. "attachment5": {
  8833. "description": "附件5",
  8834. "type": "string"
  8835. },
  8836. "auditedby": {
  8837. "description": "审核人",
  8838. "type": "string"
  8839. },
  8840. "auditime": {
  8841. "description": "审核时间",
  8842. "type": "string"
  8843. },
  8844. "bankaccount": {
  8845. "description": "银行帐号 (加密存储)",
  8846. "type": "string"
  8847. },
  8848. "bankaccountname": {
  8849. "description": "收款人名称",
  8850. "type": "string"
  8851. },
  8852. "bankcardbackphotourl": {
  8853. "description": "银行卡背面照地址",
  8854. "type": "string"
  8855. },
  8856. "bankcardfrontphotourl": {
  8857. "description": "银行卡正面照地址",
  8858. "type": "string"
  8859. },
  8860. "bankid": {
  8861. "description": "银行编码",
  8862. "type": "string"
  8863. },
  8864. "bankname": {
  8865. "description": "银行名称",
  8866. "type": "string"
  8867. },
  8868. "bankpictureurl": {
  8869. "description": "银行卡正面地址",
  8870. "type": "string"
  8871. },
  8872. "biznature": {
  8873. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  8874. "type": "integer"
  8875. },
  8876. "bizscope": {
  8877. "description": "企业经营范围(企业)",
  8878. "type": "string"
  8879. },
  8880. "biztype": {
  8881. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  8882. "type": "integer"
  8883. },
  8884. "brokerid": {
  8885. "description": "经纪人ID(加密存储)",
  8886. "type": "string"
  8887. },
  8888. "cardaddress": {
  8889. "description": "证件地址 (加密存储)",
  8890. "type": "string"
  8891. },
  8892. "cardbackphotourl": {
  8893. "description": "背面证件照地址",
  8894. "type": "string"
  8895. },
  8896. "cardfrontphotourl": {
  8897. "description": "正面证件照地址",
  8898. "type": "string"
  8899. },
  8900. "cardnum": {
  8901. "description": "证件号码 (加密存储)",
  8902. "type": "string"
  8903. },
  8904. "cardtype": {
  8905. "description": "证件类型",
  8906. "type": "integer"
  8907. },
  8908. "cityid": {
  8909. "description": "市",
  8910. "type": "integer"
  8911. },
  8912. "company": {
  8913. "description": "公司(个人)",
  8914. "type": "string"
  8915. },
  8916. "contactcardbackphotourl": {
  8917. "description": "联系人证件背面图片地址",
  8918. "type": "string"
  8919. },
  8920. "contactcardfrontphotourl": {
  8921. "description": "联系人证件正面图片地址",
  8922. "type": "string"
  8923. },
  8924. "contactname": {
  8925. "description": "联系人",
  8926. "type": "string"
  8927. },
  8928. "countryid": {
  8929. "description": "国家",
  8930. "type": "integer"
  8931. },
  8932. "createtime": {
  8933. "description": "开户申请时间",
  8934. "type": "string"
  8935. },
  8936. "cusbankid": {
  8937. "description": "签约类型",
  8938. "type": "string"
  8939. },
  8940. "cusbankname": {
  8941. "description": "签约类型名称",
  8942. "type": "string"
  8943. },
  8944. "customername": {
  8945. "description": "客户名称(企业名称)",
  8946. "type": "string"
  8947. },
  8948. "districtid": {
  8949. "description": "地区",
  8950. "type": "integer"
  8951. },
  8952. "email": {
  8953. "description": "Email地址(加密存储)",
  8954. "type": "string"
  8955. },
  8956. "halfbodyphotourl": {
  8957. "description": "半身照地址",
  8958. "type": "string"
  8959. },
  8960. "headurl": {
  8961. "description": "头像地址",
  8962. "type": "string"
  8963. },
  8964. "ipaddress": {
  8965. "description": "IP地址",
  8966. "type": "string"
  8967. },
  8968. "isvalidate": {
  8969. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  8970. "type": "string"
  8971. },
  8972. "legalcardbackphotourl": {
  8973. "description": "法人身份证背面照地址",
  8974. "type": "string"
  8975. },
  8976. "legalcardfrontphotourl": {
  8977. "description": "法人身份证正面照地址",
  8978. "type": "string"
  8979. },
  8980. "legalpersonname": {
  8981. "description": "法人姓名(企业)",
  8982. "type": "string"
  8983. },
  8984. "logincode": {
  8985. "description": "登录帐号 (加密存储)",
  8986. "type": "string"
  8987. },
  8988. "memberareaid": {
  8989. "description": "所属会员ID",
  8990. "type": "integer"
  8991. },
  8992. "mobile2": {
  8993. "description": "手机号码[明文-尚志]",
  8994. "type": "string"
  8995. },
  8996. "mobilephone": {
  8997. "description": "手机号码 (加密存储)",
  8998. "type": "string"
  8999. },
  9000. "modifiedby": {
  9001. "description": "修改人帐号",
  9002. "type": "integer"
  9003. },
  9004. "modifiedtime": {
  9005. "description": "修改时间",
  9006. "type": "string"
  9007. },
  9008. "nickname": {
  9009. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  9010. "type": "string"
  9011. },
  9012. "openmode": {
  9013. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  9014. "type": "integer"
  9015. },
  9016. "otherurl": {
  9017. "description": "其它图片地址[使用分号分隔]",
  9018. "type": "string"
  9019. },
  9020. "postalcode": {
  9021. "description": "邮政编码",
  9022. "type": "string"
  9023. },
  9024. "provinceid": {
  9025. "description": "省",
  9026. "type": "integer"
  9027. },
  9028. "proxystatementurl": {
  9029. "description": "授权委托书",
  9030. "type": "string"
  9031. },
  9032. "qq": {
  9033. "description": "QQ(加密存储",
  9034. "type": "string"
  9035. },
  9036. "referral": {
  9037. "description": "推荐人编码",
  9038. "type": "string"
  9039. },
  9040. "remark": {
  9041. "description": "备注",
  9042. "type": "string"
  9043. },
  9044. "removebeforestatus": {
  9045. "description": "REMOVEBEFORESTATUS",
  9046. "type": "integer"
  9047. },
  9048. "sex": {
  9049. "description": "性别 - 0:女 1:男",
  9050. "type": "integer"
  9051. },
  9052. "signedstatus": {
  9053. "description": "账户一号签签约状态",
  9054. "type": "integer"
  9055. },
  9056. "signpdfurl": {
  9057. "description": "签约pdf文件",
  9058. "type": "string"
  9059. },
  9060. "subbranch": {
  9061. "description": "开户支行",
  9062. "type": "string"
  9063. },
  9064. "telphone": {
  9065. "description": "联系电话(加密存储)",
  9066. "type": "string"
  9067. },
  9068. "userid": {
  9069. "description": "用户ID(自增ID)",
  9070. "type": "integer"
  9071. },
  9072. "userinfotype": {
  9073. "description": "用户信息类型 - 1:个人 2:企业",
  9074. "type": "integer"
  9075. },
  9076. "username": {
  9077. "description": "用户姓名",
  9078. "type": "string"
  9079. },
  9080. "userstate": {
  9081. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  9082. "type": "integer"
  9083. },
  9084. "usertype": {
  9085. "description": "用户类型 - 1:投资者 2:机构",
  9086. "type": "integer"
  9087. },
  9088. "videourl": {
  9089. "description": "视频地址",
  9090. "type": "string"
  9091. },
  9092. "wechat": {
  9093. "description": "微信号 (加密存储)",
  9094. "type": "string"
  9095. }
  9096. }
  9097. },
  9098. "erms3.CustomerInfo": {
  9099. "type": "object",
  9100. "required": [
  9101. "userid"
  9102. ],
  9103. "properties": {
  9104. "accountids": {
  9105. "description": "资金账户ID列表",
  9106. "type": "array",
  9107. "items": {
  9108. "type": "integer"
  9109. }
  9110. },
  9111. "customername": {
  9112. "description": "名称(企业名称)",
  9113. "type": "string"
  9114. },
  9115. "mobile": {
  9116. "description": "手机号码",
  9117. "type": "string"
  9118. },
  9119. "userid": {
  9120. "description": "用户ID",
  9121. "type": "integer"
  9122. }
  9123. }
  9124. },
  9125. "erms3.QryAuditContractRsp": {
  9126. "type": "object",
  9127. "required": [
  9128. "matchcustomername",
  9129. "spotcontractid"
  9130. ],
  9131. "properties": {
  9132. "accountid": {
  9133. "description": "交易员ID",
  9134. "type": "string"
  9135. },
  9136. "applystatus": {
  9137. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9138. "type": "integer"
  9139. },
  9140. "curdeliveryqty": {
  9141. "description": "未交收量",
  9142. "type": "integer"
  9143. },
  9144. "customername": {
  9145. "description": "采购方ID",
  9146. "type": "string"
  9147. },
  9148. "deliverygoodsid": {
  9149. "description": "品种ID",
  9150. "type": "string"
  9151. },
  9152. "deliveryqty": {
  9153. "description": "交收量",
  9154. "type": "integer"
  9155. },
  9156. "enumdicname": {
  9157. "description": "单位名称",
  9158. "type": "string"
  9159. },
  9160. "matchaccountid": {
  9161. "description": "业务员ID",
  9162. "type": "string"
  9163. },
  9164. "matchcustomername": {
  9165. "description": "销售方ID",
  9166. "type": "string"
  9167. },
  9168. "pricedqty": {
  9169. "description": "定价量",
  9170. "type": "number"
  9171. },
  9172. "signdate": {
  9173. "description": "签订日期",
  9174. "type": "string"
  9175. },
  9176. "spotcontractid": {
  9177. "description": "合同ID",
  9178. "type": "string"
  9179. },
  9180. "totaldqty": {
  9181. "description": "合同量",
  9182. "type": "number"
  9183. },
  9184. "unpricedqty": {
  9185. "description": "未定价量",
  9186. "type": "number"
  9187. },
  9188. "wrstandardname": {
  9189. "description": "商品名称",
  9190. "type": "string"
  9191. }
  9192. }
  9193. },
  9194. "erms3.QryPendingBizRsp": {
  9195. "type": "object",
  9196. "properties": {
  9197. "accountid": {
  9198. "description": "现货账户",
  9199. "type": "string"
  9200. },
  9201. "areaname": {
  9202. "description": "所属部门",
  9203. "type": "string"
  9204. },
  9205. "bizid": {
  9206. "description": "业务ID",
  9207. "type": "string"
  9208. },
  9209. "bizname": {
  9210. "description": "业务名称",
  9211. "type": "string"
  9212. },
  9213. "status": {
  9214. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9215. "type": "integer"
  9216. },
  9217. "type": {
  9218. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  9219. "type": "integer"
  9220. }
  9221. }
  9222. },
  9223. "erms3.QueryBusinessInfoRsp": {
  9224. "type": "object",
  9225. "properties": {
  9226. "businessid": {
  9227. "description": "业务ID.",
  9228. "type": "integer"
  9229. },
  9230. "buyamount": {
  9231. "description": "采购额.",
  9232. "type": "number"
  9233. },
  9234. "buyqty": {
  9235. "description": "采购量.",
  9236. "type": "string"
  9237. },
  9238. "futurepl": {
  9239. "description": "期货盈亏.",
  9240. "type": "number"
  9241. },
  9242. "futureqty": {
  9243. "description": "期货敞口.",
  9244. "type": "string"
  9245. },
  9246. "goodsid": {
  9247. "description": "商品名称/商品代码.",
  9248. "type": "string"
  9249. },
  9250. "hedgingqty": {
  9251. "description": "套保量.",
  9252. "type": "string"
  9253. },
  9254. "sellamount": {
  9255. "description": "销售额.",
  9256. "type": "number"
  9257. },
  9258. "sellqty": {
  9259. "description": "销售量.",
  9260. "type": "string"
  9261. },
  9262. "spotmarketvalue": {
  9263. "description": "现货市值.",
  9264. "type": "number"
  9265. },
  9266. "spotpl": {
  9267. "description": "浮动权益.",
  9268. "type": "number"
  9269. },
  9270. "spotqty": {
  9271. "description": "现货量.",
  9272. "type": "string"
  9273. },
  9274. "statu": {
  9275. "description": "状态,0-未结束 1-已结束.",
  9276. "type": "integer"
  9277. },
  9278. "totalpl": {
  9279. "description": "总盈亏.",
  9280. "type": "number"
  9281. },
  9282. "totalqty": {
  9283. "description": "总敞口.",
  9284. "type": "string"
  9285. },
  9286. "type": {
  9287. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  9288. "type": "integer"
  9289. }
  9290. }
  9291. },
  9292. "erms3.QuerySpotContractAppleFormRsp": {
  9293. "type": "object",
  9294. "properties": {
  9295. "goodses": {
  9296. "description": "合约列表",
  9297. "type": "array",
  9298. "items": {
  9299. "$ref": "#/definitions/models.GoodsIDAndName"
  9300. }
  9301. },
  9302. "oppositeusers": {
  9303. "description": "对方账号列表",
  9304. "type": "array",
  9305. "items": {
  9306. "$ref": "#/definitions/erms3.CustomerInfo"
  9307. }
  9308. },
  9309. "ouruser": {
  9310. "description": "我方账号",
  9311. "$ref": "#/definitions/erms3.CustomerInfo"
  9312. },
  9313. "warehouseinfos": {
  9314. "description": "仓库信息列表",
  9315. "type": "array",
  9316. "items": {
  9317. "$ref": "#/definitions/models.Warehouseinfo"
  9318. }
  9319. },
  9320. "wrstandards": {
  9321. "description": "仓单标准列表",
  9322. "type": "array",
  9323. "items": {
  9324. "$ref": "#/definitions/models.WRStandardInfo"
  9325. }
  9326. }
  9327. }
  9328. },
  9329. "erms3.QuerySpotContractInfoRsp": {
  9330. "type": "object",
  9331. "properties": {
  9332. "accountid": {
  9333. "description": "表示交易员ID.",
  9334. "type": "integer"
  9335. },
  9336. "curdeliveryqty": {
  9337. "description": "表示未交收量.",
  9338. "type": "number"
  9339. },
  9340. "customername": {
  9341. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  9342. "type": "string"
  9343. },
  9344. "deliverygoodsid": {
  9345. "description": "表示品种ID.",
  9346. "type": "string"
  9347. },
  9348. "deliveryqty": {
  9349. "description": "表示交收量.",
  9350. "type": "number"
  9351. },
  9352. "matchaccountid": {
  9353. "description": "表示业务员ID.",
  9354. "type": "integer"
  9355. },
  9356. "matchcustomername": {
  9357. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  9358. "type": "string"
  9359. },
  9360. "priceqty": {
  9361. "description": "表示定价量.",
  9362. "type": "number"
  9363. },
  9364. "relatedbizid": {
  9365. "description": "表示业务ID.",
  9366. "type": "string"
  9367. },
  9368. "signdate": {
  9369. "description": "表示签订日期.",
  9370. "type": "string"
  9371. },
  9372. "spotcontractid": {
  9373. "description": "合同ID",
  9374. "type": "string"
  9375. },
  9376. "status": {
  9377. "description": "表示状态,0-履约中 1-已完成.",
  9378. "type": "integer"
  9379. },
  9380. "totalqty": {
  9381. "description": "表示合同量.",
  9382. "type": "number"
  9383. },
  9384. "unpricedqty": {
  9385. "description": "表示未定价量.",
  9386. "type": "number"
  9387. },
  9388. "wrstandardname": {
  9389. "description": "表示商品ID.",
  9390. "type": "string"
  9391. }
  9392. }
  9393. },
  9394. "erms3.QueryUserInfoAppliesRsp": {
  9395. "type": "object",
  9396. "required": [
  9397. "userid"
  9398. ],
  9399. "properties": {
  9400. "biznature": {
  9401. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9402. "type": "integer"
  9403. },
  9404. "contactname": {
  9405. "description": "联系人",
  9406. "type": "string"
  9407. },
  9408. "createtime": {
  9409. "description": "开户申请时间",
  9410. "type": "string"
  9411. },
  9412. "userid": {
  9413. "description": "用户ID(自增ID)",
  9414. "type": "integer"
  9415. },
  9416. "userinfotype": {
  9417. "description": "用户信息类型 - 1:个人 2:企业",
  9418. "type": "integer"
  9419. },
  9420. "username": {
  9421. "description": "用户姓名",
  9422. "type": "string"
  9423. },
  9424. "userstate": {
  9425. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  9426. "type": "integer"
  9427. }
  9428. }
  9429. },
  9430. "erms3.QueryUserInfosRsp": {
  9431. "type": "object",
  9432. "required": [
  9433. "userid"
  9434. ],
  9435. "properties": {
  9436. "biznature": {
  9437. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9438. "type": "integer"
  9439. },
  9440. "contactname": {
  9441. "description": "联系人",
  9442. "type": "string"
  9443. },
  9444. "customername": {
  9445. "description": "客户名称(企业名称)",
  9446. "type": "string"
  9447. },
  9448. "userid": {
  9449. "description": "用户ID",
  9450. "type": "integer"
  9451. },
  9452. "userinfotype": {
  9453. "description": "用户信息类型 - 1:个人 2:企业",
  9454. "type": "integer"
  9455. },
  9456. "userstatus": {
  9457. "description": "用户状态 - 1:正常 2:注销",
  9458. "type": "integer"
  9459. }
  9460. }
  9461. },
  9462. "erms3.SoptContractDetail": {
  9463. "type": "object",
  9464. "required": [
  9465. "deliverygoodsid",
  9466. "producttype",
  9467. "unitname",
  9468. "warehouseid",
  9469. "wrstandardid",
  9470. "wrstandardname"
  9471. ],
  9472. "properties": {
  9473. "deliverygoodsdesc": {
  9474. "description": "现货品种说明",
  9475. "type": "string"
  9476. },
  9477. "deliverygoodsid": {
  9478. "description": "现货品种ID",
  9479. "type": "integer"
  9480. },
  9481. "deliverygoodsname": {
  9482. "description": "现货品种名称",
  9483. "type": "string"
  9484. },
  9485. "pointdesc": {
  9486. "description": "点价描述",
  9487. "type": "string"
  9488. },
  9489. "producttype": {
  9490. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  9491. "type": "integer"
  9492. },
  9493. "producttypename": {
  9494. "description": "产品类型名称",
  9495. "type": "string"
  9496. },
  9497. "spotPointOrderVoList": {
  9498. "description": "点价列表",
  9499. "type": "array",
  9500. "items": {
  9501. "$ref": "#/definitions/erms3.SpotPointOrder"
  9502. }
  9503. },
  9504. "spotPriceOrderList": {
  9505. "description": "定价列表",
  9506. "type": "array",
  9507. "items": {
  9508. "$ref": "#/definitions/erms3.SpotPriceOrder"
  9509. }
  9510. },
  9511. "unitname": {
  9512. "description": "单位名称",
  9513. "type": "string"
  9514. },
  9515. "warehouseid": {
  9516. "description": "仓库ID",
  9517. "type": "integer"
  9518. },
  9519. "warehousename": {
  9520. "description": "仓库名称",
  9521. "type": "string"
  9522. },
  9523. "wrstandardid": {
  9524. "description": "交易标的ID",
  9525. "type": "integer"
  9526. },
  9527. "wrstandardname": {
  9528. "description": "交易标的名称",
  9529. "type": "string"
  9530. }
  9531. }
  9532. },
  9533. "erms3.SpotPointOrder": {
  9534. "type": "object",
  9535. "required": [
  9536. "basic",
  9537. "goodsid",
  9538. "qty"
  9539. ],
  9540. "properties": {
  9541. "basic": {
  9542. "description": "基差",
  9543. "type": "number"
  9544. },
  9545. "deliveryenddate": {
  9546. "description": "交收结束日期",
  9547. "type": "string"
  9548. },
  9549. "deliverystartdate": {
  9550. "description": "交收开始日期",
  9551. "type": "string"
  9552. },
  9553. "enddate": {
  9554. "description": "点价结束日期",
  9555. "type": "string"
  9556. },
  9557. "goodsid": {
  9558. "description": "商品ID",
  9559. "type": "integer"
  9560. },
  9561. "goodsname": {
  9562. "description": "商品名称",
  9563. "type": "string"
  9564. },
  9565. "qty": {
  9566. "description": "数量",
  9567. "type": "number"
  9568. },
  9569. "startdate": {
  9570. "description": "点价开始日期",
  9571. "type": "string"
  9572. }
  9573. }
  9574. },
  9575. "erms3.SpotPriceOrder": {
  9576. "type": "object",
  9577. "required": [
  9578. "amount",
  9579. "price",
  9580. "qty"
  9581. ],
  9582. "properties": {
  9583. "amount": {
  9584. "description": "金额",
  9585. "type": "number"
  9586. },
  9587. "deliveryenddate": {
  9588. "description": "交收结束日期",
  9589. "type": "string"
  9590. },
  9591. "deliverystartdate": {
  9592. "description": "交收开始日期",
  9593. "type": "string"
  9594. },
  9595. "price": {
  9596. "description": "价格",
  9597. "type": "number"
  9598. },
  9599. "qty": {
  9600. "description": "数量",
  9601. "type": "number"
  9602. }
  9603. }
  9604. },
  9605. "hsby.GetHsbyMyCountRsp": {
  9606. "type": "object",
  9607. "properties": {
  9608. "myCouponCount": {
  9609. "description": "我的优惠卷数量",
  9610. "type": "integer"
  9611. },
  9612. "myOrderDetailListingCount": {
  9613. "description": "我的订单求购中数量",
  9614. "type": "integer"
  9615. },
  9616. "myOrderDetailPreCount": {
  9617. "description": "我的订单抢购中数量",
  9618. "type": "integer"
  9619. },
  9620. "myPackageUnReceiveCount": {
  9621. "description": "我的包裹待收货数量",
  9622. "type": "integer"
  9623. },
  9624. "myPackageUnSendCount": {
  9625. "description": "我的包裹待发货数量",
  9626. "type": "integer"
  9627. },
  9628. "myPayOrderCount": {
  9629. "description": "我的订单待付款数量",
  9630. "type": "integer"
  9631. }
  9632. }
  9633. },
  9634. "hsby.QueryProvincesAndCitiesRsp": {
  9635. "type": "object",
  9636. "properties": {
  9637. "cities": {
  9638. "description": "市",
  9639. "type": "array",
  9640. "items": {
  9641. "$ref": "#/definitions/models.Division"
  9642. }
  9643. },
  9644. "province": {
  9645. "description": "省",
  9646. "$ref": "#/definitions/models.Division"
  9647. }
  9648. }
  9649. },
  9650. "models.Clientfixedadconfig": {
  9651. "type": "object",
  9652. "required": [
  9653. "adsort",
  9654. "adtype"
  9655. ],
  9656. "properties": {
  9657. "adsort": {
  9658. "description": "排序",
  9659. "type": "integer"
  9660. },
  9661. "adtype": {
  9662. "description": "广告位类型 - 1:新品抢购(HSBY)",
  9663. "type": "integer"
  9664. },
  9665. "areauserid": {
  9666. "description": "所属机构ID",
  9667. "type": "integer"
  9668. },
  9669. "createdate": {
  9670. "description": "创建时间",
  9671. "type": "string"
  9672. },
  9673. "creatorid": {
  9674. "description": "创建人",
  9675. "type": "integer"
  9676. },
  9677. "imagepath": {
  9678. "description": "图片",
  9679. "type": "string"
  9680. },
  9681. "isshow": {
  9682. "description": "是否展示 - 0:不展示 1:展示",
  9683. "type": "integer"
  9684. },
  9685. "modifierid": {
  9686. "description": "操作人",
  9687. "type": "integer"
  9688. },
  9689. "recsize": {
  9690. "description": "推荐尺寸",
  9691. "type": "string"
  9692. },
  9693. "title": {
  9694. "description": "标题",
  9695. "type": "string"
  9696. },
  9697. "updatedate": {
  9698. "description": "更新时间",
  9699. "type": "string"
  9700. },
  9701. "urlcontent": {
  9702. "description": "链接(地址或商品ID)",
  9703. "type": "string"
  9704. },
  9705. "urltype": {
  9706. "description": "链接类型 - 1:直接地址 2:商品ID",
  9707. "type": "integer"
  9708. }
  9709. }
  9710. },
  9711. "models.Division": {
  9712. "type": "object",
  9713. "required": [
  9714. "autoid",
  9715. "divisioncode"
  9716. ],
  9717. "properties": {
  9718. "autoid": {
  9719. "description": "自增ID",
  9720. "type": "integer"
  9721. },
  9722. "divisioncode": {
  9723. "description": "行政代码",
  9724. "type": "string"
  9725. },
  9726. "divisionlevel": {
  9727. "description": "行政级别",
  9728. "type": "string"
  9729. },
  9730. "divisionname": {
  9731. "description": "行政名称",
  9732. "type": "string"
  9733. },
  9734. "modifierid": {
  9735. "description": "修改人",
  9736. "type": "integer"
  9737. },
  9738. "modifytime": {
  9739. "description": "修改时间",
  9740. "type": "string"
  9741. },
  9742. "parentcode": {
  9743. "description": "上级行政代码",
  9744. "type": "string"
  9745. },
  9746. "pathname": {
  9747. "description": "路径名称",
  9748. "type": "string"
  9749. },
  9750. "postcode": {
  9751. "description": "邮政编码",
  9752. "type": "string"
  9753. },
  9754. "separablename": {
  9755. "description": "可拆分的全称",
  9756. "type": "string"
  9757. },
  9758. "shortcode": {
  9759. "description": "地区简码",
  9760. "type": "string"
  9761. }
  9762. }
  9763. },
  9764. "models.Enumdicitem": {
  9765. "type": "object",
  9766. "required": [
  9767. "autoid",
  9768. "enumdiccode",
  9769. "enumdicid",
  9770. "enumitemname"
  9771. ],
  9772. "properties": {
  9773. "autoid": {
  9774. "description": "自增ID",
  9775. "type": "integer"
  9776. },
  9777. "bankmappedvalue": {
  9778. "description": "银行服务对应值",
  9779. "type": "string"
  9780. },
  9781. "enumdiccode": {
  9782. "description": "所属枚举代码",
  9783. "type": "string"
  9784. },
  9785. "enumdicid": {
  9786. "description": "所属枚举ID",
  9787. "type": "integer"
  9788. },
  9789. "enumdicname": {
  9790. "description": "枚举项名称",
  9791. "type": "string"
  9792. },
  9793. "enumitemname": {
  9794. "description": "枚举项值",
  9795. "type": "integer"
  9796. },
  9797. "enumitemstatus": {
  9798. "description": "枚举项状态 - 1.启用 2.不启用",
  9799. "type": "integer"
  9800. },
  9801. "enumitemvalue": {
  9802. "description": "通用值 - [币种通用简写]",
  9803. "type": "string"
  9804. },
  9805. "param1": {
  9806. "description": "参数1[币种:币种小数位]",
  9807. "type": "string"
  9808. },
  9809. "param2": {
  9810. "description": "参数1[币种:币种显示单位]",
  9811. "type": "string"
  9812. },
  9813. "remark": {
  9814. "description": "备注",
  9815. "type": "string"
  9816. }
  9817. }
  9818. },
  9819. "models.ErmcpMiddleGoodsModel": {
  9820. "type": "object",
  9821. "properties": {
  9822. "areauserid": {
  9823. "description": "机构用户ID",
  9824. "type": "integer"
  9825. },
  9826. "enumdicname": {
  9827. "description": "单位名称",
  9828. "type": "string"
  9829. },
  9830. "evaluateratio": {
  9831. "description": "估价系数",
  9832. "type": "number"
  9833. },
  9834. "goodsgroupid": {
  9835. "description": "关联期货品种ID",
  9836. "type": "integer"
  9837. },
  9838. "isvalid": {
  9839. "description": "状态 0-无效(停用) 1-有效(正常)",
  9840. "type": "integer"
  9841. },
  9842. "middlegoodscode": {
  9843. "description": "套保品种代码",
  9844. "type": "string"
  9845. },
  9846. "middlegoodsid": {
  9847. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  9848. "type": "integer"
  9849. },
  9850. "middlegoodsname": {
  9851. "description": "套保品种名称",
  9852. "type": "string"
  9853. },
  9854. "modifytime": {
  9855. "description": "修改时间",
  9856. "type": "string"
  9857. },
  9858. "needhedgeratio": {
  9859. "description": "套保比率",
  9860. "type": "number"
  9861. },
  9862. "qtydecimalplace": {
  9863. "description": "数量小数位",
  9864. "type": "integer"
  9865. },
  9866. "relatedgoodsid": {
  9867. "description": "关联交易商品ID",
  9868. "type": "integer"
  9869. },
  9870. "relatedgoodstype": {
  9871. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  9872. "type": "integer"
  9873. }
  9874. }
  9875. },
  9876. "models.ErmcpWrstandard": {
  9877. "type": "object",
  9878. "properties": {
  9879. "areauserid": {
  9880. "description": "所属机构",
  9881. "type": "integer"
  9882. },
  9883. "createtime": {
  9884. "description": "创建时间",
  9885. "type": "string"
  9886. },
  9887. "creatorid": {
  9888. "description": "创建人",
  9889. "type": "integer"
  9890. },
  9891. "deliverygoodsid": {
  9892. "description": "品种ID",
  9893. "type": "integer"
  9894. },
  9895. "enumdicname": {
  9896. "description": "单位名称",
  9897. "type": "string"
  9898. },
  9899. "isvalid": {
  9900. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  9901. "type": "integer"
  9902. },
  9903. "minivalue": {
  9904. "description": "最小变动值",
  9905. "type": "integer"
  9906. },
  9907. "minivaluedp": {
  9908. "description": "最小变动值小数位",
  9909. "type": "integer"
  9910. },
  9911. "realminivalue": {
  9912. "description": "实际最小变动值",
  9913. "type": "integer"
  9914. },
  9915. "realminivaluedp": {
  9916. "description": "实际最小变动值小数位",
  9917. "type": "integer"
  9918. },
  9919. "remark": {
  9920. "description": "备注",
  9921. "type": "string"
  9922. },
  9923. "unitid": {
  9924. "description": "单位ID",
  9925. "type": "integer"
  9926. },
  9927. "updatetime": {
  9928. "description": "更新时间",
  9929. "type": "string"
  9930. },
  9931. "wrstandardcode": {
  9932. "description": "现货商品代码",
  9933. "type": "string"
  9934. },
  9935. "wrstandardid": {
  9936. "description": "现货商品ID(SEQ_WRSTANDARD)",
  9937. "type": "integer"
  9938. },
  9939. "wrstandardname": {
  9940. "description": "现货商品名称",
  9941. "type": "string"
  9942. }
  9943. }
  9944. },
  9945. "models.Goods": {
  9946. "type": "object",
  9947. "required": [
  9948. "goodscode",
  9949. "goodsid",
  9950. "goodsname",
  9951. "marketid"
  9952. ],
  9953. "properties": {
  9954. "agreeunit": {
  9955. "description": "合约单位",
  9956. "type": "number"
  9957. },
  9958. "auditaccountid": {
  9959. "description": "审核操作员账号",
  9960. "type": "integer"
  9961. },
  9962. "audittime": {
  9963. "description": "审核时间",
  9964. "type": "string"
  9965. },
  9966. "cancelaccountid": {
  9967. "description": "注销操作员账号",
  9968. "type": "integer"
  9969. },
  9970. "canceltime": {
  9971. "description": "注销时间",
  9972. "type": "string"
  9973. },
  9974. "closepricemode": {
  9975. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  9976. "type": "integer"
  9977. },
  9978. "closepriceparam": {
  9979. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  9980. "type": "number"
  9981. },
  9982. "createtime": {
  9983. "description": "创建时间",
  9984. "type": "string"
  9985. },
  9986. "creatorid": {
  9987. "description": "创建人",
  9988. "type": "integer"
  9989. },
  9990. "currencyid": {
  9991. "description": "报价货币ID",
  9992. "type": "integer"
  9993. },
  9994. "cutmode": {
  9995. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  9996. "type": "integer"
  9997. },
  9998. "decimalplace": {
  9999. "description": "报价小数位",
  10000. "type": "integer"
  10001. },
  10002. "delistingdate": {
  10003. "description": "商品退市时间(状态:退市) -- 已作废",
  10004. "type": "string"
  10005. },
  10006. "delistingmode": {
  10007. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  10008. "type": "integer"
  10009. },
  10010. "deliveryflag": {
  10011. "description": "交割标志 - 0:不可交割 1:可交割",
  10012. "type": "integer"
  10013. },
  10014. "forceclosemode": {
  10015. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  10016. "type": "integer"
  10017. },
  10018. "forceclosevalue": {
  10019. "description": "定期强平参数 [收益权]",
  10020. "type": "integer"
  10021. },
  10022. "goodscode": {
  10023. "description": "商品代码(内部)",
  10024. "type": "string"
  10025. },
  10026. "goodscurrencyid": {
  10027. "description": "合约货币ID",
  10028. "type": "integer"
  10029. },
  10030. "goodsgroupid": {
  10031. "description": "所属商品组ID",
  10032. "type": "integer"
  10033. },
  10034. "goodsid": {
  10035. "description": "商品ID(自增ID SEQ_GOODS)",
  10036. "type": "integer"
  10037. },
  10038. "goodsname": {
  10039. "description": "商品名称",
  10040. "type": "string"
  10041. },
  10042. "goodsquotetype": {
  10043. "description": "合约报价类型: 1-直接报价 2-间接报价",
  10044. "type": "integer"
  10045. },
  10046. "goodsstatus": {
  10047. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  10048. "type": "integer"
  10049. },
  10050. "goodstradetype": {
  10051. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  10052. "type": "integer"
  10053. },
  10054. "goodunitid": {
  10055. "description": "报价单位ID",
  10056. "type": "integer"
  10057. },
  10058. "hasquoter": {
  10059. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  10060. "type": "integer"
  10061. },
  10062. "hqprotecttime": {
  10063. "description": "行情保护时间(秒)",
  10064. "type": "integer"
  10065. },
  10066. "innerdealmode": {
  10067. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  10068. "type": "integer"
  10069. },
  10070. "isbuylimited": {
  10071. "description": "是否限制建仓量 - 0:不限制 1:限制",
  10072. "type": "integer"
  10073. },
  10074. "lasttradedate": {
  10075. "description": "最后交易日期(状态:待退市)",
  10076. "type": "string"
  10077. },
  10078. "listingdate": {
  10079. "description": "交易开始日期",
  10080. "type": "string"
  10081. },
  10082. "marketid": {
  10083. "description": "所属市场ID",
  10084. "type": "integer"
  10085. },
  10086. "modifierid": {
  10087. "description": "修改人",
  10088. "type": "integer"
  10089. },
  10090. "modifystatus": {
  10091. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  10092. "type": "integer"
  10093. },
  10094. "modifytime": {
  10095. "description": "修改时间",
  10096. "type": "string"
  10097. },
  10098. "outerdealmode": {
  10099. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  10100. "type": "integer"
  10101. },
  10102. "outgoodscode": {
  10103. "description": "商品代码(外部)",
  10104. "type": "string"
  10105. },
  10106. "qtydecimalplace": {
  10107. "description": "成交量小数位",
  10108. "type": "integer"
  10109. },
  10110. "quotegear": {
  10111. "description": "行情档位(1-10)",
  10112. "type": "integer"
  10113. },
  10114. "quoteminunit": {
  10115. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10116. "type": "integer"
  10117. },
  10118. "quoteshowtype": {
  10119. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  10120. "type": "integer"
  10121. },
  10122. "quoteshowtypeinterval": {
  10123. "description": "行情报价间隔时间(秒)(成交价时为0)",
  10124. "type": "integer"
  10125. },
  10126. "remark": {
  10127. "description": "备注",
  10128. "type": "string"
  10129. }
  10130. }
  10131. },
  10132. "models.GoodsBrand": {
  10133. "type": "object",
  10134. "properties": {
  10135. "brandid": {
  10136. "description": "品牌ID",
  10137. "type": "integer"
  10138. },
  10139. "brandname": {
  10140. "description": "品牌名称",
  10141. "type": "string"
  10142. },
  10143. "isvalid": {
  10144. "description": "是否有效 - 0:无效 1:有效",
  10145. "type": "integer"
  10146. }
  10147. }
  10148. },
  10149. "models.GoodsGroupConvert": {
  10150. "type": "object",
  10151. "properties": {
  10152. "convertratio": {
  10153. "description": "折算系数",
  10154. "type": "number"
  10155. },
  10156. "dstgoodsgroupid": {
  10157. "description": "目标期货品种ID",
  10158. "type": "integer"
  10159. },
  10160. "goodsgroupname": {
  10161. "description": "期货品种名称",
  10162. "type": "string"
  10163. },
  10164. "outergroupcode": {
  10165. "description": "期货品种代码",
  10166. "type": "string"
  10167. },
  10168. "srcgoodsgroupid": {
  10169. "description": "源期货品种ID",
  10170. "type": "integer"
  10171. }
  10172. }
  10173. },
  10174. "models.GoodsIDAndName": {
  10175. "type": "object",
  10176. "required": [
  10177. "goodscode",
  10178. "goodsid",
  10179. "goodsname",
  10180. "marketid"
  10181. ],
  10182. "properties": {
  10183. "goodscode": {
  10184. "description": "商品代码(内部)",
  10185. "type": "string"
  10186. },
  10187. "goodsid": {
  10188. "description": "商品ID(自增ID SEQ_GOODS)",
  10189. "type": "integer"
  10190. },
  10191. "goodsname": {
  10192. "description": "商品名称",
  10193. "type": "string"
  10194. },
  10195. "marketid": {
  10196. "description": "所属市场ID",
  10197. "type": "integer"
  10198. }
  10199. }
  10200. },
  10201. "models.GoodsTypeModel": {
  10202. "type": "object",
  10203. "properties": {
  10204. "modelid": {
  10205. "description": "型号ID",
  10206. "type": "integer"
  10207. },
  10208. "modelname": {
  10209. "description": "型号名称",
  10210. "type": "string"
  10211. },
  10212. "updatetime": {
  10213. "description": "更新时间",
  10214. "type": "string"
  10215. }
  10216. }
  10217. },
  10218. "models.HsbyBuyMyPayOrder": {
  10219. "type": "object",
  10220. "required": [
  10221. "goodscode",
  10222. "goodsname",
  10223. "tradeid",
  10224. "trademode"
  10225. ],
  10226. "properties": {
  10227. "agreeunit": {
  10228. "description": "合约单位",
  10229. "type": "number"
  10230. },
  10231. "buyaccountid": {
  10232. "description": "买方账号ID[报价币种]",
  10233. "type": "integer"
  10234. },
  10235. "buyorderid": {
  10236. "description": "买方委托单号",
  10237. "type": "string"
  10238. },
  10239. "createtime": {
  10240. "description": "创建时间",
  10241. "type": "string"
  10242. },
  10243. "currencysign": {
  10244. "description": "货币符号",
  10245. "type": "string"
  10246. },
  10247. "decimalplace": {
  10248. "description": "报价小数位",
  10249. "type": "integer"
  10250. },
  10251. "goodscode": {
  10252. "description": "商品代码(内部)",
  10253. "type": "string"
  10254. },
  10255. "goodsid": {
  10256. "description": "商品ID",
  10257. "type": "integer"
  10258. },
  10259. "goodsname": {
  10260. "description": "商品名称",
  10261. "type": "string"
  10262. },
  10263. "marketid": {
  10264. "description": "市场ID",
  10265. "type": "integer"
  10266. },
  10267. "offamount": {
  10268. "description": "优惠金额",
  10269. "type": "number"
  10270. },
  10271. "payamount": {
  10272. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  10273. "type": "number"
  10274. },
  10275. "payflag": {
  10276. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  10277. "type": "integer"
  10278. },
  10279. "paylimitedtime": {
  10280. "description": "支付期限",
  10281. "type": "string"
  10282. },
  10283. "paytime": {
  10284. "description": "付款时间",
  10285. "type": "string"
  10286. },
  10287. "picurls1": {
  10288. "description": "预售商品介绍图片[多张用逗号分隔]",
  10289. "type": "string"
  10290. },
  10291. "picurls2": {
  10292. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  10293. "type": "string"
  10294. },
  10295. "sellaccountid": {
  10296. "description": "卖方账号ID[报价币种]",
  10297. "type": "integer"
  10298. },
  10299. "sellorderid": {
  10300. "description": "卖方委托单号",
  10301. "type": "string"
  10302. },
  10303. "tradeamount": {
  10304. "description": "成交金额",
  10305. "type": "number"
  10306. },
  10307. "tradecharge": {
  10308. "description": "成交手续费(买方)",
  10309. "type": "number"
  10310. },
  10311. "tradedate": {
  10312. "description": "交易日(yyyyMMdd)",
  10313. "type": "string"
  10314. },
  10315. "tradeid": {
  10316. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10317. "type": "string"
  10318. },
  10319. "trademode": {
  10320. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10321. "type": "integer"
  10322. },
  10323. "tradeprice": {
  10324. "description": "成交价格",
  10325. "type": "number"
  10326. },
  10327. "tradeqty": {
  10328. "description": "成交数量",
  10329. "type": "integer"
  10330. },
  10331. "vendorname1": {
  10332. "description": "预售商品供应商名称",
  10333. "type": "string"
  10334. },
  10335. "vendorname2": {
  10336. "description": "挂牌商品供应商名称",
  10337. "type": "string"
  10338. }
  10339. }
  10340. },
  10341. "models.HsbyBuyMyTradeDetail": {
  10342. "type": "object",
  10343. "required": [
  10344. "accountid",
  10345. "buyorsell",
  10346. "goodscode",
  10347. "goodsid",
  10348. "goodsname",
  10349. "marketid",
  10350. "orderid",
  10351. "qty",
  10352. "time",
  10353. "trademode"
  10354. ],
  10355. "properties": {
  10356. "accountid": {
  10357. "description": "账户ID[报价币种]",
  10358. "type": "integer"
  10359. },
  10360. "agreeunit": {
  10361. "description": "合约单位",
  10362. "type": "number"
  10363. },
  10364. "amount": {
  10365. "description": "金额 = 价格 * 数量 * 合约单位",
  10366. "type": "number"
  10367. },
  10368. "buyorsell": {
  10369. "description": "买卖 - 0:买 1:卖",
  10370. "type": "integer"
  10371. },
  10372. "currencysign": {
  10373. "description": "货币符号",
  10374. "type": "string"
  10375. },
  10376. "decimalplace": {
  10377. "description": "报价小数位",
  10378. "type": "integer"
  10379. },
  10380. "goodscode": {
  10381. "description": "商品代码(内部)",
  10382. "type": "string"
  10383. },
  10384. "goodsid": {
  10385. "description": "商品ID",
  10386. "type": "integer"
  10387. },
  10388. "goodsname": {
  10389. "description": "商品名称",
  10390. "type": "string"
  10391. },
  10392. "marketid": {
  10393. "description": "市场ID",
  10394. "type": "integer"
  10395. },
  10396. "orderid": {
  10397. "description": "单号(成交单号)",
  10398. "type": "string"
  10399. },
  10400. "picurls1": {
  10401. "description": "预售商品介绍图片[多张用逗号分隔]",
  10402. "type": "string"
  10403. },
  10404. "picurls2": {
  10405. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  10406. "type": "string"
  10407. },
  10408. "price": {
  10409. "description": "价格",
  10410. "type": "number"
  10411. },
  10412. "qty": {
  10413. "description": "数量",
  10414. "type": "integer"
  10415. },
  10416. "time": {
  10417. "description": "时间",
  10418. "type": "string"
  10419. },
  10420. "trademode": {
  10421. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10422. "type": "integer"
  10423. },
  10424. "vendorname1": {
  10425. "description": "预售商品供应商名称",
  10426. "type": "string"
  10427. },
  10428. "vendorname2": {
  10429. "description": "挂牌商品供应商名称",
  10430. "type": "string"
  10431. }
  10432. }
  10433. },
  10434. "models.HsbyGoodsOrderDetail": {
  10435. "type": "object",
  10436. "required": [
  10437. "buyorsell",
  10438. "orderid",
  10439. "ordertime"
  10440. ],
  10441. "properties": {
  10442. "buyorsell": {
  10443. "description": "买卖 - 0:买 1:卖",
  10444. "type": "integer"
  10445. },
  10446. "currencysign": {
  10447. "description": "货币符号",
  10448. "type": "string"
  10449. },
  10450. "customername": {
  10451. "description": "客户名称(企业名称),已脱敏",
  10452. "type": "string"
  10453. },
  10454. "enableqty": {
  10455. "description": "可用数量",
  10456. "type": "integer"
  10457. },
  10458. "goodunit": {
  10459. "description": "报价单位",
  10460. "type": "string"
  10461. },
  10462. "orderid": {
  10463. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10464. "type": "string"
  10465. },
  10466. "orderprice": {
  10467. "description": "委托价格",
  10468. "type": "number"
  10469. },
  10470. "ordertime": {
  10471. "description": "委托时间",
  10472. "type": "string"
  10473. }
  10474. }
  10475. },
  10476. "models.HsbyListingGoodsDetail": {
  10477. "type": "object",
  10478. "required": [
  10479. "goodscode",
  10480. "goodsid",
  10481. "goodsname",
  10482. "marketid",
  10483. "trademode"
  10484. ],
  10485. "properties": {
  10486. "agreeunit": {
  10487. "description": "合约单位",
  10488. "type": "number"
  10489. },
  10490. "buymaxqty": {
  10491. "description": "购买上限 [71] - 0为不限",
  10492. "type": "integer"
  10493. },
  10494. "currency": {
  10495. "description": "货币",
  10496. "type": "string"
  10497. },
  10498. "currencysign": {
  10499. "description": "货币符号",
  10500. "type": "string"
  10501. },
  10502. "decimalplace": {
  10503. "description": "报价小数位",
  10504. "type": "integer"
  10505. },
  10506. "desccityid": {
  10507. "description": "目的地(市)ID",
  10508. "type": "integer"
  10509. },
  10510. "descprovinceid": {
  10511. "description": "目的地(省)ID",
  10512. "type": "integer"
  10513. },
  10514. "goodscode": {
  10515. "description": "商品代码(内部)",
  10516. "type": "string"
  10517. },
  10518. "goodsdesc": {
  10519. "description": "商品详情",
  10520. "type": "string"
  10521. },
  10522. "goodsid": {
  10523. "description": "商品ID(自增ID SEQ_GOODS)",
  10524. "type": "integer"
  10525. },
  10526. "goodsname": {
  10527. "description": "商品名称",
  10528. "type": "string"
  10529. },
  10530. "goodsprice": {
  10531. "description": "商品价格",
  10532. "type": "number"
  10533. },
  10534. "hotindex": {
  10535. "description": "景点热度",
  10536. "type": "integer"
  10537. },
  10538. "last": {
  10539. "description": "现价",
  10540. "type": "number"
  10541. },
  10542. "limitdown": {
  10543. "description": "跌停价",
  10544. "type": "number"
  10545. },
  10546. "limitup": {
  10547. "description": "涨停价",
  10548. "type": "number"
  10549. },
  10550. "lotsize": {
  10551. "description": "手数最小变动单位",
  10552. "type": "integer"
  10553. },
  10554. "marketid": {
  10555. "description": "所属市场ID",
  10556. "type": "integer"
  10557. },
  10558. "picurls": {
  10559. "description": "介绍图片[多张用逗号分隔]",
  10560. "type": "string"
  10561. },
  10562. "quoteminunit": {
  10563. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10564. "type": "integer"
  10565. },
  10566. "stepvalue": {
  10567. "description": "价格最小变动单位",
  10568. "type": "number"
  10569. },
  10570. "trademode": {
  10571. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10572. "type": "integer"
  10573. },
  10574. "vendorattr": {
  10575. "description": "供应商附件(多张,逗号分隔)",
  10576. "type": "string"
  10577. },
  10578. "vendorname": {
  10579. "description": "供应商名称",
  10580. "type": "string"
  10581. },
  10582. "vendorphone": {
  10583. "description": "供应商客服电话",
  10584. "type": "string"
  10585. },
  10586. "videourls": {
  10587. "description": "介绍视频[多张用逗号分隔]",
  10588. "type": "string"
  10589. }
  10590. }
  10591. },
  10592. "models.HsbyMarketGoods": {
  10593. "type": "object",
  10594. "required": [
  10595. "accountid",
  10596. "buyorsell",
  10597. "goodscode",
  10598. "goodsid",
  10599. "goodsname",
  10600. "marketid",
  10601. "orderid",
  10602. "trademode"
  10603. ],
  10604. "properties": {
  10605. "accountid": {
  10606. "description": "账户ID[报价币种]",
  10607. "type": "integer"
  10608. },
  10609. "agreeunit": {
  10610. "description": "合约单位",
  10611. "type": "number"
  10612. },
  10613. "buyorsell": {
  10614. "description": "买卖 - 0:买 1:卖",
  10615. "type": "integer"
  10616. },
  10617. "categoryid": {
  10618. "description": "类别ID(WRCATEGORY)",
  10619. "type": "integer"
  10620. },
  10621. "currency": {
  10622. "description": "货币",
  10623. "type": "string"
  10624. },
  10625. "currencysign": {
  10626. "description": "货币符号",
  10627. "type": "string"
  10628. },
  10629. "customername": {
  10630. "description": "卖家名称",
  10631. "type": "string"
  10632. },
  10633. "decimalplace": {
  10634. "description": "报价小数位",
  10635. "type": "integer"
  10636. },
  10637. "goodscode": {
  10638. "description": "商品代码(内部)",
  10639. "type": "string"
  10640. },
  10641. "goodsid": {
  10642. "description": "商品ID",
  10643. "type": "integer"
  10644. },
  10645. "goodsname": {
  10646. "description": "商品名称",
  10647. "type": "string"
  10648. },
  10649. "goodsprice": {
  10650. "description": "商品价格",
  10651. "type": "number"
  10652. },
  10653. "hascoupon": {
  10654. "description": "是否可用优惠卷",
  10655. "type": "boolean"
  10656. },
  10657. "hotindex": {
  10658. "description": "景点热度",
  10659. "type": "integer"
  10660. },
  10661. "marketid": {
  10662. "description": "市场ID",
  10663. "type": "integer"
  10664. },
  10665. "orderid": {
  10666. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10667. "type": "string"
  10668. },
  10669. "orderprice": {
  10670. "description": "委托价格",
  10671. "type": "number"
  10672. },
  10673. "orderstatus": {
  10674. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10675. "type": "integer"
  10676. },
  10677. "picurls": {
  10678. "description": "介绍图片[多张用逗号分隔]",
  10679. "type": "string"
  10680. },
  10681. "quoteminunit": {
  10682. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10683. "type": "integer"
  10684. },
  10685. "sellUserID": {
  10686. "description": "卖方UserID",
  10687. "type": "integer"
  10688. },
  10689. "trademode": {
  10690. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10691. "type": "integer"
  10692. },
  10693. "videourls": {
  10694. "description": "介绍视频[多张用逗号分隔]",
  10695. "type": "string"
  10696. }
  10697. }
  10698. },
  10699. "models.HsbyMarketGoodsDetail": {
  10700. "type": "object",
  10701. "required": [
  10702. "accountid",
  10703. "buyorsell",
  10704. "goodscode",
  10705. "goodsid",
  10706. "goodsname",
  10707. "marketid",
  10708. "orderid",
  10709. "orderqty",
  10710. "trademode"
  10711. ],
  10712. "properties": {
  10713. "accountid": {
  10714. "description": "账户ID[报价币种]",
  10715. "type": "integer"
  10716. },
  10717. "agreeunit": {
  10718. "description": "合约单位",
  10719. "type": "number"
  10720. },
  10721. "buymaxqty": {
  10722. "description": "购买上限 [71] - 0为不限",
  10723. "type": "integer"
  10724. },
  10725. "buyorsell": {
  10726. "description": "买卖 - 0:买 1:卖",
  10727. "type": "integer"
  10728. },
  10729. "cancelqty": {
  10730. "description": "撤单数量",
  10731. "type": "integer"
  10732. },
  10733. "categoryid": {
  10734. "description": "类别ID(WRCATEGORY)",
  10735. "type": "integer"
  10736. },
  10737. "currency": {
  10738. "description": "货币",
  10739. "type": "string"
  10740. },
  10741. "currencysign": {
  10742. "description": "货币符号",
  10743. "type": "string"
  10744. },
  10745. "customername": {
  10746. "description": "卖家名称",
  10747. "type": "string"
  10748. },
  10749. "decimalplace": {
  10750. "description": "报价小数位",
  10751. "type": "integer"
  10752. },
  10753. "goodscode": {
  10754. "description": "商品代码(内部)",
  10755. "type": "string"
  10756. },
  10757. "goodsdesc": {
  10758. "description": "商品详情",
  10759. "type": "string"
  10760. },
  10761. "goodsid": {
  10762. "description": "商品ID",
  10763. "type": "integer"
  10764. },
  10765. "goodsname": {
  10766. "description": "商品名称",
  10767. "type": "string"
  10768. },
  10769. "goodsprice": {
  10770. "description": "商品价格",
  10771. "type": "number"
  10772. },
  10773. "hotindex": {
  10774. "description": "景点热度",
  10775. "type": "integer"
  10776. },
  10777. "lotsize": {
  10778. "description": "手数最小变动单位",
  10779. "type": "integer"
  10780. },
  10781. "marketid": {
  10782. "description": "市场ID",
  10783. "type": "integer"
  10784. },
  10785. "orderid": {
  10786. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10787. "type": "string"
  10788. },
  10789. "orderprice": {
  10790. "description": "委托价格",
  10791. "type": "number"
  10792. },
  10793. "orderqty": {
  10794. "description": "委托数量",
  10795. "type": "integer"
  10796. },
  10797. "orderstatus": {
  10798. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10799. "type": "integer"
  10800. },
  10801. "picurls": {
  10802. "description": "介绍图片[多张用逗号分隔]",
  10803. "type": "string"
  10804. },
  10805. "quoteminunit": {
  10806. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10807. "type": "integer"
  10808. },
  10809. "sellUserID": {
  10810. "description": "卖方UserID",
  10811. "type": "integer"
  10812. },
  10813. "trademode": {
  10814. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10815. "type": "integer"
  10816. },
  10817. "tradeqty": {
  10818. "description": "成交数量",
  10819. "type": "integer"
  10820. },
  10821. "vendorattr": {
  10822. "description": "供应商附件(多张,逗号分隔)",
  10823. "type": "string"
  10824. },
  10825. "vendorname": {
  10826. "description": "供应商名称",
  10827. "type": "string"
  10828. },
  10829. "vendorphone": {
  10830. "description": "供应商客服电话",
  10831. "type": "string"
  10832. },
  10833. "videourls": {
  10834. "description": "介绍视频[多张用逗号分隔]",
  10835. "type": "string"
  10836. }
  10837. }
  10838. },
  10839. "models.HsbyMarketInfo": {
  10840. "type": "object",
  10841. "required": [
  10842. "marketid",
  10843. "marketstatus",
  10844. "trademode"
  10845. ],
  10846. "properties": {
  10847. "marketid": {
  10848. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  10849. "type": "integer"
  10850. },
  10851. "marketname": {
  10852. "description": "市场名称",
  10853. "type": "string"
  10854. },
  10855. "marketstatus": {
  10856. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  10857. "type": "integer"
  10858. },
  10859. "trademode": {
  10860. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10861. "type": "integer"
  10862. }
  10863. }
  10864. },
  10865. "models.HsbyMyGoods": {
  10866. "type": "object",
  10867. "required": [
  10868. "accountid",
  10869. "goodscode",
  10870. "goodsid",
  10871. "goodsname",
  10872. "marketid",
  10873. "trademode"
  10874. ],
  10875. "properties": {
  10876. "accountid": {
  10877. "description": "账号Id",
  10878. "type": "integer"
  10879. },
  10880. "agreeunit": {
  10881. "description": "合约单位",
  10882. "type": "number"
  10883. },
  10884. "buyaverageprice": {
  10885. "description": "持仓均价",
  10886. "type": "number"
  10887. },
  10888. "buycurholderamount": {
  10889. "description": "买当前持仓总金额[商品币种]",
  10890. "type": "number"
  10891. },
  10892. "buycurpositionqty": {
  10893. "description": "买当前持仓总数量",
  10894. "type": "integer"
  10895. },
  10896. "buymaxqty": {
  10897. "description": "购买上限 [71] - 0为不限",
  10898. "type": "integer"
  10899. },
  10900. "currencysign": {
  10901. "description": "货币符号",
  10902. "type": "string"
  10903. },
  10904. "decimalplace": {
  10905. "description": "报价小数位",
  10906. "type": "integer"
  10907. },
  10908. "enableqty": {
  10909. "description": "可用数量",
  10910. "type": "integer"
  10911. },
  10912. "goodscode": {
  10913. "description": "商品代码(内部)",
  10914. "type": "string"
  10915. },
  10916. "goodsid": {
  10917. "description": "商品Id",
  10918. "type": "integer"
  10919. },
  10920. "goodsname": {
  10921. "description": "商品名称",
  10922. "type": "string"
  10923. },
  10924. "goodsprice": {
  10925. "description": "商品价格",
  10926. "type": "number"
  10927. },
  10928. "goodsstatus": {
  10929. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  10930. "type": "integer"
  10931. },
  10932. "last": {
  10933. "description": "现价(仅使用于挂牌点选)",
  10934. "type": "number"
  10935. },
  10936. "limitdown": {
  10937. "description": "跌停价(仅使用于挂牌点选)",
  10938. "type": "number"
  10939. },
  10940. "limitup": {
  10941. "description": "涨停价(仅使用于挂牌点选)",
  10942. "type": "number"
  10943. },
  10944. "lotsize": {
  10945. "description": "手数最小变动单位",
  10946. "type": "integer"
  10947. },
  10948. "marketid": {
  10949. "description": "所属市场ID",
  10950. "type": "integer"
  10951. },
  10952. "picurls": {
  10953. "description": "介绍图片[多张用逗号分隔]",
  10954. "type": "string"
  10955. },
  10956. "quoteminunit": {
  10957. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10958. "type": "integer"
  10959. },
  10960. "stepvalue": {
  10961. "description": "价格最小变动单位",
  10962. "type": "number"
  10963. },
  10964. "trademode": {
  10965. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10966. "type": "integer"
  10967. }
  10968. }
  10969. },
  10970. "models.HsbyMyPackage": {
  10971. "type": "object",
  10972. "required": [
  10973. "goodscode",
  10974. "goodsname",
  10975. "takeorderid",
  10976. "trademode"
  10977. ],
  10978. "properties": {
  10979. "accountid": {
  10980. "description": "账户ID",
  10981. "type": "integer"
  10982. },
  10983. "address": {
  10984. "description": "提货人详细地址",
  10985. "type": "string"
  10986. },
  10987. "agreeunit": {
  10988. "description": "合约单位",
  10989. "type": "number"
  10990. },
  10991. "amount": {
  10992. "description": "提货金额",
  10993. "type": "number"
  10994. },
  10995. "auditer": {
  10996. "description": "审核人",
  10997. "type": "integer"
  10998. },
  10999. "audittime": {
  11000. "description": "审核时间",
  11001. "type": "string"
  11002. },
  11003. "averageprice": {
  11004. "description": "均价",
  11005. "type": "number"
  11006. },
  11007. "cardnum": {
  11008. "description": "提货人证件号码",
  11009. "type": "string"
  11010. },
  11011. "cardtypeid": {
  11012. "description": "提货人证件类型",
  11013. "type": "integer"
  11014. },
  11015. "checkremark": {
  11016. "description": "审核备注",
  11017. "type": "string"
  11018. },
  11019. "currencysign": {
  11020. "description": "货币符号",
  11021. "type": "string"
  11022. },
  11023. "decimalplace": {
  11024. "description": "报价小数位",
  11025. "type": "integer"
  11026. },
  11027. "goodscode": {
  11028. "description": "商品代码(内部)",
  11029. "type": "string"
  11030. },
  11031. "goodsid": {
  11032. "description": "商品ID",
  11033. "type": "integer"
  11034. },
  11035. "goodsname": {
  11036. "description": "商品名称",
  11037. "type": "string"
  11038. },
  11039. "handlestatus": {
  11040. "description": "处理状态",
  11041. "type": "integer"
  11042. },
  11043. "marketid": {
  11044. "description": "市场ID",
  11045. "type": "integer"
  11046. },
  11047. "phonenum": {
  11048. "description": "提货人联系方式",
  11049. "type": "string"
  11050. },
  11051. "picurls": {
  11052. "description": "介绍图片[多张用逗号分隔]",
  11053. "type": "string"
  11054. },
  11055. "qty": {
  11056. "description": "提货数量",
  11057. "type": "number"
  11058. },
  11059. "recivername": {
  11060. "description": "提货人姓名",
  11061. "type": "string"
  11062. },
  11063. "reqtime": {
  11064. "description": "更新时间",
  11065. "type": "string"
  11066. },
  11067. "takemode": {
  11068. "description": "提货方式 - 2:自提 3:配送",
  11069. "type": "integer"
  11070. },
  11071. "takeorderid": {
  11072. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  11073. "type": "string"
  11074. },
  11075. "takeorderstatus": {
  11076. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  11077. "type": "integer"
  11078. },
  11079. "takeremark": {
  11080. "description": "提货备注",
  11081. "type": "string"
  11082. },
  11083. "tradedate": {
  11084. "description": "交易日(yyyyMMdd)",
  11085. "type": "string"
  11086. },
  11087. "trademode": {
  11088. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11089. "type": "integer"
  11090. },
  11091. "userid": {
  11092. "description": "用户ID",
  11093. "type": "integer"
  11094. },
  11095. "vendorname": {
  11096. "description": "供应商名称",
  11097. "type": "string"
  11098. }
  11099. }
  11100. },
  11101. "models.HsbyPreGoods": {
  11102. "type": "object",
  11103. "required": [
  11104. "goodscode",
  11105. "goodsid",
  11106. "goodsname",
  11107. "marketid",
  11108. "trademode"
  11109. ],
  11110. "properties": {
  11111. "agreeunit": {
  11112. "description": "合约单位",
  11113. "type": "number"
  11114. },
  11115. "currency": {
  11116. "description": "货币",
  11117. "type": "string"
  11118. },
  11119. "currencysign": {
  11120. "description": "货币符号",
  11121. "type": "string"
  11122. },
  11123. "decimalplace": {
  11124. "description": "报价小数位",
  11125. "type": "integer"
  11126. },
  11127. "enableqty": {
  11128. "description": "剩余数量",
  11129. "type": "integer"
  11130. },
  11131. "goodscode": {
  11132. "description": "商品代码(内部)",
  11133. "type": "string"
  11134. },
  11135. "goodsid": {
  11136. "description": "商品ID(自增ID SEQ_GOODS)",
  11137. "type": "integer"
  11138. },
  11139. "goodsname": {
  11140. "description": "商品名称",
  11141. "type": "string"
  11142. },
  11143. "goodsstatus": {
  11144. "description": "商品状态- 2:未上市 3:上市",
  11145. "type": "integer"
  11146. },
  11147. "lasttradedate": {
  11148. "description": "最后交易日期(状态:待退市)",
  11149. "type": "string"
  11150. },
  11151. "listingdate": {
  11152. "description": "交易开始日期",
  11153. "type": "string"
  11154. },
  11155. "marketid": {
  11156. "description": "所属市场ID",
  11157. "type": "integer"
  11158. },
  11159. "picurls": {
  11160. "description": "介绍图片[多张用逗号分隔]",
  11161. "type": "string"
  11162. },
  11163. "presaledqty": {
  11164. "description": "已预售量(预售结束时更新)",
  11165. "type": "integer"
  11166. },
  11167. "presaleqty": {
  11168. "description": "预售数量",
  11169. "type": "integer"
  11170. },
  11171. "quoteminunit": {
  11172. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11173. "type": "integer"
  11174. },
  11175. "refprice": {
  11176. "description": "参考价格[一口价]",
  11177. "type": "number"
  11178. },
  11179. "relatedgoodsid": {
  11180. "description": "关联交易合约ID",
  11181. "type": "integer"
  11182. },
  11183. "trademode": {
  11184. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11185. "type": "integer"
  11186. },
  11187. "videourls": {
  11188. "description": "介绍视频[多张用逗号分隔]",
  11189. "type": "string"
  11190. }
  11191. }
  11192. },
  11193. "models.HsbyPreGoodsDetail": {
  11194. "type": "object",
  11195. "required": [
  11196. "goodscode",
  11197. "goodsid",
  11198. "goodsname",
  11199. "marketid",
  11200. "trademode"
  11201. ],
  11202. "properties": {
  11203. "agreeunit": {
  11204. "description": "合约单位",
  11205. "type": "number"
  11206. },
  11207. "buymaxqty": {
  11208. "description": "购买上限 [71] - 0为不限",
  11209. "type": "integer"
  11210. },
  11211. "currency": {
  11212. "description": "货币",
  11213. "type": "string"
  11214. },
  11215. "currencysign": {
  11216. "description": "货币符号",
  11217. "type": "string"
  11218. },
  11219. "customername": {
  11220. "description": "发行单位",
  11221. "type": "string"
  11222. },
  11223. "decimalplace": {
  11224. "description": "报价小数位",
  11225. "type": "integer"
  11226. },
  11227. "desccityid": {
  11228. "description": "目的地(市)ID",
  11229. "type": "integer"
  11230. },
  11231. "descprovinceid": {
  11232. "description": "目的地(省)ID",
  11233. "type": "integer"
  11234. },
  11235. "enableqty": {
  11236. "description": "剩余数量",
  11237. "type": "integer"
  11238. },
  11239. "goodscode": {
  11240. "description": "商品代码(内部)",
  11241. "type": "string"
  11242. },
  11243. "goodsdesc": {
  11244. "description": "商品详情",
  11245. "type": "string"
  11246. },
  11247. "goodsid": {
  11248. "description": "商品ID(自增ID SEQ_GOODS)",
  11249. "type": "integer"
  11250. },
  11251. "goodsname": {
  11252. "description": "商品名称",
  11253. "type": "string"
  11254. },
  11255. "goodsstatus": {
  11256. "description": "商品状态- 2:未上市 3:上市",
  11257. "type": "integer"
  11258. },
  11259. "goodunit": {
  11260. "description": "报价单位",
  11261. "type": "string"
  11262. },
  11263. "lasttradedate": {
  11264. "description": "最后交易日期(状态:待退市)",
  11265. "type": "string"
  11266. },
  11267. "listingdate": {
  11268. "description": "交易开始日期",
  11269. "type": "string"
  11270. },
  11271. "lotsize": {
  11272. "description": "手数最小变动单位",
  11273. "type": "integer"
  11274. },
  11275. "marketid": {
  11276. "description": "所属市场ID",
  11277. "type": "integer"
  11278. },
  11279. "picurls": {
  11280. "description": "介绍图片[多张用逗号分隔]",
  11281. "type": "string"
  11282. },
  11283. "presaledqty": {
  11284. "description": "已预售量(预售结束时更新)",
  11285. "type": "integer"
  11286. },
  11287. "presaleqty": {
  11288. "description": "预售数量",
  11289. "type": "integer"
  11290. },
  11291. "quoteminunit": {
  11292. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11293. "type": "integer"
  11294. },
  11295. "refprice": {
  11296. "description": "参考价格[一口价]",
  11297. "type": "number"
  11298. },
  11299. "relatedgoodsid": {
  11300. "description": "关联交易合约ID",
  11301. "type": "integer"
  11302. },
  11303. "stepvalue": {
  11304. "description": "价格最小变动单位",
  11305. "type": "number"
  11306. },
  11307. "trademode": {
  11308. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11309. "type": "integer"
  11310. },
  11311. "vendorattr": {
  11312. "description": "供应商附件(多张,逗号分隔)",
  11313. "type": "string"
  11314. },
  11315. "vendorname": {
  11316. "description": "供应商名称",
  11317. "type": "string"
  11318. },
  11319. "vendorphone": {
  11320. "description": "供应商客服电话",
  11321. "type": "string"
  11322. },
  11323. "videourls": {
  11324. "description": "介绍视频[多张用逗号分隔]",
  11325. "type": "string"
  11326. }
  11327. }
  11328. },
  11329. "models.HsbySellCollectionOrder": {
  11330. "type": "object",
  11331. "required": [
  11332. "goodscode",
  11333. "goodsname",
  11334. "tradeid",
  11335. "trademode"
  11336. ],
  11337. "properties": {
  11338. "agreeunit": {
  11339. "description": "合约单位",
  11340. "type": "number"
  11341. },
  11342. "buyaccountid": {
  11343. "description": "买方账号ID[报价币种]",
  11344. "type": "integer"
  11345. },
  11346. "buyorderid": {
  11347. "description": "买方委托单号",
  11348. "type": "string"
  11349. },
  11350. "createtime": {
  11351. "description": "创建时间",
  11352. "type": "string"
  11353. },
  11354. "currencysign": {
  11355. "description": "货币符号",
  11356. "type": "string"
  11357. },
  11358. "decimalplace": {
  11359. "description": "报价小数位",
  11360. "type": "integer"
  11361. },
  11362. "goodscode": {
  11363. "description": "商品代码(内部)",
  11364. "type": "string"
  11365. },
  11366. "goodsid": {
  11367. "description": "商品ID",
  11368. "type": "integer"
  11369. },
  11370. "goodsname": {
  11371. "description": "商品名称",
  11372. "type": "string"
  11373. },
  11374. "marketid": {
  11375. "description": "市场ID",
  11376. "type": "integer"
  11377. },
  11378. "offamount": {
  11379. "description": "优惠金额",
  11380. "type": "number"
  11381. },
  11382. "payamount": {
  11383. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  11384. "type": "number"
  11385. },
  11386. "payflag": {
  11387. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  11388. "type": "integer"
  11389. },
  11390. "paylimitedtime": {
  11391. "description": "支付期限",
  11392. "type": "string"
  11393. },
  11394. "paytime": {
  11395. "description": "付款时间",
  11396. "type": "string"
  11397. },
  11398. "picurls": {
  11399. "description": "商品介绍图片[多张用逗号分隔]",
  11400. "type": "string"
  11401. },
  11402. "sellaccountid": {
  11403. "description": "卖方账号ID[报价币种]",
  11404. "type": "integer"
  11405. },
  11406. "sellorderid": {
  11407. "description": "卖方委托单号",
  11408. "type": "string"
  11409. },
  11410. "tradeamount": {
  11411. "description": "成交金额",
  11412. "type": "number"
  11413. },
  11414. "tradecharge": {
  11415. "description": "成交手续费(买方)",
  11416. "type": "number"
  11417. },
  11418. "tradedate": {
  11419. "description": "交易日(yyyyMMdd)",
  11420. "type": "string"
  11421. },
  11422. "tradeid": {
  11423. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11424. "type": "string"
  11425. },
  11426. "trademode": {
  11427. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11428. "type": "integer"
  11429. },
  11430. "tradeprice": {
  11431. "description": "成交价格",
  11432. "type": "number"
  11433. },
  11434. "tradeqty": {
  11435. "description": "成交数量",
  11436. "type": "integer"
  11437. }
  11438. }
  11439. },
  11440. "models.HsbySellMyDetail": {
  11441. "type": "object",
  11442. "required": [
  11443. "accountid",
  11444. "buyorsell",
  11445. "goodscode",
  11446. "goodsid",
  11447. "goodsname",
  11448. "marketid",
  11449. "orderid",
  11450. "time",
  11451. "trademode"
  11452. ],
  11453. "properties": {
  11454. "accountid": {
  11455. "description": "账户ID[报价币种]",
  11456. "type": "integer"
  11457. },
  11458. "agreeunit": {
  11459. "description": "合约单位",
  11460. "type": "number"
  11461. },
  11462. "buyorsell": {
  11463. "description": "买卖 - 0:买 1:卖",
  11464. "type": "integer"
  11465. },
  11466. "currencysign": {
  11467. "description": "货币符号",
  11468. "type": "string"
  11469. },
  11470. "decimalplace": {
  11471. "description": "报价小数位",
  11472. "type": "integer"
  11473. },
  11474. "goodscode": {
  11475. "description": "商品代码(内部)",
  11476. "type": "string"
  11477. },
  11478. "goodsid": {
  11479. "description": "商品ID",
  11480. "type": "integer"
  11481. },
  11482. "goodsname": {
  11483. "description": "商品名称",
  11484. "type": "string"
  11485. },
  11486. "marketid": {
  11487. "description": "市场ID",
  11488. "type": "integer"
  11489. },
  11490. "orderid": {
  11491. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  11492. "type": "string"
  11493. },
  11494. "ordertype": {
  11495. "description": "单据类型:0 - 发布中, 1 - 已完成",
  11496. "type": "integer"
  11497. },
  11498. "picurls": {
  11499. "description": "介绍图片[多张用逗号分隔]",
  11500. "type": "string"
  11501. },
  11502. "price": {
  11503. "description": "价格",
  11504. "type": "number"
  11505. },
  11506. "qty": {
  11507. "description": "数量",
  11508. "type": "integer"
  11509. },
  11510. "time": {
  11511. "description": "时间",
  11512. "type": "string"
  11513. },
  11514. "trademode": {
  11515. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11516. "type": "integer"
  11517. },
  11518. "vendorname": {
  11519. "description": "供应商名称",
  11520. "type": "string"
  11521. }
  11522. }
  11523. },
  11524. "models.HsbyTopGoods": {
  11525. "type": "object",
  11526. "required": [
  11527. "goodscode",
  11528. "goodsid",
  11529. "goodsname",
  11530. "marketid",
  11531. "trademode"
  11532. ],
  11533. "properties": {
  11534. "agreeunit": {
  11535. "description": "合约单位",
  11536. "type": "number"
  11537. },
  11538. "currency": {
  11539. "description": "货币",
  11540. "type": "string"
  11541. },
  11542. "currencysign": {
  11543. "description": "货币符号",
  11544. "type": "string"
  11545. },
  11546. "decimalplace": {
  11547. "description": "报价小数位",
  11548. "type": "integer"
  11549. },
  11550. "goodscode": {
  11551. "description": "商品代码(内部)",
  11552. "type": "string"
  11553. },
  11554. "goodsid": {
  11555. "description": "商品ID(自增ID SEQ_GOODS)",
  11556. "type": "integer"
  11557. },
  11558. "goodsname": {
  11559. "description": "商品名称",
  11560. "type": "string"
  11561. },
  11562. "hotindex": {
  11563. "description": "景点热度",
  11564. "type": "integer"
  11565. },
  11566. "last": {
  11567. "description": "现价",
  11568. "type": "number"
  11569. },
  11570. "marketid": {
  11571. "description": "所属市场ID",
  11572. "type": "integer"
  11573. },
  11574. "picurls": {
  11575. "description": "介绍图片[多张用逗号分隔]",
  11576. "type": "string"
  11577. },
  11578. "quoteminunit": {
  11579. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11580. "type": "integer"
  11581. },
  11582. "trademode": {
  11583. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11584. "type": "integer"
  11585. },
  11586. "videourls": {
  11587. "description": "介绍视频[多张用逗号分隔]",
  11588. "type": "string"
  11589. }
  11590. }
  11591. },
  11592. "models.HybsMyBuyOrderDetail": {
  11593. "type": "object",
  11594. "required": [
  11595. "accountid",
  11596. "buyorsell",
  11597. "goodscode",
  11598. "goodsid",
  11599. "goodsname",
  11600. "marketid",
  11601. "orderid",
  11602. "orderqty",
  11603. "ordertime",
  11604. "trademode"
  11605. ],
  11606. "properties": {
  11607. "accountid": {
  11608. "description": "账户ID[报价币种]",
  11609. "type": "integer"
  11610. },
  11611. "agreeunit": {
  11612. "description": "合约单位",
  11613. "type": "number"
  11614. },
  11615. "buyorsell": {
  11616. "description": "买卖 - 0:买 1:卖",
  11617. "type": "integer"
  11618. },
  11619. "cancelqty": {
  11620. "description": "撤单数量",
  11621. "type": "integer"
  11622. },
  11623. "currencysign": {
  11624. "description": "货币符号",
  11625. "type": "string"
  11626. },
  11627. "decimalplace": {
  11628. "description": "报价小数位",
  11629. "type": "integer"
  11630. },
  11631. "goodscode": {
  11632. "description": "商品代码(内部)",
  11633. "type": "string"
  11634. },
  11635. "goodsid": {
  11636. "description": "商品ID",
  11637. "type": "integer"
  11638. },
  11639. "goodsname": {
  11640. "description": "商品名称",
  11641. "type": "string"
  11642. },
  11643. "listingselecttype": {
  11644. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11645. "type": "integer"
  11646. },
  11647. "marketid": {
  11648. "description": "市场ID",
  11649. "type": "integer"
  11650. },
  11651. "mybuystatus": {
  11652. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  11653. "type": "integer"
  11654. },
  11655. "orderamount": {
  11656. "description": "委托金额",
  11657. "type": "number"
  11658. },
  11659. "orderid": {
  11660. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11661. "type": "string"
  11662. },
  11663. "orderprice": {
  11664. "description": "委托价格",
  11665. "type": "number"
  11666. },
  11667. "orderqty": {
  11668. "description": "委托数量",
  11669. "type": "integer"
  11670. },
  11671. "orderstatus": {
  11672. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11673. "type": "integer"
  11674. },
  11675. "ordertime": {
  11676. "description": "委托时间",
  11677. "type": "string"
  11678. },
  11679. "picurls1": {
  11680. "description": "预售商品介绍图片[多张用逗号分隔]",
  11681. "type": "string"
  11682. },
  11683. "picurls2": {
  11684. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  11685. "type": "string"
  11686. },
  11687. "trademode": {
  11688. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11689. "type": "integer"
  11690. },
  11691. "tradeqty": {
  11692. "description": "成交数量",
  11693. "type": "integer"
  11694. },
  11695. "vendorname1": {
  11696. "description": "预售商品供应商名称",
  11697. "type": "string"
  11698. },
  11699. "vendorname2": {
  11700. "description": "挂牌商品供应商名称",
  11701. "type": "string"
  11702. }
  11703. }
  11704. },
  11705. "models.Market": {
  11706. "type": "object",
  11707. "required": [
  11708. "marketid",
  11709. "marketstatus",
  11710. "openmethod",
  11711. "reckonpricealgorithm",
  11712. "trademode",
  11713. "tradeproperty"
  11714. ],
  11715. "properties": {
  11716. "auctionwrtype": {
  11717. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  11718. "type": "integer"
  11719. },
  11720. "canacceptquote": {
  11721. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  11722. "type": "integer"
  11723. },
  11724. "cangoodsexercise": {
  11725. "description": "[期权]是否可现货行权- 0:否 1:是",
  11726. "type": "integer"
  11727. },
  11728. "cangoodsexercisetype": {
  11729. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  11730. "type": "integer"
  11731. },
  11732. "canmanualquotestrike": {
  11733. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  11734. "type": "integer"
  11735. },
  11736. "canmutistage": {
  11737. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  11738. "type": "integer"
  11739. },
  11740. "canpreexercise": {
  11741. "description": "[期权]是否可预申报- 0:否 1:是",
  11742. "type": "integer"
  11743. },
  11744. "clearinterval": {
  11745. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  11746. "type": "integer"
  11747. },
  11748. "contracttmp": {
  11749. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  11750. "type": "string"
  11751. },
  11752. "exchareaid": {
  11753. "description": "所属交易所,可以没有",
  11754. "type": "integer"
  11755. },
  11756. "goodstype": {
  11757. "description": "商品类型 - 1:交易商品 2:仓单商品",
  11758. "type": "integer"
  11759. },
  11760. "hasrebate": {
  11761. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  11762. "type": "integer"
  11763. },
  11764. "hastradecredit": {
  11765. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  11766. "type": "integer"
  11767. },
  11768. "haswr": {
  11769. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  11770. "type": "integer"
  11771. },
  11772. "isdeductmargin": {
  11773. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  11774. "type": "integer"
  11775. },
  11776. "isrecordsource": {
  11777. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  11778. "type": "integer"
  11779. },
  11780. "isreleasemargin": {
  11781. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  11782. "type": "integer"
  11783. },
  11784. "marginformula": {
  11785. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  11786. "type": "integer"
  11787. },
  11788. "marginformula2": {
  11789. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  11790. "type": "integer"
  11791. },
  11792. "marketid": {
  11793. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  11794. "type": "integer"
  11795. },
  11796. "marketname": {
  11797. "description": "市场名称",
  11798. "type": "string"
  11799. },
  11800. "marketserviceid": {
  11801. "description": "市场服务ID",
  11802. "type": "integer"
  11803. },
  11804. "marketstatus": {
  11805. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  11806. "type": "integer"
  11807. },
  11808. "markettype": {
  11809. "description": "市场类型- 1:非交易服务 2:交易服务",
  11810. "type": "integer"
  11811. },
  11812. "matchermode": {
  11813. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  11814. "type": "integer"
  11815. },
  11816. "openmethod": {
  11817. "description": "开盘模式 - 0 自动 1手动",
  11818. "type": "integer"
  11819. },
  11820. "otcuserid": {
  11821. "description": "场外期权做市商[场外期权]",
  11822. "type": "integer"
  11823. },
  11824. "outersynctime": {
  11825. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  11826. "type": "string"
  11827. },
  11828. "pendingflag": {
  11829. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  11830. "type": "integer"
  11831. },
  11832. "pendingtime": {
  11833. "description": "待开市时间[通道交易-对冲](HH:mm)",
  11834. "type": "string"
  11835. },
  11836. "performancetempid": {
  11837. "description": "履约计划模板ID - 作废",
  11838. "type": "integer"
  11839. },
  11840. "premiumquotemode": {
  11841. "description": "权利金报价方式 - 1:自动 2:手动",
  11842. "type": "integer"
  11843. },
  11844. "rebateratio": {
  11845. "description": "返利比率[竞价式]",
  11846. "type": "number"
  11847. },
  11848. "reckonorder": {
  11849. "description": "结算顺序",
  11850. "type": "integer"
  11851. },
  11852. "reckonpricealgorithm": {
  11853. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  11854. "type": "integer"
  11855. },
  11856. "reckonpriceparam": {
  11857. "description": "结算价参数",
  11858. "type": "integer"
  11859. },
  11860. "reckontime": {
  11861. "description": "结算时间[通道交易-对冲](HH:mm)",
  11862. "type": "string"
  11863. },
  11864. "roleprioritytype": {
  11865. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  11866. "type": "integer"
  11867. },
  11868. "selllistingauditflag": {
  11869. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  11870. "type": "integer"
  11871. },
  11872. "trademarkettype": {
  11873. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  11874. "type": "integer"
  11875. },
  11876. "trademode": {
  11877. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11878. "type": "integer"
  11879. },
  11880. "tradeproperty": {
  11881. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  11882. "type": "integer"
  11883. },
  11884. "tradetype": {
  11885. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  11886. "type": "integer"
  11887. }
  11888. }
  11889. },
  11890. "models.Marketrun": {
  11891. "type": "object",
  11892. "required": [
  11893. "marketid",
  11894. "nexttradedate",
  11895. "reckonflag",
  11896. "runstatus",
  11897. "tradedate",
  11898. "tradedate2"
  11899. ],
  11900. "properties": {
  11901. "afternexttradedate": {
  11902. "description": "下下交易日",
  11903. "type": "string"
  11904. },
  11905. "clearquoteflag": {
  11906. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  11907. "type": "integer"
  11908. },
  11909. "lastreckondate": {
  11910. "description": "最新交易日(结算成功)",
  11911. "type": "string"
  11912. },
  11913. "machinedate": {
  11914. "description": "机器时间",
  11915. "type": "string"
  11916. },
  11917. "manualflag": {
  11918. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  11919. "type": "integer"
  11920. },
  11921. "marketid": {
  11922. "description": "市场ID",
  11923. "type": "integer"
  11924. },
  11925. "nexttradedate": {
  11926. "description": "下一交易日",
  11927. "type": "string"
  11928. },
  11929. "pretradedate": {
  11930. "description": "上一交易日",
  11931. "type": "string"
  11932. },
  11933. "reckonflag": {
  11934. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  11935. "type": "integer"
  11936. },
  11937. "runstatus": {
  11938. "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.今日免清算",
  11939. "type": "integer"
  11940. },
  11941. "sectionid": {
  11942. "description": "时间段号[多时段时用]",
  11943. "type": "integer"
  11944. },
  11945. "tradedate": {
  11946. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  11947. "type": "string"
  11948. },
  11949. "tradedate2": {
  11950. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  11951. "type": "string"
  11952. },
  11953. "updatetime": {
  11954. "description": "更新时间",
  11955. "type": "string"
  11956. }
  11957. }
  11958. },
  11959. "models.Messageboard": {
  11960. "type": "object",
  11961. "required": [
  11962. "messageboardid"
  11963. ],
  11964. "properties": {
  11965. "createtime": {
  11966. "description": "创建时间",
  11967. "type": "string"
  11968. },
  11969. "message": {
  11970. "description": "留言信息",
  11971. "type": "string"
  11972. },
  11973. "messageboardid": {
  11974. "description": "留言簿ID(SEQ_MessageBoard)",
  11975. "type": "integer"
  11976. },
  11977. "userid": {
  11978. "description": "用户ID",
  11979. "type": "integer"
  11980. }
  11981. }
  11982. },
  11983. "models.MyCoupon": {
  11984. "type": "object",
  11985. "required": [
  11986. "accountid",
  11987. "coupontypeid"
  11988. ],
  11989. "properties": {
  11990. "accountid": {
  11991. "description": "资金账户ID",
  11992. "type": "integer"
  11993. },
  11994. "areauserid": {
  11995. "description": "所属机构",
  11996. "type": "integer"
  11997. },
  11998. "conditionvalue": {
  11999. "description": "条件阈值(可为0)",
  12000. "type": "number"
  12001. },
  12002. "couponcategroy": {
  12003. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  12004. "type": "integer"
  12005. },
  12006. "couponname": {
  12007. "description": "优惠券名称",
  12008. "type": "string"
  12009. },
  12010. "coupontypeid": {
  12011. "description": "优惠券类型ID",
  12012. "type": "string"
  12013. },
  12014. "couponvalue": {
  12015. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  12016. "type": "number"
  12017. },
  12018. "curfreezeqty": {
  12019. "description": "期末冻结数量",
  12020. "type": "integer"
  12021. },
  12022. "curqty": {
  12023. "description": "期末数量",
  12024. "type": "integer"
  12025. },
  12026. "isgeneral": {
  12027. "description": "是否通用券 - 0:否 1:是",
  12028. "type": "integer"
  12029. },
  12030. "isunusable": {
  12031. "description": "是否不可用",
  12032. "type": "boolean"
  12033. },
  12034. "limitedflag": {
  12035. "description": "是否指定商品 - 0:不限 1:限制",
  12036. "type": "integer"
  12037. },
  12038. "limitedgoodsids": {
  12039. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  12040. "type": "string"
  12041. },
  12042. "orifreezeqty": {
  12043. "description": "期初冻结数量",
  12044. "type": "integer"
  12045. },
  12046. "oriqty": {
  12047. "description": "期初数量",
  12048. "type": "integer"
  12049. },
  12050. "reasontype": {
  12051. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  12052. "type": "integer"
  12053. },
  12054. "todaydecrease": {
  12055. "description": "今日减少",
  12056. "type": "integer"
  12057. },
  12058. "todayincrease": {
  12059. "description": "今日增加",
  12060. "type": "integer"
  12061. },
  12062. "userid": {
  12063. "description": "用户ID",
  12064. "type": "integer"
  12065. },
  12066. "userscope": {
  12067. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  12068. "type": "string"
  12069. }
  12070. }
  12071. },
  12072. "models.MyCouponHold": {
  12073. "type": "object",
  12074. "required": [
  12075. "couponholdid"
  12076. ],
  12077. "properties": {
  12078. "accountid": {
  12079. "description": "资金账户ID",
  12080. "type": "integer"
  12081. },
  12082. "conditionvalue": {
  12083. "description": "条件阈值(可为0)",
  12084. "type": "number"
  12085. },
  12086. "couponcategroy": {
  12087. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  12088. "type": "integer"
  12089. },
  12090. "couponholdid": {
  12091. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  12092. "type": "string"
  12093. },
  12094. "couponname": {
  12095. "description": "优惠券名称",
  12096. "type": "string"
  12097. },
  12098. "coupontypeid": {
  12099. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  12100. "type": "string"
  12101. },
  12102. "couponvalue": {
  12103. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  12104. "type": "number"
  12105. },
  12106. "createtime": {
  12107. "description": "创建时间",
  12108. "type": "string"
  12109. },
  12110. "enddate": {
  12111. "description": "结束日期",
  12112. "type": "string"
  12113. },
  12114. "giveapplyid": {
  12115. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  12116. "type": "integer"
  12117. },
  12118. "holdstatus": {
  12119. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  12120. "type": "integer"
  12121. },
  12122. "isgeneral": {
  12123. "description": "是否通用券 - 0:否 1:是",
  12124. "type": "integer"
  12125. },
  12126. "limitedflag": {
  12127. "description": "是否指定商品 - 0:不限 1:限制",
  12128. "type": "integer"
  12129. },
  12130. "limitedgoodsids": {
  12131. "description": "指定商品IDs[逗号分隔]",
  12132. "type": "string"
  12133. },
  12134. "qty": {
  12135. "description": "数量(按1平铺)",
  12136. "type": "integer"
  12137. },
  12138. "startdate": {
  12139. "description": "开始日期",
  12140. "type": "string"
  12141. },
  12142. "userid": {
  12143. "description": "用户ID",
  12144. "type": "integer"
  12145. },
  12146. "userscope": {
  12147. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  12148. "type": "string"
  12149. }
  12150. }
  12151. },
  12152. "models.MyUsedCoupon": {
  12153. "type": "object",
  12154. "required": [
  12155. "coupontypeid",
  12156. "orderid"
  12157. ],
  12158. "properties": {
  12159. "accountid": {
  12160. "description": "资金账户ID(买方)",
  12161. "type": "integer"
  12162. },
  12163. "conditionvalue": {
  12164. "description": "条件阈值(可为0)",
  12165. "type": "number"
  12166. },
  12167. "couponcategroy": {
  12168. "description": "种类 - 1:现金券 2:折扣券",
  12169. "type": "integer"
  12170. },
  12171. "couponname": {
  12172. "description": "优惠券名称",
  12173. "type": "string"
  12174. },
  12175. "coupontypeid": {
  12176. "description": "优惠券类型ID(买方)",
  12177. "type": "string"
  12178. },
  12179. "couponvalue": {
  12180. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  12181. "type": "number"
  12182. },
  12183. "createtime": {
  12184. "description": "创建时间",
  12185. "type": "string"
  12186. },
  12187. "goodsid": {
  12188. "description": "商品ID",
  12189. "type": "integer"
  12190. },
  12191. "handlestatus": {
  12192. "description": "处理状态",
  12193. "type": "integer"
  12194. },
  12195. "marketid": {
  12196. "description": "市场ID",
  12197. "type": "integer"
  12198. },
  12199. "offamount": {
  12200. "description": "优惠金额",
  12201. "type": "number"
  12202. },
  12203. "orderid": {
  12204. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12205. "type": "string"
  12206. },
  12207. "sellaccountid": {
  12208. "description": "资金账户ID(卖方)",
  12209. "type": "integer"
  12210. },
  12211. "tradeamount": {
  12212. "description": "成交金额",
  12213. "type": "number"
  12214. },
  12215. "tradeid": {
  12216. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12217. "type": "string"
  12218. },
  12219. "usedqty": {
  12220. "description": "使用数量",
  12221. "type": "integer"
  12222. }
  12223. }
  12224. },
  12225. "models.OperationPrimaryMenu": {
  12226. "type": "object",
  12227. "properties": {
  12228. "Children": {
  12229. "description": "二级功能菜单",
  12230. "type": "array",
  12231. "items": {
  12232. "$ref": "#/definitions/models.OperationSecondaryMenu"
  12233. }
  12234. },
  12235. "Key": {
  12236. "description": "菜单KEY",
  12237. "type": "string"
  12238. },
  12239. "Label": {
  12240. "description": "菜单标题",
  12241. "type": "string"
  12242. }
  12243. }
  12244. },
  12245. "models.OperationSecondaryMenu": {
  12246. "type": "object",
  12247. "properties": {
  12248. "Key": {
  12249. "description": "菜单KEY",
  12250. "type": "string"
  12251. },
  12252. "Label": {
  12253. "description": "菜单标题",
  12254. "type": "string"
  12255. },
  12256. "TabList": {
  12257. "description": "三级功能菜单",
  12258. "type": "array",
  12259. "items": {
  12260. "$ref": "#/definitions/models.OperationTabMenu"
  12261. }
  12262. }
  12263. }
  12264. },
  12265. "models.OperationTabMenu": {
  12266. "type": "object",
  12267. "properties": {
  12268. "Key": {
  12269. "description": "菜单KEY",
  12270. "type": "string"
  12271. },
  12272. "Label": {
  12273. "description": "菜单标题",
  12274. "type": "string"
  12275. }
  12276. }
  12277. },
  12278. "models.QuotePrimaryMenu": {
  12279. "type": "object",
  12280. "properties": {
  12281. "Index": {
  12282. "description": "序号",
  12283. "type": "integer"
  12284. },
  12285. "Key": {
  12286. "description": "键名",
  12287. "type": "string"
  12288. },
  12289. "Name": {
  12290. "description": "菜单名称",
  12291. "type": "string"
  12292. },
  12293. "SubMenus": {
  12294. "description": "子菜单",
  12295. "type": "array",
  12296. "items": {
  12297. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  12298. }
  12299. },
  12300. "SubTitleType": {
  12301. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  12302. "type": "integer"
  12303. },
  12304. "TradeModes": {
  12305. "description": "包含市场交易类型",
  12306. "type": "string"
  12307. }
  12308. }
  12309. },
  12310. "models.QuoteSecondaryMenu": {
  12311. "type": "object",
  12312. "properties": {
  12313. "ExExchangeCode": {
  12314. "description": "外部交易所代码",
  12315. "type": "string"
  12316. },
  12317. "ExExchangeID": {
  12318. "description": "外部交易所ID",
  12319. "type": "integer"
  12320. },
  12321. "GoodsGroupIDs": {
  12322. "description": "商品组ID列表",
  12323. "type": "array",
  12324. "items": {
  12325. "type": "integer"
  12326. }
  12327. },
  12328. "Index": {
  12329. "description": "序号",
  12330. "type": "integer"
  12331. },
  12332. "MarketID": {
  12333. "description": "市场ID",
  12334. "type": "integer"
  12335. },
  12336. "MenuTitle": {
  12337. "description": "菜单标题(市场名称或外部交易所名称)",
  12338. "type": "string"
  12339. },
  12340. "TradeMode": {
  12341. "description": "交易模式",
  12342. "type": "integer"
  12343. }
  12344. }
  12345. },
  12346. "models.SearchGoods": {
  12347. "type": "object",
  12348. "required": [
  12349. "goodscode",
  12350. "goodsid",
  12351. "goodsname",
  12352. "marketid",
  12353. "trademode"
  12354. ],
  12355. "properties": {
  12356. "goodscode": {
  12357. "description": "商品代码(内部)",
  12358. "type": "string"
  12359. },
  12360. "goodsid": {
  12361. "description": "商品ID(自增ID SEQ_GOODS)",
  12362. "type": "integer"
  12363. },
  12364. "goodsname": {
  12365. "description": "商品名称",
  12366. "type": "string"
  12367. },
  12368. "marketid": {
  12369. "description": "所属市场ID",
  12370. "type": "integer"
  12371. },
  12372. "marketname": {
  12373. "description": "市场名称",
  12374. "type": "string"
  12375. },
  12376. "trademode": {
  12377. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12378. "type": "integer"
  12379. }
  12380. }
  12381. },
  12382. "models.Szdz2imageconfig": {
  12383. "type": "object",
  12384. "required": [
  12385. "configid"
  12386. ],
  12387. "properties": {
  12388. "configid": {
  12389. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  12390. "type": "integer"
  12391. },
  12392. "imagepath": {
  12393. "description": "图片",
  12394. "type": "string"
  12395. },
  12396. "imagetype": {
  12397. "description": "类型 - 1:App首页轮播 2:我的",
  12398. "type": "integer"
  12399. },
  12400. "sort": {
  12401. "description": "排序",
  12402. "type": "integer"
  12403. },
  12404. "title": {
  12405. "description": "标题",
  12406. "type": "string"
  12407. },
  12408. "url": {
  12409. "description": "链接",
  12410. "type": "string"
  12411. }
  12412. }
  12413. },
  12414. "models.Szdz3convertconfig": {
  12415. "type": "object",
  12416. "required": [
  12417. "converttype",
  12418. "innergoodsid",
  12419. "outergoodscode"
  12420. ],
  12421. "properties": {
  12422. "canin": {
  12423. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  12424. "type": "integer"
  12425. },
  12426. "canout": {
  12427. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  12428. "type": "integer"
  12429. },
  12430. "converttype": {
  12431. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  12432. "type": "integer"
  12433. },
  12434. "createtime": {
  12435. "description": "创建时间",
  12436. "type": "string"
  12437. },
  12438. "creatorid": {
  12439. "description": "创建人",
  12440. "type": "integer"
  12441. },
  12442. "daymaxvalue": {
  12443. "description": "当日最大转入限制",
  12444. "type": "number"
  12445. },
  12446. "freezedays": {
  12447. "description": "冻结天数 [5:花生米转交易]",
  12448. "type": "integer"
  12449. },
  12450. "innergoodsid": {
  12451. "description": "内部商品ID[交易]",
  12452. "type": "integer"
  12453. },
  12454. "inratio": {
  12455. "description": "目标值",
  12456. "type": "integer"
  12457. },
  12458. "modifierid": {
  12459. "description": "修改人",
  12460. "type": "integer"
  12461. },
  12462. "modifytime": {
  12463. "description": "修改时间",
  12464. "type": "string"
  12465. },
  12466. "outergoodscode": {
  12467. "description": "外部商品代码[JD\\PD]",
  12468. "type": "string"
  12469. },
  12470. "outratio": {
  12471. "description": "源值",
  12472. "type": "integer"
  12473. },
  12474. "pddecimalplace": {
  12475. "description": "PD小数位",
  12476. "type": "integer"
  12477. },
  12478. "timemaxvalue": {
  12479. "description": "单次最大转入限制",
  12480. "type": "number"
  12481. },
  12482. "timeminvalue": {
  12483. "description": "单次最小转入限制",
  12484. "type": "number"
  12485. }
  12486. }
  12487. },
  12488. "models.Szdz3searchwhitelist": {
  12489. "type": "object",
  12490. "required": [
  12491. "userid"
  12492. ],
  12493. "properties": {
  12494. "createtime": {
  12495. "description": "创建时间",
  12496. "type": "string"
  12497. },
  12498. "creatorid": {
  12499. "description": "创建人",
  12500. "type": "integer"
  12501. },
  12502. "modifierid": {
  12503. "description": "修改人",
  12504. "type": "integer"
  12505. },
  12506. "modifytime": {
  12507. "description": "修改时间",
  12508. "type": "string"
  12509. },
  12510. "userid": {
  12511. "description": "用户ID",
  12512. "type": "integer"
  12513. }
  12514. }
  12515. },
  12516. "models.Tablecolumnconfig": {
  12517. "type": "object",
  12518. "required": [
  12519. "autoid"
  12520. ],
  12521. "properties": {
  12522. "aligntype": {
  12523. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  12524. "type": "integer"
  12525. },
  12526. "autoid": {
  12527. "description": "AutoID",
  12528. "type": "integer"
  12529. },
  12530. "columnfield": {
  12531. "description": "列字段",
  12532. "type": "string"
  12533. },
  12534. "columntitle": {
  12535. "description": "列Title",
  12536. "type": "string"
  12537. },
  12538. "columnwidth": {
  12539. "description": "列宽",
  12540. "type": "string"
  12541. },
  12542. "formatterstring": {
  12543. "description": "格式化字符",
  12544. "type": "string"
  12545. },
  12546. "formattertype": {
  12547. "description": "格式化类型",
  12548. "type": "string"
  12549. },
  12550. "groupname": {
  12551. "description": "表头分组名称",
  12552. "type": "string"
  12553. },
  12554. "isshow": {
  12555. "description": "是否显示 - 0:不显示 1:显示",
  12556. "type": "integer"
  12557. },
  12558. "needsummary": {
  12559. "description": "是否需要汇总 - 0:不需要 1:需要",
  12560. "type": "integer"
  12561. },
  12562. "orderindex": {
  12563. "description": "顺序",
  12564. "type": "integer"
  12565. },
  12566. "remark": {
  12567. "description": "备注",
  12568. "type": "string"
  12569. },
  12570. "summarytype": {
  12571. "description": "汇总类型 - 1:加总 2:最后一个",
  12572. "type": "integer"
  12573. },
  12574. "tablekey": {
  12575. "description": "列表Key",
  12576. "type": "string"
  12577. }
  12578. }
  12579. },
  12580. "models.Useraccount": {
  12581. "type": "object",
  12582. "required": [
  12583. "userid"
  12584. ],
  12585. "properties": {
  12586. "accountname": {
  12587. "description": "账户名称(机构名称)",
  12588. "type": "string"
  12589. },
  12590. "accountstatus": {
  12591. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  12592. "type": "integer"
  12593. },
  12594. "auditremark": {
  12595. "description": "审核备注",
  12596. "type": "string"
  12597. },
  12598. "audittime": {
  12599. "description": "审核时间",
  12600. "type": "string"
  12601. },
  12602. "audituserid": {
  12603. "description": "审核人",
  12604. "type": "integer"
  12605. },
  12606. "broker": {
  12607. "description": "所属经纪人ID",
  12608. "type": "integer"
  12609. },
  12610. "canceltime": {
  12611. "description": "销户时间",
  12612. "type": "string"
  12613. },
  12614. "canceluserid": {
  12615. "description": "销户人",
  12616. "type": "integer"
  12617. },
  12618. "createtime": {
  12619. "description": "创建时间",
  12620. "type": "string"
  12621. },
  12622. "creatorid": {
  12623. "description": "创建人",
  12624. "type": "integer"
  12625. },
  12626. "hasauth": {
  12627. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  12628. "type": "integer"
  12629. },
  12630. "isanonymous": {
  12631. "description": "是否匿名下单 - 0:否 1:是",
  12632. "type": "integer"
  12633. },
  12634. "maxinvestornum": {
  12635. "description": "最大用户数(经纪会员下投资者个数)",
  12636. "type": "integer"
  12637. },
  12638. "memberuserid": {
  12639. "description": "所属会员ID",
  12640. "type": "integer"
  12641. },
  12642. "modifierid": {
  12643. "description": "修改人",
  12644. "type": "integer"
  12645. },
  12646. "modifyremark": {
  12647. "description": "变更备注",
  12648. "type": "string"
  12649. },
  12650. "modifystatus": {
  12651. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  12652. "type": "integer"
  12653. },
  12654. "modifytime": {
  12655. "description": "修改时间",
  12656. "type": "string"
  12657. },
  12658. "parentuserid": {
  12659. "description": "所属机构ID",
  12660. "type": "integer"
  12661. },
  12662. "reckonaccountid": {
  12663. "description": "默认结算资金账号ID(机构分润使用) 作废",
  12664. "type": "integer"
  12665. },
  12666. "refercount": {
  12667. "description": "推荐总人数",
  12668. "type": "integer"
  12669. },
  12670. "refereeuserid": {
  12671. "description": "推荐人ID",
  12672. "type": "integer"
  12673. },
  12674. "refernum": {
  12675. "description": "推荐码",
  12676. "type": "string"
  12677. },
  12678. "subarealevelpath": {
  12679. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  12680. "type": "string"
  12681. },
  12682. "userid": {
  12683. "description": "用户ID",
  12684. "type": "integer"
  12685. },
  12686. "usertype": {
  12687. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  12688. "type": "integer"
  12689. }
  12690. }
  12691. },
  12692. "models.Userfavoritegoods": {
  12693. "type": "object",
  12694. "required": [
  12695. "goodsid"
  12696. ],
  12697. "properties": {
  12698. "goodsid": {
  12699. "description": "商品ID",
  12700. "type": "integer"
  12701. }
  12702. }
  12703. },
  12704. "models.Userinfo": {
  12705. "type": "object",
  12706. "required": [
  12707. "userid"
  12708. ],
  12709. "properties": {
  12710. "address": {
  12711. "description": "地址",
  12712. "type": "string"
  12713. },
  12714. "attachment1": {
  12715. "description": "附件1",
  12716. "type": "string"
  12717. },
  12718. "attachment2": {
  12719. "description": "附件2",
  12720. "type": "string"
  12721. },
  12722. "bankaccount": {
  12723. "description": "银行帐号 (加密存储)",
  12724. "type": "string"
  12725. },
  12726. "bankaccountname": {
  12727. "description": "收款人名称",
  12728. "type": "string"
  12729. },
  12730. "bankcardfrontphotourl": {
  12731. "description": "银行卡正面照地址",
  12732. "type": "string"
  12733. },
  12734. "bankid": {
  12735. "description": "银行编码",
  12736. "type": "string"
  12737. },
  12738. "bankname": {
  12739. "description": "银行名称",
  12740. "type": "string"
  12741. },
  12742. "biznature": {
  12743. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12744. "type": "integer"
  12745. },
  12746. "bizscope": {
  12747. "description": "企业经营范围(企业)",
  12748. "type": "string"
  12749. },
  12750. "cardbackphotourl": {
  12751. "description": "证件背面图片地址",
  12752. "type": "string"
  12753. },
  12754. "cardfrontphotourl": {
  12755. "description": "证件正面图片地址",
  12756. "type": "string"
  12757. },
  12758. "cardnum": {
  12759. "description": "证件号码(加密存储)",
  12760. "type": "string"
  12761. },
  12762. "cardtypeid": {
  12763. "description": "证件类型ID",
  12764. "type": "integer"
  12765. },
  12766. "cityid": {
  12767. "description": "市",
  12768. "type": "integer"
  12769. },
  12770. "company": {
  12771. "description": "公司(个人)",
  12772. "type": "string"
  12773. },
  12774. "contactname": {
  12775. "description": "联系人",
  12776. "type": "string"
  12777. },
  12778. "countryid": {
  12779. "description": "国家",
  12780. "type": "integer"
  12781. },
  12782. "createtime": {
  12783. "description": "创建时间",
  12784. "type": "string"
  12785. },
  12786. "creatorid": {
  12787. "description": "创建人",
  12788. "type": "integer"
  12789. },
  12790. "customername": {
  12791. "description": "客户名称(企业名称)",
  12792. "type": "string"
  12793. },
  12794. "districtid": {
  12795. "description": "地区",
  12796. "type": "integer"
  12797. },
  12798. "email": {
  12799. "description": "邮件(加密存储)",
  12800. "type": "string"
  12801. },
  12802. "fax": {
  12803. "description": "传真(加密存储)",
  12804. "type": "string"
  12805. },
  12806. "halfbodyphotourl": {
  12807. "description": "半身照地址",
  12808. "type": "string"
  12809. },
  12810. "hasencrypt": {
  12811. "description": "数据是否已加密 - 0:未加密 1:已加密",
  12812. "type": "integer"
  12813. },
  12814. "headurl": {
  12815. "description": "头像地址",
  12816. "type": "string"
  12817. },
  12818. "legalcardbackphotourl": {
  12819. "description": "法人身份证背面照地址",
  12820. "type": "string"
  12821. },
  12822. "legalcardfrontphotourl": {
  12823. "description": "法人身份证正面照地址",
  12824. "type": "string"
  12825. },
  12826. "legalpersonname": {
  12827. "description": "法人姓名(企业)",
  12828. "type": "string"
  12829. },
  12830. "mobile": {
  12831. "description": "手机号码(加密存储)",
  12832. "type": "string"
  12833. },
  12834. "mobile2": {
  12835. "description": "手机号码[明文-尚志]",
  12836. "type": "string"
  12837. },
  12838. "modifierid": {
  12839. "description": "修改人",
  12840. "type": "integer"
  12841. },
  12842. "modifiertime": {
  12843. "description": "修改时间",
  12844. "type": "string"
  12845. },
  12846. "needinvoice": {
  12847. "description": "是否需要发票 - 0:不需要 1:需要",
  12848. "type": "integer"
  12849. },
  12850. "nickname": {
  12851. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  12852. "type": "string"
  12853. },
  12854. "openmode": {
  12855. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  12856. "type": "integer"
  12857. },
  12858. "otherurl": {
  12859. "description": "其它图片地址[使用分号分隔]",
  12860. "type": "string"
  12861. },
  12862. "postalcode": {
  12863. "description": "邮政编码",
  12864. "type": "string"
  12865. },
  12866. "provinceid": {
  12867. "description": "省",
  12868. "type": "integer"
  12869. },
  12870. "qq": {
  12871. "description": "QQ(加密存储",
  12872. "type": "string"
  12873. },
  12874. "remark": {
  12875. "description": "备注",
  12876. "type": "string"
  12877. },
  12878. "sex": {
  12879. "description": "用户性别 0: 女 1: 男",
  12880. "type": "integer"
  12881. },
  12882. "signpdfurl": {
  12883. "description": "签约pdf文件",
  12884. "type": "string"
  12885. },
  12886. "telphone": {
  12887. "description": "联系电话(加密存储)",
  12888. "type": "string"
  12889. },
  12890. "userid": {
  12891. "description": "用户ID",
  12892. "type": "integer"
  12893. },
  12894. "userinfotype": {
  12895. "description": "用户信息类型 - 1:个人 2:企业",
  12896. "type": "integer"
  12897. },
  12898. "userstatus": {
  12899. "description": "用户状态 - 1:正常 2:注销",
  12900. "type": "integer"
  12901. },
  12902. "usertype": {
  12903. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  12904. "type": "integer"
  12905. },
  12906. "wechat": {
  12907. "description": "微信(加密存储)",
  12908. "type": "string"
  12909. },
  12910. "wskhinfo": {
  12911. "description": "开户申请信息(JSON)",
  12912. "type": "string"
  12913. }
  12914. }
  12915. },
  12916. "models.WRCategoryTree": {
  12917. "type": "object",
  12918. "required": [
  12919. "categoryid"
  12920. ],
  12921. "properties": {
  12922. "areauserid": {
  12923. "description": "所属机构",
  12924. "type": "integer"
  12925. },
  12926. "categorydesc": {
  12927. "description": "类别描述",
  12928. "type": "string"
  12929. },
  12930. "categoryid": {
  12931. "description": "类别ID(SEQ_WRCATEGORY)",
  12932. "type": "integer"
  12933. },
  12934. "categoryname": {
  12935. "description": "类别名称",
  12936. "type": "string"
  12937. },
  12938. "iconurl": {
  12939. "description": "图标地址",
  12940. "type": "string"
  12941. },
  12942. "orderindex": {
  12943. "description": "顺序",
  12944. "type": "integer"
  12945. },
  12946. "parentcategoryid": {
  12947. "description": "父类别ID",
  12948. "type": "integer"
  12949. },
  12950. "subcategory": {
  12951. "description": "子分类",
  12952. "type": "array",
  12953. "items": {
  12954. "$ref": "#/definitions/models.WRCategoryTree"
  12955. }
  12956. }
  12957. }
  12958. },
  12959. "models.WRSConverTDetail": {
  12960. "type": "object",
  12961. "properties": {
  12962. "convertratio": {
  12963. "description": "套保系数",
  12964. "type": "number"
  12965. },
  12966. "deliverygoodsid": {
  12967. "description": "现货品种ID",
  12968. "type": "integer"
  12969. },
  12970. "middlegoodscode": {
  12971. "description": "套保品种代码",
  12972. "type": "string"
  12973. },
  12974. "middlegoodsid": {
  12975. "description": "套保品种ID",
  12976. "type": "integer"
  12977. },
  12978. "middlegoodsname": {
  12979. "description": "套保品种名称",
  12980. "type": "string"
  12981. },
  12982. "modifytime": {
  12983. "description": "修改时间",
  12984. "type": "string"
  12985. },
  12986. "wrstandardid": {
  12987. "description": "现货商品ID",
  12988. "type": "integer"
  12989. }
  12990. }
  12991. },
  12992. "models.WRStandardInfo": {
  12993. "type": "object",
  12994. "required": [
  12995. "wrstandardid"
  12996. ],
  12997. "properties": {
  12998. "createtime": {
  12999. "description": "创建时间",
  13000. "type": "string"
  13001. },
  13002. "creatorid": {
  13003. "description": "创建人",
  13004. "type": "integer"
  13005. },
  13006. "deliverygoodsid": {
  13007. "description": "品种ID",
  13008. "type": "integer"
  13009. },
  13010. "deliverygoodsname": {
  13011. "description": "交割商品名称",
  13012. "type": "string"
  13013. },
  13014. "factoryitemjson": {
  13015. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  13016. "type": "string"
  13017. },
  13018. "isvalid": {
  13019. "description": "是否有效 - 0:无效 1:有效",
  13020. "type": "integer"
  13021. },
  13022. "minivalue": {
  13023. "description": "最小变动值",
  13024. "type": "integer"
  13025. },
  13026. "minivaluedp": {
  13027. "description": "最小变动值小数位",
  13028. "type": "integer"
  13029. },
  13030. "realminivalue": {
  13031. "description": "实际最小变动值",
  13032. "type": "integer"
  13033. },
  13034. "realminivaluedp": {
  13035. "description": "实际最小变动值小数位",
  13036. "type": "integer"
  13037. },
  13038. "unitid": {
  13039. "description": "单位ID",
  13040. "type": "integer"
  13041. },
  13042. "unitname": {
  13043. "description": "单位",
  13044. "type": "string"
  13045. },
  13046. "updatetime": {
  13047. "description": "更新时间",
  13048. "type": "string"
  13049. },
  13050. "updatorid": {
  13051. "description": "更新人",
  13052. "type": "integer"
  13053. },
  13054. "wrsstatus": {
  13055. "description": "状态 - 作废 - 0:未激活 1:正常",
  13056. "type": "integer"
  13057. },
  13058. "wrstandardcode": {
  13059. "description": "仓单标准代码",
  13060. "type": "string"
  13061. },
  13062. "wrstandardid": {
  13063. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  13064. "type": "integer"
  13065. },
  13066. "wrstandardname": {
  13067. "description": "仓单标准名称",
  13068. "type": "string"
  13069. }
  13070. }
  13071. },
  13072. "models.Warehouseinfo": {
  13073. "type": "object",
  13074. "required": [
  13075. "autoid",
  13076. "warehousecode"
  13077. ],
  13078. "properties": {
  13079. "address": {
  13080. "description": "详细地址",
  13081. "type": "string"
  13082. },
  13083. "areauserid": {
  13084. "description": "所属机构",
  13085. "type": "integer"
  13086. },
  13087. "autoid": {
  13088. "description": "自增ID",
  13089. "type": "integer"
  13090. },
  13091. "cityid": {
  13092. "description": "市",
  13093. "type": "integer"
  13094. },
  13095. "contactname": {
  13096. "description": "联系人",
  13097. "type": "string"
  13098. },
  13099. "contactnum": {
  13100. "description": "联系电话",
  13101. "type": "string"
  13102. },
  13103. "countryid": {
  13104. "description": "国家",
  13105. "type": "integer"
  13106. },
  13107. "createtime": {
  13108. "description": "创建时间",
  13109. "type": "string"
  13110. },
  13111. "districtid": {
  13112. "description": "区",
  13113. "type": "integer"
  13114. },
  13115. "hasvideo": {
  13116. "description": "是否有视频 - 0:无 1:有",
  13117. "type": "integer"
  13118. },
  13119. "provinceid": {
  13120. "description": "省",
  13121. "type": "integer"
  13122. },
  13123. "remark": {
  13124. "description": "审核备注",
  13125. "type": "string"
  13126. },
  13127. "videourl": {
  13128. "description": "视频地址",
  13129. "type": "string"
  13130. },
  13131. "warehousecode": {
  13132. "description": "仓库代码",
  13133. "type": "string"
  13134. },
  13135. "warehousename": {
  13136. "description": "仓库名称",
  13137. "type": "string"
  13138. },
  13139. "warehousestatus": {
  13140. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  13141. "type": "integer"
  13142. },
  13143. "warehousetype": {
  13144. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13145. "type": "integer"
  13146. }
  13147. }
  13148. },
  13149. "order.QueryHisTradeDetailRsp": {
  13150. "type": "object",
  13151. "required": [
  13152. "accountid",
  13153. "buyorsell",
  13154. "goodsid",
  13155. "histradedate",
  13156. "marketid",
  13157. "memberuserid",
  13158. "orderid",
  13159. "tradeamount",
  13160. "tradedate",
  13161. "tradeid",
  13162. "tradeprice",
  13163. "tradeqty",
  13164. "tradetime"
  13165. ],
  13166. "properties": {
  13167. "accountid": {
  13168. "description": "账户ID[报价币种]",
  13169. "type": "integer"
  13170. },
  13171. "buildtype": {
  13172. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  13173. "type": "integer"
  13174. },
  13175. "buyorsell": {
  13176. "description": "方向 - 0:买 1:卖",
  13177. "type": "integer"
  13178. },
  13179. "charge": {
  13180. "description": "手续费",
  13181. "type": "number"
  13182. },
  13183. "closecharge": {
  13184. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  13185. "type": "number"
  13186. },
  13187. "closeexchagechargevalue": {
  13188. "description": "平仓交易所手续费设置值",
  13189. "type": "number"
  13190. },
  13191. "closefeealgorithm": {
  13192. "description": "平仓手续费收取方式 1:比率 2:固定",
  13193. "type": "integer"
  13194. },
  13195. "closememberchargevalue": {
  13196. "description": "平仓会员手续费设置值",
  13197. "type": "number"
  13198. },
  13199. "closepl": {
  13200. "description": "平仓盈亏",
  13201. "type": "number"
  13202. },
  13203. "closepl2": {
  13204. "description": "平仓盈亏[逐笔]",
  13205. "type": "number"
  13206. },
  13207. "closeqty": {
  13208. "description": "平仓数量(先建后平操作 需要记录)",
  13209. "type": "integer"
  13210. },
  13211. "creditamount": {
  13212. "description": "授信金额",
  13213. "type": "number"
  13214. },
  13215. "gcaccountid": {
  13216. "description": "账户ID[合约币种]",
  13217. "type": "integer"
  13218. },
  13219. "goodscode": {
  13220. "description": "商品代码",
  13221. "type": "string"
  13222. },
  13223. "goodsid": {
  13224. "description": "商品ID",
  13225. "type": "integer"
  13226. },
  13227. "goodsname": {
  13228. "description": "商品名称",
  13229. "type": "string"
  13230. },
  13231. "histradedate": {
  13232. "description": "历史交易日",
  13233. "type": "string"
  13234. },
  13235. "intclosepl": {
  13236. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  13237. "type": "integer"
  13238. },
  13239. "isconfirmexercise": {
  13240. "description": "是否确认行权- 0:否 1:是",
  13241. "type": "integer"
  13242. },
  13243. "ismain": {
  13244. "description": "是否主单 - 0:不是 1:是",
  13245. "type": "integer"
  13246. },
  13247. "ispreexercise": {
  13248. "description": "是否预申报- 0:否 1:是",
  13249. "type": "integer"
  13250. },
  13251. "isreckoned": {
  13252. "description": "是否结算 - 0:未结算 1:已结算",
  13253. "type": "integer"
  13254. },
  13255. "isvaliddata": {
  13256. "description": "是否有效 - 0:无效 1:有效",
  13257. "type": "integer"
  13258. },
  13259. "listingselecttype": {
  13260. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13261. "type": "integer"
  13262. },
  13263. "marketid": {
  13264. "description": "市场ID",
  13265. "type": "integer"
  13266. },
  13267. "marketname": {
  13268. "description": "市场名称",
  13269. "type": "string"
  13270. },
  13271. "matchaccountid": {
  13272. "description": "对手账号id",
  13273. "type": "integer"
  13274. },
  13275. "memberuserid": {
  13276. "description": "会员id 个人投资者 需要填写",
  13277. "type": "integer"
  13278. },
  13279. "opencharge": {
  13280. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  13281. "type": "number"
  13282. },
  13283. "openexchagechargevalue": {
  13284. "description": "建仓交易所手续费设置值",
  13285. "type": "number"
  13286. },
  13287. "openfeealgorithm": {
  13288. "description": "建仓手续费收取方式 1:比率 2:固定",
  13289. "type": "integer"
  13290. },
  13291. "openmemberchargevalue": {
  13292. "description": "建仓会员手续费设置值",
  13293. "type": "number"
  13294. },
  13295. "openqty": {
  13296. "description": "开仓数量(先建后平操作 需要记录)",
  13297. "type": "integer"
  13298. },
  13299. "optiontype": {
  13300. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  13301. "type": "integer"
  13302. },
  13303. "orderid": {
  13304. "description": "委托单号",
  13305. "type": "string"
  13306. },
  13307. "performanceplanid": {
  13308. "description": "履约计划ID[期权]",
  13309. "type": "integer"
  13310. },
  13311. "performancestatus": {
  13312. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  13313. "type": "integer"
  13314. },
  13315. "preexerciseprice": {
  13316. "description": "预申报价格",
  13317. "type": "number"
  13318. },
  13319. "premium": {
  13320. "description": "权利金 - [持仓单的权利金]",
  13321. "type": "number"
  13322. },
  13323. "relatedouttradeid": {
  13324. "description": "关联外部成交单ID",
  13325. "type": "integer"
  13326. },
  13327. "status": {
  13328. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  13329. "type": "integer"
  13330. },
  13331. "tradeamount": {
  13332. "description": "成交金额[账户币种,用于所有权]",
  13333. "type": "number"
  13334. },
  13335. "tradedate": {
  13336. "description": "交易日(yyyyMMdd)",
  13337. "type": "string"
  13338. },
  13339. "tradeid": {
  13340. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13341. "type": "string"
  13342. },
  13343. "trademode": {
  13344. "description": "交易模式",
  13345. "type": "integer"
  13346. },
  13347. "tradeprice": {
  13348. "description": "成交价格",
  13349. "type": "number"
  13350. },
  13351. "tradeproperty": {
  13352. "description": "交易属性",
  13353. "type": "integer"
  13354. },
  13355. "tradeqty": {
  13356. "description": "成交数量",
  13357. "type": "integer"
  13358. },
  13359. "tradetime": {
  13360. "description": "成交时间",
  13361. "type": "string"
  13362. },
  13363. "tradetype": {
  13364. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  13365. "type": "integer"
  13366. }
  13367. }
  13368. },
  13369. "order.QueryHisTradeOrderDetailRsp": {
  13370. "type": "object",
  13371. "required": [
  13372. "accountid",
  13373. "buildtype",
  13374. "buyorsell",
  13375. "goodsid",
  13376. "histradedate",
  13377. "marketid",
  13378. "memberuserid",
  13379. "operatetype",
  13380. "orderid",
  13381. "orderqty",
  13382. "ordertime",
  13383. "pricemode",
  13384. "tradedate",
  13385. "validtype"
  13386. ],
  13387. "properties": {
  13388. "accountid": {
  13389. "description": "账户ID[报价币种]",
  13390. "type": "integer"
  13391. },
  13392. "buildtype": {
  13393. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  13394. "type": "integer"
  13395. },
  13396. "buyorsell": {
  13397. "description": "买卖 - 0:买 1:卖",
  13398. "type": "integer"
  13399. },
  13400. "cancelorderid": {
  13401. "description": "撤单单号(撤单时填写)",
  13402. "type": "string"
  13403. },
  13404. "cancelqty": {
  13405. "description": "撤单数量",
  13406. "type": "integer"
  13407. },
  13408. "clientordertime": {
  13409. "description": "客户端委托时间",
  13410. "type": "string"
  13411. },
  13412. "clientticket": {
  13413. "description": "客户端流水号",
  13414. "type": "string"
  13415. },
  13416. "clienttype": {
  13417. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  13418. "type": "integer"
  13419. },
  13420. "closeexchagechargevalue": {
  13421. "description": "平仓交易所手续费设置值",
  13422. "type": "number"
  13423. },
  13424. "closefeealgorithm": {
  13425. "description": "平仓手续费收取方式 1:比率 2:固定",
  13426. "type": "integer"
  13427. },
  13428. "closefreezecharge": {
  13429. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  13430. "type": "number"
  13431. },
  13432. "closememberchargevalue": {
  13433. "description": "平仓会员手续费设置值",
  13434. "type": "number"
  13435. },
  13436. "closeqty": {
  13437. "description": "平仓数量(先建后平操作 需要记录)",
  13438. "type": "integer"
  13439. },
  13440. "closetradeqty": {
  13441. "description": "平仓成交数量(先建后平操作,需要记录)",
  13442. "type": "integer"
  13443. },
  13444. "closeunfreezecharge": {
  13445. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  13446. "type": "number"
  13447. },
  13448. "delistingtype": {
  13449. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  13450. "type": "integer"
  13451. },
  13452. "freezecharge": {
  13453. "description": "冻结手续费",
  13454. "type": "number"
  13455. },
  13456. "freezemargin": {
  13457. "description": "冻结保证金(冻结交易金额)",
  13458. "type": "number"
  13459. },
  13460. "gcaccountid": {
  13461. "description": "账户ID[合约币种]",
  13462. "type": "integer"
  13463. },
  13464. "goodscode": {
  13465. "description": "商品代码",
  13466. "type": "string"
  13467. },
  13468. "goodsid": {
  13469. "description": "商品ID",
  13470. "type": "integer"
  13471. },
  13472. "goodsname": {
  13473. "description": "商品名称",
  13474. "type": "string"
  13475. },
  13476. "histradedate": {
  13477. "description": "历史交易日",
  13478. "type": "string"
  13479. },
  13480. "isconfirmexercise": {
  13481. "description": "是否确认行权- 0:否 1:是",
  13482. "type": "integer"
  13483. },
  13484. "ispreexercise": {
  13485. "description": "是否预申报- 0:否 1:是",
  13486. "type": "integer"
  13487. },
  13488. "isvaliddata": {
  13489. "description": "是否有效 - 0:无效 1:有效",
  13490. "type": "integer"
  13491. },
  13492. "listingselecttype": {
  13493. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13494. "type": "integer"
  13495. },
  13496. "marginalgorithm": {
  13497. "description": "保证金收取方式 1:比率 2:固定",
  13498. "type": "integer"
  13499. },
  13500. "marginvalue": {
  13501. "description": "即市保证金设置值",
  13502. "type": "number"
  13503. },
  13504. "marketid": {
  13505. "description": "市场ID",
  13506. "type": "integer"
  13507. },
  13508. "marketmaxsub": {
  13509. "description": "市价最大偏移范围",
  13510. "type": "number"
  13511. },
  13512. "marketname": {
  13513. "description": "市场名称",
  13514. "type": "string"
  13515. },
  13516. "memberuserid": {
  13517. "description": "所属会员UserID",
  13518. "type": "integer"
  13519. },
  13520. "openexchagechargevalue": {
  13521. "description": "建仓交易所手续费设置值",
  13522. "type": "number"
  13523. },
  13524. "openfeealgorithm": {
  13525. "description": "建仓手续费收取方式 1:比率 2:固定",
  13526. "type": "integer"
  13527. },
  13528. "openfreezecharge": {
  13529. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  13530. "type": "number"
  13531. },
  13532. "openmemberchargevalue": {
  13533. "description": "建仓会员手续费设置值",
  13534. "type": "number"
  13535. },
  13536. "openqty": {
  13537. "description": "开仓数量(先建后平操作,需要记录)",
  13538. "type": "integer"
  13539. },
  13540. "opentradeqty": {
  13541. "description": "开仓成交数量(先建后平操作,需要记录)",
  13542. "type": "integer"
  13543. },
  13544. "openunfreezecharge": {
  13545. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  13546. "type": "number"
  13547. },
  13548. "operatetype": {
  13549. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  13550. "type": "integer"
  13551. },
  13552. "operatorid": {
  13553. "description": "登录账号(LoginID)",
  13554. "type": "integer"
  13555. },
  13556. "optiontype": {
  13557. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  13558. "type": "integer"
  13559. },
  13560. "orderid": {
  13561. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13562. "type": "string"
  13563. },
  13564. "orderprice": {
  13565. "description": "委托价格",
  13566. "type": "number"
  13567. },
  13568. "orderqty": {
  13569. "description": "委托数量",
  13570. "type": "integer"
  13571. },
  13572. "ordersrc": {
  13573. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  13574. "type": "integer"
  13575. },
  13576. "orderstatus": {
  13577. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13578. "type": "integer"
  13579. },
  13580. "ordertime": {
  13581. "description": "委托时间",
  13582. "type": "string"
  13583. },
  13584. "preexerciseprice": {
  13585. "description": "预申报价格",
  13586. "type": "number"
  13587. },
  13588. "premium": {
  13589. "description": "权利金",
  13590. "type": "number"
  13591. },
  13592. "preorderid": {
  13593. "description": "关联预埋单号(止盈止损单时填写)",
  13594. "type": "string"
  13595. },
  13596. "pricemode": {
  13597. "description": "取价方式 - 1:市价 2: 限价",
  13598. "type": "integer"
  13599. },
  13600. "quoteid": {
  13601. "description": "报价单ID",
  13602. "type": "integer"
  13603. },
  13604. "relatedid": {
  13605. "description": "关联单号(交割单)",
  13606. "type": "string"
  13607. },
  13608. "retcode": {
  13609. "description": "错误代码",
  13610. "type": "integer"
  13611. },
  13612. "sessionid": {
  13613. "description": "会话ID",
  13614. "type": "integer"
  13615. },
  13616. "tradedate": {
  13617. "description": "交易日(yyyyMMdd)",
  13618. "type": "string"
  13619. },
  13620. "trademode": {
  13621. "description": "交易模式",
  13622. "type": "integer"
  13623. },
  13624. "tradeproperty": {
  13625. "description": "交易属性",
  13626. "type": "integer"
  13627. },
  13628. "tradeqty": {
  13629. "description": "成交数量",
  13630. "type": "integer"
  13631. },
  13632. "unfreezecharge": {
  13633. "description": "解冻手续费",
  13634. "type": "number"
  13635. },
  13636. "unfreezemargin": {
  13637. "description": "解冻保证金",
  13638. "type": "number"
  13639. },
  13640. "updatetime": {
  13641. "description": "更新时间",
  13642. "type": "string"
  13643. },
  13644. "uuid": {
  13645. "description": "发起端唯一id",
  13646. "type": "string"
  13647. },
  13648. "validtime": {
  13649. "description": "有效期限",
  13650. "type": "string"
  13651. },
  13652. "validtype": {
  13653. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  13654. "type": "integer"
  13655. },
  13656. "volumetype": {
  13657. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  13658. "type": "integer"
  13659. }
  13660. }
  13661. },
  13662. "order.QueryTradeDetailRsp": {
  13663. "type": "object",
  13664. "required": [
  13665. "accountid",
  13666. "buyorsell",
  13667. "goodsid",
  13668. "marketid",
  13669. "memberuserid",
  13670. "orderid",
  13671. "tradeamount",
  13672. "tradedate",
  13673. "tradeid",
  13674. "tradeprice",
  13675. "tradeqty",
  13676. "tradetime"
  13677. ],
  13678. "properties": {
  13679. "accountid": {
  13680. "description": "账户ID[报价币种]",
  13681. "type": "integer"
  13682. },
  13683. "buildtype": {
  13684. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  13685. "type": "integer"
  13686. },
  13687. "buyorsell": {
  13688. "description": "方向 - 0:买 1:卖",
  13689. "type": "integer"
  13690. },
  13691. "charge": {
  13692. "description": "手续费",
  13693. "type": "number"
  13694. },
  13695. "closecharge": {
  13696. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  13697. "type": "number"
  13698. },
  13699. "closeexchagechargevalue": {
  13700. "description": "平仓交易所手续费设置值",
  13701. "type": "number"
  13702. },
  13703. "closefeealgorithm": {
  13704. "description": "平仓手续费收取方式 1:比率 2:固定",
  13705. "type": "integer"
  13706. },
  13707. "closememberchargevalue": {
  13708. "description": "平仓会员手续费设置值",
  13709. "type": "number"
  13710. },
  13711. "closepl": {
  13712. "description": "平仓盈亏",
  13713. "type": "number"
  13714. },
  13715. "closepl2": {
  13716. "description": "平仓盈亏[逐笔]",
  13717. "type": "number"
  13718. },
  13719. "closeqty": {
  13720. "description": "平仓数量(先建后平操作 需要记录)",
  13721. "type": "integer"
  13722. },
  13723. "creditamount": {
  13724. "description": "授信金额",
  13725. "type": "number"
  13726. },
  13727. "gcaccountid": {
  13728. "description": "账户ID[合约币种]",
  13729. "type": "integer"
  13730. },
  13731. "goodscode": {
  13732. "description": "商品代码",
  13733. "type": "string"
  13734. },
  13735. "goodsid": {
  13736. "description": "商品ID",
  13737. "type": "integer"
  13738. },
  13739. "goodsname": {
  13740. "description": "商品名称",
  13741. "type": "string"
  13742. },
  13743. "intclosepl": {
  13744. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  13745. "type": "integer"
  13746. },
  13747. "isconfirmexercise": {
  13748. "description": "是否确认行权- 0:否 1:是",
  13749. "type": "integer"
  13750. },
  13751. "ismain": {
  13752. "description": "是否主单 - 0:不是 1:是",
  13753. "type": "integer"
  13754. },
  13755. "ispreexercise": {
  13756. "description": "是否预申报- 0:否 1:是",
  13757. "type": "integer"
  13758. },
  13759. "isreckoned": {
  13760. "description": "是否结算 - 0:未结算 1:已结算",
  13761. "type": "integer"
  13762. },
  13763. "listingselecttype": {
  13764. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13765. "type": "integer"
  13766. },
  13767. "marketid": {
  13768. "description": "市场ID",
  13769. "type": "integer"
  13770. },
  13771. "marketname": {
  13772. "description": "市场名称",
  13773. "type": "string"
  13774. },
  13775. "matchaccountid": {
  13776. "description": "对手账号id",
  13777. "type": "integer"
  13778. },
  13779. "memberuserid": {
  13780. "description": "会员id 个人投资者 需要填写",
  13781. "type": "integer"
  13782. },
  13783. "opencharge": {
  13784. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  13785. "type": "number"
  13786. },
  13787. "openexchagechargevalue": {
  13788. "description": "建仓交易所手续费设置值",
  13789. "type": "number"
  13790. },
  13791. "openfeealgorithm": {
  13792. "description": "建仓手续费收取方式 1:比率 2:固定",
  13793. "type": "integer"
  13794. },
  13795. "openmemberchargevalue": {
  13796. "description": "建仓会员手续费设置值",
  13797. "type": "number"
  13798. },
  13799. "openqty": {
  13800. "description": "开仓数量(先建后平操作 需要记录)",
  13801. "type": "integer"
  13802. },
  13803. "optiontype": {
  13804. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  13805. "type": "integer"
  13806. },
  13807. "orderid": {
  13808. "description": "委托单号",
  13809. "type": "string"
  13810. },
  13811. "performanceplanid": {
  13812. "description": "履约计划ID[期权]",
  13813. "type": "integer"
  13814. },
  13815. "performancestatus": {
  13816. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  13817. "type": "integer"
  13818. },
  13819. "preexerciseprice": {
  13820. "description": "预申报价格",
  13821. "type": "number"
  13822. },
  13823. "premium": {
  13824. "description": "权利金 - [持仓单的权利金]",
  13825. "type": "number"
  13826. },
  13827. "relatedouttradeid": {
  13828. "description": "关联外部成交单ID",
  13829. "type": "integer"
  13830. },
  13831. "status": {
  13832. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  13833. "type": "integer"
  13834. },
  13835. "tradeamount": {
  13836. "description": "成交金额[账户币种,用于所有权]",
  13837. "type": "number"
  13838. },
  13839. "tradedate": {
  13840. "description": "交易日(yyyyMMdd)",
  13841. "type": "string"
  13842. },
  13843. "tradeid": {
  13844. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13845. "type": "string"
  13846. },
  13847. "trademode": {
  13848. "description": "交易模式",
  13849. "type": "integer"
  13850. },
  13851. "tradeprice": {
  13852. "description": "成交价格",
  13853. "type": "number"
  13854. },
  13855. "tradeproperty": {
  13856. "description": "交易属性",
  13857. "type": "integer"
  13858. },
  13859. "tradeqty": {
  13860. "description": "成交数量",
  13861. "type": "integer"
  13862. },
  13863. "tradetime": {
  13864. "description": "成交时间",
  13865. "type": "string"
  13866. },
  13867. "tradetype": {
  13868. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  13869. "type": "integer"
  13870. }
  13871. }
  13872. },
  13873. "order.QueryTradeOrderDetailRsp": {
  13874. "type": "object",
  13875. "required": [
  13876. "accountid",
  13877. "buildtype",
  13878. "buyorsell",
  13879. "goodsid",
  13880. "marketid",
  13881. "operatetype",
  13882. "orderqty",
  13883. "ordertime",
  13884. "pricemode",
  13885. "tradedate",
  13886. "validtype"
  13887. ],
  13888. "properties": {
  13889. "accountid": {
  13890. "description": "账户ID[报价币种]",
  13891. "type": "integer"
  13892. },
  13893. "buildtype": {
  13894. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  13895. "type": "integer"
  13896. },
  13897. "buyorsell": {
  13898. "description": "买卖 - 0:买 1:卖",
  13899. "type": "integer"
  13900. },
  13901. "cancelorderid": {
  13902. "description": "撤单单号(撤单时填写)",
  13903. "type": "string"
  13904. },
  13905. "cancelqty": {
  13906. "description": "撤单数量",
  13907. "type": "integer"
  13908. },
  13909. "clienttype": {
  13910. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  13911. "type": "integer"
  13912. },
  13913. "closefreezecharge": {
  13914. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  13915. "type": "number"
  13916. },
  13917. "closeqty": {
  13918. "description": "平仓数量(先建后平操作 需要记录)",
  13919. "type": "integer"
  13920. },
  13921. "closetradeqty": {
  13922. "description": "平仓成交数量(先建后平操作,需要记录)",
  13923. "type": "integer"
  13924. },
  13925. "closeunfreezecharge": {
  13926. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  13927. "type": "number"
  13928. },
  13929. "delistingtype": {
  13930. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  13931. "type": "integer"
  13932. },
  13933. "enableqty": {
  13934. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  13935. "type": "integer"
  13936. },
  13937. "freezecharge": {
  13938. "description": "冻结手续费",
  13939. "type": "number"
  13940. },
  13941. "freezemargin": {
  13942. "description": "冻结保证金(冻结交易金额)",
  13943. "type": "number"
  13944. },
  13945. "goodscode": {
  13946. "description": "商品代码",
  13947. "type": "string"
  13948. },
  13949. "goodsid": {
  13950. "description": "商品ID",
  13951. "type": "integer"
  13952. },
  13953. "goodsname": {
  13954. "description": "商品名称",
  13955. "type": "string"
  13956. },
  13957. "listingselecttype": {
  13958. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13959. "type": "integer"
  13960. },
  13961. "marketid": {
  13962. "description": "市场ID",
  13963. "type": "integer"
  13964. },
  13965. "marketname": {
  13966. "description": "市场名称",
  13967. "type": "string"
  13968. },
  13969. "openfreezecharge": {
  13970. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  13971. "type": "number"
  13972. },
  13973. "openqty": {
  13974. "description": "开仓数量(先建后平操作,需要记录)",
  13975. "type": "integer"
  13976. },
  13977. "opentradeqty": {
  13978. "description": "开仓成交数量(先建后平操作,需要记录)",
  13979. "type": "integer"
  13980. },
  13981. "openunfreezecharge": {
  13982. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  13983. "type": "number"
  13984. },
  13985. "operatetype": {
  13986. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  13987. "type": "integer"
  13988. },
  13989. "operatorid": {
  13990. "description": "登录账号(LoginID)",
  13991. "type": "integer"
  13992. },
  13993. "orderid": {
  13994. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13995. "type": "string"
  13996. },
  13997. "orderprice": {
  13998. "description": "委托价格",
  13999. "type": "number"
  14000. },
  14001. "orderqty": {
  14002. "description": "委托数量",
  14003. "type": "integer"
  14004. },
  14005. "ordersrc": {
  14006. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  14007. "type": "integer"
  14008. },
  14009. "orderstatus": {
  14010. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14011. "type": "integer"
  14012. },
  14013. "ordertime": {
  14014. "description": "委托时间",
  14015. "type": "string"
  14016. },
  14017. "preorderid": {
  14018. "description": "关联预埋单号(止盈止损单时填写)",
  14019. "type": "string"
  14020. },
  14021. "pricemode": {
  14022. "description": "取价方式 - 1:市价 2: 限价",
  14023. "type": "integer"
  14024. },
  14025. "relatedid": {
  14026. "description": "关联单号(交割单)",
  14027. "type": "string"
  14028. },
  14029. "tradedate": {
  14030. "description": "交易日(yyyyMMdd)",
  14031. "type": "string"
  14032. },
  14033. "trademode": {
  14034. "description": "交易模式",
  14035. "type": "integer"
  14036. },
  14037. "tradeqty": {
  14038. "description": "成交数量",
  14039. "type": "integer"
  14040. },
  14041. "unfreezecharge": {
  14042. "description": "解冻手续费",
  14043. "type": "number"
  14044. },
  14045. "unfreezemargin": {
  14046. "description": "解冻保证金",
  14047. "type": "number"
  14048. },
  14049. "validtime": {
  14050. "description": "有效期限",
  14051. "type": "string"
  14052. },
  14053. "validtype": {
  14054. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  14055. "type": "integer"
  14056. },
  14057. "volumetype": {
  14058. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  14059. "type": "integer"
  14060. }
  14061. }
  14062. },
  14063. "order.QueryTradePositionRsp": {
  14064. "type": "object",
  14065. "required": [
  14066. "goodsid"
  14067. ],
  14068. "properties": {
  14069. "accountid": {
  14070. "description": "资金账户",
  14071. "type": "integer"
  14072. },
  14073. "agreeunit": {
  14074. "description": "合约单位",
  14075. "type": "number"
  14076. },
  14077. "averageprice": {
  14078. "description": "持仓均价",
  14079. "type": "number"
  14080. },
  14081. "buyorsell": {
  14082. "description": "方向 - 0:买 1:卖",
  14083. "type": "integer"
  14084. },
  14085. "closetotalqty": {
  14086. "description": "平仓总数量",
  14087. "type": "integer"
  14088. },
  14089. "curholderamount": {
  14090. "description": "当前持仓总金额[商品币种]",
  14091. "type": "number"
  14092. },
  14093. "curpositionqty": {
  14094. "description": "当前持仓总数量",
  14095. "type": "integer"
  14096. },
  14097. "currencyid": {
  14098. "description": "报价货币ID",
  14099. "type": "integer"
  14100. },
  14101. "curtdposition": {
  14102. "description": "期末今日头寸",
  14103. "type": "integer"
  14104. },
  14105. "decimalplace": {
  14106. "description": "报价小数位",
  14107. "type": "integer"
  14108. },
  14109. "enableqty": {
  14110. "description": "可用量",
  14111. "type": "integer"
  14112. },
  14113. "fretdposition": {
  14114. "description": "冻结今日头寸",
  14115. "type": "integer"
  14116. },
  14117. "frozenqty": {
  14118. "description": "持仓冻结数量",
  14119. "type": "integer"
  14120. },
  14121. "goodscode": {
  14122. "description": "商品代码",
  14123. "type": "string"
  14124. },
  14125. "goodsid": {
  14126. "description": "商品Id",
  14127. "type": "integer"
  14128. },
  14129. "goodsname": {
  14130. "description": "商品名称",
  14131. "type": "string"
  14132. },
  14133. "goodunit": {
  14134. "description": "报价单位",
  14135. "type": "string"
  14136. },
  14137. "goodunitid": {
  14138. "description": "报价单位ID",
  14139. "type": "integer"
  14140. },
  14141. "holderamount": {
  14142. "description": "期初持仓总金额[商品币种]",
  14143. "type": "number"
  14144. },
  14145. "marketid": {
  14146. "description": "所属市场ID",
  14147. "type": "integer"
  14148. },
  14149. "openreqqty": {
  14150. "description": "开仓申请数量(用于比较最大持仓数量)",
  14151. "type": "integer"
  14152. },
  14153. "opentotalqty": {
  14154. "description": "开仓总数量",
  14155. "type": "integer"
  14156. },
  14157. "otherfrozenqty": {
  14158. "description": "持仓其他冻结数量(交割冻结)",
  14159. "type": "integer"
  14160. },
  14161. "positionqty": {
  14162. "description": "期初持仓数量",
  14163. "type": "integer"
  14164. },
  14165. "tnqty": {
  14166. "description": "T+N冻结总量",
  14167. "type": "integer"
  14168. },
  14169. "tnusedqty": {
  14170. "description": "T+N使用量(可以使用T+N的冻结数量)",
  14171. "type": "integer"
  14172. },
  14173. "trademode": {
  14174. "description": "交易模式",
  14175. "type": "integer"
  14176. },
  14177. "usedmargin": {
  14178. "description": "占用保证金[商品币种]",
  14179. "type": "number"
  14180. }
  14181. }
  14182. },
  14183. "quote.HistoryData": {
  14184. "type": "object",
  14185. "properties": {
  14186. "c": {
  14187. "description": "收盘价",
  14188. "type": "number"
  14189. },
  14190. "h": {
  14191. "description": "最高价",
  14192. "type": "number"
  14193. },
  14194. "hv": {
  14195. "description": "持仓量",
  14196. "type": "integer"
  14197. },
  14198. "l": {
  14199. "description": "最低价",
  14200. "type": "number"
  14201. },
  14202. "o": {
  14203. "description": "开盘价",
  14204. "type": "number"
  14205. },
  14206. "s": {
  14207. "description": "结算价,日线周期(包括)以上才有",
  14208. "type": "number"
  14209. },
  14210. "ts": {
  14211. "description": "时间",
  14212. "type": "string"
  14213. },
  14214. "tt": {
  14215. "description": "总金额",
  14216. "type": "number"
  14217. },
  14218. "tv": {
  14219. "description": "总量",
  14220. "type": "integer"
  14221. }
  14222. }
  14223. },
  14224. "quote.QueryTSDataRsp": {
  14225. "type": "object",
  14226. "properties": {
  14227. "decimalPlace": {
  14228. "description": "小数位",
  14229. "type": "integer"
  14230. },
  14231. "endTime": {
  14232. "description": "结束时间",
  14233. "type": "string"
  14234. },
  14235. "goodsCode": {
  14236. "description": "商品代码",
  14237. "type": "string"
  14238. },
  14239. "historyDatas": {
  14240. "description": "历史数据",
  14241. "type": "array",
  14242. "items": {
  14243. "$ref": "#/definitions/quote.HistoryData"
  14244. }
  14245. },
  14246. "preSettle": {
  14247. "description": "昨结",
  14248. "type": "number"
  14249. },
  14250. "startTime": {
  14251. "description": "开始时间",
  14252. "type": "string"
  14253. },
  14254. "tradeDate": {
  14255. "description": "交易日",
  14256. "type": "string"
  14257. }
  14258. }
  14259. },
  14260. "szdz.QueryConvertLogRsp": {
  14261. "type": "object",
  14262. "required": [
  14263. "logid"
  14264. ],
  14265. "properties": {
  14266. "accountid": {
  14267. "description": "资金账户ID",
  14268. "type": "integer"
  14269. },
  14270. "clientticket": {
  14271. "description": "客户端流水号",
  14272. "type": "string"
  14273. },
  14274. "converttype": {
  14275. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  14276. "type": "integer"
  14277. },
  14278. "createtime": {
  14279. "description": "记账时间",
  14280. "type": "string"
  14281. },
  14282. "daymaxvalue": {
  14283. "description": "配置当日最大转入限制",
  14284. "type": "number"
  14285. },
  14286. "daymaxvalue2": {
  14287. "description": "配置当日最大转入限制(转入)",
  14288. "type": "number"
  14289. },
  14290. "goodscode": {
  14291. "description": "商品代码",
  14292. "type": "string"
  14293. },
  14294. "goodsname": {
  14295. "description": "商品名称",
  14296. "type": "string"
  14297. },
  14298. "handlestatus": {
  14299. "description": "处理状态",
  14300. "type": "integer"
  14301. },
  14302. "innergoodsid": {
  14303. "description": "内部商品ID",
  14304. "type": "integer"
  14305. },
  14306. "inratio": {
  14307. "description": "配置转入比值",
  14308. "type": "integer"
  14309. },
  14310. "invalue": {
  14311. "description": "目标值",
  14312. "type": "number"
  14313. },
  14314. "logid": {
  14315. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14316. "type": "integer"
  14317. },
  14318. "mobile": {
  14319. "description": "手机号码(加密存储)",
  14320. "type": "string"
  14321. },
  14322. "outergoodscode": {
  14323. "description": "外部商品代码[JD\\PD]",
  14324. "type": "string"
  14325. },
  14326. "outratio": {
  14327. "description": "配置转出比值",
  14328. "type": "integer"
  14329. },
  14330. "outvalue": {
  14331. "description": "源值",
  14332. "type": "number"
  14333. },
  14334. "pddecimalplace": {
  14335. "description": "PD小数位",
  14336. "type": "integer"
  14337. },
  14338. "qty": {
  14339. "description": "数量",
  14340. "type": "string"
  14341. },
  14342. "remark": {
  14343. "description": "备注",
  14344. "type": "string"
  14345. },
  14346. "sessionid": {
  14347. "description": "会话ID",
  14348. "type": "integer"
  14349. },
  14350. "timemaxvalue": {
  14351. "description": "配置单次最大转入限制",
  14352. "type": "number"
  14353. },
  14354. "timemaxvalue2": {
  14355. "description": "配置单次最大转入限制(转入)",
  14356. "type": "number"
  14357. },
  14358. "timeminvalue": {
  14359. "description": "配置单次最小数量限制",
  14360. "type": "number"
  14361. },
  14362. "timeminvalue2": {
  14363. "description": "配置单次最小数量限制(转入)",
  14364. "type": "number"
  14365. },
  14366. "tradedate": {
  14367. "description": "交易日(yyyyMMdd)",
  14368. "type": "string"
  14369. },
  14370. "userid": {
  14371. "description": "用户ID",
  14372. "type": "integer"
  14373. }
  14374. }
  14375. },
  14376. "szdz.QueryGoodsPickupRsp": {
  14377. "type": "object",
  14378. "required": [
  14379. "takeorderid"
  14380. ],
  14381. "properties": {
  14382. "accountid": {
  14383. "description": "账户ID",
  14384. "type": "integer"
  14385. },
  14386. "address": {
  14387. "description": "提货人详细地址",
  14388. "type": "string"
  14389. },
  14390. "auditer": {
  14391. "description": "审核人",
  14392. "type": "integer"
  14393. },
  14394. "audittime": {
  14395. "description": "审核时间",
  14396. "type": "string"
  14397. },
  14398. "cardnum": {
  14399. "description": "提货人证件号码",
  14400. "type": "string"
  14401. },
  14402. "cardtypeid": {
  14403. "description": "提货人证件类型",
  14404. "type": "integer"
  14405. },
  14406. "checkremark": {
  14407. "description": "审核备注",
  14408. "type": "string"
  14409. },
  14410. "goodscode": {
  14411. "description": "商品代码",
  14412. "type": "string"
  14413. },
  14414. "goodsid": {
  14415. "description": "商品ID",
  14416. "type": "integer"
  14417. },
  14418. "goodsname": {
  14419. "description": "商品名称",
  14420. "type": "string"
  14421. },
  14422. "handlestatus": {
  14423. "description": "处理状态",
  14424. "type": "integer"
  14425. },
  14426. "marketid": {
  14427. "description": "市场ID",
  14428. "type": "integer"
  14429. },
  14430. "phonenum": {
  14431. "description": "提货人联系方式",
  14432. "type": "string"
  14433. },
  14434. "qty": {
  14435. "description": "提货数量",
  14436. "type": "number"
  14437. },
  14438. "recivername": {
  14439. "description": "提货人姓名",
  14440. "type": "string"
  14441. },
  14442. "reqtime": {
  14443. "description": "更新时间",
  14444. "type": "string"
  14445. },
  14446. "takemode": {
  14447. "description": "提货方式 - 2:自提 3:配送",
  14448. "type": "integer"
  14449. },
  14450. "takeorderid": {
  14451. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  14452. "type": "string"
  14453. },
  14454. "takeorderstatus": {
  14455. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  14456. "type": "integer"
  14457. },
  14458. "takeremark": {
  14459. "description": "提货备注",
  14460. "type": "string"
  14461. },
  14462. "tradedate": {
  14463. "description": "交易日(yyyyMMdd)",
  14464. "type": "string"
  14465. },
  14466. "userid": {
  14467. "description": "用户ID",
  14468. "type": "integer"
  14469. }
  14470. }
  14471. },
  14472. "szdz.QueryRecieptOrderRsp": {
  14473. "type": "object",
  14474. "required": [
  14475. "ordertime"
  14476. ],
  14477. "properties": {
  14478. "accountName": {
  14479. "description": "所属账号名称(已脱敏)",
  14480. "type": "string"
  14481. },
  14482. "accountid": {
  14483. "description": "资金账号",
  14484. "type": "integer"
  14485. },
  14486. "buyorsell": {
  14487. "description": "方向 - 0:买 1:卖",
  14488. "type": "integer"
  14489. },
  14490. "enableqty": {
  14491. "description": "可摘数量",
  14492. "type": "integer"
  14493. },
  14494. "goodscode": {
  14495. "description": "商品代码",
  14496. "type": "string"
  14497. },
  14498. "goodsid": {
  14499. "description": "商品ID",
  14500. "type": "integer"
  14501. },
  14502. "goodsname": {
  14503. "description": "商品名称",
  14504. "type": "string"
  14505. },
  14506. "orderid": {
  14507. "description": "委托单号",
  14508. "type": "string"
  14509. },
  14510. "orderprice": {
  14511. "description": "委托价格",
  14512. "type": "number"
  14513. },
  14514. "ordertime": {
  14515. "description": "委托时间",
  14516. "type": "string"
  14517. },
  14518. "tradedate": {
  14519. "description": "交易日(yyyyMMdd)",
  14520. "type": "string"
  14521. }
  14522. }
  14523. },
  14524. "szdz.QuerySZDZTradePositionRsp": {
  14525. "type": "object",
  14526. "properties": {
  14527. "accountid": {
  14528. "description": "账号Id",
  14529. "type": "integer"
  14530. },
  14531. "agreeunit": {
  14532. "description": "合约单位",
  14533. "type": "number"
  14534. },
  14535. "averageprice": {
  14536. "description": "持仓均价",
  14537. "type": "number"
  14538. },
  14539. "buyorsell": {
  14540. "description": "方向 - 0:买 1:卖",
  14541. "type": "integer"
  14542. },
  14543. "closetotalqty": {
  14544. "description": "平仓总数量",
  14545. "type": "integer"
  14546. },
  14547. "curholderamount": {
  14548. "description": "当前持仓总金额",
  14549. "type": "number"
  14550. },
  14551. "curpositionqty": {
  14552. "description": "当前持仓总数量",
  14553. "type": "integer"
  14554. },
  14555. "currencyid": {
  14556. "description": "报价货币ID",
  14557. "type": "integer"
  14558. },
  14559. "curtdposition": {
  14560. "description": "期末今日头寸",
  14561. "type": "integer"
  14562. },
  14563. "decimalplace": {
  14564. "description": "报价小数位",
  14565. "type": "integer"
  14566. },
  14567. "enableqty": {
  14568. "description": "可用量",
  14569. "type": "integer"
  14570. },
  14571. "fretdposition": {
  14572. "description": "冻结今日头寸",
  14573. "type": "integer"
  14574. },
  14575. "frozenqty": {
  14576. "description": "持仓冻结数量",
  14577. "type": "integer"
  14578. },
  14579. "goodscode": {
  14580. "description": "商品代码(内部)",
  14581. "type": "string"
  14582. },
  14583. "goodsid": {
  14584. "description": "商品Id",
  14585. "type": "integer"
  14586. },
  14587. "goodsname": {
  14588. "description": "商品名称",
  14589. "type": "string"
  14590. },
  14591. "goodunit": {
  14592. "description": "报价单位",
  14593. "type": "string"
  14594. },
  14595. "goodunitid": {
  14596. "description": "报价单位ID",
  14597. "type": "integer"
  14598. },
  14599. "holderamount": {
  14600. "description": "期初持仓总金额",
  14601. "type": "number"
  14602. },
  14603. "marketid": {
  14604. "description": "市场ID",
  14605. "type": "integer"
  14606. },
  14607. "openreqqty": {
  14608. "description": "开仓申请数量",
  14609. "type": "integer"
  14610. },
  14611. "opentotalqty": {
  14612. "description": "开仓总数量",
  14613. "type": "integer"
  14614. },
  14615. "otherfrozenqty": {
  14616. "description": "持仓其他冻结数量(交割冻结)",
  14617. "type": "integer"
  14618. },
  14619. "positionqty": {
  14620. "description": "期初持仓数量",
  14621. "type": "integer"
  14622. },
  14623. "szdz3freezqty": {
  14624. "description": "尚志大宗转换冻结总数量",
  14625. "type": "integer"
  14626. },
  14627. "tnqty": {
  14628. "description": "T+N冻结总量",
  14629. "type": "integer"
  14630. },
  14631. "tnusedqty": {
  14632. "description": "T+N使用量",
  14633. "type": "integer"
  14634. },
  14635. "trademode": {
  14636. "description": "交易模式",
  14637. "type": "integer"
  14638. },
  14639. "usedmargin": {
  14640. "description": "占用保证金",
  14641. "type": "number"
  14642. }
  14643. }
  14644. },
  14645. "taaccount.QueryAmountLogRsp": {
  14646. "type": "object",
  14647. "required": [
  14648. "accountid",
  14649. "amount",
  14650. "amountadjusttype",
  14651. "autoid",
  14652. "balance",
  14653. "createtime",
  14654. "currentbalance",
  14655. "operatetype"
  14656. ],
  14657. "properties": {
  14658. "OPERATETYPENAME": {
  14659. "description": "资金操作类型名称",
  14660. "type": "string"
  14661. },
  14662. "accountid": {
  14663. "description": "资金账户ID",
  14664. "type": "integer"
  14665. },
  14666. "agoodscode": {
  14667. "description": "竞拍商品代码",
  14668. "type": "string"
  14669. },
  14670. "agoodsname": {
  14671. "description": "竞拍商品名称",
  14672. "type": "string"
  14673. },
  14674. "amount": {
  14675. "description": "资金金额",
  14676. "type": "number"
  14677. },
  14678. "amountadjusttype": {
  14679. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  14680. "type": "integer"
  14681. },
  14682. "autoid": {
  14683. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  14684. "type": "integer"
  14685. },
  14686. "balance": {
  14687. "description": "期初余额",
  14688. "type": "number"
  14689. },
  14690. "businesscode": {
  14691. "description": "业务编号",
  14692. "type": "integer"
  14693. },
  14694. "createtime": {
  14695. "description": "发生时间",
  14696. "type": "string"
  14697. },
  14698. "currencyid": {
  14699. "description": "币种ID",
  14700. "type": "integer"
  14701. },
  14702. "currentbalance": {
  14703. "description": "期末余额(变动后金额)",
  14704. "type": "number"
  14705. },
  14706. "dgoodscode": {
  14707. "description": "交割商品代码",
  14708. "type": "string"
  14709. },
  14710. "dgoodsname": {
  14711. "description": "交割商品名称",
  14712. "type": "string"
  14713. },
  14714. "goodscode": {
  14715. "description": "商品代码",
  14716. "type": "string"
  14717. },
  14718. "goodsid": {
  14719. "description": "商品ID",
  14720. "type": "integer"
  14721. },
  14722. "goodsname": {
  14723. "description": "商品名称",
  14724. "type": "string"
  14725. },
  14726. "marketid": {
  14727. "description": "市场ID",
  14728. "type": "integer"
  14729. },
  14730. "marketname": {
  14731. "description": "市场名称",
  14732. "type": "string"
  14733. },
  14734. "moneyticket": {
  14735. "description": "资金流水号:银行端流水号",
  14736. "type": "integer"
  14737. },
  14738. "operatetype": {
  14739. "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:营销收款",
  14740. "type": "integer"
  14741. },
  14742. "relationorderid": {
  14743. "description": "关联单号",
  14744. "type": "string"
  14745. },
  14746. "remark": {
  14747. "description": "备注",
  14748. "type": "string"
  14749. },
  14750. "trademode": {
  14751. "description": "交易模式",
  14752. "type": "integer"
  14753. }
  14754. }
  14755. },
  14756. "taaccount.QueryHisAmountLogRsp": {
  14757. "type": "object",
  14758. "required": [
  14759. "accountid",
  14760. "amount",
  14761. "amountadjusttype",
  14762. "autoid",
  14763. "balance",
  14764. "createtime",
  14765. "currentbalance",
  14766. "histradedate",
  14767. "operatetype"
  14768. ],
  14769. "properties": {
  14770. "OPERATETYPENAME": {
  14771. "description": "资金操作类型名称",
  14772. "type": "string"
  14773. },
  14774. "accountid": {
  14775. "description": "资金账户ID",
  14776. "type": "integer"
  14777. },
  14778. "agoodscode": {
  14779. "description": "竞拍商品代码",
  14780. "type": "string"
  14781. },
  14782. "agoodsname": {
  14783. "description": "竞拍商品名称",
  14784. "type": "string"
  14785. },
  14786. "amount": {
  14787. "description": "资金金额",
  14788. "type": "number"
  14789. },
  14790. "amountadjusttype": {
  14791. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  14792. "type": "integer"
  14793. },
  14794. "autoid": {
  14795. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  14796. "type": "integer"
  14797. },
  14798. "balance": {
  14799. "description": "期初余额",
  14800. "type": "number"
  14801. },
  14802. "businesscode": {
  14803. "description": "业务编号",
  14804. "type": "integer"
  14805. },
  14806. "createtime": {
  14807. "description": "发生时间",
  14808. "type": "string"
  14809. },
  14810. "currencyid": {
  14811. "description": "币种ID",
  14812. "type": "integer"
  14813. },
  14814. "currentbalance": {
  14815. "description": "期末余额(变动后金额)",
  14816. "type": "number"
  14817. },
  14818. "dgoodscode": {
  14819. "description": "交割商品代码",
  14820. "type": "string"
  14821. },
  14822. "dgoodsname": {
  14823. "description": "交割商品名称",
  14824. "type": "string"
  14825. },
  14826. "goodscode": {
  14827. "description": "商品代码",
  14828. "type": "string"
  14829. },
  14830. "goodsid": {
  14831. "description": "商品ID",
  14832. "type": "integer"
  14833. },
  14834. "goodsname": {
  14835. "description": "商品名称",
  14836. "type": "string"
  14837. },
  14838. "histradedate": {
  14839. "description": "历史交易日",
  14840. "type": "string"
  14841. },
  14842. "isvaliddata": {
  14843. "description": "是否有效 - 0:无效 1:有效",
  14844. "type": "integer"
  14845. },
  14846. "marketid": {
  14847. "description": "市场ID",
  14848. "type": "integer"
  14849. },
  14850. "marketname": {
  14851. "description": "市场名称",
  14852. "type": "string"
  14853. },
  14854. "moneyticket": {
  14855. "description": "资金流水号:银行端流水号",
  14856. "type": "integer"
  14857. },
  14858. "operatetype": {
  14859. "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:营销收款",
  14860. "type": "integer"
  14861. },
  14862. "relationorderid": {
  14863. "description": "关联单号",
  14864. "type": "string"
  14865. },
  14866. "remark": {
  14867. "description": "备注",
  14868. "type": "string"
  14869. },
  14870. "trademode": {
  14871. "description": "交易模式",
  14872. "type": "integer"
  14873. }
  14874. }
  14875. },
  14876. "trade.QueryRecieptOrderRsp": {
  14877. "type": "object",
  14878. "required": [
  14879. "ordertime"
  14880. ],
  14881. "properties": {
  14882. "accountName": {
  14883. "description": "所属账号名称(已脱敏)",
  14884. "type": "string"
  14885. },
  14886. "accountid": {
  14887. "description": "资金账号",
  14888. "type": "integer"
  14889. },
  14890. "buyorsell": {
  14891. "description": "方向 - 0:买 1:卖",
  14892. "type": "integer"
  14893. },
  14894. "enableqty": {
  14895. "description": "可摘数量",
  14896. "type": "integer"
  14897. },
  14898. "goodscode": {
  14899. "description": "商品代码",
  14900. "type": "string"
  14901. },
  14902. "goodsid": {
  14903. "description": "商品ID",
  14904. "type": "integer"
  14905. },
  14906. "goodsname": {
  14907. "description": "商品名称",
  14908. "type": "string"
  14909. },
  14910. "orderid": {
  14911. "description": "委托单号",
  14912. "type": "string"
  14913. },
  14914. "orderprice": {
  14915. "description": "委托价格",
  14916. "type": "number"
  14917. },
  14918. "ordertime": {
  14919. "description": "委托时间",
  14920. "type": "string"
  14921. },
  14922. "tradedate": {
  14923. "description": "交易日(yyyyMMdd)",
  14924. "type": "string"
  14925. }
  14926. }
  14927. }
  14928. },
  14929. "securityDefinitions": {
  14930. "ApiKeyAuth": {
  14931. "type": "apiKey",
  14932. "name": "Authorization",
  14933. "in": "header"
  14934. }
  14935. }
  14936. }`
  14937. type swaggerInfo struct {
  14938. Version string
  14939. Host string
  14940. BasePath string
  14941. Schemes []string
  14942. Title string
  14943. Description string
  14944. }
  14945. // SwaggerInfo holds exported Swagger Info so clients can modify it
  14946. var SwaggerInfo = swaggerInfo{
  14947. Version: "1.0",
  14948. Host: "",
  14949. BasePath: "/api",
  14950. Schemes: []string{},
  14951. Title: "MTP2.0 查询服务 API",
  14952. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  14953. }
  14954. type s struct{}
  14955. func (s *s) ReadDoc() string {
  14956. sInfo := SwaggerInfo
  14957. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  14958. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  14959. "marshal": func(v interface{}) string {
  14960. a, _ := json.Marshal(v)
  14961. return string(a)
  14962. },
  14963. }).Parse(doc)
  14964. if err != nil {
  14965. return doc
  14966. }
  14967. var tpl bytes.Buffer
  14968. if err := t.Execute(&tpl, sInfo); err != nil {
  14969. return doc
  14970. }
  14971. return tpl.String()
  14972. }
  14973. func init() {
  14974. swag.Register(swag.Name, &s{})
  14975. }