swagger.yaml 225 KB

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