swagger.yaml 352 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.QueryNoticeRsp:
  22. properties:
  23. auditoruserid:
  24. description: 审核人
  25. type: integer
  26. auditremark:
  27. description: 审核备注
  28. type: string
  29. audittime:
  30. description: 审核日期
  31. type: string
  32. autoid:
  33. description: 自增ID
  34. type: integer
  35. content:
  36. description: 内容
  37. type: string
  38. createtime:
  39. description: 创建时间
  40. type: string
  41. creatorid:
  42. description: 建仓人
  43. type: integer
  44. endtime:
  45. description: 结束时间
  46. type: string
  47. istop:
  48. description: 是否置顶 - 0:不置顶 1:置顶
  49. type: integer
  50. msgiconurl:
  51. description: 消息图标Url
  52. type: string
  53. msgtype:
  54. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  55. type: integer
  56. publisher:
  57. description: 消息发布者
  58. type: string
  59. readed:
  60. description: 是否已读
  61. type: boolean
  62. scheduletime:
  63. description: 计划发送时间
  64. type: string
  65. sendtype:
  66. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  67. type: integer
  68. sentstatus:
  69. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  70. type: integer
  71. title:
  72. description: 标题
  73. type: string
  74. userid:
  75. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  76. type: integer
  77. required:
  78. - autoid
  79. type: object
  80. common.QueryProvincesAndCitiesRsp:
  81. properties:
  82. cities:
  83. description: 市
  84. items:
  85. $ref: '#/definitions/models.Division'
  86. type: array
  87. province:
  88. $ref: '#/definitions/models.Division'
  89. description: 省
  90. type: object
  91. common.QueryTableDefineRsp:
  92. properties:
  93. columns:
  94. description: 列头信息数组
  95. items:
  96. $ref: '#/definitions/models.Tablecolumnconfig'
  97. type: array
  98. remark:
  99. description: Remark
  100. type: string
  101. tabelmenu:
  102. description: 列表菜单
  103. type: string
  104. tablekey:
  105. description: 列表Key
  106. type: string
  107. tablename:
  108. description: 列表名称
  109. type: string
  110. tabletype:
  111. description: 列表类型 - 1:管理端 2:终端
  112. type: integer
  113. required:
  114. - tablekey
  115. type: object
  116. common.QueryTraderMenuRsp:
  117. properties:
  118. OperationMenu:
  119. description: 功能菜单
  120. items:
  121. $ref: '#/definitions/models.OperationPrimaryMenu'
  122. type: array
  123. QuoteMenu:
  124. description: 报价牌分类菜单
  125. items:
  126. $ref: '#/definitions/models.QuotePrimaryMenu'
  127. type: array
  128. type: object
  129. cptrade.Cptradepositioncancel:
  130. properties:
  131. accountid:
  132. description: 申请人账户ID
  133. type: integer
  134. applystatus:
  135. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  136. type: integer
  137. applytime:
  138. description: 申请时间
  139. type: string
  140. cancelid:
  141. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  142. type: integer
  143. cancelqty:
  144. description: 注销数量
  145. type: integer
  146. createtime:
  147. description: 创建时间
  148. type: string
  149. creatorid:
  150. description: 创建人ID
  151. type: integer
  152. creatorname:
  153. description: 创建人
  154. type: string
  155. goodscode:
  156. description: 订单商品代码
  157. type: string
  158. goodsid:
  159. description: 商品ID
  160. type: integer
  161. goodsname:
  162. description: 订单商品名称
  163. type: string
  164. goodunit:
  165. description: 报价单位
  166. type: string
  167. handlestatus:
  168. description: 处理状态
  169. type: integer
  170. marketid:
  171. description: 市场ID
  172. type: integer
  173. marketname:
  174. description: 市场名称
  175. type: string
  176. tradedate:
  177. description: 交易日(yyyyMMdd)
  178. type: string
  179. userid:
  180. description: 申请人ID
  181. type: integer
  182. required:
  183. - cancelid
  184. type: object
  185. cptrade.Cptradepresaleapply:
  186. properties:
  187. accountid:
  188. description: 申请人账户ID
  189. type: integer
  190. applyid:
  191. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  192. type: integer
  193. applyremark:
  194. description: 申请备注
  195. type: string
  196. applystatus:
  197. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  198. type: integer
  199. applytime:
  200. description: 申请时间
  201. type: string
  202. attachmenturl:
  203. description: 附件地址
  204. type: string
  205. endtime:
  206. description: 预售结束时间
  207. type: string
  208. goodscode:
  209. description: 商品代码
  210. type: string
  211. goodsid:
  212. description: 商品ID
  213. type: integer
  214. goodsname:
  215. description: 商品名称
  216. type: string
  217. goodunit:
  218. description: 报价单位
  219. type: string
  220. handlestatus:
  221. description: 处理状态
  222. type: integer
  223. marketid:
  224. description: 预售市场ID
  225. type: integer
  226. marketname:
  227. description: 预售市场名称
  228. type: string
  229. presaleqty:
  230. description: 预售数量
  231. type: integer
  232. relatedgoodscode:
  233. description: 关联交易合约代码
  234. type: string
  235. relatedgoodsid:
  236. description: 关联交易合约ID
  237. type: integer
  238. relatedgoodsname:
  239. description: 关联交易合约名称
  240. type: string
  241. starttime:
  242. description: 预售开始时间
  243. type: string
  244. tradedate:
  245. description: 交易日(yyyyMMdd)
  246. type: string
  247. trademode:
  248. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  249. type: integer
  250. userid:
  251. description: 申请人ID
  252. type: integer
  253. required:
  254. - applyid
  255. type: object
  256. cptrade.Cptradeusergoodsdata:
  257. properties:
  258. EnabledQty:
  259. description: 可用量
  260. type: integer
  261. GoodsCode:
  262. description: 订单商品代码
  263. type: string
  264. GoodsName:
  265. description: 订单商品名称
  266. type: string
  267. WRStandardCode:
  268. description: 仓单标准代码
  269. type: string
  270. WRStandardName:
  271. description: 仓单标准名称
  272. type: string
  273. accountid:
  274. description: 账户ID
  275. type: integer
  276. cancelqty:
  277. description: 注销量
  278. type: integer
  279. curpresaleqty:
  280. description: 当前预售量
  281. type: integer
  282. deliveryqty:
  283. description: 交割量
  284. type: integer
  285. freezeamount:
  286. description: 冻结金额
  287. type: number
  288. goodsid:
  289. description: 商品ID
  290. type: integer
  291. goodunit:
  292. description: 报价单位
  293. type: string
  294. hasspotfreeze:
  295. description: 是否有现货冻结 - 0:否 1:有
  296. type: integer
  297. inqty:
  298. description: 转入量(总数量)
  299. type: integer
  300. marketid:
  301. description: 市场ID
  302. type: integer
  303. presaledamount:
  304. description: 已预售总金额
  305. type: integer
  306. presaledqty:
  307. description: 已预售量
  308. type: integer
  309. userid:
  310. description: 用户ID
  311. type: integer
  312. wrstandardid:
  313. description: 仓单标准ID
  314. type: integer
  315. required:
  316. - accountid
  317. - goodsid
  318. type: object
  319. cptrade.QueryCPTradeMyBidRsp:
  320. properties:
  321. accountid:
  322. description: 账户ID[报价币种]
  323. type: integer
  324. goodsid:
  325. description: 商品ID
  326. type: integer
  327. goodunit:
  328. description: 报价单位
  329. type: string
  330. marketid:
  331. description: 市场ID
  332. type: integer
  333. orderid:
  334. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  335. type: integer
  336. orderprice:
  337. description: 委托价格
  338. type: number
  339. orderqty:
  340. description: 委托数量
  341. type: integer
  342. ordertime:
  343. description: 委托时间
  344. type: string
  345. ordertotalprice:
  346. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  347. type: number
  348. ordertotalweight:
  349. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  350. type: integer
  351. totaltotalprice:
  352. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  353. type: number
  354. tradeprice:
  355. description: 成交价格
  356. type: number
  357. tradeqty:
  358. description: 成交数量
  359. type: integer
  360. required:
  361. - accountid
  362. - goodsid
  363. - marketid
  364. - orderid
  365. - orderqty
  366. - ordertime
  367. - tradeprice
  368. - tradeqty
  369. type: object
  370. cptrade.QueryCPTradeOrderDetailRsq:
  371. properties:
  372. accountid:
  373. description: 账户ID[报价币种]
  374. type: integer
  375. buildtype:
  376. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  377. type: integer
  378. buyorsell:
  379. description: 买卖 - 0:买 1:卖
  380. type: integer
  381. cancelorderid:
  382. description: 撤单单号(撤单时填写)
  383. type: integer
  384. cancelqty:
  385. description: 撤单数量
  386. type: integer
  387. clientordertime:
  388. description: 客户端委托时间
  389. type: string
  390. clientticket:
  391. description: 客户端流水号
  392. type: string
  393. clienttype:
  394. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  395. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  396. type: integer
  397. closeexchagechargevalue:
  398. description: 平仓交易所手续费设置值
  399. type: number
  400. closefeealgorithm:
  401. description: 平仓手续费收取方式 1:比率 2:固定
  402. type: integer
  403. closefreezecharge:
  404. description: 平仓冻结手续费(先建后平操作,需要记录)
  405. type: number
  406. closememberchargevalue:
  407. description: 平仓会员手续费设置值
  408. type: number
  409. closeqty:
  410. description: 平仓数量(先建后平操作 需要记录)
  411. type: integer
  412. closetradeqty:
  413. description: 平仓成交数量(先建后平操作,需要记录)
  414. type: integer
  415. closeunfreezecharge:
  416. description: 平仓解冻手续费(先建后平操作,需要记录)
  417. type: number
  418. delistingtype:
  419. description: 摘牌类型 - 1:价格最优 2:点选成交
  420. type: integer
  421. freezecharge:
  422. description: 冻结手续费
  423. type: number
  424. freezemargin:
  425. description: 冻结保证金(冻结交易金额)
  426. type: number
  427. gcaccountid:
  428. description: 账户ID[合约币种]
  429. type: integer
  430. goodsid:
  431. description: 商品ID
  432. type: integer
  433. isconfirmexercise:
  434. description: 是否确认行权- 0:否 1:是
  435. type: integer
  436. ispreexercise:
  437. description: 是否预申报- 0:否 1:是
  438. type: integer
  439. listingselecttype:
  440. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  441. type: integer
  442. marginalgorithm:
  443. description: 保证金收取方式 1:比率 2:固定
  444. type: integer
  445. marginvalue:
  446. description: 即市保证金设置值
  447. type: number
  448. marketid:
  449. description: 市场ID
  450. type: integer
  451. marketmaxsub:
  452. description: 市价最大偏移范围
  453. type: number
  454. memberuserid:
  455. description: 所属会员UserID
  456. type: integer
  457. openexchagechargevalue:
  458. description: 建仓交易所手续费设置值
  459. type: number
  460. openfeealgorithm:
  461. description: 建仓手续费收取方式 1:比率 2:固定
  462. type: integer
  463. openfreezecharge:
  464. description: 开仓冻结手续费(先建后平操作,需要记录)
  465. type: number
  466. openmemberchargevalue:
  467. description: 建仓会员手续费设置值
  468. type: number
  469. openqty:
  470. description: 开仓数量(先建后平操作,需要记录)
  471. type: integer
  472. opentradeqty:
  473. description: 开仓成交数量(先建后平操作,需要记录)
  474. type: integer
  475. openunfreezecharge:
  476. description: 开仓解冻手续费(先建后平操作,需要记录)
  477. type: number
  478. operatetype:
  479. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  480. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  481. 15:管理端协议转让
  482. type: integer
  483. operatorid:
  484. description: 登录账号(LoginID)
  485. type: integer
  486. optiontype:
  487. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  488. type: integer
  489. orderprice:
  490. description: 委托价格
  491. type: number
  492. orderqty:
  493. description: 委托数量
  494. type: integer
  495. ordersrc:
  496. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  497. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  498. type: integer
  499. orderstatus:
  500. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  501. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  502. 16:成交失败违约(荷兰式竞拍专用)
  503. type: integer
  504. ordertime:
  505. description: 委托时间
  506. type: string
  507. preexerciseprice:
  508. description: 预申报价格
  509. type: number
  510. premium:
  511. description: 权利金
  512. type: number
  513. preorderid:
  514. description: 关联预埋单号(止盈止损单时填写)
  515. type: integer
  516. pricemode:
  517. description: '取价方式 - 1:市价 2: 限价'
  518. type: integer
  519. quoteid:
  520. description: 报价单ID
  521. type: integer
  522. relatedid:
  523. description: 关联单号(交割单)
  524. type: integer
  525. retcode:
  526. description: 错误代码
  527. type: integer
  528. sessionid:
  529. description: 会话ID
  530. type: integer
  531. strorderid:
  532. description: 委托单号
  533. type: string
  534. tradedate:
  535. description: 交易日(yyyyMMdd)
  536. type: string
  537. tradeproperty:
  538. description: 交易属性
  539. type: integer
  540. tradeqty:
  541. description: 成交数量
  542. type: integer
  543. unfreezecharge:
  544. description: 解冻手续费
  545. type: number
  546. unfreezemargin:
  547. description: 解冻保证金
  548. type: number
  549. updatetime:
  550. description: 更新时间
  551. type: string
  552. uuid:
  553. description: 发起端唯一id
  554. type: string
  555. validtime:
  556. description: 有效期限
  557. type: string
  558. validtype:
  559. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  560. type: integer
  561. volumetype:
  562. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  563. type: integer
  564. required:
  565. - accountid
  566. - buildtype
  567. - buyorsell
  568. - goodsid
  569. - marketid
  570. - memberuserid
  571. - operatetype
  572. - orderqty
  573. - ordertime
  574. - pricemode
  575. - strorderid
  576. - tradedate
  577. - validtype
  578. type: object
  579. cptrade.QueryMyCPTradeGoodsRsp:
  580. properties:
  581. accountid:
  582. description: 卖方账户ID
  583. type: integer
  584. agreeunit:
  585. description: 合约单位
  586. type: number
  587. applyid:
  588. description: 关联申请ID
  589. type: integer
  590. attachmenturl:
  591. description: 附件地址
  592. type: string
  593. createtime:
  594. description: 创建时间
  595. type: string
  596. currencyid:
  597. description: 报价货币ID
  598. type: integer
  599. decimalplace:
  600. description: 报价小数位
  601. type: integer
  602. endtime:
  603. description: 预售结束时间
  604. type: string
  605. floorprice:
  606. description: 底价[大宗式竞拍]
  607. type: number
  608. goodscode:
  609. description: 商品代码(预售)
  610. type: string
  611. goodsdetail:
  612. description: 详情[大宗]
  613. type: string
  614. goodsid:
  615. description: 商品ID(自增ID SEQ_GOODS)
  616. type: integer
  617. goodsname:
  618. description: 商品名称(预售)
  619. type: string
  620. goodunit:
  621. description: 报价单位
  622. type: string
  623. goodunitid:
  624. description: 报价单位ID
  625. type: integer
  626. marketid:
  627. description: 所属市场ID
  628. type: integer
  629. marketname:
  630. description: 预售市场名称
  631. type: string
  632. presaledamount:
  633. description: 已预售总金额(预售结束时更新)
  634. type: number
  635. presaledqty:
  636. description: 已预售量(预售结束时更新)
  637. type: integer
  638. presalemode:
  639. description: 预售模式 - 1:一口价 2:大宗式竞拍
  640. type: integer
  641. presaleqty:
  642. description: 预售数量
  643. type: integer
  644. refprice:
  645. description: 参考价格[一口价]
  646. type: number
  647. relatedgoodscode:
  648. description: 商品代码(订单)
  649. type: string
  650. relatedgoodsid:
  651. description: 关联交易合约ID
  652. type: integer
  653. relatedgoodsname:
  654. description: 商品名称(订单)
  655. type: string
  656. relatedmarketid:
  657. description: 关联交易合约市场ID
  658. type: integer
  659. sellstatus:
  660. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  661. type: integer
  662. startprice:
  663. description: 起拍价[大宗式竞拍]
  664. type: number
  665. starttime:
  666. description: 预售开始时间
  667. type: string
  668. tradedate:
  669. description: 交易日(yyyyMMdd)
  670. type: string
  671. tradeprice:
  672. description: 成交价[大宗]
  673. type: number
  674. userid:
  675. description: 卖方用户ID
  676. type: integer
  677. required:
  678. - goodscode
  679. - goodsid
  680. - goodsname
  681. - marketid
  682. - relatedgoodscode
  683. - relatedgoodsname
  684. type: object
  685. cptrade.QueryPresaleGoodsExRsp:
  686. properties:
  687. attachmenturl:
  688. description: 附件地址
  689. type: string
  690. createtime:
  691. description: 创建时间
  692. type: string
  693. endtime:
  694. description: 预售结束时间
  695. type: string
  696. floorprice:
  697. description: 底价[大宗式竞拍]
  698. type: number
  699. goodsdetail:
  700. description: 详情[大宗]
  701. type: string
  702. goodsid:
  703. description: 商品ID(预售)
  704. type: integer
  705. goodunit:
  706. description: 报价单位
  707. type: string
  708. marketid:
  709. description: 预售市场ID - 根据预售模式选择市场
  710. type: integer
  711. presaledamount:
  712. description: 已预售总金额(预售结束时更新)
  713. type: number
  714. presaledqty:
  715. description: 已预售量(预售结束时更新)
  716. type: integer
  717. presalemode:
  718. description: 预售模式 - 1:一口价 2:大宗式竞拍
  719. type: integer
  720. presaleqty:
  721. description: 预售数量
  722. type: integer
  723. refprice:
  724. description: 参考价格[一口价]
  725. type: number
  726. relatedgoodsid:
  727. description: 关联交易合约ID
  728. type: integer
  729. relatedmarketid:
  730. description: 关联交易合约市场ID
  731. type: integer
  732. sellstatus:
  733. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  734. type: integer
  735. startprice:
  736. description: 起拍价[大宗式竞拍]
  737. type: number
  738. starttime:
  739. description: 预售开始时间
  740. type: string
  741. tradedate:
  742. description: 交易日(yyyyMMdd)
  743. type: string
  744. tradeprice:
  745. description: 成交价[大宗]
  746. type: number
  747. required:
  748. - goodsid
  749. type: object
  750. delivery.QueryDeliveryRelationRsp:
  751. properties:
  752. begindate:
  753. description: 起始日期(yyyyMMdd)
  754. type: string
  755. buytemplateid:
  756. description: 买履约计划模板ID
  757. type: integer
  758. deliverygoodscode:
  759. description: 品种代码
  760. type: string
  761. deliverygoodsid:
  762. description: 交割商品
  763. type: integer
  764. deliverygoodsname:
  765. description: 品种名称
  766. type: string
  767. deliverymode:
  768. description: 交割方式 - 1:点选式 2:申报式
  769. type: integer
  770. deliverypricerule:
  771. description: 交割价规则- 1:行情价 2:建仓价
  772. type: integer
  773. deliverytype:
  774. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  775. type: integer
  776. enddate:
  777. description: 结束日期(yyyyMMdd)
  778. type: string
  779. goodscode:
  780. description: 商品代码
  781. type: string
  782. goodsid:
  783. description: 交易合约ID
  784. type: integer
  785. goodsname:
  786. description: 商品名称
  787. type: string
  788. marketid:
  789. description: 市场ID
  790. type: integer
  791. mindeliveryqty:
  792. description: 最小交割系数(K)
  793. type: integer
  794. p2deliveryprice:
  795. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  796. type: number
  797. p2deliveryratio:
  798. description: P2合约系数(p)
  799. type: integer
  800. p2goodsid:
  801. description: P2合约ID
  802. type: integer
  803. p2pricemode:
  804. description: P2合约价格方式 - 1:商品价 2:固定值
  805. type: integer
  806. pdeliveryprice:
  807. description: P合约价格(商品价时填写0,固定值时填写固定值)
  808. type: number
  809. pdeliveryratio:
  810. description: P合约系数(n)
  811. type: integer
  812. pgoodsid:
  813. description: P合约ID
  814. type: integer
  815. ppricemode:
  816. description: P合约价格方式 - 1:商品价 2:固定值
  817. type: integer
  818. rratio:
  819. description: 兑换系数(R)
  820. type: integer
  821. rratio1:
  822. description: 兑换系数(交易合约)(R1)
  823. type: integer
  824. rratio2:
  825. description: 兑换系数(仓单标准)(R2)
  826. type: integer
  827. selltemplateid:
  828. description: 卖履约计划模板ID
  829. type: integer
  830. wrstandardid:
  831. description: 仓单标准ID
  832. type: integer
  833. xdeliveryratio:
  834. description: 交易合约系数(m)
  835. type: integer
  836. required:
  837. - begindate
  838. - enddate
  839. - goodsid
  840. - mindeliveryqty
  841. - xdeliveryratio
  842. type: object
  843. ermcp.ExposureDetailRsp:
  844. properties:
  845. areauserid:
  846. description: 机构ID
  847. type: integer
  848. changeQty:
  849. description: 套保变动量
  850. type: number
  851. contracttype:
  852. description: 现货合同类型 - 1:采购 -1:销售
  853. type: integer
  854. convertfactor:
  855. description: 标仓系数
  856. type: number
  857. convertratio:
  858. description: 套保系数
  859. type: number
  860. createtime:
  861. description: 时间
  862. type: string
  863. enumdicname:
  864. description: 现货商品单位名称
  865. type: string
  866. logtype:
  867. description: 类型 - 1:套保计划 2:现货合同
  868. type: integer
  869. middlegoodsId:
  870. description: 套保商品id
  871. type: integer
  872. middlegoodscode:
  873. description: 套保商品代码
  874. type: string
  875. middlegoodsname:
  876. description: 套保商品名称
  877. type: string
  878. qty:
  879. description: 数量
  880. type: number
  881. relateNo:
  882. description: 现货合同/套保计划编号
  883. type: string
  884. wrstandardcode:
  885. description: 现货商品代码
  886. type: string
  887. wrstandardid:
  888. description: 现货商品ID
  889. type: integer
  890. wrstandardname:
  891. description: 现货商品名称
  892. type: string
  893. type: object
  894. ermcp.ExposureHedgePosDetailRsp:
  895. properties:
  896. buyorsell:
  897. description: 买卖方向 0-买 1-卖
  898. type: integer
  899. channelbuildtype:
  900. description: 开平方向 1-建仓 2-平仓
  901. type: integer
  902. goodscode:
  903. description: 商品代码
  904. type: string
  905. goodsname:
  906. description: 商品名称
  907. type: string
  908. hedgegoodsid:
  909. description: 商品id
  910. type: integer
  911. tradeqty:
  912. description: 数量(成交数量)
  913. type: integer
  914. tradetime:
  915. description: 时间(成交时间)
  916. type: string
  917. type: object
  918. ermcp.ExposureHedgePositionRsp:
  919. properties:
  920. accountid:
  921. description: 资金账号[外部母账户]
  922. type: integer
  923. curbuyposition:
  924. description: 期末买头寸
  925. type: integer
  926. cursellposition:
  927. description: 期末卖头寸
  928. type: integer
  929. curtdbuyposition:
  930. description: 期末今日买头寸
  931. type: integer
  932. curtdsellposition:
  933. description: 期末今日卖头寸
  934. type: integer
  935. curydbuyposition:
  936. description: 期末上日买头寸
  937. type: integer
  938. curydsellposition:
  939. description: 期末上日卖头寸
  940. type: integer
  941. decreaseqty:
  942. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  943. type: integer
  944. fretdbuyposition:
  945. description: 冻结今日买头寸
  946. type: integer
  947. fretdsellposition:
  948. description: 冻结今日卖头寸
  949. type: integer
  950. freydbuyposition:
  951. description: 冻结上日买头寸
  952. type: integer
  953. freydsellposition:
  954. description: 冻结上日卖头寸
  955. type: integer
  956. goodscode:
  957. description: 商品代码
  958. type: string
  959. goodsid:
  960. description: 商品id
  961. type: integer
  962. goodsname:
  963. description: 商品名称
  964. type: string
  965. hedgeaccountcode:
  966. description: 对冲账号
  967. type: string
  968. hedgegoodsid:
  969. description: 对冲合约ID
  970. type: integer
  971. increaseqty:
  972. description: 增加数量 = 期末买头寸 - 期初买头寸
  973. type: integer
  974. marketid:
  975. description: 市场ID
  976. type: integer
  977. relateduserid:
  978. description: 关联用户id
  979. type: integer
  980. totalcurqty:
  981. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  982. type: integer
  983. totalydqty:
  984. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  985. type: integer
  986. tradedate:
  987. description: 交易日(yyyyMMdd)
  988. type: string
  989. ydbuyposition:
  990. description: 期初买头寸
  991. type: integer
  992. ydsellposition:
  993. description: 期初卖头寸
  994. type: integer
  995. type: object
  996. ermcp.ExposureSpotDetailRsp:
  997. properties:
  998. contracttype:
  999. description: 合同类型 1-采购 -1-销售
  1000. type: integer
  1001. createtime:
  1002. description: 创建时间
  1003. type: string
  1004. enumdicname:
  1005. description: 现货商品单位名称
  1006. type: string
  1007. logtype:
  1008. description: 记录类型 1-套保 2-现货合同
  1009. type: integer
  1010. qty:
  1011. description: 数量
  1012. type: number
  1013. recordname:
  1014. description: 类型名称
  1015. type: string
  1016. relatedid:
  1017. description: 套保计划ID/现货合同ID
  1018. type: string
  1019. relatedno:
  1020. description: 编号
  1021. type: string
  1022. strtime:
  1023. description: 时间
  1024. type: string
  1025. wrstandardcode:
  1026. description: 现货商品代码
  1027. type: string
  1028. wrstandardname:
  1029. description: 现货商品名称
  1030. type: string
  1031. type: object
  1032. ermcp.ExposureSpotRsp:
  1033. properties:
  1034. areauserid:
  1035. description: 所属机构
  1036. type: integer
  1037. decreaseqty:
  1038. description: 减少数量=-(销售已定价数量+采购计划数量)
  1039. type: number
  1040. increaseqty:
  1041. description: 增加数量=销售计划数量+采购已定价数量
  1042. type: number
  1043. oritoalspotqty:
  1044. description: 昨日数量
  1045. type: number
  1046. totalspotqty:
  1047. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1048. type: number
  1049. updatetime:
  1050. description: 更新时间
  1051. type: string
  1052. wrstandardcode:
  1053. description: 现货品种代码
  1054. type: string
  1055. wrstandardid:
  1056. description: 现货商品ID
  1057. type: integer
  1058. wrstandardname:
  1059. description: 现货品种
  1060. type: string
  1061. type: object
  1062. ermcp.HisExposureRsp:
  1063. properties:
  1064. data:
  1065. description: 历史敞口
  1066. items:
  1067. $ref: '#/definitions/models.ErmcpHisExposure'
  1068. type: array
  1069. enumdicname:
  1070. description: 单位名称
  1071. type: string
  1072. middlegoodscode:
  1073. description: 套保品种代码
  1074. type: string
  1075. middlegoodsid:
  1076. description: 套保品种ID
  1077. type: integer
  1078. middlegoodsname:
  1079. description: 套保品种名称
  1080. type: string
  1081. type: object
  1082. ermcp.PendingAuditCntRsp:
  1083. properties:
  1084. businessdjqty:
  1085. description: '待审核数量: 点价'
  1086. type: integer
  1087. businessfpqty:
  1088. description: '待审核数量: 发票'
  1089. type: integer
  1090. businessjsqty:
  1091. description: '待审核数量: 结算'
  1092. type: integer
  1093. businesskxqty:
  1094. description: '待审核数量: 款项'
  1095. type: integer
  1096. hedgeplanqty:
  1097. description: '待审核数量: 套保计划'
  1098. type: integer
  1099. spotcontractqty:
  1100. description: '待审核数量: 现货合同'
  1101. type: integer
  1102. userqty:
  1103. description: '待审核数量: 用户'
  1104. type: integer
  1105. type: object
  1106. ermcp.QryAvalidGPRsp:
  1107. properties:
  1108. goodsgroupid:
  1109. description: 期货品种id
  1110. type: integer
  1111. goodsgroupname:
  1112. description: 期货品种名称
  1113. type: string
  1114. goodunitid:
  1115. description: 品种单位id
  1116. type: integer
  1117. goodunitname:
  1118. description: 品种单位名称
  1119. type: string
  1120. outergroupcode:
  1121. description: 期货品种代码
  1122. type: string
  1123. type: object
  1124. ermcp.QryBusinessDjRsp:
  1125. properties:
  1126. amount:
  1127. description: 点价金额=(点价价格+升贴水)*点价数量
  1128. type: number
  1129. applyid:
  1130. description: 申请人
  1131. type: string
  1132. applyname:
  1133. description: 申请人名称
  1134. type: string
  1135. applystatus:
  1136. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1137. type: integer
  1138. applytime:
  1139. description: 申请时间
  1140. type: string
  1141. attachurl:
  1142. description: 附件
  1143. type: string
  1144. auditname:
  1145. description: 审核人名称
  1146. type: string
  1147. audittime:
  1148. description: 审核时间
  1149. type: string
  1150. buyusername:
  1151. description: 采购方名称
  1152. type: string
  1153. contractno:
  1154. description: 合同编号
  1155. type: string
  1156. contractstatus:
  1157. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1158. type: integer
  1159. contracttype:
  1160. description: 现货合同类型 - 1:采购 -1:销售
  1161. type: integer
  1162. enumdicname:
  1163. description: 单位名称
  1164. type: string
  1165. goodscode:
  1166. description: 点价合约
  1167. type: string
  1168. goodsname:
  1169. description: 商品名称
  1170. type: string
  1171. operateapplyid:
  1172. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1173. type: string
  1174. operateapplytype:
  1175. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1176. type: integer
  1177. pricedPrice:
  1178. description: 点价价格(非必填)
  1179. type: number
  1180. pricedQty:
  1181. description: 点价数量(非必填)
  1182. type: number
  1183. pricemove:
  1184. description: 升贴水
  1185. type: number
  1186. pricetype:
  1187. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1188. type: integer
  1189. relatedid:
  1190. description: 现货合同ID
  1191. type: string
  1192. sellusername:
  1193. description: 销售方名字
  1194. type: string
  1195. userid:
  1196. description: 用户ID
  1197. type: integer
  1198. type: object
  1199. ermcp.QryBussinessFpRsp:
  1200. properties:
  1201. applyid:
  1202. description: 申请人
  1203. type: string
  1204. applyname:
  1205. description: 申请人名称
  1206. type: string
  1207. applystatus:
  1208. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1209. type: integer
  1210. applytime:
  1211. description: 申请时间
  1212. type: string
  1213. attachurl:
  1214. description: 附件
  1215. type: string
  1216. auditname:
  1217. description: 审核人名称
  1218. type: string
  1219. audittime:
  1220. description: 审核时间
  1221. type: string
  1222. buyusername:
  1223. description: 采购方名称
  1224. type: string
  1225. contractno:
  1226. description: 合同编号
  1227. type: string
  1228. contractstatus:
  1229. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1230. type: integer
  1231. contracttype:
  1232. description: 现货合同类型 - 1:采购 -1:销售
  1233. type: integer
  1234. enumdicname:
  1235. description: 单位名称
  1236. type: string
  1237. goodscode:
  1238. description: 点价合约
  1239. type: string
  1240. goodsname:
  1241. description: 商品名称
  1242. type: string
  1243. invoiceAmount:
  1244. description: 已开收票金额(销售为开票,采购为收票)
  1245. type: number
  1246. operateapplyid:
  1247. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1248. type: string
  1249. operateapplytype:
  1250. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1251. type: integer
  1252. pricemove:
  1253. description: 升贴水
  1254. type: number
  1255. pricetype:
  1256. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1257. type: integer
  1258. relatedid:
  1259. description: 现货合同ID
  1260. type: string
  1261. sellusername:
  1262. description: 销售方名字
  1263. type: string
  1264. userid:
  1265. description: 用户ID
  1266. type: integer
  1267. type: object
  1268. ermcp.QryBussinessJsExRsp:
  1269. properties:
  1270. applyid:
  1271. description: 申请人
  1272. type: string
  1273. applyname:
  1274. description: 申请人名称
  1275. type: string
  1276. applystatus:
  1277. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1278. type: integer
  1279. applytime:
  1280. description: 申请时间
  1281. type: string
  1282. attachurl:
  1283. description: 附件
  1284. type: string
  1285. auditname:
  1286. description: 审核人名称
  1287. type: string
  1288. audittime:
  1289. description: 审核时间
  1290. type: string
  1291. buyusername:
  1292. description: 采购方名称
  1293. type: string
  1294. contractno:
  1295. description: 合同编号
  1296. type: string
  1297. contractstatus:
  1298. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1299. type: integer
  1300. contracttype:
  1301. description: 现货合同类型 - 1:采购 -1:销售
  1302. type: integer
  1303. enumdicname:
  1304. description: 单位名称
  1305. type: string
  1306. goodscode:
  1307. description: 点价合约
  1308. type: string
  1309. goodsname:
  1310. description: 商品名称
  1311. type: string
  1312. operateapplyid:
  1313. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1314. type: string
  1315. operateapplytype:
  1316. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1317. type: integer
  1318. pricemove:
  1319. description: 升贴水
  1320. type: number
  1321. pricetype:
  1322. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1323. type: integer
  1324. reckontype:
  1325. description: 结算类型
  1326. type: string
  1327. reckonvalue:
  1328. description: 值
  1329. type: number
  1330. relatedid:
  1331. description: 现货合同ID
  1332. type: string
  1333. sellusername:
  1334. description: 销售方名字
  1335. type: string
  1336. userid:
  1337. description: 用户ID
  1338. type: integer
  1339. type: object
  1340. ermcp.QryBussinessJsRsp:
  1341. properties:
  1342. addmargin:
  1343. description: 追加保证金(非必填)
  1344. type: number
  1345. applyid:
  1346. description: 申请人
  1347. type: string
  1348. applyname:
  1349. description: 申请人名称
  1350. type: string
  1351. applystatus:
  1352. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1353. type: integer
  1354. applytime:
  1355. description: 申请时间
  1356. type: string
  1357. attachurl:
  1358. description: 附件
  1359. type: string
  1360. auditname:
  1361. description: 审核人名称
  1362. type: string
  1363. audittime:
  1364. description: 审核时间
  1365. type: string
  1366. buyusername:
  1367. description: 采购方名称
  1368. type: string
  1369. contractno:
  1370. description: 合同编号
  1371. type: string
  1372. contractstatus:
  1373. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1374. type: integer
  1375. contracttype:
  1376. description: 现货合同类型 - 1:采购 -1:销售
  1377. type: integer
  1378. decmargin:
  1379. description: 减少保证金(非必填)
  1380. type: number
  1381. enumdicname:
  1382. description: 单位名称
  1383. type: string
  1384. goodscode:
  1385. description: 点价合约
  1386. type: string
  1387. goodsname:
  1388. description: 商品名称
  1389. type: string
  1390. operateapplyid:
  1391. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1392. type: string
  1393. operateapplytype:
  1394. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1395. type: integer
  1396. pricemove:
  1397. description: 升贴水
  1398. type: number
  1399. pricetype:
  1400. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1401. type: integer
  1402. reckonadjustamount:
  1403. description: 结算调整金额(非必填)
  1404. type: number
  1405. reckonosamount:
  1406. description: 结算溢短金额(非必填)
  1407. type: number
  1408. reckonotheramount:
  1409. description: 结算其他费用(非必填)
  1410. type: number
  1411. reckonrealqty:
  1412. description: 结算实际数量(非必填)
  1413. type: number
  1414. relatedid:
  1415. description: 现货合同ID
  1416. type: string
  1417. sellusername:
  1418. description: 销售方名字
  1419. type: string
  1420. userid:
  1421. description: 用户ID
  1422. type: integer
  1423. type: object
  1424. ermcp.QryBussinessKxRsp:
  1425. properties:
  1426. applyid:
  1427. description: 申请人
  1428. type: string
  1429. applyname:
  1430. description: 申请人名称
  1431. type: string
  1432. applystatus:
  1433. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1434. type: integer
  1435. applytime:
  1436. description: 申请时间
  1437. type: string
  1438. attachurl:
  1439. description: 附件
  1440. type: string
  1441. auditname:
  1442. description: 审核人名称
  1443. type: string
  1444. audittime:
  1445. description: 审核时间
  1446. type: string
  1447. buyusername:
  1448. description: 采购方名称
  1449. type: string
  1450. contractno:
  1451. description: 合同编号
  1452. type: string
  1453. contractstatus:
  1454. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1455. type: integer
  1456. contracttype:
  1457. description: 现货合同类型 - 1:采购 -1:销售
  1458. type: integer
  1459. deductamount:
  1460. description: 退款(非必填)
  1461. type: number
  1462. enumdicname:
  1463. description: 单位名称
  1464. type: string
  1465. goodscode:
  1466. description: 点价合约
  1467. type: string
  1468. goodsname:
  1469. description: 商品名称
  1470. type: string
  1471. kxtype:
  1472. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1473. type: integer
  1474. operateapplyid:
  1475. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1476. type: string
  1477. operateapplytype:
  1478. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1479. type: integer
  1480. payamount:
  1481. description: 收付款(非必填)
  1482. type: number
  1483. pricemove:
  1484. description: 升贴水
  1485. type: number
  1486. pricetype:
  1487. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1488. type: integer
  1489. relatedid:
  1490. description: 现货合同ID
  1491. type: string
  1492. sellusername:
  1493. description: 销售方名字
  1494. type: string
  1495. userid:
  1496. description: 用户ID
  1497. type: integer
  1498. type: object
  1499. ermcp.QryErmcpRsp:
  1500. properties:
  1501. accountname:
  1502. description: 账户名称
  1503. type: string
  1504. attachment:
  1505. description: 附件
  1506. type: string
  1507. audittime:
  1508. description: 审核时间
  1509. type: string
  1510. contracctstatus:
  1511. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1512. type: integer
  1513. contractmargin:
  1514. description: 合同保证金
  1515. type: number
  1516. contractno:
  1517. description: 合同编号
  1518. type: string
  1519. contracttype:
  1520. description: 合同类型 1-采购, -1-销售
  1521. type: integer
  1522. convertfactor:
  1523. description: 标仓系数
  1524. type: number
  1525. createtime:
  1526. description: 创建时间
  1527. type: string
  1528. daikaiamount:
  1529. description: 待开票额
  1530. type: number
  1531. deliveryenddate:
  1532. description: 交割结束日
  1533. type: string
  1534. deliverygoodscode:
  1535. description: 现货商品代码
  1536. type: string
  1537. deliverygoodsid:
  1538. description: 现货商品ID
  1539. type: integer
  1540. deliverygoodsname:
  1541. description: 现货商品名称
  1542. type: string
  1543. deliverystartdate:
  1544. description: 交割开始日
  1545. type: string
  1546. enddate:
  1547. description: 点价结束日
  1548. type: string
  1549. enumdicname:
  1550. description: 单位名称
  1551. type: string
  1552. goodscode:
  1553. description: 点价商品代码
  1554. type: string
  1555. goodsid:
  1556. description: 点价商品ID
  1557. type: integer
  1558. goodsname:
  1559. description: 点价商品名称
  1560. type: string
  1561. invoiceamount:
  1562. description: 已开票额
  1563. type: number
  1564. loanamount:
  1565. description: 贷款总额=已定价额+调整金额
  1566. type: number
  1567. margin:
  1568. description: 保证金
  1569. type: number
  1570. payamount:
  1571. description: 已收付额(收款或付款)
  1572. type: number
  1573. price:
  1574. description: 价格
  1575. type: number
  1576. pricedamount:
  1577. description: 已定价额
  1578. type: number
  1579. pricedavg:
  1580. description: 已点均价
  1581. type: number
  1582. pricedqty:
  1583. description: 已定价量
  1584. type: number
  1585. pricemove:
  1586. description: 升贴水
  1587. type: number
  1588. pricetype:
  1589. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1590. type: integer
  1591. producttype:
  1592. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1593. type: integer
  1594. qty:
  1595. description: 合同量
  1596. type: number
  1597. reckonadjustamount:
  1598. description: 调整金额
  1599. type: number
  1600. reckonedamount:
  1601. description: 已收付额(已确定额)
  1602. type: number
  1603. reckonotheramount:
  1604. description: 其它费用
  1605. type: number
  1606. reckonrealqty:
  1607. description: 已确定量
  1608. type: number
  1609. remark:
  1610. description: 备注
  1611. type: string
  1612. spotcontractid:
  1613. description: 合同ID
  1614. type: string
  1615. spotgoodsdesc:
  1616. description: 商品型号(商品规格)
  1617. type: string
  1618. startdate:
  1619. description: 点价开始日
  1620. type: string
  1621. totalamount:
  1622. description: 合计总额
  1623. type: number
  1624. unpayamount:
  1625. description: 待支收额(支付或收款)
  1626. type: number
  1627. unpricedqty:
  1628. description: 未定价量
  1629. type: number
  1630. unsureqty:
  1631. description: 未确定量
  1632. type: number
  1633. userid:
  1634. description: 用户ID
  1635. type: integer
  1636. type: object
  1637. ermcp.QryGGCovertCfgRsp:
  1638. properties:
  1639. convertratio:
  1640. description: 折算系数
  1641. type: number
  1642. destgoodsgroupid:
  1643. description: 目标品种ID
  1644. type: integer
  1645. dstcode:
  1646. description: 目录品种代码
  1647. type: string
  1648. dstexchangecode:
  1649. description: 目标期货交易所
  1650. type: string
  1651. dstname:
  1652. description: 目标品种名称
  1653. type: string
  1654. dstunitid:
  1655. description: 目标品种单位ID
  1656. type: integer
  1657. dstunitidname:
  1658. description: 目标品种单位名称
  1659. type: string
  1660. srccode:
  1661. description: 源品种代码
  1662. type: string
  1663. srcexchangecode:
  1664. description: 源期货交易所
  1665. type: string
  1666. srcgoodsgroupid:
  1667. description: 源品种ID
  1668. type: integer
  1669. srcname:
  1670. description: 源品种名称
  1671. type: string
  1672. srcunitid:
  1673. description: 源品种单位ID
  1674. type: integer
  1675. srcunitidname:
  1676. description: 源品种单位名称
  1677. type: string
  1678. type: object
  1679. ermcp.QryHedgePlanRsp:
  1680. properties:
  1681. areauserid:
  1682. description: 用户ID
  1683. type: integer
  1684. contracttype:
  1685. description: 计划类型 - 1:采购 -1:销售
  1686. type: integer
  1687. convertfactor:
  1688. description: 标仓系数
  1689. type: number
  1690. createtime:
  1691. description: 创建时间
  1692. type: string
  1693. deliverygoodsid:
  1694. description: 现货品种ID
  1695. type: integer
  1696. deliverygoodsname:
  1697. description: 现货品种名称
  1698. type: string
  1699. hedgeplanid:
  1700. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  1701. type: string
  1702. hedgeplanno:
  1703. description: 套保计划编号(名称)
  1704. type: string
  1705. hedgeplanstatus:
  1706. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1707. type: integer
  1708. planqty:
  1709. description: 计划数量
  1710. type: number
  1711. plantime:
  1712. description: 计划时间
  1713. type: string
  1714. producttype:
  1715. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1716. type: integer
  1717. remark:
  1718. description: 备注
  1719. type: string
  1720. spotgoodsdesc:
  1721. description: 商品型号
  1722. type: string
  1723. wrstandardid:
  1724. description: 现货商品ID
  1725. type: integer
  1726. wrstandardname:
  1727. description: 现货商品名称
  1728. type: string
  1729. type: object
  1730. ermcp.QryMGChangeLogRsp:
  1731. properties:
  1732. aftervalue:
  1733. description: 变更后
  1734. type: number
  1735. applyid:
  1736. description: 操作人
  1737. type: integer
  1738. applyname:
  1739. description: 操作人名称
  1740. type: string
  1741. applysrc:
  1742. description: 操作来源 - 1:管理端 2:终端
  1743. type: integer
  1744. beforevalue:
  1745. description: 变更前
  1746. type: number
  1747. changelogtype:
  1748. description: 变更流水类型 - 1:套保比率变更
  1749. type: integer
  1750. handlestatus:
  1751. description: 处理状态
  1752. type: integer
  1753. logdatetime:
  1754. description: 流水日期
  1755. type: string
  1756. logid:
  1757. description: 流水ID
  1758. type: integer
  1759. logremark:
  1760. description: 流水备注
  1761. type: string
  1762. middlegoodsid:
  1763. description: 套保品种ID
  1764. type: integer
  1765. tradedate:
  1766. description: 交易日(yyyyMMdd)
  1767. type: string
  1768. updatetime:
  1769. description: 更新时间
  1770. type: string
  1771. type: object
  1772. ermcp.QryMiddleGoodsDetailRsp:
  1773. properties:
  1774. cvList:
  1775. description: 期货品种折算列表
  1776. items:
  1777. $ref: '#/definitions/models.GoodsGroupConvert'
  1778. type: array
  1779. mg:
  1780. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1781. description: 套保品种基本信息
  1782. type: object
  1783. ermcp.QryMiddleGoodsRsp:
  1784. properties:
  1785. areauserid:
  1786. description: 机构用户ID
  1787. type: integer
  1788. enumdicname:
  1789. description: 单位名称
  1790. type: string
  1791. evaluateratio:
  1792. description: 估价系数
  1793. type: number
  1794. goodsgroupid:
  1795. description: 关联期货品种ID
  1796. type: integer
  1797. isvalid:
  1798. description: 状态 0-无效(停用) 1-有效(正常)
  1799. type: integer
  1800. middlegoodscode:
  1801. description: 套保品种代码
  1802. type: string
  1803. middlegoodsid:
  1804. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1805. type: integer
  1806. middlegoodsname:
  1807. description: 套保品种名称
  1808. type: string
  1809. modifytime:
  1810. description: 修改时间
  1811. type: string
  1812. needhedgeratio:
  1813. description: 套保比率
  1814. type: number
  1815. qtydecimalplace:
  1816. description: 数量小数位
  1817. type: integer
  1818. relatedgoodsid:
  1819. description: 关联交易商品ID
  1820. type: integer
  1821. relatedgoodstype:
  1822. description: 关联商品类型 - 1:期货合约 2:现货品种
  1823. type: integer
  1824. type: object
  1825. ermcp.QryOPLogRsp:
  1826. properties:
  1827. aftervalue:
  1828. description: 变更后
  1829. type: number
  1830. applyid:
  1831. description: 操作人ID
  1832. type: string
  1833. applyname:
  1834. description: 操作人名称
  1835. type: string
  1836. beforevalue:
  1837. description: 变更前
  1838. type: number
  1839. biztype:
  1840. description: 业务类型 - 1:套保计划 2:现货合同
  1841. type: integer
  1842. contracttype:
  1843. description: 现货合同类型 - 1:采购 -1:销售
  1844. type: integer
  1845. logvalue:
  1846. description: 数值
  1847. type: number
  1848. operatelogtype:
  1849. description: 操作流水类型
  1850. type: integer
  1851. operatelogtypedesc:
  1852. description: 操作流水类型名称
  1853. type: string
  1854. relatedid:
  1855. description: 现货合同ID\套保计划
  1856. type: string
  1857. updatetime:
  1858. description: 更新时间
  1859. type: string
  1860. type: object
  1861. ermcp.QryReportDaySpotDetailRsp:
  1862. properties:
  1863. applyid:
  1864. description: 操作人
  1865. type: integer
  1866. applyname:
  1867. description: 操作人名称
  1868. type: string
  1869. biztype:
  1870. description: 业务类型 - 1:套保计划 2:现货合同
  1871. type: integer
  1872. contracttype:
  1873. description: 现货合同类型 - 1:采购 -1:销售
  1874. type: integer
  1875. enumdicName:
  1876. description: 单位名称
  1877. type: string
  1878. logdatetime:
  1879. description: 流水日期(时间)
  1880. type: string
  1881. logid:
  1882. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  1883. type: string
  1884. logtypename:
  1885. description: 合同类型(名称)
  1886. type: string
  1887. logvalue:
  1888. description: 数值
  1889. type: string
  1890. operatelogtype:
  1891. description: 操作流水类型 -
  1892. type: integer
  1893. optypename:
  1894. description: 流水类型名称
  1895. type: string
  1896. relatedid:
  1897. description: 现货合同ID\套保计划
  1898. type: string
  1899. relatedno:
  1900. description: 合同编号
  1901. type: string
  1902. tradedate:
  1903. description: 交易日(yyyyMMdd)
  1904. type: string
  1905. userid:
  1906. description: 机构ID
  1907. type: integer
  1908. wrstandardcode:
  1909. description: 现货商品代码
  1910. type: string
  1911. wrstandardid:
  1912. description: 现货商品ID
  1913. type: integer
  1914. wrstandardname:
  1915. description: 现货商品名称
  1916. type: string
  1917. type: object
  1918. ermcp.QryReportExposureDayRsp:
  1919. properties:
  1920. areauserid:
  1921. description: 所属机构
  1922. type: integer
  1923. buyfutureqty:
  1924. description: 买入期货数量
  1925. type: number
  1926. buyplanqty:
  1927. description: 采购计划数量
  1928. type: number
  1929. buypricedqty:
  1930. description: 采购合同已定价数量
  1931. type: number
  1932. diffFutuQty:
  1933. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  1934. type: number
  1935. diffSpotQty:
  1936. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  1937. type: number
  1938. enumdicname:
  1939. description: 单位名称
  1940. type: string
  1941. middlegoodscode:
  1942. description: 套保品种代码
  1943. type: string
  1944. middlegoodshedgeratio:
  1945. description: 应套保比例
  1946. type: number
  1947. middlegoodsid:
  1948. description: 套保品种ID
  1949. type: integer
  1950. middlegoodsname:
  1951. description: 套保品种名称
  1952. type: string
  1953. needhedgeexposoure:
  1954. description: 应套保敞口
  1955. type: number
  1956. needhedgeratio:
  1957. description: 应套保敞口比例
  1958. type: number
  1959. oriTotalFutuQty:
  1960. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  1961. type: number
  1962. oriTotalSpotQty:
  1963. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  1964. type: number
  1965. oribuyfutureqty:
  1966. description: 期初买入期货数量
  1967. type: number
  1968. oribuyplanqty:
  1969. description: 期初采购计划数量
  1970. type: number
  1971. oribuypricedqty:
  1972. description: 期初采购合同已定价数量
  1973. type: number
  1974. orisellfutureqty:
  1975. description: 期初卖出期货数量
  1976. type: number
  1977. orisellplanqty:
  1978. description: 期初销售计划数量
  1979. type: number
  1980. orisellpricedqty:
  1981. description: 期初销售合同已定价数量
  1982. type: number
  1983. reckondate:
  1984. description: 日照时期(yyyyMMdd)
  1985. type: string
  1986. sellfutureqty:
  1987. description: 卖出期货数量
  1988. type: number
  1989. sellplanqty:
  1990. description: 销售计划数量
  1991. type: number
  1992. sellpricedqty:
  1993. description: 销售合同已定价数量
  1994. type: number
  1995. totalexposure:
  1996. description: 总敞口
  1997. type: number
  1998. totalfutureqty:
  1999. description: 期货数量
  2000. type: number
  2001. totalhedgeratio:
  2002. description: 敞口比例
  2003. type: number
  2004. totalneedhedgeqty:
  2005. description: 期货应套保量
  2006. type: number
  2007. totalspotqty:
  2008. description: 现货数量
  2009. type: number
  2010. type: object
  2011. ermcp.QryReportFinanceDayRsp:
  2012. properties:
  2013. areauserid:
  2014. description: 所属机构
  2015. type: integer
  2016. collectinvoiceamount:
  2017. description: 今日开票金额
  2018. type: number
  2019. collectinvoicecount:
  2020. description: 今日开票笔数
  2021. type: integer
  2022. collectmoneyamount:
  2023. description: 今日收款金额
  2024. type: number
  2025. collectmoneycount:
  2026. description: 今日收款笔数
  2027. type: integer
  2028. payinvoiceamount:
  2029. description: 今日收票金额
  2030. type: number
  2031. payinvoicecount:
  2032. description: 今日收票笔数
  2033. type: integer
  2034. paymoneyamount:
  2035. description: 今日付款金额
  2036. type: number
  2037. paymoneycount:
  2038. description: 今日付款笔数
  2039. type: integer
  2040. reckondate:
  2041. description: 日照时期(yyyyMMdd)
  2042. type: string
  2043. updatetime:
  2044. description: 更新时间
  2045. type: string
  2046. type: object
  2047. ermcp.QryReportFinanceKxRsp:
  2048. properties:
  2049. applyid:
  2050. description: 操作人
  2051. type: integer
  2052. applyname:
  2053. description: 操作人名称
  2054. type: string
  2055. biztype:
  2056. description: 业务类型 - 1:套保计划 2:现货合同
  2057. type: integer
  2058. contracttype:
  2059. description: 现货合同类型 - 1:采购 -1:销售
  2060. type: integer
  2061. enumdicName:
  2062. description: 单位名称
  2063. type: string
  2064. logdatetime:
  2065. description: 流水日期(时间)
  2066. type: string
  2067. logid:
  2068. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  2069. type: string
  2070. logtypename:
  2071. description: 合同类型(名称)
  2072. type: string
  2073. logvalue:
  2074. description: 数值
  2075. type: string
  2076. operatelogtype:
  2077. description: 操作流水类型 -
  2078. type: integer
  2079. optypename:
  2080. description: 流水类型名称
  2081. type: string
  2082. relatedid:
  2083. description: 现货合同ID\套保计划
  2084. type: string
  2085. relatedno:
  2086. description: 合同编号
  2087. type: string
  2088. tradedate:
  2089. description: 交易日(yyyyMMdd)
  2090. type: string
  2091. userid:
  2092. description: 机构ID
  2093. type: integer
  2094. wrstandardcode:
  2095. description: 现货商品代码
  2096. type: string
  2097. wrstandardid:
  2098. description: 现货商品ID
  2099. type: integer
  2100. wrstandardname:
  2101. description: 现货商品名称
  2102. type: string
  2103. type: object
  2104. ermcp.QryReportFinanceMonRsp:
  2105. properties:
  2106. areauserid:
  2107. description: 所属机构【原值】
  2108. type: integer
  2109. collectinvoiceamount:
  2110. description: 今日开票金额【汇总】
  2111. type: number
  2112. collectinvoicecount:
  2113. description: 今日开票笔数【汇总】
  2114. type: integer
  2115. collectmoneyamount:
  2116. description: 今日收款金额【汇总】
  2117. type: number
  2118. collectmoneycount:
  2119. description: 今日收款笔数 【汇总】
  2120. type: integer
  2121. cycletime:
  2122. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  2123. type: string
  2124. cycletype:
  2125. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  2126. type: integer
  2127. dayFr:
  2128. description: 日报表明细
  2129. items:
  2130. $ref: '#/definitions/models.ErmcpReportDayFR'
  2131. type: array
  2132. payinvoiceamount:
  2133. description: 今日收票金额【汇总】
  2134. type: number
  2135. payinvoicecount:
  2136. description: 今日收票笔数【汇总】
  2137. type: integer
  2138. paymoneyamount:
  2139. description: 今日付款金额【汇总】
  2140. type: number
  2141. paymoneycount:
  2142. description: 今日付款笔数【汇总】
  2143. type: integer
  2144. updatetime:
  2145. description: 更新时间
  2146. type: string
  2147. type: object
  2148. ermcp.QryReportSpotDayRsp:
  2149. properties:
  2150. areauserid:
  2151. description: 所属机构T
  2152. type: integer
  2153. enumdicname:
  2154. description: 现货商品单位名称
  2155. type: string
  2156. reckondate:
  2157. description: 日照时期(yyyyMMdd)
  2158. type: string
  2159. todaybuyreckonqty:
  2160. description: 采购确定量
  2161. type: number
  2162. todaysellreckonqty:
  2163. description: 销售确定量
  2164. type: number
  2165. totalbuypricedqty:
  2166. description: 采购定价量 = 期末 - 期初
  2167. type: number
  2168. totalsellpricedqty:
  2169. description: 销售定价量 = 期末 - 期初
  2170. type: number
  2171. wrstandardcode:
  2172. description: 现货商品代码
  2173. type: string
  2174. wrstandardid:
  2175. description: 现货商品ID
  2176. type: integer
  2177. wrstandardname:
  2178. description: 现货商品名称
  2179. type: string
  2180. type: object
  2181. ermcp.QryReportSpotMonRsp:
  2182. properties:
  2183. areauserid:
  2184. description: 所属机构T
  2185. type: integer
  2186. cycletime:
  2187. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  2188. type: string
  2189. cycletype:
  2190. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  2191. type: integer
  2192. enumdicname:
  2193. description: 现货商品单位名称
  2194. type: string
  2195. todaybuyreckonqty:
  2196. description: 采购确定量
  2197. type: number
  2198. todaysellreckonqty:
  2199. description: 销售确定量
  2200. type: number
  2201. totalbuypricedqty:
  2202. description: 采购定价量 = 期末 - 期初
  2203. type: number
  2204. totalsellpricedqty:
  2205. description: 销售定价量 = 期末 - 期初
  2206. type: number
  2207. wrstandardcode:
  2208. description: 现货商品代码
  2209. type: string
  2210. wrstandardid:
  2211. description: 现货商品ID
  2212. type: integer
  2213. wrstandardname:
  2214. description: 现货商品名称
  2215. type: string
  2216. type: object
  2217. ermcp.QryReportSpotMonthDetailRsp:
  2218. properties:
  2219. areauserid:
  2220. description: 所属机构T
  2221. type: integer
  2222. enumdicname:
  2223. description: 现货商品单位名称
  2224. type: string
  2225. reckondate:
  2226. description: 日照时期(yyyyMMdd)
  2227. type: string
  2228. todaybuyreckonqty:
  2229. description: 采购确定量
  2230. type: number
  2231. todaysellreckonqty:
  2232. description: 销售确定量
  2233. type: number
  2234. totalbuypricedqty:
  2235. description: 采购定价量 = 期末 - 期初
  2236. type: number
  2237. totalsellpricedqty:
  2238. description: 销售定价量 = 期末 - 期初
  2239. type: number
  2240. wrstandardcode:
  2241. description: 现货商品代码
  2242. type: string
  2243. wrstandardid:
  2244. description: 现货商品ID
  2245. type: integer
  2246. wrstandardname:
  2247. description: 现货商品名称
  2248. type: string
  2249. type: object
  2250. ermcp.QrySpotContractRsp:
  2251. properties:
  2252. amount:
  2253. description: 金额 [1:一口价、3:暂定价]
  2254. type: number
  2255. attachment:
  2256. description: 附件
  2257. type: string
  2258. auditremark:
  2259. description: 审核意见
  2260. type: string
  2261. audittime:
  2262. description: 审核时间
  2263. type: string
  2264. brandname:
  2265. description: 品牌名称
  2266. type: string
  2267. buyuserid:
  2268. description: 采购方ID
  2269. type: integer
  2270. buyusername:
  2271. description: 采购方名称
  2272. type: string
  2273. contracctstatus:
  2274. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  2275. type: integer
  2276. contractmargin:
  2277. description: 合同保证金
  2278. type: number
  2279. contractno:
  2280. description: 现货合同编号
  2281. type: string
  2282. contracttype:
  2283. description: 现货合同类型 - 1:采购 -1:销售
  2284. type: integer
  2285. convertfactor:
  2286. description: 标仓系数
  2287. type: number
  2288. createtime:
  2289. description: 创建时间
  2290. type: string
  2291. deliveryenddate:
  2292. description: 交收期(结束)
  2293. type: string
  2294. deliverygoodscode:
  2295. description: 现货品种代码
  2296. type: string
  2297. deliverygoodsid:
  2298. description: 现货品种ID
  2299. type: integer
  2300. deliverygoodsname:
  2301. description: 现货品种名称
  2302. type: string
  2303. deliverystartdate:
  2304. description: 交收期(开始)
  2305. type: string
  2306. enddate:
  2307. description: 点价结束日期 [2:点价 3:暂定价]
  2308. type: string
  2309. enumdicname:
  2310. description: 单位名称
  2311. type: string
  2312. goodscode:
  2313. description: 点价合约代码
  2314. type: string
  2315. goodsid:
  2316. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  2317. type: integer
  2318. goodsname:
  2319. description: 点价商品名称
  2320. type: string
  2321. margin:
  2322. description: 当前保证金
  2323. type: number
  2324. modelname:
  2325. description: 型号名称
  2326. type: string
  2327. price:
  2328. description: 价格\暂定价 [1:一口价、3:暂定价]
  2329. type: number
  2330. pricemove:
  2331. description: 升贴水 [2:点价 3:暂定价]
  2332. type: number
  2333. pricetype:
  2334. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  2335. type: integer
  2336. producttype:
  2337. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2338. type: integer
  2339. qty:
  2340. description: 数量
  2341. type: number
  2342. remark:
  2343. description: 备注
  2344. type: string
  2345. selluserid:
  2346. description: 销售方ID
  2347. type: integer
  2348. sellusername:
  2349. description: 销售方名称
  2350. type: string
  2351. spotcontractid:
  2352. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  2353. type: string
  2354. spotgoodsbrandid:
  2355. description: 现货品牌ID
  2356. type: integer
  2357. spotgoodsdesc:
  2358. description: 商品型号
  2359. type: string
  2360. spotgoodsmodelid:
  2361. description: 现货型号ID
  2362. type: integer
  2363. startdate:
  2364. description: 点价开始日期 [2:点价 3:暂定价]
  2365. type: string
  2366. userid:
  2367. description: 机构ID
  2368. type: integer
  2369. wrstandardid:
  2370. description: 现货商品ID
  2371. type: integer
  2372. type: object
  2373. ermcp.QryUserInfoRsp:
  2374. properties:
  2375. address:
  2376. description: 通讯地址
  2377. type: string
  2378. attachment1:
  2379. description: 附件1
  2380. type: string
  2381. cardfrontphotourl:
  2382. description: 证件正面图片地址
  2383. type: string
  2384. cardnum:
  2385. description: 证件号码
  2386. type: string
  2387. cardtype:
  2388. description: 证件类型
  2389. type: integer
  2390. cardtypename:
  2391. description: 证件类型名称
  2392. type: string
  2393. cityid:
  2394. description: 市
  2395. type: integer
  2396. countryid:
  2397. description: 国家
  2398. type: integer
  2399. createtime:
  2400. description: 创建时间
  2401. type: string
  2402. customername:
  2403. description: 企业名称
  2404. type: string
  2405. memberuserid:
  2406. description: 所属机构ID
  2407. type: integer
  2408. mobile:
  2409. description: 手机号码
  2410. type: string
  2411. provinceid:
  2412. description: 省
  2413. type: integer
  2414. remark:
  2415. description: 备注
  2416. type: string
  2417. status:
  2418. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2419. type: integer
  2420. statusdesc:
  2421. description: 账户状态中文描述
  2422. type: string
  2423. telphone:
  2424. description: 联系电话
  2425. type: string
  2426. userid:
  2427. description: 用户ID
  2428. type: integer
  2429. userinfotype:
  2430. description: 客户类型
  2431. type: string
  2432. type: object
  2433. ermcp.QryWrStandardDetailRsp:
  2434. properties:
  2435. gbList:
  2436. description: 品牌列表
  2437. items:
  2438. $ref: '#/definitions/models.GoodsBrand'
  2439. type: array
  2440. gtList:
  2441. description: 型号列表
  2442. items:
  2443. $ref: '#/definitions/models.GoodsTypeModel'
  2444. type: array
  2445. wrd:
  2446. $ref: '#/definitions/models.ErmcpWrstandard'
  2447. description: 基本信息
  2448. wrsList:
  2449. description: 套保信息列表
  2450. items:
  2451. $ref: '#/definitions/models.WRSConverTDetail'
  2452. type: array
  2453. type: object
  2454. ermcp.QryWrStandardRsp:
  2455. properties:
  2456. areauserid:
  2457. description: 所属机构
  2458. type: integer
  2459. createtime:
  2460. description: 创建时间
  2461. type: string
  2462. creatorid:
  2463. description: 创建人
  2464. type: integer
  2465. deliverygoodsid:
  2466. description: 品种ID
  2467. type: integer
  2468. enumdicname:
  2469. description: 单位名称
  2470. type: string
  2471. isvalid:
  2472. description: 是否有效 0-无效(停用) 1-有效(正常)
  2473. type: integer
  2474. minivalue:
  2475. description: 最小变动值
  2476. type: integer
  2477. minivaluedp:
  2478. description: 最小变动值小数位
  2479. type: integer
  2480. realminivalue:
  2481. description: 实际最小变动值
  2482. type: integer
  2483. realminivaluedp:
  2484. description: 实际最小变动值小数位
  2485. type: integer
  2486. remark:
  2487. description: 备注
  2488. type: string
  2489. unitid:
  2490. description: 单位ID
  2491. type: integer
  2492. updatetime:
  2493. description: 更新时间
  2494. type: string
  2495. wrstandardcode:
  2496. description: 现货商品代码
  2497. type: string
  2498. wrstandardid:
  2499. description: 现货商品ID(SEQ_WRSTANDARD)
  2500. type: integer
  2501. wrstandardname:
  2502. description: 现货商品名称
  2503. type: string
  2504. type: object
  2505. ermcp.QueryErmcpTradePositionRsp:
  2506. properties:
  2507. agreeunit:
  2508. description: 合约单位
  2509. type: number
  2510. buyorsell:
  2511. description: 方向 - 0:买 1:卖
  2512. type: integer
  2513. curpositionqty:
  2514. description: 持仓(总仓数量, 期末头寸)
  2515. type: integer
  2516. curtdposition:
  2517. description: 今仓数量(期末今日头寸)
  2518. type: integer
  2519. curtdpositionenabled:
  2520. description: 今仓可用
  2521. type: integer
  2522. decimalplace:
  2523. description: 报价小数位
  2524. type: integer
  2525. enableqty:
  2526. description: 可用(总仓可用)
  2527. type: integer
  2528. exexchangename:
  2529. description: 外部交易所名称
  2530. type: string
  2531. goodscode:
  2532. description: 商品代码(内部)
  2533. type: string
  2534. goodsid:
  2535. description: 商品ID(自增ID SEQ_GOODS)
  2536. type: integer
  2537. goodsname:
  2538. description: 商品名称
  2539. type: string
  2540. last:
  2541. description: 现价
  2542. type: number
  2543. marketid:
  2544. description: 所属市场ID
  2545. type: integer
  2546. openaverageprice:
  2547. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2548. type: number
  2549. opencost:
  2550. description: 开仓成本
  2551. type: number
  2552. openpl:
  2553. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2554. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2555. type: number
  2556. outgoodscode:
  2557. description: 商品代码(外部)
  2558. type: string
  2559. positionaverageprice:
  2560. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2561. type: number
  2562. positioncost:
  2563. description: 持仓成本
  2564. type: number
  2565. positionpl:
  2566. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2567. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2568. type: number
  2569. positionplrate:
  2570. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2571. type: number
  2572. usedmargin:
  2573. description: 占用保证金
  2574. type: number
  2575. type: object
  2576. ermcp.RealtimeExposurePositionRsp:
  2577. properties:
  2578. agreeunit:
  2579. description: 合约单位
  2580. type: string
  2581. areauserid:
  2582. description: 所属机构id
  2583. type: integer
  2584. convertratio:
  2585. description: 期货品种系数(折算系数)
  2586. type: number
  2587. curqty:
  2588. description: 当前持仓
  2589. type: integer
  2590. diffhedgeqty:
  2591. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2592. type: number
  2593. diffqty:
  2594. description: 持仓变动量=当前持仓-昨日持仓
  2595. type: integer
  2596. goodscode:
  2597. description: 商品代码
  2598. type: string
  2599. goodsid:
  2600. description: 商品id
  2601. type: integer
  2602. goodsname:
  2603. description: 商品名称
  2604. type: string
  2605. middlegoodsid:
  2606. description: 套保商品id
  2607. type: integer
  2608. ydqty:
  2609. description: 昨日持仓
  2610. type: integer
  2611. type: object
  2612. ermcp.RealtimeExposureRsp:
  2613. properties:
  2614. areaUserID:
  2615. description: 所属机构
  2616. type: integer
  2617. buyFutureQty:
  2618. description: 买入期货数量
  2619. type: number
  2620. buyPlanQty:
  2621. description: 采购计划数量
  2622. type: number
  2623. buyPricedQty:
  2624. description: 采购合同已定价数量
  2625. type: number
  2626. diffFutuQty:
  2627. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  2628. type: number
  2629. diffSpotQty:
  2630. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  2631. type: number
  2632. enumdicname:
  2633. description: 单位名称
  2634. type: string
  2635. middleGoodsCode:
  2636. description: 套保品种代码
  2637. type: string
  2638. middleGoodsHedgeRatio:
  2639. description: 应套保比例
  2640. type: number
  2641. middleGoodsID:
  2642. description: 套保品种
  2643. type: integer
  2644. middleGoodsName:
  2645. description: 套保品种名称
  2646. type: string
  2647. needHedgeExposoure:
  2648. description: 应套保敞口
  2649. type: number
  2650. needHedgeRatio:
  2651. description: 应套保敞口比例
  2652. type: number
  2653. oriBuyFutureQty:
  2654. description: 期初买入期货数量
  2655. type: number
  2656. oriBuyPlanQty:
  2657. description: 期初采购计划数量
  2658. type: number
  2659. oriBuyPricedQty:
  2660. description: 期初采购合同已定价数量
  2661. type: number
  2662. oriSellFutureQty:
  2663. description: 期初卖出期货数量
  2664. type: number
  2665. oriSellPlanQty:
  2666. description: 期初销售计划数量
  2667. type: number
  2668. oriSellPricedQty:
  2669. description: 期初销售合同已定价数量
  2670. type: number
  2671. oriTotalFutuQty:
  2672. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2673. type: number
  2674. oriTotalSpotQty:
  2675. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2676. type: number
  2677. sellFutureQty:
  2678. description: 卖出期货数量
  2679. type: number
  2680. sellPlanQty:
  2681. description: 销售计划数量
  2682. type: number
  2683. sellPricedQty:
  2684. description: 销售合同已定价数量
  2685. type: number
  2686. totalExposure:
  2687. description: 总敞口
  2688. type: number
  2689. totalFutureQty:
  2690. description: 期货数量
  2691. type: number
  2692. totalHedgeRatio:
  2693. description: 敞口比例
  2694. type: number
  2695. totalNeedHedgeQty:
  2696. description: 期货应套保量
  2697. type: number
  2698. totalSpotQty:
  2699. description: 现货数量
  2700. type: number
  2701. type: object
  2702. erms2.QueryArbitrageStrategyRsp:
  2703. properties:
  2704. applybasis:
  2705. description: 申请基差
  2706. type: number
  2707. asapplyid:
  2708. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2709. type: string
  2710. asname:
  2711. description: 策略名称
  2712. type: string
  2713. asno:
  2714. description: 策略编号
  2715. type: string
  2716. basischangepl:
  2717. description: 基差变动损益[结算更新]
  2718. type: number
  2719. biztype:
  2720. description: 业务类型 - 1:正向套利 -1:反向套利
  2721. type: integer
  2722. closetradedate:
  2723. description: 完结交易日(yyyyMMdd)
  2724. type: string
  2725. curbasis:
  2726. description: 当前基差[结算更新]
  2727. type: number
  2728. deliverygoodsid:
  2729. description: 现货品种ID
  2730. type: integer
  2731. futureavgprice:
  2732. description: 期货建仓均价
  2733. type: number
  2734. futurecloseamount:
  2735. description: 期货平仓金额
  2736. type: number
  2737. futurecloseqty:
  2738. description: 期货平仓数量
  2739. type: number
  2740. futureopenamount:
  2741. description: 期货开仓金额
  2742. type: number
  2743. futureopenqty:
  2744. description: 期货开仓数量
  2745. type: number
  2746. futurepl:
  2747. description: 期货总盈亏[结算更新]
  2748. type: number
  2749. futureqty:
  2750. description: 期货持仓数量
  2751. type: number
  2752. futurequote:
  2753. description: 期货额度
  2754. type: number
  2755. goodsgroupid:
  2756. description: 期货品种ID
  2757. type: integer
  2758. marketid:
  2759. description: 市场ID
  2760. type: integer
  2761. netexposure:
  2762. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2763. type: number
  2764. netexposurepl:
  2765. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2766. type: number
  2767. netexposurerate:
  2768. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2769. type: number
  2770. openbasis:
  2771. description: 建仓基差
  2772. type: number
  2773. pricedspotqty:
  2774. description: 已定价现货数量
  2775. type: number
  2776. pricedspotqtynotax:
  2777. description: 已定价现货不含税数量
  2778. type: number
  2779. remark:
  2780. description: 备注
  2781. type: string
  2782. spotavgprice:
  2783. description: 现货均价
  2784. type: number
  2785. spotbuyamount:
  2786. description: 现货采购金额
  2787. type: number
  2788. spotbuyqty:
  2789. description: 现货采购数量
  2790. type: number
  2791. spotpl:
  2792. description: 现货总盈亏[结算更新]
  2793. type: number
  2794. spotquota:
  2795. description: 现货额度
  2796. type: number
  2797. spotsellamount:
  2798. description: 现货销售金额
  2799. type: number
  2800. spotsellqty:
  2801. description: 现货销售数量
  2802. type: number
  2803. spotusedquota:
  2804. description: 现货占用资金
  2805. type: number
  2806. strategystatus:
  2807. description: 策略状态 - 0:未结束 1:已结束
  2808. type: integer
  2809. totalpl:
  2810. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2811. type: number
  2812. tradedate:
  2813. description: 交易日(yyyyMMdd)
  2814. type: string
  2815. updatetime:
  2816. description: 更新时间
  2817. type: string
  2818. usedquota:
  2819. description: 已占用资金
  2820. type: number
  2821. userid:
  2822. description: 所属机构
  2823. type: integer
  2824. required:
  2825. - asapplyid
  2826. type: object
  2827. erms2.QueryInnerTradeDetailRsp:
  2828. properties:
  2829. accountid:
  2830. description: 账号ID
  2831. type: integer
  2832. agreeunit:
  2833. description: 合约单位
  2834. type: number
  2835. asapplyid:
  2836. description: 策略申请ID
  2837. type: integer
  2838. asname:
  2839. description: 策略名称
  2840. type: string
  2841. asno:
  2842. description: 策略编号
  2843. type: string
  2844. buyorsell:
  2845. description: 方向 - 0:买 1:卖
  2846. type: integer
  2847. channelbuildtype:
  2848. description: 委托单据类型 0:无 1:建仓 2:平仓
  2849. type: integer
  2850. closetype:
  2851. description: 平仓方式 - 0:无 1:平今 2:平昨
  2852. type: integer
  2853. decimalplace:
  2854. description: 报价小数位
  2855. type: integer
  2856. detailtype:
  2857. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2858. type: integer
  2859. exexchangecode:
  2860. description: 外部交易所代码
  2861. type: string
  2862. exexchangename:
  2863. description: 外部交易所名称
  2864. type: string
  2865. goodscode:
  2866. description: 商品代码(合约)
  2867. type: string
  2868. goodsgroupid:
  2869. description: 商品组ID(品种ID)
  2870. type: integer
  2871. goodsgroupname:
  2872. description: 商品组名称(品种)
  2873. type: string
  2874. goodsid:
  2875. description: 商品ID
  2876. type: integer
  2877. goodsname:
  2878. description: 商品名称(合约)
  2879. type: string
  2880. goodunit:
  2881. description: 报价单位
  2882. type: string
  2883. marketid:
  2884. description: 市场ID
  2885. type: integer
  2886. orderid:
  2887. description: 委托单号
  2888. type: string
  2889. outgoodscode:
  2890. description: 商品代码(外部)
  2891. type: string
  2892. relatedouttradeid:
  2893. description: 关联外部成交单ID
  2894. type: string
  2895. remark:
  2896. description: 备注
  2897. type: string
  2898. spotcontractid:
  2899. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2900. type: integer
  2901. spotcontractno:
  2902. description: 现货合同编号
  2903. type: string
  2904. tradeid:
  2905. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2906. type: string
  2907. tradeprice:
  2908. description: 成交价格
  2909. type: number
  2910. tradeqty:
  2911. description: 成交数量
  2912. type: integer
  2913. tradetime:
  2914. description: 成交时间
  2915. type: string
  2916. updatetime:
  2917. description: 更新时间
  2918. type: string
  2919. required:
  2920. - asapplyid
  2921. - buyorsell
  2922. - goodscode
  2923. - goodsgroupid
  2924. - goodsgroupname
  2925. - goodsname
  2926. - tradeid
  2927. type: object
  2928. erms2.QuerySpotContractRsp:
  2929. properties:
  2930. accountid:
  2931. description: 资金账户ID
  2932. type: integer
  2933. areauserid:
  2934. description: 所属机构
  2935. type: integer
  2936. closedate:
  2937. description: 终止日期
  2938. type: string
  2939. closeremark:
  2940. description: 结束备注
  2941. type: string
  2942. closetradedate:
  2943. description: 完结交易日(yyyyMMdd)
  2944. type: string
  2945. closetype:
  2946. description: 终止类型 - 1:违约 2:提前终止
  2947. type: integer
  2948. contractamount:
  2949. description: 合同金额
  2950. type: number
  2951. contractattachment:
  2952. description: 合同附件
  2953. type: string
  2954. contractno:
  2955. description: 现货合同编号
  2956. type: string
  2957. contractqty:
  2958. description: 合同数量(数值) (用于计算)
  2959. type: number
  2960. contractqtychar:
  2961. description: 合同数量\已订价数量 (用于显示)
  2962. type: string
  2963. contractstatus:
  2964. description: 合同状态 - 0:未结束 1:已结束
  2965. type: integer
  2966. contracttype:
  2967. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2968. type: integer
  2969. customeraccountid:
  2970. description: 客户资金账户ID
  2971. type: integer
  2972. customeruserid:
  2973. description: 客户ID
  2974. type: integer
  2975. deliverygoodsdesc:
  2976. description: 品种说明
  2977. type: string
  2978. deliverygoodsid:
  2979. description: 现货品种ID
  2980. type: integer
  2981. handlestatus:
  2982. description: 处理状态
  2983. type: integer
  2984. invoiceatt:
  2985. description: 发票附件
  2986. type: string
  2987. invoicedatetime:
  2988. description: 开收票更新时间
  2989. type: string
  2990. invoiceopentime:
  2991. description: 开票时间
  2992. type: string
  2993. invoiceremark:
  2994. description: 发票备注
  2995. type: string
  2996. invoicestatus:
  2997. description: 开收票状态 - 0:未开票 1:已开票
  2998. type: integer
  2999. lastdate:
  3000. description: 交货时间
  3001. type: string
  3002. marketid:
  3003. description: 市场ID
  3004. type: integer
  3005. paydatetime:
  3006. description: 收付款更新时间
  3007. type: string
  3008. payremark:
  3009. description: 收付款备注
  3010. type: string
  3011. paystatus:
  3012. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  3013. type: integer
  3014. positionqty:
  3015. description: 头寸数量 - 合同数量去小数部分
  3016. type: integer
  3017. producttype:
  3018. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3019. type: integer
  3020. relatedqty:
  3021. description: 已关联数量
  3022. type: number
  3023. relatedstatus:
  3024. description: 关联完结状态 - 0:未结束 1:已结束
  3025. type: integer
  3026. remark:
  3027. description: 备注
  3028. type: string
  3029. signdate:
  3030. description: 签订日期
  3031. type: string
  3032. spotcontractid:
  3033. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  3034. type: string
  3035. spotdatetime:
  3036. description: 收发货更新时间
  3037. type: string
  3038. spotprice:
  3039. description: 价格
  3040. type: number
  3041. spotremark:
  3042. description: 收发货备注
  3043. type: string
  3044. spotstatus:
  3045. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  3046. type: integer
  3047. tradedate:
  3048. description: 交易日(yyyyMMdd)
  3049. type: string
  3050. userid:
  3051. description: 业务员用户ID
  3052. type: integer
  3053. warehouseid:
  3054. description: 仓库ID
  3055. type: integer
  3056. wrfactortypeid:
  3057. description: 仓单要素类型ID
  3058. type: integer
  3059. wrstandardid:
  3060. description: 仓单标准ID(SEQ_WRSTANDARD)
  3061. type: integer
  3062. required:
  3063. - spotcontractid
  3064. type: object
  3065. erms3.AddErms2ASApplyReq:
  3066. properties:
  3067. applybasis:
  3068. description: 申请基差
  3069. type: number
  3070. applystatus:
  3071. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3072. type: integer
  3073. asapplyid:
  3074. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  3075. type: integer
  3076. asname:
  3077. description: 策略名称
  3078. type: string
  3079. asno:
  3080. description: 策略编号
  3081. type: string
  3082. auditid:
  3083. description: 审核人
  3084. type: integer
  3085. auditremark:
  3086. description: 审核备注
  3087. type: string
  3088. audittime:
  3089. description: 审核时间
  3090. type: string
  3091. biztype:
  3092. description: 业务类型 - 1:正向套利 2:反向套利
  3093. type: integer
  3094. createtime:
  3095. description: 创建时间
  3096. type: string
  3097. creatorid:
  3098. description: 创建人
  3099. type: integer
  3100. deliverygoodsid:
  3101. description: 现货品种ID
  3102. type: integer
  3103. futurequote:
  3104. description: 期货额度
  3105. type: number
  3106. goodsgroupid:
  3107. description: 期货品种ID
  3108. type: integer
  3109. marketid:
  3110. description: 市场ID
  3111. type: integer
  3112. remark:
  3113. description: 备注
  3114. type: string
  3115. spotquota:
  3116. description: 现货额度
  3117. type: number
  3118. tradedate:
  3119. description: 交易日(yyyyMMdd)
  3120. type: string
  3121. userid:
  3122. description: 所属机构
  3123. type: integer
  3124. required:
  3125. - asapplyid
  3126. type: object
  3127. erms3.AddErms2SpotTradeApplyReq:
  3128. properties:
  3129. applyjsondetail:
  3130. description: 申请明细(JSON)
  3131. type: string
  3132. applystatus:
  3133. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3134. type: integer
  3135. areauserid:
  3136. description: 所属机构
  3137. type: integer
  3138. auditid:
  3139. description: 审核人
  3140. type: integer
  3141. auditremark:
  3142. description: 审核备注
  3143. type: string
  3144. audittime:
  3145. description: 审核时间
  3146. type: string
  3147. createtime:
  3148. description: 创建时间
  3149. type: string
  3150. creatorid:
  3151. description: 创建人
  3152. type: integer
  3153. deliverygoodsid:
  3154. description: 现货品种ID
  3155. type: integer
  3156. futureaccountid:
  3157. description: 期货资金账户
  3158. type: integer
  3159. goodsgroupid:
  3160. description: 期货品种
  3161. type: integer
  3162. marketid:
  3163. description: 市场ID
  3164. type: integer
  3165. remark:
  3166. description: 备注
  3167. type: string
  3168. spotaccountid:
  3169. description: 现货资金账户
  3170. type: integer
  3171. spottradeid:
  3172. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  3173. type: integer
  3174. spottradename:
  3175. description: 业务名称
  3176. type: string
  3177. spottradeno:
  3178. description: 业务编号
  3179. type: string
  3180. tradedate:
  3181. description: 交易日(yyyyMMdd)
  3182. type: string
  3183. wrstandardid:
  3184. description: 仓单标准ID
  3185. type: integer
  3186. required:
  3187. - spottradeid
  3188. type: object
  3189. erms3.AddSpotContractApplyReq:
  3190. properties:
  3191. accountid:
  3192. description: 资金账户ID
  3193. type: integer
  3194. areauserid:
  3195. description: 所属机构
  3196. type: integer
  3197. contractattachment:
  3198. description: 合同附件
  3199. type: string
  3200. contractno:
  3201. description: 现货合同编号
  3202. type: string
  3203. contracttype:
  3204. description: 现货合同类型 - 1:采购 -1:销售
  3205. type: integer
  3206. creatorid:
  3207. description: 申请人
  3208. type: integer
  3209. customeraccountid:
  3210. description: 客户资金账户ID
  3211. type: integer
  3212. customeruserid:
  3213. description: 客户ID
  3214. type: integer
  3215. details:
  3216. description: 明细
  3217. items:
  3218. $ref: '#/definitions/erms3.SoptContractDetail'
  3219. type: array
  3220. orimargin:
  3221. description: 初始保证金
  3222. type: number
  3223. remark:
  3224. description: 备注
  3225. type: string
  3226. signdate:
  3227. description: 签订日期
  3228. type: string
  3229. required:
  3230. - accountid
  3231. - areauserid
  3232. - contractno
  3233. - contracttype
  3234. - customeraccountid
  3235. - customeruserid
  3236. - details
  3237. - orimargin
  3238. - signdate
  3239. type: object
  3240. erms3.AddSpotContractApplyRsp:
  3241. properties:
  3242. contractno:
  3243. description: 现货合同编号
  3244. type: string
  3245. spotcontractid:
  3246. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  3247. type: integer
  3248. required:
  3249. - contractno
  3250. type: object
  3251. erms3.AddUserInfoApplyReq:
  3252. properties:
  3253. accountid:
  3254. description: 交易系统帐号Id (加密存储)
  3255. type: integer
  3256. areacode:
  3257. description: 机构代码
  3258. type: string
  3259. areaid:
  3260. description: 机构Id
  3261. type: integer
  3262. attachment1:
  3263. description: 附件1
  3264. type: string
  3265. attachment2:
  3266. description: 附件2
  3267. type: string
  3268. attachment3:
  3269. description: 附件3
  3270. type: string
  3271. attachment4:
  3272. description: 附件4
  3273. type: string
  3274. attachment5:
  3275. description: 附件5
  3276. type: string
  3277. auditedby:
  3278. description: 审核人
  3279. type: string
  3280. auditime:
  3281. description: 审核时间
  3282. type: string
  3283. bankaccount:
  3284. description: 银行帐号 (加密存储)
  3285. type: string
  3286. bankaccountname:
  3287. description: 收款人名称
  3288. type: string
  3289. bankcardbackphotourl:
  3290. description: 银行卡背面照地址
  3291. type: string
  3292. bankcardfrontphotourl:
  3293. description: 银行卡正面照地址
  3294. type: string
  3295. bankid:
  3296. description: 银行编码
  3297. type: string
  3298. bankname:
  3299. description: 银行名称
  3300. type: string
  3301. bankpictureurl:
  3302. description: 银行卡正面地址
  3303. type: string
  3304. biznature:
  3305. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3306. type: integer
  3307. bizscope:
  3308. description: 企业经营范围(企业)
  3309. type: string
  3310. biztype:
  3311. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3312. type: integer
  3313. brokerid:
  3314. description: 经纪人ID(加密存储)
  3315. type: string
  3316. cardaddress:
  3317. description: 证件地址 (加密存储)
  3318. type: string
  3319. cardbackphotourl:
  3320. description: 背面证件照地址
  3321. type: string
  3322. cardfrontphotourl:
  3323. description: 正面证件照地址
  3324. type: string
  3325. cardnum:
  3326. description: 证件号码 (加密存储)
  3327. type: string
  3328. cardtype:
  3329. description: 证件类型
  3330. type: integer
  3331. cityid:
  3332. description: 市
  3333. type: integer
  3334. company:
  3335. description: 公司(个人)
  3336. type: string
  3337. contactcardbackphotourl:
  3338. description: 联系人证件背面图片地址
  3339. type: string
  3340. contactcardfrontphotourl:
  3341. description: 联系人证件正面图片地址
  3342. type: string
  3343. contactname:
  3344. description: 联系人
  3345. type: string
  3346. countryid:
  3347. description: 国家
  3348. type: integer
  3349. createtime:
  3350. description: 开户申请时间
  3351. type: string
  3352. cusbankid:
  3353. description: 签约类型
  3354. type: string
  3355. cusbankname:
  3356. description: 签约类型名称
  3357. type: string
  3358. customername:
  3359. description: 客户名称(企业名称)
  3360. type: string
  3361. districtid:
  3362. description: 地区
  3363. type: integer
  3364. email:
  3365. description: Email地址(加密存储)
  3366. type: string
  3367. halfbodyphotourl:
  3368. description: 半身照地址
  3369. type: string
  3370. headurl:
  3371. description: 头像地址
  3372. type: string
  3373. ipaddress:
  3374. description: IP地址
  3375. type: string
  3376. isvalidate:
  3377. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3378. type: string
  3379. legalcardbackphotourl:
  3380. description: 法人身份证背面照地址
  3381. type: string
  3382. legalcardfrontphotourl:
  3383. description: 法人身份证正面照地址
  3384. type: string
  3385. legalpersonname:
  3386. description: 法人姓名(企业)
  3387. type: string
  3388. logincode:
  3389. description: 登录帐号 (加密存储)
  3390. type: string
  3391. memberareaid:
  3392. description: 所属会员ID
  3393. type: integer
  3394. mobile2:
  3395. description: 手机号码[明文-尚志]
  3396. type: string
  3397. mobilephone:
  3398. description: 手机号码 (加密存储)
  3399. type: string
  3400. modifiedby:
  3401. description: 修改人帐号
  3402. type: integer
  3403. modifiedtime:
  3404. description: 修改时间
  3405. type: string
  3406. nickname:
  3407. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3408. type: string
  3409. openmode:
  3410. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3411. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3412. type: integer
  3413. otherurl:
  3414. description: 其它图片地址[使用分号分隔]
  3415. type: string
  3416. postalcode:
  3417. description: 邮政编码
  3418. type: string
  3419. provinceid:
  3420. description: 省
  3421. type: integer
  3422. proxystatementurl:
  3423. description: 授权委托书
  3424. type: string
  3425. qq:
  3426. description: QQ(加密存储
  3427. type: string
  3428. referral:
  3429. description: 推荐人编码
  3430. type: string
  3431. remark:
  3432. description: 备注
  3433. type: string
  3434. removebeforestatus:
  3435. description: REMOVEBEFORESTATUS
  3436. type: integer
  3437. sex:
  3438. description: 性别 - 0:女 1:男
  3439. type: integer
  3440. signedstatus:
  3441. description: 账户一号签签约状态
  3442. type: integer
  3443. signpdfurl:
  3444. description: 签约pdf文件
  3445. type: string
  3446. subbranch:
  3447. description: 开户支行
  3448. type: string
  3449. telphone:
  3450. description: 联系电话(加密存储)
  3451. type: string
  3452. userid:
  3453. description: 用户ID(自增ID)
  3454. type: integer
  3455. userinfotype:
  3456. description: 用户信息类型 - 1:个人 2:企业
  3457. type: integer
  3458. username:
  3459. description: 用户姓名
  3460. type: string
  3461. userstate:
  3462. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3463. type: integer
  3464. usertype:
  3465. description: 用户类型 - 1:投资者 2:机构
  3466. type: integer
  3467. videourl:
  3468. description: 视频地址
  3469. type: string
  3470. wechat:
  3471. description: 微信号 (加密存储)
  3472. type: string
  3473. required:
  3474. - userid
  3475. type: object
  3476. erms3.CustomerInfo:
  3477. properties:
  3478. accountids:
  3479. description: 资金账户ID列表
  3480. items:
  3481. type: integer
  3482. type: array
  3483. customername:
  3484. description: 名称(企业名称)
  3485. type: string
  3486. mobile:
  3487. description: 手机号码
  3488. type: string
  3489. userid:
  3490. description: 用户ID
  3491. type: integer
  3492. required:
  3493. - userid
  3494. type: object
  3495. erms3.ModifyUserInfoApplyReq:
  3496. properties:
  3497. accountid:
  3498. description: 交易系统帐号Id (加密存储)
  3499. type: integer
  3500. areacode:
  3501. description: 机构代码
  3502. type: string
  3503. areaid:
  3504. description: 机构Id
  3505. type: integer
  3506. attachment1:
  3507. description: 附件1
  3508. type: string
  3509. attachment2:
  3510. description: 附件2
  3511. type: string
  3512. attachment3:
  3513. description: 附件3
  3514. type: string
  3515. attachment4:
  3516. description: 附件4
  3517. type: string
  3518. attachment5:
  3519. description: 附件5
  3520. type: string
  3521. auditedby:
  3522. description: 审核人
  3523. type: string
  3524. auditime:
  3525. description: 审核时间
  3526. type: string
  3527. bankaccount:
  3528. description: 银行帐号 (加密存储)
  3529. type: string
  3530. bankaccountname:
  3531. description: 收款人名称
  3532. type: string
  3533. bankcardbackphotourl:
  3534. description: 银行卡背面照地址
  3535. type: string
  3536. bankcardfrontphotourl:
  3537. description: 银行卡正面照地址
  3538. type: string
  3539. bankid:
  3540. description: 银行编码
  3541. type: string
  3542. bankname:
  3543. description: 银行名称
  3544. type: string
  3545. bankpictureurl:
  3546. description: 银行卡正面地址
  3547. type: string
  3548. biznature:
  3549. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3550. type: integer
  3551. bizscope:
  3552. description: 企业经营范围(企业)
  3553. type: string
  3554. biztype:
  3555. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3556. type: integer
  3557. brokerid:
  3558. description: 经纪人ID(加密存储)
  3559. type: string
  3560. cardaddress:
  3561. description: 证件地址 (加密存储)
  3562. type: string
  3563. cardbackphotourl:
  3564. description: 背面证件照地址
  3565. type: string
  3566. cardfrontphotourl:
  3567. description: 正面证件照地址
  3568. type: string
  3569. cardnum:
  3570. description: 证件号码 (加密存储)
  3571. type: string
  3572. cardtype:
  3573. description: 证件类型
  3574. type: integer
  3575. cityid:
  3576. description: 市
  3577. type: integer
  3578. company:
  3579. description: 公司(个人)
  3580. type: string
  3581. contactcardbackphotourl:
  3582. description: 联系人证件背面图片地址
  3583. type: string
  3584. contactcardfrontphotourl:
  3585. description: 联系人证件正面图片地址
  3586. type: string
  3587. contactname:
  3588. description: 联系人
  3589. type: string
  3590. countryid:
  3591. description: 国家
  3592. type: integer
  3593. createtime:
  3594. description: 开户申请时间
  3595. type: string
  3596. cusbankid:
  3597. description: 签约类型
  3598. type: string
  3599. cusbankname:
  3600. description: 签约类型名称
  3601. type: string
  3602. customername:
  3603. description: 客户名称(企业名称)
  3604. type: string
  3605. districtid:
  3606. description: 地区
  3607. type: integer
  3608. email:
  3609. description: Email地址(加密存储)
  3610. type: string
  3611. halfbodyphotourl:
  3612. description: 半身照地址
  3613. type: string
  3614. headurl:
  3615. description: 头像地址
  3616. type: string
  3617. ipaddress:
  3618. description: IP地址
  3619. type: string
  3620. isvalidate:
  3621. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3622. type: string
  3623. legalcardbackphotourl:
  3624. description: 法人身份证背面照地址
  3625. type: string
  3626. legalcardfrontphotourl:
  3627. description: 法人身份证正面照地址
  3628. type: string
  3629. legalpersonname:
  3630. description: 法人姓名(企业)
  3631. type: string
  3632. logincode:
  3633. description: 登录帐号 (加密存储)
  3634. type: string
  3635. memberareaid:
  3636. description: 所属会员ID
  3637. type: integer
  3638. mobile2:
  3639. description: 手机号码[明文-尚志]
  3640. type: string
  3641. mobilephone:
  3642. description: 手机号码 (加密存储)
  3643. type: string
  3644. modifiedby:
  3645. description: 修改人帐号
  3646. type: integer
  3647. modifiedtime:
  3648. description: 修改时间
  3649. type: string
  3650. nickname:
  3651. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3652. type: string
  3653. openmode:
  3654. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3655. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3656. type: integer
  3657. otherurl:
  3658. description: 其它图片地址[使用分号分隔]
  3659. type: string
  3660. postalcode:
  3661. description: 邮政编码
  3662. type: string
  3663. provinceid:
  3664. description: 省
  3665. type: integer
  3666. proxystatementurl:
  3667. description: 授权委托书
  3668. type: string
  3669. qq:
  3670. description: QQ(加密存储
  3671. type: string
  3672. referral:
  3673. description: 推荐人编码
  3674. type: string
  3675. remark:
  3676. description: 备注
  3677. type: string
  3678. removebeforestatus:
  3679. description: REMOVEBEFORESTATUS
  3680. type: integer
  3681. sex:
  3682. description: 性别 - 0:女 1:男
  3683. type: integer
  3684. signedstatus:
  3685. description: 账户一号签签约状态
  3686. type: integer
  3687. signpdfurl:
  3688. description: 签约pdf文件
  3689. type: string
  3690. subbranch:
  3691. description: 开户支行
  3692. type: string
  3693. telphone:
  3694. description: 联系电话(加密存储)
  3695. type: string
  3696. userid:
  3697. description: 用户ID(自增ID)
  3698. type: integer
  3699. userinfotype:
  3700. description: 用户信息类型 - 1:个人 2:企业
  3701. type: integer
  3702. username:
  3703. description: 用户姓名
  3704. type: string
  3705. userstate:
  3706. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3707. type: integer
  3708. usertype:
  3709. description: 用户类型 - 1:投资者 2:机构
  3710. type: integer
  3711. videourl:
  3712. description: 视频地址
  3713. type: string
  3714. wechat:
  3715. description: 微信号 (加密存储)
  3716. type: string
  3717. required:
  3718. - userid
  3719. type: object
  3720. erms3.QryAuditContractRsp:
  3721. properties:
  3722. accountid:
  3723. description: 交易员ID
  3724. type: string
  3725. applystatus:
  3726. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3727. type: integer
  3728. curdeliveryqty:
  3729. description: 未交收量
  3730. type: integer
  3731. customername:
  3732. description: 采购方ID
  3733. type: string
  3734. deliverygoodsid:
  3735. description: 品种ID
  3736. type: string
  3737. deliveryqty:
  3738. description: 交收量
  3739. type: integer
  3740. enumdicname:
  3741. description: 单位名称
  3742. type: string
  3743. matchaccountid:
  3744. description: 业务员ID
  3745. type: string
  3746. matchcustomername:
  3747. description: 销售方ID
  3748. type: string
  3749. pricedqty:
  3750. description: 定价量
  3751. type: number
  3752. signdate:
  3753. description: 签订日期
  3754. type: string
  3755. spotcontractid:
  3756. description: 合同ID
  3757. type: string
  3758. totaldqty:
  3759. description: 合同量
  3760. type: number
  3761. unpricedqty:
  3762. description: 未定价量
  3763. type: number
  3764. wrstandardname:
  3765. description: 商品名称
  3766. type: string
  3767. required:
  3768. - matchcustomername
  3769. - spotcontractid
  3770. type: object
  3771. erms3.QryPendingBizRsp:
  3772. properties:
  3773. accountid:
  3774. description: 现货账户
  3775. type: string
  3776. areaname:
  3777. description: 所属部门
  3778. type: string
  3779. bizid:
  3780. description: 业务ID
  3781. type: string
  3782. bizname:
  3783. description: 业务名称
  3784. type: string
  3785. status:
  3786. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3787. type: integer
  3788. type:
  3789. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3790. type: integer
  3791. type: object
  3792. erms3.QueryBusinessInfoRsp:
  3793. properties:
  3794. businessid:
  3795. description: 业务ID.
  3796. type: integer
  3797. buyamount:
  3798. description: 采购额.
  3799. type: number
  3800. buyqty:
  3801. description: 采购量.
  3802. type: string
  3803. futurepl:
  3804. description: 期货盈亏.
  3805. type: number
  3806. futureqty:
  3807. description: 期货敞口.
  3808. type: string
  3809. goodsid:
  3810. description: 商品名称/商品代码.
  3811. type: string
  3812. hedgingqty:
  3813. description: 套保量.
  3814. type: string
  3815. sellamount:
  3816. description: 销售额.
  3817. type: number
  3818. sellqty:
  3819. description: 销售量.
  3820. type: string
  3821. spotmarketvalue:
  3822. description: 现货市值.
  3823. type: number
  3824. spotpl:
  3825. description: 浮动权益.
  3826. type: number
  3827. spotqty:
  3828. description: 现货量.
  3829. type: string
  3830. statu:
  3831. description: 状态,0-未结束 1-已结束.
  3832. type: integer
  3833. totalpl:
  3834. description: 总盈亏.
  3835. type: number
  3836. totalqty:
  3837. description: 总敞口.
  3838. type: string
  3839. type:
  3840. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3841. type: integer
  3842. type: object
  3843. erms3.QuerySpotContractAppleFormRsp:
  3844. properties:
  3845. goodses:
  3846. description: 合约列表
  3847. items:
  3848. $ref: '#/definitions/models.GoodsIDAndName'
  3849. type: array
  3850. oppositeusers:
  3851. description: 对方账号列表
  3852. items:
  3853. $ref: '#/definitions/erms3.CustomerInfo'
  3854. type: array
  3855. ouruser:
  3856. $ref: '#/definitions/erms3.CustomerInfo'
  3857. description: 我方账号
  3858. warehouseinfos:
  3859. description: 仓库信息列表
  3860. items:
  3861. $ref: '#/definitions/models.Warehouseinfo'
  3862. type: array
  3863. wrstandards:
  3864. description: 仓单标准列表
  3865. items:
  3866. $ref: '#/definitions/models.WRStandardInfo'
  3867. type: array
  3868. type: object
  3869. erms3.QuerySpotContractInfoRsp:
  3870. properties:
  3871. accountid:
  3872. description: 表示交易员ID.
  3873. type: integer
  3874. curdeliveryqty:
  3875. description: 表示未交收量.
  3876. type: number
  3877. customername:
  3878. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3879. type: string
  3880. deliverygoodsid:
  3881. description: 表示品种ID.
  3882. type: string
  3883. deliveryqty:
  3884. description: 表示交收量.
  3885. type: number
  3886. matchaccountid:
  3887. description: 表示业务员ID.
  3888. type: integer
  3889. matchcustomername:
  3890. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3891. type: string
  3892. priceqty:
  3893. description: 表示定价量.
  3894. type: number
  3895. relatedbizid:
  3896. description: 表示业务ID.
  3897. type: string
  3898. signdate:
  3899. description: 表示签订日期.
  3900. type: string
  3901. spotcontractid:
  3902. description: 合同ID
  3903. type: string
  3904. status:
  3905. description: 表示状态,0-履约中 1-已完成.
  3906. type: integer
  3907. totalqty:
  3908. description: 表示合同量.
  3909. type: number
  3910. unpricedqty:
  3911. description: 表示未定价量.
  3912. type: number
  3913. wrstandardname:
  3914. description: 表示商品ID.
  3915. type: string
  3916. type: object
  3917. erms3.QueryUserInfoAppliesRsp:
  3918. properties:
  3919. biznature:
  3920. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3921. type: integer
  3922. contactname:
  3923. description: 联系人
  3924. type: string
  3925. createtime:
  3926. description: 开户申请时间
  3927. type: string
  3928. userid:
  3929. description: 用户ID(自增ID)
  3930. type: integer
  3931. userinfotype:
  3932. description: 用户信息类型 - 1:个人 2:企业
  3933. type: integer
  3934. username:
  3935. description: 用户姓名
  3936. type: string
  3937. userstate:
  3938. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3939. type: integer
  3940. required:
  3941. - userid
  3942. type: object
  3943. erms3.QueryUserInfosRsp:
  3944. properties:
  3945. biznature:
  3946. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3947. type: integer
  3948. contactname:
  3949. description: 联系人
  3950. type: string
  3951. customername:
  3952. description: 客户名称(企业名称)
  3953. type: string
  3954. userid:
  3955. description: 用户ID
  3956. type: integer
  3957. userinfotype:
  3958. description: 用户信息类型 - 1:个人 2:企业
  3959. type: integer
  3960. userstatus:
  3961. description: 用户状态 - 1:正常 2:注销
  3962. type: integer
  3963. required:
  3964. - userid
  3965. type: object
  3966. erms3.SoptContractDetail:
  3967. properties:
  3968. deliverygoodsdesc:
  3969. description: 现货品种说明
  3970. type: string
  3971. deliverygoodsid:
  3972. description: 现货品种ID
  3973. type: integer
  3974. deliverygoodsname:
  3975. description: 现货品种名称
  3976. type: string
  3977. pointdesc:
  3978. description: 点价描述
  3979. type: string
  3980. producttype:
  3981. description: 产品类型 1:标准仓单 2:等标 3:非标
  3982. type: integer
  3983. producttypename:
  3984. description: 产品类型名称
  3985. type: string
  3986. spotPointOrderVoList:
  3987. description: 点价列表
  3988. items:
  3989. $ref: '#/definitions/erms3.SpotPointOrder'
  3990. type: array
  3991. spotPriceOrderList:
  3992. description: 定价列表
  3993. items:
  3994. $ref: '#/definitions/erms3.SpotPriceOrder'
  3995. type: array
  3996. unitname:
  3997. description: 单位名称
  3998. type: string
  3999. warehouseid:
  4000. description: 仓库ID
  4001. type: integer
  4002. warehousename:
  4003. description: 仓库名称
  4004. type: string
  4005. wrstandardid:
  4006. description: 交易标的ID
  4007. type: integer
  4008. wrstandardname:
  4009. description: 交易标的名称
  4010. type: string
  4011. required:
  4012. - deliverygoodsid
  4013. - producttype
  4014. - unitname
  4015. - warehouseid
  4016. - wrstandardid
  4017. - wrstandardname
  4018. type: object
  4019. erms3.SpotPointOrder:
  4020. properties:
  4021. basic:
  4022. description: 基差
  4023. type: number
  4024. deliveryenddate:
  4025. description: 交收结束日期
  4026. type: string
  4027. deliverystartdate:
  4028. description: 交收开始日期
  4029. type: string
  4030. enddate:
  4031. description: 点价结束日期
  4032. type: string
  4033. goodsid:
  4034. description: 商品ID
  4035. type: integer
  4036. goodsname:
  4037. description: 商品名称
  4038. type: string
  4039. qty:
  4040. description: 数量
  4041. type: number
  4042. startdate:
  4043. description: 点价开始日期
  4044. type: string
  4045. required:
  4046. - basic
  4047. - goodsid
  4048. - qty
  4049. type: object
  4050. erms3.SpotPriceOrder:
  4051. properties:
  4052. amount:
  4053. description: 金额
  4054. type: number
  4055. deliveryenddate:
  4056. description: 交收结束日期
  4057. type: string
  4058. deliverystartdate:
  4059. description: 交收开始日期
  4060. type: string
  4061. price:
  4062. description: 价格
  4063. type: number
  4064. qty:
  4065. description: 数量
  4066. type: number
  4067. required:
  4068. - amount
  4069. - price
  4070. - qty
  4071. type: object
  4072. hsby.GetHsbyMyCountRsp:
  4073. properties:
  4074. myCouponCount:
  4075. description: 我的优惠卷数量
  4076. type: integer
  4077. myOrderDetailListingCount:
  4078. description: 我的订单求购中数量
  4079. type: integer
  4080. myOrderDetailPreCount:
  4081. description: 我的订单抢购中数量
  4082. type: integer
  4083. myPackageUnReceiveCount:
  4084. description: 我的包裹待收货数量
  4085. type: integer
  4086. myPackageUnSendCount:
  4087. description: 我的包裹待发货数量
  4088. type: integer
  4089. myPayOrderCount:
  4090. description: 我的订单待付款数量
  4091. type: integer
  4092. type: object
  4093. hsby.QueryProvincesAndCitiesRsp:
  4094. properties:
  4095. cities:
  4096. description: 市
  4097. items:
  4098. $ref: '#/definitions/models.Division'
  4099. type: array
  4100. province:
  4101. $ref: '#/definitions/models.Division'
  4102. description: 省
  4103. type: object
  4104. models.Clientfixedadconfig:
  4105. properties:
  4106. adsort:
  4107. description: 排序
  4108. type: integer
  4109. adtype:
  4110. description: 广告位类型 - 1:新品抢购(HSBY)
  4111. type: integer
  4112. areauserid:
  4113. description: 所属机构ID
  4114. type: integer
  4115. createdate:
  4116. description: 创建时间
  4117. type: string
  4118. creatorid:
  4119. description: 创建人
  4120. type: integer
  4121. imagepath:
  4122. description: 图片
  4123. type: string
  4124. isshow:
  4125. description: 是否展示 - 0:不展示 1:展示
  4126. type: integer
  4127. modifierid:
  4128. description: 操作人
  4129. type: integer
  4130. recsize:
  4131. description: 推荐尺寸
  4132. type: string
  4133. title:
  4134. description: 标题
  4135. type: string
  4136. updatedate:
  4137. description: 更新时间
  4138. type: string
  4139. urlcontent:
  4140. description: 链接(地址或商品ID)
  4141. type: string
  4142. urltype:
  4143. description: 链接类型 - 1:直接地址 2:商品ID
  4144. type: integer
  4145. required:
  4146. - adsort
  4147. - adtype
  4148. type: object
  4149. models.Division:
  4150. properties:
  4151. autoid:
  4152. description: 自增ID
  4153. type: integer
  4154. divisioncode:
  4155. description: 行政代码
  4156. type: string
  4157. divisionlevel:
  4158. description: 行政级别
  4159. type: string
  4160. divisionname:
  4161. description: 行政名称
  4162. type: string
  4163. modifierid:
  4164. description: 修改人
  4165. type: integer
  4166. modifytime:
  4167. description: 修改时间
  4168. type: string
  4169. parentcode:
  4170. description: 上级行政代码
  4171. type: string
  4172. pathname:
  4173. description: 路径名称
  4174. type: string
  4175. postcode:
  4176. description: 邮政编码
  4177. type: string
  4178. separablename:
  4179. description: 可拆分的全称
  4180. type: string
  4181. shortcode:
  4182. description: 地区简码
  4183. type: string
  4184. required:
  4185. - autoid
  4186. - divisioncode
  4187. type: object
  4188. models.Enumdicitem:
  4189. properties:
  4190. autoid:
  4191. description: 自增ID
  4192. type: integer
  4193. bankmappedvalue:
  4194. description: 银行服务对应值
  4195. type: string
  4196. enumdiccode:
  4197. description: 所属枚举代码
  4198. type: string
  4199. enumdicid:
  4200. description: 所属枚举ID
  4201. type: integer
  4202. enumdicname:
  4203. description: 枚举项名称
  4204. type: string
  4205. enumitemname:
  4206. description: 枚举项值
  4207. type: integer
  4208. enumitemstatus:
  4209. description: 枚举项状态 - 1.启用 2.不启用
  4210. type: integer
  4211. enumitemvalue:
  4212. description: 通用值 - [币种通用简写]
  4213. type: string
  4214. param1:
  4215. description: 参数1[币种:币种小数位]
  4216. type: string
  4217. param2:
  4218. description: 参数1[币种:币种显示单位]
  4219. type: string
  4220. remark:
  4221. description: 备注
  4222. type: string
  4223. required:
  4224. - autoid
  4225. - enumdiccode
  4226. - enumdicid
  4227. - enumitemname
  4228. type: object
  4229. models.ErmcpHisExposure:
  4230. properties:
  4231. needhedgeexposoure:
  4232. description: 应套保敞口
  4233. type: number
  4234. reckondate:
  4235. description: 日照时期(yyyyMMdd)
  4236. type: string
  4237. totalexposure:
  4238. description: 总敞口
  4239. type: number
  4240. type: object
  4241. models.ErmcpMiddleGoodsModel:
  4242. properties:
  4243. areauserid:
  4244. description: 机构用户ID
  4245. type: integer
  4246. enumdicname:
  4247. description: 单位名称
  4248. type: string
  4249. evaluateratio:
  4250. description: 估价系数
  4251. type: number
  4252. goodsgroupid:
  4253. description: 关联期货品种ID
  4254. type: integer
  4255. isvalid:
  4256. description: 状态 0-无效(停用) 1-有效(正常)
  4257. type: integer
  4258. middlegoodscode:
  4259. description: 套保品种代码
  4260. type: string
  4261. middlegoodsid:
  4262. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4263. type: integer
  4264. middlegoodsname:
  4265. description: 套保品种名称
  4266. type: string
  4267. modifytime:
  4268. description: 修改时间
  4269. type: string
  4270. needhedgeratio:
  4271. description: 套保比率
  4272. type: number
  4273. qtydecimalplace:
  4274. description: 数量小数位
  4275. type: integer
  4276. relatedgoodsid:
  4277. description: 关联交易商品ID
  4278. type: integer
  4279. relatedgoodstype:
  4280. description: 关联商品类型 - 1:期货合约 2:现货品种
  4281. type: integer
  4282. type: object
  4283. models.ErmcpReportDayFR:
  4284. properties:
  4285. areauserid:
  4286. description: 所属机构
  4287. type: integer
  4288. collectinvoiceamount:
  4289. description: 今日开票金额
  4290. type: number
  4291. collectinvoicecount:
  4292. description: 今日开票笔数
  4293. type: integer
  4294. collectmoneyamount:
  4295. description: 今日收款金额
  4296. type: number
  4297. collectmoneycount:
  4298. description: 今日收款笔数
  4299. type: integer
  4300. payinvoiceamount:
  4301. description: 今日收票金额
  4302. type: number
  4303. payinvoicecount:
  4304. description: 今日收票笔数
  4305. type: integer
  4306. paymoneyamount:
  4307. description: 今日付款金额
  4308. type: number
  4309. paymoneycount:
  4310. description: 今日付款笔数
  4311. type: integer
  4312. reckondate:
  4313. description: 日照时期(yyyyMMdd)
  4314. type: string
  4315. updatetime:
  4316. description: 更新时间
  4317. type: string
  4318. type: object
  4319. models.ErmcpWrstandard:
  4320. properties:
  4321. areauserid:
  4322. description: 所属机构
  4323. type: integer
  4324. createtime:
  4325. description: 创建时间
  4326. type: string
  4327. creatorid:
  4328. description: 创建人
  4329. type: integer
  4330. deliverygoodsid:
  4331. description: 品种ID
  4332. type: integer
  4333. enumdicname:
  4334. description: 单位名称
  4335. type: string
  4336. isvalid:
  4337. description: 是否有效 0-无效(停用) 1-有效(正常)
  4338. type: integer
  4339. minivalue:
  4340. description: 最小变动值
  4341. type: integer
  4342. minivaluedp:
  4343. description: 最小变动值小数位
  4344. type: integer
  4345. realminivalue:
  4346. description: 实际最小变动值
  4347. type: integer
  4348. realminivaluedp:
  4349. description: 实际最小变动值小数位
  4350. type: integer
  4351. remark:
  4352. description: 备注
  4353. type: string
  4354. unitid:
  4355. description: 单位ID
  4356. type: integer
  4357. updatetime:
  4358. description: 更新时间
  4359. type: string
  4360. wrstandardcode:
  4361. description: 现货商品代码
  4362. type: string
  4363. wrstandardid:
  4364. description: 现货商品ID(SEQ_WRSTANDARD)
  4365. type: integer
  4366. wrstandardname:
  4367. description: 现货商品名称
  4368. type: string
  4369. type: object
  4370. models.Goods:
  4371. properties:
  4372. agreeunit:
  4373. description: 合约单位
  4374. type: number
  4375. auditaccountid:
  4376. description: 审核操作员账号
  4377. type: integer
  4378. audittime:
  4379. description: 审核时间
  4380. type: string
  4381. cancelaccountid:
  4382. description: 注销操作员账号
  4383. type: integer
  4384. canceltime:
  4385. description: 注销时间
  4386. type: string
  4387. closepricemode:
  4388. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4389. type: integer
  4390. closepriceparam:
  4391. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  4392. type: number
  4393. createtime:
  4394. description: 创建时间
  4395. type: string
  4396. creatorid:
  4397. description: 创建人
  4398. type: integer
  4399. currencyid:
  4400. description: 报价货币ID
  4401. type: integer
  4402. cutmode:
  4403. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  4404. type: integer
  4405. decimalplace:
  4406. description: 报价小数位
  4407. type: integer
  4408. delistingdate:
  4409. description: 商品退市时间(状态:退市) -- 已作废
  4410. type: string
  4411. delistingmode:
  4412. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  4413. type: integer
  4414. deliveryflag:
  4415. description: 交割标志 - 0:不可交割 1:可交割
  4416. type: integer
  4417. forceclosemode:
  4418. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  4419. type: integer
  4420. forceclosevalue:
  4421. description: 定期强平参数 [收益权]
  4422. type: integer
  4423. goodscode:
  4424. description: 商品代码(内部)
  4425. type: string
  4426. goodscurrencyid:
  4427. description: 合约货币ID
  4428. type: integer
  4429. goodsgroupid:
  4430. description: 所属商品组ID
  4431. type: integer
  4432. goodsid:
  4433. description: 商品ID(自增ID SEQ_GOODS)
  4434. type: integer
  4435. goodsname:
  4436. description: 商品名称
  4437. type: string
  4438. goodsquotetype:
  4439. description: '合约报价类型: 1-直接报价 2-间接报价'
  4440. type: integer
  4441. goodsstatus:
  4442. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  4443. type: integer
  4444. goodstradetype:
  4445. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  4446. type: integer
  4447. goodunitid:
  4448. description: 报价单位ID
  4449. type: integer
  4450. hasquoter:
  4451. description: 是否有报价商 - 0:无报价商 1:有报价商
  4452. type: integer
  4453. hqprotecttime:
  4454. description: 行情保护时间(秒)
  4455. type: integer
  4456. innerdealmode:
  4457. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4458. type: integer
  4459. isbuylimited:
  4460. description: 是否限制建仓量 - 0:不限制 1:限制
  4461. type: integer
  4462. lasttradedate:
  4463. description: 最后交易日期(状态:待退市)
  4464. type: string
  4465. listingdate:
  4466. description: 交易开始日期
  4467. type: string
  4468. marketid:
  4469. description: 所属市场ID
  4470. type: integer
  4471. modifierid:
  4472. description: 修改人
  4473. type: integer
  4474. modifystatus:
  4475. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  4476. type: integer
  4477. modifytime:
  4478. description: 修改时间
  4479. type: string
  4480. outerdealmode:
  4481. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4482. type: integer
  4483. outgoodscode:
  4484. description: 商品代码(外部)
  4485. type: string
  4486. qtydecimalplace:
  4487. description: 成交量小数位
  4488. type: integer
  4489. quotegear:
  4490. description: 行情档位(1-10)
  4491. type: integer
  4492. quoteminunit:
  4493. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4494. type: integer
  4495. quoteshowtype:
  4496. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  4497. type: integer
  4498. quoteshowtypeinterval:
  4499. description: 行情报价间隔时间(秒)(成交价时为0)
  4500. type: integer
  4501. remark:
  4502. description: 备注
  4503. type: string
  4504. required:
  4505. - goodscode
  4506. - goodsid
  4507. - goodsname
  4508. - marketid
  4509. type: object
  4510. models.GoodsBrand:
  4511. properties:
  4512. brandid:
  4513. description: 品牌ID
  4514. type: integer
  4515. brandname:
  4516. description: 品牌名称
  4517. type: string
  4518. isvalid:
  4519. description: 是否有效 - 0:无效 1:有效
  4520. type: integer
  4521. type: object
  4522. models.GoodsGroupConvert:
  4523. properties:
  4524. convertratio:
  4525. description: 折算系数
  4526. type: number
  4527. dstgoodsgroupid:
  4528. description: 目标期货品种ID
  4529. type: integer
  4530. goodsgroupname:
  4531. description: 期货品种名称
  4532. type: string
  4533. outergroupcode:
  4534. description: 期货品种代码
  4535. type: string
  4536. srcgoodsgroupid:
  4537. description: 源期货品种ID
  4538. type: integer
  4539. type: object
  4540. models.GoodsIDAndName:
  4541. properties:
  4542. goodscode:
  4543. description: 商品代码(内部)
  4544. type: string
  4545. goodsid:
  4546. description: 商品ID(自增ID SEQ_GOODS)
  4547. type: integer
  4548. goodsname:
  4549. description: 商品名称
  4550. type: string
  4551. marketid:
  4552. description: 所属市场ID
  4553. type: integer
  4554. required:
  4555. - goodscode
  4556. - goodsid
  4557. - goodsname
  4558. - marketid
  4559. type: object
  4560. models.GoodsTypeModel:
  4561. properties:
  4562. modelid:
  4563. description: 型号ID
  4564. type: integer
  4565. modelname:
  4566. description: 型号名称
  4567. type: string
  4568. updatetime:
  4569. description: 更新时间
  4570. type: string
  4571. type: object
  4572. models.HsbyBuyMyPayOrder:
  4573. properties:
  4574. agreeunit:
  4575. description: 合约单位
  4576. type: number
  4577. buyaccountid:
  4578. description: 买方账号ID[报价币种]
  4579. type: integer
  4580. buyorderid:
  4581. description: 买方委托单号
  4582. type: string
  4583. createtime:
  4584. description: 创建时间
  4585. type: string
  4586. currencysign:
  4587. description: 货币符号
  4588. type: string
  4589. decimalplace:
  4590. description: 报价小数位
  4591. type: integer
  4592. goodscode:
  4593. description: 商品代码(内部)
  4594. type: string
  4595. goodsid:
  4596. description: 商品ID
  4597. type: integer
  4598. goodsname:
  4599. description: 商品名称
  4600. type: string
  4601. marketid:
  4602. description: 市场ID
  4603. type: integer
  4604. offamount:
  4605. description: 优惠金额
  4606. type: number
  4607. payamount:
  4608. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  4609. type: number
  4610. payflag:
  4611. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  4612. type: integer
  4613. paylimitedtime:
  4614. description: 支付期限
  4615. type: string
  4616. paytime:
  4617. description: 付款时间
  4618. type: string
  4619. picurls1:
  4620. description: 预售商品介绍图片[多张用逗号分隔]
  4621. type: string
  4622. picurls2:
  4623. description: 挂牌商品介绍图片[多张用逗号分隔]
  4624. type: string
  4625. sellaccountid:
  4626. description: 卖方账号ID[报价币种]
  4627. type: integer
  4628. sellorderid:
  4629. description: 卖方委托单号
  4630. type: string
  4631. tradeamount:
  4632. description: 成交金额
  4633. type: number
  4634. tradecharge:
  4635. description: 成交手续费(买方)
  4636. type: number
  4637. tradedate:
  4638. description: 交易日(yyyyMMdd)
  4639. type: string
  4640. tradeid:
  4641. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4642. type: string
  4643. trademode:
  4644. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4645. 21:竞拍-大宗式 22:受托竞价
  4646. type: integer
  4647. tradeprice:
  4648. description: 成交价格
  4649. type: number
  4650. tradeqty:
  4651. description: 成交数量
  4652. type: integer
  4653. vendorname1:
  4654. description: 预售商品供应商名称
  4655. type: string
  4656. vendorname2:
  4657. description: 挂牌商品供应商名称
  4658. type: string
  4659. required:
  4660. - goodscode
  4661. - goodsname
  4662. - tradeid
  4663. - trademode
  4664. type: object
  4665. models.HsbyBuyMyTradeDetail:
  4666. properties:
  4667. accountid:
  4668. description: 账户ID[报价币种]
  4669. type: integer
  4670. agreeunit:
  4671. description: 合约单位
  4672. type: number
  4673. amount:
  4674. description: 金额 = 价格 * 数量 * 合约单位
  4675. type: number
  4676. buyorsell:
  4677. description: 买卖 - 0:买 1:卖
  4678. type: integer
  4679. currencysign:
  4680. description: 货币符号
  4681. type: string
  4682. decimalplace:
  4683. description: 报价小数位
  4684. type: integer
  4685. goodscode:
  4686. description: 商品代码(内部)
  4687. type: string
  4688. goodsid:
  4689. description: 商品ID
  4690. type: integer
  4691. goodsname:
  4692. description: 商品名称
  4693. type: string
  4694. marketid:
  4695. description: 市场ID
  4696. type: integer
  4697. orderid:
  4698. description: 单号(成交单号)
  4699. type: string
  4700. picurls1:
  4701. description: 预售商品介绍图片[多张用逗号分隔]
  4702. type: string
  4703. picurls2:
  4704. description: 挂牌商品介绍图片[多张用逗号分隔]
  4705. type: string
  4706. price:
  4707. description: 价格
  4708. type: number
  4709. qty:
  4710. description: 数量
  4711. type: integer
  4712. time:
  4713. description: 时间
  4714. type: string
  4715. trademode:
  4716. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4717. 21:竞拍-大宗式 22:受托竞价
  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. - qty
  4734. - time
  4735. - trademode
  4736. type: object
  4737. models.HsbyGoodsOrderDetail:
  4738. properties:
  4739. buyorsell:
  4740. description: 买卖 - 0:买 1:卖
  4741. type: integer
  4742. currencysign:
  4743. description: 货币符号
  4744. type: string
  4745. customername:
  4746. description: 客户名称(企业名称),已脱敏
  4747. type: string
  4748. enableqty:
  4749. description: 可用数量
  4750. type: integer
  4751. goodunit:
  4752. description: 报价单位
  4753. type: string
  4754. orderid:
  4755. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4756. type: string
  4757. orderprice:
  4758. description: 委托价格
  4759. type: number
  4760. ordertime:
  4761. description: 委托时间
  4762. type: string
  4763. required:
  4764. - buyorsell
  4765. - orderid
  4766. - ordertime
  4767. type: object
  4768. models.HsbyListingGoodsDetail:
  4769. properties:
  4770. agreeunit:
  4771. description: 合约单位
  4772. type: number
  4773. buymaxqty:
  4774. description: 购买上限 [71] - 0为不限
  4775. type: integer
  4776. currency:
  4777. description: 货币
  4778. type: string
  4779. currencysign:
  4780. description: 货币符号
  4781. type: string
  4782. decimalplace:
  4783. description: 报价小数位
  4784. type: integer
  4785. desccityid:
  4786. description: 目的地(市)ID
  4787. type: integer
  4788. descprovinceid:
  4789. description: 目的地(省)ID
  4790. type: integer
  4791. goodscode:
  4792. description: 商品代码(内部)
  4793. type: string
  4794. goodsdesc:
  4795. description: 商品详情
  4796. type: string
  4797. goodsid:
  4798. description: 商品ID(自增ID SEQ_GOODS)
  4799. type: integer
  4800. goodsname:
  4801. description: 商品名称
  4802. type: string
  4803. goodsprice:
  4804. description: 商品价格
  4805. type: number
  4806. hotindex:
  4807. description: 景点热度
  4808. type: integer
  4809. last:
  4810. description: 现价
  4811. type: number
  4812. limitdown:
  4813. description: 跌停价
  4814. type: number
  4815. limitup:
  4816. description: 涨停价
  4817. type: number
  4818. lotsize:
  4819. description: 手数最小变动单位
  4820. type: integer
  4821. marketid:
  4822. description: 所属市场ID
  4823. type: integer
  4824. picurls:
  4825. description: 介绍图片[多张用逗号分隔]
  4826. type: string
  4827. quoteminunit:
  4828. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4829. type: integer
  4830. stepvalue:
  4831. description: 价格最小变动单位
  4832. type: number
  4833. trademode:
  4834. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4835. 21:竞拍-大宗式 22:受托竞价
  4836. type: integer
  4837. vendorattr:
  4838. description: 供应商附件(多张,逗号分隔)
  4839. type: string
  4840. vendorname:
  4841. description: 供应商名称
  4842. type: string
  4843. vendorphone:
  4844. description: 供应商客服电话
  4845. type: string
  4846. videourls:
  4847. description: 介绍视频[多张用逗号分隔]
  4848. type: string
  4849. required:
  4850. - goodscode
  4851. - goodsid
  4852. - goodsname
  4853. - marketid
  4854. - trademode
  4855. type: object
  4856. models.HsbyMarketGoods:
  4857. properties:
  4858. accountid:
  4859. description: 账户ID[报价币种]
  4860. type: integer
  4861. agreeunit:
  4862. description: 合约单位
  4863. type: number
  4864. buyorsell:
  4865. description: 买卖 - 0:买 1:卖
  4866. type: integer
  4867. categoryid:
  4868. description: 类别ID(WRCATEGORY)
  4869. type: integer
  4870. currency:
  4871. description: 货币
  4872. type: string
  4873. currencysign:
  4874. description: 货币符号
  4875. type: string
  4876. customername:
  4877. description: 卖家名称
  4878. type: string
  4879. decimalplace:
  4880. description: 报价小数位
  4881. type: integer
  4882. goodscode:
  4883. description: 商品代码(内部)
  4884. type: string
  4885. goodsid:
  4886. description: 商品ID
  4887. type: integer
  4888. goodsname:
  4889. description: 商品名称
  4890. type: string
  4891. goodsprice:
  4892. description: 商品价格
  4893. type: number
  4894. hascoupon:
  4895. description: 是否可用优惠卷
  4896. type: boolean
  4897. hotindex:
  4898. description: 景点热度
  4899. type: integer
  4900. marketid:
  4901. description: 市场ID
  4902. type: integer
  4903. orderid:
  4904. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4905. type: string
  4906. orderprice:
  4907. description: 委托价格
  4908. type: number
  4909. orderstatus:
  4910. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  4911. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  4912. 16:成交失败违约(荷兰式竞拍专用)
  4913. type: integer
  4914. picurls:
  4915. description: 介绍图片[多张用逗号分隔]
  4916. type: string
  4917. quoteminunit:
  4918. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4919. type: integer
  4920. sellUserID:
  4921. description: 卖方UserID
  4922. type: integer
  4923. trademode:
  4924. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4925. 21:竞拍-大宗式 22:受托竞价
  4926. type: integer
  4927. videourls:
  4928. description: 介绍视频[多张用逗号分隔]
  4929. type: string
  4930. required:
  4931. - accountid
  4932. - buyorsell
  4933. - goodscode
  4934. - goodsid
  4935. - goodsname
  4936. - marketid
  4937. - orderid
  4938. - trademode
  4939. type: object
  4940. models.HsbyMarketGoodsDetail:
  4941. properties:
  4942. accountid:
  4943. description: 账户ID[报价币种]
  4944. type: integer
  4945. agreeunit:
  4946. description: 合约单位
  4947. type: number
  4948. buymaxqty:
  4949. description: 购买上限 [71] - 0为不限
  4950. type: integer
  4951. buyorsell:
  4952. description: 买卖 - 0:买 1:卖
  4953. type: integer
  4954. cancelqty:
  4955. description: 撤单数量
  4956. type: integer
  4957. categoryid:
  4958. description: 类别ID(WRCATEGORY)
  4959. type: integer
  4960. currency:
  4961. description: 货币
  4962. type: string
  4963. currencysign:
  4964. description: 货币符号
  4965. type: string
  4966. customername:
  4967. description: 卖家名称
  4968. type: string
  4969. decimalplace:
  4970. description: 报价小数位
  4971. type: integer
  4972. goodscode:
  4973. description: 商品代码(内部)
  4974. type: string
  4975. goodsdesc:
  4976. description: 商品详情
  4977. type: string
  4978. goodsid:
  4979. description: 商品ID
  4980. type: integer
  4981. goodsname:
  4982. description: 商品名称
  4983. type: string
  4984. goodsprice:
  4985. description: 商品价格
  4986. type: number
  4987. hotindex:
  4988. description: 景点热度
  4989. type: integer
  4990. lotsize:
  4991. description: 手数最小变动单位
  4992. type: integer
  4993. marketid:
  4994. description: 市场ID
  4995. type: integer
  4996. orderid:
  4997. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4998. type: string
  4999. orderprice:
  5000. description: 委托价格
  5001. type: number
  5002. orderqty:
  5003. description: 委托数量
  5004. type: integer
  5005. orderstatus:
  5006. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  5007. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  5008. 16:成交失败违约(荷兰式竞拍专用)
  5009. type: integer
  5010. picurls:
  5011. description: 介绍图片[多张用逗号分隔]
  5012. type: string
  5013. quoteminunit:
  5014. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5015. type: integer
  5016. sellUserID:
  5017. description: 卖方UserID
  5018. type: integer
  5019. trademode:
  5020. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5021. 21:竞拍-大宗式 22:受托竞价
  5022. type: integer
  5023. tradeqty:
  5024. description: 成交数量
  5025. type: integer
  5026. vendorattr:
  5027. description: 供应商附件(多张,逗号分隔)
  5028. type: string
  5029. vendorname:
  5030. description: 供应商名称
  5031. type: string
  5032. vendorphone:
  5033. description: 供应商客服电话
  5034. type: string
  5035. videourls:
  5036. description: 介绍视频[多张用逗号分隔]
  5037. type: string
  5038. required:
  5039. - accountid
  5040. - buyorsell
  5041. - goodscode
  5042. - goodsid
  5043. - goodsname
  5044. - marketid
  5045. - orderid
  5046. - orderqty
  5047. - trademode
  5048. type: object
  5049. models.HsbyMarketInfo:
  5050. properties:
  5051. marketid:
  5052. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  5053. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  5054. type: integer
  5055. marketname:
  5056. description: 市场名称
  5057. type: string
  5058. marketstatus:
  5059. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  5060. type: integer
  5061. trademode:
  5062. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5063. 21:竞拍-大宗式 22:受托竞价
  5064. type: integer
  5065. required:
  5066. - marketid
  5067. - marketstatus
  5068. - trademode
  5069. type: object
  5070. models.HsbyMyGoods:
  5071. properties:
  5072. accountid:
  5073. description: 账号Id
  5074. type: integer
  5075. agreeunit:
  5076. description: 合约单位
  5077. type: number
  5078. buyaverageprice:
  5079. description: 持仓均价
  5080. type: number
  5081. buycurholderamount:
  5082. description: 买当前持仓总金额[商品币种]
  5083. type: number
  5084. buycurpositionqty:
  5085. description: 买当前持仓总数量
  5086. type: integer
  5087. buymaxqty:
  5088. description: 购买上限 [71] - 0为不限
  5089. type: integer
  5090. currencysign:
  5091. description: 货币符号
  5092. type: string
  5093. decimalplace:
  5094. description: 报价小数位
  5095. type: integer
  5096. enableqty:
  5097. description: 可用数量
  5098. type: integer
  5099. goodscode:
  5100. description: 商品代码(内部)
  5101. type: string
  5102. goodsid:
  5103. description: 商品Id
  5104. type: integer
  5105. goodsname:
  5106. description: 商品名称
  5107. type: string
  5108. goodsprice:
  5109. description: 商品价格
  5110. type: number
  5111. goodsstatus:
  5112. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5113. type: integer
  5114. last:
  5115. description: 现价(仅使用于挂牌点选)
  5116. type: number
  5117. limitdown:
  5118. description: 跌停价(仅使用于挂牌点选)
  5119. type: number
  5120. limitup:
  5121. description: 涨停价(仅使用于挂牌点选)
  5122. type: number
  5123. lotsize:
  5124. description: 手数最小变动单位
  5125. type: integer
  5126. marketid:
  5127. description: 所属市场ID
  5128. type: integer
  5129. picurls:
  5130. description: 介绍图片[多张用逗号分隔]
  5131. type: string
  5132. quoteminunit:
  5133. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5134. type: integer
  5135. stepvalue:
  5136. description: 价格最小变动单位
  5137. type: number
  5138. trademode:
  5139. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5140. 21:竞拍-大宗式 22:受托竞价
  5141. type: integer
  5142. required:
  5143. - accountid
  5144. - goodscode
  5145. - goodsid
  5146. - goodsname
  5147. - marketid
  5148. - trademode
  5149. type: object
  5150. models.HsbyMyPackage:
  5151. properties:
  5152. accountid:
  5153. description: 账户ID
  5154. type: integer
  5155. address:
  5156. description: 提货人详细地址
  5157. type: string
  5158. agreeunit:
  5159. description: 合约单位
  5160. type: number
  5161. amount:
  5162. description: 提货金额
  5163. type: number
  5164. auditer:
  5165. description: 审核人
  5166. type: integer
  5167. audittime:
  5168. description: 审核时间
  5169. type: string
  5170. averageprice:
  5171. description: 均价
  5172. type: number
  5173. cardnum:
  5174. description: 提货人证件号码
  5175. type: string
  5176. cardtypeid:
  5177. description: 提货人证件类型
  5178. type: integer
  5179. checkremark:
  5180. description: 审核备注
  5181. type: string
  5182. currencysign:
  5183. description: 货币符号
  5184. type: string
  5185. decimalplace:
  5186. description: 报价小数位
  5187. type: integer
  5188. goodscode:
  5189. description: 商品代码(内部)
  5190. type: string
  5191. goodsid:
  5192. description: 商品ID
  5193. type: integer
  5194. goodsname:
  5195. description: 商品名称
  5196. type: string
  5197. handlestatus:
  5198. description: 处理状态
  5199. type: integer
  5200. marketid:
  5201. description: 市场ID
  5202. type: integer
  5203. phonenum:
  5204. description: 提货人联系方式
  5205. type: string
  5206. picurls:
  5207. description: 介绍图片[多张用逗号分隔]
  5208. type: string
  5209. qty:
  5210. description: 提货数量
  5211. type: number
  5212. recivername:
  5213. description: 提货人姓名
  5214. type: string
  5215. reqtime:
  5216. description: 更新时间
  5217. type: string
  5218. takemode:
  5219. description: 提货方式 - 2:自提 3:配送
  5220. type: integer
  5221. takeorderid:
  5222. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  5223. type: string
  5224. takeorderstatus:
  5225. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  5226. type: integer
  5227. takeremark:
  5228. description: 提货备注
  5229. type: string
  5230. tradedate:
  5231. description: 交易日(yyyyMMdd)
  5232. type: string
  5233. trademode:
  5234. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5235. 21:竞拍-大宗式 22:受托竞价
  5236. type: integer
  5237. userid:
  5238. description: 用户ID
  5239. type: integer
  5240. vendorname:
  5241. description: 供应商名称
  5242. type: string
  5243. required:
  5244. - goodscode
  5245. - goodsname
  5246. - takeorderid
  5247. - trademode
  5248. type: object
  5249. models.HsbyPreGoods:
  5250. properties:
  5251. agreeunit:
  5252. description: 合约单位
  5253. type: number
  5254. currency:
  5255. description: 货币
  5256. type: string
  5257. currencysign:
  5258. description: 货币符号
  5259. type: string
  5260. decimalplace:
  5261. description: 报价小数位
  5262. type: integer
  5263. desccityid:
  5264. description: 目的地(市)
  5265. type: integer
  5266. descprovinceid:
  5267. description: 目的地(省)
  5268. type: integer
  5269. enableqty:
  5270. description: 剩余数量
  5271. type: integer
  5272. goodscode:
  5273. description: 商品代码(内部)
  5274. type: string
  5275. goodsid:
  5276. description: 商品ID(自增ID SEQ_GOODS)
  5277. type: integer
  5278. goodsname:
  5279. description: 商品名称
  5280. type: string
  5281. goodsstatus:
  5282. description: 商品状态- 2:未上市 3:上市
  5283. type: integer
  5284. lasttradedate:
  5285. description: 最后交易日期(状态:待退市)
  5286. type: string
  5287. listingdate:
  5288. description: 交易开始日期
  5289. type: string
  5290. marketid:
  5291. description: 所属市场ID
  5292. type: integer
  5293. picurls:
  5294. description: 介绍图片[多张用逗号分隔]
  5295. type: string
  5296. presaledqty:
  5297. description: 已预售量(预售结束时更新)
  5298. type: integer
  5299. presaleqty:
  5300. description: 预售数量
  5301. type: integer
  5302. quoteminunit:
  5303. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5304. type: integer
  5305. refprice:
  5306. description: 参考价格[一口价]
  5307. type: number
  5308. relatedgoodsid:
  5309. description: 关联交易合约ID
  5310. type: integer
  5311. trademode:
  5312. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5313. 21:竞拍-大宗式 22:受托竞价
  5314. type: integer
  5315. videourls:
  5316. description: 介绍视频[多张用逗号分隔]
  5317. type: string
  5318. required:
  5319. - goodscode
  5320. - goodsid
  5321. - goodsname
  5322. - marketid
  5323. - trademode
  5324. type: object
  5325. models.HsbyPreGoodsDetail:
  5326. properties:
  5327. agreeunit:
  5328. description: 合约单位
  5329. type: number
  5330. buymaxqty:
  5331. description: 购买上限 [71] - 0为不限
  5332. type: integer
  5333. currency:
  5334. description: 货币
  5335. type: string
  5336. currencysign:
  5337. description: 货币符号
  5338. type: string
  5339. customername:
  5340. description: 发行单位
  5341. type: string
  5342. decimalplace:
  5343. description: 报价小数位
  5344. type: integer
  5345. desccityid:
  5346. description: 目的地(市)ID
  5347. type: integer
  5348. descprovinceid:
  5349. description: 目的地(省)ID
  5350. type: integer
  5351. enableqty:
  5352. description: 剩余数量
  5353. type: integer
  5354. goodscode:
  5355. description: 商品代码(内部)
  5356. type: string
  5357. goodsdesc:
  5358. description: 商品详情
  5359. type: string
  5360. goodsid:
  5361. description: 商品ID(自增ID SEQ_GOODS)
  5362. type: integer
  5363. goodsname:
  5364. description: 商品名称
  5365. type: string
  5366. goodsstatus:
  5367. description: 商品状态- 2:未上市 3:上市
  5368. type: integer
  5369. goodunit:
  5370. description: 报价单位
  5371. type: string
  5372. lasttradedate:
  5373. description: 最后交易日期(状态:待退市)
  5374. type: string
  5375. listingdate:
  5376. description: 交易开始日期
  5377. type: string
  5378. lotsize:
  5379. description: 手数最小变动单位
  5380. type: integer
  5381. marketid:
  5382. description: 所属市场ID
  5383. type: integer
  5384. picurls:
  5385. description: 介绍图片[多张用逗号分隔]
  5386. type: string
  5387. presaledqty:
  5388. description: 已预售量(预售结束时更新)
  5389. type: integer
  5390. presaleqty:
  5391. description: 预售数量
  5392. type: integer
  5393. quoteminunit:
  5394. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5395. type: integer
  5396. refprice:
  5397. description: 参考价格[一口价]
  5398. type: number
  5399. relatedgoodsid:
  5400. description: 关联交易合约ID
  5401. type: integer
  5402. stepvalue:
  5403. description: 价格最小变动单位
  5404. type: number
  5405. trademode:
  5406. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5407. 21:竞拍-大宗式 22:受托竞价
  5408. type: integer
  5409. vendorattr:
  5410. description: 供应商附件(多张,逗号分隔)
  5411. type: string
  5412. vendorname:
  5413. description: 供应商名称
  5414. type: string
  5415. vendorphone:
  5416. description: 供应商客服电话
  5417. type: string
  5418. videourls:
  5419. description: 介绍视频[多张用逗号分隔]
  5420. type: string
  5421. required:
  5422. - goodscode
  5423. - goodsid
  5424. - goodsname
  5425. - marketid
  5426. - trademode
  5427. type: object
  5428. models.HsbySellCollectionOrder:
  5429. properties:
  5430. agreeunit:
  5431. description: 合约单位
  5432. type: number
  5433. buyaccountid:
  5434. description: 买方账号ID[报价币种]
  5435. type: integer
  5436. buyorderid:
  5437. description: 买方委托单号
  5438. type: string
  5439. createtime:
  5440. description: 创建时间
  5441. type: string
  5442. currencysign:
  5443. description: 货币符号
  5444. type: string
  5445. decimalplace:
  5446. description: 报价小数位
  5447. type: integer
  5448. goodscode:
  5449. description: 商品代码(内部)
  5450. type: string
  5451. goodsid:
  5452. description: 商品ID
  5453. type: integer
  5454. goodsname:
  5455. description: 商品名称
  5456. type: string
  5457. marketid:
  5458. description: 市场ID
  5459. type: integer
  5460. offamount:
  5461. description: 优惠金额
  5462. type: number
  5463. payamount:
  5464. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  5465. type: number
  5466. payflag:
  5467. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  5468. type: integer
  5469. paylimitedtime:
  5470. description: 支付期限
  5471. type: string
  5472. paytime:
  5473. description: 付款时间
  5474. type: string
  5475. picurls:
  5476. description: 商品介绍图片[多张用逗号分隔]
  5477. type: string
  5478. sellaccountid:
  5479. description: 卖方账号ID[报价币种]
  5480. type: integer
  5481. sellorderid:
  5482. description: 卖方委托单号
  5483. type: string
  5484. tradeamount:
  5485. description: 成交金额
  5486. type: number
  5487. tradecharge:
  5488. description: 成交手续费(买方)
  5489. type: number
  5490. tradedate:
  5491. description: 交易日(yyyyMMdd)
  5492. type: string
  5493. tradeid:
  5494. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5495. type: string
  5496. trademode:
  5497. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5498. 21:竞拍-大宗式 22:受托竞价
  5499. type: integer
  5500. tradeprice:
  5501. description: 成交价格
  5502. type: number
  5503. tradeqty:
  5504. description: 成交数量
  5505. type: integer
  5506. required:
  5507. - goodscode
  5508. - goodsname
  5509. - tradeid
  5510. - trademode
  5511. type: object
  5512. models.HsbySellMyDetail:
  5513. properties:
  5514. accountid:
  5515. description: 账户ID[报价币种]
  5516. type: integer
  5517. agreeunit:
  5518. description: 合约单位
  5519. type: number
  5520. buyorsell:
  5521. description: 买卖 - 0:买 1:卖
  5522. type: integer
  5523. currencysign:
  5524. description: 货币符号
  5525. type: string
  5526. decimalplace:
  5527. description: 报价小数位
  5528. type: integer
  5529. goodscode:
  5530. description: 商品代码(内部)
  5531. type: string
  5532. goodsid:
  5533. description: 商品ID
  5534. type: integer
  5535. goodsname:
  5536. description: 商品名称
  5537. type: string
  5538. marketid:
  5539. description: 市场ID
  5540. type: integer
  5541. orderid:
  5542. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  5543. type: string
  5544. ordertype:
  5545. description: 单据类型:0 - 发布中, 1 - 已完成
  5546. type: integer
  5547. picurls:
  5548. description: 介绍图片[多张用逗号分隔]
  5549. type: string
  5550. price:
  5551. description: 价格
  5552. type: number
  5553. qty:
  5554. description: 数量
  5555. type: integer
  5556. time:
  5557. description: 时间
  5558. type: string
  5559. trademode:
  5560. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5561. 21:竞拍-大宗式 22:受托竞价
  5562. type: integer
  5563. vendorname:
  5564. description: 供应商名称
  5565. type: string
  5566. required:
  5567. - accountid
  5568. - buyorsell
  5569. - goodscode
  5570. - goodsid
  5571. - goodsname
  5572. - marketid
  5573. - orderid
  5574. - time
  5575. - trademode
  5576. type: object
  5577. models.HsbyTopGoods:
  5578. properties:
  5579. agreeunit:
  5580. description: 合约单位
  5581. type: number
  5582. currency:
  5583. description: 货币
  5584. type: string
  5585. currencysign:
  5586. description: 货币符号
  5587. type: string
  5588. decimalplace:
  5589. description: 报价小数位
  5590. type: integer
  5591. desccityid:
  5592. description: 目的地(市)
  5593. type: integer
  5594. descprovinceid:
  5595. description: 目的地(省)
  5596. type: integer
  5597. goodscode:
  5598. description: 商品代码(内部)
  5599. type: string
  5600. goodsid:
  5601. description: 商品ID(自增ID SEQ_GOODS)
  5602. type: integer
  5603. goodsname:
  5604. description: 商品名称
  5605. type: string
  5606. hotindex:
  5607. description: 景点热度
  5608. type: integer
  5609. last:
  5610. description: 现价
  5611. type: number
  5612. marketid:
  5613. description: 所属市场ID
  5614. type: integer
  5615. picurls:
  5616. description: 介绍图片[多张用逗号分隔]
  5617. type: string
  5618. quoteminunit:
  5619. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5620. type: integer
  5621. trademode:
  5622. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5623. 21:竞拍-大宗式 22:受托竞价
  5624. type: integer
  5625. videourls:
  5626. description: 介绍视频[多张用逗号分隔]
  5627. type: string
  5628. required:
  5629. - goodscode
  5630. - goodsid
  5631. - goodsname
  5632. - marketid
  5633. - trademode
  5634. type: object
  5635. models.HybsMyBuyOrderDetail:
  5636. properties:
  5637. accountid:
  5638. description: 账户ID[报价币种]
  5639. type: integer
  5640. agreeunit:
  5641. description: 合约单位
  5642. type: number
  5643. buyorsell:
  5644. description: 买卖 - 0:买 1:卖
  5645. type: integer
  5646. cancelqty:
  5647. description: 撤单数量
  5648. type: integer
  5649. currencysign:
  5650. description: 货币符号
  5651. type: string
  5652. decimalplace:
  5653. description: 报价小数位
  5654. type: integer
  5655. goodscode:
  5656. description: 商品代码(内部)
  5657. type: string
  5658. goodsid:
  5659. description: 商品ID
  5660. type: integer
  5661. goodsname:
  5662. description: 商品名称
  5663. type: string
  5664. listingselecttype:
  5665. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  5666. type: integer
  5667. marketid:
  5668. description: 市场ID
  5669. type: integer
  5670. mybuystatus:
  5671. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  5672. type: integer
  5673. orderamount:
  5674. description: 委托金额
  5675. type: number
  5676. orderid:
  5677. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5678. type: string
  5679. orderprice:
  5680. description: 委托价格
  5681. type: number
  5682. orderqty:
  5683. description: 委托数量
  5684. type: integer
  5685. orderstatus:
  5686. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  5687. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  5688. 16:成交失败违约(荷兰式竞拍专用)
  5689. type: integer
  5690. ordertime:
  5691. description: 委托时间
  5692. type: string
  5693. picurls1:
  5694. description: 预售商品介绍图片[多张用逗号分隔]
  5695. type: string
  5696. picurls2:
  5697. description: 挂牌商品介绍图片[多张用逗号分隔]
  5698. type: string
  5699. trademode:
  5700. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5701. 21:竞拍-大宗式 22:受托竞价
  5702. type: integer
  5703. tradeqty:
  5704. description: 成交数量
  5705. type: integer
  5706. vendorname1:
  5707. description: 预售商品供应商名称
  5708. type: string
  5709. vendorname2:
  5710. description: 挂牌商品供应商名称
  5711. type: string
  5712. required:
  5713. - accountid
  5714. - buyorsell
  5715. - goodscode
  5716. - goodsid
  5717. - goodsname
  5718. - marketid
  5719. - orderid
  5720. - orderqty
  5721. - ordertime
  5722. - trademode
  5723. type: object
  5724. models.Market:
  5725. properties:
  5726. auctionwrtype:
  5727. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  5728. type: integer
  5729. canacceptquote:
  5730. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  5731. type: integer
  5732. cangoodsexercise:
  5733. description: '[期权]是否可现货行权- 0:否 1:是'
  5734. type: integer
  5735. cangoodsexercisetype:
  5736. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  5737. type: integer
  5738. canmanualquotestrike:
  5739. description: 是否可手动报行权价- 0:否 1:是 [期权]
  5740. type: integer
  5741. canmutistage:
  5742. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  5743. type: integer
  5744. canpreexercise:
  5745. description: '[期权]是否可预申报- 0:否 1:是'
  5746. type: integer
  5747. clearinterval:
  5748. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  5749. type: integer
  5750. contracttmp:
  5751. description: 合同模板[荷兰式][竞价式][仓单贸易]
  5752. type: string
  5753. exchareaid:
  5754. description: 所属交易所,可以没有
  5755. type: integer
  5756. goodstype:
  5757. description: 商品类型 - 1:交易商品 2:仓单商品
  5758. type: integer
  5759. hasrebate:
  5760. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  5761. type: integer
  5762. hastradecredit:
  5763. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  5764. type: integer
  5765. haswr:
  5766. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  5767. type: integer
  5768. isdeductmargin:
  5769. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  5770. type: integer
  5771. isrecordsource:
  5772. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  5773. type: integer
  5774. isreleasemargin:
  5775. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  5776. type: integer
  5777. marginformula:
  5778. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  5779. type: integer
  5780. marginformula2:
  5781. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  5782. type: integer
  5783. marketid:
  5784. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  5785. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  5786. type: integer
  5787. marketname:
  5788. description: 市场名称
  5789. type: string
  5790. marketserviceid:
  5791. description: 市场服务ID
  5792. type: integer
  5793. marketstatus:
  5794. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  5795. type: integer
  5796. markettype:
  5797. description: 市场类型- 1:非交易服务 2:交易服务
  5798. type: integer
  5799. matchermode:
  5800. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  5801. type: integer
  5802. openmethod:
  5803. description: 开盘模式 - 0 自动 1手动
  5804. type: integer
  5805. otcuserid:
  5806. description: 场外期权做市商[场外期权]
  5807. type: integer
  5808. outersynctime:
  5809. description: 外部同步时间点(h24:mi:ss)[场外期权]
  5810. type: string
  5811. pendingflag:
  5812. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  5813. type: integer
  5814. pendingtime:
  5815. description: 待开市时间[通道交易-对冲](HH:mm)
  5816. type: string
  5817. performancetempid:
  5818. description: 履约计划模板ID - 作废
  5819. type: integer
  5820. premiumquotemode:
  5821. description: 权利金报价方式 - 1:自动 2:手动
  5822. type: integer
  5823. rebateratio:
  5824. description: 返利比率[竞价式]
  5825. type: number
  5826. reckonorder:
  5827. description: 结算顺序
  5828. type: integer
  5829. reckonpricealgorithm:
  5830. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  5831. 6.卖一价 7.买一卖一均价 8.外部结算价'
  5832. type: integer
  5833. reckonpriceparam:
  5834. description: 结算价参数
  5835. type: integer
  5836. reckontime:
  5837. description: 结算时间[通道交易-对冲](HH:mm)
  5838. type: string
  5839. roleprioritytype:
  5840. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  5841. type: integer
  5842. selllistingauditflag:
  5843. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  5844. type: integer
  5845. trademarkettype:
  5846. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  5847. type: integer
  5848. trademode:
  5849. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5850. 21:竞拍-大宗式 22:受托竞价
  5851. type: integer
  5852. tradeproperty:
  5853. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  5854. 8:场外期权
  5855. type: integer
  5856. tradetype:
  5857. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  5858. type: integer
  5859. required:
  5860. - marketid
  5861. - marketstatus
  5862. - openmethod
  5863. - reckonpricealgorithm
  5864. - trademode
  5865. - tradeproperty
  5866. type: object
  5867. models.Marketrun:
  5868. properties:
  5869. afternexttradedate:
  5870. description: 下下交易日
  5871. type: string
  5872. clearquoteflag:
  5873. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  5874. type: integer
  5875. lastreckondate:
  5876. description: 最新交易日(结算成功)
  5877. type: string
  5878. machinedate:
  5879. description: 机器时间
  5880. type: string
  5881. manualflag:
  5882. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  5883. type: integer
  5884. marketid:
  5885. description: 市场ID
  5886. type: integer
  5887. nexttradedate:
  5888. description: 下一交易日
  5889. type: string
  5890. pretradedate:
  5891. description: 上一交易日
  5892. type: string
  5893. reckonflag:
  5894. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  5895. type: integer
  5896. runstatus:
  5897. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  5898. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  5899. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  5900. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  5901. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  5902. 62.今日免清算
  5903. type: integer
  5904. sectionid:
  5905. description: 时间段号[多时段时用]
  5906. type: integer
  5907. tradedate:
  5908. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  5909. type: string
  5910. tradedate2:
  5911. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  5912. type: string
  5913. updatetime:
  5914. description: 更新时间
  5915. type: string
  5916. required:
  5917. - marketid
  5918. - nexttradedate
  5919. - reckonflag
  5920. - runstatus
  5921. - tradedate
  5922. - tradedate2
  5923. type: object
  5924. models.Messageboard:
  5925. properties:
  5926. contactnum:
  5927. description: 联系电话
  5928. type: string
  5929. createtime:
  5930. description: 创建时间
  5931. type: string
  5932. message:
  5933. description: 留言信息
  5934. type: string
  5935. messageboardid:
  5936. description: 留言簿ID(SEQ_MessageBoard)
  5937. type: integer
  5938. userid:
  5939. description: 用户ID
  5940. type: integer
  5941. required:
  5942. - messageboardid
  5943. type: object
  5944. models.MyCoupon:
  5945. properties:
  5946. accountid:
  5947. description: 资金账户ID
  5948. type: integer
  5949. areauserid:
  5950. description: 所属机构
  5951. type: integer
  5952. conditionvalue:
  5953. description: 条件阈值(可为0)
  5954. type: number
  5955. couponcategroy:
  5956. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  5957. type: integer
  5958. couponname:
  5959. description: 优惠券名称
  5960. type: string
  5961. coupontypeid:
  5962. description: 优惠券类型ID
  5963. type: string
  5964. couponvalue:
  5965. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  5966. type: number
  5967. curfreezeqty:
  5968. description: 期末冻结数量
  5969. type: integer
  5970. curqty:
  5971. description: 期末数量
  5972. type: integer
  5973. isgeneral:
  5974. description: 是否通用券 - 0:否 1:是
  5975. type: integer
  5976. isunusable:
  5977. description: 是否不可用
  5978. type: boolean
  5979. limitedflag:
  5980. description: 是否指定商品 - 0:不限 1:限制
  5981. type: integer
  5982. limitedgoodsids:
  5983. description: 指定商品IDs[逗号分隔,前后加逗号]
  5984. type: string
  5985. orifreezeqty:
  5986. description: 期初冻结数量
  5987. type: integer
  5988. oriqty:
  5989. description: 期初数量
  5990. type: integer
  5991. reasontype:
  5992. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  5993. type: integer
  5994. todaydecrease:
  5995. description: 今日减少
  5996. type: integer
  5997. todayincrease:
  5998. description: 今日增加
  5999. type: integer
  6000. userid:
  6001. description: 用户ID
  6002. type: integer
  6003. userscope:
  6004. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  6005. type: string
  6006. required:
  6007. - accountid
  6008. - coupontypeid
  6009. type: object
  6010. models.MyCouponHold:
  6011. properties:
  6012. accountid:
  6013. description: 资金账户ID
  6014. type: integer
  6015. conditionvalue:
  6016. description: 条件阈值(可为0)
  6017. type: number
  6018. couponcategroy:
  6019. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  6020. type: integer
  6021. couponholdid:
  6022. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  6023. type: string
  6024. couponname:
  6025. description: 优惠券名称
  6026. type: string
  6027. coupontypeid:
  6028. description: 优惠券类型ID - SEQ_COUPONTYPE
  6029. type: string
  6030. couponvalue:
  6031. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  6032. type: number
  6033. createtime:
  6034. description: 创建时间
  6035. type: string
  6036. enddate:
  6037. description: 结束日期
  6038. type: string
  6039. giveapplyid:
  6040. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  6041. type: integer
  6042. holdstatus:
  6043. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  6044. type: integer
  6045. isgeneral:
  6046. description: 是否通用券 - 0:否 1:是
  6047. type: integer
  6048. limitedflag:
  6049. description: 是否指定商品 - 0:不限 1:限制
  6050. type: integer
  6051. limitedgoodsids:
  6052. description: 指定商品IDs[逗号分隔]
  6053. type: string
  6054. qty:
  6055. description: 数量(按1平铺)
  6056. type: integer
  6057. startdate:
  6058. description: 开始日期
  6059. type: string
  6060. userid:
  6061. description: 用户ID
  6062. type: integer
  6063. userscope:
  6064. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  6065. type: string
  6066. required:
  6067. - couponholdid
  6068. type: object
  6069. models.MyUsedCoupon:
  6070. properties:
  6071. accountid:
  6072. description: 资金账户ID(买方)
  6073. type: integer
  6074. conditionvalue:
  6075. description: 条件阈值(可为0)
  6076. type: number
  6077. couponcategroy:
  6078. description: 种类 - 1:现金券 2:折扣券
  6079. type: integer
  6080. couponname:
  6081. description: 优惠券名称
  6082. type: string
  6083. coupontypeid:
  6084. description: 优惠券类型ID(买方)
  6085. type: string
  6086. couponvalue:
  6087. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  6088. type: number
  6089. createtime:
  6090. description: 创建时间
  6091. type: string
  6092. goodsid:
  6093. description: 商品ID
  6094. type: integer
  6095. handlestatus:
  6096. description: 处理状态
  6097. type: integer
  6098. marketid:
  6099. description: 市场ID
  6100. type: integer
  6101. offamount:
  6102. description: 优惠金额
  6103. type: number
  6104. orderid:
  6105. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6106. type: string
  6107. sellaccountid:
  6108. description: 资金账户ID(卖方)
  6109. type: integer
  6110. tradeamount:
  6111. description: 成交金额
  6112. type: number
  6113. tradeid:
  6114. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6115. type: string
  6116. usedqty:
  6117. description: 使用数量
  6118. type: integer
  6119. required:
  6120. - coupontypeid
  6121. - orderid
  6122. type: object
  6123. models.OperationPrimaryMenu:
  6124. properties:
  6125. Children:
  6126. description: 二级功能菜单
  6127. items:
  6128. $ref: '#/definitions/models.OperationSecondaryMenu'
  6129. type: array
  6130. Key:
  6131. description: 菜单KEY
  6132. type: string
  6133. Label:
  6134. description: 菜单标题
  6135. type: string
  6136. type: object
  6137. models.OperationSecondaryMenu:
  6138. properties:
  6139. Key:
  6140. description: 菜单KEY
  6141. type: string
  6142. Label:
  6143. description: 菜单标题
  6144. type: string
  6145. TabList:
  6146. description: 三级功能菜单
  6147. items:
  6148. $ref: '#/definitions/models.OperationTabMenu'
  6149. type: array
  6150. type: object
  6151. models.OperationTabMenu:
  6152. properties:
  6153. Key:
  6154. description: 菜单KEY
  6155. type: string
  6156. Label:
  6157. description: 菜单标题
  6158. type: string
  6159. type: object
  6160. models.QueryErrorInfosRsp:
  6161. properties:
  6162. description:
  6163. description: 异常描述
  6164. type: string
  6165. errorcode:
  6166. description: 异常代码
  6167. type: string
  6168. errorid:
  6169. description: 异常ID
  6170. type: integer
  6171. modulecode:
  6172. description: 所属模块
  6173. type: string
  6174. operatecode:
  6175. description: 所属操作
  6176. type: string
  6177. rownumber:
  6178. description: 行号
  6179. type: string
  6180. required:
  6181. - errorid
  6182. type: object
  6183. models.QueryHedgeOrderDetailRsp:
  6184. properties:
  6185. accountid:
  6186. description: 账户ID
  6187. type: integer
  6188. buyorsell:
  6189. description: 买卖 - 0:买 1:卖
  6190. type: integer
  6191. channelbuildtype:
  6192. description: 开平标志 - 0:无 1:建仓 2:平仓
  6193. type: integer
  6194. channelinnerorderstatus:
  6195. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  6196. 9:全部成交
  6197. type: integer
  6198. channeloperatetype:
  6199. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  6200. type: integer
  6201. closetype:
  6202. description: 平仓方式 - 0:无 1:平今 2:平昨
  6203. type: integer
  6204. curexchangerate:
  6205. description: 当前汇率
  6206. type: number
  6207. exchangefullname:
  6208. description: 外部交易所全称
  6209. type: string
  6210. goodscode:
  6211. description: 商品代码(内部)
  6212. type: string
  6213. goodsid:
  6214. description: 商品ID
  6215. type: integer
  6216. goodsname:
  6217. description: 商品名称
  6218. type: string
  6219. marketid:
  6220. description: 市场ID
  6221. type: integer
  6222. openfreezemargin:
  6223. description: 冻结保证金(冻结交易金额)
  6224. type: number
  6225. orderid:
  6226. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6227. type: string
  6228. orderprice:
  6229. description: 委托价格(账户)
  6230. type: number
  6231. orderqty:
  6232. description: 委托数量
  6233. type: integer
  6234. ordertime:
  6235. description: 委托时间
  6236. type: string
  6237. pricemode:
  6238. description: '取价方式 - 1:市价 2: 限价'
  6239. type: integer
  6240. tradedate:
  6241. description: 交易日(yyyyMMdd)
  6242. type: string
  6243. tradeqty:
  6244. description: 成交数量
  6245. type: integer
  6246. type: object
  6247. models.QueryHedgeTradeDetailRsp:
  6248. properties:
  6249. accountid:
  6250. description: 账号ID
  6251. type: integer
  6252. buyorsell:
  6253. description: 方向 - 0:买 1:卖
  6254. type: integer
  6255. channelbuildtype:
  6256. description: 委托单据类型 0:无 1:建仓 2:平仓
  6257. type: integer
  6258. closecharge:
  6259. description: 平仓手续费(账户)
  6260. type: number
  6261. closecharge2:
  6262. description: 平仓手续费(商品)
  6263. type: number
  6264. closetype:
  6265. description: 平仓方式 - 0:无 1:平今 2:平昨
  6266. type: integer
  6267. curexchangerate:
  6268. description: 当前汇率
  6269. type: number
  6270. exchangefullname:
  6271. description: 外部交易所全称
  6272. type: string
  6273. goodscode:
  6274. description: 商品代码(内部)
  6275. type: string
  6276. goodsid:
  6277. description: 商品ID
  6278. type: integer
  6279. goodsname:
  6280. description: 商品名称
  6281. type: string
  6282. marketid:
  6283. description: 市场ID
  6284. type: integer
  6285. opencharge:
  6286. description: 建仓手续费(账户)
  6287. type: number
  6288. opencharge2:
  6289. description: 建仓手续费(商品)
  6290. type: number
  6291. orderid:
  6292. description: 委托单号
  6293. type: string
  6294. tradeamount:
  6295. description: 成交金额(账户)
  6296. type: number
  6297. tradedate:
  6298. description: 交易日(yyyyMMdd)
  6299. type: string
  6300. tradeid:
  6301. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6302. type: string
  6303. tradeprice:
  6304. description: 成交价格
  6305. type: number
  6306. tradeqty:
  6307. description: 成交数量
  6308. type: integer
  6309. tradetime:
  6310. description: 成交时间
  6311. type: string
  6312. tradetype:
  6313. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6314. type: integer
  6315. type: object
  6316. models.QuotePrimaryMenu:
  6317. properties:
  6318. Index:
  6319. description: 序号
  6320. type: integer
  6321. Key:
  6322. description: 键名
  6323. type: string
  6324. Name:
  6325. description: 菜单名称
  6326. type: string
  6327. SubMenus:
  6328. description: 子菜单
  6329. items:
  6330. $ref: '#/definitions/models.QuoteSecondaryMenu'
  6331. type: array
  6332. SubTitleType:
  6333. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  6334. type: integer
  6335. TradeModes:
  6336. description: 包含市场交易类型
  6337. type: string
  6338. type: object
  6339. models.QuoteSecondaryMenu:
  6340. properties:
  6341. ExExchangeCode:
  6342. description: 外部交易所代码
  6343. type: string
  6344. ExExchangeID:
  6345. description: 外部交易所ID
  6346. type: integer
  6347. GoodsGroupIDs:
  6348. description: 商品组ID列表
  6349. items:
  6350. type: integer
  6351. type: array
  6352. Index:
  6353. description: 序号
  6354. type: integer
  6355. MarketID:
  6356. description: 市场ID
  6357. type: integer
  6358. MenuTitle:
  6359. description: 菜单标题(市场名称或外部交易所名称)
  6360. type: string
  6361. TradeMode:
  6362. description: 交易模式
  6363. type: integer
  6364. type: object
  6365. models.SearchGoods:
  6366. properties:
  6367. goodscode:
  6368. description: 商品代码(内部)
  6369. type: string
  6370. goodsid:
  6371. description: 商品ID(自增ID SEQ_GOODS)
  6372. type: integer
  6373. goodsname:
  6374. description: 商品名称
  6375. type: string
  6376. marketid:
  6377. description: 所属市场ID
  6378. type: integer
  6379. marketname:
  6380. description: 市场名称
  6381. type: string
  6382. trademode:
  6383. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6384. 21:竞拍-大宗式 22:受托竞价
  6385. type: integer
  6386. required:
  6387. - goodscode
  6388. - goodsid
  6389. - goodsname
  6390. - marketid
  6391. - trademode
  6392. type: object
  6393. models.Szdz2imageconfig:
  6394. properties:
  6395. areauserid:
  6396. description: 所属机构ID
  6397. type: integer
  6398. configid:
  6399. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  6400. type: integer
  6401. createdate:
  6402. description: 创建时间
  6403. type: string
  6404. creatorid:
  6405. description: 创建人
  6406. type: integer
  6407. imagepath:
  6408. description: 图片
  6409. type: string
  6410. imagetype:
  6411. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  6412. type: integer
  6413. isshow:
  6414. description: 是否展示 - 0:不展示 1:展示
  6415. type: integer
  6416. modifierid:
  6417. description: 操作人
  6418. type: integer
  6419. sort:
  6420. description: 排序
  6421. type: integer
  6422. title:
  6423. description: 标题
  6424. type: string
  6425. updatedate:
  6426. description: 修改时间
  6427. type: string
  6428. url:
  6429. description: 链接(地址或商品ID)
  6430. type: string
  6431. urltype:
  6432. description: 链接类型 - 1:直接地址 2:商品ID
  6433. type: integer
  6434. required:
  6435. - configid
  6436. type: object
  6437. models.Szdz3convertconfig:
  6438. properties:
  6439. canin:
  6440. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  6441. type: integer
  6442. canout:
  6443. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  6444. type: integer
  6445. converttype:
  6446. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  6447. 6:交易转花生米(不设置)
  6448. type: integer
  6449. createtime:
  6450. description: 创建时间
  6451. type: string
  6452. creatorid:
  6453. description: 创建人
  6454. type: integer
  6455. daymaxvalue:
  6456. description: 当日最大转入限制
  6457. type: number
  6458. freezedays:
  6459. description: 冻结天数 [5:花生米转交易]
  6460. type: integer
  6461. innergoodsid:
  6462. description: 内部商品ID[交易]
  6463. type: integer
  6464. inratio:
  6465. description: 目标值
  6466. type: integer
  6467. modifierid:
  6468. description: 修改人
  6469. type: integer
  6470. modifytime:
  6471. description: 修改时间
  6472. type: string
  6473. outergoodscode:
  6474. description: 外部商品代码[JD\PD]
  6475. type: string
  6476. outratio:
  6477. description: 源值
  6478. type: integer
  6479. pddecimalplace:
  6480. description: PD小数位
  6481. type: integer
  6482. timemaxvalue:
  6483. description: 单次最大转入限制
  6484. type: number
  6485. timeminvalue:
  6486. description: 单次最小转入限制
  6487. type: number
  6488. required:
  6489. - converttype
  6490. - innergoodsid
  6491. - outergoodscode
  6492. type: object
  6493. models.Szdz3searchwhitelist:
  6494. properties:
  6495. createtime:
  6496. description: 创建时间
  6497. type: string
  6498. creatorid:
  6499. description: 创建人
  6500. type: integer
  6501. modifierid:
  6502. description: 修改人
  6503. type: integer
  6504. modifytime:
  6505. description: 修改时间
  6506. type: string
  6507. userid:
  6508. description: 用户ID
  6509. type: integer
  6510. required:
  6511. - userid
  6512. type: object
  6513. models.Taaccount:
  6514. properties:
  6515. accountflag:
  6516. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  6517. type: integer
  6518. accountid:
  6519. description: 资金账户ID
  6520. type: integer
  6521. accountname:
  6522. description: 账户名称
  6523. type: string
  6524. balance:
  6525. description: 期初余额
  6526. type: number
  6527. capitalbalance:
  6528. description: 本金余额[外部子账户实际出入金余额]
  6529. type: number
  6530. changeflag:
  6531. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  6532. type: integer
  6533. changetime:
  6534. description: 账户状态变更时间
  6535. type: string
  6536. closepl:
  6537. description: 今日平仓盈亏
  6538. type: number
  6539. creditdecrease:
  6540. description: 今日授信减少
  6541. type: number
  6542. creditincrease:
  6543. description: 今日授信增加
  6544. type: number
  6545. currencyid:
  6546. description: 货币ID
  6547. type: integer
  6548. currentbalance:
  6549. description: 期末余额
  6550. type: number
  6551. freezecharge:
  6552. description: 手续费冻结
  6553. type: number
  6554. freezemargin:
  6555. description: 冻结保证金
  6556. type: number
  6557. fromaccountid:
  6558. description: 所属上级账户
  6559. type: integer
  6560. inamount:
  6561. description: 今日入金金额(包括三方入金)
  6562. type: number
  6563. ismain:
  6564. description: 是否母账号 0:不是母账户 1:是母账户
  6565. type: integer
  6566. ismarketaccount:
  6567. description: 是否机构接单账号 0:不是 1:是
  6568. type: integer
  6569. isreckonaccount:
  6570. description: 是否机构分润账号 0:不是 1:是
  6571. type: integer
  6572. mortgagecredit:
  6573. description: 授信金额
  6574. type: number
  6575. orifreezecharge:
  6576. description: 期初手续费冻结
  6577. type: number
  6578. orifreezemargin:
  6579. description: 期初冻结保证金
  6580. type: number
  6581. orimortgagecredit:
  6582. description: 期初授信金额
  6583. type: number
  6584. oriothercredit:
  6585. description: 期初其它授信金额
  6586. type: number
  6587. oriotherfreezemargin:
  6588. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6589. type: number
  6590. orioutamountfreeze:
  6591. description: 期初出金冻结
  6592. type: number
  6593. oriusedmargin:
  6594. description: 期初占用保证金
  6595. type: number
  6596. othercredit:
  6597. description: 其它授信金额
  6598. type: number
  6599. othercreditdecrease:
  6600. description: 今日其它授信减少
  6601. type: number
  6602. othercreditincrease:
  6603. description: 今日其它授信增加
  6604. type: number
  6605. otherfreezemargin:
  6606. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6607. type: number
  6608. otherincome:
  6609. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  6610. type: number
  6611. otherpay:
  6612. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  6613. type: number
  6614. outamount:
  6615. description: 今日出金金额(包括三方出金)
  6616. type: number
  6617. outamountfreeze:
  6618. description: 出金冻结
  6619. type: number
  6620. outthreshold:
  6621. description: 出金阈值
  6622. type: number
  6623. parentaccountid:
  6624. description: 所属根账号
  6625. type: integer
  6626. paycharge:
  6627. description: 今日手续费支出
  6628. type: number
  6629. relatedaccountstatus:
  6630. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  6631. type: integer
  6632. relateduserid:
  6633. description: 关联用户
  6634. type: integer
  6635. serivcegroup:
  6636. description: 服务分组
  6637. type: integer
  6638. signstatus:
  6639. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6640. type: integer
  6641. sublevelpath:
  6642. description: 账号层级路径(逗号分隔,首尾加逗号)
  6643. type: string
  6644. taaccounttype:
  6645. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6646. type: integer
  6647. thirdinamount:
  6648. description: 今日三方入金
  6649. type: number
  6650. thirdoutamount:
  6651. description: 今日三方出金
  6652. type: number
  6653. tradestatus:
  6654. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6655. type: integer
  6656. tradestatuschangetime:
  6657. description: 激活时间
  6658. type: string
  6659. transferamount:
  6660. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6661. type: number
  6662. usedmargin:
  6663. description: 占用保证金
  6664. type: number
  6665. userid:
  6666. description: 用户ID
  6667. type: integer
  6668. required:
  6669. - accountid
  6670. - userid
  6671. type: object
  6672. models.Tablecolumnconfig:
  6673. properties:
  6674. aligntype:
  6675. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  6676. type: integer
  6677. autoid:
  6678. description: AutoID
  6679. type: integer
  6680. columnfield:
  6681. description: 列字段
  6682. type: string
  6683. columntitle:
  6684. description: 列Title
  6685. type: string
  6686. columnwidth:
  6687. description: 列宽
  6688. type: string
  6689. formatterstring:
  6690. description: 格式化字符
  6691. type: string
  6692. formattertype:
  6693. description: 格式化类型
  6694. type: string
  6695. groupname:
  6696. description: 表头分组名称
  6697. type: string
  6698. isshow:
  6699. description: 是否显示 - 0:不显示 1:显示
  6700. type: integer
  6701. needsummary:
  6702. description: 是否需要汇总 - 0:不需要 1:需要
  6703. type: integer
  6704. orderindex:
  6705. description: 顺序
  6706. type: integer
  6707. remark:
  6708. description: 备注
  6709. type: string
  6710. summarytype:
  6711. description: 汇总类型 - 1:加总 2:最后一个
  6712. type: integer
  6713. tablekey:
  6714. description: 列表Key
  6715. type: string
  6716. required:
  6717. - autoid
  6718. type: object
  6719. models.Useraccount:
  6720. properties:
  6721. accountname:
  6722. description: 账户名称(机构名称)
  6723. type: string
  6724. accountstatus:
  6725. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  6726. type: integer
  6727. auditremark:
  6728. description: 审核备注
  6729. type: string
  6730. audittime:
  6731. description: 审核时间
  6732. type: string
  6733. audituserid:
  6734. description: 审核人
  6735. type: integer
  6736. broker:
  6737. description: 所属经纪人ID
  6738. type: integer
  6739. canceltime:
  6740. description: 销户时间
  6741. type: string
  6742. canceluserid:
  6743. description: 销户人
  6744. type: integer
  6745. createtime:
  6746. description: 创建时间
  6747. type: string
  6748. creatorid:
  6749. description: 创建人
  6750. type: integer
  6751. hasauth:
  6752. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6753. type: integer
  6754. isanonymous:
  6755. description: 是否匿名下单 - 0:否 1:是
  6756. type: integer
  6757. maxinvestornum:
  6758. description: 最大用户数(经纪会员下投资者个数)
  6759. type: integer
  6760. memberuserid:
  6761. description: 所属会员ID
  6762. type: integer
  6763. modifierid:
  6764. description: 修改人
  6765. type: integer
  6766. modifyremark:
  6767. description: 变更备注
  6768. type: string
  6769. modifystatus:
  6770. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6771. type: integer
  6772. modifytime:
  6773. description: 修改时间
  6774. type: string
  6775. parentuserid:
  6776. description: 所属机构ID
  6777. type: integer
  6778. reckonaccountid:
  6779. description: 默认结算资金账号ID(机构分润使用) 作废
  6780. type: integer
  6781. refercount:
  6782. description: 推荐总人数
  6783. type: integer
  6784. refereeuserid:
  6785. description: 推荐人ID
  6786. type: integer
  6787. refernum:
  6788. description: 推荐码
  6789. type: string
  6790. subarealevelpath:
  6791. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6792. type: string
  6793. userid:
  6794. description: 用户ID
  6795. type: integer
  6796. usertype:
  6797. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  6798. type: integer
  6799. required:
  6800. - userid
  6801. type: object
  6802. models.Userfavoritegoods:
  6803. properties:
  6804. goodsid:
  6805. description: 商品ID
  6806. type: integer
  6807. required:
  6808. - goodsid
  6809. type: object
  6810. models.Userinfo:
  6811. properties:
  6812. address:
  6813. description: 地址
  6814. type: string
  6815. attachment1:
  6816. description: 附件1
  6817. type: string
  6818. attachment2:
  6819. description: 附件2
  6820. type: string
  6821. bankaccount:
  6822. description: 银行帐号 (加密存储)
  6823. type: string
  6824. bankaccountname:
  6825. description: 收款人名称
  6826. type: string
  6827. bankcardfrontphotourl:
  6828. description: 银行卡正面照地址
  6829. type: string
  6830. bankid:
  6831. description: 银行编码
  6832. type: string
  6833. bankname:
  6834. description: 银行名称
  6835. type: string
  6836. biznature:
  6837. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  6838. type: integer
  6839. bizscope:
  6840. description: 企业经营范围(企业)
  6841. type: string
  6842. cardbackphotourl:
  6843. description: 证件背面图片地址
  6844. type: string
  6845. cardfrontphotourl:
  6846. description: 证件正面图片地址
  6847. type: string
  6848. cardnum:
  6849. description: 证件号码(加密存储)
  6850. type: string
  6851. cardtypeid:
  6852. description: 证件类型ID
  6853. type: integer
  6854. cityid:
  6855. description: 市
  6856. type: integer
  6857. company:
  6858. description: 公司(个人)
  6859. type: string
  6860. contactname:
  6861. description: 联系人
  6862. type: string
  6863. countryid:
  6864. description: 国家
  6865. type: integer
  6866. createtime:
  6867. description: 创建时间
  6868. type: string
  6869. creatorid:
  6870. description: 创建人
  6871. type: integer
  6872. customername:
  6873. description: 客户名称(企业名称)
  6874. type: string
  6875. districtid:
  6876. description: 地区
  6877. type: integer
  6878. email:
  6879. description: 邮件(加密存储)
  6880. type: string
  6881. fax:
  6882. description: 传真(加密存储)
  6883. type: string
  6884. halfbodyphotourl:
  6885. description: 半身照地址
  6886. type: string
  6887. hasencrypt:
  6888. description: 数据是否已加密 - 0:未加密 1:已加密
  6889. type: integer
  6890. headurl:
  6891. description: 头像地址
  6892. type: string
  6893. legalcardbackphotourl:
  6894. description: 法人身份证背面照地址
  6895. type: string
  6896. legalcardfrontphotourl:
  6897. description: 法人身份证正面照地址
  6898. type: string
  6899. legalpersonname:
  6900. description: 法人姓名(企业)
  6901. type: string
  6902. mobile:
  6903. description: 手机号码(加密存储)
  6904. type: string
  6905. mobile2:
  6906. description: 手机号码[明文-尚志]
  6907. type: string
  6908. modifierid:
  6909. description: 修改人
  6910. type: integer
  6911. modifiertime:
  6912. description: 修改时间
  6913. type: string
  6914. needinvoice:
  6915. description: 是否需要发票 - 0:不需要 1:需要
  6916. type: integer
  6917. nickname:
  6918. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  6919. type: string
  6920. openmode:
  6921. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  6922. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  6923. type: integer
  6924. otherurl:
  6925. description: 其它图片地址[使用分号分隔]
  6926. type: string
  6927. postalcode:
  6928. description: 邮政编码
  6929. type: string
  6930. provinceid:
  6931. description: 省
  6932. type: integer
  6933. qq:
  6934. description: QQ(加密存储
  6935. type: string
  6936. remark:
  6937. description: 备注
  6938. type: string
  6939. sex:
  6940. description: '用户性别 0: 女 1: 男'
  6941. type: integer
  6942. signpdfurl:
  6943. description: 签约pdf文件
  6944. type: string
  6945. telphone:
  6946. description: 联系电话(加密存储)
  6947. type: string
  6948. userid:
  6949. description: 用户ID
  6950. type: integer
  6951. userinfotype:
  6952. description: 用户信息类型 - 1:个人 2:企业
  6953. type: integer
  6954. userstatus:
  6955. description: 用户状态 - 1:正常 2:注销
  6956. type: integer
  6957. usertype:
  6958. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  6959. type: integer
  6960. wechat:
  6961. description: 微信(加密存储)
  6962. type: string
  6963. wskhinfo:
  6964. description: 开户申请信息(JSON)
  6965. type: string
  6966. required:
  6967. - userid
  6968. type: object
  6969. models.WRCategoryTree:
  6970. properties:
  6971. areauserid:
  6972. description: 所属机构
  6973. type: integer
  6974. categorydesc:
  6975. description: 类别描述
  6976. type: string
  6977. categoryid:
  6978. description: 类别ID(SEQ_WRCATEGORY)
  6979. type: integer
  6980. categoryname:
  6981. description: 类别名称
  6982. type: string
  6983. iconurl:
  6984. description: 图标地址
  6985. type: string
  6986. orderindex:
  6987. description: 顺序
  6988. type: integer
  6989. parentcategoryid:
  6990. description: 父类别ID
  6991. type: integer
  6992. subcategory:
  6993. description: 子分类
  6994. items:
  6995. $ref: '#/definitions/models.WRCategoryTree'
  6996. type: array
  6997. required:
  6998. - categoryid
  6999. type: object
  7000. models.WRSConverTDetail:
  7001. properties:
  7002. convertratio:
  7003. description: 套保系数
  7004. type: number
  7005. deliverygoodsid:
  7006. description: 现货品种ID
  7007. type: integer
  7008. middlegoodscode:
  7009. description: 套保品种代码
  7010. type: string
  7011. middlegoodsid:
  7012. description: 套保品种ID
  7013. type: integer
  7014. middlegoodsname:
  7015. description: 套保品种名称
  7016. type: string
  7017. modifytime:
  7018. description: 修改时间
  7019. type: string
  7020. wrstandardid:
  7021. description: 现货商品ID
  7022. type: integer
  7023. type: object
  7024. models.WRStandardInfo:
  7025. properties:
  7026. createtime:
  7027. description: 创建时间
  7028. type: string
  7029. creatorid:
  7030. description: 创建人
  7031. type: integer
  7032. deliverygoodsid:
  7033. description: 品种ID
  7034. type: integer
  7035. deliverygoodsname:
  7036. description: 交割商品名称
  7037. type: string
  7038. factoryitemjson:
  7039. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  7040. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  7041. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  7042. 逗号分隔'
  7043. type: string
  7044. isvalid:
  7045. description: 是否有效 - 0:无效 1:有效
  7046. type: integer
  7047. minivalue:
  7048. description: 最小变动值
  7049. type: integer
  7050. minivaluedp:
  7051. description: 最小变动值小数位
  7052. type: integer
  7053. realminivalue:
  7054. description: 实际最小变动值
  7055. type: integer
  7056. realminivaluedp:
  7057. description: 实际最小变动值小数位
  7058. type: integer
  7059. unitid:
  7060. description: 单位ID
  7061. type: integer
  7062. unitname:
  7063. description: 单位
  7064. type: string
  7065. updatetime:
  7066. description: 更新时间
  7067. type: string
  7068. updatorid:
  7069. description: 更新人
  7070. type: integer
  7071. wrsstatus:
  7072. description: 状态 - 作废 - 0:未激活 1:正常
  7073. type: integer
  7074. wrstandardcode:
  7075. description: 仓单标准代码
  7076. type: string
  7077. wrstandardid:
  7078. description: 仓单标准ID(SEQ_WRSTANDARD)
  7079. type: integer
  7080. wrstandardname:
  7081. description: 仓单标准名称
  7082. type: string
  7083. required:
  7084. - wrstandardid
  7085. type: object
  7086. models.Warehouseinfo:
  7087. properties:
  7088. address:
  7089. description: 详细地址
  7090. type: string
  7091. areauserid:
  7092. description: 所属机构
  7093. type: integer
  7094. autoid:
  7095. description: 自增ID
  7096. type: integer
  7097. cityid:
  7098. description: 市
  7099. type: integer
  7100. contactname:
  7101. description: 联系人
  7102. type: string
  7103. contactnum:
  7104. description: 联系电话
  7105. type: string
  7106. countryid:
  7107. description: 国家
  7108. type: integer
  7109. createtime:
  7110. description: 创建时间
  7111. type: string
  7112. districtid:
  7113. description: 区
  7114. type: integer
  7115. hasvideo:
  7116. description: 是否有视频 - 0:无 1:有
  7117. type: integer
  7118. provinceid:
  7119. description: 省
  7120. type: integer
  7121. remark:
  7122. description: 审核备注
  7123. type: string
  7124. videourl:
  7125. description: 视频地址
  7126. type: string
  7127. warehousecode:
  7128. description: 仓库代码
  7129. type: string
  7130. warehousename:
  7131. description: 仓库名称
  7132. type: string
  7133. warehousestatus:
  7134. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7135. type: integer
  7136. warehousetype:
  7137. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7138. type: integer
  7139. required:
  7140. - autoid
  7141. - warehousecode
  7142. type: object
  7143. order.QueryHisTradeDetailRsp:
  7144. properties:
  7145. accountid:
  7146. description: 账户ID[报价币种]
  7147. type: integer
  7148. buildtype:
  7149. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  7150. type: integer
  7151. buyorsell:
  7152. description: 方向 - 0:买 1:卖
  7153. type: integer
  7154. charge:
  7155. description: 手续费
  7156. type: number
  7157. closecharge:
  7158. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  7159. type: number
  7160. closeexchagechargevalue:
  7161. description: 平仓交易所手续费设置值
  7162. type: number
  7163. closefeealgorithm:
  7164. description: 平仓手续费收取方式 1:比率 2:固定
  7165. type: integer
  7166. closememberchargevalue:
  7167. description: 平仓会员手续费设置值
  7168. type: number
  7169. closepl:
  7170. description: 平仓盈亏
  7171. type: number
  7172. closepl2:
  7173. description: 平仓盈亏[逐笔]
  7174. type: number
  7175. closeqty:
  7176. description: 平仓数量(先建后平操作 需要记录)
  7177. type: integer
  7178. creditamount:
  7179. description: 授信金额
  7180. type: number
  7181. gcaccountid:
  7182. description: 账户ID[合约币种]
  7183. type: integer
  7184. goodscode:
  7185. description: 商品代码
  7186. type: string
  7187. goodsid:
  7188. description: 商品ID
  7189. type: integer
  7190. goodsname:
  7191. description: 商品名称
  7192. type: string
  7193. histradedate:
  7194. description: 历史交易日
  7195. type: string
  7196. intclosepl:
  7197. description: 整型盈亏(用于交易结算试算平衡-收益权)
  7198. type: integer
  7199. isconfirmexercise:
  7200. description: 是否确认行权- 0:否 1:是
  7201. type: integer
  7202. ismain:
  7203. description: 是否主单 - 0:不是 1:是
  7204. type: integer
  7205. ispreexercise:
  7206. description: 是否预申报- 0:否 1:是
  7207. type: integer
  7208. isreckoned:
  7209. description: 是否结算 - 0:未结算 1:已结算
  7210. type: integer
  7211. isvaliddata:
  7212. description: 是否有效 - 0:无效 1:有效
  7213. type: integer
  7214. listingselecttype:
  7215. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7216. type: integer
  7217. marketid:
  7218. description: 市场ID
  7219. type: integer
  7220. marketname:
  7221. description: 市场名称
  7222. type: string
  7223. matchaccountid:
  7224. description: 对手账号id
  7225. type: integer
  7226. memberuserid:
  7227. description: 会员id 个人投资者 需要填写
  7228. type: integer
  7229. opencharge:
  7230. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  7231. type: number
  7232. openexchagechargevalue:
  7233. description: 建仓交易所手续费设置值
  7234. type: number
  7235. openfeealgorithm:
  7236. description: 建仓手续费收取方式 1:比率 2:固定
  7237. type: integer
  7238. openmemberchargevalue:
  7239. description: 建仓会员手续费设置值
  7240. type: number
  7241. openqty:
  7242. description: 开仓数量(先建后平操作 需要记录)
  7243. type: integer
  7244. optiontype:
  7245. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  7246. type: integer
  7247. orderid:
  7248. description: 委托单号
  7249. type: string
  7250. performanceplanid:
  7251. description: 履约计划ID[期权]
  7252. type: integer
  7253. performancestatus:
  7254. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  7255. type: integer
  7256. preexerciseprice:
  7257. description: 预申报价格
  7258. type: number
  7259. premium:
  7260. description: 权利金 - [持仓单的权利金]
  7261. type: number
  7262. relatedouttradeid:
  7263. description: 关联外部成交单ID
  7264. type: integer
  7265. status:
  7266. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  7267. type: integer
  7268. tradeamount:
  7269. description: 成交金额[账户币种,用于所有权]
  7270. type: number
  7271. tradedate:
  7272. description: 交易日(yyyyMMdd)
  7273. type: string
  7274. tradeid:
  7275. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7276. type: string
  7277. trademode:
  7278. description: 交易模式
  7279. type: integer
  7280. tradeprice:
  7281. description: 成交价格
  7282. type: number
  7283. tradeproperty:
  7284. description: 交易属性
  7285. type: integer
  7286. tradeqty:
  7287. description: 成交数量
  7288. type: integer
  7289. tradetime:
  7290. description: 成交时间
  7291. type: string
  7292. tradetype:
  7293. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  7294. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  7295. type: integer
  7296. required:
  7297. - accountid
  7298. - buyorsell
  7299. - goodsid
  7300. - histradedate
  7301. - marketid
  7302. - memberuserid
  7303. - orderid
  7304. - tradeamount
  7305. - tradedate
  7306. - tradeid
  7307. - tradeprice
  7308. - tradeqty
  7309. - tradetime
  7310. type: object
  7311. order.QueryHisTradeOrderDetailRsp:
  7312. properties:
  7313. accountid:
  7314. description: 账户ID[报价币种]
  7315. type: integer
  7316. buildtype:
  7317. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  7318. type: integer
  7319. buyorsell:
  7320. description: 买卖 - 0:买 1:卖
  7321. type: integer
  7322. cancelorderid:
  7323. description: 撤单单号(撤单时填写)
  7324. type: string
  7325. cancelqty:
  7326. description: 撤单数量
  7327. type: integer
  7328. clientordertime:
  7329. description: 客户端委托时间
  7330. type: string
  7331. clientticket:
  7332. description: 客户端流水号
  7333. type: string
  7334. clienttype:
  7335. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  7336. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  7337. type: integer
  7338. closeexchagechargevalue:
  7339. description: 平仓交易所手续费设置值
  7340. type: number
  7341. closefeealgorithm:
  7342. description: 平仓手续费收取方式 1:比率 2:固定
  7343. type: integer
  7344. closefreezecharge:
  7345. description: 平仓冻结手续费(先建后平操作,需要记录)
  7346. type: number
  7347. closememberchargevalue:
  7348. description: 平仓会员手续费设置值
  7349. type: number
  7350. closeqty:
  7351. description: 平仓数量(先建后平操作 需要记录)
  7352. type: integer
  7353. closetradeqty:
  7354. description: 平仓成交数量(先建后平操作,需要记录)
  7355. type: integer
  7356. closeunfreezecharge:
  7357. description: 平仓解冻手续费(先建后平操作,需要记录)
  7358. type: number
  7359. delistingtype:
  7360. description: 摘牌类型 - 1:价格最优 2:点选成交
  7361. type: integer
  7362. freezecharge:
  7363. description: 冻结手续费
  7364. type: number
  7365. freezemargin:
  7366. description: 冻结保证金(冻结交易金额)
  7367. type: number
  7368. gcaccountid:
  7369. description: 账户ID[合约币种]
  7370. type: integer
  7371. goodscode:
  7372. description: 商品代码
  7373. type: string
  7374. goodsid:
  7375. description: 商品ID
  7376. type: integer
  7377. goodsname:
  7378. description: 商品名称
  7379. type: string
  7380. histradedate:
  7381. description: 历史交易日
  7382. type: string
  7383. isconfirmexercise:
  7384. description: 是否确认行权- 0:否 1:是
  7385. type: integer
  7386. ispreexercise:
  7387. description: 是否预申报- 0:否 1:是
  7388. type: integer
  7389. isvaliddata:
  7390. description: 是否有效 - 0:无效 1:有效
  7391. type: integer
  7392. listingselecttype:
  7393. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7394. type: integer
  7395. marginalgorithm:
  7396. description: 保证金收取方式 1:比率 2:固定
  7397. type: integer
  7398. marginvalue:
  7399. description: 即市保证金设置值
  7400. type: number
  7401. marketid:
  7402. description: 市场ID
  7403. type: integer
  7404. marketmaxsub:
  7405. description: 市价最大偏移范围
  7406. type: number
  7407. marketname:
  7408. description: 市场名称
  7409. type: string
  7410. memberuserid:
  7411. description: 所属会员UserID
  7412. type: integer
  7413. openexchagechargevalue:
  7414. description: 建仓交易所手续费设置值
  7415. type: number
  7416. openfeealgorithm:
  7417. description: 建仓手续费收取方式 1:比率 2:固定
  7418. type: integer
  7419. openfreezecharge:
  7420. description: 开仓冻结手续费(先建后平操作,需要记录)
  7421. type: number
  7422. openmemberchargevalue:
  7423. description: 建仓会员手续费设置值
  7424. type: number
  7425. openqty:
  7426. description: 开仓数量(先建后平操作,需要记录)
  7427. type: integer
  7428. opentradeqty:
  7429. description: 开仓成交数量(先建后平操作,需要记录)
  7430. type: integer
  7431. openunfreezecharge:
  7432. description: 开仓解冻手续费(先建后平操作,需要记录)
  7433. type: number
  7434. operatetype:
  7435. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  7436. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  7437. 15:管理端协议转让
  7438. type: integer
  7439. operatorid:
  7440. description: 登录账号(LoginID)
  7441. type: integer
  7442. optiontype:
  7443. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  7444. type: integer
  7445. orderid:
  7446. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7447. type: string
  7448. orderprice:
  7449. description: 委托价格
  7450. type: number
  7451. orderqty:
  7452. description: 委托数量
  7453. type: integer
  7454. ordersrc:
  7455. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  7456. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  7457. type: integer
  7458. orderstatus:
  7459. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7460. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7461. 16:成交失败违约(荷兰式竞拍专用)
  7462. type: integer
  7463. ordertime:
  7464. description: 委托时间
  7465. type: string
  7466. preexerciseprice:
  7467. description: 预申报价格
  7468. type: number
  7469. premium:
  7470. description: 权利金
  7471. type: number
  7472. preorderid:
  7473. description: 关联预埋单号(止盈止损单时填写)
  7474. type: string
  7475. pricemode:
  7476. description: '取价方式 - 1:市价 2: 限价'
  7477. type: integer
  7478. quoteid:
  7479. description: 报价单ID
  7480. type: integer
  7481. relatedid:
  7482. description: 关联单号(交割单)
  7483. type: string
  7484. retcode:
  7485. description: 错误代码
  7486. type: integer
  7487. sessionid:
  7488. description: 会话ID
  7489. type: integer
  7490. tradedate:
  7491. description: 交易日(yyyyMMdd)
  7492. type: string
  7493. trademode:
  7494. description: 交易模式
  7495. type: integer
  7496. tradeproperty:
  7497. description: 交易属性
  7498. type: integer
  7499. tradeqty:
  7500. description: 成交数量
  7501. type: integer
  7502. unfreezecharge:
  7503. description: 解冻手续费
  7504. type: number
  7505. unfreezemargin:
  7506. description: 解冻保证金
  7507. type: number
  7508. updatetime:
  7509. description: 更新时间
  7510. type: string
  7511. uuid:
  7512. description: 发起端唯一id
  7513. type: string
  7514. validtime:
  7515. description: 有效期限
  7516. type: string
  7517. validtype:
  7518. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  7519. type: integer
  7520. volumetype:
  7521. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  7522. type: integer
  7523. required:
  7524. - accountid
  7525. - buildtype
  7526. - buyorsell
  7527. - goodsid
  7528. - histradedate
  7529. - marketid
  7530. - memberuserid
  7531. - operatetype
  7532. - orderid
  7533. - orderqty
  7534. - ordertime
  7535. - pricemode
  7536. - tradedate
  7537. - validtype
  7538. type: object
  7539. order.QueryTradeDetailRsp:
  7540. properties:
  7541. accountid:
  7542. description: 账户ID[报价币种]
  7543. type: integer
  7544. buildtype:
  7545. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  7546. type: integer
  7547. buyorsell:
  7548. description: 方向 - 0:买 1:卖
  7549. type: integer
  7550. charge:
  7551. description: 手续费
  7552. type: number
  7553. closecharge:
  7554. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  7555. type: number
  7556. closeexchagechargevalue:
  7557. description: 平仓交易所手续费设置值
  7558. type: number
  7559. closefeealgorithm:
  7560. description: 平仓手续费收取方式 1:比率 2:固定
  7561. type: integer
  7562. closememberchargevalue:
  7563. description: 平仓会员手续费设置值
  7564. type: number
  7565. closepl:
  7566. description: 平仓盈亏
  7567. type: number
  7568. closepl2:
  7569. description: 平仓盈亏[逐笔]
  7570. type: number
  7571. closeqty:
  7572. description: 平仓数量(先建后平操作 需要记录)
  7573. type: integer
  7574. creditamount:
  7575. description: 授信金额
  7576. type: number
  7577. gcaccountid:
  7578. description: 账户ID[合约币种]
  7579. type: integer
  7580. goodscode:
  7581. description: 商品代码
  7582. type: string
  7583. goodsid:
  7584. description: 商品ID
  7585. type: integer
  7586. goodsname:
  7587. description: 商品名称
  7588. type: string
  7589. intclosepl:
  7590. description: 整型盈亏(用于交易结算试算平衡-收益权)
  7591. type: integer
  7592. isconfirmexercise:
  7593. description: 是否确认行权- 0:否 1:是
  7594. type: integer
  7595. ismain:
  7596. description: 是否主单 - 0:不是 1:是
  7597. type: integer
  7598. ispreexercise:
  7599. description: 是否预申报- 0:否 1:是
  7600. type: integer
  7601. isreckoned:
  7602. description: 是否结算 - 0:未结算 1:已结算
  7603. type: integer
  7604. listingselecttype:
  7605. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7606. type: integer
  7607. marketid:
  7608. description: 市场ID
  7609. type: integer
  7610. marketname:
  7611. description: 市场名称
  7612. type: string
  7613. matchaccountid:
  7614. description: 对手账号id
  7615. type: integer
  7616. memberuserid:
  7617. description: 会员id 个人投资者 需要填写
  7618. type: integer
  7619. opencharge:
  7620. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  7621. type: number
  7622. openexchagechargevalue:
  7623. description: 建仓交易所手续费设置值
  7624. type: number
  7625. openfeealgorithm:
  7626. description: 建仓手续费收取方式 1:比率 2:固定
  7627. type: integer
  7628. openmemberchargevalue:
  7629. description: 建仓会员手续费设置值
  7630. type: number
  7631. openqty:
  7632. description: 开仓数量(先建后平操作 需要记录)
  7633. type: integer
  7634. optiontype:
  7635. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  7636. type: integer
  7637. orderid:
  7638. description: 委托单号
  7639. type: string
  7640. performanceplanid:
  7641. description: 履约计划ID[期权]
  7642. type: integer
  7643. performancestatus:
  7644. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  7645. type: integer
  7646. preexerciseprice:
  7647. description: 预申报价格
  7648. type: number
  7649. premium:
  7650. description: 权利金 - [持仓单的权利金]
  7651. type: number
  7652. relatedouttradeid:
  7653. description: 关联外部成交单ID
  7654. type: integer
  7655. status:
  7656. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  7657. type: integer
  7658. tradeamount:
  7659. description: 成交金额[账户币种,用于所有权]
  7660. type: number
  7661. tradedate:
  7662. description: 交易日(yyyyMMdd)
  7663. type: string
  7664. tradeid:
  7665. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7666. type: string
  7667. trademode:
  7668. description: 交易模式
  7669. type: integer
  7670. tradeprice:
  7671. description: 成交价格
  7672. type: number
  7673. tradeproperty:
  7674. description: 交易属性
  7675. type: integer
  7676. tradeqty:
  7677. description: 成交数量
  7678. type: integer
  7679. tradetime:
  7680. description: 成交时间
  7681. type: string
  7682. tradetype:
  7683. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  7684. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  7685. type: integer
  7686. required:
  7687. - accountid
  7688. - buyorsell
  7689. - goodsid
  7690. - marketid
  7691. - memberuserid
  7692. - orderid
  7693. - tradeamount
  7694. - tradedate
  7695. - tradeid
  7696. - tradeprice
  7697. - tradeqty
  7698. - tradetime
  7699. type: object
  7700. order.QueryTradeOrderDetailRsp:
  7701. properties:
  7702. accountid:
  7703. description: 账户ID[报价币种]
  7704. type: integer
  7705. buildtype:
  7706. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  7707. type: integer
  7708. buyorsell:
  7709. description: 买卖 - 0:买 1:卖
  7710. type: integer
  7711. cancelorderid:
  7712. description: 撤单单号(撤单时填写)
  7713. type: string
  7714. cancelqty:
  7715. description: 撤单数量
  7716. type: integer
  7717. clienttype:
  7718. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  7719. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  7720. type: integer
  7721. closefreezecharge:
  7722. description: 平仓冻结手续费(先建后平操作,需要记录)
  7723. type: number
  7724. closeqty:
  7725. description: 平仓数量(先建后平操作 需要记录)
  7726. type: integer
  7727. closetradeqty:
  7728. description: 平仓成交数量(先建后平操作,需要记录)
  7729. type: integer
  7730. closeunfreezecharge:
  7731. description: 平仓解冻手续费(先建后平操作,需要记录)
  7732. type: number
  7733. delistingtype:
  7734. description: 摘牌类型 - 1:价格最优 2:点选成交
  7735. type: integer
  7736. enableqty:
  7737. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  7738. type: integer
  7739. freezecharge:
  7740. description: 冻结手续费
  7741. type: number
  7742. freezemargin:
  7743. description: 冻结保证金(冻结交易金额)
  7744. type: number
  7745. goodscode:
  7746. description: 商品代码
  7747. type: string
  7748. goodsid:
  7749. description: 商品ID
  7750. type: integer
  7751. goodsname:
  7752. description: 商品名称
  7753. type: string
  7754. listingselecttype:
  7755. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7756. type: integer
  7757. marketid:
  7758. description: 市场ID
  7759. type: integer
  7760. marketname:
  7761. description: 市场名称
  7762. type: string
  7763. openfreezecharge:
  7764. description: 开仓冻结手续费(先建后平操作,需要记录)
  7765. type: number
  7766. openqty:
  7767. description: 开仓数量(先建后平操作,需要记录)
  7768. type: integer
  7769. opentradeqty:
  7770. description: 开仓成交数量(先建后平操作,需要记录)
  7771. type: integer
  7772. openunfreezecharge:
  7773. description: 开仓解冻手续费(先建后平操作,需要记录)
  7774. type: number
  7775. operatetype:
  7776. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  7777. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  7778. 15:管理端协议转让
  7779. type: integer
  7780. operatorid:
  7781. description: 登录账号(LoginID)
  7782. type: integer
  7783. orderid:
  7784. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7785. type: string
  7786. orderprice:
  7787. description: 委托价格
  7788. type: number
  7789. orderqty:
  7790. description: 委托数量
  7791. type: integer
  7792. ordersrc:
  7793. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  7794. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  7795. type: integer
  7796. orderstatus:
  7797. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7798. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7799. 16:成交失败违约(荷兰式竞拍专用)
  7800. type: integer
  7801. ordertime:
  7802. description: 委托时间
  7803. type: string
  7804. preorderid:
  7805. description: 关联预埋单号(止盈止损单时填写)
  7806. type: string
  7807. pricemode:
  7808. description: '取价方式 - 1:市价 2: 限价'
  7809. type: integer
  7810. relatedid:
  7811. description: 关联单号(交割单)
  7812. type: string
  7813. tradedate:
  7814. description: 交易日(yyyyMMdd)
  7815. type: string
  7816. trademode:
  7817. description: 交易模式
  7818. type: integer
  7819. tradeqty:
  7820. description: 成交数量
  7821. type: integer
  7822. unfreezecharge:
  7823. description: 解冻手续费
  7824. type: number
  7825. unfreezemargin:
  7826. description: 解冻保证金
  7827. type: number
  7828. validtime:
  7829. description: 有效期限
  7830. type: string
  7831. validtype:
  7832. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  7833. type: integer
  7834. volumetype:
  7835. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  7836. type: integer
  7837. required:
  7838. - accountid
  7839. - buildtype
  7840. - buyorsell
  7841. - goodsid
  7842. - marketid
  7843. - operatetype
  7844. - orderqty
  7845. - ordertime
  7846. - pricemode
  7847. - tradedate
  7848. - validtype
  7849. type: object
  7850. order.QueryTradePositionRsp:
  7851. properties:
  7852. accountid:
  7853. description: 资金账户
  7854. type: integer
  7855. agreeunit:
  7856. description: 合约单位
  7857. type: number
  7858. averageprice:
  7859. description: 持仓均价
  7860. type: number
  7861. buyorsell:
  7862. description: 方向 - 0:买 1:卖
  7863. type: integer
  7864. closetotalqty:
  7865. description: 平仓总数量
  7866. type: integer
  7867. curholderamount:
  7868. description: 当前持仓总金额[商品币种]
  7869. type: number
  7870. curpositionqty:
  7871. description: 当前持仓总数量
  7872. type: integer
  7873. currencyid:
  7874. description: 报价货币ID
  7875. type: integer
  7876. curtdposition:
  7877. description: 期末今日头寸
  7878. type: integer
  7879. decimalplace:
  7880. description: 报价小数位
  7881. type: integer
  7882. enableqty:
  7883. description: 可用量
  7884. type: integer
  7885. fretdposition:
  7886. description: 冻结今日头寸
  7887. type: integer
  7888. frozenqty:
  7889. description: 持仓冻结数量
  7890. type: integer
  7891. goodscode:
  7892. description: 商品代码
  7893. type: string
  7894. goodsid:
  7895. description: 商品Id
  7896. type: integer
  7897. goodsname:
  7898. description: 商品名称
  7899. type: string
  7900. goodunit:
  7901. description: 报价单位
  7902. type: string
  7903. goodunitid:
  7904. description: 报价单位ID
  7905. type: integer
  7906. holderamount:
  7907. description: 期初持仓总金额[商品币种]
  7908. type: number
  7909. marketid:
  7910. description: 所属市场ID
  7911. type: integer
  7912. openreqqty:
  7913. description: 开仓申请数量(用于比较最大持仓数量)
  7914. type: integer
  7915. opentotalqty:
  7916. description: 开仓总数量
  7917. type: integer
  7918. otherfrozenqty:
  7919. description: 持仓其他冻结数量(交割冻结)
  7920. type: integer
  7921. positionqty:
  7922. description: 期初持仓数量
  7923. type: integer
  7924. tnqty:
  7925. description: T+N冻结总量
  7926. type: integer
  7927. tnusedqty:
  7928. description: T+N使用量(可以使用T+N的冻结数量)
  7929. type: integer
  7930. trademode:
  7931. description: 交易模式
  7932. type: integer
  7933. usedmargin:
  7934. description: 占用保证金[商品币种]
  7935. type: number
  7936. required:
  7937. - goodsid
  7938. type: object
  7939. quote.HistoryData:
  7940. properties:
  7941. c:
  7942. description: 收盘价
  7943. type: number
  7944. f:
  7945. description: 是否补充数据
  7946. type: boolean
  7947. h:
  7948. description: 最高价
  7949. type: number
  7950. hv:
  7951. description: 持仓量
  7952. type: integer
  7953. l:
  7954. description: 最低价
  7955. type: number
  7956. o:
  7957. description: 开盘价
  7958. type: number
  7959. s:
  7960. description: 结算价,日线周期(包括)以上才有
  7961. type: number
  7962. ts:
  7963. description: 时间
  7964. type: string
  7965. tt:
  7966. description: 总金额
  7967. type: number
  7968. tv:
  7969. description: 总量
  7970. type: integer
  7971. type: object
  7972. quote.QueryQuoteDayRsp:
  7973. properties:
  7974. ask:
  7975. description: 卖1
  7976. type: number
  7977. ask2:
  7978. description: 卖2
  7979. type: number
  7980. ask3:
  7981. description: 卖3
  7982. type: number
  7983. ask4:
  7984. description: 卖4
  7985. type: number
  7986. ask5:
  7987. description: 卖5
  7988. type: number
  7989. ask6:
  7990. description: 卖6
  7991. type: number
  7992. ask7:
  7993. description: 卖7
  7994. type: number
  7995. ask8:
  7996. description: 卖8
  7997. type: number
  7998. ask9:
  7999. description: 卖9
  8000. type: number
  8001. ask10:
  8002. description: 卖10
  8003. type: number
  8004. askorderid:
  8005. description: 卖单号1
  8006. type: integer
  8007. askorderid2:
  8008. description: 卖单号2
  8009. type: integer
  8010. askorderid3:
  8011. description: 卖单号3
  8012. type: integer
  8013. askorderid4:
  8014. description: 卖单号4
  8015. type: integer
  8016. askorderid5:
  8017. description: 卖单号5
  8018. type: integer
  8019. askordervolume:
  8020. description: 卖单量1
  8021. type: integer
  8022. askordervolume2:
  8023. description: 卖单量2
  8024. type: integer
  8025. askordervolume3:
  8026. description: 卖单量3
  8027. type: integer
  8028. askordervolume4:
  8029. description: 卖单量4
  8030. type: integer
  8031. askordervolume5:
  8032. description: 卖单量5
  8033. type: integer
  8034. askordervolume6:
  8035. description: 卖单量6
  8036. type: integer
  8037. askordervolume7:
  8038. description: 卖单量7
  8039. type: integer
  8040. askordervolume8:
  8041. description: 卖单量8
  8042. type: integer
  8043. askordervolume9:
  8044. description: 卖单量9
  8045. type: integer
  8046. askordervolume10:
  8047. description: 卖单量10
  8048. type: integer
  8049. askqueueinfo:
  8050. description: 大利市卖港股用
  8051. type: string
  8052. askvolume:
  8053. description: 卖量1
  8054. type: integer
  8055. askvolume2:
  8056. description: 卖量2
  8057. type: integer
  8058. askvolume3:
  8059. description: 卖量3
  8060. type: integer
  8061. askvolume4:
  8062. description: 卖量4
  8063. type: integer
  8064. askvolume5:
  8065. description: 卖量5
  8066. type: integer
  8067. askvolume6:
  8068. description: 卖量6
  8069. type: integer
  8070. askvolume7:
  8071. description: 卖量7
  8072. type: integer
  8073. askvolume8:
  8074. description: 卖量8
  8075. type: integer
  8076. askvolume9:
  8077. description: 卖量9
  8078. type: integer
  8079. askvolume10:
  8080. description: 卖量10
  8081. type: integer
  8082. averageprice:
  8083. description: 均价
  8084. type: number
  8085. bid:
  8086. description: 买1
  8087. type: number
  8088. bid2:
  8089. description: 买2
  8090. type: number
  8091. bid3:
  8092. description: 买3
  8093. type: number
  8094. bid4:
  8095. description: 买4
  8096. type: number
  8097. bid5:
  8098. description: 买5
  8099. type: number
  8100. bid6:
  8101. description: 买6
  8102. type: number
  8103. bid7:
  8104. description: 买7
  8105. type: number
  8106. bid8:
  8107. description: 买8
  8108. type: number
  8109. bid9:
  8110. description: 买9
  8111. type: number
  8112. bid10:
  8113. description: 买10
  8114. type: number
  8115. bidorderid:
  8116. description: 买单号1
  8117. type: integer
  8118. bidorderid2:
  8119. description: 买单号2
  8120. type: integer
  8121. bidorderid3:
  8122. description: 买单号3
  8123. type: integer
  8124. bidorderid4:
  8125. description: 买单号4
  8126. type: integer
  8127. bidorderid5:
  8128. description: 买单号5
  8129. type: integer
  8130. bidordervolume:
  8131. description: 买单量1
  8132. type: integer
  8133. bidordervolume2:
  8134. description: 买单量2
  8135. type: integer
  8136. bidordervolume3:
  8137. description: 买单量3
  8138. type: integer
  8139. bidordervolume4:
  8140. description: 买单量4
  8141. type: integer
  8142. bidordervolume5:
  8143. description: 买单量5
  8144. type: integer
  8145. bidordervolume6:
  8146. description: 买单量6
  8147. type: integer
  8148. bidordervolume7:
  8149. description: 买单量7
  8150. type: integer
  8151. bidordervolume8:
  8152. description: 买单量8
  8153. type: integer
  8154. bidordervolume9:
  8155. description: 买单量9
  8156. type: integer
  8157. bidordervolume10:
  8158. description: 买单量10
  8159. type: integer
  8160. bidqueueinfo:
  8161. description: 大利市买港股用
  8162. type: string
  8163. bidvolume:
  8164. description: 买量1
  8165. type: integer
  8166. bidvolume2:
  8167. description: 买量2
  8168. type: integer
  8169. bidvolume3:
  8170. description: 买量3
  8171. type: integer
  8172. bidvolume4:
  8173. description: 买量4
  8174. type: integer
  8175. bidvolume5:
  8176. description: 买量5
  8177. type: integer
  8178. bidvolume6:
  8179. description: 买量6
  8180. type: integer
  8181. bidvolume7:
  8182. description: 买量7
  8183. type: integer
  8184. bidvolume8:
  8185. description: 买量8
  8186. type: integer
  8187. bidvolume9:
  8188. description: 买量9
  8189. type: integer
  8190. bidvolume10:
  8191. description: 买量10
  8192. type: integer
  8193. calloptionpremiums:
  8194. description: 认购期权1
  8195. type: integer
  8196. calloptionpremiums2:
  8197. description: 认购期权2
  8198. type: integer
  8199. calloptionpremiums3:
  8200. description: 认购期权3
  8201. type: integer
  8202. calloptionpremiums4:
  8203. description: 认购期权4
  8204. type: integer
  8205. calloptionpremiums5:
  8206. description: 认购期权5
  8207. type: integer
  8208. cleartime:
  8209. description: 清盘时间
  8210. type: integer
  8211. exchangecode:
  8212. description: 交易所代码
  8213. type: integer
  8214. exchangedate:
  8215. description: 交易日
  8216. type: integer
  8217. goodscode:
  8218. description: 商品代码
  8219. type: string
  8220. grepmarketprice:
  8221. description: 暗盘价 港股专用
  8222. type: number
  8223. highest:
  8224. description: 最高价
  8225. type: number
  8226. holdincrement:
  8227. description: 单笔持仓
  8228. type: integer
  8229. holdvolume:
  8230. description: 持仓
  8231. type: integer
  8232. iep:
  8233. description: 平衡价 港股专用
  8234. type: number
  8235. iev:
  8236. description: 平衡量 港股专用
  8237. type: number
  8238. inventory:
  8239. description: 库存
  8240. type: integer
  8241. iscleared:
  8242. description: 是否清盘标志
  8243. type: integer
  8244. issettled:
  8245. description: 是否结算标志
  8246. type: integer
  8247. last:
  8248. description: 最新价
  8249. type: number
  8250. lastlot:
  8251. description: 最新成交手数
  8252. type: integer
  8253. lasttime:
  8254. description: 行情时间(只有现价变化行情时间才变化)
  8255. type: string
  8256. lastturnover:
  8257. description: 最新成交金额
  8258. type: number
  8259. lastvolume:
  8260. description: 最新成交量
  8261. type: integer
  8262. limitdown:
  8263. description: 跌停价
  8264. type: number
  8265. limitup:
  8266. description: 涨停价
  8267. type: number
  8268. lowest:
  8269. description: 最低价
  8270. type: number
  8271. nontotalholdervolume:
  8272. description: 非交易持仓量
  8273. type: integer
  8274. nontotallot:
  8275. description: 非交易总手数
  8276. type: integer
  8277. nontotalturnover:
  8278. description: 非交易总金额
  8279. type: integer
  8280. nontotalvolume:
  8281. description: 非交易总量
  8282. type: integer
  8283. opened:
  8284. description: 开盘价
  8285. type: number
  8286. opentime:
  8287. description: 开盘时间
  8288. type: string
  8289. orderid:
  8290. description: 序号
  8291. type: integer
  8292. preclose:
  8293. description: 昨收
  8294. type: number
  8295. preholdvolume:
  8296. description: 昨持仓
  8297. type: integer
  8298. presettle:
  8299. description: 昨结价
  8300. type: number
  8301. publictradetype:
  8302. description: 公共交易标志类型 港股专用
  8303. type: string
  8304. putoptionpremiums:
  8305. description: 认沽期权1
  8306. type: integer
  8307. putoptionpremiums2:
  8308. description: 认沽期权2
  8309. type: integer
  8310. putoptionpremiums3:
  8311. description: 认沽期权3
  8312. type: integer
  8313. putoptionpremiums4:
  8314. description: 认沽期权4
  8315. type: integer
  8316. putoptionpremiums5:
  8317. description: 认沽期权5
  8318. type: integer
  8319. settle:
  8320. description: 结算价
  8321. type: number
  8322. strikeprice:
  8323. description: 发行价
  8324. type: number
  8325. totalaskvolume:
  8326. description: 内盘
  8327. type: integer
  8328. totalbidvolume:
  8329. description: 外盘
  8330. type: integer
  8331. totallot:
  8332. description: 总手数
  8333. type: integer
  8334. totalturnover:
  8335. description: 总金额
  8336. type: number
  8337. totalvolume:
  8338. description: 总量
  8339. type: integer
  8340. utclasttime:
  8341. description: utc的行情时间
  8342. type: string
  8343. type: object
  8344. quote.QueryTSDataRsp:
  8345. properties:
  8346. decimalPlace:
  8347. description: 小数位
  8348. type: integer
  8349. endTime:
  8350. description: 结束时间
  8351. type: string
  8352. goodsCode:
  8353. description: 商品代码
  8354. type: string
  8355. historyDatas:
  8356. description: 历史数据
  8357. items:
  8358. $ref: '#/definitions/quote.HistoryData'
  8359. type: array
  8360. outGoodsCode:
  8361. description: 外部商品代码
  8362. type: string
  8363. preSettle:
  8364. description: 昨结
  8365. type: number
  8366. startTime:
  8367. description: 开始时间
  8368. type: string
  8369. tradeDate:
  8370. description: 交易日
  8371. type: string
  8372. type: object
  8373. szdz.QueryConvertLogRsp:
  8374. properties:
  8375. accountid:
  8376. description: 资金账户ID
  8377. type: integer
  8378. clientticket:
  8379. description: 客户端流水号
  8380. type: string
  8381. converttype:
  8382. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  8383. type: integer
  8384. createtime:
  8385. description: 记账时间
  8386. type: string
  8387. daymaxvalue:
  8388. description: 配置当日最大转入限制
  8389. type: number
  8390. daymaxvalue2:
  8391. description: 配置当日最大转入限制(转入)
  8392. type: number
  8393. goodscode:
  8394. description: 商品代码
  8395. type: string
  8396. goodsname:
  8397. description: 商品名称
  8398. type: string
  8399. handlestatus:
  8400. description: 处理状态
  8401. type: integer
  8402. innergoodsid:
  8403. description: 内部商品ID
  8404. type: integer
  8405. inratio:
  8406. description: 配置转入比值
  8407. type: integer
  8408. invalue:
  8409. description: 目标值
  8410. type: number
  8411. logid:
  8412. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8413. type: integer
  8414. mobile:
  8415. description: 手机号码(加密存储)
  8416. type: string
  8417. outergoodscode:
  8418. description: 外部商品代码[JD\PD]
  8419. type: string
  8420. outratio:
  8421. description: 配置转出比值
  8422. type: integer
  8423. outvalue:
  8424. description: 源值
  8425. type: number
  8426. pddecimalplace:
  8427. description: PD小数位
  8428. type: integer
  8429. qty:
  8430. description: 数量
  8431. type: string
  8432. remark:
  8433. description: 备注
  8434. type: string
  8435. sessionid:
  8436. description: 会话ID
  8437. type: integer
  8438. timemaxvalue:
  8439. description: 配置单次最大转入限制
  8440. type: number
  8441. timemaxvalue2:
  8442. description: 配置单次最大转入限制(转入)
  8443. type: number
  8444. timeminvalue:
  8445. description: 配置单次最小数量限制
  8446. type: number
  8447. timeminvalue2:
  8448. description: 配置单次最小数量限制(转入)
  8449. type: number
  8450. tradedate:
  8451. description: 交易日(yyyyMMdd)
  8452. type: string
  8453. userid:
  8454. description: 用户ID
  8455. type: integer
  8456. required:
  8457. - logid
  8458. type: object
  8459. szdz.QueryGoodsPickupRsp:
  8460. properties:
  8461. accountid:
  8462. description: 账户ID
  8463. type: integer
  8464. address:
  8465. description: 提货人详细地址
  8466. type: string
  8467. auditer:
  8468. description: 审核人
  8469. type: integer
  8470. audittime:
  8471. description: 审核时间
  8472. type: string
  8473. cardnum:
  8474. description: 提货人证件号码
  8475. type: string
  8476. cardtypeid:
  8477. description: 提货人证件类型
  8478. type: integer
  8479. checkremark:
  8480. description: 审核备注
  8481. type: string
  8482. goodscode:
  8483. description: 商品代码
  8484. type: string
  8485. goodsid:
  8486. description: 商品ID
  8487. type: integer
  8488. goodsname:
  8489. description: 商品名称
  8490. type: string
  8491. handlestatus:
  8492. description: 处理状态
  8493. type: integer
  8494. marketid:
  8495. description: 市场ID
  8496. type: integer
  8497. phonenum:
  8498. description: 提货人联系方式
  8499. type: string
  8500. qty:
  8501. description: 提货数量
  8502. type: number
  8503. recivername:
  8504. description: 提货人姓名
  8505. type: string
  8506. reqtime:
  8507. description: 更新时间
  8508. type: string
  8509. takemode:
  8510. description: 提货方式 - 2:自提 3:配送
  8511. type: integer
  8512. takeorderid:
  8513. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8514. type: string
  8515. takeorderstatus:
  8516. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8517. type: integer
  8518. takeremark:
  8519. description: 提货备注
  8520. type: string
  8521. tradedate:
  8522. description: 交易日(yyyyMMdd)
  8523. type: string
  8524. userid:
  8525. description: 用户ID
  8526. type: integer
  8527. required:
  8528. - takeorderid
  8529. type: object
  8530. szdz.QueryRecieptOrderRsp:
  8531. properties:
  8532. accountName:
  8533. description: 所属账号名称(已脱敏)
  8534. type: string
  8535. accountid:
  8536. description: 资金账号
  8537. type: integer
  8538. buyorsell:
  8539. description: 方向 - 0:买 1:卖
  8540. type: integer
  8541. enableqty:
  8542. description: 可摘数量
  8543. type: integer
  8544. goodscode:
  8545. description: 商品代码
  8546. type: string
  8547. goodsid:
  8548. description: 商品ID
  8549. type: integer
  8550. goodsname:
  8551. description: 商品名称
  8552. type: string
  8553. orderid:
  8554. description: 委托单号
  8555. type: string
  8556. orderprice:
  8557. description: 委托价格
  8558. type: number
  8559. ordertime:
  8560. description: 委托时间
  8561. type: string
  8562. tradedate:
  8563. description: 交易日(yyyyMMdd)
  8564. type: string
  8565. required:
  8566. - ordertime
  8567. type: object
  8568. szdz.QuerySZDZTradePositionRsp:
  8569. properties:
  8570. accountid:
  8571. description: 账号Id
  8572. type: integer
  8573. agreeunit:
  8574. description: 合约单位
  8575. type: number
  8576. averageprice:
  8577. description: 持仓均价
  8578. type: number
  8579. buyorsell:
  8580. description: 方向 - 0:买 1:卖
  8581. type: integer
  8582. closetotalqty:
  8583. description: 平仓总数量
  8584. type: integer
  8585. curholderamount:
  8586. description: 当前持仓总金额
  8587. type: number
  8588. curpositionqty:
  8589. description: 当前持仓总数量
  8590. type: integer
  8591. currencyid:
  8592. description: 报价货币ID
  8593. type: integer
  8594. curtdposition:
  8595. description: 期末今日头寸
  8596. type: integer
  8597. decimalplace:
  8598. description: 报价小数位
  8599. type: integer
  8600. enableqty:
  8601. description: 可用量
  8602. type: integer
  8603. fretdposition:
  8604. description: 冻结今日头寸
  8605. type: integer
  8606. frozenqty:
  8607. description: 持仓冻结数量
  8608. type: integer
  8609. goodscode:
  8610. description: 商品代码(内部)
  8611. type: string
  8612. goodsid:
  8613. description: 商品Id
  8614. type: integer
  8615. goodsname:
  8616. description: 商品名称
  8617. type: string
  8618. goodunit:
  8619. description: 报价单位
  8620. type: string
  8621. goodunitid:
  8622. description: 报价单位ID
  8623. type: integer
  8624. holderamount:
  8625. description: 期初持仓总金额
  8626. type: number
  8627. marketid:
  8628. description: 市场ID
  8629. type: integer
  8630. openreqqty:
  8631. description: 开仓申请数量
  8632. type: integer
  8633. opentotalqty:
  8634. description: 开仓总数量
  8635. type: integer
  8636. otherfrozenqty:
  8637. description: 持仓其他冻结数量(交割冻结)
  8638. type: integer
  8639. positionqty:
  8640. description: 期初持仓数量
  8641. type: integer
  8642. szdz3freezqty:
  8643. description: 尚志大宗转换冻结总数量
  8644. type: integer
  8645. tnqty:
  8646. description: T+N冻结总量
  8647. type: integer
  8648. tnusedqty:
  8649. description: T+N使用量
  8650. type: integer
  8651. trademode:
  8652. description: 交易模式
  8653. type: integer
  8654. usedmargin:
  8655. description: 占用保证金
  8656. type: number
  8657. type: object
  8658. taaccount.QueryAmountLogRsp:
  8659. properties:
  8660. OPERATETYPENAME:
  8661. description: 资金操作类型名称
  8662. type: string
  8663. accountid:
  8664. description: 资金账户ID
  8665. type: integer
  8666. agoodscode:
  8667. description: 竞拍商品代码
  8668. type: string
  8669. agoodsname:
  8670. description: 竞拍商品名称
  8671. type: string
  8672. amount:
  8673. description: 资金金额
  8674. type: number
  8675. amountadjusttype:
  8676. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  8677. type: integer
  8678. autoid:
  8679. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  8680. type: integer
  8681. balance:
  8682. description: 期初余额
  8683. type: number
  8684. businesscode:
  8685. description: 业务编号
  8686. type: integer
  8687. createtime:
  8688. description: 发生时间
  8689. type: string
  8690. currencyid:
  8691. description: 币种ID
  8692. type: integer
  8693. currentbalance:
  8694. description: 期末余额(变动后金额)
  8695. type: number
  8696. dgoodscode:
  8697. description: 交割商品代码
  8698. type: string
  8699. dgoodsname:
  8700. description: 交割商品名称
  8701. type: string
  8702. goodscode:
  8703. description: 商品代码
  8704. type: string
  8705. goodsid:
  8706. description: 商品ID
  8707. type: integer
  8708. goodsname:
  8709. description: 商品名称
  8710. type: string
  8711. marketid:
  8712. description: 市场ID
  8713. type: integer
  8714. marketname:
  8715. description: 市场名称
  8716. type: string
  8717. moneyticket:
  8718. description: 资金流水号:银行端流水号
  8719. type: integer
  8720. operatetype:
  8721. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  8722. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  8723. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  8724. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  8725. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  8726. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  8727. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  8728. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  8729. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  8730. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  8731. type: integer
  8732. relationorderid:
  8733. description: 关联单号
  8734. type: string
  8735. remark:
  8736. description: 备注
  8737. type: string
  8738. trademode:
  8739. description: 交易模式
  8740. type: integer
  8741. required:
  8742. - accountid
  8743. - amount
  8744. - amountadjusttype
  8745. - autoid
  8746. - balance
  8747. - createtime
  8748. - currentbalance
  8749. - operatetype
  8750. type: object
  8751. taaccount.QueryHisAmountLogRsp:
  8752. properties:
  8753. OPERATETYPENAME:
  8754. description: 资金操作类型名称
  8755. type: string
  8756. accountid:
  8757. description: 资金账户ID
  8758. type: integer
  8759. agoodscode:
  8760. description: 竞拍商品代码
  8761. type: string
  8762. agoodsname:
  8763. description: 竞拍商品名称
  8764. type: string
  8765. amount:
  8766. description: 资金金额
  8767. type: number
  8768. amountadjusttype:
  8769. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  8770. type: integer
  8771. autoid:
  8772. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  8773. type: integer
  8774. balance:
  8775. description: 期初余额
  8776. type: number
  8777. businesscode:
  8778. description: 业务编号
  8779. type: integer
  8780. createtime:
  8781. description: 发生时间
  8782. type: string
  8783. currencyid:
  8784. description: 币种ID
  8785. type: integer
  8786. currentbalance:
  8787. description: 期末余额(变动后金额)
  8788. type: number
  8789. dgoodscode:
  8790. description: 交割商品代码
  8791. type: string
  8792. dgoodsname:
  8793. description: 交割商品名称
  8794. type: string
  8795. goodscode:
  8796. description: 商品代码
  8797. type: string
  8798. goodsid:
  8799. description: 商品ID
  8800. type: integer
  8801. goodsname:
  8802. description: 商品名称
  8803. type: string
  8804. histradedate:
  8805. description: 历史交易日
  8806. type: string
  8807. isvaliddata:
  8808. description: 是否有效 - 0:无效 1:有效
  8809. type: integer
  8810. marketid:
  8811. description: 市场ID
  8812. type: integer
  8813. marketname:
  8814. description: 市场名称
  8815. type: string
  8816. moneyticket:
  8817. description: 资金流水号:银行端流水号
  8818. type: integer
  8819. operatetype:
  8820. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  8821. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  8822. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  8823. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  8824. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  8825. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  8826. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  8827. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  8828. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  8829. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  8830. type: integer
  8831. relationorderid:
  8832. description: 关联单号
  8833. type: string
  8834. remark:
  8835. description: 备注
  8836. type: string
  8837. trademode:
  8838. description: 交易模式
  8839. type: integer
  8840. required:
  8841. - accountid
  8842. - amount
  8843. - amountadjusttype
  8844. - autoid
  8845. - balance
  8846. - createtime
  8847. - currentbalance
  8848. - histradedate
  8849. - operatetype
  8850. type: object
  8851. trade.QueryRecieptOrderRsp:
  8852. properties:
  8853. accountName:
  8854. description: 所属账号名称(已脱敏)
  8855. type: string
  8856. accountid:
  8857. description: 资金账号
  8858. type: integer
  8859. buyorsell:
  8860. description: 方向 - 0:买 1:卖
  8861. type: integer
  8862. enableqty:
  8863. description: 可摘数量
  8864. type: integer
  8865. goodscode:
  8866. description: 商品代码
  8867. type: string
  8868. goodsid:
  8869. description: 商品ID
  8870. type: integer
  8871. goodsname:
  8872. description: 商品名称
  8873. type: string
  8874. orderid:
  8875. description: 委托单号
  8876. type: string
  8877. orderprice:
  8878. description: 委托价格
  8879. type: number
  8880. ordertime:
  8881. description: 委托时间
  8882. type: string
  8883. tradedate:
  8884. description: 交易日(yyyyMMdd)
  8885. type: string
  8886. required:
  8887. - ordertime
  8888. type: object
  8889. info:
  8890. contact: {}
  8891. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  8892. termsOfService: http://muchinfo.cn
  8893. title: MTP2.0 查询服务 API
  8894. version: "1.0"
  8895. paths:
  8896. /CPTrade/QueryCPTradeMyBidInfos:
  8897. get:
  8898. parameters:
  8899. - description: 资金账户
  8900. in: query
  8901. name: accountid
  8902. required: true
  8903. type: integer
  8904. - description: 预售市场ID
  8905. in: query
  8906. name: marketid
  8907. type: integer
  8908. - description: 预售商品ID
  8909. in: query
  8910. name: goodsid
  8911. type: integer
  8912. produces:
  8913. - application/json
  8914. responses:
  8915. "200":
  8916. description: OK
  8917. schema:
  8918. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  8919. "500":
  8920. description: Internal Server Error
  8921. schema:
  8922. $ref: '#/definitions/app.Response'
  8923. security:
  8924. - ApiKeyAuth: []
  8925. summary: 查询产能预售我的出价信息
  8926. tags:
  8927. - 产能预售
  8928. /CPTrade/QueryCPTradeOrderDetail:
  8929. get:
  8930. parameters:
  8931. - description: 预售商品ID
  8932. in: query
  8933. name: goodsid
  8934. type: integer
  8935. - description: 预售市场ID
  8936. in: query
  8937. name: marketid
  8938. type: integer
  8939. - description: 预售商品ID列表 - 格式:1,2,3
  8940. in: query
  8941. name: goodsids
  8942. type: string
  8943. produces:
  8944. - application/json
  8945. responses:
  8946. "200":
  8947. description: OK
  8948. schema:
  8949. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  8950. "500":
  8951. description: Internal Server Error
  8952. schema:
  8953. $ref: '#/definitions/app.Response'
  8954. security:
  8955. - ApiKeyAuth: []
  8956. summary: 查询产能预售委托单信息
  8957. tags:
  8958. - 产能预售
  8959. /CPTrade/QueryMyCPTradeGoods:
  8960. get:
  8961. parameters:
  8962. - description: 资金账户
  8963. in: query
  8964. name: accountid
  8965. required: true
  8966. type: integer
  8967. produces:
  8968. - application/json
  8969. responses:
  8970. "200":
  8971. description: OK
  8972. schema:
  8973. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  8974. "500":
  8975. description: Internal Server Error
  8976. schema:
  8977. $ref: '#/definitions/app.Response'
  8978. security:
  8979. - ApiKeyAuth: []
  8980. summary: 查询我的预售信息
  8981. tags:
  8982. - 产能预售
  8983. /CPTrade/QueryPositionCancel:
  8984. get:
  8985. parameters:
  8986. - description: 账户ID
  8987. in: query
  8988. name: userid
  8989. required: true
  8990. type: integer
  8991. - description: 注销ID
  8992. in: query
  8993. name: cancelid
  8994. type: integer
  8995. - description: 资金账户ID
  8996. in: query
  8997. name: accountid
  8998. type: integer
  8999. produces:
  9000. - application/json
  9001. responses:
  9002. "200":
  9003. description: OK
  9004. schema:
  9005. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  9006. "500":
  9007. description: Internal Server Error
  9008. schema:
  9009. $ref: '#/definitions/app.Response'
  9010. security:
  9011. - ApiKeyAuth: []
  9012. summary: 查询远期订单注销申请信息
  9013. tags:
  9014. - 产能预售
  9015. /CPTrade/QueryPreasleApply:
  9016. get:
  9017. parameters:
  9018. - description: 账户ID
  9019. in: query
  9020. name: userid
  9021. required: true
  9022. type: integer
  9023. - description: 申请ID
  9024. in: query
  9025. name: applyid
  9026. type: integer
  9027. - description: 资金账户ID
  9028. in: query
  9029. name: accountid
  9030. type: integer
  9031. produces:
  9032. - application/json
  9033. responses:
  9034. "200":
  9035. description: OK
  9036. schema:
  9037. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  9038. "500":
  9039. description: Internal Server Error
  9040. schema:
  9041. $ref: '#/definitions/app.Response'
  9042. security:
  9043. - ApiKeyAuth: []
  9044. summary: 查询产能预售申请信息
  9045. tags:
  9046. - 产能预售
  9047. /CPTrade/QueryPresaleGoodsEx:
  9048. get:
  9049. parameters:
  9050. - description: 预售商品ID
  9051. in: query
  9052. name: goodsid
  9053. type: integer
  9054. - description: 预售市场ID
  9055. in: query
  9056. name: marketid
  9057. type: integer
  9058. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  9059. in: query
  9060. name: presalemode
  9061. type: integer
  9062. - description: 预售商品ID列表 - 格式:1,2,3
  9063. in: query
  9064. name: goodsids
  9065. type: string
  9066. - description: 预售商品代码
  9067. in: query
  9068. name: goodscode
  9069. type: string
  9070. produces:
  9071. - application/json
  9072. responses:
  9073. "200":
  9074. description: OK
  9075. schema:
  9076. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  9077. "500":
  9078. description: Internal Server Error
  9079. schema:
  9080. $ref: '#/definitions/app.Response'
  9081. security:
  9082. - ApiKeyAuth: []
  9083. summary: 查询产能预售商品扩展信息
  9084. tags:
  9085. - 产能预售
  9086. /CPTrade/QueryUserGoodsData:
  9087. get:
  9088. parameters:
  9089. - description: 资金账户ID
  9090. in: query
  9091. name: accountid
  9092. required: true
  9093. type: integer
  9094. produces:
  9095. - application/json
  9096. responses:
  9097. "200":
  9098. description: OK
  9099. schema:
  9100. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  9101. "500":
  9102. description: Internal Server Error
  9103. schema:
  9104. $ref: '#/definitions/app.Response'
  9105. security:
  9106. - ApiKeyAuth: []
  9107. summary: 查询远期订单信息
  9108. tags:
  9109. - 产能预售
  9110. /Common/GetAllEnums:
  9111. get:
  9112. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  9113. parameters:
  9114. - description: 起始自增ID
  9115. in: query
  9116. name: autoid
  9117. type: integer
  9118. produces:
  9119. - application/json
  9120. responses:
  9121. "200":
  9122. description: OK
  9123. schema:
  9124. $ref: '#/definitions/models.Enumdicitem'
  9125. "500":
  9126. description: Internal Server Error
  9127. schema:
  9128. $ref: '#/definitions/app.Response'
  9129. summary: 获取所有枚举信息
  9130. tags:
  9131. - 通用服务
  9132. /Common/GetDivisions:
  9133. get:
  9134. produces:
  9135. - application/json
  9136. responses:
  9137. "200":
  9138. description: OK
  9139. schema:
  9140. $ref: '#/definitions/models.Division'
  9141. "500":
  9142. description: Internal Server Error
  9143. schema:
  9144. $ref: '#/definitions/app.Response'
  9145. summary: 查询区域信息
  9146. tags:
  9147. - 通用服务
  9148. /Common/GetServerTime:
  9149. get:
  9150. produces:
  9151. - application/json
  9152. responses:
  9153. "200":
  9154. description: OK
  9155. schema:
  9156. $ref: '#/definitions/app.Response'
  9157. "500":
  9158. description: Internal Server Error
  9159. schema:
  9160. $ref: '#/definitions/app.Response'
  9161. summary: 获取服务器时间
  9162. tags:
  9163. - 通用服务
  9164. /Common/NoticeReaded:
  9165. post:
  9166. parameters:
  9167. - description: 登录账号
  9168. in: query
  9169. name: loginID
  9170. required: true
  9171. type: integer
  9172. - description: 通知公告ID
  9173. in: query
  9174. name: noticeID
  9175. required: true
  9176. type: integer
  9177. produces:
  9178. - application/json
  9179. responses:
  9180. "200":
  9181. description: OK
  9182. schema:
  9183. $ref: '#/definitions/app.Response'
  9184. "500":
  9185. description: Internal Server Error
  9186. schema:
  9187. $ref: '#/definitions/app.Response'
  9188. security:
  9189. - ApiKeyAuth: []
  9190. summary: 通知公告设置已读请求
  9191. tags:
  9192. - 通用服务
  9193. /Common/QueryErrorInfos:
  9194. get:
  9195. description: 如果传入rowNumber,则返回此rowNumber后的数据
  9196. parameters:
  9197. - description: 起始行号前索引
  9198. in: query
  9199. name: rowNumber
  9200. type: string
  9201. produces:
  9202. - application/json
  9203. responses:
  9204. "200":
  9205. description: OK
  9206. schema:
  9207. $ref: '#/definitions/models.QueryErrorInfosRsp'
  9208. "500":
  9209. description: Internal Server Error
  9210. schema:
  9211. $ref: '#/definitions/app.Response'
  9212. summary: 获取数据库错误信息
  9213. tags:
  9214. - 通用服务
  9215. /Common/QueryImageConfigs:
  9216. get:
  9217. parameters:
  9218. - description: 类型 - 1:App首页轮播 2:我的
  9219. in: query
  9220. name: imageType
  9221. type: integer
  9222. produces:
  9223. - application/json
  9224. responses:
  9225. "200":
  9226. description: OK
  9227. schema:
  9228. $ref: '#/definitions/models.Szdz2imageconfig'
  9229. "500":
  9230. description: Internal Server Error
  9231. schema:
  9232. $ref: '#/definitions/app.Response'
  9233. summary: 查询轮播图配置信息
  9234. tags:
  9235. - 通用服务
  9236. /Common/QueryNotice:
  9237. get:
  9238. parameters:
  9239. - description: 页码
  9240. in: query
  9241. name: page
  9242. type: integer
  9243. - description: 每页条数
  9244. in: query
  9245. name: pagesize
  9246. type: integer
  9247. - description: 登录账号
  9248. in: query
  9249. name: loginID
  9250. required: true
  9251. type: integer
  9252. - description: 消息类型 - 1:公告通知 2:系统消息
  9253. in: query
  9254. name: msgType
  9255. type: integer
  9256. - description: 是否只获取未读信息
  9257. in: query
  9258. name: onlyUnRead
  9259. type: boolean
  9260. produces:
  9261. - application/json
  9262. responses:
  9263. "200":
  9264. description: OK
  9265. schema:
  9266. $ref: '#/definitions/common.QueryNoticeRsp'
  9267. "500":
  9268. description: Internal Server Error
  9269. schema:
  9270. $ref: '#/definitions/app.Response'
  9271. security:
  9272. - ApiKeyAuth: []
  9273. summary: 通知公告系统消息查询
  9274. tags:
  9275. - 通用服务
  9276. /Common/QueryProvincesAndCities:
  9277. get:
  9278. parameters:
  9279. - description: 省ID
  9280. in: query
  9281. name: provinceID
  9282. type: integer
  9283. produces:
  9284. - application/json
  9285. responses:
  9286. "200":
  9287. description: OK
  9288. schema:
  9289. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  9290. "500":
  9291. description: Internal Server Error
  9292. schema:
  9293. $ref: '#/definitions/app.Response'
  9294. summary: 查询省市信息(不包括区)
  9295. tags:
  9296. - 通用服务
  9297. /Common/QueryTableDefine:
  9298. get:
  9299. parameters:
  9300. - description: 表key
  9301. in: query
  9302. name: tableKey
  9303. type: string
  9304. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  9305. in: query
  9306. name: tableType
  9307. type: integer
  9308. produces:
  9309. - application/json
  9310. responses:
  9311. "200":
  9312. description: OK
  9313. schema:
  9314. $ref: '#/definitions/common.QueryTableDefineRsp'
  9315. "500":
  9316. description: Internal Server Error
  9317. schema:
  9318. $ref: '#/definitions/app.Response'
  9319. summary: 查询交易端列表头信息
  9320. tags:
  9321. - 通用服务
  9322. /Common/QueryTraderMenu:
  9323. get:
  9324. parameters:
  9325. - description: 登录账号
  9326. in: query
  9327. name: loginid
  9328. required: true
  9329. type: integer
  9330. produces:
  9331. - application/json
  9332. responses:
  9333. "200":
  9334. description: OK
  9335. schema:
  9336. $ref: '#/definitions/common.QueryTraderMenuRsp'
  9337. "500":
  9338. description: Internal Server Error
  9339. schema:
  9340. $ref: '#/definitions/app.Response'
  9341. summary: 查询交易端菜单
  9342. tags:
  9343. - 通用服务
  9344. /Delivery/QueryDeliveryRelation:
  9345. get:
  9346. parameters:
  9347. - description: 商品ID
  9348. in: query
  9349. name: goodsid
  9350. type: integer
  9351. - description: 品种ID
  9352. in: query
  9353. name: deliverygoodsid
  9354. type: integer
  9355. - description: 市场ID
  9356. in: query
  9357. name: marketid
  9358. type: integer
  9359. produces:
  9360. - application/json
  9361. responses:
  9362. "200":
  9363. description: OK
  9364. schema:
  9365. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  9366. "500":
  9367. description: Internal Server Error
  9368. schema:
  9369. $ref: '#/definitions/app.Response'
  9370. security:
  9371. - ApiKeyAuth: []
  9372. summary: 查询商品交割关系表
  9373. tags:
  9374. - 交割服务
  9375. /Ermcp/GetErmcpGoods:
  9376. get:
  9377. parameters:
  9378. - description: 已存末尾商品编号
  9379. in: query
  9380. name: lastID
  9381. type: integer
  9382. produces:
  9383. - application/json
  9384. responses:
  9385. "200":
  9386. description: OK
  9387. schema:
  9388. $ref: '#/definitions/models.Goods'
  9389. "500":
  9390. description: Internal Server Error
  9391. schema:
  9392. $ref: '#/definitions/app.Response'
  9393. security:
  9394. - ApiKeyAuth: []
  9395. summary: 查询企业风管期货商品信息
  9396. tags:
  9397. - 企业风险管理(app)
  9398. /Ermcp/QryReportDayExposure:
  9399. get:
  9400. parameters:
  9401. - description: 用户ID
  9402. in: query
  9403. name: userid
  9404. required: true
  9405. type: integer
  9406. - description: 交易日(格式:yyyyMMdd)
  9407. in: query
  9408. name: tradedate
  9409. required: true
  9410. type: string
  9411. produces:
  9412. - application/json
  9413. responses:
  9414. "200":
  9415. description: OK
  9416. schema:
  9417. items:
  9418. $ref: '#/definitions/ermcp.QryReportExposureDayRsp'
  9419. type: array
  9420. "500":
  9421. description: Internal Server Error
  9422. schema:
  9423. $ref: '#/definitions/app.Response'
  9424. security:
  9425. - ApiKeyAuth: []
  9426. summary: 查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)
  9427. tags:
  9428. - 企业风险管理(app)
  9429. /Ermcp/QryReportDayFinance:
  9430. get:
  9431. parameters:
  9432. - description: 用户ID
  9433. in: query
  9434. name: userid
  9435. required: true
  9436. type: integer
  9437. - description: 交易日(格式:yyyyMMdd)
  9438. in: query
  9439. name: tradedate
  9440. required: true
  9441. type: string
  9442. produces:
  9443. - application/json
  9444. responses:
  9445. "200":
  9446. description: OK
  9447. schema:
  9448. items:
  9449. $ref: '#/definitions/ermcp.QryReportFinanceDayRsp'
  9450. type: array
  9451. "500":
  9452. description: Internal Server Error
  9453. schema:
  9454. $ref: '#/definitions/app.Response'
  9455. security:
  9456. - ApiKeyAuth: []
  9457. summary: 查询财务日报表(菜单:报表查询/财务报表/日报表)
  9458. tags:
  9459. - 企业风险管理(app)
  9460. /Ermcp/QryReportDayFinanceFp:
  9461. get:
  9462. parameters:
  9463. - description: 用户ID
  9464. in: query
  9465. name: userid
  9466. required: true
  9467. type: integer
  9468. - description: 交易日(格式:yyyyMMdd)
  9469. in: query
  9470. name: tradedate
  9471. required: true
  9472. type: string
  9473. produces:
  9474. - application/json
  9475. responses:
  9476. "200":
  9477. description: OK
  9478. schema:
  9479. items:
  9480. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  9481. type: array
  9482. "500":
  9483. description: Internal Server Error
  9484. schema:
  9485. $ref: '#/definitions/app.Response'
  9486. security:
  9487. - ApiKeyAuth: []
  9488. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  9489. tags:
  9490. - 企业风险管理(app)
  9491. /Ermcp/QryReportDayFinanceKx:
  9492. get:
  9493. parameters:
  9494. - description: 用户ID
  9495. in: query
  9496. name: userid
  9497. required: true
  9498. type: integer
  9499. - description: 交易日(格式:yyyyMMdd)
  9500. in: query
  9501. name: tradedate
  9502. required: true
  9503. type: string
  9504. produces:
  9505. - application/json
  9506. responses:
  9507. "200":
  9508. description: OK
  9509. schema:
  9510. items:
  9511. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  9512. type: array
  9513. "500":
  9514. description: Internal Server Error
  9515. schema:
  9516. $ref: '#/definitions/app.Response'
  9517. security:
  9518. - ApiKeyAuth: []
  9519. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  9520. tags:
  9521. - 企业风险管理(app)
  9522. /Ermcp/QryReportDaySpot:
  9523. get:
  9524. parameters:
  9525. - description: 用户ID
  9526. in: query
  9527. name: userid
  9528. required: true
  9529. type: integer
  9530. - description: 交易日(格式:yyyyMMdd)
  9531. in: query
  9532. name: tradedate
  9533. required: true
  9534. type: string
  9535. produces:
  9536. - application/json
  9537. responses:
  9538. "200":
  9539. description: OK
  9540. schema:
  9541. items:
  9542. $ref: '#/definitions/ermcp.QryReportSpotDayRsp'
  9543. type: array
  9544. "500":
  9545. description: Internal Server Error
  9546. schema:
  9547. $ref: '#/definitions/app.Response'
  9548. security:
  9549. - ApiKeyAuth: []
  9550. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  9551. tags:
  9552. - 企业风险管理(app)
  9553. /Ermcp/QryReportDaySpotDetail:
  9554. get:
  9555. parameters:
  9556. - description: 用户ID
  9557. in: query
  9558. name: userid
  9559. required: true
  9560. type: integer
  9561. - description: 现货商品id
  9562. in: query
  9563. name: wrstandardid
  9564. required: true
  9565. type: integer
  9566. - description: 交易日(格式:yyyyMMdd)
  9567. in: query
  9568. name: tradedate
  9569. required: true
  9570. type: string
  9571. produces:
  9572. - application/json
  9573. responses:
  9574. "200":
  9575. description: OK
  9576. schema:
  9577. items:
  9578. $ref: '#/definitions/ermcp.QryReportDaySpotDetailRsp'
  9579. type: array
  9580. "500":
  9581. description: Internal Server Error
  9582. schema:
  9583. $ref: '#/definitions/app.Response'
  9584. security:
  9585. - ApiKeyAuth: []
  9586. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  9587. tags:
  9588. - 企业风险管理(app)
  9589. /Ermcp/QryReportMonthFinance:
  9590. get:
  9591. parameters:
  9592. - description: 用户ID
  9593. in: query
  9594. name: userid
  9595. required: true
  9596. type: integer
  9597. - description: 周期时间:月(格式:yyyyMM)
  9598. in: query
  9599. name: cycletime
  9600. required: true
  9601. type: string
  9602. produces:
  9603. - application/json
  9604. responses:
  9605. "200":
  9606. description: OK
  9607. schema:
  9608. items:
  9609. $ref: '#/definitions/ermcp.QryReportFinanceMonRsp'
  9610. type: array
  9611. "500":
  9612. description: Internal Server Error
  9613. schema:
  9614. $ref: '#/definitions/app.Response'
  9615. security:
  9616. - ApiKeyAuth: []
  9617. summary: 查询财务月报表(菜单:报表查询/财务报表/月报表)
  9618. tags:
  9619. - 企业风险管理(app)
  9620. /Ermcp/QryReportMonthSpot:
  9621. get:
  9622. parameters:
  9623. - description: 用户ID
  9624. in: query
  9625. name: userid
  9626. required: true
  9627. type: integer
  9628. - description: 周期时间:月(格式:yyyyMM)
  9629. in: query
  9630. name: cycletime
  9631. required: true
  9632. type: string
  9633. produces:
  9634. - application/json
  9635. responses:
  9636. "200":
  9637. description: OK
  9638. schema:
  9639. items:
  9640. $ref: '#/definitions/ermcp.QryReportSpotMonRsp'
  9641. type: array
  9642. "500":
  9643. description: Internal Server Error
  9644. schema:
  9645. $ref: '#/definitions/app.Response'
  9646. security:
  9647. - ApiKeyAuth: []
  9648. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  9649. tags:
  9650. - 企业风险管理(app)
  9651. /Ermcp/QryReportMonthSpotDetail:
  9652. get:
  9653. parameters:
  9654. - description: 用户ID
  9655. in: query
  9656. name: userid
  9657. required: true
  9658. type: integer
  9659. - description: 现货商品id
  9660. in: query
  9661. name: wrstandardid
  9662. required: true
  9663. type: integer
  9664. - description: 周期时间:月(格式:yyyyMM)
  9665. in: query
  9666. name: cycletime
  9667. required: true
  9668. type: string
  9669. produces:
  9670. - application/json
  9671. responses:
  9672. "200":
  9673. description: OK
  9674. schema:
  9675. items:
  9676. $ref: '#/definitions/ermcp.QryReportSpotMonthDetailRsp'
  9677. type: array
  9678. "500":
  9679. description: Internal Server Error
  9680. schema:
  9681. $ref: '#/definitions/app.Response'
  9682. security:
  9683. - ApiKeyAuth: []
  9684. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  9685. tags:
  9686. - 企业风险管理(app)
  9687. /Ermcp/QueryAvaildGoodsGroup:
  9688. get:
  9689. parameters:
  9690. - description: 所属机构ID
  9691. in: query
  9692. name: userid
  9693. required: true
  9694. type: integer
  9695. produces:
  9696. - application/json
  9697. responses:
  9698. "200":
  9699. description: OK
  9700. schema:
  9701. items:
  9702. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  9703. type: array
  9704. "500":
  9705. description: Internal Server Error
  9706. schema:
  9707. $ref: '#/definitions/app.Response'
  9708. security:
  9709. - ApiKeyAuth: []
  9710. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  9711. tags:
  9712. - 企业风险管理(app)
  9713. /Ermcp/QueryBusinessDj:
  9714. get:
  9715. parameters:
  9716. - description: 用户ID
  9717. in: query
  9718. name: UserId
  9719. required: true
  9720. type: integer
  9721. - description: 现货合同ID, 不填则查所有
  9722. in: query
  9723. name: relatedid
  9724. type: string
  9725. produces:
  9726. - application/json
  9727. responses:
  9728. "200":
  9729. description: OK
  9730. schema:
  9731. items:
  9732. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  9733. type: array
  9734. "500":
  9735. description: Internal Server Error
  9736. schema:
  9737. $ref: '#/definitions/app.Response'
  9738. security:
  9739. - ApiKeyAuth: []
  9740. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  9741. tags:
  9742. - 企业风险管理(app)
  9743. /Ermcp/QueryBusinessFp:
  9744. get:
  9745. parameters:
  9746. - description: 用户ID
  9747. in: query
  9748. name: UserId
  9749. required: true
  9750. type: integer
  9751. - description: 现货合同ID, 不填则查所有
  9752. in: query
  9753. name: relatedid
  9754. type: string
  9755. produces:
  9756. - application/json
  9757. responses:
  9758. "200":
  9759. description: OK
  9760. schema:
  9761. items:
  9762. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  9763. type: array
  9764. "500":
  9765. description: Internal Server Error
  9766. schema:
  9767. $ref: '#/definitions/app.Response'
  9768. security:
  9769. - ApiKeyAuth: []
  9770. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  9771. tags:
  9772. - 企业风险管理(app)
  9773. /Ermcp/QueryBusinessJs:
  9774. get:
  9775. parameters:
  9776. - description: 用户ID
  9777. in: query
  9778. name: UserId
  9779. required: true
  9780. type: integer
  9781. - description: 现货合同ID, 不填则查所有
  9782. in: query
  9783. name: relatedid
  9784. type: string
  9785. produces:
  9786. - application/json
  9787. responses:
  9788. "200":
  9789. description: OK
  9790. schema:
  9791. items:
  9792. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  9793. type: array
  9794. "500":
  9795. description: Internal Server Error
  9796. schema:
  9797. $ref: '#/definitions/app.Response'
  9798. security:
  9799. - ApiKeyAuth: []
  9800. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  9801. tags:
  9802. - 企业风险管理(app)
  9803. /Ermcp/QueryBusinessJsEx:
  9804. get:
  9805. parameters:
  9806. - description: 用户ID
  9807. in: query
  9808. name: UserId
  9809. required: true
  9810. type: integer
  9811. - description: 现货合同ID, 不填则查所有
  9812. in: query
  9813. name: relatedid
  9814. type: string
  9815. produces:
  9816. - application/json
  9817. responses:
  9818. "200":
  9819. description: OK
  9820. schema:
  9821. items:
  9822. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  9823. type: array
  9824. "500":
  9825. description: Internal Server Error
  9826. schema:
  9827. $ref: '#/definitions/app.Response'
  9828. security:
  9829. - ApiKeyAuth: []
  9830. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  9831. tags:
  9832. - 企业风险管理(app)
  9833. /Ermcp/QueryBusinessKx:
  9834. get:
  9835. parameters:
  9836. - description: 用户ID
  9837. in: query
  9838. name: UserId
  9839. required: true
  9840. type: integer
  9841. - description: 现货合同ID, 不填则查所有
  9842. in: query
  9843. name: relatedid
  9844. type: string
  9845. produces:
  9846. - application/json
  9847. responses:
  9848. "200":
  9849. description: OK
  9850. schema:
  9851. items:
  9852. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  9853. type: array
  9854. "500":
  9855. description: Internal Server Error
  9856. schema:
  9857. $ref: '#/definitions/app.Response'
  9858. security:
  9859. - ApiKeyAuth: []
  9860. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  9861. tags:
  9862. - 企业风险管理(app)
  9863. /Ermcp/QueryChangeLog:
  9864. get:
  9865. parameters:
  9866. - description: 合同ID
  9867. in: query
  9868. name: RelatedId
  9869. required: true
  9870. type: string
  9871. produces:
  9872. - application/json
  9873. responses:
  9874. "200":
  9875. description: OK
  9876. schema:
  9877. items:
  9878. $ref: '#/definitions/ermcp.QryOPLogRsp'
  9879. type: array
  9880. "500":
  9881. description: Internal Server Error
  9882. schema:
  9883. $ref: '#/definitions/app.Response'
  9884. security:
  9885. - ApiKeyAuth: []
  9886. summary: 查询变更记录
  9887. tags:
  9888. - 企业风险管理(app)
  9889. /Ermcp/QueryContract:
  9890. get:
  9891. parameters:
  9892. - description: 用户ID
  9893. in: query
  9894. name: userId
  9895. required: true
  9896. type: integer
  9897. - description: 合同类型 1-采购, -1-销售
  9898. in: query
  9899. name: contracttype
  9900. required: true
  9901. type: integer
  9902. - description: 查询类型 1-全部 2-待点价 3-履约结算
  9903. in: query
  9904. name: querytype
  9905. required: true
  9906. type: integer
  9907. produces:
  9908. - application/json
  9909. responses:
  9910. "200":
  9911. description: OK
  9912. schema:
  9913. items:
  9914. $ref: '#/definitions/ermcp.QryErmcpRsp'
  9915. type: array
  9916. "500":
  9917. description: Internal Server Error
  9918. schema:
  9919. $ref: '#/definitions/app.Response'
  9920. security:
  9921. - ApiKeyAuth: []
  9922. summary: 查询合同(采购和销售)
  9923. tags:
  9924. - 企业风险管理(app)
  9925. /Ermcp/QueryErmcpOrderDetails:
  9926. get:
  9927. parameters:
  9928. - description: 资金账户ID
  9929. in: query
  9930. name: accountID
  9931. required: true
  9932. type: integer
  9933. produces:
  9934. - application/json
  9935. responses:
  9936. "200":
  9937. description: OK
  9938. schema:
  9939. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  9940. "500":
  9941. description: Internal Server Error
  9942. schema:
  9943. $ref: '#/definitions/app.Response'
  9944. security:
  9945. - ApiKeyAuth: []
  9946. summary: 获取企业风管期货委托单信息
  9947. tags:
  9948. - 企业风险管理(app)
  9949. /Ermcp/QueryErmcpTradeDetails:
  9950. get:
  9951. parameters:
  9952. - description: 资金账户ID
  9953. in: query
  9954. name: accountID
  9955. required: true
  9956. type: integer
  9957. - description: 商品ID
  9958. in: query
  9959. name: goodsID
  9960. type: integer
  9961. - description: 买卖方向,0:买 1:卖
  9962. in: query
  9963. name: buyOrSell
  9964. type: integer
  9965. produces:
  9966. - application/json
  9967. responses:
  9968. "200":
  9969. description: OK
  9970. schema:
  9971. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  9972. "500":
  9973. description: Internal Server Error
  9974. schema:
  9975. $ref: '#/definitions/app.Response'
  9976. security:
  9977. - ApiKeyAuth: []
  9978. summary: 获取企业风管期货成交单信息
  9979. tags:
  9980. - 企业风险管理(app)
  9981. /Ermcp/QueryErmcpTradePosition:
  9982. get:
  9983. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  9984. parameters:
  9985. - description: 资金账户ID
  9986. in: query
  9987. name: accountID
  9988. required: true
  9989. type: integer
  9990. - description: 所属市场ID
  9991. in: query
  9992. name: marketID
  9993. type: integer
  9994. produces:
  9995. - application/json
  9996. responses:
  9997. "200":
  9998. description: OK
  9999. schema:
  10000. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  10001. "500":
  10002. description: Internal Server Error
  10003. schema:
  10004. $ref: '#/definitions/app.Response'
  10005. security:
  10006. - ApiKeyAuth: []
  10007. summary: 获取企业风管期货持仓头寸信息
  10008. tags:
  10009. - 企业风险管理(app)
  10010. /Ermcp/QueryExposureDetail:
  10011. get:
  10012. parameters:
  10013. - description: 所属机构ID
  10014. in: query
  10015. name: areaUserId
  10016. required: true
  10017. type: integer
  10018. - description: 套保商品
  10019. in: query
  10020. name: middleGoodsId
  10021. required: true
  10022. type: integer
  10023. produces:
  10024. - application/json
  10025. responses:
  10026. "200":
  10027. description: OK
  10028. schema:
  10029. items:
  10030. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  10031. type: array
  10032. "500":
  10033. description: Internal Server Error
  10034. schema:
  10035. $ref: '#/definitions/app.Response'
  10036. security:
  10037. - ApiKeyAuth: []
  10038. summary: 查询敞口现货明细
  10039. tags:
  10040. - 企业风险管理(app)
  10041. /Ermcp/QueryExposureHedgePosition:
  10042. get:
  10043. parameters:
  10044. - description: 所属机构ID
  10045. in: query
  10046. name: areaUserId
  10047. required: true
  10048. type: integer
  10049. produces:
  10050. - application/json
  10051. responses:
  10052. "200":
  10053. description: OK
  10054. schema:
  10055. items:
  10056. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  10057. type: array
  10058. "500":
  10059. description: Internal Server Error
  10060. schema:
  10061. $ref: '#/definitions/app.Response'
  10062. security:
  10063. - ApiKeyAuth: []
  10064. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  10065. tags:
  10066. - 企业风险管理(app)
  10067. /Ermcp/QueryExposureHedgePositionDetail:
  10068. get:
  10069. parameters:
  10070. - description: 所属机构ID
  10071. in: query
  10072. name: areaUserId
  10073. required: true
  10074. type: integer
  10075. - description: 商品id
  10076. in: query
  10077. name: goodsId
  10078. required: true
  10079. type: integer
  10080. produces:
  10081. - application/json
  10082. responses:
  10083. "200":
  10084. description: OK
  10085. schema:
  10086. items:
  10087. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  10088. type: array
  10089. "500":
  10090. description: Internal Server Error
  10091. schema:
  10092. $ref: '#/definitions/app.Response'
  10093. security:
  10094. - ApiKeyAuth: []
  10095. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  10096. tags:
  10097. - 企业风险管理(app)
  10098. /Ermcp/QueryExposureSpot:
  10099. get:
  10100. parameters:
  10101. - description: 所属机构ID
  10102. in: query
  10103. name: areaUserId
  10104. required: true
  10105. type: integer
  10106. produces:
  10107. - application/json
  10108. responses:
  10109. "200":
  10110. description: OK
  10111. schema:
  10112. items:
  10113. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  10114. type: array
  10115. "500":
  10116. description: Internal Server Error
  10117. schema:
  10118. $ref: '#/definitions/app.Response'
  10119. security:
  10120. - ApiKeyAuth: []
  10121. summary: 查询敞口现货头寸(敞口/现货头寸)
  10122. tags:
  10123. - 企业风险管理(app)
  10124. /Ermcp/QueryExposureSpotDetail:
  10125. get:
  10126. parameters:
  10127. - description: 所属机构ID
  10128. in: query
  10129. name: areaUserId
  10130. required: true
  10131. type: integer
  10132. - description: 现货品种ID
  10133. in: query
  10134. name: wrstandardId
  10135. required: true
  10136. type: integer
  10137. produces:
  10138. - application/json
  10139. responses:
  10140. "200":
  10141. description: OK
  10142. schema:
  10143. items:
  10144. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  10145. type: array
  10146. "500":
  10147. description: Internal Server Error
  10148. schema:
  10149. $ref: '#/definitions/app.Response'
  10150. security:
  10151. - ApiKeyAuth: []
  10152. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  10153. tags:
  10154. - 企业风险管理(app)
  10155. /Ermcp/QueryGGConvertConfig:
  10156. get:
  10157. parameters:
  10158. - description: 品种id(不填则查所有)
  10159. in: query
  10160. name: goodsgroupid
  10161. type: integer
  10162. produces:
  10163. - application/json
  10164. responses:
  10165. "200":
  10166. description: OK
  10167. schema:
  10168. items:
  10169. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  10170. type: array
  10171. "500":
  10172. description: Internal Server Error
  10173. schema:
  10174. $ref: '#/definitions/app.Response'
  10175. security:
  10176. - ApiKeyAuth: []
  10177. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  10178. tags:
  10179. - 企业风险管理(app)
  10180. /Ermcp/QueryHedgePlan:
  10181. get:
  10182. parameters:
  10183. - description: 用户ID
  10184. in: query
  10185. name: userId
  10186. required: true
  10187. type: integer
  10188. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  10189. in: query
  10190. name: HedgePlanStatus
  10191. required: true
  10192. type: string
  10193. produces:
  10194. - application/json
  10195. responses:
  10196. "200":
  10197. description: OK
  10198. schema:
  10199. items:
  10200. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  10201. type: array
  10202. "500":
  10203. description: Internal Server Error
  10204. schema:
  10205. $ref: '#/definitions/app.Response'
  10206. security:
  10207. - ApiKeyAuth: []
  10208. summary: 查询套保计划
  10209. tags:
  10210. - 企业风险管理(app)
  10211. /Ermcp/QueryHisExposure:
  10212. get:
  10213. parameters:
  10214. - description: 所属机构ID
  10215. in: query
  10216. name: areaUserId
  10217. required: true
  10218. type: integer
  10219. - description: 每个品种记录数
  10220. in: query
  10221. name: lastNum
  10222. required: true
  10223. type: integer
  10224. produces:
  10225. - application/json
  10226. responses:
  10227. "200":
  10228. description: OK
  10229. schema:
  10230. items:
  10231. $ref: '#/definitions/ermcp.HisExposureRsp'
  10232. type: array
  10233. "500":
  10234. description: Internal Server Error
  10235. schema:
  10236. $ref: '#/definitions/app.Response'
  10237. security:
  10238. - ApiKeyAuth: []
  10239. summary: 查询历史敞口(菜单:敞口/历史敞口)
  10240. tags:
  10241. - 企业风险管理(app)
  10242. /Ermcp/QueryMiddleGoods:
  10243. get:
  10244. parameters:
  10245. - description: 所属机构ID
  10246. in: query
  10247. name: userid
  10248. required: true
  10249. type: integer
  10250. - description: 状态 0-停用 1-正常
  10251. in: query
  10252. name: status
  10253. required: true
  10254. type: integer
  10255. produces:
  10256. - application/json
  10257. responses:
  10258. "200":
  10259. description: OK
  10260. schema:
  10261. items:
  10262. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  10263. type: array
  10264. "500":
  10265. description: Internal Server Error
  10266. schema:
  10267. $ref: '#/definitions/app.Response'
  10268. security:
  10269. - ApiKeyAuth: []
  10270. summary: 查询套保品种(菜单:套保品种)
  10271. tags:
  10272. - 企业风险管理(app)
  10273. /Ermcp/QueryMiddleGoodsChangeLog:
  10274. get:
  10275. parameters:
  10276. - description: 所属机构ID
  10277. in: query
  10278. name: userid
  10279. required: true
  10280. type: integer
  10281. - description: 套保品种id
  10282. in: query
  10283. name: middlegoodsid
  10284. required: true
  10285. type: integer
  10286. produces:
  10287. - application/json
  10288. responses:
  10289. "200":
  10290. description: OK
  10291. schema:
  10292. items:
  10293. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  10294. type: array
  10295. "500":
  10296. description: Internal Server Error
  10297. schema:
  10298. $ref: '#/definitions/app.Response'
  10299. security:
  10300. - ApiKeyAuth: []
  10301. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  10302. tags:
  10303. - 企业风险管理(app)
  10304. /Ermcp/QueryMiddleGoodsDetail:
  10305. get:
  10306. parameters:
  10307. - description: 所属机构ID
  10308. in: query
  10309. name: userid
  10310. required: true
  10311. type: integer
  10312. - description: 套保品种id
  10313. in: query
  10314. name: middlegoodsid
  10315. required: true
  10316. type: integer
  10317. produces:
  10318. - application/json
  10319. responses:
  10320. "200":
  10321. description: OK
  10322. schema:
  10323. items:
  10324. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  10325. type: array
  10326. "500":
  10327. description: Internal Server Error
  10328. schema:
  10329. $ref: '#/definitions/app.Response'
  10330. security:
  10331. - ApiKeyAuth: []
  10332. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  10333. tags:
  10334. - 企业风险管理(app)
  10335. /Ermcp/QueryPendingAuditInfo:
  10336. get:
  10337. parameters:
  10338. - description: 用户ID
  10339. in: query
  10340. name: UserId
  10341. required: true
  10342. type: integer
  10343. produces:
  10344. - application/json
  10345. responses:
  10346. "200":
  10347. description: OK
  10348. schema:
  10349. items:
  10350. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  10351. type: array
  10352. "500":
  10353. description: Internal Server Error
  10354. schema:
  10355. $ref: '#/definitions/app.Response'
  10356. security:
  10357. - ApiKeyAuth: []
  10358. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  10359. tags:
  10360. - 企业风险管理(app)
  10361. /Ermcp/QueryRealtimeExposure:
  10362. get:
  10363. parameters:
  10364. - description: 所属机构ID
  10365. in: query
  10366. name: AreaUserID
  10367. required: true
  10368. type: integer
  10369. produces:
  10370. - application/json
  10371. responses:
  10372. "200":
  10373. description: OK
  10374. schema:
  10375. items:
  10376. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  10377. type: array
  10378. "500":
  10379. description: Internal Server Error
  10380. schema:
  10381. $ref: '#/definitions/app.Response'
  10382. security:
  10383. - ApiKeyAuth: []
  10384. summary: 查询实时敞口
  10385. tags:
  10386. - 企业风险管理(app)
  10387. /Ermcp/QueryRealtimeExposurePosition:
  10388. get:
  10389. parameters:
  10390. - description: 所属机构ID
  10391. in: query
  10392. name: areaUserId
  10393. required: true
  10394. type: integer
  10395. - description: 套保商品ID
  10396. in: query
  10397. name: middleGoodsId
  10398. required: true
  10399. type: integer
  10400. produces:
  10401. - application/json
  10402. responses:
  10403. "200":
  10404. description: OK
  10405. schema:
  10406. items:
  10407. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  10408. type: array
  10409. "500":
  10410. description: Internal Server Error
  10411. schema:
  10412. $ref: '#/definitions/app.Response'
  10413. security:
  10414. - ApiKeyAuth: []
  10415. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  10416. tags:
  10417. - 企业风险管理(app)
  10418. /Ermcp/QuerySpotContract:
  10419. get:
  10420. parameters:
  10421. - description: 用户ID
  10422. in: query
  10423. name: userId
  10424. required: true
  10425. type: integer
  10426. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  10427. in: query
  10428. name: QueryType
  10429. required: true
  10430. type: integer
  10431. produces:
  10432. - application/json
  10433. responses:
  10434. "200":
  10435. description: OK
  10436. schema:
  10437. items:
  10438. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  10439. type: array
  10440. "500":
  10441. description: Internal Server Error
  10442. schema:
  10443. $ref: '#/definitions/app.Response'
  10444. security:
  10445. - ApiKeyAuth: []
  10446. summary: 查询现货合同(对应现货合同菜单)
  10447. tags:
  10448. - 企业风险管理(app)
  10449. /Ermcp/QueryUserInfo:
  10450. get:
  10451. parameters:
  10452. - description: 所属机构用户ID
  10453. in: query
  10454. name: MemberUserID
  10455. required: true
  10456. type: integer
  10457. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  10458. in: query
  10459. name: queryType
  10460. required: true
  10461. type: integer
  10462. produces:
  10463. - application/json
  10464. responses:
  10465. "200":
  10466. description: OK
  10467. schema:
  10468. items:
  10469. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  10470. type: array
  10471. "500":
  10472. description: Internal Server Error
  10473. schema:
  10474. $ref: '#/definitions/app.Response'
  10475. security:
  10476. - ApiKeyAuth: []
  10477. summary: 查询客户资料
  10478. tags:
  10479. - 企业风险管理(app)
  10480. /Ermcp/QueryWrStandard:
  10481. get:
  10482. parameters:
  10483. - description: 所属机构ID
  10484. in: query
  10485. name: userid
  10486. required: true
  10487. type: integer
  10488. - description: 状态 0-停用 1-正常
  10489. in: query
  10490. name: status
  10491. required: true
  10492. type: integer
  10493. produces:
  10494. - application/json
  10495. responses:
  10496. "200":
  10497. description: OK
  10498. schema:
  10499. items:
  10500. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  10501. type: array
  10502. "500":
  10503. description: Internal Server Error
  10504. schema:
  10505. $ref: '#/definitions/app.Response'
  10506. security:
  10507. - ApiKeyAuth: []
  10508. summary: 查询现货商品
  10509. tags:
  10510. - 企业风险管理(app)
  10511. /Ermcp/QueryWrStandardDetail:
  10512. get:
  10513. parameters:
  10514. - description: 所属机构ID
  10515. in: query
  10516. name: userid
  10517. required: true
  10518. type: integer
  10519. - description: 现货商品ID
  10520. in: query
  10521. name: wrstandardid
  10522. required: true
  10523. type: integer
  10524. produces:
  10525. - application/json
  10526. responses:
  10527. "200":
  10528. description: OK
  10529. schema:
  10530. items:
  10531. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  10532. type: array
  10533. "500":
  10534. description: Internal Server Error
  10535. schema:
  10536. $ref: '#/definitions/app.Response'
  10537. security:
  10538. - ApiKeyAuth: []
  10539. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  10540. tags:
  10541. - 企业风险管理(app)
  10542. /Erms2/QueryArbitrageStrategy:
  10543. get:
  10544. parameters:
  10545. - description: 账户ID
  10546. in: query
  10547. name: userid
  10548. required: true
  10549. type: integer
  10550. - description: 商品组ID(品种ID)
  10551. in: query
  10552. name: goodsgroupid
  10553. type: string
  10554. produces:
  10555. - application/json
  10556. responses:
  10557. "200":
  10558. description: OK
  10559. schema:
  10560. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  10561. "500":
  10562. description: Internal Server Error
  10563. schema:
  10564. $ref: '#/definitions/app.Response'
  10565. security:
  10566. - ApiKeyAuth: []
  10567. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  10568. tags:
  10569. - 风险管理
  10570. /Erms2/QueryInnerTradeDetail:
  10571. get:
  10572. parameters:
  10573. - description: 资金账户
  10574. in: query
  10575. name: accountid
  10576. required: true
  10577. type: integer
  10578. produces:
  10579. - application/json
  10580. responses:
  10581. "200":
  10582. description: OK
  10583. schema:
  10584. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  10585. "500":
  10586. description: Internal Server Error
  10587. schema:
  10588. $ref: '#/definitions/app.Response'
  10589. security:
  10590. - ApiKeyAuth: []
  10591. summary: 查询内部成交单信息
  10592. tags:
  10593. - 风险管理
  10594. /Erms2/QuerySpotContract:
  10595. get:
  10596. parameters:
  10597. - description: 策略申请ID
  10598. in: query
  10599. name: asapplyid
  10600. required: true
  10601. type: integer
  10602. - description: 现货合同ID
  10603. in: query
  10604. name: spotcontractid
  10605. type: integer
  10606. produces:
  10607. - application/json
  10608. responses:
  10609. "200":
  10610. description: OK
  10611. schema:
  10612. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  10613. "500":
  10614. description: Internal Server Error
  10615. schema:
  10616. $ref: '#/definitions/app.Response'
  10617. security:
  10618. - ApiKeyAuth: []
  10619. summary: 查询现货合同表信息(指定策略ID、未结束的)
  10620. tags:
  10621. - 风险管理
  10622. /Erms3/AddErms2ASApply:
  10623. post:
  10624. parameters:
  10625. - description: 申请参数
  10626. in: body
  10627. name: jsonBody
  10628. required: true
  10629. schema:
  10630. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  10631. produces:
  10632. - application/json
  10633. responses:
  10634. "200":
  10635. description: OK
  10636. schema:
  10637. $ref: '#/definitions/app.Response'
  10638. "500":
  10639. description: Internal Server Error
  10640. schema:
  10641. $ref: '#/definitions/app.Response'
  10642. security:
  10643. - ApiKeyAuth: []
  10644. summary: 新增期现套利业务申请
  10645. tags:
  10646. - 风险管理v3
  10647. /Erms3/AddErms2SpotTradeApply:
  10648. post:
  10649. parameters:
  10650. - description: 申请参数
  10651. in: body
  10652. name: jsonBody
  10653. required: true
  10654. schema:
  10655. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  10656. produces:
  10657. - application/json
  10658. responses:
  10659. "200":
  10660. description: OK
  10661. schema:
  10662. $ref: '#/definitions/app.Response'
  10663. "500":
  10664. description: Internal Server Error
  10665. schema:
  10666. $ref: '#/definitions/app.Response'
  10667. security:
  10668. - ApiKeyAuth: []
  10669. summary: 新增现货贸易业务申请
  10670. tags:
  10671. - 风险管理v3
  10672. /Erms3/AddSpotContractApply:
  10673. post:
  10674. parameters:
  10675. - description: 申请参数
  10676. in: body
  10677. name: jsonBody
  10678. required: true
  10679. schema:
  10680. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  10681. produces:
  10682. - application/json
  10683. responses:
  10684. "200":
  10685. description: OK
  10686. schema:
  10687. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  10688. "500":
  10689. description: Internal Server Error
  10690. schema:
  10691. $ref: '#/definitions/app.Response'
  10692. security:
  10693. - ApiKeyAuth: []
  10694. summary: 新增现货合同申请
  10695. tags:
  10696. - 风险管理v3
  10697. /Erms3/AddUserInfoApply:
  10698. post:
  10699. parameters:
  10700. - description: 用户信息
  10701. in: body
  10702. name: jsonBody
  10703. required: true
  10704. schema:
  10705. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  10706. produces:
  10707. - application/json
  10708. responses:
  10709. "200":
  10710. description: OK
  10711. schema:
  10712. $ref: '#/definitions/app.Response'
  10713. "500":
  10714. description: Internal Server Error
  10715. schema:
  10716. $ref: '#/definitions/app.Response'
  10717. security:
  10718. - ApiKeyAuth: []
  10719. summary: 新增客户申请
  10720. tags:
  10721. - 风险管理v3
  10722. /Erms3/ModifyUserInfoApply:
  10723. post:
  10724. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  10725. int, "userstate": 2 }'
  10726. parameters:
  10727. - description: 用户信息
  10728. in: body
  10729. name: jsonBody
  10730. required: true
  10731. schema:
  10732. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  10733. produces:
  10734. - application/json
  10735. responses:
  10736. "200":
  10737. description: OK
  10738. schema:
  10739. $ref: '#/definitions/app.Response'
  10740. "500":
  10741. description: Internal Server Error
  10742. schema:
  10743. $ref: '#/definitions/app.Response'
  10744. security:
  10745. - ApiKeyAuth: []
  10746. summary: 修改客户申请
  10747. tags:
  10748. - 风险管理v3
  10749. /Erms3/QueryBusinessInfo:
  10750. get:
  10751. parameters:
  10752. - description: 资金账号ID列表,用逗号分隔
  10753. in: query
  10754. name: accountids
  10755. required: true
  10756. type: string
  10757. - description: 状态,0为未结束 1为已结束
  10758. in: query
  10759. name: status
  10760. required: true
  10761. type: integer
  10762. produces:
  10763. - application/json
  10764. responses:
  10765. "200":
  10766. description: OK
  10767. schema:
  10768. items:
  10769. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  10770. type: array
  10771. "500":
  10772. description: Internal Server Error
  10773. schema:
  10774. $ref: '#/definitions/app.Response'
  10775. security:
  10776. - ApiKeyAuth: []
  10777. summary: 查询业务表单数据
  10778. tags:
  10779. - 风险管理v3
  10780. /Erms3/QueryPendingAuditContract:
  10781. get:
  10782. parameters:
  10783. - description: 资金账号ID列表,逗号隔开
  10784. in: query
  10785. name: accountids
  10786. required: true
  10787. type: string
  10788. - description: 合同类型 1-采购 -1-销售
  10789. in: query
  10790. name: contracttype
  10791. required: true
  10792. type: integer
  10793. - description: 合同模式 1-普通 2-回购
  10794. in: query
  10795. name: contractmode
  10796. required: true
  10797. type: integer
  10798. produces:
  10799. - application/json
  10800. responses:
  10801. "200":
  10802. description: OK
  10803. schema:
  10804. items:
  10805. $ref: '#/definitions/erms3.QryAuditContractRsp'
  10806. type: array
  10807. "500":
  10808. description: Internal Server Error
  10809. schema:
  10810. $ref: '#/definitions/app.Response'
  10811. security:
  10812. - ApiKeyAuth: []
  10813. summary: 查询待审核合同
  10814. tags:
  10815. - 风险管理v3
  10816. /Erms3/QueryPendingBusiness:
  10817. get:
  10818. parameters:
  10819. - description: 资金账号ID列表,逗号隔开
  10820. in: query
  10821. name: accountids
  10822. required: true
  10823. type: string
  10824. produces:
  10825. - application/json
  10826. responses:
  10827. "200":
  10828. description: OK
  10829. schema:
  10830. items:
  10831. $ref: '#/definitions/erms3.QryPendingBizRsp'
  10832. type: array
  10833. "500":
  10834. description: Internal Server Error
  10835. schema:
  10836. $ref: '#/definitions/app.Response'
  10837. security:
  10838. - ApiKeyAuth: []
  10839. summary: 查询待审核基差贸易业务
  10840. tags:
  10841. - 风险管理v3
  10842. /Erms3/QuerySpotContractAppleForm:
  10843. get:
  10844. parameters:
  10845. - description: 登录账号
  10846. in: query
  10847. name: loginID
  10848. required: true
  10849. type: integer
  10850. produces:
  10851. - application/json
  10852. responses:
  10853. "200":
  10854. description: OK
  10855. schema:
  10856. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  10857. "500":
  10858. description: Internal Server Error
  10859. schema:
  10860. $ref: '#/definitions/app.Response'
  10861. security:
  10862. - ApiKeyAuth: []
  10863. summary: 查询合同申请表单数据
  10864. tags:
  10865. - 风险管理v3
  10866. /Erms3/QuerySpotContractDetail:
  10867. get:
  10868. parameters:
  10869. - description: 资金账号ID列表,用逗号分隔
  10870. in: query
  10871. name: accountids
  10872. required: true
  10873. type: string
  10874. - description: 合同类型,1为采购合同 -1为销售合同
  10875. in: query
  10876. name: contracttype
  10877. required: true
  10878. type: integer
  10879. - description: 合同模式,1为普通合同 2为回购销售合同
  10880. in: query
  10881. name: contractmode
  10882. required: true
  10883. type: integer
  10884. - description: 状态,0为履约中 1为已完成
  10885. in: query
  10886. name: status
  10887. required: true
  10888. type: integer
  10889. produces:
  10890. - application/json
  10891. responses:
  10892. "200":
  10893. description: OK
  10894. schema:
  10895. items:
  10896. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  10897. type: array
  10898. "500":
  10899. description: Internal Server Error
  10900. schema:
  10901. $ref: '#/definitions/app.Response'
  10902. security:
  10903. - ApiKeyAuth: []
  10904. summary: 查询合同详细信息
  10905. tags:
  10906. - 风险管理v3
  10907. /Erms3/QueryUserInfoApplies:
  10908. get:
  10909. parameters:
  10910. - description: 页码
  10911. in: query
  10912. name: page
  10913. type: integer
  10914. - description: 每页条数
  10915. in: query
  10916. name: pagesize
  10917. type: integer
  10918. - description: 客户名称,支持模糊查询
  10919. in: query
  10920. name: userName
  10921. type: string
  10922. produces:
  10923. - application/json
  10924. responses:
  10925. "200":
  10926. description: OK
  10927. schema:
  10928. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  10929. "500":
  10930. description: Internal Server Error
  10931. schema:
  10932. $ref: '#/definitions/app.Response'
  10933. security:
  10934. - ApiKeyAuth: []
  10935. summary: 客户申请信息查询
  10936. tags:
  10937. - 风险管理v3
  10938. /Erms3/QueryUserInfos:
  10939. get:
  10940. parameters:
  10941. - description: 页码
  10942. in: query
  10943. name: page
  10944. type: integer
  10945. - description: 每页条数
  10946. in: query
  10947. name: pagesize
  10948. type: integer
  10949. - description: 客户名称,支持模糊查询
  10950. in: query
  10951. name: userName
  10952. type: string
  10953. produces:
  10954. - application/json
  10955. responses:
  10956. "200":
  10957. description: OK
  10958. schema:
  10959. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  10960. "500":
  10961. description: Internal Server Error
  10962. schema:
  10963. $ref: '#/definitions/app.Response'
  10964. security:
  10965. - ApiKeyAuth: []
  10966. summary: 客户信息查询
  10967. tags:
  10968. - 风险管理v3
  10969. /HSBY/GetHsbyMyCount:
  10970. get:
  10971. description: 说明: 不包括已完成的数量。
  10972. parameters:
  10973. - description: 资金账户列表,格式:1,2,3
  10974. in: query
  10975. name: accountIDs
  10976. required: true
  10977. type: string
  10978. produces:
  10979. - application/json
  10980. responses:
  10981. "200":
  10982. description: OK
  10983. schema:
  10984. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  10985. "500":
  10986. description: Internal Server Error
  10987. schema:
  10988. $ref: '#/definitions/app.Response'
  10989. security:
  10990. - ApiKeyAuth: []
  10991. summary: 获取我的订单与包裹数量
  10992. tags:
  10993. - 定制【海商报业】
  10994. /HSBY/QueryClientFixedADConfigs:
  10995. get:
  10996. produces:
  10997. - application/json
  10998. responses:
  10999. "200":
  11000. description: OK
  11001. schema:
  11002. $ref: '#/definitions/models.Clientfixedadconfig'
  11003. "500":
  11004. description: Internal Server Error
  11005. schema:
  11006. $ref: '#/definitions/app.Response'
  11007. security:
  11008. - ApiKeyAuth: []
  11009. summary: 获取终端固定广告配置
  11010. tags:
  11011. - 定制【海商报业】
  11012. /HSBY/QueryHsbyBuyMyTradeDetail:
  11013. get:
  11014. parameters:
  11015. - description: 页码
  11016. in: query
  11017. name: page
  11018. type: integer
  11019. - description: 每页条数
  11020. in: query
  11021. name: pagesize
  11022. type: integer
  11023. - description: 资金账户列表,格式:1,2,3
  11024. in: query
  11025. name: accountIDs
  11026. required: true
  11027. type: string
  11028. produces:
  11029. - application/json
  11030. responses:
  11031. "200":
  11032. description: OK
  11033. schema:
  11034. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  11035. "500":
  11036. description: Internal Server Error
  11037. schema:
  11038. $ref: '#/definitions/app.Response'
  11039. security:
  11040. - ApiKeyAuth: []
  11041. summary: 查询"我的订单 - 已完成"单据信息
  11042. tags:
  11043. - 定制【海商报业】
  11044. /HSBY/QueryHsbyGoodsOrderDetails:
  11045. get:
  11046. description: 说明:查询结果已按委托价格和委托时间排序
  11047. parameters:
  11048. - description: 商品ID
  11049. in: query
  11050. name: goodsID
  11051. required: true
  11052. type: integer
  11053. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  11054. in: query
  11055. name: accountIDs
  11056. type: string
  11057. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  11058. in: query
  11059. name: buyOrSell
  11060. type: integer
  11061. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  11062. in: query
  11063. name: price
  11064. type: number
  11065. - description: 档位,不传则默认为3档
  11066. in: query
  11067. name: speed
  11068. type: integer
  11069. produces:
  11070. - application/json
  11071. responses:
  11072. "200":
  11073. description: OK
  11074. schema:
  11075. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  11076. "500":
  11077. description: Internal Server Error
  11078. schema:
  11079. $ref: '#/definitions/app.Response'
  11080. security:
  11081. - ApiKeyAuth: []
  11082. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  11083. tags:
  11084. - 定制【海商报业】
  11085. /HSBY/QueryHsbyListingGoodsDetail:
  11086. get:
  11087. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  11088. parameters:
  11089. - description: 商品ID
  11090. in: query
  11091. name: goodsID
  11092. required: true
  11093. type: integer
  11094. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  11095. in: query
  11096. name: accountID
  11097. type: integer
  11098. produces:
  11099. - application/json
  11100. responses:
  11101. "200":
  11102. description: OK
  11103. schema:
  11104. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  11105. "500":
  11106. description: Internal Server Error
  11107. schema:
  11108. $ref: '#/definitions/app.Response'
  11109. security:
  11110. - ApiKeyAuth: []
  11111. summary: 查询二级市场(挂牌点选)商品信息详情
  11112. tags:
  11113. - 定制【海商报业】
  11114. /HSBY/QueryHsbyMarketGoodsDetail:
  11115. get:
  11116. parameters:
  11117. - description: 委托单号
  11118. in: query
  11119. name: orderID
  11120. required: true
  11121. type: integer
  11122. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  11123. in: query
  11124. name: accountID
  11125. type: integer
  11126. produces:
  11127. - application/json
  11128. responses:
  11129. "200":
  11130. description: OK
  11131. schema:
  11132. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  11133. "500":
  11134. description: Internal Server Error
  11135. schema:
  11136. $ref: '#/definitions/app.Response'
  11137. security:
  11138. - ApiKeyAuth: []
  11139. summary: 查询三级市场(商城)商品信息详情
  11140. tags:
  11141. - 定制【海商报业】
  11142. /HSBY/QueryHsbyMarketGoodses:
  11143. get:
  11144. parameters:
  11145. - description: 页码
  11146. in: query
  11147. name: page
  11148. type: integer
  11149. - description: 每页条数
  11150. in: query
  11151. name: pagesize
  11152. type: integer
  11153. - description: 市场ID列表,格式:1,2,3
  11154. in: query
  11155. name: marketIDs
  11156. required: true
  11157. type: string
  11158. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  11159. in: query
  11160. name: accountID
  11161. required: true
  11162. type: integer
  11163. - description: 类别ID
  11164. in: query
  11165. name: categoryID
  11166. type: integer
  11167. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  11168. in: query
  11169. name: goodsIDs
  11170. type: string
  11171. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  11172. in: query
  11173. name: couponTypeID
  11174. type: integer
  11175. produces:
  11176. - application/json
  11177. responses:
  11178. "200":
  11179. description: OK
  11180. schema:
  11181. $ref: '#/definitions/models.HsbyMarketGoods'
  11182. "500":
  11183. description: Internal Server Error
  11184. schema:
  11185. $ref: '#/definitions/app.Response'
  11186. security:
  11187. - ApiKeyAuth: []
  11188. summary: 查询特卖商品列表(三级商城)
  11189. tags:
  11190. - 定制【海商报业】
  11191. /HSBY/QueryHsbyMarkets:
  11192. get:
  11193. produces:
  11194. - application/json
  11195. responses:
  11196. "200":
  11197. description: OK
  11198. schema:
  11199. $ref: '#/definitions/models.HsbyMarketInfo'
  11200. "500":
  11201. description: Internal Server Error
  11202. schema:
  11203. $ref: '#/definitions/app.Response'
  11204. security:
  11205. - ApiKeyAuth: []
  11206. summary: 查询海商报业相关市场信息
  11207. tags:
  11208. - 定制【海商报业】
  11209. /HSBY/QueryHsbyMyBuyOrderDetails:
  11210. get:
  11211. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  11212. parameters:
  11213. - description: 资金账户列表,格式:1,2,3
  11214. in: query
  11215. name: accountIDs
  11216. required: true
  11217. type: string
  11218. produces:
  11219. - application/json
  11220. responses:
  11221. "200":
  11222. description: OK
  11223. schema:
  11224. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  11225. "500":
  11226. description: Internal Server Error
  11227. schema:
  11228. $ref: '#/definitions/app.Response'
  11229. security:
  11230. - ApiKeyAuth: []
  11231. summary: 查询“我的订单”信息
  11232. tags:
  11233. - 定制【海商报业】
  11234. /HSBY/QueryHsbyMyGoods:
  11235. get:
  11236. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  11237. parameters:
  11238. - description: 资金账户列表,格式:1,2,3
  11239. in: query
  11240. name: accountIDs
  11241. required: true
  11242. type: string
  11243. produces:
  11244. - application/json
  11245. responses:
  11246. "200":
  11247. description: OK
  11248. schema:
  11249. $ref: '#/definitions/models.HsbyMyGoods'
  11250. "500":
  11251. description: Internal Server Error
  11252. schema:
  11253. $ref: '#/definitions/app.Response'
  11254. security:
  11255. - ApiKeyAuth: []
  11256. summary: 查询“我的商品”信息
  11257. tags:
  11258. - 定制【海商报业】
  11259. /HSBY/QueryHsbyMyPackages:
  11260. get:
  11261. parameters:
  11262. - description: 资金账户列表,格式:1,2,3
  11263. in: query
  11264. name: accountIDs
  11265. required: true
  11266. type: string
  11267. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  11268. in: query
  11269. name: takeOrderStatus
  11270. type: integer
  11271. produces:
  11272. - application/json
  11273. responses:
  11274. "200":
  11275. description: OK
  11276. schema:
  11277. $ref: '#/definitions/models.HsbyMyPackage'
  11278. "500":
  11279. description: Internal Server Error
  11280. schema:
  11281. $ref: '#/definitions/app.Response'
  11282. security:
  11283. - ApiKeyAuth: []
  11284. summary: 查询我的包裹信息
  11285. tags:
  11286. - 定制【海商报业】
  11287. /HSBY/QueryHsbyPreGoodsDetail:
  11288. get:
  11289. parameters:
  11290. - description: 商品ID
  11291. in: query
  11292. name: goodsID
  11293. required: true
  11294. type: integer
  11295. - description: 资金账户,主要用于获取预售商品购买上限
  11296. in: query
  11297. name: accountID
  11298. type: integer
  11299. produces:
  11300. - application/json
  11301. responses:
  11302. "200":
  11303. description: OK
  11304. schema:
  11305. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  11306. "500":
  11307. description: Internal Server Error
  11308. schema:
  11309. $ref: '#/definitions/app.Response'
  11310. security:
  11311. - ApiKeyAuth: []
  11312. summary: 查询一级市场(预售)商品信息详情
  11313. tags:
  11314. - 定制【海商报业】
  11315. /HSBY/QueryHsbyPreGoodses:
  11316. get:
  11317. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  11318. parameters:
  11319. - description: 页码
  11320. in: query
  11321. name: page
  11322. type: integer
  11323. - description: 每页条数
  11324. in: query
  11325. name: pagesize
  11326. type: integer
  11327. - description: 市场ID列表,格式:1,2,3
  11328. in: query
  11329. name: marketIDs
  11330. required: true
  11331. type: string
  11332. - description: 目的地(省)ID
  11333. in: query
  11334. name: descProvinceID
  11335. type: integer
  11336. - description: 目的地(市)ID
  11337. in: query
  11338. name: descCityID
  11339. type: integer
  11340. produces:
  11341. - application/json
  11342. responses:
  11343. "200":
  11344. description: OK
  11345. schema:
  11346. $ref: '#/definitions/models.HsbyPreGoods'
  11347. "500":
  11348. description: Internal Server Error
  11349. schema:
  11350. $ref: '#/definitions/app.Response'
  11351. security:
  11352. - ApiKeyAuth: []
  11353. summary: 查询新品上市商品列表(一级市场预售)
  11354. tags:
  11355. - 定制【海商报业】
  11356. /HSBY/QueryHsbySellMyDetails:
  11357. get:
  11358. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  11359. parameters:
  11360. - description: 页码
  11361. in: query
  11362. name: page
  11363. type: integer
  11364. - description: 每页条数
  11365. in: query
  11366. name: pagesize
  11367. type: integer
  11368. - description: 资金账户列表,格式:1,2,3
  11369. in: query
  11370. name: accountIDs
  11371. required: true
  11372. type: string
  11373. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  11374. in: query
  11375. name: orderType
  11376. type: integer
  11377. produces:
  11378. - application/json
  11379. responses:
  11380. "200":
  11381. description: OK
  11382. schema:
  11383. $ref: '#/definitions/models.HsbySellMyDetail'
  11384. "500":
  11385. description: Internal Server Error
  11386. schema:
  11387. $ref: '#/definitions/app.Response'
  11388. security:
  11389. - ApiKeyAuth: []
  11390. summary: 查询"我的闲置"单据信息
  11391. tags:
  11392. - 定制【海商报业】
  11393. /HSBY/QueryHsbyTopGoodses:
  11394. get:
  11395. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  11396. parameters:
  11397. - description: 页码
  11398. in: query
  11399. name: page
  11400. type: integer
  11401. - description: 每页条数
  11402. in: query
  11403. name: pagesize
  11404. type: integer
  11405. - description: 市场ID列表,格式:1,2,3
  11406. in: query
  11407. name: marketIDs
  11408. required: true
  11409. type: string
  11410. - description: 目的地(省)ID
  11411. in: query
  11412. name: descProvinceID
  11413. type: integer
  11414. - description: 目的地(市)ID
  11415. in: query
  11416. name: descCityID
  11417. type: integer
  11418. produces:
  11419. - application/json
  11420. responses:
  11421. "200":
  11422. description: OK
  11423. schema:
  11424. $ref: '#/definitions/models.HsbyTopGoods'
  11425. "500":
  11426. description: Internal Server Error
  11427. schema:
  11428. $ref: '#/definitions/app.Response'
  11429. security:
  11430. - ApiKeyAuth: []
  11431. summary: 查询热卖商品列表(二级市场挂牌点选)
  11432. tags:
  11433. - 定制【海商报业】
  11434. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  11435. get:
  11436. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  11437. parameters:
  11438. - description: 商品ID
  11439. in: query
  11440. name: goodsID
  11441. required: true
  11442. type: integer
  11443. produces:
  11444. - application/json
  11445. responses:
  11446. "200":
  11447. description: OK
  11448. schema:
  11449. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  11450. "500":
  11451. description: Internal Server Error
  11452. schema:
  11453. $ref: '#/definitions/app.Response'
  11454. security:
  11455. - ApiKeyAuth: []
  11456. summary: 查询游客三级市场(商城)商品信息详情
  11457. tags:
  11458. - 定制【海商报业】
  11459. /HSBY/QueryHsbyVisitorMarketGoodses:
  11460. get:
  11461. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  11462. parameters:
  11463. - description: 页码
  11464. in: query
  11465. name: page
  11466. type: integer
  11467. - description: 每页条数
  11468. in: query
  11469. name: pagesize
  11470. type: integer
  11471. - description: 市场ID列表,格式:1,2,3
  11472. in: query
  11473. name: marketIDs
  11474. required: true
  11475. type: string
  11476. - description: 类别ID
  11477. in: query
  11478. name: categoryID
  11479. type: integer
  11480. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  11481. in: query
  11482. name: goodsIDs
  11483. type: string
  11484. produces:
  11485. - application/json
  11486. responses:
  11487. "200":
  11488. description: OK
  11489. schema:
  11490. $ref: '#/definitions/models.HsbyMarketGoods'
  11491. "500":
  11492. description: Internal Server Error
  11493. schema:
  11494. $ref: '#/definitions/app.Response'
  11495. security:
  11496. - ApiKeyAuth: []
  11497. summary: 查询游客特卖商品列表(三级商城)
  11498. tags:
  11499. - 定制【海商报业】
  11500. /HSBY/QueryMyCollectionOrders:
  11501. get:
  11502. parameters:
  11503. - description: 页码
  11504. in: query
  11505. name: page
  11506. type: integer
  11507. - description: 每页条数
  11508. in: query
  11509. name: pagesize
  11510. type: integer
  11511. - description: 资金账户,格式:1,2,3
  11512. in: query
  11513. name: accountIDs
  11514. required: true
  11515. type: string
  11516. produces:
  11517. - application/json
  11518. responses:
  11519. "200":
  11520. description: OK
  11521. schema:
  11522. $ref: '#/definitions/models.HsbySellCollectionOrder'
  11523. "500":
  11524. description: Internal Server Error
  11525. schema:
  11526. $ref: '#/definitions/app.Response'
  11527. security:
  11528. - ApiKeyAuth: []
  11529. summary: 我的闲置中收款信息查询
  11530. tags:
  11531. - 定制【海商报业】
  11532. /HSBY/QueryMyCouponHolds:
  11533. get:
  11534. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  11535. parameters:
  11536. - description: 资金账户列表,格式:1,2,3
  11537. in: query
  11538. name: accountIDs
  11539. required: true
  11540. type: string
  11541. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  11542. in: query
  11543. name: holdStatus
  11544. type: string
  11545. produces:
  11546. - application/json
  11547. responses:
  11548. "200":
  11549. description: OK
  11550. schema:
  11551. $ref: '#/definitions/models.MyCouponHold'
  11552. "500":
  11553. description: Internal Server Error
  11554. schema:
  11555. $ref: '#/definitions/app.Response'
  11556. security:
  11557. - ApiKeyAuth: []
  11558. summary: 我的优惠卷持仓查询
  11559. tags:
  11560. - 定制【海商报业】
  11561. /HSBY/QueryMyCoupons:
  11562. get:
  11563. parameters:
  11564. - description: 资金账户列表,格式:1,2,3
  11565. in: query
  11566. name: accountIDs
  11567. required: true
  11568. type: string
  11569. - description: 商品ID, 一般与sellUserID配套传入
  11570. in: query
  11571. name: goodsID
  11572. type: integer
  11573. - description: 卖方UserID
  11574. in: query
  11575. name: sellUserID
  11576. type: integer
  11577. produces:
  11578. - application/json
  11579. responses:
  11580. "200":
  11581. description: OK
  11582. schema:
  11583. $ref: '#/definitions/models.MyCoupon'
  11584. "500":
  11585. description: Internal Server Error
  11586. schema:
  11587. $ref: '#/definitions/app.Response'
  11588. security:
  11589. - ApiKeyAuth: []
  11590. summary: 我的优惠卷查询
  11591. tags:
  11592. - 定制【海商报业】
  11593. /HSBY/QueryMyPayOrders:
  11594. get:
  11595. parameters:
  11596. - description: 页码
  11597. in: query
  11598. name: page
  11599. type: integer
  11600. - description: 每页条数
  11601. in: query
  11602. name: pagesize
  11603. type: integer
  11604. - description: 资金账户列表,格式:1,2,3
  11605. in: query
  11606. name: accountIDs
  11607. required: true
  11608. type: string
  11609. - description: 买方委托单号
  11610. in: query
  11611. name: buyOrderID
  11612. type: integer
  11613. - description: 卖方委托单号
  11614. in: query
  11615. name: sellOrderID
  11616. type: integer
  11617. produces:
  11618. - application/json
  11619. responses:
  11620. "200":
  11621. description: OK
  11622. schema:
  11623. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  11624. "500":
  11625. description: Internal Server Error
  11626. schema:
  11627. $ref: '#/definitions/app.Response'
  11628. security:
  11629. - ApiKeyAuth: []
  11630. summary: 获取我的订单中待付款信息
  11631. tags:
  11632. - 定制【海商报业】
  11633. /HSBY/QueryMyUsedCoupon:
  11634. get:
  11635. parameters:
  11636. - description: 资金账户列表,格式:1,2,3
  11637. in: query
  11638. name: accountIDs
  11639. required: true
  11640. type: string
  11641. produces:
  11642. - application/json
  11643. responses:
  11644. "200":
  11645. description: OK
  11646. schema:
  11647. $ref: '#/definitions/models.MyUsedCoupon'
  11648. "500":
  11649. description: Internal Server Error
  11650. schema:
  11651. $ref: '#/definitions/app.Response'
  11652. security:
  11653. - ApiKeyAuth: []
  11654. summary: 已使用优惠卷查询
  11655. tags:
  11656. - 定制【海商报业】
  11657. /HSBY/QueryProvincesAndCities:
  11658. get:
  11659. description: 查询结果只包括二级市场商品已关连的省市信息。
  11660. parameters:
  11661. - description: 省ID
  11662. in: query
  11663. name: provinceID
  11664. type: integer
  11665. produces:
  11666. - application/json
  11667. responses:
  11668. "200":
  11669. description: OK
  11670. schema:
  11671. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  11672. "500":
  11673. description: Internal Server Error
  11674. schema:
  11675. $ref: '#/definitions/app.Response'
  11676. security:
  11677. - ApiKeyAuth: []
  11678. summary: 查询省市信息(不包括区)
  11679. tags:
  11680. - 定制【海商报业】
  11681. /HSBY/SetHsbyMyPackagesStatus:
  11682. post:
  11683. parameters:
  11684. - description: 提货单号
  11685. in: query
  11686. name: takeOrderID
  11687. required: true
  11688. type: string
  11689. - description: 资金账号
  11690. in: query
  11691. name: accountID
  11692. required: true
  11693. type: integer
  11694. produces:
  11695. - application/json
  11696. responses:
  11697. "200":
  11698. description: OK
  11699. schema:
  11700. $ref: '#/definitions/app.Response'
  11701. "500":
  11702. description: Internal Server Error
  11703. schema:
  11704. $ref: '#/definitions/app.Response'
  11705. security:
  11706. - ApiKeyAuth: []
  11707. summary: 设置我的包裹已收货状态
  11708. tags:
  11709. - 定制【海商报业】
  11710. /Market/QueryGoodsesByLoginID:
  11711. get:
  11712. parameters:
  11713. - description: 登录账号
  11714. in: query
  11715. name: loginID
  11716. required: true
  11717. type: integer
  11718. - description: 市场ID列表,格式:1,2,3
  11719. in: query
  11720. name: marketIDs
  11721. type: string
  11722. produces:
  11723. - application/json
  11724. responses:
  11725. "200":
  11726. description: OK
  11727. schema:
  11728. $ref: '#/definitions/models.Goods'
  11729. "500":
  11730. description: Internal Server Error
  11731. schema:
  11732. $ref: '#/definitions/app.Response'
  11733. security:
  11734. - ApiKeyAuth: []
  11735. summary: 获取登录账号有权限的商品信息
  11736. tags:
  11737. - 通用市场
  11738. /Market/QueryMarketRun:
  11739. get:
  11740. parameters:
  11741. - description: 市场ID,不传返回所有
  11742. in: query
  11743. name: marketID
  11744. type: integer
  11745. produces:
  11746. - application/json
  11747. responses:
  11748. "200":
  11749. description: OK
  11750. schema:
  11751. $ref: '#/definitions/models.Marketrun'
  11752. "500":
  11753. description: Internal Server Error
  11754. schema:
  11755. $ref: '#/definitions/app.Response'
  11756. security:
  11757. - ApiKeyAuth: []
  11758. summary: 查询市场运行信息
  11759. tags:
  11760. - 通用市场
  11761. /Market/QueryMarketsByLoginID:
  11762. get:
  11763. parameters:
  11764. - description: 登录账号
  11765. in: query
  11766. name: loginID
  11767. required: true
  11768. type: integer
  11769. produces:
  11770. - application/json
  11771. responses:
  11772. "200":
  11773. description: OK
  11774. schema:
  11775. $ref: '#/definitions/models.Market'
  11776. "500":
  11777. description: Internal Server Error
  11778. schema:
  11779. $ref: '#/definitions/app.Response'
  11780. security:
  11781. - ApiKeyAuth: []
  11782. summary: 获取登录账号有权限的市场信息
  11783. tags:
  11784. - 通用市场
  11785. /Order/QueryHisTradeDetail:
  11786. get:
  11787. parameters:
  11788. - description: 资金账户 - 格式:1,2,3
  11789. in: query
  11790. name: accountID
  11791. required: true
  11792. type: string
  11793. - description: 成交单号
  11794. in: query
  11795. name: tradeID
  11796. type: integer
  11797. - description: 委托单号
  11798. in: query
  11799. name: orderID
  11800. type: integer
  11801. - description: 交易模式 - 格式:1,2,3
  11802. in: query
  11803. name: tradeMode
  11804. type: string
  11805. - description: 委托单据类型
  11806. in: query
  11807. name: buildType
  11808. type: integer
  11809. - description: 成交类别 - 格式:1,2,3
  11810. in: query
  11811. name: tradeType
  11812. type: string
  11813. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  11814. in: query
  11815. name: startDate
  11816. type: string
  11817. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  11818. in: query
  11819. name: endDate
  11820. type: string
  11821. produces:
  11822. - application/json
  11823. responses:
  11824. "200":
  11825. description: OK
  11826. schema:
  11827. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  11828. "500":
  11829. description: Internal Server Error
  11830. schema:
  11831. $ref: '#/definitions/app.Response'
  11832. security:
  11833. - ApiKeyAuth: []
  11834. summary: 历史成交单查询(合约市场)
  11835. tags:
  11836. - 通用单据
  11837. /Order/QueryHisTradeOrderDetail:
  11838. get:
  11839. parameters:
  11840. - description: 资金账户 - 格式:1,2,3
  11841. in: query
  11842. name: accountID
  11843. required: true
  11844. type: string
  11845. - description: 交易模式 - 格式:1,2,3
  11846. in: query
  11847. name: tradeMode
  11848. type: string
  11849. - description: 委托状态 - 格式:1,2,3
  11850. in: query
  11851. name: orderStatus
  11852. type: string
  11853. - description: 委托单号
  11854. in: query
  11855. name: orderID
  11856. type: integer
  11857. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  11858. in: query
  11859. name: startDate
  11860. type: string
  11861. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  11862. in: query
  11863. name: endDate
  11864. type: string
  11865. produces:
  11866. - application/json
  11867. responses:
  11868. "200":
  11869. description: OK
  11870. schema:
  11871. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  11872. "500":
  11873. description: Internal Server Error
  11874. schema:
  11875. $ref: '#/definitions/app.Response'
  11876. security:
  11877. - ApiKeyAuth: []
  11878. summary: 历史委托单查询请求(合约市场)
  11879. tags:
  11880. - 通用单据
  11881. /Order/QueryTradeDetail:
  11882. get:
  11883. parameters:
  11884. - description: 资金账户 - 格式:1,2,3
  11885. in: query
  11886. name: accountID
  11887. required: true
  11888. type: string
  11889. - description: 成交单号
  11890. in: query
  11891. name: tradeID
  11892. type: integer
  11893. - description: 委托单号
  11894. in: query
  11895. name: orderID
  11896. type: integer
  11897. - description: 交易模式 - 格式:1,2,3
  11898. in: query
  11899. name: tradeMode
  11900. type: string
  11901. - description: 委托单据类型
  11902. in: query
  11903. name: buildType
  11904. type: integer
  11905. - description: 成交类别 - 格式:1,2,3
  11906. in: query
  11907. name: tradeType
  11908. type: string
  11909. produces:
  11910. - application/json
  11911. responses:
  11912. "200":
  11913. description: OK
  11914. schema:
  11915. $ref: '#/definitions/order.QueryTradeDetailRsp'
  11916. "500":
  11917. description: Internal Server Error
  11918. schema:
  11919. $ref: '#/definitions/app.Response'
  11920. security:
  11921. - ApiKeyAuth: []
  11922. summary: 成交单查询(合约市场)
  11923. tags:
  11924. - 通用单据
  11925. /Order/QueryTradeOrderDetail:
  11926. get:
  11927. parameters:
  11928. - description: 资金账户 - 格式:1,2,3
  11929. in: query
  11930. name: accountID
  11931. required: true
  11932. type: string
  11933. - description: 交易模式 - 格式:1,2,3
  11934. in: query
  11935. name: tradeMode
  11936. type: string
  11937. - description: 委托状态 - 格式:1,2,3
  11938. in: query
  11939. name: orderStatus
  11940. type: string
  11941. - description: 委托单号
  11942. in: query
  11943. name: orderID
  11944. type: integer
  11945. produces:
  11946. - application/json
  11947. responses:
  11948. "200":
  11949. description: OK
  11950. schema:
  11951. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  11952. "500":
  11953. description: Internal Server Error
  11954. schema:
  11955. $ref: '#/definitions/app.Response'
  11956. security:
  11957. - ApiKeyAuth: []
  11958. summary: 委托单查询请求(合约市场)
  11959. tags:
  11960. - 通用单据
  11961. /Order/QueryTradePosition:
  11962. get:
  11963. parameters:
  11964. - description: 资金账户 - 格式:1,2,3
  11965. in: query
  11966. name: accountID
  11967. required: true
  11968. type: string
  11969. - description: 交易模式 - 格式:1,2,3
  11970. in: query
  11971. name: tradeMode
  11972. type: string
  11973. produces:
  11974. - application/json
  11975. responses:
  11976. "200":
  11977. description: OK
  11978. schema:
  11979. $ref: '#/definitions/order.QueryTradePositionRsp'
  11980. "500":
  11981. description: Internal Server Error
  11982. schema:
  11983. $ref: '#/definitions/app.Response'
  11984. security:
  11985. - ApiKeyAuth: []
  11986. summary: 持仓汇总查询(合约市场)
  11987. tags:
  11988. - 通用单据
  11989. /Quote/QueryHistoryDatas:
  11990. get:
  11991. parameters:
  11992. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  11993. 日线 10: Tik'
  11994. in: query
  11995. name: cycleType
  11996. required: true
  11997. type: integer
  11998. - description: 商品代码
  11999. in: query
  12000. name: goodsCode
  12001. required: true
  12002. type: string
  12003. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  12004. in: query
  12005. name: startTime
  12006. type: string
  12007. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  12008. in: query
  12009. name: endTime
  12010. type: string
  12011. - description: 条数
  12012. in: query
  12013. name: count
  12014. type: integer
  12015. - description: 是否按时间顺序排序(默认为时间倒序排序)
  12016. in: query
  12017. name: isAsc
  12018. type: boolean
  12019. produces:
  12020. - application/json
  12021. responses:
  12022. "200":
  12023. description: OK
  12024. schema:
  12025. $ref: '#/definitions/quote.HistoryData'
  12026. "500":
  12027. description: Internal Server Error
  12028. schema:
  12029. $ref: '#/definitions/app.Response'
  12030. security:
  12031. - ApiKeyAuth: []
  12032. summary: 查询行情历史数据
  12033. tags:
  12034. - 行情服务
  12035. /Quote/QueryQuoteDay:
  12036. get:
  12037. parameters:
  12038. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  12039. in: query
  12040. name: goodsCodes
  12041. required: true
  12042. type: string
  12043. produces:
  12044. - application/json
  12045. responses:
  12046. "200":
  12047. description: OK
  12048. schema:
  12049. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  12050. "500":
  12051. description: Internal Server Error
  12052. schema:
  12053. $ref: '#/definitions/app.Response'
  12054. security:
  12055. - ApiKeyAuth: []
  12056. summary: 获取商品盘面信息
  12057. tags:
  12058. - 行情服务
  12059. /Quote/QueryTSData:
  12060. get:
  12061. parameters:
  12062. - description: 商品代码
  12063. in: query
  12064. name: goodsCode
  12065. required: true
  12066. type: string
  12067. produces:
  12068. - application/json
  12069. responses:
  12070. "200":
  12071. description: OK
  12072. schema:
  12073. $ref: '#/definitions/quote.QueryTSDataRsp'
  12074. "500":
  12075. description: Internal Server Error
  12076. schema:
  12077. $ref: '#/definitions/app.Response'
  12078. summary: 分时图数据查询
  12079. tags:
  12080. - 行情服务
  12081. /SZDZ/QueryConvertConfig:
  12082. get:
  12083. parameters:
  12084. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12085. 6:交易转花生米(不设置)
  12086. in: query
  12087. name: convertType
  12088. type: integer
  12089. - description: 外部商品代码[JD\PD]
  12090. in: query
  12091. name: outerGoodsCode
  12092. type: string
  12093. - description: 内部商品ID列表[交易],格式:1,2,3
  12094. in: query
  12095. name: innerGoodsIDs
  12096. type: string
  12097. produces:
  12098. - application/json
  12099. responses:
  12100. "200":
  12101. description: OK
  12102. schema:
  12103. $ref: '#/definitions/models.Szdz3convertconfig'
  12104. "500":
  12105. description: Internal Server Error
  12106. schema:
  12107. $ref: '#/definitions/app.Response'
  12108. security:
  12109. - ApiKeyAuth: []
  12110. summary: 查询交易系统转换设置
  12111. tags:
  12112. - 定制【尚志大宗】
  12113. /SZDZ/QueryConvertLog:
  12114. get:
  12115. parameters:
  12116. - description: 资金账户 - 格式:1,2,3
  12117. in: query
  12118. name: accountID
  12119. required: true
  12120. type: string
  12121. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  12122. in: query
  12123. name: startDate
  12124. type: string
  12125. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  12126. in: query
  12127. name: endDate
  12128. type: string
  12129. produces:
  12130. - application/json
  12131. responses:
  12132. "200":
  12133. description: OK
  12134. schema:
  12135. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  12136. "500":
  12137. description: Internal Server Error
  12138. schema:
  12139. $ref: '#/definitions/app.Response'
  12140. security:
  12141. - ApiKeyAuth: []
  12142. summary: 交易系统转换流水查询
  12143. tags:
  12144. - 定制【尚志大宗】
  12145. /SZDZ/QueryGoodsPickup:
  12146. get:
  12147. parameters:
  12148. - description: 资金账户 - 格式:1,2,3
  12149. in: query
  12150. name: accountID
  12151. required: true
  12152. type: string
  12153. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  12154. in: query
  12155. name: takeOrderStatus
  12156. type: integer
  12157. produces:
  12158. - application/json
  12159. responses:
  12160. "200":
  12161. description: OK
  12162. schema:
  12163. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  12164. "500":
  12165. description: Internal Server Error
  12166. schema:
  12167. $ref: '#/definitions/app.Response'
  12168. security:
  12169. - ApiKeyAuth: []
  12170. summary: 商品提货单查询
  12171. tags:
  12172. - 定制【尚志大宗】
  12173. /SZDZ/QueryRecieptOrder:
  12174. get:
  12175. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  12176. parameters:
  12177. - description: 页码
  12178. in: query
  12179. name: page
  12180. type: integer
  12181. - description: 每页条数
  12182. in: query
  12183. name: pagesize
  12184. type: integer
  12185. - description: 商品ID
  12186. in: query
  12187. name: goodsID
  12188. required: true
  12189. type: integer
  12190. - description: 所属账户名称
  12191. in: query
  12192. name: accountName
  12193. type: string
  12194. - description: 市场ID
  12195. in: query
  12196. name: marketID
  12197. type: integer
  12198. - description: 方向 - 0:买 1:卖
  12199. in: query
  12200. name: buyorsell
  12201. required: true
  12202. type: integer
  12203. produces:
  12204. - application/json
  12205. responses:
  12206. "200":
  12207. description: OK
  12208. schema:
  12209. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  12210. "500":
  12211. description: Internal Server Error
  12212. schema:
  12213. $ref: '#/definitions/app.Response'
  12214. security:
  12215. - ApiKeyAuth: []
  12216. summary: 点选挂牌委托单据查询(摘牌大厅)
  12217. tags:
  12218. - 定制【尚志大宗】
  12219. /SZDZ/QuerySZDZTradePosition:
  12220. get:
  12221. parameters:
  12222. - description: 资金账户
  12223. in: query
  12224. name: accountID
  12225. required: true
  12226. type: integer
  12227. produces:
  12228. - application/json
  12229. responses:
  12230. "200":
  12231. description: OK
  12232. schema:
  12233. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  12234. "500":
  12235. description: Internal Server Error
  12236. schema:
  12237. $ref: '#/definitions/app.Response'
  12238. security:
  12239. - ApiKeyAuth: []
  12240. summary: 持仓汇总查询(尚志大宗)
  12241. tags:
  12242. - 定制【尚志大宗】
  12243. /SZDZ/SearchWhite:
  12244. get:
  12245. parameters:
  12246. - description: 用户ID
  12247. in: query
  12248. name: userID
  12249. required: true
  12250. type: integer
  12251. produces:
  12252. - application/json
  12253. responses:
  12254. "200":
  12255. description: OK
  12256. schema:
  12257. $ref: '#/definitions/models.Szdz3searchwhitelist'
  12258. "500":
  12259. description: Internal Server Error
  12260. schema:
  12261. $ref: '#/definitions/app.Response'
  12262. security:
  12263. - ApiKeyAuth: []
  12264. summary: 搜索白名单
  12265. tags:
  12266. - 定制【尚志大宗】
  12267. /Search/SearchGoodses:
  12268. get:
  12269. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  12270. parameters:
  12271. - description: 检索内容
  12272. in: query
  12273. name: content
  12274. required: true
  12275. type: string
  12276. - description: 交易模式,格式:1,2,3
  12277. in: query
  12278. name: tradeModes
  12279. type: string
  12280. produces:
  12281. - application/json
  12282. responses:
  12283. "200":
  12284. description: OK
  12285. schema:
  12286. $ref: '#/definitions/models.SearchGoods'
  12287. "500":
  12288. description: Internal Server Error
  12289. schema:
  12290. $ref: '#/definitions/app.Response'
  12291. summary: 检索商品信息
  12292. tags:
  12293. - 检索服务
  12294. /TaAccount/GetTaAccounts:
  12295. get:
  12296. parameters:
  12297. - description: 登录账户
  12298. in: query
  12299. name: loginID
  12300. required: true
  12301. type: integer
  12302. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12303. in: query
  12304. name: taAccountType
  12305. type: integer
  12306. produces:
  12307. - application/json
  12308. responses:
  12309. "200":
  12310. description: OK
  12311. schema:
  12312. $ref: '#/definitions/models.Taaccount'
  12313. "500":
  12314. description: Internal Server Error
  12315. schema:
  12316. $ref: '#/definitions/app.Response'
  12317. security:
  12318. - ApiKeyAuth: []
  12319. summary: 获取资金账户信息
  12320. tags:
  12321. - 资金账户
  12322. /TaAccount/QueryAmountLog:
  12323. get:
  12324. parameters:
  12325. - description: 页码
  12326. in: query
  12327. name: page
  12328. type: integer
  12329. - description: 每页条数
  12330. in: query
  12331. name: pagesize
  12332. type: integer
  12333. - description: 资金账户 - 格式:1,2,3
  12334. in: query
  12335. name: accountID
  12336. required: true
  12337. type: string
  12338. - description: 资金操作类型 - 格式:1,2,3
  12339. in: query
  12340. name: OperateType
  12341. type: string
  12342. produces:
  12343. - application/json
  12344. responses:
  12345. "200":
  12346. description: OK
  12347. schema:
  12348. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  12349. "500":
  12350. description: Internal Server Error
  12351. schema:
  12352. $ref: '#/definitions/app.Response'
  12353. security:
  12354. - ApiKeyAuth: []
  12355. summary: 资金流水查询(当前)
  12356. tags:
  12357. - 资金账户
  12358. /TaAccount/QueryHisAmountLog:
  12359. get:
  12360. parameters:
  12361. - description: 页码
  12362. in: query
  12363. name: page
  12364. type: integer
  12365. - description: 每页条数
  12366. in: query
  12367. name: pagesize
  12368. type: integer
  12369. - description: 资金账户 - 格式:1,2,3
  12370. in: query
  12371. name: accountID
  12372. required: true
  12373. type: string
  12374. - description: 资金操作类型 - 格式:1,2,3
  12375. in: query
  12376. name: OperateType
  12377. type: string
  12378. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12379. in: query
  12380. name: startDate
  12381. type: string
  12382. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12383. in: query
  12384. name: endDate
  12385. type: string
  12386. produces:
  12387. - application/json
  12388. responses:
  12389. "200":
  12390. description: OK
  12391. schema:
  12392. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  12393. "500":
  12394. description: Internal Server Error
  12395. schema:
  12396. $ref: '#/definitions/app.Response'
  12397. security:
  12398. - ApiKeyAuth: []
  12399. summary: 资金流水查询(历史)
  12400. tags:
  12401. - 资金账户
  12402. /Trade/QueryRecieptOrder:
  12403. get:
  12404. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  12405. parameters:
  12406. - description: 页码
  12407. in: query
  12408. name: page
  12409. type: integer
  12410. - description: 每页条数
  12411. in: query
  12412. name: pagesize
  12413. type: integer
  12414. - description: 商品ID
  12415. in: query
  12416. name: goodsID
  12417. required: true
  12418. type: integer
  12419. - description: 所属账户名称
  12420. in: query
  12421. name: accountName
  12422. type: string
  12423. - description: 市场ID
  12424. in: query
  12425. name: marketID
  12426. type: integer
  12427. - description: 方向 - 0:买 1:卖
  12428. in: query
  12429. name: buyorsell
  12430. required: true
  12431. type: integer
  12432. produces:
  12433. - application/json
  12434. responses:
  12435. "200":
  12436. description: OK
  12437. schema:
  12438. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  12439. "500":
  12440. description: Internal Server Error
  12441. schema:
  12442. $ref: '#/definitions/app.Response'
  12443. security:
  12444. - ApiKeyAuth: []
  12445. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  12446. tags:
  12447. - 通用交易
  12448. /User/AddMessageBoard:
  12449. post:
  12450. parameters:
  12451. - description: 用户ID
  12452. in: query
  12453. name: userID
  12454. required: true
  12455. type: integer
  12456. - description: 留言信息
  12457. in: query
  12458. name: message
  12459. required: true
  12460. type: string
  12461. - description: 联系电话
  12462. in: query
  12463. name: contactNum
  12464. required: true
  12465. type: string
  12466. produces:
  12467. - application/json
  12468. responses:
  12469. "200":
  12470. description: OK
  12471. schema:
  12472. $ref: '#/definitions/app.Response'
  12473. "500":
  12474. description: Internal Server Error
  12475. schema:
  12476. $ref: '#/definitions/app.Response'
  12477. security:
  12478. - ApiKeyAuth: []
  12479. summary: 添加用户留言板信息
  12480. tags:
  12481. - 用户信息
  12482. /User/AddUserFavoriteGoods:
  12483. post:
  12484. parameters:
  12485. - description: 用户ID
  12486. in: query
  12487. name: userID
  12488. required: true
  12489. type: integer
  12490. - description: 商品ID
  12491. in: query
  12492. name: goodsID
  12493. required: true
  12494. type: integer
  12495. produces:
  12496. - application/json
  12497. responses:
  12498. "200":
  12499. description: OK
  12500. schema:
  12501. $ref: '#/definitions/app.Response'
  12502. "500":
  12503. description: Internal Server Error
  12504. schema:
  12505. $ref: '#/definitions/app.Response'
  12506. security:
  12507. - ApiKeyAuth: []
  12508. summary: 添加用户商品收藏信息
  12509. tags:
  12510. - 用户信息
  12511. /User/GetLoginID:
  12512. get:
  12513. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  12514. parameters:
  12515. - description: 登录代码
  12516. in: query
  12517. name: username
  12518. required: true
  12519. type: string
  12520. produces:
  12521. - application/json
  12522. responses:
  12523. "200":
  12524. description: OK
  12525. schema:
  12526. $ref: '#/definitions/app.Response'
  12527. "500":
  12528. description: Internal Server Error
  12529. schema:
  12530. $ref: '#/definitions/app.Response'
  12531. summary: 获取登录ID
  12532. tags:
  12533. - 用户信息
  12534. /User/GetUserAccount:
  12535. get:
  12536. parameters:
  12537. - description: 用户ID
  12538. in: query
  12539. name: userID
  12540. required: true
  12541. type: integer
  12542. produces:
  12543. - application/json
  12544. responses:
  12545. "200":
  12546. description: OK
  12547. schema:
  12548. $ref: '#/definitions/models.Useraccount'
  12549. "500":
  12550. description: Internal Server Error
  12551. schema:
  12552. $ref: '#/definitions/app.Response'
  12553. security:
  12554. - ApiKeyAuth: []
  12555. summary: 获取用户账号信息
  12556. tags:
  12557. - 用户信息
  12558. /User/GetUserAuthStatus:
  12559. get:
  12560. parameters:
  12561. - description: 用户ID
  12562. in: query
  12563. name: userID
  12564. required: true
  12565. type: integer
  12566. produces:
  12567. - application/json
  12568. responses:
  12569. "200":
  12570. description: OK
  12571. schema:
  12572. $ref: '#/definitions/app.Response'
  12573. "500":
  12574. description: Internal Server Error
  12575. schema:
  12576. $ref: '#/definitions/app.Response'
  12577. security:
  12578. - ApiKeyAuth: []
  12579. summary: 获取用户实名认证状态
  12580. tags:
  12581. - 用户信息
  12582. /User/QueryMessageBoard:
  12583. get:
  12584. parameters:
  12585. - description: 用户ID
  12586. in: query
  12587. name: userID
  12588. required: true
  12589. type: integer
  12590. produces:
  12591. - application/json
  12592. responses:
  12593. "200":
  12594. description: OK
  12595. schema:
  12596. $ref: '#/definitions/models.Messageboard'
  12597. "500":
  12598. description: Internal Server Error
  12599. schema:
  12600. $ref: '#/definitions/app.Response'
  12601. security:
  12602. - ApiKeyAuth: []
  12603. summary: 获取用户留言板信息
  12604. tags:
  12605. - 用户信息
  12606. /User/QueryUserFavoriteGoodses:
  12607. get:
  12608. parameters:
  12609. - description: 用户ID
  12610. in: query
  12611. name: userID
  12612. required: true
  12613. type: integer
  12614. produces:
  12615. - application/json
  12616. responses:
  12617. "200":
  12618. description: OK
  12619. schema:
  12620. $ref: '#/definitions/models.Userfavoritegoods'
  12621. "500":
  12622. description: Internal Server Error
  12623. schema:
  12624. $ref: '#/definitions/app.Response'
  12625. security:
  12626. - ApiKeyAuth: []
  12627. summary: 获取用户商品收藏信息
  12628. tags:
  12629. - 用户信息
  12630. /User/QueryUserInfo:
  12631. get:
  12632. parameters:
  12633. - description: 用户ID
  12634. in: query
  12635. name: userID
  12636. required: true
  12637. type: integer
  12638. produces:
  12639. - application/json
  12640. responses:
  12641. "200":
  12642. description: OK
  12643. schema:
  12644. $ref: '#/definitions/models.Userinfo'
  12645. "500":
  12646. description: Internal Server Error
  12647. schema:
  12648. $ref: '#/definitions/app.Response'
  12649. security:
  12650. - ApiKeyAuth: []
  12651. summary: 获取用户信息
  12652. tags:
  12653. - 用户信息
  12654. /User/QueryUserReferNum:
  12655. get:
  12656. parameters:
  12657. - description: 用户ID
  12658. in: query
  12659. name: userID
  12660. required: true
  12661. type: integer
  12662. produces:
  12663. - application/json
  12664. responses:
  12665. "200":
  12666. description: OK
  12667. schema:
  12668. $ref: '#/definitions/app.Response'
  12669. "500":
  12670. description: Internal Server Error
  12671. schema:
  12672. $ref: '#/definitions/app.Response'
  12673. summary: 获取用户邀请码
  12674. tags:
  12675. - 用户信息
  12676. /User/RemoveUserFavoriteGoods:
  12677. post:
  12678. parameters:
  12679. - description: 用户ID
  12680. in: query
  12681. name: userID
  12682. required: true
  12683. type: integer
  12684. - description: 商品ID
  12685. in: query
  12686. name: goodsID
  12687. required: true
  12688. type: integer
  12689. produces:
  12690. - application/json
  12691. responses:
  12692. "200":
  12693. description: OK
  12694. schema:
  12695. $ref: '#/definitions/app.Response'
  12696. "500":
  12697. description: Internal Server Error
  12698. schema:
  12699. $ref: '#/definitions/app.Response'
  12700. security:
  12701. - ApiKeyAuth: []
  12702. summary: 移除用户商品收藏信息
  12703. tags:
  12704. - 用户信息
  12705. /User/UpdateUserAccountStatus:
  12706. post:
  12707. parameters:
  12708. - description: 用户ID
  12709. in: query
  12710. name: userID
  12711. required: true
  12712. type: integer
  12713. - description: 账户状态 - 4:正常 6:注销(停用)
  12714. in: query
  12715. name: accountStatus
  12716. required: true
  12717. type: integer
  12718. produces:
  12719. - application/json
  12720. responses:
  12721. "200":
  12722. description: OK
  12723. schema:
  12724. $ref: '#/definitions/app.Response'
  12725. "500":
  12726. description: Internal Server Error
  12727. schema:
  12728. $ref: '#/definitions/app.Response'
  12729. security:
  12730. - ApiKeyAuth: []
  12731. summary: 更新用户状态
  12732. tags:
  12733. - 用户信息
  12734. /WR/GetWRCategoryInfo:
  12735. get:
  12736. produces:
  12737. - application/json
  12738. responses:
  12739. "200":
  12740. description: OK
  12741. schema:
  12742. $ref: '#/definitions/models.WRCategoryTree'
  12743. "500":
  12744. description: Internal Server Error
  12745. schema:
  12746. $ref: '#/definitions/app.Response'
  12747. summary: 获取现货分类信息
  12748. tags:
  12749. - 仓单服务
  12750. /WRTrade/GetAllDeliveryGoods:
  12751. get:
  12752. produces:
  12753. - application/json
  12754. - application/json
  12755. responses:
  12756. "200":
  12757. description: OK
  12758. schema:
  12759. $ref: '#/definitions/app.Response'
  12760. "500":
  12761. description: Internal Server Error
  12762. schema:
  12763. $ref: '#/definitions/app.Response'
  12764. security:
  12765. - ApiKeyAuth: []
  12766. - ApiKeyAuth: []
  12767. summary: 获取带仓单分类的种类信息
  12768. tags:
  12769. - 仓单贸易
  12770. - 仓单贸易
  12771. securityDefinitions:
  12772. ApiKeyAuth:
  12773. in: header
  12774. name: Authorization
  12775. type: apiKey
  12776. swagger: "2.0"