docs.go 380 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598
  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. "responses": {
  610. "200": {
  611. "description": "OK",
  612. "schema": {
  613. "$ref": "#/definitions/common.QueryTableDefineRsp"
  614. }
  615. },
  616. "500": {
  617. "description": "Internal Server Error",
  618. "schema": {
  619. "$ref": "#/definitions/app.Response"
  620. }
  621. }
  622. }
  623. }
  624. },
  625. "/Common/QueryTraderMenu": {
  626. "get": {
  627. "produces": [
  628. "application/json"
  629. ],
  630. "tags": [
  631. "通用服务"
  632. ],
  633. "summary": "查询交易端菜单",
  634. "parameters": [
  635. {
  636. "type": "integer",
  637. "description": "登录账号",
  638. "name": "loginid",
  639. "in": "query",
  640. "required": true
  641. }
  642. ],
  643. "responses": {
  644. "200": {
  645. "description": "OK",
  646. "schema": {
  647. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  648. }
  649. },
  650. "500": {
  651. "description": "Internal Server Error",
  652. "schema": {
  653. "$ref": "#/definitions/app.Response"
  654. }
  655. }
  656. }
  657. }
  658. },
  659. "/Delivery/QueryDeliveryRelation": {
  660. "get": {
  661. "security": [
  662. {
  663. "ApiKeyAuth": []
  664. }
  665. ],
  666. "produces": [
  667. "application/json"
  668. ],
  669. "tags": [
  670. "交割服务"
  671. ],
  672. "summary": "查询商品交割关系表",
  673. "parameters": [
  674. {
  675. "type": "integer",
  676. "description": "商品ID",
  677. "name": "goodsid",
  678. "in": "query"
  679. },
  680. {
  681. "type": "integer",
  682. "description": "品种ID",
  683. "name": "deliverygoodsid",
  684. "in": "query"
  685. },
  686. {
  687. "type": "integer",
  688. "description": "市场ID",
  689. "name": "marketid",
  690. "in": "query"
  691. }
  692. ],
  693. "responses": {
  694. "200": {
  695. "description": "OK",
  696. "schema": {
  697. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  698. }
  699. },
  700. "500": {
  701. "description": "Internal Server Error",
  702. "schema": {
  703. "$ref": "#/definitions/app.Response"
  704. }
  705. }
  706. }
  707. }
  708. },
  709. "/Erms2/QueryArbitrageStrategy": {
  710. "get": {
  711. "security": [
  712. {
  713. "ApiKeyAuth": []
  714. }
  715. ],
  716. "produces": [
  717. "application/json"
  718. ],
  719. "tags": [
  720. "风险管理"
  721. ],
  722. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  723. "parameters": [
  724. {
  725. "type": "integer",
  726. "description": "账户ID",
  727. "name": "userid",
  728. "in": "query",
  729. "required": true
  730. },
  731. {
  732. "type": "string",
  733. "description": "商品组ID(品种ID)",
  734. "name": "goodsgroupid",
  735. "in": "query"
  736. }
  737. ],
  738. "responses": {
  739. "200": {
  740. "description": "OK",
  741. "schema": {
  742. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  743. }
  744. },
  745. "500": {
  746. "description": "Internal Server Error",
  747. "schema": {
  748. "$ref": "#/definitions/app.Response"
  749. }
  750. }
  751. }
  752. }
  753. },
  754. "/Erms2/QueryInnerTradeDetail": {
  755. "get": {
  756. "security": [
  757. {
  758. "ApiKeyAuth": []
  759. }
  760. ],
  761. "produces": [
  762. "application/json"
  763. ],
  764. "tags": [
  765. "风险管理"
  766. ],
  767. "summary": "查询内部成交单信息",
  768. "parameters": [
  769. {
  770. "type": "integer",
  771. "description": "资金账户",
  772. "name": "accountid",
  773. "in": "query",
  774. "required": true
  775. }
  776. ],
  777. "responses": {
  778. "200": {
  779. "description": "OK",
  780. "schema": {
  781. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  782. }
  783. },
  784. "500": {
  785. "description": "Internal Server Error",
  786. "schema": {
  787. "$ref": "#/definitions/app.Response"
  788. }
  789. }
  790. }
  791. }
  792. },
  793. "/Erms2/QuerySpotContract": {
  794. "get": {
  795. "security": [
  796. {
  797. "ApiKeyAuth": []
  798. }
  799. ],
  800. "produces": [
  801. "application/json"
  802. ],
  803. "tags": [
  804. "风险管理"
  805. ],
  806. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  807. "parameters": [
  808. {
  809. "type": "integer",
  810. "description": "策略申请ID",
  811. "name": "asapplyid",
  812. "in": "query",
  813. "required": true
  814. },
  815. {
  816. "type": "integer",
  817. "description": "现货合同ID",
  818. "name": "spotcontractid",
  819. "in": "query"
  820. }
  821. ],
  822. "responses": {
  823. "200": {
  824. "description": "OK",
  825. "schema": {
  826. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  827. }
  828. },
  829. "500": {
  830. "description": "Internal Server Error",
  831. "schema": {
  832. "$ref": "#/definitions/app.Response"
  833. }
  834. }
  835. }
  836. }
  837. },
  838. "/Erms3/AddErms2ASApply": {
  839. "post": {
  840. "security": [
  841. {
  842. "ApiKeyAuth": []
  843. }
  844. ],
  845. "produces": [
  846. "application/json"
  847. ],
  848. "tags": [
  849. "风险管理v3"
  850. ],
  851. "summary": "新增期现套利业务申请",
  852. "parameters": [
  853. {
  854. "description": "申请参数",
  855. "name": "jsonBody",
  856. "in": "body",
  857. "required": true,
  858. "schema": {
  859. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  860. }
  861. }
  862. ],
  863. "responses": {
  864. "200": {
  865. "description": "OK",
  866. "schema": {
  867. "$ref": "#/definitions/app.Response"
  868. }
  869. },
  870. "500": {
  871. "description": "Internal Server Error",
  872. "schema": {
  873. "$ref": "#/definitions/app.Response"
  874. }
  875. }
  876. }
  877. }
  878. },
  879. "/Erms3/AddErms2SpotTradeApply": {
  880. "post": {
  881. "security": [
  882. {
  883. "ApiKeyAuth": []
  884. }
  885. ],
  886. "produces": [
  887. "application/json"
  888. ],
  889. "tags": [
  890. "风险管理v3"
  891. ],
  892. "summary": "新增现货贸易业务申请",
  893. "parameters": [
  894. {
  895. "description": "申请参数",
  896. "name": "jsonBody",
  897. "in": "body",
  898. "required": true,
  899. "schema": {
  900. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  901. }
  902. }
  903. ],
  904. "responses": {
  905. "200": {
  906. "description": "OK",
  907. "schema": {
  908. "$ref": "#/definitions/app.Response"
  909. }
  910. },
  911. "500": {
  912. "description": "Internal Server Error",
  913. "schema": {
  914. "$ref": "#/definitions/app.Response"
  915. }
  916. }
  917. }
  918. }
  919. },
  920. "/Erms3/AddSpotContractApply": {
  921. "post": {
  922. "security": [
  923. {
  924. "ApiKeyAuth": []
  925. }
  926. ],
  927. "produces": [
  928. "application/json"
  929. ],
  930. "tags": [
  931. "风险管理v3"
  932. ],
  933. "summary": "新增现货合同申请",
  934. "parameters": [
  935. {
  936. "description": "申请参数",
  937. "name": "jsonBody",
  938. "in": "body",
  939. "required": true,
  940. "schema": {
  941. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  942. }
  943. }
  944. ],
  945. "responses": {
  946. "200": {
  947. "description": "OK",
  948. "schema": {
  949. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  950. }
  951. },
  952. "500": {
  953. "description": "Internal Server Error",
  954. "schema": {
  955. "$ref": "#/definitions/app.Response"
  956. }
  957. }
  958. }
  959. }
  960. },
  961. "/Erms3/AddUserInfoApply": {
  962. "post": {
  963. "security": [
  964. {
  965. "ApiKeyAuth": []
  966. }
  967. ],
  968. "produces": [
  969. "application/json"
  970. ],
  971. "tags": [
  972. "风险管理v3"
  973. ],
  974. "summary": "新增客户申请",
  975. "parameters": [
  976. {
  977. "description": "申请参数",
  978. "name": "jsonBody",
  979. "in": "body",
  980. "required": true,
  981. "schema": {
  982. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  983. }
  984. }
  985. ],
  986. "responses": {
  987. "200": {
  988. "description": "OK",
  989. "schema": {
  990. "$ref": "#/definitions/app.Response"
  991. }
  992. },
  993. "500": {
  994. "description": "Internal Server Error",
  995. "schema": {
  996. "$ref": "#/definitions/app.Response"
  997. }
  998. }
  999. }
  1000. }
  1001. },
  1002. "/Erms3/QueryBusinessInfo": {
  1003. "get": {
  1004. "security": [
  1005. {
  1006. "ApiKeyAuth": []
  1007. }
  1008. ],
  1009. "produces": [
  1010. "application/json"
  1011. ],
  1012. "tags": [
  1013. "风险管理v3"
  1014. ],
  1015. "summary": "查询业务表单数据",
  1016. "parameters": [
  1017. {
  1018. "type": "string",
  1019. "description": "资金账号ID列表,用逗号分隔",
  1020. "name": "accountids",
  1021. "in": "query",
  1022. "required": true
  1023. },
  1024. {
  1025. "type": "integer",
  1026. "description": "状态,0为未结束 1为已结束",
  1027. "name": "status",
  1028. "in": "query",
  1029. "required": true
  1030. }
  1031. ],
  1032. "responses": {
  1033. "200": {
  1034. "description": "OK",
  1035. "schema": {
  1036. "type": "array",
  1037. "items": {
  1038. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  1039. }
  1040. }
  1041. },
  1042. "500": {
  1043. "description": "Internal Server Error",
  1044. "schema": {
  1045. "$ref": "#/definitions/app.Response"
  1046. }
  1047. }
  1048. }
  1049. }
  1050. },
  1051. "/Erms3/QueryPendingAuditContract": {
  1052. "get": {
  1053. "security": [
  1054. {
  1055. "ApiKeyAuth": []
  1056. }
  1057. ],
  1058. "produces": [
  1059. "application/json"
  1060. ],
  1061. "tags": [
  1062. "风险管理v3"
  1063. ],
  1064. "summary": "查询待审核合同",
  1065. "parameters": [
  1066. {
  1067. "type": "string",
  1068. "description": "资金账号ID列表,逗号隔开",
  1069. "name": "accountids",
  1070. "in": "query",
  1071. "required": true
  1072. },
  1073. {
  1074. "type": "integer",
  1075. "description": "合同类型 1-采购 -1-销售",
  1076. "name": "contracttype",
  1077. "in": "query",
  1078. "required": true
  1079. },
  1080. {
  1081. "type": "integer",
  1082. "description": "合同模式 1-普通 2-回购",
  1083. "name": "contractmode",
  1084. "in": "query",
  1085. "required": true
  1086. }
  1087. ],
  1088. "responses": {
  1089. "200": {
  1090. "description": "OK",
  1091. "schema": {
  1092. "type": "array",
  1093. "items": {
  1094. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  1095. }
  1096. }
  1097. },
  1098. "500": {
  1099. "description": "Internal Server Error",
  1100. "schema": {
  1101. "$ref": "#/definitions/app.Response"
  1102. }
  1103. }
  1104. }
  1105. }
  1106. },
  1107. "/Erms3/QueryPendingBusiness": {
  1108. "get": {
  1109. "security": [
  1110. {
  1111. "ApiKeyAuth": []
  1112. }
  1113. ],
  1114. "produces": [
  1115. "application/json"
  1116. ],
  1117. "tags": [
  1118. "风险管理v3"
  1119. ],
  1120. "summary": "查询待审核基差贸易业务",
  1121. "parameters": [
  1122. {
  1123. "type": "string",
  1124. "description": "资金账号ID列表,逗号隔开",
  1125. "name": "accountids",
  1126. "in": "query",
  1127. "required": true
  1128. }
  1129. ],
  1130. "responses": {
  1131. "200": {
  1132. "description": "OK",
  1133. "schema": {
  1134. "type": "array",
  1135. "items": {
  1136. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  1137. }
  1138. }
  1139. },
  1140. "500": {
  1141. "description": "Internal Server Error",
  1142. "schema": {
  1143. "$ref": "#/definitions/app.Response"
  1144. }
  1145. }
  1146. }
  1147. }
  1148. },
  1149. "/Erms3/QuerySpotContractAppleForm": {
  1150. "get": {
  1151. "security": [
  1152. {
  1153. "ApiKeyAuth": []
  1154. }
  1155. ],
  1156. "produces": [
  1157. "application/json"
  1158. ],
  1159. "tags": [
  1160. "风险管理v3"
  1161. ],
  1162. "summary": "查询合同申请表单数据",
  1163. "parameters": [
  1164. {
  1165. "type": "integer",
  1166. "description": "登录账号",
  1167. "name": "loginID",
  1168. "in": "query",
  1169. "required": true
  1170. }
  1171. ],
  1172. "responses": {
  1173. "200": {
  1174. "description": "OK",
  1175. "schema": {
  1176. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  1177. }
  1178. },
  1179. "500": {
  1180. "description": "Internal Server Error",
  1181. "schema": {
  1182. "$ref": "#/definitions/app.Response"
  1183. }
  1184. }
  1185. }
  1186. }
  1187. },
  1188. "/Erms3/QuerySpotContractDetail": {
  1189. "get": {
  1190. "security": [
  1191. {
  1192. "ApiKeyAuth": []
  1193. }
  1194. ],
  1195. "produces": [
  1196. "application/json"
  1197. ],
  1198. "tags": [
  1199. "风险管理v3"
  1200. ],
  1201. "summary": "查询合同详细信息",
  1202. "parameters": [
  1203. {
  1204. "type": "string",
  1205. "description": "资金账号ID列表,用逗号分隔",
  1206. "name": "accountids",
  1207. "in": "query",
  1208. "required": true
  1209. },
  1210. {
  1211. "type": "integer",
  1212. "description": "合同类型,1为采购合同 -1为销售合同",
  1213. "name": "contracttype",
  1214. "in": "query",
  1215. "required": true
  1216. },
  1217. {
  1218. "type": "integer",
  1219. "description": "合同模式,1为普通合同 2为回购销售合同",
  1220. "name": "contractmode",
  1221. "in": "query",
  1222. "required": true
  1223. },
  1224. {
  1225. "type": "integer",
  1226. "description": "状态,0为履约中 1为已完成",
  1227. "name": "status",
  1228. "in": "query",
  1229. "required": true
  1230. }
  1231. ],
  1232. "responses": {
  1233. "200": {
  1234. "description": "OK",
  1235. "schema": {
  1236. "type": "array",
  1237. "items": {
  1238. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  1239. }
  1240. }
  1241. },
  1242. "500": {
  1243. "description": "Internal Server Error",
  1244. "schema": {
  1245. "$ref": "#/definitions/app.Response"
  1246. }
  1247. }
  1248. }
  1249. }
  1250. },
  1251. "/Erms3/QueryUserInfoApplies": {
  1252. "get": {
  1253. "security": [
  1254. {
  1255. "ApiKeyAuth": []
  1256. }
  1257. ],
  1258. "produces": [
  1259. "application/json"
  1260. ],
  1261. "tags": [
  1262. "风险管理v3"
  1263. ],
  1264. "summary": "客户申请信息查询",
  1265. "parameters": [
  1266. {
  1267. "type": "integer",
  1268. "description": "页码",
  1269. "name": "page",
  1270. "in": "query"
  1271. },
  1272. {
  1273. "type": "integer",
  1274. "description": "每页条数",
  1275. "name": "pagesize",
  1276. "in": "query"
  1277. },
  1278. {
  1279. "type": "string",
  1280. "description": "客户名称,支持模糊查询",
  1281. "name": "userName",
  1282. "in": "query"
  1283. }
  1284. ],
  1285. "responses": {
  1286. "200": {
  1287. "description": "OK",
  1288. "schema": {
  1289. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  1290. }
  1291. },
  1292. "500": {
  1293. "description": "Internal Server Error",
  1294. "schema": {
  1295. "$ref": "#/definitions/app.Response"
  1296. }
  1297. }
  1298. }
  1299. }
  1300. },
  1301. "/Erms3/QueryUserInfos": {
  1302. "get": {
  1303. "security": [
  1304. {
  1305. "ApiKeyAuth": []
  1306. }
  1307. ],
  1308. "produces": [
  1309. "application/json"
  1310. ],
  1311. "tags": [
  1312. "风险管理v3"
  1313. ],
  1314. "summary": "客户信息查询",
  1315. "parameters": [
  1316. {
  1317. "type": "integer",
  1318. "description": "页码",
  1319. "name": "page",
  1320. "in": "query"
  1321. },
  1322. {
  1323. "type": "integer",
  1324. "description": "每页条数",
  1325. "name": "pagesize",
  1326. "in": "query"
  1327. },
  1328. {
  1329. "type": "string",
  1330. "description": "客户名称,支持模糊查询",
  1331. "name": "userName",
  1332. "in": "query"
  1333. }
  1334. ],
  1335. "responses": {
  1336. "200": {
  1337. "description": "OK",
  1338. "schema": {
  1339. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  1340. }
  1341. },
  1342. "500": {
  1343. "description": "Internal Server Error",
  1344. "schema": {
  1345. "$ref": "#/definitions/app.Response"
  1346. }
  1347. }
  1348. }
  1349. }
  1350. },
  1351. "/HSBY/GetHsbyMyCount": {
  1352. "get": {
  1353. "security": [
  1354. {
  1355. "ApiKeyAuth": []
  1356. }
  1357. ],
  1358. "description": "说明: 不包括已完成的数量。",
  1359. "produces": [
  1360. "application/json"
  1361. ],
  1362. "tags": [
  1363. "定制【海商报业】"
  1364. ],
  1365. "summary": "获取我的订单与包裹数量",
  1366. "parameters": [
  1367. {
  1368. "type": "string",
  1369. "description": "资金账户列表,格式:1,2,3",
  1370. "name": "accountIDs",
  1371. "in": "query",
  1372. "required": true
  1373. }
  1374. ],
  1375. "responses": {
  1376. "200": {
  1377. "description": "OK",
  1378. "schema": {
  1379. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  1380. }
  1381. },
  1382. "500": {
  1383. "description": "Internal Server Error",
  1384. "schema": {
  1385. "$ref": "#/definitions/app.Response"
  1386. }
  1387. }
  1388. }
  1389. }
  1390. },
  1391. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  1392. "get": {
  1393. "security": [
  1394. {
  1395. "ApiKeyAuth": []
  1396. }
  1397. ],
  1398. "produces": [
  1399. "application/json"
  1400. ],
  1401. "tags": [
  1402. "定制【海商报业】"
  1403. ],
  1404. "summary": "查询\"我的订单 - 已完成\"单据信息",
  1405. "parameters": [
  1406. {
  1407. "type": "integer",
  1408. "description": "页码",
  1409. "name": "page",
  1410. "in": "query"
  1411. },
  1412. {
  1413. "type": "integer",
  1414. "description": "每页条数",
  1415. "name": "pagesize",
  1416. "in": "query"
  1417. },
  1418. {
  1419. "type": "string",
  1420. "description": "资金账户列表,格式:1,2,3",
  1421. "name": "accountIDs",
  1422. "in": "query",
  1423. "required": true
  1424. }
  1425. ],
  1426. "responses": {
  1427. "200": {
  1428. "description": "OK",
  1429. "schema": {
  1430. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  1431. }
  1432. },
  1433. "500": {
  1434. "description": "Internal Server Error",
  1435. "schema": {
  1436. "$ref": "#/definitions/app.Response"
  1437. }
  1438. }
  1439. }
  1440. }
  1441. },
  1442. "/HSBY/QueryHsbyGoodsOrderDetails": {
  1443. "get": {
  1444. "security": [
  1445. {
  1446. "ApiKeyAuth": []
  1447. }
  1448. ],
  1449. "description": "说明:查询结果已按委托价格和委托时间排序",
  1450. "produces": [
  1451. "application/json"
  1452. ],
  1453. "tags": [
  1454. "定制【海商报业】"
  1455. ],
  1456. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  1457. "parameters": [
  1458. {
  1459. "type": "integer",
  1460. "description": "商品ID",
  1461. "name": "goodsID",
  1462. "in": "query",
  1463. "required": true
  1464. },
  1465. {
  1466. "type": "string",
  1467. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  1468. "name": "accountIDs",
  1469. "in": "query"
  1470. },
  1471. {
  1472. "type": "integer",
  1473. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  1474. "name": "buyOrSell",
  1475. "in": "query"
  1476. },
  1477. {
  1478. "type": "number",
  1479. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  1480. "name": "price",
  1481. "in": "query"
  1482. },
  1483. {
  1484. "type": "integer",
  1485. "description": "档位,不传则默认为3档",
  1486. "name": "speed",
  1487. "in": "query"
  1488. }
  1489. ],
  1490. "responses": {
  1491. "200": {
  1492. "description": "OK",
  1493. "schema": {
  1494. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  1495. }
  1496. },
  1497. "500": {
  1498. "description": "Internal Server Error",
  1499. "schema": {
  1500. "$ref": "#/definitions/app.Response"
  1501. }
  1502. }
  1503. }
  1504. }
  1505. },
  1506. "/HSBY/QueryHsbyListingGoodsDetail": {
  1507. "get": {
  1508. "security": [
  1509. {
  1510. "ApiKeyAuth": []
  1511. }
  1512. ],
  1513. "produces": [
  1514. "application/json"
  1515. ],
  1516. "tags": [
  1517. "定制【海商报业】"
  1518. ],
  1519. "summary": "查询二级市场(挂牌点选)商品信息详情",
  1520. "parameters": [
  1521. {
  1522. "type": "integer",
  1523. "description": "商品ID",
  1524. "name": "goodsID",
  1525. "in": "query",
  1526. "required": true
  1527. },
  1528. {
  1529. "type": "integer",
  1530. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  1531. "name": "AccountID",
  1532. "in": "query"
  1533. }
  1534. ],
  1535. "responses": {
  1536. "200": {
  1537. "description": "OK",
  1538. "schema": {
  1539. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  1540. }
  1541. },
  1542. "500": {
  1543. "description": "Internal Server Error",
  1544. "schema": {
  1545. "$ref": "#/definitions/app.Response"
  1546. }
  1547. }
  1548. }
  1549. }
  1550. },
  1551. "/HSBY/QueryHsbyMarketGoodses": {
  1552. "get": {
  1553. "security": [
  1554. {
  1555. "ApiKeyAuth": []
  1556. }
  1557. ],
  1558. "produces": [
  1559. "application/json"
  1560. ],
  1561. "tags": [
  1562. "定制【海商报业】"
  1563. ],
  1564. "summary": "查询特卖商品列表(三级商城)",
  1565. "parameters": [
  1566. {
  1567. "type": "integer",
  1568. "description": "页码",
  1569. "name": "page",
  1570. "in": "query"
  1571. },
  1572. {
  1573. "type": "integer",
  1574. "description": "每页条数",
  1575. "name": "pagesize",
  1576. "in": "query"
  1577. },
  1578. {
  1579. "type": "string",
  1580. "description": "市场ID列表,格式:1,2,3",
  1581. "name": "marketIDs",
  1582. "in": "query",
  1583. "required": true
  1584. },
  1585. {
  1586. "type": "integer",
  1587. "description": "资金账户,主要用于判断商品是否有可用的优惠卷;如未登录可不传。",
  1588. "name": "accountID",
  1589. "in": "query"
  1590. },
  1591. {
  1592. "type": "integer",
  1593. "description": "类别ID",
  1594. "name": "categoryID",
  1595. "in": "query"
  1596. }
  1597. ],
  1598. "responses": {
  1599. "200": {
  1600. "description": "OK",
  1601. "schema": {
  1602. "$ref": "#/definitions/models.HsbyMarketGoods"
  1603. }
  1604. },
  1605. "500": {
  1606. "description": "Internal Server Error",
  1607. "schema": {
  1608. "$ref": "#/definitions/app.Response"
  1609. }
  1610. }
  1611. }
  1612. }
  1613. },
  1614. "/HSBY/QueryHsbyMarkets": {
  1615. "get": {
  1616. "security": [
  1617. {
  1618. "ApiKeyAuth": []
  1619. }
  1620. ],
  1621. "produces": [
  1622. "application/json"
  1623. ],
  1624. "tags": [
  1625. "定制【海商报业】"
  1626. ],
  1627. "summary": "查询海商报业相关市场信息",
  1628. "responses": {
  1629. "200": {
  1630. "description": "OK",
  1631. "schema": {
  1632. "$ref": "#/definitions/models.HsbyMarketInfo"
  1633. }
  1634. },
  1635. "500": {
  1636. "description": "Internal Server Error",
  1637. "schema": {
  1638. "$ref": "#/definitions/app.Response"
  1639. }
  1640. }
  1641. }
  1642. }
  1643. },
  1644. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  1645. "get": {
  1646. "security": [
  1647. {
  1648. "ApiKeyAuth": []
  1649. }
  1650. ],
  1651. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  1652. "produces": [
  1653. "application/json"
  1654. ],
  1655. "tags": [
  1656. "定制【海商报业】"
  1657. ],
  1658. "summary": "查询“我的订单”信息",
  1659. "parameters": [
  1660. {
  1661. "type": "string",
  1662. "description": "资金账户列表,格式:1,2,3",
  1663. "name": "accountIDs",
  1664. "in": "query",
  1665. "required": true
  1666. },
  1667. {
  1668. "type": "integer",
  1669. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  1670. "name": "myBuyStatus",
  1671. "in": "query"
  1672. }
  1673. ],
  1674. "responses": {
  1675. "200": {
  1676. "description": "OK",
  1677. "schema": {
  1678. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  1679. }
  1680. },
  1681. "500": {
  1682. "description": "Internal Server Error",
  1683. "schema": {
  1684. "$ref": "#/definitions/app.Response"
  1685. }
  1686. }
  1687. }
  1688. }
  1689. },
  1690. "/HSBY/QueryHsbyMyGoods": {
  1691. "get": {
  1692. "security": [
  1693. {
  1694. "ApiKeyAuth": []
  1695. }
  1696. ],
  1697. "produces": [
  1698. "application/json"
  1699. ],
  1700. "tags": [
  1701. "定制【海商报业】"
  1702. ],
  1703. "summary": "查询“我的商品”信息",
  1704. "parameters": [
  1705. {
  1706. "type": "string",
  1707. "description": "资金账户列表,格式:1,2,3",
  1708. "name": "accountIDs",
  1709. "in": "query",
  1710. "required": true
  1711. }
  1712. ],
  1713. "responses": {
  1714. "200": {
  1715. "description": "OK",
  1716. "schema": {
  1717. "$ref": "#/definitions/models.HsbyMyGoods"
  1718. }
  1719. },
  1720. "500": {
  1721. "description": "Internal Server Error",
  1722. "schema": {
  1723. "$ref": "#/definitions/app.Response"
  1724. }
  1725. }
  1726. }
  1727. }
  1728. },
  1729. "/HSBY/QueryHsbyMyPackages": {
  1730. "get": {
  1731. "security": [
  1732. {
  1733. "ApiKeyAuth": []
  1734. }
  1735. ],
  1736. "produces": [
  1737. "application/json"
  1738. ],
  1739. "tags": [
  1740. "定制【海商报业】"
  1741. ],
  1742. "summary": "查询我的包裹信息",
  1743. "parameters": [
  1744. {
  1745. "type": "string",
  1746. "description": "资金账户列表,格式:1,2,3",
  1747. "name": "accountIDs",
  1748. "in": "query",
  1749. "required": true
  1750. },
  1751. {
  1752. "type": "integer",
  1753. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  1754. "name": "takeOrderStatus",
  1755. "in": "query"
  1756. }
  1757. ],
  1758. "responses": {
  1759. "200": {
  1760. "description": "OK",
  1761. "schema": {
  1762. "$ref": "#/definitions/models.HsbyMyPackage"
  1763. }
  1764. },
  1765. "500": {
  1766. "description": "Internal Server Error",
  1767. "schema": {
  1768. "$ref": "#/definitions/app.Response"
  1769. }
  1770. }
  1771. }
  1772. }
  1773. },
  1774. "/HSBY/QueryHsbyPreGoodsDetail": {
  1775. "get": {
  1776. "security": [
  1777. {
  1778. "ApiKeyAuth": []
  1779. }
  1780. ],
  1781. "produces": [
  1782. "application/json"
  1783. ],
  1784. "tags": [
  1785. "定制【海商报业】"
  1786. ],
  1787. "summary": "查询一级市场(预售)商品信息详情",
  1788. "parameters": [
  1789. {
  1790. "type": "integer",
  1791. "description": "商品ID",
  1792. "name": "goodsID",
  1793. "in": "query",
  1794. "required": true
  1795. },
  1796. {
  1797. "type": "integer",
  1798. "description": "资金账户,主要用于获取预售商品购买上限",
  1799. "name": "accountID",
  1800. "in": "query"
  1801. }
  1802. ],
  1803. "responses": {
  1804. "200": {
  1805. "description": "OK",
  1806. "schema": {
  1807. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  1808. }
  1809. },
  1810. "500": {
  1811. "description": "Internal Server Error",
  1812. "schema": {
  1813. "$ref": "#/definitions/app.Response"
  1814. }
  1815. }
  1816. }
  1817. }
  1818. },
  1819. "/HSBY/QueryHsbyPreGoodses": {
  1820. "get": {
  1821. "security": [
  1822. {
  1823. "ApiKeyAuth": []
  1824. }
  1825. ],
  1826. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  1827. "produces": [
  1828. "application/json"
  1829. ],
  1830. "tags": [
  1831. "定制【海商报业】"
  1832. ],
  1833. "summary": "查询新品上市商品列表(一级市场预售)",
  1834. "parameters": [
  1835. {
  1836. "type": "integer",
  1837. "description": "页码",
  1838. "name": "page",
  1839. "in": "query"
  1840. },
  1841. {
  1842. "type": "integer",
  1843. "description": "每页条数",
  1844. "name": "pagesize",
  1845. "in": "query"
  1846. },
  1847. {
  1848. "type": "string",
  1849. "description": "市场ID列表,格式:1,2,3",
  1850. "name": "marketIDs",
  1851. "in": "query",
  1852. "required": true
  1853. },
  1854. {
  1855. "type": "integer",
  1856. "description": "目的地(省)ID",
  1857. "name": "descProvinceID",
  1858. "in": "query"
  1859. },
  1860. {
  1861. "type": "integer",
  1862. "description": "目的地(市)ID",
  1863. "name": "descCityID",
  1864. "in": "query"
  1865. }
  1866. ],
  1867. "responses": {
  1868. "200": {
  1869. "description": "OK",
  1870. "schema": {
  1871. "$ref": "#/definitions/models.HsbyPreGoods"
  1872. }
  1873. },
  1874. "500": {
  1875. "description": "Internal Server Error",
  1876. "schema": {
  1877. "$ref": "#/definitions/app.Response"
  1878. }
  1879. }
  1880. }
  1881. }
  1882. },
  1883. "/HSBY/QueryHsbySellMyDetails": {
  1884. "get": {
  1885. "security": [
  1886. {
  1887. "ApiKeyAuth": []
  1888. }
  1889. ],
  1890. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  1891. "produces": [
  1892. "application/json"
  1893. ],
  1894. "tags": [
  1895. "定制【海商报业】"
  1896. ],
  1897. "summary": "查询\"我的闲置\"单据信息",
  1898. "parameters": [
  1899. {
  1900. "type": "integer",
  1901. "description": "页码",
  1902. "name": "page",
  1903. "in": "query"
  1904. },
  1905. {
  1906. "type": "integer",
  1907. "description": "每页条数",
  1908. "name": "pagesize",
  1909. "in": "query"
  1910. },
  1911. {
  1912. "type": "string",
  1913. "description": "资金账户列表,格式:1,2,3",
  1914. "name": "accountIDs",
  1915. "in": "query",
  1916. "required": true
  1917. },
  1918. {
  1919. "type": "integer",
  1920. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  1921. "name": "orderType",
  1922. "in": "query"
  1923. }
  1924. ],
  1925. "responses": {
  1926. "200": {
  1927. "description": "OK",
  1928. "schema": {
  1929. "$ref": "#/definitions/models.HsbySellMyDetail"
  1930. }
  1931. },
  1932. "500": {
  1933. "description": "Internal Server Error",
  1934. "schema": {
  1935. "$ref": "#/definitions/app.Response"
  1936. }
  1937. }
  1938. }
  1939. }
  1940. },
  1941. "/HSBY/QueryHsbyTopGoodses": {
  1942. "get": {
  1943. "security": [
  1944. {
  1945. "ApiKeyAuth": []
  1946. }
  1947. ],
  1948. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  1949. "produces": [
  1950. "application/json"
  1951. ],
  1952. "tags": [
  1953. "定制【海商报业】"
  1954. ],
  1955. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  1956. "parameters": [
  1957. {
  1958. "type": "integer",
  1959. "description": "页码",
  1960. "name": "page",
  1961. "in": "query"
  1962. },
  1963. {
  1964. "type": "integer",
  1965. "description": "每页条数",
  1966. "name": "pagesize",
  1967. "in": "query"
  1968. },
  1969. {
  1970. "type": "string",
  1971. "description": "市场ID列表,格式:1,2,3",
  1972. "name": "marketIDs",
  1973. "in": "query",
  1974. "required": true
  1975. },
  1976. {
  1977. "type": "integer",
  1978. "description": "目的地(省)ID",
  1979. "name": "descProvinceID",
  1980. "in": "query"
  1981. },
  1982. {
  1983. "type": "integer",
  1984. "description": "目的地(市)ID",
  1985. "name": "descCityID",
  1986. "in": "query"
  1987. }
  1988. ],
  1989. "responses": {
  1990. "200": {
  1991. "description": "OK",
  1992. "schema": {
  1993. "$ref": "#/definitions/models.HsbyTopGoods"
  1994. }
  1995. },
  1996. "500": {
  1997. "description": "Internal Server Error",
  1998. "schema": {
  1999. "$ref": "#/definitions/app.Response"
  2000. }
  2001. }
  2002. }
  2003. }
  2004. },
  2005. "/HSBY/QueryMyCollectionOrders": {
  2006. "get": {
  2007. "security": [
  2008. {
  2009. "ApiKeyAuth": []
  2010. }
  2011. ],
  2012. "produces": [
  2013. "application/json"
  2014. ],
  2015. "tags": [
  2016. "定制【海商报业】"
  2017. ],
  2018. "summary": "我的闲置中收款信息查询",
  2019. "parameters": [
  2020. {
  2021. "type": "integer",
  2022. "description": "页码",
  2023. "name": "page",
  2024. "in": "query"
  2025. },
  2026. {
  2027. "type": "integer",
  2028. "description": "每页条数",
  2029. "name": "pagesize",
  2030. "in": "query"
  2031. },
  2032. {
  2033. "type": "string",
  2034. "description": "资金账户,格式:1,2,3",
  2035. "name": "accountIDs",
  2036. "in": "query",
  2037. "required": true
  2038. }
  2039. ],
  2040. "responses": {
  2041. "200": {
  2042. "description": "OK",
  2043. "schema": {
  2044. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  2045. }
  2046. },
  2047. "500": {
  2048. "description": "Internal Server Error",
  2049. "schema": {
  2050. "$ref": "#/definitions/app.Response"
  2051. }
  2052. }
  2053. }
  2054. }
  2055. },
  2056. "/HSBY/QueryMyCoupons": {
  2057. "get": {
  2058. "security": [
  2059. {
  2060. "ApiKeyAuth": []
  2061. }
  2062. ],
  2063. "produces": [
  2064. "application/json"
  2065. ],
  2066. "tags": [
  2067. "定制【海商报业】"
  2068. ],
  2069. "summary": "我的优惠卷查询",
  2070. "parameters": [
  2071. {
  2072. "type": "string",
  2073. "description": "资金账户列表,格式:1,2,3",
  2074. "name": "accountIDs",
  2075. "in": "query",
  2076. "required": true
  2077. },
  2078. {
  2079. "type": "integer",
  2080. "description": "商品ID, 一般与sellOrderID配套传入",
  2081. "name": "goodsID",
  2082. "in": "query"
  2083. },
  2084. {
  2085. "type": "integer",
  2086. "description": "卖方UserID",
  2087. "name": "sellUserID",
  2088. "in": "query"
  2089. }
  2090. ],
  2091. "responses": {
  2092. "200": {
  2093. "description": "OK",
  2094. "schema": {
  2095. "$ref": "#/definitions/models.MyCoupon"
  2096. }
  2097. },
  2098. "500": {
  2099. "description": "Internal Server Error",
  2100. "schema": {
  2101. "$ref": "#/definitions/app.Response"
  2102. }
  2103. }
  2104. }
  2105. }
  2106. },
  2107. "/HSBY/QueryMyPayOrders": {
  2108. "get": {
  2109. "security": [
  2110. {
  2111. "ApiKeyAuth": []
  2112. }
  2113. ],
  2114. "produces": [
  2115. "application/json"
  2116. ],
  2117. "tags": [
  2118. "定制【海商报业】"
  2119. ],
  2120. "summary": "获取我的订单中待付款信息",
  2121. "parameters": [
  2122. {
  2123. "type": "integer",
  2124. "description": "页码",
  2125. "name": "page",
  2126. "in": "query"
  2127. },
  2128. {
  2129. "type": "integer",
  2130. "description": "每页条数",
  2131. "name": "pagesize",
  2132. "in": "query"
  2133. },
  2134. {
  2135. "type": "string",
  2136. "description": "资金账户列表,格式:1,2,3",
  2137. "name": "accountIDs",
  2138. "in": "query",
  2139. "required": true
  2140. },
  2141. {
  2142. "type": "integer",
  2143. "description": "买方委托单号",
  2144. "name": "buyOrderID",
  2145. "in": "query"
  2146. },
  2147. {
  2148. "type": "integer",
  2149. "description": "卖方委托单号",
  2150. "name": "sellOrderID",
  2151. "in": "query"
  2152. }
  2153. ],
  2154. "responses": {
  2155. "200": {
  2156. "description": "OK",
  2157. "schema": {
  2158. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  2159. }
  2160. },
  2161. "500": {
  2162. "description": "Internal Server Error",
  2163. "schema": {
  2164. "$ref": "#/definitions/app.Response"
  2165. }
  2166. }
  2167. }
  2168. }
  2169. },
  2170. "/HSBY/QueryProvincesAndCities": {
  2171. "get": {
  2172. "security": [
  2173. {
  2174. "ApiKeyAuth": []
  2175. }
  2176. ],
  2177. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  2178. "produces": [
  2179. "application/json"
  2180. ],
  2181. "tags": [
  2182. "定制【海商报业】"
  2183. ],
  2184. "summary": "查询省市信息(不包括区)",
  2185. "parameters": [
  2186. {
  2187. "type": "integer",
  2188. "description": "省ID",
  2189. "name": "provinceID",
  2190. "in": "query"
  2191. }
  2192. ],
  2193. "responses": {
  2194. "200": {
  2195. "description": "OK",
  2196. "schema": {
  2197. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  2198. }
  2199. },
  2200. "500": {
  2201. "description": "Internal Server Error",
  2202. "schema": {
  2203. "$ref": "#/definitions/app.Response"
  2204. }
  2205. }
  2206. }
  2207. }
  2208. },
  2209. "/HSBY/SetHsbyMyPackagesStatus": {
  2210. "post": {
  2211. "security": [
  2212. {
  2213. "ApiKeyAuth": []
  2214. }
  2215. ],
  2216. "produces": [
  2217. "application/json"
  2218. ],
  2219. "tags": [
  2220. "定制【海商报业】"
  2221. ],
  2222. "summary": "设置我的包裹已收货状态",
  2223. "parameters": [
  2224. {
  2225. "type": "string",
  2226. "description": "提货单号",
  2227. "name": "takeOrderID",
  2228. "in": "query",
  2229. "required": true
  2230. },
  2231. {
  2232. "type": "integer",
  2233. "description": "资金账号",
  2234. "name": "accountID",
  2235. "in": "query",
  2236. "required": true
  2237. }
  2238. ],
  2239. "responses": {
  2240. "200": {
  2241. "description": "OK",
  2242. "schema": {
  2243. "$ref": "#/definitions/app.Response"
  2244. }
  2245. },
  2246. "500": {
  2247. "description": "Internal Server Error",
  2248. "schema": {
  2249. "$ref": "#/definitions/app.Response"
  2250. }
  2251. }
  2252. }
  2253. }
  2254. },
  2255. "/Order/QueryHisTradeDetail": {
  2256. "get": {
  2257. "security": [
  2258. {
  2259. "ApiKeyAuth": []
  2260. }
  2261. ],
  2262. "produces": [
  2263. "application/json"
  2264. ],
  2265. "tags": [
  2266. "通用单据"
  2267. ],
  2268. "summary": "历史成交单查询(合约市场)",
  2269. "parameters": [
  2270. {
  2271. "type": "string",
  2272. "description": "资金账户 - 格式:1,2,3",
  2273. "name": "accountID",
  2274. "in": "query",
  2275. "required": true
  2276. },
  2277. {
  2278. "type": "integer",
  2279. "description": "成交单号",
  2280. "name": "tradeID",
  2281. "in": "query"
  2282. },
  2283. {
  2284. "type": "integer",
  2285. "description": "委托单号",
  2286. "name": "orderID",
  2287. "in": "query"
  2288. },
  2289. {
  2290. "type": "string",
  2291. "description": "交易模式 - 格式:1,2,3",
  2292. "name": "tradeMode",
  2293. "in": "query"
  2294. },
  2295. {
  2296. "type": "integer",
  2297. "description": "委托单据类型",
  2298. "name": "buildType",
  2299. "in": "query"
  2300. },
  2301. {
  2302. "type": "string",
  2303. "description": "成交类别 - 格式:1,2,3",
  2304. "name": "tradeType",
  2305. "in": "query"
  2306. },
  2307. {
  2308. "type": "string",
  2309. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2310. "name": "startDate",
  2311. "in": "query"
  2312. },
  2313. {
  2314. "type": "string",
  2315. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2316. "name": "endDate",
  2317. "in": "query"
  2318. }
  2319. ],
  2320. "responses": {
  2321. "200": {
  2322. "description": "OK",
  2323. "schema": {
  2324. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  2325. }
  2326. },
  2327. "500": {
  2328. "description": "Internal Server Error",
  2329. "schema": {
  2330. "$ref": "#/definitions/app.Response"
  2331. }
  2332. }
  2333. }
  2334. }
  2335. },
  2336. "/Order/QueryHisTradeOrderDetail": {
  2337. "get": {
  2338. "security": [
  2339. {
  2340. "ApiKeyAuth": []
  2341. }
  2342. ],
  2343. "produces": [
  2344. "application/json"
  2345. ],
  2346. "tags": [
  2347. "通用单据"
  2348. ],
  2349. "summary": "历史委托单查询请求(合约市场)",
  2350. "parameters": [
  2351. {
  2352. "type": "string",
  2353. "description": "资金账户 - 格式:1,2,3",
  2354. "name": "accountID",
  2355. "in": "query",
  2356. "required": true
  2357. },
  2358. {
  2359. "type": "string",
  2360. "description": "交易模式 - 格式:1,2,3",
  2361. "name": "tradeMode",
  2362. "in": "query"
  2363. },
  2364. {
  2365. "type": "string",
  2366. "description": "委托状态 - 格式:1,2,3",
  2367. "name": "orderStatus",
  2368. "in": "query"
  2369. },
  2370. {
  2371. "type": "integer",
  2372. "description": "委托单号",
  2373. "name": "orderID",
  2374. "in": "query"
  2375. },
  2376. {
  2377. "type": "string",
  2378. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2379. "name": "startDate",
  2380. "in": "query"
  2381. },
  2382. {
  2383. "type": "string",
  2384. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2385. "name": "endDate",
  2386. "in": "query"
  2387. }
  2388. ],
  2389. "responses": {
  2390. "200": {
  2391. "description": "OK",
  2392. "schema": {
  2393. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  2394. }
  2395. },
  2396. "500": {
  2397. "description": "Internal Server Error",
  2398. "schema": {
  2399. "$ref": "#/definitions/app.Response"
  2400. }
  2401. }
  2402. }
  2403. }
  2404. },
  2405. "/Order/QueryTradeDetail": {
  2406. "get": {
  2407. "security": [
  2408. {
  2409. "ApiKeyAuth": []
  2410. }
  2411. ],
  2412. "produces": [
  2413. "application/json"
  2414. ],
  2415. "tags": [
  2416. "通用单据"
  2417. ],
  2418. "summary": "成交单查询(合约市场)",
  2419. "parameters": [
  2420. {
  2421. "type": "string",
  2422. "description": "资金账户 - 格式:1,2,3",
  2423. "name": "accountID",
  2424. "in": "query",
  2425. "required": true
  2426. },
  2427. {
  2428. "type": "integer",
  2429. "description": "成交单号",
  2430. "name": "tradeID",
  2431. "in": "query"
  2432. },
  2433. {
  2434. "type": "integer",
  2435. "description": "委托单号",
  2436. "name": "orderID",
  2437. "in": "query"
  2438. },
  2439. {
  2440. "type": "string",
  2441. "description": "交易模式 - 格式:1,2,3",
  2442. "name": "tradeMode",
  2443. "in": "query"
  2444. },
  2445. {
  2446. "type": "integer",
  2447. "description": "委托单据类型",
  2448. "name": "buildType",
  2449. "in": "query"
  2450. },
  2451. {
  2452. "type": "string",
  2453. "description": "成交类别 - 格式:1,2,3",
  2454. "name": "tradeType",
  2455. "in": "query"
  2456. }
  2457. ],
  2458. "responses": {
  2459. "200": {
  2460. "description": "OK",
  2461. "schema": {
  2462. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  2463. }
  2464. },
  2465. "500": {
  2466. "description": "Internal Server Error",
  2467. "schema": {
  2468. "$ref": "#/definitions/app.Response"
  2469. }
  2470. }
  2471. }
  2472. }
  2473. },
  2474. "/Order/QueryTradeOrderDetail": {
  2475. "get": {
  2476. "security": [
  2477. {
  2478. "ApiKeyAuth": []
  2479. }
  2480. ],
  2481. "produces": [
  2482. "application/json"
  2483. ],
  2484. "tags": [
  2485. "通用单据"
  2486. ],
  2487. "summary": "委托单查询请求(合约市场)",
  2488. "parameters": [
  2489. {
  2490. "type": "string",
  2491. "description": "资金账户 - 格式:1,2,3",
  2492. "name": "accountID",
  2493. "in": "query",
  2494. "required": true
  2495. },
  2496. {
  2497. "type": "string",
  2498. "description": "交易模式 - 格式:1,2,3",
  2499. "name": "tradeMode",
  2500. "in": "query"
  2501. },
  2502. {
  2503. "type": "string",
  2504. "description": "委托状态 - 格式:1,2,3",
  2505. "name": "orderStatus",
  2506. "in": "query"
  2507. },
  2508. {
  2509. "type": "integer",
  2510. "description": "委托单号",
  2511. "name": "orderID",
  2512. "in": "query"
  2513. }
  2514. ],
  2515. "responses": {
  2516. "200": {
  2517. "description": "OK",
  2518. "schema": {
  2519. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  2520. }
  2521. },
  2522. "500": {
  2523. "description": "Internal Server Error",
  2524. "schema": {
  2525. "$ref": "#/definitions/app.Response"
  2526. }
  2527. }
  2528. }
  2529. }
  2530. },
  2531. "/Order/QueryTradePosition": {
  2532. "get": {
  2533. "security": [
  2534. {
  2535. "ApiKeyAuth": []
  2536. }
  2537. ],
  2538. "produces": [
  2539. "application/json"
  2540. ],
  2541. "tags": [
  2542. "通用单据"
  2543. ],
  2544. "summary": "持仓汇总查询(合约市场)",
  2545. "parameters": [
  2546. {
  2547. "type": "string",
  2548. "description": "资金账户 - 格式:1,2,3",
  2549. "name": "accountID",
  2550. "in": "query",
  2551. "required": true
  2552. },
  2553. {
  2554. "type": "string",
  2555. "description": "交易模式 - 格式:1,2,3",
  2556. "name": "tradeMode",
  2557. "in": "query"
  2558. }
  2559. ],
  2560. "responses": {
  2561. "200": {
  2562. "description": "OK",
  2563. "schema": {
  2564. "$ref": "#/definitions/order.QueryTradePositionRsp"
  2565. }
  2566. },
  2567. "500": {
  2568. "description": "Internal Server Error",
  2569. "schema": {
  2570. "$ref": "#/definitions/app.Response"
  2571. }
  2572. }
  2573. }
  2574. }
  2575. },
  2576. "/Quote/QueryHistoryDatas": {
  2577. "get": {
  2578. "security": [
  2579. {
  2580. "ApiKeyAuth": []
  2581. }
  2582. ],
  2583. "produces": [
  2584. "application/json"
  2585. ],
  2586. "tags": [
  2587. "行情服务"
  2588. ],
  2589. "summary": "查询行情历史数据",
  2590. "parameters": [
  2591. {
  2592. "type": "integer",
  2593. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  2594. "name": "cycleType",
  2595. "in": "query",
  2596. "required": true
  2597. },
  2598. {
  2599. "type": "string",
  2600. "description": "商品代码",
  2601. "name": "goodsCode",
  2602. "in": "query",
  2603. "required": true
  2604. },
  2605. {
  2606. "type": "string",
  2607. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  2608. "name": "startTime",
  2609. "in": "query"
  2610. },
  2611. {
  2612. "type": "string",
  2613. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  2614. "name": "endTime",
  2615. "in": "query"
  2616. },
  2617. {
  2618. "type": "integer",
  2619. "description": "条数",
  2620. "name": "count",
  2621. "in": "query"
  2622. },
  2623. {
  2624. "type": "boolean",
  2625. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  2626. "name": "isAsc",
  2627. "in": "query"
  2628. }
  2629. ],
  2630. "responses": {
  2631. "200": {
  2632. "description": "OK",
  2633. "schema": {
  2634. "$ref": "#/definitions/quote.HistoryData"
  2635. }
  2636. },
  2637. "500": {
  2638. "description": "Internal Server Error",
  2639. "schema": {
  2640. "$ref": "#/definitions/app.Response"
  2641. }
  2642. }
  2643. }
  2644. }
  2645. },
  2646. "/Quote/QueryTSData": {
  2647. "get": {
  2648. "produces": [
  2649. "application/json"
  2650. ],
  2651. "tags": [
  2652. "行情服务"
  2653. ],
  2654. "summary": "分时图数据查询",
  2655. "parameters": [
  2656. {
  2657. "type": "string",
  2658. "description": "商品代码",
  2659. "name": "GoodsCode",
  2660. "in": "query",
  2661. "required": true
  2662. }
  2663. ],
  2664. "responses": {
  2665. "200": {
  2666. "description": "OK",
  2667. "schema": {
  2668. "$ref": "#/definitions/quote.QueryTSDataRsp"
  2669. }
  2670. },
  2671. "500": {
  2672. "description": "Internal Server Error",
  2673. "schema": {
  2674. "$ref": "#/definitions/app.Response"
  2675. }
  2676. }
  2677. }
  2678. }
  2679. },
  2680. "/SZDZ/QueryConvertConfig": {
  2681. "get": {
  2682. "security": [
  2683. {
  2684. "ApiKeyAuth": []
  2685. }
  2686. ],
  2687. "produces": [
  2688. "application/json"
  2689. ],
  2690. "tags": [
  2691. "定制【尚志大宗】"
  2692. ],
  2693. "summary": "查询交易系统转换设置",
  2694. "parameters": [
  2695. {
  2696. "type": "integer",
  2697. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  2698. "name": "convertType",
  2699. "in": "query"
  2700. },
  2701. {
  2702. "type": "string",
  2703. "description": "外部商品代码[JD\\PD]",
  2704. "name": "outerGoodsCode",
  2705. "in": "query"
  2706. },
  2707. {
  2708. "type": "string",
  2709. "description": "内部商品ID列表[交易],格式:1,2,3",
  2710. "name": "innerGoodsIDs",
  2711. "in": "query"
  2712. }
  2713. ],
  2714. "responses": {
  2715. "200": {
  2716. "description": "OK",
  2717. "schema": {
  2718. "$ref": "#/definitions/models.Szdz3convertconfig"
  2719. }
  2720. },
  2721. "500": {
  2722. "description": "Internal Server Error",
  2723. "schema": {
  2724. "$ref": "#/definitions/app.Response"
  2725. }
  2726. }
  2727. }
  2728. }
  2729. },
  2730. "/SZDZ/QueryConvertLog": {
  2731. "get": {
  2732. "security": [
  2733. {
  2734. "ApiKeyAuth": []
  2735. }
  2736. ],
  2737. "produces": [
  2738. "application/json"
  2739. ],
  2740. "tags": [
  2741. "定制【尚志大宗】"
  2742. ],
  2743. "summary": "交易系统转换流水查询",
  2744. "parameters": [
  2745. {
  2746. "type": "string",
  2747. "description": "资金账户 - 格式:1,2,3",
  2748. "name": "accountID",
  2749. "in": "query",
  2750. "required": true
  2751. },
  2752. {
  2753. "type": "string",
  2754. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  2755. "name": "startDate",
  2756. "in": "query"
  2757. },
  2758. {
  2759. "type": "string",
  2760. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  2761. "name": "endDate",
  2762. "in": "query"
  2763. }
  2764. ],
  2765. "responses": {
  2766. "200": {
  2767. "description": "OK",
  2768. "schema": {
  2769. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  2770. }
  2771. },
  2772. "500": {
  2773. "description": "Internal Server Error",
  2774. "schema": {
  2775. "$ref": "#/definitions/app.Response"
  2776. }
  2777. }
  2778. }
  2779. }
  2780. },
  2781. "/SZDZ/QueryGoodsPickup": {
  2782. "get": {
  2783. "security": [
  2784. {
  2785. "ApiKeyAuth": []
  2786. }
  2787. ],
  2788. "produces": [
  2789. "application/json"
  2790. ],
  2791. "tags": [
  2792. "定制【尚志大宗】"
  2793. ],
  2794. "summary": "商品提货单查询",
  2795. "parameters": [
  2796. {
  2797. "type": "string",
  2798. "description": "资金账户 - 格式:1,2,3",
  2799. "name": "accountID",
  2800. "in": "query",
  2801. "required": true
  2802. },
  2803. {
  2804. "type": "integer",
  2805. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2806. "name": "takeOrderStatus",
  2807. "in": "query"
  2808. }
  2809. ],
  2810. "responses": {
  2811. "200": {
  2812. "description": "OK",
  2813. "schema": {
  2814. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  2815. }
  2816. },
  2817. "500": {
  2818. "description": "Internal Server Error",
  2819. "schema": {
  2820. "$ref": "#/definitions/app.Response"
  2821. }
  2822. }
  2823. }
  2824. }
  2825. },
  2826. "/SZDZ/QueryRecieptOrder": {
  2827. "get": {
  2828. "security": [
  2829. {
  2830. "ApiKeyAuth": []
  2831. }
  2832. ],
  2833. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  2834. "produces": [
  2835. "application/json"
  2836. ],
  2837. "tags": [
  2838. "定制【尚志大宗】"
  2839. ],
  2840. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  2841. "parameters": [
  2842. {
  2843. "type": "integer",
  2844. "description": "页码",
  2845. "name": "page",
  2846. "in": "query"
  2847. },
  2848. {
  2849. "type": "integer",
  2850. "description": "每页条数",
  2851. "name": "pagesize",
  2852. "in": "query"
  2853. },
  2854. {
  2855. "type": "integer",
  2856. "description": "商品ID",
  2857. "name": "goodsID",
  2858. "in": "query",
  2859. "required": true
  2860. },
  2861. {
  2862. "type": "string",
  2863. "description": "所属账户名称",
  2864. "name": "accountName",
  2865. "in": "query"
  2866. },
  2867. {
  2868. "type": "integer",
  2869. "description": "市场ID",
  2870. "name": "marketID",
  2871. "in": "query"
  2872. },
  2873. {
  2874. "type": "integer",
  2875. "description": "方向 - 0:买 1:卖",
  2876. "name": "buyorsell",
  2877. "in": "query",
  2878. "required": true
  2879. }
  2880. ],
  2881. "responses": {
  2882. "200": {
  2883. "description": "OK",
  2884. "schema": {
  2885. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  2886. }
  2887. },
  2888. "500": {
  2889. "description": "Internal Server Error",
  2890. "schema": {
  2891. "$ref": "#/definitions/app.Response"
  2892. }
  2893. }
  2894. }
  2895. }
  2896. },
  2897. "/SZDZ/QuerySZDZTradePosition": {
  2898. "get": {
  2899. "security": [
  2900. {
  2901. "ApiKeyAuth": []
  2902. }
  2903. ],
  2904. "produces": [
  2905. "application/json"
  2906. ],
  2907. "tags": [
  2908. "定制【尚志大宗】"
  2909. ],
  2910. "summary": "持仓汇总查询(尚志大宗)",
  2911. "parameters": [
  2912. {
  2913. "type": "integer",
  2914. "description": "资金账户",
  2915. "name": "accountID",
  2916. "in": "query",
  2917. "required": true
  2918. }
  2919. ],
  2920. "responses": {
  2921. "200": {
  2922. "description": "OK",
  2923. "schema": {
  2924. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  2925. }
  2926. },
  2927. "500": {
  2928. "description": "Internal Server Error",
  2929. "schema": {
  2930. "$ref": "#/definitions/app.Response"
  2931. }
  2932. }
  2933. }
  2934. }
  2935. },
  2936. "/SZDZ/SearchWhite": {
  2937. "get": {
  2938. "security": [
  2939. {
  2940. "ApiKeyAuth": []
  2941. }
  2942. ],
  2943. "produces": [
  2944. "application/json"
  2945. ],
  2946. "tags": [
  2947. "定制【尚志大宗】"
  2948. ],
  2949. "summary": "搜索白名单",
  2950. "parameters": [
  2951. {
  2952. "type": "integer",
  2953. "description": "用户ID",
  2954. "name": "userID",
  2955. "in": "query",
  2956. "required": true
  2957. }
  2958. ],
  2959. "responses": {
  2960. "200": {
  2961. "description": "OK",
  2962. "schema": {
  2963. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  2964. }
  2965. },
  2966. "500": {
  2967. "description": "Internal Server Error",
  2968. "schema": {
  2969. "$ref": "#/definitions/app.Response"
  2970. }
  2971. }
  2972. }
  2973. }
  2974. },
  2975. "/Search/SearchGoodses": {
  2976. "get": {
  2977. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  2978. "produces": [
  2979. "application/json"
  2980. ],
  2981. "tags": [
  2982. "检索服务"
  2983. ],
  2984. "summary": "检索商品信息",
  2985. "parameters": [
  2986. {
  2987. "type": "string",
  2988. "description": "检索内容",
  2989. "name": "content",
  2990. "in": "query",
  2991. "required": true
  2992. },
  2993. {
  2994. "type": "string",
  2995. "description": "交易模式,格式:1,2,3",
  2996. "name": "tradeModes",
  2997. "in": "query"
  2998. }
  2999. ],
  3000. "responses": {
  3001. "200": {
  3002. "description": "OK",
  3003. "schema": {
  3004. "$ref": "#/definitions/models.SearchGoods"
  3005. }
  3006. },
  3007. "500": {
  3008. "description": "Internal Server Error",
  3009. "schema": {
  3010. "$ref": "#/definitions/app.Response"
  3011. }
  3012. }
  3013. }
  3014. }
  3015. },
  3016. "/TaAccount/QueryAmountLog": {
  3017. "get": {
  3018. "security": [
  3019. {
  3020. "ApiKeyAuth": []
  3021. }
  3022. ],
  3023. "produces": [
  3024. "application/json"
  3025. ],
  3026. "tags": [
  3027. "资金账户"
  3028. ],
  3029. "summary": "资金流水查询(当前)",
  3030. "parameters": [
  3031. {
  3032. "type": "integer",
  3033. "description": "页码",
  3034. "name": "page",
  3035. "in": "query"
  3036. },
  3037. {
  3038. "type": "integer",
  3039. "description": "每页条数",
  3040. "name": "pagesize",
  3041. "in": "query"
  3042. },
  3043. {
  3044. "type": "string",
  3045. "description": "资金账户 - 格式:1,2,3",
  3046. "name": "accountID",
  3047. "in": "query",
  3048. "required": true
  3049. },
  3050. {
  3051. "type": "string",
  3052. "description": "资金操作类型 - 格式:1,2,3",
  3053. "name": "OperateType",
  3054. "in": "query"
  3055. }
  3056. ],
  3057. "responses": {
  3058. "200": {
  3059. "description": "OK",
  3060. "schema": {
  3061. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  3062. }
  3063. },
  3064. "500": {
  3065. "description": "Internal Server Error",
  3066. "schema": {
  3067. "$ref": "#/definitions/app.Response"
  3068. }
  3069. }
  3070. }
  3071. }
  3072. },
  3073. "/TaAccount/QueryHisAmountLog": {
  3074. "get": {
  3075. "security": [
  3076. {
  3077. "ApiKeyAuth": []
  3078. }
  3079. ],
  3080. "produces": [
  3081. "application/json"
  3082. ],
  3083. "tags": [
  3084. "资金账户"
  3085. ],
  3086. "summary": "资金流水查询(历史)",
  3087. "parameters": [
  3088. {
  3089. "type": "integer",
  3090. "description": "页码",
  3091. "name": "page",
  3092. "in": "query"
  3093. },
  3094. {
  3095. "type": "integer",
  3096. "description": "每页条数",
  3097. "name": "pagesize",
  3098. "in": "query"
  3099. },
  3100. {
  3101. "type": "string",
  3102. "description": "资金账户 - 格式:1,2,3",
  3103. "name": "accountID",
  3104. "in": "query",
  3105. "required": true
  3106. },
  3107. {
  3108. "type": "string",
  3109. "description": "资金操作类型 - 格式:1,2,3",
  3110. "name": "OperateType",
  3111. "in": "query"
  3112. },
  3113. {
  3114. "type": "string",
  3115. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3116. "name": "startDate",
  3117. "in": "query"
  3118. },
  3119. {
  3120. "type": "string",
  3121. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3122. "name": "endDate",
  3123. "in": "query"
  3124. }
  3125. ],
  3126. "responses": {
  3127. "200": {
  3128. "description": "OK",
  3129. "schema": {
  3130. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  3131. }
  3132. },
  3133. "500": {
  3134. "description": "Internal Server Error",
  3135. "schema": {
  3136. "$ref": "#/definitions/app.Response"
  3137. }
  3138. }
  3139. }
  3140. }
  3141. },
  3142. "/Trade/QueryRecieptOrder": {
  3143. "get": {
  3144. "security": [
  3145. {
  3146. "ApiKeyAuth": []
  3147. }
  3148. ],
  3149. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3150. "produces": [
  3151. "application/json"
  3152. ],
  3153. "tags": [
  3154. "通用交易"
  3155. ],
  3156. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  3157. "parameters": [
  3158. {
  3159. "type": "integer",
  3160. "description": "页码",
  3161. "name": "page",
  3162. "in": "query"
  3163. },
  3164. {
  3165. "type": "integer",
  3166. "description": "每页条数",
  3167. "name": "pagesize",
  3168. "in": "query"
  3169. },
  3170. {
  3171. "type": "integer",
  3172. "description": "商品ID",
  3173. "name": "goodsID",
  3174. "in": "query",
  3175. "required": true
  3176. },
  3177. {
  3178. "type": "string",
  3179. "description": "所属账户名称",
  3180. "name": "accountName",
  3181. "in": "query"
  3182. },
  3183. {
  3184. "type": "integer",
  3185. "description": "市场ID",
  3186. "name": "marketID",
  3187. "in": "query"
  3188. },
  3189. {
  3190. "type": "integer",
  3191. "description": "方向 - 0:买 1:卖",
  3192. "name": "buyorsell",
  3193. "in": "query",
  3194. "required": true
  3195. }
  3196. ],
  3197. "responses": {
  3198. "200": {
  3199. "description": "OK",
  3200. "schema": {
  3201. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  3202. }
  3203. },
  3204. "500": {
  3205. "description": "Internal Server Error",
  3206. "schema": {
  3207. "$ref": "#/definitions/app.Response"
  3208. }
  3209. }
  3210. }
  3211. }
  3212. },
  3213. "/User/AddMessageBoard": {
  3214. "post": {
  3215. "security": [
  3216. {
  3217. "ApiKeyAuth": []
  3218. }
  3219. ],
  3220. "produces": [
  3221. "application/json"
  3222. ],
  3223. "tags": [
  3224. "用户信息"
  3225. ],
  3226. "summary": "添加用户留言板信息",
  3227. "parameters": [
  3228. {
  3229. "type": "integer",
  3230. "description": "用户ID",
  3231. "name": "userID",
  3232. "in": "query",
  3233. "required": true
  3234. },
  3235. {
  3236. "type": "string",
  3237. "description": "留言信息",
  3238. "name": "message",
  3239. "in": "query",
  3240. "required": true
  3241. }
  3242. ],
  3243. "responses": {
  3244. "200": {
  3245. "description": "OK",
  3246. "schema": {
  3247. "$ref": "#/definitions/app.Response"
  3248. }
  3249. },
  3250. "500": {
  3251. "description": "Internal Server Error",
  3252. "schema": {
  3253. "$ref": "#/definitions/app.Response"
  3254. }
  3255. }
  3256. }
  3257. }
  3258. },
  3259. "/User/AddUserFavoriteGoods": {
  3260. "post": {
  3261. "security": [
  3262. {
  3263. "ApiKeyAuth": []
  3264. }
  3265. ],
  3266. "produces": [
  3267. "application/json"
  3268. ],
  3269. "tags": [
  3270. "用户信息"
  3271. ],
  3272. "summary": "添加用户商品收藏信息",
  3273. "parameters": [
  3274. {
  3275. "type": "integer",
  3276. "description": "用户ID",
  3277. "name": "userID",
  3278. "in": "query",
  3279. "required": true
  3280. },
  3281. {
  3282. "type": "integer",
  3283. "description": "商品ID",
  3284. "name": "goodsID",
  3285. "in": "query",
  3286. "required": true
  3287. }
  3288. ],
  3289. "responses": {
  3290. "200": {
  3291. "description": "OK",
  3292. "schema": {
  3293. "$ref": "#/definitions/app.Response"
  3294. }
  3295. },
  3296. "500": {
  3297. "description": "Internal Server Error",
  3298. "schema": {
  3299. "$ref": "#/definitions/app.Response"
  3300. }
  3301. }
  3302. }
  3303. }
  3304. },
  3305. "/User/GetLoginID": {
  3306. "get": {
  3307. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  3308. "produces": [
  3309. "application/json"
  3310. ],
  3311. "tags": [
  3312. "用户信息"
  3313. ],
  3314. "summary": "获取登录ID",
  3315. "parameters": [
  3316. {
  3317. "type": "string",
  3318. "description": "登录代码",
  3319. "name": "username",
  3320. "in": "query",
  3321. "required": true
  3322. }
  3323. ],
  3324. "responses": {
  3325. "200": {
  3326. "description": "OK",
  3327. "schema": {
  3328. "$ref": "#/definitions/app.Response"
  3329. }
  3330. },
  3331. "500": {
  3332. "description": "Internal Server Error",
  3333. "schema": {
  3334. "$ref": "#/definitions/app.Response"
  3335. }
  3336. }
  3337. }
  3338. }
  3339. },
  3340. "/User/GetUserAccount": {
  3341. "get": {
  3342. "security": [
  3343. {
  3344. "ApiKeyAuth": []
  3345. }
  3346. ],
  3347. "produces": [
  3348. "application/json"
  3349. ],
  3350. "tags": [
  3351. "用户信息"
  3352. ],
  3353. "summary": "获取用户账号信息",
  3354. "parameters": [
  3355. {
  3356. "type": "integer",
  3357. "description": "用户ID",
  3358. "name": "userID",
  3359. "in": "query",
  3360. "required": true
  3361. }
  3362. ],
  3363. "responses": {
  3364. "200": {
  3365. "description": "OK",
  3366. "schema": {
  3367. "$ref": "#/definitions/models.Useraccount"
  3368. }
  3369. },
  3370. "500": {
  3371. "description": "Internal Server Error",
  3372. "schema": {
  3373. "$ref": "#/definitions/app.Response"
  3374. }
  3375. }
  3376. }
  3377. }
  3378. },
  3379. "/User/GetUserAuthStatus": {
  3380. "get": {
  3381. "security": [
  3382. {
  3383. "ApiKeyAuth": []
  3384. }
  3385. ],
  3386. "produces": [
  3387. "application/json"
  3388. ],
  3389. "tags": [
  3390. "用户信息"
  3391. ],
  3392. "summary": "获取用户实名认证状态",
  3393. "parameters": [
  3394. {
  3395. "type": "integer",
  3396. "description": "用户ID",
  3397. "name": "userID",
  3398. "in": "query",
  3399. "required": true
  3400. }
  3401. ],
  3402. "responses": {
  3403. "200": {
  3404. "description": "OK",
  3405. "schema": {
  3406. "$ref": "#/definitions/app.Response"
  3407. }
  3408. },
  3409. "500": {
  3410. "description": "Internal Server Error",
  3411. "schema": {
  3412. "$ref": "#/definitions/app.Response"
  3413. }
  3414. }
  3415. }
  3416. }
  3417. },
  3418. "/User/QueryMessageBoard": {
  3419. "get": {
  3420. "security": [
  3421. {
  3422. "ApiKeyAuth": []
  3423. }
  3424. ],
  3425. "produces": [
  3426. "application/json"
  3427. ],
  3428. "tags": [
  3429. "用户信息"
  3430. ],
  3431. "summary": "获取用户留言板信息",
  3432. "parameters": [
  3433. {
  3434. "type": "integer",
  3435. "description": "用户ID",
  3436. "name": "userID",
  3437. "in": "query",
  3438. "required": true
  3439. }
  3440. ],
  3441. "responses": {
  3442. "200": {
  3443. "description": "OK",
  3444. "schema": {
  3445. "$ref": "#/definitions/models.Messageboard"
  3446. }
  3447. },
  3448. "500": {
  3449. "description": "Internal Server Error",
  3450. "schema": {
  3451. "$ref": "#/definitions/app.Response"
  3452. }
  3453. }
  3454. }
  3455. }
  3456. },
  3457. "/User/QueryUserFavoriteGoodses": {
  3458. "get": {
  3459. "security": [
  3460. {
  3461. "ApiKeyAuth": []
  3462. }
  3463. ],
  3464. "produces": [
  3465. "application/json"
  3466. ],
  3467. "tags": [
  3468. "用户信息"
  3469. ],
  3470. "summary": "获取用户商品收藏信息",
  3471. "parameters": [
  3472. {
  3473. "type": "integer",
  3474. "description": "用户ID",
  3475. "name": "userID",
  3476. "in": "query",
  3477. "required": true
  3478. }
  3479. ],
  3480. "responses": {
  3481. "200": {
  3482. "description": "OK",
  3483. "schema": {
  3484. "$ref": "#/definitions/models.Userfavoritegoods"
  3485. }
  3486. },
  3487. "500": {
  3488. "description": "Internal Server Error",
  3489. "schema": {
  3490. "$ref": "#/definitions/app.Response"
  3491. }
  3492. }
  3493. }
  3494. }
  3495. },
  3496. "/User/QueryUserInfo": {
  3497. "get": {
  3498. "security": [
  3499. {
  3500. "ApiKeyAuth": []
  3501. }
  3502. ],
  3503. "produces": [
  3504. "application/json"
  3505. ],
  3506. "tags": [
  3507. "用户信息"
  3508. ],
  3509. "summary": "获取用户信息",
  3510. "parameters": [
  3511. {
  3512. "type": "integer",
  3513. "description": "用户ID",
  3514. "name": "userID",
  3515. "in": "query",
  3516. "required": true
  3517. }
  3518. ],
  3519. "responses": {
  3520. "200": {
  3521. "description": "OK",
  3522. "schema": {
  3523. "$ref": "#/definitions/models.Userinfo"
  3524. }
  3525. },
  3526. "500": {
  3527. "description": "Internal Server Error",
  3528. "schema": {
  3529. "$ref": "#/definitions/app.Response"
  3530. }
  3531. }
  3532. }
  3533. }
  3534. },
  3535. "/User/QueryUserReferNum": {
  3536. "get": {
  3537. "produces": [
  3538. "application/json"
  3539. ],
  3540. "tags": [
  3541. "用户信息"
  3542. ],
  3543. "summary": "获取用户邀请码",
  3544. "parameters": [
  3545. {
  3546. "type": "integer",
  3547. "description": "用户ID",
  3548. "name": "userID",
  3549. "in": "query",
  3550. "required": true
  3551. }
  3552. ],
  3553. "responses": {
  3554. "200": {
  3555. "description": "OK",
  3556. "schema": {
  3557. "$ref": "#/definitions/app.Response"
  3558. }
  3559. },
  3560. "500": {
  3561. "description": "Internal Server Error",
  3562. "schema": {
  3563. "$ref": "#/definitions/app.Response"
  3564. }
  3565. }
  3566. }
  3567. }
  3568. },
  3569. "/User/RemoveUserFavoriteGoods": {
  3570. "post": {
  3571. "security": [
  3572. {
  3573. "ApiKeyAuth": []
  3574. }
  3575. ],
  3576. "produces": [
  3577. "application/json"
  3578. ],
  3579. "tags": [
  3580. "用户信息"
  3581. ],
  3582. "summary": "移除用户商品收藏信息",
  3583. "parameters": [
  3584. {
  3585. "type": "integer",
  3586. "description": "用户ID",
  3587. "name": "userID",
  3588. "in": "query",
  3589. "required": true
  3590. },
  3591. {
  3592. "type": "integer",
  3593. "description": "商品ID",
  3594. "name": "goodsID",
  3595. "in": "query",
  3596. "required": true
  3597. }
  3598. ],
  3599. "responses": {
  3600. "200": {
  3601. "description": "OK",
  3602. "schema": {
  3603. "$ref": "#/definitions/app.Response"
  3604. }
  3605. },
  3606. "500": {
  3607. "description": "Internal Server Error",
  3608. "schema": {
  3609. "$ref": "#/definitions/app.Response"
  3610. }
  3611. }
  3612. }
  3613. }
  3614. },
  3615. "/WRTrade/GetAllDeliveryGoods": {
  3616. "get": {
  3617. "security": [
  3618. {
  3619. "ApiKeyAuth": []
  3620. },
  3621. {
  3622. "ApiKeyAuth": []
  3623. }
  3624. ],
  3625. "produces": [
  3626. "application/json",
  3627. "application/json"
  3628. ],
  3629. "tags": [
  3630. "仓单贸易",
  3631. "仓单贸易"
  3632. ],
  3633. "summary": "获取带仓单分类的种类信息",
  3634. "responses": {
  3635. "200": {
  3636. "description": "OK",
  3637. "schema": {
  3638. "$ref": "#/definitions/app.Response"
  3639. }
  3640. },
  3641. "500": {
  3642. "description": "Internal Server Error",
  3643. "schema": {
  3644. "$ref": "#/definitions/app.Response"
  3645. }
  3646. }
  3647. }
  3648. }
  3649. }
  3650. },
  3651. "definitions": {
  3652. "app.Response": {
  3653. "type": "object",
  3654. "properties": {
  3655. "code": {
  3656. "type": "integer"
  3657. },
  3658. "data": {
  3659. "type": "object"
  3660. },
  3661. "msg": {
  3662. "type": "string"
  3663. },
  3664. "page": {
  3665. "description": "页码",
  3666. "type": "integer"
  3667. },
  3668. "pagesize": {
  3669. "description": "每页条数",
  3670. "type": "integer"
  3671. },
  3672. "total": {
  3673. "description": "总条数",
  3674. "type": "integer"
  3675. }
  3676. }
  3677. },
  3678. "common.QueryNoticeRsp": {
  3679. "type": "object",
  3680. "required": [
  3681. "autoid"
  3682. ],
  3683. "properties": {
  3684. "auditoruserid": {
  3685. "description": "审核人",
  3686. "type": "integer"
  3687. },
  3688. "auditremark": {
  3689. "description": "审核备注",
  3690. "type": "string"
  3691. },
  3692. "audittime": {
  3693. "description": "审核日期",
  3694. "type": "string"
  3695. },
  3696. "autoid": {
  3697. "description": "自增ID",
  3698. "type": "integer"
  3699. },
  3700. "content": {
  3701. "description": "内容",
  3702. "type": "string"
  3703. },
  3704. "createtime": {
  3705. "description": "创建时间",
  3706. "type": "string"
  3707. },
  3708. "creatorid": {
  3709. "description": "建仓人",
  3710. "type": "integer"
  3711. },
  3712. "endtime": {
  3713. "description": "结束时间",
  3714. "type": "string"
  3715. },
  3716. "istop": {
  3717. "description": "是否置顶 - 0:不置顶 1:置顶",
  3718. "type": "integer"
  3719. },
  3720. "msgiconurl": {
  3721. "description": "消息图标Url",
  3722. "type": "string"
  3723. },
  3724. "msgtype": {
  3725. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  3726. "type": "integer"
  3727. },
  3728. "publisher": {
  3729. "description": "消息发布者",
  3730. "type": "string"
  3731. },
  3732. "readed": {
  3733. "description": "是否已读",
  3734. "type": "boolean"
  3735. },
  3736. "scheduletime": {
  3737. "description": "计划发送时间",
  3738. "type": "string"
  3739. },
  3740. "sendtype": {
  3741. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  3742. "type": "integer"
  3743. },
  3744. "sentstatus": {
  3745. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  3746. "type": "integer"
  3747. },
  3748. "title": {
  3749. "description": "标题",
  3750. "type": "string"
  3751. },
  3752. "userid": {
  3753. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  3754. "type": "integer"
  3755. }
  3756. }
  3757. },
  3758. "common.QueryProvincesAndCitiesRsp": {
  3759. "type": "object",
  3760. "properties": {
  3761. "cities": {
  3762. "description": "市",
  3763. "type": "array",
  3764. "items": {
  3765. "$ref": "#/definitions/models.Division"
  3766. }
  3767. },
  3768. "province": {
  3769. "description": "省",
  3770. "$ref": "#/definitions/models.Division"
  3771. }
  3772. }
  3773. },
  3774. "common.QueryTableDefineRsp": {
  3775. "type": "object",
  3776. "required": [
  3777. "tablekey"
  3778. ],
  3779. "properties": {
  3780. "columns": {
  3781. "description": "列头信息数组",
  3782. "type": "array",
  3783. "items": {
  3784. "$ref": "#/definitions/models.Tablecolumnconfig"
  3785. }
  3786. },
  3787. "remark": {
  3788. "description": "Remark",
  3789. "type": "string"
  3790. },
  3791. "tabelmenu": {
  3792. "description": "列表菜单",
  3793. "type": "string"
  3794. },
  3795. "tablekey": {
  3796. "description": "列表Key",
  3797. "type": "string"
  3798. },
  3799. "tablename": {
  3800. "description": "列表名称",
  3801. "type": "string"
  3802. },
  3803. "tabletype": {
  3804. "description": "列表类型 - 1:管理端 2:终端",
  3805. "type": "integer"
  3806. }
  3807. }
  3808. },
  3809. "common.QueryTraderMenuRsp": {
  3810. "type": "object",
  3811. "properties": {
  3812. "OperationMenu": {
  3813. "description": "功能菜单",
  3814. "type": "array",
  3815. "items": {
  3816. "$ref": "#/definitions/models.OperationPrimaryMenu"
  3817. }
  3818. },
  3819. "QuoteMenu": {
  3820. "description": "报价牌分类菜单",
  3821. "type": "array",
  3822. "items": {
  3823. "$ref": "#/definitions/models.QuotePrimaryMenu"
  3824. }
  3825. }
  3826. }
  3827. },
  3828. "cptrade.Cptradepositioncancel": {
  3829. "type": "object",
  3830. "required": [
  3831. "cancelid"
  3832. ],
  3833. "properties": {
  3834. "accountid": {
  3835. "description": "申请人账户ID",
  3836. "type": "integer"
  3837. },
  3838. "applystatus": {
  3839. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  3840. "type": "integer"
  3841. },
  3842. "applytime": {
  3843. "description": "申请时间",
  3844. "type": "string"
  3845. },
  3846. "cancelid": {
  3847. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  3848. "type": "integer"
  3849. },
  3850. "cancelqty": {
  3851. "description": "注销数量",
  3852. "type": "integer"
  3853. },
  3854. "createtime": {
  3855. "description": "创建时间",
  3856. "type": "string"
  3857. },
  3858. "creatorid": {
  3859. "description": "创建人ID",
  3860. "type": "integer"
  3861. },
  3862. "creatorname": {
  3863. "description": "创建人",
  3864. "type": "string"
  3865. },
  3866. "goodscode": {
  3867. "description": "订单商品代码",
  3868. "type": "string"
  3869. },
  3870. "goodsid": {
  3871. "description": "商品ID",
  3872. "type": "integer"
  3873. },
  3874. "goodsname": {
  3875. "description": "订单商品名称",
  3876. "type": "string"
  3877. },
  3878. "goodunit": {
  3879. "description": "报价单位",
  3880. "type": "string"
  3881. },
  3882. "handlestatus": {
  3883. "description": "处理状态",
  3884. "type": "integer"
  3885. },
  3886. "marketid": {
  3887. "description": "市场ID",
  3888. "type": "integer"
  3889. },
  3890. "marketname": {
  3891. "description": "市场名称",
  3892. "type": "string"
  3893. },
  3894. "tradedate": {
  3895. "description": "交易日(yyyyMMdd)",
  3896. "type": "string"
  3897. },
  3898. "userid": {
  3899. "description": "申请人ID",
  3900. "type": "integer"
  3901. }
  3902. }
  3903. },
  3904. "cptrade.Cptradepresaleapply": {
  3905. "type": "object",
  3906. "required": [
  3907. "applyid"
  3908. ],
  3909. "properties": {
  3910. "accountid": {
  3911. "description": "申请人账户ID",
  3912. "type": "integer"
  3913. },
  3914. "applyid": {
  3915. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  3916. "type": "integer"
  3917. },
  3918. "applyremark": {
  3919. "description": "申请备注",
  3920. "type": "string"
  3921. },
  3922. "applystatus": {
  3923. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  3924. "type": "integer"
  3925. },
  3926. "applytime": {
  3927. "description": "申请时间",
  3928. "type": "string"
  3929. },
  3930. "attachmenturl": {
  3931. "description": "附件地址",
  3932. "type": "string"
  3933. },
  3934. "endtime": {
  3935. "description": "预售结束时间",
  3936. "type": "string"
  3937. },
  3938. "goodscode": {
  3939. "description": "商品代码",
  3940. "type": "string"
  3941. },
  3942. "goodsid": {
  3943. "description": "商品ID",
  3944. "type": "integer"
  3945. },
  3946. "goodsname": {
  3947. "description": "商品名称",
  3948. "type": "string"
  3949. },
  3950. "goodunit": {
  3951. "description": "报价单位",
  3952. "type": "string"
  3953. },
  3954. "handlestatus": {
  3955. "description": "处理状态",
  3956. "type": "integer"
  3957. },
  3958. "marketid": {
  3959. "description": "预售市场ID",
  3960. "type": "integer"
  3961. },
  3962. "marketname": {
  3963. "description": "预售市场名称",
  3964. "type": "string"
  3965. },
  3966. "presaleqty": {
  3967. "description": "预售数量",
  3968. "type": "integer"
  3969. },
  3970. "relatedgoodscode": {
  3971. "description": "关联交易合约代码",
  3972. "type": "string"
  3973. },
  3974. "relatedgoodsid": {
  3975. "description": "关联交易合约ID",
  3976. "type": "integer"
  3977. },
  3978. "relatedgoodsname": {
  3979. "description": "关联交易合约名称",
  3980. "type": "string"
  3981. },
  3982. "starttime": {
  3983. "description": "预售开始时间",
  3984. "type": "string"
  3985. },
  3986. "tradedate": {
  3987. "description": "交易日(yyyyMMdd)",
  3988. "type": "string"
  3989. },
  3990. "trademode": {
  3991. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  3992. "type": "integer"
  3993. },
  3994. "userid": {
  3995. "description": "申请人ID",
  3996. "type": "integer"
  3997. }
  3998. }
  3999. },
  4000. "cptrade.Cptradeusergoodsdata": {
  4001. "type": "object",
  4002. "required": [
  4003. "accountid",
  4004. "goodsid"
  4005. ],
  4006. "properties": {
  4007. "EnabledQty": {
  4008. "description": "可用量",
  4009. "type": "integer"
  4010. },
  4011. "GoodsCode": {
  4012. "description": "订单商品代码",
  4013. "type": "string"
  4014. },
  4015. "GoodsName": {
  4016. "description": "订单商品名称",
  4017. "type": "string"
  4018. },
  4019. "WRStandardCode": {
  4020. "description": "仓单标准代码",
  4021. "type": "string"
  4022. },
  4023. "WRStandardName": {
  4024. "description": "仓单标准名称",
  4025. "type": "string"
  4026. },
  4027. "accountid": {
  4028. "description": "账户ID",
  4029. "type": "integer"
  4030. },
  4031. "cancelqty": {
  4032. "description": "注销量",
  4033. "type": "integer"
  4034. },
  4035. "curpresaleqty": {
  4036. "description": "当前预售量",
  4037. "type": "integer"
  4038. },
  4039. "deliveryqty": {
  4040. "description": "交割量",
  4041. "type": "integer"
  4042. },
  4043. "freezeamount": {
  4044. "description": "冻结金额",
  4045. "type": "number"
  4046. },
  4047. "goodsid": {
  4048. "description": "商品ID",
  4049. "type": "integer"
  4050. },
  4051. "goodunit": {
  4052. "description": "报价单位",
  4053. "type": "string"
  4054. },
  4055. "hasspotfreeze": {
  4056. "description": "是否有现货冻结 - 0:否 1:有",
  4057. "type": "integer"
  4058. },
  4059. "inqty": {
  4060. "description": "转入量(总数量)",
  4061. "type": "integer"
  4062. },
  4063. "marketid": {
  4064. "description": "市场ID",
  4065. "type": "integer"
  4066. },
  4067. "presaledamount": {
  4068. "description": "已预售总金额",
  4069. "type": "integer"
  4070. },
  4071. "presaledqty": {
  4072. "description": "已预售量",
  4073. "type": "integer"
  4074. },
  4075. "userid": {
  4076. "description": "用户ID",
  4077. "type": "integer"
  4078. },
  4079. "wrstandardid": {
  4080. "description": "仓单标准ID",
  4081. "type": "integer"
  4082. }
  4083. }
  4084. },
  4085. "cptrade.QueryCPTradeMyBidRsp": {
  4086. "type": "object",
  4087. "required": [
  4088. "accountid",
  4089. "goodsid",
  4090. "marketid",
  4091. "orderid",
  4092. "orderqty",
  4093. "ordertime",
  4094. "tradeprice",
  4095. "tradeqty"
  4096. ],
  4097. "properties": {
  4098. "accountid": {
  4099. "description": "账户ID[报价币种]",
  4100. "type": "integer"
  4101. },
  4102. "goodsid": {
  4103. "description": "商品ID",
  4104. "type": "integer"
  4105. },
  4106. "goodunit": {
  4107. "description": "报价单位",
  4108. "type": "string"
  4109. },
  4110. "marketid": {
  4111. "description": "市场ID",
  4112. "type": "integer"
  4113. },
  4114. "orderid": {
  4115. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4116. "type": "integer"
  4117. },
  4118. "orderprice": {
  4119. "description": "委托价格",
  4120. "type": "number"
  4121. },
  4122. "orderqty": {
  4123. "description": "委托数量",
  4124. "type": "integer"
  4125. },
  4126. "ordertime": {
  4127. "description": "委托时间",
  4128. "type": "string"
  4129. },
  4130. "ordertotalprice": {
  4131. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  4132. "type": "number"
  4133. },
  4134. "ordertotalweight": {
  4135. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  4136. "type": "integer"
  4137. },
  4138. "totaltotalprice": {
  4139. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  4140. "type": "number"
  4141. },
  4142. "tradeprice": {
  4143. "description": "成交价格",
  4144. "type": "number"
  4145. },
  4146. "tradeqty": {
  4147. "description": "成交数量",
  4148. "type": "integer"
  4149. }
  4150. }
  4151. },
  4152. "cptrade.QueryCPTradeOrderDetailRsq": {
  4153. "type": "object",
  4154. "required": [
  4155. "accountid",
  4156. "buildtype",
  4157. "buyorsell",
  4158. "goodsid",
  4159. "marketid",
  4160. "memberuserid",
  4161. "operatetype",
  4162. "orderqty",
  4163. "ordertime",
  4164. "pricemode",
  4165. "strorderid",
  4166. "tradedate",
  4167. "validtype"
  4168. ],
  4169. "properties": {
  4170. "accountid": {
  4171. "description": "账户ID[报价币种]",
  4172. "type": "integer"
  4173. },
  4174. "buildtype": {
  4175. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  4176. "type": "integer"
  4177. },
  4178. "buyorsell": {
  4179. "description": "买卖 - 0:买 1:卖",
  4180. "type": "integer"
  4181. },
  4182. "cancelorderid": {
  4183. "description": "撤单单号(撤单时填写)",
  4184. "type": "integer"
  4185. },
  4186. "cancelqty": {
  4187. "description": "撤单数量",
  4188. "type": "integer"
  4189. },
  4190. "clientordertime": {
  4191. "description": "客户端委托时间",
  4192. "type": "string"
  4193. },
  4194. "clientticket": {
  4195. "description": "客户端流水号",
  4196. "type": "string"
  4197. },
  4198. "clienttype": {
  4199. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  4200. "type": "integer"
  4201. },
  4202. "closeexchagechargevalue": {
  4203. "description": "平仓交易所手续费设置值",
  4204. "type": "number"
  4205. },
  4206. "closefeealgorithm": {
  4207. "description": "平仓手续费收取方式 1:比率 2:固定",
  4208. "type": "integer"
  4209. },
  4210. "closefreezecharge": {
  4211. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  4212. "type": "number"
  4213. },
  4214. "closememberchargevalue": {
  4215. "description": "平仓会员手续费设置值",
  4216. "type": "number"
  4217. },
  4218. "closeqty": {
  4219. "description": "平仓数量(先建后平操作 需要记录)",
  4220. "type": "integer"
  4221. },
  4222. "closetradeqty": {
  4223. "description": "平仓成交数量(先建后平操作,需要记录)",
  4224. "type": "integer"
  4225. },
  4226. "closeunfreezecharge": {
  4227. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  4228. "type": "number"
  4229. },
  4230. "delistingtype": {
  4231. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  4232. "type": "integer"
  4233. },
  4234. "freezecharge": {
  4235. "description": "冻结手续费",
  4236. "type": "number"
  4237. },
  4238. "freezemargin": {
  4239. "description": "冻结保证金(冻结交易金额)",
  4240. "type": "number"
  4241. },
  4242. "gcaccountid": {
  4243. "description": "账户ID[合约币种]",
  4244. "type": "integer"
  4245. },
  4246. "goodsid": {
  4247. "description": "商品ID",
  4248. "type": "integer"
  4249. },
  4250. "isconfirmexercise": {
  4251. "description": "是否确认行权- 0:否 1:是",
  4252. "type": "integer"
  4253. },
  4254. "ispreexercise": {
  4255. "description": "是否预申报- 0:否 1:是",
  4256. "type": "integer"
  4257. },
  4258. "listingselecttype": {
  4259. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  4260. "type": "integer"
  4261. },
  4262. "marginalgorithm": {
  4263. "description": "保证金收取方式 1:比率 2:固定",
  4264. "type": "integer"
  4265. },
  4266. "marginvalue": {
  4267. "description": "即市保证金设置值",
  4268. "type": "number"
  4269. },
  4270. "marketid": {
  4271. "description": "市场ID",
  4272. "type": "integer"
  4273. },
  4274. "marketmaxsub": {
  4275. "description": "市价最大偏移范围",
  4276. "type": "number"
  4277. },
  4278. "memberuserid": {
  4279. "description": "所属会员UserID",
  4280. "type": "integer"
  4281. },
  4282. "openexchagechargevalue": {
  4283. "description": "建仓交易所手续费设置值",
  4284. "type": "number"
  4285. },
  4286. "openfeealgorithm": {
  4287. "description": "建仓手续费收取方式 1:比率 2:固定",
  4288. "type": "integer"
  4289. },
  4290. "openfreezecharge": {
  4291. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  4292. "type": "number"
  4293. },
  4294. "openmemberchargevalue": {
  4295. "description": "建仓会员手续费设置值",
  4296. "type": "number"
  4297. },
  4298. "openqty": {
  4299. "description": "开仓数量(先建后平操作,需要记录)",
  4300. "type": "integer"
  4301. },
  4302. "opentradeqty": {
  4303. "description": "开仓成交数量(先建后平操作,需要记录)",
  4304. "type": "integer"
  4305. },
  4306. "openunfreezecharge": {
  4307. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  4308. "type": "number"
  4309. },
  4310. "operatetype": {
  4311. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  4312. "type": "integer"
  4313. },
  4314. "operatorid": {
  4315. "description": "登录账号(LoginID)",
  4316. "type": "integer"
  4317. },
  4318. "optiontype": {
  4319. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  4320. "type": "integer"
  4321. },
  4322. "orderprice": {
  4323. "description": "委托价格",
  4324. "type": "number"
  4325. },
  4326. "orderqty": {
  4327. "description": "委托数量",
  4328. "type": "integer"
  4329. },
  4330. "ordersrc": {
  4331. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  4332. "type": "integer"
  4333. },
  4334. "orderstatus": {
  4335. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  4336. "type": "integer"
  4337. },
  4338. "ordertime": {
  4339. "description": "委托时间",
  4340. "type": "string"
  4341. },
  4342. "preexerciseprice": {
  4343. "description": "预申报价格",
  4344. "type": "number"
  4345. },
  4346. "premium": {
  4347. "description": "权利金",
  4348. "type": "number"
  4349. },
  4350. "preorderid": {
  4351. "description": "关联预埋单号(止盈止损单时填写)",
  4352. "type": "integer"
  4353. },
  4354. "pricemode": {
  4355. "description": "取价方式 - 1:市价 2: 限价",
  4356. "type": "integer"
  4357. },
  4358. "quoteid": {
  4359. "description": "报价单ID",
  4360. "type": "integer"
  4361. },
  4362. "relatedid": {
  4363. "description": "关联单号(交割单)",
  4364. "type": "integer"
  4365. },
  4366. "retcode": {
  4367. "description": "错误代码",
  4368. "type": "integer"
  4369. },
  4370. "sessionid": {
  4371. "description": "会话ID",
  4372. "type": "integer"
  4373. },
  4374. "strorderid": {
  4375. "description": "委托单号",
  4376. "type": "string"
  4377. },
  4378. "tradedate": {
  4379. "description": "交易日(yyyyMMdd)",
  4380. "type": "string"
  4381. },
  4382. "tradeproperty": {
  4383. "description": "交易属性",
  4384. "type": "integer"
  4385. },
  4386. "tradeqty": {
  4387. "description": "成交数量",
  4388. "type": "integer"
  4389. },
  4390. "unfreezecharge": {
  4391. "description": "解冻手续费",
  4392. "type": "number"
  4393. },
  4394. "unfreezemargin": {
  4395. "description": "解冻保证金",
  4396. "type": "number"
  4397. },
  4398. "updatetime": {
  4399. "description": "更新时间",
  4400. "type": "string"
  4401. },
  4402. "uuid": {
  4403. "description": "发起端唯一id",
  4404. "type": "string"
  4405. },
  4406. "validtime": {
  4407. "description": "有效期限",
  4408. "type": "string"
  4409. },
  4410. "validtype": {
  4411. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  4412. "type": "integer"
  4413. },
  4414. "volumetype": {
  4415. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  4416. "type": "integer"
  4417. }
  4418. }
  4419. },
  4420. "cptrade.QueryMyCPTradeGoodsRsp": {
  4421. "type": "object",
  4422. "required": [
  4423. "goodscode",
  4424. "goodsid",
  4425. "goodsname",
  4426. "marketid",
  4427. "relatedgoodscode",
  4428. "relatedgoodsname"
  4429. ],
  4430. "properties": {
  4431. "accountid": {
  4432. "description": "卖方账户ID",
  4433. "type": "integer"
  4434. },
  4435. "agreeunit": {
  4436. "description": "合约单位",
  4437. "type": "number"
  4438. },
  4439. "applyid": {
  4440. "description": "关联申请ID",
  4441. "type": "integer"
  4442. },
  4443. "attachmenturl": {
  4444. "description": "附件地址",
  4445. "type": "string"
  4446. },
  4447. "createtime": {
  4448. "description": "创建时间",
  4449. "type": "string"
  4450. },
  4451. "currencyid": {
  4452. "description": "报价货币ID",
  4453. "type": "integer"
  4454. },
  4455. "decimalplace": {
  4456. "description": "报价小数位",
  4457. "type": "integer"
  4458. },
  4459. "endtime": {
  4460. "description": "预售结束时间",
  4461. "type": "string"
  4462. },
  4463. "floorprice": {
  4464. "description": "底价[大宗式竞拍]",
  4465. "type": "number"
  4466. },
  4467. "goodscode": {
  4468. "description": "商品代码(预售)",
  4469. "type": "string"
  4470. },
  4471. "goodsdetail": {
  4472. "description": "详情[大宗]",
  4473. "type": "string"
  4474. },
  4475. "goodsid": {
  4476. "description": "商品ID(自增ID SEQ_GOODS)",
  4477. "type": "integer"
  4478. },
  4479. "goodsname": {
  4480. "description": "商品名称(预售)",
  4481. "type": "string"
  4482. },
  4483. "goodunit": {
  4484. "description": "报价单位",
  4485. "type": "string"
  4486. },
  4487. "goodunitid": {
  4488. "description": "报价单位ID",
  4489. "type": "integer"
  4490. },
  4491. "marketid": {
  4492. "description": "所属市场ID",
  4493. "type": "integer"
  4494. },
  4495. "marketname": {
  4496. "description": "预售市场名称",
  4497. "type": "string"
  4498. },
  4499. "presaledamount": {
  4500. "description": "已预售总金额(预售结束时更新)",
  4501. "type": "number"
  4502. },
  4503. "presaledqty": {
  4504. "description": "已预售量(预售结束时更新)",
  4505. "type": "integer"
  4506. },
  4507. "presalemode": {
  4508. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  4509. "type": "integer"
  4510. },
  4511. "presaleqty": {
  4512. "description": "预售数量",
  4513. "type": "integer"
  4514. },
  4515. "refprice": {
  4516. "description": "参考价格[一口价]",
  4517. "type": "number"
  4518. },
  4519. "relatedgoodscode": {
  4520. "description": "商品代码(订单)",
  4521. "type": "string"
  4522. },
  4523. "relatedgoodsid": {
  4524. "description": "关联交易合约ID",
  4525. "type": "integer"
  4526. },
  4527. "relatedgoodsname": {
  4528. "description": "商品名称(订单)",
  4529. "type": "string"
  4530. },
  4531. "relatedmarketid": {
  4532. "description": "关联交易合约市场ID",
  4533. "type": "integer"
  4534. },
  4535. "sellstatus": {
  4536. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  4537. "type": "integer"
  4538. },
  4539. "startprice": {
  4540. "description": "起拍价[大宗式竞拍]",
  4541. "type": "number"
  4542. },
  4543. "starttime": {
  4544. "description": "预售开始时间",
  4545. "type": "string"
  4546. },
  4547. "tradedate": {
  4548. "description": "交易日(yyyyMMdd)",
  4549. "type": "string"
  4550. },
  4551. "tradeprice": {
  4552. "description": "成交价[大宗]",
  4553. "type": "number"
  4554. },
  4555. "userid": {
  4556. "description": "卖方用户ID",
  4557. "type": "integer"
  4558. }
  4559. }
  4560. },
  4561. "cptrade.QueryPresaleGoodsExRsp": {
  4562. "type": "object",
  4563. "required": [
  4564. "goodsid"
  4565. ],
  4566. "properties": {
  4567. "attachmenturl": {
  4568. "description": "附件地址",
  4569. "type": "string"
  4570. },
  4571. "createtime": {
  4572. "description": "创建时间",
  4573. "type": "string"
  4574. },
  4575. "endtime": {
  4576. "description": "预售结束时间",
  4577. "type": "string"
  4578. },
  4579. "floorprice": {
  4580. "description": "底价[大宗式竞拍]",
  4581. "type": "number"
  4582. },
  4583. "goodsdetail": {
  4584. "description": "详情[大宗]",
  4585. "type": "string"
  4586. },
  4587. "goodsid": {
  4588. "description": "商品ID(预售)",
  4589. "type": "integer"
  4590. },
  4591. "goodunit": {
  4592. "description": "报价单位",
  4593. "type": "string"
  4594. },
  4595. "marketid": {
  4596. "description": "预售市场ID - 根据预售模式选择市场",
  4597. "type": "integer"
  4598. },
  4599. "presaledamount": {
  4600. "description": "已预售总金额(预售结束时更新)",
  4601. "type": "number"
  4602. },
  4603. "presaledqty": {
  4604. "description": "已预售量(预售结束时更新)",
  4605. "type": "integer"
  4606. },
  4607. "presalemode": {
  4608. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  4609. "type": "integer"
  4610. },
  4611. "presaleqty": {
  4612. "description": "预售数量",
  4613. "type": "integer"
  4614. },
  4615. "refprice": {
  4616. "description": "参考价格[一口价]",
  4617. "type": "number"
  4618. },
  4619. "relatedgoodsid": {
  4620. "description": "关联交易合约ID",
  4621. "type": "integer"
  4622. },
  4623. "relatedmarketid": {
  4624. "description": "关联交易合约市场ID",
  4625. "type": "integer"
  4626. },
  4627. "sellstatus": {
  4628. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  4629. "type": "integer"
  4630. },
  4631. "startprice": {
  4632. "description": "起拍价[大宗式竞拍]",
  4633. "type": "number"
  4634. },
  4635. "starttime": {
  4636. "description": "预售开始时间",
  4637. "type": "string"
  4638. },
  4639. "tradedate": {
  4640. "description": "交易日(yyyyMMdd)",
  4641. "type": "string"
  4642. },
  4643. "tradeprice": {
  4644. "description": "成交价[大宗]",
  4645. "type": "number"
  4646. }
  4647. }
  4648. },
  4649. "delivery.QueryDeliveryRelationRsp": {
  4650. "type": "object",
  4651. "required": [
  4652. "begindate",
  4653. "enddate",
  4654. "goodsid",
  4655. "mindeliveryqty",
  4656. "xdeliveryratio"
  4657. ],
  4658. "properties": {
  4659. "begindate": {
  4660. "description": "起始日期(yyyyMMdd)",
  4661. "type": "string"
  4662. },
  4663. "buytemplateid": {
  4664. "description": "买履约计划模板ID",
  4665. "type": "integer"
  4666. },
  4667. "deliverygoodscode": {
  4668. "description": "品种代码",
  4669. "type": "string"
  4670. },
  4671. "deliverygoodsid": {
  4672. "description": "交割商品",
  4673. "type": "integer"
  4674. },
  4675. "deliverygoodsname": {
  4676. "description": "品种名称",
  4677. "type": "string"
  4678. },
  4679. "deliverymode": {
  4680. "description": "交割方式 - 1:点选式 2:申报式",
  4681. "type": "integer"
  4682. },
  4683. "deliverypricerule": {
  4684. "description": "交割价规则- 1:行情价 2:建仓价",
  4685. "type": "integer"
  4686. },
  4687. "deliverytype": {
  4688. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  4689. "type": "integer"
  4690. },
  4691. "enddate": {
  4692. "description": "结束日期(yyyyMMdd)",
  4693. "type": "string"
  4694. },
  4695. "goodscode": {
  4696. "description": "商品代码",
  4697. "type": "string"
  4698. },
  4699. "goodsid": {
  4700. "description": "交易合约ID",
  4701. "type": "integer"
  4702. },
  4703. "goodsname": {
  4704. "description": "商品名称",
  4705. "type": "string"
  4706. },
  4707. "marketid": {
  4708. "description": "市场ID",
  4709. "type": "integer"
  4710. },
  4711. "mindeliveryqty": {
  4712. "description": "最小交割系数(K)",
  4713. "type": "integer"
  4714. },
  4715. "p2deliveryprice": {
  4716. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  4717. "type": "number"
  4718. },
  4719. "p2deliveryratio": {
  4720. "description": "P2合约系数(p)",
  4721. "type": "integer"
  4722. },
  4723. "p2goodsid": {
  4724. "description": "P2合约ID",
  4725. "type": "integer"
  4726. },
  4727. "p2pricemode": {
  4728. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  4729. "type": "integer"
  4730. },
  4731. "pdeliveryprice": {
  4732. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  4733. "type": "number"
  4734. },
  4735. "pdeliveryratio": {
  4736. "description": "P合约系数(n)",
  4737. "type": "integer"
  4738. },
  4739. "pgoodsid": {
  4740. "description": "P合约ID",
  4741. "type": "integer"
  4742. },
  4743. "ppricemode": {
  4744. "description": "P合约价格方式 - 1:商品价 2:固定值",
  4745. "type": "integer"
  4746. },
  4747. "rratio": {
  4748. "description": "兑换系数(R)",
  4749. "type": "integer"
  4750. },
  4751. "rratio1": {
  4752. "description": "兑换系数(交易合约)(R1)",
  4753. "type": "integer"
  4754. },
  4755. "rratio2": {
  4756. "description": "兑换系数(仓单标准)(R2)",
  4757. "type": "integer"
  4758. },
  4759. "selltemplateid": {
  4760. "description": "卖履约计划模板ID",
  4761. "type": "integer"
  4762. },
  4763. "wrstandardid": {
  4764. "description": "仓单标准ID",
  4765. "type": "integer"
  4766. },
  4767. "xdeliveryratio": {
  4768. "description": "交易合约系数(m)",
  4769. "type": "integer"
  4770. }
  4771. }
  4772. },
  4773. "erms2.QueryArbitrageStrategyRsp": {
  4774. "type": "object",
  4775. "required": [
  4776. "asapplyid"
  4777. ],
  4778. "properties": {
  4779. "applybasis": {
  4780. "description": "申请基差",
  4781. "type": "number"
  4782. },
  4783. "asapplyid": {
  4784. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  4785. "type": "string"
  4786. },
  4787. "asname": {
  4788. "description": "策略名称",
  4789. "type": "string"
  4790. },
  4791. "asno": {
  4792. "description": "策略编号",
  4793. "type": "string"
  4794. },
  4795. "basischangepl": {
  4796. "description": "基差变动损益[结算更新]",
  4797. "type": "number"
  4798. },
  4799. "biztype": {
  4800. "description": "业务类型 - 1:正向套利 -1:反向套利",
  4801. "type": "integer"
  4802. },
  4803. "closetradedate": {
  4804. "description": "完结交易日(yyyyMMdd)",
  4805. "type": "string"
  4806. },
  4807. "curbasis": {
  4808. "description": "当前基差[结算更新]",
  4809. "type": "number"
  4810. },
  4811. "deliverygoodsid": {
  4812. "description": "现货品种ID",
  4813. "type": "integer"
  4814. },
  4815. "futureavgprice": {
  4816. "description": "期货建仓均价",
  4817. "type": "number"
  4818. },
  4819. "futurecloseamount": {
  4820. "description": "期货平仓金额",
  4821. "type": "number"
  4822. },
  4823. "futurecloseqty": {
  4824. "description": "期货平仓数量",
  4825. "type": "number"
  4826. },
  4827. "futureopenamount": {
  4828. "description": "期货开仓金额",
  4829. "type": "number"
  4830. },
  4831. "futureopenqty": {
  4832. "description": "期货开仓数量",
  4833. "type": "number"
  4834. },
  4835. "futurepl": {
  4836. "description": "期货总盈亏[结算更新]",
  4837. "type": "number"
  4838. },
  4839. "futureqty": {
  4840. "description": "期货持仓数量",
  4841. "type": "number"
  4842. },
  4843. "futurequote": {
  4844. "description": "期货额度",
  4845. "type": "number"
  4846. },
  4847. "goodsgroupid": {
  4848. "description": "期货品种ID",
  4849. "type": "integer"
  4850. },
  4851. "marketid": {
  4852. "description": "市场ID",
  4853. "type": "integer"
  4854. },
  4855. "netexposure": {
  4856. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  4857. "type": "number"
  4858. },
  4859. "netexposurepl": {
  4860. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  4861. "type": "number"
  4862. },
  4863. "netexposurerate": {
  4864. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  4865. "type": "number"
  4866. },
  4867. "openbasis": {
  4868. "description": "建仓基差",
  4869. "type": "number"
  4870. },
  4871. "pricedspotqty": {
  4872. "description": "已定价现货数量",
  4873. "type": "number"
  4874. },
  4875. "pricedspotqtynotax": {
  4876. "description": "已定价现货不含税数量",
  4877. "type": "number"
  4878. },
  4879. "remark": {
  4880. "description": "备注",
  4881. "type": "string"
  4882. },
  4883. "spotavgprice": {
  4884. "description": "现货均价",
  4885. "type": "number"
  4886. },
  4887. "spotbuyamount": {
  4888. "description": "现货采购金额",
  4889. "type": "number"
  4890. },
  4891. "spotbuyqty": {
  4892. "description": "现货采购数量",
  4893. "type": "number"
  4894. },
  4895. "spotpl": {
  4896. "description": "现货总盈亏[结算更新]",
  4897. "type": "number"
  4898. },
  4899. "spotquota": {
  4900. "description": "现货额度",
  4901. "type": "number"
  4902. },
  4903. "spotsellamount": {
  4904. "description": "现货销售金额",
  4905. "type": "number"
  4906. },
  4907. "spotsellqty": {
  4908. "description": "现货销售数量",
  4909. "type": "number"
  4910. },
  4911. "spotusedquota": {
  4912. "description": "现货占用资金",
  4913. "type": "number"
  4914. },
  4915. "strategystatus": {
  4916. "description": "策略状态 - 0:未结束 1:已结束",
  4917. "type": "integer"
  4918. },
  4919. "totalpl": {
  4920. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  4921. "type": "number"
  4922. },
  4923. "tradedate": {
  4924. "description": "交易日(yyyyMMdd)",
  4925. "type": "string"
  4926. },
  4927. "updatetime": {
  4928. "description": "更新时间",
  4929. "type": "string"
  4930. },
  4931. "usedquota": {
  4932. "description": "已占用资金",
  4933. "type": "number"
  4934. },
  4935. "userid": {
  4936. "description": "所属机构",
  4937. "type": "integer"
  4938. }
  4939. }
  4940. },
  4941. "erms2.QueryInnerTradeDetailRsp": {
  4942. "type": "object",
  4943. "required": [
  4944. "asapplyid",
  4945. "buyorsell",
  4946. "goodscode",
  4947. "goodsgroupid",
  4948. "goodsgroupname",
  4949. "goodsname",
  4950. "tradeid"
  4951. ],
  4952. "properties": {
  4953. "accountid": {
  4954. "description": "账号ID",
  4955. "type": "integer"
  4956. },
  4957. "agreeunit": {
  4958. "description": "合约单位",
  4959. "type": "number"
  4960. },
  4961. "asapplyid": {
  4962. "description": "策略申请ID",
  4963. "type": "integer"
  4964. },
  4965. "asname": {
  4966. "description": "策略名称",
  4967. "type": "string"
  4968. },
  4969. "asno": {
  4970. "description": "策略编号",
  4971. "type": "string"
  4972. },
  4973. "buyorsell": {
  4974. "description": "方向 - 0:买 1:卖",
  4975. "type": "integer"
  4976. },
  4977. "channelbuildtype": {
  4978. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  4979. "type": "integer"
  4980. },
  4981. "closetype": {
  4982. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  4983. "type": "integer"
  4984. },
  4985. "decimalplace": {
  4986. "description": "报价小数位",
  4987. "type": "integer"
  4988. },
  4989. "detailtype": {
  4990. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  4991. "type": "integer"
  4992. },
  4993. "exexchangecode": {
  4994. "description": "外部交易所代码",
  4995. "type": "string"
  4996. },
  4997. "exexchangename": {
  4998. "description": "外部交易所名称",
  4999. "type": "string"
  5000. },
  5001. "goodscode": {
  5002. "description": "商品代码(合约)",
  5003. "type": "string"
  5004. },
  5005. "goodsgroupid": {
  5006. "description": "商品组ID(品种ID)",
  5007. "type": "integer"
  5008. },
  5009. "goodsgroupname": {
  5010. "description": "商品组名称(品种)",
  5011. "type": "string"
  5012. },
  5013. "goodsid": {
  5014. "description": "商品ID",
  5015. "type": "integer"
  5016. },
  5017. "goodsname": {
  5018. "description": "商品名称(合约)",
  5019. "type": "string"
  5020. },
  5021. "goodunit": {
  5022. "description": "报价单位",
  5023. "type": "string"
  5024. },
  5025. "marketid": {
  5026. "description": "市场ID",
  5027. "type": "integer"
  5028. },
  5029. "orderid": {
  5030. "description": "委托单号",
  5031. "type": "string"
  5032. },
  5033. "outgoodscode": {
  5034. "description": "商品代码(外部)",
  5035. "type": "string"
  5036. },
  5037. "relatedouttradeid": {
  5038. "description": "关联外部成交单ID",
  5039. "type": "string"
  5040. },
  5041. "remark": {
  5042. "description": "备注",
  5043. "type": "string"
  5044. },
  5045. "spotcontractid": {
  5046. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  5047. "type": "integer"
  5048. },
  5049. "spotcontractno": {
  5050. "description": "现货合同编号",
  5051. "type": "string"
  5052. },
  5053. "tradeid": {
  5054. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5055. "type": "string"
  5056. },
  5057. "tradeprice": {
  5058. "description": "成交价格",
  5059. "type": "number"
  5060. },
  5061. "tradeqty": {
  5062. "description": "成交数量",
  5063. "type": "integer"
  5064. },
  5065. "tradetime": {
  5066. "description": "成交时间",
  5067. "type": "string"
  5068. },
  5069. "updatetime": {
  5070. "description": "更新时间",
  5071. "type": "string"
  5072. }
  5073. }
  5074. },
  5075. "erms2.QuerySpotContractRsp": {
  5076. "type": "object",
  5077. "required": [
  5078. "spotcontractid"
  5079. ],
  5080. "properties": {
  5081. "accountid": {
  5082. "description": "资金账户ID",
  5083. "type": "integer"
  5084. },
  5085. "areauserid": {
  5086. "description": "所属机构",
  5087. "type": "integer"
  5088. },
  5089. "closedate": {
  5090. "description": "终止日期",
  5091. "type": "string"
  5092. },
  5093. "closeremark": {
  5094. "description": "结束备注",
  5095. "type": "string"
  5096. },
  5097. "closetradedate": {
  5098. "description": "完结交易日(yyyyMMdd)",
  5099. "type": "string"
  5100. },
  5101. "closetype": {
  5102. "description": "终止类型 - 1:违约 2:提前终止",
  5103. "type": "integer"
  5104. },
  5105. "contractamount": {
  5106. "description": "合同金额",
  5107. "type": "number"
  5108. },
  5109. "contractattachment": {
  5110. "description": "合同附件",
  5111. "type": "string"
  5112. },
  5113. "contractno": {
  5114. "description": "现货合同编号",
  5115. "type": "string"
  5116. },
  5117. "contractqty": {
  5118. "description": "合同数量(数值) (用于计算)",
  5119. "type": "number"
  5120. },
  5121. "contractqtychar": {
  5122. "description": "合同数量\\已订价数量 (用于显示)",
  5123. "type": "string"
  5124. },
  5125. "contractstatus": {
  5126. "description": "合同状态 - 0:未结束 1:已结束",
  5127. "type": "integer"
  5128. },
  5129. "contracttype": {
  5130. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  5131. "type": "integer"
  5132. },
  5133. "customeraccountid": {
  5134. "description": "客户资金账户ID",
  5135. "type": "integer"
  5136. },
  5137. "customeruserid": {
  5138. "description": "客户ID",
  5139. "type": "integer"
  5140. },
  5141. "deliverygoodsdesc": {
  5142. "description": "品种说明",
  5143. "type": "string"
  5144. },
  5145. "deliverygoodsid": {
  5146. "description": "现货品种ID",
  5147. "type": "integer"
  5148. },
  5149. "handlestatus": {
  5150. "description": "处理状态",
  5151. "type": "integer"
  5152. },
  5153. "invoiceatt": {
  5154. "description": "发票附件",
  5155. "type": "string"
  5156. },
  5157. "invoicedatetime": {
  5158. "description": "开收票更新时间",
  5159. "type": "string"
  5160. },
  5161. "invoiceopentime": {
  5162. "description": "开票时间",
  5163. "type": "string"
  5164. },
  5165. "invoiceremark": {
  5166. "description": "发票备注",
  5167. "type": "string"
  5168. },
  5169. "invoicestatus": {
  5170. "description": "开收票状态 - 0:未开票 1:已开票",
  5171. "type": "integer"
  5172. },
  5173. "lastdate": {
  5174. "description": "交货时间",
  5175. "type": "string"
  5176. },
  5177. "marketid": {
  5178. "description": "市场ID",
  5179. "type": "integer"
  5180. },
  5181. "paydatetime": {
  5182. "description": "收付款更新时间",
  5183. "type": "string"
  5184. },
  5185. "payremark": {
  5186. "description": "收付款备注",
  5187. "type": "string"
  5188. },
  5189. "paystatus": {
  5190. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  5191. "type": "integer"
  5192. },
  5193. "positionqty": {
  5194. "description": "头寸数量 - 合同数量去小数部分",
  5195. "type": "integer"
  5196. },
  5197. "producttype": {
  5198. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  5199. "type": "integer"
  5200. },
  5201. "relatedqty": {
  5202. "description": "已关联数量",
  5203. "type": "number"
  5204. },
  5205. "relatedstatus": {
  5206. "description": "关联完结状态 - 0:未结束 1:已结束",
  5207. "type": "integer"
  5208. },
  5209. "remark": {
  5210. "description": "备注",
  5211. "type": "string"
  5212. },
  5213. "signdate": {
  5214. "description": "签订日期",
  5215. "type": "string"
  5216. },
  5217. "spotcontractid": {
  5218. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  5219. "type": "string"
  5220. },
  5221. "spotdatetime": {
  5222. "description": "收发货更新时间",
  5223. "type": "string"
  5224. },
  5225. "spotprice": {
  5226. "description": "价格",
  5227. "type": "number"
  5228. },
  5229. "spotremark": {
  5230. "description": "收发货备注",
  5231. "type": "string"
  5232. },
  5233. "spotstatus": {
  5234. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  5235. "type": "integer"
  5236. },
  5237. "tradedate": {
  5238. "description": "交易日(yyyyMMdd)",
  5239. "type": "string"
  5240. },
  5241. "userid": {
  5242. "description": "业务员用户ID",
  5243. "type": "integer"
  5244. },
  5245. "warehouseid": {
  5246. "description": "仓库ID",
  5247. "type": "integer"
  5248. },
  5249. "wrfactortypeid": {
  5250. "description": "仓单要素类型ID",
  5251. "type": "integer"
  5252. },
  5253. "wrstandardid": {
  5254. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  5255. "type": "integer"
  5256. }
  5257. }
  5258. },
  5259. "erms3.AddErms2ASApplyReq": {
  5260. "type": "object",
  5261. "required": [
  5262. "asapplyid"
  5263. ],
  5264. "properties": {
  5265. "applybasis": {
  5266. "description": "申请基差",
  5267. "type": "number"
  5268. },
  5269. "applystatus": {
  5270. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5271. "type": "integer"
  5272. },
  5273. "asapplyid": {
  5274. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  5275. "type": "integer"
  5276. },
  5277. "asname": {
  5278. "description": "策略名称",
  5279. "type": "string"
  5280. },
  5281. "asno": {
  5282. "description": "策略编号",
  5283. "type": "string"
  5284. },
  5285. "auditid": {
  5286. "description": "审核人",
  5287. "type": "integer"
  5288. },
  5289. "auditremark": {
  5290. "description": "审核备注",
  5291. "type": "string"
  5292. },
  5293. "audittime": {
  5294. "description": "审核时间",
  5295. "type": "string"
  5296. },
  5297. "biztype": {
  5298. "description": "业务类型 - 1:正向套利 2:反向套利",
  5299. "type": "integer"
  5300. },
  5301. "createtime": {
  5302. "description": "创建时间",
  5303. "type": "string"
  5304. },
  5305. "creatorid": {
  5306. "description": "创建人",
  5307. "type": "integer"
  5308. },
  5309. "deliverygoodsid": {
  5310. "description": "现货品种ID",
  5311. "type": "integer"
  5312. },
  5313. "futurequote": {
  5314. "description": "期货额度",
  5315. "type": "number"
  5316. },
  5317. "goodsgroupid": {
  5318. "description": "期货品种ID",
  5319. "type": "integer"
  5320. },
  5321. "marketid": {
  5322. "description": "市场ID",
  5323. "type": "integer"
  5324. },
  5325. "remark": {
  5326. "description": "备注",
  5327. "type": "string"
  5328. },
  5329. "spotquota": {
  5330. "description": "现货额度",
  5331. "type": "number"
  5332. },
  5333. "tradedate": {
  5334. "description": "交易日(yyyyMMdd)",
  5335. "type": "string"
  5336. },
  5337. "userid": {
  5338. "description": "所属机构",
  5339. "type": "integer"
  5340. }
  5341. }
  5342. },
  5343. "erms3.AddErms2SpotTradeApplyReq": {
  5344. "type": "object",
  5345. "required": [
  5346. "spottradeid"
  5347. ],
  5348. "properties": {
  5349. "applyjsondetail": {
  5350. "description": "申请明细(JSON)",
  5351. "type": "string"
  5352. },
  5353. "applystatus": {
  5354. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5355. "type": "integer"
  5356. },
  5357. "areauserid": {
  5358. "description": "所属机构",
  5359. "type": "integer"
  5360. },
  5361. "auditid": {
  5362. "description": "审核人",
  5363. "type": "integer"
  5364. },
  5365. "auditremark": {
  5366. "description": "审核备注",
  5367. "type": "string"
  5368. },
  5369. "audittime": {
  5370. "description": "审核时间",
  5371. "type": "string"
  5372. },
  5373. "createtime": {
  5374. "description": "创建时间",
  5375. "type": "string"
  5376. },
  5377. "creatorid": {
  5378. "description": "创建人",
  5379. "type": "integer"
  5380. },
  5381. "deliverygoodsid": {
  5382. "description": "现货品种ID",
  5383. "type": "integer"
  5384. },
  5385. "futureaccountid": {
  5386. "description": "期货资金账户",
  5387. "type": "integer"
  5388. },
  5389. "goodsgroupid": {
  5390. "description": "期货品种",
  5391. "type": "integer"
  5392. },
  5393. "marketid": {
  5394. "description": "市场ID",
  5395. "type": "integer"
  5396. },
  5397. "remark": {
  5398. "description": "备注",
  5399. "type": "string"
  5400. },
  5401. "spotaccountid": {
  5402. "description": "现货资金账户",
  5403. "type": "integer"
  5404. },
  5405. "spottradeid": {
  5406. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  5407. "type": "integer"
  5408. },
  5409. "spottradename": {
  5410. "description": "业务名称",
  5411. "type": "string"
  5412. },
  5413. "spottradeno": {
  5414. "description": "业务编号",
  5415. "type": "string"
  5416. },
  5417. "tradedate": {
  5418. "description": "交易日(yyyyMMdd)",
  5419. "type": "string"
  5420. },
  5421. "wrstandardid": {
  5422. "description": "仓单标准ID",
  5423. "type": "integer"
  5424. }
  5425. }
  5426. },
  5427. "erms3.AddSpotContractApplyReq": {
  5428. "type": "object",
  5429. "required": [
  5430. "accountid",
  5431. "areauserid",
  5432. "contractno",
  5433. "contracttype",
  5434. "customeraccountid",
  5435. "customeruserid",
  5436. "details",
  5437. "orimargin",
  5438. "signdate"
  5439. ],
  5440. "properties": {
  5441. "accountid": {
  5442. "description": "资金账户ID",
  5443. "type": "integer"
  5444. },
  5445. "areauserid": {
  5446. "description": "所属机构",
  5447. "type": "integer"
  5448. },
  5449. "contractattachment": {
  5450. "description": "合同附件",
  5451. "type": "string"
  5452. },
  5453. "contractno": {
  5454. "description": "现货合同编号",
  5455. "type": "string"
  5456. },
  5457. "contracttype": {
  5458. "description": "现货合同类型 - 1:采购 -1:销售",
  5459. "type": "integer"
  5460. },
  5461. "creatorid": {
  5462. "description": "申请人",
  5463. "type": "integer"
  5464. },
  5465. "customeraccountid": {
  5466. "description": "客户资金账户ID",
  5467. "type": "integer"
  5468. },
  5469. "customeruserid": {
  5470. "description": "客户ID",
  5471. "type": "integer"
  5472. },
  5473. "details": {
  5474. "description": "明细",
  5475. "type": "array",
  5476. "items": {
  5477. "$ref": "#/definitions/erms3.SoptContractDetail"
  5478. }
  5479. },
  5480. "orimargin": {
  5481. "description": "初始保证金",
  5482. "type": "number"
  5483. },
  5484. "remark": {
  5485. "description": "备注",
  5486. "type": "string"
  5487. },
  5488. "signdate": {
  5489. "description": "签订日期",
  5490. "type": "string"
  5491. }
  5492. }
  5493. },
  5494. "erms3.AddSpotContractApplyRsp": {
  5495. "type": "object",
  5496. "required": [
  5497. "contractno"
  5498. ],
  5499. "properties": {
  5500. "contractno": {
  5501. "description": "现货合同编号",
  5502. "type": "string"
  5503. },
  5504. "spotcontractid": {
  5505. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  5506. "type": "integer"
  5507. }
  5508. }
  5509. },
  5510. "erms3.AddUserInfoApplyReq": {
  5511. "type": "object",
  5512. "required": [
  5513. "userid"
  5514. ],
  5515. "properties": {
  5516. "accountid": {
  5517. "description": "交易系统帐号Id (加密存储)",
  5518. "type": "integer"
  5519. },
  5520. "areacode": {
  5521. "description": "机构代码",
  5522. "type": "string"
  5523. },
  5524. "areaid": {
  5525. "description": "机构Id",
  5526. "type": "integer"
  5527. },
  5528. "attachment1": {
  5529. "description": "附件1",
  5530. "type": "string"
  5531. },
  5532. "attachment2": {
  5533. "description": "附件2",
  5534. "type": "string"
  5535. },
  5536. "attachment3": {
  5537. "description": "附件3",
  5538. "type": "string"
  5539. },
  5540. "attachment4": {
  5541. "description": "附件4",
  5542. "type": "string"
  5543. },
  5544. "attachment5": {
  5545. "description": "附件5",
  5546. "type": "string"
  5547. },
  5548. "auditedby": {
  5549. "description": "审核人",
  5550. "type": "string"
  5551. },
  5552. "auditime": {
  5553. "description": "审核时间",
  5554. "type": "string"
  5555. },
  5556. "bankaccount": {
  5557. "description": "银行帐号 (加密存储)",
  5558. "type": "string"
  5559. },
  5560. "bankaccountname": {
  5561. "description": "收款人名称",
  5562. "type": "string"
  5563. },
  5564. "bankcardbackphotourl": {
  5565. "description": "银行卡背面照地址",
  5566. "type": "string"
  5567. },
  5568. "bankcardfrontphotourl": {
  5569. "description": "银行卡正面照地址",
  5570. "type": "string"
  5571. },
  5572. "bankid": {
  5573. "description": "银行编码",
  5574. "type": "string"
  5575. },
  5576. "bankname": {
  5577. "description": "银行名称",
  5578. "type": "string"
  5579. },
  5580. "bankpictureurl": {
  5581. "description": "银行卡正面地址",
  5582. "type": "string"
  5583. },
  5584. "biznature": {
  5585. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  5586. "type": "integer"
  5587. },
  5588. "bizscope": {
  5589. "description": "企业经营范围(企业)",
  5590. "type": "string"
  5591. },
  5592. "biztype": {
  5593. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  5594. "type": "integer"
  5595. },
  5596. "brokerid": {
  5597. "description": "经纪人ID(加密存储)",
  5598. "type": "string"
  5599. },
  5600. "cardaddress": {
  5601. "description": "证件地址 (加密存储)",
  5602. "type": "string"
  5603. },
  5604. "cardbackphotourl": {
  5605. "description": "背面证件照地址",
  5606. "type": "string"
  5607. },
  5608. "cardfrontphotourl": {
  5609. "description": "正面证件照地址",
  5610. "type": "string"
  5611. },
  5612. "cardnum": {
  5613. "description": "证件号码 (加密存储)",
  5614. "type": "string"
  5615. },
  5616. "cardtype": {
  5617. "description": "证件类型",
  5618. "type": "integer"
  5619. },
  5620. "cityid": {
  5621. "description": "市",
  5622. "type": "integer"
  5623. },
  5624. "company": {
  5625. "description": "公司(个人)",
  5626. "type": "string"
  5627. },
  5628. "contactcardbackphotourl": {
  5629. "description": "联系人证件背面图片地址",
  5630. "type": "string"
  5631. },
  5632. "contactcardfrontphotourl": {
  5633. "description": "联系人证件正面图片地址",
  5634. "type": "string"
  5635. },
  5636. "contactname": {
  5637. "description": "联系人",
  5638. "type": "string"
  5639. },
  5640. "countryid": {
  5641. "description": "国家",
  5642. "type": "integer"
  5643. },
  5644. "createtime": {
  5645. "description": "开户申请时间",
  5646. "type": "string"
  5647. },
  5648. "cusbankid": {
  5649. "description": "签约类型",
  5650. "type": "string"
  5651. },
  5652. "cusbankname": {
  5653. "description": "签约类型名称",
  5654. "type": "string"
  5655. },
  5656. "customername": {
  5657. "description": "客户名称(企业名称)",
  5658. "type": "string"
  5659. },
  5660. "districtid": {
  5661. "description": "地区",
  5662. "type": "integer"
  5663. },
  5664. "email": {
  5665. "description": "Email地址(加密存储)",
  5666. "type": "string"
  5667. },
  5668. "halfbodyphotourl": {
  5669. "description": "半身照地址",
  5670. "type": "string"
  5671. },
  5672. "headurl": {
  5673. "description": "头像地址",
  5674. "type": "string"
  5675. },
  5676. "ipaddress": {
  5677. "description": "IP地址",
  5678. "type": "string"
  5679. },
  5680. "isvalidate": {
  5681. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  5682. "type": "string"
  5683. },
  5684. "legalcardbackphotourl": {
  5685. "description": "法人身份证背面照地址",
  5686. "type": "string"
  5687. },
  5688. "legalcardfrontphotourl": {
  5689. "description": "法人身份证正面照地址",
  5690. "type": "string"
  5691. },
  5692. "legalpersonname": {
  5693. "description": "法人姓名(企业)",
  5694. "type": "string"
  5695. },
  5696. "logincode": {
  5697. "description": "登录帐号 (加密存储)",
  5698. "type": "string"
  5699. },
  5700. "memberareaid": {
  5701. "description": "所属会员ID",
  5702. "type": "integer"
  5703. },
  5704. "mobile2": {
  5705. "description": "手机号码[明文-尚志]",
  5706. "type": "string"
  5707. },
  5708. "mobilephone": {
  5709. "description": "手机号码 (加密存储)",
  5710. "type": "string"
  5711. },
  5712. "modifiedby": {
  5713. "description": "修改人帐号",
  5714. "type": "integer"
  5715. },
  5716. "modifiedtime": {
  5717. "description": "修改时间",
  5718. "type": "string"
  5719. },
  5720. "nickname": {
  5721. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  5722. "type": "string"
  5723. },
  5724. "openmode": {
  5725. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  5726. "type": "integer"
  5727. },
  5728. "otherurl": {
  5729. "description": "其它图片地址[使用分号分隔]",
  5730. "type": "string"
  5731. },
  5732. "postalcode": {
  5733. "description": "邮政编码",
  5734. "type": "string"
  5735. },
  5736. "provinceid": {
  5737. "description": "省",
  5738. "type": "integer"
  5739. },
  5740. "proxystatementurl": {
  5741. "description": "授权委托书",
  5742. "type": "string"
  5743. },
  5744. "qq": {
  5745. "description": "QQ(加密存储",
  5746. "type": "string"
  5747. },
  5748. "referral": {
  5749. "description": "推荐人编码",
  5750. "type": "string"
  5751. },
  5752. "remark": {
  5753. "description": "备注",
  5754. "type": "string"
  5755. },
  5756. "removebeforestatus": {
  5757. "description": "REMOVEBEFORESTATUS",
  5758. "type": "integer"
  5759. },
  5760. "sex": {
  5761. "description": "性别 - 0:女 1:男",
  5762. "type": "integer"
  5763. },
  5764. "signedstatus": {
  5765. "description": "账户一号签签约状态",
  5766. "type": "integer"
  5767. },
  5768. "signpdfurl": {
  5769. "description": "签约pdf文件",
  5770. "type": "string"
  5771. },
  5772. "subbranch": {
  5773. "description": "开户支行",
  5774. "type": "string"
  5775. },
  5776. "telphone": {
  5777. "description": "联系电话(加密存储)",
  5778. "type": "string"
  5779. },
  5780. "userid": {
  5781. "description": "用户ID(自增ID)",
  5782. "type": "integer"
  5783. },
  5784. "userinfotype": {
  5785. "description": "用户信息类型 - 1:个人 2:企业",
  5786. "type": "integer"
  5787. },
  5788. "username": {
  5789. "description": "用户姓名",
  5790. "type": "string"
  5791. },
  5792. "userstate": {
  5793. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  5794. "type": "integer"
  5795. },
  5796. "usertype": {
  5797. "description": "用户类型 - 1:投资者 2:机构",
  5798. "type": "integer"
  5799. },
  5800. "videourl": {
  5801. "description": "视频地址",
  5802. "type": "string"
  5803. },
  5804. "wechat": {
  5805. "description": "微信号 (加密存储)",
  5806. "type": "string"
  5807. }
  5808. }
  5809. },
  5810. "erms3.CustomerInfo": {
  5811. "type": "object",
  5812. "required": [
  5813. "userid"
  5814. ],
  5815. "properties": {
  5816. "accountids": {
  5817. "description": "资金账户ID列表",
  5818. "type": "array",
  5819. "items": {
  5820. "type": "integer"
  5821. }
  5822. },
  5823. "customername": {
  5824. "description": "名称(企业名称)",
  5825. "type": "string"
  5826. },
  5827. "mobile": {
  5828. "description": "手机号码",
  5829. "type": "string"
  5830. },
  5831. "userid": {
  5832. "description": "用户ID",
  5833. "type": "integer"
  5834. }
  5835. }
  5836. },
  5837. "erms3.QryAuditContractRsp": {
  5838. "type": "object",
  5839. "required": [
  5840. "matchcustomername",
  5841. "spotcontractid"
  5842. ],
  5843. "properties": {
  5844. "accountid": {
  5845. "description": "交易员ID",
  5846. "type": "string"
  5847. },
  5848. "applystatus": {
  5849. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5850. "type": "integer"
  5851. },
  5852. "curdeliveryqty": {
  5853. "description": "未交收量",
  5854. "type": "integer"
  5855. },
  5856. "customername": {
  5857. "description": "采购方ID",
  5858. "type": "string"
  5859. },
  5860. "deliverygoodsid": {
  5861. "description": "品种ID",
  5862. "type": "string"
  5863. },
  5864. "deliveryqty": {
  5865. "description": "交收量",
  5866. "type": "integer"
  5867. },
  5868. "enumdicname": {
  5869. "description": "单位名称",
  5870. "type": "string"
  5871. },
  5872. "matchaccountid": {
  5873. "description": "业务员ID",
  5874. "type": "string"
  5875. },
  5876. "matchcustomername": {
  5877. "description": "销售方ID",
  5878. "type": "string"
  5879. },
  5880. "pricedqty": {
  5881. "description": "定价量",
  5882. "type": "number"
  5883. },
  5884. "signdate": {
  5885. "description": "签订日期",
  5886. "type": "string"
  5887. },
  5888. "spotcontractid": {
  5889. "description": "合同ID",
  5890. "type": "string"
  5891. },
  5892. "totaldqty": {
  5893. "description": "合同量",
  5894. "type": "number"
  5895. },
  5896. "unpricedqty": {
  5897. "description": "未定价量",
  5898. "type": "number"
  5899. },
  5900. "wrstandardname": {
  5901. "description": "商品名称",
  5902. "type": "string"
  5903. }
  5904. }
  5905. },
  5906. "erms3.QryPendingBizRsp": {
  5907. "type": "object",
  5908. "properties": {
  5909. "accountid": {
  5910. "description": "现货账户",
  5911. "type": "string"
  5912. },
  5913. "areaname": {
  5914. "description": "所属部门",
  5915. "type": "string"
  5916. },
  5917. "bizid": {
  5918. "description": "业务ID",
  5919. "type": "string"
  5920. },
  5921. "bizname": {
  5922. "description": "业务名称",
  5923. "type": "string"
  5924. },
  5925. "status": {
  5926. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5927. "type": "integer"
  5928. },
  5929. "type": {
  5930. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  5931. "type": "integer"
  5932. }
  5933. }
  5934. },
  5935. "erms3.QueryBusinessInfoRsp": {
  5936. "type": "object",
  5937. "properties": {
  5938. "businessid": {
  5939. "description": "业务ID.",
  5940. "type": "integer"
  5941. },
  5942. "buyamount": {
  5943. "description": "采购额.",
  5944. "type": "number"
  5945. },
  5946. "buyqty": {
  5947. "description": "采购量.",
  5948. "type": "string"
  5949. },
  5950. "futurepl": {
  5951. "description": "期货盈亏.",
  5952. "type": "number"
  5953. },
  5954. "futureqty": {
  5955. "description": "期货敞口.",
  5956. "type": "string"
  5957. },
  5958. "goodsid": {
  5959. "description": "商品名称/商品代码.",
  5960. "type": "string"
  5961. },
  5962. "hedgingqty": {
  5963. "description": "套保量.",
  5964. "type": "string"
  5965. },
  5966. "sellamount": {
  5967. "description": "销售额.",
  5968. "type": "number"
  5969. },
  5970. "sellqty": {
  5971. "description": "销售量.",
  5972. "type": "string"
  5973. },
  5974. "spotmarketvalue": {
  5975. "description": "现货市值.",
  5976. "type": "number"
  5977. },
  5978. "spotpl": {
  5979. "description": "浮动权益.",
  5980. "type": "number"
  5981. },
  5982. "spotqty": {
  5983. "description": "现货量.",
  5984. "type": "string"
  5985. },
  5986. "statu": {
  5987. "description": "状态,0-未结束 1-已结束.",
  5988. "type": "integer"
  5989. },
  5990. "totalpl": {
  5991. "description": "总盈亏.",
  5992. "type": "number"
  5993. },
  5994. "totalqty": {
  5995. "description": "总敞口.",
  5996. "type": "string"
  5997. },
  5998. "type": {
  5999. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  6000. "type": "integer"
  6001. }
  6002. }
  6003. },
  6004. "erms3.QuerySpotContractAppleFormRsp": {
  6005. "type": "object",
  6006. "properties": {
  6007. "goodses": {
  6008. "description": "合约列表",
  6009. "type": "array",
  6010. "items": {
  6011. "$ref": "#/definitions/models.GoodsIDAndName"
  6012. }
  6013. },
  6014. "oppositeusers": {
  6015. "description": "对方账号列表",
  6016. "type": "array",
  6017. "items": {
  6018. "$ref": "#/definitions/erms3.CustomerInfo"
  6019. }
  6020. },
  6021. "ouruser": {
  6022. "description": "我方账号",
  6023. "$ref": "#/definitions/erms3.CustomerInfo"
  6024. },
  6025. "warehouseinfos": {
  6026. "description": "仓库信息列表",
  6027. "type": "array",
  6028. "items": {
  6029. "$ref": "#/definitions/models.Warehouseinfo"
  6030. }
  6031. },
  6032. "wrstandards": {
  6033. "description": "仓单标准列表",
  6034. "type": "array",
  6035. "items": {
  6036. "$ref": "#/definitions/models.WRStandardInfo"
  6037. }
  6038. }
  6039. }
  6040. },
  6041. "erms3.QuerySpotContractInfoRsp": {
  6042. "type": "object",
  6043. "properties": {
  6044. "accountid": {
  6045. "description": "表示交易员ID.",
  6046. "type": "integer"
  6047. },
  6048. "curdeliveryqty": {
  6049. "description": "表示未交收量.",
  6050. "type": "number"
  6051. },
  6052. "customername": {
  6053. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  6054. "type": "string"
  6055. },
  6056. "deliverygoodsid": {
  6057. "description": "表示品种ID.",
  6058. "type": "string"
  6059. },
  6060. "deliveryqty": {
  6061. "description": "表示交收量.",
  6062. "type": "number"
  6063. },
  6064. "matchaccountid": {
  6065. "description": "表示业务员ID.",
  6066. "type": "integer"
  6067. },
  6068. "matchcustomername": {
  6069. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  6070. "type": "string"
  6071. },
  6072. "priceqty": {
  6073. "description": "表示定价量.",
  6074. "type": "number"
  6075. },
  6076. "relatedbizid": {
  6077. "description": "表示业务ID.",
  6078. "type": "string"
  6079. },
  6080. "signdate": {
  6081. "description": "表示签订日期.",
  6082. "type": "string"
  6083. },
  6084. "spotcontractid": {
  6085. "description": "合同ID",
  6086. "type": "string"
  6087. },
  6088. "status": {
  6089. "description": "表示状态,0-履约中 1-已完成.",
  6090. "type": "integer"
  6091. },
  6092. "totalqty": {
  6093. "description": "表示合同量.",
  6094. "type": "number"
  6095. },
  6096. "unpricedqty": {
  6097. "description": "表示未定价量.",
  6098. "type": "number"
  6099. },
  6100. "wrstandardname": {
  6101. "description": "表示商品ID.",
  6102. "type": "string"
  6103. }
  6104. }
  6105. },
  6106. "erms3.QueryUserInfoAppliesRsp": {
  6107. "type": "object",
  6108. "required": [
  6109. "userid"
  6110. ],
  6111. "properties": {
  6112. "biznature": {
  6113. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6114. "type": "integer"
  6115. },
  6116. "contactname": {
  6117. "description": "联系人",
  6118. "type": "string"
  6119. },
  6120. "createtime": {
  6121. "description": "开户申请时间",
  6122. "type": "string"
  6123. },
  6124. "userid": {
  6125. "description": "用户ID(自增ID)",
  6126. "type": "integer"
  6127. },
  6128. "userinfotype": {
  6129. "description": "用户信息类型 - 1:个人 2:企业",
  6130. "type": "integer"
  6131. },
  6132. "username": {
  6133. "description": "用户姓名",
  6134. "type": "string"
  6135. },
  6136. "userstate": {
  6137. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  6138. "type": "integer"
  6139. }
  6140. }
  6141. },
  6142. "erms3.QueryUserInfosRsp": {
  6143. "type": "object",
  6144. "required": [
  6145. "userid"
  6146. ],
  6147. "properties": {
  6148. "biznature": {
  6149. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6150. "type": "integer"
  6151. },
  6152. "contactname": {
  6153. "description": "联系人",
  6154. "type": "string"
  6155. },
  6156. "customername": {
  6157. "description": "客户名称(企业名称)",
  6158. "type": "string"
  6159. },
  6160. "userid": {
  6161. "description": "用户ID",
  6162. "type": "integer"
  6163. },
  6164. "userinfotype": {
  6165. "description": "用户信息类型 - 1:个人 2:企业",
  6166. "type": "integer"
  6167. },
  6168. "userstatus": {
  6169. "description": "用户状态 - 1:正常 2:注销",
  6170. "type": "integer"
  6171. }
  6172. }
  6173. },
  6174. "erms3.SoptContractDetail": {
  6175. "type": "object",
  6176. "required": [
  6177. "deliverygoodsid",
  6178. "producttype",
  6179. "unitname",
  6180. "warehouseid",
  6181. "wrstandardid",
  6182. "wrstandardname"
  6183. ],
  6184. "properties": {
  6185. "deliverygoodsdesc": {
  6186. "description": "现货品种说明",
  6187. "type": "string"
  6188. },
  6189. "deliverygoodsid": {
  6190. "description": "现货品种ID",
  6191. "type": "integer"
  6192. },
  6193. "deliverygoodsname": {
  6194. "description": "现货品种名称",
  6195. "type": "string"
  6196. },
  6197. "pointdesc": {
  6198. "description": "点价描述",
  6199. "type": "string"
  6200. },
  6201. "producttype": {
  6202. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  6203. "type": "integer"
  6204. },
  6205. "producttypename": {
  6206. "description": "产品类型名称",
  6207. "type": "string"
  6208. },
  6209. "spotPointOrderVoList": {
  6210. "description": "点价列表",
  6211. "type": "array",
  6212. "items": {
  6213. "$ref": "#/definitions/erms3.SpotPointOrder"
  6214. }
  6215. },
  6216. "spotPriceOrderList": {
  6217. "description": "定价列表",
  6218. "type": "array",
  6219. "items": {
  6220. "$ref": "#/definitions/erms3.SpotPriceOrder"
  6221. }
  6222. },
  6223. "unitname": {
  6224. "description": "单位名称",
  6225. "type": "string"
  6226. },
  6227. "warehouseid": {
  6228. "description": "仓库ID",
  6229. "type": "integer"
  6230. },
  6231. "warehousename": {
  6232. "description": "仓库名称",
  6233. "type": "string"
  6234. },
  6235. "wrstandardid": {
  6236. "description": "交易标的ID",
  6237. "type": "integer"
  6238. },
  6239. "wrstandardname": {
  6240. "description": "交易标的名称",
  6241. "type": "string"
  6242. }
  6243. }
  6244. },
  6245. "erms3.SpotPointOrder": {
  6246. "type": "object",
  6247. "required": [
  6248. "basic",
  6249. "goodsid",
  6250. "qty"
  6251. ],
  6252. "properties": {
  6253. "basic": {
  6254. "description": "基差",
  6255. "type": "number"
  6256. },
  6257. "deliveryenddate": {
  6258. "description": "交收结束日期",
  6259. "type": "string"
  6260. },
  6261. "deliverystartdate": {
  6262. "description": "交收开始日期",
  6263. "type": "string"
  6264. },
  6265. "enddate": {
  6266. "description": "点价结束日期",
  6267. "type": "string"
  6268. },
  6269. "goodsid": {
  6270. "description": "商品ID",
  6271. "type": "integer"
  6272. },
  6273. "goodsname": {
  6274. "description": "商品名称",
  6275. "type": "string"
  6276. },
  6277. "qty": {
  6278. "description": "数量",
  6279. "type": "number"
  6280. },
  6281. "startdate": {
  6282. "description": "点价开始日期",
  6283. "type": "string"
  6284. }
  6285. }
  6286. },
  6287. "erms3.SpotPriceOrder": {
  6288. "type": "object",
  6289. "required": [
  6290. "amount",
  6291. "price",
  6292. "qty"
  6293. ],
  6294. "properties": {
  6295. "amount": {
  6296. "description": "金额",
  6297. "type": "number"
  6298. },
  6299. "deliveryenddate": {
  6300. "description": "交收结束日期",
  6301. "type": "string"
  6302. },
  6303. "deliverystartdate": {
  6304. "description": "交收开始日期",
  6305. "type": "string"
  6306. },
  6307. "price": {
  6308. "description": "价格",
  6309. "type": "number"
  6310. },
  6311. "qty": {
  6312. "description": "数量",
  6313. "type": "number"
  6314. }
  6315. }
  6316. },
  6317. "hsby.GetHsbyMyCountRsp": {
  6318. "type": "object",
  6319. "properties": {
  6320. "myOrderDetailListingCount": {
  6321. "description": "我的订单求购中数量",
  6322. "type": "integer"
  6323. },
  6324. "myOrderDetailPreCount": {
  6325. "description": "我的订单抢购中数量",
  6326. "type": "integer"
  6327. },
  6328. "myPackageUnReceiveCount": {
  6329. "description": "我的包裹待收货数量",
  6330. "type": "integer"
  6331. },
  6332. "myPackageUnSendCount": {
  6333. "description": "我的包裹待发货数量",
  6334. "type": "integer"
  6335. },
  6336. "myPayOrderCount": {
  6337. "description": "我的订单待付款数量",
  6338. "type": "integer"
  6339. }
  6340. }
  6341. },
  6342. "hsby.QueryProvincesAndCitiesRsp": {
  6343. "type": "object",
  6344. "properties": {
  6345. "cities": {
  6346. "description": "市",
  6347. "type": "array",
  6348. "items": {
  6349. "$ref": "#/definitions/models.Division"
  6350. }
  6351. },
  6352. "province": {
  6353. "description": "省",
  6354. "$ref": "#/definitions/models.Division"
  6355. }
  6356. }
  6357. },
  6358. "models.Division": {
  6359. "type": "object",
  6360. "required": [
  6361. "autoid",
  6362. "divisioncode"
  6363. ],
  6364. "properties": {
  6365. "autoid": {
  6366. "description": "自增ID",
  6367. "type": "integer"
  6368. },
  6369. "divisioncode": {
  6370. "description": "行政代码",
  6371. "type": "string"
  6372. },
  6373. "divisionlevel": {
  6374. "description": "行政级别",
  6375. "type": "string"
  6376. },
  6377. "divisionname": {
  6378. "description": "行政名称",
  6379. "type": "string"
  6380. },
  6381. "modifierid": {
  6382. "description": "修改人",
  6383. "type": "integer"
  6384. },
  6385. "modifytime": {
  6386. "description": "修改时间",
  6387. "type": "string"
  6388. },
  6389. "parentcode": {
  6390. "description": "上级行政代码",
  6391. "type": "string"
  6392. },
  6393. "pathname": {
  6394. "description": "路径名称",
  6395. "type": "string"
  6396. },
  6397. "postcode": {
  6398. "description": "邮政编码",
  6399. "type": "string"
  6400. },
  6401. "separablename": {
  6402. "description": "可拆分的全称",
  6403. "type": "string"
  6404. },
  6405. "shortcode": {
  6406. "description": "地区简码",
  6407. "type": "string"
  6408. }
  6409. }
  6410. },
  6411. "models.Enumdicitem": {
  6412. "type": "object",
  6413. "required": [
  6414. "autoid",
  6415. "enumdiccode",
  6416. "enumdicid",
  6417. "enumitemname"
  6418. ],
  6419. "properties": {
  6420. "autoid": {
  6421. "description": "自增ID",
  6422. "type": "integer"
  6423. },
  6424. "bankmappedvalue": {
  6425. "description": "银行服务对应值",
  6426. "type": "string"
  6427. },
  6428. "enumdiccode": {
  6429. "description": "所属枚举代码",
  6430. "type": "string"
  6431. },
  6432. "enumdicid": {
  6433. "description": "所属枚举ID",
  6434. "type": "integer"
  6435. },
  6436. "enumdicname": {
  6437. "description": "枚举项名称",
  6438. "type": "string"
  6439. },
  6440. "enumitemname": {
  6441. "description": "枚举项值",
  6442. "type": "integer"
  6443. },
  6444. "enumitemstatus": {
  6445. "description": "枚举项状态 - 1.启用 2.不启用",
  6446. "type": "integer"
  6447. },
  6448. "enumitemvalue": {
  6449. "description": "通用值 - [币种通用简写]",
  6450. "type": "string"
  6451. },
  6452. "param1": {
  6453. "description": "参数1[币种:币种小数位]",
  6454. "type": "string"
  6455. },
  6456. "param2": {
  6457. "description": "参数1[币种:币种显示单位]",
  6458. "type": "string"
  6459. },
  6460. "remark": {
  6461. "description": "备注",
  6462. "type": "string"
  6463. }
  6464. }
  6465. },
  6466. "models.GoodsIDAndName": {
  6467. "type": "object",
  6468. "required": [
  6469. "goodscode",
  6470. "goodsid",
  6471. "goodsname",
  6472. "marketid"
  6473. ],
  6474. "properties": {
  6475. "goodscode": {
  6476. "description": "商品代码(内部)",
  6477. "type": "string"
  6478. },
  6479. "goodsid": {
  6480. "description": "商品ID(自增ID SEQ_GOODS)",
  6481. "type": "integer"
  6482. },
  6483. "goodsname": {
  6484. "description": "商品名称",
  6485. "type": "string"
  6486. },
  6487. "marketid": {
  6488. "description": "所属市场ID",
  6489. "type": "integer"
  6490. }
  6491. }
  6492. },
  6493. "models.HsbyBuyMyPayOrder": {
  6494. "type": "object",
  6495. "required": [
  6496. "goodscode",
  6497. "goodsname",
  6498. "tradeid",
  6499. "trademode"
  6500. ],
  6501. "properties": {
  6502. "agreeunit": {
  6503. "description": "合约单位",
  6504. "type": "number"
  6505. },
  6506. "buyaccountid": {
  6507. "description": "买方账号ID[报价币种]",
  6508. "type": "integer"
  6509. },
  6510. "buyorderid": {
  6511. "description": "买方委托单号",
  6512. "type": "string"
  6513. },
  6514. "createtime": {
  6515. "description": "创建时间",
  6516. "type": "string"
  6517. },
  6518. "currencysign": {
  6519. "description": "货币符号",
  6520. "type": "string"
  6521. },
  6522. "decimalplace": {
  6523. "description": "报价小数位",
  6524. "type": "integer"
  6525. },
  6526. "goodscode": {
  6527. "description": "商品代码(内部)",
  6528. "type": "string"
  6529. },
  6530. "goodsid": {
  6531. "description": "商品ID",
  6532. "type": "integer"
  6533. },
  6534. "goodsname": {
  6535. "description": "商品名称",
  6536. "type": "string"
  6537. },
  6538. "marketid": {
  6539. "description": "市场ID",
  6540. "type": "integer"
  6541. },
  6542. "offamount": {
  6543. "description": "优惠金额",
  6544. "type": "number"
  6545. },
  6546. "payamount": {
  6547. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  6548. "type": "number"
  6549. },
  6550. "payflag": {
  6551. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  6552. "type": "integer"
  6553. },
  6554. "paylimitedtime": {
  6555. "description": "支付期限",
  6556. "type": "string"
  6557. },
  6558. "paytime": {
  6559. "description": "付款时间",
  6560. "type": "string"
  6561. },
  6562. "picurls1": {
  6563. "description": "预售商品介绍图片[多张用逗号分隔]",
  6564. "type": "string"
  6565. },
  6566. "picurls2": {
  6567. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  6568. "type": "string"
  6569. },
  6570. "sellaccountid": {
  6571. "description": "卖方账号ID[报价币种]",
  6572. "type": "integer"
  6573. },
  6574. "sellorderid": {
  6575. "description": "卖方委托单号",
  6576. "type": "string"
  6577. },
  6578. "tradeamount": {
  6579. "description": "成交金额",
  6580. "type": "number"
  6581. },
  6582. "tradecharge": {
  6583. "description": "成交手续费(买方)",
  6584. "type": "number"
  6585. },
  6586. "tradedate": {
  6587. "description": "交易日(yyyyMMdd)",
  6588. "type": "string"
  6589. },
  6590. "tradeid": {
  6591. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6592. "type": "string"
  6593. },
  6594. "trademode": {
  6595. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6596. "type": "integer"
  6597. },
  6598. "tradeprice": {
  6599. "description": "成交价格",
  6600. "type": "number"
  6601. },
  6602. "tradeqty": {
  6603. "description": "成交数量",
  6604. "type": "integer"
  6605. },
  6606. "vendorname1": {
  6607. "description": "预售商品供应商名称",
  6608. "type": "string"
  6609. },
  6610. "vendorname2": {
  6611. "description": "挂牌商品供应商名称",
  6612. "type": "string"
  6613. }
  6614. }
  6615. },
  6616. "models.HsbyBuyMyTradeDetail": {
  6617. "type": "object",
  6618. "required": [
  6619. "accountid",
  6620. "buyorsell",
  6621. "goodscode",
  6622. "goodsid",
  6623. "goodsname",
  6624. "marketid",
  6625. "orderid",
  6626. "qty",
  6627. "time",
  6628. "trademode"
  6629. ],
  6630. "properties": {
  6631. "accountid": {
  6632. "description": "账户ID[报价币种]",
  6633. "type": "integer"
  6634. },
  6635. "agreeunit": {
  6636. "description": "合约单位",
  6637. "type": "number"
  6638. },
  6639. "amount": {
  6640. "description": "金额 = 价格 * 数量 * 合约单位",
  6641. "type": "number"
  6642. },
  6643. "buyorsell": {
  6644. "description": "买卖 - 0:买 1:卖",
  6645. "type": "integer"
  6646. },
  6647. "currencysign": {
  6648. "description": "货币符号",
  6649. "type": "string"
  6650. },
  6651. "decimalplace": {
  6652. "description": "报价小数位",
  6653. "type": "integer"
  6654. },
  6655. "goodscode": {
  6656. "description": "商品代码(内部)",
  6657. "type": "string"
  6658. },
  6659. "goodsid": {
  6660. "description": "商品ID",
  6661. "type": "integer"
  6662. },
  6663. "goodsname": {
  6664. "description": "商品名称",
  6665. "type": "string"
  6666. },
  6667. "marketid": {
  6668. "description": "市场ID",
  6669. "type": "integer"
  6670. },
  6671. "orderid": {
  6672. "description": "单号(成交单号)",
  6673. "type": "string"
  6674. },
  6675. "picurls1": {
  6676. "description": "预售商品介绍图片[多张用逗号分隔]",
  6677. "type": "string"
  6678. },
  6679. "picurls2": {
  6680. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  6681. "type": "string"
  6682. },
  6683. "price": {
  6684. "description": "价格",
  6685. "type": "number"
  6686. },
  6687. "qty": {
  6688. "description": "数量",
  6689. "type": "integer"
  6690. },
  6691. "time": {
  6692. "description": "时间",
  6693. "type": "string"
  6694. },
  6695. "trademode": {
  6696. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6697. "type": "integer"
  6698. },
  6699. "vendorname1": {
  6700. "description": "预售商品供应商名称",
  6701. "type": "string"
  6702. },
  6703. "vendorname2": {
  6704. "description": "挂牌商品供应商名称",
  6705. "type": "string"
  6706. }
  6707. }
  6708. },
  6709. "models.HsbyGoodsOrderDetail": {
  6710. "type": "object",
  6711. "required": [
  6712. "buyorsell",
  6713. "orderid",
  6714. "ordertime"
  6715. ],
  6716. "properties": {
  6717. "buyorsell": {
  6718. "description": "买卖 - 0:买 1:卖",
  6719. "type": "integer"
  6720. },
  6721. "currencysign": {
  6722. "description": "货币符号",
  6723. "type": "string"
  6724. },
  6725. "customername": {
  6726. "description": "客户名称(企业名称),已脱敏",
  6727. "type": "string"
  6728. },
  6729. "enableqty": {
  6730. "description": "可用数量",
  6731. "type": "integer"
  6732. },
  6733. "goodunit": {
  6734. "description": "报价单位",
  6735. "type": "string"
  6736. },
  6737. "orderid": {
  6738. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6739. "type": "string"
  6740. },
  6741. "orderprice": {
  6742. "description": "委托价格",
  6743. "type": "number"
  6744. },
  6745. "ordertime": {
  6746. "description": "委托时间",
  6747. "type": "string"
  6748. }
  6749. }
  6750. },
  6751. "models.HsbyListingGoodsDetail": {
  6752. "type": "object",
  6753. "required": [
  6754. "goodscode",
  6755. "goodsid",
  6756. "goodsname",
  6757. "marketid",
  6758. "trademode"
  6759. ],
  6760. "properties": {
  6761. "agreeunit": {
  6762. "description": "合约单位",
  6763. "type": "number"
  6764. },
  6765. "currency": {
  6766. "description": "货币",
  6767. "type": "string"
  6768. },
  6769. "currencysign": {
  6770. "description": "货币符号",
  6771. "type": "string"
  6772. },
  6773. "decimalplace": {
  6774. "description": "报价小数位",
  6775. "type": "integer"
  6776. },
  6777. "desccityid": {
  6778. "description": "目的地(市)ID",
  6779. "type": "integer"
  6780. },
  6781. "descprovinceid": {
  6782. "description": "目的地(省)ID",
  6783. "type": "integer"
  6784. },
  6785. "goodscode": {
  6786. "description": "商品代码(内部)",
  6787. "type": "string"
  6788. },
  6789. "goodsdesc": {
  6790. "description": "商品详情",
  6791. "type": "string"
  6792. },
  6793. "goodsid": {
  6794. "description": "商品ID(自增ID SEQ_GOODS)",
  6795. "type": "integer"
  6796. },
  6797. "goodsname": {
  6798. "description": "商品名称",
  6799. "type": "string"
  6800. },
  6801. "hotindex": {
  6802. "description": "景点热度",
  6803. "type": "integer"
  6804. },
  6805. "last": {
  6806. "description": "现价",
  6807. "type": "number"
  6808. },
  6809. "limitdown": {
  6810. "description": "跌停价",
  6811. "type": "number"
  6812. },
  6813. "limitup": {
  6814. "description": "涨停价",
  6815. "type": "number"
  6816. },
  6817. "lotsize": {
  6818. "description": "手数最小变动单位",
  6819. "type": "integer"
  6820. },
  6821. "marketid": {
  6822. "description": "所属市场ID",
  6823. "type": "integer"
  6824. },
  6825. "picurls": {
  6826. "description": "介绍图片[多张用逗号分隔]",
  6827. "type": "string"
  6828. },
  6829. "quoteminunit": {
  6830. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  6831. "type": "integer"
  6832. },
  6833. "stepvalue": {
  6834. "description": "价格最小变动单位",
  6835. "type": "number"
  6836. },
  6837. "trademode": {
  6838. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6839. "type": "integer"
  6840. },
  6841. "vendorattr": {
  6842. "description": "供应商附件(多张,逗号分隔)",
  6843. "type": "string"
  6844. },
  6845. "vendorname": {
  6846. "description": "供应商名称",
  6847. "type": "string"
  6848. },
  6849. "vendorphone": {
  6850. "description": "供应商客服电话",
  6851. "type": "string"
  6852. },
  6853. "videourls": {
  6854. "description": "介绍视频[多张用逗号分隔]",
  6855. "type": "string"
  6856. }
  6857. }
  6858. },
  6859. "models.HsbyMarketGoods": {
  6860. "type": "object",
  6861. "required": [
  6862. "accountid",
  6863. "buyorsell",
  6864. "goodscode",
  6865. "goodsid",
  6866. "goodsname",
  6867. "marketid",
  6868. "orderid",
  6869. "orderqty",
  6870. "trademode"
  6871. ],
  6872. "properties": {
  6873. "accountid": {
  6874. "description": "账户ID[报价币种]",
  6875. "type": "integer"
  6876. },
  6877. "agreeunit": {
  6878. "description": "合约单位",
  6879. "type": "number"
  6880. },
  6881. "buyorsell": {
  6882. "description": "买卖 - 0:买 1:卖",
  6883. "type": "integer"
  6884. },
  6885. "cancelqty": {
  6886. "description": "撤单数量",
  6887. "type": "integer"
  6888. },
  6889. "categoryid": {
  6890. "description": "类别ID(WRCATEGORY)",
  6891. "type": "integer"
  6892. },
  6893. "currency": {
  6894. "description": "货币",
  6895. "type": "string"
  6896. },
  6897. "currencysign": {
  6898. "description": "货币符号",
  6899. "type": "string"
  6900. },
  6901. "decimalplace": {
  6902. "description": "报价小数位",
  6903. "type": "integer"
  6904. },
  6905. "goodscode": {
  6906. "description": "商品代码(内部)",
  6907. "type": "string"
  6908. },
  6909. "goodsid": {
  6910. "description": "商品ID",
  6911. "type": "integer"
  6912. },
  6913. "goodsname": {
  6914. "description": "商品名称",
  6915. "type": "string"
  6916. },
  6917. "hascoupon": {
  6918. "description": "是否可用优惠卷",
  6919. "type": "boolean"
  6920. },
  6921. "hotindex": {
  6922. "description": "景点热度",
  6923. "type": "integer"
  6924. },
  6925. "marketid": {
  6926. "description": "市场ID",
  6927. "type": "integer"
  6928. },
  6929. "orderid": {
  6930. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6931. "type": "string"
  6932. },
  6933. "orderprice": {
  6934. "description": "委托价格",
  6935. "type": "number"
  6936. },
  6937. "orderqty": {
  6938. "description": "委托数量",
  6939. "type": "integer"
  6940. },
  6941. "orderstatus": {
  6942. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  6943. "type": "integer"
  6944. },
  6945. "picurls": {
  6946. "description": "介绍图片[多张用逗号分隔]",
  6947. "type": "string"
  6948. },
  6949. "quoteminunit": {
  6950. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  6951. "type": "integer"
  6952. },
  6953. "sellUserID": {
  6954. "description": "卖方UserID",
  6955. "type": "integer"
  6956. },
  6957. "trademode": {
  6958. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6959. "type": "integer"
  6960. },
  6961. "tradeqty": {
  6962. "description": "成交数量",
  6963. "type": "integer"
  6964. },
  6965. "videourls": {
  6966. "description": "介绍视频[多张用逗号分隔]",
  6967. "type": "string"
  6968. }
  6969. }
  6970. },
  6971. "models.HsbyMarketInfo": {
  6972. "type": "object",
  6973. "required": [
  6974. "marketid",
  6975. "marketstatus",
  6976. "trademode"
  6977. ],
  6978. "properties": {
  6979. "marketid": {
  6980. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  6981. "type": "integer"
  6982. },
  6983. "marketname": {
  6984. "description": "市场名称",
  6985. "type": "string"
  6986. },
  6987. "marketstatus": {
  6988. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  6989. "type": "integer"
  6990. },
  6991. "trademode": {
  6992. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6993. "type": "integer"
  6994. }
  6995. }
  6996. },
  6997. "models.HsbyMyGoods": {
  6998. "type": "object",
  6999. "required": [
  7000. "accountid",
  7001. "goodscode",
  7002. "goodsid",
  7003. "goodsname"
  7004. ],
  7005. "properties": {
  7006. "accountid": {
  7007. "description": "账号Id",
  7008. "type": "integer"
  7009. },
  7010. "agreeunit": {
  7011. "description": "合约单位",
  7012. "type": "number"
  7013. },
  7014. "buyaverageprice": {
  7015. "description": "持仓均价",
  7016. "type": "number"
  7017. },
  7018. "buycurholderamount": {
  7019. "description": "买当前持仓总金额[商品币种]",
  7020. "type": "number"
  7021. },
  7022. "buycurpositionqty": {
  7023. "description": "买当前持仓总数量",
  7024. "type": "integer"
  7025. },
  7026. "currencysign": {
  7027. "description": "货币符号",
  7028. "type": "string"
  7029. },
  7030. "decimalplace": {
  7031. "description": "报价小数位",
  7032. "type": "integer"
  7033. },
  7034. "enableqty": {
  7035. "description": "可用数量",
  7036. "type": "integer"
  7037. },
  7038. "goodscode": {
  7039. "description": "商品代码(内部)",
  7040. "type": "string"
  7041. },
  7042. "goodsid": {
  7043. "description": "商品Id",
  7044. "type": "integer"
  7045. },
  7046. "goodsname": {
  7047. "description": "商品名称",
  7048. "type": "string"
  7049. },
  7050. "goodsstatus": {
  7051. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  7052. "type": "integer"
  7053. },
  7054. "picurls": {
  7055. "description": "介绍图片[多张用逗号分隔]",
  7056. "type": "string"
  7057. }
  7058. }
  7059. },
  7060. "models.HsbyMyPackage": {
  7061. "type": "object",
  7062. "required": [
  7063. "goodscode",
  7064. "goodsname",
  7065. "takeorderid"
  7066. ],
  7067. "properties": {
  7068. "accountid": {
  7069. "description": "账户ID",
  7070. "type": "integer"
  7071. },
  7072. "address": {
  7073. "description": "提货人详细地址",
  7074. "type": "string"
  7075. },
  7076. "agreeunit": {
  7077. "description": "合约单位",
  7078. "type": "number"
  7079. },
  7080. "amount": {
  7081. "description": "提货金额",
  7082. "type": "number"
  7083. },
  7084. "auditer": {
  7085. "description": "审核人",
  7086. "type": "integer"
  7087. },
  7088. "audittime": {
  7089. "description": "审核时间",
  7090. "type": "string"
  7091. },
  7092. "averageprice": {
  7093. "description": "均价",
  7094. "type": "number"
  7095. },
  7096. "cardnum": {
  7097. "description": "提货人证件号码",
  7098. "type": "string"
  7099. },
  7100. "cardtypeid": {
  7101. "description": "提货人证件类型",
  7102. "type": "integer"
  7103. },
  7104. "checkremark": {
  7105. "description": "审核备注",
  7106. "type": "string"
  7107. },
  7108. "currencysign": {
  7109. "description": "货币符号",
  7110. "type": "string"
  7111. },
  7112. "decimalplace": {
  7113. "description": "报价小数位",
  7114. "type": "integer"
  7115. },
  7116. "goodscode": {
  7117. "description": "商品代码(内部)",
  7118. "type": "string"
  7119. },
  7120. "goodsid": {
  7121. "description": "商品ID",
  7122. "type": "integer"
  7123. },
  7124. "goodsname": {
  7125. "description": "商品名称",
  7126. "type": "string"
  7127. },
  7128. "handlestatus": {
  7129. "description": "处理状态",
  7130. "type": "integer"
  7131. },
  7132. "marketid": {
  7133. "description": "市场ID",
  7134. "type": "integer"
  7135. },
  7136. "phonenum": {
  7137. "description": "提货人联系方式",
  7138. "type": "string"
  7139. },
  7140. "picurls": {
  7141. "description": "介绍图片[多张用逗号分隔]",
  7142. "type": "string"
  7143. },
  7144. "qty": {
  7145. "description": "提货数量",
  7146. "type": "number"
  7147. },
  7148. "recivername": {
  7149. "description": "提货人姓名",
  7150. "type": "string"
  7151. },
  7152. "reqtime": {
  7153. "description": "更新时间",
  7154. "type": "string"
  7155. },
  7156. "takemode": {
  7157. "description": "提货方式 - 2:自提 3:配送",
  7158. "type": "integer"
  7159. },
  7160. "takeorderid": {
  7161. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  7162. "type": "string"
  7163. },
  7164. "takeorderstatus": {
  7165. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7166. "type": "integer"
  7167. },
  7168. "takeremark": {
  7169. "description": "提货备注",
  7170. "type": "string"
  7171. },
  7172. "tradedate": {
  7173. "description": "交易日(yyyyMMdd)",
  7174. "type": "string"
  7175. },
  7176. "userid": {
  7177. "description": "用户ID",
  7178. "type": "integer"
  7179. },
  7180. "vendorname": {
  7181. "description": "供应商名称",
  7182. "type": "string"
  7183. }
  7184. }
  7185. },
  7186. "models.HsbyPreGoods": {
  7187. "type": "object",
  7188. "required": [
  7189. "goodscode",
  7190. "goodsid",
  7191. "goodsname",
  7192. "marketid",
  7193. "trademode"
  7194. ],
  7195. "properties": {
  7196. "agreeunit": {
  7197. "description": "合约单位",
  7198. "type": "number"
  7199. },
  7200. "currency": {
  7201. "description": "货币",
  7202. "type": "string"
  7203. },
  7204. "currencysign": {
  7205. "description": "货币符号",
  7206. "type": "string"
  7207. },
  7208. "decimalplace": {
  7209. "description": "报价小数位",
  7210. "type": "integer"
  7211. },
  7212. "enableqty": {
  7213. "description": "剩余数量",
  7214. "type": "integer"
  7215. },
  7216. "goodscode": {
  7217. "description": "商品代码(内部)",
  7218. "type": "string"
  7219. },
  7220. "goodsid": {
  7221. "description": "商品ID(自增ID SEQ_GOODS)",
  7222. "type": "integer"
  7223. },
  7224. "goodsname": {
  7225. "description": "商品名称",
  7226. "type": "string"
  7227. },
  7228. "goodsstatus": {
  7229. "description": "商品状态- 2:未上市 3:上市",
  7230. "type": "integer"
  7231. },
  7232. "lasttradedate": {
  7233. "description": "最后交易日期(状态:待退市)",
  7234. "type": "string"
  7235. },
  7236. "listingdate": {
  7237. "description": "交易开始日期",
  7238. "type": "string"
  7239. },
  7240. "marketid": {
  7241. "description": "所属市场ID",
  7242. "type": "integer"
  7243. },
  7244. "picurls": {
  7245. "description": "介绍图片[多张用逗号分隔]",
  7246. "type": "string"
  7247. },
  7248. "presaledqty": {
  7249. "description": "已预售量(预售结束时更新)",
  7250. "type": "integer"
  7251. },
  7252. "presaleqty": {
  7253. "description": "预售数量",
  7254. "type": "integer"
  7255. },
  7256. "quoteminunit": {
  7257. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7258. "type": "integer"
  7259. },
  7260. "refprice": {
  7261. "description": "参考价格[一口价]",
  7262. "type": "number"
  7263. },
  7264. "relatedgoodsid": {
  7265. "description": "关联交易合约ID",
  7266. "type": "integer"
  7267. },
  7268. "trademode": {
  7269. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7270. "type": "integer"
  7271. },
  7272. "videourls": {
  7273. "description": "介绍视频[多张用逗号分隔]",
  7274. "type": "string"
  7275. }
  7276. }
  7277. },
  7278. "models.HsbyPreGoodsDetail": {
  7279. "type": "object",
  7280. "required": [
  7281. "goodscode",
  7282. "goodsid",
  7283. "goodsname",
  7284. "marketid",
  7285. "trademode"
  7286. ],
  7287. "properties": {
  7288. "agreeunit": {
  7289. "description": "合约单位",
  7290. "type": "number"
  7291. },
  7292. "buymaxqty": {
  7293. "description": "购买上限 [71] - 0为不限",
  7294. "type": "integer"
  7295. },
  7296. "currency": {
  7297. "description": "货币",
  7298. "type": "string"
  7299. },
  7300. "currencysign": {
  7301. "description": "货币符号",
  7302. "type": "string"
  7303. },
  7304. "customername": {
  7305. "description": "发行单位",
  7306. "type": "string"
  7307. },
  7308. "decimalplace": {
  7309. "description": "报价小数位",
  7310. "type": "integer"
  7311. },
  7312. "desccityid": {
  7313. "description": "目的地(市)ID",
  7314. "type": "integer"
  7315. },
  7316. "descprovinceid": {
  7317. "description": "目的地(省)ID",
  7318. "type": "integer"
  7319. },
  7320. "enableqty": {
  7321. "description": "剩余数量",
  7322. "type": "integer"
  7323. },
  7324. "goodscode": {
  7325. "description": "商品代码(内部)",
  7326. "type": "string"
  7327. },
  7328. "goodsdesc": {
  7329. "description": "商品详情",
  7330. "type": "string"
  7331. },
  7332. "goodsid": {
  7333. "description": "商品ID(自增ID SEQ_GOODS)",
  7334. "type": "integer"
  7335. },
  7336. "goodsname": {
  7337. "description": "商品名称",
  7338. "type": "string"
  7339. },
  7340. "goodsstatus": {
  7341. "description": "商品状态- 2:未上市 3:上市",
  7342. "type": "integer"
  7343. },
  7344. "goodunit": {
  7345. "description": "报价单位",
  7346. "type": "string"
  7347. },
  7348. "lasttradedate": {
  7349. "description": "最后交易日期(状态:待退市)",
  7350. "type": "string"
  7351. },
  7352. "listingdate": {
  7353. "description": "交易开始日期",
  7354. "type": "string"
  7355. },
  7356. "lotsize": {
  7357. "description": "手数最小变动单位",
  7358. "type": "integer"
  7359. },
  7360. "marketid": {
  7361. "description": "所属市场ID",
  7362. "type": "integer"
  7363. },
  7364. "picurls": {
  7365. "description": "介绍图片[多张用逗号分隔]",
  7366. "type": "string"
  7367. },
  7368. "presaledqty": {
  7369. "description": "已预售量(预售结束时更新)",
  7370. "type": "integer"
  7371. },
  7372. "presaleqty": {
  7373. "description": "预售数量",
  7374. "type": "integer"
  7375. },
  7376. "quoteminunit": {
  7377. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7378. "type": "integer"
  7379. },
  7380. "refprice": {
  7381. "description": "参考价格[一口价]",
  7382. "type": "number"
  7383. },
  7384. "relatedgoodsid": {
  7385. "description": "关联交易合约ID",
  7386. "type": "integer"
  7387. },
  7388. "stepvalue": {
  7389. "description": "价格最小变动单位",
  7390. "type": "number"
  7391. },
  7392. "trademode": {
  7393. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7394. "type": "integer"
  7395. },
  7396. "vendorattr": {
  7397. "description": "供应商附件(多张,逗号分隔)",
  7398. "type": "string"
  7399. },
  7400. "vendorname": {
  7401. "description": "供应商名称",
  7402. "type": "string"
  7403. },
  7404. "vendorphone": {
  7405. "description": "供应商客服电话",
  7406. "type": "string"
  7407. },
  7408. "videourls": {
  7409. "description": "介绍视频[多张用逗号分隔]",
  7410. "type": "string"
  7411. }
  7412. }
  7413. },
  7414. "models.HsbySellCollectionOrder": {
  7415. "type": "object",
  7416. "required": [
  7417. "goodscode",
  7418. "goodsname",
  7419. "tradeid",
  7420. "trademode"
  7421. ],
  7422. "properties": {
  7423. "agreeunit": {
  7424. "description": "合约单位",
  7425. "type": "number"
  7426. },
  7427. "buyaccountid": {
  7428. "description": "买方账号ID[报价币种]",
  7429. "type": "integer"
  7430. },
  7431. "buyorderid": {
  7432. "description": "买方委托单号",
  7433. "type": "string"
  7434. },
  7435. "createtime": {
  7436. "description": "创建时间",
  7437. "type": "string"
  7438. },
  7439. "currencysign": {
  7440. "description": "货币符号",
  7441. "type": "string"
  7442. },
  7443. "decimalplace": {
  7444. "description": "报价小数位",
  7445. "type": "integer"
  7446. },
  7447. "goodscode": {
  7448. "description": "商品代码(内部)",
  7449. "type": "string"
  7450. },
  7451. "goodsid": {
  7452. "description": "商品ID",
  7453. "type": "integer"
  7454. },
  7455. "goodsname": {
  7456. "description": "商品名称",
  7457. "type": "string"
  7458. },
  7459. "marketid": {
  7460. "description": "市场ID",
  7461. "type": "integer"
  7462. },
  7463. "offamount": {
  7464. "description": "优惠金额",
  7465. "type": "number"
  7466. },
  7467. "payamount": {
  7468. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  7469. "type": "number"
  7470. },
  7471. "payflag": {
  7472. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7473. "type": "integer"
  7474. },
  7475. "paylimitedtime": {
  7476. "description": "支付期限",
  7477. "type": "string"
  7478. },
  7479. "paytime": {
  7480. "description": "付款时间",
  7481. "type": "string"
  7482. },
  7483. "picurls": {
  7484. "description": "商品介绍图片[多张用逗号分隔]",
  7485. "type": "string"
  7486. },
  7487. "sellaccountid": {
  7488. "description": "卖方账号ID[报价币种]",
  7489. "type": "integer"
  7490. },
  7491. "sellorderid": {
  7492. "description": "卖方委托单号",
  7493. "type": "string"
  7494. },
  7495. "tradeamount": {
  7496. "description": "成交金额",
  7497. "type": "number"
  7498. },
  7499. "tradecharge": {
  7500. "description": "成交手续费(买方)",
  7501. "type": "number"
  7502. },
  7503. "tradedate": {
  7504. "description": "交易日(yyyyMMdd)",
  7505. "type": "string"
  7506. },
  7507. "tradeid": {
  7508. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7509. "type": "string"
  7510. },
  7511. "trademode": {
  7512. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7513. "type": "integer"
  7514. },
  7515. "tradeprice": {
  7516. "description": "成交价格",
  7517. "type": "number"
  7518. },
  7519. "tradeqty": {
  7520. "description": "成交数量",
  7521. "type": "integer"
  7522. }
  7523. }
  7524. },
  7525. "models.HsbySellMyDetail": {
  7526. "type": "object",
  7527. "required": [
  7528. "accountid",
  7529. "buyorsell",
  7530. "goodscode",
  7531. "goodsid",
  7532. "goodsname",
  7533. "marketid",
  7534. "orderid",
  7535. "orderqty",
  7536. "time",
  7537. "trademode"
  7538. ],
  7539. "properties": {
  7540. "accountid": {
  7541. "description": "账户ID[报价币种]",
  7542. "type": "integer"
  7543. },
  7544. "agreeunit": {
  7545. "description": "合约单位",
  7546. "type": "number"
  7547. },
  7548. "buyorsell": {
  7549. "description": "买卖 - 0:买 1:卖",
  7550. "type": "integer"
  7551. },
  7552. "cancelqty": {
  7553. "description": "撤单数量",
  7554. "type": "integer"
  7555. },
  7556. "currencysign": {
  7557. "description": "货币符号",
  7558. "type": "string"
  7559. },
  7560. "decimalplace": {
  7561. "description": "报价小数位",
  7562. "type": "integer"
  7563. },
  7564. "goodscode": {
  7565. "description": "商品代码(内部)",
  7566. "type": "string"
  7567. },
  7568. "goodsid": {
  7569. "description": "商品ID",
  7570. "type": "integer"
  7571. },
  7572. "goodsname": {
  7573. "description": "商品名称",
  7574. "type": "string"
  7575. },
  7576. "marketid": {
  7577. "description": "市场ID",
  7578. "type": "integer"
  7579. },
  7580. "orderid": {
  7581. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  7582. "type": "string"
  7583. },
  7584. "orderqty": {
  7585. "description": "委托数量",
  7586. "type": "integer"
  7587. },
  7588. "ordertype": {
  7589. "description": "单据类型:0 - 发布中, 1 - 已完成",
  7590. "type": "integer"
  7591. },
  7592. "picurls": {
  7593. "description": "介绍图片[多张用逗号分隔]",
  7594. "type": "string"
  7595. },
  7596. "price": {
  7597. "description": "价格",
  7598. "type": "number"
  7599. },
  7600. "time": {
  7601. "description": "时间",
  7602. "type": "string"
  7603. },
  7604. "trademode": {
  7605. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7606. "type": "integer"
  7607. },
  7608. "tradeqty": {
  7609. "description": "成交数量",
  7610. "type": "integer"
  7611. },
  7612. "vendorname": {
  7613. "description": "供应商名称",
  7614. "type": "string"
  7615. }
  7616. }
  7617. },
  7618. "models.HsbyTopGoods": {
  7619. "type": "object",
  7620. "required": [
  7621. "goodscode",
  7622. "goodsid",
  7623. "goodsname",
  7624. "marketid",
  7625. "trademode"
  7626. ],
  7627. "properties": {
  7628. "agreeunit": {
  7629. "description": "合约单位",
  7630. "type": "number"
  7631. },
  7632. "currency": {
  7633. "description": "货币",
  7634. "type": "string"
  7635. },
  7636. "currencysign": {
  7637. "description": "货币符号",
  7638. "type": "string"
  7639. },
  7640. "decimalplace": {
  7641. "description": "报价小数位",
  7642. "type": "integer"
  7643. },
  7644. "goodscode": {
  7645. "description": "商品代码(内部)",
  7646. "type": "string"
  7647. },
  7648. "goodsid": {
  7649. "description": "商品ID(自增ID SEQ_GOODS)",
  7650. "type": "integer"
  7651. },
  7652. "goodsname": {
  7653. "description": "商品名称",
  7654. "type": "string"
  7655. },
  7656. "hotindex": {
  7657. "description": "景点热度",
  7658. "type": "integer"
  7659. },
  7660. "last": {
  7661. "description": "现价",
  7662. "type": "number"
  7663. },
  7664. "marketid": {
  7665. "description": "所属市场ID",
  7666. "type": "integer"
  7667. },
  7668. "picurls": {
  7669. "description": "介绍图片[多张用逗号分隔]",
  7670. "type": "string"
  7671. },
  7672. "quoteminunit": {
  7673. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7674. "type": "integer"
  7675. },
  7676. "trademode": {
  7677. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7678. "type": "integer"
  7679. },
  7680. "videourls": {
  7681. "description": "介绍视频[多张用逗号分隔]",
  7682. "type": "string"
  7683. }
  7684. }
  7685. },
  7686. "models.HybsMyBuyOrderDetail": {
  7687. "type": "object",
  7688. "required": [
  7689. "accountid",
  7690. "buyorsell",
  7691. "goodscode",
  7692. "goodsid",
  7693. "goodsname",
  7694. "marketid",
  7695. "orderid",
  7696. "orderqty",
  7697. "ordertime",
  7698. "trademode"
  7699. ],
  7700. "properties": {
  7701. "accountid": {
  7702. "description": "账户ID[报价币种]",
  7703. "type": "integer"
  7704. },
  7705. "agreeunit": {
  7706. "description": "合约单位",
  7707. "type": "number"
  7708. },
  7709. "buyorsell": {
  7710. "description": "买卖 - 0:买 1:卖",
  7711. "type": "integer"
  7712. },
  7713. "cancelqty": {
  7714. "description": "撤单数量",
  7715. "type": "integer"
  7716. },
  7717. "currencysign": {
  7718. "description": "货币符号",
  7719. "type": "string"
  7720. },
  7721. "decimalplace": {
  7722. "description": "报价小数位",
  7723. "type": "integer"
  7724. },
  7725. "goodscode": {
  7726. "description": "商品代码(内部)",
  7727. "type": "string"
  7728. },
  7729. "goodsid": {
  7730. "description": "商品ID",
  7731. "type": "integer"
  7732. },
  7733. "goodsname": {
  7734. "description": "商品名称",
  7735. "type": "string"
  7736. },
  7737. "listingselecttype": {
  7738. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7739. "type": "integer"
  7740. },
  7741. "marketid": {
  7742. "description": "市场ID",
  7743. "type": "integer"
  7744. },
  7745. "mybuystatus": {
  7746. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  7747. "type": "integer"
  7748. },
  7749. "orderamount": {
  7750. "description": "委托金额",
  7751. "type": "number"
  7752. },
  7753. "orderid": {
  7754. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7755. "type": "string"
  7756. },
  7757. "orderprice": {
  7758. "description": "委托价格",
  7759. "type": "number"
  7760. },
  7761. "orderqty": {
  7762. "description": "委托数量",
  7763. "type": "integer"
  7764. },
  7765. "orderstatus": {
  7766. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7767. "type": "integer"
  7768. },
  7769. "ordertime": {
  7770. "description": "委托时间",
  7771. "type": "string"
  7772. },
  7773. "picurls1": {
  7774. "description": "预售商品介绍图片[多张用逗号分隔]",
  7775. "type": "string"
  7776. },
  7777. "picurls2": {
  7778. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  7779. "type": "string"
  7780. },
  7781. "trademode": {
  7782. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7783. "type": "integer"
  7784. },
  7785. "tradeqty": {
  7786. "description": "成交数量",
  7787. "type": "integer"
  7788. },
  7789. "vendorname1": {
  7790. "description": "预售商品供应商名称",
  7791. "type": "string"
  7792. },
  7793. "vendorname2": {
  7794. "description": "挂牌商品供应商名称",
  7795. "type": "string"
  7796. }
  7797. }
  7798. },
  7799. "models.Messageboard": {
  7800. "type": "object",
  7801. "required": [
  7802. "messageboardid"
  7803. ],
  7804. "properties": {
  7805. "createtime": {
  7806. "description": "创建时间",
  7807. "type": "string"
  7808. },
  7809. "message": {
  7810. "description": "留言信息",
  7811. "type": "string"
  7812. },
  7813. "messageboardid": {
  7814. "description": "留言簿ID(SEQ_MessageBoard)",
  7815. "type": "integer"
  7816. },
  7817. "userid": {
  7818. "description": "用户ID",
  7819. "type": "integer"
  7820. }
  7821. }
  7822. },
  7823. "models.MyCoupon": {
  7824. "type": "object",
  7825. "required": [
  7826. "accountid",
  7827. "coupontypeid"
  7828. ],
  7829. "properties": {
  7830. "accountid": {
  7831. "description": "资金账户ID",
  7832. "type": "integer"
  7833. },
  7834. "areauserid": {
  7835. "description": "所属机构",
  7836. "type": "integer"
  7837. },
  7838. "conditionvalue": {
  7839. "description": "条件阈值(可为0)",
  7840. "type": "number"
  7841. },
  7842. "couponcategroy": {
  7843. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  7844. "type": "integer"
  7845. },
  7846. "couponname": {
  7847. "description": "优惠券名称",
  7848. "type": "string"
  7849. },
  7850. "coupontypeid": {
  7851. "description": "优惠券类型ID",
  7852. "type": "integer"
  7853. },
  7854. "couponvalue": {
  7855. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  7856. "type": "number"
  7857. },
  7858. "curfreezeqty": {
  7859. "description": "期末冻结数量",
  7860. "type": "integer"
  7861. },
  7862. "curqty": {
  7863. "description": "期末数量",
  7864. "type": "integer"
  7865. },
  7866. "isgeneral": {
  7867. "description": "是否通用券 - 0:否 1:是",
  7868. "type": "integer"
  7869. },
  7870. "isunusable": {
  7871. "description": "是否不可用",
  7872. "type": "boolean"
  7873. },
  7874. "limitedflag": {
  7875. "description": "是否指定商品 - 0:不限 1:限制",
  7876. "type": "integer"
  7877. },
  7878. "limitedgoodsids": {
  7879. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  7880. "type": "string"
  7881. },
  7882. "orifreezeqty": {
  7883. "description": "期初冻结数量",
  7884. "type": "integer"
  7885. },
  7886. "oriqty": {
  7887. "description": "期初数量",
  7888. "type": "integer"
  7889. },
  7890. "reasontype": {
  7891. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  7892. "type": "integer"
  7893. },
  7894. "todaydecrease": {
  7895. "description": "今日减少",
  7896. "type": "integer"
  7897. },
  7898. "todayincrease": {
  7899. "description": "今日增加",
  7900. "type": "integer"
  7901. },
  7902. "userid": {
  7903. "description": "用户ID",
  7904. "type": "integer"
  7905. },
  7906. "userscope": {
  7907. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  7908. "type": "string"
  7909. }
  7910. }
  7911. },
  7912. "models.OperationPrimaryMenu": {
  7913. "type": "object",
  7914. "properties": {
  7915. "Children": {
  7916. "description": "二级功能菜单",
  7917. "type": "array",
  7918. "items": {
  7919. "$ref": "#/definitions/models.OperationSecondaryMenu"
  7920. }
  7921. },
  7922. "Key": {
  7923. "description": "菜单KEY",
  7924. "type": "string"
  7925. },
  7926. "Label": {
  7927. "description": "菜单标题",
  7928. "type": "string"
  7929. }
  7930. }
  7931. },
  7932. "models.OperationSecondaryMenu": {
  7933. "type": "object",
  7934. "properties": {
  7935. "Key": {
  7936. "description": "菜单KEY",
  7937. "type": "string"
  7938. },
  7939. "Label": {
  7940. "description": "菜单标题",
  7941. "type": "string"
  7942. },
  7943. "TabList": {
  7944. "description": "三级功能菜单",
  7945. "type": "array",
  7946. "items": {
  7947. "$ref": "#/definitions/models.OperationTabMenu"
  7948. }
  7949. }
  7950. }
  7951. },
  7952. "models.OperationTabMenu": {
  7953. "type": "object",
  7954. "properties": {
  7955. "Key": {
  7956. "description": "菜单KEY",
  7957. "type": "string"
  7958. },
  7959. "Label": {
  7960. "description": "菜单标题",
  7961. "type": "string"
  7962. }
  7963. }
  7964. },
  7965. "models.QuotePrimaryMenu": {
  7966. "type": "object",
  7967. "properties": {
  7968. "Index": {
  7969. "description": "序号",
  7970. "type": "integer"
  7971. },
  7972. "Key": {
  7973. "description": "键名",
  7974. "type": "string"
  7975. },
  7976. "Name": {
  7977. "description": "菜单名称",
  7978. "type": "string"
  7979. },
  7980. "SubMenus": {
  7981. "description": "子菜单",
  7982. "type": "array",
  7983. "items": {
  7984. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  7985. }
  7986. },
  7987. "SubTitleType": {
  7988. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  7989. "type": "integer"
  7990. },
  7991. "TradeModes": {
  7992. "description": "包含市场交易类型",
  7993. "type": "string"
  7994. }
  7995. }
  7996. },
  7997. "models.QuoteSecondaryMenu": {
  7998. "type": "object",
  7999. "properties": {
  8000. "ExExchangeCode": {
  8001. "description": "外部交易所代码",
  8002. "type": "string"
  8003. },
  8004. "ExExchangeID": {
  8005. "description": "外部交易所ID",
  8006. "type": "integer"
  8007. },
  8008. "GoodsGroupIDs": {
  8009. "description": "商品组ID列表",
  8010. "type": "array",
  8011. "items": {
  8012. "type": "integer"
  8013. }
  8014. },
  8015. "Index": {
  8016. "description": "序号",
  8017. "type": "integer"
  8018. },
  8019. "MarketID": {
  8020. "description": "市场ID",
  8021. "type": "integer"
  8022. },
  8023. "MenuTitle": {
  8024. "description": "菜单标题(市场名称或外部交易所名称)",
  8025. "type": "string"
  8026. },
  8027. "TradeMode": {
  8028. "description": "交易模式",
  8029. "type": "integer"
  8030. }
  8031. }
  8032. },
  8033. "models.SearchGoods": {
  8034. "type": "object",
  8035. "required": [
  8036. "goodscode",
  8037. "goodsid",
  8038. "goodsname",
  8039. "marketid",
  8040. "trademode"
  8041. ],
  8042. "properties": {
  8043. "goodscode": {
  8044. "description": "商品代码(内部)",
  8045. "type": "string"
  8046. },
  8047. "goodsid": {
  8048. "description": "商品ID(自增ID SEQ_GOODS)",
  8049. "type": "integer"
  8050. },
  8051. "goodsname": {
  8052. "description": "商品名称",
  8053. "type": "string"
  8054. },
  8055. "marketid": {
  8056. "description": "所属市场ID",
  8057. "type": "integer"
  8058. },
  8059. "marketname": {
  8060. "description": "市场名称",
  8061. "type": "string"
  8062. },
  8063. "trademode": {
  8064. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8065. "type": "integer"
  8066. }
  8067. }
  8068. },
  8069. "models.Szdz2imageconfig": {
  8070. "type": "object",
  8071. "required": [
  8072. "configid"
  8073. ],
  8074. "properties": {
  8075. "configid": {
  8076. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  8077. "type": "integer"
  8078. },
  8079. "imagepath": {
  8080. "description": "图片",
  8081. "type": "string"
  8082. },
  8083. "imagetype": {
  8084. "description": "类型 - 1:App首页轮播 2:我的",
  8085. "type": "integer"
  8086. },
  8087. "sort": {
  8088. "description": "排序",
  8089. "type": "integer"
  8090. },
  8091. "title": {
  8092. "description": "标题",
  8093. "type": "string"
  8094. },
  8095. "url": {
  8096. "description": "链接",
  8097. "type": "string"
  8098. }
  8099. }
  8100. },
  8101. "models.Szdz3convertconfig": {
  8102. "type": "object",
  8103. "required": [
  8104. "converttype",
  8105. "innergoodsid",
  8106. "outergoodscode"
  8107. ],
  8108. "properties": {
  8109. "canin": {
  8110. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  8111. "type": "integer"
  8112. },
  8113. "canout": {
  8114. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  8115. "type": "integer"
  8116. },
  8117. "converttype": {
  8118. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  8119. "type": "integer"
  8120. },
  8121. "createtime": {
  8122. "description": "创建时间",
  8123. "type": "string"
  8124. },
  8125. "creatorid": {
  8126. "description": "创建人",
  8127. "type": "integer"
  8128. },
  8129. "daymaxvalue": {
  8130. "description": "当日最大转入限制",
  8131. "type": "number"
  8132. },
  8133. "freezedays": {
  8134. "description": "冻结天数 [5:花生米转交易]",
  8135. "type": "integer"
  8136. },
  8137. "innergoodsid": {
  8138. "description": "内部商品ID[交易]",
  8139. "type": "integer"
  8140. },
  8141. "inratio": {
  8142. "description": "目标值",
  8143. "type": "integer"
  8144. },
  8145. "modifierid": {
  8146. "description": "修改人",
  8147. "type": "integer"
  8148. },
  8149. "modifytime": {
  8150. "description": "修改时间",
  8151. "type": "string"
  8152. },
  8153. "outergoodscode": {
  8154. "description": "外部商品代码[JD\\PD]",
  8155. "type": "string"
  8156. },
  8157. "outratio": {
  8158. "description": "源值",
  8159. "type": "integer"
  8160. },
  8161. "pddecimalplace": {
  8162. "description": "PD小数位",
  8163. "type": "integer"
  8164. },
  8165. "timemaxvalue": {
  8166. "description": "单次最大转入限制",
  8167. "type": "number"
  8168. },
  8169. "timeminvalue": {
  8170. "description": "单次最小转入限制",
  8171. "type": "number"
  8172. }
  8173. }
  8174. },
  8175. "models.Szdz3searchwhitelist": {
  8176. "type": "object",
  8177. "required": [
  8178. "userid"
  8179. ],
  8180. "properties": {
  8181. "createtime": {
  8182. "description": "创建时间",
  8183. "type": "string"
  8184. },
  8185. "creatorid": {
  8186. "description": "创建人",
  8187. "type": "integer"
  8188. },
  8189. "modifierid": {
  8190. "description": "修改人",
  8191. "type": "integer"
  8192. },
  8193. "modifytime": {
  8194. "description": "修改时间",
  8195. "type": "string"
  8196. },
  8197. "userid": {
  8198. "description": "用户ID",
  8199. "type": "integer"
  8200. }
  8201. }
  8202. },
  8203. "models.Tablecolumnconfig": {
  8204. "type": "object",
  8205. "required": [
  8206. "autoid"
  8207. ],
  8208. "properties": {
  8209. "aligntype": {
  8210. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  8211. "type": "integer"
  8212. },
  8213. "autoid": {
  8214. "description": "AutoID",
  8215. "type": "integer"
  8216. },
  8217. "columnfield": {
  8218. "description": "列字段",
  8219. "type": "string"
  8220. },
  8221. "columntitle": {
  8222. "description": "列Title",
  8223. "type": "string"
  8224. },
  8225. "columnwidth": {
  8226. "description": "列宽",
  8227. "type": "string"
  8228. },
  8229. "formatterstring": {
  8230. "description": "格式化字符",
  8231. "type": "string"
  8232. },
  8233. "formattertype": {
  8234. "description": "格式化类型",
  8235. "type": "string"
  8236. },
  8237. "groupname": {
  8238. "description": "表头分组名称",
  8239. "type": "string"
  8240. },
  8241. "isshow": {
  8242. "description": "是否显示 - 0:不显示 1:显示",
  8243. "type": "integer"
  8244. },
  8245. "needsummary": {
  8246. "description": "是否需要汇总 - 0:不需要 1:需要",
  8247. "type": "integer"
  8248. },
  8249. "orderindex": {
  8250. "description": "顺序",
  8251. "type": "integer"
  8252. },
  8253. "remark": {
  8254. "description": "备注",
  8255. "type": "string"
  8256. },
  8257. "summarytype": {
  8258. "description": "汇总类型 - 1:加总 2:最后一个",
  8259. "type": "integer"
  8260. },
  8261. "tablekey": {
  8262. "description": "列表Key",
  8263. "type": "string"
  8264. }
  8265. }
  8266. },
  8267. "models.Useraccount": {
  8268. "type": "object",
  8269. "required": [
  8270. "userid"
  8271. ],
  8272. "properties": {
  8273. "accountname": {
  8274. "description": "账户名称(机构名称)",
  8275. "type": "string"
  8276. },
  8277. "accountstatus": {
  8278. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  8279. "type": "integer"
  8280. },
  8281. "auditremark": {
  8282. "description": "审核备注",
  8283. "type": "string"
  8284. },
  8285. "audittime": {
  8286. "description": "审核时间",
  8287. "type": "string"
  8288. },
  8289. "audituserid": {
  8290. "description": "审核人",
  8291. "type": "integer"
  8292. },
  8293. "broker": {
  8294. "description": "所属经纪人ID",
  8295. "type": "integer"
  8296. },
  8297. "canceltime": {
  8298. "description": "销户时间",
  8299. "type": "string"
  8300. },
  8301. "canceluserid": {
  8302. "description": "销户人",
  8303. "type": "integer"
  8304. },
  8305. "createtime": {
  8306. "description": "创建时间",
  8307. "type": "string"
  8308. },
  8309. "creatorid": {
  8310. "description": "创建人",
  8311. "type": "integer"
  8312. },
  8313. "hasauth": {
  8314. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  8315. "type": "integer"
  8316. },
  8317. "isanonymous": {
  8318. "description": "是否匿名下单 - 0:否 1:是",
  8319. "type": "integer"
  8320. },
  8321. "maxinvestornum": {
  8322. "description": "最大用户数(经纪会员下投资者个数)",
  8323. "type": "integer"
  8324. },
  8325. "memberuserid": {
  8326. "description": "所属会员ID",
  8327. "type": "integer"
  8328. },
  8329. "modifierid": {
  8330. "description": "修改人",
  8331. "type": "integer"
  8332. },
  8333. "modifyremark": {
  8334. "description": "变更备注",
  8335. "type": "string"
  8336. },
  8337. "modifystatus": {
  8338. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  8339. "type": "integer"
  8340. },
  8341. "modifytime": {
  8342. "description": "修改时间",
  8343. "type": "string"
  8344. },
  8345. "parentuserid": {
  8346. "description": "所属机构ID",
  8347. "type": "integer"
  8348. },
  8349. "reckonaccountid": {
  8350. "description": "默认结算资金账号ID(机构分润使用) 作废",
  8351. "type": "integer"
  8352. },
  8353. "refercount": {
  8354. "description": "推荐总人数",
  8355. "type": "integer"
  8356. },
  8357. "refereeuserid": {
  8358. "description": "推荐人ID",
  8359. "type": "integer"
  8360. },
  8361. "refernum": {
  8362. "description": "推荐码",
  8363. "type": "string"
  8364. },
  8365. "subarealevelpath": {
  8366. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  8367. "type": "string"
  8368. },
  8369. "userid": {
  8370. "description": "用户ID",
  8371. "type": "integer"
  8372. },
  8373. "usertype": {
  8374. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  8375. "type": "integer"
  8376. }
  8377. }
  8378. },
  8379. "models.Userfavoritegoods": {
  8380. "type": "object",
  8381. "required": [
  8382. "goodsid"
  8383. ],
  8384. "properties": {
  8385. "goodsid": {
  8386. "description": "商品ID",
  8387. "type": "integer"
  8388. }
  8389. }
  8390. },
  8391. "models.Userinfo": {
  8392. "type": "object",
  8393. "required": [
  8394. "userid"
  8395. ],
  8396. "properties": {
  8397. "address": {
  8398. "description": "地址",
  8399. "type": "string"
  8400. },
  8401. "attachment1": {
  8402. "description": "附件1",
  8403. "type": "string"
  8404. },
  8405. "attachment2": {
  8406. "description": "附件2",
  8407. "type": "string"
  8408. },
  8409. "bankaccount": {
  8410. "description": "银行帐号 (加密存储)",
  8411. "type": "string"
  8412. },
  8413. "bankaccountname": {
  8414. "description": "收款人名称",
  8415. "type": "string"
  8416. },
  8417. "bankcardfrontphotourl": {
  8418. "description": "银行卡正面照地址",
  8419. "type": "string"
  8420. },
  8421. "bankid": {
  8422. "description": "银行编码",
  8423. "type": "string"
  8424. },
  8425. "bankname": {
  8426. "description": "银行名称",
  8427. "type": "string"
  8428. },
  8429. "biznature": {
  8430. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  8431. "type": "integer"
  8432. },
  8433. "bizscope": {
  8434. "description": "企业经营范围(企业)",
  8435. "type": "string"
  8436. },
  8437. "cardbackphotourl": {
  8438. "description": "证件背面图片地址",
  8439. "type": "string"
  8440. },
  8441. "cardfrontphotourl": {
  8442. "description": "证件正面图片地址",
  8443. "type": "string"
  8444. },
  8445. "cardnum": {
  8446. "description": "证件号码(加密存储)",
  8447. "type": "string"
  8448. },
  8449. "cardtypeid": {
  8450. "description": "证件类型ID",
  8451. "type": "integer"
  8452. },
  8453. "cityid": {
  8454. "description": "市",
  8455. "type": "integer"
  8456. },
  8457. "company": {
  8458. "description": "公司(个人)",
  8459. "type": "string"
  8460. },
  8461. "contactname": {
  8462. "description": "联系人",
  8463. "type": "string"
  8464. },
  8465. "countryid": {
  8466. "description": "国家",
  8467. "type": "integer"
  8468. },
  8469. "createtime": {
  8470. "description": "创建时间",
  8471. "type": "string"
  8472. },
  8473. "creatorid": {
  8474. "description": "创建人",
  8475. "type": "integer"
  8476. },
  8477. "customername": {
  8478. "description": "客户名称(企业名称)",
  8479. "type": "string"
  8480. },
  8481. "districtid": {
  8482. "description": "地区",
  8483. "type": "integer"
  8484. },
  8485. "email": {
  8486. "description": "邮件(加密存储)",
  8487. "type": "string"
  8488. },
  8489. "fax": {
  8490. "description": "传真(加密存储)",
  8491. "type": "string"
  8492. },
  8493. "halfbodyphotourl": {
  8494. "description": "半身照地址",
  8495. "type": "string"
  8496. },
  8497. "hasencrypt": {
  8498. "description": "数据是否已加密 - 0:未加密 1:已加密",
  8499. "type": "integer"
  8500. },
  8501. "headurl": {
  8502. "description": "头像地址",
  8503. "type": "string"
  8504. },
  8505. "legalcardbackphotourl": {
  8506. "description": "法人身份证背面照地址",
  8507. "type": "string"
  8508. },
  8509. "legalcardfrontphotourl": {
  8510. "description": "法人身份证正面照地址",
  8511. "type": "string"
  8512. },
  8513. "legalpersonname": {
  8514. "description": "法人姓名(企业)",
  8515. "type": "string"
  8516. },
  8517. "mobile": {
  8518. "description": "手机号码(加密存储)",
  8519. "type": "string"
  8520. },
  8521. "mobile2": {
  8522. "description": "手机号码[明文-尚志]",
  8523. "type": "string"
  8524. },
  8525. "modifierid": {
  8526. "description": "修改人",
  8527. "type": "integer"
  8528. },
  8529. "modifiertime": {
  8530. "description": "修改时间",
  8531. "type": "string"
  8532. },
  8533. "needinvoice": {
  8534. "description": "是否需要发票 - 0:不需要 1:需要",
  8535. "type": "integer"
  8536. },
  8537. "nickname": {
  8538. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  8539. "type": "string"
  8540. },
  8541. "openmode": {
  8542. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  8543. "type": "integer"
  8544. },
  8545. "otherurl": {
  8546. "description": "其它图片地址[使用分号分隔]",
  8547. "type": "string"
  8548. },
  8549. "postalcode": {
  8550. "description": "邮政编码",
  8551. "type": "string"
  8552. },
  8553. "provinceid": {
  8554. "description": "省",
  8555. "type": "integer"
  8556. },
  8557. "qq": {
  8558. "description": "QQ(加密存储",
  8559. "type": "string"
  8560. },
  8561. "remark": {
  8562. "description": "备注",
  8563. "type": "string"
  8564. },
  8565. "sex": {
  8566. "description": "用户性别 0: 女 1: 男",
  8567. "type": "integer"
  8568. },
  8569. "signpdfurl": {
  8570. "description": "签约pdf文件",
  8571. "type": "string"
  8572. },
  8573. "telphone": {
  8574. "description": "联系电话(加密存储)",
  8575. "type": "string"
  8576. },
  8577. "userid": {
  8578. "description": "用户ID",
  8579. "type": "integer"
  8580. },
  8581. "userinfotype": {
  8582. "description": "用户信息类型 - 1:个人 2:企业",
  8583. "type": "integer"
  8584. },
  8585. "userstatus": {
  8586. "description": "用户状态 - 1:正常 2:注销",
  8587. "type": "integer"
  8588. },
  8589. "usertype": {
  8590. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  8591. "type": "integer"
  8592. },
  8593. "wechat": {
  8594. "description": "微信(加密存储)",
  8595. "type": "string"
  8596. },
  8597. "wskhinfo": {
  8598. "description": "开户申请信息(JSON)",
  8599. "type": "string"
  8600. }
  8601. }
  8602. },
  8603. "models.WRStandardInfo": {
  8604. "type": "object",
  8605. "required": [
  8606. "wrstandardid"
  8607. ],
  8608. "properties": {
  8609. "createtime": {
  8610. "description": "创建时间",
  8611. "type": "string"
  8612. },
  8613. "creatorid": {
  8614. "description": "创建人",
  8615. "type": "integer"
  8616. },
  8617. "deliverygoodsid": {
  8618. "description": "品种ID",
  8619. "type": "integer"
  8620. },
  8621. "deliverygoodsname": {
  8622. "description": "交割商品名称",
  8623. "type": "string"
  8624. },
  8625. "factoryitemjson": {
  8626. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  8627. "type": "string"
  8628. },
  8629. "isvalid": {
  8630. "description": "是否有效 - 0:无效 1:有效",
  8631. "type": "integer"
  8632. },
  8633. "minivalue": {
  8634. "description": "最小变动值",
  8635. "type": "integer"
  8636. },
  8637. "minivaluedp": {
  8638. "description": "最小变动值小数位",
  8639. "type": "integer"
  8640. },
  8641. "realminivalue": {
  8642. "description": "实际最小变动值",
  8643. "type": "integer"
  8644. },
  8645. "realminivaluedp": {
  8646. "description": "实际最小变动值小数位",
  8647. "type": "integer"
  8648. },
  8649. "unitid": {
  8650. "description": "单位ID",
  8651. "type": "integer"
  8652. },
  8653. "unitname": {
  8654. "description": "单位",
  8655. "type": "string"
  8656. },
  8657. "updatetime": {
  8658. "description": "更新时间",
  8659. "type": "string"
  8660. },
  8661. "updatorid": {
  8662. "description": "更新人",
  8663. "type": "integer"
  8664. },
  8665. "wrsstatus": {
  8666. "description": "状态 - 作废 - 0:未激活 1:正常",
  8667. "type": "integer"
  8668. },
  8669. "wrstandardcode": {
  8670. "description": "仓单标准代码",
  8671. "type": "string"
  8672. },
  8673. "wrstandardid": {
  8674. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  8675. "type": "integer"
  8676. },
  8677. "wrstandardname": {
  8678. "description": "仓单标准名称",
  8679. "type": "string"
  8680. }
  8681. }
  8682. },
  8683. "models.Warehouseinfo": {
  8684. "type": "object",
  8685. "required": [
  8686. "autoid",
  8687. "warehousecode"
  8688. ],
  8689. "properties": {
  8690. "address": {
  8691. "description": "详细地址",
  8692. "type": "string"
  8693. },
  8694. "areauserid": {
  8695. "description": "所属机构",
  8696. "type": "integer"
  8697. },
  8698. "autoid": {
  8699. "description": "自增ID",
  8700. "type": "integer"
  8701. },
  8702. "cityid": {
  8703. "description": "市",
  8704. "type": "integer"
  8705. },
  8706. "contactname": {
  8707. "description": "联系人",
  8708. "type": "string"
  8709. },
  8710. "contactnum": {
  8711. "description": "联系电话",
  8712. "type": "string"
  8713. },
  8714. "countryid": {
  8715. "description": "国家",
  8716. "type": "integer"
  8717. },
  8718. "createtime": {
  8719. "description": "创建时间",
  8720. "type": "string"
  8721. },
  8722. "districtid": {
  8723. "description": "区",
  8724. "type": "integer"
  8725. },
  8726. "hasvideo": {
  8727. "description": "是否有视频 - 0:无 1:有",
  8728. "type": "integer"
  8729. },
  8730. "provinceid": {
  8731. "description": "省",
  8732. "type": "integer"
  8733. },
  8734. "remark": {
  8735. "description": "审核备注",
  8736. "type": "string"
  8737. },
  8738. "videourl": {
  8739. "description": "视频地址",
  8740. "type": "string"
  8741. },
  8742. "warehousecode": {
  8743. "description": "仓库代码",
  8744. "type": "string"
  8745. },
  8746. "warehousename": {
  8747. "description": "仓库名称",
  8748. "type": "string"
  8749. },
  8750. "warehousestatus": {
  8751. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  8752. "type": "integer"
  8753. },
  8754. "warehousetype": {
  8755. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  8756. "type": "integer"
  8757. }
  8758. }
  8759. },
  8760. "order.QueryHisTradeDetailRsp": {
  8761. "type": "object",
  8762. "required": [
  8763. "accountid",
  8764. "buyorsell",
  8765. "goodsid",
  8766. "histradedate",
  8767. "marketid",
  8768. "memberuserid",
  8769. "orderid",
  8770. "tradeamount",
  8771. "tradedate",
  8772. "tradeid",
  8773. "tradeprice",
  8774. "tradeqty",
  8775. "tradetime"
  8776. ],
  8777. "properties": {
  8778. "accountid": {
  8779. "description": "账户ID[报价币种]",
  8780. "type": "integer"
  8781. },
  8782. "buildtype": {
  8783. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  8784. "type": "integer"
  8785. },
  8786. "buyorsell": {
  8787. "description": "方向 - 0:买 1:卖",
  8788. "type": "integer"
  8789. },
  8790. "charge": {
  8791. "description": "手续费",
  8792. "type": "number"
  8793. },
  8794. "closecharge": {
  8795. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  8796. "type": "number"
  8797. },
  8798. "closeexchagechargevalue": {
  8799. "description": "平仓交易所手续费设置值",
  8800. "type": "number"
  8801. },
  8802. "closefeealgorithm": {
  8803. "description": "平仓手续费收取方式 1:比率 2:固定",
  8804. "type": "integer"
  8805. },
  8806. "closememberchargevalue": {
  8807. "description": "平仓会员手续费设置值",
  8808. "type": "number"
  8809. },
  8810. "closepl": {
  8811. "description": "平仓盈亏",
  8812. "type": "number"
  8813. },
  8814. "closepl2": {
  8815. "description": "平仓盈亏[逐笔]",
  8816. "type": "number"
  8817. },
  8818. "closeqty": {
  8819. "description": "平仓数量(先建后平操作 需要记录)",
  8820. "type": "integer"
  8821. },
  8822. "creditamount": {
  8823. "description": "授信金额",
  8824. "type": "number"
  8825. },
  8826. "gcaccountid": {
  8827. "description": "账户ID[合约币种]",
  8828. "type": "integer"
  8829. },
  8830. "goodscode": {
  8831. "description": "商品代码",
  8832. "type": "string"
  8833. },
  8834. "goodsid": {
  8835. "description": "商品ID",
  8836. "type": "integer"
  8837. },
  8838. "goodsname": {
  8839. "description": "商品名称",
  8840. "type": "string"
  8841. },
  8842. "histradedate": {
  8843. "description": "历史交易日",
  8844. "type": "string"
  8845. },
  8846. "intclosepl": {
  8847. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  8848. "type": "integer"
  8849. },
  8850. "isconfirmexercise": {
  8851. "description": "是否确认行权- 0:否 1:是",
  8852. "type": "integer"
  8853. },
  8854. "ismain": {
  8855. "description": "是否主单 - 0:不是 1:是",
  8856. "type": "integer"
  8857. },
  8858. "ispreexercise": {
  8859. "description": "是否预申报- 0:否 1:是",
  8860. "type": "integer"
  8861. },
  8862. "isreckoned": {
  8863. "description": "是否结算 - 0:未结算 1:已结算",
  8864. "type": "integer"
  8865. },
  8866. "isvaliddata": {
  8867. "description": "是否有效 - 0:无效 1:有效",
  8868. "type": "integer"
  8869. },
  8870. "listingselecttype": {
  8871. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8872. "type": "integer"
  8873. },
  8874. "marketid": {
  8875. "description": "市场ID",
  8876. "type": "integer"
  8877. },
  8878. "marketname": {
  8879. "description": "市场名称",
  8880. "type": "string"
  8881. },
  8882. "matchaccountid": {
  8883. "description": "对手账号id",
  8884. "type": "integer"
  8885. },
  8886. "memberuserid": {
  8887. "description": "会员id 个人投资者 需要填写",
  8888. "type": "integer"
  8889. },
  8890. "opencharge": {
  8891. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  8892. "type": "number"
  8893. },
  8894. "openexchagechargevalue": {
  8895. "description": "建仓交易所手续费设置值",
  8896. "type": "number"
  8897. },
  8898. "openfeealgorithm": {
  8899. "description": "建仓手续费收取方式 1:比率 2:固定",
  8900. "type": "integer"
  8901. },
  8902. "openmemberchargevalue": {
  8903. "description": "建仓会员手续费设置值",
  8904. "type": "number"
  8905. },
  8906. "openqty": {
  8907. "description": "开仓数量(先建后平操作 需要记录)",
  8908. "type": "integer"
  8909. },
  8910. "optiontype": {
  8911. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  8912. "type": "integer"
  8913. },
  8914. "orderid": {
  8915. "description": "委托单号",
  8916. "type": "string"
  8917. },
  8918. "performanceplanid": {
  8919. "description": "履约计划ID[期权]",
  8920. "type": "integer"
  8921. },
  8922. "performancestatus": {
  8923. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  8924. "type": "integer"
  8925. },
  8926. "preexerciseprice": {
  8927. "description": "预申报价格",
  8928. "type": "number"
  8929. },
  8930. "premium": {
  8931. "description": "权利金 - [持仓单的权利金]",
  8932. "type": "number"
  8933. },
  8934. "relatedouttradeid": {
  8935. "description": "关联外部成交单ID",
  8936. "type": "integer"
  8937. },
  8938. "status": {
  8939. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  8940. "type": "integer"
  8941. },
  8942. "tradeamount": {
  8943. "description": "成交金额[账户币种,用于所有权]",
  8944. "type": "number"
  8945. },
  8946. "tradedate": {
  8947. "description": "交易日(yyyyMMdd)",
  8948. "type": "string"
  8949. },
  8950. "tradeid": {
  8951. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8952. "type": "string"
  8953. },
  8954. "trademode": {
  8955. "description": "交易模式",
  8956. "type": "integer"
  8957. },
  8958. "tradeprice": {
  8959. "description": "成交价格",
  8960. "type": "number"
  8961. },
  8962. "tradeproperty": {
  8963. "description": "交易属性",
  8964. "type": "integer"
  8965. },
  8966. "tradeqty": {
  8967. "description": "成交数量",
  8968. "type": "integer"
  8969. },
  8970. "tradetime": {
  8971. "description": "成交时间",
  8972. "type": "string"
  8973. },
  8974. "tradetype": {
  8975. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  8976. "type": "integer"
  8977. }
  8978. }
  8979. },
  8980. "order.QueryHisTradeOrderDetailRsp": {
  8981. "type": "object",
  8982. "required": [
  8983. "accountid",
  8984. "buildtype",
  8985. "buyorsell",
  8986. "goodsid",
  8987. "histradedate",
  8988. "marketid",
  8989. "memberuserid",
  8990. "operatetype",
  8991. "orderid",
  8992. "orderqty",
  8993. "ordertime",
  8994. "pricemode",
  8995. "tradedate",
  8996. "validtype"
  8997. ],
  8998. "properties": {
  8999. "accountid": {
  9000. "description": "账户ID[报价币种]",
  9001. "type": "integer"
  9002. },
  9003. "buildtype": {
  9004. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  9005. "type": "integer"
  9006. },
  9007. "buyorsell": {
  9008. "description": "买卖 - 0:买 1:卖",
  9009. "type": "integer"
  9010. },
  9011. "cancelorderid": {
  9012. "description": "撤单单号(撤单时填写)",
  9013. "type": "string"
  9014. },
  9015. "cancelqty": {
  9016. "description": "撤单数量",
  9017. "type": "integer"
  9018. },
  9019. "clientordertime": {
  9020. "description": "客户端委托时间",
  9021. "type": "string"
  9022. },
  9023. "clientticket": {
  9024. "description": "客户端流水号",
  9025. "type": "string"
  9026. },
  9027. "clienttype": {
  9028. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  9029. "type": "integer"
  9030. },
  9031. "closeexchagechargevalue": {
  9032. "description": "平仓交易所手续费设置值",
  9033. "type": "number"
  9034. },
  9035. "closefeealgorithm": {
  9036. "description": "平仓手续费收取方式 1:比率 2:固定",
  9037. "type": "integer"
  9038. },
  9039. "closefreezecharge": {
  9040. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  9041. "type": "number"
  9042. },
  9043. "closememberchargevalue": {
  9044. "description": "平仓会员手续费设置值",
  9045. "type": "number"
  9046. },
  9047. "closeqty": {
  9048. "description": "平仓数量(先建后平操作 需要记录)",
  9049. "type": "integer"
  9050. },
  9051. "closetradeqty": {
  9052. "description": "平仓成交数量(先建后平操作,需要记录)",
  9053. "type": "integer"
  9054. },
  9055. "closeunfreezecharge": {
  9056. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  9057. "type": "number"
  9058. },
  9059. "delistingtype": {
  9060. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  9061. "type": "integer"
  9062. },
  9063. "freezecharge": {
  9064. "description": "冻结手续费",
  9065. "type": "number"
  9066. },
  9067. "freezemargin": {
  9068. "description": "冻结保证金(冻结交易金额)",
  9069. "type": "number"
  9070. },
  9071. "gcaccountid": {
  9072. "description": "账户ID[合约币种]",
  9073. "type": "integer"
  9074. },
  9075. "goodscode": {
  9076. "description": "商品代码",
  9077. "type": "string"
  9078. },
  9079. "goodsid": {
  9080. "description": "商品ID",
  9081. "type": "integer"
  9082. },
  9083. "goodsname": {
  9084. "description": "商品名称",
  9085. "type": "string"
  9086. },
  9087. "histradedate": {
  9088. "description": "历史交易日",
  9089. "type": "string"
  9090. },
  9091. "isconfirmexercise": {
  9092. "description": "是否确认行权- 0:否 1:是",
  9093. "type": "integer"
  9094. },
  9095. "ispreexercise": {
  9096. "description": "是否预申报- 0:否 1:是",
  9097. "type": "integer"
  9098. },
  9099. "isvaliddata": {
  9100. "description": "是否有效 - 0:无效 1:有效",
  9101. "type": "integer"
  9102. },
  9103. "listingselecttype": {
  9104. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9105. "type": "integer"
  9106. },
  9107. "marginalgorithm": {
  9108. "description": "保证金收取方式 1:比率 2:固定",
  9109. "type": "integer"
  9110. },
  9111. "marginvalue": {
  9112. "description": "即市保证金设置值",
  9113. "type": "number"
  9114. },
  9115. "marketid": {
  9116. "description": "市场ID",
  9117. "type": "integer"
  9118. },
  9119. "marketmaxsub": {
  9120. "description": "市价最大偏移范围",
  9121. "type": "number"
  9122. },
  9123. "marketname": {
  9124. "description": "市场名称",
  9125. "type": "string"
  9126. },
  9127. "memberuserid": {
  9128. "description": "所属会员UserID",
  9129. "type": "integer"
  9130. },
  9131. "openexchagechargevalue": {
  9132. "description": "建仓交易所手续费设置值",
  9133. "type": "number"
  9134. },
  9135. "openfeealgorithm": {
  9136. "description": "建仓手续费收取方式 1:比率 2:固定",
  9137. "type": "integer"
  9138. },
  9139. "openfreezecharge": {
  9140. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  9141. "type": "number"
  9142. },
  9143. "openmemberchargevalue": {
  9144. "description": "建仓会员手续费设置值",
  9145. "type": "number"
  9146. },
  9147. "openqty": {
  9148. "description": "开仓数量(先建后平操作,需要记录)",
  9149. "type": "integer"
  9150. },
  9151. "opentradeqty": {
  9152. "description": "开仓成交数量(先建后平操作,需要记录)",
  9153. "type": "integer"
  9154. },
  9155. "openunfreezecharge": {
  9156. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  9157. "type": "number"
  9158. },
  9159. "operatetype": {
  9160. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  9161. "type": "integer"
  9162. },
  9163. "operatorid": {
  9164. "description": "登录账号(LoginID)",
  9165. "type": "integer"
  9166. },
  9167. "optiontype": {
  9168. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  9169. "type": "integer"
  9170. },
  9171. "orderid": {
  9172. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9173. "type": "string"
  9174. },
  9175. "orderprice": {
  9176. "description": "委托价格",
  9177. "type": "number"
  9178. },
  9179. "orderqty": {
  9180. "description": "委托数量",
  9181. "type": "integer"
  9182. },
  9183. "ordersrc": {
  9184. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  9185. "type": "integer"
  9186. },
  9187. "orderstatus": {
  9188. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9189. "type": "integer"
  9190. },
  9191. "ordertime": {
  9192. "description": "委托时间",
  9193. "type": "string"
  9194. },
  9195. "preexerciseprice": {
  9196. "description": "预申报价格",
  9197. "type": "number"
  9198. },
  9199. "premium": {
  9200. "description": "权利金",
  9201. "type": "number"
  9202. },
  9203. "preorderid": {
  9204. "description": "关联预埋单号(止盈止损单时填写)",
  9205. "type": "string"
  9206. },
  9207. "pricemode": {
  9208. "description": "取价方式 - 1:市价 2: 限价",
  9209. "type": "integer"
  9210. },
  9211. "quoteid": {
  9212. "description": "报价单ID",
  9213. "type": "integer"
  9214. },
  9215. "relatedid": {
  9216. "description": "关联单号(交割单)",
  9217. "type": "string"
  9218. },
  9219. "retcode": {
  9220. "description": "错误代码",
  9221. "type": "integer"
  9222. },
  9223. "sessionid": {
  9224. "description": "会话ID",
  9225. "type": "integer"
  9226. },
  9227. "tradedate": {
  9228. "description": "交易日(yyyyMMdd)",
  9229. "type": "string"
  9230. },
  9231. "trademode": {
  9232. "description": "交易模式",
  9233. "type": "integer"
  9234. },
  9235. "tradeproperty": {
  9236. "description": "交易属性",
  9237. "type": "integer"
  9238. },
  9239. "tradeqty": {
  9240. "description": "成交数量",
  9241. "type": "integer"
  9242. },
  9243. "unfreezecharge": {
  9244. "description": "解冻手续费",
  9245. "type": "number"
  9246. },
  9247. "unfreezemargin": {
  9248. "description": "解冻保证金",
  9249. "type": "number"
  9250. },
  9251. "updatetime": {
  9252. "description": "更新时间",
  9253. "type": "string"
  9254. },
  9255. "uuid": {
  9256. "description": "发起端唯一id",
  9257. "type": "string"
  9258. },
  9259. "validtime": {
  9260. "description": "有效期限",
  9261. "type": "string"
  9262. },
  9263. "validtype": {
  9264. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  9265. "type": "integer"
  9266. },
  9267. "volumetype": {
  9268. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  9269. "type": "integer"
  9270. }
  9271. }
  9272. },
  9273. "order.QueryTradeDetailRsp": {
  9274. "type": "object",
  9275. "required": [
  9276. "accountid",
  9277. "buyorsell",
  9278. "goodsid",
  9279. "marketid",
  9280. "memberuserid",
  9281. "orderid",
  9282. "tradeamount",
  9283. "tradedate",
  9284. "tradeid",
  9285. "tradeprice",
  9286. "tradeqty",
  9287. "tradetime"
  9288. ],
  9289. "properties": {
  9290. "accountid": {
  9291. "description": "账户ID[报价币种]",
  9292. "type": "integer"
  9293. },
  9294. "buildtype": {
  9295. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  9296. "type": "integer"
  9297. },
  9298. "buyorsell": {
  9299. "description": "方向 - 0:买 1:卖",
  9300. "type": "integer"
  9301. },
  9302. "charge": {
  9303. "description": "手续费",
  9304. "type": "number"
  9305. },
  9306. "closecharge": {
  9307. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  9308. "type": "number"
  9309. },
  9310. "closeexchagechargevalue": {
  9311. "description": "平仓交易所手续费设置值",
  9312. "type": "number"
  9313. },
  9314. "closefeealgorithm": {
  9315. "description": "平仓手续费收取方式 1:比率 2:固定",
  9316. "type": "integer"
  9317. },
  9318. "closememberchargevalue": {
  9319. "description": "平仓会员手续费设置值",
  9320. "type": "number"
  9321. },
  9322. "closepl": {
  9323. "description": "平仓盈亏",
  9324. "type": "number"
  9325. },
  9326. "closepl2": {
  9327. "description": "平仓盈亏[逐笔]",
  9328. "type": "number"
  9329. },
  9330. "closeqty": {
  9331. "description": "平仓数量(先建后平操作 需要记录)",
  9332. "type": "integer"
  9333. },
  9334. "creditamount": {
  9335. "description": "授信金额",
  9336. "type": "number"
  9337. },
  9338. "gcaccountid": {
  9339. "description": "账户ID[合约币种]",
  9340. "type": "integer"
  9341. },
  9342. "goodscode": {
  9343. "description": "商品代码",
  9344. "type": "string"
  9345. },
  9346. "goodsid": {
  9347. "description": "商品ID",
  9348. "type": "integer"
  9349. },
  9350. "goodsname": {
  9351. "description": "商品名称",
  9352. "type": "string"
  9353. },
  9354. "intclosepl": {
  9355. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  9356. "type": "integer"
  9357. },
  9358. "isconfirmexercise": {
  9359. "description": "是否确认行权- 0:否 1:是",
  9360. "type": "integer"
  9361. },
  9362. "ismain": {
  9363. "description": "是否主单 - 0:不是 1:是",
  9364. "type": "integer"
  9365. },
  9366. "ispreexercise": {
  9367. "description": "是否预申报- 0:否 1:是",
  9368. "type": "integer"
  9369. },
  9370. "isreckoned": {
  9371. "description": "是否结算 - 0:未结算 1:已结算",
  9372. "type": "integer"
  9373. },
  9374. "listingselecttype": {
  9375. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9376. "type": "integer"
  9377. },
  9378. "marketid": {
  9379. "description": "市场ID",
  9380. "type": "integer"
  9381. },
  9382. "marketname": {
  9383. "description": "市场名称",
  9384. "type": "string"
  9385. },
  9386. "matchaccountid": {
  9387. "description": "对手账号id",
  9388. "type": "integer"
  9389. },
  9390. "memberuserid": {
  9391. "description": "会员id 个人投资者 需要填写",
  9392. "type": "integer"
  9393. },
  9394. "opencharge": {
  9395. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  9396. "type": "number"
  9397. },
  9398. "openexchagechargevalue": {
  9399. "description": "建仓交易所手续费设置值",
  9400. "type": "number"
  9401. },
  9402. "openfeealgorithm": {
  9403. "description": "建仓手续费收取方式 1:比率 2:固定",
  9404. "type": "integer"
  9405. },
  9406. "openmemberchargevalue": {
  9407. "description": "建仓会员手续费设置值",
  9408. "type": "number"
  9409. },
  9410. "openqty": {
  9411. "description": "开仓数量(先建后平操作 需要记录)",
  9412. "type": "integer"
  9413. },
  9414. "optiontype": {
  9415. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  9416. "type": "integer"
  9417. },
  9418. "orderid": {
  9419. "description": "委托单号",
  9420. "type": "string"
  9421. },
  9422. "performanceplanid": {
  9423. "description": "履约计划ID[期权]",
  9424. "type": "integer"
  9425. },
  9426. "performancestatus": {
  9427. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  9428. "type": "integer"
  9429. },
  9430. "preexerciseprice": {
  9431. "description": "预申报价格",
  9432. "type": "number"
  9433. },
  9434. "premium": {
  9435. "description": "权利金 - [持仓单的权利金]",
  9436. "type": "number"
  9437. },
  9438. "relatedouttradeid": {
  9439. "description": "关联外部成交单ID",
  9440. "type": "integer"
  9441. },
  9442. "status": {
  9443. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  9444. "type": "integer"
  9445. },
  9446. "tradeamount": {
  9447. "description": "成交金额[账户币种,用于所有权]",
  9448. "type": "number"
  9449. },
  9450. "tradedate": {
  9451. "description": "交易日(yyyyMMdd)",
  9452. "type": "string"
  9453. },
  9454. "tradeid": {
  9455. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9456. "type": "string"
  9457. },
  9458. "trademode": {
  9459. "description": "交易模式",
  9460. "type": "integer"
  9461. },
  9462. "tradeprice": {
  9463. "description": "成交价格",
  9464. "type": "number"
  9465. },
  9466. "tradeproperty": {
  9467. "description": "交易属性",
  9468. "type": "integer"
  9469. },
  9470. "tradeqty": {
  9471. "description": "成交数量",
  9472. "type": "integer"
  9473. },
  9474. "tradetime": {
  9475. "description": "成交时间",
  9476. "type": "string"
  9477. },
  9478. "tradetype": {
  9479. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  9480. "type": "integer"
  9481. }
  9482. }
  9483. },
  9484. "order.QueryTradeOrderDetailRsp": {
  9485. "type": "object",
  9486. "required": [
  9487. "accountid",
  9488. "buildtype",
  9489. "buyorsell",
  9490. "goodsid",
  9491. "marketid",
  9492. "operatetype",
  9493. "orderqty",
  9494. "ordertime",
  9495. "pricemode",
  9496. "tradedate",
  9497. "validtype"
  9498. ],
  9499. "properties": {
  9500. "accountid": {
  9501. "description": "账户ID[报价币种]",
  9502. "type": "integer"
  9503. },
  9504. "buildtype": {
  9505. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  9506. "type": "integer"
  9507. },
  9508. "buyorsell": {
  9509. "description": "买卖 - 0:买 1:卖",
  9510. "type": "integer"
  9511. },
  9512. "cancelorderid": {
  9513. "description": "撤单单号(撤单时填写)",
  9514. "type": "string"
  9515. },
  9516. "cancelqty": {
  9517. "description": "撤单数量",
  9518. "type": "integer"
  9519. },
  9520. "clienttype": {
  9521. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  9522. "type": "integer"
  9523. },
  9524. "closefreezecharge": {
  9525. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  9526. "type": "number"
  9527. },
  9528. "closeqty": {
  9529. "description": "平仓数量(先建后平操作 需要记录)",
  9530. "type": "integer"
  9531. },
  9532. "closetradeqty": {
  9533. "description": "平仓成交数量(先建后平操作,需要记录)",
  9534. "type": "integer"
  9535. },
  9536. "closeunfreezecharge": {
  9537. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  9538. "type": "number"
  9539. },
  9540. "delistingtype": {
  9541. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  9542. "type": "integer"
  9543. },
  9544. "enableqty": {
  9545. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  9546. "type": "integer"
  9547. },
  9548. "freezecharge": {
  9549. "description": "冻结手续费",
  9550. "type": "number"
  9551. },
  9552. "freezemargin": {
  9553. "description": "冻结保证金(冻结交易金额)",
  9554. "type": "number"
  9555. },
  9556. "goodscode": {
  9557. "description": "商品代码",
  9558. "type": "string"
  9559. },
  9560. "goodsid": {
  9561. "description": "商品ID",
  9562. "type": "integer"
  9563. },
  9564. "goodsname": {
  9565. "description": "商品名称",
  9566. "type": "string"
  9567. },
  9568. "listingselecttype": {
  9569. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9570. "type": "integer"
  9571. },
  9572. "marketid": {
  9573. "description": "市场ID",
  9574. "type": "integer"
  9575. },
  9576. "marketname": {
  9577. "description": "市场名称",
  9578. "type": "string"
  9579. },
  9580. "openfreezecharge": {
  9581. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  9582. "type": "number"
  9583. },
  9584. "openqty": {
  9585. "description": "开仓数量(先建后平操作,需要记录)",
  9586. "type": "integer"
  9587. },
  9588. "opentradeqty": {
  9589. "description": "开仓成交数量(先建后平操作,需要记录)",
  9590. "type": "integer"
  9591. },
  9592. "openunfreezecharge": {
  9593. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  9594. "type": "number"
  9595. },
  9596. "operatetype": {
  9597. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  9598. "type": "integer"
  9599. },
  9600. "operatorid": {
  9601. "description": "登录账号(LoginID)",
  9602. "type": "integer"
  9603. },
  9604. "orderid": {
  9605. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9606. "type": "string"
  9607. },
  9608. "orderprice": {
  9609. "description": "委托价格",
  9610. "type": "number"
  9611. },
  9612. "orderqty": {
  9613. "description": "委托数量",
  9614. "type": "integer"
  9615. },
  9616. "ordersrc": {
  9617. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  9618. "type": "integer"
  9619. },
  9620. "orderstatus": {
  9621. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9622. "type": "integer"
  9623. },
  9624. "ordertime": {
  9625. "description": "委托时间",
  9626. "type": "string"
  9627. },
  9628. "preorderid": {
  9629. "description": "关联预埋单号(止盈止损单时填写)",
  9630. "type": "string"
  9631. },
  9632. "pricemode": {
  9633. "description": "取价方式 - 1:市价 2: 限价",
  9634. "type": "integer"
  9635. },
  9636. "relatedid": {
  9637. "description": "关联单号(交割单)",
  9638. "type": "string"
  9639. },
  9640. "tradedate": {
  9641. "description": "交易日(yyyyMMdd)",
  9642. "type": "string"
  9643. },
  9644. "trademode": {
  9645. "description": "交易模式",
  9646. "type": "integer"
  9647. },
  9648. "tradeqty": {
  9649. "description": "成交数量",
  9650. "type": "integer"
  9651. },
  9652. "unfreezecharge": {
  9653. "description": "解冻手续费",
  9654. "type": "number"
  9655. },
  9656. "unfreezemargin": {
  9657. "description": "解冻保证金",
  9658. "type": "number"
  9659. },
  9660. "validtime": {
  9661. "description": "有效期限",
  9662. "type": "string"
  9663. },
  9664. "validtype": {
  9665. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  9666. "type": "integer"
  9667. },
  9668. "volumetype": {
  9669. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  9670. "type": "integer"
  9671. }
  9672. }
  9673. },
  9674. "order.QueryTradePositionRsp": {
  9675. "type": "object",
  9676. "required": [
  9677. "goodsid"
  9678. ],
  9679. "properties": {
  9680. "accountid": {
  9681. "description": "资金账户",
  9682. "type": "integer"
  9683. },
  9684. "agreeunit": {
  9685. "description": "合约单位",
  9686. "type": "number"
  9687. },
  9688. "averageprice": {
  9689. "description": "持仓均价",
  9690. "type": "number"
  9691. },
  9692. "buyorsell": {
  9693. "description": "方向 - 0:买 1:卖",
  9694. "type": "integer"
  9695. },
  9696. "closetotalqty": {
  9697. "description": "平仓总数量",
  9698. "type": "integer"
  9699. },
  9700. "curholderamount": {
  9701. "description": "当前持仓总金额[商品币种]",
  9702. "type": "number"
  9703. },
  9704. "curpositionqty": {
  9705. "description": "当前持仓总数量",
  9706. "type": "integer"
  9707. },
  9708. "currencyid": {
  9709. "description": "报价货币ID",
  9710. "type": "integer"
  9711. },
  9712. "curtdposition": {
  9713. "description": "期末今日头寸",
  9714. "type": "integer"
  9715. },
  9716. "decimalplace": {
  9717. "description": "报价小数位",
  9718. "type": "integer"
  9719. },
  9720. "enableqty": {
  9721. "description": "可用量",
  9722. "type": "integer"
  9723. },
  9724. "fretdposition": {
  9725. "description": "冻结今日头寸",
  9726. "type": "integer"
  9727. },
  9728. "frozenqty": {
  9729. "description": "持仓冻结数量",
  9730. "type": "integer"
  9731. },
  9732. "goodscode": {
  9733. "description": "商品代码",
  9734. "type": "string"
  9735. },
  9736. "goodsid": {
  9737. "description": "商品Id",
  9738. "type": "integer"
  9739. },
  9740. "goodsname": {
  9741. "description": "商品名称",
  9742. "type": "string"
  9743. },
  9744. "goodunit": {
  9745. "description": "报价单位",
  9746. "type": "string"
  9747. },
  9748. "goodunitid": {
  9749. "description": "报价单位ID",
  9750. "type": "integer"
  9751. },
  9752. "holderamount": {
  9753. "description": "期初持仓总金额[商品币种]",
  9754. "type": "number"
  9755. },
  9756. "marketid": {
  9757. "description": "所属市场ID",
  9758. "type": "integer"
  9759. },
  9760. "openreqqty": {
  9761. "description": "开仓申请数量(用于比较最大持仓数量)",
  9762. "type": "integer"
  9763. },
  9764. "opentotalqty": {
  9765. "description": "开仓总数量",
  9766. "type": "integer"
  9767. },
  9768. "otherfrozenqty": {
  9769. "description": "持仓其他冻结数量(交割冻结)",
  9770. "type": "integer"
  9771. },
  9772. "positionqty": {
  9773. "description": "期初持仓数量",
  9774. "type": "integer"
  9775. },
  9776. "tnqty": {
  9777. "description": "T+N冻结总量",
  9778. "type": "integer"
  9779. },
  9780. "tnusedqty": {
  9781. "description": "T+N使用量(可以使用T+N的冻结数量)",
  9782. "type": "integer"
  9783. },
  9784. "trademode": {
  9785. "description": "交易模式",
  9786. "type": "integer"
  9787. },
  9788. "usedmargin": {
  9789. "description": "占用保证金[商品币种]",
  9790. "type": "number"
  9791. }
  9792. }
  9793. },
  9794. "quote.HistoryData": {
  9795. "type": "object",
  9796. "properties": {
  9797. "c": {
  9798. "description": "收盘价",
  9799. "type": "number"
  9800. },
  9801. "h": {
  9802. "description": "最高价",
  9803. "type": "number"
  9804. },
  9805. "hv": {
  9806. "description": "持仓量",
  9807. "type": "integer"
  9808. },
  9809. "l": {
  9810. "description": "最低价",
  9811. "type": "number"
  9812. },
  9813. "o": {
  9814. "description": "开盘价",
  9815. "type": "number"
  9816. },
  9817. "s": {
  9818. "description": "结算价,日线周期(包括)以上才有",
  9819. "type": "number"
  9820. },
  9821. "ts": {
  9822. "description": "时间",
  9823. "type": "string"
  9824. },
  9825. "tt": {
  9826. "description": "总金额",
  9827. "type": "number"
  9828. },
  9829. "tv": {
  9830. "description": "总量",
  9831. "type": "integer"
  9832. }
  9833. }
  9834. },
  9835. "quote.QueryTSDataRsp": {
  9836. "type": "object",
  9837. "properties": {
  9838. "decimalPlace": {
  9839. "description": "小数位",
  9840. "type": "integer"
  9841. },
  9842. "endTime": {
  9843. "description": "结束时间",
  9844. "type": "string"
  9845. },
  9846. "goodsCode": {
  9847. "description": "商品代码",
  9848. "type": "string"
  9849. },
  9850. "historyDatas": {
  9851. "description": "历史数据",
  9852. "type": "array",
  9853. "items": {
  9854. "$ref": "#/definitions/quote.HistoryData"
  9855. }
  9856. },
  9857. "preSettle": {
  9858. "description": "昨结",
  9859. "type": "number"
  9860. },
  9861. "startTime": {
  9862. "description": "开始时间",
  9863. "type": "string"
  9864. },
  9865. "tradeDate": {
  9866. "description": "交易日",
  9867. "type": "string"
  9868. }
  9869. }
  9870. },
  9871. "szdz.QueryConvertLogRsp": {
  9872. "type": "object",
  9873. "required": [
  9874. "logid"
  9875. ],
  9876. "properties": {
  9877. "accountid": {
  9878. "description": "资金账户ID",
  9879. "type": "integer"
  9880. },
  9881. "clientticket": {
  9882. "description": "客户端流水号",
  9883. "type": "string"
  9884. },
  9885. "converttype": {
  9886. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  9887. "type": "integer"
  9888. },
  9889. "createtime": {
  9890. "description": "记账时间",
  9891. "type": "string"
  9892. },
  9893. "daymaxvalue": {
  9894. "description": "配置当日最大转入限制",
  9895. "type": "number"
  9896. },
  9897. "daymaxvalue2": {
  9898. "description": "配置当日最大转入限制(转入)",
  9899. "type": "number"
  9900. },
  9901. "goodscode": {
  9902. "description": "商品代码",
  9903. "type": "string"
  9904. },
  9905. "goodsname": {
  9906. "description": "商品名称",
  9907. "type": "string"
  9908. },
  9909. "handlestatus": {
  9910. "description": "处理状态",
  9911. "type": "integer"
  9912. },
  9913. "innergoodsid": {
  9914. "description": "内部商品ID",
  9915. "type": "integer"
  9916. },
  9917. "inratio": {
  9918. "description": "配置转入比值",
  9919. "type": "integer"
  9920. },
  9921. "invalue": {
  9922. "description": "目标值",
  9923. "type": "number"
  9924. },
  9925. "logid": {
  9926. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9927. "type": "integer"
  9928. },
  9929. "mobile": {
  9930. "description": "手机号码(加密存储)",
  9931. "type": "string"
  9932. },
  9933. "outergoodscode": {
  9934. "description": "外部商品代码[JD\\PD]",
  9935. "type": "string"
  9936. },
  9937. "outratio": {
  9938. "description": "配置转出比值",
  9939. "type": "integer"
  9940. },
  9941. "outvalue": {
  9942. "description": "源值",
  9943. "type": "number"
  9944. },
  9945. "pddecimalplace": {
  9946. "description": "PD小数位",
  9947. "type": "integer"
  9948. },
  9949. "qty": {
  9950. "description": "数量",
  9951. "type": "string"
  9952. },
  9953. "remark": {
  9954. "description": "备注",
  9955. "type": "string"
  9956. },
  9957. "sessionid": {
  9958. "description": "会话ID",
  9959. "type": "integer"
  9960. },
  9961. "timemaxvalue": {
  9962. "description": "配置单次最大转入限制",
  9963. "type": "number"
  9964. },
  9965. "timemaxvalue2": {
  9966. "description": "配置单次最大转入限制(转入)",
  9967. "type": "number"
  9968. },
  9969. "timeminvalue": {
  9970. "description": "配置单次最小数量限制",
  9971. "type": "number"
  9972. },
  9973. "timeminvalue2": {
  9974. "description": "配置单次最小数量限制(转入)",
  9975. "type": "number"
  9976. },
  9977. "tradedate": {
  9978. "description": "交易日(yyyyMMdd)",
  9979. "type": "string"
  9980. },
  9981. "userid": {
  9982. "description": "用户ID",
  9983. "type": "integer"
  9984. }
  9985. }
  9986. },
  9987. "szdz.QueryGoodsPickupRsp": {
  9988. "type": "object",
  9989. "required": [
  9990. "takeorderid"
  9991. ],
  9992. "properties": {
  9993. "accountid": {
  9994. "description": "账户ID",
  9995. "type": "integer"
  9996. },
  9997. "address": {
  9998. "description": "提货人详细地址",
  9999. "type": "string"
  10000. },
  10001. "auditer": {
  10002. "description": "审核人",
  10003. "type": "integer"
  10004. },
  10005. "audittime": {
  10006. "description": "审核时间",
  10007. "type": "string"
  10008. },
  10009. "cardnum": {
  10010. "description": "提货人证件号码",
  10011. "type": "string"
  10012. },
  10013. "cardtypeid": {
  10014. "description": "提货人证件类型",
  10015. "type": "integer"
  10016. },
  10017. "checkremark": {
  10018. "description": "审核备注",
  10019. "type": "string"
  10020. },
  10021. "goodscode": {
  10022. "description": "商品代码",
  10023. "type": "string"
  10024. },
  10025. "goodsid": {
  10026. "description": "商品ID",
  10027. "type": "integer"
  10028. },
  10029. "goodsname": {
  10030. "description": "商品名称",
  10031. "type": "string"
  10032. },
  10033. "handlestatus": {
  10034. "description": "处理状态",
  10035. "type": "integer"
  10036. },
  10037. "marketid": {
  10038. "description": "市场ID",
  10039. "type": "integer"
  10040. },
  10041. "phonenum": {
  10042. "description": "提货人联系方式",
  10043. "type": "string"
  10044. },
  10045. "qty": {
  10046. "description": "提货数量",
  10047. "type": "number"
  10048. },
  10049. "recivername": {
  10050. "description": "提货人姓名",
  10051. "type": "string"
  10052. },
  10053. "reqtime": {
  10054. "description": "更新时间",
  10055. "type": "string"
  10056. },
  10057. "takemode": {
  10058. "description": "提货方式 - 2:自提 3:配送",
  10059. "type": "integer"
  10060. },
  10061. "takeorderid": {
  10062. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  10063. "type": "string"
  10064. },
  10065. "takeorderstatus": {
  10066. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10067. "type": "integer"
  10068. },
  10069. "takeremark": {
  10070. "description": "提货备注",
  10071. "type": "string"
  10072. },
  10073. "tradedate": {
  10074. "description": "交易日(yyyyMMdd)",
  10075. "type": "string"
  10076. },
  10077. "userid": {
  10078. "description": "用户ID",
  10079. "type": "integer"
  10080. }
  10081. }
  10082. },
  10083. "szdz.QueryRecieptOrderRsp": {
  10084. "type": "object",
  10085. "required": [
  10086. "ordertime"
  10087. ],
  10088. "properties": {
  10089. "accountName": {
  10090. "description": "所属账号名称(已脱敏)",
  10091. "type": "string"
  10092. },
  10093. "accountid": {
  10094. "description": "资金账号",
  10095. "type": "integer"
  10096. },
  10097. "buyorsell": {
  10098. "description": "方向 - 0:买 1:卖",
  10099. "type": "integer"
  10100. },
  10101. "enableqty": {
  10102. "description": "可摘数量",
  10103. "type": "integer"
  10104. },
  10105. "goodscode": {
  10106. "description": "商品代码",
  10107. "type": "string"
  10108. },
  10109. "goodsid": {
  10110. "description": "商品ID",
  10111. "type": "integer"
  10112. },
  10113. "goodsname": {
  10114. "description": "商品名称",
  10115. "type": "string"
  10116. },
  10117. "orderid": {
  10118. "description": "委托单号",
  10119. "type": "string"
  10120. },
  10121. "orderprice": {
  10122. "description": "委托价格",
  10123. "type": "number"
  10124. },
  10125. "ordertime": {
  10126. "description": "委托时间",
  10127. "type": "string"
  10128. },
  10129. "tradedate": {
  10130. "description": "交易日(yyyyMMdd)",
  10131. "type": "string"
  10132. }
  10133. }
  10134. },
  10135. "szdz.QuerySZDZTradePositionRsp": {
  10136. "type": "object",
  10137. "properties": {
  10138. "accountid": {
  10139. "description": "账号Id",
  10140. "type": "integer"
  10141. },
  10142. "agreeunit": {
  10143. "description": "合约单位",
  10144. "type": "number"
  10145. },
  10146. "averageprice": {
  10147. "description": "持仓均价",
  10148. "type": "number"
  10149. },
  10150. "buyorsell": {
  10151. "description": "方向 - 0:买 1:卖",
  10152. "type": "integer"
  10153. },
  10154. "closetotalqty": {
  10155. "description": "平仓总数量",
  10156. "type": "integer"
  10157. },
  10158. "curholderamount": {
  10159. "description": "当前持仓总金额",
  10160. "type": "number"
  10161. },
  10162. "curpositionqty": {
  10163. "description": "当前持仓总数量",
  10164. "type": "integer"
  10165. },
  10166. "currencyid": {
  10167. "description": "报价货币ID",
  10168. "type": "integer"
  10169. },
  10170. "curtdposition": {
  10171. "description": "期末今日头寸",
  10172. "type": "integer"
  10173. },
  10174. "decimalplace": {
  10175. "description": "报价小数位",
  10176. "type": "integer"
  10177. },
  10178. "enableqty": {
  10179. "description": "可用量",
  10180. "type": "integer"
  10181. },
  10182. "fretdposition": {
  10183. "description": "冻结今日头寸",
  10184. "type": "integer"
  10185. },
  10186. "frozenqty": {
  10187. "description": "持仓冻结数量",
  10188. "type": "integer"
  10189. },
  10190. "goodscode": {
  10191. "description": "商品代码(内部)",
  10192. "type": "string"
  10193. },
  10194. "goodsid": {
  10195. "description": "商品Id",
  10196. "type": "integer"
  10197. },
  10198. "goodsname": {
  10199. "description": "商品名称",
  10200. "type": "string"
  10201. },
  10202. "goodunit": {
  10203. "description": "报价单位",
  10204. "type": "string"
  10205. },
  10206. "goodunitid": {
  10207. "description": "报价单位ID",
  10208. "type": "integer"
  10209. },
  10210. "holderamount": {
  10211. "description": "期初持仓总金额",
  10212. "type": "number"
  10213. },
  10214. "marketid": {
  10215. "description": "市场ID",
  10216. "type": "integer"
  10217. },
  10218. "openreqqty": {
  10219. "description": "开仓申请数量",
  10220. "type": "integer"
  10221. },
  10222. "opentotalqty": {
  10223. "description": "开仓总数量",
  10224. "type": "integer"
  10225. },
  10226. "otherfrozenqty": {
  10227. "description": "持仓其他冻结数量(交割冻结)",
  10228. "type": "integer"
  10229. },
  10230. "positionqty": {
  10231. "description": "期初持仓数量",
  10232. "type": "integer"
  10233. },
  10234. "szdz3freezqty": {
  10235. "description": "尚志大宗转换冻结总数量",
  10236. "type": "integer"
  10237. },
  10238. "tnqty": {
  10239. "description": "T+N冻结总量",
  10240. "type": "integer"
  10241. },
  10242. "tnusedqty": {
  10243. "description": "T+N使用量",
  10244. "type": "integer"
  10245. },
  10246. "trademode": {
  10247. "description": "交易模式",
  10248. "type": "integer"
  10249. },
  10250. "usedmargin": {
  10251. "description": "占用保证金",
  10252. "type": "number"
  10253. }
  10254. }
  10255. },
  10256. "taaccount.QueryAmountLogRsp": {
  10257. "type": "object",
  10258. "required": [
  10259. "accountid",
  10260. "amount",
  10261. "amountadjusttype",
  10262. "autoid",
  10263. "balance",
  10264. "createtime",
  10265. "currentbalance",
  10266. "operatetype"
  10267. ],
  10268. "properties": {
  10269. "OPERATETYPENAME": {
  10270. "description": "资金操作类型名称",
  10271. "type": "string"
  10272. },
  10273. "accountid": {
  10274. "description": "资金账户ID",
  10275. "type": "integer"
  10276. },
  10277. "agoodscode": {
  10278. "description": "竞拍商品代码",
  10279. "type": "string"
  10280. },
  10281. "agoodsname": {
  10282. "description": "竞拍商品名称",
  10283. "type": "string"
  10284. },
  10285. "amount": {
  10286. "description": "资金金额",
  10287. "type": "number"
  10288. },
  10289. "amountadjusttype": {
  10290. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  10291. "type": "integer"
  10292. },
  10293. "autoid": {
  10294. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  10295. "type": "integer"
  10296. },
  10297. "balance": {
  10298. "description": "期初余额",
  10299. "type": "number"
  10300. },
  10301. "businesscode": {
  10302. "description": "业务编号",
  10303. "type": "integer"
  10304. },
  10305. "createtime": {
  10306. "description": "发生时间",
  10307. "type": "string"
  10308. },
  10309. "currencyid": {
  10310. "description": "币种ID",
  10311. "type": "integer"
  10312. },
  10313. "currentbalance": {
  10314. "description": "期末余额(变动后金额)",
  10315. "type": "number"
  10316. },
  10317. "dgoodscode": {
  10318. "description": "交割商品代码",
  10319. "type": "string"
  10320. },
  10321. "dgoodsname": {
  10322. "description": "交割商品名称",
  10323. "type": "string"
  10324. },
  10325. "goodscode": {
  10326. "description": "商品代码",
  10327. "type": "string"
  10328. },
  10329. "goodsid": {
  10330. "description": "商品ID",
  10331. "type": "integer"
  10332. },
  10333. "goodsname": {
  10334. "description": "商品名称",
  10335. "type": "string"
  10336. },
  10337. "marketid": {
  10338. "description": "市场ID",
  10339. "type": "integer"
  10340. },
  10341. "marketname": {
  10342. "description": "市场名称",
  10343. "type": "string"
  10344. },
  10345. "moneyticket": {
  10346. "description": "资金流水号:银行端流水号",
  10347. "type": "integer"
  10348. },
  10349. "operatetype": {
  10350. "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:营销收款",
  10351. "type": "integer"
  10352. },
  10353. "relationorderid": {
  10354. "description": "关联单号",
  10355. "type": "string"
  10356. },
  10357. "remark": {
  10358. "description": "备注",
  10359. "type": "string"
  10360. },
  10361. "trademode": {
  10362. "description": "交易模式",
  10363. "type": "integer"
  10364. }
  10365. }
  10366. },
  10367. "taaccount.QueryHisAmountLogRsp": {
  10368. "type": "object",
  10369. "required": [
  10370. "accountid",
  10371. "amount",
  10372. "amountadjusttype",
  10373. "autoid",
  10374. "balance",
  10375. "createtime",
  10376. "currentbalance",
  10377. "histradedate",
  10378. "operatetype"
  10379. ],
  10380. "properties": {
  10381. "OPERATETYPENAME": {
  10382. "description": "资金操作类型名称",
  10383. "type": "string"
  10384. },
  10385. "accountid": {
  10386. "description": "资金账户ID",
  10387. "type": "integer"
  10388. },
  10389. "agoodscode": {
  10390. "description": "竞拍商品代码",
  10391. "type": "string"
  10392. },
  10393. "agoodsname": {
  10394. "description": "竞拍商品名称",
  10395. "type": "string"
  10396. },
  10397. "amount": {
  10398. "description": "资金金额",
  10399. "type": "number"
  10400. },
  10401. "amountadjusttype": {
  10402. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  10403. "type": "integer"
  10404. },
  10405. "autoid": {
  10406. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  10407. "type": "integer"
  10408. },
  10409. "balance": {
  10410. "description": "期初余额",
  10411. "type": "number"
  10412. },
  10413. "businesscode": {
  10414. "description": "业务编号",
  10415. "type": "integer"
  10416. },
  10417. "createtime": {
  10418. "description": "发生时间",
  10419. "type": "string"
  10420. },
  10421. "currencyid": {
  10422. "description": "币种ID",
  10423. "type": "integer"
  10424. },
  10425. "currentbalance": {
  10426. "description": "期末余额(变动后金额)",
  10427. "type": "number"
  10428. },
  10429. "dgoodscode": {
  10430. "description": "交割商品代码",
  10431. "type": "string"
  10432. },
  10433. "dgoodsname": {
  10434. "description": "交割商品名称",
  10435. "type": "string"
  10436. },
  10437. "goodscode": {
  10438. "description": "商品代码",
  10439. "type": "string"
  10440. },
  10441. "goodsid": {
  10442. "description": "商品ID",
  10443. "type": "integer"
  10444. },
  10445. "goodsname": {
  10446. "description": "商品名称",
  10447. "type": "string"
  10448. },
  10449. "histradedate": {
  10450. "description": "历史交易日",
  10451. "type": "string"
  10452. },
  10453. "isvaliddata": {
  10454. "description": "是否有效 - 0:无效 1:有效",
  10455. "type": "integer"
  10456. },
  10457. "marketid": {
  10458. "description": "市场ID",
  10459. "type": "integer"
  10460. },
  10461. "marketname": {
  10462. "description": "市场名称",
  10463. "type": "string"
  10464. },
  10465. "moneyticket": {
  10466. "description": "资金流水号:银行端流水号",
  10467. "type": "integer"
  10468. },
  10469. "operatetype": {
  10470. "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:营销收款",
  10471. "type": "integer"
  10472. },
  10473. "relationorderid": {
  10474. "description": "关联单号",
  10475. "type": "string"
  10476. },
  10477. "remark": {
  10478. "description": "备注",
  10479. "type": "string"
  10480. },
  10481. "trademode": {
  10482. "description": "交易模式",
  10483. "type": "integer"
  10484. }
  10485. }
  10486. },
  10487. "trade.QueryRecieptOrderRsp": {
  10488. "type": "object",
  10489. "required": [
  10490. "ordertime"
  10491. ],
  10492. "properties": {
  10493. "accountName": {
  10494. "description": "所属账号名称(已脱敏)",
  10495. "type": "string"
  10496. },
  10497. "accountid": {
  10498. "description": "资金账号",
  10499. "type": "integer"
  10500. },
  10501. "buyorsell": {
  10502. "description": "方向 - 0:买 1:卖",
  10503. "type": "integer"
  10504. },
  10505. "enableqty": {
  10506. "description": "可摘数量",
  10507. "type": "integer"
  10508. },
  10509. "goodscode": {
  10510. "description": "商品代码",
  10511. "type": "string"
  10512. },
  10513. "goodsid": {
  10514. "description": "商品ID",
  10515. "type": "integer"
  10516. },
  10517. "goodsname": {
  10518. "description": "商品名称",
  10519. "type": "string"
  10520. },
  10521. "orderid": {
  10522. "description": "委托单号",
  10523. "type": "string"
  10524. },
  10525. "orderprice": {
  10526. "description": "委托价格",
  10527. "type": "number"
  10528. },
  10529. "ordertime": {
  10530. "description": "委托时间",
  10531. "type": "string"
  10532. },
  10533. "tradedate": {
  10534. "description": "交易日(yyyyMMdd)",
  10535. "type": "string"
  10536. }
  10537. }
  10538. }
  10539. },
  10540. "securityDefinitions": {
  10541. "ApiKeyAuth": {
  10542. "type": "apiKey",
  10543. "name": "Authorization",
  10544. "in": "header"
  10545. }
  10546. }
  10547. }`
  10548. type swaggerInfo struct {
  10549. Version string
  10550. Host string
  10551. BasePath string
  10552. Schemes []string
  10553. Title string
  10554. Description string
  10555. }
  10556. // SwaggerInfo holds exported Swagger Info so clients can modify it
  10557. var SwaggerInfo = swaggerInfo{
  10558. Version: "1.0",
  10559. Host: "",
  10560. BasePath: "/api",
  10561. Schemes: []string{},
  10562. Title: "MTP2.0 查询服务 API",
  10563. Description: "新的查询服务,替代原通用查询服务。",
  10564. }
  10565. type s struct{}
  10566. func (s *s) ReadDoc() string {
  10567. sInfo := SwaggerInfo
  10568. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  10569. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  10570. "marshal": func(v interface{}) string {
  10571. a, _ := json.Marshal(v)
  10572. return string(a)
  10573. },
  10574. }).Parse(doc)
  10575. if err != nil {
  10576. return doc
  10577. }
  10578. var tpl bytes.Buffer
  10579. if err := t.Execute(&tpl, sInfo); err != nil {
  10580. return doc
  10581. }
  10582. return tpl.String()
  10583. }
  10584. func init() {
  10585. swag.Register(swag.Name, &s{})
  10586. }