swagger.json 268 KB

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