docs.go 485 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436
  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/QueryBusinessDj": {
  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. "type": "string",
  739. "description": "现货合同ID, 不填则查所有",
  740. "name": "relatedid",
  741. "in": "query"
  742. }
  743. ],
  744. "responses": {
  745. "200": {
  746. "description": "OK",
  747. "schema": {
  748. "type": "array",
  749. "items": {
  750. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  751. }
  752. }
  753. },
  754. "500": {
  755. "description": "Internal Server Error",
  756. "schema": {
  757. "$ref": "#/definitions/app.Response"
  758. }
  759. }
  760. }
  761. }
  762. },
  763. "/Ermcp/QueryBusinessFp": {
  764. "get": {
  765. "security": [
  766. {
  767. "ApiKeyAuth": []
  768. }
  769. ],
  770. "produces": [
  771. "application/json"
  772. ],
  773. "tags": [
  774. "企业风险管理(app)"
  775. ],
  776. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  777. "parameters": [
  778. {
  779. "type": "integer",
  780. "description": "用户ID",
  781. "name": "UserId",
  782. "in": "query",
  783. "required": true
  784. },
  785. {
  786. "type": "string",
  787. "description": "现货合同ID, 不填则查所有",
  788. "name": "relatedid",
  789. "in": "query"
  790. }
  791. ],
  792. "responses": {
  793. "200": {
  794. "description": "OK",
  795. "schema": {
  796. "type": "array",
  797. "items": {
  798. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  799. }
  800. }
  801. },
  802. "500": {
  803. "description": "Internal Server Error",
  804. "schema": {
  805. "$ref": "#/definitions/app.Response"
  806. }
  807. }
  808. }
  809. }
  810. },
  811. "/Ermcp/QueryBusinessJs": {
  812. "get": {
  813. "security": [
  814. {
  815. "ApiKeyAuth": []
  816. }
  817. ],
  818. "produces": [
  819. "application/json"
  820. ],
  821. "tags": [
  822. "企业风险管理(app)"
  823. ],
  824. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  825. "parameters": [
  826. {
  827. "type": "integer",
  828. "description": "用户ID",
  829. "name": "UserId",
  830. "in": "query",
  831. "required": true
  832. },
  833. {
  834. "type": "string",
  835. "description": "现货合同ID, 不填则查所有",
  836. "name": "relatedid",
  837. "in": "query"
  838. }
  839. ],
  840. "responses": {
  841. "200": {
  842. "description": "OK",
  843. "schema": {
  844. "type": "array",
  845. "items": {
  846. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  847. }
  848. }
  849. },
  850. "500": {
  851. "description": "Internal Server Error",
  852. "schema": {
  853. "$ref": "#/definitions/app.Response"
  854. }
  855. }
  856. }
  857. }
  858. },
  859. "/Ermcp/QueryBusinessKx": {
  860. "get": {
  861. "security": [
  862. {
  863. "ApiKeyAuth": []
  864. }
  865. ],
  866. "produces": [
  867. "application/json"
  868. ],
  869. "tags": [
  870. "企业风险管理(app)"
  871. ],
  872. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  873. "parameters": [
  874. {
  875. "type": "integer",
  876. "description": "用户ID",
  877. "name": "UserId",
  878. "in": "query",
  879. "required": true
  880. },
  881. {
  882. "type": "string",
  883. "description": "现货合同ID, 不填则查所有",
  884. "name": "relatedid",
  885. "in": "query"
  886. }
  887. ],
  888. "responses": {
  889. "200": {
  890. "description": "OK",
  891. "schema": {
  892. "type": "array",
  893. "items": {
  894. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  895. }
  896. }
  897. },
  898. "500": {
  899. "description": "Internal Server Error",
  900. "schema": {
  901. "$ref": "#/definitions/app.Response"
  902. }
  903. }
  904. }
  905. }
  906. },
  907. "/Ermcp/QueryChangeLog": {
  908. "get": {
  909. "security": [
  910. {
  911. "ApiKeyAuth": []
  912. }
  913. ],
  914. "produces": [
  915. "application/json"
  916. ],
  917. "tags": [
  918. "企业风险管理(app)"
  919. ],
  920. "summary": "查询变更记录",
  921. "parameters": [
  922. {
  923. "type": "string",
  924. "description": "用户ID",
  925. "name": "RelatedId",
  926. "in": "query",
  927. "required": true
  928. }
  929. ],
  930. "responses": {
  931. "200": {
  932. "description": "OK",
  933. "schema": {
  934. "type": "array",
  935. "items": {
  936. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  937. }
  938. }
  939. },
  940. "500": {
  941. "description": "Internal Server Error",
  942. "schema": {
  943. "$ref": "#/definitions/app.Response"
  944. }
  945. }
  946. }
  947. }
  948. },
  949. "/Ermcp/QueryContract": {
  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": "integer",
  966. "description": "用户ID",
  967. "name": "userId",
  968. "in": "query",
  969. "required": true
  970. },
  971. {
  972. "type": "integer",
  973. "description": "合同类型 1-采购, -1-销售",
  974. "name": "contracttype",
  975. "in": "query",
  976. "required": true
  977. },
  978. {
  979. "type": "integer",
  980. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  981. "name": "querytype",
  982. "in": "query",
  983. "required": true
  984. }
  985. ],
  986. "responses": {
  987. "200": {
  988. "description": "OK",
  989. "schema": {
  990. "type": "array",
  991. "items": {
  992. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  993. }
  994. }
  995. },
  996. "500": {
  997. "description": "Internal Server Error",
  998. "schema": {
  999. "$ref": "#/definitions/app.Response"
  1000. }
  1001. }
  1002. }
  1003. }
  1004. },
  1005. "/Ermcp/QueryExposureDetail": {
  1006. "get": {
  1007. "security": [
  1008. {
  1009. "ApiKeyAuth": []
  1010. }
  1011. ],
  1012. "produces": [
  1013. "application/json"
  1014. ],
  1015. "tags": [
  1016. "企业风险管理(app)"
  1017. ],
  1018. "summary": "查询敞口现货明细",
  1019. "parameters": [
  1020. {
  1021. "type": "integer",
  1022. "description": "所属机构ID",
  1023. "name": "areaUserId",
  1024. "in": "query",
  1025. "required": true
  1026. },
  1027. {
  1028. "type": "integer",
  1029. "description": "套保商品",
  1030. "name": "middleGoodsId",
  1031. "in": "query",
  1032. "required": true
  1033. }
  1034. ],
  1035. "responses": {
  1036. "200": {
  1037. "description": "OK",
  1038. "schema": {
  1039. "type": "array",
  1040. "items": {
  1041. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1042. }
  1043. }
  1044. },
  1045. "500": {
  1046. "description": "Internal Server Error",
  1047. "schema": {
  1048. "$ref": "#/definitions/app.Response"
  1049. }
  1050. }
  1051. }
  1052. }
  1053. },
  1054. "/Ermcp/QueryExposureSpot": {
  1055. "get": {
  1056. "security": [
  1057. {
  1058. "ApiKeyAuth": []
  1059. }
  1060. ],
  1061. "produces": [
  1062. "application/json"
  1063. ],
  1064. "tags": [
  1065. "企业风险管理(app)"
  1066. ],
  1067. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  1068. "parameters": [
  1069. {
  1070. "type": "integer",
  1071. "description": "所属机构ID",
  1072. "name": "areaUserId",
  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.ExposureSpotRsp"
  1084. }
  1085. }
  1086. },
  1087. "500": {
  1088. "description": "Internal Server Error",
  1089. "schema": {
  1090. "$ref": "#/definitions/app.Response"
  1091. }
  1092. }
  1093. }
  1094. }
  1095. },
  1096. "/Ermcp/QueryHedgePlan": {
  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": "userId",
  1115. "in": "query",
  1116. "required": true
  1117. },
  1118. {
  1119. "type": "string",
  1120. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  1121. "name": "HedgePlanStatus",
  1122. "in": "query",
  1123. "required": true
  1124. }
  1125. ],
  1126. "responses": {
  1127. "200": {
  1128. "description": "OK",
  1129. "schema": {
  1130. "type": "array",
  1131. "items": {
  1132. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  1133. }
  1134. }
  1135. },
  1136. "500": {
  1137. "description": "Internal Server Error",
  1138. "schema": {
  1139. "$ref": "#/definitions/app.Response"
  1140. }
  1141. }
  1142. }
  1143. }
  1144. },
  1145. "/Ermcp/QueryRealtimeExposure": {
  1146. "get": {
  1147. "security": [
  1148. {
  1149. "ApiKeyAuth": []
  1150. }
  1151. ],
  1152. "produces": [
  1153. "application/json"
  1154. ],
  1155. "tags": [
  1156. "企业风险管理(app)"
  1157. ],
  1158. "summary": "查询实时敞口",
  1159. "parameters": [
  1160. {
  1161. "type": "integer",
  1162. "description": "所属机构ID",
  1163. "name": "AreaUserID",
  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.RealtimeExposureRsp"
  1175. }
  1176. }
  1177. },
  1178. "500": {
  1179. "description": "Internal Server Error",
  1180. "schema": {
  1181. "$ref": "#/definitions/app.Response"
  1182. }
  1183. }
  1184. }
  1185. }
  1186. },
  1187. "/Ermcp/QuerySpotContract": {
  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": "userId",
  1206. "in": "query",
  1207. "required": true
  1208. },
  1209. {
  1210. "type": "integer",
  1211. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  1212. "name": "QueryType",
  1213. "in": "query",
  1214. "required": true
  1215. }
  1216. ],
  1217. "responses": {
  1218. "200": {
  1219. "description": "OK",
  1220. "schema": {
  1221. "type": "array",
  1222. "items": {
  1223. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  1224. }
  1225. }
  1226. },
  1227. "500": {
  1228. "description": "Internal Server Error",
  1229. "schema": {
  1230. "$ref": "#/definitions/app.Response"
  1231. }
  1232. }
  1233. }
  1234. }
  1235. },
  1236. "/Ermcp/QueryUserInfo": {
  1237. "get": {
  1238. "security": [
  1239. {
  1240. "ApiKeyAuth": []
  1241. }
  1242. ],
  1243. "produces": [
  1244. "application/json"
  1245. ],
  1246. "tags": [
  1247. "企业风险管理(app)"
  1248. ],
  1249. "summary": "查询客户资料",
  1250. "parameters": [
  1251. {
  1252. "type": "integer",
  1253. "description": "所属机构用户ID",
  1254. "name": "MemberUserID",
  1255. "in": "query",
  1256. "required": true
  1257. },
  1258. {
  1259. "type": "integer",
  1260. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  1261. "name": "queryType",
  1262. "in": "query",
  1263. "required": true
  1264. }
  1265. ],
  1266. "responses": {
  1267. "200": {
  1268. "description": "OK",
  1269. "schema": {
  1270. "type": "array",
  1271. "items": {
  1272. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  1273. }
  1274. }
  1275. },
  1276. "500": {
  1277. "description": "Internal Server Error",
  1278. "schema": {
  1279. "$ref": "#/definitions/app.Response"
  1280. }
  1281. }
  1282. }
  1283. }
  1284. },
  1285. "/Ermcp/QueryWrStandard": {
  1286. "get": {
  1287. "security": [
  1288. {
  1289. "ApiKeyAuth": []
  1290. }
  1291. ],
  1292. "produces": [
  1293. "application/json"
  1294. ],
  1295. "tags": [
  1296. "企业风险管理(app)"
  1297. ],
  1298. "summary": "查询现货商品",
  1299. "parameters": [
  1300. {
  1301. "type": "integer",
  1302. "description": "所属机构ID",
  1303. "name": "userid",
  1304. "in": "query",
  1305. "required": true
  1306. }
  1307. ],
  1308. "responses": {
  1309. "200": {
  1310. "description": "OK",
  1311. "schema": {
  1312. "type": "array",
  1313. "items": {
  1314. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  1315. }
  1316. }
  1317. },
  1318. "500": {
  1319. "description": "Internal Server Error",
  1320. "schema": {
  1321. "$ref": "#/definitions/app.Response"
  1322. }
  1323. }
  1324. }
  1325. }
  1326. },
  1327. "/Erms2/QueryArbitrageStrategy": {
  1328. "get": {
  1329. "security": [
  1330. {
  1331. "ApiKeyAuth": []
  1332. }
  1333. ],
  1334. "produces": [
  1335. "application/json"
  1336. ],
  1337. "tags": [
  1338. "风险管理"
  1339. ],
  1340. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  1341. "parameters": [
  1342. {
  1343. "type": "integer",
  1344. "description": "账户ID",
  1345. "name": "userid",
  1346. "in": "query",
  1347. "required": true
  1348. },
  1349. {
  1350. "type": "string",
  1351. "description": "商品组ID(品种ID)",
  1352. "name": "goodsgroupid",
  1353. "in": "query"
  1354. }
  1355. ],
  1356. "responses": {
  1357. "200": {
  1358. "description": "OK",
  1359. "schema": {
  1360. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  1361. }
  1362. },
  1363. "500": {
  1364. "description": "Internal Server Error",
  1365. "schema": {
  1366. "$ref": "#/definitions/app.Response"
  1367. }
  1368. }
  1369. }
  1370. }
  1371. },
  1372. "/Erms2/QueryInnerTradeDetail": {
  1373. "get": {
  1374. "security": [
  1375. {
  1376. "ApiKeyAuth": []
  1377. }
  1378. ],
  1379. "produces": [
  1380. "application/json"
  1381. ],
  1382. "tags": [
  1383. "风险管理"
  1384. ],
  1385. "summary": "查询内部成交单信息",
  1386. "parameters": [
  1387. {
  1388. "type": "integer",
  1389. "description": "资金账户",
  1390. "name": "accountid",
  1391. "in": "query",
  1392. "required": true
  1393. }
  1394. ],
  1395. "responses": {
  1396. "200": {
  1397. "description": "OK",
  1398. "schema": {
  1399. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  1400. }
  1401. },
  1402. "500": {
  1403. "description": "Internal Server Error",
  1404. "schema": {
  1405. "$ref": "#/definitions/app.Response"
  1406. }
  1407. }
  1408. }
  1409. }
  1410. },
  1411. "/Erms2/QuerySpotContract": {
  1412. "get": {
  1413. "security": [
  1414. {
  1415. "ApiKeyAuth": []
  1416. }
  1417. ],
  1418. "produces": [
  1419. "application/json"
  1420. ],
  1421. "tags": [
  1422. "风险管理"
  1423. ],
  1424. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  1425. "parameters": [
  1426. {
  1427. "type": "integer",
  1428. "description": "策略申请ID",
  1429. "name": "asapplyid",
  1430. "in": "query",
  1431. "required": true
  1432. },
  1433. {
  1434. "type": "integer",
  1435. "description": "现货合同ID",
  1436. "name": "spotcontractid",
  1437. "in": "query"
  1438. }
  1439. ],
  1440. "responses": {
  1441. "200": {
  1442. "description": "OK",
  1443. "schema": {
  1444. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  1445. }
  1446. },
  1447. "500": {
  1448. "description": "Internal Server Error",
  1449. "schema": {
  1450. "$ref": "#/definitions/app.Response"
  1451. }
  1452. }
  1453. }
  1454. }
  1455. },
  1456. "/Erms3/AddErms2ASApply": {
  1457. "post": {
  1458. "security": [
  1459. {
  1460. "ApiKeyAuth": []
  1461. }
  1462. ],
  1463. "produces": [
  1464. "application/json"
  1465. ],
  1466. "tags": [
  1467. "风险管理v3"
  1468. ],
  1469. "summary": "新增期现套利业务申请",
  1470. "parameters": [
  1471. {
  1472. "description": "申请参数",
  1473. "name": "jsonBody",
  1474. "in": "body",
  1475. "required": true,
  1476. "schema": {
  1477. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  1478. }
  1479. }
  1480. ],
  1481. "responses": {
  1482. "200": {
  1483. "description": "OK",
  1484. "schema": {
  1485. "$ref": "#/definitions/app.Response"
  1486. }
  1487. },
  1488. "500": {
  1489. "description": "Internal Server Error",
  1490. "schema": {
  1491. "$ref": "#/definitions/app.Response"
  1492. }
  1493. }
  1494. }
  1495. }
  1496. },
  1497. "/Erms3/AddErms2SpotTradeApply": {
  1498. "post": {
  1499. "security": [
  1500. {
  1501. "ApiKeyAuth": []
  1502. }
  1503. ],
  1504. "produces": [
  1505. "application/json"
  1506. ],
  1507. "tags": [
  1508. "风险管理v3"
  1509. ],
  1510. "summary": "新增现货贸易业务申请",
  1511. "parameters": [
  1512. {
  1513. "description": "申请参数",
  1514. "name": "jsonBody",
  1515. "in": "body",
  1516. "required": true,
  1517. "schema": {
  1518. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  1519. }
  1520. }
  1521. ],
  1522. "responses": {
  1523. "200": {
  1524. "description": "OK",
  1525. "schema": {
  1526. "$ref": "#/definitions/app.Response"
  1527. }
  1528. },
  1529. "500": {
  1530. "description": "Internal Server Error",
  1531. "schema": {
  1532. "$ref": "#/definitions/app.Response"
  1533. }
  1534. }
  1535. }
  1536. }
  1537. },
  1538. "/Erms3/AddSpotContractApply": {
  1539. "post": {
  1540. "security": [
  1541. {
  1542. "ApiKeyAuth": []
  1543. }
  1544. ],
  1545. "produces": [
  1546. "application/json"
  1547. ],
  1548. "tags": [
  1549. "风险管理v3"
  1550. ],
  1551. "summary": "新增现货合同申请",
  1552. "parameters": [
  1553. {
  1554. "description": "申请参数",
  1555. "name": "jsonBody",
  1556. "in": "body",
  1557. "required": true,
  1558. "schema": {
  1559. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  1560. }
  1561. }
  1562. ],
  1563. "responses": {
  1564. "200": {
  1565. "description": "OK",
  1566. "schema": {
  1567. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  1568. }
  1569. },
  1570. "500": {
  1571. "description": "Internal Server Error",
  1572. "schema": {
  1573. "$ref": "#/definitions/app.Response"
  1574. }
  1575. }
  1576. }
  1577. }
  1578. },
  1579. "/Erms3/AddUserInfoApply": {
  1580. "post": {
  1581. "security": [
  1582. {
  1583. "ApiKeyAuth": []
  1584. }
  1585. ],
  1586. "produces": [
  1587. "application/json"
  1588. ],
  1589. "tags": [
  1590. "风险管理v3"
  1591. ],
  1592. "summary": "新增客户申请",
  1593. "parameters": [
  1594. {
  1595. "description": "申请参数",
  1596. "name": "jsonBody",
  1597. "in": "body",
  1598. "required": true,
  1599. "schema": {
  1600. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  1601. }
  1602. }
  1603. ],
  1604. "responses": {
  1605. "200": {
  1606. "description": "OK",
  1607. "schema": {
  1608. "$ref": "#/definitions/app.Response"
  1609. }
  1610. },
  1611. "500": {
  1612. "description": "Internal Server Error",
  1613. "schema": {
  1614. "$ref": "#/definitions/app.Response"
  1615. }
  1616. }
  1617. }
  1618. }
  1619. },
  1620. "/Erms3/QueryBusinessInfo": {
  1621. "get": {
  1622. "security": [
  1623. {
  1624. "ApiKeyAuth": []
  1625. }
  1626. ],
  1627. "produces": [
  1628. "application/json"
  1629. ],
  1630. "tags": [
  1631. "风险管理v3"
  1632. ],
  1633. "summary": "查询业务表单数据",
  1634. "parameters": [
  1635. {
  1636. "type": "string",
  1637. "description": "资金账号ID列表,用逗号分隔",
  1638. "name": "accountids",
  1639. "in": "query",
  1640. "required": true
  1641. },
  1642. {
  1643. "type": "integer",
  1644. "description": "状态,0为未结束 1为已结束",
  1645. "name": "status",
  1646. "in": "query",
  1647. "required": true
  1648. }
  1649. ],
  1650. "responses": {
  1651. "200": {
  1652. "description": "OK",
  1653. "schema": {
  1654. "type": "array",
  1655. "items": {
  1656. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  1657. }
  1658. }
  1659. },
  1660. "500": {
  1661. "description": "Internal Server Error",
  1662. "schema": {
  1663. "$ref": "#/definitions/app.Response"
  1664. }
  1665. }
  1666. }
  1667. }
  1668. },
  1669. "/Erms3/QueryPendingAuditContract": {
  1670. "get": {
  1671. "security": [
  1672. {
  1673. "ApiKeyAuth": []
  1674. }
  1675. ],
  1676. "produces": [
  1677. "application/json"
  1678. ],
  1679. "tags": [
  1680. "风险管理v3"
  1681. ],
  1682. "summary": "查询待审核合同",
  1683. "parameters": [
  1684. {
  1685. "type": "string",
  1686. "description": "资金账号ID列表,逗号隔开",
  1687. "name": "accountids",
  1688. "in": "query",
  1689. "required": true
  1690. },
  1691. {
  1692. "type": "integer",
  1693. "description": "合同类型 1-采购 -1-销售",
  1694. "name": "contracttype",
  1695. "in": "query",
  1696. "required": true
  1697. },
  1698. {
  1699. "type": "integer",
  1700. "description": "合同模式 1-普通 2-回购",
  1701. "name": "contractmode",
  1702. "in": "query",
  1703. "required": true
  1704. }
  1705. ],
  1706. "responses": {
  1707. "200": {
  1708. "description": "OK",
  1709. "schema": {
  1710. "type": "array",
  1711. "items": {
  1712. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  1713. }
  1714. }
  1715. },
  1716. "500": {
  1717. "description": "Internal Server Error",
  1718. "schema": {
  1719. "$ref": "#/definitions/app.Response"
  1720. }
  1721. }
  1722. }
  1723. }
  1724. },
  1725. "/Erms3/QueryPendingBusiness": {
  1726. "get": {
  1727. "security": [
  1728. {
  1729. "ApiKeyAuth": []
  1730. }
  1731. ],
  1732. "produces": [
  1733. "application/json"
  1734. ],
  1735. "tags": [
  1736. "风险管理v3"
  1737. ],
  1738. "summary": "查询待审核基差贸易业务",
  1739. "parameters": [
  1740. {
  1741. "type": "string",
  1742. "description": "资金账号ID列表,逗号隔开",
  1743. "name": "accountids",
  1744. "in": "query",
  1745. "required": true
  1746. }
  1747. ],
  1748. "responses": {
  1749. "200": {
  1750. "description": "OK",
  1751. "schema": {
  1752. "type": "array",
  1753. "items": {
  1754. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  1755. }
  1756. }
  1757. },
  1758. "500": {
  1759. "description": "Internal Server Error",
  1760. "schema": {
  1761. "$ref": "#/definitions/app.Response"
  1762. }
  1763. }
  1764. }
  1765. }
  1766. },
  1767. "/Erms3/QuerySpotContractAppleForm": {
  1768. "get": {
  1769. "security": [
  1770. {
  1771. "ApiKeyAuth": []
  1772. }
  1773. ],
  1774. "produces": [
  1775. "application/json"
  1776. ],
  1777. "tags": [
  1778. "风险管理v3"
  1779. ],
  1780. "summary": "查询合同申请表单数据",
  1781. "parameters": [
  1782. {
  1783. "type": "integer",
  1784. "description": "登录账号",
  1785. "name": "loginID",
  1786. "in": "query",
  1787. "required": true
  1788. }
  1789. ],
  1790. "responses": {
  1791. "200": {
  1792. "description": "OK",
  1793. "schema": {
  1794. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  1795. }
  1796. },
  1797. "500": {
  1798. "description": "Internal Server Error",
  1799. "schema": {
  1800. "$ref": "#/definitions/app.Response"
  1801. }
  1802. }
  1803. }
  1804. }
  1805. },
  1806. "/Erms3/QuerySpotContractDetail": {
  1807. "get": {
  1808. "security": [
  1809. {
  1810. "ApiKeyAuth": []
  1811. }
  1812. ],
  1813. "produces": [
  1814. "application/json"
  1815. ],
  1816. "tags": [
  1817. "风险管理v3"
  1818. ],
  1819. "summary": "查询合同详细信息",
  1820. "parameters": [
  1821. {
  1822. "type": "string",
  1823. "description": "资金账号ID列表,用逗号分隔",
  1824. "name": "accountids",
  1825. "in": "query",
  1826. "required": true
  1827. },
  1828. {
  1829. "type": "integer",
  1830. "description": "合同类型,1为采购合同 -1为销售合同",
  1831. "name": "contracttype",
  1832. "in": "query",
  1833. "required": true
  1834. },
  1835. {
  1836. "type": "integer",
  1837. "description": "合同模式,1为普通合同 2为回购销售合同",
  1838. "name": "contractmode",
  1839. "in": "query",
  1840. "required": true
  1841. },
  1842. {
  1843. "type": "integer",
  1844. "description": "状态,0为履约中 1为已完成",
  1845. "name": "status",
  1846. "in": "query",
  1847. "required": true
  1848. }
  1849. ],
  1850. "responses": {
  1851. "200": {
  1852. "description": "OK",
  1853. "schema": {
  1854. "type": "array",
  1855. "items": {
  1856. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  1857. }
  1858. }
  1859. },
  1860. "500": {
  1861. "description": "Internal Server Error",
  1862. "schema": {
  1863. "$ref": "#/definitions/app.Response"
  1864. }
  1865. }
  1866. }
  1867. }
  1868. },
  1869. "/Erms3/QueryUserInfoApplies": {
  1870. "get": {
  1871. "security": [
  1872. {
  1873. "ApiKeyAuth": []
  1874. }
  1875. ],
  1876. "produces": [
  1877. "application/json"
  1878. ],
  1879. "tags": [
  1880. "风险管理v3"
  1881. ],
  1882. "summary": "客户申请信息查询",
  1883. "parameters": [
  1884. {
  1885. "type": "integer",
  1886. "description": "页码",
  1887. "name": "page",
  1888. "in": "query"
  1889. },
  1890. {
  1891. "type": "integer",
  1892. "description": "每页条数",
  1893. "name": "pagesize",
  1894. "in": "query"
  1895. },
  1896. {
  1897. "type": "string",
  1898. "description": "客户名称,支持模糊查询",
  1899. "name": "userName",
  1900. "in": "query"
  1901. }
  1902. ],
  1903. "responses": {
  1904. "200": {
  1905. "description": "OK",
  1906. "schema": {
  1907. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  1908. }
  1909. },
  1910. "500": {
  1911. "description": "Internal Server Error",
  1912. "schema": {
  1913. "$ref": "#/definitions/app.Response"
  1914. }
  1915. }
  1916. }
  1917. }
  1918. },
  1919. "/Erms3/QueryUserInfos": {
  1920. "get": {
  1921. "security": [
  1922. {
  1923. "ApiKeyAuth": []
  1924. }
  1925. ],
  1926. "produces": [
  1927. "application/json"
  1928. ],
  1929. "tags": [
  1930. "风险管理v3"
  1931. ],
  1932. "summary": "客户信息查询",
  1933. "parameters": [
  1934. {
  1935. "type": "integer",
  1936. "description": "页码",
  1937. "name": "page",
  1938. "in": "query"
  1939. },
  1940. {
  1941. "type": "integer",
  1942. "description": "每页条数",
  1943. "name": "pagesize",
  1944. "in": "query"
  1945. },
  1946. {
  1947. "type": "string",
  1948. "description": "客户名称,支持模糊查询",
  1949. "name": "userName",
  1950. "in": "query"
  1951. }
  1952. ],
  1953. "responses": {
  1954. "200": {
  1955. "description": "OK",
  1956. "schema": {
  1957. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  1958. }
  1959. },
  1960. "500": {
  1961. "description": "Internal Server Error",
  1962. "schema": {
  1963. "$ref": "#/definitions/app.Response"
  1964. }
  1965. }
  1966. }
  1967. }
  1968. },
  1969. "/HSBY/GetHsbyMyCount": {
  1970. "get": {
  1971. "security": [
  1972. {
  1973. "ApiKeyAuth": []
  1974. }
  1975. ],
  1976. "description": "说明: 不包括已完成的数量。",
  1977. "produces": [
  1978. "application/json"
  1979. ],
  1980. "tags": [
  1981. "定制【海商报业】"
  1982. ],
  1983. "summary": "获取我的订单与包裹数量",
  1984. "parameters": [
  1985. {
  1986. "type": "string",
  1987. "description": "资金账户列表,格式:1,2,3",
  1988. "name": "accountIDs",
  1989. "in": "query",
  1990. "required": true
  1991. }
  1992. ],
  1993. "responses": {
  1994. "200": {
  1995. "description": "OK",
  1996. "schema": {
  1997. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  1998. }
  1999. },
  2000. "500": {
  2001. "description": "Internal Server Error",
  2002. "schema": {
  2003. "$ref": "#/definitions/app.Response"
  2004. }
  2005. }
  2006. }
  2007. }
  2008. },
  2009. "/HSBY/QueryClientFixedADConfigs": {
  2010. "get": {
  2011. "security": [
  2012. {
  2013. "ApiKeyAuth": []
  2014. }
  2015. ],
  2016. "produces": [
  2017. "application/json"
  2018. ],
  2019. "tags": [
  2020. "定制【海商报业】"
  2021. ],
  2022. "summary": "获取终端固定广告配置",
  2023. "responses": {
  2024. "200": {
  2025. "description": "OK",
  2026. "schema": {
  2027. "$ref": "#/definitions/models.Clientfixedadconfig"
  2028. }
  2029. },
  2030. "500": {
  2031. "description": "Internal Server Error",
  2032. "schema": {
  2033. "$ref": "#/definitions/app.Response"
  2034. }
  2035. }
  2036. }
  2037. }
  2038. },
  2039. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  2040. "get": {
  2041. "security": [
  2042. {
  2043. "ApiKeyAuth": []
  2044. }
  2045. ],
  2046. "produces": [
  2047. "application/json"
  2048. ],
  2049. "tags": [
  2050. "定制【海商报业】"
  2051. ],
  2052. "summary": "查询\"我的订单 - 已完成\"单据信息",
  2053. "parameters": [
  2054. {
  2055. "type": "integer",
  2056. "description": "页码",
  2057. "name": "page",
  2058. "in": "query"
  2059. },
  2060. {
  2061. "type": "integer",
  2062. "description": "每页条数",
  2063. "name": "pagesize",
  2064. "in": "query"
  2065. },
  2066. {
  2067. "type": "string",
  2068. "description": "资金账户列表,格式:1,2,3",
  2069. "name": "accountIDs",
  2070. "in": "query",
  2071. "required": true
  2072. }
  2073. ],
  2074. "responses": {
  2075. "200": {
  2076. "description": "OK",
  2077. "schema": {
  2078. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  2079. }
  2080. },
  2081. "500": {
  2082. "description": "Internal Server Error",
  2083. "schema": {
  2084. "$ref": "#/definitions/app.Response"
  2085. }
  2086. }
  2087. }
  2088. }
  2089. },
  2090. "/HSBY/QueryHsbyGoodsOrderDetails": {
  2091. "get": {
  2092. "security": [
  2093. {
  2094. "ApiKeyAuth": []
  2095. }
  2096. ],
  2097. "description": "说明:查询结果已按委托价格和委托时间排序",
  2098. "produces": [
  2099. "application/json"
  2100. ],
  2101. "tags": [
  2102. "定制【海商报业】"
  2103. ],
  2104. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  2105. "parameters": [
  2106. {
  2107. "type": "integer",
  2108. "description": "商品ID",
  2109. "name": "goodsID",
  2110. "in": "query",
  2111. "required": true
  2112. },
  2113. {
  2114. "type": "string",
  2115. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  2116. "name": "accountIDs",
  2117. "in": "query"
  2118. },
  2119. {
  2120. "type": "integer",
  2121. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  2122. "name": "buyOrSell",
  2123. "in": "query"
  2124. },
  2125. {
  2126. "type": "number",
  2127. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  2128. "name": "price",
  2129. "in": "query"
  2130. },
  2131. {
  2132. "type": "integer",
  2133. "description": "档位,不传则默认为3档",
  2134. "name": "speed",
  2135. "in": "query"
  2136. }
  2137. ],
  2138. "responses": {
  2139. "200": {
  2140. "description": "OK",
  2141. "schema": {
  2142. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  2143. }
  2144. },
  2145. "500": {
  2146. "description": "Internal Server Error",
  2147. "schema": {
  2148. "$ref": "#/definitions/app.Response"
  2149. }
  2150. }
  2151. }
  2152. }
  2153. },
  2154. "/HSBY/QueryHsbyListingGoodsDetail": {
  2155. "get": {
  2156. "security": [
  2157. {
  2158. "ApiKeyAuth": []
  2159. }
  2160. ],
  2161. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  2162. "produces": [
  2163. "application/json"
  2164. ],
  2165. "tags": [
  2166. "定制【海商报业】"
  2167. ],
  2168. "summary": "查询二级市场(挂牌点选)商品信息详情",
  2169. "parameters": [
  2170. {
  2171. "type": "integer",
  2172. "description": "商品ID",
  2173. "name": "goodsID",
  2174. "in": "query",
  2175. "required": true
  2176. },
  2177. {
  2178. "type": "integer",
  2179. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  2180. "name": "accountID",
  2181. "in": "query"
  2182. }
  2183. ],
  2184. "responses": {
  2185. "200": {
  2186. "description": "OK",
  2187. "schema": {
  2188. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  2189. }
  2190. },
  2191. "500": {
  2192. "description": "Internal Server Error",
  2193. "schema": {
  2194. "$ref": "#/definitions/app.Response"
  2195. }
  2196. }
  2197. }
  2198. }
  2199. },
  2200. "/HSBY/QueryHsbyMarketGoodsDetail": {
  2201. "get": {
  2202. "security": [
  2203. {
  2204. "ApiKeyAuth": []
  2205. }
  2206. ],
  2207. "produces": [
  2208. "application/json"
  2209. ],
  2210. "tags": [
  2211. "定制【海商报业】"
  2212. ],
  2213. "summary": "查询三级市场(商城)商品信息详情",
  2214. "parameters": [
  2215. {
  2216. "type": "integer",
  2217. "description": "委托单号",
  2218. "name": "orderID",
  2219. "in": "query",
  2220. "required": true
  2221. },
  2222. {
  2223. "type": "integer",
  2224. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  2225. "name": "accountID",
  2226. "in": "query"
  2227. }
  2228. ],
  2229. "responses": {
  2230. "200": {
  2231. "description": "OK",
  2232. "schema": {
  2233. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  2234. }
  2235. },
  2236. "500": {
  2237. "description": "Internal Server Error",
  2238. "schema": {
  2239. "$ref": "#/definitions/app.Response"
  2240. }
  2241. }
  2242. }
  2243. }
  2244. },
  2245. "/HSBY/QueryHsbyMarketGoodses": {
  2246. "get": {
  2247. "security": [
  2248. {
  2249. "ApiKeyAuth": []
  2250. }
  2251. ],
  2252. "produces": [
  2253. "application/json"
  2254. ],
  2255. "tags": [
  2256. "定制【海商报业】"
  2257. ],
  2258. "summary": "查询特卖商品列表(三级商城)",
  2259. "parameters": [
  2260. {
  2261. "type": "integer",
  2262. "description": "页码",
  2263. "name": "page",
  2264. "in": "query"
  2265. },
  2266. {
  2267. "type": "integer",
  2268. "description": "每页条数",
  2269. "name": "pagesize",
  2270. "in": "query"
  2271. },
  2272. {
  2273. "type": "string",
  2274. "description": "市场ID列表,格式:1,2,3",
  2275. "name": "marketIDs",
  2276. "in": "query",
  2277. "required": true
  2278. },
  2279. {
  2280. "type": "integer",
  2281. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  2282. "name": "accountID",
  2283. "in": "query",
  2284. "required": true
  2285. },
  2286. {
  2287. "type": "integer",
  2288. "description": "类别ID",
  2289. "name": "categoryID",
  2290. "in": "query"
  2291. },
  2292. {
  2293. "type": "string",
  2294. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  2295. "name": "goodsIDs",
  2296. "in": "query"
  2297. },
  2298. {
  2299. "type": "integer",
  2300. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  2301. "name": "couponTypeID",
  2302. "in": "query"
  2303. }
  2304. ],
  2305. "responses": {
  2306. "200": {
  2307. "description": "OK",
  2308. "schema": {
  2309. "$ref": "#/definitions/models.HsbyMarketGoods"
  2310. }
  2311. },
  2312. "500": {
  2313. "description": "Internal Server Error",
  2314. "schema": {
  2315. "$ref": "#/definitions/app.Response"
  2316. }
  2317. }
  2318. }
  2319. }
  2320. },
  2321. "/HSBY/QueryHsbyMarkets": {
  2322. "get": {
  2323. "security": [
  2324. {
  2325. "ApiKeyAuth": []
  2326. }
  2327. ],
  2328. "produces": [
  2329. "application/json"
  2330. ],
  2331. "tags": [
  2332. "定制【海商报业】"
  2333. ],
  2334. "summary": "查询海商报业相关市场信息",
  2335. "responses": {
  2336. "200": {
  2337. "description": "OK",
  2338. "schema": {
  2339. "$ref": "#/definitions/models.HsbyMarketInfo"
  2340. }
  2341. },
  2342. "500": {
  2343. "description": "Internal Server Error",
  2344. "schema": {
  2345. "$ref": "#/definitions/app.Response"
  2346. }
  2347. }
  2348. }
  2349. }
  2350. },
  2351. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  2352. "get": {
  2353. "security": [
  2354. {
  2355. "ApiKeyAuth": []
  2356. }
  2357. ],
  2358. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  2359. "produces": [
  2360. "application/json"
  2361. ],
  2362. "tags": [
  2363. "定制【海商报业】"
  2364. ],
  2365. "summary": "查询“我的订单”信息",
  2366. "parameters": [
  2367. {
  2368. "type": "string",
  2369. "description": "资金账户列表,格式:1,2,3",
  2370. "name": "accountIDs",
  2371. "in": "query",
  2372. "required": true
  2373. },
  2374. {
  2375. "type": "integer",
  2376. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  2377. "name": "myBuyStatus",
  2378. "in": "query"
  2379. }
  2380. ],
  2381. "responses": {
  2382. "200": {
  2383. "description": "OK",
  2384. "schema": {
  2385. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  2386. }
  2387. },
  2388. "500": {
  2389. "description": "Internal Server Error",
  2390. "schema": {
  2391. "$ref": "#/definitions/app.Response"
  2392. }
  2393. }
  2394. }
  2395. }
  2396. },
  2397. "/HSBY/QueryHsbyMyGoods": {
  2398. "get": {
  2399. "security": [
  2400. {
  2401. "ApiKeyAuth": []
  2402. }
  2403. ],
  2404. "produces": [
  2405. "application/json"
  2406. ],
  2407. "tags": [
  2408. "定制【海商报业】"
  2409. ],
  2410. "summary": "查询“我的商品”信息",
  2411. "parameters": [
  2412. {
  2413. "type": "string",
  2414. "description": "资金账户列表,格式:1,2,3",
  2415. "name": "accountIDs",
  2416. "in": "query",
  2417. "required": true
  2418. }
  2419. ],
  2420. "responses": {
  2421. "200": {
  2422. "description": "OK",
  2423. "schema": {
  2424. "$ref": "#/definitions/models.HsbyMyGoods"
  2425. }
  2426. },
  2427. "500": {
  2428. "description": "Internal Server Error",
  2429. "schema": {
  2430. "$ref": "#/definitions/app.Response"
  2431. }
  2432. }
  2433. }
  2434. }
  2435. },
  2436. "/HSBY/QueryHsbyMyPackages": {
  2437. "get": {
  2438. "security": [
  2439. {
  2440. "ApiKeyAuth": []
  2441. }
  2442. ],
  2443. "produces": [
  2444. "application/json"
  2445. ],
  2446. "tags": [
  2447. "定制【海商报业】"
  2448. ],
  2449. "summary": "查询我的包裹信息",
  2450. "parameters": [
  2451. {
  2452. "type": "string",
  2453. "description": "资金账户列表,格式:1,2,3",
  2454. "name": "accountIDs",
  2455. "in": "query",
  2456. "required": true
  2457. },
  2458. {
  2459. "type": "integer",
  2460. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2461. "name": "takeOrderStatus",
  2462. "in": "query"
  2463. }
  2464. ],
  2465. "responses": {
  2466. "200": {
  2467. "description": "OK",
  2468. "schema": {
  2469. "$ref": "#/definitions/models.HsbyMyPackage"
  2470. }
  2471. },
  2472. "500": {
  2473. "description": "Internal Server Error",
  2474. "schema": {
  2475. "$ref": "#/definitions/app.Response"
  2476. }
  2477. }
  2478. }
  2479. }
  2480. },
  2481. "/HSBY/QueryHsbyPreGoodsDetail": {
  2482. "get": {
  2483. "security": [
  2484. {
  2485. "ApiKeyAuth": []
  2486. }
  2487. ],
  2488. "produces": [
  2489. "application/json"
  2490. ],
  2491. "tags": [
  2492. "定制【海商报业】"
  2493. ],
  2494. "summary": "查询一级市场(预售)商品信息详情",
  2495. "parameters": [
  2496. {
  2497. "type": "integer",
  2498. "description": "商品ID",
  2499. "name": "goodsID",
  2500. "in": "query",
  2501. "required": true
  2502. },
  2503. {
  2504. "type": "integer",
  2505. "description": "资金账户,主要用于获取预售商品购买上限",
  2506. "name": "accountID",
  2507. "in": "query"
  2508. }
  2509. ],
  2510. "responses": {
  2511. "200": {
  2512. "description": "OK",
  2513. "schema": {
  2514. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  2515. }
  2516. },
  2517. "500": {
  2518. "description": "Internal Server Error",
  2519. "schema": {
  2520. "$ref": "#/definitions/app.Response"
  2521. }
  2522. }
  2523. }
  2524. }
  2525. },
  2526. "/HSBY/QueryHsbyPreGoodses": {
  2527. "get": {
  2528. "security": [
  2529. {
  2530. "ApiKeyAuth": []
  2531. }
  2532. ],
  2533. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  2534. "produces": [
  2535. "application/json"
  2536. ],
  2537. "tags": [
  2538. "定制【海商报业】"
  2539. ],
  2540. "summary": "查询新品上市商品列表(一级市场预售)",
  2541. "parameters": [
  2542. {
  2543. "type": "integer",
  2544. "description": "页码",
  2545. "name": "page",
  2546. "in": "query"
  2547. },
  2548. {
  2549. "type": "integer",
  2550. "description": "每页条数",
  2551. "name": "pagesize",
  2552. "in": "query"
  2553. },
  2554. {
  2555. "type": "string",
  2556. "description": "市场ID列表,格式:1,2,3",
  2557. "name": "marketIDs",
  2558. "in": "query",
  2559. "required": true
  2560. },
  2561. {
  2562. "type": "integer",
  2563. "description": "目的地(省)ID",
  2564. "name": "descProvinceID",
  2565. "in": "query"
  2566. },
  2567. {
  2568. "type": "integer",
  2569. "description": "目的地(市)ID",
  2570. "name": "descCityID",
  2571. "in": "query"
  2572. }
  2573. ],
  2574. "responses": {
  2575. "200": {
  2576. "description": "OK",
  2577. "schema": {
  2578. "$ref": "#/definitions/models.HsbyPreGoods"
  2579. }
  2580. },
  2581. "500": {
  2582. "description": "Internal Server Error",
  2583. "schema": {
  2584. "$ref": "#/definitions/app.Response"
  2585. }
  2586. }
  2587. }
  2588. }
  2589. },
  2590. "/HSBY/QueryHsbySellMyDetails": {
  2591. "get": {
  2592. "security": [
  2593. {
  2594. "ApiKeyAuth": []
  2595. }
  2596. ],
  2597. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  2598. "produces": [
  2599. "application/json"
  2600. ],
  2601. "tags": [
  2602. "定制【海商报业】"
  2603. ],
  2604. "summary": "查询\"我的闲置\"单据信息",
  2605. "parameters": [
  2606. {
  2607. "type": "integer",
  2608. "description": "页码",
  2609. "name": "page",
  2610. "in": "query"
  2611. },
  2612. {
  2613. "type": "integer",
  2614. "description": "每页条数",
  2615. "name": "pagesize",
  2616. "in": "query"
  2617. },
  2618. {
  2619. "type": "string",
  2620. "description": "资金账户列表,格式:1,2,3",
  2621. "name": "accountIDs",
  2622. "in": "query",
  2623. "required": true
  2624. },
  2625. {
  2626. "type": "integer",
  2627. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  2628. "name": "orderType",
  2629. "in": "query"
  2630. }
  2631. ],
  2632. "responses": {
  2633. "200": {
  2634. "description": "OK",
  2635. "schema": {
  2636. "$ref": "#/definitions/models.HsbySellMyDetail"
  2637. }
  2638. },
  2639. "500": {
  2640. "description": "Internal Server Error",
  2641. "schema": {
  2642. "$ref": "#/definitions/app.Response"
  2643. }
  2644. }
  2645. }
  2646. }
  2647. },
  2648. "/HSBY/QueryHsbyTopGoodses": {
  2649. "get": {
  2650. "security": [
  2651. {
  2652. "ApiKeyAuth": []
  2653. }
  2654. ],
  2655. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  2656. "produces": [
  2657. "application/json"
  2658. ],
  2659. "tags": [
  2660. "定制【海商报业】"
  2661. ],
  2662. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  2663. "parameters": [
  2664. {
  2665. "type": "integer",
  2666. "description": "页码",
  2667. "name": "page",
  2668. "in": "query"
  2669. },
  2670. {
  2671. "type": "integer",
  2672. "description": "每页条数",
  2673. "name": "pagesize",
  2674. "in": "query"
  2675. },
  2676. {
  2677. "type": "string",
  2678. "description": "市场ID列表,格式:1,2,3",
  2679. "name": "marketIDs",
  2680. "in": "query",
  2681. "required": true
  2682. },
  2683. {
  2684. "type": "integer",
  2685. "description": "目的地(省)ID",
  2686. "name": "descProvinceID",
  2687. "in": "query"
  2688. },
  2689. {
  2690. "type": "integer",
  2691. "description": "目的地(市)ID",
  2692. "name": "descCityID",
  2693. "in": "query"
  2694. }
  2695. ],
  2696. "responses": {
  2697. "200": {
  2698. "description": "OK",
  2699. "schema": {
  2700. "$ref": "#/definitions/models.HsbyTopGoods"
  2701. }
  2702. },
  2703. "500": {
  2704. "description": "Internal Server Error",
  2705. "schema": {
  2706. "$ref": "#/definitions/app.Response"
  2707. }
  2708. }
  2709. }
  2710. }
  2711. },
  2712. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  2713. "get": {
  2714. "security": [
  2715. {
  2716. "ApiKeyAuth": []
  2717. }
  2718. ],
  2719. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  2720. "produces": [
  2721. "application/json"
  2722. ],
  2723. "tags": [
  2724. "定制【海商报业】"
  2725. ],
  2726. "summary": "查询游客三级市场(商城)商品信息详情",
  2727. "parameters": [
  2728. {
  2729. "type": "integer",
  2730. "description": "商品ID",
  2731. "name": "goodsID",
  2732. "in": "query",
  2733. "required": true
  2734. }
  2735. ],
  2736. "responses": {
  2737. "200": {
  2738. "description": "OK",
  2739. "schema": {
  2740. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  2741. }
  2742. },
  2743. "500": {
  2744. "description": "Internal Server Error",
  2745. "schema": {
  2746. "$ref": "#/definitions/app.Response"
  2747. }
  2748. }
  2749. }
  2750. }
  2751. },
  2752. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  2753. "get": {
  2754. "security": [
  2755. {
  2756. "ApiKeyAuth": []
  2757. }
  2758. ],
  2759. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  2760. "produces": [
  2761. "application/json"
  2762. ],
  2763. "tags": [
  2764. "定制【海商报业】"
  2765. ],
  2766. "summary": "查询游客特卖商品列表(三级商城)",
  2767. "parameters": [
  2768. {
  2769. "type": "integer",
  2770. "description": "页码",
  2771. "name": "page",
  2772. "in": "query"
  2773. },
  2774. {
  2775. "type": "integer",
  2776. "description": "每页条数",
  2777. "name": "pagesize",
  2778. "in": "query"
  2779. },
  2780. {
  2781. "type": "string",
  2782. "description": "市场ID列表,格式:1,2,3",
  2783. "name": "marketIDs",
  2784. "in": "query",
  2785. "required": true
  2786. },
  2787. {
  2788. "type": "integer",
  2789. "description": "类别ID",
  2790. "name": "categoryID",
  2791. "in": "query"
  2792. },
  2793. {
  2794. "type": "string",
  2795. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  2796. "name": "goodsIDs",
  2797. "in": "query"
  2798. }
  2799. ],
  2800. "responses": {
  2801. "200": {
  2802. "description": "OK",
  2803. "schema": {
  2804. "$ref": "#/definitions/models.HsbyMarketGoods"
  2805. }
  2806. },
  2807. "500": {
  2808. "description": "Internal Server Error",
  2809. "schema": {
  2810. "$ref": "#/definitions/app.Response"
  2811. }
  2812. }
  2813. }
  2814. }
  2815. },
  2816. "/HSBY/QueryMyCollectionOrders": {
  2817. "get": {
  2818. "security": [
  2819. {
  2820. "ApiKeyAuth": []
  2821. }
  2822. ],
  2823. "produces": [
  2824. "application/json"
  2825. ],
  2826. "tags": [
  2827. "定制【海商报业】"
  2828. ],
  2829. "summary": "我的闲置中收款信息查询",
  2830. "parameters": [
  2831. {
  2832. "type": "integer",
  2833. "description": "页码",
  2834. "name": "page",
  2835. "in": "query"
  2836. },
  2837. {
  2838. "type": "integer",
  2839. "description": "每页条数",
  2840. "name": "pagesize",
  2841. "in": "query"
  2842. },
  2843. {
  2844. "type": "string",
  2845. "description": "资金账户,格式:1,2,3",
  2846. "name": "accountIDs",
  2847. "in": "query",
  2848. "required": true
  2849. }
  2850. ],
  2851. "responses": {
  2852. "200": {
  2853. "description": "OK",
  2854. "schema": {
  2855. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  2856. }
  2857. },
  2858. "500": {
  2859. "description": "Internal Server Error",
  2860. "schema": {
  2861. "$ref": "#/definitions/app.Response"
  2862. }
  2863. }
  2864. }
  2865. }
  2866. },
  2867. "/HSBY/QueryMyCouponHolds": {
  2868. "get": {
  2869. "security": [
  2870. {
  2871. "ApiKeyAuth": []
  2872. }
  2873. ],
  2874. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  2875. "produces": [
  2876. "application/json"
  2877. ],
  2878. "tags": [
  2879. "定制【海商报业】"
  2880. ],
  2881. "summary": "我的优惠卷持仓查询",
  2882. "parameters": [
  2883. {
  2884. "type": "string",
  2885. "description": "资金账户列表,格式:1,2,3",
  2886. "name": "accountIDs",
  2887. "in": "query",
  2888. "required": true
  2889. },
  2890. {
  2891. "type": "string",
  2892. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  2893. "name": "holdStatus",
  2894. "in": "query"
  2895. }
  2896. ],
  2897. "responses": {
  2898. "200": {
  2899. "description": "OK",
  2900. "schema": {
  2901. "$ref": "#/definitions/models.MyCouponHold"
  2902. }
  2903. },
  2904. "500": {
  2905. "description": "Internal Server Error",
  2906. "schema": {
  2907. "$ref": "#/definitions/app.Response"
  2908. }
  2909. }
  2910. }
  2911. }
  2912. },
  2913. "/HSBY/QueryMyCoupons": {
  2914. "get": {
  2915. "security": [
  2916. {
  2917. "ApiKeyAuth": []
  2918. }
  2919. ],
  2920. "produces": [
  2921. "application/json"
  2922. ],
  2923. "tags": [
  2924. "定制【海商报业】"
  2925. ],
  2926. "summary": "我的优惠卷查询",
  2927. "parameters": [
  2928. {
  2929. "type": "string",
  2930. "description": "资金账户列表,格式:1,2,3",
  2931. "name": "accountIDs",
  2932. "in": "query",
  2933. "required": true
  2934. },
  2935. {
  2936. "type": "integer",
  2937. "description": "商品ID, 一般与sellUserID配套传入",
  2938. "name": "goodsID",
  2939. "in": "query"
  2940. },
  2941. {
  2942. "type": "integer",
  2943. "description": "卖方UserID",
  2944. "name": "sellUserID",
  2945. "in": "query"
  2946. }
  2947. ],
  2948. "responses": {
  2949. "200": {
  2950. "description": "OK",
  2951. "schema": {
  2952. "$ref": "#/definitions/models.MyCoupon"
  2953. }
  2954. },
  2955. "500": {
  2956. "description": "Internal Server Error",
  2957. "schema": {
  2958. "$ref": "#/definitions/app.Response"
  2959. }
  2960. }
  2961. }
  2962. }
  2963. },
  2964. "/HSBY/QueryMyPayOrders": {
  2965. "get": {
  2966. "security": [
  2967. {
  2968. "ApiKeyAuth": []
  2969. }
  2970. ],
  2971. "produces": [
  2972. "application/json"
  2973. ],
  2974. "tags": [
  2975. "定制【海商报业】"
  2976. ],
  2977. "summary": "获取我的订单中待付款信息",
  2978. "parameters": [
  2979. {
  2980. "type": "integer",
  2981. "description": "页码",
  2982. "name": "page",
  2983. "in": "query"
  2984. },
  2985. {
  2986. "type": "integer",
  2987. "description": "每页条数",
  2988. "name": "pagesize",
  2989. "in": "query"
  2990. },
  2991. {
  2992. "type": "string",
  2993. "description": "资金账户列表,格式:1,2,3",
  2994. "name": "accountIDs",
  2995. "in": "query",
  2996. "required": true
  2997. },
  2998. {
  2999. "type": "integer",
  3000. "description": "买方委托单号",
  3001. "name": "buyOrderID",
  3002. "in": "query"
  3003. },
  3004. {
  3005. "type": "integer",
  3006. "description": "卖方委托单号",
  3007. "name": "sellOrderID",
  3008. "in": "query"
  3009. }
  3010. ],
  3011. "responses": {
  3012. "200": {
  3013. "description": "OK",
  3014. "schema": {
  3015. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  3016. }
  3017. },
  3018. "500": {
  3019. "description": "Internal Server Error",
  3020. "schema": {
  3021. "$ref": "#/definitions/app.Response"
  3022. }
  3023. }
  3024. }
  3025. }
  3026. },
  3027. "/HSBY/QueryMyUsedCoupon": {
  3028. "get": {
  3029. "security": [
  3030. {
  3031. "ApiKeyAuth": []
  3032. }
  3033. ],
  3034. "produces": [
  3035. "application/json"
  3036. ],
  3037. "tags": [
  3038. "定制【海商报业】"
  3039. ],
  3040. "summary": "已使用优惠卷查询",
  3041. "parameters": [
  3042. {
  3043. "type": "string",
  3044. "description": "资金账户列表,格式:1,2,3",
  3045. "name": "accountIDs",
  3046. "in": "query",
  3047. "required": true
  3048. }
  3049. ],
  3050. "responses": {
  3051. "200": {
  3052. "description": "OK",
  3053. "schema": {
  3054. "$ref": "#/definitions/models.MyUsedCoupon"
  3055. }
  3056. },
  3057. "500": {
  3058. "description": "Internal Server Error",
  3059. "schema": {
  3060. "$ref": "#/definitions/app.Response"
  3061. }
  3062. }
  3063. }
  3064. }
  3065. },
  3066. "/HSBY/QueryProvincesAndCities": {
  3067. "get": {
  3068. "security": [
  3069. {
  3070. "ApiKeyAuth": []
  3071. }
  3072. ],
  3073. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  3074. "produces": [
  3075. "application/json"
  3076. ],
  3077. "tags": [
  3078. "定制【海商报业】"
  3079. ],
  3080. "summary": "查询省市信息(不包括区)",
  3081. "parameters": [
  3082. {
  3083. "type": "integer",
  3084. "description": "省ID",
  3085. "name": "provinceID",
  3086. "in": "query"
  3087. }
  3088. ],
  3089. "responses": {
  3090. "200": {
  3091. "description": "OK",
  3092. "schema": {
  3093. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  3094. }
  3095. },
  3096. "500": {
  3097. "description": "Internal Server Error",
  3098. "schema": {
  3099. "$ref": "#/definitions/app.Response"
  3100. }
  3101. }
  3102. }
  3103. }
  3104. },
  3105. "/HSBY/SetHsbyMyPackagesStatus": {
  3106. "post": {
  3107. "security": [
  3108. {
  3109. "ApiKeyAuth": []
  3110. }
  3111. ],
  3112. "produces": [
  3113. "application/json"
  3114. ],
  3115. "tags": [
  3116. "定制【海商报业】"
  3117. ],
  3118. "summary": "设置我的包裹已收货状态",
  3119. "parameters": [
  3120. {
  3121. "type": "string",
  3122. "description": "提货单号",
  3123. "name": "takeOrderID",
  3124. "in": "query",
  3125. "required": true
  3126. },
  3127. {
  3128. "type": "integer",
  3129. "description": "资金账号",
  3130. "name": "accountID",
  3131. "in": "query",
  3132. "required": true
  3133. }
  3134. ],
  3135. "responses": {
  3136. "200": {
  3137. "description": "OK",
  3138. "schema": {
  3139. "$ref": "#/definitions/app.Response"
  3140. }
  3141. },
  3142. "500": {
  3143. "description": "Internal Server Error",
  3144. "schema": {
  3145. "$ref": "#/definitions/app.Response"
  3146. }
  3147. }
  3148. }
  3149. }
  3150. },
  3151. "/Market/QueryMarketRun": {
  3152. "get": {
  3153. "security": [
  3154. {
  3155. "ApiKeyAuth": []
  3156. }
  3157. ],
  3158. "produces": [
  3159. "application/json"
  3160. ],
  3161. "tags": [
  3162. "通用市场"
  3163. ],
  3164. "summary": "查询市场运行信息",
  3165. "parameters": [
  3166. {
  3167. "type": "integer",
  3168. "description": "市场ID,不传返回所有",
  3169. "name": "marketID",
  3170. "in": "query"
  3171. }
  3172. ],
  3173. "responses": {
  3174. "200": {
  3175. "description": "OK",
  3176. "schema": {
  3177. "$ref": "#/definitions/models.Marketrun"
  3178. }
  3179. },
  3180. "500": {
  3181. "description": "Internal Server Error",
  3182. "schema": {
  3183. "$ref": "#/definitions/app.Response"
  3184. }
  3185. }
  3186. }
  3187. }
  3188. },
  3189. "/Market/QueryMarketsByLoginID": {
  3190. "get": {
  3191. "security": [
  3192. {
  3193. "ApiKeyAuth": []
  3194. }
  3195. ],
  3196. "produces": [
  3197. "application/json"
  3198. ],
  3199. "tags": [
  3200. "通用市场"
  3201. ],
  3202. "summary": "获取登录账号有权限的市场信息",
  3203. "parameters": [
  3204. {
  3205. "type": "integer",
  3206. "description": "登录账号",
  3207. "name": "loginID",
  3208. "in": "query",
  3209. "required": true
  3210. }
  3211. ],
  3212. "responses": {
  3213. "200": {
  3214. "description": "OK",
  3215. "schema": {
  3216. "$ref": "#/definitions/models.Market"
  3217. }
  3218. },
  3219. "500": {
  3220. "description": "Internal Server Error",
  3221. "schema": {
  3222. "$ref": "#/definitions/app.Response"
  3223. }
  3224. }
  3225. }
  3226. }
  3227. },
  3228. "/Order/QueryHisTradeDetail": {
  3229. "get": {
  3230. "security": [
  3231. {
  3232. "ApiKeyAuth": []
  3233. }
  3234. ],
  3235. "produces": [
  3236. "application/json"
  3237. ],
  3238. "tags": [
  3239. "通用单据"
  3240. ],
  3241. "summary": "历史成交单查询(合约市场)",
  3242. "parameters": [
  3243. {
  3244. "type": "string",
  3245. "description": "资金账户 - 格式:1,2,3",
  3246. "name": "accountID",
  3247. "in": "query",
  3248. "required": true
  3249. },
  3250. {
  3251. "type": "integer",
  3252. "description": "成交单号",
  3253. "name": "tradeID",
  3254. "in": "query"
  3255. },
  3256. {
  3257. "type": "integer",
  3258. "description": "委托单号",
  3259. "name": "orderID",
  3260. "in": "query"
  3261. },
  3262. {
  3263. "type": "string",
  3264. "description": "交易模式 - 格式:1,2,3",
  3265. "name": "tradeMode",
  3266. "in": "query"
  3267. },
  3268. {
  3269. "type": "integer",
  3270. "description": "委托单据类型",
  3271. "name": "buildType",
  3272. "in": "query"
  3273. },
  3274. {
  3275. "type": "string",
  3276. "description": "成交类别 - 格式:1,2,3",
  3277. "name": "tradeType",
  3278. "in": "query"
  3279. },
  3280. {
  3281. "type": "string",
  3282. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3283. "name": "startDate",
  3284. "in": "query"
  3285. },
  3286. {
  3287. "type": "string",
  3288. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3289. "name": "endDate",
  3290. "in": "query"
  3291. }
  3292. ],
  3293. "responses": {
  3294. "200": {
  3295. "description": "OK",
  3296. "schema": {
  3297. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  3298. }
  3299. },
  3300. "500": {
  3301. "description": "Internal Server Error",
  3302. "schema": {
  3303. "$ref": "#/definitions/app.Response"
  3304. }
  3305. }
  3306. }
  3307. }
  3308. },
  3309. "/Order/QueryHisTradeOrderDetail": {
  3310. "get": {
  3311. "security": [
  3312. {
  3313. "ApiKeyAuth": []
  3314. }
  3315. ],
  3316. "produces": [
  3317. "application/json"
  3318. ],
  3319. "tags": [
  3320. "通用单据"
  3321. ],
  3322. "summary": "历史委托单查询请求(合约市场)",
  3323. "parameters": [
  3324. {
  3325. "type": "string",
  3326. "description": "资金账户 - 格式:1,2,3",
  3327. "name": "accountID",
  3328. "in": "query",
  3329. "required": true
  3330. },
  3331. {
  3332. "type": "string",
  3333. "description": "交易模式 - 格式:1,2,3",
  3334. "name": "tradeMode",
  3335. "in": "query"
  3336. },
  3337. {
  3338. "type": "string",
  3339. "description": "委托状态 - 格式:1,2,3",
  3340. "name": "orderStatus",
  3341. "in": "query"
  3342. },
  3343. {
  3344. "type": "integer",
  3345. "description": "委托单号",
  3346. "name": "orderID",
  3347. "in": "query"
  3348. },
  3349. {
  3350. "type": "string",
  3351. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3352. "name": "startDate",
  3353. "in": "query"
  3354. },
  3355. {
  3356. "type": "string",
  3357. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3358. "name": "endDate",
  3359. "in": "query"
  3360. }
  3361. ],
  3362. "responses": {
  3363. "200": {
  3364. "description": "OK",
  3365. "schema": {
  3366. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  3367. }
  3368. },
  3369. "500": {
  3370. "description": "Internal Server Error",
  3371. "schema": {
  3372. "$ref": "#/definitions/app.Response"
  3373. }
  3374. }
  3375. }
  3376. }
  3377. },
  3378. "/Order/QueryTradeDetail": {
  3379. "get": {
  3380. "security": [
  3381. {
  3382. "ApiKeyAuth": []
  3383. }
  3384. ],
  3385. "produces": [
  3386. "application/json"
  3387. ],
  3388. "tags": [
  3389. "通用单据"
  3390. ],
  3391. "summary": "成交单查询(合约市场)",
  3392. "parameters": [
  3393. {
  3394. "type": "string",
  3395. "description": "资金账户 - 格式:1,2,3",
  3396. "name": "accountID",
  3397. "in": "query",
  3398. "required": true
  3399. },
  3400. {
  3401. "type": "integer",
  3402. "description": "成交单号",
  3403. "name": "tradeID",
  3404. "in": "query"
  3405. },
  3406. {
  3407. "type": "integer",
  3408. "description": "委托单号",
  3409. "name": "orderID",
  3410. "in": "query"
  3411. },
  3412. {
  3413. "type": "string",
  3414. "description": "交易模式 - 格式:1,2,3",
  3415. "name": "tradeMode",
  3416. "in": "query"
  3417. },
  3418. {
  3419. "type": "integer",
  3420. "description": "委托单据类型",
  3421. "name": "buildType",
  3422. "in": "query"
  3423. },
  3424. {
  3425. "type": "string",
  3426. "description": "成交类别 - 格式:1,2,3",
  3427. "name": "tradeType",
  3428. "in": "query"
  3429. }
  3430. ],
  3431. "responses": {
  3432. "200": {
  3433. "description": "OK",
  3434. "schema": {
  3435. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  3436. }
  3437. },
  3438. "500": {
  3439. "description": "Internal Server Error",
  3440. "schema": {
  3441. "$ref": "#/definitions/app.Response"
  3442. }
  3443. }
  3444. }
  3445. }
  3446. },
  3447. "/Order/QueryTradeOrderDetail": {
  3448. "get": {
  3449. "security": [
  3450. {
  3451. "ApiKeyAuth": []
  3452. }
  3453. ],
  3454. "produces": [
  3455. "application/json"
  3456. ],
  3457. "tags": [
  3458. "通用单据"
  3459. ],
  3460. "summary": "委托单查询请求(合约市场)",
  3461. "parameters": [
  3462. {
  3463. "type": "string",
  3464. "description": "资金账户 - 格式:1,2,3",
  3465. "name": "accountID",
  3466. "in": "query",
  3467. "required": true
  3468. },
  3469. {
  3470. "type": "string",
  3471. "description": "交易模式 - 格式:1,2,3",
  3472. "name": "tradeMode",
  3473. "in": "query"
  3474. },
  3475. {
  3476. "type": "string",
  3477. "description": "委托状态 - 格式:1,2,3",
  3478. "name": "orderStatus",
  3479. "in": "query"
  3480. },
  3481. {
  3482. "type": "integer",
  3483. "description": "委托单号",
  3484. "name": "orderID",
  3485. "in": "query"
  3486. }
  3487. ],
  3488. "responses": {
  3489. "200": {
  3490. "description": "OK",
  3491. "schema": {
  3492. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  3493. }
  3494. },
  3495. "500": {
  3496. "description": "Internal Server Error",
  3497. "schema": {
  3498. "$ref": "#/definitions/app.Response"
  3499. }
  3500. }
  3501. }
  3502. }
  3503. },
  3504. "/Order/QueryTradePosition": {
  3505. "get": {
  3506. "security": [
  3507. {
  3508. "ApiKeyAuth": []
  3509. }
  3510. ],
  3511. "produces": [
  3512. "application/json"
  3513. ],
  3514. "tags": [
  3515. "通用单据"
  3516. ],
  3517. "summary": "持仓汇总查询(合约市场)",
  3518. "parameters": [
  3519. {
  3520. "type": "string",
  3521. "description": "资金账户 - 格式:1,2,3",
  3522. "name": "accountID",
  3523. "in": "query",
  3524. "required": true
  3525. },
  3526. {
  3527. "type": "string",
  3528. "description": "交易模式 - 格式:1,2,3",
  3529. "name": "tradeMode",
  3530. "in": "query"
  3531. }
  3532. ],
  3533. "responses": {
  3534. "200": {
  3535. "description": "OK",
  3536. "schema": {
  3537. "$ref": "#/definitions/order.QueryTradePositionRsp"
  3538. }
  3539. },
  3540. "500": {
  3541. "description": "Internal Server Error",
  3542. "schema": {
  3543. "$ref": "#/definitions/app.Response"
  3544. }
  3545. }
  3546. }
  3547. }
  3548. },
  3549. "/Quote/QueryHistoryDatas": {
  3550. "get": {
  3551. "security": [
  3552. {
  3553. "ApiKeyAuth": []
  3554. }
  3555. ],
  3556. "produces": [
  3557. "application/json"
  3558. ],
  3559. "tags": [
  3560. "行情服务"
  3561. ],
  3562. "summary": "查询行情历史数据",
  3563. "parameters": [
  3564. {
  3565. "type": "integer",
  3566. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  3567. "name": "cycleType",
  3568. "in": "query",
  3569. "required": true
  3570. },
  3571. {
  3572. "type": "string",
  3573. "description": "商品代码",
  3574. "name": "goodsCode",
  3575. "in": "query",
  3576. "required": true
  3577. },
  3578. {
  3579. "type": "string",
  3580. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  3581. "name": "startTime",
  3582. "in": "query"
  3583. },
  3584. {
  3585. "type": "string",
  3586. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  3587. "name": "endTime",
  3588. "in": "query"
  3589. },
  3590. {
  3591. "type": "integer",
  3592. "description": "条数",
  3593. "name": "count",
  3594. "in": "query"
  3595. },
  3596. {
  3597. "type": "boolean",
  3598. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  3599. "name": "isAsc",
  3600. "in": "query"
  3601. }
  3602. ],
  3603. "responses": {
  3604. "200": {
  3605. "description": "OK",
  3606. "schema": {
  3607. "$ref": "#/definitions/quote.HistoryData"
  3608. }
  3609. },
  3610. "500": {
  3611. "description": "Internal Server Error",
  3612. "schema": {
  3613. "$ref": "#/definitions/app.Response"
  3614. }
  3615. }
  3616. }
  3617. }
  3618. },
  3619. "/Quote/QueryTSData": {
  3620. "get": {
  3621. "produces": [
  3622. "application/json"
  3623. ],
  3624. "tags": [
  3625. "行情服务"
  3626. ],
  3627. "summary": "分时图数据查询",
  3628. "parameters": [
  3629. {
  3630. "type": "string",
  3631. "description": "商品代码",
  3632. "name": "GoodsCode",
  3633. "in": "query",
  3634. "required": true
  3635. }
  3636. ],
  3637. "responses": {
  3638. "200": {
  3639. "description": "OK",
  3640. "schema": {
  3641. "$ref": "#/definitions/quote.QueryTSDataRsp"
  3642. }
  3643. },
  3644. "500": {
  3645. "description": "Internal Server Error",
  3646. "schema": {
  3647. "$ref": "#/definitions/app.Response"
  3648. }
  3649. }
  3650. }
  3651. }
  3652. },
  3653. "/SZDZ/QueryConvertConfig": {
  3654. "get": {
  3655. "security": [
  3656. {
  3657. "ApiKeyAuth": []
  3658. }
  3659. ],
  3660. "produces": [
  3661. "application/json"
  3662. ],
  3663. "tags": [
  3664. "定制【尚志大宗】"
  3665. ],
  3666. "summary": "查询交易系统转换设置",
  3667. "parameters": [
  3668. {
  3669. "type": "integer",
  3670. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  3671. "name": "convertType",
  3672. "in": "query"
  3673. },
  3674. {
  3675. "type": "string",
  3676. "description": "外部商品代码[JD\\PD]",
  3677. "name": "outerGoodsCode",
  3678. "in": "query"
  3679. },
  3680. {
  3681. "type": "string",
  3682. "description": "内部商品ID列表[交易],格式:1,2,3",
  3683. "name": "innerGoodsIDs",
  3684. "in": "query"
  3685. }
  3686. ],
  3687. "responses": {
  3688. "200": {
  3689. "description": "OK",
  3690. "schema": {
  3691. "$ref": "#/definitions/models.Szdz3convertconfig"
  3692. }
  3693. },
  3694. "500": {
  3695. "description": "Internal Server Error",
  3696. "schema": {
  3697. "$ref": "#/definitions/app.Response"
  3698. }
  3699. }
  3700. }
  3701. }
  3702. },
  3703. "/SZDZ/QueryConvertLog": {
  3704. "get": {
  3705. "security": [
  3706. {
  3707. "ApiKeyAuth": []
  3708. }
  3709. ],
  3710. "produces": [
  3711. "application/json"
  3712. ],
  3713. "tags": [
  3714. "定制【尚志大宗】"
  3715. ],
  3716. "summary": "交易系统转换流水查询",
  3717. "parameters": [
  3718. {
  3719. "type": "string",
  3720. "description": "资金账户 - 格式:1,2,3",
  3721. "name": "accountID",
  3722. "in": "query",
  3723. "required": true
  3724. },
  3725. {
  3726. "type": "string",
  3727. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3728. "name": "startDate",
  3729. "in": "query"
  3730. },
  3731. {
  3732. "type": "string",
  3733. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3734. "name": "endDate",
  3735. "in": "query"
  3736. }
  3737. ],
  3738. "responses": {
  3739. "200": {
  3740. "description": "OK",
  3741. "schema": {
  3742. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  3743. }
  3744. },
  3745. "500": {
  3746. "description": "Internal Server Error",
  3747. "schema": {
  3748. "$ref": "#/definitions/app.Response"
  3749. }
  3750. }
  3751. }
  3752. }
  3753. },
  3754. "/SZDZ/QueryGoodsPickup": {
  3755. "get": {
  3756. "security": [
  3757. {
  3758. "ApiKeyAuth": []
  3759. }
  3760. ],
  3761. "produces": [
  3762. "application/json"
  3763. ],
  3764. "tags": [
  3765. "定制【尚志大宗】"
  3766. ],
  3767. "summary": "商品提货单查询",
  3768. "parameters": [
  3769. {
  3770. "type": "string",
  3771. "description": "资金账户 - 格式:1,2,3",
  3772. "name": "accountID",
  3773. "in": "query",
  3774. "required": true
  3775. },
  3776. {
  3777. "type": "integer",
  3778. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3779. "name": "takeOrderStatus",
  3780. "in": "query"
  3781. }
  3782. ],
  3783. "responses": {
  3784. "200": {
  3785. "description": "OK",
  3786. "schema": {
  3787. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  3788. }
  3789. },
  3790. "500": {
  3791. "description": "Internal Server Error",
  3792. "schema": {
  3793. "$ref": "#/definitions/app.Response"
  3794. }
  3795. }
  3796. }
  3797. }
  3798. },
  3799. "/SZDZ/QueryRecieptOrder": {
  3800. "get": {
  3801. "security": [
  3802. {
  3803. "ApiKeyAuth": []
  3804. }
  3805. ],
  3806. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3807. "produces": [
  3808. "application/json"
  3809. ],
  3810. "tags": [
  3811. "定制【尚志大宗】"
  3812. ],
  3813. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  3814. "parameters": [
  3815. {
  3816. "type": "integer",
  3817. "description": "页码",
  3818. "name": "page",
  3819. "in": "query"
  3820. },
  3821. {
  3822. "type": "integer",
  3823. "description": "每页条数",
  3824. "name": "pagesize",
  3825. "in": "query"
  3826. },
  3827. {
  3828. "type": "integer",
  3829. "description": "商品ID",
  3830. "name": "goodsID",
  3831. "in": "query",
  3832. "required": true
  3833. },
  3834. {
  3835. "type": "string",
  3836. "description": "所属账户名称",
  3837. "name": "accountName",
  3838. "in": "query"
  3839. },
  3840. {
  3841. "type": "integer",
  3842. "description": "市场ID",
  3843. "name": "marketID",
  3844. "in": "query"
  3845. },
  3846. {
  3847. "type": "integer",
  3848. "description": "方向 - 0:买 1:卖",
  3849. "name": "buyorsell",
  3850. "in": "query",
  3851. "required": true
  3852. }
  3853. ],
  3854. "responses": {
  3855. "200": {
  3856. "description": "OK",
  3857. "schema": {
  3858. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  3859. }
  3860. },
  3861. "500": {
  3862. "description": "Internal Server Error",
  3863. "schema": {
  3864. "$ref": "#/definitions/app.Response"
  3865. }
  3866. }
  3867. }
  3868. }
  3869. },
  3870. "/SZDZ/QuerySZDZTradePosition": {
  3871. "get": {
  3872. "security": [
  3873. {
  3874. "ApiKeyAuth": []
  3875. }
  3876. ],
  3877. "produces": [
  3878. "application/json"
  3879. ],
  3880. "tags": [
  3881. "定制【尚志大宗】"
  3882. ],
  3883. "summary": "持仓汇总查询(尚志大宗)",
  3884. "parameters": [
  3885. {
  3886. "type": "integer",
  3887. "description": "资金账户",
  3888. "name": "accountID",
  3889. "in": "query",
  3890. "required": true
  3891. }
  3892. ],
  3893. "responses": {
  3894. "200": {
  3895. "description": "OK",
  3896. "schema": {
  3897. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  3898. }
  3899. },
  3900. "500": {
  3901. "description": "Internal Server Error",
  3902. "schema": {
  3903. "$ref": "#/definitions/app.Response"
  3904. }
  3905. }
  3906. }
  3907. }
  3908. },
  3909. "/SZDZ/SearchWhite": {
  3910. "get": {
  3911. "security": [
  3912. {
  3913. "ApiKeyAuth": []
  3914. }
  3915. ],
  3916. "produces": [
  3917. "application/json"
  3918. ],
  3919. "tags": [
  3920. "定制【尚志大宗】"
  3921. ],
  3922. "summary": "搜索白名单",
  3923. "parameters": [
  3924. {
  3925. "type": "integer",
  3926. "description": "用户ID",
  3927. "name": "userID",
  3928. "in": "query",
  3929. "required": true
  3930. }
  3931. ],
  3932. "responses": {
  3933. "200": {
  3934. "description": "OK",
  3935. "schema": {
  3936. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  3937. }
  3938. },
  3939. "500": {
  3940. "description": "Internal Server Error",
  3941. "schema": {
  3942. "$ref": "#/definitions/app.Response"
  3943. }
  3944. }
  3945. }
  3946. }
  3947. },
  3948. "/Search/SearchGoodses": {
  3949. "get": {
  3950. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  3951. "produces": [
  3952. "application/json"
  3953. ],
  3954. "tags": [
  3955. "检索服务"
  3956. ],
  3957. "summary": "检索商品信息",
  3958. "parameters": [
  3959. {
  3960. "type": "string",
  3961. "description": "检索内容",
  3962. "name": "content",
  3963. "in": "query",
  3964. "required": true
  3965. },
  3966. {
  3967. "type": "string",
  3968. "description": "交易模式,格式:1,2,3",
  3969. "name": "tradeModes",
  3970. "in": "query"
  3971. }
  3972. ],
  3973. "responses": {
  3974. "200": {
  3975. "description": "OK",
  3976. "schema": {
  3977. "$ref": "#/definitions/models.SearchGoods"
  3978. }
  3979. },
  3980. "500": {
  3981. "description": "Internal Server Error",
  3982. "schema": {
  3983. "$ref": "#/definitions/app.Response"
  3984. }
  3985. }
  3986. }
  3987. }
  3988. },
  3989. "/TaAccount/QueryAmountLog": {
  3990. "get": {
  3991. "security": [
  3992. {
  3993. "ApiKeyAuth": []
  3994. }
  3995. ],
  3996. "produces": [
  3997. "application/json"
  3998. ],
  3999. "tags": [
  4000. "资金账户"
  4001. ],
  4002. "summary": "资金流水查询(当前)",
  4003. "parameters": [
  4004. {
  4005. "type": "integer",
  4006. "description": "页码",
  4007. "name": "page",
  4008. "in": "query"
  4009. },
  4010. {
  4011. "type": "integer",
  4012. "description": "每页条数",
  4013. "name": "pagesize",
  4014. "in": "query"
  4015. },
  4016. {
  4017. "type": "string",
  4018. "description": "资金账户 - 格式:1,2,3",
  4019. "name": "accountID",
  4020. "in": "query",
  4021. "required": true
  4022. },
  4023. {
  4024. "type": "string",
  4025. "description": "资金操作类型 - 格式:1,2,3",
  4026. "name": "OperateType",
  4027. "in": "query"
  4028. }
  4029. ],
  4030. "responses": {
  4031. "200": {
  4032. "description": "OK",
  4033. "schema": {
  4034. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  4035. }
  4036. },
  4037. "500": {
  4038. "description": "Internal Server Error",
  4039. "schema": {
  4040. "$ref": "#/definitions/app.Response"
  4041. }
  4042. }
  4043. }
  4044. }
  4045. },
  4046. "/TaAccount/QueryHisAmountLog": {
  4047. "get": {
  4048. "security": [
  4049. {
  4050. "ApiKeyAuth": []
  4051. }
  4052. ],
  4053. "produces": [
  4054. "application/json"
  4055. ],
  4056. "tags": [
  4057. "资金账户"
  4058. ],
  4059. "summary": "资金流水查询(历史)",
  4060. "parameters": [
  4061. {
  4062. "type": "integer",
  4063. "description": "页码",
  4064. "name": "page",
  4065. "in": "query"
  4066. },
  4067. {
  4068. "type": "integer",
  4069. "description": "每页条数",
  4070. "name": "pagesize",
  4071. "in": "query"
  4072. },
  4073. {
  4074. "type": "string",
  4075. "description": "资金账户 - 格式:1,2,3",
  4076. "name": "accountID",
  4077. "in": "query",
  4078. "required": true
  4079. },
  4080. {
  4081. "type": "string",
  4082. "description": "资金操作类型 - 格式:1,2,3",
  4083. "name": "OperateType",
  4084. "in": "query"
  4085. },
  4086. {
  4087. "type": "string",
  4088. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4089. "name": "startDate",
  4090. "in": "query"
  4091. },
  4092. {
  4093. "type": "string",
  4094. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4095. "name": "endDate",
  4096. "in": "query"
  4097. }
  4098. ],
  4099. "responses": {
  4100. "200": {
  4101. "description": "OK",
  4102. "schema": {
  4103. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  4104. }
  4105. },
  4106. "500": {
  4107. "description": "Internal Server Error",
  4108. "schema": {
  4109. "$ref": "#/definitions/app.Response"
  4110. }
  4111. }
  4112. }
  4113. }
  4114. },
  4115. "/Trade/QueryRecieptOrder": {
  4116. "get": {
  4117. "security": [
  4118. {
  4119. "ApiKeyAuth": []
  4120. }
  4121. ],
  4122. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  4123. "produces": [
  4124. "application/json"
  4125. ],
  4126. "tags": [
  4127. "通用交易"
  4128. ],
  4129. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  4130. "parameters": [
  4131. {
  4132. "type": "integer",
  4133. "description": "页码",
  4134. "name": "page",
  4135. "in": "query"
  4136. },
  4137. {
  4138. "type": "integer",
  4139. "description": "每页条数",
  4140. "name": "pagesize",
  4141. "in": "query"
  4142. },
  4143. {
  4144. "type": "integer",
  4145. "description": "商品ID",
  4146. "name": "goodsID",
  4147. "in": "query",
  4148. "required": true
  4149. },
  4150. {
  4151. "type": "string",
  4152. "description": "所属账户名称",
  4153. "name": "accountName",
  4154. "in": "query"
  4155. },
  4156. {
  4157. "type": "integer",
  4158. "description": "市场ID",
  4159. "name": "marketID",
  4160. "in": "query"
  4161. },
  4162. {
  4163. "type": "integer",
  4164. "description": "方向 - 0:买 1:卖",
  4165. "name": "buyorsell",
  4166. "in": "query",
  4167. "required": true
  4168. }
  4169. ],
  4170. "responses": {
  4171. "200": {
  4172. "description": "OK",
  4173. "schema": {
  4174. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  4175. }
  4176. },
  4177. "500": {
  4178. "description": "Internal Server Error",
  4179. "schema": {
  4180. "$ref": "#/definitions/app.Response"
  4181. }
  4182. }
  4183. }
  4184. }
  4185. },
  4186. "/User/AddMessageBoard": {
  4187. "post": {
  4188. "security": [
  4189. {
  4190. "ApiKeyAuth": []
  4191. }
  4192. ],
  4193. "produces": [
  4194. "application/json"
  4195. ],
  4196. "tags": [
  4197. "用户信息"
  4198. ],
  4199. "summary": "添加用户留言板信息",
  4200. "parameters": [
  4201. {
  4202. "type": "integer",
  4203. "description": "用户ID",
  4204. "name": "userID",
  4205. "in": "query",
  4206. "required": true
  4207. },
  4208. {
  4209. "type": "string",
  4210. "description": "留言信息",
  4211. "name": "message",
  4212. "in": "query",
  4213. "required": true
  4214. }
  4215. ],
  4216. "responses": {
  4217. "200": {
  4218. "description": "OK",
  4219. "schema": {
  4220. "$ref": "#/definitions/app.Response"
  4221. }
  4222. },
  4223. "500": {
  4224. "description": "Internal Server Error",
  4225. "schema": {
  4226. "$ref": "#/definitions/app.Response"
  4227. }
  4228. }
  4229. }
  4230. }
  4231. },
  4232. "/User/AddUserFavoriteGoods": {
  4233. "post": {
  4234. "security": [
  4235. {
  4236. "ApiKeyAuth": []
  4237. }
  4238. ],
  4239. "produces": [
  4240. "application/json"
  4241. ],
  4242. "tags": [
  4243. "用户信息"
  4244. ],
  4245. "summary": "添加用户商品收藏信息",
  4246. "parameters": [
  4247. {
  4248. "type": "integer",
  4249. "description": "用户ID",
  4250. "name": "userID",
  4251. "in": "query",
  4252. "required": true
  4253. },
  4254. {
  4255. "type": "integer",
  4256. "description": "商品ID",
  4257. "name": "goodsID",
  4258. "in": "query",
  4259. "required": true
  4260. }
  4261. ],
  4262. "responses": {
  4263. "200": {
  4264. "description": "OK",
  4265. "schema": {
  4266. "$ref": "#/definitions/app.Response"
  4267. }
  4268. },
  4269. "500": {
  4270. "description": "Internal Server Error",
  4271. "schema": {
  4272. "$ref": "#/definitions/app.Response"
  4273. }
  4274. }
  4275. }
  4276. }
  4277. },
  4278. "/User/GetLoginID": {
  4279. "get": {
  4280. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  4281. "produces": [
  4282. "application/json"
  4283. ],
  4284. "tags": [
  4285. "用户信息"
  4286. ],
  4287. "summary": "获取登录ID",
  4288. "parameters": [
  4289. {
  4290. "type": "string",
  4291. "description": "登录代码",
  4292. "name": "username",
  4293. "in": "query",
  4294. "required": true
  4295. }
  4296. ],
  4297. "responses": {
  4298. "200": {
  4299. "description": "OK",
  4300. "schema": {
  4301. "$ref": "#/definitions/app.Response"
  4302. }
  4303. },
  4304. "500": {
  4305. "description": "Internal Server Error",
  4306. "schema": {
  4307. "$ref": "#/definitions/app.Response"
  4308. }
  4309. }
  4310. }
  4311. }
  4312. },
  4313. "/User/GetUserAccount": {
  4314. "get": {
  4315. "security": [
  4316. {
  4317. "ApiKeyAuth": []
  4318. }
  4319. ],
  4320. "produces": [
  4321. "application/json"
  4322. ],
  4323. "tags": [
  4324. "用户信息"
  4325. ],
  4326. "summary": "获取用户账号信息",
  4327. "parameters": [
  4328. {
  4329. "type": "integer",
  4330. "description": "用户ID",
  4331. "name": "userID",
  4332. "in": "query",
  4333. "required": true
  4334. }
  4335. ],
  4336. "responses": {
  4337. "200": {
  4338. "description": "OK",
  4339. "schema": {
  4340. "$ref": "#/definitions/models.Useraccount"
  4341. }
  4342. },
  4343. "500": {
  4344. "description": "Internal Server Error",
  4345. "schema": {
  4346. "$ref": "#/definitions/app.Response"
  4347. }
  4348. }
  4349. }
  4350. }
  4351. },
  4352. "/User/GetUserAuthStatus": {
  4353. "get": {
  4354. "security": [
  4355. {
  4356. "ApiKeyAuth": []
  4357. }
  4358. ],
  4359. "produces": [
  4360. "application/json"
  4361. ],
  4362. "tags": [
  4363. "用户信息"
  4364. ],
  4365. "summary": "获取用户实名认证状态",
  4366. "parameters": [
  4367. {
  4368. "type": "integer",
  4369. "description": "用户ID",
  4370. "name": "userID",
  4371. "in": "query",
  4372. "required": true
  4373. }
  4374. ],
  4375. "responses": {
  4376. "200": {
  4377. "description": "OK",
  4378. "schema": {
  4379. "$ref": "#/definitions/app.Response"
  4380. }
  4381. },
  4382. "500": {
  4383. "description": "Internal Server Error",
  4384. "schema": {
  4385. "$ref": "#/definitions/app.Response"
  4386. }
  4387. }
  4388. }
  4389. }
  4390. },
  4391. "/User/QueryMessageBoard": {
  4392. "get": {
  4393. "security": [
  4394. {
  4395. "ApiKeyAuth": []
  4396. }
  4397. ],
  4398. "produces": [
  4399. "application/json"
  4400. ],
  4401. "tags": [
  4402. "用户信息"
  4403. ],
  4404. "summary": "获取用户留言板信息",
  4405. "parameters": [
  4406. {
  4407. "type": "integer",
  4408. "description": "用户ID",
  4409. "name": "userID",
  4410. "in": "query",
  4411. "required": true
  4412. }
  4413. ],
  4414. "responses": {
  4415. "200": {
  4416. "description": "OK",
  4417. "schema": {
  4418. "$ref": "#/definitions/models.Messageboard"
  4419. }
  4420. },
  4421. "500": {
  4422. "description": "Internal Server Error",
  4423. "schema": {
  4424. "$ref": "#/definitions/app.Response"
  4425. }
  4426. }
  4427. }
  4428. }
  4429. },
  4430. "/User/QueryUserFavoriteGoodses": {
  4431. "get": {
  4432. "security": [
  4433. {
  4434. "ApiKeyAuth": []
  4435. }
  4436. ],
  4437. "produces": [
  4438. "application/json"
  4439. ],
  4440. "tags": [
  4441. "用户信息"
  4442. ],
  4443. "summary": "获取用户商品收藏信息",
  4444. "parameters": [
  4445. {
  4446. "type": "integer",
  4447. "description": "用户ID",
  4448. "name": "userID",
  4449. "in": "query",
  4450. "required": true
  4451. }
  4452. ],
  4453. "responses": {
  4454. "200": {
  4455. "description": "OK",
  4456. "schema": {
  4457. "$ref": "#/definitions/models.Userfavoritegoods"
  4458. }
  4459. },
  4460. "500": {
  4461. "description": "Internal Server Error",
  4462. "schema": {
  4463. "$ref": "#/definitions/app.Response"
  4464. }
  4465. }
  4466. }
  4467. }
  4468. },
  4469. "/User/QueryUserInfo": {
  4470. "get": {
  4471. "security": [
  4472. {
  4473. "ApiKeyAuth": []
  4474. }
  4475. ],
  4476. "produces": [
  4477. "application/json"
  4478. ],
  4479. "tags": [
  4480. "用户信息"
  4481. ],
  4482. "summary": "获取用户信息",
  4483. "parameters": [
  4484. {
  4485. "type": "integer",
  4486. "description": "用户ID",
  4487. "name": "userID",
  4488. "in": "query",
  4489. "required": true
  4490. }
  4491. ],
  4492. "responses": {
  4493. "200": {
  4494. "description": "OK",
  4495. "schema": {
  4496. "$ref": "#/definitions/models.Userinfo"
  4497. }
  4498. },
  4499. "500": {
  4500. "description": "Internal Server Error",
  4501. "schema": {
  4502. "$ref": "#/definitions/app.Response"
  4503. }
  4504. }
  4505. }
  4506. }
  4507. },
  4508. "/User/QueryUserReferNum": {
  4509. "get": {
  4510. "produces": [
  4511. "application/json"
  4512. ],
  4513. "tags": [
  4514. "用户信息"
  4515. ],
  4516. "summary": "获取用户邀请码",
  4517. "parameters": [
  4518. {
  4519. "type": "integer",
  4520. "description": "用户ID",
  4521. "name": "userID",
  4522. "in": "query",
  4523. "required": true
  4524. }
  4525. ],
  4526. "responses": {
  4527. "200": {
  4528. "description": "OK",
  4529. "schema": {
  4530. "$ref": "#/definitions/app.Response"
  4531. }
  4532. },
  4533. "500": {
  4534. "description": "Internal Server Error",
  4535. "schema": {
  4536. "$ref": "#/definitions/app.Response"
  4537. }
  4538. }
  4539. }
  4540. }
  4541. },
  4542. "/User/RemoveUserFavoriteGoods": {
  4543. "post": {
  4544. "security": [
  4545. {
  4546. "ApiKeyAuth": []
  4547. }
  4548. ],
  4549. "produces": [
  4550. "application/json"
  4551. ],
  4552. "tags": [
  4553. "用户信息"
  4554. ],
  4555. "summary": "移除用户商品收藏信息",
  4556. "parameters": [
  4557. {
  4558. "type": "integer",
  4559. "description": "用户ID",
  4560. "name": "userID",
  4561. "in": "query",
  4562. "required": true
  4563. },
  4564. {
  4565. "type": "integer",
  4566. "description": "商品ID",
  4567. "name": "goodsID",
  4568. "in": "query",
  4569. "required": true
  4570. }
  4571. ],
  4572. "responses": {
  4573. "200": {
  4574. "description": "OK",
  4575. "schema": {
  4576. "$ref": "#/definitions/app.Response"
  4577. }
  4578. },
  4579. "500": {
  4580. "description": "Internal Server Error",
  4581. "schema": {
  4582. "$ref": "#/definitions/app.Response"
  4583. }
  4584. }
  4585. }
  4586. }
  4587. },
  4588. "/WR/GetWRCategoryInfo": {
  4589. "get": {
  4590. "produces": [
  4591. "application/json"
  4592. ],
  4593. "tags": [
  4594. "仓单服务"
  4595. ],
  4596. "summary": "获取现货分类信息",
  4597. "responses": {
  4598. "200": {
  4599. "description": "OK",
  4600. "schema": {
  4601. "$ref": "#/definitions/models.WRCategoryTree"
  4602. }
  4603. },
  4604. "500": {
  4605. "description": "Internal Server Error",
  4606. "schema": {
  4607. "$ref": "#/definitions/app.Response"
  4608. }
  4609. }
  4610. }
  4611. }
  4612. },
  4613. "/WRTrade/GetAllDeliveryGoods": {
  4614. "get": {
  4615. "security": [
  4616. {
  4617. "ApiKeyAuth": []
  4618. },
  4619. {
  4620. "ApiKeyAuth": []
  4621. }
  4622. ],
  4623. "produces": [
  4624. "application/json",
  4625. "application/json"
  4626. ],
  4627. "tags": [
  4628. "仓单贸易",
  4629. "仓单贸易"
  4630. ],
  4631. "summary": "获取带仓单分类的种类信息",
  4632. "responses": {
  4633. "200": {
  4634. "description": "OK",
  4635. "schema": {
  4636. "$ref": "#/definitions/app.Response"
  4637. }
  4638. },
  4639. "500": {
  4640. "description": "Internal Server Error",
  4641. "schema": {
  4642. "$ref": "#/definitions/app.Response"
  4643. }
  4644. }
  4645. }
  4646. }
  4647. }
  4648. },
  4649. "definitions": {
  4650. "app.Response": {
  4651. "type": "object",
  4652. "properties": {
  4653. "code": {
  4654. "type": "integer"
  4655. },
  4656. "data": {
  4657. "type": "object"
  4658. },
  4659. "msg": {
  4660. "type": "string"
  4661. },
  4662. "page": {
  4663. "description": "页码",
  4664. "type": "integer"
  4665. },
  4666. "pagesize": {
  4667. "description": "每页条数",
  4668. "type": "integer"
  4669. },
  4670. "total": {
  4671. "description": "总条数",
  4672. "type": "integer"
  4673. }
  4674. }
  4675. },
  4676. "common.QueryNoticeRsp": {
  4677. "type": "object",
  4678. "required": [
  4679. "autoid"
  4680. ],
  4681. "properties": {
  4682. "auditoruserid": {
  4683. "description": "审核人",
  4684. "type": "integer"
  4685. },
  4686. "auditremark": {
  4687. "description": "审核备注",
  4688. "type": "string"
  4689. },
  4690. "audittime": {
  4691. "description": "审核日期",
  4692. "type": "string"
  4693. },
  4694. "autoid": {
  4695. "description": "自增ID",
  4696. "type": "integer"
  4697. },
  4698. "content": {
  4699. "description": "内容",
  4700. "type": "string"
  4701. },
  4702. "createtime": {
  4703. "description": "创建时间",
  4704. "type": "string"
  4705. },
  4706. "creatorid": {
  4707. "description": "建仓人",
  4708. "type": "integer"
  4709. },
  4710. "endtime": {
  4711. "description": "结束时间",
  4712. "type": "string"
  4713. },
  4714. "istop": {
  4715. "description": "是否置顶 - 0:不置顶 1:置顶",
  4716. "type": "integer"
  4717. },
  4718. "msgiconurl": {
  4719. "description": "消息图标Url",
  4720. "type": "string"
  4721. },
  4722. "msgtype": {
  4723. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  4724. "type": "integer"
  4725. },
  4726. "publisher": {
  4727. "description": "消息发布者",
  4728. "type": "string"
  4729. },
  4730. "readed": {
  4731. "description": "是否已读",
  4732. "type": "boolean"
  4733. },
  4734. "scheduletime": {
  4735. "description": "计划发送时间",
  4736. "type": "string"
  4737. },
  4738. "sendtype": {
  4739. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  4740. "type": "integer"
  4741. },
  4742. "sentstatus": {
  4743. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  4744. "type": "integer"
  4745. },
  4746. "title": {
  4747. "description": "标题",
  4748. "type": "string"
  4749. },
  4750. "userid": {
  4751. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  4752. "type": "integer"
  4753. }
  4754. }
  4755. },
  4756. "common.QueryProvincesAndCitiesRsp": {
  4757. "type": "object",
  4758. "properties": {
  4759. "cities": {
  4760. "description": "市",
  4761. "type": "array",
  4762. "items": {
  4763. "$ref": "#/definitions/models.Division"
  4764. }
  4765. },
  4766. "province": {
  4767. "description": "省",
  4768. "$ref": "#/definitions/models.Division"
  4769. }
  4770. }
  4771. },
  4772. "common.QueryTableDefineRsp": {
  4773. "type": "object",
  4774. "required": [
  4775. "tablekey"
  4776. ],
  4777. "properties": {
  4778. "columns": {
  4779. "description": "列头信息数组",
  4780. "type": "array",
  4781. "items": {
  4782. "$ref": "#/definitions/models.Tablecolumnconfig"
  4783. }
  4784. },
  4785. "remark": {
  4786. "description": "Remark",
  4787. "type": "string"
  4788. },
  4789. "tabelmenu": {
  4790. "description": "列表菜单",
  4791. "type": "string"
  4792. },
  4793. "tablekey": {
  4794. "description": "列表Key",
  4795. "type": "string"
  4796. },
  4797. "tablename": {
  4798. "description": "列表名称",
  4799. "type": "string"
  4800. },
  4801. "tabletype": {
  4802. "description": "列表类型 - 1:管理端 2:终端",
  4803. "type": "integer"
  4804. }
  4805. }
  4806. },
  4807. "common.QueryTraderMenuRsp": {
  4808. "type": "object",
  4809. "properties": {
  4810. "OperationMenu": {
  4811. "description": "功能菜单",
  4812. "type": "array",
  4813. "items": {
  4814. "$ref": "#/definitions/models.OperationPrimaryMenu"
  4815. }
  4816. },
  4817. "QuoteMenu": {
  4818. "description": "报价牌分类菜单",
  4819. "type": "array",
  4820. "items": {
  4821. "$ref": "#/definitions/models.QuotePrimaryMenu"
  4822. }
  4823. }
  4824. }
  4825. },
  4826. "cptrade.Cptradepositioncancel": {
  4827. "type": "object",
  4828. "required": [
  4829. "cancelid"
  4830. ],
  4831. "properties": {
  4832. "accountid": {
  4833. "description": "申请人账户ID",
  4834. "type": "integer"
  4835. },
  4836. "applystatus": {
  4837. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4838. "type": "integer"
  4839. },
  4840. "applytime": {
  4841. "description": "申请时间",
  4842. "type": "string"
  4843. },
  4844. "cancelid": {
  4845. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  4846. "type": "integer"
  4847. },
  4848. "cancelqty": {
  4849. "description": "注销数量",
  4850. "type": "integer"
  4851. },
  4852. "createtime": {
  4853. "description": "创建时间",
  4854. "type": "string"
  4855. },
  4856. "creatorid": {
  4857. "description": "创建人ID",
  4858. "type": "integer"
  4859. },
  4860. "creatorname": {
  4861. "description": "创建人",
  4862. "type": "string"
  4863. },
  4864. "goodscode": {
  4865. "description": "订单商品代码",
  4866. "type": "string"
  4867. },
  4868. "goodsid": {
  4869. "description": "商品ID",
  4870. "type": "integer"
  4871. },
  4872. "goodsname": {
  4873. "description": "订单商品名称",
  4874. "type": "string"
  4875. },
  4876. "goodunit": {
  4877. "description": "报价单位",
  4878. "type": "string"
  4879. },
  4880. "handlestatus": {
  4881. "description": "处理状态",
  4882. "type": "integer"
  4883. },
  4884. "marketid": {
  4885. "description": "市场ID",
  4886. "type": "integer"
  4887. },
  4888. "marketname": {
  4889. "description": "市场名称",
  4890. "type": "string"
  4891. },
  4892. "tradedate": {
  4893. "description": "交易日(yyyyMMdd)",
  4894. "type": "string"
  4895. },
  4896. "userid": {
  4897. "description": "申请人ID",
  4898. "type": "integer"
  4899. }
  4900. }
  4901. },
  4902. "cptrade.Cptradepresaleapply": {
  4903. "type": "object",
  4904. "required": [
  4905. "applyid"
  4906. ],
  4907. "properties": {
  4908. "accountid": {
  4909. "description": "申请人账户ID",
  4910. "type": "integer"
  4911. },
  4912. "applyid": {
  4913. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  4914. "type": "integer"
  4915. },
  4916. "applyremark": {
  4917. "description": "申请备注",
  4918. "type": "string"
  4919. },
  4920. "applystatus": {
  4921. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4922. "type": "integer"
  4923. },
  4924. "applytime": {
  4925. "description": "申请时间",
  4926. "type": "string"
  4927. },
  4928. "attachmenturl": {
  4929. "description": "附件地址",
  4930. "type": "string"
  4931. },
  4932. "endtime": {
  4933. "description": "预售结束时间",
  4934. "type": "string"
  4935. },
  4936. "goodscode": {
  4937. "description": "商品代码",
  4938. "type": "string"
  4939. },
  4940. "goodsid": {
  4941. "description": "商品ID",
  4942. "type": "integer"
  4943. },
  4944. "goodsname": {
  4945. "description": "商品名称",
  4946. "type": "string"
  4947. },
  4948. "goodunit": {
  4949. "description": "报价单位",
  4950. "type": "string"
  4951. },
  4952. "handlestatus": {
  4953. "description": "处理状态",
  4954. "type": "integer"
  4955. },
  4956. "marketid": {
  4957. "description": "预售市场ID",
  4958. "type": "integer"
  4959. },
  4960. "marketname": {
  4961. "description": "预售市场名称",
  4962. "type": "string"
  4963. },
  4964. "presaleqty": {
  4965. "description": "预售数量",
  4966. "type": "integer"
  4967. },
  4968. "relatedgoodscode": {
  4969. "description": "关联交易合约代码",
  4970. "type": "string"
  4971. },
  4972. "relatedgoodsid": {
  4973. "description": "关联交易合约ID",
  4974. "type": "integer"
  4975. },
  4976. "relatedgoodsname": {
  4977. "description": "关联交易合约名称",
  4978. "type": "string"
  4979. },
  4980. "starttime": {
  4981. "description": "预售开始时间",
  4982. "type": "string"
  4983. },
  4984. "tradedate": {
  4985. "description": "交易日(yyyyMMdd)",
  4986. "type": "string"
  4987. },
  4988. "trademode": {
  4989. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  4990. "type": "integer"
  4991. },
  4992. "userid": {
  4993. "description": "申请人ID",
  4994. "type": "integer"
  4995. }
  4996. }
  4997. },
  4998. "cptrade.Cptradeusergoodsdata": {
  4999. "type": "object",
  5000. "required": [
  5001. "accountid",
  5002. "goodsid"
  5003. ],
  5004. "properties": {
  5005. "EnabledQty": {
  5006. "description": "可用量",
  5007. "type": "integer"
  5008. },
  5009. "GoodsCode": {
  5010. "description": "订单商品代码",
  5011. "type": "string"
  5012. },
  5013. "GoodsName": {
  5014. "description": "订单商品名称",
  5015. "type": "string"
  5016. },
  5017. "WRStandardCode": {
  5018. "description": "仓单标准代码",
  5019. "type": "string"
  5020. },
  5021. "WRStandardName": {
  5022. "description": "仓单标准名称",
  5023. "type": "string"
  5024. },
  5025. "accountid": {
  5026. "description": "账户ID",
  5027. "type": "integer"
  5028. },
  5029. "cancelqty": {
  5030. "description": "注销量",
  5031. "type": "integer"
  5032. },
  5033. "curpresaleqty": {
  5034. "description": "当前预售量",
  5035. "type": "integer"
  5036. },
  5037. "deliveryqty": {
  5038. "description": "交割量",
  5039. "type": "integer"
  5040. },
  5041. "freezeamount": {
  5042. "description": "冻结金额",
  5043. "type": "number"
  5044. },
  5045. "goodsid": {
  5046. "description": "商品ID",
  5047. "type": "integer"
  5048. },
  5049. "goodunit": {
  5050. "description": "报价单位",
  5051. "type": "string"
  5052. },
  5053. "hasspotfreeze": {
  5054. "description": "是否有现货冻结 - 0:否 1:有",
  5055. "type": "integer"
  5056. },
  5057. "inqty": {
  5058. "description": "转入量(总数量)",
  5059. "type": "integer"
  5060. },
  5061. "marketid": {
  5062. "description": "市场ID",
  5063. "type": "integer"
  5064. },
  5065. "presaledamount": {
  5066. "description": "已预售总金额",
  5067. "type": "integer"
  5068. },
  5069. "presaledqty": {
  5070. "description": "已预售量",
  5071. "type": "integer"
  5072. },
  5073. "userid": {
  5074. "description": "用户ID",
  5075. "type": "integer"
  5076. },
  5077. "wrstandardid": {
  5078. "description": "仓单标准ID",
  5079. "type": "integer"
  5080. }
  5081. }
  5082. },
  5083. "cptrade.QueryCPTradeMyBidRsp": {
  5084. "type": "object",
  5085. "required": [
  5086. "accountid",
  5087. "goodsid",
  5088. "marketid",
  5089. "orderid",
  5090. "orderqty",
  5091. "ordertime",
  5092. "tradeprice",
  5093. "tradeqty"
  5094. ],
  5095. "properties": {
  5096. "accountid": {
  5097. "description": "账户ID[报价币种]",
  5098. "type": "integer"
  5099. },
  5100. "goodsid": {
  5101. "description": "商品ID",
  5102. "type": "integer"
  5103. },
  5104. "goodunit": {
  5105. "description": "报价单位",
  5106. "type": "string"
  5107. },
  5108. "marketid": {
  5109. "description": "市场ID",
  5110. "type": "integer"
  5111. },
  5112. "orderid": {
  5113. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5114. "type": "integer"
  5115. },
  5116. "orderprice": {
  5117. "description": "委托价格",
  5118. "type": "number"
  5119. },
  5120. "orderqty": {
  5121. "description": "委托数量",
  5122. "type": "integer"
  5123. },
  5124. "ordertime": {
  5125. "description": "委托时间",
  5126. "type": "string"
  5127. },
  5128. "ordertotalprice": {
  5129. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  5130. "type": "number"
  5131. },
  5132. "ordertotalweight": {
  5133. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  5134. "type": "integer"
  5135. },
  5136. "totaltotalprice": {
  5137. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  5138. "type": "number"
  5139. },
  5140. "tradeprice": {
  5141. "description": "成交价格",
  5142. "type": "number"
  5143. },
  5144. "tradeqty": {
  5145. "description": "成交数量",
  5146. "type": "integer"
  5147. }
  5148. }
  5149. },
  5150. "cptrade.QueryCPTradeOrderDetailRsq": {
  5151. "type": "object",
  5152. "required": [
  5153. "accountid",
  5154. "buildtype",
  5155. "buyorsell",
  5156. "goodsid",
  5157. "marketid",
  5158. "memberuserid",
  5159. "operatetype",
  5160. "orderqty",
  5161. "ordertime",
  5162. "pricemode",
  5163. "strorderid",
  5164. "tradedate",
  5165. "validtype"
  5166. ],
  5167. "properties": {
  5168. "accountid": {
  5169. "description": "账户ID[报价币种]",
  5170. "type": "integer"
  5171. },
  5172. "buildtype": {
  5173. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  5174. "type": "integer"
  5175. },
  5176. "buyorsell": {
  5177. "description": "买卖 - 0:买 1:卖",
  5178. "type": "integer"
  5179. },
  5180. "cancelorderid": {
  5181. "description": "撤单单号(撤单时填写)",
  5182. "type": "integer"
  5183. },
  5184. "cancelqty": {
  5185. "description": "撤单数量",
  5186. "type": "integer"
  5187. },
  5188. "clientordertime": {
  5189. "description": "客户端委托时间",
  5190. "type": "string"
  5191. },
  5192. "clientticket": {
  5193. "description": "客户端流水号",
  5194. "type": "string"
  5195. },
  5196. "clienttype": {
  5197. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  5198. "type": "integer"
  5199. },
  5200. "closeexchagechargevalue": {
  5201. "description": "平仓交易所手续费设置值",
  5202. "type": "number"
  5203. },
  5204. "closefeealgorithm": {
  5205. "description": "平仓手续费收取方式 1:比率 2:固定",
  5206. "type": "integer"
  5207. },
  5208. "closefreezecharge": {
  5209. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  5210. "type": "number"
  5211. },
  5212. "closememberchargevalue": {
  5213. "description": "平仓会员手续费设置值",
  5214. "type": "number"
  5215. },
  5216. "closeqty": {
  5217. "description": "平仓数量(先建后平操作 需要记录)",
  5218. "type": "integer"
  5219. },
  5220. "closetradeqty": {
  5221. "description": "平仓成交数量(先建后平操作,需要记录)",
  5222. "type": "integer"
  5223. },
  5224. "closeunfreezecharge": {
  5225. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  5226. "type": "number"
  5227. },
  5228. "delistingtype": {
  5229. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  5230. "type": "integer"
  5231. },
  5232. "freezecharge": {
  5233. "description": "冻结手续费",
  5234. "type": "number"
  5235. },
  5236. "freezemargin": {
  5237. "description": "冻结保证金(冻结交易金额)",
  5238. "type": "number"
  5239. },
  5240. "gcaccountid": {
  5241. "description": "账户ID[合约币种]",
  5242. "type": "integer"
  5243. },
  5244. "goodsid": {
  5245. "description": "商品ID",
  5246. "type": "integer"
  5247. },
  5248. "isconfirmexercise": {
  5249. "description": "是否确认行权- 0:否 1:是",
  5250. "type": "integer"
  5251. },
  5252. "ispreexercise": {
  5253. "description": "是否预申报- 0:否 1:是",
  5254. "type": "integer"
  5255. },
  5256. "listingselecttype": {
  5257. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  5258. "type": "integer"
  5259. },
  5260. "marginalgorithm": {
  5261. "description": "保证金收取方式 1:比率 2:固定",
  5262. "type": "integer"
  5263. },
  5264. "marginvalue": {
  5265. "description": "即市保证金设置值",
  5266. "type": "number"
  5267. },
  5268. "marketid": {
  5269. "description": "市场ID",
  5270. "type": "integer"
  5271. },
  5272. "marketmaxsub": {
  5273. "description": "市价最大偏移范围",
  5274. "type": "number"
  5275. },
  5276. "memberuserid": {
  5277. "description": "所属会员UserID",
  5278. "type": "integer"
  5279. },
  5280. "openexchagechargevalue": {
  5281. "description": "建仓交易所手续费设置值",
  5282. "type": "number"
  5283. },
  5284. "openfeealgorithm": {
  5285. "description": "建仓手续费收取方式 1:比率 2:固定",
  5286. "type": "integer"
  5287. },
  5288. "openfreezecharge": {
  5289. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  5290. "type": "number"
  5291. },
  5292. "openmemberchargevalue": {
  5293. "description": "建仓会员手续费设置值",
  5294. "type": "number"
  5295. },
  5296. "openqty": {
  5297. "description": "开仓数量(先建后平操作,需要记录)",
  5298. "type": "integer"
  5299. },
  5300. "opentradeqty": {
  5301. "description": "开仓成交数量(先建后平操作,需要记录)",
  5302. "type": "integer"
  5303. },
  5304. "openunfreezecharge": {
  5305. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  5306. "type": "number"
  5307. },
  5308. "operatetype": {
  5309. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  5310. "type": "integer"
  5311. },
  5312. "operatorid": {
  5313. "description": "登录账号(LoginID)",
  5314. "type": "integer"
  5315. },
  5316. "optiontype": {
  5317. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  5318. "type": "integer"
  5319. },
  5320. "orderprice": {
  5321. "description": "委托价格",
  5322. "type": "number"
  5323. },
  5324. "orderqty": {
  5325. "description": "委托数量",
  5326. "type": "integer"
  5327. },
  5328. "ordersrc": {
  5329. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  5330. "type": "integer"
  5331. },
  5332. "orderstatus": {
  5333. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  5334. "type": "integer"
  5335. },
  5336. "ordertime": {
  5337. "description": "委托时间",
  5338. "type": "string"
  5339. },
  5340. "preexerciseprice": {
  5341. "description": "预申报价格",
  5342. "type": "number"
  5343. },
  5344. "premium": {
  5345. "description": "权利金",
  5346. "type": "number"
  5347. },
  5348. "preorderid": {
  5349. "description": "关联预埋单号(止盈止损单时填写)",
  5350. "type": "integer"
  5351. },
  5352. "pricemode": {
  5353. "description": "取价方式 - 1:市价 2: 限价",
  5354. "type": "integer"
  5355. },
  5356. "quoteid": {
  5357. "description": "报价单ID",
  5358. "type": "integer"
  5359. },
  5360. "relatedid": {
  5361. "description": "关联单号(交割单)",
  5362. "type": "integer"
  5363. },
  5364. "retcode": {
  5365. "description": "错误代码",
  5366. "type": "integer"
  5367. },
  5368. "sessionid": {
  5369. "description": "会话ID",
  5370. "type": "integer"
  5371. },
  5372. "strorderid": {
  5373. "description": "委托单号",
  5374. "type": "string"
  5375. },
  5376. "tradedate": {
  5377. "description": "交易日(yyyyMMdd)",
  5378. "type": "string"
  5379. },
  5380. "tradeproperty": {
  5381. "description": "交易属性",
  5382. "type": "integer"
  5383. },
  5384. "tradeqty": {
  5385. "description": "成交数量",
  5386. "type": "integer"
  5387. },
  5388. "unfreezecharge": {
  5389. "description": "解冻手续费",
  5390. "type": "number"
  5391. },
  5392. "unfreezemargin": {
  5393. "description": "解冻保证金",
  5394. "type": "number"
  5395. },
  5396. "updatetime": {
  5397. "description": "更新时间",
  5398. "type": "string"
  5399. },
  5400. "uuid": {
  5401. "description": "发起端唯一id",
  5402. "type": "string"
  5403. },
  5404. "validtime": {
  5405. "description": "有效期限",
  5406. "type": "string"
  5407. },
  5408. "validtype": {
  5409. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  5410. "type": "integer"
  5411. },
  5412. "volumetype": {
  5413. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  5414. "type": "integer"
  5415. }
  5416. }
  5417. },
  5418. "cptrade.QueryMyCPTradeGoodsRsp": {
  5419. "type": "object",
  5420. "required": [
  5421. "goodscode",
  5422. "goodsid",
  5423. "goodsname",
  5424. "marketid",
  5425. "relatedgoodscode",
  5426. "relatedgoodsname"
  5427. ],
  5428. "properties": {
  5429. "accountid": {
  5430. "description": "卖方账户ID",
  5431. "type": "integer"
  5432. },
  5433. "agreeunit": {
  5434. "description": "合约单位",
  5435. "type": "number"
  5436. },
  5437. "applyid": {
  5438. "description": "关联申请ID",
  5439. "type": "integer"
  5440. },
  5441. "attachmenturl": {
  5442. "description": "附件地址",
  5443. "type": "string"
  5444. },
  5445. "createtime": {
  5446. "description": "创建时间",
  5447. "type": "string"
  5448. },
  5449. "currencyid": {
  5450. "description": "报价货币ID",
  5451. "type": "integer"
  5452. },
  5453. "decimalplace": {
  5454. "description": "报价小数位",
  5455. "type": "integer"
  5456. },
  5457. "endtime": {
  5458. "description": "预售结束时间",
  5459. "type": "string"
  5460. },
  5461. "floorprice": {
  5462. "description": "底价[大宗式竞拍]",
  5463. "type": "number"
  5464. },
  5465. "goodscode": {
  5466. "description": "商品代码(预售)",
  5467. "type": "string"
  5468. },
  5469. "goodsdetail": {
  5470. "description": "详情[大宗]",
  5471. "type": "string"
  5472. },
  5473. "goodsid": {
  5474. "description": "商品ID(自增ID SEQ_GOODS)",
  5475. "type": "integer"
  5476. },
  5477. "goodsname": {
  5478. "description": "商品名称(预售)",
  5479. "type": "string"
  5480. },
  5481. "goodunit": {
  5482. "description": "报价单位",
  5483. "type": "string"
  5484. },
  5485. "goodunitid": {
  5486. "description": "报价单位ID",
  5487. "type": "integer"
  5488. },
  5489. "marketid": {
  5490. "description": "所属市场ID",
  5491. "type": "integer"
  5492. },
  5493. "marketname": {
  5494. "description": "预售市场名称",
  5495. "type": "string"
  5496. },
  5497. "presaledamount": {
  5498. "description": "已预售总金额(预售结束时更新)",
  5499. "type": "number"
  5500. },
  5501. "presaledqty": {
  5502. "description": "已预售量(预售结束时更新)",
  5503. "type": "integer"
  5504. },
  5505. "presalemode": {
  5506. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5507. "type": "integer"
  5508. },
  5509. "presaleqty": {
  5510. "description": "预售数量",
  5511. "type": "integer"
  5512. },
  5513. "refprice": {
  5514. "description": "参考价格[一口价]",
  5515. "type": "number"
  5516. },
  5517. "relatedgoodscode": {
  5518. "description": "商品代码(订单)",
  5519. "type": "string"
  5520. },
  5521. "relatedgoodsid": {
  5522. "description": "关联交易合约ID",
  5523. "type": "integer"
  5524. },
  5525. "relatedgoodsname": {
  5526. "description": "商品名称(订单)",
  5527. "type": "string"
  5528. },
  5529. "relatedmarketid": {
  5530. "description": "关联交易合约市场ID",
  5531. "type": "integer"
  5532. },
  5533. "sellstatus": {
  5534. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5535. "type": "integer"
  5536. },
  5537. "startprice": {
  5538. "description": "起拍价[大宗式竞拍]",
  5539. "type": "number"
  5540. },
  5541. "starttime": {
  5542. "description": "预售开始时间",
  5543. "type": "string"
  5544. },
  5545. "tradedate": {
  5546. "description": "交易日(yyyyMMdd)",
  5547. "type": "string"
  5548. },
  5549. "tradeprice": {
  5550. "description": "成交价[大宗]",
  5551. "type": "number"
  5552. },
  5553. "userid": {
  5554. "description": "卖方用户ID",
  5555. "type": "integer"
  5556. }
  5557. }
  5558. },
  5559. "cptrade.QueryPresaleGoodsExRsp": {
  5560. "type": "object",
  5561. "required": [
  5562. "goodsid"
  5563. ],
  5564. "properties": {
  5565. "attachmenturl": {
  5566. "description": "附件地址",
  5567. "type": "string"
  5568. },
  5569. "createtime": {
  5570. "description": "创建时间",
  5571. "type": "string"
  5572. },
  5573. "endtime": {
  5574. "description": "预售结束时间",
  5575. "type": "string"
  5576. },
  5577. "floorprice": {
  5578. "description": "底价[大宗式竞拍]",
  5579. "type": "number"
  5580. },
  5581. "goodsdetail": {
  5582. "description": "详情[大宗]",
  5583. "type": "string"
  5584. },
  5585. "goodsid": {
  5586. "description": "商品ID(预售)",
  5587. "type": "integer"
  5588. },
  5589. "goodunit": {
  5590. "description": "报价单位",
  5591. "type": "string"
  5592. },
  5593. "marketid": {
  5594. "description": "预售市场ID - 根据预售模式选择市场",
  5595. "type": "integer"
  5596. },
  5597. "presaledamount": {
  5598. "description": "已预售总金额(预售结束时更新)",
  5599. "type": "number"
  5600. },
  5601. "presaledqty": {
  5602. "description": "已预售量(预售结束时更新)",
  5603. "type": "integer"
  5604. },
  5605. "presalemode": {
  5606. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5607. "type": "integer"
  5608. },
  5609. "presaleqty": {
  5610. "description": "预售数量",
  5611. "type": "integer"
  5612. },
  5613. "refprice": {
  5614. "description": "参考价格[一口价]",
  5615. "type": "number"
  5616. },
  5617. "relatedgoodsid": {
  5618. "description": "关联交易合约ID",
  5619. "type": "integer"
  5620. },
  5621. "relatedmarketid": {
  5622. "description": "关联交易合约市场ID",
  5623. "type": "integer"
  5624. },
  5625. "sellstatus": {
  5626. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5627. "type": "integer"
  5628. },
  5629. "startprice": {
  5630. "description": "起拍价[大宗式竞拍]",
  5631. "type": "number"
  5632. },
  5633. "starttime": {
  5634. "description": "预售开始时间",
  5635. "type": "string"
  5636. },
  5637. "tradedate": {
  5638. "description": "交易日(yyyyMMdd)",
  5639. "type": "string"
  5640. },
  5641. "tradeprice": {
  5642. "description": "成交价[大宗]",
  5643. "type": "number"
  5644. }
  5645. }
  5646. },
  5647. "delivery.QueryDeliveryRelationRsp": {
  5648. "type": "object",
  5649. "required": [
  5650. "begindate",
  5651. "enddate",
  5652. "goodsid",
  5653. "mindeliveryqty",
  5654. "xdeliveryratio"
  5655. ],
  5656. "properties": {
  5657. "begindate": {
  5658. "description": "起始日期(yyyyMMdd)",
  5659. "type": "string"
  5660. },
  5661. "buytemplateid": {
  5662. "description": "买履约计划模板ID",
  5663. "type": "integer"
  5664. },
  5665. "deliverygoodscode": {
  5666. "description": "品种代码",
  5667. "type": "string"
  5668. },
  5669. "deliverygoodsid": {
  5670. "description": "交割商品",
  5671. "type": "integer"
  5672. },
  5673. "deliverygoodsname": {
  5674. "description": "品种名称",
  5675. "type": "string"
  5676. },
  5677. "deliverymode": {
  5678. "description": "交割方式 - 1:点选式 2:申报式",
  5679. "type": "integer"
  5680. },
  5681. "deliverypricerule": {
  5682. "description": "交割价规则- 1:行情价 2:建仓价",
  5683. "type": "integer"
  5684. },
  5685. "deliverytype": {
  5686. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  5687. "type": "integer"
  5688. },
  5689. "enddate": {
  5690. "description": "结束日期(yyyyMMdd)",
  5691. "type": "string"
  5692. },
  5693. "goodscode": {
  5694. "description": "商品代码",
  5695. "type": "string"
  5696. },
  5697. "goodsid": {
  5698. "description": "交易合约ID",
  5699. "type": "integer"
  5700. },
  5701. "goodsname": {
  5702. "description": "商品名称",
  5703. "type": "string"
  5704. },
  5705. "marketid": {
  5706. "description": "市场ID",
  5707. "type": "integer"
  5708. },
  5709. "mindeliveryqty": {
  5710. "description": "最小交割系数(K)",
  5711. "type": "integer"
  5712. },
  5713. "p2deliveryprice": {
  5714. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  5715. "type": "number"
  5716. },
  5717. "p2deliveryratio": {
  5718. "description": "P2合约系数(p)",
  5719. "type": "integer"
  5720. },
  5721. "p2goodsid": {
  5722. "description": "P2合约ID",
  5723. "type": "integer"
  5724. },
  5725. "p2pricemode": {
  5726. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  5727. "type": "integer"
  5728. },
  5729. "pdeliveryprice": {
  5730. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  5731. "type": "number"
  5732. },
  5733. "pdeliveryratio": {
  5734. "description": "P合约系数(n)",
  5735. "type": "integer"
  5736. },
  5737. "pgoodsid": {
  5738. "description": "P合约ID",
  5739. "type": "integer"
  5740. },
  5741. "ppricemode": {
  5742. "description": "P合约价格方式 - 1:商品价 2:固定值",
  5743. "type": "integer"
  5744. },
  5745. "rratio": {
  5746. "description": "兑换系数(R)",
  5747. "type": "integer"
  5748. },
  5749. "rratio1": {
  5750. "description": "兑换系数(交易合约)(R1)",
  5751. "type": "integer"
  5752. },
  5753. "rratio2": {
  5754. "description": "兑换系数(仓单标准)(R2)",
  5755. "type": "integer"
  5756. },
  5757. "selltemplateid": {
  5758. "description": "卖履约计划模板ID",
  5759. "type": "integer"
  5760. },
  5761. "wrstandardid": {
  5762. "description": "仓单标准ID",
  5763. "type": "integer"
  5764. },
  5765. "xdeliveryratio": {
  5766. "description": "交易合约系数(m)",
  5767. "type": "integer"
  5768. }
  5769. }
  5770. },
  5771. "ermcp.ExposureDetailRsp": {
  5772. "type": "object",
  5773. "properties": {
  5774. "areauserid": {
  5775. "description": "机构ID",
  5776. "type": "integer"
  5777. },
  5778. "changeQty": {
  5779. "description": "套保变动量",
  5780. "type": "number"
  5781. },
  5782. "contracttype": {
  5783. "description": "现货合同类型 - 1:采购 -1:销售",
  5784. "type": "integer"
  5785. },
  5786. "convertfactor": {
  5787. "description": "标仓系数",
  5788. "type": "number"
  5789. },
  5790. "convertratio": {
  5791. "description": "套保系数",
  5792. "type": "number"
  5793. },
  5794. "createtime": {
  5795. "description": "时间",
  5796. "type": "string"
  5797. },
  5798. "enumdicname": {
  5799. "description": "现货商品单位名称",
  5800. "type": "string"
  5801. },
  5802. "logtype": {
  5803. "description": "类型 - 1:套保计划 2:现货合同",
  5804. "type": "integer"
  5805. },
  5806. "middlegoodsId": {
  5807. "description": "套保商品id",
  5808. "type": "integer"
  5809. },
  5810. "middlegoodscode": {
  5811. "description": "套保商品代码",
  5812. "type": "string"
  5813. },
  5814. "middlegoodsname": {
  5815. "description": "套保商品名称",
  5816. "type": "string"
  5817. },
  5818. "qty": {
  5819. "description": "数量",
  5820. "type": "number"
  5821. },
  5822. "relateNo": {
  5823. "description": "现货合同/套保计划编号",
  5824. "type": "string"
  5825. },
  5826. "wrstandardcode": {
  5827. "description": "现货商品代码",
  5828. "type": "string"
  5829. },
  5830. "wrstandardid": {
  5831. "description": "现货商品ID",
  5832. "type": "integer"
  5833. },
  5834. "wrstandardname": {
  5835. "description": "现货商品名称",
  5836. "type": "string"
  5837. }
  5838. }
  5839. },
  5840. "ermcp.ExposureSpotRsp": {
  5841. "type": "object",
  5842. "properties": {
  5843. "areauserid": {
  5844. "description": "所属机构",
  5845. "type": "integer"
  5846. },
  5847. "decreaseqty": {
  5848. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  5849. "type": "number"
  5850. },
  5851. "increaseqty": {
  5852. "description": "增加数量=销售计划数量+采购已定价数量",
  5853. "type": "number"
  5854. },
  5855. "oritoalspotqty": {
  5856. "description": "昨日数量",
  5857. "type": "number"
  5858. },
  5859. "totalspotqty": {
  5860. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  5861. "type": "number"
  5862. },
  5863. "updatetime": {
  5864. "description": "更新时间",
  5865. "type": "string"
  5866. },
  5867. "wrstandardcode": {
  5868. "description": "现货品种代码",
  5869. "type": "string"
  5870. },
  5871. "wrstandardid": {
  5872. "description": "现货商品ID",
  5873. "type": "integer"
  5874. },
  5875. "wrstandardname": {
  5876. "description": "现货品种",
  5877. "type": "string"
  5878. }
  5879. }
  5880. },
  5881. "ermcp.QryBusinessDjRsp": {
  5882. "type": "object",
  5883. "properties": {
  5884. "amount": {
  5885. "description": "点价金额=(点价价格+升贴水)*点价数量",
  5886. "type": "number"
  5887. },
  5888. "applyid": {
  5889. "description": "申请人",
  5890. "type": "string"
  5891. },
  5892. "applyname": {
  5893. "description": "申请人名称",
  5894. "type": "string"
  5895. },
  5896. "applystatus": {
  5897. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5898. "type": "integer"
  5899. },
  5900. "applytime": {
  5901. "description": "申请时间",
  5902. "type": "string"
  5903. },
  5904. "auditname": {
  5905. "description": "审核人名称",
  5906. "type": "string"
  5907. },
  5908. "audittime": {
  5909. "description": "审核时间",
  5910. "type": "string"
  5911. },
  5912. "buyusername": {
  5913. "description": "采购方名称",
  5914. "type": "string"
  5915. },
  5916. "contractno": {
  5917. "description": "合同编号",
  5918. "type": "string"
  5919. },
  5920. "contractstatus": {
  5921. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5922. "type": "integer"
  5923. },
  5924. "contracttype": {
  5925. "description": "现货合同类型 - 1:采购 -1:销售",
  5926. "type": "integer"
  5927. },
  5928. "enumdicname": {
  5929. "description": "单位名称",
  5930. "type": "string"
  5931. },
  5932. "goodscode": {
  5933. "description": "点价合约",
  5934. "type": "string"
  5935. },
  5936. "goodsname": {
  5937. "description": "商品名称",
  5938. "type": "string"
  5939. },
  5940. "operateapplyid": {
  5941. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5942. "type": "string"
  5943. },
  5944. "operateapplytype": {
  5945. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5946. "type": "integer"
  5947. },
  5948. "pricedPrice": {
  5949. "description": "点价价格(非必填)",
  5950. "type": "number"
  5951. },
  5952. "pricedQty": {
  5953. "description": "点价数量(非必填)",
  5954. "type": "number"
  5955. },
  5956. "pricemove": {
  5957. "description": "升贴水",
  5958. "type": "number"
  5959. },
  5960. "pricetype": {
  5961. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5962. "type": "integer"
  5963. },
  5964. "relatedid": {
  5965. "description": "现货合同ID",
  5966. "type": "string"
  5967. },
  5968. "sellusername": {
  5969. "description": "销售方名字",
  5970. "type": "string"
  5971. },
  5972. "userid": {
  5973. "description": "用户ID",
  5974. "type": "integer"
  5975. }
  5976. }
  5977. },
  5978. "ermcp.QryBussinessFpRsp": {
  5979. "type": "object",
  5980. "properties": {
  5981. "applyid": {
  5982. "description": "申请人",
  5983. "type": "string"
  5984. },
  5985. "applyname": {
  5986. "description": "申请人名称",
  5987. "type": "string"
  5988. },
  5989. "applystatus": {
  5990. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5991. "type": "integer"
  5992. },
  5993. "applytime": {
  5994. "description": "申请时间",
  5995. "type": "string"
  5996. },
  5997. "auditname": {
  5998. "description": "审核人名称",
  5999. "type": "string"
  6000. },
  6001. "audittime": {
  6002. "description": "审核时间",
  6003. "type": "string"
  6004. },
  6005. "buyusername": {
  6006. "description": "采购方名称",
  6007. "type": "string"
  6008. },
  6009. "contractno": {
  6010. "description": "合同编号",
  6011. "type": "string"
  6012. },
  6013. "contractstatus": {
  6014. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6015. "type": "integer"
  6016. },
  6017. "contracttype": {
  6018. "description": "现货合同类型 - 1:采购 -1:销售",
  6019. "type": "integer"
  6020. },
  6021. "enumdicname": {
  6022. "description": "单位名称",
  6023. "type": "string"
  6024. },
  6025. "goodscode": {
  6026. "description": "点价合约",
  6027. "type": "string"
  6028. },
  6029. "goodsname": {
  6030. "description": "商品名称",
  6031. "type": "string"
  6032. },
  6033. "invoiceAmount": {
  6034. "description": "已开收票金额(销售为开票,采购为收票)",
  6035. "type": "number"
  6036. },
  6037. "operateapplyid": {
  6038. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6039. "type": "string"
  6040. },
  6041. "operateapplytype": {
  6042. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6043. "type": "integer"
  6044. },
  6045. "pricemove": {
  6046. "description": "升贴水",
  6047. "type": "number"
  6048. },
  6049. "pricetype": {
  6050. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6051. "type": "integer"
  6052. },
  6053. "relatedid": {
  6054. "description": "现货合同ID",
  6055. "type": "string"
  6056. },
  6057. "sellusername": {
  6058. "description": "销售方名字",
  6059. "type": "string"
  6060. },
  6061. "userid": {
  6062. "description": "用户ID",
  6063. "type": "integer"
  6064. }
  6065. }
  6066. },
  6067. "ermcp.QryBussinessJsRsp": {
  6068. "type": "object",
  6069. "properties": {
  6070. "addmargin": {
  6071. "description": "追加保证金(非必填)",
  6072. "type": "number"
  6073. },
  6074. "applyid": {
  6075. "description": "申请人",
  6076. "type": "string"
  6077. },
  6078. "applyname": {
  6079. "description": "申请人名称",
  6080. "type": "string"
  6081. },
  6082. "applystatus": {
  6083. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6084. "type": "integer"
  6085. },
  6086. "applytime": {
  6087. "description": "申请时间",
  6088. "type": "string"
  6089. },
  6090. "auditname": {
  6091. "description": "审核人名称",
  6092. "type": "string"
  6093. },
  6094. "audittime": {
  6095. "description": "审核时间",
  6096. "type": "string"
  6097. },
  6098. "buyusername": {
  6099. "description": "采购方名称",
  6100. "type": "string"
  6101. },
  6102. "contractno": {
  6103. "description": "合同编号",
  6104. "type": "string"
  6105. },
  6106. "contractstatus": {
  6107. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6108. "type": "integer"
  6109. },
  6110. "contracttype": {
  6111. "description": "现货合同类型 - 1:采购 -1:销售",
  6112. "type": "integer"
  6113. },
  6114. "decmargin": {
  6115. "description": "减少保证金(非必填)",
  6116. "type": "number"
  6117. },
  6118. "enumdicname": {
  6119. "description": "单位名称",
  6120. "type": "string"
  6121. },
  6122. "goodscode": {
  6123. "description": "点价合约",
  6124. "type": "string"
  6125. },
  6126. "goodsname": {
  6127. "description": "商品名称",
  6128. "type": "string"
  6129. },
  6130. "operateapplyid": {
  6131. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6132. "type": "string"
  6133. },
  6134. "operateapplytype": {
  6135. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6136. "type": "integer"
  6137. },
  6138. "pricemove": {
  6139. "description": "升贴水",
  6140. "type": "number"
  6141. },
  6142. "pricetype": {
  6143. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6144. "type": "integer"
  6145. },
  6146. "reckonadjustamount": {
  6147. "description": "结算调整金额(非必填)",
  6148. "type": "number"
  6149. },
  6150. "reckonosamount": {
  6151. "description": "结算溢短金额(非必填)",
  6152. "type": "number"
  6153. },
  6154. "reckonotheramount": {
  6155. "description": "结算其他费用(非必填)",
  6156. "type": "number"
  6157. },
  6158. "reckonrealqty": {
  6159. "description": "结算实际数量(非必填)",
  6160. "type": "number"
  6161. },
  6162. "relatedid": {
  6163. "description": "现货合同ID",
  6164. "type": "string"
  6165. },
  6166. "sellusername": {
  6167. "description": "销售方名字",
  6168. "type": "string"
  6169. },
  6170. "userid": {
  6171. "description": "用户ID",
  6172. "type": "integer"
  6173. }
  6174. }
  6175. },
  6176. "ermcp.QryBussinessKxRsp": {
  6177. "type": "object",
  6178. "properties": {
  6179. "applyid": {
  6180. "description": "申请人",
  6181. "type": "string"
  6182. },
  6183. "applyname": {
  6184. "description": "申请人名称",
  6185. "type": "string"
  6186. },
  6187. "applystatus": {
  6188. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6189. "type": "integer"
  6190. },
  6191. "applytime": {
  6192. "description": "申请时间",
  6193. "type": "string"
  6194. },
  6195. "auditname": {
  6196. "description": "审核人名称",
  6197. "type": "string"
  6198. },
  6199. "audittime": {
  6200. "description": "审核时间",
  6201. "type": "string"
  6202. },
  6203. "buyusername": {
  6204. "description": "采购方名称",
  6205. "type": "string"
  6206. },
  6207. "contractno": {
  6208. "description": "合同编号",
  6209. "type": "string"
  6210. },
  6211. "contractstatus": {
  6212. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6213. "type": "integer"
  6214. },
  6215. "contracttype": {
  6216. "description": "现货合同类型 - 1:采购 -1:销售",
  6217. "type": "integer"
  6218. },
  6219. "deductamount": {
  6220. "description": "退款(非必填)",
  6221. "type": "number"
  6222. },
  6223. "enumdicname": {
  6224. "description": "单位名称",
  6225. "type": "string"
  6226. },
  6227. "goodscode": {
  6228. "description": "点价合约",
  6229. "type": "string"
  6230. },
  6231. "goodsname": {
  6232. "description": "商品名称",
  6233. "type": "string"
  6234. },
  6235. "kxtype": {
  6236. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  6237. "type": "integer"
  6238. },
  6239. "operateapplyid": {
  6240. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6241. "type": "string"
  6242. },
  6243. "operateapplytype": {
  6244. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6245. "type": "integer"
  6246. },
  6247. "payamount": {
  6248. "description": "收付款(非必填)",
  6249. "type": "number"
  6250. },
  6251. "pricemove": {
  6252. "description": "升贴水",
  6253. "type": "number"
  6254. },
  6255. "pricetype": {
  6256. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6257. "type": "integer"
  6258. },
  6259. "relatedid": {
  6260. "description": "现货合同ID",
  6261. "type": "string"
  6262. },
  6263. "sellusername": {
  6264. "description": "销售方名字",
  6265. "type": "string"
  6266. },
  6267. "userid": {
  6268. "description": "用户ID",
  6269. "type": "integer"
  6270. }
  6271. }
  6272. },
  6273. "ermcp.QryErmcpRsp": {
  6274. "type": "object",
  6275. "properties": {
  6276. "accountid": {
  6277. "description": "账户ID",
  6278. "type": "string"
  6279. },
  6280. "accountname": {
  6281. "description": "账户名称",
  6282. "type": "string"
  6283. },
  6284. "contracctstatus": {
  6285. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6286. "type": "integer"
  6287. },
  6288. "contractno": {
  6289. "description": "合同编号",
  6290. "type": "string"
  6291. },
  6292. "contracttype": {
  6293. "description": "合同类型 1-采购, -1-销售",
  6294. "type": "integer"
  6295. },
  6296. "convertfactor": {
  6297. "description": "标仓系数",
  6298. "type": "number"
  6299. },
  6300. "daikaiamount": {
  6301. "description": "待开票额",
  6302. "type": "number"
  6303. },
  6304. "deliveryenddate": {
  6305. "description": "交割结束日",
  6306. "type": "string"
  6307. },
  6308. "deliverygoodscode": {
  6309. "description": "现货商品代码",
  6310. "type": "string"
  6311. },
  6312. "deliverygoodsid": {
  6313. "description": "现货商品ID",
  6314. "type": "integer"
  6315. },
  6316. "deliverygoodsname": {
  6317. "description": "现货商品名称",
  6318. "type": "string"
  6319. },
  6320. "deliverystartdate": {
  6321. "description": "交割开始日",
  6322. "type": "string"
  6323. },
  6324. "enddate": {
  6325. "description": "点价结束日",
  6326. "type": "string"
  6327. },
  6328. "enumdicname": {
  6329. "description": "单位名称",
  6330. "type": "string"
  6331. },
  6332. "goodscode": {
  6333. "description": "点价商品代码",
  6334. "type": "string"
  6335. },
  6336. "goodsid": {
  6337. "description": "点价商品ID",
  6338. "type": "integer"
  6339. },
  6340. "invoiceamount": {
  6341. "description": "已开票额",
  6342. "type": "number"
  6343. },
  6344. "loanamount": {
  6345. "description": "贷款总额=已定价额+调整金额",
  6346. "type": "number"
  6347. },
  6348. "margin": {
  6349. "description": "保证金",
  6350. "type": "number"
  6351. },
  6352. "payamount": {
  6353. "description": "已收付额(收款或付款)",
  6354. "type": "number"
  6355. },
  6356. "price": {
  6357. "description": "价格",
  6358. "type": "number"
  6359. },
  6360. "pricedamount": {
  6361. "description": "已定价额",
  6362. "type": "number"
  6363. },
  6364. "pricedavg": {
  6365. "description": "已点均价",
  6366. "type": "number"
  6367. },
  6368. "pricedqty": {
  6369. "description": "已定价量",
  6370. "type": "number"
  6371. },
  6372. "pricemove": {
  6373. "description": "升贴水",
  6374. "type": "number"
  6375. },
  6376. "pricetype": {
  6377. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6378. "type": "integer"
  6379. },
  6380. "producttype": {
  6381. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  6382. "type": "integer"
  6383. },
  6384. "qty": {
  6385. "description": "合同量",
  6386. "type": "number"
  6387. },
  6388. "reckonadjustamount": {
  6389. "description": "调整金额",
  6390. "type": "number"
  6391. },
  6392. "reckonedamount": {
  6393. "description": "已收付额(已确定额)",
  6394. "type": "number"
  6395. },
  6396. "reckonotheramount": {
  6397. "description": "其它费用",
  6398. "type": "number"
  6399. },
  6400. "reckonrealqty": {
  6401. "description": "已确定量",
  6402. "type": "number"
  6403. },
  6404. "remark": {
  6405. "description": "备注",
  6406. "type": "string"
  6407. },
  6408. "spotcontractid": {
  6409. "description": "合同ID",
  6410. "type": "string"
  6411. },
  6412. "spotgoodsdesc": {
  6413. "description": "商品型号(商品规格)",
  6414. "type": "string"
  6415. },
  6416. "startdate": {
  6417. "description": "点价开始日",
  6418. "type": "string"
  6419. },
  6420. "totalamount": {
  6421. "description": "合计总额",
  6422. "type": "number"
  6423. },
  6424. "unpayamount": {
  6425. "description": "待支收额(支付或收款)",
  6426. "type": "number"
  6427. },
  6428. "unpricedqty": {
  6429. "description": "未定价量",
  6430. "type": "number"
  6431. },
  6432. "unsureqty": {
  6433. "description": "未确定量",
  6434. "type": "number"
  6435. },
  6436. "userid": {
  6437. "description": "用户ID",
  6438. "type": "integer"
  6439. }
  6440. }
  6441. },
  6442. "ermcp.QryHedgePlanRsp": {
  6443. "type": "object",
  6444. "properties": {
  6445. "areauserid": {
  6446. "description": "用户ID",
  6447. "type": "integer"
  6448. },
  6449. "contracttype": {
  6450. "description": "计划类型 - 1:采购 -1:销售",
  6451. "type": "integer"
  6452. },
  6453. "convertfactor": {
  6454. "description": "标仓系数",
  6455. "type": "number"
  6456. },
  6457. "deliverygoodsid": {
  6458. "description": "现货品种ID",
  6459. "type": "integer"
  6460. },
  6461. "deliverygoodsname": {
  6462. "description": "现货品种名称",
  6463. "type": "string"
  6464. },
  6465. "hedgeplanid": {
  6466. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  6467. "type": "string"
  6468. },
  6469. "hedgeplanno": {
  6470. "description": "套保计划编号(名称)",
  6471. "type": "string"
  6472. },
  6473. "hedgeplanstatus": {
  6474. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6475. "type": "integer"
  6476. },
  6477. "planqty": {
  6478. "description": "计划数量",
  6479. "type": "number"
  6480. },
  6481. "plantime": {
  6482. "description": "计划时间",
  6483. "type": "string"
  6484. },
  6485. "producttype": {
  6486. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  6487. "type": "integer"
  6488. },
  6489. "remark": {
  6490. "description": "备注",
  6491. "type": "string"
  6492. },
  6493. "spotgoodsdesc": {
  6494. "description": "商品型号",
  6495. "type": "string"
  6496. },
  6497. "wrstandardid": {
  6498. "description": "现货商品ID",
  6499. "type": "integer"
  6500. },
  6501. "wrstandardname": {
  6502. "description": "现货商品名称",
  6503. "type": "string"
  6504. }
  6505. }
  6506. },
  6507. "ermcp.QryOPLogRsp": {
  6508. "type": "object",
  6509. "properties": {
  6510. "aftervalue": {
  6511. "description": "变更后",
  6512. "type": "number"
  6513. },
  6514. "applyid": {
  6515. "description": "操作人ID",
  6516. "type": "string"
  6517. },
  6518. "applyname": {
  6519. "description": "操作人名称",
  6520. "type": "string"
  6521. },
  6522. "beforevalue": {
  6523. "description": "变更前",
  6524. "type": "number"
  6525. },
  6526. "biztype": {
  6527. "description": "业务类型 - 1:套保计划 2:现货合同",
  6528. "type": "integer"
  6529. },
  6530. "contracttype": {
  6531. "description": "现货合同类型 - 1:采购 -1:销售",
  6532. "type": "integer"
  6533. },
  6534. "logvalue": {
  6535. "description": "数值",
  6536. "type": "number"
  6537. },
  6538. "operatelogtype": {
  6539. "description": "操作流水类型",
  6540. "type": "integer"
  6541. },
  6542. "operatelogtypedesc": {
  6543. "description": "操作流水类型名称",
  6544. "type": "string"
  6545. },
  6546. "relatedid": {
  6547. "description": "现货合同ID\\套保计划",
  6548. "type": "string"
  6549. },
  6550. "updatetime": {
  6551. "description": "更新时间",
  6552. "type": "string"
  6553. }
  6554. }
  6555. },
  6556. "ermcp.QrySpotContractRsp": {
  6557. "type": "object",
  6558. "properties": {
  6559. "amount": {
  6560. "description": "金额 [1:一口价、3:暂定价]",
  6561. "type": "number"
  6562. },
  6563. "buyuserid": {
  6564. "description": "采购方ID",
  6565. "type": "integer"
  6566. },
  6567. "buyusername": {
  6568. "description": "采购方名称",
  6569. "type": "string"
  6570. },
  6571. "contracctstatus": {
  6572. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6573. "type": "integer"
  6574. },
  6575. "contractno": {
  6576. "description": "现货合同编号",
  6577. "type": "string"
  6578. },
  6579. "contracttype": {
  6580. "description": "现货合同类型 - 1:采购 -1:销售",
  6581. "type": "integer"
  6582. },
  6583. "convertfactor": {
  6584. "description": "标仓系数",
  6585. "type": "number"
  6586. },
  6587. "deliveryenddate": {
  6588. "description": "交收期(结束)",
  6589. "type": "string"
  6590. },
  6591. "deliverygoodscode": {
  6592. "description": "现货品种代码",
  6593. "type": "string"
  6594. },
  6595. "deliverygoodsid": {
  6596. "description": "现货品种ID",
  6597. "type": "integer"
  6598. },
  6599. "deliverygoodsname": {
  6600. "description": "现货品种名称",
  6601. "type": "string"
  6602. },
  6603. "deliverystartdate": {
  6604. "description": "交收期(开始)",
  6605. "type": "string"
  6606. },
  6607. "enddate": {
  6608. "description": "点价结束日期 [2:点价 3:暂定价]",
  6609. "type": "string"
  6610. },
  6611. "enumdicname": {
  6612. "description": "单位名称",
  6613. "type": "string"
  6614. },
  6615. "goodscode": {
  6616. "description": "点价合约代码",
  6617. "type": "string"
  6618. },
  6619. "goodsid": {
  6620. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  6621. "type": "integer"
  6622. },
  6623. "margin": {
  6624. "description": "当前保证金",
  6625. "type": "number"
  6626. },
  6627. "price": {
  6628. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  6629. "type": "number"
  6630. },
  6631. "pricemove": {
  6632. "description": "升贴水 [2:点价 3:暂定价]",
  6633. "type": "number"
  6634. },
  6635. "pricetype": {
  6636. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6637. "type": "integer"
  6638. },
  6639. "producttype": {
  6640. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  6641. "type": "integer"
  6642. },
  6643. "qty": {
  6644. "description": "数量",
  6645. "type": "number"
  6646. },
  6647. "remark": {
  6648. "description": "备注",
  6649. "type": "string"
  6650. },
  6651. "selluserid": {
  6652. "description": "销售方ID",
  6653. "type": "integer"
  6654. },
  6655. "sellusername": {
  6656. "description": "销售方名称",
  6657. "type": "string"
  6658. },
  6659. "spotcontractid": {
  6660. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  6661. "type": "string"
  6662. },
  6663. "spotgoodsdesc": {
  6664. "description": "商品型号",
  6665. "type": "string"
  6666. },
  6667. "startdate": {
  6668. "description": "点价开始日期 [2:点价 3:暂定价]",
  6669. "type": "string"
  6670. },
  6671. "userid": {
  6672. "description": "机构ID",
  6673. "type": "integer"
  6674. }
  6675. }
  6676. },
  6677. "ermcp.QryUserInfoRsp": {
  6678. "type": "object",
  6679. "properties": {
  6680. "address": {
  6681. "description": "通讯地址",
  6682. "type": "string"
  6683. },
  6684. "attachment1": {
  6685. "description": "附件1",
  6686. "type": "string"
  6687. },
  6688. "cardfrontphotourl": {
  6689. "description": "证件正面图片地址",
  6690. "type": "string"
  6691. },
  6692. "cardnum": {
  6693. "description": "证件号码",
  6694. "type": "string"
  6695. },
  6696. "cardtype": {
  6697. "description": "证件类型",
  6698. "type": "integer"
  6699. },
  6700. "cardtypename": {
  6701. "description": "证件类型名称",
  6702. "type": "string"
  6703. },
  6704. "cityid": {
  6705. "description": "市",
  6706. "type": "integer"
  6707. },
  6708. "countryid": {
  6709. "description": "国家",
  6710. "type": "integer"
  6711. },
  6712. "customername": {
  6713. "description": "企业名称",
  6714. "type": "string"
  6715. },
  6716. "memberuserid": {
  6717. "description": "所属机构ID",
  6718. "type": "integer"
  6719. },
  6720. "mobile": {
  6721. "description": "手机号码",
  6722. "type": "string"
  6723. },
  6724. "provinceid": {
  6725. "description": "省",
  6726. "type": "integer"
  6727. },
  6728. "remark": {
  6729. "description": "备注",
  6730. "type": "string"
  6731. },
  6732. "status": {
  6733. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  6734. "type": "integer"
  6735. },
  6736. "statusdesc": {
  6737. "description": "账户状态中文描述",
  6738. "type": "string"
  6739. },
  6740. "telphone": {
  6741. "description": "联系电话",
  6742. "type": "string"
  6743. },
  6744. "userid": {
  6745. "description": "用户ID",
  6746. "type": "integer"
  6747. },
  6748. "userinfotype": {
  6749. "description": "客户类型",
  6750. "type": "string"
  6751. }
  6752. }
  6753. },
  6754. "ermcp.QryWrStandardRsp": {
  6755. "type": "object",
  6756. "properties": {
  6757. "areauserid": {
  6758. "description": "所属机构",
  6759. "type": "integer"
  6760. },
  6761. "createtime": {
  6762. "description": "创建时间",
  6763. "type": "string"
  6764. },
  6765. "creatorid": {
  6766. "description": "创建人",
  6767. "type": "integer"
  6768. },
  6769. "deliverygoodsid": {
  6770. "description": "品种ID",
  6771. "type": "integer"
  6772. },
  6773. "enumdicname": {
  6774. "description": "单位名称",
  6775. "type": "string"
  6776. },
  6777. "minivalue": {
  6778. "description": "最小变动值",
  6779. "type": "integer"
  6780. },
  6781. "minivaluedp": {
  6782. "description": "最小变动值小数位",
  6783. "type": "integer"
  6784. },
  6785. "realminivalue": {
  6786. "description": "实际最小变动值",
  6787. "type": "integer"
  6788. },
  6789. "realminivaluedp": {
  6790. "description": "实际最小变动值小数位",
  6791. "type": "integer"
  6792. },
  6793. "unitid": {
  6794. "description": "单位ID",
  6795. "type": "integer"
  6796. },
  6797. "wrstandardcode": {
  6798. "description": "现货商品代码",
  6799. "type": "string"
  6800. },
  6801. "wrstandardid": {
  6802. "description": "现货商品ID(SEQ_WRSTANDARD)",
  6803. "type": "integer"
  6804. },
  6805. "wrstandardname": {
  6806. "description": "现货商品名称",
  6807. "type": "string"
  6808. }
  6809. }
  6810. },
  6811. "ermcp.RealtimeExposureRsp": {
  6812. "type": "object",
  6813. "properties": {
  6814. "areaUserID": {
  6815. "description": "所属机构",
  6816. "type": "integer"
  6817. },
  6818. "buyFutureQty": {
  6819. "description": "买入期货数量",
  6820. "type": "number"
  6821. },
  6822. "buyPlanQty": {
  6823. "description": "采购计划数量",
  6824. "type": "number"
  6825. },
  6826. "buyPricedQty": {
  6827. "description": "采购合同已定价数量",
  6828. "type": "number"
  6829. },
  6830. "middleGoodsCode": {
  6831. "description": "套保品种代码",
  6832. "type": "string"
  6833. },
  6834. "middleGoodsHedgeRatio": {
  6835. "description": "应套保比例",
  6836. "type": "number"
  6837. },
  6838. "middleGoodsID": {
  6839. "description": "套保品种",
  6840. "type": "integer"
  6841. },
  6842. "middleGoodsName": {
  6843. "description": "************以下需计算或非redis数据************//",
  6844. "type": "string"
  6845. },
  6846. "needHedgeExposoure": {
  6847. "description": "应套保敞口",
  6848. "type": "number"
  6849. },
  6850. "needHedgeRatio": {
  6851. "description": "应套保敞口比例",
  6852. "type": "number"
  6853. },
  6854. "oriBuyFutureQty": {
  6855. "description": "期初买入期货数量",
  6856. "type": "integer"
  6857. },
  6858. "oriBuyPlanQty": {
  6859. "description": "期初采购计划数量",
  6860. "type": "number"
  6861. },
  6862. "oriBuyPricedQty": {
  6863. "description": "期初采购合同已定价数量",
  6864. "type": "number"
  6865. },
  6866. "oriSellFutureQty": {
  6867. "description": "期初卖出期货数量",
  6868. "type": "integer"
  6869. },
  6870. "oriSellPlanQty": {
  6871. "description": "期初销售计划数量",
  6872. "type": "number"
  6873. },
  6874. "oriSellPricedQty": {
  6875. "description": "期初销售合同已定价数量",
  6876. "type": "number"
  6877. },
  6878. "oriTotalFutuQty": {
  6879. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  6880. "type": "integer"
  6881. },
  6882. "oriTotalSpotQty": {
  6883. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  6884. "type": "number"
  6885. },
  6886. "sellFutureQty": {
  6887. "description": "卖出期货数量",
  6888. "type": "number"
  6889. },
  6890. "sellPlanQty": {
  6891. "description": "销售计划数量",
  6892. "type": "number"
  6893. },
  6894. "sellPricedQty": {
  6895. "description": "销售合同已定价数量",
  6896. "type": "number"
  6897. },
  6898. "totalExposure": {
  6899. "description": "总敞口",
  6900. "type": "number"
  6901. },
  6902. "totalFutureQty": {
  6903. "description": "期货数量",
  6904. "type": "number"
  6905. },
  6906. "totalHedgeRatio": {
  6907. "description": "敞口比例",
  6908. "type": "number"
  6909. },
  6910. "totalNeedHedgeQty": {
  6911. "description": "期货应套保量",
  6912. "type": "number"
  6913. },
  6914. "totalSpotQty": {
  6915. "description": "现货数量",
  6916. "type": "number"
  6917. }
  6918. }
  6919. },
  6920. "erms2.QueryArbitrageStrategyRsp": {
  6921. "type": "object",
  6922. "required": [
  6923. "asapplyid"
  6924. ],
  6925. "properties": {
  6926. "applybasis": {
  6927. "description": "申请基差",
  6928. "type": "number"
  6929. },
  6930. "asapplyid": {
  6931. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  6932. "type": "string"
  6933. },
  6934. "asname": {
  6935. "description": "策略名称",
  6936. "type": "string"
  6937. },
  6938. "asno": {
  6939. "description": "策略编号",
  6940. "type": "string"
  6941. },
  6942. "basischangepl": {
  6943. "description": "基差变动损益[结算更新]",
  6944. "type": "number"
  6945. },
  6946. "biztype": {
  6947. "description": "业务类型 - 1:正向套利 -1:反向套利",
  6948. "type": "integer"
  6949. },
  6950. "closetradedate": {
  6951. "description": "完结交易日(yyyyMMdd)",
  6952. "type": "string"
  6953. },
  6954. "curbasis": {
  6955. "description": "当前基差[结算更新]",
  6956. "type": "number"
  6957. },
  6958. "deliverygoodsid": {
  6959. "description": "现货品种ID",
  6960. "type": "integer"
  6961. },
  6962. "futureavgprice": {
  6963. "description": "期货建仓均价",
  6964. "type": "number"
  6965. },
  6966. "futurecloseamount": {
  6967. "description": "期货平仓金额",
  6968. "type": "number"
  6969. },
  6970. "futurecloseqty": {
  6971. "description": "期货平仓数量",
  6972. "type": "number"
  6973. },
  6974. "futureopenamount": {
  6975. "description": "期货开仓金额",
  6976. "type": "number"
  6977. },
  6978. "futureopenqty": {
  6979. "description": "期货开仓数量",
  6980. "type": "number"
  6981. },
  6982. "futurepl": {
  6983. "description": "期货总盈亏[结算更新]",
  6984. "type": "number"
  6985. },
  6986. "futureqty": {
  6987. "description": "期货持仓数量",
  6988. "type": "number"
  6989. },
  6990. "futurequote": {
  6991. "description": "期货额度",
  6992. "type": "number"
  6993. },
  6994. "goodsgroupid": {
  6995. "description": "期货品种ID",
  6996. "type": "integer"
  6997. },
  6998. "marketid": {
  6999. "description": "市场ID",
  7000. "type": "integer"
  7001. },
  7002. "netexposure": {
  7003. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  7004. "type": "number"
  7005. },
  7006. "netexposurepl": {
  7007. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  7008. "type": "number"
  7009. },
  7010. "netexposurerate": {
  7011. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  7012. "type": "number"
  7013. },
  7014. "openbasis": {
  7015. "description": "建仓基差",
  7016. "type": "number"
  7017. },
  7018. "pricedspotqty": {
  7019. "description": "已定价现货数量",
  7020. "type": "number"
  7021. },
  7022. "pricedspotqtynotax": {
  7023. "description": "已定价现货不含税数量",
  7024. "type": "number"
  7025. },
  7026. "remark": {
  7027. "description": "备注",
  7028. "type": "string"
  7029. },
  7030. "spotavgprice": {
  7031. "description": "现货均价",
  7032. "type": "number"
  7033. },
  7034. "spotbuyamount": {
  7035. "description": "现货采购金额",
  7036. "type": "number"
  7037. },
  7038. "spotbuyqty": {
  7039. "description": "现货采购数量",
  7040. "type": "number"
  7041. },
  7042. "spotpl": {
  7043. "description": "现货总盈亏[结算更新]",
  7044. "type": "number"
  7045. },
  7046. "spotquota": {
  7047. "description": "现货额度",
  7048. "type": "number"
  7049. },
  7050. "spotsellamount": {
  7051. "description": "现货销售金额",
  7052. "type": "number"
  7053. },
  7054. "spotsellqty": {
  7055. "description": "现货销售数量",
  7056. "type": "number"
  7057. },
  7058. "spotusedquota": {
  7059. "description": "现货占用资金",
  7060. "type": "number"
  7061. },
  7062. "strategystatus": {
  7063. "description": "策略状态 - 0:未结束 1:已结束",
  7064. "type": "integer"
  7065. },
  7066. "totalpl": {
  7067. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  7068. "type": "number"
  7069. },
  7070. "tradedate": {
  7071. "description": "交易日(yyyyMMdd)",
  7072. "type": "string"
  7073. },
  7074. "updatetime": {
  7075. "description": "更新时间",
  7076. "type": "string"
  7077. },
  7078. "usedquota": {
  7079. "description": "已占用资金",
  7080. "type": "number"
  7081. },
  7082. "userid": {
  7083. "description": "所属机构",
  7084. "type": "integer"
  7085. }
  7086. }
  7087. },
  7088. "erms2.QueryInnerTradeDetailRsp": {
  7089. "type": "object",
  7090. "required": [
  7091. "asapplyid",
  7092. "buyorsell",
  7093. "goodscode",
  7094. "goodsgroupid",
  7095. "goodsgroupname",
  7096. "goodsname",
  7097. "tradeid"
  7098. ],
  7099. "properties": {
  7100. "accountid": {
  7101. "description": "账号ID",
  7102. "type": "integer"
  7103. },
  7104. "agreeunit": {
  7105. "description": "合约单位",
  7106. "type": "number"
  7107. },
  7108. "asapplyid": {
  7109. "description": "策略申请ID",
  7110. "type": "integer"
  7111. },
  7112. "asname": {
  7113. "description": "策略名称",
  7114. "type": "string"
  7115. },
  7116. "asno": {
  7117. "description": "策略编号",
  7118. "type": "string"
  7119. },
  7120. "buyorsell": {
  7121. "description": "方向 - 0:买 1:卖",
  7122. "type": "integer"
  7123. },
  7124. "channelbuildtype": {
  7125. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  7126. "type": "integer"
  7127. },
  7128. "closetype": {
  7129. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  7130. "type": "integer"
  7131. },
  7132. "decimalplace": {
  7133. "description": "报价小数位",
  7134. "type": "integer"
  7135. },
  7136. "detailtype": {
  7137. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  7138. "type": "integer"
  7139. },
  7140. "exexchangecode": {
  7141. "description": "外部交易所代码",
  7142. "type": "string"
  7143. },
  7144. "exexchangename": {
  7145. "description": "外部交易所名称",
  7146. "type": "string"
  7147. },
  7148. "goodscode": {
  7149. "description": "商品代码(合约)",
  7150. "type": "string"
  7151. },
  7152. "goodsgroupid": {
  7153. "description": "商品组ID(品种ID)",
  7154. "type": "integer"
  7155. },
  7156. "goodsgroupname": {
  7157. "description": "商品组名称(品种)",
  7158. "type": "string"
  7159. },
  7160. "goodsid": {
  7161. "description": "商品ID",
  7162. "type": "integer"
  7163. },
  7164. "goodsname": {
  7165. "description": "商品名称(合约)",
  7166. "type": "string"
  7167. },
  7168. "goodunit": {
  7169. "description": "报价单位",
  7170. "type": "string"
  7171. },
  7172. "marketid": {
  7173. "description": "市场ID",
  7174. "type": "integer"
  7175. },
  7176. "orderid": {
  7177. "description": "委托单号",
  7178. "type": "string"
  7179. },
  7180. "outgoodscode": {
  7181. "description": "商品代码(外部)",
  7182. "type": "string"
  7183. },
  7184. "relatedouttradeid": {
  7185. "description": "关联外部成交单ID",
  7186. "type": "string"
  7187. },
  7188. "remark": {
  7189. "description": "备注",
  7190. "type": "string"
  7191. },
  7192. "spotcontractid": {
  7193. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  7194. "type": "integer"
  7195. },
  7196. "spotcontractno": {
  7197. "description": "现货合同编号",
  7198. "type": "string"
  7199. },
  7200. "tradeid": {
  7201. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7202. "type": "string"
  7203. },
  7204. "tradeprice": {
  7205. "description": "成交价格",
  7206. "type": "number"
  7207. },
  7208. "tradeqty": {
  7209. "description": "成交数量",
  7210. "type": "integer"
  7211. },
  7212. "tradetime": {
  7213. "description": "成交时间",
  7214. "type": "string"
  7215. },
  7216. "updatetime": {
  7217. "description": "更新时间",
  7218. "type": "string"
  7219. }
  7220. }
  7221. },
  7222. "erms2.QuerySpotContractRsp": {
  7223. "type": "object",
  7224. "required": [
  7225. "spotcontractid"
  7226. ],
  7227. "properties": {
  7228. "accountid": {
  7229. "description": "资金账户ID",
  7230. "type": "integer"
  7231. },
  7232. "areauserid": {
  7233. "description": "所属机构",
  7234. "type": "integer"
  7235. },
  7236. "closedate": {
  7237. "description": "终止日期",
  7238. "type": "string"
  7239. },
  7240. "closeremark": {
  7241. "description": "结束备注",
  7242. "type": "string"
  7243. },
  7244. "closetradedate": {
  7245. "description": "完结交易日(yyyyMMdd)",
  7246. "type": "string"
  7247. },
  7248. "closetype": {
  7249. "description": "终止类型 - 1:违约 2:提前终止",
  7250. "type": "integer"
  7251. },
  7252. "contractamount": {
  7253. "description": "合同金额",
  7254. "type": "number"
  7255. },
  7256. "contractattachment": {
  7257. "description": "合同附件",
  7258. "type": "string"
  7259. },
  7260. "contractno": {
  7261. "description": "现货合同编号",
  7262. "type": "string"
  7263. },
  7264. "contractqty": {
  7265. "description": "合同数量(数值) (用于计算)",
  7266. "type": "number"
  7267. },
  7268. "contractqtychar": {
  7269. "description": "合同数量\\已订价数量 (用于显示)",
  7270. "type": "string"
  7271. },
  7272. "contractstatus": {
  7273. "description": "合同状态 - 0:未结束 1:已结束",
  7274. "type": "integer"
  7275. },
  7276. "contracttype": {
  7277. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  7278. "type": "integer"
  7279. },
  7280. "customeraccountid": {
  7281. "description": "客户资金账户ID",
  7282. "type": "integer"
  7283. },
  7284. "customeruserid": {
  7285. "description": "客户ID",
  7286. "type": "integer"
  7287. },
  7288. "deliverygoodsdesc": {
  7289. "description": "品种说明",
  7290. "type": "string"
  7291. },
  7292. "deliverygoodsid": {
  7293. "description": "现货品种ID",
  7294. "type": "integer"
  7295. },
  7296. "handlestatus": {
  7297. "description": "处理状态",
  7298. "type": "integer"
  7299. },
  7300. "invoiceatt": {
  7301. "description": "发票附件",
  7302. "type": "string"
  7303. },
  7304. "invoicedatetime": {
  7305. "description": "开收票更新时间",
  7306. "type": "string"
  7307. },
  7308. "invoiceopentime": {
  7309. "description": "开票时间",
  7310. "type": "string"
  7311. },
  7312. "invoiceremark": {
  7313. "description": "发票备注",
  7314. "type": "string"
  7315. },
  7316. "invoicestatus": {
  7317. "description": "开收票状态 - 0:未开票 1:已开票",
  7318. "type": "integer"
  7319. },
  7320. "lastdate": {
  7321. "description": "交货时间",
  7322. "type": "string"
  7323. },
  7324. "marketid": {
  7325. "description": "市场ID",
  7326. "type": "integer"
  7327. },
  7328. "paydatetime": {
  7329. "description": "收付款更新时间",
  7330. "type": "string"
  7331. },
  7332. "payremark": {
  7333. "description": "收付款备注",
  7334. "type": "string"
  7335. },
  7336. "paystatus": {
  7337. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  7338. "type": "integer"
  7339. },
  7340. "positionqty": {
  7341. "description": "头寸数量 - 合同数量去小数部分",
  7342. "type": "integer"
  7343. },
  7344. "producttype": {
  7345. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7346. "type": "integer"
  7347. },
  7348. "relatedqty": {
  7349. "description": "已关联数量",
  7350. "type": "number"
  7351. },
  7352. "relatedstatus": {
  7353. "description": "关联完结状态 - 0:未结束 1:已结束",
  7354. "type": "integer"
  7355. },
  7356. "remark": {
  7357. "description": "备注",
  7358. "type": "string"
  7359. },
  7360. "signdate": {
  7361. "description": "签订日期",
  7362. "type": "string"
  7363. },
  7364. "spotcontractid": {
  7365. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  7366. "type": "string"
  7367. },
  7368. "spotdatetime": {
  7369. "description": "收发货更新时间",
  7370. "type": "string"
  7371. },
  7372. "spotprice": {
  7373. "description": "价格",
  7374. "type": "number"
  7375. },
  7376. "spotremark": {
  7377. "description": "收发货备注",
  7378. "type": "string"
  7379. },
  7380. "spotstatus": {
  7381. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  7382. "type": "integer"
  7383. },
  7384. "tradedate": {
  7385. "description": "交易日(yyyyMMdd)",
  7386. "type": "string"
  7387. },
  7388. "userid": {
  7389. "description": "业务员用户ID",
  7390. "type": "integer"
  7391. },
  7392. "warehouseid": {
  7393. "description": "仓库ID",
  7394. "type": "integer"
  7395. },
  7396. "wrfactortypeid": {
  7397. "description": "仓单要素类型ID",
  7398. "type": "integer"
  7399. },
  7400. "wrstandardid": {
  7401. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  7402. "type": "integer"
  7403. }
  7404. }
  7405. },
  7406. "erms3.AddErms2ASApplyReq": {
  7407. "type": "object",
  7408. "required": [
  7409. "asapplyid"
  7410. ],
  7411. "properties": {
  7412. "applybasis": {
  7413. "description": "申请基差",
  7414. "type": "number"
  7415. },
  7416. "applystatus": {
  7417. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7418. "type": "integer"
  7419. },
  7420. "asapplyid": {
  7421. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  7422. "type": "integer"
  7423. },
  7424. "asname": {
  7425. "description": "策略名称",
  7426. "type": "string"
  7427. },
  7428. "asno": {
  7429. "description": "策略编号",
  7430. "type": "string"
  7431. },
  7432. "auditid": {
  7433. "description": "审核人",
  7434. "type": "integer"
  7435. },
  7436. "auditremark": {
  7437. "description": "审核备注",
  7438. "type": "string"
  7439. },
  7440. "audittime": {
  7441. "description": "审核时间",
  7442. "type": "string"
  7443. },
  7444. "biztype": {
  7445. "description": "业务类型 - 1:正向套利 2:反向套利",
  7446. "type": "integer"
  7447. },
  7448. "createtime": {
  7449. "description": "创建时间",
  7450. "type": "string"
  7451. },
  7452. "creatorid": {
  7453. "description": "创建人",
  7454. "type": "integer"
  7455. },
  7456. "deliverygoodsid": {
  7457. "description": "现货品种ID",
  7458. "type": "integer"
  7459. },
  7460. "futurequote": {
  7461. "description": "期货额度",
  7462. "type": "number"
  7463. },
  7464. "goodsgroupid": {
  7465. "description": "期货品种ID",
  7466. "type": "integer"
  7467. },
  7468. "marketid": {
  7469. "description": "市场ID",
  7470. "type": "integer"
  7471. },
  7472. "remark": {
  7473. "description": "备注",
  7474. "type": "string"
  7475. },
  7476. "spotquota": {
  7477. "description": "现货额度",
  7478. "type": "number"
  7479. },
  7480. "tradedate": {
  7481. "description": "交易日(yyyyMMdd)",
  7482. "type": "string"
  7483. },
  7484. "userid": {
  7485. "description": "所属机构",
  7486. "type": "integer"
  7487. }
  7488. }
  7489. },
  7490. "erms3.AddErms2SpotTradeApplyReq": {
  7491. "type": "object",
  7492. "required": [
  7493. "spottradeid"
  7494. ],
  7495. "properties": {
  7496. "applyjsondetail": {
  7497. "description": "申请明细(JSON)",
  7498. "type": "string"
  7499. },
  7500. "applystatus": {
  7501. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7502. "type": "integer"
  7503. },
  7504. "areauserid": {
  7505. "description": "所属机构",
  7506. "type": "integer"
  7507. },
  7508. "auditid": {
  7509. "description": "审核人",
  7510. "type": "integer"
  7511. },
  7512. "auditremark": {
  7513. "description": "审核备注",
  7514. "type": "string"
  7515. },
  7516. "audittime": {
  7517. "description": "审核时间",
  7518. "type": "string"
  7519. },
  7520. "createtime": {
  7521. "description": "创建时间",
  7522. "type": "string"
  7523. },
  7524. "creatorid": {
  7525. "description": "创建人",
  7526. "type": "integer"
  7527. },
  7528. "deliverygoodsid": {
  7529. "description": "现货品种ID",
  7530. "type": "integer"
  7531. },
  7532. "futureaccountid": {
  7533. "description": "期货资金账户",
  7534. "type": "integer"
  7535. },
  7536. "goodsgroupid": {
  7537. "description": "期货品种",
  7538. "type": "integer"
  7539. },
  7540. "marketid": {
  7541. "description": "市场ID",
  7542. "type": "integer"
  7543. },
  7544. "remark": {
  7545. "description": "备注",
  7546. "type": "string"
  7547. },
  7548. "spotaccountid": {
  7549. "description": "现货资金账户",
  7550. "type": "integer"
  7551. },
  7552. "spottradeid": {
  7553. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  7554. "type": "integer"
  7555. },
  7556. "spottradename": {
  7557. "description": "业务名称",
  7558. "type": "string"
  7559. },
  7560. "spottradeno": {
  7561. "description": "业务编号",
  7562. "type": "string"
  7563. },
  7564. "tradedate": {
  7565. "description": "交易日(yyyyMMdd)",
  7566. "type": "string"
  7567. },
  7568. "wrstandardid": {
  7569. "description": "仓单标准ID",
  7570. "type": "integer"
  7571. }
  7572. }
  7573. },
  7574. "erms3.AddSpotContractApplyReq": {
  7575. "type": "object",
  7576. "required": [
  7577. "accountid",
  7578. "areauserid",
  7579. "contractno",
  7580. "contracttype",
  7581. "customeraccountid",
  7582. "customeruserid",
  7583. "details",
  7584. "orimargin",
  7585. "signdate"
  7586. ],
  7587. "properties": {
  7588. "accountid": {
  7589. "description": "资金账户ID",
  7590. "type": "integer"
  7591. },
  7592. "areauserid": {
  7593. "description": "所属机构",
  7594. "type": "integer"
  7595. },
  7596. "contractattachment": {
  7597. "description": "合同附件",
  7598. "type": "string"
  7599. },
  7600. "contractno": {
  7601. "description": "现货合同编号",
  7602. "type": "string"
  7603. },
  7604. "contracttype": {
  7605. "description": "现货合同类型 - 1:采购 -1:销售",
  7606. "type": "integer"
  7607. },
  7608. "creatorid": {
  7609. "description": "申请人",
  7610. "type": "integer"
  7611. },
  7612. "customeraccountid": {
  7613. "description": "客户资金账户ID",
  7614. "type": "integer"
  7615. },
  7616. "customeruserid": {
  7617. "description": "客户ID",
  7618. "type": "integer"
  7619. },
  7620. "details": {
  7621. "description": "明细",
  7622. "type": "array",
  7623. "items": {
  7624. "$ref": "#/definitions/erms3.SoptContractDetail"
  7625. }
  7626. },
  7627. "orimargin": {
  7628. "description": "初始保证金",
  7629. "type": "number"
  7630. },
  7631. "remark": {
  7632. "description": "备注",
  7633. "type": "string"
  7634. },
  7635. "signdate": {
  7636. "description": "签订日期",
  7637. "type": "string"
  7638. }
  7639. }
  7640. },
  7641. "erms3.AddSpotContractApplyRsp": {
  7642. "type": "object",
  7643. "required": [
  7644. "contractno"
  7645. ],
  7646. "properties": {
  7647. "contractno": {
  7648. "description": "现货合同编号",
  7649. "type": "string"
  7650. },
  7651. "spotcontractid": {
  7652. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  7653. "type": "integer"
  7654. }
  7655. }
  7656. },
  7657. "erms3.AddUserInfoApplyReq": {
  7658. "type": "object",
  7659. "required": [
  7660. "userid"
  7661. ],
  7662. "properties": {
  7663. "accountid": {
  7664. "description": "交易系统帐号Id (加密存储)",
  7665. "type": "integer"
  7666. },
  7667. "areacode": {
  7668. "description": "机构代码",
  7669. "type": "string"
  7670. },
  7671. "areaid": {
  7672. "description": "机构Id",
  7673. "type": "integer"
  7674. },
  7675. "attachment1": {
  7676. "description": "附件1",
  7677. "type": "string"
  7678. },
  7679. "attachment2": {
  7680. "description": "附件2",
  7681. "type": "string"
  7682. },
  7683. "attachment3": {
  7684. "description": "附件3",
  7685. "type": "string"
  7686. },
  7687. "attachment4": {
  7688. "description": "附件4",
  7689. "type": "string"
  7690. },
  7691. "attachment5": {
  7692. "description": "附件5",
  7693. "type": "string"
  7694. },
  7695. "auditedby": {
  7696. "description": "审核人",
  7697. "type": "string"
  7698. },
  7699. "auditime": {
  7700. "description": "审核时间",
  7701. "type": "string"
  7702. },
  7703. "bankaccount": {
  7704. "description": "银行帐号 (加密存储)",
  7705. "type": "string"
  7706. },
  7707. "bankaccountname": {
  7708. "description": "收款人名称",
  7709. "type": "string"
  7710. },
  7711. "bankcardbackphotourl": {
  7712. "description": "银行卡背面照地址",
  7713. "type": "string"
  7714. },
  7715. "bankcardfrontphotourl": {
  7716. "description": "银行卡正面照地址",
  7717. "type": "string"
  7718. },
  7719. "bankid": {
  7720. "description": "银行编码",
  7721. "type": "string"
  7722. },
  7723. "bankname": {
  7724. "description": "银行名称",
  7725. "type": "string"
  7726. },
  7727. "bankpictureurl": {
  7728. "description": "银行卡正面地址",
  7729. "type": "string"
  7730. },
  7731. "biznature": {
  7732. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7733. "type": "integer"
  7734. },
  7735. "bizscope": {
  7736. "description": "企业经营范围(企业)",
  7737. "type": "string"
  7738. },
  7739. "biztype": {
  7740. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  7741. "type": "integer"
  7742. },
  7743. "brokerid": {
  7744. "description": "经纪人ID(加密存储)",
  7745. "type": "string"
  7746. },
  7747. "cardaddress": {
  7748. "description": "证件地址 (加密存储)",
  7749. "type": "string"
  7750. },
  7751. "cardbackphotourl": {
  7752. "description": "背面证件照地址",
  7753. "type": "string"
  7754. },
  7755. "cardfrontphotourl": {
  7756. "description": "正面证件照地址",
  7757. "type": "string"
  7758. },
  7759. "cardnum": {
  7760. "description": "证件号码 (加密存储)",
  7761. "type": "string"
  7762. },
  7763. "cardtype": {
  7764. "description": "证件类型",
  7765. "type": "integer"
  7766. },
  7767. "cityid": {
  7768. "description": "市",
  7769. "type": "integer"
  7770. },
  7771. "company": {
  7772. "description": "公司(个人)",
  7773. "type": "string"
  7774. },
  7775. "contactcardbackphotourl": {
  7776. "description": "联系人证件背面图片地址",
  7777. "type": "string"
  7778. },
  7779. "contactcardfrontphotourl": {
  7780. "description": "联系人证件正面图片地址",
  7781. "type": "string"
  7782. },
  7783. "contactname": {
  7784. "description": "联系人",
  7785. "type": "string"
  7786. },
  7787. "countryid": {
  7788. "description": "国家",
  7789. "type": "integer"
  7790. },
  7791. "createtime": {
  7792. "description": "开户申请时间",
  7793. "type": "string"
  7794. },
  7795. "cusbankid": {
  7796. "description": "签约类型",
  7797. "type": "string"
  7798. },
  7799. "cusbankname": {
  7800. "description": "签约类型名称",
  7801. "type": "string"
  7802. },
  7803. "customername": {
  7804. "description": "客户名称(企业名称)",
  7805. "type": "string"
  7806. },
  7807. "districtid": {
  7808. "description": "地区",
  7809. "type": "integer"
  7810. },
  7811. "email": {
  7812. "description": "Email地址(加密存储)",
  7813. "type": "string"
  7814. },
  7815. "halfbodyphotourl": {
  7816. "description": "半身照地址",
  7817. "type": "string"
  7818. },
  7819. "headurl": {
  7820. "description": "头像地址",
  7821. "type": "string"
  7822. },
  7823. "ipaddress": {
  7824. "description": "IP地址",
  7825. "type": "string"
  7826. },
  7827. "isvalidate": {
  7828. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  7829. "type": "string"
  7830. },
  7831. "legalcardbackphotourl": {
  7832. "description": "法人身份证背面照地址",
  7833. "type": "string"
  7834. },
  7835. "legalcardfrontphotourl": {
  7836. "description": "法人身份证正面照地址",
  7837. "type": "string"
  7838. },
  7839. "legalpersonname": {
  7840. "description": "法人姓名(企业)",
  7841. "type": "string"
  7842. },
  7843. "logincode": {
  7844. "description": "登录帐号 (加密存储)",
  7845. "type": "string"
  7846. },
  7847. "memberareaid": {
  7848. "description": "所属会员ID",
  7849. "type": "integer"
  7850. },
  7851. "mobile2": {
  7852. "description": "手机号码[明文-尚志]",
  7853. "type": "string"
  7854. },
  7855. "mobilephone": {
  7856. "description": "手机号码 (加密存储)",
  7857. "type": "string"
  7858. },
  7859. "modifiedby": {
  7860. "description": "修改人帐号",
  7861. "type": "integer"
  7862. },
  7863. "modifiedtime": {
  7864. "description": "修改时间",
  7865. "type": "string"
  7866. },
  7867. "nickname": {
  7868. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  7869. "type": "string"
  7870. },
  7871. "openmode": {
  7872. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  7873. "type": "integer"
  7874. },
  7875. "otherurl": {
  7876. "description": "其它图片地址[使用分号分隔]",
  7877. "type": "string"
  7878. },
  7879. "postalcode": {
  7880. "description": "邮政编码",
  7881. "type": "string"
  7882. },
  7883. "provinceid": {
  7884. "description": "省",
  7885. "type": "integer"
  7886. },
  7887. "proxystatementurl": {
  7888. "description": "授权委托书",
  7889. "type": "string"
  7890. },
  7891. "qq": {
  7892. "description": "QQ(加密存储",
  7893. "type": "string"
  7894. },
  7895. "referral": {
  7896. "description": "推荐人编码",
  7897. "type": "string"
  7898. },
  7899. "remark": {
  7900. "description": "备注",
  7901. "type": "string"
  7902. },
  7903. "removebeforestatus": {
  7904. "description": "REMOVEBEFORESTATUS",
  7905. "type": "integer"
  7906. },
  7907. "sex": {
  7908. "description": "性别 - 0:女 1:男",
  7909. "type": "integer"
  7910. },
  7911. "signedstatus": {
  7912. "description": "账户一号签签约状态",
  7913. "type": "integer"
  7914. },
  7915. "signpdfurl": {
  7916. "description": "签约pdf文件",
  7917. "type": "string"
  7918. },
  7919. "subbranch": {
  7920. "description": "开户支行",
  7921. "type": "string"
  7922. },
  7923. "telphone": {
  7924. "description": "联系电话(加密存储)",
  7925. "type": "string"
  7926. },
  7927. "userid": {
  7928. "description": "用户ID(自增ID)",
  7929. "type": "integer"
  7930. },
  7931. "userinfotype": {
  7932. "description": "用户信息类型 - 1:个人 2:企业",
  7933. "type": "integer"
  7934. },
  7935. "username": {
  7936. "description": "用户姓名",
  7937. "type": "string"
  7938. },
  7939. "userstate": {
  7940. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  7941. "type": "integer"
  7942. },
  7943. "usertype": {
  7944. "description": "用户类型 - 1:投资者 2:机构",
  7945. "type": "integer"
  7946. },
  7947. "videourl": {
  7948. "description": "视频地址",
  7949. "type": "string"
  7950. },
  7951. "wechat": {
  7952. "description": "微信号 (加密存储)",
  7953. "type": "string"
  7954. }
  7955. }
  7956. },
  7957. "erms3.CustomerInfo": {
  7958. "type": "object",
  7959. "required": [
  7960. "userid"
  7961. ],
  7962. "properties": {
  7963. "accountids": {
  7964. "description": "资金账户ID列表",
  7965. "type": "array",
  7966. "items": {
  7967. "type": "integer"
  7968. }
  7969. },
  7970. "customername": {
  7971. "description": "名称(企业名称)",
  7972. "type": "string"
  7973. },
  7974. "mobile": {
  7975. "description": "手机号码",
  7976. "type": "string"
  7977. },
  7978. "userid": {
  7979. "description": "用户ID",
  7980. "type": "integer"
  7981. }
  7982. }
  7983. },
  7984. "erms3.QryAuditContractRsp": {
  7985. "type": "object",
  7986. "required": [
  7987. "matchcustomername",
  7988. "spotcontractid"
  7989. ],
  7990. "properties": {
  7991. "accountid": {
  7992. "description": "交易员ID",
  7993. "type": "string"
  7994. },
  7995. "applystatus": {
  7996. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7997. "type": "integer"
  7998. },
  7999. "curdeliveryqty": {
  8000. "description": "未交收量",
  8001. "type": "integer"
  8002. },
  8003. "customername": {
  8004. "description": "采购方ID",
  8005. "type": "string"
  8006. },
  8007. "deliverygoodsid": {
  8008. "description": "品种ID",
  8009. "type": "string"
  8010. },
  8011. "deliveryqty": {
  8012. "description": "交收量",
  8013. "type": "integer"
  8014. },
  8015. "enumdicname": {
  8016. "description": "单位名称",
  8017. "type": "string"
  8018. },
  8019. "matchaccountid": {
  8020. "description": "业务员ID",
  8021. "type": "string"
  8022. },
  8023. "matchcustomername": {
  8024. "description": "销售方ID",
  8025. "type": "string"
  8026. },
  8027. "pricedqty": {
  8028. "description": "定价量",
  8029. "type": "number"
  8030. },
  8031. "signdate": {
  8032. "description": "签订日期",
  8033. "type": "string"
  8034. },
  8035. "spotcontractid": {
  8036. "description": "合同ID",
  8037. "type": "string"
  8038. },
  8039. "totaldqty": {
  8040. "description": "合同量",
  8041. "type": "number"
  8042. },
  8043. "unpricedqty": {
  8044. "description": "未定价量",
  8045. "type": "number"
  8046. },
  8047. "wrstandardname": {
  8048. "description": "商品名称",
  8049. "type": "string"
  8050. }
  8051. }
  8052. },
  8053. "erms3.QryPendingBizRsp": {
  8054. "type": "object",
  8055. "properties": {
  8056. "accountid": {
  8057. "description": "现货账户",
  8058. "type": "string"
  8059. },
  8060. "areaname": {
  8061. "description": "所属部门",
  8062. "type": "string"
  8063. },
  8064. "bizid": {
  8065. "description": "业务ID",
  8066. "type": "string"
  8067. },
  8068. "bizname": {
  8069. "description": "业务名称",
  8070. "type": "string"
  8071. },
  8072. "status": {
  8073. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  8074. "type": "integer"
  8075. },
  8076. "type": {
  8077. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  8078. "type": "integer"
  8079. }
  8080. }
  8081. },
  8082. "erms3.QueryBusinessInfoRsp": {
  8083. "type": "object",
  8084. "properties": {
  8085. "businessid": {
  8086. "description": "业务ID.",
  8087. "type": "integer"
  8088. },
  8089. "buyamount": {
  8090. "description": "采购额.",
  8091. "type": "number"
  8092. },
  8093. "buyqty": {
  8094. "description": "采购量.",
  8095. "type": "string"
  8096. },
  8097. "futurepl": {
  8098. "description": "期货盈亏.",
  8099. "type": "number"
  8100. },
  8101. "futureqty": {
  8102. "description": "期货敞口.",
  8103. "type": "string"
  8104. },
  8105. "goodsid": {
  8106. "description": "商品名称/商品代码.",
  8107. "type": "string"
  8108. },
  8109. "hedgingqty": {
  8110. "description": "套保量.",
  8111. "type": "string"
  8112. },
  8113. "sellamount": {
  8114. "description": "销售额.",
  8115. "type": "number"
  8116. },
  8117. "sellqty": {
  8118. "description": "销售量.",
  8119. "type": "string"
  8120. },
  8121. "spotmarketvalue": {
  8122. "description": "现货市值.",
  8123. "type": "number"
  8124. },
  8125. "spotpl": {
  8126. "description": "浮动权益.",
  8127. "type": "number"
  8128. },
  8129. "spotqty": {
  8130. "description": "现货量.",
  8131. "type": "string"
  8132. },
  8133. "statu": {
  8134. "description": "状态,0-未结束 1-已结束.",
  8135. "type": "integer"
  8136. },
  8137. "totalpl": {
  8138. "description": "总盈亏.",
  8139. "type": "number"
  8140. },
  8141. "totalqty": {
  8142. "description": "总敞口.",
  8143. "type": "string"
  8144. },
  8145. "type": {
  8146. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  8147. "type": "integer"
  8148. }
  8149. }
  8150. },
  8151. "erms3.QuerySpotContractAppleFormRsp": {
  8152. "type": "object",
  8153. "properties": {
  8154. "goodses": {
  8155. "description": "合约列表",
  8156. "type": "array",
  8157. "items": {
  8158. "$ref": "#/definitions/models.GoodsIDAndName"
  8159. }
  8160. },
  8161. "oppositeusers": {
  8162. "description": "对方账号列表",
  8163. "type": "array",
  8164. "items": {
  8165. "$ref": "#/definitions/erms3.CustomerInfo"
  8166. }
  8167. },
  8168. "ouruser": {
  8169. "description": "我方账号",
  8170. "$ref": "#/definitions/erms3.CustomerInfo"
  8171. },
  8172. "warehouseinfos": {
  8173. "description": "仓库信息列表",
  8174. "type": "array",
  8175. "items": {
  8176. "$ref": "#/definitions/models.Warehouseinfo"
  8177. }
  8178. },
  8179. "wrstandards": {
  8180. "description": "仓单标准列表",
  8181. "type": "array",
  8182. "items": {
  8183. "$ref": "#/definitions/models.WRStandardInfo"
  8184. }
  8185. }
  8186. }
  8187. },
  8188. "erms3.QuerySpotContractInfoRsp": {
  8189. "type": "object",
  8190. "properties": {
  8191. "accountid": {
  8192. "description": "表示交易员ID.",
  8193. "type": "integer"
  8194. },
  8195. "curdeliveryqty": {
  8196. "description": "表示未交收量.",
  8197. "type": "number"
  8198. },
  8199. "customername": {
  8200. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  8201. "type": "string"
  8202. },
  8203. "deliverygoodsid": {
  8204. "description": "表示品种ID.",
  8205. "type": "string"
  8206. },
  8207. "deliveryqty": {
  8208. "description": "表示交收量.",
  8209. "type": "number"
  8210. },
  8211. "matchaccountid": {
  8212. "description": "表示业务员ID.",
  8213. "type": "integer"
  8214. },
  8215. "matchcustomername": {
  8216. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  8217. "type": "string"
  8218. },
  8219. "priceqty": {
  8220. "description": "表示定价量.",
  8221. "type": "number"
  8222. },
  8223. "relatedbizid": {
  8224. "description": "表示业务ID.",
  8225. "type": "string"
  8226. },
  8227. "signdate": {
  8228. "description": "表示签订日期.",
  8229. "type": "string"
  8230. },
  8231. "spotcontractid": {
  8232. "description": "合同ID",
  8233. "type": "string"
  8234. },
  8235. "status": {
  8236. "description": "表示状态,0-履约中 1-已完成.",
  8237. "type": "integer"
  8238. },
  8239. "totalqty": {
  8240. "description": "表示合同量.",
  8241. "type": "number"
  8242. },
  8243. "unpricedqty": {
  8244. "description": "表示未定价量.",
  8245. "type": "number"
  8246. },
  8247. "wrstandardname": {
  8248. "description": "表示商品ID.",
  8249. "type": "string"
  8250. }
  8251. }
  8252. },
  8253. "erms3.QueryUserInfoAppliesRsp": {
  8254. "type": "object",
  8255. "required": [
  8256. "userid"
  8257. ],
  8258. "properties": {
  8259. "biznature": {
  8260. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  8261. "type": "integer"
  8262. },
  8263. "contactname": {
  8264. "description": "联系人",
  8265. "type": "string"
  8266. },
  8267. "createtime": {
  8268. "description": "开户申请时间",
  8269. "type": "string"
  8270. },
  8271. "userid": {
  8272. "description": "用户ID(自增ID)",
  8273. "type": "integer"
  8274. },
  8275. "userinfotype": {
  8276. "description": "用户信息类型 - 1:个人 2:企业",
  8277. "type": "integer"
  8278. },
  8279. "username": {
  8280. "description": "用户姓名",
  8281. "type": "string"
  8282. },
  8283. "userstate": {
  8284. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  8285. "type": "integer"
  8286. }
  8287. }
  8288. },
  8289. "erms3.QueryUserInfosRsp": {
  8290. "type": "object",
  8291. "required": [
  8292. "userid"
  8293. ],
  8294. "properties": {
  8295. "biznature": {
  8296. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  8297. "type": "integer"
  8298. },
  8299. "contactname": {
  8300. "description": "联系人",
  8301. "type": "string"
  8302. },
  8303. "customername": {
  8304. "description": "客户名称(企业名称)",
  8305. "type": "string"
  8306. },
  8307. "userid": {
  8308. "description": "用户ID",
  8309. "type": "integer"
  8310. },
  8311. "userinfotype": {
  8312. "description": "用户信息类型 - 1:个人 2:企业",
  8313. "type": "integer"
  8314. },
  8315. "userstatus": {
  8316. "description": "用户状态 - 1:正常 2:注销",
  8317. "type": "integer"
  8318. }
  8319. }
  8320. },
  8321. "erms3.SoptContractDetail": {
  8322. "type": "object",
  8323. "required": [
  8324. "deliverygoodsid",
  8325. "producttype",
  8326. "unitname",
  8327. "warehouseid",
  8328. "wrstandardid",
  8329. "wrstandardname"
  8330. ],
  8331. "properties": {
  8332. "deliverygoodsdesc": {
  8333. "description": "现货品种说明",
  8334. "type": "string"
  8335. },
  8336. "deliverygoodsid": {
  8337. "description": "现货品种ID",
  8338. "type": "integer"
  8339. },
  8340. "deliverygoodsname": {
  8341. "description": "现货品种名称",
  8342. "type": "string"
  8343. },
  8344. "pointdesc": {
  8345. "description": "点价描述",
  8346. "type": "string"
  8347. },
  8348. "producttype": {
  8349. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  8350. "type": "integer"
  8351. },
  8352. "producttypename": {
  8353. "description": "产品类型名称",
  8354. "type": "string"
  8355. },
  8356. "spotPointOrderVoList": {
  8357. "description": "点价列表",
  8358. "type": "array",
  8359. "items": {
  8360. "$ref": "#/definitions/erms3.SpotPointOrder"
  8361. }
  8362. },
  8363. "spotPriceOrderList": {
  8364. "description": "定价列表",
  8365. "type": "array",
  8366. "items": {
  8367. "$ref": "#/definitions/erms3.SpotPriceOrder"
  8368. }
  8369. },
  8370. "unitname": {
  8371. "description": "单位名称",
  8372. "type": "string"
  8373. },
  8374. "warehouseid": {
  8375. "description": "仓库ID",
  8376. "type": "integer"
  8377. },
  8378. "warehousename": {
  8379. "description": "仓库名称",
  8380. "type": "string"
  8381. },
  8382. "wrstandardid": {
  8383. "description": "交易标的ID",
  8384. "type": "integer"
  8385. },
  8386. "wrstandardname": {
  8387. "description": "交易标的名称",
  8388. "type": "string"
  8389. }
  8390. }
  8391. },
  8392. "erms3.SpotPointOrder": {
  8393. "type": "object",
  8394. "required": [
  8395. "basic",
  8396. "goodsid",
  8397. "qty"
  8398. ],
  8399. "properties": {
  8400. "basic": {
  8401. "description": "基差",
  8402. "type": "number"
  8403. },
  8404. "deliveryenddate": {
  8405. "description": "交收结束日期",
  8406. "type": "string"
  8407. },
  8408. "deliverystartdate": {
  8409. "description": "交收开始日期",
  8410. "type": "string"
  8411. },
  8412. "enddate": {
  8413. "description": "点价结束日期",
  8414. "type": "string"
  8415. },
  8416. "goodsid": {
  8417. "description": "商品ID",
  8418. "type": "integer"
  8419. },
  8420. "goodsname": {
  8421. "description": "商品名称",
  8422. "type": "string"
  8423. },
  8424. "qty": {
  8425. "description": "数量",
  8426. "type": "number"
  8427. },
  8428. "startdate": {
  8429. "description": "点价开始日期",
  8430. "type": "string"
  8431. }
  8432. }
  8433. },
  8434. "erms3.SpotPriceOrder": {
  8435. "type": "object",
  8436. "required": [
  8437. "amount",
  8438. "price",
  8439. "qty"
  8440. ],
  8441. "properties": {
  8442. "amount": {
  8443. "description": "金额",
  8444. "type": "number"
  8445. },
  8446. "deliveryenddate": {
  8447. "description": "交收结束日期",
  8448. "type": "string"
  8449. },
  8450. "deliverystartdate": {
  8451. "description": "交收开始日期",
  8452. "type": "string"
  8453. },
  8454. "price": {
  8455. "description": "价格",
  8456. "type": "number"
  8457. },
  8458. "qty": {
  8459. "description": "数量",
  8460. "type": "number"
  8461. }
  8462. }
  8463. },
  8464. "hsby.GetHsbyMyCountRsp": {
  8465. "type": "object",
  8466. "properties": {
  8467. "myCouponCount": {
  8468. "description": "我的优惠卷数量",
  8469. "type": "integer"
  8470. },
  8471. "myOrderDetailListingCount": {
  8472. "description": "我的订单求购中数量",
  8473. "type": "integer"
  8474. },
  8475. "myOrderDetailPreCount": {
  8476. "description": "我的订单抢购中数量",
  8477. "type": "integer"
  8478. },
  8479. "myPackageUnReceiveCount": {
  8480. "description": "我的包裹待收货数量",
  8481. "type": "integer"
  8482. },
  8483. "myPackageUnSendCount": {
  8484. "description": "我的包裹待发货数量",
  8485. "type": "integer"
  8486. },
  8487. "myPayOrderCount": {
  8488. "description": "我的订单待付款数量",
  8489. "type": "integer"
  8490. }
  8491. }
  8492. },
  8493. "hsby.QueryProvincesAndCitiesRsp": {
  8494. "type": "object",
  8495. "properties": {
  8496. "cities": {
  8497. "description": "市",
  8498. "type": "array",
  8499. "items": {
  8500. "$ref": "#/definitions/models.Division"
  8501. }
  8502. },
  8503. "province": {
  8504. "description": "省",
  8505. "$ref": "#/definitions/models.Division"
  8506. }
  8507. }
  8508. },
  8509. "models.Clientfixedadconfig": {
  8510. "type": "object",
  8511. "required": [
  8512. "adsort",
  8513. "adtype"
  8514. ],
  8515. "properties": {
  8516. "adsort": {
  8517. "description": "排序",
  8518. "type": "integer"
  8519. },
  8520. "adtype": {
  8521. "description": "广告位类型 - 1:新品抢购(HSBY)",
  8522. "type": "integer"
  8523. },
  8524. "areauserid": {
  8525. "description": "所属机构ID",
  8526. "type": "integer"
  8527. },
  8528. "createdate": {
  8529. "description": "创建时间",
  8530. "type": "string"
  8531. },
  8532. "creatorid": {
  8533. "description": "创建人",
  8534. "type": "integer"
  8535. },
  8536. "imagepath": {
  8537. "description": "图片",
  8538. "type": "string"
  8539. },
  8540. "isshow": {
  8541. "description": "是否展示 - 0:不展示 1:展示",
  8542. "type": "integer"
  8543. },
  8544. "modifierid": {
  8545. "description": "操作人",
  8546. "type": "integer"
  8547. },
  8548. "recsize": {
  8549. "description": "推荐尺寸",
  8550. "type": "string"
  8551. },
  8552. "title": {
  8553. "description": "标题",
  8554. "type": "string"
  8555. },
  8556. "updatedate": {
  8557. "description": "更新时间",
  8558. "type": "string"
  8559. },
  8560. "urlcontent": {
  8561. "description": "链接(地址或商品ID)",
  8562. "type": "string"
  8563. },
  8564. "urltype": {
  8565. "description": "链接类型 - 1:直接地址 2:商品ID",
  8566. "type": "integer"
  8567. }
  8568. }
  8569. },
  8570. "models.Division": {
  8571. "type": "object",
  8572. "required": [
  8573. "autoid",
  8574. "divisioncode"
  8575. ],
  8576. "properties": {
  8577. "autoid": {
  8578. "description": "自增ID",
  8579. "type": "integer"
  8580. },
  8581. "divisioncode": {
  8582. "description": "行政代码",
  8583. "type": "string"
  8584. },
  8585. "divisionlevel": {
  8586. "description": "行政级别",
  8587. "type": "string"
  8588. },
  8589. "divisionname": {
  8590. "description": "行政名称",
  8591. "type": "string"
  8592. },
  8593. "modifierid": {
  8594. "description": "修改人",
  8595. "type": "integer"
  8596. },
  8597. "modifytime": {
  8598. "description": "修改时间",
  8599. "type": "string"
  8600. },
  8601. "parentcode": {
  8602. "description": "上级行政代码",
  8603. "type": "string"
  8604. },
  8605. "pathname": {
  8606. "description": "路径名称",
  8607. "type": "string"
  8608. },
  8609. "postcode": {
  8610. "description": "邮政编码",
  8611. "type": "string"
  8612. },
  8613. "separablename": {
  8614. "description": "可拆分的全称",
  8615. "type": "string"
  8616. },
  8617. "shortcode": {
  8618. "description": "地区简码",
  8619. "type": "string"
  8620. }
  8621. }
  8622. },
  8623. "models.Enumdicitem": {
  8624. "type": "object",
  8625. "required": [
  8626. "autoid",
  8627. "enumdiccode",
  8628. "enumdicid",
  8629. "enumitemname"
  8630. ],
  8631. "properties": {
  8632. "autoid": {
  8633. "description": "自增ID",
  8634. "type": "integer"
  8635. },
  8636. "bankmappedvalue": {
  8637. "description": "银行服务对应值",
  8638. "type": "string"
  8639. },
  8640. "enumdiccode": {
  8641. "description": "所属枚举代码",
  8642. "type": "string"
  8643. },
  8644. "enumdicid": {
  8645. "description": "所属枚举ID",
  8646. "type": "integer"
  8647. },
  8648. "enumdicname": {
  8649. "description": "枚举项名称",
  8650. "type": "string"
  8651. },
  8652. "enumitemname": {
  8653. "description": "枚举项值",
  8654. "type": "integer"
  8655. },
  8656. "enumitemstatus": {
  8657. "description": "枚举项状态 - 1.启用 2.不启用",
  8658. "type": "integer"
  8659. },
  8660. "enumitemvalue": {
  8661. "description": "通用值 - [币种通用简写]",
  8662. "type": "string"
  8663. },
  8664. "param1": {
  8665. "description": "参数1[币种:币种小数位]",
  8666. "type": "string"
  8667. },
  8668. "param2": {
  8669. "description": "参数1[币种:币种显示单位]",
  8670. "type": "string"
  8671. },
  8672. "remark": {
  8673. "description": "备注",
  8674. "type": "string"
  8675. }
  8676. }
  8677. },
  8678. "models.GoodsIDAndName": {
  8679. "type": "object",
  8680. "required": [
  8681. "goodscode",
  8682. "goodsid",
  8683. "goodsname",
  8684. "marketid"
  8685. ],
  8686. "properties": {
  8687. "goodscode": {
  8688. "description": "商品代码(内部)",
  8689. "type": "string"
  8690. },
  8691. "goodsid": {
  8692. "description": "商品ID(自增ID SEQ_GOODS)",
  8693. "type": "integer"
  8694. },
  8695. "goodsname": {
  8696. "description": "商品名称",
  8697. "type": "string"
  8698. },
  8699. "marketid": {
  8700. "description": "所属市场ID",
  8701. "type": "integer"
  8702. }
  8703. }
  8704. },
  8705. "models.HsbyBuyMyPayOrder": {
  8706. "type": "object",
  8707. "required": [
  8708. "goodscode",
  8709. "goodsname",
  8710. "tradeid",
  8711. "trademode"
  8712. ],
  8713. "properties": {
  8714. "agreeunit": {
  8715. "description": "合约单位",
  8716. "type": "number"
  8717. },
  8718. "buyaccountid": {
  8719. "description": "买方账号ID[报价币种]",
  8720. "type": "integer"
  8721. },
  8722. "buyorderid": {
  8723. "description": "买方委托单号",
  8724. "type": "string"
  8725. },
  8726. "createtime": {
  8727. "description": "创建时间",
  8728. "type": "string"
  8729. },
  8730. "currencysign": {
  8731. "description": "货币符号",
  8732. "type": "string"
  8733. },
  8734. "decimalplace": {
  8735. "description": "报价小数位",
  8736. "type": "integer"
  8737. },
  8738. "goodscode": {
  8739. "description": "商品代码(内部)",
  8740. "type": "string"
  8741. },
  8742. "goodsid": {
  8743. "description": "商品ID",
  8744. "type": "integer"
  8745. },
  8746. "goodsname": {
  8747. "description": "商品名称",
  8748. "type": "string"
  8749. },
  8750. "marketid": {
  8751. "description": "市场ID",
  8752. "type": "integer"
  8753. },
  8754. "offamount": {
  8755. "description": "优惠金额",
  8756. "type": "number"
  8757. },
  8758. "payamount": {
  8759. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  8760. "type": "number"
  8761. },
  8762. "payflag": {
  8763. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8764. "type": "integer"
  8765. },
  8766. "paylimitedtime": {
  8767. "description": "支付期限",
  8768. "type": "string"
  8769. },
  8770. "paytime": {
  8771. "description": "付款时间",
  8772. "type": "string"
  8773. },
  8774. "picurls1": {
  8775. "description": "预售商品介绍图片[多张用逗号分隔]",
  8776. "type": "string"
  8777. },
  8778. "picurls2": {
  8779. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  8780. "type": "string"
  8781. },
  8782. "sellaccountid": {
  8783. "description": "卖方账号ID[报价币种]",
  8784. "type": "integer"
  8785. },
  8786. "sellorderid": {
  8787. "description": "卖方委托单号",
  8788. "type": "string"
  8789. },
  8790. "tradeamount": {
  8791. "description": "成交金额",
  8792. "type": "number"
  8793. },
  8794. "tradecharge": {
  8795. "description": "成交手续费(买方)",
  8796. "type": "number"
  8797. },
  8798. "tradedate": {
  8799. "description": "交易日(yyyyMMdd)",
  8800. "type": "string"
  8801. },
  8802. "tradeid": {
  8803. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8804. "type": "string"
  8805. },
  8806. "trademode": {
  8807. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8808. "type": "integer"
  8809. },
  8810. "tradeprice": {
  8811. "description": "成交价格",
  8812. "type": "number"
  8813. },
  8814. "tradeqty": {
  8815. "description": "成交数量",
  8816. "type": "integer"
  8817. },
  8818. "vendorname1": {
  8819. "description": "预售商品供应商名称",
  8820. "type": "string"
  8821. },
  8822. "vendorname2": {
  8823. "description": "挂牌商品供应商名称",
  8824. "type": "string"
  8825. }
  8826. }
  8827. },
  8828. "models.HsbyBuyMyTradeDetail": {
  8829. "type": "object",
  8830. "required": [
  8831. "accountid",
  8832. "buyorsell",
  8833. "goodscode",
  8834. "goodsid",
  8835. "goodsname",
  8836. "marketid",
  8837. "orderid",
  8838. "qty",
  8839. "time",
  8840. "trademode"
  8841. ],
  8842. "properties": {
  8843. "accountid": {
  8844. "description": "账户ID[报价币种]",
  8845. "type": "integer"
  8846. },
  8847. "agreeunit": {
  8848. "description": "合约单位",
  8849. "type": "number"
  8850. },
  8851. "amount": {
  8852. "description": "金额 = 价格 * 数量 * 合约单位",
  8853. "type": "number"
  8854. },
  8855. "buyorsell": {
  8856. "description": "买卖 - 0:买 1:卖",
  8857. "type": "integer"
  8858. },
  8859. "currencysign": {
  8860. "description": "货币符号",
  8861. "type": "string"
  8862. },
  8863. "decimalplace": {
  8864. "description": "报价小数位",
  8865. "type": "integer"
  8866. },
  8867. "goodscode": {
  8868. "description": "商品代码(内部)",
  8869. "type": "string"
  8870. },
  8871. "goodsid": {
  8872. "description": "商品ID",
  8873. "type": "integer"
  8874. },
  8875. "goodsname": {
  8876. "description": "商品名称",
  8877. "type": "string"
  8878. },
  8879. "marketid": {
  8880. "description": "市场ID",
  8881. "type": "integer"
  8882. },
  8883. "orderid": {
  8884. "description": "单号(成交单号)",
  8885. "type": "string"
  8886. },
  8887. "picurls1": {
  8888. "description": "预售商品介绍图片[多张用逗号分隔]",
  8889. "type": "string"
  8890. },
  8891. "picurls2": {
  8892. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  8893. "type": "string"
  8894. },
  8895. "price": {
  8896. "description": "价格",
  8897. "type": "number"
  8898. },
  8899. "qty": {
  8900. "description": "数量",
  8901. "type": "integer"
  8902. },
  8903. "time": {
  8904. "description": "时间",
  8905. "type": "string"
  8906. },
  8907. "trademode": {
  8908. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8909. "type": "integer"
  8910. },
  8911. "vendorname1": {
  8912. "description": "预售商品供应商名称",
  8913. "type": "string"
  8914. },
  8915. "vendorname2": {
  8916. "description": "挂牌商品供应商名称",
  8917. "type": "string"
  8918. }
  8919. }
  8920. },
  8921. "models.HsbyGoodsOrderDetail": {
  8922. "type": "object",
  8923. "required": [
  8924. "buyorsell",
  8925. "orderid",
  8926. "ordertime"
  8927. ],
  8928. "properties": {
  8929. "buyorsell": {
  8930. "description": "买卖 - 0:买 1:卖",
  8931. "type": "integer"
  8932. },
  8933. "currencysign": {
  8934. "description": "货币符号",
  8935. "type": "string"
  8936. },
  8937. "customername": {
  8938. "description": "客户名称(企业名称),已脱敏",
  8939. "type": "string"
  8940. },
  8941. "enableqty": {
  8942. "description": "可用数量",
  8943. "type": "integer"
  8944. },
  8945. "goodunit": {
  8946. "description": "报价单位",
  8947. "type": "string"
  8948. },
  8949. "orderid": {
  8950. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8951. "type": "string"
  8952. },
  8953. "orderprice": {
  8954. "description": "委托价格",
  8955. "type": "number"
  8956. },
  8957. "ordertime": {
  8958. "description": "委托时间",
  8959. "type": "string"
  8960. }
  8961. }
  8962. },
  8963. "models.HsbyListingGoodsDetail": {
  8964. "type": "object",
  8965. "required": [
  8966. "goodscode",
  8967. "goodsid",
  8968. "goodsname",
  8969. "marketid",
  8970. "trademode"
  8971. ],
  8972. "properties": {
  8973. "agreeunit": {
  8974. "description": "合约单位",
  8975. "type": "number"
  8976. },
  8977. "buymaxqty": {
  8978. "description": "购买上限 [71] - 0为不限",
  8979. "type": "integer"
  8980. },
  8981. "currency": {
  8982. "description": "货币",
  8983. "type": "string"
  8984. },
  8985. "currencysign": {
  8986. "description": "货币符号",
  8987. "type": "string"
  8988. },
  8989. "decimalplace": {
  8990. "description": "报价小数位",
  8991. "type": "integer"
  8992. },
  8993. "desccityid": {
  8994. "description": "目的地(市)ID",
  8995. "type": "integer"
  8996. },
  8997. "descprovinceid": {
  8998. "description": "目的地(省)ID",
  8999. "type": "integer"
  9000. },
  9001. "goodscode": {
  9002. "description": "商品代码(内部)",
  9003. "type": "string"
  9004. },
  9005. "goodsdesc": {
  9006. "description": "商品详情",
  9007. "type": "string"
  9008. },
  9009. "goodsid": {
  9010. "description": "商品ID(自增ID SEQ_GOODS)",
  9011. "type": "integer"
  9012. },
  9013. "goodsname": {
  9014. "description": "商品名称",
  9015. "type": "string"
  9016. },
  9017. "goodsprice": {
  9018. "description": "商品价格",
  9019. "type": "number"
  9020. },
  9021. "hotindex": {
  9022. "description": "景点热度",
  9023. "type": "integer"
  9024. },
  9025. "last": {
  9026. "description": "现价",
  9027. "type": "number"
  9028. },
  9029. "limitdown": {
  9030. "description": "跌停价",
  9031. "type": "number"
  9032. },
  9033. "limitup": {
  9034. "description": "涨停价",
  9035. "type": "number"
  9036. },
  9037. "lotsize": {
  9038. "description": "手数最小变动单位",
  9039. "type": "integer"
  9040. },
  9041. "marketid": {
  9042. "description": "所属市场ID",
  9043. "type": "integer"
  9044. },
  9045. "picurls": {
  9046. "description": "介绍图片[多张用逗号分隔]",
  9047. "type": "string"
  9048. },
  9049. "quoteminunit": {
  9050. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9051. "type": "integer"
  9052. },
  9053. "stepvalue": {
  9054. "description": "价格最小变动单位",
  9055. "type": "number"
  9056. },
  9057. "trademode": {
  9058. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9059. "type": "integer"
  9060. },
  9061. "vendorattr": {
  9062. "description": "供应商附件(多张,逗号分隔)",
  9063. "type": "string"
  9064. },
  9065. "vendorname": {
  9066. "description": "供应商名称",
  9067. "type": "string"
  9068. },
  9069. "vendorphone": {
  9070. "description": "供应商客服电话",
  9071. "type": "string"
  9072. },
  9073. "videourls": {
  9074. "description": "介绍视频[多张用逗号分隔]",
  9075. "type": "string"
  9076. }
  9077. }
  9078. },
  9079. "models.HsbyMarketGoods": {
  9080. "type": "object",
  9081. "required": [
  9082. "accountid",
  9083. "buyorsell",
  9084. "goodscode",
  9085. "goodsid",
  9086. "goodsname",
  9087. "marketid",
  9088. "orderid",
  9089. "trademode"
  9090. ],
  9091. "properties": {
  9092. "accountid": {
  9093. "description": "账户ID[报价币种]",
  9094. "type": "integer"
  9095. },
  9096. "agreeunit": {
  9097. "description": "合约单位",
  9098. "type": "number"
  9099. },
  9100. "buyorsell": {
  9101. "description": "买卖 - 0:买 1:卖",
  9102. "type": "integer"
  9103. },
  9104. "categoryid": {
  9105. "description": "类别ID(WRCATEGORY)",
  9106. "type": "integer"
  9107. },
  9108. "currency": {
  9109. "description": "货币",
  9110. "type": "string"
  9111. },
  9112. "currencysign": {
  9113. "description": "货币符号",
  9114. "type": "string"
  9115. },
  9116. "customername": {
  9117. "description": "卖家名称",
  9118. "type": "string"
  9119. },
  9120. "decimalplace": {
  9121. "description": "报价小数位",
  9122. "type": "integer"
  9123. },
  9124. "goodscode": {
  9125. "description": "商品代码(内部)",
  9126. "type": "string"
  9127. },
  9128. "goodsid": {
  9129. "description": "商品ID",
  9130. "type": "integer"
  9131. },
  9132. "goodsname": {
  9133. "description": "商品名称",
  9134. "type": "string"
  9135. },
  9136. "goodsprice": {
  9137. "description": "商品价格",
  9138. "type": "number"
  9139. },
  9140. "hascoupon": {
  9141. "description": "是否可用优惠卷",
  9142. "type": "boolean"
  9143. },
  9144. "hotindex": {
  9145. "description": "景点热度",
  9146. "type": "integer"
  9147. },
  9148. "marketid": {
  9149. "description": "市场ID",
  9150. "type": "integer"
  9151. },
  9152. "orderid": {
  9153. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9154. "type": "string"
  9155. },
  9156. "orderprice": {
  9157. "description": "委托价格",
  9158. "type": "number"
  9159. },
  9160. "orderstatus": {
  9161. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9162. "type": "integer"
  9163. },
  9164. "picurls": {
  9165. "description": "介绍图片[多张用逗号分隔]",
  9166. "type": "string"
  9167. },
  9168. "quoteminunit": {
  9169. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9170. "type": "integer"
  9171. },
  9172. "sellUserID": {
  9173. "description": "卖方UserID",
  9174. "type": "integer"
  9175. },
  9176. "trademode": {
  9177. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9178. "type": "integer"
  9179. },
  9180. "videourls": {
  9181. "description": "介绍视频[多张用逗号分隔]",
  9182. "type": "string"
  9183. }
  9184. }
  9185. },
  9186. "models.HsbyMarketGoodsDetail": {
  9187. "type": "object",
  9188. "required": [
  9189. "accountid",
  9190. "buyorsell",
  9191. "goodscode",
  9192. "goodsid",
  9193. "goodsname",
  9194. "marketid",
  9195. "orderid",
  9196. "orderqty",
  9197. "trademode"
  9198. ],
  9199. "properties": {
  9200. "accountid": {
  9201. "description": "账户ID[报价币种]",
  9202. "type": "integer"
  9203. },
  9204. "agreeunit": {
  9205. "description": "合约单位",
  9206. "type": "number"
  9207. },
  9208. "buymaxqty": {
  9209. "description": "购买上限 [71] - 0为不限",
  9210. "type": "integer"
  9211. },
  9212. "buyorsell": {
  9213. "description": "买卖 - 0:买 1:卖",
  9214. "type": "integer"
  9215. },
  9216. "cancelqty": {
  9217. "description": "撤单数量",
  9218. "type": "integer"
  9219. },
  9220. "categoryid": {
  9221. "description": "类别ID(WRCATEGORY)",
  9222. "type": "integer"
  9223. },
  9224. "currency": {
  9225. "description": "货币",
  9226. "type": "string"
  9227. },
  9228. "currencysign": {
  9229. "description": "货币符号",
  9230. "type": "string"
  9231. },
  9232. "customername": {
  9233. "description": "卖家名称",
  9234. "type": "string"
  9235. },
  9236. "decimalplace": {
  9237. "description": "报价小数位",
  9238. "type": "integer"
  9239. },
  9240. "goodscode": {
  9241. "description": "商品代码(内部)",
  9242. "type": "string"
  9243. },
  9244. "goodsdesc": {
  9245. "description": "商品详情",
  9246. "type": "string"
  9247. },
  9248. "goodsid": {
  9249. "description": "商品ID",
  9250. "type": "integer"
  9251. },
  9252. "goodsname": {
  9253. "description": "商品名称",
  9254. "type": "string"
  9255. },
  9256. "goodsprice": {
  9257. "description": "商品价格",
  9258. "type": "number"
  9259. },
  9260. "hotindex": {
  9261. "description": "景点热度",
  9262. "type": "integer"
  9263. },
  9264. "lotsize": {
  9265. "description": "手数最小变动单位",
  9266. "type": "integer"
  9267. },
  9268. "marketid": {
  9269. "description": "市场ID",
  9270. "type": "integer"
  9271. },
  9272. "orderid": {
  9273. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9274. "type": "string"
  9275. },
  9276. "orderprice": {
  9277. "description": "委托价格",
  9278. "type": "number"
  9279. },
  9280. "orderqty": {
  9281. "description": "委托数量",
  9282. "type": "integer"
  9283. },
  9284. "orderstatus": {
  9285. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9286. "type": "integer"
  9287. },
  9288. "picurls": {
  9289. "description": "介绍图片[多张用逗号分隔]",
  9290. "type": "string"
  9291. },
  9292. "quoteminunit": {
  9293. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9294. "type": "integer"
  9295. },
  9296. "sellUserID": {
  9297. "description": "卖方UserID",
  9298. "type": "integer"
  9299. },
  9300. "trademode": {
  9301. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9302. "type": "integer"
  9303. },
  9304. "tradeqty": {
  9305. "description": "成交数量",
  9306. "type": "integer"
  9307. },
  9308. "vendorattr": {
  9309. "description": "供应商附件(多张,逗号分隔)",
  9310. "type": "string"
  9311. },
  9312. "vendorname": {
  9313. "description": "供应商名称",
  9314. "type": "string"
  9315. },
  9316. "vendorphone": {
  9317. "description": "供应商客服电话",
  9318. "type": "string"
  9319. },
  9320. "videourls": {
  9321. "description": "介绍视频[多张用逗号分隔]",
  9322. "type": "string"
  9323. }
  9324. }
  9325. },
  9326. "models.HsbyMarketInfo": {
  9327. "type": "object",
  9328. "required": [
  9329. "marketid",
  9330. "marketstatus",
  9331. "trademode"
  9332. ],
  9333. "properties": {
  9334. "marketid": {
  9335. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  9336. "type": "integer"
  9337. },
  9338. "marketname": {
  9339. "description": "市场名称",
  9340. "type": "string"
  9341. },
  9342. "marketstatus": {
  9343. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  9344. "type": "integer"
  9345. },
  9346. "trademode": {
  9347. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9348. "type": "integer"
  9349. }
  9350. }
  9351. },
  9352. "models.HsbyMyGoods": {
  9353. "type": "object",
  9354. "required": [
  9355. "accountid",
  9356. "goodscode",
  9357. "goodsid",
  9358. "goodsname",
  9359. "marketid",
  9360. "trademode"
  9361. ],
  9362. "properties": {
  9363. "accountid": {
  9364. "description": "账号Id",
  9365. "type": "integer"
  9366. },
  9367. "agreeunit": {
  9368. "description": "合约单位",
  9369. "type": "number"
  9370. },
  9371. "buyaverageprice": {
  9372. "description": "持仓均价",
  9373. "type": "number"
  9374. },
  9375. "buycurholderamount": {
  9376. "description": "买当前持仓总金额[商品币种]",
  9377. "type": "number"
  9378. },
  9379. "buycurpositionqty": {
  9380. "description": "买当前持仓总数量",
  9381. "type": "integer"
  9382. },
  9383. "buymaxqty": {
  9384. "description": "购买上限 [71] - 0为不限",
  9385. "type": "integer"
  9386. },
  9387. "currencysign": {
  9388. "description": "货币符号",
  9389. "type": "string"
  9390. },
  9391. "decimalplace": {
  9392. "description": "报价小数位",
  9393. "type": "integer"
  9394. },
  9395. "enableqty": {
  9396. "description": "可用数量",
  9397. "type": "integer"
  9398. },
  9399. "goodscode": {
  9400. "description": "商品代码(内部)",
  9401. "type": "string"
  9402. },
  9403. "goodsid": {
  9404. "description": "商品Id",
  9405. "type": "integer"
  9406. },
  9407. "goodsname": {
  9408. "description": "商品名称",
  9409. "type": "string"
  9410. },
  9411. "goodsprice": {
  9412. "description": "商品价格",
  9413. "type": "number"
  9414. },
  9415. "goodsstatus": {
  9416. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  9417. "type": "integer"
  9418. },
  9419. "last": {
  9420. "description": "现价(仅使用于挂牌点选)",
  9421. "type": "number"
  9422. },
  9423. "limitdown": {
  9424. "description": "跌停价(仅使用于挂牌点选)",
  9425. "type": "number"
  9426. },
  9427. "limitup": {
  9428. "description": "涨停价(仅使用于挂牌点选)",
  9429. "type": "number"
  9430. },
  9431. "lotsize": {
  9432. "description": "手数最小变动单位",
  9433. "type": "integer"
  9434. },
  9435. "marketid": {
  9436. "description": "所属市场ID",
  9437. "type": "integer"
  9438. },
  9439. "picurls": {
  9440. "description": "介绍图片[多张用逗号分隔]",
  9441. "type": "string"
  9442. },
  9443. "quoteminunit": {
  9444. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9445. "type": "integer"
  9446. },
  9447. "stepvalue": {
  9448. "description": "价格最小变动单位",
  9449. "type": "number"
  9450. },
  9451. "trademode": {
  9452. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9453. "type": "integer"
  9454. }
  9455. }
  9456. },
  9457. "models.HsbyMyPackage": {
  9458. "type": "object",
  9459. "required": [
  9460. "goodscode",
  9461. "goodsname",
  9462. "takeorderid"
  9463. ],
  9464. "properties": {
  9465. "accountid": {
  9466. "description": "账户ID",
  9467. "type": "integer"
  9468. },
  9469. "address": {
  9470. "description": "提货人详细地址",
  9471. "type": "string"
  9472. },
  9473. "agreeunit": {
  9474. "description": "合约单位",
  9475. "type": "number"
  9476. },
  9477. "amount": {
  9478. "description": "提货金额",
  9479. "type": "number"
  9480. },
  9481. "auditer": {
  9482. "description": "审核人",
  9483. "type": "integer"
  9484. },
  9485. "audittime": {
  9486. "description": "审核时间",
  9487. "type": "string"
  9488. },
  9489. "averageprice": {
  9490. "description": "均价",
  9491. "type": "number"
  9492. },
  9493. "cardnum": {
  9494. "description": "提货人证件号码",
  9495. "type": "string"
  9496. },
  9497. "cardtypeid": {
  9498. "description": "提货人证件类型",
  9499. "type": "integer"
  9500. },
  9501. "checkremark": {
  9502. "description": "审核备注",
  9503. "type": "string"
  9504. },
  9505. "currencysign": {
  9506. "description": "货币符号",
  9507. "type": "string"
  9508. },
  9509. "decimalplace": {
  9510. "description": "报价小数位",
  9511. "type": "integer"
  9512. },
  9513. "goodscode": {
  9514. "description": "商品代码(内部)",
  9515. "type": "string"
  9516. },
  9517. "goodsid": {
  9518. "description": "商品ID",
  9519. "type": "integer"
  9520. },
  9521. "goodsname": {
  9522. "description": "商品名称",
  9523. "type": "string"
  9524. },
  9525. "handlestatus": {
  9526. "description": "处理状态",
  9527. "type": "integer"
  9528. },
  9529. "marketid": {
  9530. "description": "市场ID",
  9531. "type": "integer"
  9532. },
  9533. "phonenum": {
  9534. "description": "提货人联系方式",
  9535. "type": "string"
  9536. },
  9537. "picurls": {
  9538. "description": "介绍图片[多张用逗号分隔]",
  9539. "type": "string"
  9540. },
  9541. "qty": {
  9542. "description": "提货数量",
  9543. "type": "number"
  9544. },
  9545. "recivername": {
  9546. "description": "提货人姓名",
  9547. "type": "string"
  9548. },
  9549. "reqtime": {
  9550. "description": "更新时间",
  9551. "type": "string"
  9552. },
  9553. "takemode": {
  9554. "description": "提货方式 - 2:自提 3:配送",
  9555. "type": "integer"
  9556. },
  9557. "takeorderid": {
  9558. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  9559. "type": "string"
  9560. },
  9561. "takeorderstatus": {
  9562. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  9563. "type": "integer"
  9564. },
  9565. "takeremark": {
  9566. "description": "提货备注",
  9567. "type": "string"
  9568. },
  9569. "tradedate": {
  9570. "description": "交易日(yyyyMMdd)",
  9571. "type": "string"
  9572. },
  9573. "userid": {
  9574. "description": "用户ID",
  9575. "type": "integer"
  9576. },
  9577. "vendorname": {
  9578. "description": "供应商名称",
  9579. "type": "string"
  9580. }
  9581. }
  9582. },
  9583. "models.HsbyPreGoods": {
  9584. "type": "object",
  9585. "required": [
  9586. "goodscode",
  9587. "goodsid",
  9588. "goodsname",
  9589. "marketid",
  9590. "trademode"
  9591. ],
  9592. "properties": {
  9593. "agreeunit": {
  9594. "description": "合约单位",
  9595. "type": "number"
  9596. },
  9597. "currency": {
  9598. "description": "货币",
  9599. "type": "string"
  9600. },
  9601. "currencysign": {
  9602. "description": "货币符号",
  9603. "type": "string"
  9604. },
  9605. "decimalplace": {
  9606. "description": "报价小数位",
  9607. "type": "integer"
  9608. },
  9609. "enableqty": {
  9610. "description": "剩余数量",
  9611. "type": "integer"
  9612. },
  9613. "goodscode": {
  9614. "description": "商品代码(内部)",
  9615. "type": "string"
  9616. },
  9617. "goodsid": {
  9618. "description": "商品ID(自增ID SEQ_GOODS)",
  9619. "type": "integer"
  9620. },
  9621. "goodsname": {
  9622. "description": "商品名称",
  9623. "type": "string"
  9624. },
  9625. "goodsstatus": {
  9626. "description": "商品状态- 2:未上市 3:上市",
  9627. "type": "integer"
  9628. },
  9629. "lasttradedate": {
  9630. "description": "最后交易日期(状态:待退市)",
  9631. "type": "string"
  9632. },
  9633. "listingdate": {
  9634. "description": "交易开始日期",
  9635. "type": "string"
  9636. },
  9637. "marketid": {
  9638. "description": "所属市场ID",
  9639. "type": "integer"
  9640. },
  9641. "picurls": {
  9642. "description": "介绍图片[多张用逗号分隔]",
  9643. "type": "string"
  9644. },
  9645. "presaledqty": {
  9646. "description": "已预售量(预售结束时更新)",
  9647. "type": "integer"
  9648. },
  9649. "presaleqty": {
  9650. "description": "预售数量",
  9651. "type": "integer"
  9652. },
  9653. "quoteminunit": {
  9654. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9655. "type": "integer"
  9656. },
  9657. "refprice": {
  9658. "description": "参考价格[一口价]",
  9659. "type": "number"
  9660. },
  9661. "relatedgoodsid": {
  9662. "description": "关联交易合约ID",
  9663. "type": "integer"
  9664. },
  9665. "trademode": {
  9666. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9667. "type": "integer"
  9668. },
  9669. "videourls": {
  9670. "description": "介绍视频[多张用逗号分隔]",
  9671. "type": "string"
  9672. }
  9673. }
  9674. },
  9675. "models.HsbyPreGoodsDetail": {
  9676. "type": "object",
  9677. "required": [
  9678. "goodscode",
  9679. "goodsid",
  9680. "goodsname",
  9681. "marketid",
  9682. "trademode"
  9683. ],
  9684. "properties": {
  9685. "agreeunit": {
  9686. "description": "合约单位",
  9687. "type": "number"
  9688. },
  9689. "buymaxqty": {
  9690. "description": "购买上限 [71] - 0为不限",
  9691. "type": "integer"
  9692. },
  9693. "currency": {
  9694. "description": "货币",
  9695. "type": "string"
  9696. },
  9697. "currencysign": {
  9698. "description": "货币符号",
  9699. "type": "string"
  9700. },
  9701. "customername": {
  9702. "description": "发行单位",
  9703. "type": "string"
  9704. },
  9705. "decimalplace": {
  9706. "description": "报价小数位",
  9707. "type": "integer"
  9708. },
  9709. "desccityid": {
  9710. "description": "目的地(市)ID",
  9711. "type": "integer"
  9712. },
  9713. "descprovinceid": {
  9714. "description": "目的地(省)ID",
  9715. "type": "integer"
  9716. },
  9717. "enableqty": {
  9718. "description": "剩余数量",
  9719. "type": "integer"
  9720. },
  9721. "goodscode": {
  9722. "description": "商品代码(内部)",
  9723. "type": "string"
  9724. },
  9725. "goodsdesc": {
  9726. "description": "商品详情",
  9727. "type": "string"
  9728. },
  9729. "goodsid": {
  9730. "description": "商品ID(自增ID SEQ_GOODS)",
  9731. "type": "integer"
  9732. },
  9733. "goodsname": {
  9734. "description": "商品名称",
  9735. "type": "string"
  9736. },
  9737. "goodsstatus": {
  9738. "description": "商品状态- 2:未上市 3:上市",
  9739. "type": "integer"
  9740. },
  9741. "goodunit": {
  9742. "description": "报价单位",
  9743. "type": "string"
  9744. },
  9745. "lasttradedate": {
  9746. "description": "最后交易日期(状态:待退市)",
  9747. "type": "string"
  9748. },
  9749. "listingdate": {
  9750. "description": "交易开始日期",
  9751. "type": "string"
  9752. },
  9753. "lotsize": {
  9754. "description": "手数最小变动单位",
  9755. "type": "integer"
  9756. },
  9757. "marketid": {
  9758. "description": "所属市场ID",
  9759. "type": "integer"
  9760. },
  9761. "picurls": {
  9762. "description": "介绍图片[多张用逗号分隔]",
  9763. "type": "string"
  9764. },
  9765. "presaledqty": {
  9766. "description": "已预售量(预售结束时更新)",
  9767. "type": "integer"
  9768. },
  9769. "presaleqty": {
  9770. "description": "预售数量",
  9771. "type": "integer"
  9772. },
  9773. "quoteminunit": {
  9774. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9775. "type": "integer"
  9776. },
  9777. "refprice": {
  9778. "description": "参考价格[一口价]",
  9779. "type": "number"
  9780. },
  9781. "relatedgoodsid": {
  9782. "description": "关联交易合约ID",
  9783. "type": "integer"
  9784. },
  9785. "stepvalue": {
  9786. "description": "价格最小变动单位",
  9787. "type": "number"
  9788. },
  9789. "trademode": {
  9790. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9791. "type": "integer"
  9792. },
  9793. "vendorattr": {
  9794. "description": "供应商附件(多张,逗号分隔)",
  9795. "type": "string"
  9796. },
  9797. "vendorname": {
  9798. "description": "供应商名称",
  9799. "type": "string"
  9800. },
  9801. "vendorphone": {
  9802. "description": "供应商客服电话",
  9803. "type": "string"
  9804. },
  9805. "videourls": {
  9806. "description": "介绍视频[多张用逗号分隔]",
  9807. "type": "string"
  9808. }
  9809. }
  9810. },
  9811. "models.HsbySellCollectionOrder": {
  9812. "type": "object",
  9813. "required": [
  9814. "goodscode",
  9815. "goodsname",
  9816. "tradeid",
  9817. "trademode"
  9818. ],
  9819. "properties": {
  9820. "agreeunit": {
  9821. "description": "合约单位",
  9822. "type": "number"
  9823. },
  9824. "buyaccountid": {
  9825. "description": "买方账号ID[报价币种]",
  9826. "type": "integer"
  9827. },
  9828. "buyorderid": {
  9829. "description": "买方委托单号",
  9830. "type": "string"
  9831. },
  9832. "createtime": {
  9833. "description": "创建时间",
  9834. "type": "string"
  9835. },
  9836. "currencysign": {
  9837. "description": "货币符号",
  9838. "type": "string"
  9839. },
  9840. "decimalplace": {
  9841. "description": "报价小数位",
  9842. "type": "integer"
  9843. },
  9844. "goodscode": {
  9845. "description": "商品代码(内部)",
  9846. "type": "string"
  9847. },
  9848. "goodsid": {
  9849. "description": "商品ID",
  9850. "type": "integer"
  9851. },
  9852. "goodsname": {
  9853. "description": "商品名称",
  9854. "type": "string"
  9855. },
  9856. "marketid": {
  9857. "description": "市场ID",
  9858. "type": "integer"
  9859. },
  9860. "offamount": {
  9861. "description": "优惠金额",
  9862. "type": "number"
  9863. },
  9864. "payamount": {
  9865. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  9866. "type": "number"
  9867. },
  9868. "payflag": {
  9869. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9870. "type": "integer"
  9871. },
  9872. "paylimitedtime": {
  9873. "description": "支付期限",
  9874. "type": "string"
  9875. },
  9876. "paytime": {
  9877. "description": "付款时间",
  9878. "type": "string"
  9879. },
  9880. "picurls": {
  9881. "description": "商品介绍图片[多张用逗号分隔]",
  9882. "type": "string"
  9883. },
  9884. "sellaccountid": {
  9885. "description": "卖方账号ID[报价币种]",
  9886. "type": "integer"
  9887. },
  9888. "sellorderid": {
  9889. "description": "卖方委托单号",
  9890. "type": "string"
  9891. },
  9892. "tradeamount": {
  9893. "description": "成交金额",
  9894. "type": "number"
  9895. },
  9896. "tradecharge": {
  9897. "description": "成交手续费(买方)",
  9898. "type": "number"
  9899. },
  9900. "tradedate": {
  9901. "description": "交易日(yyyyMMdd)",
  9902. "type": "string"
  9903. },
  9904. "tradeid": {
  9905. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9906. "type": "string"
  9907. },
  9908. "trademode": {
  9909. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9910. "type": "integer"
  9911. },
  9912. "tradeprice": {
  9913. "description": "成交价格",
  9914. "type": "number"
  9915. },
  9916. "tradeqty": {
  9917. "description": "成交数量",
  9918. "type": "integer"
  9919. }
  9920. }
  9921. },
  9922. "models.HsbySellMyDetail": {
  9923. "type": "object",
  9924. "required": [
  9925. "accountid",
  9926. "buyorsell",
  9927. "goodscode",
  9928. "goodsid",
  9929. "goodsname",
  9930. "marketid",
  9931. "orderid",
  9932. "time",
  9933. "trademode"
  9934. ],
  9935. "properties": {
  9936. "accountid": {
  9937. "description": "账户ID[报价币种]",
  9938. "type": "integer"
  9939. },
  9940. "agreeunit": {
  9941. "description": "合约单位",
  9942. "type": "number"
  9943. },
  9944. "buyorsell": {
  9945. "description": "买卖 - 0:买 1:卖",
  9946. "type": "integer"
  9947. },
  9948. "currencysign": {
  9949. "description": "货币符号",
  9950. "type": "string"
  9951. },
  9952. "decimalplace": {
  9953. "description": "报价小数位",
  9954. "type": "integer"
  9955. },
  9956. "goodscode": {
  9957. "description": "商品代码(内部)",
  9958. "type": "string"
  9959. },
  9960. "goodsid": {
  9961. "description": "商品ID",
  9962. "type": "integer"
  9963. },
  9964. "goodsname": {
  9965. "description": "商品名称",
  9966. "type": "string"
  9967. },
  9968. "marketid": {
  9969. "description": "市场ID",
  9970. "type": "integer"
  9971. },
  9972. "orderid": {
  9973. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  9974. "type": "string"
  9975. },
  9976. "ordertype": {
  9977. "description": "单据类型:0 - 发布中, 1 - 已完成",
  9978. "type": "integer"
  9979. },
  9980. "picurls": {
  9981. "description": "介绍图片[多张用逗号分隔]",
  9982. "type": "string"
  9983. },
  9984. "price": {
  9985. "description": "价格",
  9986. "type": "number"
  9987. },
  9988. "qty": {
  9989. "description": "数量",
  9990. "type": "integer"
  9991. },
  9992. "time": {
  9993. "description": "时间",
  9994. "type": "string"
  9995. },
  9996. "trademode": {
  9997. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9998. "type": "integer"
  9999. },
  10000. "vendorname": {
  10001. "description": "供应商名称",
  10002. "type": "string"
  10003. }
  10004. }
  10005. },
  10006. "models.HsbyTopGoods": {
  10007. "type": "object",
  10008. "required": [
  10009. "goodscode",
  10010. "goodsid",
  10011. "goodsname",
  10012. "marketid",
  10013. "trademode"
  10014. ],
  10015. "properties": {
  10016. "agreeunit": {
  10017. "description": "合约单位",
  10018. "type": "number"
  10019. },
  10020. "currency": {
  10021. "description": "货币",
  10022. "type": "string"
  10023. },
  10024. "currencysign": {
  10025. "description": "货币符号",
  10026. "type": "string"
  10027. },
  10028. "decimalplace": {
  10029. "description": "报价小数位",
  10030. "type": "integer"
  10031. },
  10032. "goodscode": {
  10033. "description": "商品代码(内部)",
  10034. "type": "string"
  10035. },
  10036. "goodsid": {
  10037. "description": "商品ID(自增ID SEQ_GOODS)",
  10038. "type": "integer"
  10039. },
  10040. "goodsname": {
  10041. "description": "商品名称",
  10042. "type": "string"
  10043. },
  10044. "hotindex": {
  10045. "description": "景点热度",
  10046. "type": "integer"
  10047. },
  10048. "last": {
  10049. "description": "现价",
  10050. "type": "number"
  10051. },
  10052. "marketid": {
  10053. "description": "所属市场ID",
  10054. "type": "integer"
  10055. },
  10056. "picurls": {
  10057. "description": "介绍图片[多张用逗号分隔]",
  10058. "type": "string"
  10059. },
  10060. "quoteminunit": {
  10061. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10062. "type": "integer"
  10063. },
  10064. "trademode": {
  10065. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10066. "type": "integer"
  10067. },
  10068. "videourls": {
  10069. "description": "介绍视频[多张用逗号分隔]",
  10070. "type": "string"
  10071. }
  10072. }
  10073. },
  10074. "models.HybsMyBuyOrderDetail": {
  10075. "type": "object",
  10076. "required": [
  10077. "accountid",
  10078. "buyorsell",
  10079. "goodscode",
  10080. "goodsid",
  10081. "goodsname",
  10082. "marketid",
  10083. "orderid",
  10084. "orderqty",
  10085. "ordertime",
  10086. "trademode"
  10087. ],
  10088. "properties": {
  10089. "accountid": {
  10090. "description": "账户ID[报价币种]",
  10091. "type": "integer"
  10092. },
  10093. "agreeunit": {
  10094. "description": "合约单位",
  10095. "type": "number"
  10096. },
  10097. "buyorsell": {
  10098. "description": "买卖 - 0:买 1:卖",
  10099. "type": "integer"
  10100. },
  10101. "cancelqty": {
  10102. "description": "撤单数量",
  10103. "type": "integer"
  10104. },
  10105. "currencysign": {
  10106. "description": "货币符号",
  10107. "type": "string"
  10108. },
  10109. "decimalplace": {
  10110. "description": "报价小数位",
  10111. "type": "integer"
  10112. },
  10113. "goodscode": {
  10114. "description": "商品代码(内部)",
  10115. "type": "string"
  10116. },
  10117. "goodsid": {
  10118. "description": "商品ID",
  10119. "type": "integer"
  10120. },
  10121. "goodsname": {
  10122. "description": "商品名称",
  10123. "type": "string"
  10124. },
  10125. "listingselecttype": {
  10126. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10127. "type": "integer"
  10128. },
  10129. "marketid": {
  10130. "description": "市场ID",
  10131. "type": "integer"
  10132. },
  10133. "mybuystatus": {
  10134. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  10135. "type": "integer"
  10136. },
  10137. "orderamount": {
  10138. "description": "委托金额",
  10139. "type": "number"
  10140. },
  10141. "orderid": {
  10142. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10143. "type": "string"
  10144. },
  10145. "orderprice": {
  10146. "description": "委托价格",
  10147. "type": "number"
  10148. },
  10149. "orderqty": {
  10150. "description": "委托数量",
  10151. "type": "integer"
  10152. },
  10153. "orderstatus": {
  10154. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10155. "type": "integer"
  10156. },
  10157. "ordertime": {
  10158. "description": "委托时间",
  10159. "type": "string"
  10160. },
  10161. "picurls1": {
  10162. "description": "预售商品介绍图片[多张用逗号分隔]",
  10163. "type": "string"
  10164. },
  10165. "picurls2": {
  10166. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  10167. "type": "string"
  10168. },
  10169. "trademode": {
  10170. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10171. "type": "integer"
  10172. },
  10173. "tradeqty": {
  10174. "description": "成交数量",
  10175. "type": "integer"
  10176. },
  10177. "vendorname1": {
  10178. "description": "预售商品供应商名称",
  10179. "type": "string"
  10180. },
  10181. "vendorname2": {
  10182. "description": "挂牌商品供应商名称",
  10183. "type": "string"
  10184. }
  10185. }
  10186. },
  10187. "models.Market": {
  10188. "type": "object",
  10189. "required": [
  10190. "marketid",
  10191. "marketstatus",
  10192. "openmethod",
  10193. "reckonpricealgorithm",
  10194. "trademode",
  10195. "tradeproperty"
  10196. ],
  10197. "properties": {
  10198. "auctionwrtype": {
  10199. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  10200. "type": "integer"
  10201. },
  10202. "canacceptquote": {
  10203. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  10204. "type": "integer"
  10205. },
  10206. "cangoodsexercise": {
  10207. "description": "[期权]是否可现货行权- 0:否 1:是",
  10208. "type": "integer"
  10209. },
  10210. "cangoodsexercisetype": {
  10211. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  10212. "type": "integer"
  10213. },
  10214. "canmanualquotestrike": {
  10215. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  10216. "type": "integer"
  10217. },
  10218. "canmutistage": {
  10219. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  10220. "type": "integer"
  10221. },
  10222. "canpreexercise": {
  10223. "description": "[期权]是否可预申报- 0:否 1:是",
  10224. "type": "integer"
  10225. },
  10226. "clearinterval": {
  10227. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  10228. "type": "integer"
  10229. },
  10230. "contracttmp": {
  10231. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  10232. "type": "string"
  10233. },
  10234. "exchareaid": {
  10235. "description": "所属交易所,可以没有",
  10236. "type": "integer"
  10237. },
  10238. "goodstype": {
  10239. "description": "商品类型 - 1:交易商品 2:仓单商品",
  10240. "type": "integer"
  10241. },
  10242. "hasrebate": {
  10243. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  10244. "type": "integer"
  10245. },
  10246. "hastradecredit": {
  10247. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  10248. "type": "integer"
  10249. },
  10250. "haswr": {
  10251. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  10252. "type": "integer"
  10253. },
  10254. "isdeductmargin": {
  10255. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  10256. "type": "integer"
  10257. },
  10258. "isrecordsource": {
  10259. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  10260. "type": "integer"
  10261. },
  10262. "isreleasemargin": {
  10263. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  10264. "type": "integer"
  10265. },
  10266. "marginformula": {
  10267. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  10268. "type": "integer"
  10269. },
  10270. "marginformula2": {
  10271. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  10272. "type": "integer"
  10273. },
  10274. "marketid": {
  10275. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  10276. "type": "integer"
  10277. },
  10278. "marketname": {
  10279. "description": "市场名称",
  10280. "type": "string"
  10281. },
  10282. "marketserviceid": {
  10283. "description": "市场服务ID",
  10284. "type": "integer"
  10285. },
  10286. "marketstatus": {
  10287. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  10288. "type": "integer"
  10289. },
  10290. "markettype": {
  10291. "description": "市场类型- 1:非交易服务 2:交易服务",
  10292. "type": "integer"
  10293. },
  10294. "matchermode": {
  10295. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  10296. "type": "integer"
  10297. },
  10298. "openmethod": {
  10299. "description": "开盘模式 - 0 自动 1手动",
  10300. "type": "integer"
  10301. },
  10302. "otcuserid": {
  10303. "description": "场外期权做市商[场外期权]",
  10304. "type": "integer"
  10305. },
  10306. "outersynctime": {
  10307. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  10308. "type": "string"
  10309. },
  10310. "pendingflag": {
  10311. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  10312. "type": "integer"
  10313. },
  10314. "pendingtime": {
  10315. "description": "待开市时间[通道交易-对冲](HH:mm)",
  10316. "type": "string"
  10317. },
  10318. "performancetempid": {
  10319. "description": "履约计划模板ID - 作废",
  10320. "type": "integer"
  10321. },
  10322. "premiumquotemode": {
  10323. "description": "权利金报价方式 - 1:自动 2:手动",
  10324. "type": "integer"
  10325. },
  10326. "rebateratio": {
  10327. "description": "返利比率[竞价式]",
  10328. "type": "number"
  10329. },
  10330. "reckonorder": {
  10331. "description": "结算顺序",
  10332. "type": "integer"
  10333. },
  10334. "reckonpricealgorithm": {
  10335. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  10336. "type": "integer"
  10337. },
  10338. "reckonpriceparam": {
  10339. "description": "结算价参数",
  10340. "type": "integer"
  10341. },
  10342. "reckontime": {
  10343. "description": "结算时间[通道交易-对冲](HH:mm)",
  10344. "type": "string"
  10345. },
  10346. "roleprioritytype": {
  10347. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  10348. "type": "integer"
  10349. },
  10350. "selllistingauditflag": {
  10351. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  10352. "type": "integer"
  10353. },
  10354. "trademarkettype": {
  10355. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  10356. "type": "integer"
  10357. },
  10358. "trademode": {
  10359. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10360. "type": "integer"
  10361. },
  10362. "tradeproperty": {
  10363. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  10364. "type": "integer"
  10365. },
  10366. "tradetype": {
  10367. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  10368. "type": "integer"
  10369. }
  10370. }
  10371. },
  10372. "models.Marketrun": {
  10373. "type": "object",
  10374. "required": [
  10375. "marketid",
  10376. "nexttradedate",
  10377. "reckonflag",
  10378. "runstatus",
  10379. "tradedate",
  10380. "tradedate2"
  10381. ],
  10382. "properties": {
  10383. "afternexttradedate": {
  10384. "description": "下下交易日",
  10385. "type": "string"
  10386. },
  10387. "clearquoteflag": {
  10388. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  10389. "type": "integer"
  10390. },
  10391. "lastreckondate": {
  10392. "description": "最新交易日(结算成功)",
  10393. "type": "string"
  10394. },
  10395. "machinedate": {
  10396. "description": "机器时间",
  10397. "type": "string"
  10398. },
  10399. "manualflag": {
  10400. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  10401. "type": "integer"
  10402. },
  10403. "marketid": {
  10404. "description": "市场ID",
  10405. "type": "integer"
  10406. },
  10407. "nexttradedate": {
  10408. "description": "下一交易日",
  10409. "type": "string"
  10410. },
  10411. "pretradedate": {
  10412. "description": "上一交易日",
  10413. "type": "string"
  10414. },
  10415. "reckonflag": {
  10416. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  10417. "type": "integer"
  10418. },
  10419. "runstatus": {
  10420. "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.今日免清算",
  10421. "type": "integer"
  10422. },
  10423. "sectionid": {
  10424. "description": "时间段号[多时段时用]",
  10425. "type": "integer"
  10426. },
  10427. "tradedate": {
  10428. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  10429. "type": "string"
  10430. },
  10431. "tradedate2": {
  10432. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  10433. "type": "string"
  10434. },
  10435. "updatetime": {
  10436. "description": "更新时间",
  10437. "type": "string"
  10438. }
  10439. }
  10440. },
  10441. "models.Messageboard": {
  10442. "type": "object",
  10443. "required": [
  10444. "messageboardid"
  10445. ],
  10446. "properties": {
  10447. "createtime": {
  10448. "description": "创建时间",
  10449. "type": "string"
  10450. },
  10451. "message": {
  10452. "description": "留言信息",
  10453. "type": "string"
  10454. },
  10455. "messageboardid": {
  10456. "description": "留言簿ID(SEQ_MessageBoard)",
  10457. "type": "integer"
  10458. },
  10459. "userid": {
  10460. "description": "用户ID",
  10461. "type": "integer"
  10462. }
  10463. }
  10464. },
  10465. "models.MyCoupon": {
  10466. "type": "object",
  10467. "required": [
  10468. "accountid",
  10469. "coupontypeid"
  10470. ],
  10471. "properties": {
  10472. "accountid": {
  10473. "description": "资金账户ID",
  10474. "type": "integer"
  10475. },
  10476. "areauserid": {
  10477. "description": "所属机构",
  10478. "type": "integer"
  10479. },
  10480. "conditionvalue": {
  10481. "description": "条件阈值(可为0)",
  10482. "type": "number"
  10483. },
  10484. "couponcategroy": {
  10485. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  10486. "type": "integer"
  10487. },
  10488. "couponname": {
  10489. "description": "优惠券名称",
  10490. "type": "string"
  10491. },
  10492. "coupontypeid": {
  10493. "description": "优惠券类型ID",
  10494. "type": "string"
  10495. },
  10496. "couponvalue": {
  10497. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  10498. "type": "number"
  10499. },
  10500. "curfreezeqty": {
  10501. "description": "期末冻结数量",
  10502. "type": "integer"
  10503. },
  10504. "curqty": {
  10505. "description": "期末数量",
  10506. "type": "integer"
  10507. },
  10508. "isgeneral": {
  10509. "description": "是否通用券 - 0:否 1:是",
  10510. "type": "integer"
  10511. },
  10512. "isunusable": {
  10513. "description": "是否不可用",
  10514. "type": "boolean"
  10515. },
  10516. "limitedflag": {
  10517. "description": "是否指定商品 - 0:不限 1:限制",
  10518. "type": "integer"
  10519. },
  10520. "limitedgoodsids": {
  10521. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  10522. "type": "string"
  10523. },
  10524. "orifreezeqty": {
  10525. "description": "期初冻结数量",
  10526. "type": "integer"
  10527. },
  10528. "oriqty": {
  10529. "description": "期初数量",
  10530. "type": "integer"
  10531. },
  10532. "reasontype": {
  10533. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  10534. "type": "integer"
  10535. },
  10536. "todaydecrease": {
  10537. "description": "今日减少",
  10538. "type": "integer"
  10539. },
  10540. "todayincrease": {
  10541. "description": "今日增加",
  10542. "type": "integer"
  10543. },
  10544. "userid": {
  10545. "description": "用户ID",
  10546. "type": "integer"
  10547. },
  10548. "userscope": {
  10549. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  10550. "type": "string"
  10551. }
  10552. }
  10553. },
  10554. "models.MyCouponHold": {
  10555. "type": "object",
  10556. "required": [
  10557. "couponholdid"
  10558. ],
  10559. "properties": {
  10560. "accountid": {
  10561. "description": "资金账户ID",
  10562. "type": "integer"
  10563. },
  10564. "conditionvalue": {
  10565. "description": "条件阈值(可为0)",
  10566. "type": "number"
  10567. },
  10568. "couponcategroy": {
  10569. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  10570. "type": "integer"
  10571. },
  10572. "couponholdid": {
  10573. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  10574. "type": "string"
  10575. },
  10576. "couponname": {
  10577. "description": "优惠券名称",
  10578. "type": "string"
  10579. },
  10580. "coupontypeid": {
  10581. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  10582. "type": "string"
  10583. },
  10584. "couponvalue": {
  10585. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  10586. "type": "number"
  10587. },
  10588. "createtime": {
  10589. "description": "创建时间",
  10590. "type": "string"
  10591. },
  10592. "enddate": {
  10593. "description": "结束日期",
  10594. "type": "string"
  10595. },
  10596. "giveapplyid": {
  10597. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  10598. "type": "integer"
  10599. },
  10600. "holdstatus": {
  10601. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  10602. "type": "integer"
  10603. },
  10604. "isgeneral": {
  10605. "description": "是否通用券 - 0:否 1:是",
  10606. "type": "integer"
  10607. },
  10608. "limitedflag": {
  10609. "description": "是否指定商品 - 0:不限 1:限制",
  10610. "type": "integer"
  10611. },
  10612. "limitedgoodsids": {
  10613. "description": "指定商品IDs[逗号分隔]",
  10614. "type": "string"
  10615. },
  10616. "qty": {
  10617. "description": "数量(按1平铺)",
  10618. "type": "integer"
  10619. },
  10620. "startdate": {
  10621. "description": "开始日期",
  10622. "type": "string"
  10623. },
  10624. "userid": {
  10625. "description": "用户ID",
  10626. "type": "integer"
  10627. },
  10628. "userscope": {
  10629. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  10630. "type": "string"
  10631. }
  10632. }
  10633. },
  10634. "models.MyUsedCoupon": {
  10635. "type": "object",
  10636. "required": [
  10637. "coupontypeid",
  10638. "orderid"
  10639. ],
  10640. "properties": {
  10641. "accountid": {
  10642. "description": "资金账户ID(买方)",
  10643. "type": "integer"
  10644. },
  10645. "conditionvalue": {
  10646. "description": "条件阈值(可为0)",
  10647. "type": "number"
  10648. },
  10649. "couponcategroy": {
  10650. "description": "种类 - 1:现金券 2:折扣券",
  10651. "type": "integer"
  10652. },
  10653. "couponname": {
  10654. "description": "优惠券名称",
  10655. "type": "string"
  10656. },
  10657. "coupontypeid": {
  10658. "description": "优惠券类型ID(买方)",
  10659. "type": "string"
  10660. },
  10661. "couponvalue": {
  10662. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  10663. "type": "number"
  10664. },
  10665. "createtime": {
  10666. "description": "创建时间",
  10667. "type": "string"
  10668. },
  10669. "goodsid": {
  10670. "description": "商品ID",
  10671. "type": "integer"
  10672. },
  10673. "handlestatus": {
  10674. "description": "处理状态",
  10675. "type": "integer"
  10676. },
  10677. "marketid": {
  10678. "description": "市场ID",
  10679. "type": "integer"
  10680. },
  10681. "offamount": {
  10682. "description": "优惠金额",
  10683. "type": "number"
  10684. },
  10685. "orderid": {
  10686. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10687. "type": "string"
  10688. },
  10689. "sellaccountid": {
  10690. "description": "资金账户ID(卖方)",
  10691. "type": "integer"
  10692. },
  10693. "tradeamount": {
  10694. "description": "成交金额",
  10695. "type": "number"
  10696. },
  10697. "tradeid": {
  10698. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10699. "type": "string"
  10700. },
  10701. "usedqty": {
  10702. "description": "使用数量",
  10703. "type": "integer"
  10704. }
  10705. }
  10706. },
  10707. "models.OperationPrimaryMenu": {
  10708. "type": "object",
  10709. "properties": {
  10710. "Children": {
  10711. "description": "二级功能菜单",
  10712. "type": "array",
  10713. "items": {
  10714. "$ref": "#/definitions/models.OperationSecondaryMenu"
  10715. }
  10716. },
  10717. "Key": {
  10718. "description": "菜单KEY",
  10719. "type": "string"
  10720. },
  10721. "Label": {
  10722. "description": "菜单标题",
  10723. "type": "string"
  10724. }
  10725. }
  10726. },
  10727. "models.OperationSecondaryMenu": {
  10728. "type": "object",
  10729. "properties": {
  10730. "Key": {
  10731. "description": "菜单KEY",
  10732. "type": "string"
  10733. },
  10734. "Label": {
  10735. "description": "菜单标题",
  10736. "type": "string"
  10737. },
  10738. "TabList": {
  10739. "description": "三级功能菜单",
  10740. "type": "array",
  10741. "items": {
  10742. "$ref": "#/definitions/models.OperationTabMenu"
  10743. }
  10744. }
  10745. }
  10746. },
  10747. "models.OperationTabMenu": {
  10748. "type": "object",
  10749. "properties": {
  10750. "Key": {
  10751. "description": "菜单KEY",
  10752. "type": "string"
  10753. },
  10754. "Label": {
  10755. "description": "菜单标题",
  10756. "type": "string"
  10757. }
  10758. }
  10759. },
  10760. "models.QuotePrimaryMenu": {
  10761. "type": "object",
  10762. "properties": {
  10763. "Index": {
  10764. "description": "序号",
  10765. "type": "integer"
  10766. },
  10767. "Key": {
  10768. "description": "键名",
  10769. "type": "string"
  10770. },
  10771. "Name": {
  10772. "description": "菜单名称",
  10773. "type": "string"
  10774. },
  10775. "SubMenus": {
  10776. "description": "子菜单",
  10777. "type": "array",
  10778. "items": {
  10779. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  10780. }
  10781. },
  10782. "SubTitleType": {
  10783. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  10784. "type": "integer"
  10785. },
  10786. "TradeModes": {
  10787. "description": "包含市场交易类型",
  10788. "type": "string"
  10789. }
  10790. }
  10791. },
  10792. "models.QuoteSecondaryMenu": {
  10793. "type": "object",
  10794. "properties": {
  10795. "ExExchangeCode": {
  10796. "description": "外部交易所代码",
  10797. "type": "string"
  10798. },
  10799. "ExExchangeID": {
  10800. "description": "外部交易所ID",
  10801. "type": "integer"
  10802. },
  10803. "GoodsGroupIDs": {
  10804. "description": "商品组ID列表",
  10805. "type": "array",
  10806. "items": {
  10807. "type": "integer"
  10808. }
  10809. },
  10810. "Index": {
  10811. "description": "序号",
  10812. "type": "integer"
  10813. },
  10814. "MarketID": {
  10815. "description": "市场ID",
  10816. "type": "integer"
  10817. },
  10818. "MenuTitle": {
  10819. "description": "菜单标题(市场名称或外部交易所名称)",
  10820. "type": "string"
  10821. },
  10822. "TradeMode": {
  10823. "description": "交易模式",
  10824. "type": "integer"
  10825. }
  10826. }
  10827. },
  10828. "models.SearchGoods": {
  10829. "type": "object",
  10830. "required": [
  10831. "goodscode",
  10832. "goodsid",
  10833. "goodsname",
  10834. "marketid",
  10835. "trademode"
  10836. ],
  10837. "properties": {
  10838. "goodscode": {
  10839. "description": "商品代码(内部)",
  10840. "type": "string"
  10841. },
  10842. "goodsid": {
  10843. "description": "商品ID(自增ID SEQ_GOODS)",
  10844. "type": "integer"
  10845. },
  10846. "goodsname": {
  10847. "description": "商品名称",
  10848. "type": "string"
  10849. },
  10850. "marketid": {
  10851. "description": "所属市场ID",
  10852. "type": "integer"
  10853. },
  10854. "marketname": {
  10855. "description": "市场名称",
  10856. "type": "string"
  10857. },
  10858. "trademode": {
  10859. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10860. "type": "integer"
  10861. }
  10862. }
  10863. },
  10864. "models.Szdz2imageconfig": {
  10865. "type": "object",
  10866. "required": [
  10867. "configid"
  10868. ],
  10869. "properties": {
  10870. "configid": {
  10871. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  10872. "type": "integer"
  10873. },
  10874. "imagepath": {
  10875. "description": "图片",
  10876. "type": "string"
  10877. },
  10878. "imagetype": {
  10879. "description": "类型 - 1:App首页轮播 2:我的",
  10880. "type": "integer"
  10881. },
  10882. "sort": {
  10883. "description": "排序",
  10884. "type": "integer"
  10885. },
  10886. "title": {
  10887. "description": "标题",
  10888. "type": "string"
  10889. },
  10890. "url": {
  10891. "description": "链接",
  10892. "type": "string"
  10893. }
  10894. }
  10895. },
  10896. "models.Szdz3convertconfig": {
  10897. "type": "object",
  10898. "required": [
  10899. "converttype",
  10900. "innergoodsid",
  10901. "outergoodscode"
  10902. ],
  10903. "properties": {
  10904. "canin": {
  10905. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  10906. "type": "integer"
  10907. },
  10908. "canout": {
  10909. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  10910. "type": "integer"
  10911. },
  10912. "converttype": {
  10913. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10914. "type": "integer"
  10915. },
  10916. "createtime": {
  10917. "description": "创建时间",
  10918. "type": "string"
  10919. },
  10920. "creatorid": {
  10921. "description": "创建人",
  10922. "type": "integer"
  10923. },
  10924. "daymaxvalue": {
  10925. "description": "当日最大转入限制",
  10926. "type": "number"
  10927. },
  10928. "freezedays": {
  10929. "description": "冻结天数 [5:花生米转交易]",
  10930. "type": "integer"
  10931. },
  10932. "innergoodsid": {
  10933. "description": "内部商品ID[交易]",
  10934. "type": "integer"
  10935. },
  10936. "inratio": {
  10937. "description": "目标值",
  10938. "type": "integer"
  10939. },
  10940. "modifierid": {
  10941. "description": "修改人",
  10942. "type": "integer"
  10943. },
  10944. "modifytime": {
  10945. "description": "修改时间",
  10946. "type": "string"
  10947. },
  10948. "outergoodscode": {
  10949. "description": "外部商品代码[JD\\PD]",
  10950. "type": "string"
  10951. },
  10952. "outratio": {
  10953. "description": "源值",
  10954. "type": "integer"
  10955. },
  10956. "pddecimalplace": {
  10957. "description": "PD小数位",
  10958. "type": "integer"
  10959. },
  10960. "timemaxvalue": {
  10961. "description": "单次最大转入限制",
  10962. "type": "number"
  10963. },
  10964. "timeminvalue": {
  10965. "description": "单次最小转入限制",
  10966. "type": "number"
  10967. }
  10968. }
  10969. },
  10970. "models.Szdz3searchwhitelist": {
  10971. "type": "object",
  10972. "required": [
  10973. "userid"
  10974. ],
  10975. "properties": {
  10976. "createtime": {
  10977. "description": "创建时间",
  10978. "type": "string"
  10979. },
  10980. "creatorid": {
  10981. "description": "创建人",
  10982. "type": "integer"
  10983. },
  10984. "modifierid": {
  10985. "description": "修改人",
  10986. "type": "integer"
  10987. },
  10988. "modifytime": {
  10989. "description": "修改时间",
  10990. "type": "string"
  10991. },
  10992. "userid": {
  10993. "description": "用户ID",
  10994. "type": "integer"
  10995. }
  10996. }
  10997. },
  10998. "models.Tablecolumnconfig": {
  10999. "type": "object",
  11000. "required": [
  11001. "autoid"
  11002. ],
  11003. "properties": {
  11004. "aligntype": {
  11005. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  11006. "type": "integer"
  11007. },
  11008. "autoid": {
  11009. "description": "AutoID",
  11010. "type": "integer"
  11011. },
  11012. "columnfield": {
  11013. "description": "列字段",
  11014. "type": "string"
  11015. },
  11016. "columntitle": {
  11017. "description": "列Title",
  11018. "type": "string"
  11019. },
  11020. "columnwidth": {
  11021. "description": "列宽",
  11022. "type": "string"
  11023. },
  11024. "formatterstring": {
  11025. "description": "格式化字符",
  11026. "type": "string"
  11027. },
  11028. "formattertype": {
  11029. "description": "格式化类型",
  11030. "type": "string"
  11031. },
  11032. "groupname": {
  11033. "description": "表头分组名称",
  11034. "type": "string"
  11035. },
  11036. "isshow": {
  11037. "description": "是否显示 - 0:不显示 1:显示",
  11038. "type": "integer"
  11039. },
  11040. "needsummary": {
  11041. "description": "是否需要汇总 - 0:不需要 1:需要",
  11042. "type": "integer"
  11043. },
  11044. "orderindex": {
  11045. "description": "顺序",
  11046. "type": "integer"
  11047. },
  11048. "remark": {
  11049. "description": "备注",
  11050. "type": "string"
  11051. },
  11052. "summarytype": {
  11053. "description": "汇总类型 - 1:加总 2:最后一个",
  11054. "type": "integer"
  11055. },
  11056. "tablekey": {
  11057. "description": "列表Key",
  11058. "type": "string"
  11059. }
  11060. }
  11061. },
  11062. "models.Useraccount": {
  11063. "type": "object",
  11064. "required": [
  11065. "userid"
  11066. ],
  11067. "properties": {
  11068. "accountname": {
  11069. "description": "账户名称(机构名称)",
  11070. "type": "string"
  11071. },
  11072. "accountstatus": {
  11073. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  11074. "type": "integer"
  11075. },
  11076. "auditremark": {
  11077. "description": "审核备注",
  11078. "type": "string"
  11079. },
  11080. "audittime": {
  11081. "description": "审核时间",
  11082. "type": "string"
  11083. },
  11084. "audituserid": {
  11085. "description": "审核人",
  11086. "type": "integer"
  11087. },
  11088. "broker": {
  11089. "description": "所属经纪人ID",
  11090. "type": "integer"
  11091. },
  11092. "canceltime": {
  11093. "description": "销户时间",
  11094. "type": "string"
  11095. },
  11096. "canceluserid": {
  11097. "description": "销户人",
  11098. "type": "integer"
  11099. },
  11100. "createtime": {
  11101. "description": "创建时间",
  11102. "type": "string"
  11103. },
  11104. "creatorid": {
  11105. "description": "创建人",
  11106. "type": "integer"
  11107. },
  11108. "hasauth": {
  11109. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  11110. "type": "integer"
  11111. },
  11112. "isanonymous": {
  11113. "description": "是否匿名下单 - 0:否 1:是",
  11114. "type": "integer"
  11115. },
  11116. "maxinvestornum": {
  11117. "description": "最大用户数(经纪会员下投资者个数)",
  11118. "type": "integer"
  11119. },
  11120. "memberuserid": {
  11121. "description": "所属会员ID",
  11122. "type": "integer"
  11123. },
  11124. "modifierid": {
  11125. "description": "修改人",
  11126. "type": "integer"
  11127. },
  11128. "modifyremark": {
  11129. "description": "变更备注",
  11130. "type": "string"
  11131. },
  11132. "modifystatus": {
  11133. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  11134. "type": "integer"
  11135. },
  11136. "modifytime": {
  11137. "description": "修改时间",
  11138. "type": "string"
  11139. },
  11140. "parentuserid": {
  11141. "description": "所属机构ID",
  11142. "type": "integer"
  11143. },
  11144. "reckonaccountid": {
  11145. "description": "默认结算资金账号ID(机构分润使用) 作废",
  11146. "type": "integer"
  11147. },
  11148. "refercount": {
  11149. "description": "推荐总人数",
  11150. "type": "integer"
  11151. },
  11152. "refereeuserid": {
  11153. "description": "推荐人ID",
  11154. "type": "integer"
  11155. },
  11156. "refernum": {
  11157. "description": "推荐码",
  11158. "type": "string"
  11159. },
  11160. "subarealevelpath": {
  11161. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  11162. "type": "string"
  11163. },
  11164. "userid": {
  11165. "description": "用户ID",
  11166. "type": "integer"
  11167. },
  11168. "usertype": {
  11169. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  11170. "type": "integer"
  11171. }
  11172. }
  11173. },
  11174. "models.Userfavoritegoods": {
  11175. "type": "object",
  11176. "required": [
  11177. "goodsid"
  11178. ],
  11179. "properties": {
  11180. "goodsid": {
  11181. "description": "商品ID",
  11182. "type": "integer"
  11183. }
  11184. }
  11185. },
  11186. "models.Userinfo": {
  11187. "type": "object",
  11188. "required": [
  11189. "userid"
  11190. ],
  11191. "properties": {
  11192. "address": {
  11193. "description": "地址",
  11194. "type": "string"
  11195. },
  11196. "attachment1": {
  11197. "description": "附件1",
  11198. "type": "string"
  11199. },
  11200. "attachment2": {
  11201. "description": "附件2",
  11202. "type": "string"
  11203. },
  11204. "bankaccount": {
  11205. "description": "银行帐号 (加密存储)",
  11206. "type": "string"
  11207. },
  11208. "bankaccountname": {
  11209. "description": "收款人名称",
  11210. "type": "string"
  11211. },
  11212. "bankcardfrontphotourl": {
  11213. "description": "银行卡正面照地址",
  11214. "type": "string"
  11215. },
  11216. "bankid": {
  11217. "description": "银行编码",
  11218. "type": "string"
  11219. },
  11220. "bankname": {
  11221. "description": "银行名称",
  11222. "type": "string"
  11223. },
  11224. "biznature": {
  11225. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11226. "type": "integer"
  11227. },
  11228. "bizscope": {
  11229. "description": "企业经营范围(企业)",
  11230. "type": "string"
  11231. },
  11232. "cardbackphotourl": {
  11233. "description": "证件背面图片地址",
  11234. "type": "string"
  11235. },
  11236. "cardfrontphotourl": {
  11237. "description": "证件正面图片地址",
  11238. "type": "string"
  11239. },
  11240. "cardnum": {
  11241. "description": "证件号码(加密存储)",
  11242. "type": "string"
  11243. },
  11244. "cardtypeid": {
  11245. "description": "证件类型ID",
  11246. "type": "integer"
  11247. },
  11248. "cityid": {
  11249. "description": "市",
  11250. "type": "integer"
  11251. },
  11252. "company": {
  11253. "description": "公司(个人)",
  11254. "type": "string"
  11255. },
  11256. "contactname": {
  11257. "description": "联系人",
  11258. "type": "string"
  11259. },
  11260. "countryid": {
  11261. "description": "国家",
  11262. "type": "integer"
  11263. },
  11264. "createtime": {
  11265. "description": "创建时间",
  11266. "type": "string"
  11267. },
  11268. "creatorid": {
  11269. "description": "创建人",
  11270. "type": "integer"
  11271. },
  11272. "customername": {
  11273. "description": "客户名称(企业名称)",
  11274. "type": "string"
  11275. },
  11276. "districtid": {
  11277. "description": "地区",
  11278. "type": "integer"
  11279. },
  11280. "email": {
  11281. "description": "邮件(加密存储)",
  11282. "type": "string"
  11283. },
  11284. "fax": {
  11285. "description": "传真(加密存储)",
  11286. "type": "string"
  11287. },
  11288. "halfbodyphotourl": {
  11289. "description": "半身照地址",
  11290. "type": "string"
  11291. },
  11292. "hasencrypt": {
  11293. "description": "数据是否已加密 - 0:未加密 1:已加密",
  11294. "type": "integer"
  11295. },
  11296. "headurl": {
  11297. "description": "头像地址",
  11298. "type": "string"
  11299. },
  11300. "legalcardbackphotourl": {
  11301. "description": "法人身份证背面照地址",
  11302. "type": "string"
  11303. },
  11304. "legalcardfrontphotourl": {
  11305. "description": "法人身份证正面照地址",
  11306. "type": "string"
  11307. },
  11308. "legalpersonname": {
  11309. "description": "法人姓名(企业)",
  11310. "type": "string"
  11311. },
  11312. "mobile": {
  11313. "description": "手机号码(加密存储)",
  11314. "type": "string"
  11315. },
  11316. "mobile2": {
  11317. "description": "手机号码[明文-尚志]",
  11318. "type": "string"
  11319. },
  11320. "modifierid": {
  11321. "description": "修改人",
  11322. "type": "integer"
  11323. },
  11324. "modifiertime": {
  11325. "description": "修改时间",
  11326. "type": "string"
  11327. },
  11328. "needinvoice": {
  11329. "description": "是否需要发票 - 0:不需要 1:需要",
  11330. "type": "integer"
  11331. },
  11332. "nickname": {
  11333. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  11334. "type": "string"
  11335. },
  11336. "openmode": {
  11337. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  11338. "type": "integer"
  11339. },
  11340. "otherurl": {
  11341. "description": "其它图片地址[使用分号分隔]",
  11342. "type": "string"
  11343. },
  11344. "postalcode": {
  11345. "description": "邮政编码",
  11346. "type": "string"
  11347. },
  11348. "provinceid": {
  11349. "description": "省",
  11350. "type": "integer"
  11351. },
  11352. "qq": {
  11353. "description": "QQ(加密存储",
  11354. "type": "string"
  11355. },
  11356. "remark": {
  11357. "description": "备注",
  11358. "type": "string"
  11359. },
  11360. "sex": {
  11361. "description": "用户性别 0: 女 1: 男",
  11362. "type": "integer"
  11363. },
  11364. "signpdfurl": {
  11365. "description": "签约pdf文件",
  11366. "type": "string"
  11367. },
  11368. "telphone": {
  11369. "description": "联系电话(加密存储)",
  11370. "type": "string"
  11371. },
  11372. "userid": {
  11373. "description": "用户ID",
  11374. "type": "integer"
  11375. },
  11376. "userinfotype": {
  11377. "description": "用户信息类型 - 1:个人 2:企业",
  11378. "type": "integer"
  11379. },
  11380. "userstatus": {
  11381. "description": "用户状态 - 1:正常 2:注销",
  11382. "type": "integer"
  11383. },
  11384. "usertype": {
  11385. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  11386. "type": "integer"
  11387. },
  11388. "wechat": {
  11389. "description": "微信(加密存储)",
  11390. "type": "string"
  11391. },
  11392. "wskhinfo": {
  11393. "description": "开户申请信息(JSON)",
  11394. "type": "string"
  11395. }
  11396. }
  11397. },
  11398. "models.WRCategoryTree": {
  11399. "type": "object",
  11400. "required": [
  11401. "categoryid"
  11402. ],
  11403. "properties": {
  11404. "areauserid": {
  11405. "description": "所属机构",
  11406. "type": "integer"
  11407. },
  11408. "categorydesc": {
  11409. "description": "类别描述",
  11410. "type": "string"
  11411. },
  11412. "categoryid": {
  11413. "description": "类别ID(SEQ_WRCATEGORY)",
  11414. "type": "integer"
  11415. },
  11416. "categoryname": {
  11417. "description": "类别名称",
  11418. "type": "string"
  11419. },
  11420. "iconurl": {
  11421. "description": "图标地址",
  11422. "type": "string"
  11423. },
  11424. "orderindex": {
  11425. "description": "顺序",
  11426. "type": "integer"
  11427. },
  11428. "parentcategoryid": {
  11429. "description": "父类别ID",
  11430. "type": "integer"
  11431. },
  11432. "subcategory": {
  11433. "description": "子分类",
  11434. "type": "array",
  11435. "items": {
  11436. "$ref": "#/definitions/models.WRCategoryTree"
  11437. }
  11438. }
  11439. }
  11440. },
  11441. "models.WRStandardInfo": {
  11442. "type": "object",
  11443. "required": [
  11444. "wrstandardid"
  11445. ],
  11446. "properties": {
  11447. "createtime": {
  11448. "description": "创建时间",
  11449. "type": "string"
  11450. },
  11451. "creatorid": {
  11452. "description": "创建人",
  11453. "type": "integer"
  11454. },
  11455. "deliverygoodsid": {
  11456. "description": "品种ID",
  11457. "type": "integer"
  11458. },
  11459. "deliverygoodsname": {
  11460. "description": "交割商品名称",
  11461. "type": "string"
  11462. },
  11463. "factoryitemjson": {
  11464. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  11465. "type": "string"
  11466. },
  11467. "isvalid": {
  11468. "description": "是否有效 - 0:无效 1:有效",
  11469. "type": "integer"
  11470. },
  11471. "minivalue": {
  11472. "description": "最小变动值",
  11473. "type": "integer"
  11474. },
  11475. "minivaluedp": {
  11476. "description": "最小变动值小数位",
  11477. "type": "integer"
  11478. },
  11479. "realminivalue": {
  11480. "description": "实际最小变动值",
  11481. "type": "integer"
  11482. },
  11483. "realminivaluedp": {
  11484. "description": "实际最小变动值小数位",
  11485. "type": "integer"
  11486. },
  11487. "unitid": {
  11488. "description": "单位ID",
  11489. "type": "integer"
  11490. },
  11491. "unitname": {
  11492. "description": "单位",
  11493. "type": "string"
  11494. },
  11495. "updatetime": {
  11496. "description": "更新时间",
  11497. "type": "string"
  11498. },
  11499. "updatorid": {
  11500. "description": "更新人",
  11501. "type": "integer"
  11502. },
  11503. "wrsstatus": {
  11504. "description": "状态 - 作废 - 0:未激活 1:正常",
  11505. "type": "integer"
  11506. },
  11507. "wrstandardcode": {
  11508. "description": "仓单标准代码",
  11509. "type": "string"
  11510. },
  11511. "wrstandardid": {
  11512. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  11513. "type": "integer"
  11514. },
  11515. "wrstandardname": {
  11516. "description": "仓单标准名称",
  11517. "type": "string"
  11518. }
  11519. }
  11520. },
  11521. "models.Warehouseinfo": {
  11522. "type": "object",
  11523. "required": [
  11524. "autoid",
  11525. "warehousecode"
  11526. ],
  11527. "properties": {
  11528. "address": {
  11529. "description": "详细地址",
  11530. "type": "string"
  11531. },
  11532. "areauserid": {
  11533. "description": "所属机构",
  11534. "type": "integer"
  11535. },
  11536. "autoid": {
  11537. "description": "自增ID",
  11538. "type": "integer"
  11539. },
  11540. "cityid": {
  11541. "description": "市",
  11542. "type": "integer"
  11543. },
  11544. "contactname": {
  11545. "description": "联系人",
  11546. "type": "string"
  11547. },
  11548. "contactnum": {
  11549. "description": "联系电话",
  11550. "type": "string"
  11551. },
  11552. "countryid": {
  11553. "description": "国家",
  11554. "type": "integer"
  11555. },
  11556. "createtime": {
  11557. "description": "创建时间",
  11558. "type": "string"
  11559. },
  11560. "districtid": {
  11561. "description": "区",
  11562. "type": "integer"
  11563. },
  11564. "hasvideo": {
  11565. "description": "是否有视频 - 0:无 1:有",
  11566. "type": "integer"
  11567. },
  11568. "provinceid": {
  11569. "description": "省",
  11570. "type": "integer"
  11571. },
  11572. "remark": {
  11573. "description": "审核备注",
  11574. "type": "string"
  11575. },
  11576. "videourl": {
  11577. "description": "视频地址",
  11578. "type": "string"
  11579. },
  11580. "warehousecode": {
  11581. "description": "仓库代码",
  11582. "type": "string"
  11583. },
  11584. "warehousename": {
  11585. "description": "仓库名称",
  11586. "type": "string"
  11587. },
  11588. "warehousestatus": {
  11589. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  11590. "type": "integer"
  11591. },
  11592. "warehousetype": {
  11593. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11594. "type": "integer"
  11595. }
  11596. }
  11597. },
  11598. "order.QueryHisTradeDetailRsp": {
  11599. "type": "object",
  11600. "required": [
  11601. "accountid",
  11602. "buyorsell",
  11603. "goodsid",
  11604. "histradedate",
  11605. "marketid",
  11606. "memberuserid",
  11607. "orderid",
  11608. "tradeamount",
  11609. "tradedate",
  11610. "tradeid",
  11611. "tradeprice",
  11612. "tradeqty",
  11613. "tradetime"
  11614. ],
  11615. "properties": {
  11616. "accountid": {
  11617. "description": "账户ID[报价币种]",
  11618. "type": "integer"
  11619. },
  11620. "buildtype": {
  11621. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  11622. "type": "integer"
  11623. },
  11624. "buyorsell": {
  11625. "description": "方向 - 0:买 1:卖",
  11626. "type": "integer"
  11627. },
  11628. "charge": {
  11629. "description": "手续费",
  11630. "type": "number"
  11631. },
  11632. "closecharge": {
  11633. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  11634. "type": "number"
  11635. },
  11636. "closeexchagechargevalue": {
  11637. "description": "平仓交易所手续费设置值",
  11638. "type": "number"
  11639. },
  11640. "closefeealgorithm": {
  11641. "description": "平仓手续费收取方式 1:比率 2:固定",
  11642. "type": "integer"
  11643. },
  11644. "closememberchargevalue": {
  11645. "description": "平仓会员手续费设置值",
  11646. "type": "number"
  11647. },
  11648. "closepl": {
  11649. "description": "平仓盈亏",
  11650. "type": "number"
  11651. },
  11652. "closepl2": {
  11653. "description": "平仓盈亏[逐笔]",
  11654. "type": "number"
  11655. },
  11656. "closeqty": {
  11657. "description": "平仓数量(先建后平操作 需要记录)",
  11658. "type": "integer"
  11659. },
  11660. "creditamount": {
  11661. "description": "授信金额",
  11662. "type": "number"
  11663. },
  11664. "gcaccountid": {
  11665. "description": "账户ID[合约币种]",
  11666. "type": "integer"
  11667. },
  11668. "goodscode": {
  11669. "description": "商品代码",
  11670. "type": "string"
  11671. },
  11672. "goodsid": {
  11673. "description": "商品ID",
  11674. "type": "integer"
  11675. },
  11676. "goodsname": {
  11677. "description": "商品名称",
  11678. "type": "string"
  11679. },
  11680. "histradedate": {
  11681. "description": "历史交易日",
  11682. "type": "string"
  11683. },
  11684. "intclosepl": {
  11685. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  11686. "type": "integer"
  11687. },
  11688. "isconfirmexercise": {
  11689. "description": "是否确认行权- 0:否 1:是",
  11690. "type": "integer"
  11691. },
  11692. "ismain": {
  11693. "description": "是否主单 - 0:不是 1:是",
  11694. "type": "integer"
  11695. },
  11696. "ispreexercise": {
  11697. "description": "是否预申报- 0:否 1:是",
  11698. "type": "integer"
  11699. },
  11700. "isreckoned": {
  11701. "description": "是否结算 - 0:未结算 1:已结算",
  11702. "type": "integer"
  11703. },
  11704. "isvaliddata": {
  11705. "description": "是否有效 - 0:无效 1:有效",
  11706. "type": "integer"
  11707. },
  11708. "listingselecttype": {
  11709. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11710. "type": "integer"
  11711. },
  11712. "marketid": {
  11713. "description": "市场ID",
  11714. "type": "integer"
  11715. },
  11716. "marketname": {
  11717. "description": "市场名称",
  11718. "type": "string"
  11719. },
  11720. "matchaccountid": {
  11721. "description": "对手账号id",
  11722. "type": "integer"
  11723. },
  11724. "memberuserid": {
  11725. "description": "会员id 个人投资者 需要填写",
  11726. "type": "integer"
  11727. },
  11728. "opencharge": {
  11729. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  11730. "type": "number"
  11731. },
  11732. "openexchagechargevalue": {
  11733. "description": "建仓交易所手续费设置值",
  11734. "type": "number"
  11735. },
  11736. "openfeealgorithm": {
  11737. "description": "建仓手续费收取方式 1:比率 2:固定",
  11738. "type": "integer"
  11739. },
  11740. "openmemberchargevalue": {
  11741. "description": "建仓会员手续费设置值",
  11742. "type": "number"
  11743. },
  11744. "openqty": {
  11745. "description": "开仓数量(先建后平操作 需要记录)",
  11746. "type": "integer"
  11747. },
  11748. "optiontype": {
  11749. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  11750. "type": "integer"
  11751. },
  11752. "orderid": {
  11753. "description": "委托单号",
  11754. "type": "string"
  11755. },
  11756. "performanceplanid": {
  11757. "description": "履约计划ID[期权]",
  11758. "type": "integer"
  11759. },
  11760. "performancestatus": {
  11761. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  11762. "type": "integer"
  11763. },
  11764. "preexerciseprice": {
  11765. "description": "预申报价格",
  11766. "type": "number"
  11767. },
  11768. "premium": {
  11769. "description": "权利金 - [持仓单的权利金]",
  11770. "type": "number"
  11771. },
  11772. "relatedouttradeid": {
  11773. "description": "关联外部成交单ID",
  11774. "type": "integer"
  11775. },
  11776. "status": {
  11777. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  11778. "type": "integer"
  11779. },
  11780. "tradeamount": {
  11781. "description": "成交金额[账户币种,用于所有权]",
  11782. "type": "number"
  11783. },
  11784. "tradedate": {
  11785. "description": "交易日(yyyyMMdd)",
  11786. "type": "string"
  11787. },
  11788. "tradeid": {
  11789. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11790. "type": "string"
  11791. },
  11792. "trademode": {
  11793. "description": "交易模式",
  11794. "type": "integer"
  11795. },
  11796. "tradeprice": {
  11797. "description": "成交价格",
  11798. "type": "number"
  11799. },
  11800. "tradeproperty": {
  11801. "description": "交易属性",
  11802. "type": "integer"
  11803. },
  11804. "tradeqty": {
  11805. "description": "成交数量",
  11806. "type": "integer"
  11807. },
  11808. "tradetime": {
  11809. "description": "成交时间",
  11810. "type": "string"
  11811. },
  11812. "tradetype": {
  11813. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  11814. "type": "integer"
  11815. }
  11816. }
  11817. },
  11818. "order.QueryHisTradeOrderDetailRsp": {
  11819. "type": "object",
  11820. "required": [
  11821. "accountid",
  11822. "buildtype",
  11823. "buyorsell",
  11824. "goodsid",
  11825. "histradedate",
  11826. "marketid",
  11827. "memberuserid",
  11828. "operatetype",
  11829. "orderid",
  11830. "orderqty",
  11831. "ordertime",
  11832. "pricemode",
  11833. "tradedate",
  11834. "validtype"
  11835. ],
  11836. "properties": {
  11837. "accountid": {
  11838. "description": "账户ID[报价币种]",
  11839. "type": "integer"
  11840. },
  11841. "buildtype": {
  11842. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  11843. "type": "integer"
  11844. },
  11845. "buyorsell": {
  11846. "description": "买卖 - 0:买 1:卖",
  11847. "type": "integer"
  11848. },
  11849. "cancelorderid": {
  11850. "description": "撤单单号(撤单时填写)",
  11851. "type": "string"
  11852. },
  11853. "cancelqty": {
  11854. "description": "撤单数量",
  11855. "type": "integer"
  11856. },
  11857. "clientordertime": {
  11858. "description": "客户端委托时间",
  11859. "type": "string"
  11860. },
  11861. "clientticket": {
  11862. "description": "客户端流水号",
  11863. "type": "string"
  11864. },
  11865. "clienttype": {
  11866. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  11867. "type": "integer"
  11868. },
  11869. "closeexchagechargevalue": {
  11870. "description": "平仓交易所手续费设置值",
  11871. "type": "number"
  11872. },
  11873. "closefeealgorithm": {
  11874. "description": "平仓手续费收取方式 1:比率 2:固定",
  11875. "type": "integer"
  11876. },
  11877. "closefreezecharge": {
  11878. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  11879. "type": "number"
  11880. },
  11881. "closememberchargevalue": {
  11882. "description": "平仓会员手续费设置值",
  11883. "type": "number"
  11884. },
  11885. "closeqty": {
  11886. "description": "平仓数量(先建后平操作 需要记录)",
  11887. "type": "integer"
  11888. },
  11889. "closetradeqty": {
  11890. "description": "平仓成交数量(先建后平操作,需要记录)",
  11891. "type": "integer"
  11892. },
  11893. "closeunfreezecharge": {
  11894. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  11895. "type": "number"
  11896. },
  11897. "delistingtype": {
  11898. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  11899. "type": "integer"
  11900. },
  11901. "freezecharge": {
  11902. "description": "冻结手续费",
  11903. "type": "number"
  11904. },
  11905. "freezemargin": {
  11906. "description": "冻结保证金(冻结交易金额)",
  11907. "type": "number"
  11908. },
  11909. "gcaccountid": {
  11910. "description": "账户ID[合约币种]",
  11911. "type": "integer"
  11912. },
  11913. "goodscode": {
  11914. "description": "商品代码",
  11915. "type": "string"
  11916. },
  11917. "goodsid": {
  11918. "description": "商品ID",
  11919. "type": "integer"
  11920. },
  11921. "goodsname": {
  11922. "description": "商品名称",
  11923. "type": "string"
  11924. },
  11925. "histradedate": {
  11926. "description": "历史交易日",
  11927. "type": "string"
  11928. },
  11929. "isconfirmexercise": {
  11930. "description": "是否确认行权- 0:否 1:是",
  11931. "type": "integer"
  11932. },
  11933. "ispreexercise": {
  11934. "description": "是否预申报- 0:否 1:是",
  11935. "type": "integer"
  11936. },
  11937. "isvaliddata": {
  11938. "description": "是否有效 - 0:无效 1:有效",
  11939. "type": "integer"
  11940. },
  11941. "listingselecttype": {
  11942. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11943. "type": "integer"
  11944. },
  11945. "marginalgorithm": {
  11946. "description": "保证金收取方式 1:比率 2:固定",
  11947. "type": "integer"
  11948. },
  11949. "marginvalue": {
  11950. "description": "即市保证金设置值",
  11951. "type": "number"
  11952. },
  11953. "marketid": {
  11954. "description": "市场ID",
  11955. "type": "integer"
  11956. },
  11957. "marketmaxsub": {
  11958. "description": "市价最大偏移范围",
  11959. "type": "number"
  11960. },
  11961. "marketname": {
  11962. "description": "市场名称",
  11963. "type": "string"
  11964. },
  11965. "memberuserid": {
  11966. "description": "所属会员UserID",
  11967. "type": "integer"
  11968. },
  11969. "openexchagechargevalue": {
  11970. "description": "建仓交易所手续费设置值",
  11971. "type": "number"
  11972. },
  11973. "openfeealgorithm": {
  11974. "description": "建仓手续费收取方式 1:比率 2:固定",
  11975. "type": "integer"
  11976. },
  11977. "openfreezecharge": {
  11978. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  11979. "type": "number"
  11980. },
  11981. "openmemberchargevalue": {
  11982. "description": "建仓会员手续费设置值",
  11983. "type": "number"
  11984. },
  11985. "openqty": {
  11986. "description": "开仓数量(先建后平操作,需要记录)",
  11987. "type": "integer"
  11988. },
  11989. "opentradeqty": {
  11990. "description": "开仓成交数量(先建后平操作,需要记录)",
  11991. "type": "integer"
  11992. },
  11993. "openunfreezecharge": {
  11994. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  11995. "type": "number"
  11996. },
  11997. "operatetype": {
  11998. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  11999. "type": "integer"
  12000. },
  12001. "operatorid": {
  12002. "description": "登录账号(LoginID)",
  12003. "type": "integer"
  12004. },
  12005. "optiontype": {
  12006. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  12007. "type": "integer"
  12008. },
  12009. "orderid": {
  12010. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12011. "type": "string"
  12012. },
  12013. "orderprice": {
  12014. "description": "委托价格",
  12015. "type": "number"
  12016. },
  12017. "orderqty": {
  12018. "description": "委托数量",
  12019. "type": "integer"
  12020. },
  12021. "ordersrc": {
  12022. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  12023. "type": "integer"
  12024. },
  12025. "orderstatus": {
  12026. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12027. "type": "integer"
  12028. },
  12029. "ordertime": {
  12030. "description": "委托时间",
  12031. "type": "string"
  12032. },
  12033. "preexerciseprice": {
  12034. "description": "预申报价格",
  12035. "type": "number"
  12036. },
  12037. "premium": {
  12038. "description": "权利金",
  12039. "type": "number"
  12040. },
  12041. "preorderid": {
  12042. "description": "关联预埋单号(止盈止损单时填写)",
  12043. "type": "string"
  12044. },
  12045. "pricemode": {
  12046. "description": "取价方式 - 1:市价 2: 限价",
  12047. "type": "integer"
  12048. },
  12049. "quoteid": {
  12050. "description": "报价单ID",
  12051. "type": "integer"
  12052. },
  12053. "relatedid": {
  12054. "description": "关联单号(交割单)",
  12055. "type": "string"
  12056. },
  12057. "retcode": {
  12058. "description": "错误代码",
  12059. "type": "integer"
  12060. },
  12061. "sessionid": {
  12062. "description": "会话ID",
  12063. "type": "integer"
  12064. },
  12065. "tradedate": {
  12066. "description": "交易日(yyyyMMdd)",
  12067. "type": "string"
  12068. },
  12069. "trademode": {
  12070. "description": "交易模式",
  12071. "type": "integer"
  12072. },
  12073. "tradeproperty": {
  12074. "description": "交易属性",
  12075. "type": "integer"
  12076. },
  12077. "tradeqty": {
  12078. "description": "成交数量",
  12079. "type": "integer"
  12080. },
  12081. "unfreezecharge": {
  12082. "description": "解冻手续费",
  12083. "type": "number"
  12084. },
  12085. "unfreezemargin": {
  12086. "description": "解冻保证金",
  12087. "type": "number"
  12088. },
  12089. "updatetime": {
  12090. "description": "更新时间",
  12091. "type": "string"
  12092. },
  12093. "uuid": {
  12094. "description": "发起端唯一id",
  12095. "type": "string"
  12096. },
  12097. "validtime": {
  12098. "description": "有效期限",
  12099. "type": "string"
  12100. },
  12101. "validtype": {
  12102. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  12103. "type": "integer"
  12104. },
  12105. "volumetype": {
  12106. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  12107. "type": "integer"
  12108. }
  12109. }
  12110. },
  12111. "order.QueryTradeDetailRsp": {
  12112. "type": "object",
  12113. "required": [
  12114. "accountid",
  12115. "buyorsell",
  12116. "goodsid",
  12117. "marketid",
  12118. "memberuserid",
  12119. "orderid",
  12120. "tradeamount",
  12121. "tradedate",
  12122. "tradeid",
  12123. "tradeprice",
  12124. "tradeqty",
  12125. "tradetime"
  12126. ],
  12127. "properties": {
  12128. "accountid": {
  12129. "description": "账户ID[报价币种]",
  12130. "type": "integer"
  12131. },
  12132. "buildtype": {
  12133. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  12134. "type": "integer"
  12135. },
  12136. "buyorsell": {
  12137. "description": "方向 - 0:买 1:卖",
  12138. "type": "integer"
  12139. },
  12140. "charge": {
  12141. "description": "手续费",
  12142. "type": "number"
  12143. },
  12144. "closecharge": {
  12145. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  12146. "type": "number"
  12147. },
  12148. "closeexchagechargevalue": {
  12149. "description": "平仓交易所手续费设置值",
  12150. "type": "number"
  12151. },
  12152. "closefeealgorithm": {
  12153. "description": "平仓手续费收取方式 1:比率 2:固定",
  12154. "type": "integer"
  12155. },
  12156. "closememberchargevalue": {
  12157. "description": "平仓会员手续费设置值",
  12158. "type": "number"
  12159. },
  12160. "closepl": {
  12161. "description": "平仓盈亏",
  12162. "type": "number"
  12163. },
  12164. "closepl2": {
  12165. "description": "平仓盈亏[逐笔]",
  12166. "type": "number"
  12167. },
  12168. "closeqty": {
  12169. "description": "平仓数量(先建后平操作 需要记录)",
  12170. "type": "integer"
  12171. },
  12172. "creditamount": {
  12173. "description": "授信金额",
  12174. "type": "number"
  12175. },
  12176. "gcaccountid": {
  12177. "description": "账户ID[合约币种]",
  12178. "type": "integer"
  12179. },
  12180. "goodscode": {
  12181. "description": "商品代码",
  12182. "type": "string"
  12183. },
  12184. "goodsid": {
  12185. "description": "商品ID",
  12186. "type": "integer"
  12187. },
  12188. "goodsname": {
  12189. "description": "商品名称",
  12190. "type": "string"
  12191. },
  12192. "intclosepl": {
  12193. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  12194. "type": "integer"
  12195. },
  12196. "isconfirmexercise": {
  12197. "description": "是否确认行权- 0:否 1:是",
  12198. "type": "integer"
  12199. },
  12200. "ismain": {
  12201. "description": "是否主单 - 0:不是 1:是",
  12202. "type": "integer"
  12203. },
  12204. "ispreexercise": {
  12205. "description": "是否预申报- 0:否 1:是",
  12206. "type": "integer"
  12207. },
  12208. "isreckoned": {
  12209. "description": "是否结算 - 0:未结算 1:已结算",
  12210. "type": "integer"
  12211. },
  12212. "listingselecttype": {
  12213. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  12214. "type": "integer"
  12215. },
  12216. "marketid": {
  12217. "description": "市场ID",
  12218. "type": "integer"
  12219. },
  12220. "marketname": {
  12221. "description": "市场名称",
  12222. "type": "string"
  12223. },
  12224. "matchaccountid": {
  12225. "description": "对手账号id",
  12226. "type": "integer"
  12227. },
  12228. "memberuserid": {
  12229. "description": "会员id 个人投资者 需要填写",
  12230. "type": "integer"
  12231. },
  12232. "opencharge": {
  12233. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  12234. "type": "number"
  12235. },
  12236. "openexchagechargevalue": {
  12237. "description": "建仓交易所手续费设置值",
  12238. "type": "number"
  12239. },
  12240. "openfeealgorithm": {
  12241. "description": "建仓手续费收取方式 1:比率 2:固定",
  12242. "type": "integer"
  12243. },
  12244. "openmemberchargevalue": {
  12245. "description": "建仓会员手续费设置值",
  12246. "type": "number"
  12247. },
  12248. "openqty": {
  12249. "description": "开仓数量(先建后平操作 需要记录)",
  12250. "type": "integer"
  12251. },
  12252. "optiontype": {
  12253. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  12254. "type": "integer"
  12255. },
  12256. "orderid": {
  12257. "description": "委托单号",
  12258. "type": "string"
  12259. },
  12260. "performanceplanid": {
  12261. "description": "履约计划ID[期权]",
  12262. "type": "integer"
  12263. },
  12264. "performancestatus": {
  12265. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  12266. "type": "integer"
  12267. },
  12268. "preexerciseprice": {
  12269. "description": "预申报价格",
  12270. "type": "number"
  12271. },
  12272. "premium": {
  12273. "description": "权利金 - [持仓单的权利金]",
  12274. "type": "number"
  12275. },
  12276. "relatedouttradeid": {
  12277. "description": "关联外部成交单ID",
  12278. "type": "integer"
  12279. },
  12280. "status": {
  12281. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  12282. "type": "integer"
  12283. },
  12284. "tradeamount": {
  12285. "description": "成交金额[账户币种,用于所有权]",
  12286. "type": "number"
  12287. },
  12288. "tradedate": {
  12289. "description": "交易日(yyyyMMdd)",
  12290. "type": "string"
  12291. },
  12292. "tradeid": {
  12293. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12294. "type": "string"
  12295. },
  12296. "trademode": {
  12297. "description": "交易模式",
  12298. "type": "integer"
  12299. },
  12300. "tradeprice": {
  12301. "description": "成交价格",
  12302. "type": "number"
  12303. },
  12304. "tradeproperty": {
  12305. "description": "交易属性",
  12306. "type": "integer"
  12307. },
  12308. "tradeqty": {
  12309. "description": "成交数量",
  12310. "type": "integer"
  12311. },
  12312. "tradetime": {
  12313. "description": "成交时间",
  12314. "type": "string"
  12315. },
  12316. "tradetype": {
  12317. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  12318. "type": "integer"
  12319. }
  12320. }
  12321. },
  12322. "order.QueryTradeOrderDetailRsp": {
  12323. "type": "object",
  12324. "required": [
  12325. "accountid",
  12326. "buildtype",
  12327. "buyorsell",
  12328. "goodsid",
  12329. "marketid",
  12330. "operatetype",
  12331. "orderqty",
  12332. "ordertime",
  12333. "pricemode",
  12334. "tradedate",
  12335. "validtype"
  12336. ],
  12337. "properties": {
  12338. "accountid": {
  12339. "description": "账户ID[报价币种]",
  12340. "type": "integer"
  12341. },
  12342. "buildtype": {
  12343. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  12344. "type": "integer"
  12345. },
  12346. "buyorsell": {
  12347. "description": "买卖 - 0:买 1:卖",
  12348. "type": "integer"
  12349. },
  12350. "cancelorderid": {
  12351. "description": "撤单单号(撤单时填写)",
  12352. "type": "string"
  12353. },
  12354. "cancelqty": {
  12355. "description": "撤单数量",
  12356. "type": "integer"
  12357. },
  12358. "clienttype": {
  12359. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  12360. "type": "integer"
  12361. },
  12362. "closefreezecharge": {
  12363. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  12364. "type": "number"
  12365. },
  12366. "closeqty": {
  12367. "description": "平仓数量(先建后平操作 需要记录)",
  12368. "type": "integer"
  12369. },
  12370. "closetradeqty": {
  12371. "description": "平仓成交数量(先建后平操作,需要记录)",
  12372. "type": "integer"
  12373. },
  12374. "closeunfreezecharge": {
  12375. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  12376. "type": "number"
  12377. },
  12378. "delistingtype": {
  12379. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  12380. "type": "integer"
  12381. },
  12382. "enableqty": {
  12383. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  12384. "type": "integer"
  12385. },
  12386. "freezecharge": {
  12387. "description": "冻结手续费",
  12388. "type": "number"
  12389. },
  12390. "freezemargin": {
  12391. "description": "冻结保证金(冻结交易金额)",
  12392. "type": "number"
  12393. },
  12394. "goodscode": {
  12395. "description": "商品代码",
  12396. "type": "string"
  12397. },
  12398. "goodsid": {
  12399. "description": "商品ID",
  12400. "type": "integer"
  12401. },
  12402. "goodsname": {
  12403. "description": "商品名称",
  12404. "type": "string"
  12405. },
  12406. "listingselecttype": {
  12407. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  12408. "type": "integer"
  12409. },
  12410. "marketid": {
  12411. "description": "市场ID",
  12412. "type": "integer"
  12413. },
  12414. "marketname": {
  12415. "description": "市场名称",
  12416. "type": "string"
  12417. },
  12418. "openfreezecharge": {
  12419. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  12420. "type": "number"
  12421. },
  12422. "openqty": {
  12423. "description": "开仓数量(先建后平操作,需要记录)",
  12424. "type": "integer"
  12425. },
  12426. "opentradeqty": {
  12427. "description": "开仓成交数量(先建后平操作,需要记录)",
  12428. "type": "integer"
  12429. },
  12430. "openunfreezecharge": {
  12431. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  12432. "type": "number"
  12433. },
  12434. "operatetype": {
  12435. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  12436. "type": "integer"
  12437. },
  12438. "operatorid": {
  12439. "description": "登录账号(LoginID)",
  12440. "type": "integer"
  12441. },
  12442. "orderid": {
  12443. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12444. "type": "string"
  12445. },
  12446. "orderprice": {
  12447. "description": "委托价格",
  12448. "type": "number"
  12449. },
  12450. "orderqty": {
  12451. "description": "委托数量",
  12452. "type": "integer"
  12453. },
  12454. "ordersrc": {
  12455. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  12456. "type": "integer"
  12457. },
  12458. "orderstatus": {
  12459. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12460. "type": "integer"
  12461. },
  12462. "ordertime": {
  12463. "description": "委托时间",
  12464. "type": "string"
  12465. },
  12466. "preorderid": {
  12467. "description": "关联预埋单号(止盈止损单时填写)",
  12468. "type": "string"
  12469. },
  12470. "pricemode": {
  12471. "description": "取价方式 - 1:市价 2: 限价",
  12472. "type": "integer"
  12473. },
  12474. "relatedid": {
  12475. "description": "关联单号(交割单)",
  12476. "type": "string"
  12477. },
  12478. "tradedate": {
  12479. "description": "交易日(yyyyMMdd)",
  12480. "type": "string"
  12481. },
  12482. "trademode": {
  12483. "description": "交易模式",
  12484. "type": "integer"
  12485. },
  12486. "tradeqty": {
  12487. "description": "成交数量",
  12488. "type": "integer"
  12489. },
  12490. "unfreezecharge": {
  12491. "description": "解冻手续费",
  12492. "type": "number"
  12493. },
  12494. "unfreezemargin": {
  12495. "description": "解冻保证金",
  12496. "type": "number"
  12497. },
  12498. "validtime": {
  12499. "description": "有效期限",
  12500. "type": "string"
  12501. },
  12502. "validtype": {
  12503. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  12504. "type": "integer"
  12505. },
  12506. "volumetype": {
  12507. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  12508. "type": "integer"
  12509. }
  12510. }
  12511. },
  12512. "order.QueryTradePositionRsp": {
  12513. "type": "object",
  12514. "required": [
  12515. "goodsid"
  12516. ],
  12517. "properties": {
  12518. "accountid": {
  12519. "description": "资金账户",
  12520. "type": "integer"
  12521. },
  12522. "agreeunit": {
  12523. "description": "合约单位",
  12524. "type": "number"
  12525. },
  12526. "averageprice": {
  12527. "description": "持仓均价",
  12528. "type": "number"
  12529. },
  12530. "buyorsell": {
  12531. "description": "方向 - 0:买 1:卖",
  12532. "type": "integer"
  12533. },
  12534. "closetotalqty": {
  12535. "description": "平仓总数量",
  12536. "type": "integer"
  12537. },
  12538. "curholderamount": {
  12539. "description": "当前持仓总金额[商品币种]",
  12540. "type": "number"
  12541. },
  12542. "curpositionqty": {
  12543. "description": "当前持仓总数量",
  12544. "type": "integer"
  12545. },
  12546. "currencyid": {
  12547. "description": "报价货币ID",
  12548. "type": "integer"
  12549. },
  12550. "curtdposition": {
  12551. "description": "期末今日头寸",
  12552. "type": "integer"
  12553. },
  12554. "decimalplace": {
  12555. "description": "报价小数位",
  12556. "type": "integer"
  12557. },
  12558. "enableqty": {
  12559. "description": "可用量",
  12560. "type": "integer"
  12561. },
  12562. "fretdposition": {
  12563. "description": "冻结今日头寸",
  12564. "type": "integer"
  12565. },
  12566. "frozenqty": {
  12567. "description": "持仓冻结数量",
  12568. "type": "integer"
  12569. },
  12570. "goodscode": {
  12571. "description": "商品代码",
  12572. "type": "string"
  12573. },
  12574. "goodsid": {
  12575. "description": "商品Id",
  12576. "type": "integer"
  12577. },
  12578. "goodsname": {
  12579. "description": "商品名称",
  12580. "type": "string"
  12581. },
  12582. "goodunit": {
  12583. "description": "报价单位",
  12584. "type": "string"
  12585. },
  12586. "goodunitid": {
  12587. "description": "报价单位ID",
  12588. "type": "integer"
  12589. },
  12590. "holderamount": {
  12591. "description": "期初持仓总金额[商品币种]",
  12592. "type": "number"
  12593. },
  12594. "marketid": {
  12595. "description": "所属市场ID",
  12596. "type": "integer"
  12597. },
  12598. "openreqqty": {
  12599. "description": "开仓申请数量(用于比较最大持仓数量)",
  12600. "type": "integer"
  12601. },
  12602. "opentotalqty": {
  12603. "description": "开仓总数量",
  12604. "type": "integer"
  12605. },
  12606. "otherfrozenqty": {
  12607. "description": "持仓其他冻结数量(交割冻结)",
  12608. "type": "integer"
  12609. },
  12610. "positionqty": {
  12611. "description": "期初持仓数量",
  12612. "type": "integer"
  12613. },
  12614. "tnqty": {
  12615. "description": "T+N冻结总量",
  12616. "type": "integer"
  12617. },
  12618. "tnusedqty": {
  12619. "description": "T+N使用量(可以使用T+N的冻结数量)",
  12620. "type": "integer"
  12621. },
  12622. "trademode": {
  12623. "description": "交易模式",
  12624. "type": "integer"
  12625. },
  12626. "usedmargin": {
  12627. "description": "占用保证金[商品币种]",
  12628. "type": "number"
  12629. }
  12630. }
  12631. },
  12632. "quote.HistoryData": {
  12633. "type": "object",
  12634. "properties": {
  12635. "c": {
  12636. "description": "收盘价",
  12637. "type": "number"
  12638. },
  12639. "h": {
  12640. "description": "最高价",
  12641. "type": "number"
  12642. },
  12643. "hv": {
  12644. "description": "持仓量",
  12645. "type": "integer"
  12646. },
  12647. "l": {
  12648. "description": "最低价",
  12649. "type": "number"
  12650. },
  12651. "o": {
  12652. "description": "开盘价",
  12653. "type": "number"
  12654. },
  12655. "s": {
  12656. "description": "结算价,日线周期(包括)以上才有",
  12657. "type": "number"
  12658. },
  12659. "ts": {
  12660. "description": "时间",
  12661. "type": "string"
  12662. },
  12663. "tt": {
  12664. "description": "总金额",
  12665. "type": "number"
  12666. },
  12667. "tv": {
  12668. "description": "总量",
  12669. "type": "integer"
  12670. }
  12671. }
  12672. },
  12673. "quote.QueryTSDataRsp": {
  12674. "type": "object",
  12675. "properties": {
  12676. "decimalPlace": {
  12677. "description": "小数位",
  12678. "type": "integer"
  12679. },
  12680. "endTime": {
  12681. "description": "结束时间",
  12682. "type": "string"
  12683. },
  12684. "goodsCode": {
  12685. "description": "商品代码",
  12686. "type": "string"
  12687. },
  12688. "historyDatas": {
  12689. "description": "历史数据",
  12690. "type": "array",
  12691. "items": {
  12692. "$ref": "#/definitions/quote.HistoryData"
  12693. }
  12694. },
  12695. "preSettle": {
  12696. "description": "昨结",
  12697. "type": "number"
  12698. },
  12699. "startTime": {
  12700. "description": "开始时间",
  12701. "type": "string"
  12702. },
  12703. "tradeDate": {
  12704. "description": "交易日",
  12705. "type": "string"
  12706. }
  12707. }
  12708. },
  12709. "szdz.QueryConvertLogRsp": {
  12710. "type": "object",
  12711. "required": [
  12712. "logid"
  12713. ],
  12714. "properties": {
  12715. "accountid": {
  12716. "description": "资金账户ID",
  12717. "type": "integer"
  12718. },
  12719. "clientticket": {
  12720. "description": "客户端流水号",
  12721. "type": "string"
  12722. },
  12723. "converttype": {
  12724. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  12725. "type": "integer"
  12726. },
  12727. "createtime": {
  12728. "description": "记账时间",
  12729. "type": "string"
  12730. },
  12731. "daymaxvalue": {
  12732. "description": "配置当日最大转入限制",
  12733. "type": "number"
  12734. },
  12735. "daymaxvalue2": {
  12736. "description": "配置当日最大转入限制(转入)",
  12737. "type": "number"
  12738. },
  12739. "goodscode": {
  12740. "description": "商品代码",
  12741. "type": "string"
  12742. },
  12743. "goodsname": {
  12744. "description": "商品名称",
  12745. "type": "string"
  12746. },
  12747. "handlestatus": {
  12748. "description": "处理状态",
  12749. "type": "integer"
  12750. },
  12751. "innergoodsid": {
  12752. "description": "内部商品ID",
  12753. "type": "integer"
  12754. },
  12755. "inratio": {
  12756. "description": "配置转入比值",
  12757. "type": "integer"
  12758. },
  12759. "invalue": {
  12760. "description": "目标值",
  12761. "type": "number"
  12762. },
  12763. "logid": {
  12764. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12765. "type": "integer"
  12766. },
  12767. "mobile": {
  12768. "description": "手机号码(加密存储)",
  12769. "type": "string"
  12770. },
  12771. "outergoodscode": {
  12772. "description": "外部商品代码[JD\\PD]",
  12773. "type": "string"
  12774. },
  12775. "outratio": {
  12776. "description": "配置转出比值",
  12777. "type": "integer"
  12778. },
  12779. "outvalue": {
  12780. "description": "源值",
  12781. "type": "number"
  12782. },
  12783. "pddecimalplace": {
  12784. "description": "PD小数位",
  12785. "type": "integer"
  12786. },
  12787. "qty": {
  12788. "description": "数量",
  12789. "type": "string"
  12790. },
  12791. "remark": {
  12792. "description": "备注",
  12793. "type": "string"
  12794. },
  12795. "sessionid": {
  12796. "description": "会话ID",
  12797. "type": "integer"
  12798. },
  12799. "timemaxvalue": {
  12800. "description": "配置单次最大转入限制",
  12801. "type": "number"
  12802. },
  12803. "timemaxvalue2": {
  12804. "description": "配置单次最大转入限制(转入)",
  12805. "type": "number"
  12806. },
  12807. "timeminvalue": {
  12808. "description": "配置单次最小数量限制",
  12809. "type": "number"
  12810. },
  12811. "timeminvalue2": {
  12812. "description": "配置单次最小数量限制(转入)",
  12813. "type": "number"
  12814. },
  12815. "tradedate": {
  12816. "description": "交易日(yyyyMMdd)",
  12817. "type": "string"
  12818. },
  12819. "userid": {
  12820. "description": "用户ID",
  12821. "type": "integer"
  12822. }
  12823. }
  12824. },
  12825. "szdz.QueryGoodsPickupRsp": {
  12826. "type": "object",
  12827. "required": [
  12828. "takeorderid"
  12829. ],
  12830. "properties": {
  12831. "accountid": {
  12832. "description": "账户ID",
  12833. "type": "integer"
  12834. },
  12835. "address": {
  12836. "description": "提货人详细地址",
  12837. "type": "string"
  12838. },
  12839. "auditer": {
  12840. "description": "审核人",
  12841. "type": "integer"
  12842. },
  12843. "audittime": {
  12844. "description": "审核时间",
  12845. "type": "string"
  12846. },
  12847. "cardnum": {
  12848. "description": "提货人证件号码",
  12849. "type": "string"
  12850. },
  12851. "cardtypeid": {
  12852. "description": "提货人证件类型",
  12853. "type": "integer"
  12854. },
  12855. "checkremark": {
  12856. "description": "审核备注",
  12857. "type": "string"
  12858. },
  12859. "goodscode": {
  12860. "description": "商品代码",
  12861. "type": "string"
  12862. },
  12863. "goodsid": {
  12864. "description": "商品ID",
  12865. "type": "integer"
  12866. },
  12867. "goodsname": {
  12868. "description": "商品名称",
  12869. "type": "string"
  12870. },
  12871. "handlestatus": {
  12872. "description": "处理状态",
  12873. "type": "integer"
  12874. },
  12875. "marketid": {
  12876. "description": "市场ID",
  12877. "type": "integer"
  12878. },
  12879. "phonenum": {
  12880. "description": "提货人联系方式",
  12881. "type": "string"
  12882. },
  12883. "qty": {
  12884. "description": "提货数量",
  12885. "type": "number"
  12886. },
  12887. "recivername": {
  12888. "description": "提货人姓名",
  12889. "type": "string"
  12890. },
  12891. "reqtime": {
  12892. "description": "更新时间",
  12893. "type": "string"
  12894. },
  12895. "takemode": {
  12896. "description": "提货方式 - 2:自提 3:配送",
  12897. "type": "integer"
  12898. },
  12899. "takeorderid": {
  12900. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  12901. "type": "string"
  12902. },
  12903. "takeorderstatus": {
  12904. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  12905. "type": "integer"
  12906. },
  12907. "takeremark": {
  12908. "description": "提货备注",
  12909. "type": "string"
  12910. },
  12911. "tradedate": {
  12912. "description": "交易日(yyyyMMdd)",
  12913. "type": "string"
  12914. },
  12915. "userid": {
  12916. "description": "用户ID",
  12917. "type": "integer"
  12918. }
  12919. }
  12920. },
  12921. "szdz.QueryRecieptOrderRsp": {
  12922. "type": "object",
  12923. "required": [
  12924. "ordertime"
  12925. ],
  12926. "properties": {
  12927. "accountName": {
  12928. "description": "所属账号名称(已脱敏)",
  12929. "type": "string"
  12930. },
  12931. "accountid": {
  12932. "description": "资金账号",
  12933. "type": "integer"
  12934. },
  12935. "buyorsell": {
  12936. "description": "方向 - 0:买 1:卖",
  12937. "type": "integer"
  12938. },
  12939. "enableqty": {
  12940. "description": "可摘数量",
  12941. "type": "integer"
  12942. },
  12943. "goodscode": {
  12944. "description": "商品代码",
  12945. "type": "string"
  12946. },
  12947. "goodsid": {
  12948. "description": "商品ID",
  12949. "type": "integer"
  12950. },
  12951. "goodsname": {
  12952. "description": "商品名称",
  12953. "type": "string"
  12954. },
  12955. "orderid": {
  12956. "description": "委托单号",
  12957. "type": "string"
  12958. },
  12959. "orderprice": {
  12960. "description": "委托价格",
  12961. "type": "number"
  12962. },
  12963. "ordertime": {
  12964. "description": "委托时间",
  12965. "type": "string"
  12966. },
  12967. "tradedate": {
  12968. "description": "交易日(yyyyMMdd)",
  12969. "type": "string"
  12970. }
  12971. }
  12972. },
  12973. "szdz.QuerySZDZTradePositionRsp": {
  12974. "type": "object",
  12975. "properties": {
  12976. "accountid": {
  12977. "description": "账号Id",
  12978. "type": "integer"
  12979. },
  12980. "agreeunit": {
  12981. "description": "合约单位",
  12982. "type": "number"
  12983. },
  12984. "averageprice": {
  12985. "description": "持仓均价",
  12986. "type": "number"
  12987. },
  12988. "buyorsell": {
  12989. "description": "方向 - 0:买 1:卖",
  12990. "type": "integer"
  12991. },
  12992. "closetotalqty": {
  12993. "description": "平仓总数量",
  12994. "type": "integer"
  12995. },
  12996. "curholderamount": {
  12997. "description": "当前持仓总金额",
  12998. "type": "number"
  12999. },
  13000. "curpositionqty": {
  13001. "description": "当前持仓总数量",
  13002. "type": "integer"
  13003. },
  13004. "currencyid": {
  13005. "description": "报价货币ID",
  13006. "type": "integer"
  13007. },
  13008. "curtdposition": {
  13009. "description": "期末今日头寸",
  13010. "type": "integer"
  13011. },
  13012. "decimalplace": {
  13013. "description": "报价小数位",
  13014. "type": "integer"
  13015. },
  13016. "enableqty": {
  13017. "description": "可用量",
  13018. "type": "integer"
  13019. },
  13020. "fretdposition": {
  13021. "description": "冻结今日头寸",
  13022. "type": "integer"
  13023. },
  13024. "frozenqty": {
  13025. "description": "持仓冻结数量",
  13026. "type": "integer"
  13027. },
  13028. "goodscode": {
  13029. "description": "商品代码(内部)",
  13030. "type": "string"
  13031. },
  13032. "goodsid": {
  13033. "description": "商品Id",
  13034. "type": "integer"
  13035. },
  13036. "goodsname": {
  13037. "description": "商品名称",
  13038. "type": "string"
  13039. },
  13040. "goodunit": {
  13041. "description": "报价单位",
  13042. "type": "string"
  13043. },
  13044. "goodunitid": {
  13045. "description": "报价单位ID",
  13046. "type": "integer"
  13047. },
  13048. "holderamount": {
  13049. "description": "期初持仓总金额",
  13050. "type": "number"
  13051. },
  13052. "marketid": {
  13053. "description": "市场ID",
  13054. "type": "integer"
  13055. },
  13056. "openreqqty": {
  13057. "description": "开仓申请数量",
  13058. "type": "integer"
  13059. },
  13060. "opentotalqty": {
  13061. "description": "开仓总数量",
  13062. "type": "integer"
  13063. },
  13064. "otherfrozenqty": {
  13065. "description": "持仓其他冻结数量(交割冻结)",
  13066. "type": "integer"
  13067. },
  13068. "positionqty": {
  13069. "description": "期初持仓数量",
  13070. "type": "integer"
  13071. },
  13072. "szdz3freezqty": {
  13073. "description": "尚志大宗转换冻结总数量",
  13074. "type": "integer"
  13075. },
  13076. "tnqty": {
  13077. "description": "T+N冻结总量",
  13078. "type": "integer"
  13079. },
  13080. "tnusedqty": {
  13081. "description": "T+N使用量",
  13082. "type": "integer"
  13083. },
  13084. "trademode": {
  13085. "description": "交易模式",
  13086. "type": "integer"
  13087. },
  13088. "usedmargin": {
  13089. "description": "占用保证金",
  13090. "type": "number"
  13091. }
  13092. }
  13093. },
  13094. "taaccount.QueryAmountLogRsp": {
  13095. "type": "object",
  13096. "required": [
  13097. "accountid",
  13098. "amount",
  13099. "amountadjusttype",
  13100. "autoid",
  13101. "balance",
  13102. "createtime",
  13103. "currentbalance",
  13104. "operatetype"
  13105. ],
  13106. "properties": {
  13107. "OPERATETYPENAME": {
  13108. "description": "资金操作类型名称",
  13109. "type": "string"
  13110. },
  13111. "accountid": {
  13112. "description": "资金账户ID",
  13113. "type": "integer"
  13114. },
  13115. "agoodscode": {
  13116. "description": "竞拍商品代码",
  13117. "type": "string"
  13118. },
  13119. "agoodsname": {
  13120. "description": "竞拍商品名称",
  13121. "type": "string"
  13122. },
  13123. "amount": {
  13124. "description": "资金金额",
  13125. "type": "number"
  13126. },
  13127. "amountadjusttype": {
  13128. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  13129. "type": "integer"
  13130. },
  13131. "autoid": {
  13132. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  13133. "type": "integer"
  13134. },
  13135. "balance": {
  13136. "description": "期初余额",
  13137. "type": "number"
  13138. },
  13139. "businesscode": {
  13140. "description": "业务编号",
  13141. "type": "integer"
  13142. },
  13143. "createtime": {
  13144. "description": "发生时间",
  13145. "type": "string"
  13146. },
  13147. "currencyid": {
  13148. "description": "币种ID",
  13149. "type": "integer"
  13150. },
  13151. "currentbalance": {
  13152. "description": "期末余额(变动后金额)",
  13153. "type": "number"
  13154. },
  13155. "dgoodscode": {
  13156. "description": "交割商品代码",
  13157. "type": "string"
  13158. },
  13159. "dgoodsname": {
  13160. "description": "交割商品名称",
  13161. "type": "string"
  13162. },
  13163. "goodscode": {
  13164. "description": "商品代码",
  13165. "type": "string"
  13166. },
  13167. "goodsid": {
  13168. "description": "商品ID",
  13169. "type": "integer"
  13170. },
  13171. "goodsname": {
  13172. "description": "商品名称",
  13173. "type": "string"
  13174. },
  13175. "marketid": {
  13176. "description": "市场ID",
  13177. "type": "integer"
  13178. },
  13179. "marketname": {
  13180. "description": "市场名称",
  13181. "type": "string"
  13182. },
  13183. "moneyticket": {
  13184. "description": "资金流水号:银行端流水号",
  13185. "type": "integer"
  13186. },
  13187. "operatetype": {
  13188. "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:营销收款",
  13189. "type": "integer"
  13190. },
  13191. "relationorderid": {
  13192. "description": "关联单号",
  13193. "type": "string"
  13194. },
  13195. "remark": {
  13196. "description": "备注",
  13197. "type": "string"
  13198. },
  13199. "trademode": {
  13200. "description": "交易模式",
  13201. "type": "integer"
  13202. }
  13203. }
  13204. },
  13205. "taaccount.QueryHisAmountLogRsp": {
  13206. "type": "object",
  13207. "required": [
  13208. "accountid",
  13209. "amount",
  13210. "amountadjusttype",
  13211. "autoid",
  13212. "balance",
  13213. "createtime",
  13214. "currentbalance",
  13215. "histradedate",
  13216. "operatetype"
  13217. ],
  13218. "properties": {
  13219. "OPERATETYPENAME": {
  13220. "description": "资金操作类型名称",
  13221. "type": "string"
  13222. },
  13223. "accountid": {
  13224. "description": "资金账户ID",
  13225. "type": "integer"
  13226. },
  13227. "agoodscode": {
  13228. "description": "竞拍商品代码",
  13229. "type": "string"
  13230. },
  13231. "agoodsname": {
  13232. "description": "竞拍商品名称",
  13233. "type": "string"
  13234. },
  13235. "amount": {
  13236. "description": "资金金额",
  13237. "type": "number"
  13238. },
  13239. "amountadjusttype": {
  13240. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  13241. "type": "integer"
  13242. },
  13243. "autoid": {
  13244. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  13245. "type": "integer"
  13246. },
  13247. "balance": {
  13248. "description": "期初余额",
  13249. "type": "number"
  13250. },
  13251. "businesscode": {
  13252. "description": "业务编号",
  13253. "type": "integer"
  13254. },
  13255. "createtime": {
  13256. "description": "发生时间",
  13257. "type": "string"
  13258. },
  13259. "currencyid": {
  13260. "description": "币种ID",
  13261. "type": "integer"
  13262. },
  13263. "currentbalance": {
  13264. "description": "期末余额(变动后金额)",
  13265. "type": "number"
  13266. },
  13267. "dgoodscode": {
  13268. "description": "交割商品代码",
  13269. "type": "string"
  13270. },
  13271. "dgoodsname": {
  13272. "description": "交割商品名称",
  13273. "type": "string"
  13274. },
  13275. "goodscode": {
  13276. "description": "商品代码",
  13277. "type": "string"
  13278. },
  13279. "goodsid": {
  13280. "description": "商品ID",
  13281. "type": "integer"
  13282. },
  13283. "goodsname": {
  13284. "description": "商品名称",
  13285. "type": "string"
  13286. },
  13287. "histradedate": {
  13288. "description": "历史交易日",
  13289. "type": "string"
  13290. },
  13291. "isvaliddata": {
  13292. "description": "是否有效 - 0:无效 1:有效",
  13293. "type": "integer"
  13294. },
  13295. "marketid": {
  13296. "description": "市场ID",
  13297. "type": "integer"
  13298. },
  13299. "marketname": {
  13300. "description": "市场名称",
  13301. "type": "string"
  13302. },
  13303. "moneyticket": {
  13304. "description": "资金流水号:银行端流水号",
  13305. "type": "integer"
  13306. },
  13307. "operatetype": {
  13308. "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:营销收款",
  13309. "type": "integer"
  13310. },
  13311. "relationorderid": {
  13312. "description": "关联单号",
  13313. "type": "string"
  13314. },
  13315. "remark": {
  13316. "description": "备注",
  13317. "type": "string"
  13318. },
  13319. "trademode": {
  13320. "description": "交易模式",
  13321. "type": "integer"
  13322. }
  13323. }
  13324. },
  13325. "trade.QueryRecieptOrderRsp": {
  13326. "type": "object",
  13327. "required": [
  13328. "ordertime"
  13329. ],
  13330. "properties": {
  13331. "accountName": {
  13332. "description": "所属账号名称(已脱敏)",
  13333. "type": "string"
  13334. },
  13335. "accountid": {
  13336. "description": "资金账号",
  13337. "type": "integer"
  13338. },
  13339. "buyorsell": {
  13340. "description": "方向 - 0:买 1:卖",
  13341. "type": "integer"
  13342. },
  13343. "enableqty": {
  13344. "description": "可摘数量",
  13345. "type": "integer"
  13346. },
  13347. "goodscode": {
  13348. "description": "商品代码",
  13349. "type": "string"
  13350. },
  13351. "goodsid": {
  13352. "description": "商品ID",
  13353. "type": "integer"
  13354. },
  13355. "goodsname": {
  13356. "description": "商品名称",
  13357. "type": "string"
  13358. },
  13359. "orderid": {
  13360. "description": "委托单号",
  13361. "type": "string"
  13362. },
  13363. "orderprice": {
  13364. "description": "委托价格",
  13365. "type": "number"
  13366. },
  13367. "ordertime": {
  13368. "description": "委托时间",
  13369. "type": "string"
  13370. },
  13371. "tradedate": {
  13372. "description": "交易日(yyyyMMdd)",
  13373. "type": "string"
  13374. }
  13375. }
  13376. }
  13377. },
  13378. "securityDefinitions": {
  13379. "ApiKeyAuth": {
  13380. "type": "apiKey",
  13381. "name": "Authorization",
  13382. "in": "header"
  13383. }
  13384. }
  13385. }`
  13386. type swaggerInfo struct {
  13387. Version string
  13388. Host string
  13389. BasePath string
  13390. Schemes []string
  13391. Title string
  13392. Description string
  13393. }
  13394. // SwaggerInfo holds exported Swagger Info so clients can modify it
  13395. var SwaggerInfo = swaggerInfo{
  13396. Version: "1.0",
  13397. Host: "",
  13398. BasePath: "/api",
  13399. Schemes: []string{},
  13400. Title: "MTP2.0 查询服务 API",
  13401. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  13402. }
  13403. type s struct{}
  13404. func (s *s) ReadDoc() string {
  13405. sInfo := SwaggerInfo
  13406. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  13407. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  13408. "marshal": func(v interface{}) string {
  13409. a, _ := json.Marshal(v)
  13410. return string(a)
  13411. },
  13412. }).Parse(doc)
  13413. if err != nil {
  13414. return doc
  13415. }
  13416. var tpl bytes.Buffer
  13417. if err := t.Execute(&tpl, sInfo); err != nil {
  13418. return doc
  13419. }
  13420. return tpl.String()
  13421. }
  13422. func init() {
  13423. swag.Register(swag.Name, &s{})
  13424. }