docs.go 301 KB

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