swagger.yaml 180 KB

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