docs.go 308 KB

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