docs.go 269 KB

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