swagger.json 264 KB

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