swagger.yaml 183 KB

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