docs.go 296 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230
  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/NoticeReaded": {
  368. "post": {
  369. "security": [
  370. {
  371. "ApiKeyAuth": []
  372. }
  373. ],
  374. "produces": [
  375. "application/json"
  376. ],
  377. "tags": [
  378. "通用服务"
  379. ],
  380. "summary": "通知公告设置已读请求",
  381. "parameters": [
  382. {
  383. "type": "integer",
  384. "description": "登录账号",
  385. "name": "loginID",
  386. "in": "query",
  387. "required": true
  388. },
  389. {
  390. "type": "integer",
  391. "description": "通知公告ID",
  392. "name": "noticeID",
  393. "in": "query",
  394. "required": true
  395. }
  396. ],
  397. "responses": {
  398. "200": {
  399. "description": "OK",
  400. "schema": {
  401. "$ref": "#/definitions/app.Response"
  402. }
  403. },
  404. "500": {
  405. "description": "Internal Server Error",
  406. "schema": {
  407. "$ref": "#/definitions/app.Response"
  408. }
  409. }
  410. }
  411. }
  412. },
  413. "/Common/QueryImageConfigs": {
  414. "get": {
  415. "produces": [
  416. "application/json"
  417. ],
  418. "tags": [
  419. "通用服务"
  420. ],
  421. "summary": "查询轮播图配置信息",
  422. "parameters": [
  423. {
  424. "type": "integer",
  425. "description": "类型 - 1:App首页轮播 2:我的",
  426. "name": "imageType",
  427. "in": "query"
  428. }
  429. ],
  430. "responses": {
  431. "200": {
  432. "description": "OK",
  433. "schema": {
  434. "$ref": "#/definitions/models.Szdz2imageconfig"
  435. }
  436. },
  437. "500": {
  438. "description": "Internal Server Error",
  439. "schema": {
  440. "$ref": "#/definitions/app.Response"
  441. }
  442. }
  443. }
  444. }
  445. },
  446. "/Common/QueryNotice": {
  447. "get": {
  448. "security": [
  449. {
  450. "ApiKeyAuth": []
  451. }
  452. ],
  453. "produces": [
  454. "application/json"
  455. ],
  456. "tags": [
  457. "通用服务"
  458. ],
  459. "summary": "通知公告系统消息查询",
  460. "parameters": [
  461. {
  462. "type": "integer",
  463. "description": "页码",
  464. "name": "page",
  465. "in": "query"
  466. },
  467. {
  468. "type": "integer",
  469. "description": "每页条数",
  470. "name": "pagesize",
  471. "in": "query"
  472. },
  473. {
  474. "type": "integer",
  475. "description": "登录账号",
  476. "name": "loginID",
  477. "in": "query",
  478. "required": true
  479. },
  480. {
  481. "type": "integer",
  482. "description": "消息类型 - 1:公告通知 2:系统消息",
  483. "name": "msgType",
  484. "in": "query"
  485. },
  486. {
  487. "type": "boolean",
  488. "description": "是否只获取未读信息",
  489. "name": "onlyUnRead",
  490. "in": "query"
  491. }
  492. ],
  493. "responses": {
  494. "200": {
  495. "description": "OK",
  496. "schema": {
  497. "$ref": "#/definitions/common.QueryNoticeRsp"
  498. }
  499. },
  500. "500": {
  501. "description": "Internal Server Error",
  502. "schema": {
  503. "$ref": "#/definitions/app.Response"
  504. }
  505. }
  506. }
  507. }
  508. },
  509. "/Common/QueryProvincesAndCities": {
  510. "get": {
  511. "produces": [
  512. "application/json"
  513. ],
  514. "tags": [
  515. "通用服务"
  516. ],
  517. "summary": "查询省市信息(不包括区)",
  518. "parameters": [
  519. {
  520. "type": "integer",
  521. "description": "省ID",
  522. "name": "provinceID",
  523. "in": "query"
  524. }
  525. ],
  526. "responses": {
  527. "200": {
  528. "description": "OK",
  529. "schema": {
  530. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  531. }
  532. },
  533. "500": {
  534. "description": "Internal Server Error",
  535. "schema": {
  536. "$ref": "#/definitions/app.Response"
  537. }
  538. }
  539. }
  540. }
  541. },
  542. "/Common/QueryTableDefine": {
  543. "get": {
  544. "produces": [
  545. "application/json"
  546. ],
  547. "tags": [
  548. "通用服务"
  549. ],
  550. "summary": "查询交易端列表头信息",
  551. "parameters": [
  552. {
  553. "type": "string",
  554. "description": "表key",
  555. "name": "TableKey",
  556. "in": "query"
  557. }
  558. ],
  559. "responses": {
  560. "200": {
  561. "description": "OK",
  562. "schema": {
  563. "$ref": "#/definitions/common.QueryTableDefineRsp"
  564. }
  565. },
  566. "500": {
  567. "description": "Internal Server Error",
  568. "schema": {
  569. "$ref": "#/definitions/app.Response"
  570. }
  571. }
  572. }
  573. }
  574. },
  575. "/Common/QueryTraderMenu": {
  576. "get": {
  577. "produces": [
  578. "application/json"
  579. ],
  580. "tags": [
  581. "通用服务"
  582. ],
  583. "summary": "查询交易端菜单",
  584. "parameters": [
  585. {
  586. "type": "integer",
  587. "description": "登录账号",
  588. "name": "loginid",
  589. "in": "query",
  590. "required": true
  591. }
  592. ],
  593. "responses": {
  594. "200": {
  595. "description": "OK",
  596. "schema": {
  597. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  598. }
  599. },
  600. "500": {
  601. "description": "Internal Server Error",
  602. "schema": {
  603. "$ref": "#/definitions/app.Response"
  604. }
  605. }
  606. }
  607. }
  608. },
  609. "/Delivery/QueryDeliveryRelation": {
  610. "get": {
  611. "security": [
  612. {
  613. "ApiKeyAuth": []
  614. }
  615. ],
  616. "produces": [
  617. "application/json"
  618. ],
  619. "tags": [
  620. "交割服务"
  621. ],
  622. "summary": "查询商品交割关系表",
  623. "parameters": [
  624. {
  625. "type": "integer",
  626. "description": "商品ID",
  627. "name": "goodsid",
  628. "in": "query"
  629. },
  630. {
  631. "type": "integer",
  632. "description": "品种ID",
  633. "name": "deliverygoodsid",
  634. "in": "query"
  635. },
  636. {
  637. "type": "integer",
  638. "description": "市场ID",
  639. "name": "marketid",
  640. "in": "query"
  641. }
  642. ],
  643. "responses": {
  644. "200": {
  645. "description": "OK",
  646. "schema": {
  647. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  648. }
  649. },
  650. "500": {
  651. "description": "Internal Server Error",
  652. "schema": {
  653. "$ref": "#/definitions/app.Response"
  654. }
  655. }
  656. }
  657. }
  658. },
  659. "/Erms2/QueryArbitrageStrategy": {
  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": "userid",
  678. "in": "query",
  679. "required": true
  680. },
  681. {
  682. "type": "string",
  683. "description": "商品组ID(品种ID)",
  684. "name": "goodsgroupid",
  685. "in": "query"
  686. }
  687. ],
  688. "responses": {
  689. "200": {
  690. "description": "OK",
  691. "schema": {
  692. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  693. }
  694. },
  695. "500": {
  696. "description": "Internal Server Error",
  697. "schema": {
  698. "$ref": "#/definitions/app.Response"
  699. }
  700. }
  701. }
  702. }
  703. },
  704. "/Erms2/QueryInnerTradeDetail": {
  705. "get": {
  706. "security": [
  707. {
  708. "ApiKeyAuth": []
  709. }
  710. ],
  711. "produces": [
  712. "application/json"
  713. ],
  714. "tags": [
  715. "风险管理"
  716. ],
  717. "summary": "查询内部成交单信息",
  718. "parameters": [
  719. {
  720. "type": "integer",
  721. "description": "资金账户",
  722. "name": "accountid",
  723. "in": "query",
  724. "required": true
  725. }
  726. ],
  727. "responses": {
  728. "200": {
  729. "description": "OK",
  730. "schema": {
  731. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  732. }
  733. },
  734. "500": {
  735. "description": "Internal Server Error",
  736. "schema": {
  737. "$ref": "#/definitions/app.Response"
  738. }
  739. }
  740. }
  741. }
  742. },
  743. "/Erms2/QuerySpotContract": {
  744. "get": {
  745. "security": [
  746. {
  747. "ApiKeyAuth": []
  748. }
  749. ],
  750. "produces": [
  751. "application/json"
  752. ],
  753. "tags": [
  754. "风险管理"
  755. ],
  756. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  757. "parameters": [
  758. {
  759. "type": "integer",
  760. "description": "策略申请ID",
  761. "name": "asapplyid",
  762. "in": "query",
  763. "required": true
  764. },
  765. {
  766. "type": "integer",
  767. "description": "现货合同ID",
  768. "name": "spotcontractid",
  769. "in": "query"
  770. }
  771. ],
  772. "responses": {
  773. "200": {
  774. "description": "OK",
  775. "schema": {
  776. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  777. }
  778. },
  779. "500": {
  780. "description": "Internal Server Error",
  781. "schema": {
  782. "$ref": "#/definitions/app.Response"
  783. }
  784. }
  785. }
  786. }
  787. },
  788. "/Erms3/AddSpotContractApply": {
  789. "post": {
  790. "security": [
  791. {
  792. "ApiKeyAuth": []
  793. }
  794. ],
  795. "produces": [
  796. "application/json"
  797. ],
  798. "tags": [
  799. "风险管理v3"
  800. ],
  801. "summary": "新增现货合同申请",
  802. "parameters": [
  803. {
  804. "description": "申请参数",
  805. "name": "jsonBody",
  806. "in": "body",
  807. "required": true,
  808. "schema": {
  809. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  810. }
  811. }
  812. ],
  813. "responses": {
  814. "200": {
  815. "description": "OK",
  816. "schema": {
  817. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  818. }
  819. },
  820. "500": {
  821. "description": "Internal Server Error",
  822. "schema": {
  823. "$ref": "#/definitions/app.Response"
  824. }
  825. }
  826. }
  827. }
  828. },
  829. "/Erms3/QuerySpotContractAppleForm": {
  830. "get": {
  831. "security": [
  832. {
  833. "ApiKeyAuth": []
  834. }
  835. ],
  836. "produces": [
  837. "application/json"
  838. ],
  839. "tags": [
  840. "风险管理v3"
  841. ],
  842. "summary": "查询合同申请表单数据",
  843. "parameters": [
  844. {
  845. "type": "integer",
  846. "description": "用户ID",
  847. "name": "userID",
  848. "in": "query",
  849. "required": true
  850. }
  851. ],
  852. "responses": {
  853. "200": {
  854. "description": "OK",
  855. "schema": {
  856. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  857. }
  858. },
  859. "500": {
  860. "description": "Internal Server Error",
  861. "schema": {
  862. "$ref": "#/definitions/app.Response"
  863. }
  864. }
  865. }
  866. }
  867. },
  868. "/HSBY/GetHsbyMyCount": {
  869. "get": {
  870. "security": [
  871. {
  872. "ApiKeyAuth": []
  873. }
  874. ],
  875. "description": "说明: 不包括已完成的数量。",
  876. "produces": [
  877. "application/json"
  878. ],
  879. "tags": [
  880. "定制【海商报业】"
  881. ],
  882. "summary": "获取我的订单与包裹数量",
  883. "parameters": [
  884. {
  885. "type": "string",
  886. "description": "资金账户列表,格式:1,2,3",
  887. "name": "accountIDs",
  888. "in": "query",
  889. "required": true
  890. }
  891. ],
  892. "responses": {
  893. "200": {
  894. "description": "OK",
  895. "schema": {
  896. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  897. }
  898. },
  899. "500": {
  900. "description": "Internal Server Error",
  901. "schema": {
  902. "$ref": "#/definitions/app.Response"
  903. }
  904. }
  905. }
  906. }
  907. },
  908. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  909. "get": {
  910. "security": [
  911. {
  912. "ApiKeyAuth": []
  913. }
  914. ],
  915. "produces": [
  916. "application/json"
  917. ],
  918. "tags": [
  919. "定制【海商报业】"
  920. ],
  921. "summary": "查询\"我的订单 - 已完成\"单据信息",
  922. "parameters": [
  923. {
  924. "type": "integer",
  925. "description": "页码",
  926. "name": "page",
  927. "in": "query"
  928. },
  929. {
  930. "type": "integer",
  931. "description": "每页条数",
  932. "name": "pagesize",
  933. "in": "query"
  934. },
  935. {
  936. "type": "string",
  937. "description": "资金账户列表,格式:1,2,3",
  938. "name": "accountIDs",
  939. "in": "query",
  940. "required": true
  941. }
  942. ],
  943. "responses": {
  944. "200": {
  945. "description": "OK",
  946. "schema": {
  947. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  948. }
  949. },
  950. "500": {
  951. "description": "Internal Server Error",
  952. "schema": {
  953. "$ref": "#/definitions/app.Response"
  954. }
  955. }
  956. }
  957. }
  958. },
  959. "/HSBY/QueryHsbyGoodsOrderDetails": {
  960. "get": {
  961. "security": [
  962. {
  963. "ApiKeyAuth": []
  964. }
  965. ],
  966. "description": "说明:查询结果已按委托价格和委托时间排序",
  967. "produces": [
  968. "application/json"
  969. ],
  970. "tags": [
  971. "定制【海商报业】"
  972. ],
  973. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  974. "parameters": [
  975. {
  976. "type": "integer",
  977. "description": "商品ID",
  978. "name": "goodsID",
  979. "in": "query",
  980. "required": true
  981. },
  982. {
  983. "type": "string",
  984. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  985. "name": "accountIDs",
  986. "in": "query",
  987. "required": true
  988. },
  989. {
  990. "type": "integer",
  991. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  992. "name": "buyOrSell",
  993. "in": "query"
  994. },
  995. {
  996. "type": "number",
  997. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  998. "name": "price",
  999. "in": "query"
  1000. },
  1001. {
  1002. "type": "integer",
  1003. "description": "档位,不传则默认为3档",
  1004. "name": "speed",
  1005. "in": "query"
  1006. }
  1007. ],
  1008. "responses": {
  1009. "200": {
  1010. "description": "OK",
  1011. "schema": {
  1012. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  1013. }
  1014. },
  1015. "500": {
  1016. "description": "Internal Server Error",
  1017. "schema": {
  1018. "$ref": "#/definitions/app.Response"
  1019. }
  1020. }
  1021. }
  1022. }
  1023. },
  1024. "/HSBY/QueryHsbyListingGoodsDetail": {
  1025. "get": {
  1026. "security": [
  1027. {
  1028. "ApiKeyAuth": []
  1029. }
  1030. ],
  1031. "produces": [
  1032. "application/json"
  1033. ],
  1034. "tags": [
  1035. "定制【海商报业】"
  1036. ],
  1037. "summary": "查询二级市场(挂牌点选)商品信息详情",
  1038. "parameters": [
  1039. {
  1040. "type": "integer",
  1041. "description": "商品ID",
  1042. "name": "goodsID",
  1043. "in": "query",
  1044. "required": true
  1045. },
  1046. {
  1047. "type": "integer",
  1048. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  1049. "name": "AccountID",
  1050. "in": "query"
  1051. }
  1052. ],
  1053. "responses": {
  1054. "200": {
  1055. "description": "OK",
  1056. "schema": {
  1057. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  1058. }
  1059. },
  1060. "500": {
  1061. "description": "Internal Server Error",
  1062. "schema": {
  1063. "$ref": "#/definitions/app.Response"
  1064. }
  1065. }
  1066. }
  1067. }
  1068. },
  1069. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  1070. "get": {
  1071. "security": [
  1072. {
  1073. "ApiKeyAuth": []
  1074. }
  1075. ],
  1076. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  1077. "produces": [
  1078. "application/json"
  1079. ],
  1080. "tags": [
  1081. "定制【海商报业】"
  1082. ],
  1083. "summary": "查询“我的订单”信息",
  1084. "parameters": [
  1085. {
  1086. "type": "string",
  1087. "description": "资金账户列表,格式:1,2,3",
  1088. "name": "accountIDs",
  1089. "in": "query",
  1090. "required": true
  1091. },
  1092. {
  1093. "type": "integer",
  1094. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  1095. "name": "myBuyStatus",
  1096. "in": "query"
  1097. }
  1098. ],
  1099. "responses": {
  1100. "200": {
  1101. "description": "OK",
  1102. "schema": {
  1103. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  1104. }
  1105. },
  1106. "500": {
  1107. "description": "Internal Server Error",
  1108. "schema": {
  1109. "$ref": "#/definitions/app.Response"
  1110. }
  1111. }
  1112. }
  1113. }
  1114. },
  1115. "/HSBY/QueryHsbyMyGoods": {
  1116. "get": {
  1117. "security": [
  1118. {
  1119. "ApiKeyAuth": []
  1120. }
  1121. ],
  1122. "produces": [
  1123. "application/json"
  1124. ],
  1125. "tags": [
  1126. "定制【海商报业】"
  1127. ],
  1128. "summary": "查询“我的商品”信息",
  1129. "parameters": [
  1130. {
  1131. "type": "string",
  1132. "description": "资金账户列表,格式:1,2,3",
  1133. "name": "accountIDs",
  1134. "in": "query",
  1135. "required": true
  1136. }
  1137. ],
  1138. "responses": {
  1139. "200": {
  1140. "description": "OK",
  1141. "schema": {
  1142. "$ref": "#/definitions/models.HsbyMyGoods"
  1143. }
  1144. },
  1145. "500": {
  1146. "description": "Internal Server Error",
  1147. "schema": {
  1148. "$ref": "#/definitions/app.Response"
  1149. }
  1150. }
  1151. }
  1152. }
  1153. },
  1154. "/HSBY/QueryHsbyMyPackages": {
  1155. "get": {
  1156. "security": [
  1157. {
  1158. "ApiKeyAuth": []
  1159. }
  1160. ],
  1161. "produces": [
  1162. "application/json"
  1163. ],
  1164. "tags": [
  1165. "定制【海商报业】"
  1166. ],
  1167. "summary": "查询我的包裹信息",
  1168. "parameters": [
  1169. {
  1170. "type": "string",
  1171. "description": "资金账户列表,格式:1,2,3",
  1172. "name": "accountIDs",
  1173. "in": "query",
  1174. "required": true
  1175. },
  1176. {
  1177. "type": "integer",
  1178. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  1179. "name": "takeOrderStatus",
  1180. "in": "query"
  1181. }
  1182. ],
  1183. "responses": {
  1184. "200": {
  1185. "description": "OK",
  1186. "schema": {
  1187. "$ref": "#/definitions/models.HsbyMyPackage"
  1188. }
  1189. },
  1190. "500": {
  1191. "description": "Internal Server Error",
  1192. "schema": {
  1193. "$ref": "#/definitions/app.Response"
  1194. }
  1195. }
  1196. }
  1197. }
  1198. },
  1199. "/HSBY/QueryHsbyPreGoodsDetail": {
  1200. "get": {
  1201. "security": [
  1202. {
  1203. "ApiKeyAuth": []
  1204. }
  1205. ],
  1206. "produces": [
  1207. "application/json"
  1208. ],
  1209. "tags": [
  1210. "定制【海商报业】"
  1211. ],
  1212. "summary": "查询一级市场(产能预售)商品信息详情",
  1213. "parameters": [
  1214. {
  1215. "type": "integer",
  1216. "description": "商品ID",
  1217. "name": "goodsID",
  1218. "in": "query",
  1219. "required": true
  1220. },
  1221. {
  1222. "type": "integer",
  1223. "description": "资金账户,主要用于获取预售商品购买上限",
  1224. "name": "accountID",
  1225. "in": "query",
  1226. "required": true
  1227. }
  1228. ],
  1229. "responses": {
  1230. "200": {
  1231. "description": "OK",
  1232. "schema": {
  1233. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  1234. }
  1235. },
  1236. "500": {
  1237. "description": "Internal Server Error",
  1238. "schema": {
  1239. "$ref": "#/definitions/app.Response"
  1240. }
  1241. }
  1242. }
  1243. }
  1244. },
  1245. "/HSBY/QueryHsbyPreGoodses": {
  1246. "get": {
  1247. "security": [
  1248. {
  1249. "ApiKeyAuth": []
  1250. }
  1251. ],
  1252. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  1253. "produces": [
  1254. "application/json"
  1255. ],
  1256. "tags": [
  1257. "定制【海商报业】"
  1258. ],
  1259. "summary": "查询新品上市商品列表(一级市场产能预售)",
  1260. "parameters": [
  1261. {
  1262. "type": "integer",
  1263. "description": "页码",
  1264. "name": "page",
  1265. "in": "query"
  1266. },
  1267. {
  1268. "type": "integer",
  1269. "description": "每页条数",
  1270. "name": "pagesize",
  1271. "in": "query"
  1272. },
  1273. {
  1274. "type": "string",
  1275. "description": "市场ID列表,格式:1,2,3",
  1276. "name": "marketIDs",
  1277. "in": "query",
  1278. "required": true
  1279. },
  1280. {
  1281. "type": "integer",
  1282. "description": "目的地(省)ID",
  1283. "name": "descProvinceID",
  1284. "in": "query"
  1285. },
  1286. {
  1287. "type": "integer",
  1288. "description": "目的地(市)ID",
  1289. "name": "descCityID",
  1290. "in": "query"
  1291. }
  1292. ],
  1293. "responses": {
  1294. "200": {
  1295. "description": "OK",
  1296. "schema": {
  1297. "$ref": "#/definitions/models.HsbyPreGoods"
  1298. }
  1299. },
  1300. "500": {
  1301. "description": "Internal Server Error",
  1302. "schema": {
  1303. "$ref": "#/definitions/app.Response"
  1304. }
  1305. }
  1306. }
  1307. }
  1308. },
  1309. "/HSBY/QueryHsbySellMyDetails": {
  1310. "get": {
  1311. "security": [
  1312. {
  1313. "ApiKeyAuth": []
  1314. }
  1315. ],
  1316. "description": "说明:已发布 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  1317. "produces": [
  1318. "application/json"
  1319. ],
  1320. "tags": [
  1321. "定制【海商报业】"
  1322. ],
  1323. "summary": "查询\"我的闲置\"单据信息",
  1324. "parameters": [
  1325. {
  1326. "type": "integer",
  1327. "description": "页码",
  1328. "name": "page",
  1329. "in": "query"
  1330. },
  1331. {
  1332. "type": "integer",
  1333. "description": "每页条数",
  1334. "name": "pagesize",
  1335. "in": "query"
  1336. },
  1337. {
  1338. "type": "string",
  1339. "description": "资金账户列表,格式:1,2,3",
  1340. "name": "accountIDs",
  1341. "in": "query",
  1342. "required": true
  1343. },
  1344. {
  1345. "type": "integer",
  1346. "description": "单据类型:0 - 已发布(默认), 1 - 已完成",
  1347. "name": "orderType",
  1348. "in": "query"
  1349. }
  1350. ],
  1351. "responses": {
  1352. "200": {
  1353. "description": "OK",
  1354. "schema": {
  1355. "$ref": "#/definitions/models.HsbySellMyDetail"
  1356. }
  1357. },
  1358. "500": {
  1359. "description": "Internal Server Error",
  1360. "schema": {
  1361. "$ref": "#/definitions/app.Response"
  1362. }
  1363. }
  1364. }
  1365. }
  1366. },
  1367. "/HSBY/QueryHsbyTopGoodses": {
  1368. "get": {
  1369. "security": [
  1370. {
  1371. "ApiKeyAuth": []
  1372. }
  1373. ],
  1374. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  1375. "produces": [
  1376. "application/json"
  1377. ],
  1378. "tags": [
  1379. "定制【海商报业】"
  1380. ],
  1381. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  1382. "parameters": [
  1383. {
  1384. "type": "integer",
  1385. "description": "页码",
  1386. "name": "page",
  1387. "in": "query"
  1388. },
  1389. {
  1390. "type": "integer",
  1391. "description": "每页条数",
  1392. "name": "pagesize",
  1393. "in": "query"
  1394. },
  1395. {
  1396. "type": "string",
  1397. "description": "市场ID列表,格式:1,2,3",
  1398. "name": "marketIDs",
  1399. "in": "query",
  1400. "required": true
  1401. },
  1402. {
  1403. "type": "integer",
  1404. "description": "目的地(省)ID",
  1405. "name": "descProvinceID",
  1406. "in": "query"
  1407. },
  1408. {
  1409. "type": "integer",
  1410. "description": "目的地(市)ID",
  1411. "name": "descCityID",
  1412. "in": "query"
  1413. }
  1414. ],
  1415. "responses": {
  1416. "200": {
  1417. "description": "OK",
  1418. "schema": {
  1419. "$ref": "#/definitions/models.HsbyTopGoods"
  1420. }
  1421. },
  1422. "500": {
  1423. "description": "Internal Server Error",
  1424. "schema": {
  1425. "$ref": "#/definitions/app.Response"
  1426. }
  1427. }
  1428. }
  1429. }
  1430. },
  1431. "/HSBY/QueryProvincesAndCities": {
  1432. "get": {
  1433. "security": [
  1434. {
  1435. "ApiKeyAuth": []
  1436. }
  1437. ],
  1438. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  1439. "produces": [
  1440. "application/json"
  1441. ],
  1442. "tags": [
  1443. "定制【海商报业】"
  1444. ],
  1445. "summary": "查询省市信息(不包括区)",
  1446. "parameters": [
  1447. {
  1448. "type": "integer",
  1449. "description": "省ID",
  1450. "name": "provinceID",
  1451. "in": "query"
  1452. }
  1453. ],
  1454. "responses": {
  1455. "200": {
  1456. "description": "OK",
  1457. "schema": {
  1458. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  1459. }
  1460. },
  1461. "500": {
  1462. "description": "Internal Server Error",
  1463. "schema": {
  1464. "$ref": "#/definitions/app.Response"
  1465. }
  1466. }
  1467. }
  1468. }
  1469. },
  1470. "/HSBY/SetHsbyMyPackagesStatus": {
  1471. "post": {
  1472. "security": [
  1473. {
  1474. "ApiKeyAuth": []
  1475. }
  1476. ],
  1477. "produces": [
  1478. "application/json"
  1479. ],
  1480. "tags": [
  1481. "定制【海商报业】"
  1482. ],
  1483. "summary": "设置我的包裹已收货状态",
  1484. "parameters": [
  1485. {
  1486. "type": "string",
  1487. "description": "提货单号",
  1488. "name": "takeOrderID",
  1489. "in": "query",
  1490. "required": true
  1491. },
  1492. {
  1493. "type": "integer",
  1494. "description": "资金账号",
  1495. "name": "accountID",
  1496. "in": "query",
  1497. "required": true
  1498. }
  1499. ],
  1500. "responses": {
  1501. "200": {
  1502. "description": "OK",
  1503. "schema": {
  1504. "$ref": "#/definitions/app.Response"
  1505. }
  1506. },
  1507. "500": {
  1508. "description": "Internal Server Error",
  1509. "schema": {
  1510. "$ref": "#/definitions/app.Response"
  1511. }
  1512. }
  1513. }
  1514. }
  1515. },
  1516. "/Order/QueryHisTradeDetail": {
  1517. "get": {
  1518. "security": [
  1519. {
  1520. "ApiKeyAuth": []
  1521. }
  1522. ],
  1523. "produces": [
  1524. "application/json"
  1525. ],
  1526. "tags": [
  1527. "通用单据"
  1528. ],
  1529. "summary": "历史成交单查询(合约市场)",
  1530. "parameters": [
  1531. {
  1532. "type": "string",
  1533. "description": "资金账户 - 格式:1,2,3",
  1534. "name": "accountID",
  1535. "in": "query",
  1536. "required": true
  1537. },
  1538. {
  1539. "type": "integer",
  1540. "description": "成交单号",
  1541. "name": "tradeID",
  1542. "in": "query"
  1543. },
  1544. {
  1545. "type": "integer",
  1546. "description": "委托单号",
  1547. "name": "orderID",
  1548. "in": "query"
  1549. },
  1550. {
  1551. "type": "string",
  1552. "description": "交易模式 - 格式:1,2,3",
  1553. "name": "tradeMode",
  1554. "in": "query"
  1555. },
  1556. {
  1557. "type": "integer",
  1558. "description": "委托单据类型",
  1559. "name": "buildType",
  1560. "in": "query"
  1561. },
  1562. {
  1563. "type": "string",
  1564. "description": "成交类别 - 格式:1,2,3",
  1565. "name": "tradeType",
  1566. "in": "query"
  1567. },
  1568. {
  1569. "type": "string",
  1570. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1571. "name": "startDate",
  1572. "in": "query"
  1573. },
  1574. {
  1575. "type": "string",
  1576. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1577. "name": "endDate",
  1578. "in": "query"
  1579. }
  1580. ],
  1581. "responses": {
  1582. "200": {
  1583. "description": "OK",
  1584. "schema": {
  1585. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  1586. }
  1587. },
  1588. "500": {
  1589. "description": "Internal Server Error",
  1590. "schema": {
  1591. "$ref": "#/definitions/app.Response"
  1592. }
  1593. }
  1594. }
  1595. }
  1596. },
  1597. "/Order/QueryHisTradeOrderDetail": {
  1598. "get": {
  1599. "security": [
  1600. {
  1601. "ApiKeyAuth": []
  1602. }
  1603. ],
  1604. "produces": [
  1605. "application/json"
  1606. ],
  1607. "tags": [
  1608. "通用单据"
  1609. ],
  1610. "summary": "历史委托单查询请求(合约市场)",
  1611. "parameters": [
  1612. {
  1613. "type": "string",
  1614. "description": "资金账户 - 格式:1,2,3",
  1615. "name": "accountID",
  1616. "in": "query",
  1617. "required": true
  1618. },
  1619. {
  1620. "type": "string",
  1621. "description": "交易模式 - 格式:1,2,3",
  1622. "name": "tradeMode",
  1623. "in": "query"
  1624. },
  1625. {
  1626. "type": "string",
  1627. "description": "委托状态 - 格式:1,2,3",
  1628. "name": "orderStatus",
  1629. "in": "query"
  1630. },
  1631. {
  1632. "type": "integer",
  1633. "description": "委托单号",
  1634. "name": "orderID",
  1635. "in": "query"
  1636. },
  1637. {
  1638. "type": "string",
  1639. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1640. "name": "startDate",
  1641. "in": "query"
  1642. },
  1643. {
  1644. "type": "string",
  1645. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1646. "name": "endDate",
  1647. "in": "query"
  1648. }
  1649. ],
  1650. "responses": {
  1651. "200": {
  1652. "description": "OK",
  1653. "schema": {
  1654. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  1655. }
  1656. },
  1657. "500": {
  1658. "description": "Internal Server Error",
  1659. "schema": {
  1660. "$ref": "#/definitions/app.Response"
  1661. }
  1662. }
  1663. }
  1664. }
  1665. },
  1666. "/Order/QueryTradeDetail": {
  1667. "get": {
  1668. "security": [
  1669. {
  1670. "ApiKeyAuth": []
  1671. }
  1672. ],
  1673. "produces": [
  1674. "application/json"
  1675. ],
  1676. "tags": [
  1677. "通用单据"
  1678. ],
  1679. "summary": "成交单查询(合约市场)",
  1680. "parameters": [
  1681. {
  1682. "type": "string",
  1683. "description": "资金账户 - 格式:1,2,3",
  1684. "name": "accountID",
  1685. "in": "query",
  1686. "required": true
  1687. },
  1688. {
  1689. "type": "integer",
  1690. "description": "成交单号",
  1691. "name": "tradeID",
  1692. "in": "query"
  1693. },
  1694. {
  1695. "type": "integer",
  1696. "description": "委托单号",
  1697. "name": "orderID",
  1698. "in": "query"
  1699. },
  1700. {
  1701. "type": "string",
  1702. "description": "交易模式 - 格式:1,2,3",
  1703. "name": "tradeMode",
  1704. "in": "query"
  1705. },
  1706. {
  1707. "type": "integer",
  1708. "description": "委托单据类型",
  1709. "name": "buildType",
  1710. "in": "query"
  1711. },
  1712. {
  1713. "type": "string",
  1714. "description": "成交类别 - 格式:1,2,3",
  1715. "name": "tradeType",
  1716. "in": "query"
  1717. }
  1718. ],
  1719. "responses": {
  1720. "200": {
  1721. "description": "OK",
  1722. "schema": {
  1723. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  1724. }
  1725. },
  1726. "500": {
  1727. "description": "Internal Server Error",
  1728. "schema": {
  1729. "$ref": "#/definitions/app.Response"
  1730. }
  1731. }
  1732. }
  1733. }
  1734. },
  1735. "/Order/QueryTradeOrderDetail": {
  1736. "get": {
  1737. "security": [
  1738. {
  1739. "ApiKeyAuth": []
  1740. }
  1741. ],
  1742. "produces": [
  1743. "application/json"
  1744. ],
  1745. "tags": [
  1746. "通用单据"
  1747. ],
  1748. "summary": "委托单查询请求(合约市场)",
  1749. "parameters": [
  1750. {
  1751. "type": "string",
  1752. "description": "资金账户 - 格式:1,2,3",
  1753. "name": "accountID",
  1754. "in": "query",
  1755. "required": true
  1756. },
  1757. {
  1758. "type": "string",
  1759. "description": "交易模式 - 格式:1,2,3",
  1760. "name": "tradeMode",
  1761. "in": "query"
  1762. },
  1763. {
  1764. "type": "string",
  1765. "description": "委托状态 - 格式:1,2,3",
  1766. "name": "orderStatus",
  1767. "in": "query"
  1768. },
  1769. {
  1770. "type": "integer",
  1771. "description": "委托单号",
  1772. "name": "orderID",
  1773. "in": "query"
  1774. }
  1775. ],
  1776. "responses": {
  1777. "200": {
  1778. "description": "OK",
  1779. "schema": {
  1780. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  1781. }
  1782. },
  1783. "500": {
  1784. "description": "Internal Server Error",
  1785. "schema": {
  1786. "$ref": "#/definitions/app.Response"
  1787. }
  1788. }
  1789. }
  1790. }
  1791. },
  1792. "/Order/QueryTradePosition": {
  1793. "get": {
  1794. "security": [
  1795. {
  1796. "ApiKeyAuth": []
  1797. }
  1798. ],
  1799. "produces": [
  1800. "application/json"
  1801. ],
  1802. "tags": [
  1803. "通用单据"
  1804. ],
  1805. "summary": "持仓汇总查询(合约市场)",
  1806. "parameters": [
  1807. {
  1808. "type": "string",
  1809. "description": "资金账户 - 格式:1,2,3",
  1810. "name": "accountID",
  1811. "in": "query",
  1812. "required": true
  1813. },
  1814. {
  1815. "type": "string",
  1816. "description": "交易模式 - 格式:1,2,3",
  1817. "name": "tradeMode",
  1818. "in": "query"
  1819. }
  1820. ],
  1821. "responses": {
  1822. "200": {
  1823. "description": "OK",
  1824. "schema": {
  1825. "$ref": "#/definitions/order.QueryTradePositionRsp"
  1826. }
  1827. },
  1828. "500": {
  1829. "description": "Internal Server Error",
  1830. "schema": {
  1831. "$ref": "#/definitions/app.Response"
  1832. }
  1833. }
  1834. }
  1835. }
  1836. },
  1837. "/Quote/QueryHistoryDatas": {
  1838. "get": {
  1839. "security": [
  1840. {
  1841. "ApiKeyAuth": []
  1842. }
  1843. ],
  1844. "produces": [
  1845. "application/json"
  1846. ],
  1847. "tags": [
  1848. "行情服务"
  1849. ],
  1850. "summary": "查询行情历史数据",
  1851. "parameters": [
  1852. {
  1853. "type": "integer",
  1854. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  1855. "name": "cycleType",
  1856. "in": "query",
  1857. "required": true
  1858. },
  1859. {
  1860. "type": "string",
  1861. "description": "商品代码",
  1862. "name": "goodsCode",
  1863. "in": "query",
  1864. "required": true
  1865. },
  1866. {
  1867. "type": "string",
  1868. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  1869. "name": "startTime",
  1870. "in": "query"
  1871. },
  1872. {
  1873. "type": "string",
  1874. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  1875. "name": "endTime",
  1876. "in": "query"
  1877. },
  1878. {
  1879. "type": "integer",
  1880. "description": "条数",
  1881. "name": "count",
  1882. "in": "query"
  1883. },
  1884. {
  1885. "type": "boolean",
  1886. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  1887. "name": "isAsc",
  1888. "in": "query"
  1889. }
  1890. ],
  1891. "responses": {
  1892. "200": {
  1893. "description": "OK",
  1894. "schema": {
  1895. "$ref": "#/definitions/quote.HistoryData"
  1896. }
  1897. },
  1898. "500": {
  1899. "description": "Internal Server Error",
  1900. "schema": {
  1901. "$ref": "#/definitions/app.Response"
  1902. }
  1903. }
  1904. }
  1905. }
  1906. },
  1907. "/Quote/QueryTSData": {
  1908. "get": {
  1909. "produces": [
  1910. "application/json"
  1911. ],
  1912. "tags": [
  1913. "行情服务"
  1914. ],
  1915. "summary": "分时图数据查询",
  1916. "parameters": [
  1917. {
  1918. "type": "string",
  1919. "description": "商品代码",
  1920. "name": "GoodsCode",
  1921. "in": "query",
  1922. "required": true
  1923. }
  1924. ],
  1925. "responses": {
  1926. "200": {
  1927. "description": "OK",
  1928. "schema": {
  1929. "$ref": "#/definitions/quote.QueryTSDataRsp"
  1930. }
  1931. },
  1932. "500": {
  1933. "description": "Internal Server Error",
  1934. "schema": {
  1935. "$ref": "#/definitions/app.Response"
  1936. }
  1937. }
  1938. }
  1939. }
  1940. },
  1941. "/SZDZ/QueryConvertConfig": {
  1942. "get": {
  1943. "security": [
  1944. {
  1945. "ApiKeyAuth": []
  1946. }
  1947. ],
  1948. "produces": [
  1949. "application/json"
  1950. ],
  1951. "tags": [
  1952. "定制【尚志大宗】"
  1953. ],
  1954. "summary": "查询交易系统转换设置",
  1955. "parameters": [
  1956. {
  1957. "type": "integer",
  1958. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  1959. "name": "convertType",
  1960. "in": "query"
  1961. },
  1962. {
  1963. "type": "string",
  1964. "description": "外部商品代码[JD\\PD]",
  1965. "name": "outerGoodsCode",
  1966. "in": "query"
  1967. },
  1968. {
  1969. "type": "string",
  1970. "description": "内部商品ID列表[交易],格式:1,2,3",
  1971. "name": "innerGoodsIDs",
  1972. "in": "query"
  1973. }
  1974. ],
  1975. "responses": {
  1976. "200": {
  1977. "description": "OK",
  1978. "schema": {
  1979. "$ref": "#/definitions/models.Szdz3convertconfig"
  1980. }
  1981. },
  1982. "500": {
  1983. "description": "Internal Server Error",
  1984. "schema": {
  1985. "$ref": "#/definitions/app.Response"
  1986. }
  1987. }
  1988. }
  1989. }
  1990. },
  1991. "/SZDZ/QueryConvertLog": {
  1992. "get": {
  1993. "security": [
  1994. {
  1995. "ApiKeyAuth": []
  1996. }
  1997. ],
  1998. "produces": [
  1999. "application/json"
  2000. ],
  2001. "tags": [
  2002. "定制【尚志大宗】"
  2003. ],
  2004. "summary": "交易系统转换流水查询",
  2005. "parameters": [
  2006. {
  2007. "type": "string",
  2008. "description": "资金账户 - 格式:1,2,3",
  2009. "name": "accountID",
  2010. "in": "query",
  2011. "required": true
  2012. },
  2013. {
  2014. "type": "string",
  2015. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  2016. "name": "startDate",
  2017. "in": "query"
  2018. },
  2019. {
  2020. "type": "string",
  2021. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  2022. "name": "endDate",
  2023. "in": "query"
  2024. }
  2025. ],
  2026. "responses": {
  2027. "200": {
  2028. "description": "OK",
  2029. "schema": {
  2030. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  2031. }
  2032. },
  2033. "500": {
  2034. "description": "Internal Server Error",
  2035. "schema": {
  2036. "$ref": "#/definitions/app.Response"
  2037. }
  2038. }
  2039. }
  2040. }
  2041. },
  2042. "/SZDZ/QueryGoodsPickup": {
  2043. "get": {
  2044. "security": [
  2045. {
  2046. "ApiKeyAuth": []
  2047. }
  2048. ],
  2049. "produces": [
  2050. "application/json"
  2051. ],
  2052. "tags": [
  2053. "定制【尚志大宗】"
  2054. ],
  2055. "summary": "商品提货单查询",
  2056. "parameters": [
  2057. {
  2058. "type": "string",
  2059. "description": "资金账户 - 格式:1,2,3",
  2060. "name": "accountID",
  2061. "in": "query",
  2062. "required": true
  2063. },
  2064. {
  2065. "type": "integer",
  2066. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2067. "name": "takeOrderStatus",
  2068. "in": "query"
  2069. }
  2070. ],
  2071. "responses": {
  2072. "200": {
  2073. "description": "OK",
  2074. "schema": {
  2075. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  2076. }
  2077. },
  2078. "500": {
  2079. "description": "Internal Server Error",
  2080. "schema": {
  2081. "$ref": "#/definitions/app.Response"
  2082. }
  2083. }
  2084. }
  2085. }
  2086. },
  2087. "/SZDZ/QueryRecieptOrder": {
  2088. "get": {
  2089. "security": [
  2090. {
  2091. "ApiKeyAuth": []
  2092. }
  2093. ],
  2094. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  2095. "produces": [
  2096. "application/json"
  2097. ],
  2098. "tags": [
  2099. "定制【尚志大宗】"
  2100. ],
  2101. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  2102. "parameters": [
  2103. {
  2104. "type": "integer",
  2105. "description": "页码",
  2106. "name": "page",
  2107. "in": "query"
  2108. },
  2109. {
  2110. "type": "integer",
  2111. "description": "每页条数",
  2112. "name": "pagesize",
  2113. "in": "query"
  2114. },
  2115. {
  2116. "type": "integer",
  2117. "description": "商品ID",
  2118. "name": "goodsID",
  2119. "in": "query",
  2120. "required": true
  2121. },
  2122. {
  2123. "type": "string",
  2124. "description": "所属账户名称",
  2125. "name": "accountName",
  2126. "in": "query"
  2127. },
  2128. {
  2129. "type": "integer",
  2130. "description": "市场ID",
  2131. "name": "marketID",
  2132. "in": "query"
  2133. },
  2134. {
  2135. "type": "integer",
  2136. "description": "方向 - 0:买 1:卖",
  2137. "name": "buyorsell",
  2138. "in": "query",
  2139. "required": true
  2140. }
  2141. ],
  2142. "responses": {
  2143. "200": {
  2144. "description": "OK",
  2145. "schema": {
  2146. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  2147. }
  2148. },
  2149. "500": {
  2150. "description": "Internal Server Error",
  2151. "schema": {
  2152. "$ref": "#/definitions/app.Response"
  2153. }
  2154. }
  2155. }
  2156. }
  2157. },
  2158. "/SZDZ/QuerySZDZTradePosition": {
  2159. "get": {
  2160. "security": [
  2161. {
  2162. "ApiKeyAuth": []
  2163. }
  2164. ],
  2165. "produces": [
  2166. "application/json"
  2167. ],
  2168. "tags": [
  2169. "定制【尚志大宗】"
  2170. ],
  2171. "summary": "持仓汇总查询(尚志大宗)",
  2172. "parameters": [
  2173. {
  2174. "type": "integer",
  2175. "description": "资金账户",
  2176. "name": "accountID",
  2177. "in": "query",
  2178. "required": true
  2179. }
  2180. ],
  2181. "responses": {
  2182. "200": {
  2183. "description": "OK",
  2184. "schema": {
  2185. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  2186. }
  2187. },
  2188. "500": {
  2189. "description": "Internal Server Error",
  2190. "schema": {
  2191. "$ref": "#/definitions/app.Response"
  2192. }
  2193. }
  2194. }
  2195. }
  2196. },
  2197. "/SZDZ/SearchWhite": {
  2198. "get": {
  2199. "security": [
  2200. {
  2201. "ApiKeyAuth": []
  2202. }
  2203. ],
  2204. "produces": [
  2205. "application/json"
  2206. ],
  2207. "tags": [
  2208. "定制【尚志大宗】"
  2209. ],
  2210. "summary": "搜索白名单",
  2211. "parameters": [
  2212. {
  2213. "type": "integer",
  2214. "description": "用户ID",
  2215. "name": "userID",
  2216. "in": "query",
  2217. "required": true
  2218. }
  2219. ],
  2220. "responses": {
  2221. "200": {
  2222. "description": "OK",
  2223. "schema": {
  2224. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  2225. }
  2226. },
  2227. "500": {
  2228. "description": "Internal Server Error",
  2229. "schema": {
  2230. "$ref": "#/definitions/app.Response"
  2231. }
  2232. }
  2233. }
  2234. }
  2235. },
  2236. "/Search/SearchGoodses": {
  2237. "get": {
  2238. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  2239. "produces": [
  2240. "application/json"
  2241. ],
  2242. "tags": [
  2243. "检索服务"
  2244. ],
  2245. "summary": "检索商品信息",
  2246. "parameters": [
  2247. {
  2248. "type": "string",
  2249. "description": "检索内容",
  2250. "name": "content",
  2251. "in": "query",
  2252. "required": true
  2253. }
  2254. ],
  2255. "responses": {
  2256. "200": {
  2257. "description": "OK",
  2258. "schema": {
  2259. "$ref": "#/definitions/models.SearchGoods"
  2260. }
  2261. },
  2262. "500": {
  2263. "description": "Internal Server Error",
  2264. "schema": {
  2265. "$ref": "#/definitions/app.Response"
  2266. }
  2267. }
  2268. }
  2269. }
  2270. },
  2271. "/TaAccount/QueryAmountLog": {
  2272. "get": {
  2273. "security": [
  2274. {
  2275. "ApiKeyAuth": []
  2276. }
  2277. ],
  2278. "produces": [
  2279. "application/json"
  2280. ],
  2281. "tags": [
  2282. "资金账户"
  2283. ],
  2284. "summary": "资金流水查询(当前)",
  2285. "parameters": [
  2286. {
  2287. "type": "integer",
  2288. "description": "页码",
  2289. "name": "page",
  2290. "in": "query"
  2291. },
  2292. {
  2293. "type": "integer",
  2294. "description": "每页条数",
  2295. "name": "pagesize",
  2296. "in": "query"
  2297. },
  2298. {
  2299. "type": "string",
  2300. "description": "资金账户 - 格式:1,2,3",
  2301. "name": "accountID",
  2302. "in": "query",
  2303. "required": true
  2304. },
  2305. {
  2306. "type": "string",
  2307. "description": "资金操作类型 - 格式:1,2,3",
  2308. "name": "OperateType",
  2309. "in": "query"
  2310. }
  2311. ],
  2312. "responses": {
  2313. "200": {
  2314. "description": "OK",
  2315. "schema": {
  2316. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  2317. }
  2318. },
  2319. "500": {
  2320. "description": "Internal Server Error",
  2321. "schema": {
  2322. "$ref": "#/definitions/app.Response"
  2323. }
  2324. }
  2325. }
  2326. }
  2327. },
  2328. "/TaAccount/QueryHisAmountLog": {
  2329. "get": {
  2330. "security": [
  2331. {
  2332. "ApiKeyAuth": []
  2333. }
  2334. ],
  2335. "produces": [
  2336. "application/json"
  2337. ],
  2338. "tags": [
  2339. "资金账户"
  2340. ],
  2341. "summary": "资金流水查询(历史)",
  2342. "parameters": [
  2343. {
  2344. "type": "integer",
  2345. "description": "页码",
  2346. "name": "page",
  2347. "in": "query"
  2348. },
  2349. {
  2350. "type": "integer",
  2351. "description": "每页条数",
  2352. "name": "pagesize",
  2353. "in": "query"
  2354. },
  2355. {
  2356. "type": "string",
  2357. "description": "资金账户 - 格式:1,2,3",
  2358. "name": "accountID",
  2359. "in": "query",
  2360. "required": true
  2361. },
  2362. {
  2363. "type": "string",
  2364. "description": "资金操作类型 - 格式:1,2,3",
  2365. "name": "OperateType",
  2366. "in": "query"
  2367. },
  2368. {
  2369. "type": "string",
  2370. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2371. "name": "startDate",
  2372. "in": "query"
  2373. },
  2374. {
  2375. "type": "string",
  2376. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2377. "name": "endDate",
  2378. "in": "query"
  2379. }
  2380. ],
  2381. "responses": {
  2382. "200": {
  2383. "description": "OK",
  2384. "schema": {
  2385. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  2386. }
  2387. },
  2388. "500": {
  2389. "description": "Internal Server Error",
  2390. "schema": {
  2391. "$ref": "#/definitions/app.Response"
  2392. }
  2393. }
  2394. }
  2395. }
  2396. },
  2397. "/User/AddMessageBoard": {
  2398. "post": {
  2399. "security": [
  2400. {
  2401. "ApiKeyAuth": []
  2402. }
  2403. ],
  2404. "produces": [
  2405. "application/json"
  2406. ],
  2407. "tags": [
  2408. "用户信息"
  2409. ],
  2410. "summary": "添加用户留言板信息",
  2411. "parameters": [
  2412. {
  2413. "type": "integer",
  2414. "description": "用户ID",
  2415. "name": "userID",
  2416. "in": "query",
  2417. "required": true
  2418. },
  2419. {
  2420. "type": "string",
  2421. "description": "留言信息",
  2422. "name": "message",
  2423. "in": "query",
  2424. "required": true
  2425. }
  2426. ],
  2427. "responses": {
  2428. "200": {
  2429. "description": "OK",
  2430. "schema": {
  2431. "$ref": "#/definitions/app.Response"
  2432. }
  2433. },
  2434. "500": {
  2435. "description": "Internal Server Error",
  2436. "schema": {
  2437. "$ref": "#/definitions/app.Response"
  2438. }
  2439. }
  2440. }
  2441. }
  2442. },
  2443. "/User/AddUserFavoriteGoods": {
  2444. "post": {
  2445. "security": [
  2446. {
  2447. "ApiKeyAuth": []
  2448. }
  2449. ],
  2450. "produces": [
  2451. "application/json"
  2452. ],
  2453. "tags": [
  2454. "用户信息"
  2455. ],
  2456. "summary": "添加用户商品收藏信息",
  2457. "parameters": [
  2458. {
  2459. "type": "integer",
  2460. "description": "用户ID",
  2461. "name": "userID",
  2462. "in": "query",
  2463. "required": true
  2464. },
  2465. {
  2466. "type": "integer",
  2467. "description": "商品ID",
  2468. "name": "goodsID",
  2469. "in": "query",
  2470. "required": true
  2471. }
  2472. ],
  2473. "responses": {
  2474. "200": {
  2475. "description": "OK",
  2476. "schema": {
  2477. "$ref": "#/definitions/app.Response"
  2478. }
  2479. },
  2480. "500": {
  2481. "description": "Internal Server Error",
  2482. "schema": {
  2483. "$ref": "#/definitions/app.Response"
  2484. }
  2485. }
  2486. }
  2487. }
  2488. },
  2489. "/User/GetLoginID": {
  2490. "get": {
  2491. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  2492. "produces": [
  2493. "application/json"
  2494. ],
  2495. "tags": [
  2496. "用户信息"
  2497. ],
  2498. "summary": "获取登录ID",
  2499. "parameters": [
  2500. {
  2501. "type": "string",
  2502. "description": "登录代码",
  2503. "name": "username",
  2504. "in": "query",
  2505. "required": true
  2506. }
  2507. ],
  2508. "responses": {
  2509. "200": {
  2510. "description": "OK",
  2511. "schema": {
  2512. "$ref": "#/definitions/app.Response"
  2513. }
  2514. },
  2515. "500": {
  2516. "description": "Internal Server Error",
  2517. "schema": {
  2518. "$ref": "#/definitions/app.Response"
  2519. }
  2520. }
  2521. }
  2522. }
  2523. },
  2524. "/User/GetUserAuthStatus": {
  2525. "get": {
  2526. "security": [
  2527. {
  2528. "ApiKeyAuth": []
  2529. }
  2530. ],
  2531. "produces": [
  2532. "application/json"
  2533. ],
  2534. "tags": [
  2535. "用户信息"
  2536. ],
  2537. "summary": "获取用户实名认证状态",
  2538. "parameters": [
  2539. {
  2540. "type": "integer",
  2541. "description": "用户ID",
  2542. "name": "userID",
  2543. "in": "query",
  2544. "required": true
  2545. }
  2546. ],
  2547. "responses": {
  2548. "200": {
  2549. "description": "OK",
  2550. "schema": {
  2551. "$ref": "#/definitions/app.Response"
  2552. }
  2553. },
  2554. "500": {
  2555. "description": "Internal Server Error",
  2556. "schema": {
  2557. "$ref": "#/definitions/app.Response"
  2558. }
  2559. }
  2560. }
  2561. }
  2562. },
  2563. "/User/QueryMessageBoard": {
  2564. "get": {
  2565. "security": [
  2566. {
  2567. "ApiKeyAuth": []
  2568. }
  2569. ],
  2570. "produces": [
  2571. "application/json"
  2572. ],
  2573. "tags": [
  2574. "用户信息"
  2575. ],
  2576. "summary": "获取用户留言板信息",
  2577. "parameters": [
  2578. {
  2579. "type": "integer",
  2580. "description": "用户ID",
  2581. "name": "userID",
  2582. "in": "query",
  2583. "required": true
  2584. }
  2585. ],
  2586. "responses": {
  2587. "200": {
  2588. "description": "OK",
  2589. "schema": {
  2590. "$ref": "#/definitions/models.Messageboard"
  2591. }
  2592. },
  2593. "500": {
  2594. "description": "Internal Server Error",
  2595. "schema": {
  2596. "$ref": "#/definitions/app.Response"
  2597. }
  2598. }
  2599. }
  2600. }
  2601. },
  2602. "/User/QueryUserFavoriteGoodses": {
  2603. "get": {
  2604. "security": [
  2605. {
  2606. "ApiKeyAuth": []
  2607. }
  2608. ],
  2609. "produces": [
  2610. "application/json"
  2611. ],
  2612. "tags": [
  2613. "用户信息"
  2614. ],
  2615. "summary": "获取用户商品收藏信息",
  2616. "parameters": [
  2617. {
  2618. "type": "integer",
  2619. "description": "用户ID",
  2620. "name": "userID",
  2621. "in": "query",
  2622. "required": true
  2623. }
  2624. ],
  2625. "responses": {
  2626. "200": {
  2627. "description": "OK",
  2628. "schema": {
  2629. "$ref": "#/definitions/models.Userfavoritegoods"
  2630. }
  2631. },
  2632. "500": {
  2633. "description": "Internal Server Error",
  2634. "schema": {
  2635. "$ref": "#/definitions/app.Response"
  2636. }
  2637. }
  2638. }
  2639. }
  2640. },
  2641. "/User/QueryUserInfo": {
  2642. "get": {
  2643. "security": [
  2644. {
  2645. "ApiKeyAuth": []
  2646. }
  2647. ],
  2648. "produces": [
  2649. "application/json"
  2650. ],
  2651. "tags": [
  2652. "用户信息"
  2653. ],
  2654. "summary": "获取用户信息",
  2655. "parameters": [
  2656. {
  2657. "type": "integer",
  2658. "description": "用户ID",
  2659. "name": "userID",
  2660. "in": "query",
  2661. "required": true
  2662. }
  2663. ],
  2664. "responses": {
  2665. "200": {
  2666. "description": "OK",
  2667. "schema": {
  2668. "$ref": "#/definitions/models.Userinfo"
  2669. }
  2670. },
  2671. "500": {
  2672. "description": "Internal Server Error",
  2673. "schema": {
  2674. "$ref": "#/definitions/app.Response"
  2675. }
  2676. }
  2677. }
  2678. }
  2679. },
  2680. "/User/QueryUserReferNum": {
  2681. "get": {
  2682. "produces": [
  2683. "application/json"
  2684. ],
  2685. "tags": [
  2686. "用户信息"
  2687. ],
  2688. "summary": "获取用户邀请码",
  2689. "parameters": [
  2690. {
  2691. "type": "integer",
  2692. "description": "用户ID",
  2693. "name": "userID",
  2694. "in": "query",
  2695. "required": true
  2696. }
  2697. ],
  2698. "responses": {
  2699. "200": {
  2700. "description": "OK",
  2701. "schema": {
  2702. "$ref": "#/definitions/app.Response"
  2703. }
  2704. },
  2705. "500": {
  2706. "description": "Internal Server Error",
  2707. "schema": {
  2708. "$ref": "#/definitions/app.Response"
  2709. }
  2710. }
  2711. }
  2712. }
  2713. },
  2714. "/User/RemoveUserFavoriteGoods": {
  2715. "post": {
  2716. "security": [
  2717. {
  2718. "ApiKeyAuth": []
  2719. }
  2720. ],
  2721. "produces": [
  2722. "application/json"
  2723. ],
  2724. "tags": [
  2725. "用户信息"
  2726. ],
  2727. "summary": "移除用户商品收藏信息",
  2728. "parameters": [
  2729. {
  2730. "type": "integer",
  2731. "description": "用户ID",
  2732. "name": "userID",
  2733. "in": "query",
  2734. "required": true
  2735. },
  2736. {
  2737. "type": "integer",
  2738. "description": "商品ID",
  2739. "name": "goodsID",
  2740. "in": "query",
  2741. "required": true
  2742. }
  2743. ],
  2744. "responses": {
  2745. "200": {
  2746. "description": "OK",
  2747. "schema": {
  2748. "$ref": "#/definitions/app.Response"
  2749. }
  2750. },
  2751. "500": {
  2752. "description": "Internal Server Error",
  2753. "schema": {
  2754. "$ref": "#/definitions/app.Response"
  2755. }
  2756. }
  2757. }
  2758. }
  2759. },
  2760. "/WRTrade/GetAllDeliveryGoods": {
  2761. "get": {
  2762. "security": [
  2763. {
  2764. "ApiKeyAuth": []
  2765. }
  2766. ],
  2767. "produces": [
  2768. "application/json"
  2769. ],
  2770. "tags": [
  2771. "仓单贸易"
  2772. ],
  2773. "summary": "获取带仓单分类的种类信息",
  2774. "responses": {
  2775. "200": {
  2776. "description": "OK",
  2777. "schema": {
  2778. "$ref": "#/definitions/app.Response"
  2779. }
  2780. },
  2781. "500": {
  2782. "description": "Internal Server Error",
  2783. "schema": {
  2784. "$ref": "#/definitions/app.Response"
  2785. }
  2786. }
  2787. }
  2788. }
  2789. }
  2790. },
  2791. "definitions": {
  2792. "app.Response": {
  2793. "type": "object",
  2794. "properties": {
  2795. "code": {
  2796. "type": "integer"
  2797. },
  2798. "data": {
  2799. "type": "object"
  2800. },
  2801. "msg": {
  2802. "type": "string"
  2803. },
  2804. "page": {
  2805. "description": "页码",
  2806. "type": "integer"
  2807. },
  2808. "pagesize": {
  2809. "description": "每页条数",
  2810. "type": "integer"
  2811. },
  2812. "total": {
  2813. "description": "总条数",
  2814. "type": "integer"
  2815. }
  2816. }
  2817. },
  2818. "common.QueryNoticeRsp": {
  2819. "type": "object",
  2820. "required": [
  2821. "autoid"
  2822. ],
  2823. "properties": {
  2824. "auditoruserid": {
  2825. "description": "审核人",
  2826. "type": "integer"
  2827. },
  2828. "auditremark": {
  2829. "description": "审核备注",
  2830. "type": "string"
  2831. },
  2832. "audittime": {
  2833. "description": "审核日期",
  2834. "type": "string"
  2835. },
  2836. "autoid": {
  2837. "description": "自增ID",
  2838. "type": "integer"
  2839. },
  2840. "content": {
  2841. "description": "内容",
  2842. "type": "string"
  2843. },
  2844. "createtime": {
  2845. "description": "创建时间",
  2846. "type": "string"
  2847. },
  2848. "creatorid": {
  2849. "description": "建仓人",
  2850. "type": "integer"
  2851. },
  2852. "endtime": {
  2853. "description": "结束时间",
  2854. "type": "string"
  2855. },
  2856. "istop": {
  2857. "description": "是否置顶 - 0:不置顶 1:置顶",
  2858. "type": "integer"
  2859. },
  2860. "msgtype": {
  2861. "description": "消息类型 - 1:公告通知 2:系统消息",
  2862. "type": "integer"
  2863. },
  2864. "publisher": {
  2865. "description": "消息发布者",
  2866. "type": "string"
  2867. },
  2868. "readed": {
  2869. "description": "是否已读",
  2870. "type": "boolean"
  2871. },
  2872. "scheduletime": {
  2873. "description": "计划发送时间",
  2874. "type": "string"
  2875. },
  2876. "sendtype": {
  2877. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  2878. "type": "integer"
  2879. },
  2880. "sentstatus": {
  2881. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  2882. "type": "integer"
  2883. },
  2884. "title": {
  2885. "description": "标题",
  2886. "type": "string"
  2887. },
  2888. "userid": {
  2889. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  2890. "type": "integer"
  2891. }
  2892. }
  2893. },
  2894. "common.QueryProvincesAndCitiesRsp": {
  2895. "type": "object",
  2896. "properties": {
  2897. "cities": {
  2898. "description": "市",
  2899. "type": "array",
  2900. "items": {
  2901. "$ref": "#/definitions/models.Division"
  2902. }
  2903. },
  2904. "province": {
  2905. "description": "省",
  2906. "$ref": "#/definitions/models.Division"
  2907. }
  2908. }
  2909. },
  2910. "common.QueryTableDefineRsp": {
  2911. "type": "object",
  2912. "required": [
  2913. "tablekey"
  2914. ],
  2915. "properties": {
  2916. "columns": {
  2917. "description": "列头信息数组",
  2918. "type": "array",
  2919. "items": {
  2920. "$ref": "#/definitions/models.Tablecolumnconfig"
  2921. }
  2922. },
  2923. "remark": {
  2924. "description": "Remark",
  2925. "type": "string"
  2926. },
  2927. "tabelmenu": {
  2928. "description": "列表菜单",
  2929. "type": "string"
  2930. },
  2931. "tablekey": {
  2932. "description": "列表Key",
  2933. "type": "string"
  2934. },
  2935. "tablename": {
  2936. "description": "列表名称",
  2937. "type": "string"
  2938. },
  2939. "tabletype": {
  2940. "description": "列表类型 - 1:管理端 2:终端",
  2941. "type": "integer"
  2942. }
  2943. }
  2944. },
  2945. "common.QueryTraderMenuRsp": {
  2946. "type": "object",
  2947. "properties": {
  2948. "OperationMenu": {
  2949. "description": "功能菜单",
  2950. "type": "array",
  2951. "items": {
  2952. "$ref": "#/definitions/models.OperationPrimaryMenu"
  2953. }
  2954. },
  2955. "QuoteMenu": {
  2956. "description": "报价牌分类菜单",
  2957. "type": "array",
  2958. "items": {
  2959. "$ref": "#/definitions/models.QuotePrimaryMenu"
  2960. }
  2961. }
  2962. }
  2963. },
  2964. "cptrade.Cptradepositioncancel": {
  2965. "type": "object",
  2966. "required": [
  2967. "cancelid"
  2968. ],
  2969. "properties": {
  2970. "accountid": {
  2971. "description": "申请人账户ID",
  2972. "type": "integer"
  2973. },
  2974. "applystatus": {
  2975. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  2976. "type": "integer"
  2977. },
  2978. "applytime": {
  2979. "description": "申请时间",
  2980. "type": "string"
  2981. },
  2982. "cancelid": {
  2983. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  2984. "type": "integer"
  2985. },
  2986. "cancelqty": {
  2987. "description": "注销数量",
  2988. "type": "integer"
  2989. },
  2990. "createtime": {
  2991. "description": "创建时间",
  2992. "type": "string"
  2993. },
  2994. "creatorid": {
  2995. "description": "创建人ID",
  2996. "type": "integer"
  2997. },
  2998. "creatorname": {
  2999. "description": "创建人",
  3000. "type": "string"
  3001. },
  3002. "goodscode": {
  3003. "description": "订单商品代码",
  3004. "type": "string"
  3005. },
  3006. "goodsid": {
  3007. "description": "商品ID",
  3008. "type": "integer"
  3009. },
  3010. "goodsname": {
  3011. "description": "订单商品名称",
  3012. "type": "string"
  3013. },
  3014. "goodunit": {
  3015. "description": "报价单位",
  3016. "type": "string"
  3017. },
  3018. "handlestatus": {
  3019. "description": "处理状态",
  3020. "type": "integer"
  3021. },
  3022. "marketid": {
  3023. "description": "市场ID",
  3024. "type": "integer"
  3025. },
  3026. "marketname": {
  3027. "description": "市场名称",
  3028. "type": "string"
  3029. },
  3030. "tradedate": {
  3031. "description": "交易日(yyyyMMdd)",
  3032. "type": "string"
  3033. },
  3034. "userid": {
  3035. "description": "申请人ID",
  3036. "type": "integer"
  3037. }
  3038. }
  3039. },
  3040. "cptrade.Cptradepresaleapply": {
  3041. "type": "object",
  3042. "required": [
  3043. "applyid"
  3044. ],
  3045. "properties": {
  3046. "accountid": {
  3047. "description": "申请人账户ID",
  3048. "type": "integer"
  3049. },
  3050. "applyid": {
  3051. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  3052. "type": "integer"
  3053. },
  3054. "applyremark": {
  3055. "description": "申请备注",
  3056. "type": "string"
  3057. },
  3058. "applystatus": {
  3059. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  3060. "type": "integer"
  3061. },
  3062. "applytime": {
  3063. "description": "申请时间",
  3064. "type": "string"
  3065. },
  3066. "attachmenturl": {
  3067. "description": "附件地址",
  3068. "type": "string"
  3069. },
  3070. "endtime": {
  3071. "description": "预售结束时间",
  3072. "type": "string"
  3073. },
  3074. "goodscode": {
  3075. "description": "商品代码",
  3076. "type": "string"
  3077. },
  3078. "goodsid": {
  3079. "description": "商品ID",
  3080. "type": "integer"
  3081. },
  3082. "goodsname": {
  3083. "description": "商品名称",
  3084. "type": "string"
  3085. },
  3086. "goodunit": {
  3087. "description": "报价单位",
  3088. "type": "string"
  3089. },
  3090. "handlestatus": {
  3091. "description": "处理状态",
  3092. "type": "integer"
  3093. },
  3094. "marketid": {
  3095. "description": "预售市场ID",
  3096. "type": "integer"
  3097. },
  3098. "marketname": {
  3099. "description": "预售市场名称",
  3100. "type": "string"
  3101. },
  3102. "presaleqty": {
  3103. "description": "预售数量",
  3104. "type": "integer"
  3105. },
  3106. "relatedgoodscode": {
  3107. "description": "关联交易合约代码",
  3108. "type": "string"
  3109. },
  3110. "relatedgoodsid": {
  3111. "description": "关联交易合约ID",
  3112. "type": "integer"
  3113. },
  3114. "relatedgoodsname": {
  3115. "description": "关联交易合约名称",
  3116. "type": "string"
  3117. },
  3118. "starttime": {
  3119. "description": "预售开始时间",
  3120. "type": "string"
  3121. },
  3122. "tradedate": {
  3123. "description": "交易日(yyyyMMdd)",
  3124. "type": "string"
  3125. },
  3126. "trademode": {
  3127. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  3128. "type": "integer"
  3129. },
  3130. "userid": {
  3131. "description": "申请人ID",
  3132. "type": "integer"
  3133. }
  3134. }
  3135. },
  3136. "cptrade.Cptradeusergoodsdata": {
  3137. "type": "object",
  3138. "required": [
  3139. "accountid",
  3140. "goodsid"
  3141. ],
  3142. "properties": {
  3143. "EnabledQty": {
  3144. "description": "可用量",
  3145. "type": "integer"
  3146. },
  3147. "GoodsCode": {
  3148. "description": "订单商品代码",
  3149. "type": "string"
  3150. },
  3151. "GoodsName": {
  3152. "description": "订单商品名称",
  3153. "type": "string"
  3154. },
  3155. "WRStandardCode": {
  3156. "description": "仓单标准代码",
  3157. "type": "string"
  3158. },
  3159. "WRStandardName": {
  3160. "description": "仓单标准名称",
  3161. "type": "string"
  3162. },
  3163. "accountid": {
  3164. "description": "账户ID",
  3165. "type": "integer"
  3166. },
  3167. "cancelqty": {
  3168. "description": "注销量",
  3169. "type": "integer"
  3170. },
  3171. "curpresaleqty": {
  3172. "description": "当前预售量",
  3173. "type": "integer"
  3174. },
  3175. "deliveryqty": {
  3176. "description": "交割量",
  3177. "type": "integer"
  3178. },
  3179. "freezeamount": {
  3180. "description": "冻结金额",
  3181. "type": "number"
  3182. },
  3183. "goodsid": {
  3184. "description": "商品ID",
  3185. "type": "integer"
  3186. },
  3187. "goodunit": {
  3188. "description": "报价单位",
  3189. "type": "string"
  3190. },
  3191. "hasspotfreeze": {
  3192. "description": "是否有现货冻结 - 0:否 1:有",
  3193. "type": "integer"
  3194. },
  3195. "inqty": {
  3196. "description": "转入量(总数量)",
  3197. "type": "integer"
  3198. },
  3199. "marketid": {
  3200. "description": "市场ID",
  3201. "type": "integer"
  3202. },
  3203. "presaledamount": {
  3204. "description": "已预售总金额",
  3205. "type": "integer"
  3206. },
  3207. "presaledqty": {
  3208. "description": "已预售量",
  3209. "type": "integer"
  3210. },
  3211. "userid": {
  3212. "description": "用户ID",
  3213. "type": "integer"
  3214. },
  3215. "wrstandardid": {
  3216. "description": "仓单标准ID",
  3217. "type": "integer"
  3218. }
  3219. }
  3220. },
  3221. "cptrade.QueryCPTradeMyBidRsp": {
  3222. "type": "object",
  3223. "required": [
  3224. "accountid",
  3225. "goodsid",
  3226. "marketid",
  3227. "orderid",
  3228. "orderqty",
  3229. "ordertime",
  3230. "tradeprice",
  3231. "tradeqty"
  3232. ],
  3233. "properties": {
  3234. "accountid": {
  3235. "description": "账户ID[报价币种]",
  3236. "type": "integer"
  3237. },
  3238. "goodsid": {
  3239. "description": "商品ID",
  3240. "type": "integer"
  3241. },
  3242. "goodunit": {
  3243. "description": "报价单位",
  3244. "type": "string"
  3245. },
  3246. "marketid": {
  3247. "description": "市场ID",
  3248. "type": "integer"
  3249. },
  3250. "orderid": {
  3251. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  3252. "type": "integer"
  3253. },
  3254. "orderprice": {
  3255. "description": "委托价格",
  3256. "type": "number"
  3257. },
  3258. "orderqty": {
  3259. "description": "委托数量",
  3260. "type": "integer"
  3261. },
  3262. "ordertime": {
  3263. "description": "委托时间",
  3264. "type": "string"
  3265. },
  3266. "ordertotalprice": {
  3267. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  3268. "type": "number"
  3269. },
  3270. "ordertotalweight": {
  3271. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  3272. "type": "integer"
  3273. },
  3274. "totaltotalprice": {
  3275. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  3276. "type": "number"
  3277. },
  3278. "tradeprice": {
  3279. "description": "成交价格",
  3280. "type": "number"
  3281. },
  3282. "tradeqty": {
  3283. "description": "成交数量",
  3284. "type": "integer"
  3285. }
  3286. }
  3287. },
  3288. "cptrade.QueryCPTradeOrderDetailRsq": {
  3289. "type": "object",
  3290. "required": [
  3291. "accountid",
  3292. "buildtype",
  3293. "buyorsell",
  3294. "goodsid",
  3295. "marketid",
  3296. "memberuserid",
  3297. "operatetype",
  3298. "orderqty",
  3299. "ordertime",
  3300. "pricemode",
  3301. "strorderid",
  3302. "tradedate",
  3303. "validtype"
  3304. ],
  3305. "properties": {
  3306. "accountid": {
  3307. "description": "账户ID[报价币种]",
  3308. "type": "integer"
  3309. },
  3310. "buildtype": {
  3311. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  3312. "type": "integer"
  3313. },
  3314. "buyorsell": {
  3315. "description": "买卖 - 0:买 1:卖",
  3316. "type": "integer"
  3317. },
  3318. "cancelorderid": {
  3319. "description": "撤单单号(撤单时填写)",
  3320. "type": "integer"
  3321. },
  3322. "cancelqty": {
  3323. "description": "撤单数量",
  3324. "type": "integer"
  3325. },
  3326. "clientordertime": {
  3327. "description": "客户端委托时间",
  3328. "type": "string"
  3329. },
  3330. "clientticket": {
  3331. "description": "客户端流水号",
  3332. "type": "string"
  3333. },
  3334. "clienttype": {
  3335. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  3336. "type": "integer"
  3337. },
  3338. "closeexchagechargevalue": {
  3339. "description": "平仓交易所手续费设置值",
  3340. "type": "number"
  3341. },
  3342. "closefeealgorithm": {
  3343. "description": "平仓手续费收取方式 1:比率 2:固定",
  3344. "type": "integer"
  3345. },
  3346. "closefreezecharge": {
  3347. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  3348. "type": "number"
  3349. },
  3350. "closememberchargevalue": {
  3351. "description": "平仓会员手续费设置值",
  3352. "type": "number"
  3353. },
  3354. "closeqty": {
  3355. "description": "平仓数量(先建后平操作 需要记录)",
  3356. "type": "integer"
  3357. },
  3358. "closetradeqty": {
  3359. "description": "平仓成交数量(先建后平操作,需要记录)",
  3360. "type": "integer"
  3361. },
  3362. "closeunfreezecharge": {
  3363. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  3364. "type": "number"
  3365. },
  3366. "delistingtype": {
  3367. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  3368. "type": "integer"
  3369. },
  3370. "freezecharge": {
  3371. "description": "冻结手续费",
  3372. "type": "number"
  3373. },
  3374. "freezemargin": {
  3375. "description": "冻结保证金(冻结交易金额)",
  3376. "type": "number"
  3377. },
  3378. "gcaccountid": {
  3379. "description": "账户ID[合约币种]",
  3380. "type": "integer"
  3381. },
  3382. "goodsid": {
  3383. "description": "商品ID",
  3384. "type": "integer"
  3385. },
  3386. "isconfirmexercise": {
  3387. "description": "是否确认行权- 0:否 1:是",
  3388. "type": "integer"
  3389. },
  3390. "ispreexercise": {
  3391. "description": "是否预申报- 0:否 1:是",
  3392. "type": "integer"
  3393. },
  3394. "listingselecttype": {
  3395. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  3396. "type": "integer"
  3397. },
  3398. "marginalgorithm": {
  3399. "description": "保证金收取方式 1:比率 2:固定",
  3400. "type": "integer"
  3401. },
  3402. "marginvalue": {
  3403. "description": "即市保证金设置值",
  3404. "type": "number"
  3405. },
  3406. "marketid": {
  3407. "description": "市场ID",
  3408. "type": "integer"
  3409. },
  3410. "marketmaxsub": {
  3411. "description": "市价最大偏移范围",
  3412. "type": "number"
  3413. },
  3414. "memberuserid": {
  3415. "description": "所属会员UserID",
  3416. "type": "integer"
  3417. },
  3418. "openexchagechargevalue": {
  3419. "description": "建仓交易所手续费设置值",
  3420. "type": "number"
  3421. },
  3422. "openfeealgorithm": {
  3423. "description": "建仓手续费收取方式 1:比率 2:固定",
  3424. "type": "integer"
  3425. },
  3426. "openfreezecharge": {
  3427. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  3428. "type": "number"
  3429. },
  3430. "openmemberchargevalue": {
  3431. "description": "建仓会员手续费设置值",
  3432. "type": "number"
  3433. },
  3434. "openqty": {
  3435. "description": "开仓数量(先建后平操作,需要记录)",
  3436. "type": "integer"
  3437. },
  3438. "opentradeqty": {
  3439. "description": "开仓成交数量(先建后平操作,需要记录)",
  3440. "type": "integer"
  3441. },
  3442. "openunfreezecharge": {
  3443. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  3444. "type": "number"
  3445. },
  3446. "operatetype": {
  3447. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  3448. "type": "integer"
  3449. },
  3450. "operatorid": {
  3451. "description": "登录账号(LoginID)",
  3452. "type": "integer"
  3453. },
  3454. "optiontype": {
  3455. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  3456. "type": "integer"
  3457. },
  3458. "orderprice": {
  3459. "description": "委托价格",
  3460. "type": "number"
  3461. },
  3462. "orderqty": {
  3463. "description": "委托数量",
  3464. "type": "integer"
  3465. },
  3466. "ordersrc": {
  3467. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  3468. "type": "integer"
  3469. },
  3470. "orderstatus": {
  3471. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  3472. "type": "integer"
  3473. },
  3474. "ordertime": {
  3475. "description": "委托时间",
  3476. "type": "string"
  3477. },
  3478. "preexerciseprice": {
  3479. "description": "预申报价格",
  3480. "type": "number"
  3481. },
  3482. "premium": {
  3483. "description": "权利金",
  3484. "type": "number"
  3485. },
  3486. "preorderid": {
  3487. "description": "关联预埋单号(止盈止损单时填写)",
  3488. "type": "integer"
  3489. },
  3490. "pricemode": {
  3491. "description": "取价方式 - 1:市价 2: 限价",
  3492. "type": "integer"
  3493. },
  3494. "quoteid": {
  3495. "description": "报价单ID",
  3496. "type": "integer"
  3497. },
  3498. "relatedid": {
  3499. "description": "关联单号(交割单)",
  3500. "type": "integer"
  3501. },
  3502. "retcode": {
  3503. "description": "错误代码",
  3504. "type": "integer"
  3505. },
  3506. "sessionid": {
  3507. "description": "会话ID",
  3508. "type": "integer"
  3509. },
  3510. "strorderid": {
  3511. "description": "委托单号",
  3512. "type": "string"
  3513. },
  3514. "tradedate": {
  3515. "description": "交易日(yyyyMMdd)",
  3516. "type": "string"
  3517. },
  3518. "tradeproperty": {
  3519. "description": "交易属性",
  3520. "type": "integer"
  3521. },
  3522. "tradeqty": {
  3523. "description": "成交数量",
  3524. "type": "integer"
  3525. },
  3526. "unfreezecharge": {
  3527. "description": "解冻手续费",
  3528. "type": "number"
  3529. },
  3530. "unfreezemargin": {
  3531. "description": "解冻保证金",
  3532. "type": "number"
  3533. },
  3534. "updatetime": {
  3535. "description": "更新时间",
  3536. "type": "string"
  3537. },
  3538. "uuid": {
  3539. "description": "发起端唯一id",
  3540. "type": "string"
  3541. },
  3542. "validtime": {
  3543. "description": "有效期限",
  3544. "type": "string"
  3545. },
  3546. "validtype": {
  3547. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  3548. "type": "integer"
  3549. },
  3550. "volumetype": {
  3551. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  3552. "type": "integer"
  3553. }
  3554. }
  3555. },
  3556. "cptrade.QueryMyCPTradeGoodsRsp": {
  3557. "type": "object",
  3558. "required": [
  3559. "goodscode",
  3560. "goodsid",
  3561. "goodsname",
  3562. "marketid",
  3563. "relatedgoodscode",
  3564. "relatedgoodsname"
  3565. ],
  3566. "properties": {
  3567. "accountid": {
  3568. "description": "卖方账户ID",
  3569. "type": "integer"
  3570. },
  3571. "agreeunit": {
  3572. "description": "合约单位",
  3573. "type": "number"
  3574. },
  3575. "applyid": {
  3576. "description": "关联申请ID",
  3577. "type": "integer"
  3578. },
  3579. "attachmenturl": {
  3580. "description": "附件地址",
  3581. "type": "string"
  3582. },
  3583. "createtime": {
  3584. "description": "创建时间",
  3585. "type": "string"
  3586. },
  3587. "currencyid": {
  3588. "description": "报价货币ID",
  3589. "type": "integer"
  3590. },
  3591. "decimalplace": {
  3592. "description": "报价小数位",
  3593. "type": "integer"
  3594. },
  3595. "endtime": {
  3596. "description": "预售结束时间",
  3597. "type": "string"
  3598. },
  3599. "floorprice": {
  3600. "description": "底价[大宗式竞拍]",
  3601. "type": "number"
  3602. },
  3603. "goodscode": {
  3604. "description": "商品代码(预售)",
  3605. "type": "string"
  3606. },
  3607. "goodsdetail": {
  3608. "description": "详情[大宗]",
  3609. "type": "string"
  3610. },
  3611. "goodsid": {
  3612. "description": "商品ID(自增ID SEQ_GOODS)",
  3613. "type": "integer"
  3614. },
  3615. "goodsname": {
  3616. "description": "商品名称(预售)",
  3617. "type": "string"
  3618. },
  3619. "goodunit": {
  3620. "description": "报价单位",
  3621. "type": "string"
  3622. },
  3623. "goodunitid": {
  3624. "description": "报价单位ID",
  3625. "type": "integer"
  3626. },
  3627. "marketid": {
  3628. "description": "所属市场ID",
  3629. "type": "integer"
  3630. },
  3631. "marketname": {
  3632. "description": "预售市场名称",
  3633. "type": "string"
  3634. },
  3635. "presaledamount": {
  3636. "description": "已预售总金额(预售结束时更新)",
  3637. "type": "number"
  3638. },
  3639. "presaledqty": {
  3640. "description": "已预售量(预售结束时更新)",
  3641. "type": "integer"
  3642. },
  3643. "presalemode": {
  3644. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  3645. "type": "integer"
  3646. },
  3647. "presaleqty": {
  3648. "description": "预售数量",
  3649. "type": "integer"
  3650. },
  3651. "refprice": {
  3652. "description": "参考价格[一口价]",
  3653. "type": "number"
  3654. },
  3655. "relatedgoodscode": {
  3656. "description": "商品代码(订单)",
  3657. "type": "string"
  3658. },
  3659. "relatedgoodsid": {
  3660. "description": "关联交易合约ID",
  3661. "type": "integer"
  3662. },
  3663. "relatedgoodsname": {
  3664. "description": "商品名称(订单)",
  3665. "type": "string"
  3666. },
  3667. "relatedmarketid": {
  3668. "description": "关联交易合约市场ID",
  3669. "type": "integer"
  3670. },
  3671. "sellstatus": {
  3672. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  3673. "type": "integer"
  3674. },
  3675. "startprice": {
  3676. "description": "起拍价[大宗式竞拍]",
  3677. "type": "number"
  3678. },
  3679. "starttime": {
  3680. "description": "预售开始时间",
  3681. "type": "string"
  3682. },
  3683. "tradedate": {
  3684. "description": "交易日(yyyyMMdd)",
  3685. "type": "string"
  3686. },
  3687. "tradeprice": {
  3688. "description": "成交价[大宗]",
  3689. "type": "number"
  3690. },
  3691. "userid": {
  3692. "description": "卖方用户ID",
  3693. "type": "integer"
  3694. }
  3695. }
  3696. },
  3697. "cptrade.QueryPresaleGoodsExRsp": {
  3698. "type": "object",
  3699. "required": [
  3700. "goodsid"
  3701. ],
  3702. "properties": {
  3703. "attachmenturl": {
  3704. "description": "附件地址",
  3705. "type": "string"
  3706. },
  3707. "createtime": {
  3708. "description": "创建时间",
  3709. "type": "string"
  3710. },
  3711. "endtime": {
  3712. "description": "预售结束时间",
  3713. "type": "string"
  3714. },
  3715. "floorprice": {
  3716. "description": "底价[大宗式竞拍]",
  3717. "type": "number"
  3718. },
  3719. "goodsdetail": {
  3720. "description": "详情[大宗]",
  3721. "type": "string"
  3722. },
  3723. "goodsid": {
  3724. "description": "商品ID(预售)",
  3725. "type": "integer"
  3726. },
  3727. "goodunit": {
  3728. "description": "报价单位",
  3729. "type": "string"
  3730. },
  3731. "marketid": {
  3732. "description": "预售市场ID - 根据预售模式选择市场",
  3733. "type": "integer"
  3734. },
  3735. "presaledamount": {
  3736. "description": "已预售总金额(预售结束时更新)",
  3737. "type": "number"
  3738. },
  3739. "presaledqty": {
  3740. "description": "已预售量(预售结束时更新)",
  3741. "type": "integer"
  3742. },
  3743. "presalemode": {
  3744. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  3745. "type": "integer"
  3746. },
  3747. "presaleqty": {
  3748. "description": "预售数量",
  3749. "type": "integer"
  3750. },
  3751. "refprice": {
  3752. "description": "参考价格[一口价]",
  3753. "type": "number"
  3754. },
  3755. "relatedgoodsid": {
  3756. "description": "关联交易合约ID",
  3757. "type": "integer"
  3758. },
  3759. "relatedmarketid": {
  3760. "description": "关联交易合约市场ID",
  3761. "type": "integer"
  3762. },
  3763. "sellstatus": {
  3764. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  3765. "type": "integer"
  3766. },
  3767. "startprice": {
  3768. "description": "起拍价[大宗式竞拍]",
  3769. "type": "number"
  3770. },
  3771. "starttime": {
  3772. "description": "预售开始时间",
  3773. "type": "string"
  3774. },
  3775. "tradedate": {
  3776. "description": "交易日(yyyyMMdd)",
  3777. "type": "string"
  3778. },
  3779. "tradeprice": {
  3780. "description": "成交价[大宗]",
  3781. "type": "number"
  3782. }
  3783. }
  3784. },
  3785. "delivery.QueryDeliveryRelationRsp": {
  3786. "type": "object",
  3787. "required": [
  3788. "begindate",
  3789. "enddate",
  3790. "goodsid",
  3791. "mindeliveryqty",
  3792. "xdeliveryratio"
  3793. ],
  3794. "properties": {
  3795. "begindate": {
  3796. "description": "起始日期(yyyyMMdd)",
  3797. "type": "string"
  3798. },
  3799. "buytemplateid": {
  3800. "description": "买履约计划模板ID",
  3801. "type": "integer"
  3802. },
  3803. "deliverygoodscode": {
  3804. "description": "品种代码",
  3805. "type": "string"
  3806. },
  3807. "deliverygoodsid": {
  3808. "description": "交割商品",
  3809. "type": "integer"
  3810. },
  3811. "deliverygoodsname": {
  3812. "description": "品种名称",
  3813. "type": "string"
  3814. },
  3815. "deliverymode": {
  3816. "description": "交割方式 - 1:点选式 2:申报式",
  3817. "type": "integer"
  3818. },
  3819. "deliverypricerule": {
  3820. "description": "交割价规则- 1:行情价 2:建仓价",
  3821. "type": "integer"
  3822. },
  3823. "deliverytype": {
  3824. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  3825. "type": "integer"
  3826. },
  3827. "enddate": {
  3828. "description": "结束日期(yyyyMMdd)",
  3829. "type": "string"
  3830. },
  3831. "goodscode": {
  3832. "description": "商品代码",
  3833. "type": "string"
  3834. },
  3835. "goodsid": {
  3836. "description": "交易合约ID",
  3837. "type": "integer"
  3838. },
  3839. "goodsname": {
  3840. "description": "商品名称",
  3841. "type": "string"
  3842. },
  3843. "marketid": {
  3844. "description": "市场ID",
  3845. "type": "integer"
  3846. },
  3847. "mindeliveryqty": {
  3848. "description": "最小交割系数(K)",
  3849. "type": "integer"
  3850. },
  3851. "p2deliveryprice": {
  3852. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  3853. "type": "number"
  3854. },
  3855. "p2deliveryratio": {
  3856. "description": "P2合约系数(p)",
  3857. "type": "integer"
  3858. },
  3859. "p2goodsid": {
  3860. "description": "P2合约ID",
  3861. "type": "integer"
  3862. },
  3863. "p2pricemode": {
  3864. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  3865. "type": "integer"
  3866. },
  3867. "pdeliveryprice": {
  3868. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  3869. "type": "number"
  3870. },
  3871. "pdeliveryratio": {
  3872. "description": "P合约系数(n)",
  3873. "type": "integer"
  3874. },
  3875. "pgoodsid": {
  3876. "description": "P合约ID",
  3877. "type": "integer"
  3878. },
  3879. "ppricemode": {
  3880. "description": "P合约价格方式 - 1:商品价 2:固定值",
  3881. "type": "integer"
  3882. },
  3883. "rratio": {
  3884. "description": "兑换系数(R)",
  3885. "type": "integer"
  3886. },
  3887. "rratio1": {
  3888. "description": "兑换系数(交易合约)(R1)",
  3889. "type": "integer"
  3890. },
  3891. "rratio2": {
  3892. "description": "兑换系数(仓单标准)(R2)",
  3893. "type": "integer"
  3894. },
  3895. "selltemplateid": {
  3896. "description": "卖履约计划模板ID",
  3897. "type": "integer"
  3898. },
  3899. "wrstandardid": {
  3900. "description": "仓单标准ID",
  3901. "type": "integer"
  3902. },
  3903. "xdeliveryratio": {
  3904. "description": "交易合约系数(m)",
  3905. "type": "integer"
  3906. }
  3907. }
  3908. },
  3909. "erms2.QueryArbitrageStrategyRsp": {
  3910. "type": "object",
  3911. "required": [
  3912. "asapplyid"
  3913. ],
  3914. "properties": {
  3915. "applybasis": {
  3916. "description": "申请基差",
  3917. "type": "number"
  3918. },
  3919. "asapplyid": {
  3920. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  3921. "type": "string"
  3922. },
  3923. "asname": {
  3924. "description": "策略名称",
  3925. "type": "string"
  3926. },
  3927. "asno": {
  3928. "description": "策略编号",
  3929. "type": "string"
  3930. },
  3931. "basischangepl": {
  3932. "description": "基差变动损益[结算更新]",
  3933. "type": "number"
  3934. },
  3935. "biztype": {
  3936. "description": "业务类型 - 1:正向套利 -1:反向套利",
  3937. "type": "integer"
  3938. },
  3939. "closetradedate": {
  3940. "description": "完结交易日(yyyyMMdd)",
  3941. "type": "string"
  3942. },
  3943. "curbasis": {
  3944. "description": "当前基差[结算更新]",
  3945. "type": "number"
  3946. },
  3947. "deliverygoodsid": {
  3948. "description": "现货品种ID",
  3949. "type": "integer"
  3950. },
  3951. "futureavgprice": {
  3952. "description": "期货建仓均价",
  3953. "type": "number"
  3954. },
  3955. "futurecloseamount": {
  3956. "description": "期货平仓金额",
  3957. "type": "number"
  3958. },
  3959. "futurecloseqty": {
  3960. "description": "期货平仓数量",
  3961. "type": "number"
  3962. },
  3963. "futureopenamount": {
  3964. "description": "期货开仓金额",
  3965. "type": "number"
  3966. },
  3967. "futureopenqty": {
  3968. "description": "期货开仓数量",
  3969. "type": "number"
  3970. },
  3971. "futurepl": {
  3972. "description": "期货总盈亏[结算更新]",
  3973. "type": "number"
  3974. },
  3975. "futureqty": {
  3976. "description": "期货持仓数量",
  3977. "type": "number"
  3978. },
  3979. "futurequote": {
  3980. "description": "期货额度",
  3981. "type": "number"
  3982. },
  3983. "goodsgroupid": {
  3984. "description": "期货品种ID",
  3985. "type": "integer"
  3986. },
  3987. "marketid": {
  3988. "description": "市场ID",
  3989. "type": "integer"
  3990. },
  3991. "netexposure": {
  3992. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  3993. "type": "number"
  3994. },
  3995. "netexposurepl": {
  3996. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  3997. "type": "number"
  3998. },
  3999. "netexposurerate": {
  4000. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  4001. "type": "number"
  4002. },
  4003. "openbasis": {
  4004. "description": "建仓基差",
  4005. "type": "number"
  4006. },
  4007. "pricedspotqty": {
  4008. "description": "已定价现货数量",
  4009. "type": "number"
  4010. },
  4011. "pricedspotqtynotax": {
  4012. "description": "已定价现货不含税数量",
  4013. "type": "number"
  4014. },
  4015. "remark": {
  4016. "description": "备注",
  4017. "type": "string"
  4018. },
  4019. "spotavgprice": {
  4020. "description": "现货均价",
  4021. "type": "number"
  4022. },
  4023. "spotbuyamount": {
  4024. "description": "现货采购金额",
  4025. "type": "number"
  4026. },
  4027. "spotbuyqty": {
  4028. "description": "现货采购数量",
  4029. "type": "number"
  4030. },
  4031. "spotpl": {
  4032. "description": "现货总盈亏[结算更新]",
  4033. "type": "number"
  4034. },
  4035. "spotquota": {
  4036. "description": "现货额度",
  4037. "type": "number"
  4038. },
  4039. "spotsellamount": {
  4040. "description": "现货销售金额",
  4041. "type": "number"
  4042. },
  4043. "spotsellqty": {
  4044. "description": "现货销售数量",
  4045. "type": "number"
  4046. },
  4047. "spotusedquota": {
  4048. "description": "现货占用资金",
  4049. "type": "number"
  4050. },
  4051. "strategystatus": {
  4052. "description": "策略状态 - 0:未结束 1:已结束",
  4053. "type": "integer"
  4054. },
  4055. "totalpl": {
  4056. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  4057. "type": "number"
  4058. },
  4059. "tradedate": {
  4060. "description": "交易日(yyyyMMdd)",
  4061. "type": "string"
  4062. },
  4063. "updatetime": {
  4064. "description": "更新时间",
  4065. "type": "string"
  4066. },
  4067. "usedquota": {
  4068. "description": "已占用资金",
  4069. "type": "number"
  4070. },
  4071. "userid": {
  4072. "description": "所属机构",
  4073. "type": "integer"
  4074. }
  4075. }
  4076. },
  4077. "erms2.QueryInnerTradeDetailRsp": {
  4078. "type": "object",
  4079. "required": [
  4080. "asapplyid",
  4081. "buyorsell",
  4082. "goodscode",
  4083. "goodsgroupid",
  4084. "goodsgroupname",
  4085. "goodsname",
  4086. "tradeid"
  4087. ],
  4088. "properties": {
  4089. "accountid": {
  4090. "description": "账号ID",
  4091. "type": "integer"
  4092. },
  4093. "agreeunit": {
  4094. "description": "合约单位",
  4095. "type": "number"
  4096. },
  4097. "asapplyid": {
  4098. "description": "策略申请ID",
  4099. "type": "integer"
  4100. },
  4101. "asname": {
  4102. "description": "策略名称",
  4103. "type": "string"
  4104. },
  4105. "asno": {
  4106. "description": "策略编号",
  4107. "type": "string"
  4108. },
  4109. "buyorsell": {
  4110. "description": "方向 - 0:买 1:卖",
  4111. "type": "integer"
  4112. },
  4113. "channelbuildtype": {
  4114. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  4115. "type": "integer"
  4116. },
  4117. "closetype": {
  4118. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  4119. "type": "integer"
  4120. },
  4121. "decimalplace": {
  4122. "description": "报价小数位",
  4123. "type": "integer"
  4124. },
  4125. "detailtype": {
  4126. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  4127. "type": "integer"
  4128. },
  4129. "exexchangecode": {
  4130. "description": "外部交易所代码",
  4131. "type": "string"
  4132. },
  4133. "exexchangename": {
  4134. "description": "外部交易所名称",
  4135. "type": "string"
  4136. },
  4137. "goodscode": {
  4138. "description": "商品代码(合约)",
  4139. "type": "string"
  4140. },
  4141. "goodsgroupid": {
  4142. "description": "商品组ID(品种ID)",
  4143. "type": "integer"
  4144. },
  4145. "goodsgroupname": {
  4146. "description": "商品组名称(品种)",
  4147. "type": "string"
  4148. },
  4149. "goodsid": {
  4150. "description": "商品ID",
  4151. "type": "integer"
  4152. },
  4153. "goodsname": {
  4154. "description": "商品名称(合约)",
  4155. "type": "string"
  4156. },
  4157. "goodunit": {
  4158. "description": "报价单位",
  4159. "type": "string"
  4160. },
  4161. "marketid": {
  4162. "description": "市场ID",
  4163. "type": "integer"
  4164. },
  4165. "orderid": {
  4166. "description": "委托单号",
  4167. "type": "string"
  4168. },
  4169. "outgoodscode": {
  4170. "description": "商品代码(外部)",
  4171. "type": "string"
  4172. },
  4173. "relatedouttradeid": {
  4174. "description": "关联外部成交单ID",
  4175. "type": "string"
  4176. },
  4177. "remark": {
  4178. "description": "备注",
  4179. "type": "string"
  4180. },
  4181. "spotcontractid": {
  4182. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  4183. "type": "integer"
  4184. },
  4185. "spotcontractno": {
  4186. "description": "现货合同编号",
  4187. "type": "string"
  4188. },
  4189. "tradeid": {
  4190. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4191. "type": "string"
  4192. },
  4193. "tradeprice": {
  4194. "description": "成交价格",
  4195. "type": "number"
  4196. },
  4197. "tradeqty": {
  4198. "description": "成交数量",
  4199. "type": "integer"
  4200. },
  4201. "tradetime": {
  4202. "description": "成交时间",
  4203. "type": "string"
  4204. },
  4205. "updatetime": {
  4206. "description": "更新时间",
  4207. "type": "string"
  4208. }
  4209. }
  4210. },
  4211. "erms2.QuerySpotContractRsp": {
  4212. "type": "object",
  4213. "required": [
  4214. "spotcontractid"
  4215. ],
  4216. "properties": {
  4217. "accountid": {
  4218. "description": "资金账户ID",
  4219. "type": "integer"
  4220. },
  4221. "areauserid": {
  4222. "description": "所属机构",
  4223. "type": "integer"
  4224. },
  4225. "closedate": {
  4226. "description": "终止日期",
  4227. "type": "string"
  4228. },
  4229. "closeremark": {
  4230. "description": "结束备注",
  4231. "type": "string"
  4232. },
  4233. "closetradedate": {
  4234. "description": "完结交易日(yyyyMMdd)",
  4235. "type": "string"
  4236. },
  4237. "closetype": {
  4238. "description": "终止类型 - 1:违约 2:提前终止",
  4239. "type": "integer"
  4240. },
  4241. "contractamount": {
  4242. "description": "合同金额",
  4243. "type": "number"
  4244. },
  4245. "contractattachment": {
  4246. "description": "合同附件",
  4247. "type": "string"
  4248. },
  4249. "contractno": {
  4250. "description": "现货合同编号",
  4251. "type": "string"
  4252. },
  4253. "contractqty": {
  4254. "description": "合同数量(数值) (用于计算)",
  4255. "type": "number"
  4256. },
  4257. "contractqtychar": {
  4258. "description": "合同数量\\已订价数量 (用于显示)",
  4259. "type": "string"
  4260. },
  4261. "contractstatus": {
  4262. "description": "合同状态 - 0:未结束 1:已结束",
  4263. "type": "integer"
  4264. },
  4265. "contracttype": {
  4266. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  4267. "type": "integer"
  4268. },
  4269. "customeraccountid": {
  4270. "description": "客户资金账户ID",
  4271. "type": "integer"
  4272. },
  4273. "customeruserid": {
  4274. "description": "客户ID",
  4275. "type": "integer"
  4276. },
  4277. "deliverygoodsdesc": {
  4278. "description": "品种说明",
  4279. "type": "string"
  4280. },
  4281. "deliverygoodsid": {
  4282. "description": "现货品种ID",
  4283. "type": "integer"
  4284. },
  4285. "handlestatus": {
  4286. "description": "处理状态",
  4287. "type": "integer"
  4288. },
  4289. "invoiceatt": {
  4290. "description": "发票附件",
  4291. "type": "string"
  4292. },
  4293. "invoicedatetime": {
  4294. "description": "开收票更新时间",
  4295. "type": "string"
  4296. },
  4297. "invoiceopentime": {
  4298. "description": "开票时间",
  4299. "type": "string"
  4300. },
  4301. "invoiceremark": {
  4302. "description": "发票备注",
  4303. "type": "string"
  4304. },
  4305. "invoicestatus": {
  4306. "description": "开收票状态 - 0:未开票 1:已开票",
  4307. "type": "integer"
  4308. },
  4309. "lastdate": {
  4310. "description": "交货时间",
  4311. "type": "string"
  4312. },
  4313. "marketid": {
  4314. "description": "市场ID",
  4315. "type": "integer"
  4316. },
  4317. "paydatetime": {
  4318. "description": "收付款更新时间",
  4319. "type": "string"
  4320. },
  4321. "payremark": {
  4322. "description": "收付款备注",
  4323. "type": "string"
  4324. },
  4325. "paystatus": {
  4326. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  4327. "type": "integer"
  4328. },
  4329. "positionqty": {
  4330. "description": "头寸数量 - 合同数量去小数部分",
  4331. "type": "integer"
  4332. },
  4333. "producttype": {
  4334. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  4335. "type": "integer"
  4336. },
  4337. "relatedqty": {
  4338. "description": "已关联数量",
  4339. "type": "number"
  4340. },
  4341. "relatedstatus": {
  4342. "description": "关联完结状态 - 0:未结束 1:已结束",
  4343. "type": "integer"
  4344. },
  4345. "remark": {
  4346. "description": "备注",
  4347. "type": "string"
  4348. },
  4349. "signdate": {
  4350. "description": "签订日期",
  4351. "type": "string"
  4352. },
  4353. "spotcontractid": {
  4354. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  4355. "type": "string"
  4356. },
  4357. "spotdatetime": {
  4358. "description": "收发货更新时间",
  4359. "type": "string"
  4360. },
  4361. "spotprice": {
  4362. "description": "价格",
  4363. "type": "number"
  4364. },
  4365. "spotremark": {
  4366. "description": "收发货备注",
  4367. "type": "string"
  4368. },
  4369. "spotstatus": {
  4370. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  4371. "type": "integer"
  4372. },
  4373. "tradedate": {
  4374. "description": "交易日(yyyyMMdd)",
  4375. "type": "string"
  4376. },
  4377. "userid": {
  4378. "description": "业务员用户ID",
  4379. "type": "integer"
  4380. },
  4381. "warehouseid": {
  4382. "description": "仓库ID",
  4383. "type": "integer"
  4384. },
  4385. "wrfactortypeid": {
  4386. "description": "仓单要素类型ID",
  4387. "type": "integer"
  4388. },
  4389. "wrstandardid": {
  4390. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  4391. "type": "integer"
  4392. }
  4393. }
  4394. },
  4395. "erms3.AddSpotContractApplyReq": {
  4396. "type": "object",
  4397. "required": [
  4398. "accountid",
  4399. "areauserid",
  4400. "contractno",
  4401. "contracttype",
  4402. "customeraccountid",
  4403. "customeruserid",
  4404. "details",
  4405. "lastdate",
  4406. "marketid",
  4407. "orimargin",
  4408. "orimarginpayer",
  4409. "signdate"
  4410. ],
  4411. "properties": {
  4412. "accountid": {
  4413. "description": "资金账户ID",
  4414. "type": "integer"
  4415. },
  4416. "areauserid": {
  4417. "description": "所属机构",
  4418. "type": "integer"
  4419. },
  4420. "contractattachment": {
  4421. "description": "合同附件",
  4422. "type": "string"
  4423. },
  4424. "contractno": {
  4425. "description": "现货合同编号",
  4426. "type": "string"
  4427. },
  4428. "contracttype": {
  4429. "description": "现货合同类型 - 1:采购 -1:销售",
  4430. "type": "integer"
  4431. },
  4432. "creatorid": {
  4433. "description": "申请人",
  4434. "type": "integer"
  4435. },
  4436. "customeraccountid": {
  4437. "description": "客户资金账户ID",
  4438. "type": "integer"
  4439. },
  4440. "customeruserid": {
  4441. "description": "客户ID",
  4442. "type": "integer"
  4443. },
  4444. "details": {
  4445. "description": "明细",
  4446. "type": "array",
  4447. "items": {
  4448. "$ref": "#/definitions/erms3.SoptContractDetail"
  4449. }
  4450. },
  4451. "lastdate": {
  4452. "description": "交货时间",
  4453. "type": "string"
  4454. },
  4455. "marketid": {
  4456. "description": "市场ID",
  4457. "type": "integer"
  4458. },
  4459. "orimargin": {
  4460. "description": "初始保证金",
  4461. "type": "number"
  4462. },
  4463. "orimarginpayer": {
  4464. "description": "初始保证金支付方 -1:买方 2:卖方",
  4465. "type": "integer"
  4466. },
  4467. "remark": {
  4468. "description": "备注",
  4469. "type": "string"
  4470. },
  4471. "signdate": {
  4472. "description": "签订日期",
  4473. "type": "string"
  4474. }
  4475. }
  4476. },
  4477. "erms3.AddSpotContractApplyRsp": {
  4478. "type": "object",
  4479. "required": [
  4480. "contractno"
  4481. ],
  4482. "properties": {
  4483. "contractno": {
  4484. "description": "现货合同编号",
  4485. "type": "string"
  4486. },
  4487. "spotcontractid": {
  4488. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  4489. "type": "integer"
  4490. }
  4491. }
  4492. },
  4493. "erms3.CustomerInfo": {
  4494. "type": "object",
  4495. "required": [
  4496. "userid"
  4497. ],
  4498. "properties": {
  4499. "accountids": {
  4500. "description": "资金账户ID列表",
  4501. "type": "array",
  4502. "items": {
  4503. "type": "integer"
  4504. }
  4505. },
  4506. "customername": {
  4507. "description": "名称(企业名称)",
  4508. "type": "string"
  4509. },
  4510. "mobile": {
  4511. "description": "手机号码",
  4512. "type": "string"
  4513. },
  4514. "userid": {
  4515. "description": "用户ID",
  4516. "type": "integer"
  4517. }
  4518. }
  4519. },
  4520. "erms3.QuerySpotContractAppleFormRsp": {
  4521. "type": "object",
  4522. "properties": {
  4523. "oppositeusers": {
  4524. "description": "对方账号列表",
  4525. "type": "array",
  4526. "items": {
  4527. "$ref": "#/definitions/erms3.CustomerInfo"
  4528. }
  4529. },
  4530. "ouruser": {
  4531. "description": "我方账号",
  4532. "$ref": "#/definitions/erms3.CustomerInfo"
  4533. },
  4534. "warehouseinfos": {
  4535. "description": "仓库信息列表",
  4536. "type": "array",
  4537. "items": {
  4538. "$ref": "#/definitions/models.Warehouseinfo"
  4539. }
  4540. },
  4541. "wrstandards": {
  4542. "description": "仓单标准列表",
  4543. "type": "array",
  4544. "items": {
  4545. "$ref": "#/definitions/models.Wrstandard"
  4546. }
  4547. }
  4548. }
  4549. },
  4550. "erms3.SoptContractDetail": {
  4551. "type": "object",
  4552. "required": [
  4553. "deliverygoodsid",
  4554. "producttype",
  4555. "unitname",
  4556. "warehouseid",
  4557. "wrstandardid",
  4558. "wrstandardname"
  4559. ],
  4560. "properties": {
  4561. "deliverygoodsdesc": {
  4562. "description": "现货品种说明",
  4563. "type": "string"
  4564. },
  4565. "deliverygoodsid": {
  4566. "description": "现货品种ID",
  4567. "type": "integer"
  4568. },
  4569. "deliverygoodsname": {
  4570. "description": "现货品种名称",
  4571. "type": "string"
  4572. },
  4573. "pointdesc": {
  4574. "description": "点价描述",
  4575. "type": "string"
  4576. },
  4577. "producttype": {
  4578. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  4579. "type": "integer"
  4580. },
  4581. "producttypename": {
  4582. "description": "产品类型名称",
  4583. "type": "string"
  4584. },
  4585. "spotPointOrderVoList": {
  4586. "description": "点价列表",
  4587. "type": "array",
  4588. "items": {
  4589. "$ref": "#/definitions/erms3.SpotPointOrder"
  4590. }
  4591. },
  4592. "spotPriceOrderList": {
  4593. "description": "定价列表",
  4594. "type": "array",
  4595. "items": {
  4596. "$ref": "#/definitions/erms3.SpotPriceOrder"
  4597. }
  4598. },
  4599. "unitname": {
  4600. "description": "单位名称",
  4601. "type": "string"
  4602. },
  4603. "warehouseid": {
  4604. "description": "仓库ID",
  4605. "type": "integer"
  4606. },
  4607. "warehousename": {
  4608. "description": "仓库名称",
  4609. "type": "integer"
  4610. },
  4611. "wrstandardid": {
  4612. "description": "交易标的ID",
  4613. "type": "integer"
  4614. },
  4615. "wrstandardname": {
  4616. "description": "交易标的名称",
  4617. "type": "string"
  4618. }
  4619. }
  4620. },
  4621. "erms3.SpotPointOrder": {
  4622. "type": "object",
  4623. "required": [
  4624. "basic",
  4625. "enddate",
  4626. "goodsid",
  4627. "qty",
  4628. "startdate"
  4629. ],
  4630. "properties": {
  4631. "basic": {
  4632. "description": "基差",
  4633. "type": "number"
  4634. },
  4635. "enddate": {
  4636. "description": "点价结束日期",
  4637. "type": "string"
  4638. },
  4639. "goodsid": {
  4640. "description": "商品ID",
  4641. "type": "integer"
  4642. },
  4643. "goodsname": {
  4644. "description": "商品名称",
  4645. "type": "string"
  4646. },
  4647. "qty": {
  4648. "description": "数量",
  4649. "type": "number"
  4650. },
  4651. "startdate": {
  4652. "description": "点价开始日期",
  4653. "type": "string"
  4654. }
  4655. }
  4656. },
  4657. "erms3.SpotPriceOrder": {
  4658. "type": "object",
  4659. "required": [
  4660. "amount",
  4661. "price",
  4662. "qty"
  4663. ],
  4664. "properties": {
  4665. "amount": {
  4666. "description": "金额",
  4667. "type": "number"
  4668. },
  4669. "price": {
  4670. "description": "价格",
  4671. "type": "number"
  4672. },
  4673. "qty": {
  4674. "description": "数量",
  4675. "type": "number"
  4676. }
  4677. }
  4678. },
  4679. "hsby.GetHsbyMyCountRsp": {
  4680. "type": "object",
  4681. "properties": {
  4682. "myOrderDetailListingCount": {
  4683. "description": "我的订单求购中数量",
  4684. "type": "integer"
  4685. },
  4686. "myOrderDetailPreCount": {
  4687. "description": "我的订单抢购中数量",
  4688. "type": "integer"
  4689. },
  4690. "myPackageUnReceiveCount": {
  4691. "description": "我的包裹待收货数量",
  4692. "type": "integer"
  4693. },
  4694. "myPackageUnSendCount": {
  4695. "description": "我的包裹待发货数量",
  4696. "type": "integer"
  4697. }
  4698. }
  4699. },
  4700. "hsby.QueryProvincesAndCitiesRsp": {
  4701. "type": "object",
  4702. "properties": {
  4703. "cities": {
  4704. "description": "市",
  4705. "type": "array",
  4706. "items": {
  4707. "$ref": "#/definitions/models.Division"
  4708. }
  4709. },
  4710. "province": {
  4711. "description": "省",
  4712. "$ref": "#/definitions/models.Division"
  4713. }
  4714. }
  4715. },
  4716. "models.Division": {
  4717. "type": "object",
  4718. "required": [
  4719. "autoid",
  4720. "divisioncode"
  4721. ],
  4722. "properties": {
  4723. "autoid": {
  4724. "description": "自增ID",
  4725. "type": "integer"
  4726. },
  4727. "divisioncode": {
  4728. "description": "行政代码",
  4729. "type": "string"
  4730. },
  4731. "divisionlevel": {
  4732. "description": "行政级别",
  4733. "type": "string"
  4734. },
  4735. "divisionname": {
  4736. "description": "行政名称",
  4737. "type": "string"
  4738. },
  4739. "modifierid": {
  4740. "description": "修改人",
  4741. "type": "integer"
  4742. },
  4743. "modifytime": {
  4744. "description": "修改时间",
  4745. "type": "string"
  4746. },
  4747. "parentcode": {
  4748. "description": "上级行政代码",
  4749. "type": "string"
  4750. },
  4751. "pathname": {
  4752. "description": "路径名称",
  4753. "type": "string"
  4754. },
  4755. "postcode": {
  4756. "description": "邮政编码",
  4757. "type": "string"
  4758. },
  4759. "separablename": {
  4760. "description": "可拆分的全称",
  4761. "type": "string"
  4762. },
  4763. "shortcode": {
  4764. "description": "地区简码",
  4765. "type": "string"
  4766. }
  4767. }
  4768. },
  4769. "models.HsbyBuyMyTradeDetail": {
  4770. "type": "object",
  4771. "required": [
  4772. "accountid",
  4773. "buyorsell",
  4774. "goodscode",
  4775. "goodsid",
  4776. "goodsname",
  4777. "marketid",
  4778. "orderid",
  4779. "qty",
  4780. "time",
  4781. "trademode"
  4782. ],
  4783. "properties": {
  4784. "accountid": {
  4785. "description": "账户ID[报价币种]",
  4786. "type": "integer"
  4787. },
  4788. "agreeunit": {
  4789. "description": "合约单位",
  4790. "type": "number"
  4791. },
  4792. "amount": {
  4793. "description": "金额 = 价格 * 数量 * 合约单位",
  4794. "type": "number"
  4795. },
  4796. "buyorsell": {
  4797. "description": "买卖 - 0:买 1:卖",
  4798. "type": "integer"
  4799. },
  4800. "currencysign": {
  4801. "description": "货币符号",
  4802. "type": "string"
  4803. },
  4804. "decimalplace": {
  4805. "description": "报价小数位",
  4806. "type": "integer"
  4807. },
  4808. "goodscode": {
  4809. "description": "商品代码(内部)",
  4810. "type": "string"
  4811. },
  4812. "goodsid": {
  4813. "description": "商品ID",
  4814. "type": "integer"
  4815. },
  4816. "goodsname": {
  4817. "description": "商品名称",
  4818. "type": "string"
  4819. },
  4820. "marketid": {
  4821. "description": "市场ID",
  4822. "type": "integer"
  4823. },
  4824. "orderid": {
  4825. "description": "单号(成交单号)",
  4826. "type": "string"
  4827. },
  4828. "picurls1": {
  4829. "description": "预售商品介绍图片[多张用逗号分隔]",
  4830. "type": "string"
  4831. },
  4832. "picurls2": {
  4833. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  4834. "type": "string"
  4835. },
  4836. "price": {
  4837. "description": "价格",
  4838. "type": "number"
  4839. },
  4840. "qty": {
  4841. "description": "数量",
  4842. "type": "integer"
  4843. },
  4844. "time": {
  4845. "description": "时间",
  4846. "type": "string"
  4847. },
  4848. "trademode": {
  4849. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  4850. "type": "integer"
  4851. },
  4852. "vendorname1": {
  4853. "description": "预售商品供应商名称",
  4854. "type": "string"
  4855. },
  4856. "vendorname2": {
  4857. "description": "挂牌商品供应商名称",
  4858. "type": "string"
  4859. }
  4860. }
  4861. },
  4862. "models.HsbyGoodsOrderDetail": {
  4863. "type": "object",
  4864. "required": [
  4865. "buyorsell",
  4866. "orderid",
  4867. "ordertime"
  4868. ],
  4869. "properties": {
  4870. "buyorsell": {
  4871. "description": "买卖 - 0:买 1:卖",
  4872. "type": "integer"
  4873. },
  4874. "currencysign": {
  4875. "description": "货币符号",
  4876. "type": "string"
  4877. },
  4878. "customername": {
  4879. "description": "客户名称(企业名称),已脱敏",
  4880. "type": "string"
  4881. },
  4882. "enableqty": {
  4883. "description": "可用数量",
  4884. "type": "integer"
  4885. },
  4886. "goodunit": {
  4887. "description": "报价单位",
  4888. "type": "string"
  4889. },
  4890. "orderid": {
  4891. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4892. "type": "string"
  4893. },
  4894. "orderprice": {
  4895. "description": "委托价格",
  4896. "type": "number"
  4897. },
  4898. "ordertime": {
  4899. "description": "委托时间",
  4900. "type": "string"
  4901. }
  4902. }
  4903. },
  4904. "models.HsbyListingGoodsDetail": {
  4905. "type": "object",
  4906. "required": [
  4907. "goodscode",
  4908. "goodsid",
  4909. "goodsname",
  4910. "marketid",
  4911. "trademode"
  4912. ],
  4913. "properties": {
  4914. "agreeunit": {
  4915. "description": "合约单位",
  4916. "type": "number"
  4917. },
  4918. "currency": {
  4919. "description": "货币",
  4920. "type": "string"
  4921. },
  4922. "currencysign": {
  4923. "description": "货币符号",
  4924. "type": "string"
  4925. },
  4926. "decimalplace": {
  4927. "description": "报价小数位",
  4928. "type": "integer"
  4929. },
  4930. "desccityid": {
  4931. "description": "目的地(市)ID",
  4932. "type": "integer"
  4933. },
  4934. "descprovinceid": {
  4935. "description": "目的地(省)ID",
  4936. "type": "integer"
  4937. },
  4938. "goodscode": {
  4939. "description": "商品代码(内部)",
  4940. "type": "string"
  4941. },
  4942. "goodsdesc": {
  4943. "description": "商品详情",
  4944. "type": "string"
  4945. },
  4946. "goodsid": {
  4947. "description": "商品ID(自增ID SEQ_GOODS)",
  4948. "type": "integer"
  4949. },
  4950. "goodsname": {
  4951. "description": "商品名称",
  4952. "type": "string"
  4953. },
  4954. "hotindex": {
  4955. "description": "景点热度",
  4956. "type": "integer"
  4957. },
  4958. "last": {
  4959. "description": "现价",
  4960. "type": "number"
  4961. },
  4962. "limitdown": {
  4963. "description": "跌停价",
  4964. "type": "number"
  4965. },
  4966. "limitup": {
  4967. "description": "涨停价",
  4968. "type": "number"
  4969. },
  4970. "lotsize": {
  4971. "description": "手数最小变动单位",
  4972. "type": "integer"
  4973. },
  4974. "marketid": {
  4975. "description": "所属市场ID",
  4976. "type": "integer"
  4977. },
  4978. "picurls": {
  4979. "description": "介绍图片[多张用逗号分隔]",
  4980. "type": "string"
  4981. },
  4982. "quoteminunit": {
  4983. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  4984. "type": "integer"
  4985. },
  4986. "stepvalue": {
  4987. "description": "价格最小变动单位",
  4988. "type": "number"
  4989. },
  4990. "trademode": {
  4991. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  4992. "type": "integer"
  4993. },
  4994. "vendorattr": {
  4995. "description": "供应商附件(多张,逗号分隔)",
  4996. "type": "string"
  4997. },
  4998. "vendorname": {
  4999. "description": "供应商名称",
  5000. "type": "string"
  5001. },
  5002. "vendorphone": {
  5003. "description": "供应商客服电话",
  5004. "type": "string"
  5005. },
  5006. "videourls": {
  5007. "description": "介绍视频[多张用逗号分隔]",
  5008. "type": "string"
  5009. }
  5010. }
  5011. },
  5012. "models.HsbyMyGoods": {
  5013. "type": "object",
  5014. "required": [
  5015. "accountid",
  5016. "goodscode",
  5017. "goodsid",
  5018. "goodsname"
  5019. ],
  5020. "properties": {
  5021. "accountid": {
  5022. "description": "账号Id",
  5023. "type": "integer"
  5024. },
  5025. "agreeunit": {
  5026. "description": "合约单位",
  5027. "type": "number"
  5028. },
  5029. "buyaverageprice": {
  5030. "description": "持仓均价",
  5031. "type": "number"
  5032. },
  5033. "buycurholderamount": {
  5034. "description": "买当前持仓总金额[商品币种]",
  5035. "type": "number"
  5036. },
  5037. "buycurpositionqty": {
  5038. "description": "买当前持仓总数量",
  5039. "type": "integer"
  5040. },
  5041. "currencysign": {
  5042. "description": "货币符号",
  5043. "type": "string"
  5044. },
  5045. "decimalplace": {
  5046. "description": "报价小数位",
  5047. "type": "integer"
  5048. },
  5049. "enableqty": {
  5050. "description": "可用数量",
  5051. "type": "integer"
  5052. },
  5053. "goodscode": {
  5054. "description": "商品代码(内部)",
  5055. "type": "string"
  5056. },
  5057. "goodsid": {
  5058. "description": "商品Id",
  5059. "type": "integer"
  5060. },
  5061. "goodsname": {
  5062. "description": "商品名称",
  5063. "type": "string"
  5064. },
  5065. "goodsstatus": {
  5066. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  5067. "type": "integer"
  5068. },
  5069. "picurls": {
  5070. "description": "介绍图片[多张用逗号分隔]",
  5071. "type": "string"
  5072. }
  5073. }
  5074. },
  5075. "models.HsbyMyPackage": {
  5076. "type": "object",
  5077. "required": [
  5078. "goodscode",
  5079. "goodsname",
  5080. "takeorderid"
  5081. ],
  5082. "properties": {
  5083. "accountid": {
  5084. "description": "账户ID",
  5085. "type": "integer"
  5086. },
  5087. "address": {
  5088. "description": "提货人详细地址",
  5089. "type": "string"
  5090. },
  5091. "agreeunit": {
  5092. "description": "合约单位",
  5093. "type": "number"
  5094. },
  5095. "amount": {
  5096. "description": "提货金额",
  5097. "type": "number"
  5098. },
  5099. "auditer": {
  5100. "description": "审核人",
  5101. "type": "integer"
  5102. },
  5103. "audittime": {
  5104. "description": "审核时间",
  5105. "type": "string"
  5106. },
  5107. "averageprice": {
  5108. "description": "均价",
  5109. "type": "number"
  5110. },
  5111. "cardnum": {
  5112. "description": "提货人证件号码",
  5113. "type": "string"
  5114. },
  5115. "cardtypeid": {
  5116. "description": "提货人证件类型",
  5117. "type": "integer"
  5118. },
  5119. "checkremark": {
  5120. "description": "审核备注",
  5121. "type": "string"
  5122. },
  5123. "currencysign": {
  5124. "description": "货币符号",
  5125. "type": "string"
  5126. },
  5127. "decimalplace": {
  5128. "description": "报价小数位",
  5129. "type": "integer"
  5130. },
  5131. "goodscode": {
  5132. "description": "商品代码(内部)",
  5133. "type": "string"
  5134. },
  5135. "goodsid": {
  5136. "description": "商品ID",
  5137. "type": "integer"
  5138. },
  5139. "goodsname": {
  5140. "description": "商品名称",
  5141. "type": "string"
  5142. },
  5143. "handlestatus": {
  5144. "description": "处理状态",
  5145. "type": "integer"
  5146. },
  5147. "marketid": {
  5148. "description": "市场ID",
  5149. "type": "integer"
  5150. },
  5151. "phonenum": {
  5152. "description": "提货人联系方式",
  5153. "type": "string"
  5154. },
  5155. "picurls": {
  5156. "description": "介绍图片[多张用逗号分隔]",
  5157. "type": "string"
  5158. },
  5159. "qty": {
  5160. "description": "提货数量",
  5161. "type": "number"
  5162. },
  5163. "recivername": {
  5164. "description": "提货人姓名",
  5165. "type": "string"
  5166. },
  5167. "reqtime": {
  5168. "description": "更新时间",
  5169. "type": "string"
  5170. },
  5171. "takemode": {
  5172. "description": "提货方式 - 2:自提 3:配送",
  5173. "type": "integer"
  5174. },
  5175. "takeorderid": {
  5176. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  5177. "type": "string"
  5178. },
  5179. "takeorderstatus": {
  5180. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5181. "type": "integer"
  5182. },
  5183. "takeremark": {
  5184. "description": "提货备注",
  5185. "type": "string"
  5186. },
  5187. "tradedate": {
  5188. "description": "交易日(yyyyMMdd)",
  5189. "type": "string"
  5190. },
  5191. "userid": {
  5192. "description": "用户ID",
  5193. "type": "integer"
  5194. },
  5195. "vendorname": {
  5196. "description": "供应商名称",
  5197. "type": "string"
  5198. }
  5199. }
  5200. },
  5201. "models.HsbyPreGoods": {
  5202. "type": "object",
  5203. "required": [
  5204. "goodscode",
  5205. "goodsid",
  5206. "goodsname",
  5207. "marketid",
  5208. "trademode"
  5209. ],
  5210. "properties": {
  5211. "agreeunit": {
  5212. "description": "合约单位",
  5213. "type": "number"
  5214. },
  5215. "currency": {
  5216. "description": "货币",
  5217. "type": "string"
  5218. },
  5219. "currencysign": {
  5220. "description": "货币符号",
  5221. "type": "string"
  5222. },
  5223. "decimalplace": {
  5224. "description": "报价小数位",
  5225. "type": "integer"
  5226. },
  5227. "enableqty": {
  5228. "description": "剩余数量",
  5229. "type": "integer"
  5230. },
  5231. "goodscode": {
  5232. "description": "商品代码(内部)",
  5233. "type": "string"
  5234. },
  5235. "goodsid": {
  5236. "description": "商品ID(自增ID SEQ_GOODS)",
  5237. "type": "integer"
  5238. },
  5239. "goodsname": {
  5240. "description": "商品名称",
  5241. "type": "string"
  5242. },
  5243. "goodsstatus": {
  5244. "description": "商品状态- 2:未上市 3:上市",
  5245. "type": "integer"
  5246. },
  5247. "lasttradedate": {
  5248. "description": "最后交易日期(状态:待退市)",
  5249. "type": "string"
  5250. },
  5251. "listingdate": {
  5252. "description": "交易开始日期",
  5253. "type": "string"
  5254. },
  5255. "marketid": {
  5256. "description": "所属市场ID",
  5257. "type": "integer"
  5258. },
  5259. "picurls": {
  5260. "description": "介绍图片[多张用逗号分隔]",
  5261. "type": "string"
  5262. },
  5263. "presaledqty": {
  5264. "description": "已预售量(预售结束时更新)",
  5265. "type": "integer"
  5266. },
  5267. "presaleqty": {
  5268. "description": "预售数量",
  5269. "type": "integer"
  5270. },
  5271. "quoteminunit": {
  5272. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  5273. "type": "integer"
  5274. },
  5275. "refprice": {
  5276. "description": "参考价格[一口价]",
  5277. "type": "number"
  5278. },
  5279. "relatedgoodsid": {
  5280. "description": "关联交易合约ID",
  5281. "type": "integer"
  5282. },
  5283. "trademode": {
  5284. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5285. "type": "integer"
  5286. },
  5287. "videourls": {
  5288. "description": "介绍视频[多张用逗号分隔]",
  5289. "type": "string"
  5290. }
  5291. }
  5292. },
  5293. "models.HsbyPreGoodsDetail": {
  5294. "type": "object",
  5295. "required": [
  5296. "goodscode",
  5297. "goodsid",
  5298. "goodsname",
  5299. "marketid",
  5300. "trademode"
  5301. ],
  5302. "properties": {
  5303. "agreeunit": {
  5304. "description": "合约单位",
  5305. "type": "number"
  5306. },
  5307. "buymaxqty": {
  5308. "description": "购买上限 [71] - 0为不限",
  5309. "type": "integer"
  5310. },
  5311. "currency": {
  5312. "description": "货币",
  5313. "type": "string"
  5314. },
  5315. "currencysign": {
  5316. "description": "货币符号",
  5317. "type": "string"
  5318. },
  5319. "customername": {
  5320. "description": "发行单位",
  5321. "type": "string"
  5322. },
  5323. "decimalplace": {
  5324. "description": "报价小数位",
  5325. "type": "integer"
  5326. },
  5327. "desccityid": {
  5328. "description": "目的地(市)ID",
  5329. "type": "integer"
  5330. },
  5331. "descprovinceid": {
  5332. "description": "目的地(省)ID",
  5333. "type": "integer"
  5334. },
  5335. "enableqty": {
  5336. "description": "剩余数量",
  5337. "type": "integer"
  5338. },
  5339. "goodscode": {
  5340. "description": "商品代码(内部)",
  5341. "type": "string"
  5342. },
  5343. "goodsdesc": {
  5344. "description": "商品详情",
  5345. "type": "string"
  5346. },
  5347. "goodsid": {
  5348. "description": "商品ID(自增ID SEQ_GOODS)",
  5349. "type": "integer"
  5350. },
  5351. "goodsname": {
  5352. "description": "商品名称",
  5353. "type": "string"
  5354. },
  5355. "goodsstatus": {
  5356. "description": "商品状态- 2:未上市 3:上市",
  5357. "type": "integer"
  5358. },
  5359. "goodunit": {
  5360. "description": "报价单位",
  5361. "type": "string"
  5362. },
  5363. "lasttradedate": {
  5364. "description": "最后交易日期(状态:待退市)",
  5365. "type": "string"
  5366. },
  5367. "listingdate": {
  5368. "description": "交易开始日期",
  5369. "type": "string"
  5370. },
  5371. "lotsize": {
  5372. "description": "手数最小变动单位",
  5373. "type": "integer"
  5374. },
  5375. "marketid": {
  5376. "description": "所属市场ID",
  5377. "type": "integer"
  5378. },
  5379. "picurls": {
  5380. "description": "介绍图片[多张用逗号分隔]",
  5381. "type": "string"
  5382. },
  5383. "presaledqty": {
  5384. "description": "已预售量(预售结束时更新)",
  5385. "type": "integer"
  5386. },
  5387. "presaleqty": {
  5388. "description": "预售数量",
  5389. "type": "integer"
  5390. },
  5391. "quoteminunit": {
  5392. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  5393. "type": "integer"
  5394. },
  5395. "refprice": {
  5396. "description": "参考价格[一口价]",
  5397. "type": "number"
  5398. },
  5399. "relatedgoodsid": {
  5400. "description": "关联交易合约ID",
  5401. "type": "integer"
  5402. },
  5403. "stepvalue": {
  5404. "description": "价格最小变动单位",
  5405. "type": "number"
  5406. },
  5407. "trademode": {
  5408. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5409. "type": "integer"
  5410. },
  5411. "vendorattr": {
  5412. "description": "供应商附件(多张,逗号分隔)",
  5413. "type": "string"
  5414. },
  5415. "vendorname": {
  5416. "description": "供应商名称",
  5417. "type": "string"
  5418. },
  5419. "vendorphone": {
  5420. "description": "供应商客服电话",
  5421. "type": "string"
  5422. },
  5423. "videourls": {
  5424. "description": "介绍视频[多张用逗号分隔]",
  5425. "type": "string"
  5426. }
  5427. }
  5428. },
  5429. "models.HsbySellMyDetail": {
  5430. "type": "object",
  5431. "required": [
  5432. "accountid",
  5433. "buyorsell",
  5434. "goodscode",
  5435. "goodsid",
  5436. "goodsname",
  5437. "marketid",
  5438. "orderid",
  5439. "qty",
  5440. "time",
  5441. "trademode"
  5442. ],
  5443. "properties": {
  5444. "accountid": {
  5445. "description": "账户ID[报价币种]",
  5446. "type": "integer"
  5447. },
  5448. "agreeunit": {
  5449. "description": "合约单位",
  5450. "type": "number"
  5451. },
  5452. "amount": {
  5453. "description": "金额 = 价格 * 数量 * 合约单位",
  5454. "type": "number"
  5455. },
  5456. "buyorsell": {
  5457. "description": "买卖 - 0:买 1:卖",
  5458. "type": "integer"
  5459. },
  5460. "currencysign": {
  5461. "description": "货币符号",
  5462. "type": "string"
  5463. },
  5464. "decimalplace": {
  5465. "description": "报价小数位",
  5466. "type": "integer"
  5467. },
  5468. "goodscode": {
  5469. "description": "商品代码(内部)",
  5470. "type": "string"
  5471. },
  5472. "goodsid": {
  5473. "description": "商品ID",
  5474. "type": "integer"
  5475. },
  5476. "goodsname": {
  5477. "description": "商品名称",
  5478. "type": "string"
  5479. },
  5480. "marketid": {
  5481. "description": "市场ID",
  5482. "type": "integer"
  5483. },
  5484. "orderid": {
  5485. "description": "单号(已发布 - 委托单号;已完成 - 成交单号)",
  5486. "type": "string"
  5487. },
  5488. "ordertype": {
  5489. "description": "单据类型:0 - 已发布, 1 - 已完成",
  5490. "type": "integer"
  5491. },
  5492. "picurls": {
  5493. "description": "介绍图片[多张用逗号分隔]",
  5494. "type": "string"
  5495. },
  5496. "price": {
  5497. "description": "价格",
  5498. "type": "number"
  5499. },
  5500. "qty": {
  5501. "description": "数量",
  5502. "type": "integer"
  5503. },
  5504. "time": {
  5505. "description": "时间",
  5506. "type": "string"
  5507. },
  5508. "trademode": {
  5509. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5510. "type": "integer"
  5511. },
  5512. "vendorname": {
  5513. "description": "供应商名称",
  5514. "type": "string"
  5515. }
  5516. }
  5517. },
  5518. "models.HsbyTopGoods": {
  5519. "type": "object",
  5520. "required": [
  5521. "goodscode",
  5522. "goodsid",
  5523. "goodsname",
  5524. "marketid",
  5525. "trademode"
  5526. ],
  5527. "properties": {
  5528. "agreeunit": {
  5529. "description": "合约单位",
  5530. "type": "number"
  5531. },
  5532. "currency": {
  5533. "description": "货币",
  5534. "type": "string"
  5535. },
  5536. "currencysign": {
  5537. "description": "货币符号",
  5538. "type": "string"
  5539. },
  5540. "decimalplace": {
  5541. "description": "报价小数位",
  5542. "type": "integer"
  5543. },
  5544. "goodscode": {
  5545. "description": "商品代码(内部)",
  5546. "type": "string"
  5547. },
  5548. "goodsid": {
  5549. "description": "商品ID(自增ID SEQ_GOODS)",
  5550. "type": "integer"
  5551. },
  5552. "goodsname": {
  5553. "description": "商品名称",
  5554. "type": "string"
  5555. },
  5556. "hotindex": {
  5557. "description": "景点热度",
  5558. "type": "integer"
  5559. },
  5560. "last": {
  5561. "description": "现价",
  5562. "type": "number"
  5563. },
  5564. "marketid": {
  5565. "description": "所属市场ID",
  5566. "type": "integer"
  5567. },
  5568. "picurls": {
  5569. "description": "介绍图片[多张用逗号分隔]",
  5570. "type": "string"
  5571. },
  5572. "quoteminunit": {
  5573. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  5574. "type": "integer"
  5575. },
  5576. "trademode": {
  5577. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5578. "type": "integer"
  5579. },
  5580. "videourls": {
  5581. "description": "介绍视频[多张用逗号分隔]",
  5582. "type": "string"
  5583. }
  5584. }
  5585. },
  5586. "models.HybsMyBuyOrderDetail": {
  5587. "type": "object",
  5588. "required": [
  5589. "accountid",
  5590. "buyorsell",
  5591. "goodscode",
  5592. "goodsid",
  5593. "goodsname",
  5594. "marketid",
  5595. "orderid",
  5596. "orderqty",
  5597. "ordertime",
  5598. "trademode"
  5599. ],
  5600. "properties": {
  5601. "accountid": {
  5602. "description": "账户ID[报价币种]",
  5603. "type": "integer"
  5604. },
  5605. "agreeunit": {
  5606. "description": "合约单位",
  5607. "type": "number"
  5608. },
  5609. "buyorsell": {
  5610. "description": "买卖 - 0:买 1:卖",
  5611. "type": "integer"
  5612. },
  5613. "cancelqty": {
  5614. "description": "撤单数量",
  5615. "type": "integer"
  5616. },
  5617. "currencysign": {
  5618. "description": "货币符号",
  5619. "type": "string"
  5620. },
  5621. "decimalplace": {
  5622. "description": "报价小数位",
  5623. "type": "integer"
  5624. },
  5625. "goodscode": {
  5626. "description": "商品代码(内部)",
  5627. "type": "string"
  5628. },
  5629. "goodsid": {
  5630. "description": "商品ID",
  5631. "type": "integer"
  5632. },
  5633. "goodsname": {
  5634. "description": "商品名称",
  5635. "type": "string"
  5636. },
  5637. "listingselecttype": {
  5638. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  5639. "type": "integer"
  5640. },
  5641. "marketid": {
  5642. "description": "市场ID",
  5643. "type": "integer"
  5644. },
  5645. "mybuystatus": {
  5646. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  5647. "type": "integer"
  5648. },
  5649. "orderamount": {
  5650. "description": "委托金额",
  5651. "type": "number"
  5652. },
  5653. "orderid": {
  5654. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5655. "type": "string"
  5656. },
  5657. "orderprice": {
  5658. "description": "委托价格",
  5659. "type": "number"
  5660. },
  5661. "orderqty": {
  5662. "description": "委托数量",
  5663. "type": "integer"
  5664. },
  5665. "orderstatus": {
  5666. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  5667. "type": "integer"
  5668. },
  5669. "ordertime": {
  5670. "description": "委托时间",
  5671. "type": "string"
  5672. },
  5673. "picurls1": {
  5674. "description": "预售商品介绍图片[多张用逗号分隔]",
  5675. "type": "string"
  5676. },
  5677. "picurls2": {
  5678. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  5679. "type": "string"
  5680. },
  5681. "trademode": {
  5682. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5683. "type": "integer"
  5684. },
  5685. "tradeqty": {
  5686. "description": "成交数量",
  5687. "type": "integer"
  5688. },
  5689. "vendorname1": {
  5690. "description": "预售商品供应商名称",
  5691. "type": "string"
  5692. },
  5693. "vendorname2": {
  5694. "description": "挂牌商品供应商名称",
  5695. "type": "string"
  5696. }
  5697. }
  5698. },
  5699. "models.Messageboard": {
  5700. "type": "object",
  5701. "required": [
  5702. "messageboardid"
  5703. ],
  5704. "properties": {
  5705. "createtime": {
  5706. "description": "创建时间",
  5707. "type": "string"
  5708. },
  5709. "message": {
  5710. "description": "留言信息",
  5711. "type": "string"
  5712. },
  5713. "messageboardid": {
  5714. "description": "留言簿ID(SEQ_MessageBoard)",
  5715. "type": "integer"
  5716. },
  5717. "userid": {
  5718. "description": "用户ID",
  5719. "type": "integer"
  5720. }
  5721. }
  5722. },
  5723. "models.OperationPrimaryMenu": {
  5724. "type": "object",
  5725. "properties": {
  5726. "Children": {
  5727. "description": "二级功能菜单",
  5728. "type": "array",
  5729. "items": {
  5730. "$ref": "#/definitions/models.OperationSecondaryMenu"
  5731. }
  5732. },
  5733. "Key": {
  5734. "description": "菜单KEY",
  5735. "type": "string"
  5736. },
  5737. "Label": {
  5738. "description": "菜单标题",
  5739. "type": "string"
  5740. }
  5741. }
  5742. },
  5743. "models.OperationSecondaryMenu": {
  5744. "type": "object",
  5745. "properties": {
  5746. "Key": {
  5747. "description": "菜单KEY",
  5748. "type": "string"
  5749. },
  5750. "Label": {
  5751. "description": "菜单标题",
  5752. "type": "string"
  5753. },
  5754. "TabList": {
  5755. "description": "三级功能菜单",
  5756. "type": "array",
  5757. "items": {
  5758. "$ref": "#/definitions/models.OperationTabMenu"
  5759. }
  5760. }
  5761. }
  5762. },
  5763. "models.OperationTabMenu": {
  5764. "type": "object",
  5765. "properties": {
  5766. "Key": {
  5767. "description": "菜单KEY",
  5768. "type": "string"
  5769. },
  5770. "Label": {
  5771. "description": "菜单标题",
  5772. "type": "string"
  5773. }
  5774. }
  5775. },
  5776. "models.QuotePrimaryMenu": {
  5777. "type": "object",
  5778. "properties": {
  5779. "Index": {
  5780. "description": "序号",
  5781. "type": "integer"
  5782. },
  5783. "Key": {
  5784. "description": "键名",
  5785. "type": "string"
  5786. },
  5787. "Name": {
  5788. "description": "菜单名称",
  5789. "type": "string"
  5790. },
  5791. "SubMenus": {
  5792. "description": "子菜单",
  5793. "type": "array",
  5794. "items": {
  5795. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  5796. }
  5797. },
  5798. "SubTitleType": {
  5799. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  5800. "type": "integer"
  5801. },
  5802. "TradeModes": {
  5803. "description": "包含市场交易类型",
  5804. "type": "string"
  5805. }
  5806. }
  5807. },
  5808. "models.QuoteSecondaryMenu": {
  5809. "type": "object",
  5810. "properties": {
  5811. "ExExchangeCode": {
  5812. "description": "外部交易所代码",
  5813. "type": "string"
  5814. },
  5815. "ExExchangeID": {
  5816. "description": "外部交易所ID",
  5817. "type": "integer"
  5818. },
  5819. "GoodsGroupIDs": {
  5820. "description": "商品组ID列表",
  5821. "type": "array",
  5822. "items": {
  5823. "type": "integer"
  5824. }
  5825. },
  5826. "Index": {
  5827. "description": "序号",
  5828. "type": "integer"
  5829. },
  5830. "MarketID": {
  5831. "description": "市场ID",
  5832. "type": "integer"
  5833. },
  5834. "MenuTitle": {
  5835. "description": "菜单标题(市场名称或外部交易所名称)",
  5836. "type": "string"
  5837. },
  5838. "TradeMode": {
  5839. "description": "交易模式",
  5840. "type": "integer"
  5841. }
  5842. }
  5843. },
  5844. "models.SearchGoods": {
  5845. "type": "object",
  5846. "required": [
  5847. "goodscode",
  5848. "goodsid",
  5849. "goodsname",
  5850. "marketid",
  5851. "trademode"
  5852. ],
  5853. "properties": {
  5854. "goodscode": {
  5855. "description": "商品代码(内部)",
  5856. "type": "string"
  5857. },
  5858. "goodsid": {
  5859. "description": "商品ID(自增ID SEQ_GOODS)",
  5860. "type": "integer"
  5861. },
  5862. "goodsname": {
  5863. "description": "商品名称",
  5864. "type": "string"
  5865. },
  5866. "marketid": {
  5867. "description": "所属市场ID",
  5868. "type": "integer"
  5869. },
  5870. "marketname": {
  5871. "description": "市场名称",
  5872. "type": "string"
  5873. },
  5874. "trademode": {
  5875. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5876. "type": "integer"
  5877. }
  5878. }
  5879. },
  5880. "models.Szdz2imageconfig": {
  5881. "type": "object",
  5882. "required": [
  5883. "configid"
  5884. ],
  5885. "properties": {
  5886. "configid": {
  5887. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  5888. "type": "integer"
  5889. },
  5890. "imagepath": {
  5891. "description": "图片",
  5892. "type": "string"
  5893. },
  5894. "imagetype": {
  5895. "description": "类型 - 1:App首页轮播 2:我的",
  5896. "type": "integer"
  5897. },
  5898. "sort": {
  5899. "description": "排序",
  5900. "type": "integer"
  5901. },
  5902. "title": {
  5903. "description": "标题",
  5904. "type": "string"
  5905. },
  5906. "url": {
  5907. "description": "链接",
  5908. "type": "string"
  5909. }
  5910. }
  5911. },
  5912. "models.Szdz3convertconfig": {
  5913. "type": "object",
  5914. "required": [
  5915. "converttype",
  5916. "innergoodsid",
  5917. "outergoodscode"
  5918. ],
  5919. "properties": {
  5920. "canin": {
  5921. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  5922. "type": "integer"
  5923. },
  5924. "canout": {
  5925. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  5926. "type": "integer"
  5927. },
  5928. "converttype": {
  5929. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  5930. "type": "integer"
  5931. },
  5932. "createtime": {
  5933. "description": "创建时间",
  5934. "type": "string"
  5935. },
  5936. "creatorid": {
  5937. "description": "创建人",
  5938. "type": "integer"
  5939. },
  5940. "daymaxvalue": {
  5941. "description": "当日最大转入限制",
  5942. "type": "number"
  5943. },
  5944. "freezedays": {
  5945. "description": "冻结天数 [5:花生米转交易]",
  5946. "type": "integer"
  5947. },
  5948. "innergoodsid": {
  5949. "description": "内部商品ID[交易]",
  5950. "type": "integer"
  5951. },
  5952. "inratio": {
  5953. "description": "目标值",
  5954. "type": "integer"
  5955. },
  5956. "modifierid": {
  5957. "description": "修改人",
  5958. "type": "integer"
  5959. },
  5960. "modifytime": {
  5961. "description": "修改时间",
  5962. "type": "string"
  5963. },
  5964. "outergoodscode": {
  5965. "description": "外部商品代码[JD\\PD]",
  5966. "type": "string"
  5967. },
  5968. "outratio": {
  5969. "description": "源值",
  5970. "type": "integer"
  5971. },
  5972. "pddecimalplace": {
  5973. "description": "PD小数位",
  5974. "type": "integer"
  5975. },
  5976. "timemaxvalue": {
  5977. "description": "单次最大转入限制",
  5978. "type": "number"
  5979. },
  5980. "timeminvalue": {
  5981. "description": "单次最小转入限制",
  5982. "type": "number"
  5983. }
  5984. }
  5985. },
  5986. "models.Szdz3searchwhitelist": {
  5987. "type": "object",
  5988. "required": [
  5989. "userid"
  5990. ],
  5991. "properties": {
  5992. "createtime": {
  5993. "description": "创建时间",
  5994. "type": "string"
  5995. },
  5996. "creatorid": {
  5997. "description": "创建人",
  5998. "type": "integer"
  5999. },
  6000. "modifierid": {
  6001. "description": "修改人",
  6002. "type": "integer"
  6003. },
  6004. "modifytime": {
  6005. "description": "修改时间",
  6006. "type": "string"
  6007. },
  6008. "userid": {
  6009. "description": "用户ID",
  6010. "type": "integer"
  6011. }
  6012. }
  6013. },
  6014. "models.Tablecolumnconfig": {
  6015. "type": "object",
  6016. "required": [
  6017. "autoid"
  6018. ],
  6019. "properties": {
  6020. "aligntype": {
  6021. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  6022. "type": "integer"
  6023. },
  6024. "autoid": {
  6025. "description": "AutoID",
  6026. "type": "integer"
  6027. },
  6028. "columnfield": {
  6029. "description": "列字段",
  6030. "type": "string"
  6031. },
  6032. "columntitle": {
  6033. "description": "列Title",
  6034. "type": "string"
  6035. },
  6036. "columnwidth": {
  6037. "description": "列宽",
  6038. "type": "string"
  6039. },
  6040. "formatterstring": {
  6041. "description": "格式化字符",
  6042. "type": "string"
  6043. },
  6044. "formattertype": {
  6045. "description": "格式化类型",
  6046. "type": "string"
  6047. },
  6048. "groupname": {
  6049. "description": "表头分组名称",
  6050. "type": "string"
  6051. },
  6052. "isshow": {
  6053. "description": "是否显示 - 0:不显示 1:显示",
  6054. "type": "integer"
  6055. },
  6056. "needsummary": {
  6057. "description": "是否需要汇总 - 0:不需要 1:需要",
  6058. "type": "integer"
  6059. },
  6060. "orderindex": {
  6061. "description": "顺序",
  6062. "type": "integer"
  6063. },
  6064. "remark": {
  6065. "description": "备注",
  6066. "type": "string"
  6067. },
  6068. "summarytype": {
  6069. "description": "汇总类型 - 1:加总 2:最后一个",
  6070. "type": "integer"
  6071. },
  6072. "tablekey": {
  6073. "description": "列表Key",
  6074. "type": "string"
  6075. }
  6076. }
  6077. },
  6078. "models.Userfavoritegoods": {
  6079. "type": "object",
  6080. "required": [
  6081. "goodsid"
  6082. ],
  6083. "properties": {
  6084. "goodsid": {
  6085. "description": "商品ID",
  6086. "type": "integer"
  6087. }
  6088. }
  6089. },
  6090. "models.Userinfo": {
  6091. "type": "object",
  6092. "required": [
  6093. "userid"
  6094. ],
  6095. "properties": {
  6096. "address": {
  6097. "description": "地址",
  6098. "type": "string"
  6099. },
  6100. "attachment1": {
  6101. "description": "附件1",
  6102. "type": "string"
  6103. },
  6104. "attachment2": {
  6105. "description": "附件2",
  6106. "type": "string"
  6107. },
  6108. "bankaccount": {
  6109. "description": "银行帐号 (加密存储)",
  6110. "type": "string"
  6111. },
  6112. "bankaccountname": {
  6113. "description": "收款人名称",
  6114. "type": "string"
  6115. },
  6116. "bankcardfrontphotourl": {
  6117. "description": "银行卡正面照地址",
  6118. "type": "string"
  6119. },
  6120. "bankid": {
  6121. "description": "银行编码",
  6122. "type": "string"
  6123. },
  6124. "bankname": {
  6125. "description": "银行名称",
  6126. "type": "string"
  6127. },
  6128. "biznature": {
  6129. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6130. "type": "integer"
  6131. },
  6132. "bizscope": {
  6133. "description": "企业经营范围(企业)",
  6134. "type": "string"
  6135. },
  6136. "cardbackphotourl": {
  6137. "description": "证件背面图片地址",
  6138. "type": "string"
  6139. },
  6140. "cardfrontphotourl": {
  6141. "description": "证件正面图片地址",
  6142. "type": "string"
  6143. },
  6144. "cardnum": {
  6145. "description": "证件号码(加密存储)",
  6146. "type": "string"
  6147. },
  6148. "cardtypeid": {
  6149. "description": "证件类型ID",
  6150. "type": "integer"
  6151. },
  6152. "cityid": {
  6153. "description": "市",
  6154. "type": "integer"
  6155. },
  6156. "company": {
  6157. "description": "公司(个人)",
  6158. "type": "string"
  6159. },
  6160. "contactname": {
  6161. "description": "联系人",
  6162. "type": "string"
  6163. },
  6164. "countryid": {
  6165. "description": "国家",
  6166. "type": "integer"
  6167. },
  6168. "createtime": {
  6169. "description": "创建时间",
  6170. "type": "string"
  6171. },
  6172. "creatorid": {
  6173. "description": "创建人",
  6174. "type": "integer"
  6175. },
  6176. "customername": {
  6177. "description": "客户名称(企业名称)",
  6178. "type": "string"
  6179. },
  6180. "districtid": {
  6181. "description": "地区",
  6182. "type": "integer"
  6183. },
  6184. "email": {
  6185. "description": "邮件(加密存储)",
  6186. "type": "string"
  6187. },
  6188. "fax": {
  6189. "description": "传真(加密存储)",
  6190. "type": "string"
  6191. },
  6192. "halfbodyphotourl": {
  6193. "description": "半身照地址",
  6194. "type": "string"
  6195. },
  6196. "hasencrypt": {
  6197. "description": "数据是否已加密 - 0:未加密 1:已加密",
  6198. "type": "integer"
  6199. },
  6200. "headurl": {
  6201. "description": "头像地址",
  6202. "type": "string"
  6203. },
  6204. "legalcardbackphotourl": {
  6205. "description": "法人身份证背面照地址",
  6206. "type": "string"
  6207. },
  6208. "legalcardfrontphotourl": {
  6209. "description": "法人身份证正面照地址",
  6210. "type": "string"
  6211. },
  6212. "legalpersonname": {
  6213. "description": "法人姓名(企业)",
  6214. "type": "string"
  6215. },
  6216. "mobile": {
  6217. "description": "手机号码(加密存储)",
  6218. "type": "string"
  6219. },
  6220. "mobile2": {
  6221. "description": "手机号码[明文-尚志]",
  6222. "type": "string"
  6223. },
  6224. "modifierid": {
  6225. "description": "修改人",
  6226. "type": "integer"
  6227. },
  6228. "modifiertime": {
  6229. "description": "修改时间",
  6230. "type": "string"
  6231. },
  6232. "needinvoice": {
  6233. "description": "是否需要发票 - 0:不需要 1:需要",
  6234. "type": "integer"
  6235. },
  6236. "nickname": {
  6237. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  6238. "type": "string"
  6239. },
  6240. "openmode": {
  6241. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  6242. "type": "integer"
  6243. },
  6244. "otherurl": {
  6245. "description": "其它图片地址[使用分号分隔]",
  6246. "type": "string"
  6247. },
  6248. "postalcode": {
  6249. "description": "邮政编码",
  6250. "type": "string"
  6251. },
  6252. "provinceid": {
  6253. "description": "省",
  6254. "type": "integer"
  6255. },
  6256. "qq": {
  6257. "description": "QQ(加密存储",
  6258. "type": "string"
  6259. },
  6260. "remark": {
  6261. "description": "备注",
  6262. "type": "string"
  6263. },
  6264. "sex": {
  6265. "description": "用户性别 0: 女 1: 男",
  6266. "type": "integer"
  6267. },
  6268. "signpdfurl": {
  6269. "description": "签约pdf文件",
  6270. "type": "string"
  6271. },
  6272. "telphone": {
  6273. "description": "联系电话(加密存储)",
  6274. "type": "string"
  6275. },
  6276. "userid": {
  6277. "description": "用户ID",
  6278. "type": "integer"
  6279. },
  6280. "userinfotype": {
  6281. "description": "用户信息类型 - 1:个人 2:企业",
  6282. "type": "integer"
  6283. },
  6284. "userstatus": {
  6285. "description": "用户状态 - 1:正常 2:注销",
  6286. "type": "integer"
  6287. },
  6288. "usertype": {
  6289. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  6290. "type": "integer"
  6291. },
  6292. "wechat": {
  6293. "description": "微信(加密存储)",
  6294. "type": "string"
  6295. },
  6296. "wskhinfo": {
  6297. "description": "开户申请信息(JSON)",
  6298. "type": "string"
  6299. }
  6300. }
  6301. },
  6302. "models.Warehouseinfo": {
  6303. "type": "object",
  6304. "required": [
  6305. "autoid",
  6306. "warehousecode"
  6307. ],
  6308. "properties": {
  6309. "address": {
  6310. "description": "详细地址",
  6311. "type": "string"
  6312. },
  6313. "areauserid": {
  6314. "description": "所属机构",
  6315. "type": "integer"
  6316. },
  6317. "autoid": {
  6318. "description": "自增ID",
  6319. "type": "integer"
  6320. },
  6321. "cityid": {
  6322. "description": "市",
  6323. "type": "integer"
  6324. },
  6325. "contactname": {
  6326. "description": "联系人",
  6327. "type": "string"
  6328. },
  6329. "contactnum": {
  6330. "description": "联系电话",
  6331. "type": "string"
  6332. },
  6333. "countryid": {
  6334. "description": "国家",
  6335. "type": "integer"
  6336. },
  6337. "createtime": {
  6338. "description": "创建时间",
  6339. "type": "string"
  6340. },
  6341. "districtid": {
  6342. "description": "区",
  6343. "type": "integer"
  6344. },
  6345. "hasvideo": {
  6346. "description": "是否有视频 - 0:无 1:有",
  6347. "type": "integer"
  6348. },
  6349. "provinceid": {
  6350. "description": "省",
  6351. "type": "integer"
  6352. },
  6353. "remark": {
  6354. "description": "审核备注",
  6355. "type": "string"
  6356. },
  6357. "videourl": {
  6358. "description": "视频地址",
  6359. "type": "string"
  6360. },
  6361. "warehousecode": {
  6362. "description": "仓库代码",
  6363. "type": "string"
  6364. },
  6365. "warehousename": {
  6366. "description": "仓库名称",
  6367. "type": "string"
  6368. },
  6369. "warehousestatus": {
  6370. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  6371. "type": "integer"
  6372. },
  6373. "warehousetype": {
  6374. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  6375. "type": "integer"
  6376. }
  6377. }
  6378. },
  6379. "models.Wrstandard": {
  6380. "type": "object",
  6381. "required": [
  6382. "wrstandardid"
  6383. ],
  6384. "properties": {
  6385. "createtime": {
  6386. "description": "创建时间",
  6387. "type": "string"
  6388. },
  6389. "creatorid": {
  6390. "description": "创建人",
  6391. "type": "integer"
  6392. },
  6393. "deliverygoodsid": {
  6394. "description": "品种ID",
  6395. "type": "integer"
  6396. },
  6397. "factoryitemjson": {
  6398. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  6399. "type": "string"
  6400. },
  6401. "isvalid": {
  6402. "description": "是否有效 - 0:无效 1:有效",
  6403. "type": "integer"
  6404. },
  6405. "minivalue": {
  6406. "description": "最小变动值",
  6407. "type": "integer"
  6408. },
  6409. "minivaluedp": {
  6410. "description": "最小变动值小数位",
  6411. "type": "integer"
  6412. },
  6413. "realminivalue": {
  6414. "description": "实际最小变动值",
  6415. "type": "integer"
  6416. },
  6417. "realminivaluedp": {
  6418. "description": "实际最小变动值小数位",
  6419. "type": "integer"
  6420. },
  6421. "unitid": {
  6422. "description": "单位ID",
  6423. "type": "integer"
  6424. },
  6425. "updatetime": {
  6426. "description": "更新时间",
  6427. "type": "string"
  6428. },
  6429. "updatorid": {
  6430. "description": "更新人",
  6431. "type": "integer"
  6432. },
  6433. "wrsstatus": {
  6434. "description": "状态 - 作废 - 0:未激活 1:正常",
  6435. "type": "integer"
  6436. },
  6437. "wrstandardcode": {
  6438. "description": "仓单标准代码",
  6439. "type": "string"
  6440. },
  6441. "wrstandardid": {
  6442. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  6443. "type": "integer"
  6444. },
  6445. "wrstandardname": {
  6446. "description": "仓单标准名称",
  6447. "type": "string"
  6448. }
  6449. }
  6450. },
  6451. "order.QueryHisTradeDetailRsp": {
  6452. "type": "object",
  6453. "required": [
  6454. "accountid",
  6455. "buyorsell",
  6456. "goodsid",
  6457. "histradedate",
  6458. "marketid",
  6459. "memberuserid",
  6460. "orderid",
  6461. "tradeamount",
  6462. "tradedate",
  6463. "tradeid",
  6464. "tradeprice",
  6465. "tradeqty",
  6466. "tradetime"
  6467. ],
  6468. "properties": {
  6469. "accountid": {
  6470. "description": "账户ID[报价币种]",
  6471. "type": "integer"
  6472. },
  6473. "buildtype": {
  6474. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  6475. "type": "integer"
  6476. },
  6477. "buyorsell": {
  6478. "description": "方向 - 0:买 1:卖",
  6479. "type": "integer"
  6480. },
  6481. "charge": {
  6482. "description": "手续费",
  6483. "type": "number"
  6484. },
  6485. "closecharge": {
  6486. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  6487. "type": "number"
  6488. },
  6489. "closeexchagechargevalue": {
  6490. "description": "平仓交易所手续费设置值",
  6491. "type": "number"
  6492. },
  6493. "closefeealgorithm": {
  6494. "description": "平仓手续费收取方式 1:比率 2:固定",
  6495. "type": "integer"
  6496. },
  6497. "closememberchargevalue": {
  6498. "description": "平仓会员手续费设置值",
  6499. "type": "number"
  6500. },
  6501. "closepl": {
  6502. "description": "平仓盈亏",
  6503. "type": "number"
  6504. },
  6505. "closepl2": {
  6506. "description": "平仓盈亏[逐笔]",
  6507. "type": "number"
  6508. },
  6509. "closeqty": {
  6510. "description": "平仓数量(先建后平操作 需要记录)",
  6511. "type": "integer"
  6512. },
  6513. "creditamount": {
  6514. "description": "授信金额",
  6515. "type": "number"
  6516. },
  6517. "gcaccountid": {
  6518. "description": "账户ID[合约币种]",
  6519. "type": "integer"
  6520. },
  6521. "goodscode": {
  6522. "description": "商品代码",
  6523. "type": "string"
  6524. },
  6525. "goodsid": {
  6526. "description": "商品ID",
  6527. "type": "integer"
  6528. },
  6529. "goodsname": {
  6530. "description": "商品名称",
  6531. "type": "string"
  6532. },
  6533. "histradedate": {
  6534. "description": "历史交易日",
  6535. "type": "string"
  6536. },
  6537. "intclosepl": {
  6538. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  6539. "type": "integer"
  6540. },
  6541. "isconfirmexercise": {
  6542. "description": "是否确认行权- 0:否 1:是",
  6543. "type": "integer"
  6544. },
  6545. "ismain": {
  6546. "description": "是否主单 - 0:不是 1:是",
  6547. "type": "integer"
  6548. },
  6549. "ispreexercise": {
  6550. "description": "是否预申报- 0:否 1:是",
  6551. "type": "integer"
  6552. },
  6553. "isreckoned": {
  6554. "description": "是否结算 - 0:未结算 1:已结算",
  6555. "type": "integer"
  6556. },
  6557. "isvaliddata": {
  6558. "description": "是否有效 - 0:无效 1:有效",
  6559. "type": "integer"
  6560. },
  6561. "listingselecttype": {
  6562. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  6563. "type": "integer"
  6564. },
  6565. "marketid": {
  6566. "description": "市场ID",
  6567. "type": "integer"
  6568. },
  6569. "marketname": {
  6570. "description": "市场名称",
  6571. "type": "string"
  6572. },
  6573. "matchaccountid": {
  6574. "description": "对手账号id",
  6575. "type": "integer"
  6576. },
  6577. "memberuserid": {
  6578. "description": "会员id 个人投资者 需要填写",
  6579. "type": "integer"
  6580. },
  6581. "opencharge": {
  6582. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  6583. "type": "number"
  6584. },
  6585. "openexchagechargevalue": {
  6586. "description": "建仓交易所手续费设置值",
  6587. "type": "number"
  6588. },
  6589. "openfeealgorithm": {
  6590. "description": "建仓手续费收取方式 1:比率 2:固定",
  6591. "type": "integer"
  6592. },
  6593. "openmemberchargevalue": {
  6594. "description": "建仓会员手续费设置值",
  6595. "type": "number"
  6596. },
  6597. "openqty": {
  6598. "description": "开仓数量(先建后平操作 需要记录)",
  6599. "type": "integer"
  6600. },
  6601. "optiontype": {
  6602. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  6603. "type": "integer"
  6604. },
  6605. "orderid": {
  6606. "description": "委托单号",
  6607. "type": "string"
  6608. },
  6609. "performanceplanid": {
  6610. "description": "履约计划ID[期权]",
  6611. "type": "integer"
  6612. },
  6613. "performancestatus": {
  6614. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  6615. "type": "integer"
  6616. },
  6617. "preexerciseprice": {
  6618. "description": "预申报价格",
  6619. "type": "number"
  6620. },
  6621. "premium": {
  6622. "description": "权利金 - [持仓单的权利金]",
  6623. "type": "number"
  6624. },
  6625. "relatedouttradeid": {
  6626. "description": "关联外部成交单ID",
  6627. "type": "integer"
  6628. },
  6629. "status": {
  6630. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  6631. "type": "integer"
  6632. },
  6633. "tradeamount": {
  6634. "description": "成交金额[账户币种,用于所有权]",
  6635. "type": "number"
  6636. },
  6637. "tradedate": {
  6638. "description": "交易日(yyyyMMdd)",
  6639. "type": "string"
  6640. },
  6641. "tradeid": {
  6642. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6643. "type": "string"
  6644. },
  6645. "trademode": {
  6646. "description": "交易模式",
  6647. "type": "integer"
  6648. },
  6649. "tradeprice": {
  6650. "description": "成交价格",
  6651. "type": "number"
  6652. },
  6653. "tradeproperty": {
  6654. "description": "交易属性",
  6655. "type": "integer"
  6656. },
  6657. "tradeqty": {
  6658. "description": "成交数量",
  6659. "type": "integer"
  6660. },
  6661. "tradetime": {
  6662. "description": "成交时间",
  6663. "type": "string"
  6664. },
  6665. "tradetype": {
  6666. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  6667. "type": "integer"
  6668. }
  6669. }
  6670. },
  6671. "order.QueryHisTradeOrderDetailRsp": {
  6672. "type": "object",
  6673. "required": [
  6674. "accountid",
  6675. "buildtype",
  6676. "buyorsell",
  6677. "goodsid",
  6678. "histradedate",
  6679. "marketid",
  6680. "memberuserid",
  6681. "operatetype",
  6682. "orderid",
  6683. "orderqty",
  6684. "ordertime",
  6685. "pricemode",
  6686. "tradedate",
  6687. "validtype"
  6688. ],
  6689. "properties": {
  6690. "accountid": {
  6691. "description": "账户ID[报价币种]",
  6692. "type": "integer"
  6693. },
  6694. "buildtype": {
  6695. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  6696. "type": "integer"
  6697. },
  6698. "buyorsell": {
  6699. "description": "买卖 - 0:买 1:卖",
  6700. "type": "integer"
  6701. },
  6702. "cancelorderid": {
  6703. "description": "撤单单号(撤单时填写)",
  6704. "type": "string"
  6705. },
  6706. "cancelqty": {
  6707. "description": "撤单数量",
  6708. "type": "integer"
  6709. },
  6710. "clientordertime": {
  6711. "description": "客户端委托时间",
  6712. "type": "string"
  6713. },
  6714. "clientticket": {
  6715. "description": "客户端流水号",
  6716. "type": "string"
  6717. },
  6718. "clienttype": {
  6719. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  6720. "type": "integer"
  6721. },
  6722. "closeexchagechargevalue": {
  6723. "description": "平仓交易所手续费设置值",
  6724. "type": "number"
  6725. },
  6726. "closefeealgorithm": {
  6727. "description": "平仓手续费收取方式 1:比率 2:固定",
  6728. "type": "integer"
  6729. },
  6730. "closefreezecharge": {
  6731. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  6732. "type": "number"
  6733. },
  6734. "closememberchargevalue": {
  6735. "description": "平仓会员手续费设置值",
  6736. "type": "number"
  6737. },
  6738. "closeqty": {
  6739. "description": "平仓数量(先建后平操作 需要记录)",
  6740. "type": "integer"
  6741. },
  6742. "closetradeqty": {
  6743. "description": "平仓成交数量(先建后平操作,需要记录)",
  6744. "type": "integer"
  6745. },
  6746. "closeunfreezecharge": {
  6747. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  6748. "type": "number"
  6749. },
  6750. "delistingtype": {
  6751. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  6752. "type": "integer"
  6753. },
  6754. "freezecharge": {
  6755. "description": "冻结手续费",
  6756. "type": "number"
  6757. },
  6758. "freezemargin": {
  6759. "description": "冻结保证金(冻结交易金额)",
  6760. "type": "number"
  6761. },
  6762. "gcaccountid": {
  6763. "description": "账户ID[合约币种]",
  6764. "type": "integer"
  6765. },
  6766. "goodscode": {
  6767. "description": "商品代码",
  6768. "type": "string"
  6769. },
  6770. "goodsid": {
  6771. "description": "商品ID",
  6772. "type": "integer"
  6773. },
  6774. "goodsname": {
  6775. "description": "商品名称",
  6776. "type": "string"
  6777. },
  6778. "histradedate": {
  6779. "description": "历史交易日",
  6780. "type": "string"
  6781. },
  6782. "isconfirmexercise": {
  6783. "description": "是否确认行权- 0:否 1:是",
  6784. "type": "integer"
  6785. },
  6786. "ispreexercise": {
  6787. "description": "是否预申报- 0:否 1:是",
  6788. "type": "integer"
  6789. },
  6790. "isvaliddata": {
  6791. "description": "是否有效 - 0:无效 1:有效",
  6792. "type": "integer"
  6793. },
  6794. "listingselecttype": {
  6795. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  6796. "type": "integer"
  6797. },
  6798. "marginalgorithm": {
  6799. "description": "保证金收取方式 1:比率 2:固定",
  6800. "type": "integer"
  6801. },
  6802. "marginvalue": {
  6803. "description": "即市保证金设置值",
  6804. "type": "number"
  6805. },
  6806. "marketid": {
  6807. "description": "市场ID",
  6808. "type": "integer"
  6809. },
  6810. "marketmaxsub": {
  6811. "description": "市价最大偏移范围",
  6812. "type": "number"
  6813. },
  6814. "marketname": {
  6815. "description": "市场名称",
  6816. "type": "string"
  6817. },
  6818. "memberuserid": {
  6819. "description": "所属会员UserID",
  6820. "type": "integer"
  6821. },
  6822. "openexchagechargevalue": {
  6823. "description": "建仓交易所手续费设置值",
  6824. "type": "number"
  6825. },
  6826. "openfeealgorithm": {
  6827. "description": "建仓手续费收取方式 1:比率 2:固定",
  6828. "type": "integer"
  6829. },
  6830. "openfreezecharge": {
  6831. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  6832. "type": "number"
  6833. },
  6834. "openmemberchargevalue": {
  6835. "description": "建仓会员手续费设置值",
  6836. "type": "number"
  6837. },
  6838. "openqty": {
  6839. "description": "开仓数量(先建后平操作,需要记录)",
  6840. "type": "integer"
  6841. },
  6842. "opentradeqty": {
  6843. "description": "开仓成交数量(先建后平操作,需要记录)",
  6844. "type": "integer"
  6845. },
  6846. "openunfreezecharge": {
  6847. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  6848. "type": "number"
  6849. },
  6850. "operatetype": {
  6851. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  6852. "type": "integer"
  6853. },
  6854. "operatorid": {
  6855. "description": "登录账号(LoginID)",
  6856. "type": "integer"
  6857. },
  6858. "optiontype": {
  6859. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  6860. "type": "integer"
  6861. },
  6862. "orderid": {
  6863. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6864. "type": "string"
  6865. },
  6866. "orderprice": {
  6867. "description": "委托价格",
  6868. "type": "number"
  6869. },
  6870. "orderqty": {
  6871. "description": "委托数量",
  6872. "type": "integer"
  6873. },
  6874. "ordersrc": {
  6875. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  6876. "type": "integer"
  6877. },
  6878. "orderstatus": {
  6879. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  6880. "type": "integer"
  6881. },
  6882. "ordertime": {
  6883. "description": "委托时间",
  6884. "type": "string"
  6885. },
  6886. "preexerciseprice": {
  6887. "description": "预申报价格",
  6888. "type": "number"
  6889. },
  6890. "premium": {
  6891. "description": "权利金",
  6892. "type": "number"
  6893. },
  6894. "preorderid": {
  6895. "description": "关联预埋单号(止盈止损单时填写)",
  6896. "type": "string"
  6897. },
  6898. "pricemode": {
  6899. "description": "取价方式 - 1:市价 2: 限价",
  6900. "type": "integer"
  6901. },
  6902. "quoteid": {
  6903. "description": "报价单ID",
  6904. "type": "integer"
  6905. },
  6906. "relatedid": {
  6907. "description": "关联单号(交割单)",
  6908. "type": "string"
  6909. },
  6910. "retcode": {
  6911. "description": "错误代码",
  6912. "type": "integer"
  6913. },
  6914. "sessionid": {
  6915. "description": "会话ID",
  6916. "type": "integer"
  6917. },
  6918. "tradedate": {
  6919. "description": "交易日(yyyyMMdd)",
  6920. "type": "string"
  6921. },
  6922. "trademode": {
  6923. "description": "交易模式",
  6924. "type": "integer"
  6925. },
  6926. "tradeproperty": {
  6927. "description": "交易属性",
  6928. "type": "integer"
  6929. },
  6930. "tradeqty": {
  6931. "description": "成交数量",
  6932. "type": "integer"
  6933. },
  6934. "unfreezecharge": {
  6935. "description": "解冻手续费",
  6936. "type": "number"
  6937. },
  6938. "unfreezemargin": {
  6939. "description": "解冻保证金",
  6940. "type": "number"
  6941. },
  6942. "updatetime": {
  6943. "description": "更新时间",
  6944. "type": "string"
  6945. },
  6946. "uuid": {
  6947. "description": "发起端唯一id",
  6948. "type": "string"
  6949. },
  6950. "validtime": {
  6951. "description": "有效期限",
  6952. "type": "string"
  6953. },
  6954. "validtype": {
  6955. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  6956. "type": "integer"
  6957. },
  6958. "volumetype": {
  6959. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  6960. "type": "integer"
  6961. }
  6962. }
  6963. },
  6964. "order.QueryTradeDetailRsp": {
  6965. "type": "object",
  6966. "required": [
  6967. "accountid",
  6968. "buyorsell",
  6969. "goodsid",
  6970. "marketid",
  6971. "memberuserid",
  6972. "orderid",
  6973. "tradeamount",
  6974. "tradedate",
  6975. "tradeid",
  6976. "tradeprice",
  6977. "tradeqty",
  6978. "tradetime"
  6979. ],
  6980. "properties": {
  6981. "accountid": {
  6982. "description": "账户ID[报价币种]",
  6983. "type": "integer"
  6984. },
  6985. "buildtype": {
  6986. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  6987. "type": "integer"
  6988. },
  6989. "buyorsell": {
  6990. "description": "方向 - 0:买 1:卖",
  6991. "type": "integer"
  6992. },
  6993. "charge": {
  6994. "description": "手续费",
  6995. "type": "number"
  6996. },
  6997. "closecharge": {
  6998. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  6999. "type": "number"
  7000. },
  7001. "closeexchagechargevalue": {
  7002. "description": "平仓交易所手续费设置值",
  7003. "type": "number"
  7004. },
  7005. "closefeealgorithm": {
  7006. "description": "平仓手续费收取方式 1:比率 2:固定",
  7007. "type": "integer"
  7008. },
  7009. "closememberchargevalue": {
  7010. "description": "平仓会员手续费设置值",
  7011. "type": "number"
  7012. },
  7013. "closepl": {
  7014. "description": "平仓盈亏",
  7015. "type": "number"
  7016. },
  7017. "closepl2": {
  7018. "description": "平仓盈亏[逐笔]",
  7019. "type": "number"
  7020. },
  7021. "closeqty": {
  7022. "description": "平仓数量(先建后平操作 需要记录)",
  7023. "type": "integer"
  7024. },
  7025. "creditamount": {
  7026. "description": "授信金额",
  7027. "type": "number"
  7028. },
  7029. "gcaccountid": {
  7030. "description": "账户ID[合约币种]",
  7031. "type": "integer"
  7032. },
  7033. "goodscode": {
  7034. "description": "商品代码",
  7035. "type": "string"
  7036. },
  7037. "goodsid": {
  7038. "description": "商品ID",
  7039. "type": "integer"
  7040. },
  7041. "goodsname": {
  7042. "description": "商品名称",
  7043. "type": "string"
  7044. },
  7045. "intclosepl": {
  7046. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  7047. "type": "integer"
  7048. },
  7049. "isconfirmexercise": {
  7050. "description": "是否确认行权- 0:否 1:是",
  7051. "type": "integer"
  7052. },
  7053. "ismain": {
  7054. "description": "是否主单 - 0:不是 1:是",
  7055. "type": "integer"
  7056. },
  7057. "ispreexercise": {
  7058. "description": "是否预申报- 0:否 1:是",
  7059. "type": "integer"
  7060. },
  7061. "isreckoned": {
  7062. "description": "是否结算 - 0:未结算 1:已结算",
  7063. "type": "integer"
  7064. },
  7065. "listingselecttype": {
  7066. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7067. "type": "integer"
  7068. },
  7069. "marketid": {
  7070. "description": "市场ID",
  7071. "type": "integer"
  7072. },
  7073. "marketname": {
  7074. "description": "市场名称",
  7075. "type": "string"
  7076. },
  7077. "matchaccountid": {
  7078. "description": "对手账号id",
  7079. "type": "integer"
  7080. },
  7081. "memberuserid": {
  7082. "description": "会员id 个人投资者 需要填写",
  7083. "type": "integer"
  7084. },
  7085. "opencharge": {
  7086. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  7087. "type": "number"
  7088. },
  7089. "openexchagechargevalue": {
  7090. "description": "建仓交易所手续费设置值",
  7091. "type": "number"
  7092. },
  7093. "openfeealgorithm": {
  7094. "description": "建仓手续费收取方式 1:比率 2:固定",
  7095. "type": "integer"
  7096. },
  7097. "openmemberchargevalue": {
  7098. "description": "建仓会员手续费设置值",
  7099. "type": "number"
  7100. },
  7101. "openqty": {
  7102. "description": "开仓数量(先建后平操作 需要记录)",
  7103. "type": "integer"
  7104. },
  7105. "optiontype": {
  7106. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  7107. "type": "integer"
  7108. },
  7109. "orderid": {
  7110. "description": "委托单号",
  7111. "type": "string"
  7112. },
  7113. "performanceplanid": {
  7114. "description": "履约计划ID[期权]",
  7115. "type": "integer"
  7116. },
  7117. "performancestatus": {
  7118. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  7119. "type": "integer"
  7120. },
  7121. "preexerciseprice": {
  7122. "description": "预申报价格",
  7123. "type": "number"
  7124. },
  7125. "premium": {
  7126. "description": "权利金 - [持仓单的权利金]",
  7127. "type": "number"
  7128. },
  7129. "relatedouttradeid": {
  7130. "description": "关联外部成交单ID",
  7131. "type": "integer"
  7132. },
  7133. "status": {
  7134. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  7135. "type": "integer"
  7136. },
  7137. "tradeamount": {
  7138. "description": "成交金额[账户币种,用于所有权]",
  7139. "type": "number"
  7140. },
  7141. "tradedate": {
  7142. "description": "交易日(yyyyMMdd)",
  7143. "type": "string"
  7144. },
  7145. "tradeid": {
  7146. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7147. "type": "string"
  7148. },
  7149. "trademode": {
  7150. "description": "交易模式",
  7151. "type": "integer"
  7152. },
  7153. "tradeprice": {
  7154. "description": "成交价格",
  7155. "type": "number"
  7156. },
  7157. "tradeproperty": {
  7158. "description": "交易属性",
  7159. "type": "integer"
  7160. },
  7161. "tradeqty": {
  7162. "description": "成交数量",
  7163. "type": "integer"
  7164. },
  7165. "tradetime": {
  7166. "description": "成交时间",
  7167. "type": "string"
  7168. },
  7169. "tradetype": {
  7170. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  7171. "type": "integer"
  7172. }
  7173. }
  7174. },
  7175. "order.QueryTradeOrderDetailRsp": {
  7176. "type": "object",
  7177. "required": [
  7178. "accountid",
  7179. "buildtype",
  7180. "buyorsell",
  7181. "goodsid",
  7182. "marketid",
  7183. "operatetype",
  7184. "orderqty",
  7185. "ordertime",
  7186. "pricemode",
  7187. "tradedate",
  7188. "validtype"
  7189. ],
  7190. "properties": {
  7191. "accountid": {
  7192. "description": "账户ID[报价币种]",
  7193. "type": "integer"
  7194. },
  7195. "buildtype": {
  7196. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  7197. "type": "integer"
  7198. },
  7199. "buyorsell": {
  7200. "description": "买卖 - 0:买 1:卖",
  7201. "type": "integer"
  7202. },
  7203. "cancelorderid": {
  7204. "description": "撤单单号(撤单时填写)",
  7205. "type": "string"
  7206. },
  7207. "cancelqty": {
  7208. "description": "撤单数量",
  7209. "type": "integer"
  7210. },
  7211. "clienttype": {
  7212. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  7213. "type": "integer"
  7214. },
  7215. "closefreezecharge": {
  7216. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  7217. "type": "number"
  7218. },
  7219. "closeqty": {
  7220. "description": "平仓数量(先建后平操作 需要记录)",
  7221. "type": "integer"
  7222. },
  7223. "closetradeqty": {
  7224. "description": "平仓成交数量(先建后平操作,需要记录)",
  7225. "type": "integer"
  7226. },
  7227. "closeunfreezecharge": {
  7228. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  7229. "type": "number"
  7230. },
  7231. "delistingtype": {
  7232. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  7233. "type": "integer"
  7234. },
  7235. "enableqty": {
  7236. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  7237. "type": "integer"
  7238. },
  7239. "freezecharge": {
  7240. "description": "冻结手续费",
  7241. "type": "number"
  7242. },
  7243. "freezemargin": {
  7244. "description": "冻结保证金(冻结交易金额)",
  7245. "type": "number"
  7246. },
  7247. "goodscode": {
  7248. "description": "商品代码",
  7249. "type": "string"
  7250. },
  7251. "goodsid": {
  7252. "description": "商品ID",
  7253. "type": "integer"
  7254. },
  7255. "goodsname": {
  7256. "description": "商品名称",
  7257. "type": "string"
  7258. },
  7259. "listingselecttype": {
  7260. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7261. "type": "integer"
  7262. },
  7263. "marketid": {
  7264. "description": "市场ID",
  7265. "type": "integer"
  7266. },
  7267. "marketname": {
  7268. "description": "市场名称",
  7269. "type": "string"
  7270. },
  7271. "openfreezecharge": {
  7272. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  7273. "type": "number"
  7274. },
  7275. "openqty": {
  7276. "description": "开仓数量(先建后平操作,需要记录)",
  7277. "type": "integer"
  7278. },
  7279. "opentradeqty": {
  7280. "description": "开仓成交数量(先建后平操作,需要记录)",
  7281. "type": "integer"
  7282. },
  7283. "openunfreezecharge": {
  7284. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  7285. "type": "number"
  7286. },
  7287. "operatetype": {
  7288. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  7289. "type": "integer"
  7290. },
  7291. "operatorid": {
  7292. "description": "登录账号(LoginID)",
  7293. "type": "integer"
  7294. },
  7295. "orderid": {
  7296. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7297. "type": "string"
  7298. },
  7299. "orderprice": {
  7300. "description": "委托价格",
  7301. "type": "number"
  7302. },
  7303. "orderqty": {
  7304. "description": "委托数量",
  7305. "type": "integer"
  7306. },
  7307. "ordersrc": {
  7308. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  7309. "type": "integer"
  7310. },
  7311. "orderstatus": {
  7312. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7313. "type": "integer"
  7314. },
  7315. "ordertime": {
  7316. "description": "委托时间",
  7317. "type": "string"
  7318. },
  7319. "preorderid": {
  7320. "description": "关联预埋单号(止盈止损单时填写)",
  7321. "type": "string"
  7322. },
  7323. "pricemode": {
  7324. "description": "取价方式 - 1:市价 2: 限价",
  7325. "type": "integer"
  7326. },
  7327. "relatedid": {
  7328. "description": "关联单号(交割单)",
  7329. "type": "string"
  7330. },
  7331. "tradedate": {
  7332. "description": "交易日(yyyyMMdd)",
  7333. "type": "string"
  7334. },
  7335. "trademode": {
  7336. "description": "交易模式",
  7337. "type": "integer"
  7338. },
  7339. "tradeqty": {
  7340. "description": "成交数量",
  7341. "type": "integer"
  7342. },
  7343. "unfreezecharge": {
  7344. "description": "解冻手续费",
  7345. "type": "number"
  7346. },
  7347. "unfreezemargin": {
  7348. "description": "解冻保证金",
  7349. "type": "number"
  7350. },
  7351. "validtime": {
  7352. "description": "有效期限",
  7353. "type": "string"
  7354. },
  7355. "validtype": {
  7356. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  7357. "type": "integer"
  7358. },
  7359. "volumetype": {
  7360. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  7361. "type": "integer"
  7362. }
  7363. }
  7364. },
  7365. "order.QueryTradePositionRsp": {
  7366. "type": "object",
  7367. "required": [
  7368. "goodsid"
  7369. ],
  7370. "properties": {
  7371. "accountid": {
  7372. "description": "资金账户",
  7373. "type": "integer"
  7374. },
  7375. "agreeunit": {
  7376. "description": "合约单位",
  7377. "type": "number"
  7378. },
  7379. "averageprice": {
  7380. "description": "持仓均价",
  7381. "type": "number"
  7382. },
  7383. "buyorsell": {
  7384. "description": "方向 - 0:买 1:卖",
  7385. "type": "integer"
  7386. },
  7387. "closetotalqty": {
  7388. "description": "平仓总数量",
  7389. "type": "integer"
  7390. },
  7391. "curholderamount": {
  7392. "description": "当前持仓总金额[商品币种]",
  7393. "type": "number"
  7394. },
  7395. "curpositionqty": {
  7396. "description": "当前持仓总数量",
  7397. "type": "integer"
  7398. },
  7399. "currencyid": {
  7400. "description": "报价货币ID",
  7401. "type": "integer"
  7402. },
  7403. "curtdposition": {
  7404. "description": "期末今日头寸",
  7405. "type": "integer"
  7406. },
  7407. "decimalplace": {
  7408. "description": "报价小数位",
  7409. "type": "integer"
  7410. },
  7411. "enableqty": {
  7412. "description": "可用量",
  7413. "type": "integer"
  7414. },
  7415. "fretdposition": {
  7416. "description": "冻结今日头寸",
  7417. "type": "integer"
  7418. },
  7419. "frozenqty": {
  7420. "description": "持仓冻结数量",
  7421. "type": "integer"
  7422. },
  7423. "goodscode": {
  7424. "description": "商品代码",
  7425. "type": "string"
  7426. },
  7427. "goodsid": {
  7428. "description": "商品Id",
  7429. "type": "integer"
  7430. },
  7431. "goodsname": {
  7432. "description": "商品名称",
  7433. "type": "string"
  7434. },
  7435. "goodunit": {
  7436. "description": "报价单位",
  7437. "type": "string"
  7438. },
  7439. "goodunitid": {
  7440. "description": "报价单位ID",
  7441. "type": "integer"
  7442. },
  7443. "holderamount": {
  7444. "description": "期初持仓总金额[商品币种]",
  7445. "type": "number"
  7446. },
  7447. "marketid": {
  7448. "description": "所属市场ID",
  7449. "type": "integer"
  7450. },
  7451. "openreqqty": {
  7452. "description": "开仓申请数量(用于比较最大持仓数量)",
  7453. "type": "integer"
  7454. },
  7455. "opentotalqty": {
  7456. "description": "开仓总数量",
  7457. "type": "integer"
  7458. },
  7459. "otherfrozenqty": {
  7460. "description": "持仓其他冻结数量(交割冻结)",
  7461. "type": "integer"
  7462. },
  7463. "positionqty": {
  7464. "description": "期初持仓数量",
  7465. "type": "integer"
  7466. },
  7467. "tnqty": {
  7468. "description": "T+N冻结总量",
  7469. "type": "integer"
  7470. },
  7471. "tnusedqty": {
  7472. "description": "T+N使用量(可以使用T+N的冻结数量)",
  7473. "type": "integer"
  7474. },
  7475. "trademode": {
  7476. "description": "交易模式",
  7477. "type": "integer"
  7478. },
  7479. "usedmargin": {
  7480. "description": "占用保证金[商品币种]",
  7481. "type": "number"
  7482. }
  7483. }
  7484. },
  7485. "quote.HistoryData": {
  7486. "type": "object",
  7487. "properties": {
  7488. "c": {
  7489. "description": "收盘价",
  7490. "type": "number"
  7491. },
  7492. "h": {
  7493. "description": "最高价",
  7494. "type": "number"
  7495. },
  7496. "hv": {
  7497. "description": "持仓量",
  7498. "type": "integer"
  7499. },
  7500. "l": {
  7501. "description": "最低价",
  7502. "type": "number"
  7503. },
  7504. "o": {
  7505. "description": "开盘价",
  7506. "type": "number"
  7507. },
  7508. "s": {
  7509. "description": "结算价,日线周期(包括)以上才有",
  7510. "type": "number"
  7511. },
  7512. "ts": {
  7513. "description": "时间",
  7514. "type": "string"
  7515. },
  7516. "tt": {
  7517. "description": "总金额",
  7518. "type": "number"
  7519. },
  7520. "tv": {
  7521. "description": "总量",
  7522. "type": "integer"
  7523. }
  7524. }
  7525. },
  7526. "quote.QueryTSDataRsp": {
  7527. "type": "object",
  7528. "properties": {
  7529. "decimalPlace": {
  7530. "description": "小数位",
  7531. "type": "integer"
  7532. },
  7533. "endTime": {
  7534. "description": "结束时间",
  7535. "type": "string"
  7536. },
  7537. "goodsCode": {
  7538. "description": "商品代码",
  7539. "type": "string"
  7540. },
  7541. "historyDatas": {
  7542. "description": "历史数据",
  7543. "type": "array",
  7544. "items": {
  7545. "$ref": "#/definitions/quote.HistoryData"
  7546. }
  7547. },
  7548. "preSettle": {
  7549. "description": "昨结",
  7550. "type": "number"
  7551. },
  7552. "startTime": {
  7553. "description": "开始时间",
  7554. "type": "string"
  7555. },
  7556. "tradeDate": {
  7557. "description": "交易日",
  7558. "type": "string"
  7559. }
  7560. }
  7561. },
  7562. "szdz.QueryConvertLogRsp": {
  7563. "type": "object",
  7564. "required": [
  7565. "logid"
  7566. ],
  7567. "properties": {
  7568. "accountid": {
  7569. "description": "资金账户ID",
  7570. "type": "integer"
  7571. },
  7572. "clientticket": {
  7573. "description": "客户端流水号",
  7574. "type": "string"
  7575. },
  7576. "converttype": {
  7577. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  7578. "type": "integer"
  7579. },
  7580. "createtime": {
  7581. "description": "记账时间",
  7582. "type": "string"
  7583. },
  7584. "daymaxvalue": {
  7585. "description": "配置当日最大转入限制",
  7586. "type": "number"
  7587. },
  7588. "daymaxvalue2": {
  7589. "description": "配置当日最大转入限制(转入)",
  7590. "type": "number"
  7591. },
  7592. "goodscode": {
  7593. "description": "商品代码",
  7594. "type": "string"
  7595. },
  7596. "goodsname": {
  7597. "description": "商品名称",
  7598. "type": "string"
  7599. },
  7600. "handlestatus": {
  7601. "description": "处理状态",
  7602. "type": "integer"
  7603. },
  7604. "innergoodsid": {
  7605. "description": "内部商品ID",
  7606. "type": "integer"
  7607. },
  7608. "inratio": {
  7609. "description": "配置转入比值",
  7610. "type": "integer"
  7611. },
  7612. "invalue": {
  7613. "description": "目标值",
  7614. "type": "number"
  7615. },
  7616. "logid": {
  7617. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7618. "type": "integer"
  7619. },
  7620. "mobile": {
  7621. "description": "手机号码(加密存储)",
  7622. "type": "string"
  7623. },
  7624. "outergoodscode": {
  7625. "description": "外部商品代码[JD\\PD]",
  7626. "type": "string"
  7627. },
  7628. "outratio": {
  7629. "description": "配置转出比值",
  7630. "type": "integer"
  7631. },
  7632. "outvalue": {
  7633. "description": "源值",
  7634. "type": "number"
  7635. },
  7636. "pddecimalplace": {
  7637. "description": "PD小数位",
  7638. "type": "integer"
  7639. },
  7640. "qty": {
  7641. "description": "数量",
  7642. "type": "string"
  7643. },
  7644. "remark": {
  7645. "description": "备注",
  7646. "type": "string"
  7647. },
  7648. "sessionid": {
  7649. "description": "会话ID",
  7650. "type": "integer"
  7651. },
  7652. "timemaxvalue": {
  7653. "description": "配置单次最大转入限制",
  7654. "type": "number"
  7655. },
  7656. "timemaxvalue2": {
  7657. "description": "配置单次最大转入限制(转入)",
  7658. "type": "number"
  7659. },
  7660. "timeminvalue": {
  7661. "description": "配置单次最小数量限制",
  7662. "type": "number"
  7663. },
  7664. "timeminvalue2": {
  7665. "description": "配置单次最小数量限制(转入)",
  7666. "type": "number"
  7667. },
  7668. "tradedate": {
  7669. "description": "交易日(yyyyMMdd)",
  7670. "type": "string"
  7671. },
  7672. "userid": {
  7673. "description": "用户ID",
  7674. "type": "integer"
  7675. }
  7676. }
  7677. },
  7678. "szdz.QueryGoodsPickupRsp": {
  7679. "type": "object",
  7680. "required": [
  7681. "takeorderid"
  7682. ],
  7683. "properties": {
  7684. "accountid": {
  7685. "description": "账户ID",
  7686. "type": "integer"
  7687. },
  7688. "address": {
  7689. "description": "提货人详细地址",
  7690. "type": "string"
  7691. },
  7692. "auditer": {
  7693. "description": "审核人",
  7694. "type": "integer"
  7695. },
  7696. "audittime": {
  7697. "description": "审核时间",
  7698. "type": "string"
  7699. },
  7700. "cardnum": {
  7701. "description": "提货人证件号码",
  7702. "type": "string"
  7703. },
  7704. "cardtypeid": {
  7705. "description": "提货人证件类型",
  7706. "type": "integer"
  7707. },
  7708. "checkremark": {
  7709. "description": "审核备注",
  7710. "type": "string"
  7711. },
  7712. "goodscode": {
  7713. "description": "商品代码",
  7714. "type": "string"
  7715. },
  7716. "goodsid": {
  7717. "description": "商品ID",
  7718. "type": "integer"
  7719. },
  7720. "goodsname": {
  7721. "description": "商品名称",
  7722. "type": "string"
  7723. },
  7724. "handlestatus": {
  7725. "description": "处理状态",
  7726. "type": "integer"
  7727. },
  7728. "marketid": {
  7729. "description": "市场ID",
  7730. "type": "integer"
  7731. },
  7732. "phonenum": {
  7733. "description": "提货人联系方式",
  7734. "type": "string"
  7735. },
  7736. "qty": {
  7737. "description": "提货数量",
  7738. "type": "number"
  7739. },
  7740. "recivername": {
  7741. "description": "提货人姓名",
  7742. "type": "string"
  7743. },
  7744. "reqtime": {
  7745. "description": "更新时间",
  7746. "type": "string"
  7747. },
  7748. "takemode": {
  7749. "description": "提货方式 - 2:自提 3:配送",
  7750. "type": "integer"
  7751. },
  7752. "takeorderid": {
  7753. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  7754. "type": "string"
  7755. },
  7756. "takeorderstatus": {
  7757. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7758. "type": "integer"
  7759. },
  7760. "takeremark": {
  7761. "description": "提货备注",
  7762. "type": "string"
  7763. },
  7764. "tradedate": {
  7765. "description": "交易日(yyyyMMdd)",
  7766. "type": "string"
  7767. },
  7768. "userid": {
  7769. "description": "用户ID",
  7770. "type": "integer"
  7771. }
  7772. }
  7773. },
  7774. "szdz.QueryRecieptOrderRsp": {
  7775. "type": "object",
  7776. "properties": {
  7777. "accountName": {
  7778. "description": "所属账号名称(已脱敏)",
  7779. "type": "string"
  7780. },
  7781. "accountid": {
  7782. "description": "资金账号",
  7783. "type": "integer"
  7784. },
  7785. "buyorsell": {
  7786. "description": "方向 - 0:买 1:卖",
  7787. "type": "integer"
  7788. },
  7789. "enableqty": {
  7790. "description": "可摘数量",
  7791. "type": "integer"
  7792. },
  7793. "goodscode": {
  7794. "description": "商品代码",
  7795. "type": "string"
  7796. },
  7797. "goodsid": {
  7798. "description": "商品ID",
  7799. "type": "integer"
  7800. },
  7801. "goodsname": {
  7802. "description": "商品名称",
  7803. "type": "string"
  7804. },
  7805. "orderid": {
  7806. "description": "委托单号",
  7807. "type": "string"
  7808. },
  7809. "orderprice": {
  7810. "description": "委托价格",
  7811. "type": "number"
  7812. },
  7813. "tradedate": {
  7814. "description": "交易日(yyyyMMdd)",
  7815. "type": "string"
  7816. }
  7817. }
  7818. },
  7819. "szdz.QuerySZDZTradePositionRsp": {
  7820. "type": "object",
  7821. "properties": {
  7822. "accountid": {
  7823. "description": "账号Id",
  7824. "type": "integer"
  7825. },
  7826. "agreeunit": {
  7827. "description": "合约单位",
  7828. "type": "number"
  7829. },
  7830. "averageprice": {
  7831. "description": "持仓均价",
  7832. "type": "number"
  7833. },
  7834. "buyorsell": {
  7835. "description": "方向 - 0:买 1:卖",
  7836. "type": "integer"
  7837. },
  7838. "closetotalqty": {
  7839. "description": "平仓总数量",
  7840. "type": "integer"
  7841. },
  7842. "curholderamount": {
  7843. "description": "当前持仓总金额",
  7844. "type": "number"
  7845. },
  7846. "curpositionqty": {
  7847. "description": "当前持仓总数量",
  7848. "type": "integer"
  7849. },
  7850. "currencyid": {
  7851. "description": "报价货币ID",
  7852. "type": "integer"
  7853. },
  7854. "curtdposition": {
  7855. "description": "期末今日头寸",
  7856. "type": "integer"
  7857. },
  7858. "decimalplace": {
  7859. "description": "报价小数位",
  7860. "type": "integer"
  7861. },
  7862. "enableqty": {
  7863. "description": "可用量",
  7864. "type": "integer"
  7865. },
  7866. "fretdposition": {
  7867. "description": "冻结今日头寸",
  7868. "type": "integer"
  7869. },
  7870. "frozenqty": {
  7871. "description": "持仓冻结数量",
  7872. "type": "integer"
  7873. },
  7874. "goodscode": {
  7875. "description": "商品代码(内部)",
  7876. "type": "string"
  7877. },
  7878. "goodsid": {
  7879. "description": "商品Id",
  7880. "type": "integer"
  7881. },
  7882. "goodsname": {
  7883. "description": "商品名称",
  7884. "type": "string"
  7885. },
  7886. "goodunit": {
  7887. "description": "报价单位",
  7888. "type": "string"
  7889. },
  7890. "goodunitid": {
  7891. "description": "报价单位ID",
  7892. "type": "integer"
  7893. },
  7894. "holderamount": {
  7895. "description": "期初持仓总金额",
  7896. "type": "number"
  7897. },
  7898. "marketid": {
  7899. "description": "市场ID",
  7900. "type": "integer"
  7901. },
  7902. "openreqqty": {
  7903. "description": "开仓申请数量",
  7904. "type": "integer"
  7905. },
  7906. "opentotalqty": {
  7907. "description": "开仓总数量",
  7908. "type": "integer"
  7909. },
  7910. "otherfrozenqty": {
  7911. "description": "持仓其他冻结数量(交割冻结)",
  7912. "type": "integer"
  7913. },
  7914. "positionqty": {
  7915. "description": "期初持仓数量",
  7916. "type": "integer"
  7917. },
  7918. "szdz3freezqty": {
  7919. "description": "尚志大宗转换冻结总数量",
  7920. "type": "integer"
  7921. },
  7922. "tnqty": {
  7923. "description": "T+N冻结总量",
  7924. "type": "integer"
  7925. },
  7926. "tnusedqty": {
  7927. "description": "T+N使用量",
  7928. "type": "integer"
  7929. },
  7930. "trademode": {
  7931. "description": "交易模式",
  7932. "type": "integer"
  7933. },
  7934. "usedmargin": {
  7935. "description": "占用保证金",
  7936. "type": "number"
  7937. }
  7938. }
  7939. },
  7940. "taaccount.QueryAmountLogRsp": {
  7941. "type": "object",
  7942. "required": [
  7943. "accountid",
  7944. "amount",
  7945. "amountadjusttype",
  7946. "autoid",
  7947. "balance",
  7948. "createtime",
  7949. "currentbalance",
  7950. "operatetype"
  7951. ],
  7952. "properties": {
  7953. "OPERATETYPENAME": {
  7954. "description": "资金操作类型名称",
  7955. "type": "string"
  7956. },
  7957. "accountid": {
  7958. "description": "资金账户ID",
  7959. "type": "integer"
  7960. },
  7961. "agoodscode": {
  7962. "description": "竞拍商品代码",
  7963. "type": "string"
  7964. },
  7965. "agoodsname": {
  7966. "description": "竞拍商品名称",
  7967. "type": "string"
  7968. },
  7969. "amount": {
  7970. "description": "资金金额",
  7971. "type": "number"
  7972. },
  7973. "amountadjusttype": {
  7974. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  7975. "type": "integer"
  7976. },
  7977. "autoid": {
  7978. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  7979. "type": "integer"
  7980. },
  7981. "balance": {
  7982. "description": "期初余额",
  7983. "type": "number"
  7984. },
  7985. "businesscode": {
  7986. "description": "业务编号",
  7987. "type": "integer"
  7988. },
  7989. "createtime": {
  7990. "description": "发生时间",
  7991. "type": "string"
  7992. },
  7993. "currencyid": {
  7994. "description": "币种ID",
  7995. "type": "integer"
  7996. },
  7997. "currentbalance": {
  7998. "description": "期末余额(变动后金额)",
  7999. "type": "number"
  8000. },
  8001. "dgoodscode": {
  8002. "description": "交割商品代码",
  8003. "type": "string"
  8004. },
  8005. "dgoodsname": {
  8006. "description": "交割商品名称",
  8007. "type": "string"
  8008. },
  8009. "goodscode": {
  8010. "description": "商品代码",
  8011. "type": "string"
  8012. },
  8013. "goodsid": {
  8014. "description": "商品ID",
  8015. "type": "integer"
  8016. },
  8017. "goodsname": {
  8018. "description": "商品名称",
  8019. "type": "string"
  8020. },
  8021. "marketid": {
  8022. "description": "市场ID",
  8023. "type": "integer"
  8024. },
  8025. "marketname": {
  8026. "description": "市场名称",
  8027. "type": "string"
  8028. },
  8029. "moneyticket": {
  8030. "description": "资金流水号:银行端流水号",
  8031. "type": "integer"
  8032. },
  8033. "operatetype": {
  8034. "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:营销收款",
  8035. "type": "integer"
  8036. },
  8037. "relationorderid": {
  8038. "description": "关联单号",
  8039. "type": "string"
  8040. },
  8041. "remark": {
  8042. "description": "备注",
  8043. "type": "string"
  8044. },
  8045. "trademode": {
  8046. "description": "交易模式",
  8047. "type": "integer"
  8048. }
  8049. }
  8050. },
  8051. "taaccount.QueryHisAmountLogRsp": {
  8052. "type": "object",
  8053. "required": [
  8054. "accountid",
  8055. "amount",
  8056. "amountadjusttype",
  8057. "autoid",
  8058. "balance",
  8059. "createtime",
  8060. "currentbalance",
  8061. "histradedate",
  8062. "operatetype"
  8063. ],
  8064. "properties": {
  8065. "OPERATETYPENAME": {
  8066. "description": "资金操作类型名称",
  8067. "type": "string"
  8068. },
  8069. "accountid": {
  8070. "description": "资金账户ID",
  8071. "type": "integer"
  8072. },
  8073. "agoodscode": {
  8074. "description": "竞拍商品代码",
  8075. "type": "string"
  8076. },
  8077. "agoodsname": {
  8078. "description": "竞拍商品名称",
  8079. "type": "string"
  8080. },
  8081. "amount": {
  8082. "description": "资金金额",
  8083. "type": "number"
  8084. },
  8085. "amountadjusttype": {
  8086. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  8087. "type": "integer"
  8088. },
  8089. "autoid": {
  8090. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  8091. "type": "integer"
  8092. },
  8093. "balance": {
  8094. "description": "期初余额",
  8095. "type": "number"
  8096. },
  8097. "businesscode": {
  8098. "description": "业务编号",
  8099. "type": "integer"
  8100. },
  8101. "createtime": {
  8102. "description": "发生时间",
  8103. "type": "string"
  8104. },
  8105. "currencyid": {
  8106. "description": "币种ID",
  8107. "type": "integer"
  8108. },
  8109. "currentbalance": {
  8110. "description": "期末余额(变动后金额)",
  8111. "type": "number"
  8112. },
  8113. "dgoodscode": {
  8114. "description": "交割商品代码",
  8115. "type": "string"
  8116. },
  8117. "dgoodsname": {
  8118. "description": "交割商品名称",
  8119. "type": "string"
  8120. },
  8121. "goodscode": {
  8122. "description": "商品代码",
  8123. "type": "string"
  8124. },
  8125. "goodsid": {
  8126. "description": "商品ID",
  8127. "type": "integer"
  8128. },
  8129. "goodsname": {
  8130. "description": "商品名称",
  8131. "type": "string"
  8132. },
  8133. "histradedate": {
  8134. "description": "历史交易日",
  8135. "type": "string"
  8136. },
  8137. "isvaliddata": {
  8138. "description": "是否有效 - 0:无效 1:有效",
  8139. "type": "integer"
  8140. },
  8141. "marketid": {
  8142. "description": "市场ID",
  8143. "type": "integer"
  8144. },
  8145. "marketname": {
  8146. "description": "市场名称",
  8147. "type": "string"
  8148. },
  8149. "moneyticket": {
  8150. "description": "资金流水号:银行端流水号",
  8151. "type": "integer"
  8152. },
  8153. "operatetype": {
  8154. "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:营销收款",
  8155. "type": "integer"
  8156. },
  8157. "relationorderid": {
  8158. "description": "关联单号",
  8159. "type": "string"
  8160. },
  8161. "remark": {
  8162. "description": "备注",
  8163. "type": "string"
  8164. },
  8165. "trademode": {
  8166. "description": "交易模式",
  8167. "type": "integer"
  8168. }
  8169. }
  8170. }
  8171. },
  8172. "securityDefinitions": {
  8173. "ApiKeyAuth": {
  8174. "type": "apiKey",
  8175. "name": "Authorization",
  8176. "in": "header"
  8177. }
  8178. }
  8179. }`
  8180. type swaggerInfo struct {
  8181. Version string
  8182. Host string
  8183. BasePath string
  8184. Schemes []string
  8185. Title string
  8186. Description string
  8187. }
  8188. // SwaggerInfo holds exported Swagger Info so clients can modify it
  8189. var SwaggerInfo = swaggerInfo{
  8190. Version: "1.0",
  8191. Host: "",
  8192. BasePath: "/api",
  8193. Schemes: []string{},
  8194. Title: "MTP2.0 查询服务 API",
  8195. Description: "新的查询服务,替代原通用查询服务。",
  8196. }
  8197. type s struct{}
  8198. func (s *s) ReadDoc() string {
  8199. sInfo := SwaggerInfo
  8200. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  8201. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  8202. "marshal": func(v interface{}) string {
  8203. a, _ := json.Marshal(v)
  8204. return string(a)
  8205. },
  8206. }).Parse(doc)
  8207. if err != nil {
  8208. return doc
  8209. }
  8210. var tpl bytes.Buffer
  8211. if err := t.Execute(&tpl, sInfo); err != nil {
  8212. return doc
  8213. }
  8214. return tpl.String()
  8215. }
  8216. func init() {
  8217. swag.Register(swag.Name, &s{})
  8218. }