docs.go 239 KB

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