docs.go 265 KB

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