docs.go 308 KB

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