swagger.yaml 225 KB

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