swagger.yaml 181 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592
  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: 状态
  1519. type: integer
  1520. curdeliveryqty:
  1521. description: 未交收量
  1522. type: integer
  1523. customername:
  1524. description: 采购方ID
  1525. type: string
  1526. deliverygoodscode:
  1527. description: 品种代码
  1528. type: string
  1529. deliverygoodsname:
  1530. description: 品种名称
  1531. type: string
  1532. deliveryqty:
  1533. description: 交收量
  1534. type: integer
  1535. enumdicname:
  1536. description: 单位名称
  1537. type: string
  1538. matchaccountid:
  1539. description: 业务员ID
  1540. type: string
  1541. matchcustomername:
  1542. description: 销售方ID
  1543. type: string
  1544. pricedqty:
  1545. description: 定价量
  1546. type: number
  1547. signdate:
  1548. description: 签订日期
  1549. type: string
  1550. spotcontractid:
  1551. description: 合同ID
  1552. type: string
  1553. totaldqty:
  1554. description: 合同量
  1555. type: number
  1556. unpricedqty:
  1557. description: 未定价量
  1558. type: number
  1559. wrstandardcode:
  1560. description: 商品代码
  1561. type: string
  1562. wrstandardname:
  1563. description: 商品名称
  1564. type: string
  1565. required:
  1566. - matchcustomername
  1567. - spotcontractid
  1568. type: object
  1569. erms3.QueryBusinessInfoRsp:
  1570. properties:
  1571. businessid:
  1572. description: 业务ID.
  1573. type: integer
  1574. buyamount:
  1575. description: 采购额.
  1576. type: number
  1577. buyqty:
  1578. description: 采购量.
  1579. type: string
  1580. futurepl:
  1581. description: 期货盈亏.
  1582. type: number
  1583. futureqty:
  1584. description: 期货敞口.
  1585. type: string
  1586. goodsid:
  1587. description: 商品名称/商品代码.
  1588. type: string
  1589. hedgingqty:
  1590. description: 套保量.
  1591. type: string
  1592. sellamount:
  1593. description: 销售额.
  1594. type: number
  1595. sellqty:
  1596. description: 销售量.
  1597. type: string
  1598. spotmarketvalue:
  1599. description: 现货市值.
  1600. type: number
  1601. spotpl:
  1602. description: 浮动权益.
  1603. type: number
  1604. spotqty:
  1605. description: 现货量.
  1606. type: string
  1607. statu:
  1608. description: 状态,0-未结束 1-已结束.
  1609. type: integer
  1610. totalpl:
  1611. description: 总盈亏.
  1612. type: number
  1613. totalqty:
  1614. description: 总敞口.
  1615. type: string
  1616. type:
  1617. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  1618. type: integer
  1619. type: object
  1620. erms3.QuerySpotContractAppleFormRsp:
  1621. properties:
  1622. goodses:
  1623. description: 合约列表
  1624. items:
  1625. $ref: '#/definitions/models.GoodsIDAndName'
  1626. type: array
  1627. oppositeusers:
  1628. description: 对方账号列表
  1629. items:
  1630. $ref: '#/definitions/erms3.CustomerInfo'
  1631. type: array
  1632. ouruser:
  1633. $ref: '#/definitions/erms3.CustomerInfo'
  1634. description: 我方账号
  1635. warehouseinfos:
  1636. description: 仓库信息列表
  1637. items:
  1638. $ref: '#/definitions/models.Warehouseinfo'
  1639. type: array
  1640. wrstandards:
  1641. description: 仓单标准列表
  1642. items:
  1643. $ref: '#/definitions/models.WRStandardInfo'
  1644. type: array
  1645. type: object
  1646. erms3.QuerySpotContractInfoRsp:
  1647. properties:
  1648. accountid:
  1649. description: 表示交易员ID.
  1650. type: integer
  1651. curdeliveryqty:
  1652. description: 表示未交收量.
  1653. type: number
  1654. customername:
  1655. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  1656. type: string
  1657. deliverygoodsid:
  1658. description: 表示品种ID.
  1659. type: string
  1660. deliveryqty:
  1661. description: 表示交收量.
  1662. type: number
  1663. matchaccountid:
  1664. description: 表示业务员ID.
  1665. type: integer
  1666. matchcustomername:
  1667. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  1668. type: string
  1669. priceqty:
  1670. description: 表示定价量.
  1671. type: number
  1672. relatedbizid:
  1673. description: 表示业务ID.
  1674. type: string
  1675. signdate:
  1676. description: 表示签订日期.
  1677. type: string
  1678. spotcontractid:
  1679. description: 合同ID
  1680. type: string
  1681. status:
  1682. description: 表示状态,0-履约中 1-已完成.
  1683. type: integer
  1684. totalqty:
  1685. description: 表示合同量.
  1686. type: number
  1687. unpricedqty:
  1688. description: 表示未定价量.
  1689. type: number
  1690. wrstandardname:
  1691. description: 表示商品ID.
  1692. type: string
  1693. type: object
  1694. erms3.QueryUserInfoAppliesRsp:
  1695. properties:
  1696. biznature:
  1697. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  1698. type: integer
  1699. contactname:
  1700. description: 联系人
  1701. type: string
  1702. createtime:
  1703. description: 开户申请时间
  1704. type: string
  1705. userid:
  1706. description: 用户ID(自增ID)
  1707. type: integer
  1708. userinfotype:
  1709. description: 用户信息类型 - 1:个人 2:企业
  1710. type: integer
  1711. username:
  1712. description: 用户姓名
  1713. type: string
  1714. userstate:
  1715. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  1716. type: integer
  1717. required:
  1718. - userid
  1719. type: object
  1720. erms3.QueryUserInfosRsp:
  1721. properties:
  1722. biznature:
  1723. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  1724. type: integer
  1725. contactname:
  1726. description: 联系人
  1727. type: string
  1728. customername:
  1729. description: 客户名称(企业名称)
  1730. type: string
  1731. userid:
  1732. description: 用户ID
  1733. type: integer
  1734. userinfotype:
  1735. description: 用户信息类型 - 1:个人 2:企业
  1736. type: integer
  1737. userstatus:
  1738. description: 用户状态 - 1:正常 2:注销
  1739. type: integer
  1740. required:
  1741. - userid
  1742. type: object
  1743. erms3.SoptContractDetail:
  1744. properties:
  1745. deliverygoodsdesc:
  1746. description: 现货品种说明
  1747. type: string
  1748. deliverygoodsid:
  1749. description: 现货品种ID
  1750. type: integer
  1751. deliverygoodsname:
  1752. description: 现货品种名称
  1753. type: string
  1754. pointdesc:
  1755. description: 点价描述
  1756. type: string
  1757. producttype:
  1758. description: 产品类型 1:标准仓单 2:等标 3:非标
  1759. type: integer
  1760. producttypename:
  1761. description: 产品类型名称
  1762. type: string
  1763. spotPointOrderVoList:
  1764. description: 点价列表
  1765. items:
  1766. $ref: '#/definitions/erms3.SpotPointOrder'
  1767. type: array
  1768. spotPriceOrderList:
  1769. description: 定价列表
  1770. items:
  1771. $ref: '#/definitions/erms3.SpotPriceOrder'
  1772. type: array
  1773. unitname:
  1774. description: 单位名称
  1775. type: string
  1776. warehouseid:
  1777. description: 仓库ID
  1778. type: integer
  1779. warehousename:
  1780. description: 仓库名称
  1781. type: string
  1782. wrstandardid:
  1783. description: 交易标的ID
  1784. type: integer
  1785. wrstandardname:
  1786. description: 交易标的名称
  1787. type: string
  1788. required:
  1789. - deliverygoodsid
  1790. - producttype
  1791. - unitname
  1792. - warehouseid
  1793. - wrstandardid
  1794. - wrstandardname
  1795. type: object
  1796. erms3.SpotPointOrder:
  1797. properties:
  1798. basic:
  1799. description: 基差
  1800. type: number
  1801. deliveryendtdate:
  1802. description: 交收结束日期
  1803. type: string
  1804. deliverystartdate:
  1805. description: 交收开始日期
  1806. type: string
  1807. enddate:
  1808. description: 点价结束日期
  1809. type: string
  1810. goodsid:
  1811. description: 商品ID
  1812. type: integer
  1813. goodsname:
  1814. description: 商品名称
  1815. type: string
  1816. qty:
  1817. description: 数量
  1818. type: number
  1819. startdate:
  1820. description: 点价开始日期
  1821. type: string
  1822. required:
  1823. - basic
  1824. - goodsid
  1825. - qty
  1826. type: object
  1827. erms3.SpotPriceOrder:
  1828. properties:
  1829. amount:
  1830. description: 金额
  1831. type: number
  1832. deliveryendtdate:
  1833. description: 交收结束日期
  1834. type: string
  1835. deliverystartdate:
  1836. description: 交收开始日期
  1837. type: string
  1838. price:
  1839. description: 价格
  1840. type: number
  1841. qty:
  1842. description: 数量
  1843. type: number
  1844. required:
  1845. - amount
  1846. - price
  1847. - qty
  1848. type: object
  1849. hsby.GetHsbyMyCountRsp:
  1850. properties:
  1851. myOrderDetailListingCount:
  1852. description: 我的订单求购中数量
  1853. type: integer
  1854. myOrderDetailPreCount:
  1855. description: 我的订单抢购中数量
  1856. type: integer
  1857. myPackageUnReceiveCount:
  1858. description: 我的包裹待收货数量
  1859. type: integer
  1860. myPackageUnSendCount:
  1861. description: 我的包裹待发货数量
  1862. type: integer
  1863. type: object
  1864. hsby.QueryProvincesAndCitiesRsp:
  1865. properties:
  1866. cities:
  1867. description: 市
  1868. items:
  1869. $ref: '#/definitions/models.Division'
  1870. type: array
  1871. province:
  1872. $ref: '#/definitions/models.Division'
  1873. description: 省
  1874. type: object
  1875. models.Division:
  1876. properties:
  1877. autoid:
  1878. description: 自增ID
  1879. type: integer
  1880. divisioncode:
  1881. description: 行政代码
  1882. type: string
  1883. divisionlevel:
  1884. description: 行政级别
  1885. type: string
  1886. divisionname:
  1887. description: 行政名称
  1888. type: string
  1889. modifierid:
  1890. description: 修改人
  1891. type: integer
  1892. modifytime:
  1893. description: 修改时间
  1894. type: string
  1895. parentcode:
  1896. description: 上级行政代码
  1897. type: string
  1898. pathname:
  1899. description: 路径名称
  1900. type: string
  1901. postcode:
  1902. description: 邮政编码
  1903. type: string
  1904. separablename:
  1905. description: 可拆分的全称
  1906. type: string
  1907. shortcode:
  1908. description: 地区简码
  1909. type: string
  1910. required:
  1911. - autoid
  1912. - divisioncode
  1913. type: object
  1914. models.GoodsIDAndName:
  1915. properties:
  1916. goodscode:
  1917. description: 商品代码(内部)
  1918. type: string
  1919. goodsid:
  1920. description: 商品ID(自增ID SEQ_GOODS)
  1921. type: integer
  1922. goodsname:
  1923. description: 商品名称
  1924. type: string
  1925. marketid:
  1926. description: 所属市场ID
  1927. type: integer
  1928. required:
  1929. - goodscode
  1930. - goodsid
  1931. - goodsname
  1932. - marketid
  1933. type: object
  1934. models.HsbyBuyMyTradeDetail:
  1935. properties:
  1936. accountid:
  1937. description: 账户ID[报价币种]
  1938. type: integer
  1939. agreeunit:
  1940. description: 合约单位
  1941. type: number
  1942. amount:
  1943. description: 金额 = 价格 * 数量 * 合约单位
  1944. type: number
  1945. buyorsell:
  1946. description: 买卖 - 0:买 1:卖
  1947. type: integer
  1948. currencysign:
  1949. description: 货币符号
  1950. type: string
  1951. decimalplace:
  1952. description: 报价小数位
  1953. type: integer
  1954. goodscode:
  1955. description: 商品代码(内部)
  1956. type: string
  1957. goodsid:
  1958. description: 商品ID
  1959. type: integer
  1960. goodsname:
  1961. description: 商品名称
  1962. type: string
  1963. marketid:
  1964. description: 市场ID
  1965. type: integer
  1966. orderid:
  1967. description: 单号(成交单号)
  1968. type: string
  1969. picurls1:
  1970. description: 预售商品介绍图片[多张用逗号分隔]
  1971. type: string
  1972. picurls2:
  1973. description: 挂牌商品介绍图片[多张用逗号分隔]
  1974. type: string
  1975. price:
  1976. description: 价格
  1977. type: number
  1978. qty:
  1979. description: 数量
  1980. type: integer
  1981. time:
  1982. description: 时间
  1983. type: string
  1984. trademode:
  1985. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  1986. 21:竞拍-大宗式 22:受托竞价
  1987. type: integer
  1988. vendorname1:
  1989. description: 预售商品供应商名称
  1990. type: string
  1991. vendorname2:
  1992. description: 挂牌商品供应商名称
  1993. type: string
  1994. required:
  1995. - accountid
  1996. - buyorsell
  1997. - goodscode
  1998. - goodsid
  1999. - goodsname
  2000. - marketid
  2001. - orderid
  2002. - qty
  2003. - time
  2004. - trademode
  2005. type: object
  2006. models.HsbyGoodsOrderDetail:
  2007. properties:
  2008. buyorsell:
  2009. description: 买卖 - 0:买 1:卖
  2010. type: integer
  2011. currencysign:
  2012. description: 货币符号
  2013. type: string
  2014. customername:
  2015. description: 客户名称(企业名称),已脱敏
  2016. type: string
  2017. enableqty:
  2018. description: 可用数量
  2019. type: integer
  2020. goodunit:
  2021. description: 报价单位
  2022. type: string
  2023. orderid:
  2024. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2025. type: string
  2026. orderprice:
  2027. description: 委托价格
  2028. type: number
  2029. ordertime:
  2030. description: 委托时间
  2031. type: string
  2032. required:
  2033. - buyorsell
  2034. - orderid
  2035. - ordertime
  2036. type: object
  2037. models.HsbyListingGoodsDetail:
  2038. properties:
  2039. agreeunit:
  2040. description: 合约单位
  2041. type: number
  2042. currency:
  2043. description: 货币
  2044. type: string
  2045. currencysign:
  2046. description: 货币符号
  2047. type: string
  2048. decimalplace:
  2049. description: 报价小数位
  2050. type: integer
  2051. desccityid:
  2052. description: 目的地(市)ID
  2053. type: integer
  2054. descprovinceid:
  2055. description: 目的地(省)ID
  2056. type: integer
  2057. goodscode:
  2058. description: 商品代码(内部)
  2059. type: string
  2060. goodsdesc:
  2061. description: 商品详情
  2062. type: string
  2063. goodsid:
  2064. description: 商品ID(自增ID SEQ_GOODS)
  2065. type: integer
  2066. goodsname:
  2067. description: 商品名称
  2068. type: string
  2069. hotindex:
  2070. description: 景点热度
  2071. type: integer
  2072. last:
  2073. description: 现价
  2074. type: number
  2075. limitdown:
  2076. description: 跌停价
  2077. type: number
  2078. limitup:
  2079. description: 涨停价
  2080. type: number
  2081. lotsize:
  2082. description: 手数最小变动单位
  2083. type: integer
  2084. marketid:
  2085. description: 所属市场ID
  2086. type: integer
  2087. picurls:
  2088. description: 介绍图片[多张用逗号分隔]
  2089. type: string
  2090. quoteminunit:
  2091. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2092. type: integer
  2093. stepvalue:
  2094. description: 价格最小变动单位
  2095. type: number
  2096. trademode:
  2097. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2098. 21:竞拍-大宗式 22:受托竞价
  2099. type: integer
  2100. vendorattr:
  2101. description: 供应商附件(多张,逗号分隔)
  2102. type: string
  2103. vendorname:
  2104. description: 供应商名称
  2105. type: string
  2106. vendorphone:
  2107. description: 供应商客服电话
  2108. type: string
  2109. videourls:
  2110. description: 介绍视频[多张用逗号分隔]
  2111. type: string
  2112. required:
  2113. - goodscode
  2114. - goodsid
  2115. - goodsname
  2116. - marketid
  2117. - trademode
  2118. type: object
  2119. models.HsbyMyGoods:
  2120. properties:
  2121. accountid:
  2122. description: 账号Id
  2123. type: integer
  2124. agreeunit:
  2125. description: 合约单位
  2126. type: number
  2127. buyaverageprice:
  2128. description: 持仓均价
  2129. type: number
  2130. buycurholderamount:
  2131. description: 买当前持仓总金额[商品币种]
  2132. type: number
  2133. buycurpositionqty:
  2134. description: 买当前持仓总数量
  2135. type: integer
  2136. currencysign:
  2137. description: 货币符号
  2138. type: string
  2139. decimalplace:
  2140. description: 报价小数位
  2141. type: integer
  2142. enableqty:
  2143. description: 可用数量
  2144. type: integer
  2145. goodscode:
  2146. description: 商品代码(内部)
  2147. type: string
  2148. goodsid:
  2149. description: 商品Id
  2150. type: integer
  2151. goodsname:
  2152. description: 商品名称
  2153. type: string
  2154. goodsstatus:
  2155. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  2156. type: integer
  2157. picurls:
  2158. description: 介绍图片[多张用逗号分隔]
  2159. type: string
  2160. required:
  2161. - accountid
  2162. - goodscode
  2163. - goodsid
  2164. - goodsname
  2165. type: object
  2166. models.HsbyMyPackage:
  2167. properties:
  2168. accountid:
  2169. description: 账户ID
  2170. type: integer
  2171. address:
  2172. description: 提货人详细地址
  2173. type: string
  2174. agreeunit:
  2175. description: 合约单位
  2176. type: number
  2177. amount:
  2178. description: 提货金额
  2179. type: number
  2180. auditer:
  2181. description: 审核人
  2182. type: integer
  2183. audittime:
  2184. description: 审核时间
  2185. type: string
  2186. averageprice:
  2187. description: 均价
  2188. type: number
  2189. cardnum:
  2190. description: 提货人证件号码
  2191. type: string
  2192. cardtypeid:
  2193. description: 提货人证件类型
  2194. type: integer
  2195. checkremark:
  2196. description: 审核备注
  2197. type: string
  2198. currencysign:
  2199. description: 货币符号
  2200. type: string
  2201. decimalplace:
  2202. description: 报价小数位
  2203. type: integer
  2204. goodscode:
  2205. description: 商品代码(内部)
  2206. type: string
  2207. goodsid:
  2208. description: 商品ID
  2209. type: integer
  2210. goodsname:
  2211. description: 商品名称
  2212. type: string
  2213. handlestatus:
  2214. description: 处理状态
  2215. type: integer
  2216. marketid:
  2217. description: 市场ID
  2218. type: integer
  2219. phonenum:
  2220. description: 提货人联系方式
  2221. type: string
  2222. picurls:
  2223. description: 介绍图片[多张用逗号分隔]
  2224. type: string
  2225. qty:
  2226. description: 提货数量
  2227. type: number
  2228. recivername:
  2229. description: 提货人姓名
  2230. type: string
  2231. reqtime:
  2232. description: 更新时间
  2233. type: string
  2234. takemode:
  2235. description: 提货方式 - 2:自提 3:配送
  2236. type: integer
  2237. takeorderid:
  2238. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  2239. type: string
  2240. takeorderstatus:
  2241. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  2242. type: integer
  2243. takeremark:
  2244. description: 提货备注
  2245. type: string
  2246. tradedate:
  2247. description: 交易日(yyyyMMdd)
  2248. type: string
  2249. userid:
  2250. description: 用户ID
  2251. type: integer
  2252. vendorname:
  2253. description: 供应商名称
  2254. type: string
  2255. required:
  2256. - goodscode
  2257. - goodsname
  2258. - takeorderid
  2259. type: object
  2260. models.HsbyPreGoods:
  2261. properties:
  2262. agreeunit:
  2263. description: 合约单位
  2264. type: number
  2265. currency:
  2266. description: 货币
  2267. type: string
  2268. currencysign:
  2269. description: 货币符号
  2270. type: string
  2271. decimalplace:
  2272. description: 报价小数位
  2273. type: integer
  2274. enableqty:
  2275. description: 剩余数量
  2276. type: integer
  2277. goodscode:
  2278. description: 商品代码(内部)
  2279. type: string
  2280. goodsid:
  2281. description: 商品ID(自增ID SEQ_GOODS)
  2282. type: integer
  2283. goodsname:
  2284. description: 商品名称
  2285. type: string
  2286. goodsstatus:
  2287. description: 商品状态- 2:未上市 3:上市
  2288. type: integer
  2289. lasttradedate:
  2290. description: 最后交易日期(状态:待退市)
  2291. type: string
  2292. listingdate:
  2293. description: 交易开始日期
  2294. type: string
  2295. marketid:
  2296. description: 所属市场ID
  2297. type: integer
  2298. picurls:
  2299. description: 介绍图片[多张用逗号分隔]
  2300. type: string
  2301. presaledqty:
  2302. description: 已预售量(预售结束时更新)
  2303. type: integer
  2304. presaleqty:
  2305. description: 预售数量
  2306. type: integer
  2307. quoteminunit:
  2308. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2309. type: integer
  2310. refprice:
  2311. description: 参考价格[一口价]
  2312. type: number
  2313. relatedgoodsid:
  2314. description: 关联交易合约ID
  2315. type: integer
  2316. trademode:
  2317. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2318. 21:竞拍-大宗式 22:受托竞价
  2319. type: integer
  2320. videourls:
  2321. description: 介绍视频[多张用逗号分隔]
  2322. type: string
  2323. required:
  2324. - goodscode
  2325. - goodsid
  2326. - goodsname
  2327. - marketid
  2328. - trademode
  2329. type: object
  2330. models.HsbyPreGoodsDetail:
  2331. properties:
  2332. agreeunit:
  2333. description: 合约单位
  2334. type: number
  2335. buymaxqty:
  2336. description: 购买上限 [71] - 0为不限
  2337. type: integer
  2338. currency:
  2339. description: 货币
  2340. type: string
  2341. currencysign:
  2342. description: 货币符号
  2343. type: string
  2344. customername:
  2345. description: 发行单位
  2346. type: string
  2347. decimalplace:
  2348. description: 报价小数位
  2349. type: integer
  2350. desccityid:
  2351. description: 目的地(市)ID
  2352. type: integer
  2353. descprovinceid:
  2354. description: 目的地(省)ID
  2355. type: integer
  2356. enableqty:
  2357. description: 剩余数量
  2358. type: integer
  2359. goodscode:
  2360. description: 商品代码(内部)
  2361. type: string
  2362. goodsdesc:
  2363. description: 商品详情
  2364. type: string
  2365. goodsid:
  2366. description: 商品ID(自增ID SEQ_GOODS)
  2367. type: integer
  2368. goodsname:
  2369. description: 商品名称
  2370. type: string
  2371. goodsstatus:
  2372. description: 商品状态- 2:未上市 3:上市
  2373. type: integer
  2374. goodunit:
  2375. description: 报价单位
  2376. type: string
  2377. lasttradedate:
  2378. description: 最后交易日期(状态:待退市)
  2379. type: string
  2380. listingdate:
  2381. description: 交易开始日期
  2382. type: string
  2383. lotsize:
  2384. description: 手数最小变动单位
  2385. type: integer
  2386. marketid:
  2387. description: 所属市场ID
  2388. type: integer
  2389. picurls:
  2390. description: 介绍图片[多张用逗号分隔]
  2391. type: string
  2392. presaledqty:
  2393. description: 已预售量(预售结束时更新)
  2394. type: integer
  2395. presaleqty:
  2396. description: 预售数量
  2397. type: integer
  2398. quoteminunit:
  2399. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2400. type: integer
  2401. refprice:
  2402. description: 参考价格[一口价]
  2403. type: number
  2404. relatedgoodsid:
  2405. description: 关联交易合约ID
  2406. type: integer
  2407. stepvalue:
  2408. description: 价格最小变动单位
  2409. type: number
  2410. trademode:
  2411. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2412. 21:竞拍-大宗式 22:受托竞价
  2413. type: integer
  2414. vendorattr:
  2415. description: 供应商附件(多张,逗号分隔)
  2416. type: string
  2417. vendorname:
  2418. description: 供应商名称
  2419. type: string
  2420. vendorphone:
  2421. description: 供应商客服电话
  2422. type: string
  2423. videourls:
  2424. description: 介绍视频[多张用逗号分隔]
  2425. type: string
  2426. required:
  2427. - goodscode
  2428. - goodsid
  2429. - goodsname
  2430. - marketid
  2431. - trademode
  2432. type: object
  2433. models.HsbySellMyDetail:
  2434. properties:
  2435. accountid:
  2436. description: 账户ID[报价币种]
  2437. type: integer
  2438. agreeunit:
  2439. description: 合约单位
  2440. type: number
  2441. amount:
  2442. description: 金额 = 价格 * 数量 * 合约单位
  2443. type: number
  2444. buyorsell:
  2445. description: 买卖 - 0:买 1:卖
  2446. type: integer
  2447. currencysign:
  2448. description: 货币符号
  2449. type: string
  2450. decimalplace:
  2451. description: 报价小数位
  2452. type: integer
  2453. goodscode:
  2454. description: 商品代码(内部)
  2455. type: string
  2456. goodsid:
  2457. description: 商品ID
  2458. type: integer
  2459. goodsname:
  2460. description: 商品名称
  2461. type: string
  2462. marketid:
  2463. description: 市场ID
  2464. type: integer
  2465. orderid:
  2466. description: 单号(已发布 - 委托单号;已完成 - 成交单号)
  2467. type: string
  2468. ordertype:
  2469. description: 单据类型:0 - 已发布, 1 - 已完成
  2470. type: integer
  2471. picurls:
  2472. description: 介绍图片[多张用逗号分隔]
  2473. type: string
  2474. price:
  2475. description: 价格
  2476. type: number
  2477. qty:
  2478. description: 数量
  2479. type: integer
  2480. time:
  2481. description: 时间
  2482. type: string
  2483. trademode:
  2484. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2485. 21:竞拍-大宗式 22:受托竞价
  2486. type: integer
  2487. vendorname:
  2488. description: 供应商名称
  2489. type: string
  2490. required:
  2491. - accountid
  2492. - buyorsell
  2493. - goodscode
  2494. - goodsid
  2495. - goodsname
  2496. - marketid
  2497. - orderid
  2498. - qty
  2499. - time
  2500. - trademode
  2501. type: object
  2502. models.HsbyTopGoods:
  2503. properties:
  2504. agreeunit:
  2505. description: 合约单位
  2506. type: number
  2507. currency:
  2508. description: 货币
  2509. type: string
  2510. currencysign:
  2511. description: 货币符号
  2512. type: string
  2513. decimalplace:
  2514. description: 报价小数位
  2515. type: integer
  2516. goodscode:
  2517. description: 商品代码(内部)
  2518. type: string
  2519. goodsid:
  2520. description: 商品ID(自增ID SEQ_GOODS)
  2521. type: integer
  2522. goodsname:
  2523. description: 商品名称
  2524. type: string
  2525. hotindex:
  2526. description: 景点热度
  2527. type: integer
  2528. last:
  2529. description: 现价
  2530. type: number
  2531. marketid:
  2532. description: 所属市场ID
  2533. type: integer
  2534. picurls:
  2535. description: 介绍图片[多张用逗号分隔]
  2536. type: string
  2537. quoteminunit:
  2538. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2539. type: integer
  2540. trademode:
  2541. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2542. 21:竞拍-大宗式 22:受托竞价
  2543. type: integer
  2544. videourls:
  2545. description: 介绍视频[多张用逗号分隔]
  2546. type: string
  2547. required:
  2548. - goodscode
  2549. - goodsid
  2550. - goodsname
  2551. - marketid
  2552. - trademode
  2553. type: object
  2554. models.HybsMyBuyOrderDetail:
  2555. properties:
  2556. accountid:
  2557. description: 账户ID[报价币种]
  2558. type: integer
  2559. agreeunit:
  2560. description: 合约单位
  2561. type: number
  2562. buyorsell:
  2563. description: 买卖 - 0:买 1:卖
  2564. type: integer
  2565. cancelqty:
  2566. description: 撤单数量
  2567. type: integer
  2568. currencysign:
  2569. description: 货币符号
  2570. type: string
  2571. decimalplace:
  2572. description: 报价小数位
  2573. type: integer
  2574. goodscode:
  2575. description: 商品代码(内部)
  2576. type: string
  2577. goodsid:
  2578. description: 商品ID
  2579. type: integer
  2580. goodsname:
  2581. description: 商品名称
  2582. type: string
  2583. listingselecttype:
  2584. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  2585. type: integer
  2586. marketid:
  2587. description: 市场ID
  2588. type: integer
  2589. mybuystatus:
  2590. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  2591. type: integer
  2592. orderamount:
  2593. description: 委托金额
  2594. type: number
  2595. orderid:
  2596. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2597. type: string
  2598. orderprice:
  2599. description: 委托价格
  2600. type: number
  2601. orderqty:
  2602. description: 委托数量
  2603. type: integer
  2604. orderstatus:
  2605. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  2606. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  2607. 16:成交失败违约(荷兰式竞拍专用)
  2608. type: integer
  2609. ordertime:
  2610. description: 委托时间
  2611. type: string
  2612. picurls1:
  2613. description: 预售商品介绍图片[多张用逗号分隔]
  2614. type: string
  2615. picurls2:
  2616. description: 挂牌商品介绍图片[多张用逗号分隔]
  2617. type: string
  2618. trademode:
  2619. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2620. 21:竞拍-大宗式 22:受托竞价
  2621. type: integer
  2622. tradeqty:
  2623. description: 成交数量
  2624. type: integer
  2625. vendorname1:
  2626. description: 预售商品供应商名称
  2627. type: string
  2628. vendorname2:
  2629. description: 挂牌商品供应商名称
  2630. type: string
  2631. required:
  2632. - accountid
  2633. - buyorsell
  2634. - goodscode
  2635. - goodsid
  2636. - goodsname
  2637. - marketid
  2638. - orderid
  2639. - orderqty
  2640. - ordertime
  2641. - trademode
  2642. type: object
  2643. models.Messageboard:
  2644. properties:
  2645. createtime:
  2646. description: 创建时间
  2647. type: string
  2648. message:
  2649. description: 留言信息
  2650. type: string
  2651. messageboardid:
  2652. description: 留言簿ID(SEQ_MessageBoard)
  2653. type: integer
  2654. userid:
  2655. description: 用户ID
  2656. type: integer
  2657. required:
  2658. - messageboardid
  2659. type: object
  2660. models.OperationPrimaryMenu:
  2661. properties:
  2662. Children:
  2663. description: 二级功能菜单
  2664. items:
  2665. $ref: '#/definitions/models.OperationSecondaryMenu'
  2666. type: array
  2667. Key:
  2668. description: 菜单KEY
  2669. type: string
  2670. Label:
  2671. description: 菜单标题
  2672. type: string
  2673. type: object
  2674. models.OperationSecondaryMenu:
  2675. properties:
  2676. Key:
  2677. description: 菜单KEY
  2678. type: string
  2679. Label:
  2680. description: 菜单标题
  2681. type: string
  2682. TabList:
  2683. description: 三级功能菜单
  2684. items:
  2685. $ref: '#/definitions/models.OperationTabMenu'
  2686. type: array
  2687. type: object
  2688. models.OperationTabMenu:
  2689. properties:
  2690. Key:
  2691. description: 菜单KEY
  2692. type: string
  2693. Label:
  2694. description: 菜单标题
  2695. type: string
  2696. type: object
  2697. models.QuotePrimaryMenu:
  2698. properties:
  2699. Index:
  2700. description: 序号
  2701. type: integer
  2702. Key:
  2703. description: 键名
  2704. type: string
  2705. Name:
  2706. description: 菜单名称
  2707. type: string
  2708. SubMenus:
  2709. description: 子菜单
  2710. items:
  2711. $ref: '#/definitions/models.QuoteSecondaryMenu'
  2712. type: array
  2713. SubTitleType:
  2714. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  2715. type: integer
  2716. TradeModes:
  2717. description: 包含市场交易类型
  2718. type: string
  2719. type: object
  2720. models.QuoteSecondaryMenu:
  2721. properties:
  2722. ExExchangeCode:
  2723. description: 外部交易所代码
  2724. type: string
  2725. ExExchangeID:
  2726. description: 外部交易所ID
  2727. type: integer
  2728. GoodsGroupIDs:
  2729. description: 商品组ID列表
  2730. items:
  2731. type: integer
  2732. type: array
  2733. Index:
  2734. description: 序号
  2735. type: integer
  2736. MarketID:
  2737. description: 市场ID
  2738. type: integer
  2739. MenuTitle:
  2740. description: 菜单标题(市场名称或外部交易所名称)
  2741. type: string
  2742. TradeMode:
  2743. description: 交易模式
  2744. type: integer
  2745. type: object
  2746. models.SearchGoods:
  2747. properties:
  2748. goodscode:
  2749. description: 商品代码(内部)
  2750. type: string
  2751. goodsid:
  2752. description: 商品ID(自增ID SEQ_GOODS)
  2753. type: integer
  2754. goodsname:
  2755. description: 商品名称
  2756. type: string
  2757. marketid:
  2758. description: 所属市场ID
  2759. type: integer
  2760. marketname:
  2761. description: 市场名称
  2762. type: string
  2763. trademode:
  2764. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2765. 21:竞拍-大宗式 22:受托竞价
  2766. type: integer
  2767. required:
  2768. - goodscode
  2769. - goodsid
  2770. - goodsname
  2771. - marketid
  2772. - trademode
  2773. type: object
  2774. models.Szdz2imageconfig:
  2775. properties:
  2776. configid:
  2777. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  2778. type: integer
  2779. imagepath:
  2780. description: 图片
  2781. type: string
  2782. imagetype:
  2783. description: 类型 - 1:App首页轮播 2:我的
  2784. type: integer
  2785. sort:
  2786. description: 排序
  2787. type: integer
  2788. title:
  2789. description: 标题
  2790. type: string
  2791. url:
  2792. description: 链接
  2793. type: string
  2794. required:
  2795. - configid
  2796. type: object
  2797. models.Szdz3convertconfig:
  2798. properties:
  2799. canin:
  2800. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  2801. type: integer
  2802. canout:
  2803. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  2804. type: integer
  2805. converttype:
  2806. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  2807. 6:交易转花生米(不设置)
  2808. type: integer
  2809. createtime:
  2810. description: 创建时间
  2811. type: string
  2812. creatorid:
  2813. description: 创建人
  2814. type: integer
  2815. daymaxvalue:
  2816. description: 当日最大转入限制
  2817. type: number
  2818. freezedays:
  2819. description: 冻结天数 [5:花生米转交易]
  2820. type: integer
  2821. innergoodsid:
  2822. description: 内部商品ID[交易]
  2823. type: integer
  2824. inratio:
  2825. description: 目标值
  2826. type: integer
  2827. modifierid:
  2828. description: 修改人
  2829. type: integer
  2830. modifytime:
  2831. description: 修改时间
  2832. type: string
  2833. outergoodscode:
  2834. description: 外部商品代码[JD\PD]
  2835. type: string
  2836. outratio:
  2837. description: 源值
  2838. type: integer
  2839. pddecimalplace:
  2840. description: PD小数位
  2841. type: integer
  2842. timemaxvalue:
  2843. description: 单次最大转入限制
  2844. type: number
  2845. timeminvalue:
  2846. description: 单次最小转入限制
  2847. type: number
  2848. required:
  2849. - converttype
  2850. - innergoodsid
  2851. - outergoodscode
  2852. type: object
  2853. models.Szdz3searchwhitelist:
  2854. properties:
  2855. createtime:
  2856. description: 创建时间
  2857. type: string
  2858. creatorid:
  2859. description: 创建人
  2860. type: integer
  2861. modifierid:
  2862. description: 修改人
  2863. type: integer
  2864. modifytime:
  2865. description: 修改时间
  2866. type: string
  2867. userid:
  2868. description: 用户ID
  2869. type: integer
  2870. required:
  2871. - userid
  2872. type: object
  2873. models.Tablecolumnconfig:
  2874. properties:
  2875. aligntype:
  2876. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  2877. type: integer
  2878. autoid:
  2879. description: AutoID
  2880. type: integer
  2881. columnfield:
  2882. description: 列字段
  2883. type: string
  2884. columntitle:
  2885. description: 列Title
  2886. type: string
  2887. columnwidth:
  2888. description: 列宽
  2889. type: string
  2890. formatterstring:
  2891. description: 格式化字符
  2892. type: string
  2893. formattertype:
  2894. description: 格式化类型
  2895. type: string
  2896. groupname:
  2897. description: 表头分组名称
  2898. type: string
  2899. isshow:
  2900. description: 是否显示 - 0:不显示 1:显示
  2901. type: integer
  2902. needsummary:
  2903. description: 是否需要汇总 - 0:不需要 1:需要
  2904. type: integer
  2905. orderindex:
  2906. description: 顺序
  2907. type: integer
  2908. remark:
  2909. description: 备注
  2910. type: string
  2911. summarytype:
  2912. description: 汇总类型 - 1:加总 2:最后一个
  2913. type: integer
  2914. tablekey:
  2915. description: 列表Key
  2916. type: string
  2917. required:
  2918. - autoid
  2919. type: object
  2920. models.Useraccount:
  2921. properties:
  2922. accountname:
  2923. description: 账户名称(机构名称)
  2924. type: string
  2925. accountstatus:
  2926. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2927. type: integer
  2928. auditremark:
  2929. description: 审核备注
  2930. type: string
  2931. audittime:
  2932. description: 审核时间
  2933. type: string
  2934. audituserid:
  2935. description: 审核人
  2936. type: integer
  2937. broker:
  2938. description: 所属经纪人ID
  2939. type: integer
  2940. canceltime:
  2941. description: 销户时间
  2942. type: string
  2943. canceluserid:
  2944. description: 销户人
  2945. type: integer
  2946. createtime:
  2947. description: 创建时间
  2948. type: string
  2949. creatorid:
  2950. description: 创建人
  2951. type: integer
  2952. hasauth:
  2953. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  2954. type: integer
  2955. isanonymous:
  2956. description: 是否匿名下单 - 0:否 1:是
  2957. type: integer
  2958. maxinvestornum:
  2959. description: 最大用户数(经纪会员下投资者个数)
  2960. type: integer
  2961. memberuserid:
  2962. description: 所属会员ID
  2963. type: integer
  2964. modifierid:
  2965. description: 修改人
  2966. type: integer
  2967. modifyremark:
  2968. description: 变更备注
  2969. type: string
  2970. modifystatus:
  2971. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  2972. type: integer
  2973. modifytime:
  2974. description: 修改时间
  2975. type: string
  2976. parentuserid:
  2977. description: 所属机构ID
  2978. type: integer
  2979. reckonaccountid:
  2980. description: 默认结算资金账号ID(机构分润使用) 作废
  2981. type: integer
  2982. refercount:
  2983. description: 推荐总人数
  2984. type: integer
  2985. refereeuserid:
  2986. description: 推荐人ID
  2987. type: integer
  2988. refernum:
  2989. description: 推荐码
  2990. type: string
  2991. subarealevelpath:
  2992. description: 子机构层级路径(逗号分隔,首尾加逗号)
  2993. type: string
  2994. userid:
  2995. description: 用户ID
  2996. type: integer
  2997. usertype:
  2998. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  2999. type: integer
  3000. required:
  3001. - userid
  3002. type: object
  3003. models.Userfavoritegoods:
  3004. properties:
  3005. goodsid:
  3006. description: 商品ID
  3007. type: integer
  3008. required:
  3009. - goodsid
  3010. type: object
  3011. models.Userinfo:
  3012. properties:
  3013. address:
  3014. description: 地址
  3015. type: string
  3016. attachment1:
  3017. description: 附件1
  3018. type: string
  3019. attachment2:
  3020. description: 附件2
  3021. type: string
  3022. bankaccount:
  3023. description: 银行帐号 (加密存储)
  3024. type: string
  3025. bankaccountname:
  3026. description: 收款人名称
  3027. type: string
  3028. bankcardfrontphotourl:
  3029. description: 银行卡正面照地址
  3030. type: string
  3031. bankid:
  3032. description: 银行编码
  3033. type: string
  3034. bankname:
  3035. description: 银行名称
  3036. type: string
  3037. biznature:
  3038. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3039. type: integer
  3040. bizscope:
  3041. description: 企业经营范围(企业)
  3042. type: string
  3043. cardbackphotourl:
  3044. description: 证件背面图片地址
  3045. type: string
  3046. cardfrontphotourl:
  3047. description: 证件正面图片地址
  3048. type: string
  3049. cardnum:
  3050. description: 证件号码(加密存储)
  3051. type: string
  3052. cardtypeid:
  3053. description: 证件类型ID
  3054. type: integer
  3055. cityid:
  3056. description: 市
  3057. type: integer
  3058. company:
  3059. description: 公司(个人)
  3060. type: string
  3061. contactname:
  3062. description: 联系人
  3063. type: string
  3064. countryid:
  3065. description: 国家
  3066. type: integer
  3067. createtime:
  3068. description: 创建时间
  3069. type: string
  3070. creatorid:
  3071. description: 创建人
  3072. type: integer
  3073. customername:
  3074. description: 客户名称(企业名称)
  3075. type: string
  3076. districtid:
  3077. description: 地区
  3078. type: integer
  3079. email:
  3080. description: 邮件(加密存储)
  3081. type: string
  3082. fax:
  3083. description: 传真(加密存储)
  3084. type: string
  3085. halfbodyphotourl:
  3086. description: 半身照地址
  3087. type: string
  3088. hasencrypt:
  3089. description: 数据是否已加密 - 0:未加密 1:已加密
  3090. type: integer
  3091. headurl:
  3092. description: 头像地址
  3093. type: string
  3094. legalcardbackphotourl:
  3095. description: 法人身份证背面照地址
  3096. type: string
  3097. legalcardfrontphotourl:
  3098. description: 法人身份证正面照地址
  3099. type: string
  3100. legalpersonname:
  3101. description: 法人姓名(企业)
  3102. type: string
  3103. mobile:
  3104. description: 手机号码(加密存储)
  3105. type: string
  3106. mobile2:
  3107. description: 手机号码[明文-尚志]
  3108. type: string
  3109. modifierid:
  3110. description: 修改人
  3111. type: integer
  3112. modifiertime:
  3113. description: 修改时间
  3114. type: string
  3115. needinvoice:
  3116. description: 是否需要发票 - 0:不需要 1:需要
  3117. type: integer
  3118. nickname:
  3119. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  3120. type: string
  3121. openmode:
  3122. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  3123. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  3124. type: integer
  3125. otherurl:
  3126. description: 其它图片地址[使用分号分隔]
  3127. type: string
  3128. postalcode:
  3129. description: 邮政编码
  3130. type: string
  3131. provinceid:
  3132. description: 省
  3133. type: integer
  3134. qq:
  3135. description: QQ(加密存储
  3136. type: string
  3137. remark:
  3138. description: 备注
  3139. type: string
  3140. sex:
  3141. description: '用户性别 0: 女 1: 男'
  3142. type: integer
  3143. signpdfurl:
  3144. description: 签约pdf文件
  3145. type: string
  3146. telphone:
  3147. description: 联系电话(加密存储)
  3148. type: string
  3149. userid:
  3150. description: 用户ID
  3151. type: integer
  3152. userinfotype:
  3153. description: 用户信息类型 - 1:个人 2:企业
  3154. type: integer
  3155. userstatus:
  3156. description: 用户状态 - 1:正常 2:注销
  3157. type: integer
  3158. usertype:
  3159. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  3160. type: integer
  3161. wechat:
  3162. description: 微信(加密存储)
  3163. type: string
  3164. wskhinfo:
  3165. description: 开户申请信息(JSON)
  3166. type: string
  3167. required:
  3168. - userid
  3169. type: object
  3170. models.WRStandardInfo:
  3171. properties:
  3172. createtime:
  3173. description: 创建时间
  3174. type: string
  3175. creatorid:
  3176. description: 创建人
  3177. type: integer
  3178. deliverygoodsid:
  3179. description: 品种ID
  3180. type: integer
  3181. deliverygoodsname:
  3182. description: 交割商品名称
  3183. type: string
  3184. factoryitemjson:
  3185. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  3186. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  3187. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  3188. 逗号分隔'
  3189. type: string
  3190. isvalid:
  3191. description: 是否有效 - 0:无效 1:有效
  3192. type: integer
  3193. minivalue:
  3194. description: 最小变动值
  3195. type: integer
  3196. minivaluedp:
  3197. description: 最小变动值小数位
  3198. type: integer
  3199. realminivalue:
  3200. description: 实际最小变动值
  3201. type: integer
  3202. realminivaluedp:
  3203. description: 实际最小变动值小数位
  3204. type: integer
  3205. unitid:
  3206. description: 单位ID
  3207. type: integer
  3208. unitname:
  3209. description: 单位
  3210. type: string
  3211. updatetime:
  3212. description: 更新时间
  3213. type: string
  3214. updatorid:
  3215. description: 更新人
  3216. type: integer
  3217. wrsstatus:
  3218. description: 状态 - 作废 - 0:未激活 1:正常
  3219. type: integer
  3220. wrstandardcode:
  3221. description: 仓单标准代码
  3222. type: string
  3223. wrstandardid:
  3224. description: 仓单标准ID(SEQ_WRSTANDARD)
  3225. type: integer
  3226. wrstandardname:
  3227. description: 仓单标准名称
  3228. type: string
  3229. required:
  3230. - wrstandardid
  3231. type: object
  3232. models.Warehouseinfo:
  3233. properties:
  3234. address:
  3235. description: 详细地址
  3236. type: string
  3237. areauserid:
  3238. description: 所属机构
  3239. type: integer
  3240. autoid:
  3241. description: 自增ID
  3242. type: integer
  3243. cityid:
  3244. description: 市
  3245. type: integer
  3246. contactname:
  3247. description: 联系人
  3248. type: string
  3249. contactnum:
  3250. description: 联系电话
  3251. type: string
  3252. countryid:
  3253. description: 国家
  3254. type: integer
  3255. createtime:
  3256. description: 创建时间
  3257. type: string
  3258. districtid:
  3259. description: 区
  3260. type: integer
  3261. hasvideo:
  3262. description: 是否有视频 - 0:无 1:有
  3263. type: integer
  3264. provinceid:
  3265. description: 省
  3266. type: integer
  3267. remark:
  3268. description: 审核备注
  3269. type: string
  3270. videourl:
  3271. description: 视频地址
  3272. type: string
  3273. warehousecode:
  3274. description: 仓库代码
  3275. type: string
  3276. warehousename:
  3277. description: 仓库名称
  3278. type: string
  3279. warehousestatus:
  3280. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  3281. type: integer
  3282. warehousetype:
  3283. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3284. type: integer
  3285. required:
  3286. - autoid
  3287. - warehousecode
  3288. type: object
  3289. order.QueryHisTradeDetailRsp:
  3290. properties:
  3291. accountid:
  3292. description: 账户ID[报价币种]
  3293. type: integer
  3294. buildtype:
  3295. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  3296. type: integer
  3297. buyorsell:
  3298. description: 方向 - 0:买 1:卖
  3299. type: integer
  3300. charge:
  3301. description: 手续费
  3302. type: number
  3303. closecharge:
  3304. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  3305. type: number
  3306. closeexchagechargevalue:
  3307. description: 平仓交易所手续费设置值
  3308. type: number
  3309. closefeealgorithm:
  3310. description: 平仓手续费收取方式 1:比率 2:固定
  3311. type: integer
  3312. closememberchargevalue:
  3313. description: 平仓会员手续费设置值
  3314. type: number
  3315. closepl:
  3316. description: 平仓盈亏
  3317. type: number
  3318. closepl2:
  3319. description: 平仓盈亏[逐笔]
  3320. type: number
  3321. closeqty:
  3322. description: 平仓数量(先建后平操作 需要记录)
  3323. type: integer
  3324. creditamount:
  3325. description: 授信金额
  3326. type: number
  3327. gcaccountid:
  3328. description: 账户ID[合约币种]
  3329. type: integer
  3330. goodscode:
  3331. description: 商品代码
  3332. type: string
  3333. goodsid:
  3334. description: 商品ID
  3335. type: integer
  3336. goodsname:
  3337. description: 商品名称
  3338. type: string
  3339. histradedate:
  3340. description: 历史交易日
  3341. type: string
  3342. intclosepl:
  3343. description: 整型盈亏(用于交易结算试算平衡-收益权)
  3344. type: integer
  3345. isconfirmexercise:
  3346. description: 是否确认行权- 0:否 1:是
  3347. type: integer
  3348. ismain:
  3349. description: 是否主单 - 0:不是 1:是
  3350. type: integer
  3351. ispreexercise:
  3352. description: 是否预申报- 0:否 1:是
  3353. type: integer
  3354. isreckoned:
  3355. description: 是否结算 - 0:未结算 1:已结算
  3356. type: integer
  3357. isvaliddata:
  3358. description: 是否有效 - 0:无效 1:有效
  3359. type: integer
  3360. listingselecttype:
  3361. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  3362. type: integer
  3363. marketid:
  3364. description: 市场ID
  3365. type: integer
  3366. marketname:
  3367. description: 市场名称
  3368. type: string
  3369. matchaccountid:
  3370. description: 对手账号id
  3371. type: integer
  3372. memberuserid:
  3373. description: 会员id 个人投资者 需要填写
  3374. type: integer
  3375. opencharge:
  3376. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  3377. type: number
  3378. openexchagechargevalue:
  3379. description: 建仓交易所手续费设置值
  3380. type: number
  3381. openfeealgorithm:
  3382. description: 建仓手续费收取方式 1:比率 2:固定
  3383. type: integer
  3384. openmemberchargevalue:
  3385. description: 建仓会员手续费设置值
  3386. type: number
  3387. openqty:
  3388. description: 开仓数量(先建后平操作 需要记录)
  3389. type: integer
  3390. optiontype:
  3391. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  3392. type: integer
  3393. orderid:
  3394. description: 委托单号
  3395. type: string
  3396. performanceplanid:
  3397. description: 履约计划ID[期权]
  3398. type: integer
  3399. performancestatus:
  3400. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  3401. type: integer
  3402. preexerciseprice:
  3403. description: 预申报价格
  3404. type: number
  3405. premium:
  3406. description: 权利金 - [持仓单的权利金]
  3407. type: number
  3408. relatedouttradeid:
  3409. description: 关联外部成交单ID
  3410. type: integer
  3411. status:
  3412. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  3413. type: integer
  3414. tradeamount:
  3415. description: 成交金额[账户币种,用于所有权]
  3416. type: number
  3417. tradedate:
  3418. description: 交易日(yyyyMMdd)
  3419. type: string
  3420. tradeid:
  3421. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3422. type: string
  3423. trademode:
  3424. description: 交易模式
  3425. type: integer
  3426. tradeprice:
  3427. description: 成交价格
  3428. type: number
  3429. tradeproperty:
  3430. description: 交易属性
  3431. type: integer
  3432. tradeqty:
  3433. description: 成交数量
  3434. type: integer
  3435. tradetime:
  3436. description: 成交时间
  3437. type: string
  3438. tradetype:
  3439. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  3440. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  3441. type: integer
  3442. required:
  3443. - accountid
  3444. - buyorsell
  3445. - goodsid
  3446. - histradedate
  3447. - marketid
  3448. - memberuserid
  3449. - orderid
  3450. - tradeamount
  3451. - tradedate
  3452. - tradeid
  3453. - tradeprice
  3454. - tradeqty
  3455. - tradetime
  3456. type: object
  3457. order.QueryHisTradeOrderDetailRsp:
  3458. properties:
  3459. accountid:
  3460. description: 账户ID[报价币种]
  3461. type: integer
  3462. buildtype:
  3463. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  3464. type: integer
  3465. buyorsell:
  3466. description: 买卖 - 0:买 1:卖
  3467. type: integer
  3468. cancelorderid:
  3469. description: 撤单单号(撤单时填写)
  3470. type: string
  3471. cancelqty:
  3472. description: 撤单数量
  3473. type: integer
  3474. clientordertime:
  3475. description: 客户端委托时间
  3476. type: string
  3477. clientticket:
  3478. description: 客户端流水号
  3479. type: string
  3480. clienttype:
  3481. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  3482. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  3483. type: integer
  3484. closeexchagechargevalue:
  3485. description: 平仓交易所手续费设置值
  3486. type: number
  3487. closefeealgorithm:
  3488. description: 平仓手续费收取方式 1:比率 2:固定
  3489. type: integer
  3490. closefreezecharge:
  3491. description: 平仓冻结手续费(先建后平操作,需要记录)
  3492. type: number
  3493. closememberchargevalue:
  3494. description: 平仓会员手续费设置值
  3495. type: number
  3496. closeqty:
  3497. description: 平仓数量(先建后平操作 需要记录)
  3498. type: integer
  3499. closetradeqty:
  3500. description: 平仓成交数量(先建后平操作,需要记录)
  3501. type: integer
  3502. closeunfreezecharge:
  3503. description: 平仓解冻手续费(先建后平操作,需要记录)
  3504. type: number
  3505. delistingtype:
  3506. description: 摘牌类型 - 1:价格最优 2:点选成交
  3507. type: integer
  3508. freezecharge:
  3509. description: 冻结手续费
  3510. type: number
  3511. freezemargin:
  3512. description: 冻结保证金(冻结交易金额)
  3513. type: number
  3514. gcaccountid:
  3515. description: 账户ID[合约币种]
  3516. type: integer
  3517. goodscode:
  3518. description: 商品代码
  3519. type: string
  3520. goodsid:
  3521. description: 商品ID
  3522. type: integer
  3523. goodsname:
  3524. description: 商品名称
  3525. type: string
  3526. histradedate:
  3527. description: 历史交易日
  3528. type: string
  3529. isconfirmexercise:
  3530. description: 是否确认行权- 0:否 1:是
  3531. type: integer
  3532. ispreexercise:
  3533. description: 是否预申报- 0:否 1:是
  3534. type: integer
  3535. isvaliddata:
  3536. description: 是否有效 - 0:无效 1:有效
  3537. type: integer
  3538. listingselecttype:
  3539. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  3540. type: integer
  3541. marginalgorithm:
  3542. description: 保证金收取方式 1:比率 2:固定
  3543. type: integer
  3544. marginvalue:
  3545. description: 即市保证金设置值
  3546. type: number
  3547. marketid:
  3548. description: 市场ID
  3549. type: integer
  3550. marketmaxsub:
  3551. description: 市价最大偏移范围
  3552. type: number
  3553. marketname:
  3554. description: 市场名称
  3555. type: string
  3556. memberuserid:
  3557. description: 所属会员UserID
  3558. type: integer
  3559. openexchagechargevalue:
  3560. description: 建仓交易所手续费设置值
  3561. type: number
  3562. openfeealgorithm:
  3563. description: 建仓手续费收取方式 1:比率 2:固定
  3564. type: integer
  3565. openfreezecharge:
  3566. description: 开仓冻结手续费(先建后平操作,需要记录)
  3567. type: number
  3568. openmemberchargevalue:
  3569. description: 建仓会员手续费设置值
  3570. type: number
  3571. openqty:
  3572. description: 开仓数量(先建后平操作,需要记录)
  3573. type: integer
  3574. opentradeqty:
  3575. description: 开仓成交数量(先建后平操作,需要记录)
  3576. type: integer
  3577. openunfreezecharge:
  3578. description: 开仓解冻手续费(先建后平操作,需要记录)
  3579. type: number
  3580. operatetype:
  3581. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  3582. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  3583. 15:管理端协议转让
  3584. type: integer
  3585. operatorid:
  3586. description: 登录账号(LoginID)
  3587. type: integer
  3588. optiontype:
  3589. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  3590. type: integer
  3591. orderid:
  3592. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3593. type: string
  3594. orderprice:
  3595. description: 委托价格
  3596. type: number
  3597. orderqty:
  3598. description: 委托数量
  3599. type: integer
  3600. ordersrc:
  3601. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  3602. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  3603. type: integer
  3604. orderstatus:
  3605. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  3606. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  3607. 16:成交失败违约(荷兰式竞拍专用)
  3608. type: integer
  3609. ordertime:
  3610. description: 委托时间
  3611. type: string
  3612. preexerciseprice:
  3613. description: 预申报价格
  3614. type: number
  3615. premium:
  3616. description: 权利金
  3617. type: number
  3618. preorderid:
  3619. description: 关联预埋单号(止盈止损单时填写)
  3620. type: string
  3621. pricemode:
  3622. description: '取价方式 - 1:市价 2: 限价'
  3623. type: integer
  3624. quoteid:
  3625. description: 报价单ID
  3626. type: integer
  3627. relatedid:
  3628. description: 关联单号(交割单)
  3629. type: string
  3630. retcode:
  3631. description: 错误代码
  3632. type: integer
  3633. sessionid:
  3634. description: 会话ID
  3635. type: integer
  3636. tradedate:
  3637. description: 交易日(yyyyMMdd)
  3638. type: string
  3639. trademode:
  3640. description: 交易模式
  3641. type: integer
  3642. tradeproperty:
  3643. description: 交易属性
  3644. type: integer
  3645. tradeqty:
  3646. description: 成交数量
  3647. type: integer
  3648. unfreezecharge:
  3649. description: 解冻手续费
  3650. type: number
  3651. unfreezemargin:
  3652. description: 解冻保证金
  3653. type: number
  3654. updatetime:
  3655. description: 更新时间
  3656. type: string
  3657. uuid:
  3658. description: 发起端唯一id
  3659. type: string
  3660. validtime:
  3661. description: 有效期限
  3662. type: string
  3663. validtype:
  3664. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  3665. type: integer
  3666. volumetype:
  3667. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  3668. type: integer
  3669. required:
  3670. - accountid
  3671. - buildtype
  3672. - buyorsell
  3673. - goodsid
  3674. - histradedate
  3675. - marketid
  3676. - memberuserid
  3677. - operatetype
  3678. - orderid
  3679. - orderqty
  3680. - ordertime
  3681. - pricemode
  3682. - tradedate
  3683. - validtype
  3684. type: object
  3685. order.QueryTradeDetailRsp:
  3686. properties:
  3687. accountid:
  3688. description: 账户ID[报价币种]
  3689. type: integer
  3690. buildtype:
  3691. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  3692. type: integer
  3693. buyorsell:
  3694. description: 方向 - 0:买 1:卖
  3695. type: integer
  3696. charge:
  3697. description: 手续费
  3698. type: number
  3699. closecharge:
  3700. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  3701. type: number
  3702. closeexchagechargevalue:
  3703. description: 平仓交易所手续费设置值
  3704. type: number
  3705. closefeealgorithm:
  3706. description: 平仓手续费收取方式 1:比率 2:固定
  3707. type: integer
  3708. closememberchargevalue:
  3709. description: 平仓会员手续费设置值
  3710. type: number
  3711. closepl:
  3712. description: 平仓盈亏
  3713. type: number
  3714. closepl2:
  3715. description: 平仓盈亏[逐笔]
  3716. type: number
  3717. closeqty:
  3718. description: 平仓数量(先建后平操作 需要记录)
  3719. type: integer
  3720. creditamount:
  3721. description: 授信金额
  3722. type: number
  3723. gcaccountid:
  3724. description: 账户ID[合约币种]
  3725. type: integer
  3726. goodscode:
  3727. description: 商品代码
  3728. type: string
  3729. goodsid:
  3730. description: 商品ID
  3731. type: integer
  3732. goodsname:
  3733. description: 商品名称
  3734. type: string
  3735. intclosepl:
  3736. description: 整型盈亏(用于交易结算试算平衡-收益权)
  3737. type: integer
  3738. isconfirmexercise:
  3739. description: 是否确认行权- 0:否 1:是
  3740. type: integer
  3741. ismain:
  3742. description: 是否主单 - 0:不是 1:是
  3743. type: integer
  3744. ispreexercise:
  3745. description: 是否预申报- 0:否 1:是
  3746. type: integer
  3747. isreckoned:
  3748. description: 是否结算 - 0:未结算 1:已结算
  3749. type: integer
  3750. listingselecttype:
  3751. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  3752. type: integer
  3753. marketid:
  3754. description: 市场ID
  3755. type: integer
  3756. marketname:
  3757. description: 市场名称
  3758. type: string
  3759. matchaccountid:
  3760. description: 对手账号id
  3761. type: integer
  3762. memberuserid:
  3763. description: 会员id 个人投资者 需要填写
  3764. type: integer
  3765. opencharge:
  3766. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  3767. type: number
  3768. openexchagechargevalue:
  3769. description: 建仓交易所手续费设置值
  3770. type: number
  3771. openfeealgorithm:
  3772. description: 建仓手续费收取方式 1:比率 2:固定
  3773. type: integer
  3774. openmemberchargevalue:
  3775. description: 建仓会员手续费设置值
  3776. type: number
  3777. openqty:
  3778. description: 开仓数量(先建后平操作 需要记录)
  3779. type: integer
  3780. optiontype:
  3781. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  3782. type: integer
  3783. orderid:
  3784. description: 委托单号
  3785. type: string
  3786. performanceplanid:
  3787. description: 履约计划ID[期权]
  3788. type: integer
  3789. performancestatus:
  3790. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  3791. type: integer
  3792. preexerciseprice:
  3793. description: 预申报价格
  3794. type: number
  3795. premium:
  3796. description: 权利金 - [持仓单的权利金]
  3797. type: number
  3798. relatedouttradeid:
  3799. description: 关联外部成交单ID
  3800. type: integer
  3801. status:
  3802. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  3803. type: integer
  3804. tradeamount:
  3805. description: 成交金额[账户币种,用于所有权]
  3806. type: number
  3807. tradedate:
  3808. description: 交易日(yyyyMMdd)
  3809. type: string
  3810. tradeid:
  3811. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3812. type: string
  3813. trademode:
  3814. description: 交易模式
  3815. type: integer
  3816. tradeprice:
  3817. description: 成交价格
  3818. type: number
  3819. tradeproperty:
  3820. description: 交易属性
  3821. type: integer
  3822. tradeqty:
  3823. description: 成交数量
  3824. type: integer
  3825. tradetime:
  3826. description: 成交时间
  3827. type: string
  3828. tradetype:
  3829. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  3830. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  3831. type: integer
  3832. required:
  3833. - accountid
  3834. - buyorsell
  3835. - goodsid
  3836. - marketid
  3837. - memberuserid
  3838. - orderid
  3839. - tradeamount
  3840. - tradedate
  3841. - tradeid
  3842. - tradeprice
  3843. - tradeqty
  3844. - tradetime
  3845. type: object
  3846. order.QueryTradeOrderDetailRsp:
  3847. properties:
  3848. accountid:
  3849. description: 账户ID[报价币种]
  3850. type: integer
  3851. buildtype:
  3852. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  3853. type: integer
  3854. buyorsell:
  3855. description: 买卖 - 0:买 1:卖
  3856. type: integer
  3857. cancelorderid:
  3858. description: 撤单单号(撤单时填写)
  3859. type: string
  3860. cancelqty:
  3861. description: 撤单数量
  3862. type: integer
  3863. clienttype:
  3864. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  3865. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  3866. type: integer
  3867. closefreezecharge:
  3868. description: 平仓冻结手续费(先建后平操作,需要记录)
  3869. type: number
  3870. closeqty:
  3871. description: 平仓数量(先建后平操作 需要记录)
  3872. type: integer
  3873. closetradeqty:
  3874. description: 平仓成交数量(先建后平操作,需要记录)
  3875. type: integer
  3876. closeunfreezecharge:
  3877. description: 平仓解冻手续费(先建后平操作,需要记录)
  3878. type: number
  3879. delistingtype:
  3880. description: 摘牌类型 - 1:价格最优 2:点选成交
  3881. type: integer
  3882. enableqty:
  3883. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  3884. type: integer
  3885. freezecharge:
  3886. description: 冻结手续费
  3887. type: number
  3888. freezemargin:
  3889. description: 冻结保证金(冻结交易金额)
  3890. type: number
  3891. goodscode:
  3892. description: 商品代码
  3893. type: string
  3894. goodsid:
  3895. description: 商品ID
  3896. type: integer
  3897. goodsname:
  3898. description: 商品名称
  3899. type: string
  3900. listingselecttype:
  3901. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  3902. type: integer
  3903. marketid:
  3904. description: 市场ID
  3905. type: integer
  3906. marketname:
  3907. description: 市场名称
  3908. type: string
  3909. openfreezecharge:
  3910. description: 开仓冻结手续费(先建后平操作,需要记录)
  3911. type: number
  3912. openqty:
  3913. description: 开仓数量(先建后平操作,需要记录)
  3914. type: integer
  3915. opentradeqty:
  3916. description: 开仓成交数量(先建后平操作,需要记录)
  3917. type: integer
  3918. openunfreezecharge:
  3919. description: 开仓解冻手续费(先建后平操作,需要记录)
  3920. type: number
  3921. operatetype:
  3922. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  3923. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  3924. 15:管理端协议转让
  3925. type: integer
  3926. operatorid:
  3927. description: 登录账号(LoginID)
  3928. type: integer
  3929. orderid:
  3930. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3931. type: string
  3932. orderprice:
  3933. description: 委托价格
  3934. type: number
  3935. orderqty:
  3936. description: 委托数量
  3937. type: integer
  3938. ordersrc:
  3939. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  3940. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  3941. type: integer
  3942. orderstatus:
  3943. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  3944. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  3945. 16:成交失败违约(荷兰式竞拍专用)
  3946. type: integer
  3947. ordertime:
  3948. description: 委托时间
  3949. type: string
  3950. preorderid:
  3951. description: 关联预埋单号(止盈止损单时填写)
  3952. type: string
  3953. pricemode:
  3954. description: '取价方式 - 1:市价 2: 限价'
  3955. type: integer
  3956. relatedid:
  3957. description: 关联单号(交割单)
  3958. type: string
  3959. tradedate:
  3960. description: 交易日(yyyyMMdd)
  3961. type: string
  3962. trademode:
  3963. description: 交易模式
  3964. type: integer
  3965. tradeqty:
  3966. description: 成交数量
  3967. type: integer
  3968. unfreezecharge:
  3969. description: 解冻手续费
  3970. type: number
  3971. unfreezemargin:
  3972. description: 解冻保证金
  3973. type: number
  3974. validtime:
  3975. description: 有效期限
  3976. type: string
  3977. validtype:
  3978. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  3979. type: integer
  3980. volumetype:
  3981. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  3982. type: integer
  3983. required:
  3984. - accountid
  3985. - buildtype
  3986. - buyorsell
  3987. - goodsid
  3988. - marketid
  3989. - operatetype
  3990. - orderqty
  3991. - ordertime
  3992. - pricemode
  3993. - tradedate
  3994. - validtype
  3995. type: object
  3996. order.QueryTradePositionRsp:
  3997. properties:
  3998. accountid:
  3999. description: 资金账户
  4000. type: integer
  4001. agreeunit:
  4002. description: 合约单位
  4003. type: number
  4004. averageprice:
  4005. description: 持仓均价
  4006. type: number
  4007. buyorsell:
  4008. description: 方向 - 0:买 1:卖
  4009. type: integer
  4010. closetotalqty:
  4011. description: 平仓总数量
  4012. type: integer
  4013. curholderamount:
  4014. description: 当前持仓总金额[商品币种]
  4015. type: number
  4016. curpositionqty:
  4017. description: 当前持仓总数量
  4018. type: integer
  4019. currencyid:
  4020. description: 报价货币ID
  4021. type: integer
  4022. curtdposition:
  4023. description: 期末今日头寸
  4024. type: integer
  4025. decimalplace:
  4026. description: 报价小数位
  4027. type: integer
  4028. enableqty:
  4029. description: 可用量
  4030. type: integer
  4031. fretdposition:
  4032. description: 冻结今日头寸
  4033. type: integer
  4034. frozenqty:
  4035. description: 持仓冻结数量
  4036. type: integer
  4037. goodscode:
  4038. description: 商品代码
  4039. type: string
  4040. goodsid:
  4041. description: 商品Id
  4042. type: integer
  4043. goodsname:
  4044. description: 商品名称
  4045. type: string
  4046. goodunit:
  4047. description: 报价单位
  4048. type: string
  4049. goodunitid:
  4050. description: 报价单位ID
  4051. type: integer
  4052. holderamount:
  4053. description: 期初持仓总金额[商品币种]
  4054. type: number
  4055. marketid:
  4056. description: 所属市场ID
  4057. type: integer
  4058. openreqqty:
  4059. description: 开仓申请数量(用于比较最大持仓数量)
  4060. type: integer
  4061. opentotalqty:
  4062. description: 开仓总数量
  4063. type: integer
  4064. otherfrozenqty:
  4065. description: 持仓其他冻结数量(交割冻结)
  4066. type: integer
  4067. positionqty:
  4068. description: 期初持仓数量
  4069. type: integer
  4070. tnqty:
  4071. description: T+N冻结总量
  4072. type: integer
  4073. tnusedqty:
  4074. description: T+N使用量(可以使用T+N的冻结数量)
  4075. type: integer
  4076. trademode:
  4077. description: 交易模式
  4078. type: integer
  4079. usedmargin:
  4080. description: 占用保证金[商品币种]
  4081. type: number
  4082. required:
  4083. - goodsid
  4084. type: object
  4085. quote.HistoryData:
  4086. properties:
  4087. c:
  4088. description: 收盘价
  4089. type: number
  4090. h:
  4091. description: 最高价
  4092. type: number
  4093. hv:
  4094. description: 持仓量
  4095. type: integer
  4096. l:
  4097. description: 最低价
  4098. type: number
  4099. o:
  4100. description: 开盘价
  4101. type: number
  4102. s:
  4103. description: 结算价,日线周期(包括)以上才有
  4104. type: number
  4105. ts:
  4106. description: 时间
  4107. type: string
  4108. tt:
  4109. description: 总金额
  4110. type: number
  4111. tv:
  4112. description: 总量
  4113. type: integer
  4114. type: object
  4115. quote.QueryTSDataRsp:
  4116. properties:
  4117. decimalPlace:
  4118. description: 小数位
  4119. type: integer
  4120. endTime:
  4121. description: 结束时间
  4122. type: string
  4123. goodsCode:
  4124. description: 商品代码
  4125. type: string
  4126. historyDatas:
  4127. description: 历史数据
  4128. items:
  4129. $ref: '#/definitions/quote.HistoryData'
  4130. type: array
  4131. preSettle:
  4132. description: 昨结
  4133. type: number
  4134. startTime:
  4135. description: 开始时间
  4136. type: string
  4137. tradeDate:
  4138. description: 交易日
  4139. type: string
  4140. type: object
  4141. szdz.QueryConvertLogRsp:
  4142. properties:
  4143. accountid:
  4144. description: 资金账户ID
  4145. type: integer
  4146. clientticket:
  4147. description: 客户端流水号
  4148. type: string
  4149. converttype:
  4150. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  4151. type: integer
  4152. createtime:
  4153. description: 记账时间
  4154. type: string
  4155. daymaxvalue:
  4156. description: 配置当日最大转入限制
  4157. type: number
  4158. daymaxvalue2:
  4159. description: 配置当日最大转入限制(转入)
  4160. type: number
  4161. goodscode:
  4162. description: 商品代码
  4163. type: string
  4164. goodsname:
  4165. description: 商品名称
  4166. type: string
  4167. handlestatus:
  4168. description: 处理状态
  4169. type: integer
  4170. innergoodsid:
  4171. description: 内部商品ID
  4172. type: integer
  4173. inratio:
  4174. description: 配置转入比值
  4175. type: integer
  4176. invalue:
  4177. description: 目标值
  4178. type: number
  4179. logid:
  4180. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4181. type: integer
  4182. mobile:
  4183. description: 手机号码(加密存储)
  4184. type: string
  4185. outergoodscode:
  4186. description: 外部商品代码[JD\PD]
  4187. type: string
  4188. outratio:
  4189. description: 配置转出比值
  4190. type: integer
  4191. outvalue:
  4192. description: 源值
  4193. type: number
  4194. pddecimalplace:
  4195. description: PD小数位
  4196. type: integer
  4197. qty:
  4198. description: 数量
  4199. type: string
  4200. remark:
  4201. description: 备注
  4202. type: string
  4203. sessionid:
  4204. description: 会话ID
  4205. type: integer
  4206. timemaxvalue:
  4207. description: 配置单次最大转入限制
  4208. type: number
  4209. timemaxvalue2:
  4210. description: 配置单次最大转入限制(转入)
  4211. type: number
  4212. timeminvalue:
  4213. description: 配置单次最小数量限制
  4214. type: number
  4215. timeminvalue2:
  4216. description: 配置单次最小数量限制(转入)
  4217. type: number
  4218. tradedate:
  4219. description: 交易日(yyyyMMdd)
  4220. type: string
  4221. userid:
  4222. description: 用户ID
  4223. type: integer
  4224. required:
  4225. - logid
  4226. type: object
  4227. szdz.QueryGoodsPickupRsp:
  4228. properties:
  4229. accountid:
  4230. description: 账户ID
  4231. type: integer
  4232. address:
  4233. description: 提货人详细地址
  4234. type: string
  4235. auditer:
  4236. description: 审核人
  4237. type: integer
  4238. audittime:
  4239. description: 审核时间
  4240. type: string
  4241. cardnum:
  4242. description: 提货人证件号码
  4243. type: string
  4244. cardtypeid:
  4245. description: 提货人证件类型
  4246. type: integer
  4247. checkremark:
  4248. description: 审核备注
  4249. type: string
  4250. goodscode:
  4251. description: 商品代码
  4252. type: string
  4253. goodsid:
  4254. description: 商品ID
  4255. type: integer
  4256. goodsname:
  4257. description: 商品名称
  4258. type: string
  4259. handlestatus:
  4260. description: 处理状态
  4261. type: integer
  4262. marketid:
  4263. description: 市场ID
  4264. type: integer
  4265. phonenum:
  4266. description: 提货人联系方式
  4267. type: string
  4268. qty:
  4269. description: 提货数量
  4270. type: number
  4271. recivername:
  4272. description: 提货人姓名
  4273. type: string
  4274. reqtime:
  4275. description: 更新时间
  4276. type: string
  4277. takemode:
  4278. description: 提货方式 - 2:自提 3:配送
  4279. type: integer
  4280. takeorderid:
  4281. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  4282. type: string
  4283. takeorderstatus:
  4284. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  4285. type: integer
  4286. takeremark:
  4287. description: 提货备注
  4288. type: string
  4289. tradedate:
  4290. description: 交易日(yyyyMMdd)
  4291. type: string
  4292. userid:
  4293. description: 用户ID
  4294. type: integer
  4295. required:
  4296. - takeorderid
  4297. type: object
  4298. szdz.QueryRecieptOrderRsp:
  4299. properties:
  4300. accountName:
  4301. description: 所属账号名称(已脱敏)
  4302. type: string
  4303. accountid:
  4304. description: 资金账号
  4305. type: integer
  4306. buyorsell:
  4307. description: 方向 - 0:买 1:卖
  4308. type: integer
  4309. enableqty:
  4310. description: 可摘数量
  4311. type: integer
  4312. goodscode:
  4313. description: 商品代码
  4314. type: string
  4315. goodsid:
  4316. description: 商品ID
  4317. type: integer
  4318. goodsname:
  4319. description: 商品名称
  4320. type: string
  4321. orderid:
  4322. description: 委托单号
  4323. type: string
  4324. orderprice:
  4325. description: 委托价格
  4326. type: number
  4327. tradedate:
  4328. description: 交易日(yyyyMMdd)
  4329. type: string
  4330. type: object
  4331. szdz.QuerySZDZTradePositionRsp:
  4332. properties:
  4333. accountid:
  4334. description: 账号Id
  4335. type: integer
  4336. agreeunit:
  4337. description: 合约单位
  4338. type: number
  4339. averageprice:
  4340. description: 持仓均价
  4341. type: number
  4342. buyorsell:
  4343. description: 方向 - 0:买 1:卖
  4344. type: integer
  4345. closetotalqty:
  4346. description: 平仓总数量
  4347. type: integer
  4348. curholderamount:
  4349. description: 当前持仓总金额
  4350. type: number
  4351. curpositionqty:
  4352. description: 当前持仓总数量
  4353. type: integer
  4354. currencyid:
  4355. description: 报价货币ID
  4356. type: integer
  4357. curtdposition:
  4358. description: 期末今日头寸
  4359. type: integer
  4360. decimalplace:
  4361. description: 报价小数位
  4362. type: integer
  4363. enableqty:
  4364. description: 可用量
  4365. type: integer
  4366. fretdposition:
  4367. description: 冻结今日头寸
  4368. type: integer
  4369. frozenqty:
  4370. description: 持仓冻结数量
  4371. type: integer
  4372. goodscode:
  4373. description: 商品代码(内部)
  4374. type: string
  4375. goodsid:
  4376. description: 商品Id
  4377. type: integer
  4378. goodsname:
  4379. description: 商品名称
  4380. type: string
  4381. goodunit:
  4382. description: 报价单位
  4383. type: string
  4384. goodunitid:
  4385. description: 报价单位ID
  4386. type: integer
  4387. holderamount:
  4388. description: 期初持仓总金额
  4389. type: number
  4390. marketid:
  4391. description: 市场ID
  4392. type: integer
  4393. openreqqty:
  4394. description: 开仓申请数量
  4395. type: integer
  4396. opentotalqty:
  4397. description: 开仓总数量
  4398. type: integer
  4399. otherfrozenqty:
  4400. description: 持仓其他冻结数量(交割冻结)
  4401. type: integer
  4402. positionqty:
  4403. description: 期初持仓数量
  4404. type: integer
  4405. szdz3freezqty:
  4406. description: 尚志大宗转换冻结总数量
  4407. type: integer
  4408. tnqty:
  4409. description: T+N冻结总量
  4410. type: integer
  4411. tnusedqty:
  4412. description: T+N使用量
  4413. type: integer
  4414. trademode:
  4415. description: 交易模式
  4416. type: integer
  4417. usedmargin:
  4418. description: 占用保证金
  4419. type: number
  4420. type: object
  4421. taaccount.QueryAmountLogRsp:
  4422. properties:
  4423. OPERATETYPENAME:
  4424. description: 资金操作类型名称
  4425. type: string
  4426. accountid:
  4427. description: 资金账户ID
  4428. type: integer
  4429. agoodscode:
  4430. description: 竞拍商品代码
  4431. type: string
  4432. agoodsname:
  4433. description: 竞拍商品名称
  4434. type: string
  4435. amount:
  4436. description: 资金金额
  4437. type: number
  4438. amountadjusttype:
  4439. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  4440. type: integer
  4441. autoid:
  4442. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  4443. type: integer
  4444. balance:
  4445. description: 期初余额
  4446. type: number
  4447. businesscode:
  4448. description: 业务编号
  4449. type: integer
  4450. createtime:
  4451. description: 发生时间
  4452. type: string
  4453. currencyid:
  4454. description: 币种ID
  4455. type: integer
  4456. currentbalance:
  4457. description: 期末余额(变动后金额)
  4458. type: number
  4459. dgoodscode:
  4460. description: 交割商品代码
  4461. type: string
  4462. dgoodsname:
  4463. description: 交割商品名称
  4464. type: string
  4465. goodscode:
  4466. description: 商品代码
  4467. type: string
  4468. goodsid:
  4469. description: 商品ID
  4470. type: integer
  4471. goodsname:
  4472. description: 商品名称
  4473. type: string
  4474. marketid:
  4475. description: 市场ID
  4476. type: integer
  4477. marketname:
  4478. description: 市场名称
  4479. type: string
  4480. moneyticket:
  4481. description: 资金流水号:银行端流水号
  4482. type: integer
  4483. operatetype:
  4484. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  4485. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  4486. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  4487. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  4488. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  4489. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  4490. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  4491. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  4492. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  4493. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  4494. type: integer
  4495. relationorderid:
  4496. description: 关联单号
  4497. type: string
  4498. remark:
  4499. description: 备注
  4500. type: string
  4501. trademode:
  4502. description: 交易模式
  4503. type: integer
  4504. required:
  4505. - accountid
  4506. - amount
  4507. - amountadjusttype
  4508. - autoid
  4509. - balance
  4510. - createtime
  4511. - currentbalance
  4512. - operatetype
  4513. type: object
  4514. taaccount.QueryHisAmountLogRsp:
  4515. properties:
  4516. OPERATETYPENAME:
  4517. description: 资金操作类型名称
  4518. type: string
  4519. accountid:
  4520. description: 资金账户ID
  4521. type: integer
  4522. agoodscode:
  4523. description: 竞拍商品代码
  4524. type: string
  4525. agoodsname:
  4526. description: 竞拍商品名称
  4527. type: string
  4528. amount:
  4529. description: 资金金额
  4530. type: number
  4531. amountadjusttype:
  4532. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  4533. type: integer
  4534. autoid:
  4535. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  4536. type: integer
  4537. balance:
  4538. description: 期初余额
  4539. type: number
  4540. businesscode:
  4541. description: 业务编号
  4542. type: integer
  4543. createtime:
  4544. description: 发生时间
  4545. type: string
  4546. currencyid:
  4547. description: 币种ID
  4548. type: integer
  4549. currentbalance:
  4550. description: 期末余额(变动后金额)
  4551. type: number
  4552. dgoodscode:
  4553. description: 交割商品代码
  4554. type: string
  4555. dgoodsname:
  4556. description: 交割商品名称
  4557. type: string
  4558. goodscode:
  4559. description: 商品代码
  4560. type: string
  4561. goodsid:
  4562. description: 商品ID
  4563. type: integer
  4564. goodsname:
  4565. description: 商品名称
  4566. type: string
  4567. histradedate:
  4568. description: 历史交易日
  4569. type: string
  4570. isvaliddata:
  4571. description: 是否有效 - 0:无效 1:有效
  4572. type: integer
  4573. marketid:
  4574. description: 市场ID
  4575. type: integer
  4576. marketname:
  4577. description: 市场名称
  4578. type: string
  4579. moneyticket:
  4580. description: 资金流水号:银行端流水号
  4581. type: integer
  4582. operatetype:
  4583. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  4584. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  4585. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  4586. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  4587. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  4588. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  4589. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  4590. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  4591. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  4592. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  4593. type: integer
  4594. relationorderid:
  4595. description: 关联单号
  4596. type: string
  4597. remark:
  4598. description: 备注
  4599. type: string
  4600. trademode:
  4601. description: 交易模式
  4602. type: integer
  4603. required:
  4604. - accountid
  4605. - amount
  4606. - amountadjusttype
  4607. - autoid
  4608. - balance
  4609. - createtime
  4610. - currentbalance
  4611. - histradedate
  4612. - operatetype
  4613. type: object
  4614. info:
  4615. contact: {}
  4616. description: 新的查询服务,替代原通用查询服务。
  4617. termsOfService: http://muchinfo.cn
  4618. title: MTP2.0 查询服务 API
  4619. version: "1.0"
  4620. paths:
  4621. /CPTrade/QueryCPTradeMyBidInfos:
  4622. get:
  4623. parameters:
  4624. - description: 资金账户
  4625. in: query
  4626. name: accountid
  4627. required: true
  4628. type: integer
  4629. - description: 预售市场ID
  4630. in: query
  4631. name: marketid
  4632. type: integer
  4633. - description: 预售商品ID
  4634. in: query
  4635. name: goodsid
  4636. type: integer
  4637. produces:
  4638. - application/json
  4639. responses:
  4640. "200":
  4641. description: OK
  4642. schema:
  4643. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  4644. "500":
  4645. description: Internal Server Error
  4646. schema:
  4647. $ref: '#/definitions/app.Response'
  4648. security:
  4649. - ApiKeyAuth: []
  4650. summary: 查询产能预售我的出价信息
  4651. tags:
  4652. - 产能预售
  4653. /CPTrade/QueryCPTradeOrderDetail:
  4654. get:
  4655. parameters:
  4656. - description: 预售商品ID
  4657. in: query
  4658. name: goodsid
  4659. type: integer
  4660. - description: 预售市场ID
  4661. in: query
  4662. name: marketid
  4663. type: integer
  4664. - description: 预售商品ID列表 - 格式:1,2,3
  4665. in: query
  4666. name: goodsids
  4667. type: string
  4668. produces:
  4669. - application/json
  4670. responses:
  4671. "200":
  4672. description: OK
  4673. schema:
  4674. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  4675. "500":
  4676. description: Internal Server Error
  4677. schema:
  4678. $ref: '#/definitions/app.Response'
  4679. security:
  4680. - ApiKeyAuth: []
  4681. summary: 查询产能预售委托单信息
  4682. tags:
  4683. - 产能预售
  4684. /CPTrade/QueryMyCPTradeGoods:
  4685. get:
  4686. parameters:
  4687. - description: 资金账户
  4688. in: query
  4689. name: accountid
  4690. required: true
  4691. type: integer
  4692. produces:
  4693. - application/json
  4694. responses:
  4695. "200":
  4696. description: OK
  4697. schema:
  4698. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  4699. "500":
  4700. description: Internal Server Error
  4701. schema:
  4702. $ref: '#/definitions/app.Response'
  4703. security:
  4704. - ApiKeyAuth: []
  4705. summary: 查询我的预售信息
  4706. tags:
  4707. - 产能预售
  4708. /CPTrade/QueryPositionCancel:
  4709. get:
  4710. parameters:
  4711. - description: 账户ID
  4712. in: query
  4713. name: userid
  4714. required: true
  4715. type: integer
  4716. - description: 注销ID
  4717. in: query
  4718. name: cancelid
  4719. type: integer
  4720. - description: 资金账户ID
  4721. in: query
  4722. name: accountid
  4723. type: integer
  4724. produces:
  4725. - application/json
  4726. responses:
  4727. "200":
  4728. description: OK
  4729. schema:
  4730. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  4731. "500":
  4732. description: Internal Server Error
  4733. schema:
  4734. $ref: '#/definitions/app.Response'
  4735. security:
  4736. - ApiKeyAuth: []
  4737. summary: 查询远期订单注销申请信息
  4738. tags:
  4739. - 产能预售
  4740. /CPTrade/QueryPreasleApply:
  4741. get:
  4742. parameters:
  4743. - description: 账户ID
  4744. in: query
  4745. name: userid
  4746. required: true
  4747. type: integer
  4748. - description: 申请ID
  4749. in: query
  4750. name: applyid
  4751. type: integer
  4752. - description: 资金账户ID
  4753. in: query
  4754. name: accountid
  4755. type: integer
  4756. produces:
  4757. - application/json
  4758. responses:
  4759. "200":
  4760. description: OK
  4761. schema:
  4762. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  4763. "500":
  4764. description: Internal Server Error
  4765. schema:
  4766. $ref: '#/definitions/app.Response'
  4767. security:
  4768. - ApiKeyAuth: []
  4769. summary: 查询产能预售申请信息
  4770. tags:
  4771. - 产能预售
  4772. /CPTrade/QueryPresaleGoodsEx:
  4773. get:
  4774. parameters:
  4775. - description: 预售商品ID
  4776. in: query
  4777. name: goodsid
  4778. type: integer
  4779. - description: 预售市场ID
  4780. in: query
  4781. name: marketid
  4782. type: integer
  4783. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  4784. in: query
  4785. name: presalemode
  4786. type: integer
  4787. - description: 预售商品ID列表 - 格式:1,2,3
  4788. in: query
  4789. name: goodsids
  4790. type: string
  4791. - description: 预售商品代码
  4792. in: query
  4793. name: goodscode
  4794. type: string
  4795. produces:
  4796. - application/json
  4797. responses:
  4798. "200":
  4799. description: OK
  4800. schema:
  4801. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  4802. "500":
  4803. description: Internal Server Error
  4804. schema:
  4805. $ref: '#/definitions/app.Response'
  4806. security:
  4807. - ApiKeyAuth: []
  4808. summary: 查询产能预售商品扩展信息
  4809. tags:
  4810. - 产能预售
  4811. /CPTrade/QueryUserGoodsData:
  4812. get:
  4813. parameters:
  4814. - description: 资金账户ID
  4815. in: query
  4816. name: accountid
  4817. required: true
  4818. type: integer
  4819. produces:
  4820. - application/json
  4821. responses:
  4822. "200":
  4823. description: OK
  4824. schema:
  4825. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  4826. "500":
  4827. description: Internal Server Error
  4828. schema:
  4829. $ref: '#/definitions/app.Response'
  4830. security:
  4831. - ApiKeyAuth: []
  4832. summary: 查询远期订单信息
  4833. tags:
  4834. - 产能预售
  4835. /Common/NoticeReaded:
  4836. post:
  4837. parameters:
  4838. - description: 登录账号
  4839. in: query
  4840. name: loginID
  4841. required: true
  4842. type: integer
  4843. - description: 通知公告ID
  4844. in: query
  4845. name: noticeID
  4846. required: true
  4847. type: integer
  4848. produces:
  4849. - application/json
  4850. responses:
  4851. "200":
  4852. description: OK
  4853. schema:
  4854. $ref: '#/definitions/app.Response'
  4855. "500":
  4856. description: Internal Server Error
  4857. schema:
  4858. $ref: '#/definitions/app.Response'
  4859. security:
  4860. - ApiKeyAuth: []
  4861. summary: 通知公告设置已读请求
  4862. tags:
  4863. - 通用服务
  4864. /Common/QueryImageConfigs:
  4865. get:
  4866. parameters:
  4867. - description: 类型 - 1:App首页轮播 2:我的
  4868. in: query
  4869. name: imageType
  4870. type: integer
  4871. produces:
  4872. - application/json
  4873. responses:
  4874. "200":
  4875. description: OK
  4876. schema:
  4877. $ref: '#/definitions/models.Szdz2imageconfig'
  4878. "500":
  4879. description: Internal Server Error
  4880. schema:
  4881. $ref: '#/definitions/app.Response'
  4882. summary: 查询轮播图配置信息
  4883. tags:
  4884. - 通用服务
  4885. /Common/QueryNotice:
  4886. get:
  4887. parameters:
  4888. - description: 页码
  4889. in: query
  4890. name: page
  4891. type: integer
  4892. - description: 每页条数
  4893. in: query
  4894. name: pagesize
  4895. type: integer
  4896. - description: 登录账号
  4897. in: query
  4898. name: loginID
  4899. required: true
  4900. type: integer
  4901. - description: 消息类型 - 1:公告通知 2:系统消息
  4902. in: query
  4903. name: msgType
  4904. type: integer
  4905. - description: 是否只获取未读信息
  4906. in: query
  4907. name: onlyUnRead
  4908. type: boolean
  4909. produces:
  4910. - application/json
  4911. responses:
  4912. "200":
  4913. description: OK
  4914. schema:
  4915. $ref: '#/definitions/common.QueryNoticeRsp'
  4916. "500":
  4917. description: Internal Server Error
  4918. schema:
  4919. $ref: '#/definitions/app.Response'
  4920. security:
  4921. - ApiKeyAuth: []
  4922. summary: 通知公告系统消息查询
  4923. tags:
  4924. - 通用服务
  4925. /Common/QueryProvincesAndCities:
  4926. get:
  4927. parameters:
  4928. - description: 省ID
  4929. in: query
  4930. name: provinceID
  4931. type: integer
  4932. produces:
  4933. - application/json
  4934. responses:
  4935. "200":
  4936. description: OK
  4937. schema:
  4938. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  4939. "500":
  4940. description: Internal Server Error
  4941. schema:
  4942. $ref: '#/definitions/app.Response'
  4943. summary: 查询省市信息(不包括区)
  4944. tags:
  4945. - 通用服务
  4946. /Common/QueryTableDefine:
  4947. get:
  4948. parameters:
  4949. - description: 表key
  4950. in: query
  4951. name: TableKey
  4952. type: string
  4953. produces:
  4954. - application/json
  4955. responses:
  4956. "200":
  4957. description: OK
  4958. schema:
  4959. $ref: '#/definitions/common.QueryTableDefineRsp'
  4960. "500":
  4961. description: Internal Server Error
  4962. schema:
  4963. $ref: '#/definitions/app.Response'
  4964. summary: 查询交易端列表头信息
  4965. tags:
  4966. - 通用服务
  4967. /Common/QueryTraderMenu:
  4968. get:
  4969. parameters:
  4970. - description: 登录账号
  4971. in: query
  4972. name: loginid
  4973. required: true
  4974. type: integer
  4975. produces:
  4976. - application/json
  4977. responses:
  4978. "200":
  4979. description: OK
  4980. schema:
  4981. $ref: '#/definitions/common.QueryTraderMenuRsp'
  4982. "500":
  4983. description: Internal Server Error
  4984. schema:
  4985. $ref: '#/definitions/app.Response'
  4986. summary: 查询交易端菜单
  4987. tags:
  4988. - 通用服务
  4989. /Delivery/QueryDeliveryRelation:
  4990. get:
  4991. parameters:
  4992. - description: 商品ID
  4993. in: query
  4994. name: goodsid
  4995. type: integer
  4996. - description: 品种ID
  4997. in: query
  4998. name: deliverygoodsid
  4999. type: integer
  5000. - description: 市场ID
  5001. in: query
  5002. name: marketid
  5003. type: integer
  5004. produces:
  5005. - application/json
  5006. responses:
  5007. "200":
  5008. description: OK
  5009. schema:
  5010. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  5011. "500":
  5012. description: Internal Server Error
  5013. schema:
  5014. $ref: '#/definitions/app.Response'
  5015. security:
  5016. - ApiKeyAuth: []
  5017. summary: 查询商品交割关系表
  5018. tags:
  5019. - 交割服务
  5020. /Erms2/QueryArbitrageStrategy:
  5021. get:
  5022. parameters:
  5023. - description: 账户ID
  5024. in: query
  5025. name: userid
  5026. required: true
  5027. type: integer
  5028. - description: 商品组ID(品种ID)
  5029. in: query
  5030. name: goodsgroupid
  5031. type: string
  5032. produces:
  5033. - application/json
  5034. responses:
  5035. "200":
  5036. description: OK
  5037. schema:
  5038. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  5039. "500":
  5040. description: Internal Server Error
  5041. schema:
  5042. $ref: '#/definitions/app.Response'
  5043. security:
  5044. - ApiKeyAuth: []
  5045. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  5046. tags:
  5047. - 风险管理
  5048. /Erms2/QueryInnerTradeDetail:
  5049. get:
  5050. parameters:
  5051. - description: 资金账户
  5052. in: query
  5053. name: accountid
  5054. required: true
  5055. type: integer
  5056. produces:
  5057. - application/json
  5058. responses:
  5059. "200":
  5060. description: OK
  5061. schema:
  5062. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  5063. "500":
  5064. description: Internal Server Error
  5065. schema:
  5066. $ref: '#/definitions/app.Response'
  5067. security:
  5068. - ApiKeyAuth: []
  5069. summary: 查询内部成交单信息
  5070. tags:
  5071. - 风险管理
  5072. /Erms2/QuerySpotContract:
  5073. get:
  5074. parameters:
  5075. - description: 策略申请ID
  5076. in: query
  5077. name: asapplyid
  5078. required: true
  5079. type: integer
  5080. - description: 现货合同ID
  5081. in: query
  5082. name: spotcontractid
  5083. type: integer
  5084. produces:
  5085. - application/json
  5086. responses:
  5087. "200":
  5088. description: OK
  5089. schema:
  5090. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  5091. "500":
  5092. description: Internal Server Error
  5093. schema:
  5094. $ref: '#/definitions/app.Response'
  5095. security:
  5096. - ApiKeyAuth: []
  5097. summary: 查询现货合同表信息(指定策略ID、未结束的)
  5098. tags:
  5099. - 风险管理
  5100. /Erms3/AddSpotContractApply:
  5101. post:
  5102. parameters:
  5103. - description: 申请参数
  5104. in: body
  5105. name: jsonBody
  5106. required: true
  5107. schema:
  5108. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  5109. produces:
  5110. - application/json
  5111. responses:
  5112. "200":
  5113. description: OK
  5114. schema:
  5115. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  5116. "500":
  5117. description: Internal Server Error
  5118. schema:
  5119. $ref: '#/definitions/app.Response'
  5120. security:
  5121. - ApiKeyAuth: []
  5122. summary: 新增现货合同申请
  5123. tags:
  5124. - 风险管理v3
  5125. /Erms3/AddUserInfoApply:
  5126. post:
  5127. parameters:
  5128. - description: 申请参数
  5129. in: body
  5130. name: jsonBody
  5131. required: true
  5132. schema:
  5133. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  5134. produces:
  5135. - application/json
  5136. responses:
  5137. "200":
  5138. description: OK
  5139. schema:
  5140. $ref: '#/definitions/app.Response'
  5141. "500":
  5142. description: Internal Server Error
  5143. schema:
  5144. $ref: '#/definitions/app.Response'
  5145. security:
  5146. - ApiKeyAuth: []
  5147. summary: 新增客户申请
  5148. tags:
  5149. - 风险管理v3
  5150. /Erms3/QueryBusinessInfo:
  5151. get:
  5152. parameters:
  5153. - description: 资金账号ID列表,用逗号分隔
  5154. in: query
  5155. name: accountids
  5156. required: true
  5157. type: string
  5158. - description: 状态,0为未结束 1为已结束
  5159. in: query
  5160. name: status
  5161. required: true
  5162. type: integer
  5163. produces:
  5164. - application/json
  5165. responses:
  5166. "200":
  5167. description: OK
  5168. schema:
  5169. items:
  5170. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  5171. type: array
  5172. "500":
  5173. description: Internal Server Error
  5174. schema:
  5175. $ref: '#/definitions/app.Response'
  5176. security:
  5177. - ApiKeyAuth: []
  5178. summary: 查询业务表单数据
  5179. tags:
  5180. - 风险管理v3
  5181. /Erms3/QueryPendingAuditContract:
  5182. get:
  5183. parameters:
  5184. - description: 账号ID
  5185. in: query
  5186. name: accountid
  5187. required: true
  5188. type: integer
  5189. - description: 合同类型 1-采购 -1-销售
  5190. in: query
  5191. name: contracttype
  5192. required: true
  5193. type: integer
  5194. - description: 合同模式 1-普通 2-回购
  5195. in: query
  5196. name: contractmode
  5197. required: true
  5198. type: integer
  5199. produces:
  5200. - application/json
  5201. responses:
  5202. "200":
  5203. description: OK
  5204. schema:
  5205. items:
  5206. $ref: '#/definitions/erms3.QryAuditContractRsp'
  5207. type: array
  5208. "500":
  5209. description: Internal Server Error
  5210. schema:
  5211. $ref: '#/definitions/app.Response'
  5212. security:
  5213. - ApiKeyAuth: []
  5214. summary: 查询待审核合同
  5215. tags:
  5216. - 风险管理v3
  5217. /Erms3/QuerySpotContractAppleForm:
  5218. get:
  5219. parameters:
  5220. - description: 登录账号
  5221. in: query
  5222. name: loginID
  5223. required: true
  5224. type: integer
  5225. produces:
  5226. - application/json
  5227. responses:
  5228. "200":
  5229. description: OK
  5230. schema:
  5231. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  5232. "500":
  5233. description: Internal Server Error
  5234. schema:
  5235. $ref: '#/definitions/app.Response'
  5236. security:
  5237. - ApiKeyAuth: []
  5238. summary: 查询合同申请表单数据
  5239. tags:
  5240. - 风险管理v3
  5241. /Erms3/QuerySpotContractDetail:
  5242. get:
  5243. parameters:
  5244. - description: 资金账号ID列表,用逗号分隔
  5245. in: query
  5246. name: accountids
  5247. required: true
  5248. type: string
  5249. - description: 合同类型,1为采购合同 -1为销售合同
  5250. in: query
  5251. name: contracttype
  5252. required: true
  5253. type: integer
  5254. - description: 合同模式,1为普通合同 2为回购销售合同
  5255. in: query
  5256. name: contractmode
  5257. required: true
  5258. type: integer
  5259. - description: 状态,0为履约中 1为已完成
  5260. in: query
  5261. name: status
  5262. required: true
  5263. type: integer
  5264. produces:
  5265. - application/json
  5266. responses:
  5267. "200":
  5268. description: OK
  5269. schema:
  5270. items:
  5271. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  5272. type: array
  5273. "500":
  5274. description: Internal Server Error
  5275. schema:
  5276. $ref: '#/definitions/app.Response'
  5277. security:
  5278. - ApiKeyAuth: []
  5279. summary: 查询合同详细信息
  5280. tags:
  5281. - 风险管理v3
  5282. /Erms3/QueryUserInfoApplies:
  5283. get:
  5284. parameters:
  5285. - description: 页码
  5286. in: query
  5287. name: page
  5288. type: integer
  5289. - description: 每页条数
  5290. in: query
  5291. name: pagesize
  5292. type: integer
  5293. - description: 客户名称,支持模糊查询
  5294. in: query
  5295. name: userName
  5296. type: string
  5297. produces:
  5298. - application/json
  5299. responses:
  5300. "200":
  5301. description: OK
  5302. schema:
  5303. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  5304. "500":
  5305. description: Internal Server Error
  5306. schema:
  5307. $ref: '#/definitions/app.Response'
  5308. security:
  5309. - ApiKeyAuth: []
  5310. summary: 客户申请信息查询
  5311. tags:
  5312. - 风险管理v3
  5313. /Erms3/QueryUserInfos:
  5314. get:
  5315. parameters:
  5316. - description: 页码
  5317. in: query
  5318. name: page
  5319. type: integer
  5320. - description: 每页条数
  5321. in: query
  5322. name: pagesize
  5323. type: integer
  5324. - description: 客户名称,支持模糊查询
  5325. in: query
  5326. name: userName
  5327. type: string
  5328. produces:
  5329. - application/json
  5330. responses:
  5331. "200":
  5332. description: OK
  5333. schema:
  5334. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  5335. "500":
  5336. description: Internal Server Error
  5337. schema:
  5338. $ref: '#/definitions/app.Response'
  5339. security:
  5340. - ApiKeyAuth: []
  5341. summary: 客户信息查询
  5342. tags:
  5343. - 风险管理v3
  5344. /HSBY/GetHsbyMyCount:
  5345. get:
  5346. description: 说明: 不包括已完成的数量。
  5347. parameters:
  5348. - description: 资金账户列表,格式:1,2,3
  5349. in: query
  5350. name: accountIDs
  5351. required: true
  5352. type: string
  5353. produces:
  5354. - application/json
  5355. responses:
  5356. "200":
  5357. description: OK
  5358. schema:
  5359. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  5360. "500":
  5361. description: Internal Server Error
  5362. schema:
  5363. $ref: '#/definitions/app.Response'
  5364. security:
  5365. - ApiKeyAuth: []
  5366. summary: 获取我的订单与包裹数量
  5367. tags:
  5368. - 定制【海商报业】
  5369. /HSBY/QueryHsbyBuyMyTradeDetail:
  5370. get:
  5371. parameters:
  5372. - description: 页码
  5373. in: query
  5374. name: page
  5375. type: integer
  5376. - description: 每页条数
  5377. in: query
  5378. name: pagesize
  5379. type: integer
  5380. - description: 资金账户列表,格式:1,2,3
  5381. in: query
  5382. name: accountIDs
  5383. required: true
  5384. type: string
  5385. produces:
  5386. - application/json
  5387. responses:
  5388. "200":
  5389. description: OK
  5390. schema:
  5391. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  5392. "500":
  5393. description: Internal Server Error
  5394. schema:
  5395. $ref: '#/definitions/app.Response'
  5396. security:
  5397. - ApiKeyAuth: []
  5398. summary: 查询"我的订单 - 已完成"单据信息
  5399. tags:
  5400. - 定制【海商报业】
  5401. /HSBY/QueryHsbyGoodsOrderDetails:
  5402. get:
  5403. description: 说明:查询结果已按委托价格和委托时间排序
  5404. parameters:
  5405. - description: 商品ID
  5406. in: query
  5407. name: goodsID
  5408. required: true
  5409. type: integer
  5410. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  5411. in: query
  5412. name: accountIDs
  5413. required: true
  5414. type: string
  5415. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  5416. in: query
  5417. name: buyOrSell
  5418. type: integer
  5419. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  5420. in: query
  5421. name: price
  5422. type: number
  5423. - description: 档位,不传则默认为3档
  5424. in: query
  5425. name: speed
  5426. type: integer
  5427. produces:
  5428. - application/json
  5429. responses:
  5430. "200":
  5431. description: OK
  5432. schema:
  5433. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  5434. "500":
  5435. description: Internal Server Error
  5436. schema:
  5437. $ref: '#/definitions/app.Response'
  5438. security:
  5439. - ApiKeyAuth: []
  5440. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  5441. tags:
  5442. - 定制【海商报业】
  5443. /HSBY/QueryHsbyListingGoodsDetail:
  5444. get:
  5445. parameters:
  5446. - description: 商品ID
  5447. in: query
  5448. name: goodsID
  5449. required: true
  5450. type: integer
  5451. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  5452. in: query
  5453. name: AccountID
  5454. type: integer
  5455. produces:
  5456. - application/json
  5457. responses:
  5458. "200":
  5459. description: OK
  5460. schema:
  5461. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  5462. "500":
  5463. description: Internal Server Error
  5464. schema:
  5465. $ref: '#/definitions/app.Response'
  5466. security:
  5467. - ApiKeyAuth: []
  5468. summary: 查询二级市场(挂牌点选)商品信息详情
  5469. tags:
  5470. - 定制【海商报业】
  5471. /HSBY/QueryHsbyMyBuyOrderDetails:
  5472. get:
  5473. description: 说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;
  5474. parameters:
  5475. - description: 资金账户列表,格式:1,2,3
  5476. in: query
  5477. name: accountIDs
  5478. required: true
  5479. type: string
  5480. - description: '''我的订单''状态, 1:抢购中 2:求购中 3:已完成;不传则为''全部'''
  5481. in: query
  5482. name: myBuyStatus
  5483. type: integer
  5484. produces:
  5485. - application/json
  5486. responses:
  5487. "200":
  5488. description: OK
  5489. schema:
  5490. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  5491. "500":
  5492. description: Internal Server Error
  5493. schema:
  5494. $ref: '#/definitions/app.Response'
  5495. security:
  5496. - ApiKeyAuth: []
  5497. summary: 查询“我的订单”信息
  5498. tags:
  5499. - 定制【海商报业】
  5500. /HSBY/QueryHsbyMyGoods:
  5501. get:
  5502. parameters:
  5503. - description: 资金账户列表,格式:1,2,3
  5504. in: query
  5505. name: accountIDs
  5506. required: true
  5507. type: string
  5508. produces:
  5509. - application/json
  5510. responses:
  5511. "200":
  5512. description: OK
  5513. schema:
  5514. $ref: '#/definitions/models.HsbyMyGoods'
  5515. "500":
  5516. description: Internal Server Error
  5517. schema:
  5518. $ref: '#/definitions/app.Response'
  5519. security:
  5520. - ApiKeyAuth: []
  5521. summary: 查询“我的商品”信息
  5522. tags:
  5523. - 定制【海商报业】
  5524. /HSBY/QueryHsbyMyPackages:
  5525. get:
  5526. parameters:
  5527. - description: 资金账户列表,格式:1,2,3
  5528. in: query
  5529. name: accountIDs
  5530. required: true
  5531. type: string
  5532. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  5533. in: query
  5534. name: takeOrderStatus
  5535. type: integer
  5536. produces:
  5537. - application/json
  5538. responses:
  5539. "200":
  5540. description: OK
  5541. schema:
  5542. $ref: '#/definitions/models.HsbyMyPackage'
  5543. "500":
  5544. description: Internal Server Error
  5545. schema:
  5546. $ref: '#/definitions/app.Response'
  5547. security:
  5548. - ApiKeyAuth: []
  5549. summary: 查询我的包裹信息
  5550. tags:
  5551. - 定制【海商报业】
  5552. /HSBY/QueryHsbyPreGoodsDetail:
  5553. get:
  5554. parameters:
  5555. - description: 商品ID
  5556. in: query
  5557. name: goodsID
  5558. required: true
  5559. type: integer
  5560. - description: 资金账户,主要用于获取预售商品购买上限
  5561. in: query
  5562. name: accountID
  5563. required: true
  5564. type: integer
  5565. produces:
  5566. - application/json
  5567. responses:
  5568. "200":
  5569. description: OK
  5570. schema:
  5571. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  5572. "500":
  5573. description: Internal Server Error
  5574. schema:
  5575. $ref: '#/definitions/app.Response'
  5576. security:
  5577. - ApiKeyAuth: []
  5578. summary: 查询一级市场(产能预售)商品信息详情
  5579. tags:
  5580. - 定制【海商报业】
  5581. /HSBY/QueryHsbyPreGoodses:
  5582. get:
  5583. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  5584. parameters:
  5585. - description: 页码
  5586. in: query
  5587. name: page
  5588. type: integer
  5589. - description: 每页条数
  5590. in: query
  5591. name: pagesize
  5592. type: integer
  5593. - description: 市场ID列表,格式:1,2,3
  5594. in: query
  5595. name: marketIDs
  5596. required: true
  5597. type: string
  5598. - description: 目的地(省)ID
  5599. in: query
  5600. name: descProvinceID
  5601. type: integer
  5602. - description: 目的地(市)ID
  5603. in: query
  5604. name: descCityID
  5605. type: integer
  5606. produces:
  5607. - application/json
  5608. responses:
  5609. "200":
  5610. description: OK
  5611. schema:
  5612. $ref: '#/definitions/models.HsbyPreGoods'
  5613. "500":
  5614. description: Internal Server Error
  5615. schema:
  5616. $ref: '#/definitions/app.Response'
  5617. security:
  5618. - ApiKeyAuth: []
  5619. summary: 查询新品上市商品列表(一级市场产能预售)
  5620. tags:
  5621. - 定制【海商报业】
  5622. /HSBY/QueryHsbySellMyDetails:
  5623. get:
  5624. description: 说明:已发布 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  5625. parameters:
  5626. - description: 页码
  5627. in: query
  5628. name: page
  5629. type: integer
  5630. - description: 每页条数
  5631. in: query
  5632. name: pagesize
  5633. type: integer
  5634. - description: 资金账户列表,格式:1,2,3
  5635. in: query
  5636. name: accountIDs
  5637. required: true
  5638. type: string
  5639. - description: 单据类型:0 - 已发布(默认), 1 - 已完成
  5640. in: query
  5641. name: orderType
  5642. type: integer
  5643. produces:
  5644. - application/json
  5645. responses:
  5646. "200":
  5647. description: OK
  5648. schema:
  5649. $ref: '#/definitions/models.HsbySellMyDetail'
  5650. "500":
  5651. description: Internal Server Error
  5652. schema:
  5653. $ref: '#/definitions/app.Response'
  5654. security:
  5655. - ApiKeyAuth: []
  5656. summary: 查询"我的闲置"单据信息
  5657. tags:
  5658. - 定制【海商报业】
  5659. /HSBY/QueryHsbyTopGoodses:
  5660. get:
  5661. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  5662. parameters:
  5663. - description: 页码
  5664. in: query
  5665. name: page
  5666. type: integer
  5667. - description: 每页条数
  5668. in: query
  5669. name: pagesize
  5670. type: integer
  5671. - description: 市场ID列表,格式:1,2,3
  5672. in: query
  5673. name: marketIDs
  5674. required: true
  5675. type: string
  5676. - description: 目的地(省)ID
  5677. in: query
  5678. name: descProvinceID
  5679. type: integer
  5680. - description: 目的地(市)ID
  5681. in: query
  5682. name: descCityID
  5683. type: integer
  5684. produces:
  5685. - application/json
  5686. responses:
  5687. "200":
  5688. description: OK
  5689. schema:
  5690. $ref: '#/definitions/models.HsbyTopGoods'
  5691. "500":
  5692. description: Internal Server Error
  5693. schema:
  5694. $ref: '#/definitions/app.Response'
  5695. security:
  5696. - ApiKeyAuth: []
  5697. summary: 查询热卖商品列表(二级市场挂牌点选)
  5698. tags:
  5699. - 定制【海商报业】
  5700. /HSBY/QueryProvincesAndCities:
  5701. get:
  5702. description: 查询结果只包括二级市场商品已关连的省市信息。
  5703. parameters:
  5704. - description: 省ID
  5705. in: query
  5706. name: provinceID
  5707. type: integer
  5708. produces:
  5709. - application/json
  5710. responses:
  5711. "200":
  5712. description: OK
  5713. schema:
  5714. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  5715. "500":
  5716. description: Internal Server Error
  5717. schema:
  5718. $ref: '#/definitions/app.Response'
  5719. security:
  5720. - ApiKeyAuth: []
  5721. summary: 查询省市信息(不包括区)
  5722. tags:
  5723. - 定制【海商报业】
  5724. /HSBY/SetHsbyMyPackagesStatus:
  5725. post:
  5726. parameters:
  5727. - description: 提货单号
  5728. in: query
  5729. name: takeOrderID
  5730. required: true
  5731. type: string
  5732. - description: 资金账号
  5733. in: query
  5734. name: accountID
  5735. required: true
  5736. type: integer
  5737. produces:
  5738. - application/json
  5739. responses:
  5740. "200":
  5741. description: OK
  5742. schema:
  5743. $ref: '#/definitions/app.Response'
  5744. "500":
  5745. description: Internal Server Error
  5746. schema:
  5747. $ref: '#/definitions/app.Response'
  5748. security:
  5749. - ApiKeyAuth: []
  5750. summary: 设置我的包裹已收货状态
  5751. tags:
  5752. - 定制【海商报业】
  5753. /Order/QueryHisTradeDetail:
  5754. get:
  5755. parameters:
  5756. - description: 资金账户 - 格式:1,2,3
  5757. in: query
  5758. name: accountID
  5759. required: true
  5760. type: string
  5761. - description: 成交单号
  5762. in: query
  5763. name: tradeID
  5764. type: integer
  5765. - description: 委托单号
  5766. in: query
  5767. name: orderID
  5768. type: integer
  5769. - description: 交易模式 - 格式:1,2,3
  5770. in: query
  5771. name: tradeMode
  5772. type: string
  5773. - description: 委托单据类型
  5774. in: query
  5775. name: buildType
  5776. type: integer
  5777. - description: 成交类别 - 格式:1,2,3
  5778. in: query
  5779. name: tradeType
  5780. type: string
  5781. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  5782. in: query
  5783. name: startDate
  5784. type: string
  5785. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  5786. in: query
  5787. name: endDate
  5788. type: string
  5789. produces:
  5790. - application/json
  5791. responses:
  5792. "200":
  5793. description: OK
  5794. schema:
  5795. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  5796. "500":
  5797. description: Internal Server Error
  5798. schema:
  5799. $ref: '#/definitions/app.Response'
  5800. security:
  5801. - ApiKeyAuth: []
  5802. summary: 历史成交单查询(合约市场)
  5803. tags:
  5804. - 通用单据
  5805. /Order/QueryHisTradeOrderDetail:
  5806. get:
  5807. parameters:
  5808. - description: 资金账户 - 格式:1,2,3
  5809. in: query
  5810. name: accountID
  5811. required: true
  5812. type: string
  5813. - description: 交易模式 - 格式:1,2,3
  5814. in: query
  5815. name: tradeMode
  5816. type: string
  5817. - description: 委托状态 - 格式:1,2,3
  5818. in: query
  5819. name: orderStatus
  5820. type: string
  5821. - description: 委托单号
  5822. in: query
  5823. name: orderID
  5824. type: integer
  5825. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  5826. in: query
  5827. name: startDate
  5828. type: string
  5829. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  5830. in: query
  5831. name: endDate
  5832. type: string
  5833. produces:
  5834. - application/json
  5835. responses:
  5836. "200":
  5837. description: OK
  5838. schema:
  5839. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  5840. "500":
  5841. description: Internal Server Error
  5842. schema:
  5843. $ref: '#/definitions/app.Response'
  5844. security:
  5845. - ApiKeyAuth: []
  5846. summary: 历史委托单查询请求(合约市场)
  5847. tags:
  5848. - 通用单据
  5849. /Order/QueryTradeDetail:
  5850. get:
  5851. parameters:
  5852. - description: 资金账户 - 格式:1,2,3
  5853. in: query
  5854. name: accountID
  5855. required: true
  5856. type: string
  5857. - description: 成交单号
  5858. in: query
  5859. name: tradeID
  5860. type: integer
  5861. - description: 委托单号
  5862. in: query
  5863. name: orderID
  5864. type: integer
  5865. - description: 交易模式 - 格式:1,2,3
  5866. in: query
  5867. name: tradeMode
  5868. type: string
  5869. - description: 委托单据类型
  5870. in: query
  5871. name: buildType
  5872. type: integer
  5873. - description: 成交类别 - 格式:1,2,3
  5874. in: query
  5875. name: tradeType
  5876. type: string
  5877. produces:
  5878. - application/json
  5879. responses:
  5880. "200":
  5881. description: OK
  5882. schema:
  5883. $ref: '#/definitions/order.QueryTradeDetailRsp'
  5884. "500":
  5885. description: Internal Server Error
  5886. schema:
  5887. $ref: '#/definitions/app.Response'
  5888. security:
  5889. - ApiKeyAuth: []
  5890. summary: 成交单查询(合约市场)
  5891. tags:
  5892. - 通用单据
  5893. /Order/QueryTradeOrderDetail:
  5894. get:
  5895. parameters:
  5896. - description: 资金账户 - 格式:1,2,3
  5897. in: query
  5898. name: accountID
  5899. required: true
  5900. type: string
  5901. - description: 交易模式 - 格式:1,2,3
  5902. in: query
  5903. name: tradeMode
  5904. type: string
  5905. - description: 委托状态 - 格式:1,2,3
  5906. in: query
  5907. name: orderStatus
  5908. type: string
  5909. - description: 委托单号
  5910. in: query
  5911. name: orderID
  5912. type: integer
  5913. produces:
  5914. - application/json
  5915. responses:
  5916. "200":
  5917. description: OK
  5918. schema:
  5919. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  5920. "500":
  5921. description: Internal Server Error
  5922. schema:
  5923. $ref: '#/definitions/app.Response'
  5924. security:
  5925. - ApiKeyAuth: []
  5926. summary: 委托单查询请求(合约市场)
  5927. tags:
  5928. - 通用单据
  5929. /Order/QueryTradePosition:
  5930. get:
  5931. parameters:
  5932. - description: 资金账户 - 格式:1,2,3
  5933. in: query
  5934. name: accountID
  5935. required: true
  5936. type: string
  5937. - description: 交易模式 - 格式:1,2,3
  5938. in: query
  5939. name: tradeMode
  5940. type: string
  5941. produces:
  5942. - application/json
  5943. responses:
  5944. "200":
  5945. description: OK
  5946. schema:
  5947. $ref: '#/definitions/order.QueryTradePositionRsp'
  5948. "500":
  5949. description: Internal Server Error
  5950. schema:
  5951. $ref: '#/definitions/app.Response'
  5952. security:
  5953. - ApiKeyAuth: []
  5954. summary: 持仓汇总查询(合约市场)
  5955. tags:
  5956. - 通用单据
  5957. /Quote/QueryHistoryDatas:
  5958. get:
  5959. parameters:
  5960. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  5961. 日线 10: Tik'
  5962. in: query
  5963. name: cycleType
  5964. required: true
  5965. type: integer
  5966. - description: 商品代码
  5967. in: query
  5968. name: goodsCode
  5969. required: true
  5970. type: string
  5971. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  5972. in: query
  5973. name: startTime
  5974. type: string
  5975. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  5976. in: query
  5977. name: endTime
  5978. type: string
  5979. - description: 条数
  5980. in: query
  5981. name: count
  5982. type: integer
  5983. - description: 是否按时间顺序排序(默认为时间倒序排序)
  5984. in: query
  5985. name: isAsc
  5986. type: boolean
  5987. produces:
  5988. - application/json
  5989. responses:
  5990. "200":
  5991. description: OK
  5992. schema:
  5993. $ref: '#/definitions/quote.HistoryData'
  5994. "500":
  5995. description: Internal Server Error
  5996. schema:
  5997. $ref: '#/definitions/app.Response'
  5998. security:
  5999. - ApiKeyAuth: []
  6000. summary: 查询行情历史数据
  6001. tags:
  6002. - 行情服务
  6003. /Quote/QueryTSData:
  6004. get:
  6005. parameters:
  6006. - description: 商品代码
  6007. in: query
  6008. name: GoodsCode
  6009. required: true
  6010. type: string
  6011. produces:
  6012. - application/json
  6013. responses:
  6014. "200":
  6015. description: OK
  6016. schema:
  6017. $ref: '#/definitions/quote.QueryTSDataRsp'
  6018. "500":
  6019. description: Internal Server Error
  6020. schema:
  6021. $ref: '#/definitions/app.Response'
  6022. summary: 分时图数据查询
  6023. tags:
  6024. - 行情服务
  6025. /SZDZ/QueryConvertConfig:
  6026. get:
  6027. parameters:
  6028. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  6029. 6:交易转花生米(不设置)
  6030. in: query
  6031. name: convertType
  6032. type: integer
  6033. - description: 外部商品代码[JD\PD]
  6034. in: query
  6035. name: outerGoodsCode
  6036. type: string
  6037. - description: 内部商品ID列表[交易],格式:1,2,3
  6038. in: query
  6039. name: innerGoodsIDs
  6040. type: string
  6041. produces:
  6042. - application/json
  6043. responses:
  6044. "200":
  6045. description: OK
  6046. schema:
  6047. $ref: '#/definitions/models.Szdz3convertconfig'
  6048. "500":
  6049. description: Internal Server Error
  6050. schema:
  6051. $ref: '#/definitions/app.Response'
  6052. security:
  6053. - ApiKeyAuth: []
  6054. summary: 查询交易系统转换设置
  6055. tags:
  6056. - 定制【尚志大宗】
  6057. /SZDZ/QueryConvertLog:
  6058. get:
  6059. parameters:
  6060. - description: 资金账户 - 格式:1,2,3
  6061. in: query
  6062. name: accountID
  6063. required: true
  6064. type: string
  6065. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  6066. in: query
  6067. name: startDate
  6068. type: string
  6069. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  6070. in: query
  6071. name: endDate
  6072. type: string
  6073. produces:
  6074. - application/json
  6075. responses:
  6076. "200":
  6077. description: OK
  6078. schema:
  6079. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  6080. "500":
  6081. description: Internal Server Error
  6082. schema:
  6083. $ref: '#/definitions/app.Response'
  6084. security:
  6085. - ApiKeyAuth: []
  6086. summary: 交易系统转换流水查询
  6087. tags:
  6088. - 定制【尚志大宗】
  6089. /SZDZ/QueryGoodsPickup:
  6090. get:
  6091. parameters:
  6092. - description: 资金账户 - 格式:1,2,3
  6093. in: query
  6094. name: accountID
  6095. required: true
  6096. type: string
  6097. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  6098. in: query
  6099. name: takeOrderStatus
  6100. type: integer
  6101. produces:
  6102. - application/json
  6103. responses:
  6104. "200":
  6105. description: OK
  6106. schema:
  6107. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  6108. "500":
  6109. description: Internal Server Error
  6110. schema:
  6111. $ref: '#/definitions/app.Response'
  6112. security:
  6113. - ApiKeyAuth: []
  6114. summary: 商品提货单查询
  6115. tags:
  6116. - 定制【尚志大宗】
  6117. /SZDZ/QueryRecieptOrder:
  6118. get:
  6119. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  6120. parameters:
  6121. - description: 页码
  6122. in: query
  6123. name: page
  6124. type: integer
  6125. - description: 每页条数
  6126. in: query
  6127. name: pagesize
  6128. type: integer
  6129. - description: 商品ID
  6130. in: query
  6131. name: goodsID
  6132. required: true
  6133. type: integer
  6134. - description: 所属账户名称
  6135. in: query
  6136. name: accountName
  6137. type: string
  6138. - description: 市场ID
  6139. in: query
  6140. name: marketID
  6141. type: integer
  6142. - description: 方向 - 0:买 1:卖
  6143. in: query
  6144. name: buyorsell
  6145. required: true
  6146. type: integer
  6147. produces:
  6148. - application/json
  6149. responses:
  6150. "200":
  6151. description: OK
  6152. schema:
  6153. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  6154. "500":
  6155. description: Internal Server Error
  6156. schema:
  6157. $ref: '#/definitions/app.Response'
  6158. security:
  6159. - ApiKeyAuth: []
  6160. summary: 点选挂牌委托单据查询(摘牌大厅)
  6161. tags:
  6162. - 定制【尚志大宗】
  6163. /SZDZ/QuerySZDZTradePosition:
  6164. get:
  6165. parameters:
  6166. - description: 资金账户
  6167. in: query
  6168. name: accountID
  6169. required: true
  6170. type: integer
  6171. produces:
  6172. - application/json
  6173. responses:
  6174. "200":
  6175. description: OK
  6176. schema:
  6177. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  6178. "500":
  6179. description: Internal Server Error
  6180. schema:
  6181. $ref: '#/definitions/app.Response'
  6182. security:
  6183. - ApiKeyAuth: []
  6184. summary: 持仓汇总查询(尚志大宗)
  6185. tags:
  6186. - 定制【尚志大宗】
  6187. /SZDZ/SearchWhite:
  6188. get:
  6189. parameters:
  6190. - description: 用户ID
  6191. in: query
  6192. name: userID
  6193. required: true
  6194. type: integer
  6195. produces:
  6196. - application/json
  6197. responses:
  6198. "200":
  6199. description: OK
  6200. schema:
  6201. $ref: '#/definitions/models.Szdz3searchwhitelist'
  6202. "500":
  6203. description: Internal Server Error
  6204. schema:
  6205. $ref: '#/definitions/app.Response'
  6206. security:
  6207. - ApiKeyAuth: []
  6208. summary: 搜索白名单
  6209. tags:
  6210. - 定制【尚志大宗】
  6211. /Search/SearchGoodses:
  6212. get:
  6213. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  6214. parameters:
  6215. - description: 检索内容
  6216. in: query
  6217. name: content
  6218. required: true
  6219. type: string
  6220. produces:
  6221. - application/json
  6222. responses:
  6223. "200":
  6224. description: OK
  6225. schema:
  6226. $ref: '#/definitions/models.SearchGoods'
  6227. "500":
  6228. description: Internal Server Error
  6229. schema:
  6230. $ref: '#/definitions/app.Response'
  6231. summary: 检索商品信息
  6232. tags:
  6233. - 检索服务
  6234. /TaAccount/QueryAmountLog:
  6235. get:
  6236. parameters:
  6237. - description: 页码
  6238. in: query
  6239. name: page
  6240. type: integer
  6241. - description: 每页条数
  6242. in: query
  6243. name: pagesize
  6244. type: integer
  6245. - description: 资金账户 - 格式:1,2,3
  6246. in: query
  6247. name: accountID
  6248. required: true
  6249. type: string
  6250. - description: 资金操作类型 - 格式:1,2,3
  6251. in: query
  6252. name: OperateType
  6253. type: string
  6254. produces:
  6255. - application/json
  6256. responses:
  6257. "200":
  6258. description: OK
  6259. schema:
  6260. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  6261. "500":
  6262. description: Internal Server Error
  6263. schema:
  6264. $ref: '#/definitions/app.Response'
  6265. security:
  6266. - ApiKeyAuth: []
  6267. summary: 资金流水查询(当前)
  6268. tags:
  6269. - 资金账户
  6270. /TaAccount/QueryHisAmountLog:
  6271. get:
  6272. parameters:
  6273. - description: 页码
  6274. in: query
  6275. name: page
  6276. type: integer
  6277. - description: 每页条数
  6278. in: query
  6279. name: pagesize
  6280. type: integer
  6281. - description: 资金账户 - 格式:1,2,3
  6282. in: query
  6283. name: accountID
  6284. required: true
  6285. type: string
  6286. - description: 资金操作类型 - 格式:1,2,3
  6287. in: query
  6288. name: OperateType
  6289. type: string
  6290. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  6291. in: query
  6292. name: startDate
  6293. type: string
  6294. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  6295. in: query
  6296. name: endDate
  6297. type: string
  6298. produces:
  6299. - application/json
  6300. responses:
  6301. "200":
  6302. description: OK
  6303. schema:
  6304. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  6305. "500":
  6306. description: Internal Server Error
  6307. schema:
  6308. $ref: '#/definitions/app.Response'
  6309. security:
  6310. - ApiKeyAuth: []
  6311. summary: 资金流水查询(历史)
  6312. tags:
  6313. - 资金账户
  6314. /User/AddMessageBoard:
  6315. post:
  6316. parameters:
  6317. - description: 用户ID
  6318. in: query
  6319. name: userID
  6320. required: true
  6321. type: integer
  6322. - description: 留言信息
  6323. in: query
  6324. name: message
  6325. required: true
  6326. type: string
  6327. produces:
  6328. - application/json
  6329. responses:
  6330. "200":
  6331. description: OK
  6332. schema:
  6333. $ref: '#/definitions/app.Response'
  6334. "500":
  6335. description: Internal Server Error
  6336. schema:
  6337. $ref: '#/definitions/app.Response'
  6338. security:
  6339. - ApiKeyAuth: []
  6340. summary: 添加用户留言板信息
  6341. tags:
  6342. - 用户信息
  6343. /User/AddUserFavoriteGoods:
  6344. post:
  6345. parameters:
  6346. - description: 用户ID
  6347. in: query
  6348. name: userID
  6349. required: true
  6350. type: integer
  6351. - description: 商品ID
  6352. in: query
  6353. name: goodsID
  6354. required: true
  6355. type: integer
  6356. produces:
  6357. - application/json
  6358. responses:
  6359. "200":
  6360. description: OK
  6361. schema:
  6362. $ref: '#/definitions/app.Response'
  6363. "500":
  6364. description: Internal Server Error
  6365. schema:
  6366. $ref: '#/definitions/app.Response'
  6367. security:
  6368. - ApiKeyAuth: []
  6369. summary: 添加用户商品收藏信息
  6370. tags:
  6371. - 用户信息
  6372. /User/GetLoginID:
  6373. get:
  6374. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  6375. parameters:
  6376. - description: 登录代码
  6377. in: query
  6378. name: username
  6379. required: true
  6380. type: string
  6381. produces:
  6382. - application/json
  6383. responses:
  6384. "200":
  6385. description: OK
  6386. schema:
  6387. $ref: '#/definitions/app.Response'
  6388. "500":
  6389. description: Internal Server Error
  6390. schema:
  6391. $ref: '#/definitions/app.Response'
  6392. summary: 获取登录ID
  6393. tags:
  6394. - 用户信息
  6395. /User/GetUserAccount:
  6396. get:
  6397. parameters:
  6398. - description: 用户ID
  6399. in: query
  6400. name: userID
  6401. required: true
  6402. type: integer
  6403. produces:
  6404. - application/json
  6405. responses:
  6406. "200":
  6407. description: OK
  6408. schema:
  6409. $ref: '#/definitions/models.Useraccount'
  6410. "500":
  6411. description: Internal Server Error
  6412. schema:
  6413. $ref: '#/definitions/app.Response'
  6414. security:
  6415. - ApiKeyAuth: []
  6416. summary: 获取用户账号信息
  6417. tags:
  6418. - 用户信息
  6419. /User/GetUserAuthStatus:
  6420. get:
  6421. parameters:
  6422. - description: 用户ID
  6423. in: query
  6424. name: userID
  6425. required: true
  6426. type: integer
  6427. produces:
  6428. - application/json
  6429. responses:
  6430. "200":
  6431. description: OK
  6432. schema:
  6433. $ref: '#/definitions/app.Response'
  6434. "500":
  6435. description: Internal Server Error
  6436. schema:
  6437. $ref: '#/definitions/app.Response'
  6438. security:
  6439. - ApiKeyAuth: []
  6440. summary: 获取用户实名认证状态
  6441. tags:
  6442. - 用户信息
  6443. /User/QueryMessageBoard:
  6444. get:
  6445. parameters:
  6446. - description: 用户ID
  6447. in: query
  6448. name: userID
  6449. required: true
  6450. type: integer
  6451. produces:
  6452. - application/json
  6453. responses:
  6454. "200":
  6455. description: OK
  6456. schema:
  6457. $ref: '#/definitions/models.Messageboard'
  6458. "500":
  6459. description: Internal Server Error
  6460. schema:
  6461. $ref: '#/definitions/app.Response'
  6462. security:
  6463. - ApiKeyAuth: []
  6464. summary: 获取用户留言板信息
  6465. tags:
  6466. - 用户信息
  6467. /User/QueryUserFavoriteGoodses:
  6468. get:
  6469. parameters:
  6470. - description: 用户ID
  6471. in: query
  6472. name: userID
  6473. required: true
  6474. type: integer
  6475. produces:
  6476. - application/json
  6477. responses:
  6478. "200":
  6479. description: OK
  6480. schema:
  6481. $ref: '#/definitions/models.Userfavoritegoods'
  6482. "500":
  6483. description: Internal Server Error
  6484. schema:
  6485. $ref: '#/definitions/app.Response'
  6486. security:
  6487. - ApiKeyAuth: []
  6488. summary: 获取用户商品收藏信息
  6489. tags:
  6490. - 用户信息
  6491. /User/QueryUserInfo:
  6492. get:
  6493. parameters:
  6494. - description: 用户ID
  6495. in: query
  6496. name: userID
  6497. required: true
  6498. type: integer
  6499. produces:
  6500. - application/json
  6501. responses:
  6502. "200":
  6503. description: OK
  6504. schema:
  6505. $ref: '#/definitions/models.Userinfo'
  6506. "500":
  6507. description: Internal Server Error
  6508. schema:
  6509. $ref: '#/definitions/app.Response'
  6510. security:
  6511. - ApiKeyAuth: []
  6512. summary: 获取用户信息
  6513. tags:
  6514. - 用户信息
  6515. /User/QueryUserReferNum:
  6516. get:
  6517. parameters:
  6518. - description: 用户ID
  6519. in: query
  6520. name: userID
  6521. required: true
  6522. type: integer
  6523. produces:
  6524. - application/json
  6525. responses:
  6526. "200":
  6527. description: OK
  6528. schema:
  6529. $ref: '#/definitions/app.Response'
  6530. "500":
  6531. description: Internal Server Error
  6532. schema:
  6533. $ref: '#/definitions/app.Response'
  6534. summary: 获取用户邀请码
  6535. tags:
  6536. - 用户信息
  6537. /User/RemoveUserFavoriteGoods:
  6538. post:
  6539. parameters:
  6540. - description: 用户ID
  6541. in: query
  6542. name: userID
  6543. required: true
  6544. type: integer
  6545. - description: 商品ID
  6546. in: query
  6547. name: goodsID
  6548. required: true
  6549. type: integer
  6550. produces:
  6551. - application/json
  6552. responses:
  6553. "200":
  6554. description: OK
  6555. schema:
  6556. $ref: '#/definitions/app.Response'
  6557. "500":
  6558. description: Internal Server Error
  6559. schema:
  6560. $ref: '#/definitions/app.Response'
  6561. security:
  6562. - ApiKeyAuth: []
  6563. summary: 移除用户商品收藏信息
  6564. tags:
  6565. - 用户信息
  6566. /WRTrade/GetAllDeliveryGoods:
  6567. get:
  6568. produces:
  6569. - application/json
  6570. - application/json
  6571. responses:
  6572. "200":
  6573. description: OK
  6574. schema:
  6575. $ref: '#/definitions/app.Response'
  6576. "500":
  6577. description: Internal Server Error
  6578. schema:
  6579. $ref: '#/definitions/app.Response'
  6580. security:
  6581. - ApiKeyAuth: []
  6582. - ApiKeyAuth: []
  6583. summary: 获取带仓单分类的种类信息
  6584. tags:
  6585. - 仓单贸易
  6586. - 仓单贸易
  6587. securityDefinitions:
  6588. ApiKeyAuth:
  6589. in: header
  6590. name: Authorization
  6591. type: apiKey
  6592. swagger: "2.0"