swagger.yaml 210 KB

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