swagger.yaml 207 KB

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