swagger.yaml 291 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514
  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.ExposureDetailRsp:
  845. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  846. ermcp.ExposureHedgePosDetailRsp:
  847. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  848. ermcp.ExposureHedgePositionRsp:
  849. $ref: '#/definitions/models.ErmcpHedgePosition'
  850. ermcp.ExposureSpotDetailRsp:
  851. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  852. ermcp.ExposureSpotRsp:
  853. $ref: '#/definitions/models.AreaSpotModel'
  854. ermcp.HisExposureRsp:
  855. $ref: '#/definitions/models.ErmcpHisExposure'
  856. ermcp.QryAvalidGPRsp:
  857. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  858. ermcp.QryBusinessDjRsp:
  859. properties:
  860. amount:
  861. description: 点价金额=(点价价格+升贴水)*点价数量
  862. type: number
  863. applyid:
  864. description: 申请人
  865. type: string
  866. applyname:
  867. description: 申请人名称
  868. type: string
  869. applystatus:
  870. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  871. type: integer
  872. applytime:
  873. description: 申请时间
  874. type: string
  875. auditname:
  876. description: 审核人名称
  877. type: string
  878. audittime:
  879. description: 审核时间
  880. type: string
  881. buyusername:
  882. description: 采购方名称
  883. type: string
  884. contractno:
  885. description: 合同编号
  886. type: string
  887. contractstatus:
  888. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  889. type: integer
  890. contracttype:
  891. description: 现货合同类型 - 1:采购 -1:销售
  892. type: integer
  893. enumdicname:
  894. description: 单位名称
  895. type: string
  896. goodscode:
  897. description: 点价合约
  898. type: string
  899. goodsname:
  900. description: 商品名称
  901. type: string
  902. operateapplyid:
  903. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  904. type: string
  905. operateapplytype:
  906. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  907. type: integer
  908. pricedPrice:
  909. description: 点价价格(非必填)
  910. type: number
  911. pricedQty:
  912. description: 点价数量(非必填)
  913. type: number
  914. pricemove:
  915. description: 升贴水
  916. type: number
  917. pricetype:
  918. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  919. type: integer
  920. relatedid:
  921. description: 现货合同ID
  922. type: string
  923. sellusername:
  924. description: 销售方名字
  925. type: string
  926. userid:
  927. description: 用户ID
  928. type: integer
  929. type: object
  930. ermcp.QryBussinessFpRsp:
  931. properties:
  932. applyid:
  933. description: 申请人
  934. type: string
  935. applyname:
  936. description: 申请人名称
  937. type: string
  938. applystatus:
  939. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  940. type: integer
  941. applytime:
  942. description: 申请时间
  943. type: string
  944. auditname:
  945. description: 审核人名称
  946. type: string
  947. audittime:
  948. description: 审核时间
  949. type: string
  950. buyusername:
  951. description: 采购方名称
  952. type: string
  953. contractno:
  954. description: 合同编号
  955. type: string
  956. contractstatus:
  957. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  958. type: integer
  959. contracttype:
  960. description: 现货合同类型 - 1:采购 -1:销售
  961. type: integer
  962. enumdicname:
  963. description: 单位名称
  964. type: string
  965. goodscode:
  966. description: 点价合约
  967. type: string
  968. goodsname:
  969. description: 商品名称
  970. type: string
  971. invoiceAmount:
  972. description: 已开收票金额(销售为开票,采购为收票)
  973. type: number
  974. operateapplyid:
  975. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  976. type: string
  977. operateapplytype:
  978. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  979. type: integer
  980. pricemove:
  981. description: 升贴水
  982. type: number
  983. pricetype:
  984. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  985. type: integer
  986. relatedid:
  987. description: 现货合同ID
  988. type: string
  989. sellusername:
  990. description: 销售方名字
  991. type: string
  992. userid:
  993. description: 用户ID
  994. type: integer
  995. type: object
  996. ermcp.QryBussinessJsRsp:
  997. properties:
  998. addmargin:
  999. description: 追加保证金(非必填)
  1000. type: number
  1001. applyid:
  1002. description: 申请人
  1003. type: string
  1004. applyname:
  1005. description: 申请人名称
  1006. type: string
  1007. applystatus:
  1008. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1009. type: integer
  1010. applytime:
  1011. description: 申请时间
  1012. type: string
  1013. auditname:
  1014. description: 审核人名称
  1015. type: string
  1016. audittime:
  1017. description: 审核时间
  1018. type: string
  1019. buyusername:
  1020. description: 采购方名称
  1021. type: string
  1022. contractno:
  1023. description: 合同编号
  1024. type: string
  1025. contractstatus:
  1026. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1027. type: integer
  1028. contracttype:
  1029. description: 现货合同类型 - 1:采购 -1:销售
  1030. type: integer
  1031. decmargin:
  1032. description: 减少保证金(非必填)
  1033. type: number
  1034. enumdicname:
  1035. description: 单位名称
  1036. type: string
  1037. goodscode:
  1038. description: 点价合约
  1039. type: string
  1040. goodsname:
  1041. description: 商品名称
  1042. type: string
  1043. operateapplyid:
  1044. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1045. type: string
  1046. operateapplytype:
  1047. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1048. type: integer
  1049. pricemove:
  1050. description: 升贴水
  1051. type: number
  1052. pricetype:
  1053. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1054. type: integer
  1055. reckonadjustamount:
  1056. description: 结算调整金额(非必填)
  1057. type: number
  1058. reckonosamount:
  1059. description: 结算溢短金额(非必填)
  1060. type: number
  1061. reckonotheramount:
  1062. description: 结算其他费用(非必填)
  1063. type: number
  1064. reckonrealqty:
  1065. description: 结算实际数量(非必填)
  1066. type: number
  1067. relatedid:
  1068. description: 现货合同ID
  1069. type: string
  1070. sellusername:
  1071. description: 销售方名字
  1072. type: string
  1073. userid:
  1074. description: 用户ID
  1075. type: integer
  1076. type: object
  1077. ermcp.QryBussinessKxRsp:
  1078. properties:
  1079. applyid:
  1080. description: 申请人
  1081. type: string
  1082. applyname:
  1083. description: 申请人名称
  1084. type: string
  1085. applystatus:
  1086. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1087. type: integer
  1088. applytime:
  1089. description: 申请时间
  1090. type: string
  1091. auditname:
  1092. description: 审核人名称
  1093. type: string
  1094. audittime:
  1095. description: 审核时间
  1096. type: string
  1097. buyusername:
  1098. description: 采购方名称
  1099. type: string
  1100. contractno:
  1101. description: 合同编号
  1102. type: string
  1103. contractstatus:
  1104. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1105. type: integer
  1106. contracttype:
  1107. description: 现货合同类型 - 1:采购 -1:销售
  1108. type: integer
  1109. deductamount:
  1110. description: 退款(非必填)
  1111. type: number
  1112. enumdicname:
  1113. description: 单位名称
  1114. type: string
  1115. goodscode:
  1116. description: 点价合约
  1117. type: string
  1118. goodsname:
  1119. description: 商品名称
  1120. type: string
  1121. kxtype:
  1122. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1123. type: integer
  1124. operateapplyid:
  1125. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1126. type: string
  1127. operateapplytype:
  1128. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1129. type: integer
  1130. payamount:
  1131. description: 收付款(非必填)
  1132. type: number
  1133. pricemove:
  1134. description: 升贴水
  1135. type: number
  1136. pricetype:
  1137. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1138. type: integer
  1139. relatedid:
  1140. description: 现货合同ID
  1141. type: string
  1142. sellusername:
  1143. description: 销售方名字
  1144. type: string
  1145. userid:
  1146. description: 用户ID
  1147. type: integer
  1148. type: object
  1149. ermcp.QryErmcpRsp:
  1150. $ref: '#/definitions/models.ErmcpModel'
  1151. ermcp.QryGGCovertCfgRsp:
  1152. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1153. ermcp.QryHedgePlanRsp:
  1154. $ref: '#/definitions/models.ErmcpHedgePlan'
  1155. ermcp.QryMGChangeLogRsp:
  1156. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1157. ermcp.QryMiddleGoodsDetailRsp:
  1158. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1159. ermcp.QryMiddleGoodsRsp:
  1160. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1161. ermcp.QryOPLogRsp:
  1162. $ref: '#/definitions/models.ErmcpOPLogModel'
  1163. ermcp.QrySpotContractRsp:
  1164. $ref: '#/definitions/models.ErmcpSpotContractModel'
  1165. ermcp.QryUserInfoRsp:
  1166. $ref: '#/definitions/models.ErmcpUserModel'
  1167. ermcp.QryWrStandardDetailRsp:
  1168. $ref: '#/definitions/models.ErmcpWrstandDetail'
  1169. ermcp.QryWrStandardRsp:
  1170. $ref: '#/definitions/models.ErmcpWrstandard'
  1171. ermcp.RealtimeExposurePositionRsp:
  1172. $ref: '#/definitions/models.ErmcpExposurePostion'
  1173. ermcp.RealtimeExposureRsp:
  1174. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1175. erms2.QueryArbitrageStrategyRsp:
  1176. properties:
  1177. applybasis:
  1178. description: 申请基差
  1179. type: number
  1180. asapplyid:
  1181. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1182. type: string
  1183. asname:
  1184. description: 策略名称
  1185. type: string
  1186. asno:
  1187. description: 策略编号
  1188. type: string
  1189. basischangepl:
  1190. description: 基差变动损益[结算更新]
  1191. type: number
  1192. biztype:
  1193. description: 业务类型 - 1:正向套利 -1:反向套利
  1194. type: integer
  1195. closetradedate:
  1196. description: 完结交易日(yyyyMMdd)
  1197. type: string
  1198. curbasis:
  1199. description: 当前基差[结算更新]
  1200. type: number
  1201. deliverygoodsid:
  1202. description: 现货品种ID
  1203. type: integer
  1204. futureavgprice:
  1205. description: 期货建仓均价
  1206. type: number
  1207. futurecloseamount:
  1208. description: 期货平仓金额
  1209. type: number
  1210. futurecloseqty:
  1211. description: 期货平仓数量
  1212. type: number
  1213. futureopenamount:
  1214. description: 期货开仓金额
  1215. type: number
  1216. futureopenqty:
  1217. description: 期货开仓数量
  1218. type: number
  1219. futurepl:
  1220. description: 期货总盈亏[结算更新]
  1221. type: number
  1222. futureqty:
  1223. description: 期货持仓数量
  1224. type: number
  1225. futurequote:
  1226. description: 期货额度
  1227. type: number
  1228. goodsgroupid:
  1229. description: 期货品种ID
  1230. type: integer
  1231. marketid:
  1232. description: 市场ID
  1233. type: integer
  1234. netexposure:
  1235. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1236. type: number
  1237. netexposurepl:
  1238. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1239. type: number
  1240. netexposurerate:
  1241. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1242. type: number
  1243. openbasis:
  1244. description: 建仓基差
  1245. type: number
  1246. pricedspotqty:
  1247. description: 已定价现货数量
  1248. type: number
  1249. pricedspotqtynotax:
  1250. description: 已定价现货不含税数量
  1251. type: number
  1252. remark:
  1253. description: 备注
  1254. type: string
  1255. spotavgprice:
  1256. description: 现货均价
  1257. type: number
  1258. spotbuyamount:
  1259. description: 现货采购金额
  1260. type: number
  1261. spotbuyqty:
  1262. description: 现货采购数量
  1263. type: number
  1264. spotpl:
  1265. description: 现货总盈亏[结算更新]
  1266. type: number
  1267. spotquota:
  1268. description: 现货额度
  1269. type: number
  1270. spotsellamount:
  1271. description: 现货销售金额
  1272. type: number
  1273. spotsellqty:
  1274. description: 现货销售数量
  1275. type: number
  1276. spotusedquota:
  1277. description: 现货占用资金
  1278. type: number
  1279. strategystatus:
  1280. description: 策略状态 - 0:未结束 1:已结束
  1281. type: integer
  1282. totalpl:
  1283. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1284. type: number
  1285. tradedate:
  1286. description: 交易日(yyyyMMdd)
  1287. type: string
  1288. updatetime:
  1289. description: 更新时间
  1290. type: string
  1291. usedquota:
  1292. description: 已占用资金
  1293. type: number
  1294. userid:
  1295. description: 所属机构
  1296. type: integer
  1297. required:
  1298. - asapplyid
  1299. type: object
  1300. erms2.QueryInnerTradeDetailRsp:
  1301. properties:
  1302. accountid:
  1303. description: 账号ID
  1304. type: integer
  1305. agreeunit:
  1306. description: 合约单位
  1307. type: number
  1308. asapplyid:
  1309. description: 策略申请ID
  1310. type: integer
  1311. asname:
  1312. description: 策略名称
  1313. type: string
  1314. asno:
  1315. description: 策略编号
  1316. type: string
  1317. buyorsell:
  1318. description: 方向 - 0:买 1:卖
  1319. type: integer
  1320. channelbuildtype:
  1321. description: 委托单据类型 0:无 1:建仓 2:平仓
  1322. type: integer
  1323. closetype:
  1324. description: 平仓方式 - 0:无 1:平今 2:平昨
  1325. type: integer
  1326. decimalplace:
  1327. description: 报价小数位
  1328. type: integer
  1329. detailtype:
  1330. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1331. type: integer
  1332. exexchangecode:
  1333. description: 外部交易所代码
  1334. type: string
  1335. exexchangename:
  1336. description: 外部交易所名称
  1337. type: string
  1338. goodscode:
  1339. description: 商品代码(合约)
  1340. type: string
  1341. goodsgroupid:
  1342. description: 商品组ID(品种ID)
  1343. type: integer
  1344. goodsgroupname:
  1345. description: 商品组名称(品种)
  1346. type: string
  1347. goodsid:
  1348. description: 商品ID
  1349. type: integer
  1350. goodsname:
  1351. description: 商品名称(合约)
  1352. type: string
  1353. goodunit:
  1354. description: 报价单位
  1355. type: string
  1356. marketid:
  1357. description: 市场ID
  1358. type: integer
  1359. orderid:
  1360. description: 委托单号
  1361. type: string
  1362. outgoodscode:
  1363. description: 商品代码(外部)
  1364. type: string
  1365. relatedouttradeid:
  1366. description: 关联外部成交单ID
  1367. type: string
  1368. remark:
  1369. description: 备注
  1370. type: string
  1371. spotcontractid:
  1372. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1373. type: integer
  1374. spotcontractno:
  1375. description: 现货合同编号
  1376. type: string
  1377. tradeid:
  1378. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1379. type: string
  1380. tradeprice:
  1381. description: 成交价格
  1382. type: number
  1383. tradeqty:
  1384. description: 成交数量
  1385. type: integer
  1386. tradetime:
  1387. description: 成交时间
  1388. type: string
  1389. updatetime:
  1390. description: 更新时间
  1391. type: string
  1392. required:
  1393. - asapplyid
  1394. - buyorsell
  1395. - goodscode
  1396. - goodsgroupid
  1397. - goodsgroupname
  1398. - goodsname
  1399. - tradeid
  1400. type: object
  1401. erms2.QuerySpotContractRsp:
  1402. properties:
  1403. accountid:
  1404. description: 资金账户ID
  1405. type: integer
  1406. areauserid:
  1407. description: 所属机构
  1408. type: integer
  1409. closedate:
  1410. description: 终止日期
  1411. type: string
  1412. closeremark:
  1413. description: 结束备注
  1414. type: string
  1415. closetradedate:
  1416. description: 完结交易日(yyyyMMdd)
  1417. type: string
  1418. closetype:
  1419. description: 终止类型 - 1:违约 2:提前终止
  1420. type: integer
  1421. contractamount:
  1422. description: 合同金额
  1423. type: number
  1424. contractattachment:
  1425. description: 合同附件
  1426. type: string
  1427. contractno:
  1428. description: 现货合同编号
  1429. type: string
  1430. contractqty:
  1431. description: 合同数量(数值) (用于计算)
  1432. type: number
  1433. contractqtychar:
  1434. description: 合同数量\已订价数量 (用于显示)
  1435. type: string
  1436. contractstatus:
  1437. description: 合同状态 - 0:未结束 1:已结束
  1438. type: integer
  1439. contracttype:
  1440. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1441. type: integer
  1442. customeraccountid:
  1443. description: 客户资金账户ID
  1444. type: integer
  1445. customeruserid:
  1446. description: 客户ID
  1447. type: integer
  1448. deliverygoodsdesc:
  1449. description: 品种说明
  1450. type: string
  1451. deliverygoodsid:
  1452. description: 现货品种ID
  1453. type: integer
  1454. handlestatus:
  1455. description: 处理状态
  1456. type: integer
  1457. invoiceatt:
  1458. description: 发票附件
  1459. type: string
  1460. invoicedatetime:
  1461. description: 开收票更新时间
  1462. type: string
  1463. invoiceopentime:
  1464. description: 开票时间
  1465. type: string
  1466. invoiceremark:
  1467. description: 发票备注
  1468. type: string
  1469. invoicestatus:
  1470. description: 开收票状态 - 0:未开票 1:已开票
  1471. type: integer
  1472. lastdate:
  1473. description: 交货时间
  1474. type: string
  1475. marketid:
  1476. description: 市场ID
  1477. type: integer
  1478. paydatetime:
  1479. description: 收付款更新时间
  1480. type: string
  1481. payremark:
  1482. description: 收付款备注
  1483. type: string
  1484. paystatus:
  1485. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1486. type: integer
  1487. positionqty:
  1488. description: 头寸数量 - 合同数量去小数部分
  1489. type: integer
  1490. producttype:
  1491. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1492. type: integer
  1493. relatedqty:
  1494. description: 已关联数量
  1495. type: number
  1496. relatedstatus:
  1497. description: 关联完结状态 - 0:未结束 1:已结束
  1498. type: integer
  1499. remark:
  1500. description: 备注
  1501. type: string
  1502. signdate:
  1503. description: 签订日期
  1504. type: string
  1505. spotcontractid:
  1506. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1507. type: string
  1508. spotdatetime:
  1509. description: 收发货更新时间
  1510. type: string
  1511. spotprice:
  1512. description: 价格
  1513. type: number
  1514. spotremark:
  1515. description: 收发货备注
  1516. type: string
  1517. spotstatus:
  1518. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1519. type: integer
  1520. tradedate:
  1521. description: 交易日(yyyyMMdd)
  1522. type: string
  1523. userid:
  1524. description: 业务员用户ID
  1525. type: integer
  1526. warehouseid:
  1527. description: 仓库ID
  1528. type: integer
  1529. wrfactortypeid:
  1530. description: 仓单要素类型ID
  1531. type: integer
  1532. wrstandardid:
  1533. description: 仓单标准ID(SEQ_WRSTANDARD)
  1534. type: integer
  1535. required:
  1536. - spotcontractid
  1537. type: object
  1538. erms3.AddErms2ASApplyReq:
  1539. properties:
  1540. applybasis:
  1541. description: 申请基差
  1542. type: number
  1543. applystatus:
  1544. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1545. type: integer
  1546. asapplyid:
  1547. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1548. type: integer
  1549. asname:
  1550. description: 策略名称
  1551. type: string
  1552. asno:
  1553. description: 策略编号
  1554. type: string
  1555. auditid:
  1556. description: 审核人
  1557. type: integer
  1558. auditremark:
  1559. description: 审核备注
  1560. type: string
  1561. audittime:
  1562. description: 审核时间
  1563. type: string
  1564. biztype:
  1565. description: 业务类型 - 1:正向套利 2:反向套利
  1566. type: integer
  1567. createtime:
  1568. description: 创建时间
  1569. type: string
  1570. creatorid:
  1571. description: 创建人
  1572. type: integer
  1573. deliverygoodsid:
  1574. description: 现货品种ID
  1575. type: integer
  1576. futurequote:
  1577. description: 期货额度
  1578. type: number
  1579. goodsgroupid:
  1580. description: 期货品种ID
  1581. type: integer
  1582. marketid:
  1583. description: 市场ID
  1584. type: integer
  1585. remark:
  1586. description: 备注
  1587. type: string
  1588. spotquota:
  1589. description: 现货额度
  1590. type: number
  1591. tradedate:
  1592. description: 交易日(yyyyMMdd)
  1593. type: string
  1594. userid:
  1595. description: 所属机构
  1596. type: integer
  1597. required:
  1598. - asapplyid
  1599. type: object
  1600. erms3.AddErms2SpotTradeApplyReq:
  1601. properties:
  1602. applyjsondetail:
  1603. description: 申请明细(JSON)
  1604. type: string
  1605. applystatus:
  1606. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1607. type: integer
  1608. areauserid:
  1609. description: 所属机构
  1610. type: integer
  1611. auditid:
  1612. description: 审核人
  1613. type: integer
  1614. auditremark:
  1615. description: 审核备注
  1616. type: string
  1617. audittime:
  1618. description: 审核时间
  1619. type: string
  1620. createtime:
  1621. description: 创建时间
  1622. type: string
  1623. creatorid:
  1624. description: 创建人
  1625. type: integer
  1626. deliverygoodsid:
  1627. description: 现货品种ID
  1628. type: integer
  1629. futureaccountid:
  1630. description: 期货资金账户
  1631. type: integer
  1632. goodsgroupid:
  1633. description: 期货品种
  1634. type: integer
  1635. marketid:
  1636. description: 市场ID
  1637. type: integer
  1638. remark:
  1639. description: 备注
  1640. type: string
  1641. spotaccountid:
  1642. description: 现货资金账户
  1643. type: integer
  1644. spottradeid:
  1645. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1646. type: integer
  1647. spottradename:
  1648. description: 业务名称
  1649. type: string
  1650. spottradeno:
  1651. description: 业务编号
  1652. type: string
  1653. tradedate:
  1654. description: 交易日(yyyyMMdd)
  1655. type: string
  1656. wrstandardid:
  1657. description: 仓单标准ID
  1658. type: integer
  1659. required:
  1660. - spottradeid
  1661. type: object
  1662. erms3.AddSpotContractApplyReq:
  1663. properties:
  1664. accountid:
  1665. description: 资金账户ID
  1666. type: integer
  1667. areauserid:
  1668. description: 所属机构
  1669. type: integer
  1670. contractattachment:
  1671. description: 合同附件
  1672. type: string
  1673. contractno:
  1674. description: 现货合同编号
  1675. type: string
  1676. contracttype:
  1677. description: 现货合同类型 - 1:采购 -1:销售
  1678. type: integer
  1679. creatorid:
  1680. description: 申请人
  1681. type: integer
  1682. customeraccountid:
  1683. description: 客户资金账户ID
  1684. type: integer
  1685. customeruserid:
  1686. description: 客户ID
  1687. type: integer
  1688. details:
  1689. description: 明细
  1690. items:
  1691. $ref: '#/definitions/erms3.SoptContractDetail'
  1692. type: array
  1693. orimargin:
  1694. description: 初始保证金
  1695. type: number
  1696. remark:
  1697. description: 备注
  1698. type: string
  1699. signdate:
  1700. description: 签订日期
  1701. type: string
  1702. required:
  1703. - accountid
  1704. - areauserid
  1705. - contractno
  1706. - contracttype
  1707. - customeraccountid
  1708. - customeruserid
  1709. - details
  1710. - orimargin
  1711. - signdate
  1712. type: object
  1713. erms3.AddSpotContractApplyRsp:
  1714. properties:
  1715. contractno:
  1716. description: 现货合同编号
  1717. type: string
  1718. spotcontractid:
  1719. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  1720. type: integer
  1721. required:
  1722. - contractno
  1723. type: object
  1724. erms3.AddUserInfoApplyReq:
  1725. properties:
  1726. accountid:
  1727. description: 交易系统帐号Id (加密存储)
  1728. type: integer
  1729. areacode:
  1730. description: 机构代码
  1731. type: string
  1732. areaid:
  1733. description: 机构Id
  1734. type: integer
  1735. attachment1:
  1736. description: 附件1
  1737. type: string
  1738. attachment2:
  1739. description: 附件2
  1740. type: string
  1741. attachment3:
  1742. description: 附件3
  1743. type: string
  1744. attachment4:
  1745. description: 附件4
  1746. type: string
  1747. attachment5:
  1748. description: 附件5
  1749. type: string
  1750. auditedby:
  1751. description: 审核人
  1752. type: string
  1753. auditime:
  1754. description: 审核时间
  1755. type: string
  1756. bankaccount:
  1757. description: 银行帐号 (加密存储)
  1758. type: string
  1759. bankaccountname:
  1760. description: 收款人名称
  1761. type: string
  1762. bankcardbackphotourl:
  1763. description: 银行卡背面照地址
  1764. type: string
  1765. bankcardfrontphotourl:
  1766. description: 银行卡正面照地址
  1767. type: string
  1768. bankid:
  1769. description: 银行编码
  1770. type: string
  1771. bankname:
  1772. description: 银行名称
  1773. type: string
  1774. bankpictureurl:
  1775. description: 银行卡正面地址
  1776. type: string
  1777. biznature:
  1778. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  1779. type: integer
  1780. bizscope:
  1781. description: 企业经营范围(企业)
  1782. type: string
  1783. biztype:
  1784. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  1785. type: integer
  1786. brokerid:
  1787. description: 经纪人ID(加密存储)
  1788. type: string
  1789. cardaddress:
  1790. description: 证件地址 (加密存储)
  1791. type: string
  1792. cardbackphotourl:
  1793. description: 背面证件照地址
  1794. type: string
  1795. cardfrontphotourl:
  1796. description: 正面证件照地址
  1797. type: string
  1798. cardnum:
  1799. description: 证件号码 (加密存储)
  1800. type: string
  1801. cardtype:
  1802. description: 证件类型
  1803. type: integer
  1804. cityid:
  1805. description: 市
  1806. type: integer
  1807. company:
  1808. description: 公司(个人)
  1809. type: string
  1810. contactcardbackphotourl:
  1811. description: 联系人证件背面图片地址
  1812. type: string
  1813. contactcardfrontphotourl:
  1814. description: 联系人证件正面图片地址
  1815. type: string
  1816. contactname:
  1817. description: 联系人
  1818. type: string
  1819. countryid:
  1820. description: 国家
  1821. type: integer
  1822. createtime:
  1823. description: 开户申请时间
  1824. type: string
  1825. cusbankid:
  1826. description: 签约类型
  1827. type: string
  1828. cusbankname:
  1829. description: 签约类型名称
  1830. type: string
  1831. customername:
  1832. description: 客户名称(企业名称)
  1833. type: string
  1834. districtid:
  1835. description: 地区
  1836. type: integer
  1837. email:
  1838. description: Email地址(加密存储)
  1839. type: string
  1840. halfbodyphotourl:
  1841. description: 半身照地址
  1842. type: string
  1843. headurl:
  1844. description: 头像地址
  1845. type: string
  1846. ipaddress:
  1847. description: IP地址
  1848. type: string
  1849. isvalidate:
  1850. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  1851. type: string
  1852. legalcardbackphotourl:
  1853. description: 法人身份证背面照地址
  1854. type: string
  1855. legalcardfrontphotourl:
  1856. description: 法人身份证正面照地址
  1857. type: string
  1858. legalpersonname:
  1859. description: 法人姓名(企业)
  1860. type: string
  1861. logincode:
  1862. description: 登录帐号 (加密存储)
  1863. type: string
  1864. memberareaid:
  1865. description: 所属会员ID
  1866. type: integer
  1867. mobile2:
  1868. description: 手机号码[明文-尚志]
  1869. type: string
  1870. mobilephone:
  1871. description: 手机号码 (加密存储)
  1872. type: string
  1873. modifiedby:
  1874. description: 修改人帐号
  1875. type: integer
  1876. modifiedtime:
  1877. description: 修改时间
  1878. type: string
  1879. nickname:
  1880. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  1881. type: string
  1882. openmode:
  1883. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  1884. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  1885. type: integer
  1886. otherurl:
  1887. description: 其它图片地址[使用分号分隔]
  1888. type: string
  1889. postalcode:
  1890. description: 邮政编码
  1891. type: string
  1892. provinceid:
  1893. description: 省
  1894. type: integer
  1895. proxystatementurl:
  1896. description: 授权委托书
  1897. type: string
  1898. qq:
  1899. description: QQ(加密存储
  1900. type: string
  1901. referral:
  1902. description: 推荐人编码
  1903. type: string
  1904. remark:
  1905. description: 备注
  1906. type: string
  1907. removebeforestatus:
  1908. description: REMOVEBEFORESTATUS
  1909. type: integer
  1910. sex:
  1911. description: 性别 - 0:女 1:男
  1912. type: integer
  1913. signedstatus:
  1914. description: 账户一号签签约状态
  1915. type: integer
  1916. signpdfurl:
  1917. description: 签约pdf文件
  1918. type: string
  1919. subbranch:
  1920. description: 开户支行
  1921. type: string
  1922. telphone:
  1923. description: 联系电话(加密存储)
  1924. type: string
  1925. userid:
  1926. description: 用户ID(自增ID)
  1927. type: integer
  1928. userinfotype:
  1929. description: 用户信息类型 - 1:个人 2:企业
  1930. type: integer
  1931. username:
  1932. description: 用户姓名
  1933. type: string
  1934. userstate:
  1935. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  1936. type: integer
  1937. usertype:
  1938. description: 用户类型 - 1:投资者 2:机构
  1939. type: integer
  1940. videourl:
  1941. description: 视频地址
  1942. type: string
  1943. wechat:
  1944. description: 微信号 (加密存储)
  1945. type: string
  1946. required:
  1947. - userid
  1948. type: object
  1949. erms3.CustomerInfo:
  1950. properties:
  1951. accountids:
  1952. description: 资金账户ID列表
  1953. items:
  1954. type: integer
  1955. type: array
  1956. customername:
  1957. description: 名称(企业名称)
  1958. type: string
  1959. mobile:
  1960. description: 手机号码
  1961. type: string
  1962. userid:
  1963. description: 用户ID
  1964. type: integer
  1965. required:
  1966. - userid
  1967. type: object
  1968. erms3.QryAuditContractRsp:
  1969. properties:
  1970. accountid:
  1971. description: 交易员ID
  1972. type: string
  1973. applystatus:
  1974. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1975. type: integer
  1976. curdeliveryqty:
  1977. description: 未交收量
  1978. type: integer
  1979. customername:
  1980. description: 采购方ID
  1981. type: string
  1982. deliverygoodsid:
  1983. description: 品种ID
  1984. type: string
  1985. deliveryqty:
  1986. description: 交收量
  1987. type: integer
  1988. enumdicname:
  1989. description: 单位名称
  1990. type: string
  1991. matchaccountid:
  1992. description: 业务员ID
  1993. type: string
  1994. matchcustomername:
  1995. description: 销售方ID
  1996. type: string
  1997. pricedqty:
  1998. description: 定价量
  1999. type: number
  2000. signdate:
  2001. description: 签订日期
  2002. type: string
  2003. spotcontractid:
  2004. description: 合同ID
  2005. type: string
  2006. totaldqty:
  2007. description: 合同量
  2008. type: number
  2009. unpricedqty:
  2010. description: 未定价量
  2011. type: number
  2012. wrstandardname:
  2013. description: 商品名称
  2014. type: string
  2015. required:
  2016. - matchcustomername
  2017. - spotcontractid
  2018. type: object
  2019. erms3.QryPendingBizRsp:
  2020. $ref: '#/definitions/models.PendingAuditBizModel'
  2021. erms3.QueryBusinessInfoRsp:
  2022. properties:
  2023. businessid:
  2024. description: 业务ID.
  2025. type: integer
  2026. buyamount:
  2027. description: 采购额.
  2028. type: number
  2029. buyqty:
  2030. description: 采购量.
  2031. type: string
  2032. futurepl:
  2033. description: 期货盈亏.
  2034. type: number
  2035. futureqty:
  2036. description: 期货敞口.
  2037. type: string
  2038. goodsid:
  2039. description: 商品名称/商品代码.
  2040. type: string
  2041. hedgingqty:
  2042. description: 套保量.
  2043. type: string
  2044. sellamount:
  2045. description: 销售额.
  2046. type: number
  2047. sellqty:
  2048. description: 销售量.
  2049. type: string
  2050. spotmarketvalue:
  2051. description: 现货市值.
  2052. type: number
  2053. spotpl:
  2054. description: 浮动权益.
  2055. type: number
  2056. spotqty:
  2057. description: 现货量.
  2058. type: string
  2059. statu:
  2060. description: 状态,0-未结束 1-已结束.
  2061. type: integer
  2062. totalpl:
  2063. description: 总盈亏.
  2064. type: number
  2065. totalqty:
  2066. description: 总敞口.
  2067. type: string
  2068. type:
  2069. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2070. type: integer
  2071. type: object
  2072. erms3.QuerySpotContractAppleFormRsp:
  2073. properties:
  2074. goodses:
  2075. description: 合约列表
  2076. items:
  2077. $ref: '#/definitions/models.GoodsIDAndName'
  2078. type: array
  2079. oppositeusers:
  2080. description: 对方账号列表
  2081. items:
  2082. $ref: '#/definitions/erms3.CustomerInfo'
  2083. type: array
  2084. ouruser:
  2085. $ref: '#/definitions/erms3.CustomerInfo'
  2086. description: 我方账号
  2087. type: object
  2088. warehouseinfos:
  2089. description: 仓库信息列表
  2090. items:
  2091. $ref: '#/definitions/models.Warehouseinfo'
  2092. type: array
  2093. wrstandards:
  2094. description: 仓单标准列表
  2095. items:
  2096. $ref: '#/definitions/models.WRStandardInfo'
  2097. type: array
  2098. type: object
  2099. erms3.QuerySpotContractInfoRsp:
  2100. properties:
  2101. accountid:
  2102. description: 表示交易员ID.
  2103. type: integer
  2104. curdeliveryqty:
  2105. description: 表示未交收量.
  2106. type: number
  2107. customername:
  2108. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2109. type: string
  2110. deliverygoodsid:
  2111. description: 表示品种ID.
  2112. type: string
  2113. deliveryqty:
  2114. description: 表示交收量.
  2115. type: number
  2116. matchaccountid:
  2117. description: 表示业务员ID.
  2118. type: integer
  2119. matchcustomername:
  2120. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2121. type: string
  2122. priceqty:
  2123. description: 表示定价量.
  2124. type: number
  2125. relatedbizid:
  2126. description: 表示业务ID.
  2127. type: string
  2128. signdate:
  2129. description: 表示签订日期.
  2130. type: string
  2131. spotcontractid:
  2132. description: 合同ID
  2133. type: string
  2134. status:
  2135. description: 表示状态,0-履约中 1-已完成.
  2136. type: integer
  2137. totalqty:
  2138. description: 表示合同量.
  2139. type: number
  2140. unpricedqty:
  2141. description: 表示未定价量.
  2142. type: number
  2143. wrstandardname:
  2144. description: 表示商品ID.
  2145. type: string
  2146. type: object
  2147. erms3.QueryUserInfoAppliesRsp:
  2148. properties:
  2149. biznature:
  2150. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2151. type: integer
  2152. contactname:
  2153. description: 联系人
  2154. type: string
  2155. createtime:
  2156. description: 开户申请时间
  2157. type: string
  2158. userid:
  2159. description: 用户ID(自增ID)
  2160. type: integer
  2161. userinfotype:
  2162. description: 用户信息类型 - 1:个人 2:企业
  2163. type: integer
  2164. username:
  2165. description: 用户姓名
  2166. type: string
  2167. userstate:
  2168. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2169. type: integer
  2170. required:
  2171. - userid
  2172. type: object
  2173. erms3.QueryUserInfosRsp:
  2174. properties:
  2175. biznature:
  2176. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2177. type: integer
  2178. contactname:
  2179. description: 联系人
  2180. type: string
  2181. customername:
  2182. description: 客户名称(企业名称)
  2183. type: string
  2184. userid:
  2185. description: 用户ID
  2186. type: integer
  2187. userinfotype:
  2188. description: 用户信息类型 - 1:个人 2:企业
  2189. type: integer
  2190. userstatus:
  2191. description: 用户状态 - 1:正常 2:注销
  2192. type: integer
  2193. required:
  2194. - userid
  2195. type: object
  2196. erms3.SoptContractDetail:
  2197. properties:
  2198. deliverygoodsdesc:
  2199. description: 现货品种说明
  2200. type: string
  2201. deliverygoodsid:
  2202. description: 现货品种ID
  2203. type: integer
  2204. deliverygoodsname:
  2205. description: 现货品种名称
  2206. type: string
  2207. pointdesc:
  2208. description: 点价描述
  2209. type: string
  2210. producttype:
  2211. description: 产品类型 1:标准仓单 2:等标 3:非标
  2212. type: integer
  2213. producttypename:
  2214. description: 产品类型名称
  2215. type: string
  2216. spotPointOrderVoList:
  2217. description: 点价列表
  2218. items:
  2219. $ref: '#/definitions/erms3.SpotPointOrder'
  2220. type: array
  2221. spotPriceOrderList:
  2222. description: 定价列表
  2223. items:
  2224. $ref: '#/definitions/erms3.SpotPriceOrder'
  2225. type: array
  2226. unitname:
  2227. description: 单位名称
  2228. type: string
  2229. warehouseid:
  2230. description: 仓库ID
  2231. type: integer
  2232. warehousename:
  2233. description: 仓库名称
  2234. type: string
  2235. wrstandardid:
  2236. description: 交易标的ID
  2237. type: integer
  2238. wrstandardname:
  2239. description: 交易标的名称
  2240. type: string
  2241. required:
  2242. - deliverygoodsid
  2243. - producttype
  2244. - unitname
  2245. - warehouseid
  2246. - wrstandardid
  2247. - wrstandardname
  2248. type: object
  2249. erms3.SpotPointOrder:
  2250. properties:
  2251. basic:
  2252. description: 基差
  2253. type: number
  2254. deliveryenddate:
  2255. description: 交收结束日期
  2256. type: string
  2257. deliverystartdate:
  2258. description: 交收开始日期
  2259. type: string
  2260. enddate:
  2261. description: 点价结束日期
  2262. type: string
  2263. goodsid:
  2264. description: 商品ID
  2265. type: integer
  2266. goodsname:
  2267. description: 商品名称
  2268. type: string
  2269. qty:
  2270. description: 数量
  2271. type: number
  2272. startdate:
  2273. description: 点价开始日期
  2274. type: string
  2275. required:
  2276. - basic
  2277. - goodsid
  2278. - qty
  2279. type: object
  2280. erms3.SpotPriceOrder:
  2281. properties:
  2282. amount:
  2283. description: 金额
  2284. type: number
  2285. deliveryenddate:
  2286. description: 交收结束日期
  2287. type: string
  2288. deliverystartdate:
  2289. description: 交收开始日期
  2290. type: string
  2291. price:
  2292. description: 价格
  2293. type: number
  2294. qty:
  2295. description: 数量
  2296. type: number
  2297. required:
  2298. - amount
  2299. - price
  2300. - qty
  2301. type: object
  2302. hsby.GetHsbyMyCountRsp:
  2303. properties:
  2304. myCouponCount:
  2305. description: 我的优惠卷数量
  2306. type: integer
  2307. myOrderDetailListingCount:
  2308. description: 我的订单求购中数量
  2309. type: integer
  2310. myOrderDetailPreCount:
  2311. description: 我的订单抢购中数量
  2312. type: integer
  2313. myPackageUnReceiveCount:
  2314. description: 我的包裹待收货数量
  2315. type: integer
  2316. myPackageUnSendCount:
  2317. description: 我的包裹待发货数量
  2318. type: integer
  2319. myPayOrderCount:
  2320. description: 我的订单待付款数量
  2321. type: integer
  2322. type: object
  2323. hsby.QueryProvincesAndCitiesRsp:
  2324. properties:
  2325. cities:
  2326. description: 市
  2327. items:
  2328. $ref: '#/definitions/models.Division'
  2329. type: array
  2330. province:
  2331. $ref: '#/definitions/models.Division'
  2332. description: 省
  2333. type: object
  2334. type: object
  2335. models.AreaSpotModel:
  2336. properties:
  2337. areauserid:
  2338. description: 所属机构
  2339. type: integer
  2340. decreaseqty:
  2341. description: 减少数量=-(销售已定价数量+采购计划数量)
  2342. type: number
  2343. increaseqty:
  2344. description: 增加数量=销售计划数量+采购已定价数量
  2345. type: number
  2346. oritoalspotqty:
  2347. description: 昨日数量
  2348. type: number
  2349. totalspotqty:
  2350. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2351. type: number
  2352. updatetime:
  2353. description: 更新时间
  2354. type: string
  2355. wrstandardcode:
  2356. description: 现货品种代码
  2357. type: string
  2358. wrstandardid:
  2359. description: 现货商品ID
  2360. type: integer
  2361. wrstandardname:
  2362. description: 现货品种
  2363. type: string
  2364. type: object
  2365. models.Clientfixedadconfig:
  2366. properties:
  2367. adsort:
  2368. description: 排序
  2369. type: integer
  2370. adtype:
  2371. description: 广告位类型 - 1:新品抢购(HSBY)
  2372. type: integer
  2373. areauserid:
  2374. description: 所属机构ID
  2375. type: integer
  2376. createdate:
  2377. description: 创建时间
  2378. type: string
  2379. creatorid:
  2380. description: 创建人
  2381. type: integer
  2382. imagepath:
  2383. description: 图片
  2384. type: string
  2385. isshow:
  2386. description: 是否展示 - 0:不展示 1:展示
  2387. type: integer
  2388. modifierid:
  2389. description: 操作人
  2390. type: integer
  2391. recsize:
  2392. description: 推荐尺寸
  2393. type: string
  2394. title:
  2395. description: 标题
  2396. type: string
  2397. updatedate:
  2398. description: 更新时间
  2399. type: string
  2400. urlcontent:
  2401. description: 链接(地址或商品ID)
  2402. type: string
  2403. urltype:
  2404. description: 链接类型 - 1:直接地址 2:商品ID
  2405. type: integer
  2406. required:
  2407. - adsort
  2408. - adtype
  2409. type: object
  2410. models.Division:
  2411. properties:
  2412. autoid:
  2413. description: 自增ID
  2414. type: integer
  2415. divisioncode:
  2416. description: 行政代码
  2417. type: string
  2418. divisionlevel:
  2419. description: 行政级别
  2420. type: string
  2421. divisionname:
  2422. description: 行政名称
  2423. type: string
  2424. modifierid:
  2425. description: 修改人
  2426. type: integer
  2427. modifytime:
  2428. description: 修改时间
  2429. type: string
  2430. parentcode:
  2431. description: 上级行政代码
  2432. type: string
  2433. pathname:
  2434. description: 路径名称
  2435. type: string
  2436. postcode:
  2437. description: 邮政编码
  2438. type: string
  2439. separablename:
  2440. description: 可拆分的全称
  2441. type: string
  2442. shortcode:
  2443. description: 地区简码
  2444. type: string
  2445. required:
  2446. - autoid
  2447. - divisioncode
  2448. type: object
  2449. models.Enumdicitem:
  2450. properties:
  2451. autoid:
  2452. description: 自增ID
  2453. type: integer
  2454. bankmappedvalue:
  2455. description: 银行服务对应值
  2456. type: string
  2457. enumdiccode:
  2458. description: 所属枚举代码
  2459. type: string
  2460. enumdicid:
  2461. description: 所属枚举ID
  2462. type: integer
  2463. enumdicname:
  2464. description: 枚举项名称
  2465. type: string
  2466. enumitemname:
  2467. description: 枚举项值
  2468. type: integer
  2469. enumitemstatus:
  2470. description: 枚举项状态 - 1.启用 2.不启用
  2471. type: integer
  2472. enumitemvalue:
  2473. description: 通用值 - [币种通用简写]
  2474. type: string
  2475. param1:
  2476. description: 参数1[币种:币种小数位]
  2477. type: string
  2478. param2:
  2479. description: 参数1[币种:币种显示单位]
  2480. type: string
  2481. remark:
  2482. description: 备注
  2483. type: string
  2484. required:
  2485. - autoid
  2486. - enumdiccode
  2487. - enumdicid
  2488. - enumitemname
  2489. type: object
  2490. models.ErmcpAreaSpotDetailModel:
  2491. properties:
  2492. contracttype:
  2493. description: 合同类型 1-采购 -1-销售
  2494. type: integer
  2495. enumdicname:
  2496. description: 现货商品单位名称
  2497. type: string
  2498. logtype:
  2499. description: 记录类型 1-套保 2-现货合同
  2500. type: integer
  2501. qty:
  2502. description: 数量
  2503. type: number
  2504. recordname:
  2505. description: 类型名称
  2506. type: string
  2507. relatedid:
  2508. description: 套保计划ID/现货合同ID
  2509. type: string
  2510. relatedno:
  2511. description: 编号
  2512. type: string
  2513. strtime:
  2514. description: 时间
  2515. type: string
  2516. wrstandardcode:
  2517. description: 现货商品代码
  2518. type: string
  2519. wrstandardname:
  2520. description: 现货商品名称
  2521. type: string
  2522. type: object
  2523. models.ErmcpAvalidGoodsGroupModel:
  2524. properties:
  2525. goodsgroupid:
  2526. description: 期货品种id
  2527. type: integer
  2528. goodsgroupname:
  2529. description: 期货品种名称
  2530. type: string
  2531. goodunitid:
  2532. description: 品种单位id
  2533. type: integer
  2534. goodunitname:
  2535. description: 品种单位名称
  2536. type: string
  2537. outergroupcode:
  2538. description: 期货品种代码
  2539. type: string
  2540. type: object
  2541. models.ErmcpExposureDetailModel:
  2542. properties:
  2543. areauserid:
  2544. description: 机构ID
  2545. type: integer
  2546. changeQty:
  2547. description: 套保变动量
  2548. type: number
  2549. contracttype:
  2550. description: 现货合同类型 - 1:采购 -1:销售
  2551. type: integer
  2552. convertfactor:
  2553. description: 标仓系数
  2554. type: number
  2555. convertratio:
  2556. description: 套保系数
  2557. type: number
  2558. createtime:
  2559. description: 时间
  2560. type: string
  2561. enumdicname:
  2562. description: 现货商品单位名称
  2563. type: string
  2564. logtype:
  2565. description: 类型 - 1:套保计划 2:现货合同
  2566. type: integer
  2567. middlegoodsId:
  2568. description: 套保商品id
  2569. type: integer
  2570. middlegoodscode:
  2571. description: 套保商品代码
  2572. type: string
  2573. middlegoodsname:
  2574. description: 套保商品名称
  2575. type: string
  2576. qty:
  2577. description: 数量
  2578. type: number
  2579. relateNo:
  2580. description: 现货合同/套保计划编号
  2581. type: string
  2582. wrstandardcode:
  2583. description: 现货商品代码
  2584. type: string
  2585. wrstandardid:
  2586. description: 现货商品ID
  2587. type: integer
  2588. wrstandardname:
  2589. description: 现货商品名称
  2590. type: string
  2591. type: object
  2592. models.ErmcpExposurePostion:
  2593. properties:
  2594. areauserid:
  2595. description: 所属机构id
  2596. type: integer
  2597. curqty:
  2598. description: 当前持仓
  2599. type: integer
  2600. diffhedgeqty:
  2601. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2602. type: number
  2603. diffqty:
  2604. description: 持仓变动量=当前持仓-昨日持仓
  2605. type: integer
  2606. goodscode:
  2607. description: 商品代码
  2608. type: string
  2609. goodsid:
  2610. description: 商品id
  2611. type: integer
  2612. goodsname:
  2613. description: 商品名称
  2614. type: string
  2615. middlegoodsid:
  2616. description: 套保商品id
  2617. type: integer
  2618. ydqty:
  2619. description: 昨日持仓
  2620. type: integer
  2621. type: object
  2622. models.ErmcpGGConvertCfg:
  2623. properties:
  2624. convertratio:
  2625. description: 折算系数
  2626. type: number
  2627. destgoodsgroupid:
  2628. description: 目标品种ID
  2629. type: integer
  2630. dstcode:
  2631. description: 目录品种代码
  2632. type: string
  2633. dstname:
  2634. description: 目标品种名称
  2635. type: string
  2636. dstunitid:
  2637. description: 目标品种单位ID
  2638. type: integer
  2639. dstunitidname:
  2640. description: 目标品种单位名称
  2641. type: string
  2642. srccode:
  2643. description: 源品种代码
  2644. type: string
  2645. srcgoodsgroupid:
  2646. description: 源品种ID
  2647. type: integer
  2648. srcname:
  2649. description: 源品种名称
  2650. type: string
  2651. srcunitid:
  2652. description: 源品种单位ID
  2653. type: integer
  2654. srcunitidname:
  2655. description: 源品种单位名称
  2656. type: string
  2657. type: object
  2658. models.ErmcpHedgePlan:
  2659. properties:
  2660. areauserid:
  2661. description: 用户ID
  2662. type: integer
  2663. contracttype:
  2664. description: 计划类型 - 1:采购 -1:销售
  2665. type: integer
  2666. convertfactor:
  2667. description: 标仓系数
  2668. type: number
  2669. deliverygoodsid:
  2670. description: 现货品种ID
  2671. type: integer
  2672. deliverygoodsname:
  2673. description: 现货品种名称
  2674. type: string
  2675. hedgeplanid:
  2676. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  2677. type: string
  2678. hedgeplanno:
  2679. description: 套保计划编号(名称)
  2680. type: string
  2681. hedgeplanstatus:
  2682. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  2683. type: integer
  2684. planqty:
  2685. description: 计划数量
  2686. type: number
  2687. plantime:
  2688. description: 计划时间
  2689. type: string
  2690. producttype:
  2691. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2692. type: integer
  2693. remark:
  2694. description: 备注
  2695. type: string
  2696. spotgoodsdesc:
  2697. description: 商品型号
  2698. type: string
  2699. wrstandardid:
  2700. description: 现货商品ID
  2701. type: integer
  2702. wrstandardname:
  2703. description: 现货商品名称
  2704. type: string
  2705. type: object
  2706. models.ErmcpHedgePosition:
  2707. properties:
  2708. accountid:
  2709. description: 资金账号[外部母账户]
  2710. type: integer
  2711. curbuyposition:
  2712. description: 期末买头寸
  2713. type: integer
  2714. cursellposition:
  2715. description: 期末卖头寸
  2716. type: integer
  2717. curtdbuyposition:
  2718. description: 期末今日买头寸
  2719. type: integer
  2720. curtdsellposition:
  2721. description: 期末今日卖头寸
  2722. type: integer
  2723. curydbuyposition:
  2724. description: 期末上日买头寸
  2725. type: integer
  2726. curydsellposition:
  2727. description: 期末上日卖头寸
  2728. type: integer
  2729. decreaseqty:
  2730. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  2731. type: integer
  2732. fretdbuyposition:
  2733. description: 冻结今日买头寸
  2734. type: integer
  2735. fretdsellposition:
  2736. description: 冻结今日卖头寸
  2737. type: integer
  2738. freydbuyposition:
  2739. description: 冻结上日买头寸
  2740. type: integer
  2741. freydsellposition:
  2742. description: 冻结上日卖头寸
  2743. type: integer
  2744. goodscode:
  2745. description: 商品代码
  2746. type: string
  2747. goodsid:
  2748. description: 商品id
  2749. type: integer
  2750. goodsname:
  2751. description: 商品名称
  2752. type: string
  2753. hedgeaccountcode:
  2754. description: 对冲账号
  2755. type: string
  2756. hedgegoodsid:
  2757. description: 对冲合约ID
  2758. type: integer
  2759. increaseqty:
  2760. description: 增加数量 = 期末买头寸 - 期初买头寸
  2761. type: integer
  2762. marketid:
  2763. description: 市场ID
  2764. type: integer
  2765. relateduserid:
  2766. description: 关联用户id
  2767. type: integer
  2768. totalcurqty:
  2769. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  2770. type: integer
  2771. totalydqty:
  2772. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  2773. type: integer
  2774. tradedate:
  2775. description: 交易日(yyyyMMdd)
  2776. type: string
  2777. ydbuyposition:
  2778. description: 期初买头寸
  2779. type: integer
  2780. ydsellposition:
  2781. description: 期初卖头寸
  2782. type: integer
  2783. type: object
  2784. models.ErmcpHedgePositionDetail:
  2785. properties:
  2786. buyorsell:
  2787. description: 买卖方向 0-买 1-卖
  2788. type: integer
  2789. channelbuildtype:
  2790. description: 开平方向 1-建仓 2-平仓
  2791. type: integer
  2792. goodscode:
  2793. description: 商品代码
  2794. type: string
  2795. goodsname:
  2796. description: 商品名称
  2797. type: string
  2798. hedgegoodsid:
  2799. description: 商品id
  2800. type: integer
  2801. tradeqty:
  2802. description: 数量(成交数量)
  2803. type: integer
  2804. tradetime:
  2805. description: 时间(成交时间)
  2806. type: string
  2807. type: object
  2808. models.ErmcpHisExposure:
  2809. properties:
  2810. areauserid:
  2811. description: 所属机构
  2812. type: integer
  2813. middlegoodscode:
  2814. description: 套保品种代码
  2815. type: string
  2816. middlegoodsid:
  2817. description: 套保品种ID
  2818. type: integer
  2819. middlegoodsname:
  2820. description: 套保品种名称
  2821. type: string
  2822. needhedgeexposourE:
  2823. description: 应套保敞口
  2824. type: number
  2825. needhedgeratio:
  2826. description: 应套保敞口比例
  2827. type: number
  2828. reckondate:
  2829. description: 日照时期(yyyyMMdd)
  2830. type: string
  2831. totalexposure:
  2832. description: 总敞口
  2833. type: number
  2834. totalfutureqty:
  2835. description: 期货头寸总量
  2836. type: number
  2837. totalhedgeratio:
  2838. description: 敞口比例
  2839. type: number
  2840. totalneedhedgeqty:
  2841. description: 应套保总量
  2842. type: number
  2843. totalspotqty:
  2844. description: 现货头寸总量
  2845. type: number
  2846. type: object
  2847. models.ErmcpMiddleGoodsChangeLog:
  2848. properties:
  2849. aftervalue:
  2850. description: 变更后
  2851. type: number
  2852. applyid:
  2853. description: 操作人
  2854. type: integer
  2855. applyname:
  2856. description: 操作人名称
  2857. type: string
  2858. applysrc:
  2859. description: 操作来源 - 1:管理端 2:终端
  2860. type: integer
  2861. beforevalue:
  2862. description: 变更前
  2863. type: number
  2864. changelogtype:
  2865. description: 变更流水类型 - 1:套保比率变更
  2866. type: integer
  2867. handlestatus:
  2868. description: 处理状态
  2869. type: integer
  2870. logdatetime:
  2871. description: 流水日期
  2872. type: string
  2873. logid:
  2874. description: 流水ID
  2875. type: integer
  2876. logremark:
  2877. description: 流水备注
  2878. type: string
  2879. middlegoodsid:
  2880. description: 套保品种ID
  2881. type: integer
  2882. tradedate:
  2883. description: 交易日(yyyyMMdd)
  2884. type: string
  2885. updatetime:
  2886. description: 更新时间
  2887. type: string
  2888. type: object
  2889. models.ErmcpMiddleGoodsDetail:
  2890. properties:
  2891. cvList:
  2892. description: 期货品种折算列表
  2893. items:
  2894. $ref: '#/definitions/models.GoodsGroupConvert'
  2895. type: array
  2896. mg:
  2897. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  2898. description: 套保品种基本信息
  2899. type: object
  2900. type: object
  2901. models.ErmcpMiddleGoodsModel:
  2902. properties:
  2903. areauserid:
  2904. description: 机构用户ID
  2905. type: integer
  2906. enumdicname:
  2907. description: 单位名称
  2908. type: string
  2909. evaluateratio:
  2910. description: 估价系数
  2911. type: number
  2912. goodsgroupid:
  2913. description: 关联期货品种ID
  2914. type: integer
  2915. isvalid:
  2916. description: 状态 0-无效(停用) 1-有效(正常)
  2917. type: integer
  2918. middlegoodscode:
  2919. description: 套保品种代码
  2920. type: string
  2921. middlegoodsid:
  2922. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  2923. type: integer
  2924. middlegoodsname:
  2925. description: 套保品种名称
  2926. type: string
  2927. modifytime:
  2928. description: 修改时间
  2929. type: string
  2930. needhedgeratio:
  2931. description: 套保比率
  2932. type: number
  2933. qtydecimalplace:
  2934. description: 数量小数位
  2935. type: integer
  2936. relatedgoodsid:
  2937. description: 关联交易商品ID
  2938. type: integer
  2939. relatedgoodstype:
  2940. description: 关联商品类型 - 1:期货合约 2:现货品种
  2941. type: integer
  2942. type: object
  2943. models.ErmcpModel:
  2944. properties:
  2945. accountname:
  2946. description: 账户名称
  2947. type: string
  2948. audittime:
  2949. description: 审核时间
  2950. type: string
  2951. contracctstatus:
  2952. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  2953. type: integer
  2954. contractmargin:
  2955. description: 合同保证金
  2956. type: number
  2957. contractno:
  2958. description: 合同编号
  2959. type: string
  2960. contracttype:
  2961. description: 合同类型 1-采购, -1-销售
  2962. type: integer
  2963. convertfactor:
  2964. description: 标仓系数
  2965. type: number
  2966. daikaiamount:
  2967. description: 待开票额
  2968. type: number
  2969. deliveryenddate:
  2970. description: 交割结束日
  2971. type: string
  2972. deliverygoodscode:
  2973. description: 现货商品代码
  2974. type: string
  2975. deliverygoodsid:
  2976. description: 现货商品ID
  2977. type: integer
  2978. deliverygoodsname:
  2979. description: 现货商品名称
  2980. type: string
  2981. deliverystartdate:
  2982. description: 交割开始日
  2983. type: string
  2984. enddate:
  2985. description: 点价结束日
  2986. type: string
  2987. enumdicname:
  2988. description: 单位名称
  2989. type: string
  2990. goodscode:
  2991. description: 点价商品代码
  2992. type: string
  2993. goodsid:
  2994. description: 点价商品ID
  2995. type: integer
  2996. invoiceamount:
  2997. description: 已开票额
  2998. type: number
  2999. loanamount:
  3000. description: 贷款总额=已定价额+调整金额
  3001. type: number
  3002. margin:
  3003. description: 保证金
  3004. type: number
  3005. payamount:
  3006. description: 已收付额(收款或付款)
  3007. type: number
  3008. price:
  3009. description: 价格
  3010. type: number
  3011. pricedamount:
  3012. description: 已定价额
  3013. type: number
  3014. pricedavg:
  3015. description: 已点均价
  3016. type: number
  3017. pricedqty:
  3018. description: 已定价量
  3019. type: number
  3020. pricemove:
  3021. description: 升贴水
  3022. type: number
  3023. pricetype:
  3024. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3025. type: integer
  3026. producttype:
  3027. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3028. type: integer
  3029. qty:
  3030. description: 合同量
  3031. type: number
  3032. reckonadjustamount:
  3033. description: 调整金额
  3034. type: number
  3035. reckonedamount:
  3036. description: 已收付额(已确定额)
  3037. type: number
  3038. reckonotheramount:
  3039. description: 其它费用
  3040. type: number
  3041. reckonrealqty:
  3042. description: 已确定量
  3043. type: number
  3044. remark:
  3045. description: 备注
  3046. type: string
  3047. spotcontractid:
  3048. description: 合同ID
  3049. type: string
  3050. spotgoodsdesc:
  3051. description: 商品型号(商品规格)
  3052. type: string
  3053. startdate:
  3054. description: 点价开始日
  3055. type: string
  3056. totalamount:
  3057. description: 合计总额
  3058. type: number
  3059. unpayamount:
  3060. description: 待支收额(支付或收款)
  3061. type: number
  3062. unpricedqty:
  3063. description: 未定价量
  3064. type: number
  3065. unsureqty:
  3066. description: 未确定量
  3067. type: number
  3068. userid:
  3069. description: 用户ID
  3070. type: integer
  3071. type: object
  3072. models.ErmcpOPLogModel:
  3073. properties:
  3074. aftervalue:
  3075. description: 变更后
  3076. type: number
  3077. applyid:
  3078. description: 操作人ID
  3079. type: string
  3080. applyname:
  3081. description: 操作人名称
  3082. type: string
  3083. beforevalue:
  3084. description: 变更前
  3085. type: number
  3086. biztype:
  3087. description: 业务类型 - 1:套保计划 2:现货合同
  3088. type: integer
  3089. contracttype:
  3090. description: 现货合同类型 - 1:采购 -1:销售
  3091. type: integer
  3092. logvalue:
  3093. description: 数值
  3094. type: number
  3095. operatelogtype:
  3096. description: 操作流水类型
  3097. type: integer
  3098. operatelogtypedesc:
  3099. description: 操作流水类型名称
  3100. type: string
  3101. relatedid:
  3102. description: 现货合同ID\套保计划
  3103. type: string
  3104. updatetime:
  3105. description: 更新时间
  3106. type: string
  3107. type: object
  3108. models.ErmcpRealExposureModel:
  3109. properties:
  3110. areaUserID:
  3111. description: 所属机构
  3112. type: integer
  3113. buyFutureQty:
  3114. description: 买入期货数量
  3115. type: number
  3116. buyPlanQty:
  3117. description: 采购计划数量
  3118. type: number
  3119. buyPricedQty:
  3120. description: 采购合同已定价数量
  3121. type: number
  3122. diffFutuQty:
  3123. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  3124. type: number
  3125. diffSpotQty:
  3126. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  3127. type: number
  3128. middleGoodsCode:
  3129. description: 套保品种代码
  3130. type: string
  3131. middleGoodsHedgeRatio:
  3132. description: 应套保比例
  3133. type: number
  3134. middleGoodsID:
  3135. description: 套保品种
  3136. type: integer
  3137. middleGoodsName:
  3138. description: 套保品种名称
  3139. type: string
  3140. needHedgeExposoure:
  3141. description: 应套保敞口
  3142. type: number
  3143. needHedgeRatio:
  3144. description: 应套保敞口比例
  3145. type: number
  3146. oriBuyFutureQty:
  3147. description: 期初买入期货数量
  3148. type: number
  3149. oriBuyPlanQty:
  3150. description: 期初采购计划数量
  3151. type: number
  3152. oriBuyPricedQty:
  3153. description: 期初采购合同已定价数量
  3154. type: number
  3155. oriSellFutureQty:
  3156. description: 期初卖出期货数量
  3157. type: number
  3158. oriSellPlanQty:
  3159. description: 期初销售计划数量
  3160. type: number
  3161. oriSellPricedQty:
  3162. description: 期初销售合同已定价数量
  3163. type: number
  3164. oriTotalFutuQty:
  3165. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  3166. type: number
  3167. oriTotalSpotQty:
  3168. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  3169. type: number
  3170. sellFutureQty:
  3171. description: 卖出期货数量
  3172. type: number
  3173. sellPlanQty:
  3174. description: 销售计划数量
  3175. type: number
  3176. sellPricedQty:
  3177. description: 销售合同已定价数量
  3178. type: number
  3179. totalExposure:
  3180. description: 总敞口
  3181. type: number
  3182. totalFutureQty:
  3183. description: 期货数量
  3184. type: number
  3185. totalHedgeRatio:
  3186. description: 敞口比例
  3187. type: number
  3188. totalNeedHedgeQty:
  3189. description: 期货应套保量
  3190. type: number
  3191. totalSpotQty:
  3192. description: 现货数量
  3193. type: number
  3194. type: object
  3195. models.ErmcpSpotContractModel:
  3196. properties:
  3197. amount:
  3198. description: 金额 [1:一口价、3:暂定价]
  3199. type: number
  3200. audittime:
  3201. description: 审核时间
  3202. type: string
  3203. buyuserid:
  3204. description: 采购方ID
  3205. type: integer
  3206. buyusername:
  3207. description: 采购方名称
  3208. type: string
  3209. contracctstatus:
  3210. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3211. type: integer
  3212. contractmargin:
  3213. description: 合同保证金
  3214. type: number
  3215. contractno:
  3216. description: 现货合同编号
  3217. type: string
  3218. contracttype:
  3219. description: 现货合同类型 - 1:采购 -1:销售
  3220. type: integer
  3221. convertfactor:
  3222. description: 标仓系数
  3223. type: number
  3224. deliveryenddate:
  3225. description: 交收期(结束)
  3226. type: string
  3227. deliverygoodscode:
  3228. description: 现货品种代码
  3229. type: string
  3230. deliverygoodsid:
  3231. description: 现货品种ID
  3232. type: integer
  3233. deliverygoodsname:
  3234. description: 现货品种名称
  3235. type: string
  3236. deliverystartdate:
  3237. description: 交收期(开始)
  3238. type: string
  3239. enddate:
  3240. description: 点价结束日期 [2:点价 3:暂定价]
  3241. type: string
  3242. enumdicname:
  3243. description: 单位名称
  3244. type: string
  3245. goodscode:
  3246. description: 点价合约代码
  3247. type: string
  3248. goodsid:
  3249. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3250. type: integer
  3251. margin:
  3252. description: 当前保证金
  3253. type: number
  3254. price:
  3255. description: 价格\暂定价 [1:一口价、3:暂定价]
  3256. type: number
  3257. pricemove:
  3258. description: 升贴水 [2:点价 3:暂定价]
  3259. type: number
  3260. pricetype:
  3261. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3262. type: integer
  3263. producttype:
  3264. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3265. type: integer
  3266. qty:
  3267. description: 数量
  3268. type: number
  3269. remark:
  3270. description: 备注
  3271. type: string
  3272. selluserid:
  3273. description: 销售方ID
  3274. type: integer
  3275. sellusername:
  3276. description: 销售方名称
  3277. type: string
  3278. spotcontractid:
  3279. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3280. type: string
  3281. spotgoodsdesc:
  3282. description: 商品型号
  3283. type: string
  3284. startdate:
  3285. description: 点价开始日期 [2:点价 3:暂定价]
  3286. type: string
  3287. userid:
  3288. description: 机构ID
  3289. type: integer
  3290. type: object
  3291. models.ErmcpUserModel:
  3292. properties:
  3293. address:
  3294. description: 通讯地址
  3295. type: string
  3296. attachment1:
  3297. description: 附件1
  3298. type: string
  3299. cardfrontphotourl:
  3300. description: 证件正面图片地址
  3301. type: string
  3302. cardnum:
  3303. description: 证件号码
  3304. type: string
  3305. cardtype:
  3306. description: 证件类型
  3307. type: integer
  3308. cardtypename:
  3309. description: 证件类型名称
  3310. type: string
  3311. cityid:
  3312. description: 市
  3313. type: integer
  3314. countryid:
  3315. description: 国家
  3316. type: integer
  3317. customername:
  3318. description: 企业名称
  3319. type: string
  3320. memberuserid:
  3321. description: 所属机构ID
  3322. type: integer
  3323. mobile:
  3324. description: 手机号码
  3325. type: string
  3326. provinceid:
  3327. description: 省
  3328. type: integer
  3329. remark:
  3330. description: 备注
  3331. type: string
  3332. status:
  3333. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  3334. type: integer
  3335. statusdesc:
  3336. description: 账户状态中文描述
  3337. type: string
  3338. telphone:
  3339. description: 联系电话
  3340. type: string
  3341. userid:
  3342. description: 用户ID
  3343. type: integer
  3344. userinfotype:
  3345. description: 客户类型
  3346. type: string
  3347. type: object
  3348. models.ErmcpWrstandDetail:
  3349. properties:
  3350. gbList:
  3351. description: 品牌列表
  3352. items:
  3353. $ref: '#/definitions/models.GoodsBrand'
  3354. type: array
  3355. gtList:
  3356. description: 型号列表
  3357. items:
  3358. $ref: '#/definitions/models.GoodsTypeModel'
  3359. type: array
  3360. wrd:
  3361. $ref: '#/definitions/models.ErmcpWrstandard'
  3362. description: 基本信息
  3363. type: object
  3364. wrsList:
  3365. description: 套保信息列表
  3366. items:
  3367. $ref: '#/definitions/models.WRSConverTDetail'
  3368. type: array
  3369. type: object
  3370. models.ErmcpWrstandard:
  3371. properties:
  3372. areauserid:
  3373. description: 所属机构
  3374. type: integer
  3375. createtime:
  3376. description: 创建时间
  3377. type: string
  3378. creatorid:
  3379. description: 创建人
  3380. type: integer
  3381. deliverygoodsid:
  3382. description: 品种ID
  3383. type: integer
  3384. enumdicname:
  3385. description: 单位名称
  3386. type: string
  3387. isvalid:
  3388. description: 是否有效 0-无效(停用) 1-有效(正常)
  3389. type: integer
  3390. minivalue:
  3391. description: 最小变动值
  3392. type: integer
  3393. minivaluedp:
  3394. description: 最小变动值小数位
  3395. type: integer
  3396. realminivalue:
  3397. description: 实际最小变动值
  3398. type: integer
  3399. realminivaluedp:
  3400. description: 实际最小变动值小数位
  3401. type: integer
  3402. remark:
  3403. description: 备注
  3404. type: string
  3405. unitid:
  3406. description: 单位ID
  3407. type: integer
  3408. updatetime:
  3409. description: 更新时间
  3410. type: string
  3411. wrstandardcode:
  3412. description: 现货商品代码
  3413. type: string
  3414. wrstandardid:
  3415. description: 现货商品ID(SEQ_WRSTANDARD)
  3416. type: integer
  3417. wrstandardname:
  3418. description: 现货商品名称
  3419. type: string
  3420. type: object
  3421. models.Goods:
  3422. properties:
  3423. agreeunit:
  3424. description: 合约单位
  3425. type: number
  3426. auditaccountid:
  3427. description: 审核操作员账号
  3428. type: integer
  3429. audittime:
  3430. description: 审核时间
  3431. type: string
  3432. cancelaccountid:
  3433. description: 注销操作员账号
  3434. type: integer
  3435. canceltime:
  3436. description: 注销时间
  3437. type: string
  3438. closepricemode:
  3439. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  3440. type: integer
  3441. closepriceparam:
  3442. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  3443. type: number
  3444. createtime:
  3445. description: 创建时间
  3446. type: string
  3447. creatorid:
  3448. description: 创建人
  3449. type: integer
  3450. currencyid:
  3451. description: 报价货币ID
  3452. type: integer
  3453. cutmode:
  3454. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  3455. type: integer
  3456. decimalplace:
  3457. description: 报价小数位
  3458. type: integer
  3459. delistingdate:
  3460. description: 商品退市时间(状态:退市) -- 已作废
  3461. type: string
  3462. delistingmode:
  3463. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  3464. type: integer
  3465. deliveryflag:
  3466. description: 交割标志 - 0:不可交割 1:可交割
  3467. type: integer
  3468. forceclosemode:
  3469. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  3470. type: integer
  3471. forceclosevalue:
  3472. description: 定期强平参数 [收益权]
  3473. type: integer
  3474. goodscode:
  3475. description: 商品代码(内部)
  3476. type: string
  3477. goodscurrencyid:
  3478. description: 合约货币ID
  3479. type: integer
  3480. goodsgroupid:
  3481. description: 所属商品组ID
  3482. type: integer
  3483. goodsid:
  3484. description: 商品ID(自增ID SEQ_GOODS)
  3485. type: integer
  3486. goodsname:
  3487. description: 商品名称
  3488. type: string
  3489. goodsquotetype:
  3490. description: '合约报价类型: 1-直接报价 2-间接报价'
  3491. type: integer
  3492. goodsstatus:
  3493. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  3494. type: integer
  3495. goodstradetype:
  3496. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  3497. type: integer
  3498. goodunitid:
  3499. description: 报价单位ID
  3500. type: integer
  3501. hasquoter:
  3502. description: 是否有报价商 - 0:无报价商 1:有报价商
  3503. type: integer
  3504. hqprotecttime:
  3505. description: 行情保护时间(秒)
  3506. type: integer
  3507. innerdealmode:
  3508. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  3509. type: integer
  3510. isbuylimited:
  3511. description: 是否限制建仓量 - 0:不限制 1:限制
  3512. type: integer
  3513. lasttradedate:
  3514. description: 最后交易日期(状态:待退市)
  3515. type: string
  3516. listingdate:
  3517. description: 交易开始日期
  3518. type: string
  3519. marketid:
  3520. description: 所属市场ID
  3521. type: integer
  3522. modifierid:
  3523. description: 修改人
  3524. type: integer
  3525. modifystatus:
  3526. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  3527. type: integer
  3528. modifytime:
  3529. description: 修改时间
  3530. type: string
  3531. outerdealmode:
  3532. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  3533. type: integer
  3534. outgoodscode:
  3535. description: 商品代码(外部)
  3536. type: string
  3537. qtydecimalplace:
  3538. description: 成交量小数位
  3539. type: integer
  3540. quotegear:
  3541. description: 行情档位(1-10)
  3542. type: integer
  3543. quoteminunit:
  3544. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3545. type: integer
  3546. quoteshowtype:
  3547. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  3548. type: integer
  3549. quoteshowtypeinterval:
  3550. description: 行情报价间隔时间(秒)(成交价时为0)
  3551. type: integer
  3552. remark:
  3553. description: 备注
  3554. type: string
  3555. required:
  3556. - goodscode
  3557. - goodsid
  3558. - goodsname
  3559. - marketid
  3560. type: object
  3561. models.GoodsBrand:
  3562. properties:
  3563. brandid:
  3564. description: 品牌ID
  3565. type: integer
  3566. brandname:
  3567. description: 品牌名称
  3568. type: string
  3569. isvalid:
  3570. description: 是否有效 - 0:无效 1:有效
  3571. type: integer
  3572. type: object
  3573. models.GoodsGroupConvert:
  3574. properties:
  3575. convertratio:
  3576. description: 折算系数
  3577. type: number
  3578. dstgoodsgroupid:
  3579. description: 目标期货品种ID
  3580. type: integer
  3581. goodsgroupname:
  3582. description: 期货品种名称
  3583. type: string
  3584. outergroupcode:
  3585. description: 期货品种代码
  3586. type: string
  3587. srcgoodsgroupid:
  3588. description: 源期货品种ID
  3589. type: integer
  3590. type: object
  3591. models.GoodsIDAndName:
  3592. properties:
  3593. goodscode:
  3594. description: 商品代码(内部)
  3595. type: string
  3596. goodsid:
  3597. description: 商品ID(自增ID SEQ_GOODS)
  3598. type: integer
  3599. goodsname:
  3600. description: 商品名称
  3601. type: string
  3602. marketid:
  3603. description: 所属市场ID
  3604. type: integer
  3605. required:
  3606. - goodscode
  3607. - goodsid
  3608. - goodsname
  3609. - marketid
  3610. type: object
  3611. models.GoodsTypeModel:
  3612. properties:
  3613. modelid:
  3614. description: 型号ID
  3615. type: integer
  3616. modelname:
  3617. description: 型号名称
  3618. type: string
  3619. updatetime:
  3620. description: 更新时间
  3621. type: string
  3622. type: object
  3623. models.HsbyBuyMyPayOrder:
  3624. properties:
  3625. agreeunit:
  3626. description: 合约单位
  3627. type: number
  3628. buyaccountid:
  3629. description: 买方账号ID[报价币种]
  3630. type: integer
  3631. buyorderid:
  3632. description: 买方委托单号
  3633. type: string
  3634. createtime:
  3635. description: 创建时间
  3636. type: string
  3637. currencysign:
  3638. description: 货币符号
  3639. type: string
  3640. decimalplace:
  3641. description: 报价小数位
  3642. type: integer
  3643. goodscode:
  3644. description: 商品代码(内部)
  3645. type: string
  3646. goodsid:
  3647. description: 商品ID
  3648. type: integer
  3649. goodsname:
  3650. description: 商品名称
  3651. type: string
  3652. marketid:
  3653. description: 市场ID
  3654. type: integer
  3655. offamount:
  3656. description: 优惠金额
  3657. type: number
  3658. payamount:
  3659. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  3660. type: number
  3661. payflag:
  3662. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  3663. type: integer
  3664. paylimitedtime:
  3665. description: 支付期限
  3666. type: string
  3667. paytime:
  3668. description: 付款时间
  3669. type: string
  3670. picurls1:
  3671. description: 预售商品介绍图片[多张用逗号分隔]
  3672. type: string
  3673. picurls2:
  3674. description: 挂牌商品介绍图片[多张用逗号分隔]
  3675. type: string
  3676. sellaccountid:
  3677. description: 卖方账号ID[报价币种]
  3678. type: integer
  3679. sellorderid:
  3680. description: 卖方委托单号
  3681. type: string
  3682. tradeamount:
  3683. description: 成交金额
  3684. type: number
  3685. tradecharge:
  3686. description: 成交手续费(买方)
  3687. type: number
  3688. tradedate:
  3689. description: 交易日(yyyyMMdd)
  3690. type: string
  3691. tradeid:
  3692. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3693. type: string
  3694. trademode:
  3695. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3696. 21:竞拍-大宗式 22:受托竞价
  3697. type: integer
  3698. tradeprice:
  3699. description: 成交价格
  3700. type: number
  3701. tradeqty:
  3702. description: 成交数量
  3703. type: integer
  3704. vendorname1:
  3705. description: 预售商品供应商名称
  3706. type: string
  3707. vendorname2:
  3708. description: 挂牌商品供应商名称
  3709. type: string
  3710. required:
  3711. - goodscode
  3712. - goodsname
  3713. - tradeid
  3714. - trademode
  3715. type: object
  3716. models.HsbyBuyMyTradeDetail:
  3717. properties:
  3718. accountid:
  3719. description: 账户ID[报价币种]
  3720. type: integer
  3721. agreeunit:
  3722. description: 合约单位
  3723. type: number
  3724. amount:
  3725. description: 金额 = 价格 * 数量 * 合约单位
  3726. type: number
  3727. buyorsell:
  3728. description: 买卖 - 0:买 1:卖
  3729. type: integer
  3730. currencysign:
  3731. description: 货币符号
  3732. type: string
  3733. decimalplace:
  3734. description: 报价小数位
  3735. type: integer
  3736. goodscode:
  3737. description: 商品代码(内部)
  3738. type: string
  3739. goodsid:
  3740. description: 商品ID
  3741. type: integer
  3742. goodsname:
  3743. description: 商品名称
  3744. type: string
  3745. marketid:
  3746. description: 市场ID
  3747. type: integer
  3748. orderid:
  3749. description: 单号(成交单号)
  3750. type: string
  3751. picurls1:
  3752. description: 预售商品介绍图片[多张用逗号分隔]
  3753. type: string
  3754. picurls2:
  3755. description: 挂牌商品介绍图片[多张用逗号分隔]
  3756. type: string
  3757. price:
  3758. description: 价格
  3759. type: number
  3760. qty:
  3761. description: 数量
  3762. type: integer
  3763. time:
  3764. description: 时间
  3765. type: string
  3766. trademode:
  3767. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3768. 21:竞拍-大宗式 22:受托竞价
  3769. type: integer
  3770. vendorname1:
  3771. description: 预售商品供应商名称
  3772. type: string
  3773. vendorname2:
  3774. description: 挂牌商品供应商名称
  3775. type: string
  3776. required:
  3777. - accountid
  3778. - buyorsell
  3779. - goodscode
  3780. - goodsid
  3781. - goodsname
  3782. - marketid
  3783. - orderid
  3784. - qty
  3785. - time
  3786. - trademode
  3787. type: object
  3788. models.HsbyGoodsOrderDetail:
  3789. properties:
  3790. buyorsell:
  3791. description: 买卖 - 0:买 1:卖
  3792. type: integer
  3793. currencysign:
  3794. description: 货币符号
  3795. type: string
  3796. customername:
  3797. description: 客户名称(企业名称),已脱敏
  3798. type: string
  3799. enableqty:
  3800. description: 可用数量
  3801. type: integer
  3802. goodunit:
  3803. description: 报价单位
  3804. type: string
  3805. orderid:
  3806. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3807. type: string
  3808. orderprice:
  3809. description: 委托价格
  3810. type: number
  3811. ordertime:
  3812. description: 委托时间
  3813. type: string
  3814. required:
  3815. - buyorsell
  3816. - orderid
  3817. - ordertime
  3818. type: object
  3819. models.HsbyListingGoodsDetail:
  3820. properties:
  3821. agreeunit:
  3822. description: 合约单位
  3823. type: number
  3824. buymaxqty:
  3825. description: 购买上限 [71] - 0为不限
  3826. type: integer
  3827. currency:
  3828. description: 货币
  3829. type: string
  3830. currencysign:
  3831. description: 货币符号
  3832. type: string
  3833. decimalplace:
  3834. description: 报价小数位
  3835. type: integer
  3836. desccityid:
  3837. description: 目的地(市)ID
  3838. type: integer
  3839. descprovinceid:
  3840. description: 目的地(省)ID
  3841. type: integer
  3842. goodscode:
  3843. description: 商品代码(内部)
  3844. type: string
  3845. goodsdesc:
  3846. description: 商品详情
  3847. type: string
  3848. goodsid:
  3849. description: 商品ID(自增ID SEQ_GOODS)
  3850. type: integer
  3851. goodsname:
  3852. description: 商品名称
  3853. type: string
  3854. goodsprice:
  3855. description: 商品价格
  3856. type: number
  3857. hotindex:
  3858. description: 景点热度
  3859. type: integer
  3860. last:
  3861. description: 现价
  3862. type: number
  3863. limitdown:
  3864. description: 跌停价
  3865. type: number
  3866. limitup:
  3867. description: 涨停价
  3868. type: number
  3869. lotsize:
  3870. description: 手数最小变动单位
  3871. type: integer
  3872. marketid:
  3873. description: 所属市场ID
  3874. type: integer
  3875. picurls:
  3876. description: 介绍图片[多张用逗号分隔]
  3877. type: string
  3878. quoteminunit:
  3879. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3880. type: integer
  3881. stepvalue:
  3882. description: 价格最小变动单位
  3883. type: number
  3884. trademode:
  3885. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3886. 21:竞拍-大宗式 22:受托竞价
  3887. type: integer
  3888. vendorattr:
  3889. description: 供应商附件(多张,逗号分隔)
  3890. type: string
  3891. vendorname:
  3892. description: 供应商名称
  3893. type: string
  3894. vendorphone:
  3895. description: 供应商客服电话
  3896. type: string
  3897. videourls:
  3898. description: 介绍视频[多张用逗号分隔]
  3899. type: string
  3900. required:
  3901. - goodscode
  3902. - goodsid
  3903. - goodsname
  3904. - marketid
  3905. - trademode
  3906. type: object
  3907. models.HsbyMarketGoods:
  3908. properties:
  3909. accountid:
  3910. description: 账户ID[报价币种]
  3911. type: integer
  3912. agreeunit:
  3913. description: 合约单位
  3914. type: number
  3915. buyorsell:
  3916. description: 买卖 - 0:买 1:卖
  3917. type: integer
  3918. categoryid:
  3919. description: 类别ID(WRCATEGORY)
  3920. type: integer
  3921. currency:
  3922. description: 货币
  3923. type: string
  3924. currencysign:
  3925. description: 货币符号
  3926. type: string
  3927. customername:
  3928. description: 卖家名称
  3929. type: string
  3930. decimalplace:
  3931. description: 报价小数位
  3932. type: integer
  3933. goodscode:
  3934. description: 商品代码(内部)
  3935. type: string
  3936. goodsid:
  3937. description: 商品ID
  3938. type: integer
  3939. goodsname:
  3940. description: 商品名称
  3941. type: string
  3942. goodsprice:
  3943. description: 商品价格
  3944. type: number
  3945. hascoupon:
  3946. description: 是否可用优惠卷
  3947. type: boolean
  3948. hotindex:
  3949. description: 景点热度
  3950. type: integer
  3951. marketid:
  3952. description: 市场ID
  3953. type: integer
  3954. orderid:
  3955. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3956. type: string
  3957. orderprice:
  3958. description: 委托价格
  3959. type: number
  3960. orderstatus:
  3961. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  3962. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  3963. 16:成交失败违约(荷兰式竞拍专用)
  3964. type: integer
  3965. picurls:
  3966. description: 介绍图片[多张用逗号分隔]
  3967. type: string
  3968. quoteminunit:
  3969. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3970. type: integer
  3971. sellUserID:
  3972. description: 卖方UserID
  3973. type: integer
  3974. trademode:
  3975. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3976. 21:竞拍-大宗式 22:受托竞价
  3977. type: integer
  3978. videourls:
  3979. description: 介绍视频[多张用逗号分隔]
  3980. type: string
  3981. required:
  3982. - accountid
  3983. - buyorsell
  3984. - goodscode
  3985. - goodsid
  3986. - goodsname
  3987. - marketid
  3988. - orderid
  3989. - trademode
  3990. type: object
  3991. models.HsbyMarketGoodsDetail:
  3992. properties:
  3993. accountid:
  3994. description: 账户ID[报价币种]
  3995. type: integer
  3996. agreeunit:
  3997. description: 合约单位
  3998. type: number
  3999. buymaxqty:
  4000. description: 购买上限 [71] - 0为不限
  4001. type: integer
  4002. buyorsell:
  4003. description: 买卖 - 0:买 1:卖
  4004. type: integer
  4005. cancelqty:
  4006. description: 撤单数量
  4007. type: integer
  4008. categoryid:
  4009. description: 类别ID(WRCATEGORY)
  4010. type: integer
  4011. currency:
  4012. description: 货币
  4013. type: string
  4014. currencysign:
  4015. description: 货币符号
  4016. type: string
  4017. customername:
  4018. description: 卖家名称
  4019. type: string
  4020. decimalplace:
  4021. description: 报价小数位
  4022. type: integer
  4023. goodscode:
  4024. description: 商品代码(内部)
  4025. type: string
  4026. goodsdesc:
  4027. description: 商品详情
  4028. type: string
  4029. goodsid:
  4030. description: 商品ID
  4031. type: integer
  4032. goodsname:
  4033. description: 商品名称
  4034. type: string
  4035. goodsprice:
  4036. description: 商品价格
  4037. type: number
  4038. hotindex:
  4039. description: 景点热度
  4040. type: integer
  4041. lotsize:
  4042. description: 手数最小变动单位
  4043. type: integer
  4044. marketid:
  4045. description: 市场ID
  4046. type: integer
  4047. orderid:
  4048. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4049. type: string
  4050. orderprice:
  4051. description: 委托价格
  4052. type: number
  4053. orderqty:
  4054. description: 委托数量
  4055. type: integer
  4056. orderstatus:
  4057. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  4058. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  4059. 16:成交失败违约(荷兰式竞拍专用)
  4060. type: integer
  4061. picurls:
  4062. description: 介绍图片[多张用逗号分隔]
  4063. type: string
  4064. quoteminunit:
  4065. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4066. type: integer
  4067. sellUserID:
  4068. description: 卖方UserID
  4069. type: integer
  4070. trademode:
  4071. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4072. 21:竞拍-大宗式 22:受托竞价
  4073. type: integer
  4074. tradeqty:
  4075. description: 成交数量
  4076. type: integer
  4077. vendorattr:
  4078. description: 供应商附件(多张,逗号分隔)
  4079. type: string
  4080. vendorname:
  4081. description: 供应商名称
  4082. type: string
  4083. vendorphone:
  4084. description: 供应商客服电话
  4085. type: string
  4086. videourls:
  4087. description: 介绍视频[多张用逗号分隔]
  4088. type: string
  4089. required:
  4090. - accountid
  4091. - buyorsell
  4092. - goodscode
  4093. - goodsid
  4094. - goodsname
  4095. - marketid
  4096. - orderid
  4097. - orderqty
  4098. - trademode
  4099. type: object
  4100. models.HsbyMarketInfo:
  4101. properties:
  4102. marketid:
  4103. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  4104. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  4105. type: integer
  4106. marketname:
  4107. description: 市场名称
  4108. type: string
  4109. marketstatus:
  4110. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  4111. type: integer
  4112. trademode:
  4113. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4114. 21:竞拍-大宗式 22:受托竞价
  4115. type: integer
  4116. required:
  4117. - marketid
  4118. - marketstatus
  4119. - trademode
  4120. type: object
  4121. models.HsbyMyGoods:
  4122. properties:
  4123. accountid:
  4124. description: 账号Id
  4125. type: integer
  4126. agreeunit:
  4127. description: 合约单位
  4128. type: number
  4129. buyaverageprice:
  4130. description: 持仓均价
  4131. type: number
  4132. buycurholderamount:
  4133. description: 买当前持仓总金额[商品币种]
  4134. type: number
  4135. buycurpositionqty:
  4136. description: 买当前持仓总数量
  4137. type: integer
  4138. buymaxqty:
  4139. description: 购买上限 [71] - 0为不限
  4140. type: integer
  4141. currencysign:
  4142. description: 货币符号
  4143. type: string
  4144. decimalplace:
  4145. description: 报价小数位
  4146. type: integer
  4147. enableqty:
  4148. description: 可用数量
  4149. type: integer
  4150. goodscode:
  4151. description: 商品代码(内部)
  4152. type: string
  4153. goodsid:
  4154. description: 商品Id
  4155. type: integer
  4156. goodsname:
  4157. description: 商品名称
  4158. type: string
  4159. goodsprice:
  4160. description: 商品价格
  4161. type: number
  4162. goodsstatus:
  4163. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  4164. type: integer
  4165. last:
  4166. description: 现价(仅使用于挂牌点选)
  4167. type: number
  4168. limitdown:
  4169. description: 跌停价(仅使用于挂牌点选)
  4170. type: number
  4171. limitup:
  4172. description: 涨停价(仅使用于挂牌点选)
  4173. type: number
  4174. lotsize:
  4175. description: 手数最小变动单位
  4176. type: integer
  4177. marketid:
  4178. description: 所属市场ID
  4179. type: integer
  4180. picurls:
  4181. description: 介绍图片[多张用逗号分隔]
  4182. type: string
  4183. quoteminunit:
  4184. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4185. type: integer
  4186. stepvalue:
  4187. description: 价格最小变动单位
  4188. type: number
  4189. trademode:
  4190. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4191. 21:竞拍-大宗式 22:受托竞价
  4192. type: integer
  4193. required:
  4194. - accountid
  4195. - goodscode
  4196. - goodsid
  4197. - goodsname
  4198. - marketid
  4199. - trademode
  4200. type: object
  4201. models.HsbyMyPackage:
  4202. properties:
  4203. accountid:
  4204. description: 账户ID
  4205. type: integer
  4206. address:
  4207. description: 提货人详细地址
  4208. type: string
  4209. agreeunit:
  4210. description: 合约单位
  4211. type: number
  4212. amount:
  4213. description: 提货金额
  4214. type: number
  4215. auditer:
  4216. description: 审核人
  4217. type: integer
  4218. audittime:
  4219. description: 审核时间
  4220. type: string
  4221. averageprice:
  4222. description: 均价
  4223. type: number
  4224. cardnum:
  4225. description: 提货人证件号码
  4226. type: string
  4227. cardtypeid:
  4228. description: 提货人证件类型
  4229. type: integer
  4230. checkremark:
  4231. description: 审核备注
  4232. type: string
  4233. currencysign:
  4234. description: 货币符号
  4235. type: string
  4236. decimalplace:
  4237. description: 报价小数位
  4238. type: integer
  4239. goodscode:
  4240. description: 商品代码(内部)
  4241. type: string
  4242. goodsid:
  4243. description: 商品ID
  4244. type: integer
  4245. goodsname:
  4246. description: 商品名称
  4247. type: string
  4248. handlestatus:
  4249. description: 处理状态
  4250. type: integer
  4251. marketid:
  4252. description: 市场ID
  4253. type: integer
  4254. phonenum:
  4255. description: 提货人联系方式
  4256. type: string
  4257. picurls:
  4258. description: 介绍图片[多张用逗号分隔]
  4259. type: string
  4260. qty:
  4261. description: 提货数量
  4262. type: number
  4263. recivername:
  4264. description: 提货人姓名
  4265. type: string
  4266. reqtime:
  4267. description: 更新时间
  4268. type: string
  4269. takemode:
  4270. description: 提货方式 - 2:自提 3:配送
  4271. type: integer
  4272. takeorderid:
  4273. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  4274. type: string
  4275. takeorderstatus:
  4276. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  4277. type: integer
  4278. takeremark:
  4279. description: 提货备注
  4280. type: string
  4281. tradedate:
  4282. description: 交易日(yyyyMMdd)
  4283. type: string
  4284. trademode:
  4285. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4286. 21:竞拍-大宗式 22:受托竞价
  4287. type: integer
  4288. userid:
  4289. description: 用户ID
  4290. type: integer
  4291. vendorname:
  4292. description: 供应商名称
  4293. type: string
  4294. required:
  4295. - goodscode
  4296. - goodsname
  4297. - takeorderid
  4298. - trademode
  4299. type: object
  4300. models.HsbyPreGoods:
  4301. properties:
  4302. agreeunit:
  4303. description: 合约单位
  4304. type: number
  4305. currency:
  4306. description: 货币
  4307. type: string
  4308. currencysign:
  4309. description: 货币符号
  4310. type: string
  4311. decimalplace:
  4312. description: 报价小数位
  4313. type: integer
  4314. enableqty:
  4315. description: 剩余数量
  4316. type: integer
  4317. goodscode:
  4318. description: 商品代码(内部)
  4319. type: string
  4320. goodsid:
  4321. description: 商品ID(自增ID SEQ_GOODS)
  4322. type: integer
  4323. goodsname:
  4324. description: 商品名称
  4325. type: string
  4326. goodsstatus:
  4327. description: 商品状态- 2:未上市 3:上市
  4328. type: integer
  4329. lasttradedate:
  4330. description: 最后交易日期(状态:待退市)
  4331. type: string
  4332. listingdate:
  4333. description: 交易开始日期
  4334. type: string
  4335. marketid:
  4336. description: 所属市场ID
  4337. type: integer
  4338. picurls:
  4339. description: 介绍图片[多张用逗号分隔]
  4340. type: string
  4341. presaledqty:
  4342. description: 已预售量(预售结束时更新)
  4343. type: integer
  4344. presaleqty:
  4345. description: 预售数量
  4346. type: integer
  4347. quoteminunit:
  4348. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4349. type: integer
  4350. refprice:
  4351. description: 参考价格[一口价]
  4352. type: number
  4353. relatedgoodsid:
  4354. description: 关联交易合约ID
  4355. type: integer
  4356. trademode:
  4357. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4358. 21:竞拍-大宗式 22:受托竞价
  4359. type: integer
  4360. videourls:
  4361. description: 介绍视频[多张用逗号分隔]
  4362. type: string
  4363. required:
  4364. - goodscode
  4365. - goodsid
  4366. - goodsname
  4367. - marketid
  4368. - trademode
  4369. type: object
  4370. models.HsbyPreGoodsDetail:
  4371. properties:
  4372. agreeunit:
  4373. description: 合约单位
  4374. type: number
  4375. buymaxqty:
  4376. description: 购买上限 [71] - 0为不限
  4377. type: integer
  4378. currency:
  4379. description: 货币
  4380. type: string
  4381. currencysign:
  4382. description: 货币符号
  4383. type: string
  4384. customername:
  4385. description: 发行单位
  4386. type: string
  4387. decimalplace:
  4388. description: 报价小数位
  4389. type: integer
  4390. desccityid:
  4391. description: 目的地(市)ID
  4392. type: integer
  4393. descprovinceid:
  4394. description: 目的地(省)ID
  4395. type: integer
  4396. enableqty:
  4397. description: 剩余数量
  4398. type: integer
  4399. goodscode:
  4400. description: 商品代码(内部)
  4401. type: string
  4402. goodsdesc:
  4403. description: 商品详情
  4404. type: string
  4405. goodsid:
  4406. description: 商品ID(自增ID SEQ_GOODS)
  4407. type: integer
  4408. goodsname:
  4409. description: 商品名称
  4410. type: string
  4411. goodsstatus:
  4412. description: 商品状态- 2:未上市 3:上市
  4413. type: integer
  4414. goodunit:
  4415. description: 报价单位
  4416. type: string
  4417. lasttradedate:
  4418. description: 最后交易日期(状态:待退市)
  4419. type: string
  4420. listingdate:
  4421. description: 交易开始日期
  4422. type: string
  4423. lotsize:
  4424. description: 手数最小变动单位
  4425. type: integer
  4426. marketid:
  4427. description: 所属市场ID
  4428. type: integer
  4429. picurls:
  4430. description: 介绍图片[多张用逗号分隔]
  4431. type: string
  4432. presaledqty:
  4433. description: 已预售量(预售结束时更新)
  4434. type: integer
  4435. presaleqty:
  4436. description: 预售数量
  4437. type: integer
  4438. quoteminunit:
  4439. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4440. type: integer
  4441. refprice:
  4442. description: 参考价格[一口价]
  4443. type: number
  4444. relatedgoodsid:
  4445. description: 关联交易合约ID
  4446. type: integer
  4447. stepvalue:
  4448. description: 价格最小变动单位
  4449. type: number
  4450. trademode:
  4451. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4452. 21:竞拍-大宗式 22:受托竞价
  4453. type: integer
  4454. vendorattr:
  4455. description: 供应商附件(多张,逗号分隔)
  4456. type: string
  4457. vendorname:
  4458. description: 供应商名称
  4459. type: string
  4460. vendorphone:
  4461. description: 供应商客服电话
  4462. type: string
  4463. videourls:
  4464. description: 介绍视频[多张用逗号分隔]
  4465. type: string
  4466. required:
  4467. - goodscode
  4468. - goodsid
  4469. - goodsname
  4470. - marketid
  4471. - trademode
  4472. type: object
  4473. models.HsbySellCollectionOrder:
  4474. properties:
  4475. agreeunit:
  4476. description: 合约单位
  4477. type: number
  4478. buyaccountid:
  4479. description: 买方账号ID[报价币种]
  4480. type: integer
  4481. buyorderid:
  4482. description: 买方委托单号
  4483. type: string
  4484. createtime:
  4485. description: 创建时间
  4486. type: string
  4487. currencysign:
  4488. description: 货币符号
  4489. type: string
  4490. decimalplace:
  4491. description: 报价小数位
  4492. type: integer
  4493. goodscode:
  4494. description: 商品代码(内部)
  4495. type: string
  4496. goodsid:
  4497. description: 商品ID
  4498. type: integer
  4499. goodsname:
  4500. description: 商品名称
  4501. type: string
  4502. marketid:
  4503. description: 市场ID
  4504. type: integer
  4505. offamount:
  4506. description: 优惠金额
  4507. type: number
  4508. payamount:
  4509. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  4510. type: number
  4511. payflag:
  4512. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  4513. type: integer
  4514. paylimitedtime:
  4515. description: 支付期限
  4516. type: string
  4517. paytime:
  4518. description: 付款时间
  4519. type: string
  4520. picurls:
  4521. description: 商品介绍图片[多张用逗号分隔]
  4522. type: string
  4523. sellaccountid:
  4524. description: 卖方账号ID[报价币种]
  4525. type: integer
  4526. sellorderid:
  4527. description: 卖方委托单号
  4528. type: string
  4529. tradeamount:
  4530. description: 成交金额
  4531. type: number
  4532. tradecharge:
  4533. description: 成交手续费(买方)
  4534. type: number
  4535. tradedate:
  4536. description: 交易日(yyyyMMdd)
  4537. type: string
  4538. tradeid:
  4539. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4540. type: string
  4541. trademode:
  4542. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4543. 21:竞拍-大宗式 22:受托竞价
  4544. type: integer
  4545. tradeprice:
  4546. description: 成交价格
  4547. type: number
  4548. tradeqty:
  4549. description: 成交数量
  4550. type: integer
  4551. required:
  4552. - goodscode
  4553. - goodsname
  4554. - tradeid
  4555. - trademode
  4556. type: object
  4557. models.HsbySellMyDetail:
  4558. properties:
  4559. accountid:
  4560. description: 账户ID[报价币种]
  4561. type: integer
  4562. agreeunit:
  4563. description: 合约单位
  4564. type: number
  4565. buyorsell:
  4566. description: 买卖 - 0:买 1:卖
  4567. type: integer
  4568. currencysign:
  4569. description: 货币符号
  4570. type: string
  4571. decimalplace:
  4572. description: 报价小数位
  4573. type: integer
  4574. goodscode:
  4575. description: 商品代码(内部)
  4576. type: string
  4577. goodsid:
  4578. description: 商品ID
  4579. type: integer
  4580. goodsname:
  4581. description: 商品名称
  4582. type: string
  4583. marketid:
  4584. description: 市场ID
  4585. type: integer
  4586. orderid:
  4587. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  4588. type: string
  4589. ordertype:
  4590. description: 单据类型:0 - 发布中, 1 - 已完成
  4591. type: integer
  4592. picurls:
  4593. description: 介绍图片[多张用逗号分隔]
  4594. type: string
  4595. price:
  4596. description: 价格
  4597. type: number
  4598. qty:
  4599. description: 数量
  4600. type: integer
  4601. time:
  4602. description: 时间
  4603. type: string
  4604. trademode:
  4605. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4606. 21:竞拍-大宗式 22:受托竞价
  4607. type: integer
  4608. vendorname:
  4609. description: 供应商名称
  4610. type: string
  4611. required:
  4612. - accountid
  4613. - buyorsell
  4614. - goodscode
  4615. - goodsid
  4616. - goodsname
  4617. - marketid
  4618. - orderid
  4619. - time
  4620. - trademode
  4621. type: object
  4622. models.HsbyTopGoods:
  4623. properties:
  4624. agreeunit:
  4625. description: 合约单位
  4626. type: number
  4627. currency:
  4628. description: 货币
  4629. type: string
  4630. currencysign:
  4631. description: 货币符号
  4632. type: string
  4633. decimalplace:
  4634. description: 报价小数位
  4635. type: integer
  4636. goodscode:
  4637. description: 商品代码(内部)
  4638. type: string
  4639. goodsid:
  4640. description: 商品ID(自增ID SEQ_GOODS)
  4641. type: integer
  4642. goodsname:
  4643. description: 商品名称
  4644. type: string
  4645. hotindex:
  4646. description: 景点热度
  4647. type: integer
  4648. last:
  4649. description: 现价
  4650. type: number
  4651. marketid:
  4652. description: 所属市场ID
  4653. type: integer
  4654. picurls:
  4655. description: 介绍图片[多张用逗号分隔]
  4656. type: string
  4657. quoteminunit:
  4658. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4659. type: integer
  4660. trademode:
  4661. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4662. 21:竞拍-大宗式 22:受托竞价
  4663. type: integer
  4664. videourls:
  4665. description: 介绍视频[多张用逗号分隔]
  4666. type: string
  4667. required:
  4668. - goodscode
  4669. - goodsid
  4670. - goodsname
  4671. - marketid
  4672. - trademode
  4673. type: object
  4674. models.HybsMyBuyOrderDetail:
  4675. properties:
  4676. accountid:
  4677. description: 账户ID[报价币种]
  4678. type: integer
  4679. agreeunit:
  4680. description: 合约单位
  4681. type: number
  4682. buyorsell:
  4683. description: 买卖 - 0:买 1:卖
  4684. type: integer
  4685. cancelqty:
  4686. description: 撤单数量
  4687. type: integer
  4688. currencysign:
  4689. description: 货币符号
  4690. type: string
  4691. decimalplace:
  4692. description: 报价小数位
  4693. type: integer
  4694. goodscode:
  4695. description: 商品代码(内部)
  4696. type: string
  4697. goodsid:
  4698. description: 商品ID
  4699. type: integer
  4700. goodsname:
  4701. description: 商品名称
  4702. type: string
  4703. listingselecttype:
  4704. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  4705. type: integer
  4706. marketid:
  4707. description: 市场ID
  4708. type: integer
  4709. mybuystatus:
  4710. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  4711. type: integer
  4712. orderamount:
  4713. description: 委托金额
  4714. type: number
  4715. orderid:
  4716. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4717. type: string
  4718. orderprice:
  4719. description: 委托价格
  4720. type: number
  4721. orderqty:
  4722. description: 委托数量
  4723. type: integer
  4724. orderstatus:
  4725. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  4726. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  4727. 16:成交失败违约(荷兰式竞拍专用)
  4728. type: integer
  4729. ordertime:
  4730. description: 委托时间
  4731. type: string
  4732. picurls1:
  4733. description: 预售商品介绍图片[多张用逗号分隔]
  4734. type: string
  4735. picurls2:
  4736. description: 挂牌商品介绍图片[多张用逗号分隔]
  4737. type: string
  4738. trademode:
  4739. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4740. 21:竞拍-大宗式 22:受托竞价
  4741. type: integer
  4742. tradeqty:
  4743. description: 成交数量
  4744. type: integer
  4745. vendorname1:
  4746. description: 预售商品供应商名称
  4747. type: string
  4748. vendorname2:
  4749. description: 挂牌商品供应商名称
  4750. type: string
  4751. required:
  4752. - accountid
  4753. - buyorsell
  4754. - goodscode
  4755. - goodsid
  4756. - goodsname
  4757. - marketid
  4758. - orderid
  4759. - orderqty
  4760. - ordertime
  4761. - trademode
  4762. type: object
  4763. models.Market:
  4764. properties:
  4765. auctionwrtype:
  4766. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  4767. type: integer
  4768. canacceptquote:
  4769. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  4770. type: integer
  4771. cangoodsexercise:
  4772. description: '[期权]是否可现货行权- 0:否 1:是'
  4773. type: integer
  4774. cangoodsexercisetype:
  4775. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  4776. type: integer
  4777. canmanualquotestrike:
  4778. description: 是否可手动报行权价- 0:否 1:是 [期权]
  4779. type: integer
  4780. canmutistage:
  4781. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  4782. type: integer
  4783. canpreexercise:
  4784. description: '[期权]是否可预申报- 0:否 1:是'
  4785. type: integer
  4786. clearinterval:
  4787. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  4788. type: integer
  4789. contracttmp:
  4790. description: 合同模板[荷兰式][竞价式][仓单贸易]
  4791. type: string
  4792. exchareaid:
  4793. description: 所属交易所,可以没有
  4794. type: integer
  4795. goodstype:
  4796. description: 商品类型 - 1:交易商品 2:仓单商品
  4797. type: integer
  4798. hasrebate:
  4799. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  4800. type: integer
  4801. hastradecredit:
  4802. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  4803. type: integer
  4804. haswr:
  4805. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  4806. type: integer
  4807. isdeductmargin:
  4808. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  4809. type: integer
  4810. isrecordsource:
  4811. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  4812. type: integer
  4813. isreleasemargin:
  4814. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  4815. type: integer
  4816. marginformula:
  4817. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  4818. type: integer
  4819. marginformula2:
  4820. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  4821. type: integer
  4822. marketid:
  4823. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  4824. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  4825. type: integer
  4826. marketname:
  4827. description: 市场名称
  4828. type: string
  4829. marketserviceid:
  4830. description: 市场服务ID
  4831. type: integer
  4832. marketstatus:
  4833. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  4834. type: integer
  4835. markettype:
  4836. description: 市场类型- 1:非交易服务 2:交易服务
  4837. type: integer
  4838. matchermode:
  4839. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  4840. type: integer
  4841. openmethod:
  4842. description: 开盘模式 - 0 自动 1手动
  4843. type: integer
  4844. otcuserid:
  4845. description: 场外期权做市商[场外期权]
  4846. type: integer
  4847. outersynctime:
  4848. description: 外部同步时间点(h24:mi:ss)[场外期权]
  4849. type: string
  4850. pendingflag:
  4851. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  4852. type: integer
  4853. pendingtime:
  4854. description: 待开市时间[通道交易-对冲](HH:mm)
  4855. type: string
  4856. performancetempid:
  4857. description: 履约计划模板ID - 作废
  4858. type: integer
  4859. premiumquotemode:
  4860. description: 权利金报价方式 - 1:自动 2:手动
  4861. type: integer
  4862. rebateratio:
  4863. description: 返利比率[竞价式]
  4864. type: number
  4865. reckonorder:
  4866. description: 结算顺序
  4867. type: integer
  4868. reckonpricealgorithm:
  4869. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  4870. 6.卖一价 7.买一卖一均价 8.外部结算价'
  4871. type: integer
  4872. reckonpriceparam:
  4873. description: 结算价参数
  4874. type: integer
  4875. reckontime:
  4876. description: 结算时间[通道交易-对冲](HH:mm)
  4877. type: string
  4878. roleprioritytype:
  4879. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  4880. type: integer
  4881. selllistingauditflag:
  4882. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  4883. type: integer
  4884. trademarkettype:
  4885. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  4886. type: integer
  4887. trademode:
  4888. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4889. 21:竞拍-大宗式 22:受托竞价
  4890. type: integer
  4891. tradeproperty:
  4892. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  4893. 8:场外期权
  4894. type: integer
  4895. tradetype:
  4896. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  4897. type: integer
  4898. required:
  4899. - marketid
  4900. - marketstatus
  4901. - openmethod
  4902. - reckonpricealgorithm
  4903. - trademode
  4904. - tradeproperty
  4905. type: object
  4906. models.Marketrun:
  4907. properties:
  4908. afternexttradedate:
  4909. description: 下下交易日
  4910. type: string
  4911. clearquoteflag:
  4912. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  4913. type: integer
  4914. lastreckondate:
  4915. description: 最新交易日(结算成功)
  4916. type: string
  4917. machinedate:
  4918. description: 机器时间
  4919. type: string
  4920. manualflag:
  4921. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  4922. type: integer
  4923. marketid:
  4924. description: 市场ID
  4925. type: integer
  4926. nexttradedate:
  4927. description: 下一交易日
  4928. type: string
  4929. pretradedate:
  4930. description: 上一交易日
  4931. type: string
  4932. reckonflag:
  4933. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  4934. type: integer
  4935. runstatus:
  4936. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  4937. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  4938. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  4939. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  4940. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  4941. 62.今日免清算
  4942. type: integer
  4943. sectionid:
  4944. description: 时间段号[多时段时用]
  4945. type: integer
  4946. tradedate:
  4947. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  4948. type: string
  4949. tradedate2:
  4950. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  4951. type: string
  4952. updatetime:
  4953. description: 更新时间
  4954. type: string
  4955. required:
  4956. - marketid
  4957. - nexttradedate
  4958. - reckonflag
  4959. - runstatus
  4960. - tradedate
  4961. - tradedate2
  4962. type: object
  4963. models.Messageboard:
  4964. properties:
  4965. createtime:
  4966. description: 创建时间
  4967. type: string
  4968. message:
  4969. description: 留言信息
  4970. type: string
  4971. messageboardid:
  4972. description: 留言簿ID(SEQ_MessageBoard)
  4973. type: integer
  4974. userid:
  4975. description: 用户ID
  4976. type: integer
  4977. required:
  4978. - messageboardid
  4979. type: object
  4980. models.MyCoupon:
  4981. properties:
  4982. accountid:
  4983. description: 资金账户ID
  4984. type: integer
  4985. areauserid:
  4986. description: 所属机构
  4987. type: integer
  4988. conditionvalue:
  4989. description: 条件阈值(可为0)
  4990. type: number
  4991. couponcategroy:
  4992. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  4993. type: integer
  4994. couponname:
  4995. description: 优惠券名称
  4996. type: string
  4997. coupontypeid:
  4998. description: 优惠券类型ID
  4999. type: string
  5000. couponvalue:
  5001. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  5002. type: number
  5003. curfreezeqty:
  5004. description: 期末冻结数量
  5005. type: integer
  5006. curqty:
  5007. description: 期末数量
  5008. type: integer
  5009. isgeneral:
  5010. description: 是否通用券 - 0:否 1:是
  5011. type: integer
  5012. isunusable:
  5013. description: 是否不可用
  5014. type: boolean
  5015. limitedflag:
  5016. description: 是否指定商品 - 0:不限 1:限制
  5017. type: integer
  5018. limitedgoodsids:
  5019. description: 指定商品IDs[逗号分隔,前后加逗号]
  5020. type: string
  5021. orifreezeqty:
  5022. description: 期初冻结数量
  5023. type: integer
  5024. oriqty:
  5025. description: 期初数量
  5026. type: integer
  5027. reasontype:
  5028. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  5029. type: integer
  5030. todaydecrease:
  5031. description: 今日减少
  5032. type: integer
  5033. todayincrease:
  5034. description: 今日增加
  5035. type: integer
  5036. userid:
  5037. description: 用户ID
  5038. type: integer
  5039. userscope:
  5040. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  5041. type: string
  5042. required:
  5043. - accountid
  5044. - coupontypeid
  5045. type: object
  5046. models.MyCouponHold:
  5047. properties:
  5048. accountid:
  5049. description: 资金账户ID
  5050. type: integer
  5051. conditionvalue:
  5052. description: 条件阈值(可为0)
  5053. type: number
  5054. couponcategroy:
  5055. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  5056. type: integer
  5057. couponholdid:
  5058. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  5059. type: string
  5060. couponname:
  5061. description: 优惠券名称
  5062. type: string
  5063. coupontypeid:
  5064. description: 优惠券类型ID - SEQ_COUPONTYPE
  5065. type: string
  5066. couponvalue:
  5067. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  5068. type: number
  5069. createtime:
  5070. description: 创建时间
  5071. type: string
  5072. enddate:
  5073. description: 结束日期
  5074. type: string
  5075. giveapplyid:
  5076. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  5077. type: integer
  5078. holdstatus:
  5079. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  5080. type: integer
  5081. isgeneral:
  5082. description: 是否通用券 - 0:否 1:是
  5083. type: integer
  5084. limitedflag:
  5085. description: 是否指定商品 - 0:不限 1:限制
  5086. type: integer
  5087. limitedgoodsids:
  5088. description: 指定商品IDs[逗号分隔]
  5089. type: string
  5090. qty:
  5091. description: 数量(按1平铺)
  5092. type: integer
  5093. startdate:
  5094. description: 开始日期
  5095. type: string
  5096. userid:
  5097. description: 用户ID
  5098. type: integer
  5099. userscope:
  5100. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  5101. type: string
  5102. required:
  5103. - couponholdid
  5104. type: object
  5105. models.MyUsedCoupon:
  5106. properties:
  5107. accountid:
  5108. description: 资金账户ID(买方)
  5109. type: integer
  5110. conditionvalue:
  5111. description: 条件阈值(可为0)
  5112. type: number
  5113. couponcategroy:
  5114. description: 种类 - 1:现金券 2:折扣券
  5115. type: integer
  5116. couponname:
  5117. description: 优惠券名称
  5118. type: string
  5119. coupontypeid:
  5120. description: 优惠券类型ID(买方)
  5121. type: string
  5122. couponvalue:
  5123. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  5124. type: number
  5125. createtime:
  5126. description: 创建时间
  5127. type: string
  5128. goodsid:
  5129. description: 商品ID
  5130. type: integer
  5131. handlestatus:
  5132. description: 处理状态
  5133. type: integer
  5134. marketid:
  5135. description: 市场ID
  5136. type: integer
  5137. offamount:
  5138. description: 优惠金额
  5139. type: number
  5140. orderid:
  5141. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5142. type: string
  5143. sellaccountid:
  5144. description: 资金账户ID(卖方)
  5145. type: integer
  5146. tradeamount:
  5147. description: 成交金额
  5148. type: number
  5149. tradeid:
  5150. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5151. type: string
  5152. usedqty:
  5153. description: 使用数量
  5154. type: integer
  5155. required:
  5156. - coupontypeid
  5157. - orderid
  5158. type: object
  5159. models.OperationPrimaryMenu:
  5160. properties:
  5161. Children:
  5162. description: 二级功能菜单
  5163. items:
  5164. $ref: '#/definitions/models.OperationSecondaryMenu'
  5165. type: array
  5166. Key:
  5167. description: 菜单KEY
  5168. type: string
  5169. Label:
  5170. description: 菜单标题
  5171. type: string
  5172. type: object
  5173. models.OperationSecondaryMenu:
  5174. properties:
  5175. Key:
  5176. description: 菜单KEY
  5177. type: string
  5178. Label:
  5179. description: 菜单标题
  5180. type: string
  5181. TabList:
  5182. description: 三级功能菜单
  5183. items:
  5184. $ref: '#/definitions/models.OperationTabMenu'
  5185. type: array
  5186. type: object
  5187. models.OperationTabMenu:
  5188. properties:
  5189. Key:
  5190. description: 菜单KEY
  5191. type: string
  5192. Label:
  5193. description: 菜单标题
  5194. type: string
  5195. type: object
  5196. models.PendingAuditBizModel:
  5197. properties:
  5198. accountid:
  5199. description: 现货账户
  5200. type: string
  5201. areaname:
  5202. description: 所属部门
  5203. type: string
  5204. bizid:
  5205. description: 业务ID
  5206. type: string
  5207. bizname:
  5208. description: 业务名称
  5209. type: string
  5210. status:
  5211. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  5212. type: integer
  5213. type:
  5214. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  5215. type: integer
  5216. type: object
  5217. models.QuotePrimaryMenu:
  5218. properties:
  5219. Index:
  5220. description: 序号
  5221. type: integer
  5222. Key:
  5223. description: 键名
  5224. type: string
  5225. Name:
  5226. description: 菜单名称
  5227. type: string
  5228. SubMenus:
  5229. description: 子菜单
  5230. items:
  5231. $ref: '#/definitions/models.QuoteSecondaryMenu'
  5232. type: array
  5233. SubTitleType:
  5234. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  5235. type: integer
  5236. TradeModes:
  5237. description: 包含市场交易类型
  5238. type: string
  5239. type: object
  5240. models.QuoteSecondaryMenu:
  5241. properties:
  5242. ExExchangeCode:
  5243. description: 外部交易所代码
  5244. type: string
  5245. ExExchangeID:
  5246. description: 外部交易所ID
  5247. type: integer
  5248. GoodsGroupIDs:
  5249. description: 商品组ID列表
  5250. items:
  5251. type: integer
  5252. type: array
  5253. Index:
  5254. description: 序号
  5255. type: integer
  5256. MarketID:
  5257. description: 市场ID
  5258. type: integer
  5259. MenuTitle:
  5260. description: 菜单标题(市场名称或外部交易所名称)
  5261. type: string
  5262. TradeMode:
  5263. description: 交易模式
  5264. type: integer
  5265. type: object
  5266. models.SearchGoods:
  5267. properties:
  5268. goodscode:
  5269. description: 商品代码(内部)
  5270. type: string
  5271. goodsid:
  5272. description: 商品ID(自增ID SEQ_GOODS)
  5273. type: integer
  5274. goodsname:
  5275. description: 商品名称
  5276. type: string
  5277. marketid:
  5278. description: 所属市场ID
  5279. type: integer
  5280. marketname:
  5281. description: 市场名称
  5282. type: string
  5283. trademode:
  5284. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5285. 21:竞拍-大宗式 22:受托竞价
  5286. type: integer
  5287. required:
  5288. - goodscode
  5289. - goodsid
  5290. - goodsname
  5291. - marketid
  5292. - trademode
  5293. type: object
  5294. models.Szdz2imageconfig:
  5295. properties:
  5296. configid:
  5297. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  5298. type: integer
  5299. imagepath:
  5300. description: 图片
  5301. type: string
  5302. imagetype:
  5303. description: 类型 - 1:App首页轮播 2:我的
  5304. type: integer
  5305. sort:
  5306. description: 排序
  5307. type: integer
  5308. title:
  5309. description: 标题
  5310. type: string
  5311. url:
  5312. description: 链接
  5313. type: string
  5314. required:
  5315. - configid
  5316. type: object
  5317. models.Szdz3convertconfig:
  5318. properties:
  5319. canin:
  5320. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  5321. type: integer
  5322. canout:
  5323. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  5324. type: integer
  5325. converttype:
  5326. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  5327. 6:交易转花生米(不设置)
  5328. type: integer
  5329. createtime:
  5330. description: 创建时间
  5331. type: string
  5332. creatorid:
  5333. description: 创建人
  5334. type: integer
  5335. daymaxvalue:
  5336. description: 当日最大转入限制
  5337. type: number
  5338. freezedays:
  5339. description: 冻结天数 [5:花生米转交易]
  5340. type: integer
  5341. innergoodsid:
  5342. description: 内部商品ID[交易]
  5343. type: integer
  5344. inratio:
  5345. description: 目标值
  5346. type: integer
  5347. modifierid:
  5348. description: 修改人
  5349. type: integer
  5350. modifytime:
  5351. description: 修改时间
  5352. type: string
  5353. outergoodscode:
  5354. description: 外部商品代码[JD\PD]
  5355. type: string
  5356. outratio:
  5357. description: 源值
  5358. type: integer
  5359. pddecimalplace:
  5360. description: PD小数位
  5361. type: integer
  5362. timemaxvalue:
  5363. description: 单次最大转入限制
  5364. type: number
  5365. timeminvalue:
  5366. description: 单次最小转入限制
  5367. type: number
  5368. required:
  5369. - converttype
  5370. - innergoodsid
  5371. - outergoodscode
  5372. type: object
  5373. models.Szdz3searchwhitelist:
  5374. properties:
  5375. createtime:
  5376. description: 创建时间
  5377. type: string
  5378. creatorid:
  5379. description: 创建人
  5380. type: integer
  5381. modifierid:
  5382. description: 修改人
  5383. type: integer
  5384. modifytime:
  5385. description: 修改时间
  5386. type: string
  5387. userid:
  5388. description: 用户ID
  5389. type: integer
  5390. required:
  5391. - userid
  5392. type: object
  5393. models.Tablecolumnconfig:
  5394. properties:
  5395. aligntype:
  5396. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  5397. type: integer
  5398. autoid:
  5399. description: AutoID
  5400. type: integer
  5401. columnfield:
  5402. description: 列字段
  5403. type: string
  5404. columntitle:
  5405. description: 列Title
  5406. type: string
  5407. columnwidth:
  5408. description: 列宽
  5409. type: string
  5410. formatterstring:
  5411. description: 格式化字符
  5412. type: string
  5413. formattertype:
  5414. description: 格式化类型
  5415. type: string
  5416. groupname:
  5417. description: 表头分组名称
  5418. type: string
  5419. isshow:
  5420. description: 是否显示 - 0:不显示 1:显示
  5421. type: integer
  5422. needsummary:
  5423. description: 是否需要汇总 - 0:不需要 1:需要
  5424. type: integer
  5425. orderindex:
  5426. description: 顺序
  5427. type: integer
  5428. remark:
  5429. description: 备注
  5430. type: string
  5431. summarytype:
  5432. description: 汇总类型 - 1:加总 2:最后一个
  5433. type: integer
  5434. tablekey:
  5435. description: 列表Key
  5436. type: string
  5437. required:
  5438. - autoid
  5439. type: object
  5440. models.Useraccount:
  5441. properties:
  5442. accountname:
  5443. description: 账户名称(机构名称)
  5444. type: string
  5445. accountstatus:
  5446. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  5447. type: integer
  5448. auditremark:
  5449. description: 审核备注
  5450. type: string
  5451. audittime:
  5452. description: 审核时间
  5453. type: string
  5454. audituserid:
  5455. description: 审核人
  5456. type: integer
  5457. broker:
  5458. description: 所属经纪人ID
  5459. type: integer
  5460. canceltime:
  5461. description: 销户时间
  5462. type: string
  5463. canceluserid:
  5464. description: 销户人
  5465. type: integer
  5466. createtime:
  5467. description: 创建时间
  5468. type: string
  5469. creatorid:
  5470. description: 创建人
  5471. type: integer
  5472. hasauth:
  5473. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  5474. type: integer
  5475. isanonymous:
  5476. description: 是否匿名下单 - 0:否 1:是
  5477. type: integer
  5478. maxinvestornum:
  5479. description: 最大用户数(经纪会员下投资者个数)
  5480. type: integer
  5481. memberuserid:
  5482. description: 所属会员ID
  5483. type: integer
  5484. modifierid:
  5485. description: 修改人
  5486. type: integer
  5487. modifyremark:
  5488. description: 变更备注
  5489. type: string
  5490. modifystatus:
  5491. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  5492. type: integer
  5493. modifytime:
  5494. description: 修改时间
  5495. type: string
  5496. parentuserid:
  5497. description: 所属机构ID
  5498. type: integer
  5499. reckonaccountid:
  5500. description: 默认结算资金账号ID(机构分润使用) 作废
  5501. type: integer
  5502. refercount:
  5503. description: 推荐总人数
  5504. type: integer
  5505. refereeuserid:
  5506. description: 推荐人ID
  5507. type: integer
  5508. refernum:
  5509. description: 推荐码
  5510. type: string
  5511. subarealevelpath:
  5512. description: 子机构层级路径(逗号分隔,首尾加逗号)
  5513. type: string
  5514. userid:
  5515. description: 用户ID
  5516. type: integer
  5517. usertype:
  5518. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  5519. type: integer
  5520. required:
  5521. - userid
  5522. type: object
  5523. models.Userfavoritegoods:
  5524. properties:
  5525. goodsid:
  5526. description: 商品ID
  5527. type: integer
  5528. required:
  5529. - goodsid
  5530. type: object
  5531. models.Userinfo:
  5532. properties:
  5533. address:
  5534. description: 地址
  5535. type: string
  5536. attachment1:
  5537. description: 附件1
  5538. type: string
  5539. attachment2:
  5540. description: 附件2
  5541. type: string
  5542. bankaccount:
  5543. description: 银行帐号 (加密存储)
  5544. type: string
  5545. bankaccountname:
  5546. description: 收款人名称
  5547. type: string
  5548. bankcardfrontphotourl:
  5549. description: 银行卡正面照地址
  5550. type: string
  5551. bankid:
  5552. description: 银行编码
  5553. type: string
  5554. bankname:
  5555. description: 银行名称
  5556. type: string
  5557. biznature:
  5558. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  5559. type: integer
  5560. bizscope:
  5561. description: 企业经营范围(企业)
  5562. type: string
  5563. cardbackphotourl:
  5564. description: 证件背面图片地址
  5565. type: string
  5566. cardfrontphotourl:
  5567. description: 证件正面图片地址
  5568. type: string
  5569. cardnum:
  5570. description: 证件号码(加密存储)
  5571. type: string
  5572. cardtypeid:
  5573. description: 证件类型ID
  5574. type: integer
  5575. cityid:
  5576. description: 市
  5577. type: integer
  5578. company:
  5579. description: 公司(个人)
  5580. type: string
  5581. contactname:
  5582. description: 联系人
  5583. type: string
  5584. countryid:
  5585. description: 国家
  5586. type: integer
  5587. createtime:
  5588. description: 创建时间
  5589. type: string
  5590. creatorid:
  5591. description: 创建人
  5592. type: integer
  5593. customername:
  5594. description: 客户名称(企业名称)
  5595. type: string
  5596. districtid:
  5597. description: 地区
  5598. type: integer
  5599. email:
  5600. description: 邮件(加密存储)
  5601. type: string
  5602. fax:
  5603. description: 传真(加密存储)
  5604. type: string
  5605. halfbodyphotourl:
  5606. description: 半身照地址
  5607. type: string
  5608. hasencrypt:
  5609. description: 数据是否已加密 - 0:未加密 1:已加密
  5610. type: integer
  5611. headurl:
  5612. description: 头像地址
  5613. type: string
  5614. legalcardbackphotourl:
  5615. description: 法人身份证背面照地址
  5616. type: string
  5617. legalcardfrontphotourl:
  5618. description: 法人身份证正面照地址
  5619. type: string
  5620. legalpersonname:
  5621. description: 法人姓名(企业)
  5622. type: string
  5623. mobile:
  5624. description: 手机号码(加密存储)
  5625. type: string
  5626. mobile2:
  5627. description: 手机号码[明文-尚志]
  5628. type: string
  5629. modifierid:
  5630. description: 修改人
  5631. type: integer
  5632. modifiertime:
  5633. description: 修改时间
  5634. type: string
  5635. needinvoice:
  5636. description: 是否需要发票 - 0:不需要 1:需要
  5637. type: integer
  5638. nickname:
  5639. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  5640. type: string
  5641. openmode:
  5642. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  5643. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  5644. type: integer
  5645. otherurl:
  5646. description: 其它图片地址[使用分号分隔]
  5647. type: string
  5648. postalcode:
  5649. description: 邮政编码
  5650. type: string
  5651. provinceid:
  5652. description: 省
  5653. type: integer
  5654. qq:
  5655. description: QQ(加密存储
  5656. type: string
  5657. remark:
  5658. description: 备注
  5659. type: string
  5660. sex:
  5661. description: '用户性别 0: 女 1: 男'
  5662. type: integer
  5663. signpdfurl:
  5664. description: 签约pdf文件
  5665. type: string
  5666. telphone:
  5667. description: 联系电话(加密存储)
  5668. type: string
  5669. userid:
  5670. description: 用户ID
  5671. type: integer
  5672. userinfotype:
  5673. description: 用户信息类型 - 1:个人 2:企业
  5674. type: integer
  5675. userstatus:
  5676. description: 用户状态 - 1:正常 2:注销
  5677. type: integer
  5678. usertype:
  5679. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  5680. type: integer
  5681. wechat:
  5682. description: 微信(加密存储)
  5683. type: string
  5684. wskhinfo:
  5685. description: 开户申请信息(JSON)
  5686. type: string
  5687. required:
  5688. - userid
  5689. type: object
  5690. models.WRCategoryTree:
  5691. properties:
  5692. areauserid:
  5693. description: 所属机构
  5694. type: integer
  5695. categorydesc:
  5696. description: 类别描述
  5697. type: string
  5698. categoryid:
  5699. description: 类别ID(SEQ_WRCATEGORY)
  5700. type: integer
  5701. categoryname:
  5702. description: 类别名称
  5703. type: string
  5704. iconurl:
  5705. description: 图标地址
  5706. type: string
  5707. orderindex:
  5708. description: 顺序
  5709. type: integer
  5710. parentcategoryid:
  5711. description: 父类别ID
  5712. type: integer
  5713. subcategory:
  5714. description: 子分类
  5715. items:
  5716. $ref: '#/definitions/models.WRCategoryTree'
  5717. type: array
  5718. required:
  5719. - categoryid
  5720. type: object
  5721. models.WRSConverTDetail:
  5722. properties:
  5723. convertratio:
  5724. description: 套保系数
  5725. type: number
  5726. deliverygoodsid:
  5727. description: 现货品种ID
  5728. type: integer
  5729. middlegoodscode:
  5730. description: 套保品种代码
  5731. type: string
  5732. middlegoodsid:
  5733. description: 套保品种ID
  5734. type: integer
  5735. middlegoodsname:
  5736. description: 套保品种名称
  5737. type: string
  5738. modifytime:
  5739. description: 修改时间
  5740. type: string
  5741. wrstandardid:
  5742. description: 现货商品ID
  5743. type: integer
  5744. type: object
  5745. models.WRStandardInfo:
  5746. properties:
  5747. createtime:
  5748. description: 创建时间
  5749. type: string
  5750. creatorid:
  5751. description: 创建人
  5752. type: integer
  5753. deliverygoodsid:
  5754. description: 品种ID
  5755. type: integer
  5756. deliverygoodsname:
  5757. description: 交割商品名称
  5758. type: string
  5759. factoryitemjson:
  5760. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  5761. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  5762. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  5763. 逗号分隔'
  5764. type: string
  5765. isvalid:
  5766. description: 是否有效 - 0:无效 1:有效
  5767. type: integer
  5768. minivalue:
  5769. description: 最小变动值
  5770. type: integer
  5771. minivaluedp:
  5772. description: 最小变动值小数位
  5773. type: integer
  5774. realminivalue:
  5775. description: 实际最小变动值
  5776. type: integer
  5777. realminivaluedp:
  5778. description: 实际最小变动值小数位
  5779. type: integer
  5780. unitid:
  5781. description: 单位ID
  5782. type: integer
  5783. unitname:
  5784. description: 单位
  5785. type: string
  5786. updatetime:
  5787. description: 更新时间
  5788. type: string
  5789. updatorid:
  5790. description: 更新人
  5791. type: integer
  5792. wrsstatus:
  5793. description: 状态 - 作废 - 0:未激活 1:正常
  5794. type: integer
  5795. wrstandardcode:
  5796. description: 仓单标准代码
  5797. type: string
  5798. wrstandardid:
  5799. description: 仓单标准ID(SEQ_WRSTANDARD)
  5800. type: integer
  5801. wrstandardname:
  5802. description: 仓单标准名称
  5803. type: string
  5804. required:
  5805. - wrstandardid
  5806. type: object
  5807. models.Warehouseinfo:
  5808. properties:
  5809. address:
  5810. description: 详细地址
  5811. type: string
  5812. areauserid:
  5813. description: 所属机构
  5814. type: integer
  5815. autoid:
  5816. description: 自增ID
  5817. type: integer
  5818. cityid:
  5819. description: 市
  5820. type: integer
  5821. contactname:
  5822. description: 联系人
  5823. type: string
  5824. contactnum:
  5825. description: 联系电话
  5826. type: string
  5827. countryid:
  5828. description: 国家
  5829. type: integer
  5830. createtime:
  5831. description: 创建时间
  5832. type: string
  5833. districtid:
  5834. description: 区
  5835. type: integer
  5836. hasvideo:
  5837. description: 是否有视频 - 0:无 1:有
  5838. type: integer
  5839. provinceid:
  5840. description: 省
  5841. type: integer
  5842. remark:
  5843. description: 审核备注
  5844. type: string
  5845. videourl:
  5846. description: 视频地址
  5847. type: string
  5848. warehousecode:
  5849. description: 仓库代码
  5850. type: string
  5851. warehousename:
  5852. description: 仓库名称
  5853. type: string
  5854. warehousestatus:
  5855. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  5856. type: integer
  5857. warehousetype:
  5858. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5859. type: integer
  5860. required:
  5861. - autoid
  5862. - warehousecode
  5863. type: object
  5864. order.QueryHisTradeDetailRsp:
  5865. properties:
  5866. accountid:
  5867. description: 账户ID[报价币种]
  5868. type: integer
  5869. buildtype:
  5870. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  5871. type: integer
  5872. buyorsell:
  5873. description: 方向 - 0:买 1:卖
  5874. type: integer
  5875. charge:
  5876. description: 手续费
  5877. type: number
  5878. closecharge:
  5879. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  5880. type: number
  5881. closeexchagechargevalue:
  5882. description: 平仓交易所手续费设置值
  5883. type: number
  5884. closefeealgorithm:
  5885. description: 平仓手续费收取方式 1:比率 2:固定
  5886. type: integer
  5887. closememberchargevalue:
  5888. description: 平仓会员手续费设置值
  5889. type: number
  5890. closepl:
  5891. description: 平仓盈亏
  5892. type: number
  5893. closepl2:
  5894. description: 平仓盈亏[逐笔]
  5895. type: number
  5896. closeqty:
  5897. description: 平仓数量(先建后平操作 需要记录)
  5898. type: integer
  5899. creditamount:
  5900. description: 授信金额
  5901. type: number
  5902. gcaccountid:
  5903. description: 账户ID[合约币种]
  5904. type: integer
  5905. goodscode:
  5906. description: 商品代码
  5907. type: string
  5908. goodsid:
  5909. description: 商品ID
  5910. type: integer
  5911. goodsname:
  5912. description: 商品名称
  5913. type: string
  5914. histradedate:
  5915. description: 历史交易日
  5916. type: string
  5917. intclosepl:
  5918. description: 整型盈亏(用于交易结算试算平衡-收益权)
  5919. type: integer
  5920. isconfirmexercise:
  5921. description: 是否确认行权- 0:否 1:是
  5922. type: integer
  5923. ismain:
  5924. description: 是否主单 - 0:不是 1:是
  5925. type: integer
  5926. ispreexercise:
  5927. description: 是否预申报- 0:否 1:是
  5928. type: integer
  5929. isreckoned:
  5930. description: 是否结算 - 0:未结算 1:已结算
  5931. type: integer
  5932. isvaliddata:
  5933. description: 是否有效 - 0:无效 1:有效
  5934. type: integer
  5935. listingselecttype:
  5936. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  5937. type: integer
  5938. marketid:
  5939. description: 市场ID
  5940. type: integer
  5941. marketname:
  5942. description: 市场名称
  5943. type: string
  5944. matchaccountid:
  5945. description: 对手账号id
  5946. type: integer
  5947. memberuserid:
  5948. description: 会员id 个人投资者 需要填写
  5949. type: integer
  5950. opencharge:
  5951. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  5952. type: number
  5953. openexchagechargevalue:
  5954. description: 建仓交易所手续费设置值
  5955. type: number
  5956. openfeealgorithm:
  5957. description: 建仓手续费收取方式 1:比率 2:固定
  5958. type: integer
  5959. openmemberchargevalue:
  5960. description: 建仓会员手续费设置值
  5961. type: number
  5962. openqty:
  5963. description: 开仓数量(先建后平操作 需要记录)
  5964. type: integer
  5965. optiontype:
  5966. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  5967. type: integer
  5968. orderid:
  5969. description: 委托单号
  5970. type: string
  5971. performanceplanid:
  5972. description: 履约计划ID[期权]
  5973. type: integer
  5974. performancestatus:
  5975. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  5976. type: integer
  5977. preexerciseprice:
  5978. description: 预申报价格
  5979. type: number
  5980. premium:
  5981. description: 权利金 - [持仓单的权利金]
  5982. type: number
  5983. relatedouttradeid:
  5984. description: 关联外部成交单ID
  5985. type: integer
  5986. status:
  5987. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  5988. type: integer
  5989. tradeamount:
  5990. description: 成交金额[账户币种,用于所有权]
  5991. type: number
  5992. tradedate:
  5993. description: 交易日(yyyyMMdd)
  5994. type: string
  5995. tradeid:
  5996. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5997. type: string
  5998. trademode:
  5999. description: 交易模式
  6000. type: integer
  6001. tradeprice:
  6002. description: 成交价格
  6003. type: number
  6004. tradeproperty:
  6005. description: 交易属性
  6006. type: integer
  6007. tradeqty:
  6008. description: 成交数量
  6009. type: integer
  6010. tradetime:
  6011. description: 成交时间
  6012. type: string
  6013. tradetype:
  6014. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  6015. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  6016. type: integer
  6017. required:
  6018. - accountid
  6019. - buyorsell
  6020. - goodsid
  6021. - histradedate
  6022. - marketid
  6023. - memberuserid
  6024. - orderid
  6025. - tradeamount
  6026. - tradedate
  6027. - tradeid
  6028. - tradeprice
  6029. - tradeqty
  6030. - tradetime
  6031. type: object
  6032. order.QueryHisTradeOrderDetailRsp:
  6033. properties:
  6034. accountid:
  6035. description: 账户ID[报价币种]
  6036. type: integer
  6037. buildtype:
  6038. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  6039. type: integer
  6040. buyorsell:
  6041. description: 买卖 - 0:买 1:卖
  6042. type: integer
  6043. cancelorderid:
  6044. description: 撤单单号(撤单时填写)
  6045. type: string
  6046. cancelqty:
  6047. description: 撤单数量
  6048. type: integer
  6049. clientordertime:
  6050. description: 客户端委托时间
  6051. type: string
  6052. clientticket:
  6053. description: 客户端流水号
  6054. type: string
  6055. clienttype:
  6056. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  6057. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  6058. type: integer
  6059. closeexchagechargevalue:
  6060. description: 平仓交易所手续费设置值
  6061. type: number
  6062. closefeealgorithm:
  6063. description: 平仓手续费收取方式 1:比率 2:固定
  6064. type: integer
  6065. closefreezecharge:
  6066. description: 平仓冻结手续费(先建后平操作,需要记录)
  6067. type: number
  6068. closememberchargevalue:
  6069. description: 平仓会员手续费设置值
  6070. type: number
  6071. closeqty:
  6072. description: 平仓数量(先建后平操作 需要记录)
  6073. type: integer
  6074. closetradeqty:
  6075. description: 平仓成交数量(先建后平操作,需要记录)
  6076. type: integer
  6077. closeunfreezecharge:
  6078. description: 平仓解冻手续费(先建后平操作,需要记录)
  6079. type: number
  6080. delistingtype:
  6081. description: 摘牌类型 - 1:价格最优 2:点选成交
  6082. type: integer
  6083. freezecharge:
  6084. description: 冻结手续费
  6085. type: number
  6086. freezemargin:
  6087. description: 冻结保证金(冻结交易金额)
  6088. type: number
  6089. gcaccountid:
  6090. description: 账户ID[合约币种]
  6091. type: integer
  6092. goodscode:
  6093. description: 商品代码
  6094. type: string
  6095. goodsid:
  6096. description: 商品ID
  6097. type: integer
  6098. goodsname:
  6099. description: 商品名称
  6100. type: string
  6101. histradedate:
  6102. description: 历史交易日
  6103. type: string
  6104. isconfirmexercise:
  6105. description: 是否确认行权- 0:否 1:是
  6106. type: integer
  6107. ispreexercise:
  6108. description: 是否预申报- 0:否 1:是
  6109. type: integer
  6110. isvaliddata:
  6111. description: 是否有效 - 0:无效 1:有效
  6112. type: integer
  6113. listingselecttype:
  6114. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  6115. type: integer
  6116. marginalgorithm:
  6117. description: 保证金收取方式 1:比率 2:固定
  6118. type: integer
  6119. marginvalue:
  6120. description: 即市保证金设置值
  6121. type: number
  6122. marketid:
  6123. description: 市场ID
  6124. type: integer
  6125. marketmaxsub:
  6126. description: 市价最大偏移范围
  6127. type: number
  6128. marketname:
  6129. description: 市场名称
  6130. type: string
  6131. memberuserid:
  6132. description: 所属会员UserID
  6133. type: integer
  6134. openexchagechargevalue:
  6135. description: 建仓交易所手续费设置值
  6136. type: number
  6137. openfeealgorithm:
  6138. description: 建仓手续费收取方式 1:比率 2:固定
  6139. type: integer
  6140. openfreezecharge:
  6141. description: 开仓冻结手续费(先建后平操作,需要记录)
  6142. type: number
  6143. openmemberchargevalue:
  6144. description: 建仓会员手续费设置值
  6145. type: number
  6146. openqty:
  6147. description: 开仓数量(先建后平操作,需要记录)
  6148. type: integer
  6149. opentradeqty:
  6150. description: 开仓成交数量(先建后平操作,需要记录)
  6151. type: integer
  6152. openunfreezecharge:
  6153. description: 开仓解冻手续费(先建后平操作,需要记录)
  6154. type: number
  6155. operatetype:
  6156. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  6157. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  6158. 15:管理端协议转让
  6159. type: integer
  6160. operatorid:
  6161. description: 登录账号(LoginID)
  6162. type: integer
  6163. optiontype:
  6164. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  6165. type: integer
  6166. orderid:
  6167. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6168. type: string
  6169. orderprice:
  6170. description: 委托价格
  6171. type: number
  6172. orderqty:
  6173. description: 委托数量
  6174. type: integer
  6175. ordersrc:
  6176. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  6177. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  6178. type: integer
  6179. orderstatus:
  6180. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  6181. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  6182. 16:成交失败违约(荷兰式竞拍专用)
  6183. type: integer
  6184. ordertime:
  6185. description: 委托时间
  6186. type: string
  6187. preexerciseprice:
  6188. description: 预申报价格
  6189. type: number
  6190. premium:
  6191. description: 权利金
  6192. type: number
  6193. preorderid:
  6194. description: 关联预埋单号(止盈止损单时填写)
  6195. type: string
  6196. pricemode:
  6197. description: '取价方式 - 1:市价 2: 限价'
  6198. type: integer
  6199. quoteid:
  6200. description: 报价单ID
  6201. type: integer
  6202. relatedid:
  6203. description: 关联单号(交割单)
  6204. type: string
  6205. retcode:
  6206. description: 错误代码
  6207. type: integer
  6208. sessionid:
  6209. description: 会话ID
  6210. type: integer
  6211. tradedate:
  6212. description: 交易日(yyyyMMdd)
  6213. type: string
  6214. trademode:
  6215. description: 交易模式
  6216. type: integer
  6217. tradeproperty:
  6218. description: 交易属性
  6219. type: integer
  6220. tradeqty:
  6221. description: 成交数量
  6222. type: integer
  6223. unfreezecharge:
  6224. description: 解冻手续费
  6225. type: number
  6226. unfreezemargin:
  6227. description: 解冻保证金
  6228. type: number
  6229. updatetime:
  6230. description: 更新时间
  6231. type: string
  6232. uuid:
  6233. description: 发起端唯一id
  6234. type: string
  6235. validtime:
  6236. description: 有效期限
  6237. type: string
  6238. validtype:
  6239. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  6240. type: integer
  6241. volumetype:
  6242. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  6243. type: integer
  6244. required:
  6245. - accountid
  6246. - buildtype
  6247. - buyorsell
  6248. - goodsid
  6249. - histradedate
  6250. - marketid
  6251. - memberuserid
  6252. - operatetype
  6253. - orderid
  6254. - orderqty
  6255. - ordertime
  6256. - pricemode
  6257. - tradedate
  6258. - validtype
  6259. type: object
  6260. order.QueryTradeDetailRsp:
  6261. properties:
  6262. accountid:
  6263. description: 账户ID[报价币种]
  6264. type: integer
  6265. buildtype:
  6266. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  6267. type: integer
  6268. buyorsell:
  6269. description: 方向 - 0:买 1:卖
  6270. type: integer
  6271. charge:
  6272. description: 手续费
  6273. type: number
  6274. closecharge:
  6275. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  6276. type: number
  6277. closeexchagechargevalue:
  6278. description: 平仓交易所手续费设置值
  6279. type: number
  6280. closefeealgorithm:
  6281. description: 平仓手续费收取方式 1:比率 2:固定
  6282. type: integer
  6283. closememberchargevalue:
  6284. description: 平仓会员手续费设置值
  6285. type: number
  6286. closepl:
  6287. description: 平仓盈亏
  6288. type: number
  6289. closepl2:
  6290. description: 平仓盈亏[逐笔]
  6291. type: number
  6292. closeqty:
  6293. description: 平仓数量(先建后平操作 需要记录)
  6294. type: integer
  6295. creditamount:
  6296. description: 授信金额
  6297. type: number
  6298. gcaccountid:
  6299. description: 账户ID[合约币种]
  6300. type: integer
  6301. goodscode:
  6302. description: 商品代码
  6303. type: string
  6304. goodsid:
  6305. description: 商品ID
  6306. type: integer
  6307. goodsname:
  6308. description: 商品名称
  6309. type: string
  6310. intclosepl:
  6311. description: 整型盈亏(用于交易结算试算平衡-收益权)
  6312. type: integer
  6313. isconfirmexercise:
  6314. description: 是否确认行权- 0:否 1:是
  6315. type: integer
  6316. ismain:
  6317. description: 是否主单 - 0:不是 1:是
  6318. type: integer
  6319. ispreexercise:
  6320. description: 是否预申报- 0:否 1:是
  6321. type: integer
  6322. isreckoned:
  6323. description: 是否结算 - 0:未结算 1:已结算
  6324. type: integer
  6325. listingselecttype:
  6326. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  6327. type: integer
  6328. marketid:
  6329. description: 市场ID
  6330. type: integer
  6331. marketname:
  6332. description: 市场名称
  6333. type: string
  6334. matchaccountid:
  6335. description: 对手账号id
  6336. type: integer
  6337. memberuserid:
  6338. description: 会员id 个人投资者 需要填写
  6339. type: integer
  6340. opencharge:
  6341. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  6342. type: number
  6343. openexchagechargevalue:
  6344. description: 建仓交易所手续费设置值
  6345. type: number
  6346. openfeealgorithm:
  6347. description: 建仓手续费收取方式 1:比率 2:固定
  6348. type: integer
  6349. openmemberchargevalue:
  6350. description: 建仓会员手续费设置值
  6351. type: number
  6352. openqty:
  6353. description: 开仓数量(先建后平操作 需要记录)
  6354. type: integer
  6355. optiontype:
  6356. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  6357. type: integer
  6358. orderid:
  6359. description: 委托单号
  6360. type: string
  6361. performanceplanid:
  6362. description: 履约计划ID[期权]
  6363. type: integer
  6364. performancestatus:
  6365. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  6366. type: integer
  6367. preexerciseprice:
  6368. description: 预申报价格
  6369. type: number
  6370. premium:
  6371. description: 权利金 - [持仓单的权利金]
  6372. type: number
  6373. relatedouttradeid:
  6374. description: 关联外部成交单ID
  6375. type: integer
  6376. status:
  6377. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  6378. type: integer
  6379. tradeamount:
  6380. description: 成交金额[账户币种,用于所有权]
  6381. type: number
  6382. tradedate:
  6383. description: 交易日(yyyyMMdd)
  6384. type: string
  6385. tradeid:
  6386. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6387. type: string
  6388. trademode:
  6389. description: 交易模式
  6390. type: integer
  6391. tradeprice:
  6392. description: 成交价格
  6393. type: number
  6394. tradeproperty:
  6395. description: 交易属性
  6396. type: integer
  6397. tradeqty:
  6398. description: 成交数量
  6399. type: integer
  6400. tradetime:
  6401. description: 成交时间
  6402. type: string
  6403. tradetype:
  6404. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  6405. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  6406. type: integer
  6407. required:
  6408. - accountid
  6409. - buyorsell
  6410. - goodsid
  6411. - marketid
  6412. - memberuserid
  6413. - orderid
  6414. - tradeamount
  6415. - tradedate
  6416. - tradeid
  6417. - tradeprice
  6418. - tradeqty
  6419. - tradetime
  6420. type: object
  6421. order.QueryTradeOrderDetailRsp:
  6422. properties:
  6423. accountid:
  6424. description: 账户ID[报价币种]
  6425. type: integer
  6426. buildtype:
  6427. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  6428. type: integer
  6429. buyorsell:
  6430. description: 买卖 - 0:买 1:卖
  6431. type: integer
  6432. cancelorderid:
  6433. description: 撤单单号(撤单时填写)
  6434. type: string
  6435. cancelqty:
  6436. description: 撤单数量
  6437. type: integer
  6438. clienttype:
  6439. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  6440. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  6441. type: integer
  6442. closefreezecharge:
  6443. description: 平仓冻结手续费(先建后平操作,需要记录)
  6444. type: number
  6445. closeqty:
  6446. description: 平仓数量(先建后平操作 需要记录)
  6447. type: integer
  6448. closetradeqty:
  6449. description: 平仓成交数量(先建后平操作,需要记录)
  6450. type: integer
  6451. closeunfreezecharge:
  6452. description: 平仓解冻手续费(先建后平操作,需要记录)
  6453. type: number
  6454. delistingtype:
  6455. description: 摘牌类型 - 1:价格最优 2:点选成交
  6456. type: integer
  6457. enableqty:
  6458. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  6459. type: integer
  6460. freezecharge:
  6461. description: 冻结手续费
  6462. type: number
  6463. freezemargin:
  6464. description: 冻结保证金(冻结交易金额)
  6465. type: number
  6466. goodscode:
  6467. description: 商品代码
  6468. type: string
  6469. goodsid:
  6470. description: 商品ID
  6471. type: integer
  6472. goodsname:
  6473. description: 商品名称
  6474. type: string
  6475. listingselecttype:
  6476. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  6477. type: integer
  6478. marketid:
  6479. description: 市场ID
  6480. type: integer
  6481. marketname:
  6482. description: 市场名称
  6483. type: string
  6484. openfreezecharge:
  6485. description: 开仓冻结手续费(先建后平操作,需要记录)
  6486. type: number
  6487. openqty:
  6488. description: 开仓数量(先建后平操作,需要记录)
  6489. type: integer
  6490. opentradeqty:
  6491. description: 开仓成交数量(先建后平操作,需要记录)
  6492. type: integer
  6493. openunfreezecharge:
  6494. description: 开仓解冻手续费(先建后平操作,需要记录)
  6495. type: number
  6496. operatetype:
  6497. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  6498. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  6499. 15:管理端协议转让
  6500. type: integer
  6501. operatorid:
  6502. description: 登录账号(LoginID)
  6503. type: integer
  6504. orderid:
  6505. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6506. type: string
  6507. orderprice:
  6508. description: 委托价格
  6509. type: number
  6510. orderqty:
  6511. description: 委托数量
  6512. type: integer
  6513. ordersrc:
  6514. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  6515. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  6516. type: integer
  6517. orderstatus:
  6518. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  6519. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  6520. 16:成交失败违约(荷兰式竞拍专用)
  6521. type: integer
  6522. ordertime:
  6523. description: 委托时间
  6524. type: string
  6525. preorderid:
  6526. description: 关联预埋单号(止盈止损单时填写)
  6527. type: string
  6528. pricemode:
  6529. description: '取价方式 - 1:市价 2: 限价'
  6530. type: integer
  6531. relatedid:
  6532. description: 关联单号(交割单)
  6533. type: string
  6534. tradedate:
  6535. description: 交易日(yyyyMMdd)
  6536. type: string
  6537. trademode:
  6538. description: 交易模式
  6539. type: integer
  6540. tradeqty:
  6541. description: 成交数量
  6542. type: integer
  6543. unfreezecharge:
  6544. description: 解冻手续费
  6545. type: number
  6546. unfreezemargin:
  6547. description: 解冻保证金
  6548. type: number
  6549. validtime:
  6550. description: 有效期限
  6551. type: string
  6552. validtype:
  6553. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  6554. type: integer
  6555. volumetype:
  6556. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  6557. type: integer
  6558. required:
  6559. - accountid
  6560. - buildtype
  6561. - buyorsell
  6562. - goodsid
  6563. - marketid
  6564. - operatetype
  6565. - orderqty
  6566. - ordertime
  6567. - pricemode
  6568. - tradedate
  6569. - validtype
  6570. type: object
  6571. order.QueryTradePositionRsp:
  6572. properties:
  6573. accountid:
  6574. description: 资金账户
  6575. type: integer
  6576. agreeunit:
  6577. description: 合约单位
  6578. type: number
  6579. averageprice:
  6580. description: 持仓均价
  6581. type: number
  6582. buyorsell:
  6583. description: 方向 - 0:买 1:卖
  6584. type: integer
  6585. closetotalqty:
  6586. description: 平仓总数量
  6587. type: integer
  6588. curholderamount:
  6589. description: 当前持仓总金额[商品币种]
  6590. type: number
  6591. curpositionqty:
  6592. description: 当前持仓总数量
  6593. type: integer
  6594. currencyid:
  6595. description: 报价货币ID
  6596. type: integer
  6597. curtdposition:
  6598. description: 期末今日头寸
  6599. type: integer
  6600. decimalplace:
  6601. description: 报价小数位
  6602. type: integer
  6603. enableqty:
  6604. description: 可用量
  6605. type: integer
  6606. fretdposition:
  6607. description: 冻结今日头寸
  6608. type: integer
  6609. frozenqty:
  6610. description: 持仓冻结数量
  6611. type: integer
  6612. goodscode:
  6613. description: 商品代码
  6614. type: string
  6615. goodsid:
  6616. description: 商品Id
  6617. type: integer
  6618. goodsname:
  6619. description: 商品名称
  6620. type: string
  6621. goodunit:
  6622. description: 报价单位
  6623. type: string
  6624. goodunitid:
  6625. description: 报价单位ID
  6626. type: integer
  6627. holderamount:
  6628. description: 期初持仓总金额[商品币种]
  6629. type: number
  6630. marketid:
  6631. description: 所属市场ID
  6632. type: integer
  6633. openreqqty:
  6634. description: 开仓申请数量(用于比较最大持仓数量)
  6635. type: integer
  6636. opentotalqty:
  6637. description: 开仓总数量
  6638. type: integer
  6639. otherfrozenqty:
  6640. description: 持仓其他冻结数量(交割冻结)
  6641. type: integer
  6642. positionqty:
  6643. description: 期初持仓数量
  6644. type: integer
  6645. tnqty:
  6646. description: T+N冻结总量
  6647. type: integer
  6648. tnusedqty:
  6649. description: T+N使用量(可以使用T+N的冻结数量)
  6650. type: integer
  6651. trademode:
  6652. description: 交易模式
  6653. type: integer
  6654. usedmargin:
  6655. description: 占用保证金[商品币种]
  6656. type: number
  6657. required:
  6658. - goodsid
  6659. type: object
  6660. quote.HistoryData:
  6661. properties:
  6662. c:
  6663. description: 收盘价
  6664. type: number
  6665. h:
  6666. description: 最高价
  6667. type: number
  6668. hv:
  6669. description: 持仓量
  6670. type: integer
  6671. l:
  6672. description: 最低价
  6673. type: number
  6674. o:
  6675. description: 开盘价
  6676. type: number
  6677. s:
  6678. description: 结算价,日线周期(包括)以上才有
  6679. type: number
  6680. ts:
  6681. description: 时间
  6682. type: string
  6683. tt:
  6684. description: 总金额
  6685. type: number
  6686. tv:
  6687. description: 总量
  6688. type: integer
  6689. type: object
  6690. quote.QueryTSDataRsp:
  6691. properties:
  6692. decimalPlace:
  6693. description: 小数位
  6694. type: integer
  6695. endTime:
  6696. description: 结束时间
  6697. type: string
  6698. goodsCode:
  6699. description: 商品代码
  6700. type: string
  6701. historyDatas:
  6702. description: 历史数据
  6703. items:
  6704. $ref: '#/definitions/quote.HistoryData'
  6705. type: array
  6706. preSettle:
  6707. description: 昨结
  6708. type: number
  6709. startTime:
  6710. description: 开始时间
  6711. type: string
  6712. tradeDate:
  6713. description: 交易日
  6714. type: string
  6715. type: object
  6716. szdz.QueryConvertLogRsp:
  6717. properties:
  6718. accountid:
  6719. description: 资金账户ID
  6720. type: integer
  6721. clientticket:
  6722. description: 客户端流水号
  6723. type: string
  6724. converttype:
  6725. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  6726. type: integer
  6727. createtime:
  6728. description: 记账时间
  6729. type: string
  6730. daymaxvalue:
  6731. description: 配置当日最大转入限制
  6732. type: number
  6733. daymaxvalue2:
  6734. description: 配置当日最大转入限制(转入)
  6735. type: number
  6736. goodscode:
  6737. description: 商品代码
  6738. type: string
  6739. goodsname:
  6740. description: 商品名称
  6741. type: string
  6742. handlestatus:
  6743. description: 处理状态
  6744. type: integer
  6745. innergoodsid:
  6746. description: 内部商品ID
  6747. type: integer
  6748. inratio:
  6749. description: 配置转入比值
  6750. type: integer
  6751. invalue:
  6752. description: 目标值
  6753. type: number
  6754. logid:
  6755. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6756. type: integer
  6757. mobile:
  6758. description: 手机号码(加密存储)
  6759. type: string
  6760. outergoodscode:
  6761. description: 外部商品代码[JD\PD]
  6762. type: string
  6763. outratio:
  6764. description: 配置转出比值
  6765. type: integer
  6766. outvalue:
  6767. description: 源值
  6768. type: number
  6769. pddecimalplace:
  6770. description: PD小数位
  6771. type: integer
  6772. qty:
  6773. description: 数量
  6774. type: string
  6775. remark:
  6776. description: 备注
  6777. type: string
  6778. sessionid:
  6779. description: 会话ID
  6780. type: integer
  6781. timemaxvalue:
  6782. description: 配置单次最大转入限制
  6783. type: number
  6784. timemaxvalue2:
  6785. description: 配置单次最大转入限制(转入)
  6786. type: number
  6787. timeminvalue:
  6788. description: 配置单次最小数量限制
  6789. type: number
  6790. timeminvalue2:
  6791. description: 配置单次最小数量限制(转入)
  6792. type: number
  6793. tradedate:
  6794. description: 交易日(yyyyMMdd)
  6795. type: string
  6796. userid:
  6797. description: 用户ID
  6798. type: integer
  6799. required:
  6800. - logid
  6801. type: object
  6802. szdz.QueryGoodsPickupRsp:
  6803. properties:
  6804. accountid:
  6805. description: 账户ID
  6806. type: integer
  6807. address:
  6808. description: 提货人详细地址
  6809. type: string
  6810. auditer:
  6811. description: 审核人
  6812. type: integer
  6813. audittime:
  6814. description: 审核时间
  6815. type: string
  6816. cardnum:
  6817. description: 提货人证件号码
  6818. type: string
  6819. cardtypeid:
  6820. description: 提货人证件类型
  6821. type: integer
  6822. checkremark:
  6823. description: 审核备注
  6824. type: string
  6825. goodscode:
  6826. description: 商品代码
  6827. type: string
  6828. goodsid:
  6829. description: 商品ID
  6830. type: integer
  6831. goodsname:
  6832. description: 商品名称
  6833. type: string
  6834. handlestatus:
  6835. description: 处理状态
  6836. type: integer
  6837. marketid:
  6838. description: 市场ID
  6839. type: integer
  6840. phonenum:
  6841. description: 提货人联系方式
  6842. type: string
  6843. qty:
  6844. description: 提货数量
  6845. type: number
  6846. recivername:
  6847. description: 提货人姓名
  6848. type: string
  6849. reqtime:
  6850. description: 更新时间
  6851. type: string
  6852. takemode:
  6853. description: 提货方式 - 2:自提 3:配送
  6854. type: integer
  6855. takeorderid:
  6856. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  6857. type: string
  6858. takeorderstatus:
  6859. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  6860. type: integer
  6861. takeremark:
  6862. description: 提货备注
  6863. type: string
  6864. tradedate:
  6865. description: 交易日(yyyyMMdd)
  6866. type: string
  6867. userid:
  6868. description: 用户ID
  6869. type: integer
  6870. required:
  6871. - takeorderid
  6872. type: object
  6873. szdz.QueryRecieptOrderRsp:
  6874. properties:
  6875. accountName:
  6876. description: 所属账号名称(已脱敏)
  6877. type: string
  6878. accountid:
  6879. description: 资金账号
  6880. type: integer
  6881. buyorsell:
  6882. description: 方向 - 0:买 1:卖
  6883. type: integer
  6884. enableqty:
  6885. description: 可摘数量
  6886. type: integer
  6887. goodscode:
  6888. description: 商品代码
  6889. type: string
  6890. goodsid:
  6891. description: 商品ID
  6892. type: integer
  6893. goodsname:
  6894. description: 商品名称
  6895. type: string
  6896. orderid:
  6897. description: 委托单号
  6898. type: string
  6899. orderprice:
  6900. description: 委托价格
  6901. type: number
  6902. ordertime:
  6903. description: 委托时间
  6904. type: string
  6905. tradedate:
  6906. description: 交易日(yyyyMMdd)
  6907. type: string
  6908. required:
  6909. - ordertime
  6910. type: object
  6911. szdz.QuerySZDZTradePositionRsp:
  6912. properties:
  6913. accountid:
  6914. description: 账号Id
  6915. type: integer
  6916. agreeunit:
  6917. description: 合约单位
  6918. type: number
  6919. averageprice:
  6920. description: 持仓均价
  6921. type: number
  6922. buyorsell:
  6923. description: 方向 - 0:买 1:卖
  6924. type: integer
  6925. closetotalqty:
  6926. description: 平仓总数量
  6927. type: integer
  6928. curholderamount:
  6929. description: 当前持仓总金额
  6930. type: number
  6931. curpositionqty:
  6932. description: 当前持仓总数量
  6933. type: integer
  6934. currencyid:
  6935. description: 报价货币ID
  6936. type: integer
  6937. curtdposition:
  6938. description: 期末今日头寸
  6939. type: integer
  6940. decimalplace:
  6941. description: 报价小数位
  6942. type: integer
  6943. enableqty:
  6944. description: 可用量
  6945. type: integer
  6946. fretdposition:
  6947. description: 冻结今日头寸
  6948. type: integer
  6949. frozenqty:
  6950. description: 持仓冻结数量
  6951. type: integer
  6952. goodscode:
  6953. description: 商品代码(内部)
  6954. type: string
  6955. goodsid:
  6956. description: 商品Id
  6957. type: integer
  6958. goodsname:
  6959. description: 商品名称
  6960. type: string
  6961. goodunit:
  6962. description: 报价单位
  6963. type: string
  6964. goodunitid:
  6965. description: 报价单位ID
  6966. type: integer
  6967. holderamount:
  6968. description: 期初持仓总金额
  6969. type: number
  6970. marketid:
  6971. description: 市场ID
  6972. type: integer
  6973. openreqqty:
  6974. description: 开仓申请数量
  6975. type: integer
  6976. opentotalqty:
  6977. description: 开仓总数量
  6978. type: integer
  6979. otherfrozenqty:
  6980. description: 持仓其他冻结数量(交割冻结)
  6981. type: integer
  6982. positionqty:
  6983. description: 期初持仓数量
  6984. type: integer
  6985. szdz3freezqty:
  6986. description: 尚志大宗转换冻结总数量
  6987. type: integer
  6988. tnqty:
  6989. description: T+N冻结总量
  6990. type: integer
  6991. tnusedqty:
  6992. description: T+N使用量
  6993. type: integer
  6994. trademode:
  6995. description: 交易模式
  6996. type: integer
  6997. usedmargin:
  6998. description: 占用保证金
  6999. type: number
  7000. type: object
  7001. taaccount.QueryAmountLogRsp:
  7002. properties:
  7003. OPERATETYPENAME:
  7004. description: 资金操作类型名称
  7005. type: string
  7006. accountid:
  7007. description: 资金账户ID
  7008. type: integer
  7009. agoodscode:
  7010. description: 竞拍商品代码
  7011. type: string
  7012. agoodsname:
  7013. description: 竞拍商品名称
  7014. type: string
  7015. amount:
  7016. description: 资金金额
  7017. type: number
  7018. amountadjusttype:
  7019. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  7020. type: integer
  7021. autoid:
  7022. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  7023. type: integer
  7024. balance:
  7025. description: 期初余额
  7026. type: number
  7027. businesscode:
  7028. description: 业务编号
  7029. type: integer
  7030. createtime:
  7031. description: 发生时间
  7032. type: string
  7033. currencyid:
  7034. description: 币种ID
  7035. type: integer
  7036. currentbalance:
  7037. description: 期末余额(变动后金额)
  7038. type: number
  7039. dgoodscode:
  7040. description: 交割商品代码
  7041. type: string
  7042. dgoodsname:
  7043. description: 交割商品名称
  7044. type: string
  7045. goodscode:
  7046. description: 商品代码
  7047. type: string
  7048. goodsid:
  7049. description: 商品ID
  7050. type: integer
  7051. goodsname:
  7052. description: 商品名称
  7053. type: string
  7054. marketid:
  7055. description: 市场ID
  7056. type: integer
  7057. marketname:
  7058. description: 市场名称
  7059. type: string
  7060. moneyticket:
  7061. description: 资金流水号:银行端流水号
  7062. type: integer
  7063. operatetype:
  7064. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  7065. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  7066. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  7067. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  7068. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  7069. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  7070. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  7071. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  7072. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  7073. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  7074. type: integer
  7075. relationorderid:
  7076. description: 关联单号
  7077. type: string
  7078. remark:
  7079. description: 备注
  7080. type: string
  7081. trademode:
  7082. description: 交易模式
  7083. type: integer
  7084. required:
  7085. - accountid
  7086. - amount
  7087. - amountadjusttype
  7088. - autoid
  7089. - balance
  7090. - createtime
  7091. - currentbalance
  7092. - operatetype
  7093. type: object
  7094. taaccount.QueryHisAmountLogRsp:
  7095. properties:
  7096. OPERATETYPENAME:
  7097. description: 资金操作类型名称
  7098. type: string
  7099. accountid:
  7100. description: 资金账户ID
  7101. type: integer
  7102. agoodscode:
  7103. description: 竞拍商品代码
  7104. type: string
  7105. agoodsname:
  7106. description: 竞拍商品名称
  7107. type: string
  7108. amount:
  7109. description: 资金金额
  7110. type: number
  7111. amountadjusttype:
  7112. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  7113. type: integer
  7114. autoid:
  7115. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  7116. type: integer
  7117. balance:
  7118. description: 期初余额
  7119. type: number
  7120. businesscode:
  7121. description: 业务编号
  7122. type: integer
  7123. createtime:
  7124. description: 发生时间
  7125. type: string
  7126. currencyid:
  7127. description: 币种ID
  7128. type: integer
  7129. currentbalance:
  7130. description: 期末余额(变动后金额)
  7131. type: number
  7132. dgoodscode:
  7133. description: 交割商品代码
  7134. type: string
  7135. dgoodsname:
  7136. description: 交割商品名称
  7137. type: string
  7138. goodscode:
  7139. description: 商品代码
  7140. type: string
  7141. goodsid:
  7142. description: 商品ID
  7143. type: integer
  7144. goodsname:
  7145. description: 商品名称
  7146. type: string
  7147. histradedate:
  7148. description: 历史交易日
  7149. type: string
  7150. isvaliddata:
  7151. description: 是否有效 - 0:无效 1:有效
  7152. type: integer
  7153. marketid:
  7154. description: 市场ID
  7155. type: integer
  7156. marketname:
  7157. description: 市场名称
  7158. type: string
  7159. moneyticket:
  7160. description: 资金流水号:银行端流水号
  7161. type: integer
  7162. operatetype:
  7163. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  7164. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  7165. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  7166. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  7167. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  7168. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  7169. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  7170. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  7171. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  7172. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  7173. type: integer
  7174. relationorderid:
  7175. description: 关联单号
  7176. type: string
  7177. remark:
  7178. description: 备注
  7179. type: string
  7180. trademode:
  7181. description: 交易模式
  7182. type: integer
  7183. required:
  7184. - accountid
  7185. - amount
  7186. - amountadjusttype
  7187. - autoid
  7188. - balance
  7189. - createtime
  7190. - currentbalance
  7191. - histradedate
  7192. - operatetype
  7193. type: object
  7194. trade.QueryRecieptOrderRsp:
  7195. properties:
  7196. accountName:
  7197. description: 所属账号名称(已脱敏)
  7198. type: string
  7199. accountid:
  7200. description: 资金账号
  7201. type: integer
  7202. buyorsell:
  7203. description: 方向 - 0:买 1:卖
  7204. type: integer
  7205. enableqty:
  7206. description: 可摘数量
  7207. type: integer
  7208. goodscode:
  7209. description: 商品代码
  7210. type: string
  7211. goodsid:
  7212. description: 商品ID
  7213. type: integer
  7214. goodsname:
  7215. description: 商品名称
  7216. type: string
  7217. orderid:
  7218. description: 委托单号
  7219. type: string
  7220. orderprice:
  7221. description: 委托价格
  7222. type: number
  7223. ordertime:
  7224. description: 委托时间
  7225. type: string
  7226. tradedate:
  7227. description: 交易日(yyyyMMdd)
  7228. type: string
  7229. required:
  7230. - ordertime
  7231. type: object
  7232. info:
  7233. contact: {}
  7234. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  7235. license: {}
  7236. termsOfService: http://muchinfo.cn
  7237. title: MTP2.0 查询服务 API
  7238. version: "1.0"
  7239. paths:
  7240. /CPTrade/QueryCPTradeMyBidInfos:
  7241. get:
  7242. parameters:
  7243. - description: 资金账户
  7244. in: query
  7245. name: accountid
  7246. required: true
  7247. type: integer
  7248. - description: 预售市场ID
  7249. in: query
  7250. name: marketid
  7251. type: integer
  7252. - description: 预售商品ID
  7253. in: query
  7254. name: goodsid
  7255. type: integer
  7256. produces:
  7257. - application/json
  7258. responses:
  7259. "200":
  7260. description: OK
  7261. schema:
  7262. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  7263. "500":
  7264. description: Internal Server Error
  7265. schema:
  7266. $ref: '#/definitions/app.Response'
  7267. security:
  7268. - ApiKeyAuth: []
  7269. summary: 查询产能预售我的出价信息
  7270. tags:
  7271. - 产能预售
  7272. /CPTrade/QueryCPTradeOrderDetail:
  7273. get:
  7274. parameters:
  7275. - description: 预售商品ID
  7276. in: query
  7277. name: goodsid
  7278. type: integer
  7279. - description: 预售市场ID
  7280. in: query
  7281. name: marketid
  7282. type: integer
  7283. - description: 预售商品ID列表 - 格式:1,2,3
  7284. in: query
  7285. name: goodsids
  7286. type: string
  7287. produces:
  7288. - application/json
  7289. responses:
  7290. "200":
  7291. description: OK
  7292. schema:
  7293. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  7294. "500":
  7295. description: Internal Server Error
  7296. schema:
  7297. $ref: '#/definitions/app.Response'
  7298. security:
  7299. - ApiKeyAuth: []
  7300. summary: 查询产能预售委托单信息
  7301. tags:
  7302. - 产能预售
  7303. /CPTrade/QueryMyCPTradeGoods:
  7304. get:
  7305. parameters:
  7306. - description: 资金账户
  7307. in: query
  7308. name: accountid
  7309. required: true
  7310. type: integer
  7311. produces:
  7312. - application/json
  7313. responses:
  7314. "200":
  7315. description: OK
  7316. schema:
  7317. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  7318. "500":
  7319. description: Internal Server Error
  7320. schema:
  7321. $ref: '#/definitions/app.Response'
  7322. security:
  7323. - ApiKeyAuth: []
  7324. summary: 查询我的预售信息
  7325. tags:
  7326. - 产能预售
  7327. /CPTrade/QueryPositionCancel:
  7328. get:
  7329. parameters:
  7330. - description: 账户ID
  7331. in: query
  7332. name: userid
  7333. required: true
  7334. type: integer
  7335. - description: 注销ID
  7336. in: query
  7337. name: cancelid
  7338. type: integer
  7339. - description: 资金账户ID
  7340. in: query
  7341. name: accountid
  7342. type: integer
  7343. produces:
  7344. - application/json
  7345. responses:
  7346. "200":
  7347. description: OK
  7348. schema:
  7349. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  7350. "500":
  7351. description: Internal Server Error
  7352. schema:
  7353. $ref: '#/definitions/app.Response'
  7354. security:
  7355. - ApiKeyAuth: []
  7356. summary: 查询远期订单注销申请信息
  7357. tags:
  7358. - 产能预售
  7359. /CPTrade/QueryPreasleApply:
  7360. get:
  7361. parameters:
  7362. - description: 账户ID
  7363. in: query
  7364. name: userid
  7365. required: true
  7366. type: integer
  7367. - description: 申请ID
  7368. in: query
  7369. name: applyid
  7370. type: integer
  7371. - description: 资金账户ID
  7372. in: query
  7373. name: accountid
  7374. type: integer
  7375. produces:
  7376. - application/json
  7377. responses:
  7378. "200":
  7379. description: OK
  7380. schema:
  7381. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  7382. "500":
  7383. description: Internal Server Error
  7384. schema:
  7385. $ref: '#/definitions/app.Response'
  7386. security:
  7387. - ApiKeyAuth: []
  7388. summary: 查询产能预售申请信息
  7389. tags:
  7390. - 产能预售
  7391. /CPTrade/QueryPresaleGoodsEx:
  7392. get:
  7393. parameters:
  7394. - description: 预售商品ID
  7395. in: query
  7396. name: goodsid
  7397. type: integer
  7398. - description: 预售市场ID
  7399. in: query
  7400. name: marketid
  7401. type: integer
  7402. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  7403. in: query
  7404. name: presalemode
  7405. type: integer
  7406. - description: 预售商品ID列表 - 格式:1,2,3
  7407. in: query
  7408. name: goodsids
  7409. type: string
  7410. - description: 预售商品代码
  7411. in: query
  7412. name: goodscode
  7413. type: string
  7414. produces:
  7415. - application/json
  7416. responses:
  7417. "200":
  7418. description: OK
  7419. schema:
  7420. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  7421. "500":
  7422. description: Internal Server Error
  7423. schema:
  7424. $ref: '#/definitions/app.Response'
  7425. security:
  7426. - ApiKeyAuth: []
  7427. summary: 查询产能预售商品扩展信息
  7428. tags:
  7429. - 产能预售
  7430. /CPTrade/QueryUserGoodsData:
  7431. get:
  7432. parameters:
  7433. - description: 资金账户ID
  7434. in: query
  7435. name: accountid
  7436. required: true
  7437. type: integer
  7438. produces:
  7439. - application/json
  7440. responses:
  7441. "200":
  7442. description: OK
  7443. schema:
  7444. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  7445. "500":
  7446. description: Internal Server Error
  7447. schema:
  7448. $ref: '#/definitions/app.Response'
  7449. security:
  7450. - ApiKeyAuth: []
  7451. summary: 查询远期订单信息
  7452. tags:
  7453. - 产能预售
  7454. /Common/GetAllEnums:
  7455. get:
  7456. produces:
  7457. - application/json
  7458. responses:
  7459. "200":
  7460. description: OK
  7461. schema:
  7462. $ref: '#/definitions/models.Enumdicitem'
  7463. "500":
  7464. description: Internal Server Error
  7465. schema:
  7466. $ref: '#/definitions/app.Response'
  7467. summary: 获取所有枚举信息
  7468. tags:
  7469. - 通用服务
  7470. /Common/GetServerTime:
  7471. get:
  7472. produces:
  7473. - application/json
  7474. responses:
  7475. "200":
  7476. description: OK
  7477. schema:
  7478. $ref: '#/definitions/app.Response'
  7479. "500":
  7480. description: Internal Server Error
  7481. schema:
  7482. $ref: '#/definitions/app.Response'
  7483. summary: 获取服务器时间
  7484. tags:
  7485. - 通用服务
  7486. /Common/NoticeReaded:
  7487. post:
  7488. parameters:
  7489. - description: 登录账号
  7490. in: query
  7491. name: loginID
  7492. required: true
  7493. type: integer
  7494. - description: 通知公告ID
  7495. in: query
  7496. name: noticeID
  7497. required: true
  7498. type: integer
  7499. produces:
  7500. - application/json
  7501. responses:
  7502. "200":
  7503. description: OK
  7504. schema:
  7505. $ref: '#/definitions/app.Response'
  7506. "500":
  7507. description: Internal Server Error
  7508. schema:
  7509. $ref: '#/definitions/app.Response'
  7510. security:
  7511. - ApiKeyAuth: []
  7512. summary: 通知公告设置已读请求
  7513. tags:
  7514. - 通用服务
  7515. /Common/QueryImageConfigs:
  7516. get:
  7517. parameters:
  7518. - description: 类型 - 1:App首页轮播 2:我的
  7519. in: query
  7520. name: imageType
  7521. type: integer
  7522. produces:
  7523. - application/json
  7524. responses:
  7525. "200":
  7526. description: OK
  7527. schema:
  7528. $ref: '#/definitions/models.Szdz2imageconfig'
  7529. "500":
  7530. description: Internal Server Error
  7531. schema:
  7532. $ref: '#/definitions/app.Response'
  7533. summary: 查询轮播图配置信息
  7534. tags:
  7535. - 通用服务
  7536. /Common/QueryNotice:
  7537. get:
  7538. parameters:
  7539. - description: 页码
  7540. in: query
  7541. name: page
  7542. type: integer
  7543. - description: 每页条数
  7544. in: query
  7545. name: pagesize
  7546. type: integer
  7547. - description: 登录账号
  7548. in: query
  7549. name: loginID
  7550. required: true
  7551. type: integer
  7552. - description: 消息类型 - 1:公告通知 2:系统消息
  7553. in: query
  7554. name: msgType
  7555. type: integer
  7556. - description: 是否只获取未读信息
  7557. in: query
  7558. name: onlyUnRead
  7559. type: boolean
  7560. produces:
  7561. - application/json
  7562. responses:
  7563. "200":
  7564. description: OK
  7565. schema:
  7566. $ref: '#/definitions/common.QueryNoticeRsp'
  7567. "500":
  7568. description: Internal Server Error
  7569. schema:
  7570. $ref: '#/definitions/app.Response'
  7571. security:
  7572. - ApiKeyAuth: []
  7573. summary: 通知公告系统消息查询
  7574. tags:
  7575. - 通用服务
  7576. /Common/QueryProvincesAndCities:
  7577. get:
  7578. parameters:
  7579. - description: 省ID
  7580. in: query
  7581. name: provinceID
  7582. type: integer
  7583. produces:
  7584. - application/json
  7585. responses:
  7586. "200":
  7587. description: OK
  7588. schema:
  7589. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  7590. "500":
  7591. description: Internal Server Error
  7592. schema:
  7593. $ref: '#/definitions/app.Response'
  7594. summary: 查询省市信息(不包括区)
  7595. tags:
  7596. - 通用服务
  7597. /Common/QueryTableDefine:
  7598. get:
  7599. parameters:
  7600. - description: 表key
  7601. in: query
  7602. name: tableKey
  7603. type: string
  7604. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  7605. in: query
  7606. name: tableType
  7607. type: integer
  7608. produces:
  7609. - application/json
  7610. responses:
  7611. "200":
  7612. description: OK
  7613. schema:
  7614. $ref: '#/definitions/common.QueryTableDefineRsp'
  7615. "500":
  7616. description: Internal Server Error
  7617. schema:
  7618. $ref: '#/definitions/app.Response'
  7619. summary: 查询交易端列表头信息
  7620. tags:
  7621. - 通用服务
  7622. /Common/QueryTraderMenu:
  7623. get:
  7624. parameters:
  7625. - description: 登录账号
  7626. in: query
  7627. name: loginid
  7628. required: true
  7629. type: integer
  7630. produces:
  7631. - application/json
  7632. responses:
  7633. "200":
  7634. description: OK
  7635. schema:
  7636. $ref: '#/definitions/common.QueryTraderMenuRsp'
  7637. "500":
  7638. description: Internal Server Error
  7639. schema:
  7640. $ref: '#/definitions/app.Response'
  7641. summary: 查询交易端菜单
  7642. tags:
  7643. - 通用服务
  7644. /Delivery/QueryDeliveryRelation:
  7645. get:
  7646. parameters:
  7647. - description: 商品ID
  7648. in: query
  7649. name: goodsid
  7650. type: integer
  7651. - description: 品种ID
  7652. in: query
  7653. name: deliverygoodsid
  7654. type: integer
  7655. - description: 市场ID
  7656. in: query
  7657. name: marketid
  7658. type: integer
  7659. produces:
  7660. - application/json
  7661. responses:
  7662. "200":
  7663. description: OK
  7664. schema:
  7665. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  7666. "500":
  7667. description: Internal Server Error
  7668. schema:
  7669. $ref: '#/definitions/app.Response'
  7670. security:
  7671. - ApiKeyAuth: []
  7672. summary: 查询商品交割关系表
  7673. tags:
  7674. - 交割服务
  7675. /Ermcp/QueryAvaildGoodsGroup:
  7676. get:
  7677. parameters:
  7678. - description: 所属机构ID
  7679. in: query
  7680. name: userid
  7681. required: true
  7682. type: integer
  7683. produces:
  7684. - application/json
  7685. responses:
  7686. "200":
  7687. description: OK
  7688. schema:
  7689. items:
  7690. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  7691. type: array
  7692. "500":
  7693. description: Internal Server Error
  7694. schema:
  7695. $ref: '#/definitions/app.Response'
  7696. security:
  7697. - ApiKeyAuth: []
  7698. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  7699. tags:
  7700. - 企业风险管理(app)
  7701. /Ermcp/QueryBusinessDj:
  7702. get:
  7703. parameters:
  7704. - description: 用户ID
  7705. in: query
  7706. name: UserId
  7707. required: true
  7708. type: integer
  7709. - description: 现货合同ID, 不填则查所有
  7710. in: query
  7711. name: relatedid
  7712. type: string
  7713. produces:
  7714. - application/json
  7715. responses:
  7716. "200":
  7717. description: OK
  7718. schema:
  7719. items:
  7720. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  7721. type: array
  7722. "500":
  7723. description: Internal Server Error
  7724. schema:
  7725. $ref: '#/definitions/app.Response'
  7726. security:
  7727. - ApiKeyAuth: []
  7728. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  7729. tags:
  7730. - 企业风险管理(app)
  7731. /Ermcp/QueryBusinessFp:
  7732. get:
  7733. parameters:
  7734. - description: 用户ID
  7735. in: query
  7736. name: UserId
  7737. required: true
  7738. type: integer
  7739. - description: 现货合同ID, 不填则查所有
  7740. in: query
  7741. name: relatedid
  7742. type: string
  7743. produces:
  7744. - application/json
  7745. responses:
  7746. "200":
  7747. description: OK
  7748. schema:
  7749. items:
  7750. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  7751. type: array
  7752. "500":
  7753. description: Internal Server Error
  7754. schema:
  7755. $ref: '#/definitions/app.Response'
  7756. security:
  7757. - ApiKeyAuth: []
  7758. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  7759. tags:
  7760. - 企业风险管理(app)
  7761. /Ermcp/QueryBusinessJs:
  7762. get:
  7763. parameters:
  7764. - description: 用户ID
  7765. in: query
  7766. name: UserId
  7767. required: true
  7768. type: integer
  7769. - description: 现货合同ID, 不填则查所有
  7770. in: query
  7771. name: relatedid
  7772. type: string
  7773. produces:
  7774. - application/json
  7775. responses:
  7776. "200":
  7777. description: OK
  7778. schema:
  7779. items:
  7780. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  7781. type: array
  7782. "500":
  7783. description: Internal Server Error
  7784. schema:
  7785. $ref: '#/definitions/app.Response'
  7786. security:
  7787. - ApiKeyAuth: []
  7788. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  7789. tags:
  7790. - 企业风险管理(app)
  7791. /Ermcp/QueryBusinessKx:
  7792. get:
  7793. parameters:
  7794. - description: 用户ID
  7795. in: query
  7796. name: UserId
  7797. required: true
  7798. type: integer
  7799. - description: 现货合同ID, 不填则查所有
  7800. in: query
  7801. name: relatedid
  7802. type: string
  7803. produces:
  7804. - application/json
  7805. responses:
  7806. "200":
  7807. description: OK
  7808. schema:
  7809. items:
  7810. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  7811. type: array
  7812. "500":
  7813. description: Internal Server Error
  7814. schema:
  7815. $ref: '#/definitions/app.Response'
  7816. security:
  7817. - ApiKeyAuth: []
  7818. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  7819. tags:
  7820. - 企业风险管理(app)
  7821. /Ermcp/QueryChangeLog:
  7822. get:
  7823. parameters:
  7824. - description: 用户ID
  7825. in: query
  7826. name: RelatedId
  7827. required: true
  7828. type: string
  7829. produces:
  7830. - application/json
  7831. responses:
  7832. "200":
  7833. description: OK
  7834. schema:
  7835. items:
  7836. $ref: '#/definitions/ermcp.QryOPLogRsp'
  7837. type: array
  7838. "500":
  7839. description: Internal Server Error
  7840. schema:
  7841. $ref: '#/definitions/app.Response'
  7842. security:
  7843. - ApiKeyAuth: []
  7844. summary: 查询变更记录
  7845. tags:
  7846. - 企业风险管理(app)
  7847. /Ermcp/QueryContract:
  7848. get:
  7849. parameters:
  7850. - description: 用户ID
  7851. in: query
  7852. name: userId
  7853. required: true
  7854. type: integer
  7855. - description: 合同类型 1-采购, -1-销售
  7856. in: query
  7857. name: contracttype
  7858. required: true
  7859. type: integer
  7860. - description: 查询类型 1-全部 2-待点价 3-履约结算
  7861. in: query
  7862. name: querytype
  7863. required: true
  7864. type: integer
  7865. produces:
  7866. - application/json
  7867. responses:
  7868. "200":
  7869. description: OK
  7870. schema:
  7871. items:
  7872. $ref: '#/definitions/ermcp.QryErmcpRsp'
  7873. type: array
  7874. "500":
  7875. description: Internal Server Error
  7876. schema:
  7877. $ref: '#/definitions/app.Response'
  7878. security:
  7879. - ApiKeyAuth: []
  7880. summary: 查询合同(采购和销售)
  7881. tags:
  7882. - 企业风险管理(app)
  7883. /Ermcp/QueryExposureDetail:
  7884. get:
  7885. parameters:
  7886. - description: 所属机构ID
  7887. in: query
  7888. name: areaUserId
  7889. required: true
  7890. type: integer
  7891. - description: 套保商品
  7892. in: query
  7893. name: middleGoodsId
  7894. required: true
  7895. type: integer
  7896. produces:
  7897. - application/json
  7898. responses:
  7899. "200":
  7900. description: OK
  7901. schema:
  7902. items:
  7903. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  7904. type: array
  7905. "500":
  7906. description: Internal Server Error
  7907. schema:
  7908. $ref: '#/definitions/app.Response'
  7909. security:
  7910. - ApiKeyAuth: []
  7911. summary: 查询敞口现货明细
  7912. tags:
  7913. - 企业风险管理(app)
  7914. /Ermcp/QueryExposureHedgePosition:
  7915. get:
  7916. parameters:
  7917. - description: 所属机构ID
  7918. in: query
  7919. name: areaUserId
  7920. required: true
  7921. type: integer
  7922. produces:
  7923. - application/json
  7924. responses:
  7925. "200":
  7926. description: OK
  7927. schema:
  7928. items:
  7929. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  7930. type: array
  7931. "500":
  7932. description: Internal Server Error
  7933. schema:
  7934. $ref: '#/definitions/app.Response'
  7935. security:
  7936. - ApiKeyAuth: []
  7937. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  7938. tags:
  7939. - 企业风险管理(app)
  7940. /Ermcp/QueryExposureHedgePositionDetail:
  7941. get:
  7942. parameters:
  7943. - description: 所属机构ID
  7944. in: query
  7945. name: areaUserId
  7946. required: true
  7947. type: integer
  7948. - description: 商品id
  7949. in: query
  7950. name: goodsId
  7951. required: true
  7952. type: integer
  7953. produces:
  7954. - application/json
  7955. responses:
  7956. "200":
  7957. description: OK
  7958. schema:
  7959. items:
  7960. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  7961. type: array
  7962. "500":
  7963. description: Internal Server Error
  7964. schema:
  7965. $ref: '#/definitions/app.Response'
  7966. security:
  7967. - ApiKeyAuth: []
  7968. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  7969. tags:
  7970. - 企业风险管理(app)
  7971. /Ermcp/QueryExposureSpot:
  7972. get:
  7973. parameters:
  7974. - description: 所属机构ID
  7975. in: query
  7976. name: areaUserId
  7977. required: true
  7978. type: integer
  7979. produces:
  7980. - application/json
  7981. responses:
  7982. "200":
  7983. description: OK
  7984. schema:
  7985. items:
  7986. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  7987. type: array
  7988. "500":
  7989. description: Internal Server Error
  7990. schema:
  7991. $ref: '#/definitions/app.Response'
  7992. security:
  7993. - ApiKeyAuth: []
  7994. summary: 查询敞口现货头寸(敞口/现货头寸)
  7995. tags:
  7996. - 企业风险管理(app)
  7997. /Ermcp/QueryExposureSpotDetail:
  7998. get:
  7999. parameters:
  8000. - description: 所属机构ID
  8001. in: query
  8002. name: areaUserId
  8003. required: true
  8004. type: integer
  8005. - description: 现货品种ID
  8006. in: query
  8007. name: wrstandardId
  8008. required: true
  8009. type: integer
  8010. produces:
  8011. - application/json
  8012. responses:
  8013. "200":
  8014. description: OK
  8015. schema:
  8016. items:
  8017. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  8018. type: array
  8019. "500":
  8020. description: Internal Server Error
  8021. schema:
  8022. $ref: '#/definitions/app.Response'
  8023. security:
  8024. - ApiKeyAuth: []
  8025. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  8026. tags:
  8027. - 企业风险管理(app)
  8028. /Ermcp/QueryGGConvertConfig:
  8029. get:
  8030. parameters:
  8031. - description: 品种id(不填则查所有)
  8032. in: query
  8033. name: goodsgroupid
  8034. type: integer
  8035. produces:
  8036. - application/json
  8037. responses:
  8038. "200":
  8039. description: OK
  8040. schema:
  8041. items:
  8042. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  8043. type: array
  8044. "500":
  8045. description: Internal Server Error
  8046. schema:
  8047. $ref: '#/definitions/app.Response'
  8048. security:
  8049. - ApiKeyAuth: []
  8050. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  8051. tags:
  8052. - 企业风险管理(app)
  8053. /Ermcp/QueryHedgePlan:
  8054. get:
  8055. parameters:
  8056. - description: 用户ID
  8057. in: query
  8058. name: userId
  8059. required: true
  8060. type: integer
  8061. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8062. in: query
  8063. name: HedgePlanStatus
  8064. required: true
  8065. type: string
  8066. produces:
  8067. - application/json
  8068. responses:
  8069. "200":
  8070. description: OK
  8071. schema:
  8072. items:
  8073. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  8074. type: array
  8075. "500":
  8076. description: Internal Server Error
  8077. schema:
  8078. $ref: '#/definitions/app.Response'
  8079. security:
  8080. - ApiKeyAuth: []
  8081. summary: 查询套保计划
  8082. tags:
  8083. - 企业风险管理(app)
  8084. /Ermcp/QueryHisExposure:
  8085. get:
  8086. parameters:
  8087. - description: 所属机构ID
  8088. in: query
  8089. name: areaUserId
  8090. required: true
  8091. type: integer
  8092. - description: 最近多少条记录, -1:为查全部
  8093. in: query
  8094. name: lastNum
  8095. required: true
  8096. type: integer
  8097. produces:
  8098. - application/json
  8099. responses:
  8100. "200":
  8101. description: OK
  8102. schema:
  8103. items:
  8104. $ref: '#/definitions/ermcp.HisExposureRsp'
  8105. type: array
  8106. "500":
  8107. description: Internal Server Error
  8108. schema:
  8109. $ref: '#/definitions/app.Response'
  8110. security:
  8111. - ApiKeyAuth: []
  8112. summary: 查询历史敞口(菜单:敞口/历史敞口)
  8113. tags:
  8114. - 企业风险管理(app)
  8115. /Ermcp/QueryMiddleGoods:
  8116. get:
  8117. parameters:
  8118. - description: 所属机构ID
  8119. in: query
  8120. name: userid
  8121. required: true
  8122. type: integer
  8123. - description: 状态 0-停用 1-正常
  8124. in: query
  8125. name: status
  8126. required: true
  8127. type: integer
  8128. produces:
  8129. - application/json
  8130. responses:
  8131. "200":
  8132. description: OK
  8133. schema:
  8134. items:
  8135. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  8136. type: array
  8137. "500":
  8138. description: Internal Server Error
  8139. schema:
  8140. $ref: '#/definitions/app.Response'
  8141. security:
  8142. - ApiKeyAuth: []
  8143. summary: 查询套保品种(菜单:套保品种)
  8144. tags:
  8145. - 企业风险管理(app)
  8146. /Ermcp/QueryMiddleGoodsChangeLog:
  8147. get:
  8148. parameters:
  8149. - description: 所属机构ID
  8150. in: query
  8151. name: userid
  8152. required: true
  8153. type: integer
  8154. - description: 套保品种id
  8155. in: query
  8156. name: middlegoodsid
  8157. required: true
  8158. type: integer
  8159. produces:
  8160. - application/json
  8161. responses:
  8162. "200":
  8163. description: OK
  8164. schema:
  8165. items:
  8166. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  8167. type: array
  8168. "500":
  8169. description: Internal Server Error
  8170. schema:
  8171. $ref: '#/definitions/app.Response'
  8172. security:
  8173. - ApiKeyAuth: []
  8174. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  8175. tags:
  8176. - 企业风险管理(app)
  8177. /Ermcp/QueryMiddleGoodsDetail:
  8178. get:
  8179. parameters:
  8180. - description: 所属机构ID
  8181. in: query
  8182. name: userid
  8183. required: true
  8184. type: integer
  8185. - description: 套保品种id
  8186. in: query
  8187. name: middlegoodsid
  8188. required: true
  8189. type: integer
  8190. produces:
  8191. - application/json
  8192. responses:
  8193. "200":
  8194. description: OK
  8195. schema:
  8196. items:
  8197. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  8198. type: array
  8199. "500":
  8200. description: Internal Server Error
  8201. schema:
  8202. $ref: '#/definitions/app.Response'
  8203. security:
  8204. - ApiKeyAuth: []
  8205. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  8206. tags:
  8207. - 企业风险管理(app)
  8208. /Ermcp/QueryRealtimeExposure:
  8209. get:
  8210. parameters:
  8211. - description: 所属机构ID
  8212. in: query
  8213. name: AreaUserID
  8214. required: true
  8215. type: integer
  8216. produces:
  8217. - application/json
  8218. responses:
  8219. "200":
  8220. description: OK
  8221. schema:
  8222. items:
  8223. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  8224. type: array
  8225. "500":
  8226. description: Internal Server Error
  8227. schema:
  8228. $ref: '#/definitions/app.Response'
  8229. security:
  8230. - ApiKeyAuth: []
  8231. summary: 查询实时敞口
  8232. tags:
  8233. - 企业风险管理(app)
  8234. /Ermcp/QueryRealtimeExposurePosition:
  8235. get:
  8236. parameters:
  8237. - description: 所属机构ID
  8238. in: query
  8239. name: areaUserId
  8240. required: true
  8241. type: integer
  8242. - description: 套保商品ID
  8243. in: query
  8244. name: middleGoodsId
  8245. required: true
  8246. type: integer
  8247. produces:
  8248. - application/json
  8249. responses:
  8250. "200":
  8251. description: OK
  8252. schema:
  8253. items:
  8254. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  8255. type: array
  8256. "500":
  8257. description: Internal Server Error
  8258. schema:
  8259. $ref: '#/definitions/app.Response'
  8260. security:
  8261. - ApiKeyAuth: []
  8262. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  8263. tags:
  8264. - 企业风险管理(app)
  8265. /Ermcp/QuerySpotContract:
  8266. get:
  8267. parameters:
  8268. - description: 用户ID
  8269. in: query
  8270. name: userId
  8271. required: true
  8272. type: integer
  8273. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  8274. in: query
  8275. name: QueryType
  8276. required: true
  8277. type: integer
  8278. produces:
  8279. - application/json
  8280. responses:
  8281. "200":
  8282. description: OK
  8283. schema:
  8284. items:
  8285. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  8286. type: array
  8287. "500":
  8288. description: Internal Server Error
  8289. schema:
  8290. $ref: '#/definitions/app.Response'
  8291. security:
  8292. - ApiKeyAuth: []
  8293. summary: 查询现货合同(对应现货合同菜单)
  8294. tags:
  8295. - 企业风险管理(app)
  8296. /Ermcp/QueryUserInfo:
  8297. get:
  8298. parameters:
  8299. - description: 所属机构用户ID
  8300. in: query
  8301. name: MemberUserID
  8302. required: true
  8303. type: integer
  8304. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  8305. in: query
  8306. name: queryType
  8307. required: true
  8308. type: integer
  8309. produces:
  8310. - application/json
  8311. responses:
  8312. "200":
  8313. description: OK
  8314. schema:
  8315. items:
  8316. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  8317. type: array
  8318. "500":
  8319. description: Internal Server Error
  8320. schema:
  8321. $ref: '#/definitions/app.Response'
  8322. security:
  8323. - ApiKeyAuth: []
  8324. summary: 查询客户资料
  8325. tags:
  8326. - 企业风险管理(app)
  8327. /Ermcp/QueryWrStandard:
  8328. get:
  8329. parameters:
  8330. - description: 所属机构ID
  8331. in: query
  8332. name: userid
  8333. required: true
  8334. type: integer
  8335. - description: 状态 0-停用 1-正常
  8336. in: query
  8337. name: status
  8338. required: true
  8339. type: integer
  8340. produces:
  8341. - application/json
  8342. responses:
  8343. "200":
  8344. description: OK
  8345. schema:
  8346. items:
  8347. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  8348. type: array
  8349. "500":
  8350. description: Internal Server Error
  8351. schema:
  8352. $ref: '#/definitions/app.Response'
  8353. security:
  8354. - ApiKeyAuth: []
  8355. summary: 查询现货商品
  8356. tags:
  8357. - 企业风险管理(app)
  8358. /Ermcp/QueryWrStandardDetail:
  8359. get:
  8360. parameters:
  8361. - description: 所属机构ID
  8362. in: query
  8363. name: userid
  8364. required: true
  8365. type: integer
  8366. - description: 现货商品ID
  8367. in: query
  8368. name: wrstandardid
  8369. required: true
  8370. type: integer
  8371. produces:
  8372. - application/json
  8373. responses:
  8374. "200":
  8375. description: OK
  8376. schema:
  8377. items:
  8378. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  8379. type: array
  8380. "500":
  8381. description: Internal Server Error
  8382. schema:
  8383. $ref: '#/definitions/app.Response'
  8384. security:
  8385. - ApiKeyAuth: []
  8386. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  8387. tags:
  8388. - 企业风险管理(app)
  8389. /Erms2/QueryArbitrageStrategy:
  8390. get:
  8391. parameters:
  8392. - description: 账户ID
  8393. in: query
  8394. name: userid
  8395. required: true
  8396. type: integer
  8397. - description: 商品组ID(品种ID)
  8398. in: query
  8399. name: goodsgroupid
  8400. type: string
  8401. produces:
  8402. - application/json
  8403. responses:
  8404. "200":
  8405. description: OK
  8406. schema:
  8407. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  8408. "500":
  8409. description: Internal Server Error
  8410. schema:
  8411. $ref: '#/definitions/app.Response'
  8412. security:
  8413. - ApiKeyAuth: []
  8414. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  8415. tags:
  8416. - 风险管理
  8417. /Erms2/QueryInnerTradeDetail:
  8418. get:
  8419. parameters:
  8420. - description: 资金账户
  8421. in: query
  8422. name: accountid
  8423. required: true
  8424. type: integer
  8425. produces:
  8426. - application/json
  8427. responses:
  8428. "200":
  8429. description: OK
  8430. schema:
  8431. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  8432. "500":
  8433. description: Internal Server Error
  8434. schema:
  8435. $ref: '#/definitions/app.Response'
  8436. security:
  8437. - ApiKeyAuth: []
  8438. summary: 查询内部成交单信息
  8439. tags:
  8440. - 风险管理
  8441. /Erms2/QuerySpotContract:
  8442. get:
  8443. parameters:
  8444. - description: 策略申请ID
  8445. in: query
  8446. name: asapplyid
  8447. required: true
  8448. type: integer
  8449. - description: 现货合同ID
  8450. in: query
  8451. name: spotcontractid
  8452. type: integer
  8453. produces:
  8454. - application/json
  8455. responses:
  8456. "200":
  8457. description: OK
  8458. schema:
  8459. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  8460. "500":
  8461. description: Internal Server Error
  8462. schema:
  8463. $ref: '#/definitions/app.Response'
  8464. security:
  8465. - ApiKeyAuth: []
  8466. summary: 查询现货合同表信息(指定策略ID、未结束的)
  8467. tags:
  8468. - 风险管理
  8469. /Erms3/AddErms2ASApply:
  8470. post:
  8471. parameters:
  8472. - description: 申请参数
  8473. in: body
  8474. name: jsonBody
  8475. required: true
  8476. schema:
  8477. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  8478. produces:
  8479. - application/json
  8480. responses:
  8481. "200":
  8482. description: OK
  8483. schema:
  8484. $ref: '#/definitions/app.Response'
  8485. "500":
  8486. description: Internal Server Error
  8487. schema:
  8488. $ref: '#/definitions/app.Response'
  8489. security:
  8490. - ApiKeyAuth: []
  8491. summary: 新增期现套利业务申请
  8492. tags:
  8493. - 风险管理v3
  8494. /Erms3/AddErms2SpotTradeApply:
  8495. post:
  8496. parameters:
  8497. - description: 申请参数
  8498. in: body
  8499. name: jsonBody
  8500. required: true
  8501. schema:
  8502. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  8503. produces:
  8504. - application/json
  8505. responses:
  8506. "200":
  8507. description: OK
  8508. schema:
  8509. $ref: '#/definitions/app.Response'
  8510. "500":
  8511. description: Internal Server Error
  8512. schema:
  8513. $ref: '#/definitions/app.Response'
  8514. security:
  8515. - ApiKeyAuth: []
  8516. summary: 新增现货贸易业务申请
  8517. tags:
  8518. - 风险管理v3
  8519. /Erms3/AddSpotContractApply:
  8520. post:
  8521. parameters:
  8522. - description: 申请参数
  8523. in: body
  8524. name: jsonBody
  8525. required: true
  8526. schema:
  8527. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  8528. produces:
  8529. - application/json
  8530. responses:
  8531. "200":
  8532. description: OK
  8533. schema:
  8534. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  8535. "500":
  8536. description: Internal Server Error
  8537. schema:
  8538. $ref: '#/definitions/app.Response'
  8539. security:
  8540. - ApiKeyAuth: []
  8541. summary: 新增现货合同申请
  8542. tags:
  8543. - 风险管理v3
  8544. /Erms3/AddUserInfoApply:
  8545. post:
  8546. parameters:
  8547. - description: 申请参数
  8548. in: body
  8549. name: jsonBody
  8550. required: true
  8551. schema:
  8552. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  8553. produces:
  8554. - application/json
  8555. responses:
  8556. "200":
  8557. description: OK
  8558. schema:
  8559. $ref: '#/definitions/app.Response'
  8560. "500":
  8561. description: Internal Server Error
  8562. schema:
  8563. $ref: '#/definitions/app.Response'
  8564. security:
  8565. - ApiKeyAuth: []
  8566. summary: 新增客户申请
  8567. tags:
  8568. - 风险管理v3
  8569. /Erms3/QueryBusinessInfo:
  8570. get:
  8571. parameters:
  8572. - description: 资金账号ID列表,用逗号分隔
  8573. in: query
  8574. name: accountids
  8575. required: true
  8576. type: string
  8577. - description: 状态,0为未结束 1为已结束
  8578. in: query
  8579. name: status
  8580. required: true
  8581. type: integer
  8582. produces:
  8583. - application/json
  8584. responses:
  8585. "200":
  8586. description: OK
  8587. schema:
  8588. items:
  8589. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  8590. type: array
  8591. "500":
  8592. description: Internal Server Error
  8593. schema:
  8594. $ref: '#/definitions/app.Response'
  8595. security:
  8596. - ApiKeyAuth: []
  8597. summary: 查询业务表单数据
  8598. tags:
  8599. - 风险管理v3
  8600. /Erms3/QueryPendingAuditContract:
  8601. get:
  8602. parameters:
  8603. - description: 资金账号ID列表,逗号隔开
  8604. in: query
  8605. name: accountids
  8606. required: true
  8607. type: string
  8608. - description: 合同类型 1-采购 -1-销售
  8609. in: query
  8610. name: contracttype
  8611. required: true
  8612. type: integer
  8613. - description: 合同模式 1-普通 2-回购
  8614. in: query
  8615. name: contractmode
  8616. required: true
  8617. type: integer
  8618. produces:
  8619. - application/json
  8620. responses:
  8621. "200":
  8622. description: OK
  8623. schema:
  8624. items:
  8625. $ref: '#/definitions/erms3.QryAuditContractRsp'
  8626. type: array
  8627. "500":
  8628. description: Internal Server Error
  8629. schema:
  8630. $ref: '#/definitions/app.Response'
  8631. security:
  8632. - ApiKeyAuth: []
  8633. summary: 查询待审核合同
  8634. tags:
  8635. - 风险管理v3
  8636. /Erms3/QueryPendingBusiness:
  8637. get:
  8638. parameters:
  8639. - description: 资金账号ID列表,逗号隔开
  8640. in: query
  8641. name: accountids
  8642. required: true
  8643. type: string
  8644. produces:
  8645. - application/json
  8646. responses:
  8647. "200":
  8648. description: OK
  8649. schema:
  8650. items:
  8651. $ref: '#/definitions/erms3.QryPendingBizRsp'
  8652. type: array
  8653. "500":
  8654. description: Internal Server Error
  8655. schema:
  8656. $ref: '#/definitions/app.Response'
  8657. security:
  8658. - ApiKeyAuth: []
  8659. summary: 查询待审核基差贸易业务
  8660. tags:
  8661. - 风险管理v3
  8662. /Erms3/QuerySpotContractAppleForm:
  8663. get:
  8664. parameters:
  8665. - description: 登录账号
  8666. in: query
  8667. name: loginID
  8668. required: true
  8669. type: integer
  8670. produces:
  8671. - application/json
  8672. responses:
  8673. "200":
  8674. description: OK
  8675. schema:
  8676. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  8677. "500":
  8678. description: Internal Server Error
  8679. schema:
  8680. $ref: '#/definitions/app.Response'
  8681. security:
  8682. - ApiKeyAuth: []
  8683. summary: 查询合同申请表单数据
  8684. tags:
  8685. - 风险管理v3
  8686. /Erms3/QuerySpotContractDetail:
  8687. get:
  8688. parameters:
  8689. - description: 资金账号ID列表,用逗号分隔
  8690. in: query
  8691. name: accountids
  8692. required: true
  8693. type: string
  8694. - description: 合同类型,1为采购合同 -1为销售合同
  8695. in: query
  8696. name: contracttype
  8697. required: true
  8698. type: integer
  8699. - description: 合同模式,1为普通合同 2为回购销售合同
  8700. in: query
  8701. name: contractmode
  8702. required: true
  8703. type: integer
  8704. - description: 状态,0为履约中 1为已完成
  8705. in: query
  8706. name: status
  8707. required: true
  8708. type: integer
  8709. produces:
  8710. - application/json
  8711. responses:
  8712. "200":
  8713. description: OK
  8714. schema:
  8715. items:
  8716. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  8717. type: array
  8718. "500":
  8719. description: Internal Server Error
  8720. schema:
  8721. $ref: '#/definitions/app.Response'
  8722. security:
  8723. - ApiKeyAuth: []
  8724. summary: 查询合同详细信息
  8725. tags:
  8726. - 风险管理v3
  8727. /Erms3/QueryUserInfoApplies:
  8728. get:
  8729. parameters:
  8730. - description: 页码
  8731. in: query
  8732. name: page
  8733. type: integer
  8734. - description: 每页条数
  8735. in: query
  8736. name: pagesize
  8737. type: integer
  8738. - description: 客户名称,支持模糊查询
  8739. in: query
  8740. name: userName
  8741. type: string
  8742. produces:
  8743. - application/json
  8744. responses:
  8745. "200":
  8746. description: OK
  8747. schema:
  8748. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  8749. "500":
  8750. description: Internal Server Error
  8751. schema:
  8752. $ref: '#/definitions/app.Response'
  8753. security:
  8754. - ApiKeyAuth: []
  8755. summary: 客户申请信息查询
  8756. tags:
  8757. - 风险管理v3
  8758. /Erms3/QueryUserInfos:
  8759. get:
  8760. parameters:
  8761. - description: 页码
  8762. in: query
  8763. name: page
  8764. type: integer
  8765. - description: 每页条数
  8766. in: query
  8767. name: pagesize
  8768. type: integer
  8769. - description: 客户名称,支持模糊查询
  8770. in: query
  8771. name: userName
  8772. type: string
  8773. produces:
  8774. - application/json
  8775. responses:
  8776. "200":
  8777. description: OK
  8778. schema:
  8779. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  8780. "500":
  8781. description: Internal Server Error
  8782. schema:
  8783. $ref: '#/definitions/app.Response'
  8784. security:
  8785. - ApiKeyAuth: []
  8786. summary: 客户信息查询
  8787. tags:
  8788. - 风险管理v3
  8789. /HSBY/GetHsbyMyCount:
  8790. get:
  8791. description: 说明: 不包括已完成的数量。
  8792. parameters:
  8793. - description: 资金账户列表,格式:1,2,3
  8794. in: query
  8795. name: accountIDs
  8796. required: true
  8797. type: string
  8798. produces:
  8799. - application/json
  8800. responses:
  8801. "200":
  8802. description: OK
  8803. schema:
  8804. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  8805. "500":
  8806. description: Internal Server Error
  8807. schema:
  8808. $ref: '#/definitions/app.Response'
  8809. security:
  8810. - ApiKeyAuth: []
  8811. summary: 获取我的订单与包裹数量
  8812. tags:
  8813. - 定制【海商报业】
  8814. /HSBY/QueryClientFixedADConfigs:
  8815. get:
  8816. produces:
  8817. - application/json
  8818. responses:
  8819. "200":
  8820. description: OK
  8821. schema:
  8822. $ref: '#/definitions/models.Clientfixedadconfig'
  8823. "500":
  8824. description: Internal Server Error
  8825. schema:
  8826. $ref: '#/definitions/app.Response'
  8827. security:
  8828. - ApiKeyAuth: []
  8829. summary: 获取终端固定广告配置
  8830. tags:
  8831. - 定制【海商报业】
  8832. /HSBY/QueryHsbyBuyMyTradeDetail:
  8833. get:
  8834. parameters:
  8835. - description: 页码
  8836. in: query
  8837. name: page
  8838. type: integer
  8839. - description: 每页条数
  8840. in: query
  8841. name: pagesize
  8842. type: integer
  8843. - description: 资金账户列表,格式:1,2,3
  8844. in: query
  8845. name: accountIDs
  8846. required: true
  8847. type: string
  8848. produces:
  8849. - application/json
  8850. responses:
  8851. "200":
  8852. description: OK
  8853. schema:
  8854. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  8855. "500":
  8856. description: Internal Server Error
  8857. schema:
  8858. $ref: '#/definitions/app.Response'
  8859. security:
  8860. - ApiKeyAuth: []
  8861. summary: 查询"我的订单 - 已完成"单据信息
  8862. tags:
  8863. - 定制【海商报业】
  8864. /HSBY/QueryHsbyGoodsOrderDetails:
  8865. get:
  8866. description: 说明:查询结果已按委托价格和委托时间排序
  8867. parameters:
  8868. - description: 商品ID
  8869. in: query
  8870. name: goodsID
  8871. required: true
  8872. type: integer
  8873. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  8874. in: query
  8875. name: accountIDs
  8876. type: string
  8877. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  8878. in: query
  8879. name: buyOrSell
  8880. type: integer
  8881. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  8882. in: query
  8883. name: price
  8884. type: number
  8885. - description: 档位,不传则默认为3档
  8886. in: query
  8887. name: speed
  8888. type: integer
  8889. produces:
  8890. - application/json
  8891. responses:
  8892. "200":
  8893. description: OK
  8894. schema:
  8895. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  8896. "500":
  8897. description: Internal Server Error
  8898. schema:
  8899. $ref: '#/definitions/app.Response'
  8900. security:
  8901. - ApiKeyAuth: []
  8902. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  8903. tags:
  8904. - 定制【海商报业】
  8905. /HSBY/QueryHsbyListingGoodsDetail:
  8906. get:
  8907. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  8908. parameters:
  8909. - description: 商品ID
  8910. in: query
  8911. name: goodsID
  8912. required: true
  8913. type: integer
  8914. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  8915. in: query
  8916. name: accountID
  8917. type: integer
  8918. produces:
  8919. - application/json
  8920. responses:
  8921. "200":
  8922. description: OK
  8923. schema:
  8924. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  8925. "500":
  8926. description: Internal Server Error
  8927. schema:
  8928. $ref: '#/definitions/app.Response'
  8929. security:
  8930. - ApiKeyAuth: []
  8931. summary: 查询二级市场(挂牌点选)商品信息详情
  8932. tags:
  8933. - 定制【海商报业】
  8934. /HSBY/QueryHsbyMarketGoodsDetail:
  8935. get:
  8936. parameters:
  8937. - description: 委托单号
  8938. in: query
  8939. name: orderID
  8940. required: true
  8941. type: integer
  8942. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  8943. in: query
  8944. name: accountID
  8945. type: integer
  8946. produces:
  8947. - application/json
  8948. responses:
  8949. "200":
  8950. description: OK
  8951. schema:
  8952. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  8953. "500":
  8954. description: Internal Server Error
  8955. schema:
  8956. $ref: '#/definitions/app.Response'
  8957. security:
  8958. - ApiKeyAuth: []
  8959. summary: 查询三级市场(商城)商品信息详情
  8960. tags:
  8961. - 定制【海商报业】
  8962. /HSBY/QueryHsbyMarketGoodses:
  8963. get:
  8964. parameters:
  8965. - description: 页码
  8966. in: query
  8967. name: page
  8968. type: integer
  8969. - description: 每页条数
  8970. in: query
  8971. name: pagesize
  8972. type: integer
  8973. - description: 市场ID列表,格式:1,2,3
  8974. in: query
  8975. name: marketIDs
  8976. required: true
  8977. type: string
  8978. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  8979. in: query
  8980. name: accountID
  8981. required: true
  8982. type: integer
  8983. - description: 类别ID
  8984. in: query
  8985. name: categoryID
  8986. type: integer
  8987. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  8988. in: query
  8989. name: goodsIDs
  8990. type: string
  8991. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  8992. in: query
  8993. name: couponTypeID
  8994. type: integer
  8995. produces:
  8996. - application/json
  8997. responses:
  8998. "200":
  8999. description: OK
  9000. schema:
  9001. $ref: '#/definitions/models.HsbyMarketGoods'
  9002. "500":
  9003. description: Internal Server Error
  9004. schema:
  9005. $ref: '#/definitions/app.Response'
  9006. security:
  9007. - ApiKeyAuth: []
  9008. summary: 查询特卖商品列表(三级商城)
  9009. tags:
  9010. - 定制【海商报业】
  9011. /HSBY/QueryHsbyMarkets:
  9012. get:
  9013. produces:
  9014. - application/json
  9015. responses:
  9016. "200":
  9017. description: OK
  9018. schema:
  9019. $ref: '#/definitions/models.HsbyMarketInfo'
  9020. "500":
  9021. description: Internal Server Error
  9022. schema:
  9023. $ref: '#/definitions/app.Response'
  9024. security:
  9025. - ApiKeyAuth: []
  9026. summary: 查询海商报业相关市场信息
  9027. tags:
  9028. - 定制【海商报业】
  9029. /HSBY/QueryHsbyMyBuyOrderDetails:
  9030. get:
  9031. description: 说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;
  9032. parameters:
  9033. - description: 资金账户列表,格式:1,2,3
  9034. in: query
  9035. name: accountIDs
  9036. required: true
  9037. type: string
  9038. - description: '''我的订单''状态, 1:抢购中 2:求购中 3:已完成;不传则为''全部'''
  9039. in: query
  9040. name: myBuyStatus
  9041. type: integer
  9042. produces:
  9043. - application/json
  9044. responses:
  9045. "200":
  9046. description: OK
  9047. schema:
  9048. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  9049. "500":
  9050. description: Internal Server Error
  9051. schema:
  9052. $ref: '#/definitions/app.Response'
  9053. security:
  9054. - ApiKeyAuth: []
  9055. summary: 查询“我的订单”信息
  9056. tags:
  9057. - 定制【海商报业】
  9058. /HSBY/QueryHsbyMyGoods:
  9059. get:
  9060. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  9061. parameters:
  9062. - description: 资金账户列表,格式:1,2,3
  9063. in: query
  9064. name: accountIDs
  9065. required: true
  9066. type: string
  9067. produces:
  9068. - application/json
  9069. responses:
  9070. "200":
  9071. description: OK
  9072. schema:
  9073. $ref: '#/definitions/models.HsbyMyGoods'
  9074. "500":
  9075. description: Internal Server Error
  9076. schema:
  9077. $ref: '#/definitions/app.Response'
  9078. security:
  9079. - ApiKeyAuth: []
  9080. summary: 查询“我的商品”信息
  9081. tags:
  9082. - 定制【海商报业】
  9083. /HSBY/QueryHsbyMyPackages:
  9084. get:
  9085. parameters:
  9086. - description: 资金账户列表,格式:1,2,3
  9087. in: query
  9088. name: accountIDs
  9089. required: true
  9090. type: string
  9091. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9092. in: query
  9093. name: takeOrderStatus
  9094. type: integer
  9095. produces:
  9096. - application/json
  9097. responses:
  9098. "200":
  9099. description: OK
  9100. schema:
  9101. $ref: '#/definitions/models.HsbyMyPackage'
  9102. "500":
  9103. description: Internal Server Error
  9104. schema:
  9105. $ref: '#/definitions/app.Response'
  9106. security:
  9107. - ApiKeyAuth: []
  9108. summary: 查询我的包裹信息
  9109. tags:
  9110. - 定制【海商报业】
  9111. /HSBY/QueryHsbyPreGoodsDetail:
  9112. get:
  9113. parameters:
  9114. - description: 商品ID
  9115. in: query
  9116. name: goodsID
  9117. required: true
  9118. type: integer
  9119. - description: 资金账户,主要用于获取预售商品购买上限
  9120. in: query
  9121. name: accountID
  9122. type: integer
  9123. produces:
  9124. - application/json
  9125. responses:
  9126. "200":
  9127. description: OK
  9128. schema:
  9129. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  9130. "500":
  9131. description: Internal Server Error
  9132. schema:
  9133. $ref: '#/definitions/app.Response'
  9134. security:
  9135. - ApiKeyAuth: []
  9136. summary: 查询一级市场(预售)商品信息详情
  9137. tags:
  9138. - 定制【海商报业】
  9139. /HSBY/QueryHsbyPreGoodses:
  9140. get:
  9141. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  9142. parameters:
  9143. - description: 页码
  9144. in: query
  9145. name: page
  9146. type: integer
  9147. - description: 每页条数
  9148. in: query
  9149. name: pagesize
  9150. type: integer
  9151. - description: 市场ID列表,格式:1,2,3
  9152. in: query
  9153. name: marketIDs
  9154. required: true
  9155. type: string
  9156. - description: 目的地(省)ID
  9157. in: query
  9158. name: descProvinceID
  9159. type: integer
  9160. - description: 目的地(市)ID
  9161. in: query
  9162. name: descCityID
  9163. type: integer
  9164. produces:
  9165. - application/json
  9166. responses:
  9167. "200":
  9168. description: OK
  9169. schema:
  9170. $ref: '#/definitions/models.HsbyPreGoods'
  9171. "500":
  9172. description: Internal Server Error
  9173. schema:
  9174. $ref: '#/definitions/app.Response'
  9175. security:
  9176. - ApiKeyAuth: []
  9177. summary: 查询新品上市商品列表(一级市场预售)
  9178. tags:
  9179. - 定制【海商报业】
  9180. /HSBY/QueryHsbySellMyDetails:
  9181. get:
  9182. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  9183. parameters:
  9184. - description: 页码
  9185. in: query
  9186. name: page
  9187. type: integer
  9188. - description: 每页条数
  9189. in: query
  9190. name: pagesize
  9191. type: integer
  9192. - description: 资金账户列表,格式:1,2,3
  9193. in: query
  9194. name: accountIDs
  9195. required: true
  9196. type: string
  9197. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  9198. in: query
  9199. name: orderType
  9200. type: integer
  9201. produces:
  9202. - application/json
  9203. responses:
  9204. "200":
  9205. description: OK
  9206. schema:
  9207. $ref: '#/definitions/models.HsbySellMyDetail'
  9208. "500":
  9209. description: Internal Server Error
  9210. schema:
  9211. $ref: '#/definitions/app.Response'
  9212. security:
  9213. - ApiKeyAuth: []
  9214. summary: 查询"我的闲置"单据信息
  9215. tags:
  9216. - 定制【海商报业】
  9217. /HSBY/QueryHsbyTopGoodses:
  9218. get:
  9219. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  9220. parameters:
  9221. - description: 页码
  9222. in: query
  9223. name: page
  9224. type: integer
  9225. - description: 每页条数
  9226. in: query
  9227. name: pagesize
  9228. type: integer
  9229. - description: 市场ID列表,格式:1,2,3
  9230. in: query
  9231. name: marketIDs
  9232. required: true
  9233. type: string
  9234. - description: 目的地(省)ID
  9235. in: query
  9236. name: descProvinceID
  9237. type: integer
  9238. - description: 目的地(市)ID
  9239. in: query
  9240. name: descCityID
  9241. type: integer
  9242. produces:
  9243. - application/json
  9244. responses:
  9245. "200":
  9246. description: OK
  9247. schema:
  9248. $ref: '#/definitions/models.HsbyTopGoods'
  9249. "500":
  9250. description: Internal Server Error
  9251. schema:
  9252. $ref: '#/definitions/app.Response'
  9253. security:
  9254. - ApiKeyAuth: []
  9255. summary: 查询热卖商品列表(二级市场挂牌点选)
  9256. tags:
  9257. - 定制【海商报业】
  9258. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  9259. get:
  9260. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  9261. parameters:
  9262. - description: 商品ID
  9263. in: query
  9264. name: goodsID
  9265. required: true
  9266. type: integer
  9267. produces:
  9268. - application/json
  9269. responses:
  9270. "200":
  9271. description: OK
  9272. schema:
  9273. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  9274. "500":
  9275. description: Internal Server Error
  9276. schema:
  9277. $ref: '#/definitions/app.Response'
  9278. security:
  9279. - ApiKeyAuth: []
  9280. summary: 查询游客三级市场(商城)商品信息详情
  9281. tags:
  9282. - 定制【海商报业】
  9283. /HSBY/QueryHsbyVisitorMarketGoodses:
  9284. get:
  9285. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  9286. parameters:
  9287. - description: 页码
  9288. in: query
  9289. name: page
  9290. type: integer
  9291. - description: 每页条数
  9292. in: query
  9293. name: pagesize
  9294. type: integer
  9295. - description: 市场ID列表,格式:1,2,3
  9296. in: query
  9297. name: marketIDs
  9298. required: true
  9299. type: string
  9300. - description: 类别ID
  9301. in: query
  9302. name: categoryID
  9303. type: integer
  9304. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  9305. in: query
  9306. name: goodsIDs
  9307. type: string
  9308. produces:
  9309. - application/json
  9310. responses:
  9311. "200":
  9312. description: OK
  9313. schema:
  9314. $ref: '#/definitions/models.HsbyMarketGoods'
  9315. "500":
  9316. description: Internal Server Error
  9317. schema:
  9318. $ref: '#/definitions/app.Response'
  9319. security:
  9320. - ApiKeyAuth: []
  9321. summary: 查询游客特卖商品列表(三级商城)
  9322. tags:
  9323. - 定制【海商报业】
  9324. /HSBY/QueryMyCollectionOrders:
  9325. get:
  9326. parameters:
  9327. - description: 页码
  9328. in: query
  9329. name: page
  9330. type: integer
  9331. - description: 每页条数
  9332. in: query
  9333. name: pagesize
  9334. type: integer
  9335. - description: 资金账户,格式:1,2,3
  9336. in: query
  9337. name: accountIDs
  9338. required: true
  9339. type: string
  9340. produces:
  9341. - application/json
  9342. responses:
  9343. "200":
  9344. description: OK
  9345. schema:
  9346. $ref: '#/definitions/models.HsbySellCollectionOrder'
  9347. "500":
  9348. description: Internal Server Error
  9349. schema:
  9350. $ref: '#/definitions/app.Response'
  9351. security:
  9352. - ApiKeyAuth: []
  9353. summary: 我的闲置中收款信息查询
  9354. tags:
  9355. - 定制【海商报业】
  9356. /HSBY/QueryMyCouponHolds:
  9357. get:
  9358. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  9359. parameters:
  9360. - description: 资金账户列表,格式:1,2,3
  9361. in: query
  9362. name: accountIDs
  9363. required: true
  9364. type: string
  9365. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  9366. in: query
  9367. name: holdStatus
  9368. type: string
  9369. produces:
  9370. - application/json
  9371. responses:
  9372. "200":
  9373. description: OK
  9374. schema:
  9375. $ref: '#/definitions/models.MyCouponHold'
  9376. "500":
  9377. description: Internal Server Error
  9378. schema:
  9379. $ref: '#/definitions/app.Response'
  9380. security:
  9381. - ApiKeyAuth: []
  9382. summary: 我的优惠卷持仓查询
  9383. tags:
  9384. - 定制【海商报业】
  9385. /HSBY/QueryMyCoupons:
  9386. get:
  9387. parameters:
  9388. - description: 资金账户列表,格式:1,2,3
  9389. in: query
  9390. name: accountIDs
  9391. required: true
  9392. type: string
  9393. - description: 商品ID, 一般与sellUserID配套传入
  9394. in: query
  9395. name: goodsID
  9396. type: integer
  9397. - description: 卖方UserID
  9398. in: query
  9399. name: sellUserID
  9400. type: integer
  9401. produces:
  9402. - application/json
  9403. responses:
  9404. "200":
  9405. description: OK
  9406. schema:
  9407. $ref: '#/definitions/models.MyCoupon'
  9408. "500":
  9409. description: Internal Server Error
  9410. schema:
  9411. $ref: '#/definitions/app.Response'
  9412. security:
  9413. - ApiKeyAuth: []
  9414. summary: 我的优惠卷查询
  9415. tags:
  9416. - 定制【海商报业】
  9417. /HSBY/QueryMyPayOrders:
  9418. get:
  9419. parameters:
  9420. - description: 页码
  9421. in: query
  9422. name: page
  9423. type: integer
  9424. - description: 每页条数
  9425. in: query
  9426. name: pagesize
  9427. type: integer
  9428. - description: 资金账户列表,格式:1,2,3
  9429. in: query
  9430. name: accountIDs
  9431. required: true
  9432. type: string
  9433. - description: 买方委托单号
  9434. in: query
  9435. name: buyOrderID
  9436. type: integer
  9437. - description: 卖方委托单号
  9438. in: query
  9439. name: sellOrderID
  9440. type: integer
  9441. produces:
  9442. - application/json
  9443. responses:
  9444. "200":
  9445. description: OK
  9446. schema:
  9447. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  9448. "500":
  9449. description: Internal Server Error
  9450. schema:
  9451. $ref: '#/definitions/app.Response'
  9452. security:
  9453. - ApiKeyAuth: []
  9454. summary: 获取我的订单中待付款信息
  9455. tags:
  9456. - 定制【海商报业】
  9457. /HSBY/QueryMyUsedCoupon:
  9458. get:
  9459. parameters:
  9460. - description: 资金账户列表,格式:1,2,3
  9461. in: query
  9462. name: accountIDs
  9463. required: true
  9464. type: string
  9465. produces:
  9466. - application/json
  9467. responses:
  9468. "200":
  9469. description: OK
  9470. schema:
  9471. $ref: '#/definitions/models.MyUsedCoupon'
  9472. "500":
  9473. description: Internal Server Error
  9474. schema:
  9475. $ref: '#/definitions/app.Response'
  9476. security:
  9477. - ApiKeyAuth: []
  9478. summary: 已使用优惠卷查询
  9479. tags:
  9480. - 定制【海商报业】
  9481. /HSBY/QueryProvincesAndCities:
  9482. get:
  9483. description: 查询结果只包括二级市场商品已关连的省市信息。
  9484. parameters:
  9485. - description: 省ID
  9486. in: query
  9487. name: provinceID
  9488. type: integer
  9489. produces:
  9490. - application/json
  9491. responses:
  9492. "200":
  9493. description: OK
  9494. schema:
  9495. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  9496. "500":
  9497. description: Internal Server Error
  9498. schema:
  9499. $ref: '#/definitions/app.Response'
  9500. security:
  9501. - ApiKeyAuth: []
  9502. summary: 查询省市信息(不包括区)
  9503. tags:
  9504. - 定制【海商报业】
  9505. /HSBY/SetHsbyMyPackagesStatus:
  9506. post:
  9507. parameters:
  9508. - description: 提货单号
  9509. in: query
  9510. name: takeOrderID
  9511. required: true
  9512. type: string
  9513. - description: 资金账号
  9514. in: query
  9515. name: accountID
  9516. required: true
  9517. type: integer
  9518. produces:
  9519. - application/json
  9520. responses:
  9521. "200":
  9522. description: OK
  9523. schema:
  9524. $ref: '#/definitions/app.Response'
  9525. "500":
  9526. description: Internal Server Error
  9527. schema:
  9528. $ref: '#/definitions/app.Response'
  9529. security:
  9530. - ApiKeyAuth: []
  9531. summary: 设置我的包裹已收货状态
  9532. tags:
  9533. - 定制【海商报业】
  9534. /Market/QueryGoodsesByLoginID:
  9535. get:
  9536. parameters:
  9537. - description: 登录账号
  9538. in: query
  9539. name: loginID
  9540. required: true
  9541. type: integer
  9542. - description: 市场ID列表,格式:1,2,3
  9543. in: query
  9544. name: marketIDs
  9545. type: string
  9546. produces:
  9547. - application/json
  9548. responses:
  9549. "200":
  9550. description: OK
  9551. schema:
  9552. $ref: '#/definitions/models.Goods'
  9553. "500":
  9554. description: Internal Server Error
  9555. schema:
  9556. $ref: '#/definitions/app.Response'
  9557. security:
  9558. - ApiKeyAuth: []
  9559. summary: 获取登录账号有权限的商品信息
  9560. tags:
  9561. - 通用市场
  9562. /Market/QueryMarketRun:
  9563. get:
  9564. parameters:
  9565. - description: 市场ID,不传返回所有
  9566. in: query
  9567. name: marketID
  9568. type: integer
  9569. produces:
  9570. - application/json
  9571. responses:
  9572. "200":
  9573. description: OK
  9574. schema:
  9575. $ref: '#/definitions/models.Marketrun'
  9576. "500":
  9577. description: Internal Server Error
  9578. schema:
  9579. $ref: '#/definitions/app.Response'
  9580. security:
  9581. - ApiKeyAuth: []
  9582. summary: 查询市场运行信息
  9583. tags:
  9584. - 通用市场
  9585. /Market/QueryMarketsByLoginID:
  9586. get:
  9587. parameters:
  9588. - description: 登录账号
  9589. in: query
  9590. name: loginID
  9591. required: true
  9592. type: integer
  9593. produces:
  9594. - application/json
  9595. responses:
  9596. "200":
  9597. description: OK
  9598. schema:
  9599. $ref: '#/definitions/models.Market'
  9600. "500":
  9601. description: Internal Server Error
  9602. schema:
  9603. $ref: '#/definitions/app.Response'
  9604. security:
  9605. - ApiKeyAuth: []
  9606. summary: 获取登录账号有权限的市场信息
  9607. tags:
  9608. - 通用市场
  9609. /Order/QueryHisTradeDetail:
  9610. get:
  9611. parameters:
  9612. - description: 资金账户 - 格式:1,2,3
  9613. in: query
  9614. name: accountID
  9615. required: true
  9616. type: string
  9617. - description: 成交单号
  9618. in: query
  9619. name: tradeID
  9620. type: integer
  9621. - description: 委托单号
  9622. in: query
  9623. name: orderID
  9624. type: integer
  9625. - description: 交易模式 - 格式:1,2,3
  9626. in: query
  9627. name: tradeMode
  9628. type: string
  9629. - description: 委托单据类型
  9630. in: query
  9631. name: buildType
  9632. type: integer
  9633. - description: 成交类别 - 格式:1,2,3
  9634. in: query
  9635. name: tradeType
  9636. type: string
  9637. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  9638. in: query
  9639. name: startDate
  9640. type: string
  9641. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  9642. in: query
  9643. name: endDate
  9644. type: string
  9645. produces:
  9646. - application/json
  9647. responses:
  9648. "200":
  9649. description: OK
  9650. schema:
  9651. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  9652. "500":
  9653. description: Internal Server Error
  9654. schema:
  9655. $ref: '#/definitions/app.Response'
  9656. security:
  9657. - ApiKeyAuth: []
  9658. summary: 历史成交单查询(合约市场)
  9659. tags:
  9660. - 通用单据
  9661. /Order/QueryHisTradeOrderDetail:
  9662. get:
  9663. parameters:
  9664. - description: 资金账户 - 格式:1,2,3
  9665. in: query
  9666. name: accountID
  9667. required: true
  9668. type: string
  9669. - description: 交易模式 - 格式:1,2,3
  9670. in: query
  9671. name: tradeMode
  9672. type: string
  9673. - description: 委托状态 - 格式:1,2,3
  9674. in: query
  9675. name: orderStatus
  9676. type: string
  9677. - description: 委托单号
  9678. in: query
  9679. name: orderID
  9680. type: integer
  9681. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  9682. in: query
  9683. name: startDate
  9684. type: string
  9685. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  9686. in: query
  9687. name: endDate
  9688. type: string
  9689. produces:
  9690. - application/json
  9691. responses:
  9692. "200":
  9693. description: OK
  9694. schema:
  9695. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  9696. "500":
  9697. description: Internal Server Error
  9698. schema:
  9699. $ref: '#/definitions/app.Response'
  9700. security:
  9701. - ApiKeyAuth: []
  9702. summary: 历史委托单查询请求(合约市场)
  9703. tags:
  9704. - 通用单据
  9705. /Order/QueryTradeDetail:
  9706. get:
  9707. parameters:
  9708. - description: 资金账户 - 格式:1,2,3
  9709. in: query
  9710. name: accountID
  9711. required: true
  9712. type: string
  9713. - description: 成交单号
  9714. in: query
  9715. name: tradeID
  9716. type: integer
  9717. - description: 委托单号
  9718. in: query
  9719. name: orderID
  9720. type: integer
  9721. - description: 交易模式 - 格式:1,2,3
  9722. in: query
  9723. name: tradeMode
  9724. type: string
  9725. - description: 委托单据类型
  9726. in: query
  9727. name: buildType
  9728. type: integer
  9729. - description: 成交类别 - 格式:1,2,3
  9730. in: query
  9731. name: tradeType
  9732. type: string
  9733. produces:
  9734. - application/json
  9735. responses:
  9736. "200":
  9737. description: OK
  9738. schema:
  9739. $ref: '#/definitions/order.QueryTradeDetailRsp'
  9740. "500":
  9741. description: Internal Server Error
  9742. schema:
  9743. $ref: '#/definitions/app.Response'
  9744. security:
  9745. - ApiKeyAuth: []
  9746. summary: 成交单查询(合约市场)
  9747. tags:
  9748. - 通用单据
  9749. /Order/QueryTradeOrderDetail:
  9750. get:
  9751. parameters:
  9752. - description: 资金账户 - 格式:1,2,3
  9753. in: query
  9754. name: accountID
  9755. required: true
  9756. type: string
  9757. - description: 交易模式 - 格式:1,2,3
  9758. in: query
  9759. name: tradeMode
  9760. type: string
  9761. - description: 委托状态 - 格式:1,2,3
  9762. in: query
  9763. name: orderStatus
  9764. type: string
  9765. - description: 委托单号
  9766. in: query
  9767. name: orderID
  9768. type: integer
  9769. produces:
  9770. - application/json
  9771. responses:
  9772. "200":
  9773. description: OK
  9774. schema:
  9775. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  9776. "500":
  9777. description: Internal Server Error
  9778. schema:
  9779. $ref: '#/definitions/app.Response'
  9780. security:
  9781. - ApiKeyAuth: []
  9782. summary: 委托单查询请求(合约市场)
  9783. tags:
  9784. - 通用单据
  9785. /Order/QueryTradePosition:
  9786. get:
  9787. parameters:
  9788. - description: 资金账户 - 格式:1,2,3
  9789. in: query
  9790. name: accountID
  9791. required: true
  9792. type: string
  9793. - description: 交易模式 - 格式:1,2,3
  9794. in: query
  9795. name: tradeMode
  9796. type: string
  9797. produces:
  9798. - application/json
  9799. responses:
  9800. "200":
  9801. description: OK
  9802. schema:
  9803. $ref: '#/definitions/order.QueryTradePositionRsp'
  9804. "500":
  9805. description: Internal Server Error
  9806. schema:
  9807. $ref: '#/definitions/app.Response'
  9808. security:
  9809. - ApiKeyAuth: []
  9810. summary: 持仓汇总查询(合约市场)
  9811. tags:
  9812. - 通用单据
  9813. /Quote/QueryHistoryDatas:
  9814. get:
  9815. parameters:
  9816. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  9817. 日线 10: Tik'
  9818. in: query
  9819. name: cycleType
  9820. required: true
  9821. type: integer
  9822. - description: 商品代码
  9823. in: query
  9824. name: goodsCode
  9825. required: true
  9826. type: string
  9827. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  9828. in: query
  9829. name: startTime
  9830. type: string
  9831. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  9832. in: query
  9833. name: endTime
  9834. type: string
  9835. - description: 条数
  9836. in: query
  9837. name: count
  9838. type: integer
  9839. - description: 是否按时间顺序排序(默认为时间倒序排序)
  9840. in: query
  9841. name: isAsc
  9842. type: boolean
  9843. produces:
  9844. - application/json
  9845. responses:
  9846. "200":
  9847. description: OK
  9848. schema:
  9849. $ref: '#/definitions/quote.HistoryData'
  9850. "500":
  9851. description: Internal Server Error
  9852. schema:
  9853. $ref: '#/definitions/app.Response'
  9854. security:
  9855. - ApiKeyAuth: []
  9856. summary: 查询行情历史数据
  9857. tags:
  9858. - 行情服务
  9859. /Quote/QueryTSData:
  9860. get:
  9861. parameters:
  9862. - description: 商品代码
  9863. in: query
  9864. name: GoodsCode
  9865. required: true
  9866. type: string
  9867. produces:
  9868. - application/json
  9869. responses:
  9870. "200":
  9871. description: OK
  9872. schema:
  9873. $ref: '#/definitions/quote.QueryTSDataRsp'
  9874. "500":
  9875. description: Internal Server Error
  9876. schema:
  9877. $ref: '#/definitions/app.Response'
  9878. summary: 分时图数据查询
  9879. tags:
  9880. - 行情服务
  9881. /SZDZ/QueryConvertConfig:
  9882. get:
  9883. parameters:
  9884. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  9885. 6:交易转花生米(不设置)
  9886. in: query
  9887. name: convertType
  9888. type: integer
  9889. - description: 外部商品代码[JD\PD]
  9890. in: query
  9891. name: outerGoodsCode
  9892. type: string
  9893. - description: 内部商品ID列表[交易],格式:1,2,3
  9894. in: query
  9895. name: innerGoodsIDs
  9896. type: string
  9897. produces:
  9898. - application/json
  9899. responses:
  9900. "200":
  9901. description: OK
  9902. schema:
  9903. $ref: '#/definitions/models.Szdz3convertconfig'
  9904. "500":
  9905. description: Internal Server Error
  9906. schema:
  9907. $ref: '#/definitions/app.Response'
  9908. security:
  9909. - ApiKeyAuth: []
  9910. summary: 查询交易系统转换设置
  9911. tags:
  9912. - 定制【尚志大宗】
  9913. /SZDZ/QueryConvertLog:
  9914. get:
  9915. parameters:
  9916. - description: 资金账户 - 格式:1,2,3
  9917. in: query
  9918. name: accountID
  9919. required: true
  9920. type: string
  9921. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  9922. in: query
  9923. name: startDate
  9924. type: string
  9925. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  9926. in: query
  9927. name: endDate
  9928. type: string
  9929. produces:
  9930. - application/json
  9931. responses:
  9932. "200":
  9933. description: OK
  9934. schema:
  9935. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  9936. "500":
  9937. description: Internal Server Error
  9938. schema:
  9939. $ref: '#/definitions/app.Response'
  9940. security:
  9941. - ApiKeyAuth: []
  9942. summary: 交易系统转换流水查询
  9943. tags:
  9944. - 定制【尚志大宗】
  9945. /SZDZ/QueryGoodsPickup:
  9946. get:
  9947. parameters:
  9948. - description: 资金账户 - 格式:1,2,3
  9949. in: query
  9950. name: accountID
  9951. required: true
  9952. type: string
  9953. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9954. in: query
  9955. name: takeOrderStatus
  9956. type: integer
  9957. produces:
  9958. - application/json
  9959. responses:
  9960. "200":
  9961. description: OK
  9962. schema:
  9963. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  9964. "500":
  9965. description: Internal Server Error
  9966. schema:
  9967. $ref: '#/definitions/app.Response'
  9968. security:
  9969. - ApiKeyAuth: []
  9970. summary: 商品提货单查询
  9971. tags:
  9972. - 定制【尚志大宗】
  9973. /SZDZ/QueryRecieptOrder:
  9974. get:
  9975. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  9976. parameters:
  9977. - description: 页码
  9978. in: query
  9979. name: page
  9980. type: integer
  9981. - description: 每页条数
  9982. in: query
  9983. name: pagesize
  9984. type: integer
  9985. - description: 商品ID
  9986. in: query
  9987. name: goodsID
  9988. required: true
  9989. type: integer
  9990. - description: 所属账户名称
  9991. in: query
  9992. name: accountName
  9993. type: string
  9994. - description: 市场ID
  9995. in: query
  9996. name: marketID
  9997. type: integer
  9998. - description: 方向 - 0:买 1:卖
  9999. in: query
  10000. name: buyorsell
  10001. required: true
  10002. type: integer
  10003. produces:
  10004. - application/json
  10005. responses:
  10006. "200":
  10007. description: OK
  10008. schema:
  10009. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  10010. "500":
  10011. description: Internal Server Error
  10012. schema:
  10013. $ref: '#/definitions/app.Response'
  10014. security:
  10015. - ApiKeyAuth: []
  10016. summary: 点选挂牌委托单据查询(摘牌大厅)
  10017. tags:
  10018. - 定制【尚志大宗】
  10019. /SZDZ/QuerySZDZTradePosition:
  10020. get:
  10021. parameters:
  10022. - description: 资金账户
  10023. in: query
  10024. name: accountID
  10025. required: true
  10026. type: integer
  10027. produces:
  10028. - application/json
  10029. responses:
  10030. "200":
  10031. description: OK
  10032. schema:
  10033. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  10034. "500":
  10035. description: Internal Server Error
  10036. schema:
  10037. $ref: '#/definitions/app.Response'
  10038. security:
  10039. - ApiKeyAuth: []
  10040. summary: 持仓汇总查询(尚志大宗)
  10041. tags:
  10042. - 定制【尚志大宗】
  10043. /SZDZ/SearchWhite:
  10044. get:
  10045. parameters:
  10046. - description: 用户ID
  10047. in: query
  10048. name: userID
  10049. required: true
  10050. type: integer
  10051. produces:
  10052. - application/json
  10053. responses:
  10054. "200":
  10055. description: OK
  10056. schema:
  10057. $ref: '#/definitions/models.Szdz3searchwhitelist'
  10058. "500":
  10059. description: Internal Server Error
  10060. schema:
  10061. $ref: '#/definitions/app.Response'
  10062. security:
  10063. - ApiKeyAuth: []
  10064. summary: 搜索白名单
  10065. tags:
  10066. - 定制【尚志大宗】
  10067. /Search/SearchGoodses:
  10068. get:
  10069. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  10070. parameters:
  10071. - description: 检索内容
  10072. in: query
  10073. name: content
  10074. required: true
  10075. type: string
  10076. - description: 交易模式,格式:1,2,3
  10077. in: query
  10078. name: tradeModes
  10079. type: string
  10080. produces:
  10081. - application/json
  10082. responses:
  10083. "200":
  10084. description: OK
  10085. schema:
  10086. $ref: '#/definitions/models.SearchGoods'
  10087. "500":
  10088. description: Internal Server Error
  10089. schema:
  10090. $ref: '#/definitions/app.Response'
  10091. summary: 检索商品信息
  10092. tags:
  10093. - 检索服务
  10094. /TaAccount/QueryAmountLog:
  10095. get:
  10096. parameters:
  10097. - description: 页码
  10098. in: query
  10099. name: page
  10100. type: integer
  10101. - description: 每页条数
  10102. in: query
  10103. name: pagesize
  10104. type: integer
  10105. - description: 资金账户 - 格式:1,2,3
  10106. in: query
  10107. name: accountID
  10108. required: true
  10109. type: string
  10110. - description: 资金操作类型 - 格式:1,2,3
  10111. in: query
  10112. name: OperateType
  10113. type: string
  10114. produces:
  10115. - application/json
  10116. responses:
  10117. "200":
  10118. description: OK
  10119. schema:
  10120. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  10121. "500":
  10122. description: Internal Server Error
  10123. schema:
  10124. $ref: '#/definitions/app.Response'
  10125. security:
  10126. - ApiKeyAuth: []
  10127. summary: 资金流水查询(当前)
  10128. tags:
  10129. - 资金账户
  10130. /TaAccount/QueryHisAmountLog:
  10131. get:
  10132. parameters:
  10133. - description: 页码
  10134. in: query
  10135. name: page
  10136. type: integer
  10137. - description: 每页条数
  10138. in: query
  10139. name: pagesize
  10140. type: integer
  10141. - description: 资金账户 - 格式:1,2,3
  10142. in: query
  10143. name: accountID
  10144. required: true
  10145. type: string
  10146. - description: 资金操作类型 - 格式:1,2,3
  10147. in: query
  10148. name: OperateType
  10149. type: string
  10150. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  10151. in: query
  10152. name: startDate
  10153. type: string
  10154. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  10155. in: query
  10156. name: endDate
  10157. type: string
  10158. produces:
  10159. - application/json
  10160. responses:
  10161. "200":
  10162. description: OK
  10163. schema:
  10164. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  10165. "500":
  10166. description: Internal Server Error
  10167. schema:
  10168. $ref: '#/definitions/app.Response'
  10169. security:
  10170. - ApiKeyAuth: []
  10171. summary: 资金流水查询(历史)
  10172. tags:
  10173. - 资金账户
  10174. /Trade/QueryRecieptOrder:
  10175. get:
  10176. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  10177. parameters:
  10178. - description: 页码
  10179. in: query
  10180. name: page
  10181. type: integer
  10182. - description: 每页条数
  10183. in: query
  10184. name: pagesize
  10185. type: integer
  10186. - description: 商品ID
  10187. in: query
  10188. name: goodsID
  10189. required: true
  10190. type: integer
  10191. - description: 所属账户名称
  10192. in: query
  10193. name: accountName
  10194. type: string
  10195. - description: 市场ID
  10196. in: query
  10197. name: marketID
  10198. type: integer
  10199. - description: 方向 - 0:买 1:卖
  10200. in: query
  10201. name: buyorsell
  10202. required: true
  10203. type: integer
  10204. produces:
  10205. - application/json
  10206. responses:
  10207. "200":
  10208. description: OK
  10209. schema:
  10210. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  10211. "500":
  10212. description: Internal Server Error
  10213. schema:
  10214. $ref: '#/definitions/app.Response'
  10215. security:
  10216. - ApiKeyAuth: []
  10217. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  10218. tags:
  10219. - 通用交易
  10220. /User/AddMessageBoard:
  10221. post:
  10222. parameters:
  10223. - description: 用户ID
  10224. in: query
  10225. name: userID
  10226. required: true
  10227. type: integer
  10228. - description: 留言信息
  10229. in: query
  10230. name: message
  10231. required: true
  10232. type: string
  10233. produces:
  10234. - application/json
  10235. responses:
  10236. "200":
  10237. description: OK
  10238. schema:
  10239. $ref: '#/definitions/app.Response'
  10240. "500":
  10241. description: Internal Server Error
  10242. schema:
  10243. $ref: '#/definitions/app.Response'
  10244. security:
  10245. - ApiKeyAuth: []
  10246. summary: 添加用户留言板信息
  10247. tags:
  10248. - 用户信息
  10249. /User/AddUserFavoriteGoods:
  10250. post:
  10251. parameters:
  10252. - description: 用户ID
  10253. in: query
  10254. name: userID
  10255. required: true
  10256. type: integer
  10257. - description: 商品ID
  10258. in: query
  10259. name: goodsID
  10260. required: true
  10261. type: integer
  10262. produces:
  10263. - application/json
  10264. responses:
  10265. "200":
  10266. description: OK
  10267. schema:
  10268. $ref: '#/definitions/app.Response'
  10269. "500":
  10270. description: Internal Server Error
  10271. schema:
  10272. $ref: '#/definitions/app.Response'
  10273. security:
  10274. - ApiKeyAuth: []
  10275. summary: 添加用户商品收藏信息
  10276. tags:
  10277. - 用户信息
  10278. /User/GetLoginID:
  10279. get:
  10280. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  10281. parameters:
  10282. - description: 登录代码
  10283. in: query
  10284. name: username
  10285. required: true
  10286. type: string
  10287. produces:
  10288. - application/json
  10289. responses:
  10290. "200":
  10291. description: OK
  10292. schema:
  10293. $ref: '#/definitions/app.Response'
  10294. "500":
  10295. description: Internal Server Error
  10296. schema:
  10297. $ref: '#/definitions/app.Response'
  10298. summary: 获取登录ID
  10299. tags:
  10300. - 用户信息
  10301. /User/GetUserAccount:
  10302. get:
  10303. parameters:
  10304. - description: 用户ID
  10305. in: query
  10306. name: userID
  10307. required: true
  10308. type: integer
  10309. produces:
  10310. - application/json
  10311. responses:
  10312. "200":
  10313. description: OK
  10314. schema:
  10315. $ref: '#/definitions/models.Useraccount'
  10316. "500":
  10317. description: Internal Server Error
  10318. schema:
  10319. $ref: '#/definitions/app.Response'
  10320. security:
  10321. - ApiKeyAuth: []
  10322. summary: 获取用户账号信息
  10323. tags:
  10324. - 用户信息
  10325. /User/GetUserAuthStatus:
  10326. get:
  10327. parameters:
  10328. - description: 用户ID
  10329. in: query
  10330. name: userID
  10331. required: true
  10332. type: integer
  10333. produces:
  10334. - application/json
  10335. responses:
  10336. "200":
  10337. description: OK
  10338. schema:
  10339. $ref: '#/definitions/app.Response'
  10340. "500":
  10341. description: Internal Server Error
  10342. schema:
  10343. $ref: '#/definitions/app.Response'
  10344. security:
  10345. - ApiKeyAuth: []
  10346. summary: 获取用户实名认证状态
  10347. tags:
  10348. - 用户信息
  10349. /User/QueryMessageBoard:
  10350. get:
  10351. parameters:
  10352. - description: 用户ID
  10353. in: query
  10354. name: userID
  10355. required: true
  10356. type: integer
  10357. produces:
  10358. - application/json
  10359. responses:
  10360. "200":
  10361. description: OK
  10362. schema:
  10363. $ref: '#/definitions/models.Messageboard'
  10364. "500":
  10365. description: Internal Server Error
  10366. schema:
  10367. $ref: '#/definitions/app.Response'
  10368. security:
  10369. - ApiKeyAuth: []
  10370. summary: 获取用户留言板信息
  10371. tags:
  10372. - 用户信息
  10373. /User/QueryUserFavoriteGoodses:
  10374. get:
  10375. parameters:
  10376. - description: 用户ID
  10377. in: query
  10378. name: userID
  10379. required: true
  10380. type: integer
  10381. produces:
  10382. - application/json
  10383. responses:
  10384. "200":
  10385. description: OK
  10386. schema:
  10387. $ref: '#/definitions/models.Userfavoritegoods'
  10388. "500":
  10389. description: Internal Server Error
  10390. schema:
  10391. $ref: '#/definitions/app.Response'
  10392. security:
  10393. - ApiKeyAuth: []
  10394. summary: 获取用户商品收藏信息
  10395. tags:
  10396. - 用户信息
  10397. /User/QueryUserInfo:
  10398. get:
  10399. parameters:
  10400. - description: 用户ID
  10401. in: query
  10402. name: userID
  10403. required: true
  10404. type: integer
  10405. produces:
  10406. - application/json
  10407. responses:
  10408. "200":
  10409. description: OK
  10410. schema:
  10411. $ref: '#/definitions/models.Userinfo'
  10412. "500":
  10413. description: Internal Server Error
  10414. schema:
  10415. $ref: '#/definitions/app.Response'
  10416. security:
  10417. - ApiKeyAuth: []
  10418. summary: 获取用户信息
  10419. tags:
  10420. - 用户信息
  10421. /User/QueryUserReferNum:
  10422. get:
  10423. parameters:
  10424. - description: 用户ID
  10425. in: query
  10426. name: userID
  10427. required: true
  10428. type: integer
  10429. produces:
  10430. - application/json
  10431. responses:
  10432. "200":
  10433. description: OK
  10434. schema:
  10435. $ref: '#/definitions/app.Response'
  10436. "500":
  10437. description: Internal Server Error
  10438. schema:
  10439. $ref: '#/definitions/app.Response'
  10440. summary: 获取用户邀请码
  10441. tags:
  10442. - 用户信息
  10443. /User/RemoveUserFavoriteGoods:
  10444. post:
  10445. parameters:
  10446. - description: 用户ID
  10447. in: query
  10448. name: userID
  10449. required: true
  10450. type: integer
  10451. - description: 商品ID
  10452. in: query
  10453. name: goodsID
  10454. required: true
  10455. type: integer
  10456. produces:
  10457. - application/json
  10458. responses:
  10459. "200":
  10460. description: OK
  10461. schema:
  10462. $ref: '#/definitions/app.Response'
  10463. "500":
  10464. description: Internal Server Error
  10465. schema:
  10466. $ref: '#/definitions/app.Response'
  10467. security:
  10468. - ApiKeyAuth: []
  10469. summary: 移除用户商品收藏信息
  10470. tags:
  10471. - 用户信息
  10472. /WR/GetWRCategoryInfo:
  10473. get:
  10474. produces:
  10475. - application/json
  10476. responses:
  10477. "200":
  10478. description: OK
  10479. schema:
  10480. $ref: '#/definitions/models.WRCategoryTree'
  10481. "500":
  10482. description: Internal Server Error
  10483. schema:
  10484. $ref: '#/definitions/app.Response'
  10485. summary: 获取现货分类信息
  10486. tags:
  10487. - 仓单服务
  10488. /WRTrade/GetAllDeliveryGoods:
  10489. get:
  10490. produces:
  10491. - application/json
  10492. - application/json
  10493. responses:
  10494. "200":
  10495. description: OK
  10496. schema:
  10497. $ref: '#/definitions/app.Response'
  10498. "500":
  10499. description: Internal Server Error
  10500. schema:
  10501. $ref: '#/definitions/app.Response'
  10502. security:
  10503. - ApiKeyAuth: []
  10504. - ApiKeyAuth: []
  10505. summary: 获取带仓单分类的种类信息
  10506. tags:
  10507. - 仓单贸易
  10508. - 仓单贸易
  10509. securityDefinitions:
  10510. ApiKeyAuth:
  10511. in: header
  10512. name: Authorization
  10513. type: apiKey
  10514. swagger: "2.0"