swagger.yaml 290 KB

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