docs.go 307 KB

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