swagger.yaml 428 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566
  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.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. rulekey:
  35. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  36. type: string
  37. sort:
  38. description: 排序
  39. type: integer
  40. title:
  41. description: 标题
  42. type: string
  43. type:
  44. description: 类型,1:菜单 2:按钮
  45. type: integer
  46. type: object
  47. common.QueryImageConfigsRsp:
  48. properties:
  49. areauserid:
  50. description: 所属机构ID
  51. type: integer
  52. configid:
  53. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  54. type: integer
  55. createdate:
  56. description: 创建时间
  57. type: string
  58. creatorid:
  59. description: 创建人
  60. type: integer
  61. imagepath:
  62. description: 图片
  63. type: string
  64. imagetype:
  65. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  66. type: integer
  67. isshow:
  68. description: 是否展示 - 0:不展示 1:展示
  69. type: integer
  70. marketid:
  71. description: 市场ID
  72. type: integer
  73. modifierid:
  74. description: 操作人
  75. type: integer
  76. sort:
  77. description: 排序
  78. type: integer
  79. title:
  80. description: 标题
  81. type: string
  82. trademode:
  83. description: 交易模式
  84. type: integer
  85. updatedate:
  86. description: 修改时间
  87. type: string
  88. url:
  89. description: 链接(地址或商品ID)
  90. type: string
  91. urltype:
  92. description: 链接类型 - 1:直接地址 2:商品ID
  93. type: integer
  94. required:
  95. - configid
  96. type: object
  97. common.QueryNoticeRsp:
  98. properties:
  99. auditoruserid:
  100. description: 审核人
  101. type: integer
  102. auditremark:
  103. description: 审核备注
  104. type: string
  105. audittime:
  106. description: 审核日期
  107. type: string
  108. autoid:
  109. description: 自增ID
  110. type: integer
  111. content:
  112. description: 内容
  113. type: string
  114. createtime:
  115. description: 创建时间
  116. type: string
  117. creatorid:
  118. description: 建仓人
  119. type: integer
  120. endtime:
  121. description: 结束时间
  122. type: string
  123. istop:
  124. description: 是否置顶 - 0:不置顶 1:置顶
  125. type: integer
  126. msgiconurl:
  127. description: 消息图标Url
  128. type: string
  129. msgtype:
  130. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  131. type: integer
  132. publisher:
  133. description: 消息发布者
  134. type: string
  135. readed:
  136. description: 是否已读
  137. type: boolean
  138. scheduletime:
  139. description: 计划发送时间
  140. type: string
  141. sendtype:
  142. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  143. type: integer
  144. sentstatus:
  145. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  146. type: integer
  147. title:
  148. description: 标题
  149. type: string
  150. userid:
  151. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  152. type: integer
  153. required:
  154. - autoid
  155. type: object
  156. common.QueryProvincesAndCitiesRsp:
  157. properties:
  158. cities:
  159. description: 市
  160. items:
  161. $ref: '#/definitions/models.Division'
  162. type: array
  163. province:
  164. $ref: '#/definitions/models.Division'
  165. description: 省
  166. type: object
  167. type: object
  168. common.QueryTableDefineRsp:
  169. properties:
  170. columns:
  171. description: 列头信息数组
  172. items:
  173. $ref: '#/definitions/models.Tablecolumnconfig'
  174. type: array
  175. remark:
  176. description: Remark
  177. type: string
  178. tabelmenu:
  179. description: 列表菜单
  180. type: string
  181. tablekey:
  182. description: 列表Key
  183. type: string
  184. tablename:
  185. description: 列表名称
  186. type: string
  187. tabletype:
  188. description: 列表类型 - 1:管理端 2:终端
  189. type: integer
  190. required:
  191. - tablekey
  192. type: object
  193. common.QueryTraderMenuRsp:
  194. properties:
  195. OperationMenu:
  196. description: 功能菜单
  197. items:
  198. $ref: '#/definitions/models.OperationPrimaryMenu'
  199. type: array
  200. QuoteMenu:
  201. description: 报价牌分类菜单
  202. items:
  203. $ref: '#/definitions/models.QuotePrimaryMenu'
  204. type: array
  205. type: object
  206. cptrade.Cptradepositioncancel:
  207. properties:
  208. accountid:
  209. description: 申请人账户ID
  210. type: integer
  211. applystatus:
  212. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  213. type: integer
  214. applytime:
  215. description: 申请时间
  216. type: string
  217. cancelid:
  218. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  219. type: integer
  220. cancelqty:
  221. description: 注销数量
  222. type: integer
  223. createtime:
  224. description: 创建时间
  225. type: string
  226. creatorid:
  227. description: 创建人ID
  228. type: integer
  229. creatorname:
  230. description: 创建人
  231. type: string
  232. goodscode:
  233. description: 订单商品代码
  234. type: string
  235. goodsid:
  236. description: 商品ID
  237. type: integer
  238. goodsname:
  239. description: 订单商品名称
  240. type: string
  241. goodunit:
  242. description: 报价单位
  243. type: string
  244. handlestatus:
  245. description: 处理状态
  246. type: integer
  247. marketid:
  248. description: 市场ID
  249. type: integer
  250. marketname:
  251. description: 市场名称
  252. type: string
  253. tradedate:
  254. description: 交易日(yyyyMMdd)
  255. type: string
  256. userid:
  257. description: 申请人ID
  258. type: integer
  259. required:
  260. - cancelid
  261. type: object
  262. cptrade.Cptradepresaleapply:
  263. properties:
  264. accountid:
  265. description: 申请人账户ID
  266. type: integer
  267. applyid:
  268. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  269. type: integer
  270. applyremark:
  271. description: 申请备注
  272. type: string
  273. applystatus:
  274. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  275. type: integer
  276. applytime:
  277. description: 申请时间
  278. type: string
  279. attachmenturl:
  280. description: 附件地址
  281. type: string
  282. endtime:
  283. description: 预售结束时间
  284. type: string
  285. goodscode:
  286. description: 商品代码
  287. type: string
  288. goodsid:
  289. description: 商品ID
  290. type: integer
  291. goodsname:
  292. description: 商品名称
  293. type: string
  294. goodunit:
  295. description: 报价单位
  296. type: string
  297. handlestatus:
  298. description: 处理状态
  299. type: integer
  300. marketid:
  301. description: 预售市场ID
  302. type: integer
  303. marketname:
  304. description: 预售市场名称
  305. type: string
  306. presaleqty:
  307. description: 预售数量
  308. type: integer
  309. relatedgoodscode:
  310. description: 关联交易合约代码
  311. type: string
  312. relatedgoodsid:
  313. description: 关联交易合约ID
  314. type: integer
  315. relatedgoodsname:
  316. description: 关联交易合约名称
  317. type: string
  318. starttime:
  319. description: 预售开始时间
  320. type: string
  321. tradedate:
  322. description: 交易日(yyyyMMdd)
  323. type: string
  324. trademode:
  325. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  326. type: integer
  327. userid:
  328. description: 申请人ID
  329. type: integer
  330. required:
  331. - applyid
  332. type: object
  333. cptrade.Cptradeusergoodsdata:
  334. properties:
  335. EnabledQty:
  336. description: 可用量
  337. type: integer
  338. GoodsCode:
  339. description: 订单商品代码
  340. type: string
  341. GoodsName:
  342. description: 订单商品名称
  343. type: string
  344. WRStandardCode:
  345. description: 仓单标准代码
  346. type: string
  347. WRStandardName:
  348. description: 仓单标准名称
  349. type: string
  350. accountid:
  351. description: 账户ID
  352. type: integer
  353. cancelqty:
  354. description: 注销量
  355. type: integer
  356. curpresaleqty:
  357. description: 当前预售量
  358. type: integer
  359. deliveryqty:
  360. description: 交割量
  361. type: integer
  362. freezeamount:
  363. description: 冻结金额
  364. type: number
  365. goodsid:
  366. description: 商品ID
  367. type: integer
  368. goodunit:
  369. description: 报价单位
  370. type: string
  371. hasspotfreeze:
  372. description: 是否有现货冻结 - 0:否 1:有
  373. type: integer
  374. inqty:
  375. description: 转入量(总数量)
  376. type: integer
  377. marketid:
  378. description: 市场ID
  379. type: integer
  380. presaledamount:
  381. description: 已预售总金额
  382. type: integer
  383. presaledqty:
  384. description: 已预售量
  385. type: integer
  386. userid:
  387. description: 用户ID
  388. type: integer
  389. wrstandardid:
  390. description: 仓单标准ID
  391. type: integer
  392. required:
  393. - accountid
  394. - goodsid
  395. type: object
  396. cptrade.QueryCPTradeMyBidRsp:
  397. properties:
  398. accountid:
  399. description: 账户ID[报价币种]
  400. type: integer
  401. goodsid:
  402. description: 商品ID
  403. type: integer
  404. goodunit:
  405. description: 报价单位
  406. type: string
  407. marketid:
  408. description: 市场ID
  409. type: integer
  410. orderid:
  411. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  412. type: integer
  413. orderprice:
  414. description: 委托价格
  415. type: number
  416. orderqty:
  417. description: 委托数量
  418. type: integer
  419. ordertime:
  420. description: 委托时间
  421. type: string
  422. ordertotalprice:
  423. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  424. type: number
  425. ordertotalweight:
  426. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  427. type: integer
  428. totaltotalprice:
  429. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  430. type: number
  431. tradeprice:
  432. description: 成交价格
  433. type: number
  434. tradeqty:
  435. description: 成交数量
  436. type: integer
  437. required:
  438. - accountid
  439. - goodsid
  440. - marketid
  441. - orderid
  442. - orderqty
  443. - ordertime
  444. - tradeprice
  445. - tradeqty
  446. type: object
  447. cptrade.QueryCPTradeOrderDetailRsq:
  448. properties:
  449. accountid:
  450. description: 账户ID[报价币种]
  451. type: integer
  452. buildtype:
  453. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  454. type: integer
  455. buyorsell:
  456. description: 买卖 - 0:买 1:卖
  457. type: integer
  458. cancelorderid:
  459. description: 撤单单号(撤单时填写)
  460. type: integer
  461. cancelqty:
  462. description: 撤单数量
  463. type: integer
  464. clientordertime:
  465. description: 客户端委托时间
  466. type: string
  467. clientticket:
  468. description: 客户端流水号
  469. type: string
  470. clienttype:
  471. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  472. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  473. type: integer
  474. closeexchagechargevalue:
  475. description: 平仓交易所手续费设置值
  476. type: number
  477. closefeealgorithm:
  478. description: 平仓手续费收取方式 1:比率 2:固定
  479. type: integer
  480. closefreezecharge:
  481. description: 平仓冻结手续费(先建后平操作,需要记录)
  482. type: number
  483. closememberchargevalue:
  484. description: 平仓会员手续费设置值
  485. type: number
  486. closeqty:
  487. description: 平仓数量(先建后平操作 需要记录)
  488. type: integer
  489. closetradeqty:
  490. description: 平仓成交数量(先建后平操作,需要记录)
  491. type: integer
  492. closeunfreezecharge:
  493. description: 平仓解冻手续费(先建后平操作,需要记录)
  494. type: number
  495. delistingtype:
  496. description: 摘牌类型 - 1:价格最优 2:点选成交
  497. type: integer
  498. freezecharge:
  499. description: 冻结手续费
  500. type: number
  501. freezemargin:
  502. description: 冻结保证金(冻结交易金额)
  503. type: number
  504. gcaccountid:
  505. description: 账户ID[合约币种]
  506. type: integer
  507. goodsid:
  508. description: 商品ID
  509. type: integer
  510. isconfirmexercise:
  511. description: 是否确认行权- 0:否 1:是
  512. type: integer
  513. ispreexercise:
  514. description: 是否预申报- 0:否 1:是
  515. type: integer
  516. listingselecttype:
  517. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  518. type: integer
  519. marginalgorithm:
  520. description: 保证金收取方式 1:比率 2:固定
  521. type: integer
  522. marginvalue:
  523. description: 即市保证金设置值
  524. type: number
  525. marketid:
  526. description: 市场ID
  527. type: integer
  528. marketmaxsub:
  529. description: 市价最大偏移范围
  530. type: number
  531. memberuserid:
  532. description: 所属会员UserID
  533. type: integer
  534. openexchagechargevalue:
  535. description: 建仓交易所手续费设置值
  536. type: number
  537. openfeealgorithm:
  538. description: 建仓手续费收取方式 1:比率 2:固定
  539. type: integer
  540. openfreezecharge:
  541. description: 开仓冻结手续费(先建后平操作,需要记录)
  542. type: number
  543. openmemberchargevalue:
  544. description: 建仓会员手续费设置值
  545. type: number
  546. openqty:
  547. description: 开仓数量(先建后平操作,需要记录)
  548. type: integer
  549. opentradeqty:
  550. description: 开仓成交数量(先建后平操作,需要记录)
  551. type: integer
  552. openunfreezecharge:
  553. description: 开仓解冻手续费(先建后平操作,需要记录)
  554. type: number
  555. operatetype:
  556. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  557. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  558. 15:管理端协议转让
  559. type: integer
  560. operatorid:
  561. description: 登录账号(LoginID)
  562. type: integer
  563. optiontype:
  564. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  565. type: integer
  566. orderprice:
  567. description: 委托价格
  568. type: number
  569. orderqty:
  570. description: 委托数量
  571. type: integer
  572. ordersrc:
  573. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  574. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  575. type: integer
  576. orderstatus:
  577. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  578. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  579. 16:成交失败违约(荷兰式竞拍专用)
  580. type: integer
  581. ordertime:
  582. description: 委托时间
  583. type: string
  584. preexerciseprice:
  585. description: 预申报价格
  586. type: number
  587. premium:
  588. description: 权利金
  589. type: number
  590. preorderid:
  591. description: 关联预埋单号(止盈止损单时填写)
  592. type: integer
  593. pricemode:
  594. description: '取价方式 - 1:市价 2: 限价'
  595. type: integer
  596. quoteid:
  597. description: 报价单ID
  598. type: integer
  599. relatedid:
  600. description: 关联单号(交割单)
  601. type: integer
  602. retcode:
  603. description: 错误代码
  604. type: integer
  605. sessionid:
  606. description: 会话ID
  607. type: integer
  608. strorderid:
  609. description: 委托单号
  610. type: string
  611. tradedate:
  612. description: 交易日(yyyyMMdd)
  613. type: string
  614. tradeproperty:
  615. description: 交易属性
  616. type: integer
  617. tradeqty:
  618. description: 成交数量
  619. type: integer
  620. unfreezecharge:
  621. description: 解冻手续费
  622. type: number
  623. unfreezemargin:
  624. description: 解冻保证金
  625. type: number
  626. updatetime:
  627. description: 更新时间
  628. type: string
  629. uuid:
  630. description: 发起端唯一id
  631. type: string
  632. validtime:
  633. description: 有效期限
  634. type: string
  635. validtype:
  636. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  637. type: integer
  638. volumetype:
  639. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  640. type: integer
  641. required:
  642. - accountid
  643. - buildtype
  644. - buyorsell
  645. - goodsid
  646. - marketid
  647. - memberuserid
  648. - operatetype
  649. - orderqty
  650. - ordertime
  651. - pricemode
  652. - strorderid
  653. - tradedate
  654. - validtype
  655. type: object
  656. cptrade.QueryMyCPTradeGoodsRsp:
  657. properties:
  658. accountid:
  659. description: 卖方账户ID
  660. type: integer
  661. agreeunit:
  662. description: 合约单位
  663. type: number
  664. applyid:
  665. description: 关联申请ID
  666. type: integer
  667. attachmenturl:
  668. description: 附件地址
  669. type: string
  670. createtime:
  671. description: 创建时间
  672. type: string
  673. currencyid:
  674. description: 报价货币ID
  675. type: integer
  676. decimalplace:
  677. description: 报价小数位
  678. type: integer
  679. endtime:
  680. description: 预售结束时间
  681. type: string
  682. floorprice:
  683. description: 底价[大宗式竞拍]
  684. type: number
  685. goodscode:
  686. description: 商品代码(预售)
  687. type: string
  688. goodsdetail:
  689. description: 详情[大宗]
  690. type: string
  691. goodsid:
  692. description: 商品ID(自增ID SEQ_GOODS)
  693. type: integer
  694. goodsname:
  695. description: 商品名称(预售)
  696. type: string
  697. goodunit:
  698. description: 报价单位
  699. type: string
  700. goodunitid:
  701. description: 报价单位ID
  702. type: integer
  703. marketid:
  704. description: 所属市场ID
  705. type: integer
  706. marketname:
  707. description: 预售市场名称
  708. type: string
  709. presaledamount:
  710. description: 已预售总金额(预售结束时更新)
  711. type: number
  712. presaledqty:
  713. description: 已预售量(预售结束时更新)
  714. type: integer
  715. presalemode:
  716. description: 预售模式 - 1:一口价 2:大宗式竞拍
  717. type: integer
  718. presaleqty:
  719. description: 预售数量
  720. type: integer
  721. refprice:
  722. description: 参考价格[一口价]
  723. type: number
  724. relatedgoodscode:
  725. description: 商品代码(订单)
  726. type: string
  727. relatedgoodsid:
  728. description: 关联交易合约ID
  729. type: integer
  730. relatedgoodsname:
  731. description: 商品名称(订单)
  732. type: string
  733. relatedmarketid:
  734. description: 关联交易合约市场ID
  735. type: integer
  736. sellstatus:
  737. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  738. type: integer
  739. startprice:
  740. description: 起拍价[大宗式竞拍]
  741. type: number
  742. starttime:
  743. description: 预售开始时间
  744. type: string
  745. tradedate:
  746. description: 交易日(yyyyMMdd)
  747. type: string
  748. tradeprice:
  749. description: 成交价[大宗]
  750. type: number
  751. userid:
  752. description: 卖方用户ID
  753. type: integer
  754. required:
  755. - goodscode
  756. - goodsid
  757. - goodsname
  758. - marketid
  759. - relatedgoodscode
  760. - relatedgoodsname
  761. type: object
  762. cptrade.QueryPresaleGoodsExRsp:
  763. properties:
  764. attachmenturl:
  765. description: 附件地址
  766. type: string
  767. createtime:
  768. description: 创建时间
  769. type: string
  770. endtime:
  771. description: 预售结束时间
  772. type: string
  773. floorprice:
  774. description: 底价[大宗式竞拍]
  775. type: number
  776. goodsdetail:
  777. description: 详情[大宗]
  778. type: string
  779. goodsid:
  780. description: 商品ID(预售)
  781. type: integer
  782. goodunit:
  783. description: 报价单位
  784. type: string
  785. marketid:
  786. description: 预售市场ID - 根据预售模式选择市场
  787. type: integer
  788. presaledamount:
  789. description: 已预售总金额(预售结束时更新)
  790. type: number
  791. presaledqty:
  792. description: 已预售量(预售结束时更新)
  793. type: integer
  794. presalemode:
  795. description: 预售模式 - 1:一口价 2:大宗式竞拍
  796. type: integer
  797. presaleqty:
  798. description: 预售数量
  799. type: integer
  800. refprice:
  801. description: 参考价格[一口价]
  802. type: number
  803. relatedgoodsid:
  804. description: 关联交易合约ID
  805. type: integer
  806. relatedmarketid:
  807. description: 关联交易合约市场ID
  808. type: integer
  809. sellstatus:
  810. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  811. type: integer
  812. startprice:
  813. description: 起拍价[大宗式竞拍]
  814. type: number
  815. starttime:
  816. description: 预售开始时间
  817. type: string
  818. tradedate:
  819. description: 交易日(yyyyMMdd)
  820. type: string
  821. tradeprice:
  822. description: 成交价[大宗]
  823. type: number
  824. required:
  825. - goodsid
  826. type: object
  827. delivery.QueryDeliveryRelationRsp:
  828. properties:
  829. begindate:
  830. description: 起始日期(yyyyMMdd)
  831. type: string
  832. buytemplateid:
  833. description: 买履约计划模板ID
  834. type: integer
  835. deliverygoodscode:
  836. description: 品种代码
  837. type: string
  838. deliverygoodsid:
  839. description: 交割商品
  840. type: integer
  841. deliverygoodsname:
  842. description: 品种名称
  843. type: string
  844. deliverymode:
  845. description: 交割方式 - 1:点选式 2:申报式
  846. type: integer
  847. deliverypricerule:
  848. description: 交割价规则- 1:行情价 2:建仓价
  849. type: integer
  850. deliverytype:
  851. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  852. type: integer
  853. enddate:
  854. description: 结束日期(yyyyMMdd)
  855. type: string
  856. goodscode:
  857. description: 商品代码
  858. type: string
  859. goodsid:
  860. description: 交易合约ID
  861. type: integer
  862. goodsname:
  863. description: 商品名称
  864. type: string
  865. marketid:
  866. description: 市场ID
  867. type: integer
  868. mindeliveryqty:
  869. description: 最小交割系数(K)
  870. type: integer
  871. p2deliveryprice:
  872. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  873. type: number
  874. p2deliveryratio:
  875. description: P2合约系数(p)
  876. type: integer
  877. p2goodsid:
  878. description: P2合约ID
  879. type: integer
  880. p2pricemode:
  881. description: P2合约价格方式 - 1:商品价 2:固定值
  882. type: integer
  883. pdeliveryprice:
  884. description: P合约价格(商品价时填写0,固定值时填写固定值)
  885. type: number
  886. pdeliveryratio:
  887. description: P合约系数(n)
  888. type: integer
  889. pgoodsid:
  890. description: P合约ID
  891. type: integer
  892. ppricemode:
  893. description: P合约价格方式 - 1:商品价 2:固定值
  894. type: integer
  895. rratio:
  896. description: 兑换系数(R)
  897. type: integer
  898. rratio1:
  899. description: 兑换系数(交易合约)(R1)
  900. type: integer
  901. rratio2:
  902. description: 兑换系数(仓单标准)(R2)
  903. type: integer
  904. selltemplateid:
  905. description: 卖履约计划模板ID
  906. type: integer
  907. wrstandardid:
  908. description: 仓单标准ID
  909. type: integer
  910. xdeliveryratio:
  911. description: 交易合约系数(m)
  912. type: integer
  913. required:
  914. - begindate
  915. - enddate
  916. - goodsid
  917. - mindeliveryqty
  918. - xdeliveryratio
  919. type: object
  920. ermcp.ExposureDetailRsp:
  921. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  922. ermcp.ExposureHedgePosDetailRsp:
  923. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  924. ermcp.ExposureHedgePositionRsp:
  925. $ref: '#/definitions/models.ErmcpHedgePosition'
  926. ermcp.ExposureSpotDetailRsp:
  927. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  928. ermcp.ExposureSpotRsp:
  929. $ref: '#/definitions/models.AreaSpotModel'
  930. ermcp.HisExposureRsp:
  931. $ref: '#/definitions/models.ErmcpHisExposureS'
  932. ermcp.PendingAuditCntRsp:
  933. $ref: '#/definitions/models.ErmcpPendingAudit'
  934. ermcp.QryAreaStockApplyRsp:
  935. $ref: '#/definitions/models.ErmcpAreaStockApply'
  936. ermcp.QryAvalidGPRsp:
  937. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  938. ermcp.QryBusinessDjRsp:
  939. properties:
  940. amount:
  941. description: 点价金额=(点价价格+升贴水)*点价数量
  942. type: number
  943. applyid:
  944. description: 申请人
  945. type: string
  946. applyname:
  947. description: 申请人名称
  948. type: string
  949. applystatus:
  950. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  951. type: integer
  952. applytime:
  953. description: 申请时间
  954. type: string
  955. attachurl:
  956. description: 附件
  957. type: string
  958. auditid:
  959. description: 审核人ID
  960. type: string
  961. auditname:
  962. description: 审核人名称
  963. type: string
  964. audittime:
  965. description: 审核时间
  966. type: string
  967. buyusername:
  968. description: 采购方名称
  969. type: string
  970. contractno:
  971. description: 合同编号
  972. type: string
  973. contractstatus:
  974. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  975. type: integer
  976. contracttype:
  977. description: 现货合同类型 - 1:采购 -1:销售
  978. type: integer
  979. enumdicname:
  980. description: 单位名称
  981. type: string
  982. goodscode:
  983. description: 点价合约
  984. type: string
  985. goodsname:
  986. description: 商品名称
  987. type: string
  988. operateapplyid:
  989. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  990. type: string
  991. operateapplytype:
  992. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  993. type: integer
  994. pricedPrice:
  995. description: 点价价格(非必填)
  996. type: number
  997. pricedQty:
  998. description: 点价数量(非必填)
  999. type: number
  1000. pricemove:
  1001. description: 升贴水
  1002. type: number
  1003. pricetype:
  1004. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1005. type: integer
  1006. relatedid:
  1007. description: 现货合同ID
  1008. type: string
  1009. sellusername:
  1010. description: 销售方名字
  1011. type: string
  1012. userid:
  1013. description: 用户ID
  1014. type: integer
  1015. wrstandardcode:
  1016. description: 现货商品代码
  1017. type: string
  1018. wrstandardid:
  1019. description: 现货商品id
  1020. type: integer
  1021. wrstandardname:
  1022. description: 现货商品名称
  1023. type: string
  1024. type: object
  1025. ermcp.QryBussinessFpRsp:
  1026. properties:
  1027. applyid:
  1028. description: 申请人
  1029. type: string
  1030. applyname:
  1031. description: 申请人名称
  1032. type: string
  1033. applystatus:
  1034. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1035. type: integer
  1036. applytime:
  1037. description: 申请时间
  1038. type: string
  1039. attachurl:
  1040. description: 附件
  1041. type: string
  1042. auditid:
  1043. description: 审核人ID
  1044. type: string
  1045. auditname:
  1046. description: 审核人名称
  1047. type: string
  1048. audittime:
  1049. description: 审核时间
  1050. type: string
  1051. buyusername:
  1052. description: 采购方名称
  1053. type: string
  1054. contractno:
  1055. description: 合同编号
  1056. type: string
  1057. contractstatus:
  1058. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1059. type: integer
  1060. contracttype:
  1061. description: 现货合同类型 - 1:采购 -1:销售
  1062. type: integer
  1063. enumdicname:
  1064. description: 单位名称
  1065. type: string
  1066. goodscode:
  1067. description: 点价合约
  1068. type: string
  1069. goodsname:
  1070. description: 商品名称
  1071. type: string
  1072. invoiceAmount:
  1073. description: 已开收票金额(销售为开票,采购为收票)
  1074. type: number
  1075. operateapplyid:
  1076. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1077. type: string
  1078. operateapplytype:
  1079. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1080. type: integer
  1081. pricemove:
  1082. description: 升贴水
  1083. type: number
  1084. pricetype:
  1085. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1086. type: integer
  1087. relatedid:
  1088. description: 现货合同ID
  1089. type: string
  1090. sellusername:
  1091. description: 销售方名字
  1092. type: string
  1093. userid:
  1094. description: 用户ID
  1095. type: integer
  1096. wrstandardcode:
  1097. description: 现货商品代码
  1098. type: string
  1099. wrstandardid:
  1100. description: 现货商品id
  1101. type: integer
  1102. wrstandardname:
  1103. description: 现货商品名称
  1104. type: string
  1105. type: object
  1106. ermcp.QryBussinessJsExRsp:
  1107. properties:
  1108. applyid:
  1109. description: 申请人
  1110. type: string
  1111. applyname:
  1112. description: 申请人名称
  1113. type: string
  1114. applystatus:
  1115. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1116. type: integer
  1117. applytime:
  1118. description: 申请时间
  1119. type: string
  1120. attachurl:
  1121. description: 附件
  1122. type: string
  1123. auditid:
  1124. description: 审核人ID
  1125. type: string
  1126. auditname:
  1127. description: 审核人名称
  1128. type: string
  1129. audittime:
  1130. description: 审核时间
  1131. type: string
  1132. buyusername:
  1133. description: 采购方名称
  1134. type: string
  1135. contractno:
  1136. description: 合同编号
  1137. type: string
  1138. contractstatus:
  1139. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1140. type: integer
  1141. contracttype:
  1142. description: 现货合同类型 - 1:采购 -1:销售
  1143. type: integer
  1144. enumdicname:
  1145. description: 单位名称
  1146. type: string
  1147. goodscode:
  1148. description: 点价合约
  1149. type: string
  1150. goodsname:
  1151. description: 商品名称
  1152. type: string
  1153. operateapplyid:
  1154. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1155. type: string
  1156. operateapplytype:
  1157. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1158. type: integer
  1159. pricemove:
  1160. description: 升贴水
  1161. type: number
  1162. pricetype:
  1163. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1164. type: integer
  1165. reckontype:
  1166. description: 结算类型
  1167. type: string
  1168. reckonvalue:
  1169. description: 值
  1170. type: number
  1171. relatedid:
  1172. description: 现货合同ID
  1173. type: string
  1174. sellusername:
  1175. description: 销售方名字
  1176. type: string
  1177. userid:
  1178. description: 用户ID
  1179. type: integer
  1180. wrstandardcode:
  1181. description: 现货商品代码
  1182. type: string
  1183. wrstandardid:
  1184. description: 现货商品id
  1185. type: integer
  1186. wrstandardname:
  1187. description: 现货商品名称
  1188. type: string
  1189. type: object
  1190. ermcp.QryBussinessJsRsp:
  1191. properties:
  1192. addmargin:
  1193. description: 追加保证金(非必填)
  1194. type: number
  1195. applyid:
  1196. description: 申请人
  1197. type: string
  1198. applyname:
  1199. description: 申请人名称
  1200. type: string
  1201. applystatus:
  1202. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1203. type: integer
  1204. applytime:
  1205. description: 申请时间
  1206. type: string
  1207. attachurl:
  1208. description: 附件
  1209. type: string
  1210. auditid:
  1211. description: 审核人ID
  1212. type: string
  1213. auditname:
  1214. description: 审核人名称
  1215. type: string
  1216. audittime:
  1217. description: 审核时间
  1218. type: string
  1219. buyusername:
  1220. description: 采购方名称
  1221. type: string
  1222. contractno:
  1223. description: 合同编号
  1224. type: string
  1225. contractstatus:
  1226. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1227. type: integer
  1228. contracttype:
  1229. description: 现货合同类型 - 1:采购 -1:销售
  1230. type: integer
  1231. decmargin:
  1232. description: 减少保证金(非必填)
  1233. type: number
  1234. enumdicname:
  1235. description: 单位名称
  1236. type: string
  1237. goodscode:
  1238. description: 点价合约
  1239. type: string
  1240. goodsname:
  1241. description: 商品名称
  1242. type: string
  1243. operateapplyid:
  1244. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1245. type: string
  1246. operateapplytype:
  1247. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1248. type: integer
  1249. pricemove:
  1250. description: 升贴水
  1251. type: number
  1252. pricetype:
  1253. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1254. type: integer
  1255. reckonadjustamount:
  1256. description: 结算调整金额(非必填)
  1257. type: number
  1258. reckonosamount:
  1259. description: 结算溢短金额(非必填)
  1260. type: number
  1261. reckonotheramount:
  1262. description: 结算其他费用(非必填)
  1263. type: number
  1264. reckonrealqty:
  1265. description: 结算实际数量(非必填)
  1266. type: number
  1267. relatedid:
  1268. description: 现货合同ID
  1269. type: string
  1270. sellusername:
  1271. description: 销售方名字
  1272. type: string
  1273. userid:
  1274. description: 用户ID
  1275. type: integer
  1276. wrstandardcode:
  1277. description: 现货商品代码
  1278. type: string
  1279. wrstandardid:
  1280. description: 现货商品id
  1281. type: integer
  1282. wrstandardname:
  1283. description: 现货商品名称
  1284. type: string
  1285. type: object
  1286. ermcp.QryBussinessKxRsp:
  1287. properties:
  1288. applyid:
  1289. description: 申请人
  1290. type: string
  1291. applyname:
  1292. description: 申请人名称
  1293. type: string
  1294. applystatus:
  1295. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1296. type: integer
  1297. applytime:
  1298. description: 申请时间
  1299. type: string
  1300. attachurl:
  1301. description: 附件
  1302. type: string
  1303. auditid:
  1304. description: 审核人ID
  1305. type: string
  1306. auditname:
  1307. description: 审核人名称
  1308. type: string
  1309. audittime:
  1310. description: 审核时间
  1311. type: string
  1312. buyusername:
  1313. description: 采购方名称
  1314. type: string
  1315. contractno:
  1316. description: 合同编号
  1317. type: string
  1318. contractstatus:
  1319. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1320. type: integer
  1321. contracttype:
  1322. description: 现货合同类型 - 1:采购 -1:销售
  1323. type: integer
  1324. deductamount:
  1325. description: 退款(非必填)
  1326. type: number
  1327. enumdicname:
  1328. description: 单位名称
  1329. type: string
  1330. goodscode:
  1331. description: 点价合约
  1332. type: string
  1333. goodsname:
  1334. description: 商品名称
  1335. type: string
  1336. kxtype:
  1337. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1338. type: integer
  1339. operateapplyid:
  1340. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1341. type: string
  1342. operateapplytype:
  1343. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1344. type: integer
  1345. payamount:
  1346. description: 收付款(非必填)
  1347. type: number
  1348. pricemove:
  1349. description: 升贴水
  1350. type: number
  1351. pricetype:
  1352. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1353. type: integer
  1354. relatedid:
  1355. description: 现货合同ID
  1356. type: string
  1357. sellusername:
  1358. description: 销售方名字
  1359. type: string
  1360. userid:
  1361. description: 用户ID
  1362. type: integer
  1363. wrstandardcode:
  1364. description: 现货商品代码
  1365. type: string
  1366. wrstandardid:
  1367. description: 现货商品id
  1368. type: integer
  1369. wrstandardname:
  1370. description: 现货商品名称
  1371. type: string
  1372. type: object
  1373. ermcp.QryErmcpRsp:
  1374. $ref: '#/definitions/models.ErmcpModel'
  1375. ermcp.QryGGCovertCfgRsp:
  1376. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1377. ermcp.QryHedgePlanRsp:
  1378. $ref: '#/definitions/models.ErmcpHedgePlan'
  1379. ermcp.QryMGChangeLogRsp:
  1380. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1381. ermcp.QryMiddleGoodsDetailRsp:
  1382. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1383. ermcp.QryMiddleGoodsRsp:
  1384. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1385. ermcp.QryOPLogRsp:
  1386. $ref: '#/definitions/models.ErmcpOPLogModel'
  1387. ermcp.QryReportDaySpotDetailRsp:
  1388. $ref: '#/definitions/models.ErmcpReportOPLog'
  1389. ermcp.QryReportExposureDayRsp:
  1390. $ref: '#/definitions/models.ErmcpReportDayExposure'
  1391. ermcp.QryReportFinanceDayRsp:
  1392. $ref: '#/definitions/models.ErmcpReportDayFR'
  1393. ermcp.QryReportFinanceKxRsp:
  1394. $ref: '#/definitions/models.ErmcpReportOPLog'
  1395. ermcp.QryReportFinanceMonRsp:
  1396. $ref: '#/definitions/models.ErmcpReportMonthFR'
  1397. ermcp.QryReportSpotDayRsp:
  1398. $ref: '#/definitions/models.ErmcpReportDaySpot'
  1399. ermcp.QryReportSpotMonRsp:
  1400. $ref: '#/definitions/models.ErmcpReportMonSpot'
  1401. ermcp.QryReportSpotMonthDetailRsp:
  1402. $ref: '#/definitions/models.ErmcpReportDaySpot'
  1403. ermcp.QrySpotContractRsp:
  1404. $ref: '#/definitions/models.ErmcpSpotContractModel'
  1405. ermcp.QryUserInfoRsp:
  1406. $ref: '#/definitions/models.ErmcpUserModel'
  1407. ermcp.QryWarehouseRsp:
  1408. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1409. ermcp.QryWrStandardDetailRsp:
  1410. $ref: '#/definitions/models.ErmcpWrstandDetail'
  1411. ermcp.QryWrStandardRsp:
  1412. $ref: '#/definitions/models.ErmcpWrstandard'
  1413. ermcp.QueryAreaStockApplySumRsp:
  1414. $ref: '#/definitions/models.ErmcpAreaStockApplySum'
  1415. ermcp.QueryErmcpTradePositionRsp:
  1416. properties:
  1417. agreeunit:
  1418. description: 合约单位
  1419. type: number
  1420. buyorsell:
  1421. description: 方向 - 0:买 1:卖
  1422. type: integer
  1423. curpositionqty:
  1424. description: 持仓(总仓数量, 期末头寸)
  1425. type: integer
  1426. curtdposition:
  1427. description: 今仓数量(期末今日头寸)
  1428. type: integer
  1429. curtdpositionenabled:
  1430. description: 今仓可用
  1431. type: integer
  1432. decimalplace:
  1433. description: 报价小数位
  1434. type: integer
  1435. enableqty:
  1436. description: 可用(总仓可用)
  1437. type: integer
  1438. exexchangename:
  1439. description: 外部交易所名称
  1440. type: string
  1441. goodscode:
  1442. description: 商品代码(内部)
  1443. type: string
  1444. goodsid:
  1445. description: 商品ID(自增ID SEQ_GOODS)
  1446. type: integer
  1447. goodsname:
  1448. description: 商品名称
  1449. type: string
  1450. last:
  1451. description: 现价
  1452. type: number
  1453. marketid:
  1454. description: 所属市场ID
  1455. type: integer
  1456. openaverageprice:
  1457. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1458. type: number
  1459. opencost:
  1460. description: 开仓成本
  1461. type: number
  1462. openpl:
  1463. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1464. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1465. type: number
  1466. outgoodscode:
  1467. description: 商品代码(外部)
  1468. type: string
  1469. positionaverageprice:
  1470. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1471. type: number
  1472. positioncost:
  1473. description: 持仓成本
  1474. type: number
  1475. positionpl:
  1476. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1477. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1478. type: number
  1479. positionplrate:
  1480. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1481. type: number
  1482. usedmargin:
  1483. description: 占用保证金
  1484. type: number
  1485. type: object
  1486. ermcp.RealtimeExposurePositionRsp:
  1487. $ref: '#/definitions/models.ErmcpExposurePostion'
  1488. ermcp.RealtimeExposureRsp:
  1489. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1490. erms2.QueryArbitrageStrategyRsp:
  1491. properties:
  1492. applybasis:
  1493. description: 申请基差
  1494. type: number
  1495. asapplyid:
  1496. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1497. type: string
  1498. asname:
  1499. description: 策略名称
  1500. type: string
  1501. asno:
  1502. description: 策略编号
  1503. type: string
  1504. basischangepl:
  1505. description: 基差变动损益[结算更新]
  1506. type: number
  1507. biztype:
  1508. description: 业务类型 - 1:正向套利 -1:反向套利
  1509. type: integer
  1510. closetradedate:
  1511. description: 完结交易日(yyyyMMdd)
  1512. type: string
  1513. curbasis:
  1514. description: 当前基差[结算更新]
  1515. type: number
  1516. deliverygoodsid:
  1517. description: 现货品种ID
  1518. type: integer
  1519. futureavgprice:
  1520. description: 期货建仓均价
  1521. type: number
  1522. futurecloseamount:
  1523. description: 期货平仓金额
  1524. type: number
  1525. futurecloseqty:
  1526. description: 期货平仓数量
  1527. type: number
  1528. futureopenamount:
  1529. description: 期货开仓金额
  1530. type: number
  1531. futureopenqty:
  1532. description: 期货开仓数量
  1533. type: number
  1534. futurepl:
  1535. description: 期货总盈亏[结算更新]
  1536. type: number
  1537. futureqty:
  1538. description: 期货持仓数量
  1539. type: number
  1540. futurequote:
  1541. description: 期货额度
  1542. type: number
  1543. goodsgroupid:
  1544. description: 期货品种ID
  1545. type: integer
  1546. marketid:
  1547. description: 市场ID
  1548. type: integer
  1549. netexposure:
  1550. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1551. type: number
  1552. netexposurepl:
  1553. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1554. type: number
  1555. netexposurerate:
  1556. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1557. type: number
  1558. openbasis:
  1559. description: 建仓基差
  1560. type: number
  1561. pricedspotqty:
  1562. description: 已定价现货数量
  1563. type: number
  1564. pricedspotqtynotax:
  1565. description: 已定价现货不含税数量
  1566. type: number
  1567. remark:
  1568. description: 备注
  1569. type: string
  1570. spotavgprice:
  1571. description: 现货均价
  1572. type: number
  1573. spotbuyamount:
  1574. description: 现货采购金额
  1575. type: number
  1576. spotbuyqty:
  1577. description: 现货采购数量
  1578. type: number
  1579. spotpl:
  1580. description: 现货总盈亏[结算更新]
  1581. type: number
  1582. spotquota:
  1583. description: 现货额度
  1584. type: number
  1585. spotsellamount:
  1586. description: 现货销售金额
  1587. type: number
  1588. spotsellqty:
  1589. description: 现货销售数量
  1590. type: number
  1591. spotusedquota:
  1592. description: 现货占用资金
  1593. type: number
  1594. strategystatus:
  1595. description: 策略状态 - 0:未结束 1:已结束
  1596. type: integer
  1597. totalpl:
  1598. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1599. type: number
  1600. tradedate:
  1601. description: 交易日(yyyyMMdd)
  1602. type: string
  1603. updatetime:
  1604. description: 更新时间
  1605. type: string
  1606. usedquota:
  1607. description: 已占用资金
  1608. type: number
  1609. userid:
  1610. description: 所属机构
  1611. type: integer
  1612. required:
  1613. - asapplyid
  1614. type: object
  1615. erms2.QueryInnerTradeDetailRsp:
  1616. properties:
  1617. accountid:
  1618. description: 账号ID
  1619. type: integer
  1620. agreeunit:
  1621. description: 合约单位
  1622. type: number
  1623. asapplyid:
  1624. description: 策略申请ID
  1625. type: integer
  1626. asname:
  1627. description: 策略名称
  1628. type: string
  1629. asno:
  1630. description: 策略编号
  1631. type: string
  1632. buyorsell:
  1633. description: 方向 - 0:买 1:卖
  1634. type: integer
  1635. channelbuildtype:
  1636. description: 委托单据类型 0:无 1:建仓 2:平仓
  1637. type: integer
  1638. closetype:
  1639. description: 平仓方式 - 0:无 1:平今 2:平昨
  1640. type: integer
  1641. decimalplace:
  1642. description: 报价小数位
  1643. type: integer
  1644. detailtype:
  1645. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1646. type: integer
  1647. exexchangecode:
  1648. description: 外部交易所代码
  1649. type: string
  1650. exexchangename:
  1651. description: 外部交易所名称
  1652. type: string
  1653. goodscode:
  1654. description: 商品代码(合约)
  1655. type: string
  1656. goodsgroupid:
  1657. description: 商品组ID(品种ID)
  1658. type: integer
  1659. goodsgroupname:
  1660. description: 商品组名称(品种)
  1661. type: string
  1662. goodsid:
  1663. description: 商品ID
  1664. type: integer
  1665. goodsname:
  1666. description: 商品名称(合约)
  1667. type: string
  1668. goodunit:
  1669. description: 报价单位
  1670. type: string
  1671. marketid:
  1672. description: 市场ID
  1673. type: integer
  1674. orderid:
  1675. description: 委托单号
  1676. type: string
  1677. outgoodscode:
  1678. description: 商品代码(外部)
  1679. type: string
  1680. relatedouttradeid:
  1681. description: 关联外部成交单ID
  1682. type: string
  1683. remark:
  1684. description: 备注
  1685. type: string
  1686. spotcontractid:
  1687. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1688. type: integer
  1689. spotcontractno:
  1690. description: 现货合同编号
  1691. type: string
  1692. tradeid:
  1693. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1694. type: string
  1695. tradeprice:
  1696. description: 成交价格
  1697. type: number
  1698. tradeqty:
  1699. description: 成交数量
  1700. type: integer
  1701. tradetime:
  1702. description: 成交时间
  1703. type: string
  1704. updatetime:
  1705. description: 更新时间
  1706. type: string
  1707. required:
  1708. - asapplyid
  1709. - buyorsell
  1710. - goodscode
  1711. - goodsgroupid
  1712. - goodsgroupname
  1713. - goodsname
  1714. - tradeid
  1715. type: object
  1716. erms2.QuerySpotContractRsp:
  1717. properties:
  1718. accountid:
  1719. description: 资金账户ID
  1720. type: integer
  1721. areauserid:
  1722. description: 所属机构
  1723. type: integer
  1724. closedate:
  1725. description: 终止日期
  1726. type: string
  1727. closeremark:
  1728. description: 结束备注
  1729. type: string
  1730. closetradedate:
  1731. description: 完结交易日(yyyyMMdd)
  1732. type: string
  1733. closetype:
  1734. description: 终止类型 - 1:违约 2:提前终止
  1735. type: integer
  1736. contractamount:
  1737. description: 合同金额
  1738. type: number
  1739. contractattachment:
  1740. description: 合同附件
  1741. type: string
  1742. contractno:
  1743. description: 现货合同编号
  1744. type: string
  1745. contractqty:
  1746. description: 合同数量(数值) (用于计算)
  1747. type: number
  1748. contractqtychar:
  1749. description: 合同数量\已订价数量 (用于显示)
  1750. type: string
  1751. contractstatus:
  1752. description: 合同状态 - 0:未结束 1:已结束
  1753. type: integer
  1754. contracttype:
  1755. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1756. type: integer
  1757. customeraccountid:
  1758. description: 客户资金账户ID
  1759. type: integer
  1760. customeruserid:
  1761. description: 客户ID
  1762. type: integer
  1763. deliverygoodsdesc:
  1764. description: 品种说明
  1765. type: string
  1766. deliverygoodsid:
  1767. description: 现货品种ID
  1768. type: integer
  1769. handlestatus:
  1770. description: 处理状态
  1771. type: integer
  1772. invoiceatt:
  1773. description: 发票附件
  1774. type: string
  1775. invoicedatetime:
  1776. description: 开收票更新时间
  1777. type: string
  1778. invoiceopentime:
  1779. description: 开票时间
  1780. type: string
  1781. invoiceremark:
  1782. description: 发票备注
  1783. type: string
  1784. invoicestatus:
  1785. description: 开收票状态 - 0:未开票 1:已开票
  1786. type: integer
  1787. lastdate:
  1788. description: 交货时间
  1789. type: string
  1790. marketid:
  1791. description: 市场ID
  1792. type: integer
  1793. paydatetime:
  1794. description: 收付款更新时间
  1795. type: string
  1796. payremark:
  1797. description: 收付款备注
  1798. type: string
  1799. paystatus:
  1800. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1801. type: integer
  1802. positionqty:
  1803. description: 头寸数量 - 合同数量去小数部分
  1804. type: integer
  1805. producttype:
  1806. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1807. type: integer
  1808. relatedqty:
  1809. description: 已关联数量
  1810. type: number
  1811. relatedstatus:
  1812. description: 关联完结状态 - 0:未结束 1:已结束
  1813. type: integer
  1814. remark:
  1815. description: 备注
  1816. type: string
  1817. signdate:
  1818. description: 签订日期
  1819. type: string
  1820. spotcontractid:
  1821. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1822. type: string
  1823. spotdatetime:
  1824. description: 收发货更新时间
  1825. type: string
  1826. spotprice:
  1827. description: 价格
  1828. type: number
  1829. spotremark:
  1830. description: 收发货备注
  1831. type: string
  1832. spotstatus:
  1833. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1834. type: integer
  1835. tradedate:
  1836. description: 交易日(yyyyMMdd)
  1837. type: string
  1838. userid:
  1839. description: 业务员用户ID
  1840. type: integer
  1841. warehouseid:
  1842. description: 仓库ID
  1843. type: integer
  1844. wrfactortypeid:
  1845. description: 仓单要素类型ID
  1846. type: integer
  1847. wrstandardid:
  1848. description: 仓单标准ID(SEQ_WRSTANDARD)
  1849. type: integer
  1850. required:
  1851. - spotcontractid
  1852. type: object
  1853. erms3.AddErms2ASApplyReq:
  1854. properties:
  1855. applybasis:
  1856. description: 申请基差
  1857. type: number
  1858. applystatus:
  1859. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1860. type: integer
  1861. asapplyid:
  1862. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1863. type: integer
  1864. asname:
  1865. description: 策略名称
  1866. type: string
  1867. asno:
  1868. description: 策略编号
  1869. type: string
  1870. auditid:
  1871. description: 审核人
  1872. type: integer
  1873. auditremark:
  1874. description: 审核备注
  1875. type: string
  1876. audittime:
  1877. description: 审核时间
  1878. type: string
  1879. biztype:
  1880. description: 业务类型 - 1:正向套利 2:反向套利
  1881. type: integer
  1882. createtime:
  1883. description: 创建时间
  1884. type: string
  1885. creatorid:
  1886. description: 创建人
  1887. type: integer
  1888. deliverygoodsid:
  1889. description: 现货品种ID
  1890. type: integer
  1891. futurequote:
  1892. description: 期货额度
  1893. type: number
  1894. goodsgroupid:
  1895. description: 期货品种ID
  1896. type: integer
  1897. marketid:
  1898. description: 市场ID
  1899. type: integer
  1900. remark:
  1901. description: 备注
  1902. type: string
  1903. spotquota:
  1904. description: 现货额度
  1905. type: number
  1906. tradedate:
  1907. description: 交易日(yyyyMMdd)
  1908. type: string
  1909. userid:
  1910. description: 所属机构
  1911. type: integer
  1912. required:
  1913. - asapplyid
  1914. type: object
  1915. erms3.AddErms2SpotTradeApplyReq:
  1916. properties:
  1917. applyjsondetail:
  1918. description: 申请明细(JSON)
  1919. type: string
  1920. applystatus:
  1921. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1922. type: integer
  1923. areauserid:
  1924. description: 所属机构
  1925. type: integer
  1926. auditid:
  1927. description: 审核人
  1928. type: integer
  1929. auditremark:
  1930. description: 审核备注
  1931. type: string
  1932. audittime:
  1933. description: 审核时间
  1934. type: string
  1935. createtime:
  1936. description: 创建时间
  1937. type: string
  1938. creatorid:
  1939. description: 创建人
  1940. type: integer
  1941. deliverygoodsid:
  1942. description: 现货品种ID
  1943. type: integer
  1944. futureaccountid:
  1945. description: 期货资金账户
  1946. type: integer
  1947. goodsgroupid:
  1948. description: 期货品种
  1949. type: integer
  1950. marketid:
  1951. description: 市场ID
  1952. type: integer
  1953. remark:
  1954. description: 备注
  1955. type: string
  1956. spotaccountid:
  1957. description: 现货资金账户
  1958. type: integer
  1959. spottradeid:
  1960. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1961. type: integer
  1962. spottradename:
  1963. description: 业务名称
  1964. type: string
  1965. spottradeno:
  1966. description: 业务编号
  1967. type: string
  1968. tradedate:
  1969. description: 交易日(yyyyMMdd)
  1970. type: string
  1971. wrstandardid:
  1972. description: 仓单标准ID
  1973. type: integer
  1974. required:
  1975. - spottradeid
  1976. type: object
  1977. erms3.AddSpotContractApplyReq:
  1978. properties:
  1979. accountid:
  1980. description: 资金账户ID
  1981. type: integer
  1982. areauserid:
  1983. description: 所属机构
  1984. type: integer
  1985. contractattachment:
  1986. description: 合同附件
  1987. type: string
  1988. contractno:
  1989. description: 现货合同编号
  1990. type: string
  1991. contracttype:
  1992. description: 现货合同类型 - 1:采购 -1:销售
  1993. type: integer
  1994. creatorid:
  1995. description: 申请人
  1996. type: integer
  1997. customeraccountid:
  1998. description: 客户资金账户ID
  1999. type: integer
  2000. customeruserid:
  2001. description: 客户ID
  2002. type: integer
  2003. details:
  2004. description: 明细
  2005. items:
  2006. $ref: '#/definitions/erms3.SoptContractDetail'
  2007. type: array
  2008. orimargin:
  2009. description: 初始保证金
  2010. type: number
  2011. remark:
  2012. description: 备注
  2013. type: string
  2014. signdate:
  2015. description: 签订日期
  2016. type: string
  2017. required:
  2018. - accountid
  2019. - areauserid
  2020. - contractno
  2021. - contracttype
  2022. - customeraccountid
  2023. - customeruserid
  2024. - details
  2025. - orimargin
  2026. - signdate
  2027. type: object
  2028. erms3.AddSpotContractApplyRsp:
  2029. properties:
  2030. contractno:
  2031. description: 现货合同编号
  2032. type: string
  2033. spotcontractid:
  2034. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2035. type: integer
  2036. required:
  2037. - contractno
  2038. type: object
  2039. erms3.AddUserInfoApplyReq:
  2040. properties:
  2041. accountid:
  2042. description: 交易系统帐号Id (加密存储)
  2043. type: integer
  2044. areacode:
  2045. description: 机构代码
  2046. type: string
  2047. areaid:
  2048. description: 机构Id
  2049. type: integer
  2050. attachment1:
  2051. description: 附件1
  2052. type: string
  2053. attachment2:
  2054. description: 附件2
  2055. type: string
  2056. attachment3:
  2057. description: 附件3
  2058. type: string
  2059. attachment4:
  2060. description: 附件4
  2061. type: string
  2062. attachment5:
  2063. description: 附件5
  2064. type: string
  2065. auditedby:
  2066. description: 审核人
  2067. type: string
  2068. auditime:
  2069. description: 审核时间
  2070. type: string
  2071. bankaccount:
  2072. description: 银行帐号 (加密存储)
  2073. type: string
  2074. bankaccountname:
  2075. description: 收款人名称
  2076. type: string
  2077. bankcardbackphotourl:
  2078. description: 银行卡背面照地址
  2079. type: string
  2080. bankcardfrontphotourl:
  2081. description: 银行卡正面照地址
  2082. type: string
  2083. bankid:
  2084. description: 银行编码
  2085. type: string
  2086. bankname:
  2087. description: 银行名称
  2088. type: string
  2089. bankpictureurl:
  2090. description: 银行卡正面地址
  2091. type: string
  2092. biznature:
  2093. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2094. type: integer
  2095. bizscope:
  2096. description: 企业经营范围(企业)
  2097. type: string
  2098. biztype:
  2099. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2100. type: integer
  2101. brokerid:
  2102. description: 经纪人ID(加密存储)
  2103. type: string
  2104. cardaddress:
  2105. description: 证件地址 (加密存储)
  2106. type: string
  2107. cardbackphotourl:
  2108. description: 背面证件照地址
  2109. type: string
  2110. cardfrontphotourl:
  2111. description: 正面证件照地址
  2112. type: string
  2113. cardnum:
  2114. description: 证件号码 (加密存储)
  2115. type: string
  2116. cardtype:
  2117. description: 证件类型
  2118. type: integer
  2119. cityid:
  2120. description: 市
  2121. type: integer
  2122. company:
  2123. description: 公司(个人)
  2124. type: string
  2125. contactcardbackphotourl:
  2126. description: 联系人证件背面图片地址
  2127. type: string
  2128. contactcardfrontphotourl:
  2129. description: 联系人证件正面图片地址
  2130. type: string
  2131. contactname:
  2132. description: 联系人
  2133. type: string
  2134. countryid:
  2135. description: 国家
  2136. type: integer
  2137. createtime:
  2138. description: 开户申请时间
  2139. type: string
  2140. cusbankid:
  2141. description: 签约类型
  2142. type: string
  2143. cusbankname:
  2144. description: 签约类型名称
  2145. type: string
  2146. customername:
  2147. description: 客户名称(企业名称)
  2148. type: string
  2149. districtid:
  2150. description: 地区
  2151. type: integer
  2152. email:
  2153. description: Email地址(加密存储)
  2154. type: string
  2155. halfbodyphotourl:
  2156. description: 半身照地址
  2157. type: string
  2158. headurl:
  2159. description: 头像地址
  2160. type: string
  2161. ipaddress:
  2162. description: IP地址
  2163. type: string
  2164. isvalidate:
  2165. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2166. type: string
  2167. legalcardbackphotourl:
  2168. description: 法人身份证背面照地址
  2169. type: string
  2170. legalcardfrontphotourl:
  2171. description: 法人身份证正面照地址
  2172. type: string
  2173. legalpersonname:
  2174. description: 法人姓名(企业)
  2175. type: string
  2176. logincode:
  2177. description: 登录帐号 (加密存储)
  2178. type: string
  2179. memberareaid:
  2180. description: 所属会员ID
  2181. type: integer
  2182. mobile2:
  2183. description: 手机号码[明文-尚志]
  2184. type: string
  2185. mobilephone:
  2186. description: 手机号码 (加密存储)
  2187. type: string
  2188. modifiedby:
  2189. description: 修改人帐号
  2190. type: integer
  2191. modifiedtime:
  2192. description: 修改时间
  2193. type: string
  2194. nickname:
  2195. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2196. type: string
  2197. openmode:
  2198. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2199. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2200. type: integer
  2201. otherurl:
  2202. description: 其它图片地址[使用分号分隔]
  2203. type: string
  2204. postalcode:
  2205. description: 邮政编码
  2206. type: string
  2207. provinceid:
  2208. description: 省
  2209. type: integer
  2210. proxystatementurl:
  2211. description: 授权委托书
  2212. type: string
  2213. qq:
  2214. description: QQ(加密存储
  2215. type: string
  2216. referral:
  2217. description: 推荐人编码
  2218. type: string
  2219. remark:
  2220. description: 备注
  2221. type: string
  2222. removebeforestatus:
  2223. description: REMOVEBEFORESTATUS
  2224. type: integer
  2225. sex:
  2226. description: 性别 - 0:女 1:男
  2227. type: integer
  2228. signedstatus:
  2229. description: 账户一号签签约状态
  2230. type: integer
  2231. signpdfurl:
  2232. description: 签约pdf文件
  2233. type: string
  2234. subbranch:
  2235. description: 开户支行
  2236. type: string
  2237. telphone:
  2238. description: 联系电话(加密存储)
  2239. type: string
  2240. userid:
  2241. description: 用户ID(自增ID)
  2242. type: integer
  2243. userinfotype:
  2244. description: 用户信息类型 - 1:个人 2:企业
  2245. type: integer
  2246. username:
  2247. description: 用户姓名
  2248. type: string
  2249. userstate:
  2250. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2251. type: integer
  2252. usertype:
  2253. description: 用户类型 - 1:投资者 2:机构
  2254. type: integer
  2255. videourl:
  2256. description: 视频地址
  2257. type: string
  2258. wechat:
  2259. description: 微信号 (加密存储)
  2260. type: string
  2261. required:
  2262. - userid
  2263. type: object
  2264. erms3.CustomerInfo:
  2265. properties:
  2266. accountids:
  2267. description: 资金账户ID列表
  2268. items:
  2269. type: integer
  2270. type: array
  2271. customername:
  2272. description: 名称(企业名称)
  2273. type: string
  2274. mobile:
  2275. description: 手机号码
  2276. type: string
  2277. userid:
  2278. description: 用户ID
  2279. type: integer
  2280. required:
  2281. - userid
  2282. type: object
  2283. erms3.ModifyUserInfoApplyReq:
  2284. properties:
  2285. accountid:
  2286. description: 交易系统帐号Id (加密存储)
  2287. type: integer
  2288. areacode:
  2289. description: 机构代码
  2290. type: string
  2291. areaid:
  2292. description: 机构Id
  2293. type: integer
  2294. attachment1:
  2295. description: 附件1
  2296. type: string
  2297. attachment2:
  2298. description: 附件2
  2299. type: string
  2300. attachment3:
  2301. description: 附件3
  2302. type: string
  2303. attachment4:
  2304. description: 附件4
  2305. type: string
  2306. attachment5:
  2307. description: 附件5
  2308. type: string
  2309. auditedby:
  2310. description: 审核人
  2311. type: string
  2312. auditime:
  2313. description: 审核时间
  2314. type: string
  2315. bankaccount:
  2316. description: 银行帐号 (加密存储)
  2317. type: string
  2318. bankaccountname:
  2319. description: 收款人名称
  2320. type: string
  2321. bankcardbackphotourl:
  2322. description: 银行卡背面照地址
  2323. type: string
  2324. bankcardfrontphotourl:
  2325. description: 银行卡正面照地址
  2326. type: string
  2327. bankid:
  2328. description: 银行编码
  2329. type: string
  2330. bankname:
  2331. description: 银行名称
  2332. type: string
  2333. bankpictureurl:
  2334. description: 银行卡正面地址
  2335. type: string
  2336. biznature:
  2337. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2338. type: integer
  2339. bizscope:
  2340. description: 企业经营范围(企业)
  2341. type: string
  2342. biztype:
  2343. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2344. type: integer
  2345. brokerid:
  2346. description: 经纪人ID(加密存储)
  2347. type: string
  2348. cardaddress:
  2349. description: 证件地址 (加密存储)
  2350. type: string
  2351. cardbackphotourl:
  2352. description: 背面证件照地址
  2353. type: string
  2354. cardfrontphotourl:
  2355. description: 正面证件照地址
  2356. type: string
  2357. cardnum:
  2358. description: 证件号码 (加密存储)
  2359. type: string
  2360. cardtype:
  2361. description: 证件类型
  2362. type: integer
  2363. cityid:
  2364. description: 市
  2365. type: integer
  2366. company:
  2367. description: 公司(个人)
  2368. type: string
  2369. contactcardbackphotourl:
  2370. description: 联系人证件背面图片地址
  2371. type: string
  2372. contactcardfrontphotourl:
  2373. description: 联系人证件正面图片地址
  2374. type: string
  2375. contactname:
  2376. description: 联系人
  2377. type: string
  2378. countryid:
  2379. description: 国家
  2380. type: integer
  2381. createtime:
  2382. description: 开户申请时间
  2383. type: string
  2384. cusbankid:
  2385. description: 签约类型
  2386. type: string
  2387. cusbankname:
  2388. description: 签约类型名称
  2389. type: string
  2390. customername:
  2391. description: 客户名称(企业名称)
  2392. type: string
  2393. districtid:
  2394. description: 地区
  2395. type: integer
  2396. email:
  2397. description: Email地址(加密存储)
  2398. type: string
  2399. halfbodyphotourl:
  2400. description: 半身照地址
  2401. type: string
  2402. headurl:
  2403. description: 头像地址
  2404. type: string
  2405. ipaddress:
  2406. description: IP地址
  2407. type: string
  2408. isvalidate:
  2409. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2410. type: string
  2411. legalcardbackphotourl:
  2412. description: 法人身份证背面照地址
  2413. type: string
  2414. legalcardfrontphotourl:
  2415. description: 法人身份证正面照地址
  2416. type: string
  2417. legalpersonname:
  2418. description: 法人姓名(企业)
  2419. type: string
  2420. logincode:
  2421. description: 登录帐号 (加密存储)
  2422. type: string
  2423. memberareaid:
  2424. description: 所属会员ID
  2425. type: integer
  2426. mobile2:
  2427. description: 手机号码[明文-尚志]
  2428. type: string
  2429. mobilephone:
  2430. description: 手机号码 (加密存储)
  2431. type: string
  2432. modifiedby:
  2433. description: 修改人帐号
  2434. type: integer
  2435. modifiedtime:
  2436. description: 修改时间
  2437. type: string
  2438. nickname:
  2439. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2440. type: string
  2441. openmode:
  2442. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2443. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2444. type: integer
  2445. otherurl:
  2446. description: 其它图片地址[使用分号分隔]
  2447. type: string
  2448. postalcode:
  2449. description: 邮政编码
  2450. type: string
  2451. provinceid:
  2452. description: 省
  2453. type: integer
  2454. proxystatementurl:
  2455. description: 授权委托书
  2456. type: string
  2457. qq:
  2458. description: QQ(加密存储
  2459. type: string
  2460. referral:
  2461. description: 推荐人编码
  2462. type: string
  2463. remark:
  2464. description: 备注
  2465. type: string
  2466. removebeforestatus:
  2467. description: REMOVEBEFORESTATUS
  2468. type: integer
  2469. sex:
  2470. description: 性别 - 0:女 1:男
  2471. type: integer
  2472. signedstatus:
  2473. description: 账户一号签签约状态
  2474. type: integer
  2475. signpdfurl:
  2476. description: 签约pdf文件
  2477. type: string
  2478. subbranch:
  2479. description: 开户支行
  2480. type: string
  2481. telphone:
  2482. description: 联系电话(加密存储)
  2483. type: string
  2484. userid:
  2485. description: 用户ID(自增ID)
  2486. type: integer
  2487. userinfotype:
  2488. description: 用户信息类型 - 1:个人 2:企业
  2489. type: integer
  2490. username:
  2491. description: 用户姓名
  2492. type: string
  2493. userstate:
  2494. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2495. type: integer
  2496. usertype:
  2497. description: 用户类型 - 1:投资者 2:机构
  2498. type: integer
  2499. videourl:
  2500. description: 视频地址
  2501. type: string
  2502. wechat:
  2503. description: 微信号 (加密存储)
  2504. type: string
  2505. required:
  2506. - userid
  2507. type: object
  2508. erms3.QryAuditContractRsp:
  2509. properties:
  2510. accountid:
  2511. description: 交易员ID
  2512. type: string
  2513. applystatus:
  2514. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2515. type: integer
  2516. curdeliveryqty:
  2517. description: 未交收量
  2518. type: integer
  2519. customername:
  2520. description: 采购方ID
  2521. type: string
  2522. deliverygoodsid:
  2523. description: 品种ID
  2524. type: string
  2525. deliveryqty:
  2526. description: 交收量
  2527. type: integer
  2528. enumdicname:
  2529. description: 单位名称
  2530. type: string
  2531. matchaccountid:
  2532. description: 业务员ID
  2533. type: string
  2534. matchcustomername:
  2535. description: 销售方ID
  2536. type: string
  2537. pricedqty:
  2538. description: 定价量
  2539. type: number
  2540. signdate:
  2541. description: 签订日期
  2542. type: string
  2543. spotcontractid:
  2544. description: 合同ID
  2545. type: string
  2546. totaldqty:
  2547. description: 合同量
  2548. type: number
  2549. unpricedqty:
  2550. description: 未定价量
  2551. type: number
  2552. wrstandardname:
  2553. description: 商品名称
  2554. type: string
  2555. required:
  2556. - matchcustomername
  2557. - spotcontractid
  2558. type: object
  2559. erms3.QryPendingBizRsp:
  2560. $ref: '#/definitions/models.PendingAuditBizModel'
  2561. erms3.QueryBusinessInfoRsp:
  2562. properties:
  2563. businessid:
  2564. description: 业务ID.
  2565. type: integer
  2566. buyamount:
  2567. description: 采购额.
  2568. type: number
  2569. buyqty:
  2570. description: 采购量.
  2571. type: string
  2572. futurepl:
  2573. description: 期货盈亏.
  2574. type: number
  2575. futureqty:
  2576. description: 期货敞口.
  2577. type: string
  2578. goodsid:
  2579. description: 商品名称/商品代码.
  2580. type: string
  2581. hedgingqty:
  2582. description: 套保量.
  2583. type: string
  2584. sellamount:
  2585. description: 销售额.
  2586. type: number
  2587. sellqty:
  2588. description: 销售量.
  2589. type: string
  2590. spotmarketvalue:
  2591. description: 现货市值.
  2592. type: number
  2593. spotpl:
  2594. description: 浮动权益.
  2595. type: number
  2596. spotqty:
  2597. description: 现货量.
  2598. type: string
  2599. statu:
  2600. description: 状态,0-未结束 1-已结束.
  2601. type: integer
  2602. totalpl:
  2603. description: 总盈亏.
  2604. type: number
  2605. totalqty:
  2606. description: 总敞口.
  2607. type: string
  2608. type:
  2609. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2610. type: integer
  2611. type: object
  2612. erms3.QuerySpotContractAppleFormRsp:
  2613. properties:
  2614. goodses:
  2615. description: 合约列表
  2616. items:
  2617. $ref: '#/definitions/models.GoodsIDAndName'
  2618. type: array
  2619. oppositeusers:
  2620. description: 对方账号列表
  2621. items:
  2622. $ref: '#/definitions/erms3.CustomerInfo'
  2623. type: array
  2624. ouruser:
  2625. $ref: '#/definitions/erms3.CustomerInfo'
  2626. description: 我方账号
  2627. type: object
  2628. warehouseinfos:
  2629. description: 仓库信息列表
  2630. items:
  2631. $ref: '#/definitions/models.Warehouseinfo'
  2632. type: array
  2633. wrstandards:
  2634. description: 仓单标准列表
  2635. items:
  2636. $ref: '#/definitions/models.WRStandardInfo'
  2637. type: array
  2638. type: object
  2639. erms3.QuerySpotContractInfoRsp:
  2640. properties:
  2641. accountid:
  2642. description: 表示交易员ID.
  2643. type: integer
  2644. curdeliveryqty:
  2645. description: 表示未交收量.
  2646. type: number
  2647. customername:
  2648. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2649. type: string
  2650. deliverygoodsid:
  2651. description: 表示品种ID.
  2652. type: string
  2653. deliveryqty:
  2654. description: 表示交收量.
  2655. type: number
  2656. matchaccountid:
  2657. description: 表示业务员ID.
  2658. type: integer
  2659. matchcustomername:
  2660. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2661. type: string
  2662. priceqty:
  2663. description: 表示定价量.
  2664. type: number
  2665. relatedbizid:
  2666. description: 表示业务ID.
  2667. type: string
  2668. signdate:
  2669. description: 表示签订日期.
  2670. type: string
  2671. spotcontractid:
  2672. description: 合同ID
  2673. type: string
  2674. status:
  2675. description: 表示状态,0-履约中 1-已完成.
  2676. type: integer
  2677. totalqty:
  2678. description: 表示合同量.
  2679. type: number
  2680. unpricedqty:
  2681. description: 表示未定价量.
  2682. type: number
  2683. wrstandardname:
  2684. description: 表示商品ID.
  2685. type: string
  2686. type: object
  2687. erms3.QueryUserInfoAppliesRsp:
  2688. properties:
  2689. biznature:
  2690. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2691. type: integer
  2692. contactname:
  2693. description: 联系人
  2694. type: string
  2695. createtime:
  2696. description: 开户申请时间
  2697. type: string
  2698. userid:
  2699. description: 用户ID(自增ID)
  2700. type: integer
  2701. userinfotype:
  2702. description: 用户信息类型 - 1:个人 2:企业
  2703. type: integer
  2704. username:
  2705. description: 用户姓名
  2706. type: string
  2707. userstate:
  2708. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2709. type: integer
  2710. required:
  2711. - userid
  2712. type: object
  2713. erms3.QueryUserInfosRsp:
  2714. properties:
  2715. biznature:
  2716. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2717. type: integer
  2718. contactname:
  2719. description: 联系人
  2720. type: string
  2721. customername:
  2722. description: 客户名称(企业名称)
  2723. type: string
  2724. userid:
  2725. description: 用户ID
  2726. type: integer
  2727. userinfotype:
  2728. description: 用户信息类型 - 1:个人 2:企业
  2729. type: integer
  2730. userstatus:
  2731. description: 用户状态 - 1:正常 2:注销
  2732. type: integer
  2733. required:
  2734. - userid
  2735. type: object
  2736. erms3.SoptContractDetail:
  2737. properties:
  2738. deliverygoodsdesc:
  2739. description: 现货品种说明
  2740. type: string
  2741. deliverygoodsid:
  2742. description: 现货品种ID
  2743. type: integer
  2744. deliverygoodsname:
  2745. description: 现货品种名称
  2746. type: string
  2747. pointdesc:
  2748. description: 点价描述
  2749. type: string
  2750. producttype:
  2751. description: 产品类型 1:标准仓单 2:等标 3:非标
  2752. type: integer
  2753. producttypename:
  2754. description: 产品类型名称
  2755. type: string
  2756. spotPointOrderVoList:
  2757. description: 点价列表
  2758. items:
  2759. $ref: '#/definitions/erms3.SpotPointOrder'
  2760. type: array
  2761. spotPriceOrderList:
  2762. description: 定价列表
  2763. items:
  2764. $ref: '#/definitions/erms3.SpotPriceOrder'
  2765. type: array
  2766. unitname:
  2767. description: 单位名称
  2768. type: string
  2769. warehouseid:
  2770. description: 仓库ID
  2771. type: integer
  2772. warehousename:
  2773. description: 仓库名称
  2774. type: string
  2775. wrstandardid:
  2776. description: 交易标的ID
  2777. type: integer
  2778. wrstandardname:
  2779. description: 交易标的名称
  2780. type: string
  2781. required:
  2782. - deliverygoodsid
  2783. - producttype
  2784. - unitname
  2785. - warehouseid
  2786. - wrstandardid
  2787. - wrstandardname
  2788. type: object
  2789. erms3.SpotPointOrder:
  2790. properties:
  2791. basic:
  2792. description: 基差
  2793. type: number
  2794. deliveryenddate:
  2795. description: 交收结束日期
  2796. type: string
  2797. deliverystartdate:
  2798. description: 交收开始日期
  2799. type: string
  2800. enddate:
  2801. description: 点价结束日期
  2802. type: string
  2803. goodsid:
  2804. description: 商品ID
  2805. type: integer
  2806. goodsname:
  2807. description: 商品名称
  2808. type: string
  2809. qty:
  2810. description: 数量
  2811. type: number
  2812. startdate:
  2813. description: 点价开始日期
  2814. type: string
  2815. required:
  2816. - basic
  2817. - goodsid
  2818. - qty
  2819. type: object
  2820. erms3.SpotPriceOrder:
  2821. properties:
  2822. amount:
  2823. description: 金额
  2824. type: number
  2825. deliveryenddate:
  2826. description: 交收结束日期
  2827. type: string
  2828. deliverystartdate:
  2829. description: 交收开始日期
  2830. type: string
  2831. price:
  2832. description: 价格
  2833. type: number
  2834. qty:
  2835. description: 数量
  2836. type: number
  2837. required:
  2838. - amount
  2839. - price
  2840. - qty
  2841. type: object
  2842. hsby.GetHsbyMyCountRsp:
  2843. properties:
  2844. myCouponCount:
  2845. description: 我的优惠卷数量
  2846. type: integer
  2847. myOrderDetailListingCount:
  2848. description: 我的订单求购中数量
  2849. type: integer
  2850. myOrderDetailPreCount:
  2851. description: 我的订单抢购中数量
  2852. type: integer
  2853. myPackageUnReceiveCount:
  2854. description: 我的包裹待收货数量
  2855. type: integer
  2856. myPackageUnSendCount:
  2857. description: 我的包裹待发货数量
  2858. type: integer
  2859. myPayOrderCount:
  2860. description: 我的订单待付款数量
  2861. type: integer
  2862. type: object
  2863. hsby.QueryProvincesAndCitiesRsp:
  2864. properties:
  2865. cities:
  2866. description: 市
  2867. items:
  2868. $ref: '#/definitions/models.Division'
  2869. type: array
  2870. province:
  2871. $ref: '#/definitions/models.Division'
  2872. description: 省
  2873. type: object
  2874. type: object
  2875. models.AreaSpotModel:
  2876. properties:
  2877. areauserid:
  2878. description: 所属机构
  2879. type: integer
  2880. decreaseqty:
  2881. description: 减少数量=-(销售已定价数量+采购计划数量)
  2882. type: number
  2883. increaseqty:
  2884. description: 增加数量=销售计划数量+采购已定价数量
  2885. type: number
  2886. oritoalspotqty:
  2887. description: 昨日数量
  2888. type: number
  2889. totalspotqty:
  2890. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2891. type: number
  2892. updatetime:
  2893. description: 更新时间
  2894. type: string
  2895. wrstandardcode:
  2896. description: 现货品种代码
  2897. type: string
  2898. wrstandardid:
  2899. description: 现货商品ID
  2900. type: integer
  2901. wrstandardname:
  2902. description: 现货品种
  2903. type: string
  2904. type: object
  2905. models.Clientfixedadconfig:
  2906. properties:
  2907. adsort:
  2908. description: 排序
  2909. type: integer
  2910. adtype:
  2911. description: 广告位类型 - 1:新品抢购(HSBY)
  2912. type: integer
  2913. areauserid:
  2914. description: 所属机构ID
  2915. type: integer
  2916. createdate:
  2917. description: 创建时间
  2918. type: string
  2919. creatorid:
  2920. description: 创建人
  2921. type: integer
  2922. imagepath:
  2923. description: 图片
  2924. type: string
  2925. isshow:
  2926. description: 是否展示 - 0:不展示 1:展示
  2927. type: integer
  2928. modifierid:
  2929. description: 操作人
  2930. type: integer
  2931. recsize:
  2932. description: 推荐尺寸
  2933. type: string
  2934. title:
  2935. description: 标题
  2936. type: string
  2937. updatedate:
  2938. description: 更新时间
  2939. type: string
  2940. urlcontent:
  2941. description: 链接(地址或商品ID)
  2942. type: string
  2943. urltype:
  2944. description: 链接类型 - 1:直接地址 2:商品ID
  2945. type: integer
  2946. required:
  2947. - adsort
  2948. - adtype
  2949. type: object
  2950. models.Division:
  2951. properties:
  2952. autoid:
  2953. description: 自增ID
  2954. type: integer
  2955. divisioncode:
  2956. description: 行政代码
  2957. type: string
  2958. divisionlevel:
  2959. description: 行政级别
  2960. type: string
  2961. divisionname:
  2962. description: 行政名称
  2963. type: string
  2964. modifierid:
  2965. description: 修改人
  2966. type: integer
  2967. modifytime:
  2968. description: 修改时间
  2969. type: string
  2970. parentcode:
  2971. description: 上级行政代码
  2972. type: string
  2973. pathname:
  2974. description: 路径名称
  2975. type: string
  2976. postcode:
  2977. description: 邮政编码
  2978. type: string
  2979. separablename:
  2980. description: 可拆分的全称
  2981. type: string
  2982. shortcode:
  2983. description: 地区简码
  2984. type: string
  2985. required:
  2986. - autoid
  2987. - divisioncode
  2988. type: object
  2989. models.Enumdicitem:
  2990. properties:
  2991. autoid:
  2992. description: 自增ID
  2993. type: integer
  2994. bankmappedvalue:
  2995. description: 银行服务对应值
  2996. type: string
  2997. enumdiccode:
  2998. description: 所属枚举代码
  2999. type: string
  3000. enumdicid:
  3001. description: 所属枚举ID
  3002. type: integer
  3003. enumdicname:
  3004. description: 枚举项名称
  3005. type: string
  3006. enumitemname:
  3007. description: 枚举项值
  3008. type: integer
  3009. enumitemstatus:
  3010. description: 枚举项状态 - 1.启用 2.不启用
  3011. type: integer
  3012. enumitemvalue:
  3013. description: 通用值 - [币种通用简写]
  3014. type: string
  3015. param1:
  3016. description: 参数1[币种:币种小数位]
  3017. type: string
  3018. param2:
  3019. description: 参数1[币种:币种显示单位]
  3020. type: string
  3021. remark:
  3022. description: 备注
  3023. type: string
  3024. required:
  3025. - autoid
  3026. - enumdiccode
  3027. - enumdicid
  3028. - enumitemname
  3029. type: object
  3030. models.ErmcpAreaSpotDetailModel:
  3031. properties:
  3032. contracttype:
  3033. description: 合同类型 1-采购 -1-销售
  3034. type: integer
  3035. createtime:
  3036. description: 创建时间
  3037. type: string
  3038. enumdicname:
  3039. description: 现货商品单位名称
  3040. type: string
  3041. logtype:
  3042. description: 记录类型 1-套保 2-现货合同
  3043. type: integer
  3044. qty:
  3045. description: 数量
  3046. type: number
  3047. recordname:
  3048. description: 类型名称
  3049. type: string
  3050. relatedid:
  3051. description: 套保计划ID/现货合同ID
  3052. type: string
  3053. relatedno:
  3054. description: 编号
  3055. type: string
  3056. strtime:
  3057. description: 时间
  3058. type: string
  3059. wrstandardcode:
  3060. description: 现货商品代码
  3061. type: string
  3062. wrstandardname:
  3063. description: 现货商品名称
  3064. type: string
  3065. type: object
  3066. models.ErmcpAreaStock:
  3067. properties:
  3068. brandname:
  3069. description: 品牌名称
  3070. type: string
  3071. curstock:
  3072. description: 期末库存量(今日量)
  3073. type: number
  3074. deliverygoodsid:
  3075. description: 现货品种ID
  3076. type: integer
  3077. enumdicname:
  3078. description: 单位名称
  3079. type: string
  3080. modelname:
  3081. description: 型号名称
  3082. type: string
  3083. oristock:
  3084. description: 期初库存量(昨日量)
  3085. type: number
  3086. spotgoodsbrandid:
  3087. description: 现货品牌ID
  3088. type: integer
  3089. spotgoodsmodelid:
  3090. description: 现货型号ID
  3091. type: integer
  3092. todaybuyinqty:
  3093. description: 今日采购入库量
  3094. type: number
  3095. todayproduceinqty:
  3096. description: 今日生产入库量
  3097. type: number
  3098. todayproduceoutqty:
  3099. description: 今日生产出库量
  3100. type: number
  3101. todayselloutqty:
  3102. description: 今日销售出库量
  3103. type: number
  3104. unitid:
  3105. description: 单位id
  3106. type: integer
  3107. updatetime:
  3108. description: 更新时间
  3109. type: string
  3110. userid:
  3111. description: 机构ID
  3112. type: integer
  3113. username:
  3114. description: 机构名称
  3115. type: string
  3116. warehousecode:
  3117. description: 仓库代码
  3118. type: string
  3119. warehouseinfoid:
  3120. description: 仓库ID
  3121. type: string
  3122. warehousename:
  3123. description: 仓库名称
  3124. type: string
  3125. warehousetype:
  3126. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3127. type: integer
  3128. wrstandardcode:
  3129. description: 现货商品代码
  3130. type: string
  3131. wrstandardid:
  3132. description: 现货商品ID
  3133. type: string
  3134. wrstandardname:
  3135. description: 现货商品名称
  3136. type: string
  3137. type: object
  3138. models.ErmcpAreaStockApply:
  3139. properties:
  3140. applyid:
  3141. description: 申请人
  3142. type: integer
  3143. applyname:
  3144. description: 申请人名称
  3145. type: string
  3146. applyremark:
  3147. description: 申请备注
  3148. type: string
  3149. applysrc:
  3150. description: 申请来源 - 1:管理端 2:终端
  3151. type: integer
  3152. applystatus:
  3153. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3154. type: integer
  3155. applytime:
  3156. description: 申请时间
  3157. type: string
  3158. auditid:
  3159. description: 审核人
  3160. type: integer
  3161. auditname:
  3162. description: 审核人名称
  3163. type: string
  3164. auditremark:
  3165. description: 审核备注
  3166. type: string
  3167. auditsrc:
  3168. description: 审核来源 - 1:管理端 2:终端
  3169. type: integer
  3170. audittime:
  3171. description: 审核时间
  3172. type: string
  3173. audittradedate:
  3174. description: 审核交易日(yyyyMMdd)
  3175. type: string
  3176. brandname:
  3177. description: 品牌名称
  3178. type: string
  3179. buyuserid:
  3180. description: 采购方userid
  3181. type: integer
  3182. buyusername:
  3183. description: 采购方名称
  3184. type: string
  3185. contractno:
  3186. description: 合同编号
  3187. type: string
  3188. contractqty:
  3189. description: 合同量
  3190. type: number
  3191. contracttype:
  3192. description: 现货合同类型 - 1:采购 -1:销售
  3193. type: integer
  3194. deliverygoodsid:
  3195. description: 现货品种ID
  3196. type: integer
  3197. enumdicname:
  3198. description: 现货商品单位名称
  3199. type: string
  3200. inoutapplyid:
  3201. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3202. type: string
  3203. inouttype:
  3204. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3205. type: integer
  3206. modelname:
  3207. description: 型号名称
  3208. type: string
  3209. pricetype:
  3210. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3211. type: integer
  3212. qty:
  3213. description: 数量
  3214. type: number
  3215. selluserid:
  3216. description: 销售方userid
  3217. type: integer
  3218. sellusername:
  3219. description: 销售方名称
  3220. type: string
  3221. spotcontractid:
  3222. description: 关联现货合同ID
  3223. type: string
  3224. spotgoodsbrandid:
  3225. description: 现货品牌ID
  3226. type: integer
  3227. spotgoodsmodelid:
  3228. description: 现货型号ID
  3229. type: integer
  3230. unitid:
  3231. description: 单位id
  3232. type: integer
  3233. userid:
  3234. description: 机构ID
  3235. type: integer
  3236. warehousecode:
  3237. description: 仓库代码
  3238. type: string
  3239. warehouseinfoid:
  3240. description: 现货仓库ID
  3241. type: string
  3242. warehousename:
  3243. description: 仓库名称
  3244. type: string
  3245. warehousetype:
  3246. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3247. type: integer
  3248. wrstandardcode:
  3249. description: 现货商品代码
  3250. type: string
  3251. wrstandardid:
  3252. description: 现货商品ID
  3253. type: string
  3254. wrstandardname:
  3255. description: 现货商品名称
  3256. type: string
  3257. type: object
  3258. models.ErmcpAreaStockApplySum:
  3259. properties:
  3260. brandname:
  3261. description: 品牌名称
  3262. type: string
  3263. inouttype:
  3264. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3265. type: integer
  3266. modelname:
  3267. description: 型号名称
  3268. type: string
  3269. spotcontractid:
  3270. description: 关联现货合同ID
  3271. type: string
  3272. spotgoodsbrandid:
  3273. description: 品牌id
  3274. type: integer
  3275. spotgoodsmodelid:
  3276. description: 型号id
  3277. type: integer
  3278. totalqty:
  3279. description: 总数量
  3280. type: number
  3281. type: object
  3282. models.ErmcpAreaStockReport:
  3283. properties:
  3284. brandname:
  3285. description: 品牌名称
  3286. type: string
  3287. curstock:
  3288. description: 期末库存量
  3289. type: number
  3290. deliverygoodsid:
  3291. description: 现货品种ID
  3292. type: integer
  3293. enumdicname:
  3294. description: 单位名称
  3295. type: string
  3296. modelname:
  3297. description: 型号名称
  3298. type: string
  3299. oristock:
  3300. description: 期初库存量
  3301. type: number
  3302. spotgoodsbrandid:
  3303. description: 现货品牌ID
  3304. type: integer
  3305. spotgoodsmodelid:
  3306. description: 现货型号ID
  3307. type: integer
  3308. todaybuyinqty:
  3309. description: 今日采购入库量
  3310. type: number
  3311. todayproduceinqty:
  3312. description: 今日生产入库量
  3313. type: number
  3314. todayproduceoutqty:
  3315. description: 今日生产出库量
  3316. type: number
  3317. todayselloutqty:
  3318. description: 今日销售出库量
  3319. type: number
  3320. unitid:
  3321. description: 单位id
  3322. type: integer
  3323. updatetime:
  3324. description: 更新时间
  3325. type: string
  3326. userid:
  3327. description: 机构ID
  3328. type: integer
  3329. username:
  3330. description: 机构名称
  3331. type: string
  3332. warehousecode:
  3333. description: 仓库代码
  3334. type: string
  3335. warehouseinfoid:
  3336. description: 仓库ID
  3337. type: string
  3338. warehousename:
  3339. description: 仓库名称
  3340. type: string
  3341. warehousetype:
  3342. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3343. type: integer
  3344. wrstandardcode:
  3345. description: 现货商品代码
  3346. type: string
  3347. wrstandardid:
  3348. description: 现货商品ID
  3349. type: string
  3350. wrstandardname:
  3351. description: 现货商品名称
  3352. type: string
  3353. type: object
  3354. models.ErmcpAvalidGoodsGroupModel:
  3355. properties:
  3356. goodsgroupid:
  3357. description: 期货品种id
  3358. type: integer
  3359. goodsgroupname:
  3360. description: 期货品种名称
  3361. type: string
  3362. goodunitid:
  3363. description: 品种单位id
  3364. type: integer
  3365. goodunitname:
  3366. description: 品种单位名称
  3367. type: string
  3368. outergroupcode:
  3369. description: 期货品种代码
  3370. type: string
  3371. type: object
  3372. models.ErmcpBizGroupEx:
  3373. properties:
  3374. acclist:
  3375. description: 账号列表
  3376. items:
  3377. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  3378. type: array
  3379. bizgroupid:
  3380. description: 业务分组id
  3381. type: integer
  3382. biztype:
  3383. description: 业务类型 1-套保 2-套利
  3384. type: integer
  3385. wrlist:
  3386. description: 现货商品表
  3387. items:
  3388. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  3389. type: array
  3390. type: object
  3391. models.ErmcpBizGroupSpotGoods:
  3392. properties:
  3393. areauserid:
  3394. description: 所属机构id
  3395. type: integer
  3396. bizgroupid:
  3397. description: 分组id
  3398. type: integer
  3399. biztype:
  3400. description: 业务类型 1-套保 2-套利
  3401. type: integer
  3402. deliverygoodscode:
  3403. description: 现货商品代码
  3404. type: string
  3405. deliverygoodsid:
  3406. description: 现货商品id
  3407. type: integer
  3408. deliverygoodsname:
  3409. description: 现货商品名称
  3410. type: string
  3411. unitid:
  3412. description: 现货商品单位id
  3413. type: integer
  3414. type: object
  3415. models.ErmcpBizGroupTaAccount:
  3416. properties:
  3417. accountid:
  3418. description: 账号id
  3419. type: string
  3420. accountname:
  3421. description: 账号名称
  3422. type: string
  3423. areauserid:
  3424. description: 所属机构id
  3425. type: integer
  3426. bizgroupid:
  3427. description: 业务分组id
  3428. type: integer
  3429. ismain:
  3430. description: 是否主账号 1-是 0-否
  3431. type: integer
  3432. type: object
  3433. models.ErmcpBrand:
  3434. properties:
  3435. brandid:
  3436. description: 品牌id
  3437. type: integer
  3438. brandname:
  3439. description: 品牌名称
  3440. type: string
  3441. deliverygoodsid:
  3442. description: 品种ID
  3443. type: integer
  3444. type: object
  3445. models.ErmcpDeliveryGoods:
  3446. properties:
  3447. agreeunit:
  3448. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  3449. type: integer
  3450. areauserid:
  3451. description: 所属机构
  3452. type: integer
  3453. auditflag:
  3454. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  3455. type: integer
  3456. categoryid:
  3457. description: 类别ID(SEQ_WRCATEGORY)
  3458. type: integer
  3459. deliverygoodscode:
  3460. description: 现货品种代码
  3461. type: string
  3462. deliverygoodsid:
  3463. description: 现货品种ID(SEQ_DELIVERYGOODS)
  3464. type: integer
  3465. deliverygoodsname:
  3466. description: 现货品种名称
  3467. type: string
  3468. deliverygoodstype:
  3469. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  3470. type: integer
  3471. dgstatus:
  3472. description: 品种状态 - 作废 - 0:未激活 1:正常
  3473. type: integer
  3474. enumdicname:
  3475. description: 现货品种单位名称
  3476. type: string
  3477. goodsunitid:
  3478. description: 现货品种单位ID
  3479. type: integer
  3480. isvalid:
  3481. description: 是否有效 - 0:无效 1:有效
  3482. type: integer
  3483. qtydecimalplace:
  3484. description: 成交量小数位
  3485. type: integer
  3486. standardqty:
  3487. description: 标准数量(库位数量) [标准品特有]
  3488. type: integer
  3489. standardqtyrange:
  3490. description: 标准数量偏差范围 [标准品特有]
  3491. type: integer
  3492. type: object
  3493. models.ErmcpDeliveryGoodsDetail:
  3494. properties:
  3495. data:
  3496. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  3497. description: 现货商品基本信息(交割品种)
  3498. type: object
  3499. gblist:
  3500. description: 品牌列表
  3501. items:
  3502. $ref: '#/definitions/models.ErmcpBrand'
  3503. type: array
  3504. gmlist:
  3505. description: 品类列表(仓单标准)
  3506. items:
  3507. $ref: '#/definitions/models.ErmcpWrstandard'
  3508. type: array
  3509. goodslist:
  3510. description: 关联交易商品列表
  3511. items:
  3512. $ref: '#/definitions/models.ErmcpRelatedGoods'
  3513. type: array
  3514. wrslist:
  3515. description: 套保信息列表
  3516. items:
  3517. $ref: '#/definitions/models.WRSConverTDetail'
  3518. type: array
  3519. type: object
  3520. models.ErmcpExposureDetailModel:
  3521. properties:
  3522. areauserid:
  3523. description: 机构ID
  3524. type: integer
  3525. changeQty:
  3526. description: 套保变动量
  3527. type: number
  3528. contracttype:
  3529. description: 现货合同类型 - 1:采购 -1:销售
  3530. type: integer
  3531. convertfactor:
  3532. description: 标仓系数
  3533. type: number
  3534. convertratio:
  3535. description: 套保系数
  3536. type: number
  3537. createtime:
  3538. description: 时间
  3539. type: string
  3540. enumdicname:
  3541. description: 现货商品单位名称
  3542. type: string
  3543. logtype:
  3544. description: 类型 - 1:套保计划 2:现货合同
  3545. type: integer
  3546. middlegoodsId:
  3547. description: 套保商品id
  3548. type: integer
  3549. middlegoodscode:
  3550. description: 套保商品代码
  3551. type: string
  3552. middlegoodsname:
  3553. description: 套保商品名称
  3554. type: string
  3555. qty:
  3556. description: 数量
  3557. type: number
  3558. relateNo:
  3559. description: 现货合同/套保计划编号
  3560. type: string
  3561. wrstandardcode:
  3562. description: 现货商品代码
  3563. type: string
  3564. wrstandardid:
  3565. description: 现货商品ID
  3566. type: integer
  3567. wrstandardname:
  3568. description: 现货商品名称
  3569. type: string
  3570. type: object
  3571. models.ErmcpExposurePostion:
  3572. properties:
  3573. agreeunit:
  3574. description: 合约单位
  3575. type: string
  3576. areauserid:
  3577. description: 所属机构id
  3578. type: integer
  3579. convertratio:
  3580. description: 期货品种系数(折算系数)
  3581. type: number
  3582. curqty:
  3583. description: 当前持仓
  3584. type: integer
  3585. diffhedgeqty:
  3586. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  3587. type: number
  3588. diffqty:
  3589. description: 持仓变动量=当前持仓-昨日持仓
  3590. type: integer
  3591. goodscode:
  3592. description: 商品代码
  3593. type: string
  3594. goodsid:
  3595. description: 商品id
  3596. type: integer
  3597. goodsname:
  3598. description: 商品名称
  3599. type: string
  3600. middlegoodsid:
  3601. description: 套保商品id
  3602. type: integer
  3603. ydqty:
  3604. description: 昨日持仓
  3605. type: integer
  3606. type: object
  3607. models.ErmcpFuturesCompany:
  3608. properties:
  3609. brokerid:
  3610. description: 经纪公司代码
  3611. type: string
  3612. channeladdress:
  3613. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  3614. type: string
  3615. channelid:
  3616. description: 对冲渠道ID
  3617. type: string
  3618. createtime:
  3619. description: 创建时间
  3620. type: string
  3621. creatorid:
  3622. description: 创建人
  3623. type: string
  3624. fcid:
  3625. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  3626. type: integer
  3627. fcname:
  3628. description: 期货公司名称
  3629. type: string
  3630. isvalid:
  3631. description: 是否有效 - 0:无效 1:有效
  3632. type: integer
  3633. mhpaddress:
  3634. description: MHP服务地址(IP:Port)
  3635. type: string
  3636. riskrulegroupid:
  3637. description: 风控规则组ID
  3638. type: string
  3639. tradefeetmpid:
  3640. description: 手续费模板ID[TradeConfigTmpType为2]
  3641. type: string
  3642. trademargintmpid:
  3643. description: 保证金模板ID [TradeConfigTmpType为1]
  3644. type: string
  3645. traderatetmpid:
  3646. description: 汇率模板ID[TradeConfigTmpType为3]
  3647. type: string
  3648. updatetime:
  3649. description: 更新时间
  3650. type: string
  3651. updatorid:
  3652. description: 更新人
  3653. type: string
  3654. type: object
  3655. models.ErmcpGGConvertCfg:
  3656. properties:
  3657. convertratio:
  3658. description: 折算系数
  3659. type: number
  3660. destgoodsgroupid:
  3661. description: 目标品种ID
  3662. type: integer
  3663. dstcode:
  3664. description: 目录品种代码
  3665. type: string
  3666. dstexchangecode:
  3667. description: 目标期货交易所
  3668. type: string
  3669. dstname:
  3670. description: 目标品种名称
  3671. type: string
  3672. dstunitid:
  3673. description: 目标品种单位ID
  3674. type: integer
  3675. dstunitidname:
  3676. description: 目标品种单位名称
  3677. type: string
  3678. modifytime:
  3679. description: 修改时间
  3680. type: string
  3681. srccode:
  3682. description: 源品种代码
  3683. type: string
  3684. srcexchangecode:
  3685. description: 源期货交易所
  3686. type: string
  3687. srcgoodsgroupid:
  3688. description: 源品种ID
  3689. type: integer
  3690. srcname:
  3691. description: 源品种名称
  3692. type: string
  3693. srcunitid:
  3694. description: 源品种单位ID
  3695. type: integer
  3696. srcunitidname:
  3697. description: 源品种单位名称
  3698. type: string
  3699. type: object
  3700. models.ErmcpGoodsBrand:
  3701. properties:
  3702. areauserid:
  3703. description: 所属机构
  3704. type: integer
  3705. brandid:
  3706. description: BrandID(SEQ_SPOTGOODSBRAND)
  3707. type: integer
  3708. brandname:
  3709. description: 品牌名称
  3710. type: string
  3711. createtime:
  3712. description: 创建时间
  3713. type: string
  3714. creatorid:
  3715. description: 创建人
  3716. type: integer
  3717. creatorsrc:
  3718. description: 创建人来源 - 1:管理端 2:终端
  3719. type: integer
  3720. deliverygoodsid:
  3721. description: 现货品种ID
  3722. type: integer
  3723. isvalid:
  3724. description: 是否有效 - 0:无效 1:有效
  3725. type: integer
  3726. updatetime:
  3727. description: 更新时间
  3728. type: string
  3729. updatorid:
  3730. description: 更新人
  3731. type: integer
  3732. updatorsrc:
  3733. description: 更新人来源 - 1:管理端 2:终端
  3734. type: integer
  3735. wrstandardid:
  3736. description: 现货商品ID
  3737. type: integer
  3738. type: object
  3739. models.ErmcpGoodsModel:
  3740. properties:
  3741. areauserid:
  3742. description: 所属机构
  3743. type: integer
  3744. convertfactor:
  3745. description: 标仓系数
  3746. type: number
  3747. createtime:
  3748. description: 创建时间
  3749. type: string
  3750. creatorid:
  3751. description: 创建人
  3752. type: integer
  3753. creatorsrc:
  3754. description: 创建人来源 - 1:管理端 2:终端
  3755. type: integer
  3756. deliverygoodsid:
  3757. description: 现货品种ID
  3758. type: integer
  3759. isvalid:
  3760. description: 是否有效 - 0:无效 1:有效
  3761. type: integer
  3762. modelid:
  3763. description: ModelID(SEQ_SPOTGOODSMODEL)
  3764. type: integer
  3765. modelname:
  3766. description: 型号名称
  3767. type: string
  3768. updatetime:
  3769. description: 更新时间
  3770. type: string
  3771. updatorid:
  3772. description: 更新人
  3773. type: integer
  3774. updatorsrc:
  3775. description: 更新人来源 - 1:管理端 2:终端
  3776. type: integer
  3777. wrstandardid:
  3778. description: 现货商品ID
  3779. type: integer
  3780. type: object
  3781. models.ErmcpHedgePlan:
  3782. properties:
  3783. areauserid:
  3784. description: 用户ID
  3785. type: integer
  3786. audittime:
  3787. description: 审核时间
  3788. type: string
  3789. contracttype:
  3790. description: 计划类型 - 1:采购 -1:销售
  3791. type: integer
  3792. convertfactor:
  3793. description: 标仓系数
  3794. type: number
  3795. createtime:
  3796. description: 创建时间
  3797. type: string
  3798. deliverygoodsid:
  3799. description: 现货品种ID
  3800. type: integer
  3801. deliverygoodsname:
  3802. description: 现货品种名称
  3803. type: string
  3804. enumdicname:
  3805. description: 单位名称
  3806. type: string
  3807. hedgeplanid:
  3808. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  3809. type: string
  3810. hedgeplanno:
  3811. description: 套保计划编号(名称)
  3812. type: string
  3813. hedgeplanstatus:
  3814. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3815. type: integer
  3816. planqty:
  3817. description: 计划数量
  3818. type: number
  3819. plantime:
  3820. description: 计划时间
  3821. type: string
  3822. producttype:
  3823. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3824. type: integer
  3825. remark:
  3826. description: 备注
  3827. type: string
  3828. spotgoodsdesc:
  3829. description: 商品型号
  3830. type: string
  3831. unitid:
  3832. description: 单位id
  3833. type: integer
  3834. updatetime:
  3835. description: 更新时间
  3836. type: string
  3837. wrstandardid:
  3838. description: 现货商品ID
  3839. type: integer
  3840. wrstandardname:
  3841. description: 现货商品名称
  3842. type: string
  3843. type: object
  3844. models.ErmcpHedgePosition:
  3845. properties:
  3846. accountid:
  3847. description: 资金账号[外部母账户]
  3848. type: integer
  3849. curbuyposition:
  3850. description: 期末买头寸
  3851. type: integer
  3852. cursellposition:
  3853. description: 期末卖头寸
  3854. type: integer
  3855. curtdbuyposition:
  3856. description: 期末今日买头寸
  3857. type: integer
  3858. curtdsellposition:
  3859. description: 期末今日卖头寸
  3860. type: integer
  3861. curydbuyposition:
  3862. description: 期末上日买头寸
  3863. type: integer
  3864. curydsellposition:
  3865. description: 期末上日卖头寸
  3866. type: integer
  3867. decreaseqty:
  3868. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  3869. type: integer
  3870. fretdbuyposition:
  3871. description: 冻结今日买头寸
  3872. type: integer
  3873. fretdsellposition:
  3874. description: 冻结今日卖头寸
  3875. type: integer
  3876. freydbuyposition:
  3877. description: 冻结上日买头寸
  3878. type: integer
  3879. freydsellposition:
  3880. description: 冻结上日卖头寸
  3881. type: integer
  3882. goodscode:
  3883. description: 商品代码
  3884. type: string
  3885. goodsid:
  3886. description: 商品id
  3887. type: integer
  3888. goodsname:
  3889. description: 商品名称
  3890. type: string
  3891. hedgeaccountcode:
  3892. description: 对冲账号
  3893. type: string
  3894. hedgegoodsid:
  3895. description: 对冲合约ID
  3896. type: integer
  3897. increaseqty:
  3898. description: 增加数量 = 期末买头寸 - 期初买头寸
  3899. type: integer
  3900. marketid:
  3901. description: 市场ID
  3902. type: integer
  3903. relateduserid:
  3904. description: 关联用户id
  3905. type: integer
  3906. totalcurqty:
  3907. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  3908. type: integer
  3909. totalydqty:
  3910. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  3911. type: integer
  3912. tradedate:
  3913. description: 交易日(yyyyMMdd)
  3914. type: string
  3915. ydbuyposition:
  3916. description: 期初买头寸
  3917. type: integer
  3918. ydsellposition:
  3919. description: 期初卖头寸
  3920. type: integer
  3921. type: object
  3922. models.ErmcpHedgePositionDetail:
  3923. properties:
  3924. buyorsell:
  3925. description: 买卖方向 0-买 1-卖
  3926. type: integer
  3927. channelbuildtype:
  3928. description: 开平方向 1-建仓 2-平仓
  3929. type: integer
  3930. goodscode:
  3931. description: 商品代码
  3932. type: string
  3933. goodsname:
  3934. description: 商品名称
  3935. type: string
  3936. hedgegoodsid:
  3937. description: 商品id
  3938. type: integer
  3939. tradeqty:
  3940. description: 数量(成交数量)
  3941. type: integer
  3942. tradetime:
  3943. description: 时间(成交时间)
  3944. type: string
  3945. type: object
  3946. models.ErmcpHisExposure:
  3947. properties:
  3948. needhedgeexposoure:
  3949. description: 应套保敞口
  3950. type: number
  3951. reckondate:
  3952. description: 日照时期(yyyyMMdd)
  3953. type: string
  3954. totalexposure:
  3955. description: 总敞口
  3956. type: number
  3957. type: object
  3958. models.ErmcpHisExposureS:
  3959. properties:
  3960. data:
  3961. description: 历史敞口
  3962. items:
  3963. $ref: '#/definitions/models.ErmcpHisExposure'
  3964. type: array
  3965. enumdicname:
  3966. description: 单位名称
  3967. type: string
  3968. middlegoodscode:
  3969. description: 套保品种代码
  3970. type: string
  3971. middlegoodsid:
  3972. description: 套保品种ID
  3973. type: integer
  3974. middlegoodsname:
  3975. description: 套保品种名称
  3976. type: string
  3977. type: object
  3978. models.ErmcpLoginUser:
  3979. properties:
  3980. accountname:
  3981. description: 用户名称
  3982. type: string
  3983. clientroleid:
  3984. description: 角色id(usertype=2)
  3985. type: integer
  3986. createtime:
  3987. description: 创建时间
  3988. type: string
  3989. logincode:
  3990. description: 登录代码
  3991. type: string
  3992. loginid:
  3993. description: 登录id(LOGINID)
  3994. type: integer
  3995. loginstatus:
  3996. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  3997. type: integer
  3998. memberuserid:
  3999. description: 所属会员id
  4000. type: integer
  4001. modifytime:
  4002. description: 修改时间
  4003. type: string
  4004. rolename:
  4005. description: 角色名称
  4006. type: string
  4007. rolestatus:
  4008. description: 角色状态 1-启用 2-停用
  4009. type: integer
  4010. roletype:
  4011. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  4012. type: string
  4013. userid:
  4014. description: 用户id
  4015. type: integer
  4016. usertype:
  4017. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  4018. type: integer
  4019. type: object
  4020. models.ErmcpLoginUserEx:
  4021. properties:
  4022. roleid:
  4023. description: 角色id
  4024. type: integer
  4025. rolename:
  4026. description: 角色名称
  4027. type: string
  4028. userlist:
  4029. description: 用户列表
  4030. items:
  4031. $ref: '#/definitions/models.ErmcpLoginUser'
  4032. type: array
  4033. usertype:
  4034. description: 用户类型 2-机构 7-企业成员(云平台)
  4035. type: integer
  4036. type: object
  4037. models.ErmcpMiddleGoodsChangeLog:
  4038. properties:
  4039. aftervalue:
  4040. description: 变更后
  4041. type: number
  4042. applyid:
  4043. description: 操作人
  4044. type: integer
  4045. applyname:
  4046. description: 操作人名称
  4047. type: string
  4048. applysrc:
  4049. description: 操作来源 - 1:管理端 2:终端
  4050. type: integer
  4051. beforevalue:
  4052. description: 变更前
  4053. type: number
  4054. changelogtype:
  4055. description: 变更流水类型 - 1:套保比率变更
  4056. type: integer
  4057. handlestatus:
  4058. description: 处理状态
  4059. type: integer
  4060. logdatetime:
  4061. description: 流水日期
  4062. type: string
  4063. logid:
  4064. description: 流水ID
  4065. type: integer
  4066. logremark:
  4067. description: 流水备注
  4068. type: string
  4069. middlegoodsid:
  4070. description: 套保品种ID
  4071. type: integer
  4072. tradedate:
  4073. description: 交易日(yyyyMMdd)
  4074. type: string
  4075. updatetime:
  4076. description: 更新时间
  4077. type: string
  4078. type: object
  4079. models.ErmcpMiddleGoodsDetail:
  4080. properties:
  4081. cvList:
  4082. description: 期货品种折算列表
  4083. items:
  4084. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  4085. type: array
  4086. mg:
  4087. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4088. description: 套保品种基本信息
  4089. type: object
  4090. wrcList:
  4091. description: 现货品种列表(现货商品折算配置)
  4092. items:
  4093. $ref: '#/definitions/models.WRSConverTDetail'
  4094. type: array
  4095. type: object
  4096. models.ErmcpMiddleGoodsModel:
  4097. properties:
  4098. areauserid:
  4099. description: 机构用户ID
  4100. type: integer
  4101. createtime:
  4102. description: 修改时间
  4103. type: string
  4104. enumdicname:
  4105. description: 单位名称
  4106. type: string
  4107. evaluateratio:
  4108. description: 估价系数
  4109. type: number
  4110. goodsgroupid:
  4111. description: 关联期货品种ID
  4112. type: integer
  4113. isvalid:
  4114. description: 状态 0-无效(停用) 1-有效(正常)
  4115. type: integer
  4116. middlegoodscode:
  4117. description: 套保品种代码
  4118. type: string
  4119. middlegoodsid:
  4120. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4121. type: integer
  4122. middlegoodsname:
  4123. description: 套保品种名称
  4124. type: string
  4125. modifytime:
  4126. description: 修改时间
  4127. type: string
  4128. needhedgeratio:
  4129. description: 套保比率
  4130. type: number
  4131. qtydecimalplace:
  4132. description: 数量小数位
  4133. type: integer
  4134. relatedgoodsid:
  4135. description: 关联交易商品ID
  4136. type: integer
  4137. relatedgoodstype:
  4138. description: 关联商品类型 - 1:期货合约 2:现货品种
  4139. type: integer
  4140. remark:
  4141. description: 备注
  4142. type: string
  4143. type: object
  4144. models.ErmcpModel:
  4145. properties:
  4146. accountname:
  4147. description: 账户名称
  4148. type: string
  4149. attachment:
  4150. description: 附件
  4151. type: string
  4152. audittime:
  4153. description: 审核时间
  4154. type: string
  4155. brandname:
  4156. description: 品牌名称
  4157. type: string
  4158. contracctstatus:
  4159. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4160. type: integer
  4161. contractmargin:
  4162. description: 合同保证金
  4163. type: number
  4164. contractno:
  4165. description: 合同编号
  4166. type: string
  4167. contracttype:
  4168. description: 合同类型 1-采购, -1-销售
  4169. type: integer
  4170. convertfactor:
  4171. description: 标仓系数
  4172. type: number
  4173. createtime:
  4174. description: 创建时间
  4175. type: string
  4176. daikaiamount:
  4177. description: 应收(开)票额
  4178. type: number
  4179. deliveryenddate:
  4180. description: 交割结束日
  4181. type: string
  4182. deliverygoodscode:
  4183. description: 现货品种代码
  4184. type: string
  4185. deliverygoodsid:
  4186. description: 现货商品ID
  4187. type: integer
  4188. deliverygoodsname:
  4189. description: 现货品种名称
  4190. type: string
  4191. deliverystartdate:
  4192. description: 交割开始日
  4193. type: string
  4194. enddate:
  4195. description: 点价结束日
  4196. type: string
  4197. enumdicname:
  4198. description: 单位名称
  4199. type: string
  4200. goodscode:
  4201. description: 点价商品代码
  4202. type: string
  4203. goodsid:
  4204. description: 点价商品ID
  4205. type: integer
  4206. goodsname:
  4207. description: 点价商品名称
  4208. type: string
  4209. invoiceamount:
  4210. description: 已开票额
  4211. type: number
  4212. loanamount:
  4213. description: 贷款总额=已定价额+调整金额
  4214. type: number
  4215. margin:
  4216. description: 保证金
  4217. type: number
  4218. modelname:
  4219. description: 型号名称
  4220. type: string
  4221. payamount:
  4222. description: 已收付额(收款或付款)
  4223. type: number
  4224. preinvoiceamount:
  4225. description: 预收(开)票额
  4226. type: number
  4227. prepayamount:
  4228. description: 预收付额
  4229. type: number
  4230. price:
  4231. description: 价格
  4232. type: number
  4233. pricedamount:
  4234. description: 已定价额
  4235. type: number
  4236. pricedavg:
  4237. description: 已点均价
  4238. type: number
  4239. pricedqty:
  4240. description: 已定价量
  4241. type: number
  4242. pricemove:
  4243. description: 升贴水
  4244. type: number
  4245. pricetype:
  4246. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4247. type: integer
  4248. producttype:
  4249. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4250. type: integer
  4251. qty:
  4252. description: 合同量
  4253. type: number
  4254. reckonadjustamount:
  4255. description: 调整金额
  4256. type: number
  4257. reckonedamount:
  4258. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  4259. type: number
  4260. reckonotheramount:
  4261. description: 其它费用
  4262. type: number
  4263. reckonrealqty:
  4264. description: 已确定量
  4265. type: number
  4266. remark:
  4267. description: 备注
  4268. type: string
  4269. spotcontractid:
  4270. description: 合同ID
  4271. type: string
  4272. spotgoodsbrandid:
  4273. description: 现货品牌ID
  4274. type: integer
  4275. spotgoodsdesc:
  4276. description: 商品型号(商品规格)
  4277. type: string
  4278. spotgoodsmodelid:
  4279. description: 现货型号ID
  4280. type: integer
  4281. startdate:
  4282. description: 点价开始日
  4283. type: string
  4284. totalamount:
  4285. description: 合计总额
  4286. type: number
  4287. unpayamount:
  4288. description: 应收付款额(应支付或应收款)
  4289. type: number
  4290. unpricedqty:
  4291. description: 未定价量
  4292. type: number
  4293. unsureqty:
  4294. description: 未确定量
  4295. type: number
  4296. userid:
  4297. description: 用户ID
  4298. type: integer
  4299. wrstandardcode:
  4300. description: 现货商品代码
  4301. type: string
  4302. wrstandardid:
  4303. description: 现货商品ID
  4304. type: integer
  4305. wrstandardname:
  4306. description: 现货商品名称
  4307. type: string
  4308. type: object
  4309. models.ErmcpOPLogModel:
  4310. properties:
  4311. aftervalue:
  4312. description: 变更后
  4313. type: number
  4314. applyid:
  4315. description: 操作人ID
  4316. type: string
  4317. applyname:
  4318. description: 操作人名称
  4319. type: string
  4320. beforevalue:
  4321. description: 变更前
  4322. type: number
  4323. biztype:
  4324. description: 业务类型 - 1:套保计划 2:现货合同
  4325. type: integer
  4326. contracttype:
  4327. description: 现货合同类型 - 1:采购 -1:销售
  4328. type: integer
  4329. logvalue:
  4330. description: 数值
  4331. type: number
  4332. operatelogtype:
  4333. description: 操作流水类型
  4334. type: integer
  4335. operatelogtypedesc:
  4336. description: 操作流水类型名称
  4337. type: string
  4338. relatedid:
  4339. description: 现货合同ID\套保计划
  4340. type: string
  4341. updatetime:
  4342. description: 更新时间
  4343. type: string
  4344. type: object
  4345. models.ErmcpPendingAudit:
  4346. properties:
  4347. areastockqty:
  4348. description: '待审核数量: 库存申请'
  4349. type: integer
  4350. businessdjqty:
  4351. description: '待审核数量: 点价'
  4352. type: integer
  4353. businessfpqty:
  4354. description: '待审核数量: 发票'
  4355. type: integer
  4356. businessjsqty:
  4357. description: '待审核数量: 结算'
  4358. type: integer
  4359. businesskxqty:
  4360. description: '待审核数量: 款项'
  4361. type: integer
  4362. hedgeplanqty:
  4363. description: '待审核数量: 套保计划'
  4364. type: integer
  4365. spotcontractqty:
  4366. description: '待审核数量: 现货合同'
  4367. type: integer
  4368. userqty:
  4369. description: '待审核数量: 用户'
  4370. type: integer
  4371. type: object
  4372. models.ErmcpRealExposureModel:
  4373. properties:
  4374. AreaUserID:
  4375. description: 所属机构
  4376. type: integer
  4377. BuyFutureQty:
  4378. description: 买入期货数量
  4379. type: number
  4380. BuyPlanQty:
  4381. description: 采购计划数量
  4382. type: number
  4383. BuyPricedQty:
  4384. description: 采购合同已定价数量
  4385. type: number
  4386. MiddleGoodsCode:
  4387. description: 套保品种代码
  4388. type: string
  4389. MiddleGoodsHedgeRatio:
  4390. description: 应套保比例
  4391. type: number
  4392. MiddleGoodsID:
  4393. description: 套保品种
  4394. type: integer
  4395. MiddleGoodsName:
  4396. description: 套保品种名称
  4397. type: string
  4398. NeedHedgeExposoure:
  4399. description: 应套保敞口
  4400. type: number
  4401. NeedHedgeRatio:
  4402. description: 应套保敞口比例
  4403. type: number
  4404. OriBuyFutureQty:
  4405. description: 期初买入期货数量
  4406. type: number
  4407. OriBuyPlanQty:
  4408. description: 期初采购计划数量
  4409. type: number
  4410. OriBuyPricedQty:
  4411. description: 期初采购合同已定价数量
  4412. type: number
  4413. OriSellFutureQty:
  4414. description: 期初卖出期货数量
  4415. type: number
  4416. OriSellPlanQty:
  4417. description: 期初销售计划数量
  4418. type: number
  4419. OriSellPricedQty:
  4420. description: 期初销售合同已定价数量
  4421. type: number
  4422. SellFutureQty:
  4423. description: 卖出期货数量
  4424. type: number
  4425. SellPlanQty:
  4426. description: 销售计划数量
  4427. type: number
  4428. SellPricedQty:
  4429. description: 销售合同已定价数量
  4430. type: number
  4431. TotalExposure:
  4432. description: 总敞口
  4433. type: number
  4434. TotalFutureQty:
  4435. description: 期货数量
  4436. type: number
  4437. TotalHedgeRatio:
  4438. description: 敞口比例
  4439. type: number
  4440. TotalNeedHedgeQty:
  4441. description: 期货应套保量
  4442. type: number
  4443. TotalSpotQty:
  4444. description: 现货数量
  4445. type: number
  4446. diffFutuQty:
  4447. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  4448. type: number
  4449. diffSpotQty:
  4450. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  4451. type: number
  4452. enumdicname:
  4453. description: 单位名称
  4454. type: string
  4455. oriTotalFutuQty:
  4456. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  4457. type: number
  4458. oriTotalSpotQty:
  4459. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  4460. type: number
  4461. type: object
  4462. models.ErmcpRelatedGoods:
  4463. properties:
  4464. deliverygoodsid:
  4465. description: 品种ID
  4466. type: integer
  4467. goodscode:
  4468. description: 商品代码
  4469. type: string
  4470. goodsid:
  4471. description: 商品id
  4472. type: integer
  4473. goodsname:
  4474. description: 商品名称
  4475. type: string
  4476. type: object
  4477. models.ErmcpReportAreaSpotPL:
  4478. properties:
  4479. actualpl:
  4480. description: 实际损益
  4481. type: number
  4482. areauserid:
  4483. description: 所属机构
  4484. type: integer
  4485. brandname:
  4486. description: 品牌名称
  4487. type: string
  4488. curamount:
  4489. description: 期末额
  4490. type: number
  4491. curaverageprice:
  4492. description: 期末均价
  4493. type: number
  4494. curbuyamount:
  4495. description: 期末采购总额(采购额)
  4496. type: number
  4497. curbuyqty:
  4498. description: 期末采购总量
  4499. type: number
  4500. curmarketvalue:
  4501. description: 参考市值
  4502. type: number
  4503. curqty:
  4504. description: 期末量
  4505. type: number
  4506. cursellamount:
  4507. description: 期末销售总额(销售额)
  4508. type: number
  4509. cursellqty:
  4510. description: 期末销售总量
  4511. type: number
  4512. curspotprice:
  4513. description: 参考市价
  4514. type: number
  4515. enumdicname:
  4516. description: 现货商品单位名称
  4517. type: string
  4518. floatpl:
  4519. description: 浮动损益
  4520. type: number
  4521. gbenumdicname:
  4522. description: 品类单位名称
  4523. type: string
  4524. gbunitid:
  4525. description: 品类单位id
  4526. type: integer
  4527. modelname:
  4528. description: 品类名称
  4529. type: string
  4530. oriamount:
  4531. description: 期初额
  4532. type: number
  4533. oriaverageprice:
  4534. description: 期初均价
  4535. type: number
  4536. oribuyamount:
  4537. description: 期初采购总额
  4538. type: number
  4539. oribuyqty:
  4540. description: 期初采购总量
  4541. type: number
  4542. oriqty:
  4543. description: 期初量
  4544. type: number
  4545. orisellamount:
  4546. description: 期初销售总额
  4547. type: number
  4548. orisellqty:
  4549. description: 期初销售总量
  4550. type: number
  4551. spotgoodsbrandid:
  4552. description: 现货品牌ID
  4553. type: integer
  4554. spotgoodsmodelid:
  4555. description: 现货品类ID
  4556. type: integer
  4557. todaybuyamount:
  4558. description: 今日采购额
  4559. type: number
  4560. todaybuyaverageprice:
  4561. description: 今日采购均价(采购均价)
  4562. type: number
  4563. todaybuyqty:
  4564. description: 今日采购量(采购增量)
  4565. type: number
  4566. todaysellamount:
  4567. description: 今日销售额
  4568. type: number
  4569. todaysellaverageprice:
  4570. description: 今日销售均价(销售均价)
  4571. type: number
  4572. todaysellqty:
  4573. description: 今日销售量(销售增量)
  4574. type: number
  4575. unitid:
  4576. description: 现货商品单位id
  4577. type: integer
  4578. updatetime:
  4579. description: 更新时间
  4580. type: string
  4581. wrstandardcode:
  4582. description: 现货商品代码
  4583. type: string
  4584. wrstandardid:
  4585. description: 现货商品ID
  4586. type: integer
  4587. wrstandardname:
  4588. description: 现货商品名称
  4589. type: string
  4590. type: object
  4591. models.ErmcpReportDayExposure:
  4592. properties:
  4593. areauserid:
  4594. description: 所属机构
  4595. type: integer
  4596. buyfutureqty:
  4597. description: 买入期货数量
  4598. type: number
  4599. buyplanqty:
  4600. description: 采购计划数量
  4601. type: number
  4602. buypricedqty:
  4603. description: 采购合同已定价数量
  4604. type: number
  4605. diffFutuQty:
  4606. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  4607. type: number
  4608. diffSpotQty:
  4609. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  4610. type: number
  4611. enumdicname:
  4612. description: 单位名称
  4613. type: string
  4614. middlegoodscode:
  4615. description: 套保品种代码
  4616. type: string
  4617. middlegoodshedgeratio:
  4618. description: 应套保比例
  4619. type: number
  4620. middlegoodsid:
  4621. description: 套保品种ID
  4622. type: integer
  4623. middlegoodsname:
  4624. description: 套保品种名称
  4625. type: string
  4626. needhedgeexposoure:
  4627. description: 应套保敞口
  4628. type: number
  4629. needhedgeratio:
  4630. description: 应套保敞口比例
  4631. type: number
  4632. oriTotalFutuQty:
  4633. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  4634. type: number
  4635. oriTotalSpotQty:
  4636. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  4637. type: number
  4638. oribuyfutureqty:
  4639. description: 期初买入期货数量
  4640. type: number
  4641. oribuyplanqty:
  4642. description: 期初采购计划数量
  4643. type: number
  4644. oribuypricedqty:
  4645. description: 期初采购合同已定价数量
  4646. type: number
  4647. orisellfutureqty:
  4648. description: 期初卖出期货数量
  4649. type: number
  4650. orisellplanqty:
  4651. description: 期初销售计划数量
  4652. type: number
  4653. orisellpricedqty:
  4654. description: 期初销售合同已定价数量
  4655. type: number
  4656. reckondate:
  4657. description: 日照时期(yyyyMMdd)
  4658. type: string
  4659. sellfutureqty:
  4660. description: 卖出期货数量
  4661. type: number
  4662. sellplanqty:
  4663. description: 销售计划数量
  4664. type: number
  4665. sellpricedqty:
  4666. description: 销售合同已定价数量
  4667. type: number
  4668. totalexposure:
  4669. description: 总敞口
  4670. type: number
  4671. totalfutureqty:
  4672. description: 期货数量
  4673. type: number
  4674. totalhedgeratio:
  4675. description: 敞口比例
  4676. type: number
  4677. totalneedhedgeqty:
  4678. description: 期货应套保量
  4679. type: number
  4680. totalspotqty:
  4681. description: 现货数量
  4682. type: number
  4683. type: object
  4684. models.ErmcpReportDayFR:
  4685. properties:
  4686. areauserid:
  4687. description: 所属机构
  4688. type: integer
  4689. collectinvoiceamount:
  4690. description: 今日开票金额
  4691. type: number
  4692. collectinvoicecount:
  4693. description: 今日开票笔数
  4694. type: integer
  4695. collectmoneyamount:
  4696. description: 今日收款金额
  4697. type: number
  4698. collectmoneycount:
  4699. description: 今日收款笔数
  4700. type: integer
  4701. payinvoiceamount:
  4702. description: 今日收票金额
  4703. type: number
  4704. payinvoicecount:
  4705. description: 今日收票笔数
  4706. type: integer
  4707. paymoneyamount:
  4708. description: 今日付款金额
  4709. type: number
  4710. paymoneycount:
  4711. description: 今日付款笔数
  4712. type: integer
  4713. reckondate:
  4714. description: 日照时期(yyyyMMdd)
  4715. type: string
  4716. updatetime:
  4717. description: 更新时间
  4718. type: string
  4719. type: object
  4720. models.ErmcpReportDaySpot:
  4721. properties:
  4722. areauserid:
  4723. description: 所属机构T
  4724. type: integer
  4725. buyinqty:
  4726. description: 采购入库量
  4727. type: number
  4728. enumdicname:
  4729. description: 现货商品单位名称
  4730. type: string
  4731. reckondate:
  4732. description: 日照时期(yyyyMMdd)
  4733. type: string
  4734. selloutqty:
  4735. description: 销售出库量
  4736. type: number
  4737. todaybuyreckonqty:
  4738. description: 采购确定量
  4739. type: number
  4740. todaysellreckonqty:
  4741. description: 销售确定量
  4742. type: number
  4743. totalbuypricedqty:
  4744. description: 采购定价量 = 期末 - 期初
  4745. type: number
  4746. totalsellpricedqty:
  4747. description: 销售定价量 = 期末 - 期初
  4748. type: number
  4749. wrstandardcode:
  4750. description: 现货商品代码
  4751. type: string
  4752. wrstandardid:
  4753. description: 现货商品ID
  4754. type: integer
  4755. wrstandardname:
  4756. description: 现货商品名称
  4757. type: string
  4758. type: object
  4759. models.ErmcpReportMonSpot:
  4760. properties:
  4761. areauserid:
  4762. description: 所属机构T
  4763. type: integer
  4764. buyinqty:
  4765. description: 采购入库量
  4766. type: number
  4767. cycletime:
  4768. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4769. type: string
  4770. cycletype:
  4771. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4772. type: integer
  4773. enumdicname:
  4774. description: 现货商品单位名称
  4775. type: string
  4776. selloutqty:
  4777. description: 销售出库量
  4778. type: number
  4779. todaybuyreckonqty:
  4780. description: 采购确定量
  4781. type: number
  4782. todaysellreckonqty:
  4783. description: 销售确定量
  4784. type: number
  4785. totalbuypricedqty:
  4786. description: 采购定价量 = 期末 - 期初
  4787. type: number
  4788. totalsellpricedqty:
  4789. description: 销售定价量 = 期末 - 期初
  4790. type: number
  4791. wrstandardcode:
  4792. description: 现货商品代码
  4793. type: string
  4794. wrstandardid:
  4795. description: 现货商品ID
  4796. type: integer
  4797. wrstandardname:
  4798. description: 现货商品名称
  4799. type: string
  4800. type: object
  4801. models.ErmcpReportMonthFR:
  4802. properties:
  4803. areauserid:
  4804. description: 所属机构【原值】
  4805. type: integer
  4806. collectinvoiceamount:
  4807. description: 今日开票金额【汇总】
  4808. type: number
  4809. collectinvoicecount:
  4810. description: 今日开票笔数【汇总】
  4811. type: integer
  4812. collectmoneyamount:
  4813. description: 今日收款金额【汇总】
  4814. type: number
  4815. collectmoneycount:
  4816. description: 今日收款笔数 【汇总】
  4817. type: integer
  4818. cycletime:
  4819. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4820. type: string
  4821. cycletype:
  4822. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4823. type: integer
  4824. dayFr:
  4825. description: 日报表明细
  4826. items:
  4827. $ref: '#/definitions/models.ErmcpReportDayFR'
  4828. type: array
  4829. payinvoiceamount:
  4830. description: 今日收票金额【汇总】
  4831. type: number
  4832. payinvoicecount:
  4833. description: 今日收票笔数【汇总】
  4834. type: integer
  4835. paymoneyamount:
  4836. description: 今日付款金额【汇总】
  4837. type: number
  4838. paymoneycount:
  4839. description: 今日付款笔数【汇总】
  4840. type: integer
  4841. updatetime:
  4842. description: 更新时间
  4843. type: string
  4844. type: object
  4845. models.ErmcpReportOPLog:
  4846. properties:
  4847. applyid:
  4848. description: 操作人
  4849. type: integer
  4850. applyname:
  4851. description: 操作人名称
  4852. type: string
  4853. biztype:
  4854. description: 业务类型 - 1:套保计划 2:现货合同
  4855. type: integer
  4856. brandname:
  4857. description: 品牌名称
  4858. type: string
  4859. contracttype:
  4860. description: 现货合同类型 - 1:采购 -1:销售
  4861. type: integer
  4862. enumdicName:
  4863. description: 单位名称
  4864. type: string
  4865. logdatetime:
  4866. description: 流水日期(时间)
  4867. type: string
  4868. logid:
  4869. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4870. type: string
  4871. logtypename:
  4872. description: 合同类型(名称)
  4873. type: string
  4874. logvalue:
  4875. description: 数值
  4876. type: string
  4877. modelname:
  4878. description: 型号名称
  4879. type: string
  4880. operatelogtype:
  4881. description: 操作流水类型 -
  4882. type: integer
  4883. optypename:
  4884. description: 流水类型名称
  4885. type: string
  4886. relatedid:
  4887. description: 现货合同ID\套保计划
  4888. type: string
  4889. relatedno:
  4890. description: 合同编号
  4891. type: string
  4892. tradedate:
  4893. description: 交易日(yyyyMMdd)
  4894. type: string
  4895. userid:
  4896. description: 机构ID
  4897. type: integer
  4898. wrstandardcode:
  4899. description: 现货商品代码
  4900. type: string
  4901. wrstandardid:
  4902. description: 现货商品ID
  4903. type: integer
  4904. wrstandardname:
  4905. description: 现货商品名称
  4906. type: string
  4907. type: object
  4908. models.ErmcpRole:
  4909. properties:
  4910. areauserid:
  4911. description: 所属机构
  4912. type: integer
  4913. autoid:
  4914. description: 角色ID(自增ID)
  4915. type: integer
  4916. modifierid:
  4917. description: 修改人(创建人)
  4918. type: integer
  4919. modifiername:
  4920. description: 修改人名称
  4921. type: string
  4922. modifytime:
  4923. description: 修改时间(创建时间)
  4924. type: string
  4925. rolename:
  4926. description: 角色名称
  4927. type: string
  4928. rolestatus:
  4929. description: 角色状态 - 1:启用 2:停用
  4930. type: integer
  4931. roletype:
  4932. description: 角色类型 - 1- 管理端 2- 交易端
  4933. type: integer
  4934. type: object
  4935. models.ErmcpRoleMenu:
  4936. properties:
  4937. iconame:
  4938. description: 菜单图标
  4939. type: string
  4940. menutype:
  4941. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  4942. type: integer
  4943. parentcode:
  4944. description: 上级资源代码
  4945. type: string
  4946. remark:
  4947. description: 菜单备注
  4948. type: string
  4949. resourcecode:
  4950. description: 菜单代码
  4951. type: string
  4952. resourcelevel:
  4953. description: 级别
  4954. type: integer
  4955. resourcename:
  4956. description: 菜单名称
  4957. type: string
  4958. roleid:
  4959. description: 角色id
  4960. type: integer
  4961. sort:
  4962. description: 排序
  4963. type: integer
  4964. url:
  4965. description: URL
  4966. type: string
  4967. userid:
  4968. description: 用户id
  4969. type: integer
  4970. type: object
  4971. models.ErmcpRoleMenuEx:
  4972. properties:
  4973. menu:
  4974. $ref: '#/definitions/models.ErmcpRoleMenu'
  4975. description: 父级菜单
  4976. type: object
  4977. subMenu:
  4978. description: 子级菜单
  4979. items:
  4980. $ref: '#/definitions/models.ErmcpRoleMenu'
  4981. type: array
  4982. type: object
  4983. models.ErmcpSpotContractModel:
  4984. properties:
  4985. amount:
  4986. description: 金额 [1:一口价、3:暂定价]
  4987. type: number
  4988. attachment:
  4989. description: 附件
  4990. type: string
  4991. auditremark:
  4992. description: 审核意见
  4993. type: string
  4994. audittime:
  4995. description: 审核时间
  4996. type: string
  4997. brandname:
  4998. description: 品牌名称
  4999. type: string
  5000. buyuserid:
  5001. description: 采购方ID
  5002. type: integer
  5003. buyusername:
  5004. description: 采购方名称
  5005. type: string
  5006. contracctstatus:
  5007. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5008. type: integer
  5009. contractmargin:
  5010. description: 合同保证金
  5011. type: number
  5012. contractno:
  5013. description: 现货合同编号
  5014. type: string
  5015. contracttype:
  5016. description: 现货合同类型 - 1:采购 -1:销售
  5017. type: integer
  5018. convertfactor:
  5019. description: 标仓系数
  5020. type: number
  5021. createtime:
  5022. description: 创建时间
  5023. type: string
  5024. deliveryenddate:
  5025. description: 交收期(结束)
  5026. type: string
  5027. deliverygoodscode:
  5028. description: 现货品种代码
  5029. type: string
  5030. deliverygoodsid:
  5031. description: 现货品种ID
  5032. type: integer
  5033. deliverygoodsname:
  5034. description: 现货品种名称
  5035. type: string
  5036. deliverystartdate:
  5037. description: 交收期(开始)
  5038. type: string
  5039. enddate:
  5040. description: 点价结束日期 [2:点价 3:暂定价]
  5041. type: string
  5042. enumdicname:
  5043. description: 单位名称
  5044. type: string
  5045. goodscode:
  5046. description: 点价合约代码
  5047. type: string
  5048. goodsid:
  5049. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5050. type: integer
  5051. goodsname:
  5052. description: 点价商品名称
  5053. type: string
  5054. margin:
  5055. description: 当前保证金
  5056. type: number
  5057. modelname:
  5058. description: 型号名称
  5059. type: string
  5060. price:
  5061. description: 价格\暂定价 [1:一口价、3:暂定价]
  5062. type: number
  5063. pricemove:
  5064. description: 升贴水 [2:点价 3:暂定价]
  5065. type: number
  5066. pricetype:
  5067. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5068. type: integer
  5069. producttype:
  5070. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5071. type: integer
  5072. qty:
  5073. description: 数量
  5074. type: number
  5075. remark:
  5076. description: 备注
  5077. type: string
  5078. selluserid:
  5079. description: 销售方ID
  5080. type: integer
  5081. sellusername:
  5082. description: 销售方名称
  5083. type: string
  5084. spotcontractid:
  5085. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5086. type: string
  5087. spotgoodsbrandid:
  5088. description: 现货品牌ID
  5089. type: integer
  5090. spotgoodsdesc:
  5091. description: 商品型号
  5092. type: string
  5093. spotgoodsmodelid:
  5094. description: 现货型号ID
  5095. type: integer
  5096. startdate:
  5097. description: 点价开始日期 [2:点价 3:暂定价]
  5098. type: string
  5099. updatetime:
  5100. description: 更新时间
  5101. type: string
  5102. userid:
  5103. description: 机构ID
  5104. type: integer
  5105. wrstandardcode:
  5106. description: 现货商品代码
  5107. type: string
  5108. wrstandardid:
  5109. description: 现货商品ID
  5110. type: integer
  5111. wrstandardname:
  5112. description: 现货商品名称
  5113. type: string
  5114. type: object
  5115. models.ErmcpSpotGoodsPrice:
  5116. properties:
  5117. areauserid:
  5118. description: 所属机构id
  5119. type: integer
  5120. brandname:
  5121. description: 品牌名称
  5122. type: string
  5123. currencyid:
  5124. description: 报价货币ID
  5125. type: integer
  5126. enumdicname:
  5127. description: 现货商品单位名称
  5128. type: string
  5129. gbenumdicname:
  5130. description: 品类单位名称
  5131. type: string
  5132. gmunitid:
  5133. description: 品类单位id
  5134. type: integer
  5135. isvalid:
  5136. description: 是否有效 - 0:无效 1:有效
  5137. type: integer
  5138. modelname:
  5139. description: 品类名称
  5140. type: string
  5141. operateid:
  5142. description: 最后操作人
  5143. type: integer
  5144. operatesrc:
  5145. description: 最后操作来源 - 1:管理端 2:终端
  5146. type: integer
  5147. operatetime:
  5148. description: 最后操作时间
  5149. type: string
  5150. operatorname:
  5151. description: 操作人名称
  5152. type: string
  5153. spotgoodsbrandid:
  5154. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5155. type: integer
  5156. spotgoodsmodelid:
  5157. description: 现货品类ID(通用则为0)
  5158. type: integer
  5159. spotgoodsprice:
  5160. description: 现货价格
  5161. type: number
  5162. tradedate:
  5163. description: 交易日(yyyyMMdd)
  5164. type: string
  5165. unitid:
  5166. description: 现货商品单位id
  5167. type: integer
  5168. wrstandardcode:
  5169. description: 现货商品代码
  5170. type: string
  5171. wrstandardid:
  5172. description: 现货商品ID
  5173. type: integer
  5174. wrstandardname:
  5175. description: 现货商品名称
  5176. type: string
  5177. type: object
  5178. models.ErmcpSpotGoodsPriceLog:
  5179. properties:
  5180. areauserid:
  5181. description: 所属机构id
  5182. type: integer
  5183. brandname:
  5184. description: 品牌名称
  5185. type: string
  5186. currencyid:
  5187. description: 报价货币ID
  5188. type: integer
  5189. enumdicname:
  5190. description: 现货商品单位名称
  5191. type: string
  5192. gbenumdicname:
  5193. description: 品类单位名称
  5194. type: string
  5195. gmunitid:
  5196. description: 品类单位id
  5197. type: integer
  5198. logid:
  5199. description: 日志id
  5200. type: integer
  5201. modelname:
  5202. description: 品类名称
  5203. type: string
  5204. operateid:
  5205. description: 最后操作人
  5206. type: integer
  5207. operatesrc:
  5208. description: 最后操作来源 - 1:管理端 2:终端
  5209. type: integer
  5210. operatetime:
  5211. description: 最后操作时间
  5212. type: string
  5213. operatorname:
  5214. description: 操作人名称
  5215. type: string
  5216. spotgoodsbrandid:
  5217. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5218. type: integer
  5219. spotgoodsmodelid:
  5220. description: 现货品类ID(通用则为0)
  5221. type: integer
  5222. spotgoodsprice:
  5223. description: 现货价格
  5224. type: number
  5225. tradedate:
  5226. description: 交易日(yyyyMMdd)
  5227. type: string
  5228. unitid:
  5229. description: 现货商品单位id
  5230. type: integer
  5231. wrstandardcode:
  5232. description: 现货商品代码
  5233. type: string
  5234. wrstandardid:
  5235. description: 现货商品ID
  5236. type: integer
  5237. wrstandardname:
  5238. description: 现货商品名称
  5239. type: string
  5240. type: object
  5241. models.ErmcpTaAccount:
  5242. properties:
  5243. accountid:
  5244. description: 账户id
  5245. type: integer
  5246. accountname:
  5247. description: 账户名称
  5248. type: string
  5249. currencyid:
  5250. description: 币种id
  5251. type: integer
  5252. ismain:
  5253. description: 是否主账户 0-否 1-是
  5254. type: integer
  5255. parentaccountid:
  5256. description: 父账户id
  5257. type: integer
  5258. relateduserid:
  5259. description: 关联userid
  5260. type: integer
  5261. tradestatus:
  5262. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  5263. type: integer
  5264. type: object
  5265. models.ErmcpTaAccountEx:
  5266. properties:
  5267. mainAcc:
  5268. $ref: '#/definitions/models.ErmcpTaAccount'
  5269. description: 主账号
  5270. type: object
  5271. subacclist:
  5272. description: 子账号列表
  5273. items:
  5274. $ref: '#/definitions/models.ErmcpTaAccount'
  5275. type: array
  5276. type: object
  5277. models.ErmcpTaAccountInfo:
  5278. properties:
  5279. accountid:
  5280. description: 资金账户ID
  5281. type: integer
  5282. accountname:
  5283. description: 账户名称
  5284. type: string
  5285. balance:
  5286. description: 期初余额
  5287. type: number
  5288. capitalbalance:
  5289. description: 本金余额[外部子账户实际出入金余额]
  5290. type: number
  5291. closepl:
  5292. description: 今日平仓盈亏
  5293. type: number
  5294. creditdecrease:
  5295. description: 今日授信减少
  5296. type: number
  5297. creditincrease:
  5298. description: 今日授信增加
  5299. type: number
  5300. curdebt:
  5301. description: 期末欠款
  5302. type: number
  5303. currencyid:
  5304. description: 货币ID
  5305. type: integer
  5306. currentbalance:
  5307. description: 期末余额
  5308. type: number
  5309. freezecharge:
  5310. description: 手续费冻结
  5311. type: number
  5312. freezemargin:
  5313. description: 冻结保证金
  5314. type: number
  5315. fromaccountid:
  5316. description: 所属上级账户
  5317. type: integer
  5318. inamount:
  5319. description: 今日入金金额(包括三方入金)
  5320. type: number
  5321. ismain:
  5322. description: 是否母账号 0:不是母账户 1:是母账户
  5323. type: integer
  5324. mortgagecredit:
  5325. description: 授信金额
  5326. type: number
  5327. oridebt:
  5328. description: 期初欠款
  5329. type: number
  5330. orifreezecharge:
  5331. description: 期初手续费冻结
  5332. type: number
  5333. orifreezemargin:
  5334. description: 期初冻结保证金
  5335. type: number
  5336. orimortgagecredit:
  5337. description: 期初授信金额
  5338. type: number
  5339. oriothercredit:
  5340. description: 期初其它授信金额
  5341. type: number
  5342. oriotherfreezemargin:
  5343. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  5344. type: number
  5345. orioutamountfreeze:
  5346. description: 期初出金冻结
  5347. type: number
  5348. oriusedmargin:
  5349. description: 期初占用保证金
  5350. type: number
  5351. othercredit:
  5352. description: 其它授信金额
  5353. type: number
  5354. othercreditdecrease:
  5355. description: 今日其它授信减少
  5356. type: number
  5357. othercreditincrease:
  5358. description: 今日其它授信增加
  5359. type: number
  5360. otherfreezemargin:
  5361. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  5362. type: number
  5363. outamount:
  5364. description: 今日出金金额(包括三方出金)
  5365. type: number
  5366. outamountfreeze:
  5367. description: 出金冻结
  5368. type: number
  5369. outthreshold:
  5370. description: 出金阈值
  5371. type: number
  5372. parentaccountid:
  5373. description: 所属根账号
  5374. type: integer
  5375. paycharge:
  5376. description: 今日手续费支出
  5377. type: number
  5378. relateduserid:
  5379. description: 关联用户
  5380. type: integer
  5381. signstatus:
  5382. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  5383. type: integer
  5384. sublevelpath:
  5385. description: 账号层级路径(逗号分隔,首尾加逗号)
  5386. type: string
  5387. taaccounttype:
  5388. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  5389. type: integer
  5390. thirdinamount:
  5391. description: 今日三方入金
  5392. type: number
  5393. thirdoutamount:
  5394. description: 今日三方出金
  5395. type: number
  5396. tradestatus:
  5397. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  5398. type: integer
  5399. transferamount:
  5400. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  5401. type: number
  5402. usedmargin:
  5403. description: 占用保证金
  5404. type: number
  5405. userid:
  5406. description: 用户ID
  5407. type: integer
  5408. type: object
  5409. models.ErmcpTradeConfigTMP:
  5410. properties:
  5411. areauserid:
  5412. description: 所属机构
  5413. type: integer
  5414. basiccurrencyid:
  5415. description: 基本币种ID[汇率] - 目标币种
  5416. type: integer
  5417. mainaccountid:
  5418. description: 主账户ID
  5419. type: integer
  5420. modifierid:
  5421. description: 修改人
  5422. type: integer
  5423. remark:
  5424. description: 备注
  5425. type: string
  5426. tradeconfigtmpid:
  5427. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  5428. type: integer
  5429. tradeconfigtmpname:
  5430. description: 交易配置模板名称
  5431. type: string
  5432. tradeconfigtmptype:
  5433. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  5434. type: integer
  5435. updatetime:
  5436. description: 更新时间
  5437. type: string
  5438. type: object
  5439. models.ErmcpUserModel:
  5440. properties:
  5441. address:
  5442. description: 通讯地址
  5443. type: string
  5444. attachment1:
  5445. description: 附件1
  5446. type: string
  5447. audittime:
  5448. description: 审核时间
  5449. type: string
  5450. cardfrontphotourl:
  5451. description: 证件正面图片地址
  5452. type: string
  5453. cardnum:
  5454. description: 证件号码
  5455. type: string
  5456. cardtype:
  5457. description: 证件类型
  5458. type: integer
  5459. cardtypename:
  5460. description: 证件类型名称
  5461. type: string
  5462. cityid:
  5463. description: 市
  5464. type: integer
  5465. countryid:
  5466. description: 国家
  5467. type: integer
  5468. createtime:
  5469. description: 创建时间
  5470. type: string
  5471. customername:
  5472. description: 企业名称
  5473. type: string
  5474. districtid:
  5475. description: 区域
  5476. type: integer
  5477. memberuserid:
  5478. description: 所属机构ID
  5479. type: integer
  5480. mobile:
  5481. description: 手机号码
  5482. type: string
  5483. modifytime:
  5484. description: 修改时间
  5485. type: string
  5486. nickname:
  5487. description: 昵称
  5488. type: string
  5489. provinceid:
  5490. description: 省
  5491. type: integer
  5492. remark:
  5493. description: 备注
  5494. type: string
  5495. status:
  5496. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  5497. type: integer
  5498. statusdesc:
  5499. description: 账户状态中文描述
  5500. type: string
  5501. telphone:
  5502. description: 联系电话
  5503. type: string
  5504. userid:
  5505. description: 用户ID
  5506. type: integer
  5507. userinfotype:
  5508. description: 客户类型
  5509. type: string
  5510. type: object
  5511. models.ErmcpWareHouseInfo:
  5512. properties:
  5513. address:
  5514. description: 详细地址
  5515. type: string
  5516. areauserid:
  5517. description: 所属机构
  5518. type: integer
  5519. autoid:
  5520. description: 自增ID(仓库ID)
  5521. type: integer
  5522. cityid:
  5523. description: 市
  5524. type: integer
  5525. contactname:
  5526. description: 联系人
  5527. type: string
  5528. contactnum:
  5529. description: 联系电话
  5530. type: string
  5531. countryid:
  5532. description: 国家
  5533. type: integer
  5534. createtime:
  5535. description: 创建时间
  5536. type: string
  5537. districtid:
  5538. description: 区
  5539. type: integer
  5540. hasvideo:
  5541. description: 是否有视频 - 0:无 1:有
  5542. type: integer
  5543. provinceid:
  5544. description: 省
  5545. type: integer
  5546. remark:
  5547. description: 审核备注
  5548. type: string
  5549. videourl:
  5550. description: 视频地址
  5551. type: string
  5552. warehousecode:
  5553. description: 仓库代码
  5554. type: string
  5555. warehousename:
  5556. description: 仓库名称
  5557. type: string
  5558. warehousestatus:
  5559. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  5560. type: integer
  5561. warehousetype:
  5562. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5563. type: integer
  5564. type: object
  5565. models.ErmcpWrstandDetail:
  5566. properties:
  5567. gbList:
  5568. description: 品牌列表
  5569. items:
  5570. $ref: '#/definitions/models.GoodsBrand'
  5571. type: array
  5572. goodsList:
  5573. description: 关联交易商品列表
  5574. items:
  5575. $ref: '#/definitions/models.RelatedGoodsEx'
  5576. type: array
  5577. gtList:
  5578. description: 型号列表
  5579. items:
  5580. $ref: '#/definitions/models.GoodsTypeModel'
  5581. type: array
  5582. wrd:
  5583. $ref: '#/definitions/models.ErmcpWrstandard'
  5584. description: 基本信息
  5585. type: object
  5586. wrsList:
  5587. description: 套保信息列表
  5588. items:
  5589. $ref: '#/definitions/models.WRSConverTDetail'
  5590. type: array
  5591. type: object
  5592. models.ErmcpWrstandard:
  5593. properties:
  5594. areauserid:
  5595. description: 所属机构
  5596. type: integer
  5597. createtime:
  5598. description: 创建时间
  5599. type: string
  5600. creatorid:
  5601. description: 创建人
  5602. type: integer
  5603. deliverygoodsid:
  5604. description: 品种ID
  5605. type: integer
  5606. enumdicname:
  5607. description: 单位名称
  5608. type: string
  5609. isvalid:
  5610. description: 是否有效 0-无效(停用) 1-有效(正常)
  5611. type: integer
  5612. minivalue:
  5613. description: 最小变动值
  5614. type: integer
  5615. minivaluedp:
  5616. description: 最小变动值小数位
  5617. type: integer
  5618. realminivalue:
  5619. description: 实际最小变动值
  5620. type: integer
  5621. realminivaluedp:
  5622. description: 实际最小变动值小数位
  5623. type: integer
  5624. remark:
  5625. description: 备注
  5626. type: string
  5627. unitid:
  5628. description: 单位ID
  5629. type: integer
  5630. updatetime:
  5631. description: 更新时间
  5632. type: string
  5633. wrstandardcode:
  5634. description: 现货商品代码
  5635. type: string
  5636. wrstandardid:
  5637. description: 现货商品ID(SEQ_WRSTANDARD)
  5638. type: integer
  5639. wrstandardname:
  5640. description: 现货商品名称
  5641. type: string
  5642. type: object
  5643. models.Externalexchange:
  5644. properties:
  5645. autoid:
  5646. description: AutoID - SEQ_EXTERNALEXCHANGE
  5647. type: integer
  5648. exchangefullname:
  5649. description: 外部交易所全称
  5650. type: string
  5651. exexchangecode:
  5652. description: 外部交易所代码
  5653. type: string
  5654. exexchangename:
  5655. description: 外部交易所名称(简称)
  5656. type: string
  5657. ismarketprice:
  5658. description: 是否支持市价 - 0:不支持 1:支持
  5659. type: integer
  5660. quotegear:
  5661. description: 行情档位(1-10)
  5662. type: integer
  5663. showbrokerflag:
  5664. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  5665. type: integer
  5666. updatetime:
  5667. description: 更新时间
  5668. type: string
  5669. required:
  5670. - autoid
  5671. type: object
  5672. models.Funcmenulist:
  5673. properties:
  5674. iconame:
  5675. description: 菜单图标
  5676. type: string
  5677. menutype:
  5678. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  5679. type: integer
  5680. parentcode:
  5681. description: 上级资源代码
  5682. type: string
  5683. remark:
  5684. description: 备注
  5685. type: string
  5686. resourcecode:
  5687. description: 资源代码
  5688. type: string
  5689. resourcelevel:
  5690. description: 级别 1-一级 2-二级 3-三级 4-四级
  5691. type: integer
  5692. resourcename:
  5693. description: 资源名
  5694. type: string
  5695. sort:
  5696. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  5697. type: integer
  5698. url:
  5699. description: URL
  5700. type: string
  5701. required:
  5702. - resourcecode
  5703. type: object
  5704. models.Goods:
  5705. properties:
  5706. agreeunit:
  5707. description: 合约单位
  5708. type: number
  5709. auditaccountid:
  5710. description: 审核操作员账号
  5711. type: integer
  5712. audittime:
  5713. description: 审核时间
  5714. type: string
  5715. cancelaccountid:
  5716. description: 注销操作员账号
  5717. type: integer
  5718. canceltime:
  5719. description: 注销时间
  5720. type: string
  5721. closepricemode:
  5722. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5723. type: integer
  5724. closepriceparam:
  5725. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5726. type: number
  5727. createtime:
  5728. description: 创建时间
  5729. type: string
  5730. creatorid:
  5731. description: 创建人
  5732. type: integer
  5733. currencyid:
  5734. description: 报价货币ID
  5735. type: integer
  5736. cutmode:
  5737. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5738. type: integer
  5739. decimalplace:
  5740. description: 报价小数位
  5741. type: integer
  5742. delistingdate:
  5743. description: 商品退市时间(状态:退市) -- 已作废
  5744. type: string
  5745. delistingmode:
  5746. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5747. type: integer
  5748. deliveryflag:
  5749. description: 交割标志 - 0:不可交割 1:可交割
  5750. type: integer
  5751. forceclosemode:
  5752. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5753. type: integer
  5754. forceclosevalue:
  5755. description: 定期强平参数 [收益权]
  5756. type: integer
  5757. goodscode:
  5758. description: 商品代码(内部)
  5759. type: string
  5760. goodscurrencyid:
  5761. description: 合约货币ID
  5762. type: integer
  5763. goodsgroupid:
  5764. description: 所属商品组ID
  5765. type: integer
  5766. goodsid:
  5767. description: 商品ID(自增ID SEQ_GOODS)
  5768. type: integer
  5769. goodsname:
  5770. description: 商品名称
  5771. type: string
  5772. goodsquotetype:
  5773. description: '合约报价类型: 1-直接报价 2-间接报价'
  5774. type: integer
  5775. goodsstatus:
  5776. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5777. type: integer
  5778. goodstradetype:
  5779. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  5780. type: integer
  5781. goodunitid:
  5782. description: 报价单位ID
  5783. type: integer
  5784. hasquoter:
  5785. description: 是否有报价商 - 0:无报价商 1:有报价商
  5786. type: integer
  5787. hqprotecttime:
  5788. description: 行情保护时间(秒)
  5789. type: integer
  5790. innerdealmode:
  5791. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5792. type: integer
  5793. isbuylimited:
  5794. description: 是否限制建仓量 - 0:不限制 1:限制
  5795. type: integer
  5796. lasttradedate:
  5797. description: 最后交易日期(状态:待退市)
  5798. type: string
  5799. listingdate:
  5800. description: 交易开始日期
  5801. type: string
  5802. marketid:
  5803. description: 所属市场ID
  5804. type: integer
  5805. modifierid:
  5806. description: 修改人
  5807. type: integer
  5808. modifystatus:
  5809. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  5810. type: integer
  5811. modifytime:
  5812. description: 修改时间
  5813. type: string
  5814. outerdealmode:
  5815. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5816. type: integer
  5817. outgoodscode:
  5818. description: 商品代码(外部)
  5819. type: string
  5820. qtydecimalplace:
  5821. description: 成交量小数位
  5822. type: integer
  5823. quotegear:
  5824. description: 行情档位(1-10)
  5825. type: integer
  5826. quoteminunit:
  5827. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5828. type: integer
  5829. quoteshowtype:
  5830. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  5831. type: integer
  5832. quoteshowtypeinterval:
  5833. description: 行情报价间隔时间(秒)(成交价时为0)
  5834. type: integer
  5835. remark:
  5836. description: 备注
  5837. type: string
  5838. required:
  5839. - goodscode
  5840. - goodsid
  5841. - goodsname
  5842. - marketid
  5843. type: object
  5844. models.GoodsBrand:
  5845. properties:
  5846. brandid:
  5847. description: 品牌ID
  5848. type: integer
  5849. brandname:
  5850. description: 品牌名称
  5851. type: string
  5852. isvalid:
  5853. description: 是否有效 - 0:无效 1:有效
  5854. type: integer
  5855. type: object
  5856. models.GoodsIDAndName:
  5857. properties:
  5858. goodscode:
  5859. description: 商品代码(内部)
  5860. type: string
  5861. goodsid:
  5862. description: 商品ID(自增ID SEQ_GOODS)
  5863. type: integer
  5864. goodsname:
  5865. description: 商品名称
  5866. type: string
  5867. marketid:
  5868. description: 所属市场ID
  5869. type: integer
  5870. required:
  5871. - goodscode
  5872. - goodsid
  5873. - goodsname
  5874. - marketid
  5875. type: object
  5876. models.GoodsTypeModel:
  5877. properties:
  5878. convertfactor:
  5879. description: 标仓系数
  5880. type: number
  5881. modelid:
  5882. description: 型号ID
  5883. type: integer
  5884. modelname:
  5885. description: 型号名称
  5886. type: string
  5887. updatetime:
  5888. description: 更新时间
  5889. type: string
  5890. type: object
  5891. models.Goodsgroup:
  5892. properties:
  5893. agreeunit:
  5894. description: 合约单位
  5895. type: number
  5896. canshort:
  5897. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5898. type: integer
  5899. closepricemode:
  5900. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5901. type: integer
  5902. closepriceparam:
  5903. description: 强平最新价浮动比例 - 方式为2时使用
  5904. type: number
  5905. createtime:
  5906. description: 创建时间
  5907. type: string
  5908. creatorid:
  5909. description: 创建人
  5910. type: integer
  5911. currencyid:
  5912. description: 报价货币ID
  5913. type: integer
  5914. decimalplace:
  5915. description: 报价小数位
  5916. type: integer
  5917. exercisetype:
  5918. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  5919. type: integer
  5920. exexchangeid:
  5921. description: 外部交易所ID[通道交易]
  5922. type: integer
  5923. goodsgroupid:
  5924. description: 商品组ID(自增ID)
  5925. type: integer
  5926. goodsgroupname:
  5927. description: 商品组名称
  5928. type: string
  5929. goodsgroupstatus:
  5930. description: 商品组状态 - 1:正常 2:注销
  5931. type: integer
  5932. goodunitid:
  5933. description: 报价单位ID
  5934. type: integer
  5935. innerdealmode:
  5936. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5937. type: integer
  5938. isbuylimited:
  5939. description: 是否限制建仓量 - 0:不限制 1:限制
  5940. type: integer
  5941. marketid:
  5942. description: 所属市场ID
  5943. type: integer
  5944. modifierid:
  5945. description: 修改人
  5946. type: integer
  5947. modifytime:
  5948. description: 修改时间
  5949. type: string
  5950. outerdealmode:
  5951. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5952. type: integer
  5953. outergroupcode:
  5954. description: 外部商品组代码[通道交易]
  5955. type: string
  5956. premiumdecimalplace:
  5957. description: 权利金小数位[场外期权]
  5958. type: integer
  5959. premiumspreadalgorithm:
  5960. description: 权利金点差方式[场外期权] 1:比率 2:固定
  5961. type: integer
  5962. premiumspreadvalue:
  5963. description: 权利金点差值[场外期权]
  5964. type: number
  5965. qtydecimalplace:
  5966. description: 成交量小数位
  5967. type: integer
  5968. quotegear:
  5969. description: 行情档位(1-10)
  5970. type: integer
  5971. quoteminunit:
  5972. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5973. type: integer
  5974. quoterid:
  5975. description: 报价商ID[场外期权]
  5976. type: integer
  5977. quotesourcegroupid:
  5978. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5979. type: integer
  5980. syncgoodsqty:
  5981. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5982. type: integer
  5983. required:
  5984. - goodsgroupid
  5985. - goodsgroupname
  5986. - goodsgroupstatus
  5987. - marketid
  5988. type: object
  5989. models.Goodssortbypreposition:
  5990. properties:
  5991. goodscode:
  5992. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  5993. type: string
  5994. goodsgroupcode:
  5995. description: 品种代码
  5996. type: string
  5997. prepositionqty:
  5998. description: 昨持仓量
  5999. type: integer
  6000. sortindex:
  6001. description: 排序
  6002. type: integer
  6003. tradedate:
  6004. description: 交易日
  6005. type: string
  6006. updatetime:
  6007. description: 更新时间
  6008. type: string
  6009. required:
  6010. - goodscode
  6011. - tradedate
  6012. type: object
  6013. models.Hedgeinnerholderdetail:
  6014. properties:
  6015. accountid:
  6016. description: 账号ID
  6017. type: integer
  6018. buyorsell:
  6019. description: 方向 - 0:买 1:卖
  6020. type: integer
  6021. freezeqty:
  6022. description: 冻结数量 - 按单平使用
  6023. type: integer
  6024. goodsid:
  6025. description: 商品ID
  6026. type: integer
  6027. holderamount:
  6028. description: 持仓金额 [商品币种]
  6029. type: number
  6030. holderdays:
  6031. description: 剩余冻结天数
  6032. type: integer
  6033. holderprice:
  6034. description: 持仓价格
  6035. type: number
  6036. holderqty:
  6037. description: 持仓数量
  6038. type: integer
  6039. marketid:
  6040. description: 市场ID
  6041. type: integer
  6042. openprice:
  6043. description: 建仓价格
  6044. type: number
  6045. openqty:
  6046. description: 建仓数量
  6047. type: integer
  6048. parentaccountid:
  6049. description: 所属母账户
  6050. type: integer
  6051. releaseamount:
  6052. description: 释放持仓金额[商品币种]
  6053. type: number
  6054. tradeamount:
  6055. description: 成交金额[账户]
  6056. type: number
  6057. tradedate:
  6058. description: 交易日(yyyyMMdd)
  6059. type: string
  6060. tradeid:
  6061. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6062. type: string
  6063. tradetime:
  6064. description: 交易时间
  6065. type: string
  6066. required:
  6067. - buyorsell
  6068. - tradeid
  6069. type: object
  6070. models.HsbyBuyMyPayOrder:
  6071. properties:
  6072. agreeunit:
  6073. description: 合约单位
  6074. type: number
  6075. buyaccountid:
  6076. description: 买方账号ID[报价币种]
  6077. type: integer
  6078. buyorderid:
  6079. description: 买方委托单号
  6080. type: string
  6081. createtime:
  6082. description: 创建时间
  6083. type: string
  6084. currencysign:
  6085. description: 货币符号
  6086. type: string
  6087. decimalplace:
  6088. description: 报价小数位
  6089. type: integer
  6090. goodscode:
  6091. description: 商品代码(内部)
  6092. type: string
  6093. goodsid:
  6094. description: 商品ID
  6095. type: integer
  6096. goodsname:
  6097. description: 商品名称
  6098. type: string
  6099. marketid:
  6100. description: 市场ID
  6101. type: integer
  6102. offamount:
  6103. description: 优惠金额
  6104. type: number
  6105. originalamount:
  6106. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  6107. type: number
  6108. payamount:
  6109. description: 支付金额 = TradeAmount + TradeCharge
  6110. type: number
  6111. payflag:
  6112. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  6113. type: integer
  6114. paylimitedtime:
  6115. description: 支付期限
  6116. type: string
  6117. paytime:
  6118. description: 付款时间
  6119. type: string
  6120. picurls1:
  6121. description: 预售商品介绍图片[多张用逗号分隔]
  6122. type: string
  6123. picurls2:
  6124. description: 挂牌商品介绍图片[多张用逗号分隔]
  6125. type: string
  6126. sellaccountid:
  6127. description: 卖方账号ID[报价币种]
  6128. type: integer
  6129. sellorderid:
  6130. description: 卖方委托单号
  6131. type: string
  6132. tradeamount:
  6133. description: 成交金额
  6134. type: number
  6135. tradecharge:
  6136. description: 成交手续费(买方)
  6137. type: number
  6138. tradedate:
  6139. description: 交易日(yyyyMMdd)
  6140. type: string
  6141. tradeid:
  6142. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6143. type: string
  6144. trademode:
  6145. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6146. 21:竞拍-大宗式 22:受托竞价
  6147. type: integer
  6148. tradeprice:
  6149. description: 成交价格
  6150. type: number
  6151. tradeqty:
  6152. description: 成交数量
  6153. type: integer
  6154. vendorname1:
  6155. description: 预售商品供应商名称
  6156. type: string
  6157. vendorname2:
  6158. description: 挂牌商品供应商名称
  6159. type: string
  6160. required:
  6161. - goodscode
  6162. - goodsname
  6163. - tradeid
  6164. - trademode
  6165. type: object
  6166. models.HsbyBuyMyTradeDetail:
  6167. properties:
  6168. accountid:
  6169. description: 账户ID[报价币种]
  6170. type: integer
  6171. agreeunit:
  6172. description: 合约单位
  6173. type: number
  6174. amount:
  6175. description: 金额 = 价格 * 数量 * 合约单位
  6176. type: number
  6177. buyorsell:
  6178. description: 买卖 - 0:买 1:卖
  6179. type: integer
  6180. currencysign:
  6181. description: 货币符号
  6182. type: string
  6183. decimalplace:
  6184. description: 报价小数位
  6185. type: integer
  6186. goodscode:
  6187. description: 商品代码(内部)
  6188. type: string
  6189. goodsid:
  6190. description: 商品ID
  6191. type: integer
  6192. goodsname:
  6193. description: 商品名称
  6194. type: string
  6195. marketid:
  6196. description: 市场ID
  6197. type: integer
  6198. orderamount:
  6199. description: 委托金额
  6200. type: number
  6201. orderid:
  6202. description: 单号(成交单号)
  6203. type: string
  6204. picurls1:
  6205. description: 预售商品介绍图片[多张用逗号分隔]
  6206. type: string
  6207. picurls2:
  6208. description: 挂牌商品介绍图片[多张用逗号分隔]
  6209. type: string
  6210. price:
  6211. description: 价格
  6212. type: number
  6213. qty:
  6214. description: 数量
  6215. type: integer
  6216. time:
  6217. description: 时间
  6218. type: string
  6219. trademode:
  6220. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6221. 21:竞拍-大宗式 22:受托竞价
  6222. type: integer
  6223. vendorname1:
  6224. description: 预售商品供应商名称
  6225. type: string
  6226. vendorname2:
  6227. description: 挂牌商品供应商名称
  6228. type: string
  6229. required:
  6230. - accountid
  6231. - buyorsell
  6232. - goodscode
  6233. - goodsid
  6234. - goodsname
  6235. - marketid
  6236. - orderid
  6237. - qty
  6238. - time
  6239. - trademode
  6240. type: object
  6241. models.HsbyGoodsOrderDetail:
  6242. properties:
  6243. buyorsell:
  6244. description: 买卖 - 0:买 1:卖
  6245. type: integer
  6246. currencysign:
  6247. description: 货币符号
  6248. type: string
  6249. customername:
  6250. description: 客户名称(企业名称),已脱敏
  6251. type: string
  6252. enableqty:
  6253. description: 可用数量
  6254. type: integer
  6255. goodunit:
  6256. description: 报价单位
  6257. type: string
  6258. orderid:
  6259. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6260. type: string
  6261. orderprice:
  6262. description: 委托价格
  6263. type: number
  6264. ordertime:
  6265. description: 委托时间
  6266. type: string
  6267. required:
  6268. - buyorsell
  6269. - orderid
  6270. - ordertime
  6271. type: object
  6272. models.HsbyListingGoodsDetail:
  6273. properties:
  6274. agreeunit:
  6275. description: 合约单位
  6276. type: number
  6277. buymaxqty:
  6278. description: 购买上限 [71] - 0为不限
  6279. type: integer
  6280. currency:
  6281. description: 货币
  6282. type: string
  6283. currencysign:
  6284. description: 货币符号
  6285. type: string
  6286. decimalplace:
  6287. description: 报价小数位
  6288. type: integer
  6289. desccityid:
  6290. description: 目的地(市)ID
  6291. type: integer
  6292. descprovinceid:
  6293. description: 目的地(省)ID
  6294. type: integer
  6295. goodscode:
  6296. description: 商品代码(内部)
  6297. type: string
  6298. goodsdesc:
  6299. description: 商品详情
  6300. type: string
  6301. goodsid:
  6302. description: 商品ID(自增ID SEQ_GOODS)
  6303. type: integer
  6304. goodsname:
  6305. description: 商品名称
  6306. type: string
  6307. goodsprice:
  6308. description: 商品价格
  6309. type: number
  6310. hotindex:
  6311. description: 景点热度
  6312. type: integer
  6313. last:
  6314. description: 现价
  6315. type: number
  6316. limitdown:
  6317. description: 跌停价
  6318. type: number
  6319. limitup:
  6320. description: 涨停价
  6321. type: number
  6322. lotsize:
  6323. description: 手数最小变动单位
  6324. type: integer
  6325. marketid:
  6326. description: 所属市场ID
  6327. type: integer
  6328. picurls:
  6329. description: 介绍图片[多张用逗号分隔]
  6330. type: string
  6331. quoteminunit:
  6332. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6333. type: integer
  6334. stepvalue:
  6335. description: 价格最小变动单位
  6336. type: number
  6337. trademode:
  6338. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6339. 21:竞拍-大宗式 22:受托竞价
  6340. type: integer
  6341. vendorattr:
  6342. description: 供应商附件(多张,逗号分隔)
  6343. type: string
  6344. vendorname:
  6345. description: 供应商名称
  6346. type: string
  6347. vendorphone:
  6348. description: 供应商客服电话
  6349. type: string
  6350. videourls:
  6351. description: 介绍视频[多张用逗号分隔]
  6352. type: string
  6353. required:
  6354. - goodscode
  6355. - goodsid
  6356. - goodsname
  6357. - marketid
  6358. - trademode
  6359. type: object
  6360. models.HsbyMarketGoods:
  6361. properties:
  6362. accountid:
  6363. description: 账户ID[报价币种]
  6364. type: integer
  6365. agreeunit:
  6366. description: 合约单位
  6367. type: number
  6368. buyorsell:
  6369. description: 买卖 - 0:买 1:卖
  6370. type: integer
  6371. categoryid:
  6372. description: 类别ID(WRCATEGORY)
  6373. type: integer
  6374. currency:
  6375. description: 货币
  6376. type: string
  6377. currencysign:
  6378. description: 货币符号
  6379. type: string
  6380. customername:
  6381. description: 卖家名称
  6382. type: string
  6383. decimalplace:
  6384. description: 报价小数位
  6385. type: integer
  6386. goodscode:
  6387. description: 商品代码(内部)
  6388. type: string
  6389. goodsid:
  6390. description: 商品ID
  6391. type: integer
  6392. goodsname:
  6393. description: 商品名称
  6394. type: string
  6395. goodsprice:
  6396. description: 商品价格
  6397. type: number
  6398. hascoupon:
  6399. description: 是否可用优惠卷
  6400. type: boolean
  6401. hotindex:
  6402. description: 景点热度
  6403. type: integer
  6404. marketid:
  6405. description: 市场ID
  6406. type: integer
  6407. orderid:
  6408. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6409. type: string
  6410. orderprice:
  6411. description: 委托价格
  6412. type: number
  6413. orderstatus:
  6414. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  6415. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  6416. 16:成交失败违约(荷兰式竞拍专用)
  6417. type: integer
  6418. picurls:
  6419. description: 介绍图片[多张用逗号分隔]
  6420. type: string
  6421. quoteminunit:
  6422. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6423. type: integer
  6424. sellUserID:
  6425. description: 卖方UserID
  6426. type: integer
  6427. trademode:
  6428. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6429. 21:竞拍-大宗式 22:受托竞价
  6430. type: integer
  6431. videourls:
  6432. description: 介绍视频[多张用逗号分隔]
  6433. type: string
  6434. required:
  6435. - accountid
  6436. - buyorsell
  6437. - goodscode
  6438. - goodsid
  6439. - goodsname
  6440. - marketid
  6441. - orderid
  6442. - trademode
  6443. type: object
  6444. models.HsbyMarketGoodsDetail:
  6445. properties:
  6446. accountid:
  6447. description: 账户ID[报价币种]
  6448. type: integer
  6449. agreeunit:
  6450. description: 合约单位
  6451. type: number
  6452. buymaxqty:
  6453. description: 购买上限 [71] - 0为不限
  6454. type: integer
  6455. buyorsell:
  6456. description: 买卖 - 0:买 1:卖
  6457. type: integer
  6458. cancelqty:
  6459. description: 撤单数量
  6460. type: integer
  6461. categoryid:
  6462. description: 类别ID(WRCATEGORY)
  6463. type: integer
  6464. currency:
  6465. description: 货币
  6466. type: string
  6467. currencysign:
  6468. description: 货币符号
  6469. type: string
  6470. customername:
  6471. description: 卖家名称
  6472. type: string
  6473. decimalplace:
  6474. description: 报价小数位
  6475. type: integer
  6476. goodscode:
  6477. description: 商品代码(内部)
  6478. type: string
  6479. goodsdesc:
  6480. description: 商品详情
  6481. type: string
  6482. goodsid:
  6483. description: 商品ID
  6484. type: integer
  6485. goodsname:
  6486. description: 商品名称
  6487. type: string
  6488. goodsprice:
  6489. description: 商品价格
  6490. type: number
  6491. hotindex:
  6492. description: 景点热度
  6493. type: integer
  6494. lotsize:
  6495. description: 手数最小变动单位
  6496. type: integer
  6497. marketid:
  6498. description: 市场ID
  6499. type: integer
  6500. orderid:
  6501. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6502. type: string
  6503. orderprice:
  6504. description: 委托价格
  6505. type: number
  6506. orderqty:
  6507. description: 委托数量
  6508. type: integer
  6509. orderstatus:
  6510. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  6511. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  6512. 16:成交失败违约(荷兰式竞拍专用)
  6513. type: integer
  6514. picurls:
  6515. description: 介绍图片[多张用逗号分隔]
  6516. type: string
  6517. quoteminunit:
  6518. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6519. type: integer
  6520. sellUserID:
  6521. description: 卖方UserID
  6522. type: integer
  6523. trademode:
  6524. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6525. 21:竞拍-大宗式 22:受托竞价
  6526. type: integer
  6527. tradeqty:
  6528. description: 成交数量
  6529. type: integer
  6530. vendorattr:
  6531. description: 供应商附件(多张,逗号分隔)
  6532. type: string
  6533. vendorname:
  6534. description: 供应商名称
  6535. type: string
  6536. vendorphone:
  6537. description: 供应商客服电话
  6538. type: string
  6539. videourls:
  6540. description: 介绍视频[多张用逗号分隔]
  6541. type: string
  6542. required:
  6543. - accountid
  6544. - buyorsell
  6545. - goodscode
  6546. - goodsid
  6547. - goodsname
  6548. - marketid
  6549. - orderid
  6550. - orderqty
  6551. - trademode
  6552. type: object
  6553. models.HsbyMarketInfo:
  6554. properties:
  6555. marketid:
  6556. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  6557. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  6558. type: integer
  6559. marketname:
  6560. description: 市场名称
  6561. type: string
  6562. marketstatus:
  6563. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  6564. type: integer
  6565. trademode:
  6566. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6567. 21:竞拍-大宗式 22:受托竞价
  6568. type: integer
  6569. required:
  6570. - marketid
  6571. - marketstatus
  6572. - trademode
  6573. type: object
  6574. models.HsbyMyGoods:
  6575. properties:
  6576. accountid:
  6577. description: 账号Id
  6578. type: integer
  6579. agreeunit:
  6580. description: 合约单位
  6581. type: number
  6582. buyaverageprice:
  6583. description: 持仓均价
  6584. type: number
  6585. buycurholderamount:
  6586. description: 买当前持仓总金额[商品币种]
  6587. type: number
  6588. buycurpositionqty:
  6589. description: 买当前持仓总数量
  6590. type: integer
  6591. buymaxqty:
  6592. description: 购买上限 [71] - 0为不限
  6593. type: integer
  6594. currencysign:
  6595. description: 货币符号
  6596. type: string
  6597. decimalplace:
  6598. description: 报价小数位
  6599. type: integer
  6600. enableqty:
  6601. description: 可用数量
  6602. type: integer
  6603. goodscode:
  6604. description: 商品代码(内部)
  6605. type: string
  6606. goodsid:
  6607. description: 商品Id
  6608. type: integer
  6609. goodsname:
  6610. description: 商品名称
  6611. type: string
  6612. goodsprice:
  6613. description: 商品价格
  6614. type: number
  6615. goodsstatus:
  6616. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6617. type: integer
  6618. last:
  6619. description: 现价(仅使用于挂牌点选)
  6620. type: number
  6621. limitdown:
  6622. description: 跌停价(仅使用于挂牌点选)
  6623. type: number
  6624. limitup:
  6625. description: 涨停价(仅使用于挂牌点选)
  6626. type: number
  6627. lotsize:
  6628. description: 手数最小变动单位
  6629. type: integer
  6630. marketid:
  6631. description: 所属市场ID
  6632. type: integer
  6633. picurls:
  6634. description: 介绍图片[多张用逗号分隔]
  6635. type: string
  6636. quoteminunit:
  6637. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6638. type: integer
  6639. stepvalue:
  6640. description: 价格最小变动单位
  6641. type: number
  6642. trademode:
  6643. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6644. 21:竞拍-大宗式 22:受托竞价
  6645. type: integer
  6646. required:
  6647. - accountid
  6648. - goodscode
  6649. - goodsid
  6650. - goodsname
  6651. - marketid
  6652. - trademode
  6653. type: object
  6654. models.HsbyMyPackage:
  6655. properties:
  6656. accountid:
  6657. description: 账户ID
  6658. type: integer
  6659. address:
  6660. description: 提货人详细地址
  6661. type: string
  6662. agreeunit:
  6663. description: 合约单位
  6664. type: number
  6665. amount:
  6666. description: 提货金额
  6667. type: number
  6668. auditer:
  6669. description: 审核人
  6670. type: integer
  6671. audittime:
  6672. description: 审核时间
  6673. type: string
  6674. averageprice:
  6675. description: 均价
  6676. type: number
  6677. cardnum:
  6678. description: 提货人证件号码
  6679. type: string
  6680. cardtypeid:
  6681. description: 提货人证件类型
  6682. type: integer
  6683. checkremark:
  6684. description: 审核备注
  6685. type: string
  6686. currencysign:
  6687. description: 货币符号
  6688. type: string
  6689. decimalplace:
  6690. description: 报价小数位
  6691. type: integer
  6692. goodscode:
  6693. description: 商品代码(内部)
  6694. type: string
  6695. goodsid:
  6696. description: 商品ID
  6697. type: integer
  6698. goodsname:
  6699. description: 商品名称
  6700. type: string
  6701. handlestatus:
  6702. description: 处理状态
  6703. type: integer
  6704. marketid:
  6705. description: 市场ID
  6706. type: integer
  6707. phonenum:
  6708. description: 提货人联系方式
  6709. type: string
  6710. picurls:
  6711. description: 介绍图片[多张用逗号分隔]
  6712. type: string
  6713. qty:
  6714. description: 提货数量
  6715. type: number
  6716. recivername:
  6717. description: 提货人姓名
  6718. type: string
  6719. reqtime:
  6720. description: 更新时间
  6721. type: string
  6722. takemode:
  6723. description: 提货方式 - 2:自提 3:配送
  6724. type: integer
  6725. takeorderid:
  6726. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  6727. type: string
  6728. takeorderstatus:
  6729. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  6730. type: integer
  6731. takeremark:
  6732. description: 提货备注
  6733. type: string
  6734. tradedate:
  6735. description: 交易日(yyyyMMdd)
  6736. type: string
  6737. trademode:
  6738. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6739. 21:竞拍-大宗式 22:受托竞价
  6740. type: integer
  6741. userid:
  6742. description: 用户ID
  6743. type: integer
  6744. vendorname:
  6745. description: 供应商名称
  6746. type: string
  6747. required:
  6748. - goodscode
  6749. - goodsname
  6750. - takeorderid
  6751. - trademode
  6752. type: object
  6753. models.HsbyPreGoods:
  6754. properties:
  6755. agreeunit:
  6756. description: 合约单位
  6757. type: number
  6758. currency:
  6759. description: 货币
  6760. type: string
  6761. currencysign:
  6762. description: 货币符号
  6763. type: string
  6764. decimalplace:
  6765. description: 报价小数位
  6766. type: integer
  6767. desccityid:
  6768. description: 目的地(市)
  6769. type: integer
  6770. descprovinceid:
  6771. description: 目的地(省)
  6772. type: integer
  6773. enableqty:
  6774. description: 剩余数量
  6775. type: integer
  6776. goodscode:
  6777. description: 商品代码(内部)
  6778. type: string
  6779. goodsid:
  6780. description: 商品ID(自增ID SEQ_GOODS)
  6781. type: integer
  6782. goodsname:
  6783. description: 商品名称
  6784. type: string
  6785. goodsstatus:
  6786. description: 商品状态- 2:未上市 3:上市
  6787. type: integer
  6788. lasttradedate:
  6789. description: 最后交易日期(状态:待退市)
  6790. type: string
  6791. listingdate:
  6792. description: 交易开始日期
  6793. type: string
  6794. marketid:
  6795. description: 所属市场ID
  6796. type: integer
  6797. picurls:
  6798. description: 介绍图片[多张用逗号分隔]
  6799. type: string
  6800. presaledqty:
  6801. description: 已预售量(预售结束时更新)
  6802. type: integer
  6803. presaleqty:
  6804. description: 预售数量
  6805. type: integer
  6806. quoteminunit:
  6807. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6808. type: integer
  6809. refprice:
  6810. description: 参考价格[一口价]
  6811. type: number
  6812. relatedgoodsid:
  6813. description: 关联交易合约ID
  6814. type: integer
  6815. trademode:
  6816. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6817. 21:竞拍-大宗式 22:受托竞价
  6818. type: integer
  6819. videourls:
  6820. description: 介绍视频[多张用逗号分隔]
  6821. type: string
  6822. required:
  6823. - goodscode
  6824. - goodsid
  6825. - goodsname
  6826. - marketid
  6827. - trademode
  6828. type: object
  6829. models.HsbyPreGoodsDetail:
  6830. properties:
  6831. agreeunit:
  6832. description: 合约单位
  6833. type: number
  6834. buymaxqty:
  6835. description: 购买上限 [71] - 0为不限
  6836. type: integer
  6837. currency:
  6838. description: 货币
  6839. type: string
  6840. currencysign:
  6841. description: 货币符号
  6842. type: string
  6843. customername:
  6844. description: 发行单位
  6845. type: string
  6846. decimalplace:
  6847. description: 报价小数位
  6848. type: integer
  6849. desccityid:
  6850. description: 目的地(市)ID
  6851. type: integer
  6852. descprovinceid:
  6853. description: 目的地(省)ID
  6854. type: integer
  6855. enableqty:
  6856. description: 剩余数量
  6857. type: integer
  6858. goodscode:
  6859. description: 商品代码(内部)
  6860. type: string
  6861. goodsdesc:
  6862. description: 商品详情
  6863. type: string
  6864. goodsid:
  6865. description: 商品ID(自增ID SEQ_GOODS)
  6866. type: integer
  6867. goodsname:
  6868. description: 商品名称
  6869. type: string
  6870. goodsstatus:
  6871. description: 商品状态- 2:未上市 3:上市
  6872. type: integer
  6873. goodunit:
  6874. description: 报价单位
  6875. type: string
  6876. lasttradedate:
  6877. description: 最后交易日期(状态:待退市)
  6878. type: string
  6879. listingdate:
  6880. description: 交易开始日期
  6881. type: string
  6882. lotsize:
  6883. description: 手数最小变动单位
  6884. type: integer
  6885. marketid:
  6886. description: 所属市场ID
  6887. type: integer
  6888. picurls:
  6889. description: 介绍图片[多张用逗号分隔]
  6890. type: string
  6891. presaledqty:
  6892. description: 已预售量(预售结束时更新)
  6893. type: integer
  6894. presaleqty:
  6895. description: 预售数量
  6896. type: integer
  6897. quoteminunit:
  6898. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6899. type: integer
  6900. refprice:
  6901. description: 参考价格[一口价]
  6902. type: number
  6903. relatedgoodsid:
  6904. description: 关联交易合约ID
  6905. type: integer
  6906. stepvalue:
  6907. description: 价格最小变动单位
  6908. type: number
  6909. trademode:
  6910. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6911. 21:竞拍-大宗式 22:受托竞价
  6912. type: integer
  6913. vendorattr:
  6914. description: 供应商附件(多张,逗号分隔)
  6915. type: string
  6916. vendorname:
  6917. description: 供应商名称
  6918. type: string
  6919. vendorphone:
  6920. description: 供应商客服电话
  6921. type: string
  6922. videourls:
  6923. description: 介绍视频[多张用逗号分隔]
  6924. type: string
  6925. required:
  6926. - goodscode
  6927. - goodsid
  6928. - goodsname
  6929. - marketid
  6930. - trademode
  6931. type: object
  6932. models.HsbySellCollectionOrder:
  6933. properties:
  6934. agreeunit:
  6935. description: 合约单位
  6936. type: number
  6937. buyaccountid:
  6938. description: 买方账号ID[报价币种]
  6939. type: integer
  6940. buyorderid:
  6941. description: 买方委托单号
  6942. type: string
  6943. createtime:
  6944. description: 创建时间
  6945. type: string
  6946. currencysign:
  6947. description: 货币符号
  6948. type: string
  6949. decimalplace:
  6950. description: 报价小数位
  6951. type: integer
  6952. goodscode:
  6953. description: 商品代码(内部)
  6954. type: string
  6955. goodsid:
  6956. description: 商品ID
  6957. type: integer
  6958. goodsname:
  6959. description: 商品名称
  6960. type: string
  6961. marketid:
  6962. description: 市场ID
  6963. type: integer
  6964. offamount:
  6965. description: 优惠金额
  6966. type: number
  6967. payamount:
  6968. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  6969. type: number
  6970. payflag:
  6971. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  6972. type: integer
  6973. paylimitedtime:
  6974. description: 支付期限
  6975. type: string
  6976. paytime:
  6977. description: 付款时间
  6978. type: string
  6979. picurls:
  6980. description: 商品介绍图片[多张用逗号分隔]
  6981. type: string
  6982. sellaccountid:
  6983. description: 卖方账号ID[报价币种]
  6984. type: integer
  6985. sellorderid:
  6986. description: 卖方委托单号
  6987. type: string
  6988. tradeamount:
  6989. description: 成交金额
  6990. type: number
  6991. tradecharge:
  6992. description: 成交手续费(买方)
  6993. type: number
  6994. tradedate:
  6995. description: 交易日(yyyyMMdd)
  6996. type: string
  6997. tradeid:
  6998. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6999. type: string
  7000. trademode:
  7001. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7002. 21:竞拍-大宗式 22:受托竞价
  7003. type: integer
  7004. tradeprice:
  7005. description: 成交价格
  7006. type: number
  7007. tradeqty:
  7008. description: 成交数量
  7009. type: integer
  7010. required:
  7011. - goodscode
  7012. - goodsname
  7013. - tradeid
  7014. - trademode
  7015. type: object
  7016. models.HsbySellMyDetail:
  7017. properties:
  7018. accountid:
  7019. description: 账户ID[报价币种]
  7020. type: integer
  7021. agreeunit:
  7022. description: 合约单位
  7023. type: number
  7024. buyorsell:
  7025. description: 买卖 - 0:买 1:卖
  7026. type: integer
  7027. currencysign:
  7028. description: 货币符号
  7029. type: string
  7030. decimalplace:
  7031. description: 报价小数位
  7032. type: integer
  7033. goodscode:
  7034. description: 商品代码(内部)
  7035. type: string
  7036. goodsid:
  7037. description: 商品ID
  7038. type: integer
  7039. goodsname:
  7040. description: 商品名称
  7041. type: string
  7042. marketid:
  7043. description: 市场ID
  7044. type: integer
  7045. orderid:
  7046. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  7047. type: string
  7048. ordertype:
  7049. description: 单据类型:0 - 发布中, 1 - 已完成
  7050. type: integer
  7051. picurls:
  7052. description: 介绍图片[多张用逗号分隔]
  7053. type: string
  7054. price:
  7055. description: 价格
  7056. type: number
  7057. qty:
  7058. description: 数量
  7059. type: integer
  7060. time:
  7061. description: 时间
  7062. type: string
  7063. trademode:
  7064. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7065. 21:竞拍-大宗式 22:受托竞价
  7066. type: integer
  7067. vendorname:
  7068. description: 供应商名称
  7069. type: string
  7070. required:
  7071. - accountid
  7072. - buyorsell
  7073. - goodscode
  7074. - goodsid
  7075. - goodsname
  7076. - marketid
  7077. - orderid
  7078. - time
  7079. - trademode
  7080. type: object
  7081. models.HsbyTopGoods:
  7082. properties:
  7083. agreeunit:
  7084. description: 合约单位
  7085. type: number
  7086. currency:
  7087. description: 货币
  7088. type: string
  7089. currencysign:
  7090. description: 货币符号
  7091. type: string
  7092. decimalplace:
  7093. description: 报价小数位
  7094. type: integer
  7095. desccityid:
  7096. description: 目的地(市)
  7097. type: integer
  7098. descprovinceid:
  7099. description: 目的地(省)
  7100. type: integer
  7101. goodscode:
  7102. description: 商品代码(内部)
  7103. type: string
  7104. goodsid:
  7105. description: 商品ID(自增ID SEQ_GOODS)
  7106. type: integer
  7107. goodsname:
  7108. description: 商品名称
  7109. type: string
  7110. hotindex:
  7111. description: 景点热度
  7112. type: integer
  7113. last:
  7114. description: 现价
  7115. type: number
  7116. marketid:
  7117. description: 所属市场ID
  7118. type: integer
  7119. picurls:
  7120. description: 介绍图片[多张用逗号分隔]
  7121. type: string
  7122. quoteminunit:
  7123. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7124. type: integer
  7125. trademode:
  7126. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7127. 21:竞拍-大宗式 22:受托竞价
  7128. type: integer
  7129. videourls:
  7130. description: 介绍视频[多张用逗号分隔]
  7131. type: string
  7132. required:
  7133. - goodscode
  7134. - goodsid
  7135. - goodsname
  7136. - marketid
  7137. - trademode
  7138. type: object
  7139. models.HybsMyBuyOrderDetail:
  7140. properties:
  7141. accountid:
  7142. description: 账户ID[报价币种]
  7143. type: integer
  7144. agreeunit:
  7145. description: 合约单位
  7146. type: number
  7147. buyorsell:
  7148. description: 买卖 - 0:买 1:卖
  7149. type: integer
  7150. cancelqty:
  7151. description: 撤单数量
  7152. type: integer
  7153. currencysign:
  7154. description: 货币符号
  7155. type: string
  7156. decimalplace:
  7157. description: 报价小数位
  7158. type: integer
  7159. goodscode:
  7160. description: 商品代码(内部)
  7161. type: string
  7162. goodsid:
  7163. description: 商品ID
  7164. type: integer
  7165. goodsname:
  7166. description: 商品名称
  7167. type: string
  7168. listingselecttype:
  7169. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7170. type: integer
  7171. marketid:
  7172. description: 市场ID
  7173. type: integer
  7174. mybuystatus:
  7175. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  7176. type: integer
  7177. orderamount:
  7178. description: 委托金额
  7179. type: number
  7180. orderid:
  7181. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7182. type: string
  7183. orderprice:
  7184. description: 委托价格
  7185. type: number
  7186. orderqty:
  7187. description: 委托数量
  7188. type: integer
  7189. orderstatus:
  7190. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7191. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7192. 16:成交失败违约(荷兰式竞拍专用)
  7193. type: integer
  7194. ordertime:
  7195. description: 委托时间
  7196. type: string
  7197. picurls1:
  7198. description: 预售商品介绍图片[多张用逗号分隔]
  7199. type: string
  7200. picurls2:
  7201. description: 挂牌商品介绍图片[多张用逗号分隔]
  7202. type: string
  7203. trademode:
  7204. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7205. 21:竞拍-大宗式 22:受托竞价
  7206. type: integer
  7207. tradeqty:
  7208. description: 成交数量
  7209. type: integer
  7210. vendorname1:
  7211. description: 预售商品供应商名称
  7212. type: string
  7213. vendorname2:
  7214. description: 挂牌商品供应商名称
  7215. type: string
  7216. required:
  7217. - accountid
  7218. - buyorsell
  7219. - goodscode
  7220. - goodsid
  7221. - goodsname
  7222. - marketid
  7223. - orderid
  7224. - orderqty
  7225. - ordertime
  7226. - trademode
  7227. type: object
  7228. models.Loginaccount:
  7229. properties:
  7230. canoutin:
  7231. description: 是否可出入金 - 0:不可 1:可
  7232. type: integer
  7233. clientroleid:
  7234. description: 终端角色ID
  7235. type: integer
  7236. haslogined:
  7237. description: 是否已登录 - 0:未登录 1:已登录
  7238. type: integer
  7239. hasupdatedpwd:
  7240. description: 是否已更改密码 - 0:未修改 1:已修改
  7241. type: integer
  7242. lastloginip:
  7243. description: 最新登录地址
  7244. type: string
  7245. lastloginmode:
  7246. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  7247. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  7248. type: integer
  7249. lastloginremark:
  7250. description: 最新登录描述
  7251. type: string
  7252. lastlogintime:
  7253. description: 最新登录时间
  7254. type: string
  7255. logincode:
  7256. description: 登录代码
  7257. type: string
  7258. loginfailnum:
  7259. description: 连续登录失败次数(登录成功时清零)
  7260. type: integer
  7261. loginid:
  7262. description: 登陆账号
  7263. type: integer
  7264. loginport:
  7265. description: 最新登录端口
  7266. type: integer
  7267. loginstatus:
  7268. description: 登录账号状态 1:正常 2:冻结 3:无效
  7269. type: integer
  7270. loginusertype:
  7271. description: 登录账号类型 - 1:投资者 2:机构交易员
  7272. type: integer
  7273. modifierid:
  7274. description: 修改人
  7275. type: integer
  7276. modifytime:
  7277. description: 修改时间
  7278. type: string
  7279. pwdwrongcount:
  7280. description: 密码错误次数
  7281. type: integer
  7282. taaccountrighttype:
  7283. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  7284. type: integer
  7285. unfreezetime:
  7286. description: 账户解冻时间
  7287. type: string
  7288. userid:
  7289. description: 用户ID
  7290. type: integer
  7291. required:
  7292. - loginid
  7293. type: object
  7294. models.MainAccountInfo:
  7295. properties:
  7296. accountid:
  7297. description: 账号id
  7298. type: string
  7299. appid:
  7300. description: AppID
  7301. type: string
  7302. authcode:
  7303. description: 授权码
  7304. type: string
  7305. brokerid:
  7306. description: 经纪商id
  7307. type: string
  7308. fcid:
  7309. description: 期货公司id
  7310. type: integer
  7311. fcname:
  7312. description: 期货公司代码
  7313. type: string
  7314. hedgeaccountcode:
  7315. description: 外部账号代码
  7316. type: string
  7317. hedgeaccountpwd:
  7318. description: 密码
  7319. type: string
  7320. ismain:
  7321. description: 是否主账号
  7322. type: integer
  7323. relateduserid:
  7324. description: 关联用户id
  7325. type: integer
  7326. type: object
  7327. models.Market:
  7328. properties:
  7329. auctionwrtype:
  7330. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  7331. type: integer
  7332. canacceptquote:
  7333. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  7334. type: integer
  7335. cangoodsexercise:
  7336. description: '[期权]是否可现货行权- 0:否 1:是'
  7337. type: integer
  7338. cangoodsexercisetype:
  7339. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  7340. type: integer
  7341. canmanualquotestrike:
  7342. description: 是否可手动报行权价- 0:否 1:是 [期权]
  7343. type: integer
  7344. canmutistage:
  7345. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  7346. type: integer
  7347. canpreexercise:
  7348. description: '[期权]是否可预申报- 0:否 1:是'
  7349. type: integer
  7350. clearinterval:
  7351. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  7352. type: integer
  7353. contracttmp:
  7354. description: 合同模板[荷兰式][竞价式][仓单贸易]
  7355. type: string
  7356. exchareaid:
  7357. description: 所属交易所,可以没有
  7358. type: integer
  7359. goodstype:
  7360. description: 商品类型 - 1:交易商品 2:仓单商品
  7361. type: integer
  7362. hasrebate:
  7363. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  7364. type: integer
  7365. hastradecredit:
  7366. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  7367. type: integer
  7368. haswr:
  7369. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  7370. type: integer
  7371. isdeductmargin:
  7372. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  7373. type: integer
  7374. isrecordsource:
  7375. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  7376. type: integer
  7377. isreleasemargin:
  7378. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  7379. type: integer
  7380. marginformula:
  7381. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  7382. type: integer
  7383. marginformula2:
  7384. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  7385. type: integer
  7386. marketid:
  7387. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  7388. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  7389. type: integer
  7390. marketname:
  7391. description: 市场名称
  7392. type: string
  7393. marketserviceid:
  7394. description: 市场服务ID
  7395. type: integer
  7396. marketstatus:
  7397. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  7398. type: integer
  7399. markettype:
  7400. description: 市场类型- 1:非交易服务 2:交易服务
  7401. type: integer
  7402. matchermode:
  7403. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  7404. type: integer
  7405. openmethod:
  7406. description: 开盘模式 - 0 自动 1手动
  7407. type: integer
  7408. otcuserid:
  7409. description: 场外期权做市商[场外期权]
  7410. type: integer
  7411. outersynctime:
  7412. description: 外部同步时间点(h24:mi:ss)[场外期权]
  7413. type: string
  7414. pendingflag:
  7415. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  7416. type: integer
  7417. pendingtime:
  7418. description: 待开市时间[通道交易-对冲](HH:mm)
  7419. type: string
  7420. performancetempid:
  7421. description: 履约计划模板ID - 作废
  7422. type: integer
  7423. premiumquotemode:
  7424. description: 权利金报价方式 - 1:自动 2:手动
  7425. type: integer
  7426. rebateratio:
  7427. description: 返利比率[竞价式]
  7428. type: number
  7429. reckonorder:
  7430. description: 结算顺序
  7431. type: integer
  7432. reckonpricealgorithm:
  7433. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  7434. 6.卖一价 7.买一卖一均价 8.外部结算价'
  7435. type: integer
  7436. reckonpriceparam:
  7437. description: 结算价参数
  7438. type: integer
  7439. reckontime:
  7440. description: 结算时间[通道交易-对冲](HH:mm)
  7441. type: string
  7442. roleprioritytype:
  7443. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  7444. type: integer
  7445. selllistingauditflag:
  7446. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  7447. type: integer
  7448. trademarkettype:
  7449. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  7450. type: integer
  7451. trademode:
  7452. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7453. 21:竞拍-大宗式 22:受托竞价
  7454. type: integer
  7455. tradeproperty:
  7456. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  7457. 8:场外期权
  7458. type: integer
  7459. tradetype:
  7460. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  7461. type: integer
  7462. required:
  7463. - marketid
  7464. - marketstatus
  7465. - openmethod
  7466. - reckonpricealgorithm
  7467. - trademode
  7468. - tradeproperty
  7469. type: object
  7470. models.Marketrun:
  7471. properties:
  7472. afternexttradedate:
  7473. description: 下下交易日
  7474. type: string
  7475. clearquoteflag:
  7476. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  7477. type: integer
  7478. lastreckondate:
  7479. description: 最新交易日(结算成功)
  7480. type: string
  7481. machinedate:
  7482. description: 机器时间
  7483. type: string
  7484. manualflag:
  7485. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  7486. type: integer
  7487. marketid:
  7488. description: 市场ID
  7489. type: integer
  7490. nexttradedate:
  7491. description: 下一交易日
  7492. type: string
  7493. pretradedate:
  7494. description: 上一交易日
  7495. type: string
  7496. reckonflag:
  7497. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  7498. type: integer
  7499. runstatus:
  7500. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  7501. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  7502. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  7503. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  7504. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  7505. 62.今日免清算
  7506. type: integer
  7507. sectionid:
  7508. description: 时间段号[多时段时用]
  7509. type: integer
  7510. tradedate:
  7511. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  7512. type: string
  7513. tradedate2:
  7514. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  7515. type: string
  7516. updatetime:
  7517. description: 更新时间
  7518. type: string
  7519. required:
  7520. - marketid
  7521. - nexttradedate
  7522. - reckonflag
  7523. - runstatus
  7524. - tradedate
  7525. - tradedate2
  7526. type: object
  7527. models.Messageboard:
  7528. properties:
  7529. contactnum:
  7530. description: 联系电话
  7531. type: string
  7532. createtime:
  7533. description: 创建时间
  7534. type: string
  7535. message:
  7536. description: 留言信息
  7537. type: string
  7538. messageboardid:
  7539. description: 留言簿ID(SEQ_MessageBoard)
  7540. type: integer
  7541. userid:
  7542. description: 用户ID
  7543. type: integer
  7544. required:
  7545. - messageboardid
  7546. type: object
  7547. models.MyCoupon:
  7548. properties:
  7549. accountid:
  7550. description: 资金账户ID
  7551. type: integer
  7552. areauserid:
  7553. description: 所属机构
  7554. type: integer
  7555. conditionvalue:
  7556. description: 条件阈值(可为0)
  7557. type: number
  7558. couponcategroy:
  7559. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  7560. type: integer
  7561. couponname:
  7562. description: 优惠券名称
  7563. type: string
  7564. coupontypeid:
  7565. description: 优惠券类型ID
  7566. type: string
  7567. couponvalue:
  7568. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  7569. type: number
  7570. curfreezeqty:
  7571. description: 期末冻结数量
  7572. type: integer
  7573. curqty:
  7574. description: 期末数量
  7575. type: integer
  7576. isgeneral:
  7577. description: 是否通用券 - 0:否 1:是
  7578. type: integer
  7579. isunusable:
  7580. description: 是否不可用
  7581. type: boolean
  7582. limitedflag:
  7583. description: 是否指定商品 - 0:不限 1:限制
  7584. type: integer
  7585. limitedgoodsids:
  7586. description: 指定商品IDs[逗号分隔,前后加逗号]
  7587. type: string
  7588. orifreezeqty:
  7589. description: 期初冻结数量
  7590. type: integer
  7591. oriqty:
  7592. description: 期初数量
  7593. type: integer
  7594. reasontype:
  7595. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  7596. type: integer
  7597. todaydecrease:
  7598. description: 今日减少
  7599. type: integer
  7600. todayincrease:
  7601. description: 今日增加
  7602. type: integer
  7603. userid:
  7604. description: 用户ID
  7605. type: integer
  7606. userscope:
  7607. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  7608. type: string
  7609. required:
  7610. - accountid
  7611. - coupontypeid
  7612. type: object
  7613. models.MyCouponHold:
  7614. properties:
  7615. accountid:
  7616. description: 资金账户ID
  7617. type: integer
  7618. conditionvalue:
  7619. description: 条件阈值(可为0)
  7620. type: number
  7621. couponcategroy:
  7622. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  7623. type: integer
  7624. couponholdid:
  7625. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  7626. type: string
  7627. couponname:
  7628. description: 优惠券名称
  7629. type: string
  7630. coupontypeid:
  7631. description: 优惠券类型ID - SEQ_COUPONTYPE
  7632. type: string
  7633. couponvalue:
  7634. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  7635. type: number
  7636. createtime:
  7637. description: 创建时间
  7638. type: string
  7639. enddate:
  7640. description: 结束日期
  7641. type: string
  7642. giveapplyid:
  7643. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  7644. type: integer
  7645. holdstatus:
  7646. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  7647. type: integer
  7648. isgeneral:
  7649. description: 是否通用券 - 0:否 1:是
  7650. type: integer
  7651. limitedflag:
  7652. description: 是否指定商品 - 0:不限 1:限制
  7653. type: integer
  7654. limitedgoodsids:
  7655. description: 指定商品IDs[逗号分隔]
  7656. type: string
  7657. qty:
  7658. description: 数量(按1平铺)
  7659. type: integer
  7660. startdate:
  7661. description: 开始日期
  7662. type: string
  7663. userid:
  7664. description: 用户ID
  7665. type: integer
  7666. userscope:
  7667. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  7668. type: string
  7669. required:
  7670. - couponholdid
  7671. type: object
  7672. models.MyUsedCoupon:
  7673. properties:
  7674. accountid:
  7675. description: 资金账户ID(买方)
  7676. type: integer
  7677. conditionvalue:
  7678. description: 条件阈值(可为0)
  7679. type: number
  7680. couponcategroy:
  7681. description: 种类 - 1:现金券 2:折扣券
  7682. type: integer
  7683. couponname:
  7684. description: 优惠券名称
  7685. type: string
  7686. coupontypeid:
  7687. description: 优惠券类型ID(买方)
  7688. type: string
  7689. couponvalue:
  7690. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  7691. type: number
  7692. createtime:
  7693. description: 创建时间
  7694. type: string
  7695. goodsid:
  7696. description: 商品ID
  7697. type: integer
  7698. handlestatus:
  7699. description: 处理状态
  7700. type: integer
  7701. marketid:
  7702. description: 市场ID
  7703. type: integer
  7704. offamount:
  7705. description: 优惠金额
  7706. type: number
  7707. orderid:
  7708. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7709. type: string
  7710. sellaccountid:
  7711. description: 资金账户ID(卖方)
  7712. type: integer
  7713. tradeamount:
  7714. description: 成交金额
  7715. type: number
  7716. tradeid:
  7717. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7718. type: string
  7719. usedqty:
  7720. description: 使用数量
  7721. type: integer
  7722. required:
  7723. - coupontypeid
  7724. - orderid
  7725. type: object
  7726. models.OperationPrimaryMenu:
  7727. properties:
  7728. Children:
  7729. description: 二级功能菜单
  7730. items:
  7731. $ref: '#/definitions/models.OperationSecondaryMenu'
  7732. type: array
  7733. Key:
  7734. description: 菜单KEY
  7735. type: string
  7736. Label:
  7737. description: 菜单标题
  7738. type: string
  7739. type: object
  7740. models.OperationSecondaryMenu:
  7741. properties:
  7742. Key:
  7743. description: 菜单KEY
  7744. type: string
  7745. Label:
  7746. description: 菜单标题
  7747. type: string
  7748. TabList:
  7749. description: 三级功能菜单
  7750. items:
  7751. $ref: '#/definitions/models.OperationTabMenu'
  7752. type: array
  7753. type: object
  7754. models.OperationTabMenu:
  7755. properties:
  7756. Key:
  7757. description: 菜单KEY
  7758. type: string
  7759. Label:
  7760. description: 菜单标题
  7761. type: string
  7762. type: object
  7763. models.PendingAuditBizModel:
  7764. properties:
  7765. accountid:
  7766. description: 现货账户
  7767. type: string
  7768. areaname:
  7769. description: 所属部门
  7770. type: string
  7771. bizid:
  7772. description: 业务ID
  7773. type: string
  7774. bizname:
  7775. description: 业务名称
  7776. type: string
  7777. status:
  7778. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  7779. type: integer
  7780. type:
  7781. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  7782. type: integer
  7783. type: object
  7784. models.QueryErrorInfosRsp:
  7785. properties:
  7786. description:
  7787. description: 异常描述
  7788. type: string
  7789. errorcode:
  7790. description: 异常代码
  7791. type: string
  7792. errorid:
  7793. description: 异常ID
  7794. type: integer
  7795. modulecode:
  7796. description: 所属模块
  7797. type: string
  7798. operatecode:
  7799. description: 所属操作
  7800. type: string
  7801. rownumber:
  7802. description: 行号
  7803. type: string
  7804. required:
  7805. - errorid
  7806. type: object
  7807. models.QueryHedgeOrderDetailRsp:
  7808. properties:
  7809. accountid:
  7810. description: 账户ID
  7811. type: integer
  7812. buyorsell:
  7813. description: 买卖 - 0:买 1:卖
  7814. type: integer
  7815. cancellogincode:
  7816. description: 撤单人
  7817. type: string
  7818. channelbuildtype:
  7819. description: 开平标志 - 0:无 1:建仓 2:平仓
  7820. type: integer
  7821. channelinnerorderstatus:
  7822. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  7823. 9:全部成交
  7824. type: integer
  7825. channeloperatetype:
  7826. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  7827. type: integer
  7828. closetype:
  7829. description: 平仓方式 - 0:无 1:平今 2:平昨
  7830. type: integer
  7831. curexchangerate:
  7832. description: 当前汇率
  7833. type: number
  7834. exchangefullname:
  7835. description: 外部交易所全称
  7836. type: string
  7837. goodscode:
  7838. description: 商品代码(内部)
  7839. type: string
  7840. goodsid:
  7841. description: 商品ID
  7842. type: integer
  7843. goodsname:
  7844. description: 商品名称
  7845. type: string
  7846. marketid:
  7847. description: 市场ID
  7848. type: integer
  7849. openfreezemargin:
  7850. description: 冻结保证金(冻结交易金额)
  7851. type: number
  7852. orderid:
  7853. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7854. type: string
  7855. orderlogincode:
  7856. description: 委托人
  7857. type: string
  7858. orderprice:
  7859. description: 委托价格(账户)
  7860. type: number
  7861. orderqty:
  7862. description: 委托数量
  7863. type: integer
  7864. ordertime:
  7865. description: 委托时间
  7866. type: string
  7867. pricemode:
  7868. description: '取价方式 - 1:市价 2: 限价'
  7869. type: integer
  7870. tradedate:
  7871. description: 交易日(yyyyMMdd)
  7872. type: string
  7873. tradeqty:
  7874. description: 成交数量
  7875. type: integer
  7876. type: object
  7877. models.QueryHedgeTradeDetailRsp:
  7878. properties:
  7879. accountid:
  7880. description: 账号ID
  7881. type: integer
  7882. buyorsell:
  7883. description: 方向 - 0:买 1:卖
  7884. type: integer
  7885. channelbuildtype:
  7886. description: 委托单据类型 0:无 1:建仓 2:平仓
  7887. type: integer
  7888. closecharge:
  7889. description: 平仓手续费(账户)
  7890. type: number
  7891. closecharge2:
  7892. description: 平仓手续费(商品)
  7893. type: number
  7894. closepl:
  7895. description: 平仓盈亏(账户)
  7896. type: number
  7897. closepl2:
  7898. description: 平仓盈亏(商品)
  7899. type: number
  7900. closepl3:
  7901. description: 平仓盈亏(账户)(逐笔)
  7902. type: number
  7903. closepl4:
  7904. description: 平仓盈亏(商品)(逐笔)
  7905. type: number
  7906. closetype:
  7907. description: 平仓方式 - 0:无 1:平今 2:平昨
  7908. type: integer
  7909. curexchangerate:
  7910. description: 当前汇率
  7911. type: number
  7912. exchangefullname:
  7913. description: 外部交易所全称
  7914. type: string
  7915. goodscode:
  7916. description: 商品代码(内部)
  7917. type: string
  7918. goodsid:
  7919. description: 商品ID
  7920. type: integer
  7921. goodsname:
  7922. description: 商品名称
  7923. type: string
  7924. marketid:
  7925. description: 市场ID
  7926. type: integer
  7927. opencharge:
  7928. description: 建仓手续费(账户)
  7929. type: number
  7930. opencharge2:
  7931. description: 建仓手续费(商品)
  7932. type: number
  7933. orderid:
  7934. description: 委托单号
  7935. type: string
  7936. orderlogincode:
  7937. description: 委托人
  7938. type: string
  7939. tradeamount:
  7940. description: 成交金额(账户)
  7941. type: number
  7942. tradedate:
  7943. description: 交易日(yyyyMMdd)
  7944. type: string
  7945. tradeid:
  7946. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7947. type: string
  7948. tradeprice:
  7949. description: 成交价格
  7950. type: number
  7951. tradeqty:
  7952. description: 成交数量
  7953. type: integer
  7954. tradetime:
  7955. description: 成交时间
  7956. type: string
  7957. tradetype:
  7958. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  7959. type: integer
  7960. type: object
  7961. models.QuotePrimaryMenu:
  7962. properties:
  7963. Index:
  7964. description: 序号
  7965. type: integer
  7966. Key:
  7967. description: 键名
  7968. type: string
  7969. Name:
  7970. description: 菜单名称
  7971. type: string
  7972. SubMenus:
  7973. description: 子菜单
  7974. items:
  7975. $ref: '#/definitions/models.QuoteSecondaryMenu'
  7976. type: array
  7977. SubTitleType:
  7978. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  7979. type: integer
  7980. TradeModes:
  7981. description: 包含市场交易类型
  7982. type: string
  7983. type: object
  7984. models.QuoteSecondaryMenu:
  7985. properties:
  7986. ExExchangeCode:
  7987. description: 外部交易所代码
  7988. type: string
  7989. ExExchangeID:
  7990. description: 外部交易所ID
  7991. type: integer
  7992. GoodsGroupIDs:
  7993. description: 商品组ID列表
  7994. items:
  7995. type: integer
  7996. type: array
  7997. Index:
  7998. description: 序号
  7999. type: integer
  8000. MarketID:
  8001. description: 市场ID
  8002. type: integer
  8003. MenuTitle:
  8004. description: 菜单标题(市场名称或外部交易所名称)
  8005. type: string
  8006. TradeMode:
  8007. description: 交易模式
  8008. type: integer
  8009. type: object
  8010. models.RelatedGoodsEx:
  8011. properties:
  8012. goodscode:
  8013. description: 商品代码
  8014. type: string
  8015. goodsid:
  8016. description: 商品id
  8017. type: integer
  8018. goodsname:
  8019. description: 商品名称
  8020. type: string
  8021. type: object
  8022. models.SearchGoods:
  8023. properties:
  8024. goodscode:
  8025. description: 商品代码(内部)
  8026. type: string
  8027. goodsid:
  8028. description: 商品ID(自增ID SEQ_GOODS)
  8029. type: integer
  8030. goodsname:
  8031. description: 商品名称
  8032. type: string
  8033. marketid:
  8034. description: 所属市场ID
  8035. type: integer
  8036. marketname:
  8037. description: 市场名称
  8038. type: string
  8039. trademode:
  8040. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8041. 21:竞拍-大宗式 22:受托竞价
  8042. type: integer
  8043. required:
  8044. - goodscode
  8045. - goodsid
  8046. - goodsname
  8047. - marketid
  8048. - trademode
  8049. type: object
  8050. models.Systemparam:
  8051. properties:
  8052. loginid:
  8053. description: 更新用户账号,登录账号
  8054. type: string
  8055. modifyflag:
  8056. description: 修改标志0 不允许修改 1 允许修改
  8057. type: integer
  8058. paramcode:
  8059. description: 参数代码
  8060. type: string
  8061. paramname:
  8062. description: 参数名
  8063. type: string
  8064. paramtype:
  8065. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  8066. type: integer
  8067. paramvalue:
  8068. description: 参数值
  8069. type: string
  8070. paramvalue2:
  8071. description: 参数值(CLOB)
  8072. type: string
  8073. regexpress:
  8074. description: 正则表达式
  8075. type: string
  8076. remark:
  8077. description: 备注
  8078. type: string
  8079. serverip:
  8080. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  8081. type: string
  8082. showflag:
  8083. description: 是否显示0 不显示 1 显示
  8084. type: integer
  8085. updatetime:
  8086. description: 更新时间
  8087. type: string
  8088. userid:
  8089. description: 更新用户ID
  8090. type: integer
  8091. required:
  8092. - paramcode
  8093. type: object
  8094. models.Szdz3convertconfig:
  8095. properties:
  8096. canin:
  8097. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  8098. type: integer
  8099. canout:
  8100. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  8101. type: integer
  8102. converttype:
  8103. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  8104. 6:交易转花生米(不设置)
  8105. type: integer
  8106. createtime:
  8107. description: 创建时间
  8108. type: string
  8109. creatorid:
  8110. description: 创建人
  8111. type: integer
  8112. daymaxvalue:
  8113. description: 当日最大转入限制
  8114. type: number
  8115. freezedays:
  8116. description: 冻结天数 [5:花生米转交易]
  8117. type: integer
  8118. innergoodsid:
  8119. description: 内部商品ID[交易]
  8120. type: integer
  8121. inratio:
  8122. description: 目标值
  8123. type: integer
  8124. modifierid:
  8125. description: 修改人
  8126. type: integer
  8127. modifytime:
  8128. description: 修改时间
  8129. type: string
  8130. outergoodscode:
  8131. description: 外部商品代码[JD\PD]
  8132. type: string
  8133. outratio:
  8134. description: 源值
  8135. type: integer
  8136. pddecimalplace:
  8137. description: PD小数位
  8138. type: integer
  8139. timemaxvalue:
  8140. description: 单次最大转入限制
  8141. type: number
  8142. timeminvalue:
  8143. description: 单次最小转入限制
  8144. type: number
  8145. required:
  8146. - converttype
  8147. - innergoodsid
  8148. - outergoodscode
  8149. type: object
  8150. models.Szdz3searchwhitelist:
  8151. properties:
  8152. createtime:
  8153. description: 创建时间
  8154. type: string
  8155. creatorid:
  8156. description: 创建人
  8157. type: integer
  8158. modifierid:
  8159. description: 修改人
  8160. type: integer
  8161. modifytime:
  8162. description: 修改时间
  8163. type: string
  8164. userid:
  8165. description: 用户ID
  8166. type: integer
  8167. required:
  8168. - userid
  8169. type: object
  8170. models.Taaccount:
  8171. properties:
  8172. accountflag:
  8173. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  8174. type: integer
  8175. accountid:
  8176. description: 资金账户ID
  8177. type: integer
  8178. accountname:
  8179. description: 账户名称
  8180. type: string
  8181. balance:
  8182. description: 期初余额
  8183. type: number
  8184. capitalbalance:
  8185. description: 本金余额[外部子账户实际出入金余额]
  8186. type: number
  8187. changeflag:
  8188. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  8189. type: integer
  8190. changetime:
  8191. description: 账户状态变更时间
  8192. type: string
  8193. closepl:
  8194. description: 今日平仓盈亏
  8195. type: number
  8196. creditdecrease:
  8197. description: 今日授信减少
  8198. type: number
  8199. creditincrease:
  8200. description: 今日授信增加
  8201. type: number
  8202. currencyid:
  8203. description: 货币ID
  8204. type: integer
  8205. currentbalance:
  8206. description: 期末余额
  8207. type: number
  8208. freezecharge:
  8209. description: 手续费冻结
  8210. type: number
  8211. freezemargin:
  8212. description: 冻结保证金
  8213. type: number
  8214. fromaccountid:
  8215. description: 所属上级账户
  8216. type: integer
  8217. inamount:
  8218. description: 今日入金金额(包括三方入金)
  8219. type: number
  8220. ismain:
  8221. description: 是否母账号 0:不是母账户 1:是母账户
  8222. type: integer
  8223. ismarketaccount:
  8224. description: 是否机构接单账号 0:不是 1:是
  8225. type: integer
  8226. isreckonaccount:
  8227. description: 是否机构分润账号 0:不是 1:是
  8228. type: integer
  8229. mortgagecredit:
  8230. description: 授信金额
  8231. type: number
  8232. orifreezecharge:
  8233. description: 期初手续费冻结
  8234. type: number
  8235. orifreezemargin:
  8236. description: 期初冻结保证金
  8237. type: number
  8238. orimortgagecredit:
  8239. description: 期初授信金额
  8240. type: number
  8241. oriothercredit:
  8242. description: 期初其它授信金额
  8243. type: number
  8244. oriotherfreezemargin:
  8245. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  8246. type: number
  8247. orioutamountfreeze:
  8248. description: 期初出金冻结
  8249. type: number
  8250. oriusedmargin:
  8251. description: 期初占用保证金
  8252. type: number
  8253. othercredit:
  8254. description: 其它授信金额
  8255. type: number
  8256. othercreditdecrease:
  8257. description: 今日其它授信减少
  8258. type: number
  8259. othercreditincrease:
  8260. description: 今日其它授信增加
  8261. type: number
  8262. otherfreezemargin:
  8263. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  8264. type: number
  8265. otherincome:
  8266. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  8267. type: number
  8268. otherpay:
  8269. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  8270. type: number
  8271. outamount:
  8272. description: 今日出金金额(包括三方出金)
  8273. type: number
  8274. outamountfreeze:
  8275. description: 出金冻结
  8276. type: number
  8277. outthreshold:
  8278. description: 出金阈值
  8279. type: number
  8280. parentaccountid:
  8281. description: 所属根账号
  8282. type: integer
  8283. paycharge:
  8284. description: 今日手续费支出
  8285. type: number
  8286. relatedaccountstatus:
  8287. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  8288. type: integer
  8289. relateduserid:
  8290. description: 关联用户
  8291. type: integer
  8292. serivcegroup:
  8293. description: 服务分组
  8294. type: integer
  8295. signstatus:
  8296. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  8297. type: integer
  8298. sublevelpath:
  8299. description: 账号层级路径(逗号分隔,首尾加逗号)
  8300. type: string
  8301. taaccounttype:
  8302. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  8303. type: integer
  8304. thirdinamount:
  8305. description: 今日三方入金
  8306. type: number
  8307. thirdoutamount:
  8308. description: 今日三方出金
  8309. type: number
  8310. tradestatus:
  8311. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8312. type: integer
  8313. tradestatuschangetime:
  8314. description: 激活时间
  8315. type: string
  8316. transferamount:
  8317. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  8318. type: number
  8319. usedmargin:
  8320. description: 占用保证金
  8321. type: number
  8322. userid:
  8323. description: 用户ID
  8324. type: integer
  8325. required:
  8326. - accountid
  8327. - userid
  8328. type: object
  8329. models.Tablecolumnconfig:
  8330. properties:
  8331. aligntype:
  8332. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  8333. type: integer
  8334. autoid:
  8335. description: AutoID
  8336. type: integer
  8337. columnfield:
  8338. description: 列字段
  8339. type: string
  8340. columntitle:
  8341. description: 列Title
  8342. type: string
  8343. columnwidth:
  8344. description: 列宽
  8345. type: string
  8346. formatterstring:
  8347. description: 格式化字符
  8348. type: string
  8349. formattertype:
  8350. description: 格式化类型
  8351. type: string
  8352. groupname:
  8353. description: 表头分组名称
  8354. type: string
  8355. isshow:
  8356. description: 是否显示 - 0:不显示 1:显示
  8357. type: integer
  8358. needsummary:
  8359. description: 是否需要汇总 - 0:不需要 1:需要
  8360. type: integer
  8361. orderindex:
  8362. description: 顺序
  8363. type: integer
  8364. remark:
  8365. description: 备注
  8366. type: string
  8367. summarytype:
  8368. description: 汇总类型 - 1:加总 2:最后一个
  8369. type: integer
  8370. tablekey:
  8371. description: 列表Key
  8372. type: string
  8373. required:
  8374. - autoid
  8375. type: object
  8376. models.Useraccount:
  8377. properties:
  8378. accountname:
  8379. description: 账户名称(机构名称)
  8380. type: string
  8381. accountstatus:
  8382. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  8383. type: integer
  8384. auditremark:
  8385. description: 审核备注
  8386. type: string
  8387. audittime:
  8388. description: 审核时间
  8389. type: string
  8390. audituserid:
  8391. description: 审核人
  8392. type: integer
  8393. broker:
  8394. description: 所属经纪人ID
  8395. type: integer
  8396. canceltime:
  8397. description: 销户时间
  8398. type: string
  8399. canceluserid:
  8400. description: 销户人
  8401. type: integer
  8402. createtime:
  8403. description: 创建时间
  8404. type: string
  8405. creatorid:
  8406. description: 创建人
  8407. type: integer
  8408. hasauth:
  8409. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  8410. type: integer
  8411. isanonymous:
  8412. description: 是否匿名下单 - 0:否 1:是
  8413. type: integer
  8414. maxinvestornum:
  8415. description: 最大用户数(经纪会员下投资者个数)
  8416. type: integer
  8417. memberuserid:
  8418. description: 所属会员ID
  8419. type: integer
  8420. modifierid:
  8421. description: 修改人
  8422. type: integer
  8423. modifyremark:
  8424. description: 变更备注
  8425. type: string
  8426. modifystatus:
  8427. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  8428. type: integer
  8429. modifytime:
  8430. description: 修改时间
  8431. type: string
  8432. parentuserid:
  8433. description: 所属机构ID
  8434. type: integer
  8435. reckonaccountid:
  8436. description: 默认结算资金账号ID(机构分润使用) 作废
  8437. type: integer
  8438. refercount:
  8439. description: 推荐总人数
  8440. type: integer
  8441. refereeuserid:
  8442. description: 推荐人ID
  8443. type: integer
  8444. refernum:
  8445. description: 推荐码
  8446. type: string
  8447. subarealevelpath:
  8448. description: 子机构层级路径(逗号分隔,首尾加逗号)
  8449. type: string
  8450. userid:
  8451. description: 用户ID
  8452. type: integer
  8453. usertype:
  8454. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  8455. type: integer
  8456. required:
  8457. - userid
  8458. type: object
  8459. models.Userfavoritegoods:
  8460. properties:
  8461. goodsid:
  8462. description: 商品ID
  8463. type: integer
  8464. required:
  8465. - goodsid
  8466. type: object
  8467. models.Userinfo:
  8468. properties:
  8469. address:
  8470. description: 地址
  8471. type: string
  8472. attachment1:
  8473. description: 附件1
  8474. type: string
  8475. attachment2:
  8476. description: 附件2
  8477. type: string
  8478. bankaccount:
  8479. description: 银行帐号 (加密存储)
  8480. type: string
  8481. bankaccountname:
  8482. description: 收款人名称
  8483. type: string
  8484. bankcardfrontphotourl:
  8485. description: 银行卡正面照地址
  8486. type: string
  8487. bankid:
  8488. description: 银行编码
  8489. type: string
  8490. bankname:
  8491. description: 银行名称
  8492. type: string
  8493. biznature:
  8494. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  8495. type: integer
  8496. bizscope:
  8497. description: 企业经营范围(企业)
  8498. type: string
  8499. cardbackphotourl:
  8500. description: 证件背面图片地址
  8501. type: string
  8502. cardfrontphotourl:
  8503. description: 证件正面图片地址
  8504. type: string
  8505. cardnum:
  8506. description: 证件号码(加密存储)
  8507. type: string
  8508. cardtypeid:
  8509. description: 证件类型ID
  8510. type: integer
  8511. cityid:
  8512. description: 市
  8513. type: integer
  8514. company:
  8515. description: 公司(个人)
  8516. type: string
  8517. contactname:
  8518. description: 联系人
  8519. type: string
  8520. countryid:
  8521. description: 国家
  8522. type: integer
  8523. createtime:
  8524. description: 创建时间
  8525. type: string
  8526. creatorid:
  8527. description: 创建人
  8528. type: integer
  8529. customername:
  8530. description: 客户名称(企业名称)
  8531. type: string
  8532. districtid:
  8533. description: 地区
  8534. type: integer
  8535. email:
  8536. description: 邮件(加密存储)
  8537. type: string
  8538. fax:
  8539. description: 传真(加密存储)
  8540. type: string
  8541. halfbodyphotourl:
  8542. description: 半身照地址
  8543. type: string
  8544. hasencrypt:
  8545. description: 数据是否已加密 - 0:未加密 1:已加密
  8546. type: integer
  8547. headurl:
  8548. description: 头像地址
  8549. type: string
  8550. legalcardbackphotourl:
  8551. description: 法人身份证背面照地址
  8552. type: string
  8553. legalcardfrontphotourl:
  8554. description: 法人身份证正面照地址
  8555. type: string
  8556. legalpersonname:
  8557. description: 法人姓名(企业)
  8558. type: string
  8559. mobile:
  8560. description: 手机号码(加密存储)
  8561. type: string
  8562. mobile2:
  8563. description: 手机号码[明文-尚志]
  8564. type: string
  8565. modifierid:
  8566. description: 修改人
  8567. type: integer
  8568. modifiertime:
  8569. description: 修改时间
  8570. type: string
  8571. needinvoice:
  8572. description: 是否需要发票 - 0:不需要 1:需要
  8573. type: integer
  8574. nickname:
  8575. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  8576. type: string
  8577. openmode:
  8578. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  8579. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  8580. type: integer
  8581. otherurl:
  8582. description: 其它图片地址[使用分号分隔]
  8583. type: string
  8584. postalcode:
  8585. description: 邮政编码
  8586. type: string
  8587. provinceid:
  8588. description: 省
  8589. type: integer
  8590. qq:
  8591. description: QQ(加密存储
  8592. type: string
  8593. remark:
  8594. description: 备注
  8595. type: string
  8596. sex:
  8597. description: '用户性别 0: 女 1: 男'
  8598. type: integer
  8599. signpdfurl:
  8600. description: 签约pdf文件
  8601. type: string
  8602. telphone:
  8603. description: 联系电话(加密存储)
  8604. type: string
  8605. userid:
  8606. description: 用户ID
  8607. type: integer
  8608. userinfotype:
  8609. description: 用户信息类型 - 1:个人 2:企业
  8610. type: integer
  8611. userstatus:
  8612. description: 用户状态 - 1:正常 2:注销
  8613. type: integer
  8614. usertype:
  8615. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  8616. type: integer
  8617. wechat:
  8618. description: 微信(加密存储)
  8619. type: string
  8620. wskhinfo:
  8621. description: 开户申请信息(JSON)
  8622. type: string
  8623. required:
  8624. - userid
  8625. type: object
  8626. models.WRCategoryTree:
  8627. properties:
  8628. areauserid:
  8629. description: 所属机构
  8630. type: integer
  8631. categorydesc:
  8632. description: 类别描述
  8633. type: string
  8634. categoryid:
  8635. description: 类别ID(SEQ_WRCATEGORY)
  8636. type: integer
  8637. categoryname:
  8638. description: 类别名称
  8639. type: string
  8640. iconurl:
  8641. description: 图标地址
  8642. type: string
  8643. orderindex:
  8644. description: 顺序
  8645. type: integer
  8646. parentcategoryid:
  8647. description: 父类别ID
  8648. type: integer
  8649. subcategory:
  8650. description: 子分类
  8651. items:
  8652. $ref: '#/definitions/models.WRCategoryTree'
  8653. type: array
  8654. required:
  8655. - categoryid
  8656. type: object
  8657. models.WRSConverTDetail:
  8658. properties:
  8659. convertratio:
  8660. description: 套保系数
  8661. type: number
  8662. deliverygoodsid:
  8663. description: 现货品种ID
  8664. type: integer
  8665. enumdicname:
  8666. description: 单位名称
  8667. type: string
  8668. goodsunitid:
  8669. description: 套保品种单位id
  8670. type: integer
  8671. middlegoodscode:
  8672. description: 套保品种代码
  8673. type: string
  8674. middlegoodsid:
  8675. description: 套保品种ID
  8676. type: integer
  8677. middlegoodsname:
  8678. description: 套保品种名称
  8679. type: string
  8680. modifytime:
  8681. description: 修改时间
  8682. type: string
  8683. wrstandardid:
  8684. description: 现货商品ID
  8685. type: integer
  8686. type: object
  8687. models.WRStandardInfo:
  8688. properties:
  8689. createtime:
  8690. description: 创建时间
  8691. type: string
  8692. creatorid:
  8693. description: 创建人
  8694. type: integer
  8695. deliverygoodsid:
  8696. description: 品种ID
  8697. type: integer
  8698. deliverygoodsname:
  8699. description: 交割商品名称
  8700. type: string
  8701. factoryitemjson:
  8702. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  8703. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  8704. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  8705. 逗号分隔'
  8706. type: string
  8707. isvalid:
  8708. description: 是否有效 - 0:无效 1:有效
  8709. type: integer
  8710. minivalue:
  8711. description: 最小变动值
  8712. type: integer
  8713. minivaluedp:
  8714. description: 最小变动值小数位
  8715. type: integer
  8716. realminivalue:
  8717. description: 实际最小变动值
  8718. type: integer
  8719. realminivaluedp:
  8720. description: 实际最小变动值小数位
  8721. type: integer
  8722. unitid:
  8723. description: 单位ID
  8724. type: integer
  8725. unitname:
  8726. description: 单位
  8727. type: string
  8728. updatetime:
  8729. description: 更新时间
  8730. type: string
  8731. updatorid:
  8732. description: 更新人
  8733. type: integer
  8734. wrsstatus:
  8735. description: 状态 - 作废 - 0:未激活 1:正常
  8736. type: integer
  8737. wrstandardcode:
  8738. description: 仓单标准代码
  8739. type: string
  8740. wrstandardid:
  8741. description: 仓单标准ID(SEQ_WRSTANDARD)
  8742. type: integer
  8743. wrstandardname:
  8744. description: 仓单标准名称
  8745. type: string
  8746. required:
  8747. - wrstandardid
  8748. type: object
  8749. models.Warehouseinfo:
  8750. properties:
  8751. address:
  8752. description: 详细地址
  8753. type: string
  8754. areauserid:
  8755. description: 所属机构
  8756. type: integer
  8757. autoid:
  8758. description: 自增ID
  8759. type: integer
  8760. cityid:
  8761. description: 市
  8762. type: integer
  8763. contactname:
  8764. description: 联系人
  8765. type: string
  8766. contactnum:
  8767. description: 联系电话
  8768. type: string
  8769. countryid:
  8770. description: 国家
  8771. type: integer
  8772. createtime:
  8773. description: 创建时间
  8774. type: string
  8775. districtid:
  8776. description: 区
  8777. type: integer
  8778. hasvideo:
  8779. description: 是否有视频 - 0:无 1:有
  8780. type: integer
  8781. provinceid:
  8782. description: 省
  8783. type: integer
  8784. remark:
  8785. description: 审核备注
  8786. type: string
  8787. videourl:
  8788. description: 视频地址
  8789. type: string
  8790. warehousecode:
  8791. description: 仓库代码
  8792. type: string
  8793. warehousename:
  8794. description: 仓库名称
  8795. type: string
  8796. warehousestatus:
  8797. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  8798. type: integer
  8799. warehousetype:
  8800. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  8801. type: integer
  8802. required:
  8803. - autoid
  8804. - warehousecode
  8805. type: object
  8806. order.QueryHisTradeDetailRsp:
  8807. properties:
  8808. accountid:
  8809. description: 账户ID[报价币种]
  8810. type: integer
  8811. buildtype:
  8812. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  8813. type: integer
  8814. buyorsell:
  8815. description: 方向 - 0:买 1:卖
  8816. type: integer
  8817. charge:
  8818. description: 手续费
  8819. type: number
  8820. closecharge:
  8821. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  8822. type: number
  8823. closeexchagechargevalue:
  8824. description: 平仓交易所手续费设置值
  8825. type: number
  8826. closefeealgorithm:
  8827. description: 平仓手续费收取方式 1:比率 2:固定
  8828. type: integer
  8829. closememberchargevalue:
  8830. description: 平仓会员手续费设置值
  8831. type: number
  8832. closepl:
  8833. description: 平仓盈亏
  8834. type: number
  8835. closepl2:
  8836. description: 平仓盈亏[逐笔]
  8837. type: number
  8838. closeqty:
  8839. description: 平仓数量(先建后平操作 需要记录)
  8840. type: integer
  8841. creditamount:
  8842. description: 授信金额
  8843. type: number
  8844. gcaccountid:
  8845. description: 账户ID[合约币种]
  8846. type: integer
  8847. goodscode:
  8848. description: 商品代码
  8849. type: string
  8850. goodsid:
  8851. description: 商品ID
  8852. type: integer
  8853. goodsname:
  8854. description: 商品名称
  8855. type: string
  8856. histradedate:
  8857. description: 历史交易日
  8858. type: string
  8859. intclosepl:
  8860. description: 整型盈亏(用于交易结算试算平衡-收益权)
  8861. type: integer
  8862. isconfirmexercise:
  8863. description: 是否确认行权- 0:否 1:是
  8864. type: integer
  8865. ismain:
  8866. description: 是否主单 - 0:不是 1:是
  8867. type: integer
  8868. ispreexercise:
  8869. description: 是否预申报- 0:否 1:是
  8870. type: integer
  8871. isreckoned:
  8872. description: 是否结算 - 0:未结算 1:已结算
  8873. type: integer
  8874. isvaliddata:
  8875. description: 是否有效 - 0:无效 1:有效
  8876. type: integer
  8877. listingselecttype:
  8878. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8879. type: integer
  8880. marketid:
  8881. description: 市场ID
  8882. type: integer
  8883. marketname:
  8884. description: 市场名称
  8885. type: string
  8886. matchaccountid:
  8887. description: 对手账号id
  8888. type: integer
  8889. memberuserid:
  8890. description: 会员id 个人投资者 需要填写
  8891. type: integer
  8892. opencharge:
  8893. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  8894. type: number
  8895. openexchagechargevalue:
  8896. description: 建仓交易所手续费设置值
  8897. type: number
  8898. openfeealgorithm:
  8899. description: 建仓手续费收取方式 1:比率 2:固定
  8900. type: integer
  8901. openmemberchargevalue:
  8902. description: 建仓会员手续费设置值
  8903. type: number
  8904. openqty:
  8905. description: 开仓数量(先建后平操作 需要记录)
  8906. type: integer
  8907. optiontype:
  8908. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  8909. type: integer
  8910. orderid:
  8911. description: 委托单号
  8912. type: string
  8913. performanceplanid:
  8914. description: 履约计划ID[期权]
  8915. type: integer
  8916. performancestatus:
  8917. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  8918. type: integer
  8919. preexerciseprice:
  8920. description: 预申报价格
  8921. type: number
  8922. premium:
  8923. description: 权利金 - [持仓单的权利金]
  8924. type: number
  8925. relatedouttradeid:
  8926. description: 关联外部成交单ID
  8927. type: integer
  8928. status:
  8929. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  8930. type: integer
  8931. tradeamount:
  8932. description: 成交金额[账户币种,用于所有权]
  8933. type: number
  8934. tradedate:
  8935. description: 交易日(yyyyMMdd)
  8936. type: string
  8937. tradeid:
  8938. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8939. type: string
  8940. trademode:
  8941. description: 交易模式
  8942. type: integer
  8943. tradeprice:
  8944. description: 成交价格
  8945. type: number
  8946. tradeproperty:
  8947. description: 交易属性
  8948. type: integer
  8949. tradeqty:
  8950. description: 成交数量
  8951. type: integer
  8952. tradetime:
  8953. description: 成交时间
  8954. type: string
  8955. tradetype:
  8956. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  8957. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  8958. type: integer
  8959. required:
  8960. - accountid
  8961. - buyorsell
  8962. - goodsid
  8963. - histradedate
  8964. - marketid
  8965. - memberuserid
  8966. - orderid
  8967. - tradeamount
  8968. - tradedate
  8969. - tradeid
  8970. - tradeprice
  8971. - tradeqty
  8972. - tradetime
  8973. type: object
  8974. order.QueryHisTradeOrderDetailRsp:
  8975. properties:
  8976. accountid:
  8977. description: 账户ID[报价币种]
  8978. type: integer
  8979. buildtype:
  8980. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  8981. type: integer
  8982. buyorsell:
  8983. description: 买卖 - 0:买 1:卖
  8984. type: integer
  8985. cancelorderid:
  8986. description: 撤单单号(撤单时填写)
  8987. type: string
  8988. cancelqty:
  8989. description: 撤单数量
  8990. type: integer
  8991. clientordertime:
  8992. description: 客户端委托时间
  8993. type: string
  8994. clientticket:
  8995. description: 客户端流水号
  8996. type: string
  8997. clienttype:
  8998. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  8999. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9000. type: integer
  9001. closeexchagechargevalue:
  9002. description: 平仓交易所手续费设置值
  9003. type: number
  9004. closefeealgorithm:
  9005. description: 平仓手续费收取方式 1:比率 2:固定
  9006. type: integer
  9007. closefreezecharge:
  9008. description: 平仓冻结手续费(先建后平操作,需要记录)
  9009. type: number
  9010. closememberchargevalue:
  9011. description: 平仓会员手续费设置值
  9012. type: number
  9013. closeqty:
  9014. description: 平仓数量(先建后平操作 需要记录)
  9015. type: integer
  9016. closetradeqty:
  9017. description: 平仓成交数量(先建后平操作,需要记录)
  9018. type: integer
  9019. closeunfreezecharge:
  9020. description: 平仓解冻手续费(先建后平操作,需要记录)
  9021. type: number
  9022. delistingtype:
  9023. description: 摘牌类型 - 1:价格最优 2:点选成交
  9024. type: integer
  9025. freezecharge:
  9026. description: 冻结手续费
  9027. type: number
  9028. freezemargin:
  9029. description: 冻结保证金(冻结交易金额)
  9030. type: number
  9031. gcaccountid:
  9032. description: 账户ID[合约币种]
  9033. type: integer
  9034. goodscode:
  9035. description: 商品代码
  9036. type: string
  9037. goodsid:
  9038. description: 商品ID
  9039. type: integer
  9040. goodsname:
  9041. description: 商品名称
  9042. type: string
  9043. histradedate:
  9044. description: 历史交易日
  9045. type: string
  9046. isconfirmexercise:
  9047. description: 是否确认行权- 0:否 1:是
  9048. type: integer
  9049. ispreexercise:
  9050. description: 是否预申报- 0:否 1:是
  9051. type: integer
  9052. isvaliddata:
  9053. description: 是否有效 - 0:无效 1:有效
  9054. type: integer
  9055. listingselecttype:
  9056. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9057. type: integer
  9058. marginalgorithm:
  9059. description: 保证金收取方式 1:比率 2:固定
  9060. type: integer
  9061. marginvalue:
  9062. description: 即市保证金设置值
  9063. type: number
  9064. marketid:
  9065. description: 市场ID
  9066. type: integer
  9067. marketmaxsub:
  9068. description: 市价最大偏移范围
  9069. type: number
  9070. marketname:
  9071. description: 市场名称
  9072. type: string
  9073. memberuserid:
  9074. description: 所属会员UserID
  9075. type: integer
  9076. openexchagechargevalue:
  9077. description: 建仓交易所手续费设置值
  9078. type: number
  9079. openfeealgorithm:
  9080. description: 建仓手续费收取方式 1:比率 2:固定
  9081. type: integer
  9082. openfreezecharge:
  9083. description: 开仓冻结手续费(先建后平操作,需要记录)
  9084. type: number
  9085. openmemberchargevalue:
  9086. description: 建仓会员手续费设置值
  9087. type: number
  9088. openqty:
  9089. description: 开仓数量(先建后平操作,需要记录)
  9090. type: integer
  9091. opentradeqty:
  9092. description: 开仓成交数量(先建后平操作,需要记录)
  9093. type: integer
  9094. openunfreezecharge:
  9095. description: 开仓解冻手续费(先建后平操作,需要记录)
  9096. type: number
  9097. operatetype:
  9098. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  9099. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  9100. 15:管理端协议转让
  9101. type: integer
  9102. operatorid:
  9103. description: 登录账号(LoginID)
  9104. type: integer
  9105. optiontype:
  9106. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9107. type: integer
  9108. orderid:
  9109. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9110. type: string
  9111. orderprice:
  9112. description: 委托价格
  9113. type: number
  9114. orderqty:
  9115. description: 委托数量
  9116. type: integer
  9117. ordersrc:
  9118. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  9119. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  9120. type: integer
  9121. orderstatus:
  9122. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9123. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9124. 16:成交失败违约(荷兰式竞拍专用)
  9125. type: integer
  9126. ordertime:
  9127. description: 委托时间
  9128. type: string
  9129. preexerciseprice:
  9130. description: 预申报价格
  9131. type: number
  9132. premium:
  9133. description: 权利金
  9134. type: number
  9135. preorderid:
  9136. description: 关联预埋单号(止盈止损单时填写)
  9137. type: string
  9138. pricemode:
  9139. description: '取价方式 - 1:市价 2: 限价'
  9140. type: integer
  9141. quoteid:
  9142. description: 报价单ID
  9143. type: integer
  9144. relatedid:
  9145. description: 关联单号(交割单)
  9146. type: string
  9147. retcode:
  9148. description: 错误代码
  9149. type: integer
  9150. sessionid:
  9151. description: 会话ID
  9152. type: integer
  9153. tradedate:
  9154. description: 交易日(yyyyMMdd)
  9155. type: string
  9156. trademode:
  9157. description: 交易模式
  9158. type: integer
  9159. tradeproperty:
  9160. description: 交易属性
  9161. type: integer
  9162. tradeqty:
  9163. description: 成交数量
  9164. type: integer
  9165. unfreezecharge:
  9166. description: 解冻手续费
  9167. type: number
  9168. unfreezemargin:
  9169. description: 解冻保证金
  9170. type: number
  9171. updatetime:
  9172. description: 更新时间
  9173. type: string
  9174. uuid:
  9175. description: 发起端唯一id
  9176. type: string
  9177. validtime:
  9178. description: 有效期限
  9179. type: string
  9180. validtype:
  9181. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  9182. type: integer
  9183. volumetype:
  9184. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  9185. type: integer
  9186. required:
  9187. - accountid
  9188. - buildtype
  9189. - buyorsell
  9190. - goodsid
  9191. - histradedate
  9192. - marketid
  9193. - memberuserid
  9194. - operatetype
  9195. - orderid
  9196. - orderqty
  9197. - ordertime
  9198. - pricemode
  9199. - tradedate
  9200. - validtype
  9201. type: object
  9202. order.QueryTradeDetailRsp:
  9203. properties:
  9204. accountid:
  9205. description: 账户ID[报价币种]
  9206. type: integer
  9207. buildtype:
  9208. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  9209. type: integer
  9210. buyorsell:
  9211. description: 方向 - 0:买 1:卖
  9212. type: integer
  9213. charge:
  9214. description: 手续费
  9215. type: number
  9216. closecharge:
  9217. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9218. type: number
  9219. closeexchagechargevalue:
  9220. description: 平仓交易所手续费设置值
  9221. type: number
  9222. closefeealgorithm:
  9223. description: 平仓手续费收取方式 1:比率 2:固定
  9224. type: integer
  9225. closememberchargevalue:
  9226. description: 平仓会员手续费设置值
  9227. type: number
  9228. closepl:
  9229. description: 平仓盈亏
  9230. type: number
  9231. closepl2:
  9232. description: 平仓盈亏[逐笔]
  9233. type: number
  9234. closeqty:
  9235. description: 平仓数量(先建后平操作 需要记录)
  9236. type: integer
  9237. creditamount:
  9238. description: 授信金额
  9239. type: number
  9240. gcaccountid:
  9241. description: 账户ID[合约币种]
  9242. type: integer
  9243. goodscode:
  9244. description: 商品代码
  9245. type: string
  9246. goodsid:
  9247. description: 商品ID
  9248. type: integer
  9249. goodsname:
  9250. description: 商品名称
  9251. type: string
  9252. intclosepl:
  9253. description: 整型盈亏(用于交易结算试算平衡-收益权)
  9254. type: integer
  9255. isconfirmexercise:
  9256. description: 是否确认行权- 0:否 1:是
  9257. type: integer
  9258. ismain:
  9259. description: 是否主单 - 0:不是 1:是
  9260. type: integer
  9261. ispreexercise:
  9262. description: 是否预申报- 0:否 1:是
  9263. type: integer
  9264. isreckoned:
  9265. description: 是否结算 - 0:未结算 1:已结算
  9266. type: integer
  9267. listingselecttype:
  9268. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9269. type: integer
  9270. marketid:
  9271. description: 市场ID
  9272. type: integer
  9273. marketname:
  9274. description: 市场名称
  9275. type: string
  9276. matchaccountid:
  9277. description: 对手账号id
  9278. type: integer
  9279. memberuserid:
  9280. description: 会员id 个人投资者 需要填写
  9281. type: integer
  9282. opencharge:
  9283. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9284. type: number
  9285. openexchagechargevalue:
  9286. description: 建仓交易所手续费设置值
  9287. type: number
  9288. openfeealgorithm:
  9289. description: 建仓手续费收取方式 1:比率 2:固定
  9290. type: integer
  9291. openmemberchargevalue:
  9292. description: 建仓会员手续费设置值
  9293. type: number
  9294. openqty:
  9295. description: 开仓数量(先建后平操作 需要记录)
  9296. type: integer
  9297. optiontype:
  9298. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9299. type: integer
  9300. orderid:
  9301. description: 委托单号
  9302. type: string
  9303. performanceplanid:
  9304. description: 履约计划ID[期权]
  9305. type: integer
  9306. performancestatus:
  9307. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  9308. type: integer
  9309. preexerciseprice:
  9310. description: 预申报价格
  9311. type: number
  9312. premium:
  9313. description: 权利金 - [持仓单的权利金]
  9314. type: number
  9315. relatedouttradeid:
  9316. description: 关联外部成交单ID
  9317. type: integer
  9318. status:
  9319. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  9320. type: integer
  9321. tradeamount:
  9322. description: 成交金额[账户币种,用于所有权]
  9323. type: number
  9324. tradedate:
  9325. description: 交易日(yyyyMMdd)
  9326. type: string
  9327. tradeid:
  9328. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9329. type: string
  9330. trademode:
  9331. description: 交易模式
  9332. type: integer
  9333. tradeprice:
  9334. description: 成交价格
  9335. type: number
  9336. tradeproperty:
  9337. description: 交易属性
  9338. type: integer
  9339. tradeqty:
  9340. description: 成交数量
  9341. type: integer
  9342. tradetime:
  9343. description: 成交时间
  9344. type: string
  9345. tradetype:
  9346. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  9347. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  9348. type: integer
  9349. required:
  9350. - accountid
  9351. - buyorsell
  9352. - goodsid
  9353. - marketid
  9354. - memberuserid
  9355. - orderid
  9356. - tradeamount
  9357. - tradedate
  9358. - tradeid
  9359. - tradeprice
  9360. - tradeqty
  9361. - tradetime
  9362. type: object
  9363. order.QueryTradeOrderDetailRsp:
  9364. properties:
  9365. accountid:
  9366. description: 账户ID[报价币种]
  9367. type: integer
  9368. buildtype:
  9369. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  9370. type: integer
  9371. buyorsell:
  9372. description: 买卖 - 0:买 1:卖
  9373. type: integer
  9374. cancelorderid:
  9375. description: 撤单单号(撤单时填写)
  9376. type: string
  9377. cancelqty:
  9378. description: 撤单数量
  9379. type: integer
  9380. clienttype:
  9381. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  9382. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9383. type: integer
  9384. closefreezecharge:
  9385. description: 平仓冻结手续费(先建后平操作,需要记录)
  9386. type: number
  9387. closeqty:
  9388. description: 平仓数量(先建后平操作 需要记录)
  9389. type: integer
  9390. closetradeqty:
  9391. description: 平仓成交数量(先建后平操作,需要记录)
  9392. type: integer
  9393. closeunfreezecharge:
  9394. description: 平仓解冻手续费(先建后平操作,需要记录)
  9395. type: number
  9396. delistingtype:
  9397. description: 摘牌类型 - 1:价格最优 2:点选成交
  9398. type: integer
  9399. enableqty:
  9400. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  9401. type: integer
  9402. freezecharge:
  9403. description: 冻结手续费
  9404. type: number
  9405. freezemargin:
  9406. description: 冻结保证金(冻结交易金额)
  9407. type: number
  9408. goodscode:
  9409. description: 商品代码
  9410. type: string
  9411. goodsid:
  9412. description: 商品ID
  9413. type: integer
  9414. goodsname:
  9415. description: 商品名称
  9416. type: string
  9417. listingselecttype:
  9418. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9419. type: integer
  9420. marketid:
  9421. description: 市场ID
  9422. type: integer
  9423. marketname:
  9424. description: 市场名称
  9425. type: string
  9426. openfreezecharge:
  9427. description: 开仓冻结手续费(先建后平操作,需要记录)
  9428. type: number
  9429. openqty:
  9430. description: 开仓数量(先建后平操作,需要记录)
  9431. type: integer
  9432. opentradeqty:
  9433. description: 开仓成交数量(先建后平操作,需要记录)
  9434. type: integer
  9435. openunfreezecharge:
  9436. description: 开仓解冻手续费(先建后平操作,需要记录)
  9437. type: number
  9438. operatetype:
  9439. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  9440. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  9441. 15:管理端协议转让
  9442. type: integer
  9443. operatorid:
  9444. description: 登录账号(LoginID)
  9445. type: integer
  9446. orderid:
  9447. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9448. type: string
  9449. orderprice:
  9450. description: 委托价格
  9451. type: number
  9452. orderqty:
  9453. description: 委托数量
  9454. type: integer
  9455. ordersrc:
  9456. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  9457. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  9458. type: integer
  9459. orderstatus:
  9460. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9461. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9462. 16:成交失败违约(荷兰式竞拍专用)
  9463. type: integer
  9464. ordertime:
  9465. description: 委托时间
  9466. type: string
  9467. preorderid:
  9468. description: 关联预埋单号(止盈止损单时填写)
  9469. type: string
  9470. pricemode:
  9471. description: '取价方式 - 1:市价 2: 限价'
  9472. type: integer
  9473. relatedid:
  9474. description: 关联单号(交割单)
  9475. type: string
  9476. tradedate:
  9477. description: 交易日(yyyyMMdd)
  9478. type: string
  9479. trademode:
  9480. description: 交易模式
  9481. type: integer
  9482. tradeqty:
  9483. description: 成交数量
  9484. type: integer
  9485. unfreezecharge:
  9486. description: 解冻手续费
  9487. type: number
  9488. unfreezemargin:
  9489. description: 解冻保证金
  9490. type: number
  9491. validtime:
  9492. description: 有效期限
  9493. type: string
  9494. validtype:
  9495. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  9496. type: integer
  9497. volumetype:
  9498. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  9499. type: integer
  9500. required:
  9501. - accountid
  9502. - buildtype
  9503. - buyorsell
  9504. - goodsid
  9505. - marketid
  9506. - operatetype
  9507. - orderqty
  9508. - ordertime
  9509. - pricemode
  9510. - tradedate
  9511. - validtype
  9512. type: object
  9513. order.QueryTradePositionRsp:
  9514. properties:
  9515. accountid:
  9516. description: 资金账户
  9517. type: integer
  9518. agreeunit:
  9519. description: 合约单位
  9520. type: number
  9521. averageprice:
  9522. description: 持仓均价
  9523. type: number
  9524. buyorsell:
  9525. description: 方向 - 0:买 1:卖
  9526. type: integer
  9527. closetotalqty:
  9528. description: 平仓总数量
  9529. type: integer
  9530. curholderamount:
  9531. description: 当前持仓总金额[商品币种]
  9532. type: number
  9533. curpositionqty:
  9534. description: 当前持仓总数量
  9535. type: integer
  9536. currencyid:
  9537. description: 报价货币ID
  9538. type: integer
  9539. curtdposition:
  9540. description: 期末今日头寸
  9541. type: integer
  9542. decimalplace:
  9543. description: 报价小数位
  9544. type: integer
  9545. enableqty:
  9546. description: 可用量
  9547. type: integer
  9548. fretdposition:
  9549. description: 冻结今日头寸
  9550. type: integer
  9551. frozenqty:
  9552. description: 持仓冻结数量
  9553. type: integer
  9554. goodscode:
  9555. description: 商品代码
  9556. type: string
  9557. goodsid:
  9558. description: 商品Id
  9559. type: integer
  9560. goodsname:
  9561. description: 商品名称
  9562. type: string
  9563. goodunit:
  9564. description: 报价单位
  9565. type: string
  9566. goodunitid:
  9567. description: 报价单位ID
  9568. type: integer
  9569. holderamount:
  9570. description: 期初持仓总金额[商品币种]
  9571. type: number
  9572. marketid:
  9573. description: 所属市场ID
  9574. type: integer
  9575. openreqqty:
  9576. description: 开仓申请数量(用于比较最大持仓数量)
  9577. type: integer
  9578. opentotalqty:
  9579. description: 开仓总数量
  9580. type: integer
  9581. otherfrozenqty:
  9582. description: 持仓其他冻结数量(交割冻结)
  9583. type: integer
  9584. positionqty:
  9585. description: 期初持仓数量
  9586. type: integer
  9587. tnqty:
  9588. description: T+N冻结总量
  9589. type: integer
  9590. tnusedqty:
  9591. description: T+N使用量(可以使用T+N的冻结数量)
  9592. type: integer
  9593. trademode:
  9594. description: 交易模式
  9595. type: integer
  9596. usedmargin:
  9597. description: 占用保证金[商品币种]
  9598. type: number
  9599. required:
  9600. - goodsid
  9601. type: object
  9602. quote.HistoryData:
  9603. properties:
  9604. c:
  9605. description: 收盘价
  9606. type: number
  9607. f:
  9608. description: 是否补充数据
  9609. type: boolean
  9610. h:
  9611. description: 最高价
  9612. type: number
  9613. hv:
  9614. description: 持仓量
  9615. type: integer
  9616. l:
  9617. description: 最低价
  9618. type: number
  9619. o:
  9620. description: 开盘价
  9621. type: number
  9622. s:
  9623. description: 结算价,日线周期(包括)以上才有
  9624. type: number
  9625. ts:
  9626. description: 时间
  9627. type: string
  9628. tt:
  9629. description: 总金额
  9630. type: number
  9631. tv:
  9632. description: 总量
  9633. type: integer
  9634. type: object
  9635. quote.HistoryTikData:
  9636. properties:
  9637. AV:
  9638. description: 卖量
  9639. type: integer
  9640. Ask:
  9641. description: 卖价
  9642. type: number
  9643. BV:
  9644. description: 买量
  9645. type: integer
  9646. Bid:
  9647. description: 买价
  9648. type: number
  9649. HI:
  9650. description: 单笔持仓
  9651. type: integer
  9652. HV:
  9653. description: 持仓量
  9654. type: integer
  9655. PE:
  9656. description: 现价
  9657. type: number
  9658. TDR:
  9659. description: 交易方向,0:买 1:卖
  9660. type: integer
  9661. TK:
  9662. description: 交易类型
  9663. type: integer
  9664. TS:
  9665. description: 行情时间文本
  9666. type: string
  9667. TT:
  9668. description: 现金额
  9669. type: number
  9670. Vol:
  9671. description: 现量
  9672. type: integer
  9673. type: object
  9674. quote.QueryQuoteDayRsp:
  9675. properties:
  9676. ask:
  9677. description: 卖1
  9678. type: number
  9679. ask2:
  9680. description: 卖2
  9681. type: number
  9682. ask3:
  9683. description: 卖3
  9684. type: number
  9685. ask4:
  9686. description: 卖4
  9687. type: number
  9688. ask5:
  9689. description: 卖5
  9690. type: number
  9691. ask6:
  9692. description: 卖6
  9693. type: number
  9694. ask7:
  9695. description: 卖7
  9696. type: number
  9697. ask8:
  9698. description: 卖8
  9699. type: number
  9700. ask9:
  9701. description: 卖9
  9702. type: number
  9703. ask10:
  9704. description: 卖10
  9705. type: number
  9706. askorderid:
  9707. description: 卖单号1
  9708. type: integer
  9709. askorderid2:
  9710. description: 卖单号2
  9711. type: integer
  9712. askorderid3:
  9713. description: 卖单号3
  9714. type: integer
  9715. askorderid4:
  9716. description: 卖单号4
  9717. type: integer
  9718. askorderid5:
  9719. description: 卖单号5
  9720. type: integer
  9721. askordervolume:
  9722. description: 卖单量1
  9723. type: integer
  9724. askordervolume2:
  9725. description: 卖单量2
  9726. type: integer
  9727. askordervolume3:
  9728. description: 卖单量3
  9729. type: integer
  9730. askordervolume4:
  9731. description: 卖单量4
  9732. type: integer
  9733. askordervolume5:
  9734. description: 卖单量5
  9735. type: integer
  9736. askordervolume6:
  9737. description: 卖单量6
  9738. type: integer
  9739. askordervolume7:
  9740. description: 卖单量7
  9741. type: integer
  9742. askordervolume8:
  9743. description: 卖单量8
  9744. type: integer
  9745. askordervolume9:
  9746. description: 卖单量9
  9747. type: integer
  9748. askordervolume10:
  9749. description: 卖单量10
  9750. type: integer
  9751. askqueueinfo:
  9752. description: 大利市卖港股用
  9753. type: string
  9754. askvolume:
  9755. description: 卖量1
  9756. type: integer
  9757. askvolume2:
  9758. description: 卖量2
  9759. type: integer
  9760. askvolume3:
  9761. description: 卖量3
  9762. type: integer
  9763. askvolume4:
  9764. description: 卖量4
  9765. type: integer
  9766. askvolume5:
  9767. description: 卖量5
  9768. type: integer
  9769. askvolume6:
  9770. description: 卖量6
  9771. type: integer
  9772. askvolume7:
  9773. description: 卖量7
  9774. type: integer
  9775. askvolume8:
  9776. description: 卖量8
  9777. type: integer
  9778. askvolume9:
  9779. description: 卖量9
  9780. type: integer
  9781. askvolume10:
  9782. description: 卖量10
  9783. type: integer
  9784. averageprice:
  9785. description: 均价
  9786. type: number
  9787. bid:
  9788. description: 买1
  9789. type: number
  9790. bid2:
  9791. description: 买2
  9792. type: number
  9793. bid3:
  9794. description: 买3
  9795. type: number
  9796. bid4:
  9797. description: 买4
  9798. type: number
  9799. bid5:
  9800. description: 买5
  9801. type: number
  9802. bid6:
  9803. description: 买6
  9804. type: number
  9805. bid7:
  9806. description: 买7
  9807. type: number
  9808. bid8:
  9809. description: 买8
  9810. type: number
  9811. bid9:
  9812. description: 买9
  9813. type: number
  9814. bid10:
  9815. description: 买10
  9816. type: number
  9817. bidorderid:
  9818. description: 买单号1
  9819. type: integer
  9820. bidorderid2:
  9821. description: 买单号2
  9822. type: integer
  9823. bidorderid3:
  9824. description: 买单号3
  9825. type: integer
  9826. bidorderid4:
  9827. description: 买单号4
  9828. type: integer
  9829. bidorderid5:
  9830. description: 买单号5
  9831. type: integer
  9832. bidordervolume:
  9833. description: 买单量1
  9834. type: integer
  9835. bidordervolume2:
  9836. description: 买单量2
  9837. type: integer
  9838. bidordervolume3:
  9839. description: 买单量3
  9840. type: integer
  9841. bidordervolume4:
  9842. description: 买单量4
  9843. type: integer
  9844. bidordervolume5:
  9845. description: 买单量5
  9846. type: integer
  9847. bidordervolume6:
  9848. description: 买单量6
  9849. type: integer
  9850. bidordervolume7:
  9851. description: 买单量7
  9852. type: integer
  9853. bidordervolume8:
  9854. description: 买单量8
  9855. type: integer
  9856. bidordervolume9:
  9857. description: 买单量9
  9858. type: integer
  9859. bidordervolume10:
  9860. description: 买单量10
  9861. type: integer
  9862. bidqueueinfo:
  9863. description: 大利市买港股用
  9864. type: string
  9865. bidvolume:
  9866. description: 买量1
  9867. type: integer
  9868. bidvolume2:
  9869. description: 买量2
  9870. type: integer
  9871. bidvolume3:
  9872. description: 买量3
  9873. type: integer
  9874. bidvolume4:
  9875. description: 买量4
  9876. type: integer
  9877. bidvolume5:
  9878. description: 买量5
  9879. type: integer
  9880. bidvolume6:
  9881. description: 买量6
  9882. type: integer
  9883. bidvolume7:
  9884. description: 买量7
  9885. type: integer
  9886. bidvolume8:
  9887. description: 买量8
  9888. type: integer
  9889. bidvolume9:
  9890. description: 买量9
  9891. type: integer
  9892. bidvolume10:
  9893. description: 买量10
  9894. type: integer
  9895. calloptionpremiums:
  9896. description: 认购期权1
  9897. type: integer
  9898. calloptionpremiums2:
  9899. description: 认购期权2
  9900. type: integer
  9901. calloptionpremiums3:
  9902. description: 认购期权3
  9903. type: integer
  9904. calloptionpremiums4:
  9905. description: 认购期权4
  9906. type: integer
  9907. calloptionpremiums5:
  9908. description: 认购期权5
  9909. type: integer
  9910. cleartime:
  9911. description: 清盘时间
  9912. type: integer
  9913. exchangecode:
  9914. description: 交易所代码
  9915. type: integer
  9916. exchangedate:
  9917. description: 交易日
  9918. type: integer
  9919. goodscode:
  9920. description: 商品代码
  9921. type: string
  9922. grepmarketprice:
  9923. description: 暗盘价 港股专用
  9924. type: number
  9925. highest:
  9926. description: 最高价
  9927. type: number
  9928. holdincrement:
  9929. description: 单笔持仓
  9930. type: integer
  9931. holdvolume:
  9932. description: 持仓
  9933. type: integer
  9934. iep:
  9935. description: 平衡价 港股专用
  9936. type: number
  9937. iev:
  9938. description: 平衡量 港股专用
  9939. type: number
  9940. inventory:
  9941. description: 库存
  9942. type: integer
  9943. iscleared:
  9944. description: 是否清盘标志
  9945. type: integer
  9946. issettled:
  9947. description: 是否结算标志
  9948. type: integer
  9949. last:
  9950. description: 最新价
  9951. type: number
  9952. lastlot:
  9953. description: 最新成交手数
  9954. type: integer
  9955. lasttime:
  9956. description: 行情时间(只有现价变化行情时间才变化)
  9957. type: string
  9958. lastturnover:
  9959. description: 最新成交金额
  9960. type: number
  9961. lastvolume:
  9962. description: 最新成交量
  9963. type: integer
  9964. limitdown:
  9965. description: 跌停价
  9966. type: number
  9967. limitup:
  9968. description: 涨停价
  9969. type: number
  9970. lowest:
  9971. description: 最低价
  9972. type: number
  9973. nontotalholdervolume:
  9974. description: 非交易持仓量
  9975. type: integer
  9976. nontotallot:
  9977. description: 非交易总手数
  9978. type: integer
  9979. nontotalturnover:
  9980. description: 非交易总金额
  9981. type: integer
  9982. nontotalvolume:
  9983. description: 非交易总量
  9984. type: integer
  9985. opened:
  9986. description: 开盘价
  9987. type: number
  9988. opentime:
  9989. description: 开盘时间
  9990. type: string
  9991. orderid:
  9992. description: 序号
  9993. type: integer
  9994. preclose:
  9995. description: 昨收
  9996. type: number
  9997. preholdvolume:
  9998. description: 昨持仓
  9999. type: integer
  10000. presettle:
  10001. description: 昨结价
  10002. type: number
  10003. publictradetype:
  10004. description: 公共交易标志类型 港股专用
  10005. type: string
  10006. putoptionpremiums:
  10007. description: 认沽期权1
  10008. type: integer
  10009. putoptionpremiums2:
  10010. description: 认沽期权2
  10011. type: integer
  10012. putoptionpremiums3:
  10013. description: 认沽期权3
  10014. type: integer
  10015. putoptionpremiums4:
  10016. description: 认沽期权4
  10017. type: integer
  10018. putoptionpremiums5:
  10019. description: 认沽期权5
  10020. type: integer
  10021. settle:
  10022. description: 结算价
  10023. type: number
  10024. strikeprice:
  10025. description: 发行价
  10026. type: number
  10027. totalaskvolume:
  10028. description: 内盘
  10029. type: integer
  10030. totalbidvolume:
  10031. description: 外盘
  10032. type: integer
  10033. totallot:
  10034. description: 总手数
  10035. type: integer
  10036. totalturnover:
  10037. description: 总金额
  10038. type: number
  10039. totalvolume:
  10040. description: 总量
  10041. type: integer
  10042. utclasttime:
  10043. description: utc的行情时间
  10044. type: string
  10045. type: object
  10046. quote.QueryTSDataRsp:
  10047. properties:
  10048. Count:
  10049. description: 交易日应有数据个数
  10050. type: integer
  10051. decimalPlace:
  10052. description: 小数位
  10053. type: integer
  10054. endTime:
  10055. description: 结束时间
  10056. type: string
  10057. goodsCode:
  10058. description: 商品代码
  10059. type: string
  10060. historyDatas:
  10061. description: 历史数据
  10062. items:
  10063. $ref: '#/definitions/quote.HistoryData'
  10064. type: array
  10065. outGoodsCode:
  10066. description: 外部商品代码
  10067. type: string
  10068. preSettle:
  10069. description: 昨结价
  10070. type: number
  10071. runSteps:
  10072. description: 交易日开休市计划
  10073. items:
  10074. $ref: '#/definitions/quote.TSDataRunStep'
  10075. type: array
  10076. startTime:
  10077. description: 开始时间
  10078. type: string
  10079. tradeDate:
  10080. description: 交易日
  10081. type: string
  10082. type: object
  10083. quote.TSDataRunStep:
  10084. properties:
  10085. end:
  10086. description: 真实结束时间
  10087. type: string
  10088. endflag:
  10089. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  10090. type: integer
  10091. endtime:
  10092. description: 结束时间(HH:mm)
  10093. type: string
  10094. endweekday:
  10095. description: 结束周几
  10096. type: integer
  10097. groupid:
  10098. description: 分组ID
  10099. type: integer
  10100. runstep:
  10101. description: 运行阶段 - 2:连续交易
  10102. type: integer
  10103. sectionid:
  10104. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  10105. 结束时间=结算时间 结束周几=结算周几
  10106. type: integer
  10107. start:
  10108. description: 真实开始时间
  10109. type: string
  10110. startflag:
  10111. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  10112. type: integer
  10113. starttime:
  10114. description: 起始时间(HH:mm)
  10115. type: string
  10116. startweekday:
  10117. description: 起始周几
  10118. type: integer
  10119. tradeweekday:
  10120. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  10121. type: integer
  10122. type: object
  10123. szdz.QueryConvertLogRsp:
  10124. properties:
  10125. accountid:
  10126. description: 资金账户ID
  10127. type: integer
  10128. clientticket:
  10129. description: 客户端流水号
  10130. type: string
  10131. converttype:
  10132. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  10133. type: integer
  10134. createtime:
  10135. description: 记账时间
  10136. type: string
  10137. daymaxvalue:
  10138. description: 配置当日最大转入限制
  10139. type: number
  10140. daymaxvalue2:
  10141. description: 配置当日最大转入限制(转入)
  10142. type: number
  10143. goodscode:
  10144. description: 商品代码
  10145. type: string
  10146. goodsname:
  10147. description: 商品名称
  10148. type: string
  10149. handlestatus:
  10150. description: 处理状态
  10151. type: integer
  10152. innergoodsid:
  10153. description: 内部商品ID
  10154. type: integer
  10155. inratio:
  10156. description: 配置转入比值
  10157. type: integer
  10158. invalue:
  10159. description: 目标值
  10160. type: number
  10161. logid:
  10162. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10163. type: integer
  10164. mobile:
  10165. description: 手机号码(加密存储)
  10166. type: string
  10167. outergoodscode:
  10168. description: 外部商品代码[JD\PD]
  10169. type: string
  10170. outratio:
  10171. description: 配置转出比值
  10172. type: integer
  10173. outvalue:
  10174. description: 源值
  10175. type: number
  10176. pddecimalplace:
  10177. description: PD小数位
  10178. type: integer
  10179. qty:
  10180. description: 数量
  10181. type: string
  10182. remark:
  10183. description: 备注
  10184. type: string
  10185. sessionid:
  10186. description: 会话ID
  10187. type: integer
  10188. timemaxvalue:
  10189. description: 配置单次最大转入限制
  10190. type: number
  10191. timemaxvalue2:
  10192. description: 配置单次最大转入限制(转入)
  10193. type: number
  10194. timeminvalue:
  10195. description: 配置单次最小数量限制
  10196. type: number
  10197. timeminvalue2:
  10198. description: 配置单次最小数量限制(转入)
  10199. type: number
  10200. tradedate:
  10201. description: 交易日(yyyyMMdd)
  10202. type: string
  10203. userid:
  10204. description: 用户ID
  10205. type: integer
  10206. required:
  10207. - logid
  10208. type: object
  10209. szdz.QueryGoodsPickupRsp:
  10210. properties:
  10211. accountid:
  10212. description: 账户ID
  10213. type: integer
  10214. address:
  10215. description: 提货人详细地址
  10216. type: string
  10217. auditer:
  10218. description: 审核人
  10219. type: integer
  10220. audittime:
  10221. description: 审核时间
  10222. type: string
  10223. cardnum:
  10224. description: 提货人证件号码
  10225. type: string
  10226. cardtypeid:
  10227. description: 提货人证件类型
  10228. type: integer
  10229. checkremark:
  10230. description: 审核备注
  10231. type: string
  10232. goodscode:
  10233. description: 商品代码
  10234. type: string
  10235. goodsid:
  10236. description: 商品ID
  10237. type: integer
  10238. goodsname:
  10239. description: 商品名称
  10240. type: string
  10241. handlestatus:
  10242. description: 处理状态
  10243. type: integer
  10244. marketid:
  10245. description: 市场ID
  10246. type: integer
  10247. phonenum:
  10248. description: 提货人联系方式
  10249. type: string
  10250. qty:
  10251. description: 提货数量
  10252. type: number
  10253. recivername:
  10254. description: 提货人姓名
  10255. type: string
  10256. reqtime:
  10257. description: 更新时间
  10258. type: string
  10259. takemode:
  10260. description: 提货方式 - 2:自提 3:配送
  10261. type: integer
  10262. takeorderid:
  10263. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10264. type: string
  10265. takeorderstatus:
  10266. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  10267. type: integer
  10268. takeremark:
  10269. description: 提货备注
  10270. type: string
  10271. tradedate:
  10272. description: 交易日(yyyyMMdd)
  10273. type: string
  10274. userid:
  10275. description: 用户ID
  10276. type: integer
  10277. required:
  10278. - takeorderid
  10279. type: object
  10280. szdz.QueryRecieptOrderRsp:
  10281. properties:
  10282. accountName:
  10283. description: 所属账号名称(已脱敏)
  10284. type: string
  10285. accountid:
  10286. description: 资金账号
  10287. type: integer
  10288. buyorsell:
  10289. description: 方向 - 0:买 1:卖
  10290. type: integer
  10291. enableqty:
  10292. description: 可摘数量
  10293. type: integer
  10294. goodscode:
  10295. description: 商品代码
  10296. type: string
  10297. goodsid:
  10298. description: 商品ID
  10299. type: integer
  10300. goodsname:
  10301. description: 商品名称
  10302. type: string
  10303. orderid:
  10304. description: 委托单号
  10305. type: string
  10306. orderprice:
  10307. description: 委托价格
  10308. type: number
  10309. ordertime:
  10310. description: 委托时间
  10311. type: string
  10312. tradedate:
  10313. description: 交易日(yyyyMMdd)
  10314. type: string
  10315. required:
  10316. - ordertime
  10317. type: object
  10318. szdz.QuerySZDZTradePositionRsp:
  10319. properties:
  10320. accountid:
  10321. description: 账号Id
  10322. type: integer
  10323. agreeunit:
  10324. description: 合约单位
  10325. type: number
  10326. averageprice:
  10327. description: 持仓均价
  10328. type: number
  10329. buyorsell:
  10330. description: 方向 - 0:买 1:卖
  10331. type: integer
  10332. closetotalqty:
  10333. description: 平仓总数量
  10334. type: integer
  10335. curholderamount:
  10336. description: 当前持仓总金额
  10337. type: number
  10338. curpositionqty:
  10339. description: 当前持仓总数量
  10340. type: integer
  10341. currencyid:
  10342. description: 报价货币ID
  10343. type: integer
  10344. curtdposition:
  10345. description: 期末今日头寸
  10346. type: integer
  10347. decimalplace:
  10348. description: 报价小数位
  10349. type: integer
  10350. enableqty:
  10351. description: 可用量
  10352. type: integer
  10353. fretdposition:
  10354. description: 冻结今日头寸
  10355. type: integer
  10356. frozenqty:
  10357. description: 持仓冻结数量
  10358. type: integer
  10359. goodscode:
  10360. description: 商品代码(内部)
  10361. type: string
  10362. goodsid:
  10363. description: 商品Id
  10364. type: integer
  10365. goodsname:
  10366. description: 商品名称
  10367. type: string
  10368. goodunit:
  10369. description: 报价单位
  10370. type: string
  10371. goodunitid:
  10372. description: 报价单位ID
  10373. type: integer
  10374. holderamount:
  10375. description: 期初持仓总金额
  10376. type: number
  10377. marketid:
  10378. description: 市场ID
  10379. type: integer
  10380. openreqqty:
  10381. description: 开仓申请数量
  10382. type: integer
  10383. opentotalqty:
  10384. description: 开仓总数量
  10385. type: integer
  10386. otherfrozenqty:
  10387. description: 持仓其他冻结数量(交割冻结)
  10388. type: integer
  10389. positionqty:
  10390. description: 期初持仓数量
  10391. type: integer
  10392. szdz3freezqty:
  10393. description: 尚志大宗转换冻结总数量
  10394. type: integer
  10395. tnqty:
  10396. description: T+N冻结总量
  10397. type: integer
  10398. tnusedqty:
  10399. description: T+N使用量
  10400. type: integer
  10401. trademode:
  10402. description: 交易模式
  10403. type: integer
  10404. usedmargin:
  10405. description: 占用保证金
  10406. type: number
  10407. type: object
  10408. taaccount.QueryAmountLogRsp:
  10409. properties:
  10410. OPERATETYPENAME:
  10411. description: 资金操作类型名称
  10412. type: string
  10413. accountid:
  10414. description: 资金账户ID
  10415. type: integer
  10416. agoodscode:
  10417. description: 竞拍商品代码
  10418. type: string
  10419. agoodsname:
  10420. description: 竞拍商品名称
  10421. type: string
  10422. amount:
  10423. description: 资金金额
  10424. type: number
  10425. amountadjusttype:
  10426. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  10427. type: integer
  10428. autoid:
  10429. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  10430. type: integer
  10431. balance:
  10432. description: 期初余额
  10433. type: number
  10434. businesscode:
  10435. description: 业务编号
  10436. type: integer
  10437. createtime:
  10438. description: 发生时间
  10439. type: string
  10440. currencyid:
  10441. description: 币种ID
  10442. type: integer
  10443. currentbalance:
  10444. description: 期末余额(变动后金额)
  10445. type: number
  10446. dgoodscode:
  10447. description: 交割商品代码
  10448. type: string
  10449. dgoodsname:
  10450. description: 交割商品名称
  10451. type: string
  10452. goodscode:
  10453. description: 商品代码
  10454. type: string
  10455. goodsid:
  10456. description: 商品ID
  10457. type: integer
  10458. goodsname:
  10459. description: 商品名称
  10460. type: string
  10461. marketid:
  10462. description: 市场ID
  10463. type: integer
  10464. marketname:
  10465. description: 市场名称
  10466. type: string
  10467. moneyticket:
  10468. description: 资金流水号:银行端流水号
  10469. type: integer
  10470. operatetype:
  10471. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  10472. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  10473. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  10474. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  10475. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  10476. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  10477. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  10478. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  10479. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  10480. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  10481. type: integer
  10482. relationorderid:
  10483. description: 关联单号
  10484. type: string
  10485. remark:
  10486. description: 备注
  10487. type: string
  10488. trademode:
  10489. description: 交易模式
  10490. type: integer
  10491. required:
  10492. - accountid
  10493. - amount
  10494. - amountadjusttype
  10495. - autoid
  10496. - balance
  10497. - createtime
  10498. - currentbalance
  10499. - operatetype
  10500. type: object
  10501. taaccount.QueryHisAmountLogRsp:
  10502. properties:
  10503. OPERATETYPENAME:
  10504. description: 资金操作类型名称
  10505. type: string
  10506. accountid:
  10507. description: 资金账户ID
  10508. type: integer
  10509. agoodscode:
  10510. description: 竞拍商品代码
  10511. type: string
  10512. agoodsname:
  10513. description: 竞拍商品名称
  10514. type: string
  10515. amount:
  10516. description: 资金金额
  10517. type: number
  10518. amountadjusttype:
  10519. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  10520. type: integer
  10521. autoid:
  10522. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  10523. type: integer
  10524. balance:
  10525. description: 期初余额
  10526. type: number
  10527. businesscode:
  10528. description: 业务编号
  10529. type: integer
  10530. createtime:
  10531. description: 发生时间
  10532. type: string
  10533. currencyid:
  10534. description: 币种ID
  10535. type: integer
  10536. currentbalance:
  10537. description: 期末余额(变动后金额)
  10538. type: number
  10539. dgoodscode:
  10540. description: 交割商品代码
  10541. type: string
  10542. dgoodsname:
  10543. description: 交割商品名称
  10544. type: string
  10545. goodscode:
  10546. description: 商品代码
  10547. type: string
  10548. goodsid:
  10549. description: 商品ID
  10550. type: integer
  10551. goodsname:
  10552. description: 商品名称
  10553. type: string
  10554. histradedate:
  10555. description: 历史交易日
  10556. type: string
  10557. isvaliddata:
  10558. description: 是否有效 - 0:无效 1:有效
  10559. type: integer
  10560. marketid:
  10561. description: 市场ID
  10562. type: integer
  10563. marketname:
  10564. description: 市场名称
  10565. type: string
  10566. moneyticket:
  10567. description: 资金流水号:银行端流水号
  10568. type: integer
  10569. operatetype:
  10570. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  10571. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  10572. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  10573. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  10574. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  10575. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  10576. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  10577. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  10578. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  10579. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  10580. type: integer
  10581. relationorderid:
  10582. description: 关联单号
  10583. type: string
  10584. remark:
  10585. description: 备注
  10586. type: string
  10587. trademode:
  10588. description: 交易模式
  10589. type: integer
  10590. required:
  10591. - accountid
  10592. - amount
  10593. - amountadjusttype
  10594. - autoid
  10595. - balance
  10596. - createtime
  10597. - currentbalance
  10598. - histradedate
  10599. - operatetype
  10600. type: object
  10601. trade.QueryRecieptOrderRsp:
  10602. properties:
  10603. accountName:
  10604. description: 所属账号名称(已脱敏)
  10605. type: string
  10606. accountid:
  10607. description: 资金账号
  10608. type: integer
  10609. buyorsell:
  10610. description: 方向 - 0:买 1:卖
  10611. type: integer
  10612. enableqty:
  10613. description: 可摘数量
  10614. type: integer
  10615. goodscode:
  10616. description: 商品代码
  10617. type: string
  10618. goodsid:
  10619. description: 商品ID
  10620. type: integer
  10621. goodsname:
  10622. description: 商品名称
  10623. type: string
  10624. orderid:
  10625. description: 委托单号
  10626. type: string
  10627. orderprice:
  10628. description: 委托价格
  10629. type: number
  10630. ordertime:
  10631. description: 委托时间
  10632. type: string
  10633. tradedate:
  10634. description: 交易日(yyyyMMdd)
  10635. type: string
  10636. required:
  10637. - ordertime
  10638. type: object
  10639. user.LoginQueryRsp:
  10640. properties:
  10641. externalExchanges:
  10642. description: 外部交易所
  10643. items:
  10644. $ref: '#/definitions/models.Externalexchange'
  10645. type: array
  10646. goodsgroups:
  10647. description: 商品组
  10648. items:
  10649. $ref: '#/definitions/models.Goodsgroup'
  10650. type: array
  10651. loginAccount:
  10652. $ref: '#/definitions/models.Loginaccount'
  10653. description: 登录账号
  10654. type: object
  10655. markets:
  10656. description: 市场
  10657. items:
  10658. $ref: '#/definitions/models.Market'
  10659. type: array
  10660. systemParams:
  10661. description: 系统参数
  10662. items:
  10663. $ref: '#/definitions/models.Systemparam'
  10664. type: array
  10665. userAccount:
  10666. $ref: '#/definitions/models.Useraccount'
  10667. description: 用户账号
  10668. type: object
  10669. userInfo:
  10670. $ref: '#/definitions/models.Userinfo'
  10671. description: 用户信息
  10672. type: object
  10673. username:
  10674. description: 用户姓名
  10675. type: string
  10676. type: object
  10677. info:
  10678. contact: {}
  10679. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  10680. license: {}
  10681. termsOfService: http://muchinfo.cn
  10682. title: MTP2.0 查询服务 API
  10683. version: "1.0"
  10684. paths:
  10685. /CPTrade/QueryCPTradeMyBidInfos:
  10686. get:
  10687. parameters:
  10688. - description: 资金账户
  10689. in: query
  10690. name: accountid
  10691. required: true
  10692. type: integer
  10693. - description: 预售市场ID
  10694. in: query
  10695. name: marketid
  10696. type: integer
  10697. - description: 预售商品ID
  10698. in: query
  10699. name: goodsid
  10700. type: integer
  10701. produces:
  10702. - application/json
  10703. responses:
  10704. "200":
  10705. description: OK
  10706. schema:
  10707. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  10708. "500":
  10709. description: Internal Server Error
  10710. schema:
  10711. $ref: '#/definitions/app.Response'
  10712. security:
  10713. - ApiKeyAuth: []
  10714. summary: 查询产能预售我的出价信息
  10715. tags:
  10716. - 产能预售
  10717. /CPTrade/QueryCPTradeOrderDetail:
  10718. get:
  10719. parameters:
  10720. - description: 预售商品ID
  10721. in: query
  10722. name: goodsid
  10723. type: integer
  10724. - description: 预售市场ID
  10725. in: query
  10726. name: marketid
  10727. type: integer
  10728. - description: 预售商品ID列表 - 格式:1,2,3
  10729. in: query
  10730. name: goodsids
  10731. type: string
  10732. produces:
  10733. - application/json
  10734. responses:
  10735. "200":
  10736. description: OK
  10737. schema:
  10738. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  10739. "500":
  10740. description: Internal Server Error
  10741. schema:
  10742. $ref: '#/definitions/app.Response'
  10743. security:
  10744. - ApiKeyAuth: []
  10745. summary: 查询产能预售委托单信息
  10746. tags:
  10747. - 产能预售
  10748. /CPTrade/QueryMyCPTradeGoods:
  10749. get:
  10750. parameters:
  10751. - description: 资金账户
  10752. in: query
  10753. name: accountid
  10754. required: true
  10755. type: integer
  10756. produces:
  10757. - application/json
  10758. responses:
  10759. "200":
  10760. description: OK
  10761. schema:
  10762. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  10763. "500":
  10764. description: Internal Server Error
  10765. schema:
  10766. $ref: '#/definitions/app.Response'
  10767. security:
  10768. - ApiKeyAuth: []
  10769. summary: 查询我的预售信息
  10770. tags:
  10771. - 产能预售
  10772. /CPTrade/QueryPositionCancel:
  10773. get:
  10774. parameters:
  10775. - description: 账户ID
  10776. in: query
  10777. name: userid
  10778. required: true
  10779. type: integer
  10780. - description: 注销ID
  10781. in: query
  10782. name: cancelid
  10783. type: integer
  10784. - description: 资金账户ID
  10785. in: query
  10786. name: accountid
  10787. type: integer
  10788. produces:
  10789. - application/json
  10790. responses:
  10791. "200":
  10792. description: OK
  10793. schema:
  10794. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  10795. "500":
  10796. description: Internal Server Error
  10797. schema:
  10798. $ref: '#/definitions/app.Response'
  10799. security:
  10800. - ApiKeyAuth: []
  10801. summary: 查询远期订单注销申请信息
  10802. tags:
  10803. - 产能预售
  10804. /CPTrade/QueryPreasleApply:
  10805. get:
  10806. parameters:
  10807. - description: 账户ID
  10808. in: query
  10809. name: userid
  10810. required: true
  10811. type: integer
  10812. - description: 申请ID
  10813. in: query
  10814. name: applyid
  10815. type: integer
  10816. - description: 资金账户ID
  10817. in: query
  10818. name: accountid
  10819. type: integer
  10820. produces:
  10821. - application/json
  10822. responses:
  10823. "200":
  10824. description: OK
  10825. schema:
  10826. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  10827. "500":
  10828. description: Internal Server Error
  10829. schema:
  10830. $ref: '#/definitions/app.Response'
  10831. security:
  10832. - ApiKeyAuth: []
  10833. summary: 查询产能预售申请信息
  10834. tags:
  10835. - 产能预售
  10836. /CPTrade/QueryPresaleGoodsEx:
  10837. get:
  10838. parameters:
  10839. - description: 预售商品ID
  10840. in: query
  10841. name: goodsid
  10842. type: integer
  10843. - description: 预售市场ID
  10844. in: query
  10845. name: marketid
  10846. type: integer
  10847. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  10848. in: query
  10849. name: presalemode
  10850. type: integer
  10851. - description: 预售商品ID列表 - 格式:1,2,3
  10852. in: query
  10853. name: goodsids
  10854. type: string
  10855. - description: 预售商品代码
  10856. in: query
  10857. name: goodscode
  10858. type: string
  10859. produces:
  10860. - application/json
  10861. responses:
  10862. "200":
  10863. description: OK
  10864. schema:
  10865. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  10866. "500":
  10867. description: Internal Server Error
  10868. schema:
  10869. $ref: '#/definitions/app.Response'
  10870. security:
  10871. - ApiKeyAuth: []
  10872. summary: 查询产能预售商品扩展信息
  10873. tags:
  10874. - 产能预售
  10875. /CPTrade/QueryUserGoodsData:
  10876. get:
  10877. parameters:
  10878. - description: 资金账户ID
  10879. in: query
  10880. name: accountid
  10881. required: true
  10882. type: integer
  10883. produces:
  10884. - application/json
  10885. responses:
  10886. "200":
  10887. description: OK
  10888. schema:
  10889. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  10890. "500":
  10891. description: Internal Server Error
  10892. schema:
  10893. $ref: '#/definitions/app.Response'
  10894. security:
  10895. - ApiKeyAuth: []
  10896. summary: 查询远期订单信息
  10897. tags:
  10898. - 产能预售
  10899. /Common/GetAllEnums:
  10900. get:
  10901. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  10902. parameters:
  10903. - description: 起始自增ID
  10904. in: query
  10905. name: autoid
  10906. type: integer
  10907. produces:
  10908. - application/json
  10909. responses:
  10910. "200":
  10911. description: OK
  10912. schema:
  10913. $ref: '#/definitions/models.Enumdicitem'
  10914. "500":
  10915. description: Internal Server Error
  10916. schema:
  10917. $ref: '#/definitions/app.Response'
  10918. summary: 获取所有枚举信息
  10919. tags:
  10920. - 通用服务
  10921. /Common/GetClientMenus:
  10922. get:
  10923. parameters:
  10924. - description: 登录账号
  10925. in: query
  10926. name: loginID
  10927. required: true
  10928. type: integer
  10929. - description: 终端类型,0:PC 1:Mobile
  10930. in: query
  10931. name: clientType
  10932. type: integer
  10933. produces:
  10934. - application/json
  10935. responses:
  10936. "200":
  10937. description: OK
  10938. schema:
  10939. items:
  10940. $ref: '#/definitions/common.ClientMenu'
  10941. type: array
  10942. "500":
  10943. description: Internal Server Error
  10944. schema:
  10945. $ref: '#/definitions/app.Response'
  10946. security:
  10947. - ApiKeyAuth: []
  10948. summary: 获取交易端菜单
  10949. tags:
  10950. - 通用服务
  10951. /Common/GetDivisions:
  10952. get:
  10953. produces:
  10954. - application/json
  10955. responses:
  10956. "200":
  10957. description: OK
  10958. schema:
  10959. $ref: '#/definitions/models.Division'
  10960. "500":
  10961. description: Internal Server Error
  10962. schema:
  10963. $ref: '#/definitions/app.Response'
  10964. summary: 查询区域信息
  10965. tags:
  10966. - 通用服务
  10967. /Common/GetServerTime:
  10968. get:
  10969. produces:
  10970. - application/json
  10971. responses:
  10972. "200":
  10973. description: OK
  10974. schema:
  10975. $ref: '#/definitions/app.Response'
  10976. "500":
  10977. description: Internal Server Error
  10978. schema:
  10979. $ref: '#/definitions/app.Response'
  10980. summary: 获取服务器时间
  10981. tags:
  10982. - 通用服务
  10983. /Common/NoticeReaded:
  10984. post:
  10985. parameters:
  10986. - description: 登录账号
  10987. in: query
  10988. name: loginID
  10989. required: true
  10990. type: integer
  10991. - description: 通知公告ID
  10992. in: query
  10993. name: noticeID
  10994. required: true
  10995. type: integer
  10996. produces:
  10997. - application/json
  10998. responses:
  10999. "200":
  11000. description: OK
  11001. schema:
  11002. $ref: '#/definitions/app.Response'
  11003. "500":
  11004. description: Internal Server Error
  11005. schema:
  11006. $ref: '#/definitions/app.Response'
  11007. security:
  11008. - ApiKeyAuth: []
  11009. summary: 通知公告设置已读请求
  11010. tags:
  11011. - 通用服务
  11012. /Common/QueryErrorInfos:
  11013. get:
  11014. description: 如果传入rowNumber,则返回此rowNumber后的数据
  11015. parameters:
  11016. - description: 起始行号前索引
  11017. in: query
  11018. name: rowNumber
  11019. type: string
  11020. produces:
  11021. - application/json
  11022. responses:
  11023. "200":
  11024. description: OK
  11025. schema:
  11026. $ref: '#/definitions/models.QueryErrorInfosRsp'
  11027. "500":
  11028. description: Internal Server Error
  11029. schema:
  11030. $ref: '#/definitions/app.Response'
  11031. summary: 获取数据库错误信息
  11032. tags:
  11033. - 通用服务
  11034. /Common/QueryImageConfigs:
  11035. get:
  11036. parameters:
  11037. - description: 类型 - 1:App首页轮播 2:我的
  11038. in: query
  11039. name: imageType
  11040. type: integer
  11041. produces:
  11042. - application/json
  11043. responses:
  11044. "200":
  11045. description: OK
  11046. schema:
  11047. $ref: '#/definitions/common.QueryImageConfigsRsp'
  11048. "500":
  11049. description: Internal Server Error
  11050. schema:
  11051. $ref: '#/definitions/app.Response'
  11052. summary: 查询轮播图配置信息
  11053. tags:
  11054. - 通用服务
  11055. /Common/QueryNotice:
  11056. get:
  11057. parameters:
  11058. - description: 页码
  11059. in: query
  11060. name: page
  11061. type: integer
  11062. - description: 每页条数
  11063. in: query
  11064. name: pagesize
  11065. type: integer
  11066. - description: 登录账号
  11067. in: query
  11068. name: loginID
  11069. required: true
  11070. type: integer
  11071. - description: 消息类型 - 1:公告通知 2:系统消息
  11072. in: query
  11073. name: msgType
  11074. type: integer
  11075. - description: 是否只获取未读信息
  11076. in: query
  11077. name: onlyUnRead
  11078. type: boolean
  11079. - description: 自增ID,传入后会返回这个ID后面的记录
  11080. in: query
  11081. name: lastID
  11082. type: integer
  11083. produces:
  11084. - application/json
  11085. responses:
  11086. "200":
  11087. description: OK
  11088. schema:
  11089. $ref: '#/definitions/common.QueryNoticeRsp'
  11090. "500":
  11091. description: Internal Server Error
  11092. schema:
  11093. $ref: '#/definitions/app.Response'
  11094. security:
  11095. - ApiKeyAuth: []
  11096. summary: 通知公告系统消息查询
  11097. tags:
  11098. - 通用服务
  11099. /Common/QueryProvincesAndCities:
  11100. get:
  11101. parameters:
  11102. - description: 省ID
  11103. in: query
  11104. name: provinceID
  11105. type: integer
  11106. produces:
  11107. - application/json
  11108. responses:
  11109. "200":
  11110. description: OK
  11111. schema:
  11112. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  11113. "500":
  11114. description: Internal Server Error
  11115. schema:
  11116. $ref: '#/definitions/app.Response'
  11117. summary: 查询省市信息(不包括区)
  11118. tags:
  11119. - 通用服务
  11120. /Common/QueryTableDefine:
  11121. get:
  11122. parameters:
  11123. - description: 表key
  11124. in: query
  11125. name: tableKey
  11126. type: string
  11127. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  11128. in: query
  11129. name: tableType
  11130. type: integer
  11131. produces:
  11132. - application/json
  11133. responses:
  11134. "200":
  11135. description: OK
  11136. schema:
  11137. $ref: '#/definitions/common.QueryTableDefineRsp'
  11138. "500":
  11139. description: Internal Server Error
  11140. schema:
  11141. $ref: '#/definitions/app.Response'
  11142. summary: 查询交易端列表头信息
  11143. tags:
  11144. - 通用服务
  11145. /Common/QueryTraderMenu:
  11146. get:
  11147. parameters:
  11148. - description: 登录账号
  11149. in: query
  11150. name: loginid
  11151. required: true
  11152. type: integer
  11153. produces:
  11154. - application/json
  11155. responses:
  11156. "200":
  11157. description: OK
  11158. schema:
  11159. $ref: '#/definitions/common.QueryTraderMenuRsp'
  11160. "500":
  11161. description: Internal Server Error
  11162. schema:
  11163. $ref: '#/definitions/app.Response'
  11164. summary: 查询交易端菜单
  11165. tags:
  11166. - 通用服务
  11167. /Delivery/QueryDeliveryRelation:
  11168. get:
  11169. parameters:
  11170. - description: 商品ID
  11171. in: query
  11172. name: goodsid
  11173. type: integer
  11174. - description: 品种ID
  11175. in: query
  11176. name: deliverygoodsid
  11177. type: integer
  11178. - description: 市场ID
  11179. in: query
  11180. name: marketid
  11181. type: integer
  11182. produces:
  11183. - application/json
  11184. responses:
  11185. "200":
  11186. description: OK
  11187. schema:
  11188. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  11189. "500":
  11190. description: Internal Server Error
  11191. schema:
  11192. $ref: '#/definitions/app.Response'
  11193. security:
  11194. - ApiKeyAuth: []
  11195. summary: 查询商品交割关系表
  11196. tags:
  11197. - 交割服务
  11198. /Ermcp/GetErmcpGoods:
  11199. get:
  11200. parameters:
  11201. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  11202. in: query
  11203. name: lastUpdateTime
  11204. type: string
  11205. produces:
  11206. - application/json
  11207. responses:
  11208. "200":
  11209. description: OK
  11210. schema:
  11211. $ref: '#/definitions/models.Goods'
  11212. "500":
  11213. description: Internal Server Error
  11214. schema:
  11215. $ref: '#/definitions/app.Response'
  11216. security:
  11217. - ApiKeyAuth: []
  11218. summary: 查询企业风管期货商品信息
  11219. tags:
  11220. - 企业风险管理(app)
  11221. /Ermcp/GetErmcpGoodsSortByPosition:
  11222. get:
  11223. parameters:
  11224. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  11225. in: query
  11226. name: sortIndex
  11227. type: string
  11228. produces:
  11229. - application/json
  11230. responses:
  11231. "200":
  11232. description: OK
  11233. schema:
  11234. $ref: '#/definitions/models.Goodssortbypreposition'
  11235. "500":
  11236. description: Internal Server Error
  11237. schema:
  11238. $ref: '#/definitions/app.Response'
  11239. security:
  11240. - ApiKeyAuth: []
  11241. summary: 查询企业风管期货主力、次主力商品信息
  11242. tags:
  11243. - 企业风险管理(app)
  11244. /Ermcp/GetErmcpRoleFuncMenuLists:
  11245. get:
  11246. parameters:
  11247. - description: 登录账号
  11248. in: query
  11249. name: loginID
  11250. required: true
  11251. type: integer
  11252. produces:
  11253. - application/json
  11254. responses:
  11255. "200":
  11256. description: OK
  11257. schema:
  11258. $ref: '#/definitions/models.Funcmenulist'
  11259. "500":
  11260. description: Internal Server Error
  11261. schema:
  11262. $ref: '#/definitions/app.Response'
  11263. security:
  11264. - ApiKeyAuth: []
  11265. summary: 获取企业风管终端权限
  11266. tags:
  11267. - 企业风险管理(app)
  11268. /Ermcp/QryReportAreaSpotPL:
  11269. get:
  11270. parameters:
  11271. - description: 用户ID
  11272. in: query
  11273. name: userid
  11274. required: true
  11275. type: integer
  11276. - description: 查询类型 1-日报表 2-月报表
  11277. in: query
  11278. name: querytype
  11279. required: true
  11280. type: integer
  11281. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  11282. in: query
  11283. name: querydate
  11284. required: true
  11285. type: string
  11286. - description: 现货商品ID
  11287. in: query
  11288. name: wrstandardid
  11289. type: integer
  11290. - description: 品牌ID
  11291. in: query
  11292. name: spotgoodsbrandid
  11293. type: integer
  11294. - description: 型号ID
  11295. in: query
  11296. name: spotgoodsmodelid
  11297. type: integer
  11298. produces:
  11299. - application/json
  11300. responses:
  11301. "200":
  11302. description: OK
  11303. schema:
  11304. items:
  11305. $ref: '#/definitions/models.ErmcpReportAreaSpotPL'
  11306. type: array
  11307. "500":
  11308. description: Internal Server Error
  11309. schema:
  11310. $ref: '#/definitions/app.Response'
  11311. security:
  11312. - ApiKeyAuth: []
  11313. summary: 查询现货损益报表(现货损益报表)
  11314. tags:
  11315. - 企业风险管理(app)
  11316. /Ermcp/QryReportDayExposure:
  11317. get:
  11318. parameters:
  11319. - description: 用户ID
  11320. in: query
  11321. name: userid
  11322. required: true
  11323. type: integer
  11324. - description: 交易日(格式:yyyyMMdd)
  11325. in: query
  11326. name: tradedate
  11327. required: true
  11328. type: string
  11329. produces:
  11330. - application/json
  11331. responses:
  11332. "200":
  11333. description: OK
  11334. schema:
  11335. items:
  11336. $ref: '#/definitions/ermcp.QryReportExposureDayRsp'
  11337. type: array
  11338. "500":
  11339. description: Internal Server Error
  11340. schema:
  11341. $ref: '#/definitions/app.Response'
  11342. security:
  11343. - ApiKeyAuth: []
  11344. summary: 查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)
  11345. tags:
  11346. - 企业风险管理(app)
  11347. /Ermcp/QryReportDayFinance:
  11348. get:
  11349. parameters:
  11350. - description: 用户ID
  11351. in: query
  11352. name: userid
  11353. required: true
  11354. type: integer
  11355. - description: 交易日(格式:yyyyMMdd)
  11356. in: query
  11357. name: tradedate
  11358. required: true
  11359. type: string
  11360. produces:
  11361. - application/json
  11362. responses:
  11363. "200":
  11364. description: OK
  11365. schema:
  11366. items:
  11367. $ref: '#/definitions/ermcp.QryReportFinanceDayRsp'
  11368. type: array
  11369. "500":
  11370. description: Internal Server Error
  11371. schema:
  11372. $ref: '#/definitions/app.Response'
  11373. security:
  11374. - ApiKeyAuth: []
  11375. summary: 查询财务日报表(菜单:报表查询/财务报表/日报表)
  11376. tags:
  11377. - 企业风险管理(app)
  11378. /Ermcp/QryReportDayFinanceFp:
  11379. get:
  11380. parameters:
  11381. - description: 用户ID
  11382. in: query
  11383. name: userid
  11384. required: true
  11385. type: integer
  11386. - description: 交易日(格式:yyyyMMdd)
  11387. in: query
  11388. name: tradedate
  11389. required: true
  11390. type: string
  11391. produces:
  11392. - application/json
  11393. responses:
  11394. "200":
  11395. description: OK
  11396. schema:
  11397. items:
  11398. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  11399. type: array
  11400. "500":
  11401. description: Internal Server Error
  11402. schema:
  11403. $ref: '#/definitions/app.Response'
  11404. security:
  11405. - ApiKeyAuth: []
  11406. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  11407. tags:
  11408. - 企业风险管理(app)
  11409. /Ermcp/QryReportDayFinanceKx:
  11410. get:
  11411. parameters:
  11412. - description: 用户ID
  11413. in: query
  11414. name: userid
  11415. required: true
  11416. type: integer
  11417. - description: 交易日(格式:yyyyMMdd)
  11418. in: query
  11419. name: tradedate
  11420. required: true
  11421. type: string
  11422. produces:
  11423. - application/json
  11424. responses:
  11425. "200":
  11426. description: OK
  11427. schema:
  11428. items:
  11429. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  11430. type: array
  11431. "500":
  11432. description: Internal Server Error
  11433. schema:
  11434. $ref: '#/definitions/app.Response'
  11435. security:
  11436. - ApiKeyAuth: []
  11437. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  11438. tags:
  11439. - 企业风险管理(app)
  11440. /Ermcp/QryReportDaySpot:
  11441. get:
  11442. parameters:
  11443. - description: 用户ID
  11444. in: query
  11445. name: userid
  11446. required: true
  11447. type: integer
  11448. - description: 交易日(格式:yyyyMMdd)
  11449. in: query
  11450. name: tradedate
  11451. required: true
  11452. type: string
  11453. produces:
  11454. - application/json
  11455. responses:
  11456. "200":
  11457. description: OK
  11458. schema:
  11459. items:
  11460. $ref: '#/definitions/ermcp.QryReportSpotDayRsp'
  11461. type: array
  11462. "500":
  11463. description: Internal Server Error
  11464. schema:
  11465. $ref: '#/definitions/app.Response'
  11466. security:
  11467. - ApiKeyAuth: []
  11468. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  11469. tags:
  11470. - 企业风险管理(app)
  11471. /Ermcp/QryReportDaySpotDetail:
  11472. get:
  11473. parameters:
  11474. - description: 用户ID
  11475. in: query
  11476. name: userid
  11477. required: true
  11478. type: integer
  11479. - description: 现货商品id
  11480. in: query
  11481. name: wrstandardid
  11482. required: true
  11483. type: integer
  11484. - description: 交易日(格式:yyyyMMdd)
  11485. in: query
  11486. name: tradedate
  11487. required: true
  11488. type: string
  11489. produces:
  11490. - application/json
  11491. responses:
  11492. "200":
  11493. description: OK
  11494. schema:
  11495. items:
  11496. $ref: '#/definitions/ermcp.QryReportDaySpotDetailRsp'
  11497. type: array
  11498. "500":
  11499. description: Internal Server Error
  11500. schema:
  11501. $ref: '#/definitions/app.Response'
  11502. security:
  11503. - ApiKeyAuth: []
  11504. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  11505. tags:
  11506. - 企业风险管理(app)
  11507. /Ermcp/QryReportMonthFinance:
  11508. get:
  11509. parameters:
  11510. - description: 用户ID
  11511. in: query
  11512. name: userid
  11513. required: true
  11514. type: integer
  11515. - description: 周期时间:月(格式:yyyyMM)
  11516. in: query
  11517. name: cycletime
  11518. required: true
  11519. type: string
  11520. produces:
  11521. - application/json
  11522. responses:
  11523. "200":
  11524. description: OK
  11525. schema:
  11526. items:
  11527. $ref: '#/definitions/ermcp.QryReportFinanceMonRsp'
  11528. type: array
  11529. "500":
  11530. description: Internal Server Error
  11531. schema:
  11532. $ref: '#/definitions/app.Response'
  11533. security:
  11534. - ApiKeyAuth: []
  11535. summary: 查询财务月报表(菜单:报表查询/财务报表/月报表)
  11536. tags:
  11537. - 企业风险管理(app)
  11538. /Ermcp/QryReportMonthSpot:
  11539. get:
  11540. parameters:
  11541. - description: 用户ID
  11542. in: query
  11543. name: userid
  11544. required: true
  11545. type: integer
  11546. - description: 周期时间:月(格式:yyyyMM)
  11547. in: query
  11548. name: cycletime
  11549. required: true
  11550. type: string
  11551. produces:
  11552. - application/json
  11553. responses:
  11554. "200":
  11555. description: OK
  11556. schema:
  11557. items:
  11558. $ref: '#/definitions/ermcp.QryReportSpotMonRsp'
  11559. type: array
  11560. "500":
  11561. description: Internal Server Error
  11562. schema:
  11563. $ref: '#/definitions/app.Response'
  11564. security:
  11565. - ApiKeyAuth: []
  11566. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  11567. tags:
  11568. - 企业风险管理(app)
  11569. /Ermcp/QryReportMonthSpotDetail:
  11570. get:
  11571. parameters:
  11572. - description: 用户ID
  11573. in: query
  11574. name: userid
  11575. required: true
  11576. type: integer
  11577. - description: 现货商品id
  11578. in: query
  11579. name: wrstandardid
  11580. required: true
  11581. type: integer
  11582. - description: 周期时间:月(格式:yyyyMM)
  11583. in: query
  11584. name: cycletime
  11585. required: true
  11586. type: string
  11587. produces:
  11588. - application/json
  11589. responses:
  11590. "200":
  11591. description: OK
  11592. schema:
  11593. items:
  11594. $ref: '#/definitions/ermcp.QryReportSpotMonthDetailRsp'
  11595. type: array
  11596. "500":
  11597. description: Internal Server Error
  11598. schema:
  11599. $ref: '#/definitions/app.Response'
  11600. security:
  11601. - ApiKeyAuth: []
  11602. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  11603. tags:
  11604. - 企业风险管理(app)
  11605. /Ermcp/QueryAccMgrBizGroupSet:
  11606. get:
  11607. parameters:
  11608. - description: 用户ID
  11609. in: query
  11610. name: userid
  11611. required: true
  11612. type: integer
  11613. produces:
  11614. - application/json
  11615. responses:
  11616. "200":
  11617. description: OK
  11618. schema:
  11619. items:
  11620. $ref: '#/definitions/models.ErmcpBizGroupEx'
  11621. type: array
  11622. "500":
  11623. description: Internal Server Error
  11624. schema:
  11625. $ref: '#/definitions/app.Response'
  11626. security:
  11627. - ApiKeyAuth: []
  11628. summary: 查询业务类型分组(账户管理/账户设置)
  11629. tags:
  11630. - 企业风险管理(app)
  11631. /Ermcp/QueryAccMgrLoginUser:
  11632. get:
  11633. parameters:
  11634. - description: 用户ID
  11635. in: query
  11636. name: userid
  11637. required: true
  11638. type: integer
  11639. produces:
  11640. - application/json
  11641. responses:
  11642. "200":
  11643. description: OK
  11644. schema:
  11645. items:
  11646. $ref: '#/definitions/models.ErmcpLoginUserEx'
  11647. type: array
  11648. "500":
  11649. description: Internal Server Error
  11650. schema:
  11651. $ref: '#/definitions/app.Response'
  11652. security:
  11653. - ApiKeyAuth: []
  11654. summary: 查询账户管理登录账号(账户管理/登录账号)
  11655. tags:
  11656. - 企业风险管理(app)
  11657. /Ermcp/QueryAccMgrMainAccountInfo:
  11658. get:
  11659. parameters:
  11660. - description: 用户ID
  11661. in: query
  11662. name: userid
  11663. type: integer
  11664. - description: 主账号id
  11665. in: query
  11666. name: accountid
  11667. type: integer
  11668. produces:
  11669. - application/json
  11670. responses:
  11671. "200":
  11672. description: OK
  11673. schema:
  11674. items:
  11675. $ref: '#/definitions/models.MainAccountInfo'
  11676. type: array
  11677. "500":
  11678. description: Internal Server Error
  11679. schema:
  11680. $ref: '#/definitions/app.Response'
  11681. security:
  11682. - ApiKeyAuth: []
  11683. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  11684. tags:
  11685. - 企业风险管理(app)
  11686. /Ermcp/QueryAccMgrRole:
  11687. get:
  11688. parameters:
  11689. - description: 用户ID
  11690. in: query
  11691. name: userid
  11692. required: true
  11693. type: integer
  11694. produces:
  11695. - application/json
  11696. responses:
  11697. "200":
  11698. description: OK
  11699. schema:
  11700. items:
  11701. $ref: '#/definitions/models.ErmcpRole'
  11702. type: array
  11703. "500":
  11704. description: Internal Server Error
  11705. schema:
  11706. $ref: '#/definitions/app.Response'
  11707. security:
  11708. - ApiKeyAuth: []
  11709. summary: 查询账户管理角色设置(账户管理/角色设置)
  11710. tags:
  11711. - 企业风险管理(app)
  11712. /Ermcp/QueryAccMgrRoleMenu:
  11713. get:
  11714. parameters:
  11715. - description: 用户ID
  11716. in: query
  11717. name: userid
  11718. required: true
  11719. type: integer
  11720. - description: 角色id(可多个,逗号隔开)
  11721. in: query
  11722. name: roleid
  11723. type: string
  11724. produces:
  11725. - application/json
  11726. responses:
  11727. "200":
  11728. description: OK
  11729. schema:
  11730. items:
  11731. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  11732. type: array
  11733. "500":
  11734. description: Internal Server Error
  11735. schema:
  11736. $ref: '#/definitions/app.Response'
  11737. security:
  11738. - ApiKeyAuth: []
  11739. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  11740. tags:
  11741. - 企业风险管理(app)
  11742. /Ermcp/QueryAccMgrTaAccountInfo:
  11743. get:
  11744. parameters:
  11745. - description: 用户ID
  11746. in: query
  11747. name: userid
  11748. required: true
  11749. type: integer
  11750. - description: 账号id
  11751. in: query
  11752. name: accountid
  11753. type: integer
  11754. produces:
  11755. - application/json
  11756. responses:
  11757. "200":
  11758. description: OK
  11759. schema:
  11760. items:
  11761. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  11762. type: array
  11763. "500":
  11764. description: Internal Server Error
  11765. schema:
  11766. $ref: '#/definitions/app.Response'
  11767. security:
  11768. - ApiKeyAuth: []
  11769. summary: 查询账户管理授信(账户管理/账户设置/授信)
  11770. tags:
  11771. - 企业风险管理(app)
  11772. /Ermcp/QueryAccMgrTaaccount:
  11773. get:
  11774. parameters:
  11775. - description: 用户ID
  11776. in: query
  11777. name: userid
  11778. required: true
  11779. type: integer
  11780. produces:
  11781. - application/json
  11782. responses:
  11783. "200":
  11784. description: OK
  11785. schema:
  11786. items:
  11787. $ref: '#/definitions/models.ErmcpTaAccountEx'
  11788. type: array
  11789. "500":
  11790. description: Internal Server Error
  11791. schema:
  11792. $ref: '#/definitions/app.Response'
  11793. security:
  11794. - ApiKeyAuth: []
  11795. summary: 查询账户管理期货账号(账户管理/期货账号)
  11796. tags:
  11797. - 企业风险管理(app)
  11798. /Ermcp/QueryAreaStock:
  11799. get:
  11800. parameters:
  11801. - description: 用户ID
  11802. in: query
  11803. name: userid
  11804. required: true
  11805. type: integer
  11806. produces:
  11807. - application/json
  11808. responses:
  11809. "200":
  11810. description: OK
  11811. schema:
  11812. items:
  11813. $ref: '#/definitions/models.ErmcpAreaStock'
  11814. type: array
  11815. "500":
  11816. description: Internal Server Error
  11817. schema:
  11818. $ref: '#/definitions/app.Response'
  11819. security:
  11820. - ApiKeyAuth: []
  11821. summary: 查询机构库存(库存管理/当前库存)
  11822. tags:
  11823. - 企业风险管理(app)
  11824. /Ermcp/QueryAreaStockApply:
  11825. get:
  11826. parameters:
  11827. - description: 用户ID
  11828. in: query
  11829. name: userid
  11830. required: true
  11831. type: integer
  11832. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  11833. in: query
  11834. name: inouttype
  11835. type: string
  11836. - description: 合同ID
  11837. in: query
  11838. name: spotcontractid
  11839. type: integer
  11840. - description: 现货商品ID
  11841. in: query
  11842. name: wrstandardid
  11843. type: integer
  11844. - description: 品牌ID
  11845. in: query
  11846. name: spotgoodsbrandid
  11847. type: integer
  11848. - description: 型号ID
  11849. in: query
  11850. name: spotgoodsmodelid
  11851. type: integer
  11852. - description: 仓库ID
  11853. in: query
  11854. name: warehouseinfoid
  11855. type: integer
  11856. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11857. in: query
  11858. name: applystatus
  11859. type: string
  11860. produces:
  11861. - application/json
  11862. responses:
  11863. "200":
  11864. description: OK
  11865. schema:
  11866. items:
  11867. $ref: '#/definitions/ermcp.QryAreaStockApplyRsp'
  11868. type: array
  11869. "500":
  11870. description: Internal Server Error
  11871. schema:
  11872. $ref: '#/definitions/app.Response'
  11873. security:
  11874. - ApiKeyAuth: []
  11875. summary: 查询库存申请(出入库记录|库存审核)
  11876. tags:
  11877. - 企业风险管理(app)
  11878. /Ermcp/QueryAreaStockApplySum:
  11879. get:
  11880. parameters:
  11881. - description: 合同ID
  11882. in: query
  11883. name: spotcontractid
  11884. type: integer
  11885. produces:
  11886. - application/json
  11887. responses:
  11888. "200":
  11889. description: OK
  11890. schema:
  11891. items:
  11892. $ref: '#/definitions/ermcp.QueryAreaStockApplySumRsp'
  11893. type: array
  11894. "500":
  11895. description: Internal Server Error
  11896. schema:
  11897. $ref: '#/definitions/app.Response'
  11898. security:
  11899. - ApiKeyAuth: []
  11900. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  11901. tags:
  11902. - 企业风险管理(app)
  11903. /Ermcp/QueryAreaStockReport:
  11904. get:
  11905. parameters:
  11906. - description: 用户ID
  11907. in: query
  11908. name: userid
  11909. required: true
  11910. type: integer
  11911. - description: 查询类型 1-日报表 2-月报表
  11912. in: query
  11913. name: querytype
  11914. required: true
  11915. type: integer
  11916. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  11917. in: query
  11918. name: querydate
  11919. required: true
  11920. type: string
  11921. - description: 现货商品ID
  11922. in: query
  11923. name: wrstandardid
  11924. type: integer
  11925. - description: 品牌ID
  11926. in: query
  11927. name: spotgoodsbrandid
  11928. type: integer
  11929. - description: 型号ID
  11930. in: query
  11931. name: spotgoodsmodelid
  11932. type: integer
  11933. - description: 仓库ID
  11934. in: query
  11935. name: warehouseinfoid
  11936. type: integer
  11937. produces:
  11938. - application/json
  11939. responses:
  11940. "200":
  11941. description: OK
  11942. schema:
  11943. items:
  11944. $ref: '#/definitions/models.ErmcpAreaStockReport'
  11945. type: array
  11946. "500":
  11947. description: Internal Server Error
  11948. schema:
  11949. $ref: '#/definitions/app.Response'
  11950. security:
  11951. - ApiKeyAuth: []
  11952. summary: 查询库存报表
  11953. tags:
  11954. - 企业风险管理(app)
  11955. /Ermcp/QueryAreaStockReportDetail:
  11956. get:
  11957. parameters:
  11958. - description: 用户ID
  11959. in: query
  11960. name: userid
  11961. required: true
  11962. type: integer
  11963. - description: 查询类型 1-日报表明细 2-月报表明细
  11964. in: query
  11965. name: querytype
  11966. required: true
  11967. type: integer
  11968. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  11969. in: query
  11970. name: detailtype
  11971. required: true
  11972. type: integer
  11973. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  11974. in: query
  11975. name: querydate
  11976. required: true
  11977. type: string
  11978. - description: 现货商品ID
  11979. in: query
  11980. name: wrstandardid
  11981. type: integer
  11982. - description: 品牌ID
  11983. in: query
  11984. name: spotgoodsbrandid
  11985. type: integer
  11986. - description: 型号ID
  11987. in: query
  11988. name: spotgoodsmodelid
  11989. type: integer
  11990. - description: 仓库ID
  11991. in: query
  11992. name: warehouseinfoid
  11993. type: integer
  11994. produces:
  11995. - application/json
  11996. responses:
  11997. "200":
  11998. description: OK
  11999. schema:
  12000. items:
  12001. $ref: '#/definitions/models.ErmcpAreaStockApply'
  12002. type: array
  12003. "500":
  12004. description: Internal Server Error
  12005. schema:
  12006. $ref: '#/definitions/app.Response'
  12007. security:
  12008. - ApiKeyAuth: []
  12009. summary: 查询库存报表明细
  12010. tags:
  12011. - 企业风险管理(app)
  12012. /Ermcp/QueryAvaildGoodsGroup:
  12013. get:
  12014. parameters:
  12015. - description: 所属机构ID
  12016. in: query
  12017. name: userid
  12018. required: true
  12019. type: integer
  12020. produces:
  12021. - application/json
  12022. responses:
  12023. "200":
  12024. description: OK
  12025. schema:
  12026. items:
  12027. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  12028. type: array
  12029. "500":
  12030. description: Internal Server Error
  12031. schema:
  12032. $ref: '#/definitions/app.Response'
  12033. security:
  12034. - ApiKeyAuth: []
  12035. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  12036. tags:
  12037. - 企业风险管理(app)
  12038. /Ermcp/QueryBusinessDj:
  12039. get:
  12040. parameters:
  12041. - description: 用户ID
  12042. in: query
  12043. name: UserId
  12044. required: true
  12045. type: integer
  12046. - description: 现货合同ID, 不填则查所有
  12047. in: query
  12048. name: relatedid
  12049. type: string
  12050. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12051. in: query
  12052. name: applystatus
  12053. type: string
  12054. produces:
  12055. - application/json
  12056. responses:
  12057. "200":
  12058. description: OK
  12059. schema:
  12060. items:
  12061. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  12062. type: array
  12063. "500":
  12064. description: Internal Server Error
  12065. schema:
  12066. $ref: '#/definitions/app.Response'
  12067. security:
  12068. - ApiKeyAuth: []
  12069. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  12070. tags:
  12071. - 企业风险管理(app)
  12072. /Ermcp/QueryBusinessFp:
  12073. get:
  12074. parameters:
  12075. - description: 用户ID
  12076. in: query
  12077. name: UserId
  12078. required: true
  12079. type: integer
  12080. - description: 现货合同ID, 不填则查所有
  12081. in: query
  12082. name: relatedid
  12083. type: string
  12084. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12085. in: query
  12086. name: applystatus
  12087. type: string
  12088. produces:
  12089. - application/json
  12090. responses:
  12091. "200":
  12092. description: OK
  12093. schema:
  12094. items:
  12095. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  12096. type: array
  12097. "500":
  12098. description: Internal Server Error
  12099. schema:
  12100. $ref: '#/definitions/app.Response'
  12101. security:
  12102. - ApiKeyAuth: []
  12103. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  12104. tags:
  12105. - 企业风险管理(app)
  12106. /Ermcp/QueryBusinessJs:
  12107. get:
  12108. parameters:
  12109. - description: 用户ID
  12110. in: query
  12111. name: UserId
  12112. required: true
  12113. type: integer
  12114. - description: 现货合同ID, 不填则查所有
  12115. in: query
  12116. name: relatedid
  12117. type: string
  12118. - description: 操作申请id
  12119. in: query
  12120. name: operateapplyid
  12121. type: string
  12122. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12123. in: query
  12124. name: applystatus
  12125. type: string
  12126. produces:
  12127. - application/json
  12128. responses:
  12129. "200":
  12130. description: OK
  12131. schema:
  12132. items:
  12133. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  12134. type: array
  12135. "500":
  12136. description: Internal Server Error
  12137. schema:
  12138. $ref: '#/definitions/app.Response'
  12139. security:
  12140. - ApiKeyAuth: []
  12141. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  12142. tags:
  12143. - 企业风险管理(app)
  12144. /Ermcp/QueryBusinessJsEx:
  12145. get:
  12146. parameters:
  12147. - description: 用户ID
  12148. in: query
  12149. name: UserId
  12150. required: true
  12151. type: integer
  12152. - description: 现货合同ID, 不填则查所有
  12153. in: query
  12154. name: relatedid
  12155. type: string
  12156. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12157. in: query
  12158. name: applystatus
  12159. type: string
  12160. produces:
  12161. - application/json
  12162. responses:
  12163. "200":
  12164. description: OK
  12165. schema:
  12166. items:
  12167. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  12168. type: array
  12169. "500":
  12170. description: Internal Server Error
  12171. schema:
  12172. $ref: '#/definitions/app.Response'
  12173. security:
  12174. - ApiKeyAuth: []
  12175. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  12176. tags:
  12177. - 企业风险管理(app)
  12178. /Ermcp/QueryBusinessKx:
  12179. get:
  12180. parameters:
  12181. - description: 用户ID
  12182. in: query
  12183. name: UserId
  12184. required: true
  12185. type: integer
  12186. - description: 现货合同ID, 不填则查所有
  12187. in: query
  12188. name: relatedid
  12189. type: string
  12190. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12191. in: query
  12192. name: applystatus
  12193. type: string
  12194. produces:
  12195. - application/json
  12196. responses:
  12197. "200":
  12198. description: OK
  12199. schema:
  12200. items:
  12201. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  12202. type: array
  12203. "500":
  12204. description: Internal Server Error
  12205. schema:
  12206. $ref: '#/definitions/app.Response'
  12207. security:
  12208. - ApiKeyAuth: []
  12209. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  12210. tags:
  12211. - 企业风险管理(app)
  12212. /Ermcp/QueryChangeLog:
  12213. get:
  12214. parameters:
  12215. - description: 合同ID
  12216. in: query
  12217. name: RelatedId
  12218. required: true
  12219. type: string
  12220. produces:
  12221. - application/json
  12222. responses:
  12223. "200":
  12224. description: OK
  12225. schema:
  12226. items:
  12227. $ref: '#/definitions/ermcp.QryOPLogRsp'
  12228. type: array
  12229. "500":
  12230. description: Internal Server Error
  12231. schema:
  12232. $ref: '#/definitions/app.Response'
  12233. security:
  12234. - ApiKeyAuth: []
  12235. summary: 查询变更记录
  12236. tags:
  12237. - 企业风险管理(app)
  12238. /Ermcp/QueryContract:
  12239. get:
  12240. parameters:
  12241. - description: 用户ID
  12242. in: query
  12243. name: userId
  12244. required: true
  12245. type: integer
  12246. - description: 合同类型 1-采购, -1-销售
  12247. in: query
  12248. name: contracttype
  12249. required: true
  12250. type: integer
  12251. - description: 查询类型 1-全部 2-待点价 3-履约结算
  12252. in: query
  12253. name: querytype
  12254. required: true
  12255. type: integer
  12256. - description: 合同ID(SpotContractId)
  12257. in: query
  12258. name: contractid
  12259. type: string
  12260. produces:
  12261. - application/json
  12262. responses:
  12263. "200":
  12264. description: OK
  12265. schema:
  12266. items:
  12267. $ref: '#/definitions/ermcp.QryErmcpRsp'
  12268. type: array
  12269. "500":
  12270. description: Internal Server Error
  12271. schema:
  12272. $ref: '#/definitions/app.Response'
  12273. security:
  12274. - ApiKeyAuth: []
  12275. summary: 查询合同(采购和销售)
  12276. tags:
  12277. - 企业风险管理(app)
  12278. /Ermcp/QueryErmcpHisOrderDetails:
  12279. get:
  12280. parameters:
  12281. - description: 资金账户ID
  12282. in: query
  12283. name: accountID
  12284. required: true
  12285. type: integer
  12286. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12287. in: query
  12288. name: startDate
  12289. type: string
  12290. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12291. in: query
  12292. name: endDate
  12293. type: string
  12294. produces:
  12295. - application/json
  12296. responses:
  12297. "200":
  12298. description: OK
  12299. schema:
  12300. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  12301. "500":
  12302. description: Internal Server Error
  12303. schema:
  12304. $ref: '#/definitions/app.Response'
  12305. security:
  12306. - ApiKeyAuth: []
  12307. summary: 获取企业风管期货历史委托单信息
  12308. tags:
  12309. - 企业风险管理(app)
  12310. /Ermcp/QueryErmcpHisTradeDetails:
  12311. get:
  12312. parameters:
  12313. - description: 资金账户ID
  12314. in: query
  12315. name: accountID
  12316. required: true
  12317. type: integer
  12318. - description: 商品ID
  12319. in: query
  12320. name: goodsID
  12321. type: integer
  12322. - description: 买卖方向,0:买 1:卖
  12323. in: query
  12324. name: buyOrSell
  12325. type: integer
  12326. - description: 关联委托单号
  12327. in: query
  12328. name: orderID
  12329. type: integer
  12330. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12331. in: query
  12332. name: startDate
  12333. type: string
  12334. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12335. in: query
  12336. name: endDate
  12337. type: string
  12338. produces:
  12339. - application/json
  12340. responses:
  12341. "200":
  12342. description: OK
  12343. schema:
  12344. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  12345. "500":
  12346. description: Internal Server Error
  12347. schema:
  12348. $ref: '#/definitions/app.Response'
  12349. security:
  12350. - ApiKeyAuth: []
  12351. summary: 获取企业风管期货历史成交单信息
  12352. tags:
  12353. - 企业风险管理(app)
  12354. /Ermcp/QueryErmcpInnerHolderDetails:
  12355. get:
  12356. parameters:
  12357. - description: 资金账户ID
  12358. in: query
  12359. name: accountID
  12360. required: true
  12361. type: integer
  12362. - description: 商品ID
  12363. in: query
  12364. name: goodsID
  12365. type: integer
  12366. - description: 买卖方向,0:买 1:卖
  12367. in: query
  12368. name: buyOrSell
  12369. type: integer
  12370. produces:
  12371. - application/json
  12372. responses:
  12373. "200":
  12374. description: OK
  12375. schema:
  12376. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  12377. "500":
  12378. description: Internal Server Error
  12379. schema:
  12380. $ref: '#/definitions/app.Response'
  12381. security:
  12382. - ApiKeyAuth: []
  12383. summary: 获取企业风管期货内部持仓单信息
  12384. tags:
  12385. - 企业风险管理(app)
  12386. /Ermcp/QueryErmcpOrderDetails:
  12387. get:
  12388. parameters:
  12389. - description: 资金账户ID
  12390. in: query
  12391. name: accountID
  12392. required: true
  12393. type: integer
  12394. produces:
  12395. - application/json
  12396. responses:
  12397. "200":
  12398. description: OK
  12399. schema:
  12400. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  12401. "500":
  12402. description: Internal Server Error
  12403. schema:
  12404. $ref: '#/definitions/app.Response'
  12405. security:
  12406. - ApiKeyAuth: []
  12407. summary: 获取企业风管期货委托单信息
  12408. tags:
  12409. - 企业风险管理(app)
  12410. /Ermcp/QueryErmcpTradeDetails:
  12411. get:
  12412. parameters:
  12413. - description: 资金账户ID
  12414. in: query
  12415. name: accountID
  12416. required: true
  12417. type: integer
  12418. - description: 商品ID
  12419. in: query
  12420. name: goodsID
  12421. type: integer
  12422. - description: 买卖方向,0:买 1:卖
  12423. in: query
  12424. name: buyOrSell
  12425. type: integer
  12426. - description: 关联委托单号
  12427. in: query
  12428. name: orderID
  12429. type: integer
  12430. produces:
  12431. - application/json
  12432. responses:
  12433. "200":
  12434. description: OK
  12435. schema:
  12436. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  12437. "500":
  12438. description: Internal Server Error
  12439. schema:
  12440. $ref: '#/definitions/app.Response'
  12441. security:
  12442. - ApiKeyAuth: []
  12443. summary: 获取企业风管期货成交单信息
  12444. tags:
  12445. - 企业风险管理(app)
  12446. /Ermcp/QueryErmcpTradePosition:
  12447. get:
  12448. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  12449. parameters:
  12450. - description: 资金账户ID
  12451. in: query
  12452. name: accountID
  12453. required: true
  12454. type: integer
  12455. - description: 所属市场ID
  12456. in: query
  12457. name: marketID
  12458. type: integer
  12459. produces:
  12460. - application/json
  12461. responses:
  12462. "200":
  12463. description: OK
  12464. schema:
  12465. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  12466. "500":
  12467. description: Internal Server Error
  12468. schema:
  12469. $ref: '#/definitions/app.Response'
  12470. security:
  12471. - ApiKeyAuth: []
  12472. summary: 获取企业风管期货持仓头寸信息
  12473. tags:
  12474. - 企业风险管理(app)
  12475. /Ermcp/QueryExposureDetail:
  12476. get:
  12477. parameters:
  12478. - description: 所属机构ID
  12479. in: query
  12480. name: areaUserId
  12481. required: true
  12482. type: integer
  12483. - description: 套保商品
  12484. in: query
  12485. name: middleGoodsId
  12486. required: true
  12487. type: integer
  12488. produces:
  12489. - application/json
  12490. responses:
  12491. "200":
  12492. description: OK
  12493. schema:
  12494. items:
  12495. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  12496. type: array
  12497. "500":
  12498. description: Internal Server Error
  12499. schema:
  12500. $ref: '#/definitions/app.Response'
  12501. security:
  12502. - ApiKeyAuth: []
  12503. summary: 查询敞口现货明细
  12504. tags:
  12505. - 企业风险管理(app)
  12506. /Ermcp/QueryExposureHedgePosition:
  12507. get:
  12508. parameters:
  12509. - description: 所属机构ID
  12510. in: query
  12511. name: areaUserId
  12512. required: true
  12513. type: integer
  12514. produces:
  12515. - application/json
  12516. responses:
  12517. "200":
  12518. description: OK
  12519. schema:
  12520. items:
  12521. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  12522. type: array
  12523. "500":
  12524. description: Internal Server Error
  12525. schema:
  12526. $ref: '#/definitions/app.Response'
  12527. security:
  12528. - ApiKeyAuth: []
  12529. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  12530. tags:
  12531. - 企业风险管理(app)
  12532. /Ermcp/QueryExposureHedgePositionDetail:
  12533. get:
  12534. parameters:
  12535. - description: 所属机构ID
  12536. in: query
  12537. name: areaUserId
  12538. required: true
  12539. type: integer
  12540. - description: 商品id
  12541. in: query
  12542. name: goodsId
  12543. required: true
  12544. type: integer
  12545. produces:
  12546. - application/json
  12547. responses:
  12548. "200":
  12549. description: OK
  12550. schema:
  12551. items:
  12552. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  12553. type: array
  12554. "500":
  12555. description: Internal Server Error
  12556. schema:
  12557. $ref: '#/definitions/app.Response'
  12558. security:
  12559. - ApiKeyAuth: []
  12560. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  12561. tags:
  12562. - 企业风险管理(app)
  12563. /Ermcp/QueryExposureSpot:
  12564. get:
  12565. parameters:
  12566. - description: 所属机构ID
  12567. in: query
  12568. name: areaUserId
  12569. required: true
  12570. type: integer
  12571. produces:
  12572. - application/json
  12573. responses:
  12574. "200":
  12575. description: OK
  12576. schema:
  12577. items:
  12578. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  12579. type: array
  12580. "500":
  12581. description: Internal Server Error
  12582. schema:
  12583. $ref: '#/definitions/app.Response'
  12584. security:
  12585. - ApiKeyAuth: []
  12586. summary: 查询敞口现货头寸(敞口/现货头寸)
  12587. tags:
  12588. - 企业风险管理(app)
  12589. /Ermcp/QueryExposureSpotDetail:
  12590. get:
  12591. parameters:
  12592. - description: 所属机构ID
  12593. in: query
  12594. name: areaUserId
  12595. required: true
  12596. type: integer
  12597. - description: 现货品种ID
  12598. in: query
  12599. name: wrstandardId
  12600. required: true
  12601. type: integer
  12602. produces:
  12603. - application/json
  12604. responses:
  12605. "200":
  12606. description: OK
  12607. schema:
  12608. items:
  12609. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  12610. type: array
  12611. "500":
  12612. description: Internal Server Error
  12613. schema:
  12614. $ref: '#/definitions/app.Response'
  12615. security:
  12616. - ApiKeyAuth: []
  12617. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  12618. tags:
  12619. - 企业风险管理(app)
  12620. /Ermcp/QueryFuturesCompany:
  12621. get:
  12622. produces:
  12623. - application/json
  12624. responses:
  12625. "200":
  12626. description: OK
  12627. schema:
  12628. items:
  12629. $ref: '#/definitions/models.ErmcpFuturesCompany'
  12630. type: array
  12631. "500":
  12632. description: Internal Server Error
  12633. schema:
  12634. $ref: '#/definitions/app.Response'
  12635. security:
  12636. - ApiKeyAuth: []
  12637. summary: 查询期货公司
  12638. tags:
  12639. - 企业风险管理(app)
  12640. /Ermcp/QueryGGConvertConfig:
  12641. get:
  12642. parameters:
  12643. - description: 品种id(不填则查所有)
  12644. in: query
  12645. name: goodsgroupid
  12646. type: integer
  12647. produces:
  12648. - application/json
  12649. responses:
  12650. "200":
  12651. description: OK
  12652. schema:
  12653. items:
  12654. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  12655. type: array
  12656. "500":
  12657. description: Internal Server Error
  12658. schema:
  12659. $ref: '#/definitions/app.Response'
  12660. security:
  12661. - ApiKeyAuth: []
  12662. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  12663. tags:
  12664. - 企业风险管理(app)
  12665. /Ermcp/QueryGoodsBrand:
  12666. get:
  12667. parameters:
  12668. - description: 用户ID
  12669. in: query
  12670. name: userid
  12671. required: true
  12672. type: integer
  12673. - description: 现货商品ID
  12674. in: query
  12675. name: wrstandardid
  12676. type: integer
  12677. produces:
  12678. - application/json
  12679. responses:
  12680. "200":
  12681. description: OK
  12682. schema:
  12683. items:
  12684. $ref: '#/definitions/models.ErmcpGoodsBrand'
  12685. type: array
  12686. "500":
  12687. description: Internal Server Error
  12688. schema:
  12689. $ref: '#/definitions/app.Response'
  12690. security:
  12691. - ApiKeyAuth: []
  12692. summary: 查询商品品牌
  12693. tags:
  12694. - 企业风险管理(app)
  12695. /Ermcp/QueryGoodsModel:
  12696. get:
  12697. parameters:
  12698. - description: 用户ID
  12699. in: query
  12700. name: userid
  12701. required: true
  12702. type: integer
  12703. produces:
  12704. - application/json
  12705. responses:
  12706. "200":
  12707. description: OK
  12708. schema:
  12709. items:
  12710. $ref: '#/definitions/models.ErmcpGoodsModel'
  12711. type: array
  12712. "500":
  12713. description: Internal Server Error
  12714. schema:
  12715. $ref: '#/definitions/app.Response'
  12716. security:
  12717. - ApiKeyAuth: []
  12718. summary: 查询商品型号
  12719. tags:
  12720. - 企业风险管理(app)
  12721. /Ermcp/QueryHedgePlan:
  12722. get:
  12723. parameters:
  12724. - description: 用户ID
  12725. in: query
  12726. name: userId
  12727. required: true
  12728. type: integer
  12729. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  12730. in: query
  12731. name: HedgePlanStatus
  12732. required: true
  12733. type: string
  12734. produces:
  12735. - application/json
  12736. responses:
  12737. "200":
  12738. description: OK
  12739. schema:
  12740. items:
  12741. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  12742. type: array
  12743. "500":
  12744. description: Internal Server Error
  12745. schema:
  12746. $ref: '#/definitions/app.Response'
  12747. security:
  12748. - ApiKeyAuth: []
  12749. summary: 查询套保计划
  12750. tags:
  12751. - 企业风险管理(app)
  12752. /Ermcp/QueryHisExposure:
  12753. get:
  12754. parameters:
  12755. - description: 所属机构ID
  12756. in: query
  12757. name: areaUserId
  12758. required: true
  12759. type: integer
  12760. - description: 每个品种记录数
  12761. in: query
  12762. name: lastNum
  12763. required: true
  12764. type: integer
  12765. produces:
  12766. - application/json
  12767. responses:
  12768. "200":
  12769. description: OK
  12770. schema:
  12771. items:
  12772. $ref: '#/definitions/ermcp.HisExposureRsp'
  12773. type: array
  12774. "500":
  12775. description: Internal Server Error
  12776. schema:
  12777. $ref: '#/definitions/app.Response'
  12778. security:
  12779. - ApiKeyAuth: []
  12780. summary: 查询历史敞口(菜单:敞口/历史敞口)
  12781. tags:
  12782. - 企业风险管理(app)
  12783. /Ermcp/QueryMiddleGoods:
  12784. get:
  12785. parameters:
  12786. - description: 所属机构ID
  12787. in: query
  12788. name: userid
  12789. required: true
  12790. type: integer
  12791. - description: 状态 0-停用 1-正常
  12792. in: query
  12793. name: status
  12794. required: true
  12795. type: integer
  12796. produces:
  12797. - application/json
  12798. responses:
  12799. "200":
  12800. description: OK
  12801. schema:
  12802. items:
  12803. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  12804. type: array
  12805. "500":
  12806. description: Internal Server Error
  12807. schema:
  12808. $ref: '#/definitions/app.Response'
  12809. security:
  12810. - ApiKeyAuth: []
  12811. summary: 查询套保品种(菜单:套保品种)
  12812. tags:
  12813. - 企业风险管理(app)
  12814. /Ermcp/QueryMiddleGoodsChangeLog:
  12815. get:
  12816. parameters:
  12817. - description: 所属机构ID
  12818. in: query
  12819. name: userid
  12820. required: true
  12821. type: integer
  12822. - description: 套保品种id
  12823. in: query
  12824. name: middlegoodsid
  12825. required: true
  12826. type: integer
  12827. produces:
  12828. - application/json
  12829. responses:
  12830. "200":
  12831. description: OK
  12832. schema:
  12833. items:
  12834. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  12835. type: array
  12836. "500":
  12837. description: Internal Server Error
  12838. schema:
  12839. $ref: '#/definitions/app.Response'
  12840. security:
  12841. - ApiKeyAuth: []
  12842. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  12843. tags:
  12844. - 企业风险管理(app)
  12845. /Ermcp/QueryMiddleGoodsDetail:
  12846. get:
  12847. parameters:
  12848. - description: 所属机构ID
  12849. in: query
  12850. name: userid
  12851. required: true
  12852. type: integer
  12853. - description: 套保品种id
  12854. in: query
  12855. name: middlegoodsid
  12856. type: integer
  12857. produces:
  12858. - application/json
  12859. responses:
  12860. "200":
  12861. description: OK
  12862. schema:
  12863. items:
  12864. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  12865. type: array
  12866. "500":
  12867. description: Internal Server Error
  12868. schema:
  12869. $ref: '#/definitions/app.Response'
  12870. security:
  12871. - ApiKeyAuth: []
  12872. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  12873. tags:
  12874. - 企业风险管理(app)
  12875. /Ermcp/QueryPendingAuditInfo:
  12876. get:
  12877. parameters:
  12878. - description: 用户ID
  12879. in: query
  12880. name: UserId
  12881. required: true
  12882. type: integer
  12883. produces:
  12884. - application/json
  12885. responses:
  12886. "200":
  12887. description: OK
  12888. schema:
  12889. items:
  12890. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  12891. type: array
  12892. "500":
  12893. description: Internal Server Error
  12894. schema:
  12895. $ref: '#/definitions/app.Response'
  12896. security:
  12897. - ApiKeyAuth: []
  12898. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  12899. tags:
  12900. - 企业风险管理(app)
  12901. /Ermcp/QueryRealtimeExposure:
  12902. get:
  12903. parameters:
  12904. - description: 所属机构ID
  12905. in: query
  12906. name: AreaUserID
  12907. required: true
  12908. type: integer
  12909. produces:
  12910. - application/json
  12911. responses:
  12912. "200":
  12913. description: OK
  12914. schema:
  12915. items:
  12916. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  12917. type: array
  12918. "500":
  12919. description: Internal Server Error
  12920. schema:
  12921. $ref: '#/definitions/app.Response'
  12922. security:
  12923. - ApiKeyAuth: []
  12924. summary: 查询实时敞口
  12925. tags:
  12926. - 企业风险管理(app)
  12927. /Ermcp/QueryRealtimeExposurePosition:
  12928. get:
  12929. parameters:
  12930. - description: 所属机构ID
  12931. in: query
  12932. name: areaUserId
  12933. required: true
  12934. type: integer
  12935. - description: 套保商品ID
  12936. in: query
  12937. name: middleGoodsId
  12938. required: true
  12939. type: integer
  12940. produces:
  12941. - application/json
  12942. responses:
  12943. "200":
  12944. description: OK
  12945. schema:
  12946. items:
  12947. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  12948. type: array
  12949. "500":
  12950. description: Internal Server Error
  12951. schema:
  12952. $ref: '#/definitions/app.Response'
  12953. security:
  12954. - ApiKeyAuth: []
  12955. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  12956. tags:
  12957. - 企业风险管理(app)
  12958. /Ermcp/QuerySpotContract:
  12959. get:
  12960. parameters:
  12961. - description: 用户ID
  12962. in: query
  12963. name: userId
  12964. required: true
  12965. type: integer
  12966. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  12967. in: query
  12968. name: QueryType
  12969. required: true
  12970. type: integer
  12971. produces:
  12972. - application/json
  12973. responses:
  12974. "200":
  12975. description: OK
  12976. schema:
  12977. items:
  12978. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  12979. type: array
  12980. "500":
  12981. description: Internal Server Error
  12982. schema:
  12983. $ref: '#/definitions/app.Response'
  12984. security:
  12985. - ApiKeyAuth: []
  12986. summary: 查询现货合同(对应现货合同菜单)
  12987. tags:
  12988. - 企业风险管理(app)
  12989. /Ermcp/QuerySpotGoodsPrice:
  12990. get:
  12991. parameters:
  12992. - description: 用户ID
  12993. in: query
  12994. name: userid
  12995. required: true
  12996. type: integer
  12997. produces:
  12998. - application/json
  12999. responses:
  13000. "200":
  13001. description: OK
  13002. schema:
  13003. items:
  13004. $ref: '#/definitions/models.ErmcpSpotGoodsPrice'
  13005. type: array
  13006. "500":
  13007. description: Internal Server Error
  13008. schema:
  13009. $ref: '#/definitions/app.Response'
  13010. security:
  13011. - ApiKeyAuth: []
  13012. summary: 查询现货市价(现货市价)
  13013. tags:
  13014. - 企业风险管理(app)
  13015. /Ermcp/QuerySpotGoodsPriceLog:
  13016. get:
  13017. parameters:
  13018. - description: 用户ID
  13019. in: query
  13020. name: userid
  13021. required: true
  13022. type: integer
  13023. - description: 现货商品ID
  13024. in: query
  13025. name: wrstandardid
  13026. required: true
  13027. type: integer
  13028. produces:
  13029. - application/json
  13030. responses:
  13031. "200":
  13032. description: OK
  13033. schema:
  13034. items:
  13035. $ref: '#/definitions/models.ErmcpSpotGoodsPriceLog'
  13036. type: array
  13037. "500":
  13038. description: Internal Server Error
  13039. schema:
  13040. $ref: '#/definitions/app.Response'
  13041. security:
  13042. - ApiKeyAuth: []
  13043. summary: 查询现货市价详情(现货市价/详情)
  13044. tags:
  13045. - 企业风险管理(app)
  13046. /Ermcp/QueryTradeConfigTMP:
  13047. get:
  13048. parameters:
  13049. - description: 所属机构id
  13050. in: query
  13051. name: areauserid
  13052. required: true
  13053. type: integer
  13054. produces:
  13055. - application/json
  13056. responses:
  13057. "200":
  13058. description: OK
  13059. schema:
  13060. items:
  13061. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  13062. type: array
  13063. "500":
  13064. description: Internal Server Error
  13065. schema:
  13066. $ref: '#/definitions/app.Response'
  13067. security:
  13068. - ApiKeyAuth: []
  13069. summary: 查询交易模板配置
  13070. tags:
  13071. - 企业风险管理(app)
  13072. /Ermcp/QueryUserInfo:
  13073. get:
  13074. parameters:
  13075. - description: 所属机构用户ID
  13076. in: query
  13077. name: MemberUserID
  13078. required: true
  13079. type: integer
  13080. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  13081. in: query
  13082. name: queryType
  13083. required: true
  13084. type: integer
  13085. produces:
  13086. - application/json
  13087. responses:
  13088. "200":
  13089. description: OK
  13090. schema:
  13091. items:
  13092. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  13093. type: array
  13094. "500":
  13095. description: Internal Server Error
  13096. schema:
  13097. $ref: '#/definitions/app.Response'
  13098. security:
  13099. - ApiKeyAuth: []
  13100. summary: 查询客户资料
  13101. tags:
  13102. - 企业风险管理(app)
  13103. /Ermcp/QueryWarehouseInfo:
  13104. get:
  13105. parameters:
  13106. - description: 用户ID
  13107. in: query
  13108. name: userid
  13109. required: true
  13110. type: integer
  13111. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  13112. in: query
  13113. name: status
  13114. type: string
  13115. produces:
  13116. - application/json
  13117. responses:
  13118. "200":
  13119. description: OK
  13120. schema:
  13121. items:
  13122. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  13123. type: array
  13124. "500":
  13125. description: Internal Server Error
  13126. schema:
  13127. $ref: '#/definitions/app.Response'
  13128. security:
  13129. - ApiKeyAuth: []
  13130. summary: 查询仓库信息
  13131. tags:
  13132. - 企业风险管理(app)
  13133. /Ermcp/QueryWrStandard:
  13134. get:
  13135. parameters:
  13136. - description: 所属机构ID
  13137. in: query
  13138. name: userid
  13139. required: true
  13140. type: integer
  13141. - description: 状态 0-停用 1-正常
  13142. in: query
  13143. name: status
  13144. required: true
  13145. type: integer
  13146. produces:
  13147. - application/json
  13148. responses:
  13149. "200":
  13150. description: OK
  13151. schema:
  13152. items:
  13153. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  13154. type: array
  13155. "500":
  13156. description: Internal Server Error
  13157. schema:
  13158. $ref: '#/definitions/app.Response'
  13159. security:
  13160. - ApiKeyAuth: []
  13161. summary: 查询现货商品
  13162. tags:
  13163. - 企业风险管理(app)
  13164. /Ermcp/QueryWrStandardDetail:
  13165. get:
  13166. parameters:
  13167. - description: 所属机构ID
  13168. in: query
  13169. name: userid
  13170. required: true
  13171. type: integer
  13172. - description: 现货商品ID
  13173. in: query
  13174. name: wrstandardid
  13175. type: integer
  13176. - description: 可不填, 1-查询关联交易商品
  13177. in: query
  13178. name: goods
  13179. type: integer
  13180. produces:
  13181. - application/json
  13182. responses:
  13183. "200":
  13184. description: OK
  13185. schema:
  13186. items:
  13187. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  13188. type: array
  13189. "500":
  13190. description: Internal Server Error
  13191. schema:
  13192. $ref: '#/definitions/app.Response'
  13193. security:
  13194. - ApiKeyAuth: []
  13195. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  13196. tags:
  13197. - 企业风险管理(app)
  13198. /Ermcp3/QueryDeliveryGoods:
  13199. get:
  13200. parameters:
  13201. - description: 所属机构id
  13202. in: query
  13203. name: areauserid
  13204. required: true
  13205. type: integer
  13206. - description: 排除已配置的现货商品 1-排除
  13207. in: query
  13208. name: excludecfg
  13209. type: integer
  13210. produces:
  13211. - application/json
  13212. responses:
  13213. "200":
  13214. description: OK
  13215. schema:
  13216. items:
  13217. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  13218. type: array
  13219. "500":
  13220. description: Internal Server Error
  13221. schema:
  13222. $ref: '#/definitions/app.Response'
  13223. security:
  13224. - ApiKeyAuth: []
  13225. summary: 查询现货商品
  13226. tags:
  13227. - 企业风险管理v3(app)
  13228. /Ermcp3/QueryDeliveryGoodsDetail:
  13229. get:
  13230. parameters:
  13231. - description: 所属机构id
  13232. in: query
  13233. name: areauserid
  13234. required: true
  13235. type: integer
  13236. - description: 现货商品id
  13237. in: query
  13238. name: deliverygoodsid
  13239. type: integer
  13240. - description: 是否查询关联交易商品 1-查询
  13241. in: query
  13242. name: qrytradegoods
  13243. type: integer
  13244. produces:
  13245. - application/json
  13246. responses:
  13247. "200":
  13248. description: OK
  13249. schema:
  13250. items:
  13251. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail'
  13252. type: array
  13253. "500":
  13254. description: Internal Server Error
  13255. schema:
  13256. $ref: '#/definitions/app.Response'
  13257. security:
  13258. - ApiKeyAuth: []
  13259. summary: 查询现货商品详情
  13260. tags:
  13261. - 企业风险管理v3(app)
  13262. /Erms2/QueryArbitrageStrategy:
  13263. get:
  13264. parameters:
  13265. - description: 账户ID
  13266. in: query
  13267. name: userid
  13268. required: true
  13269. type: integer
  13270. - description: 商品组ID(品种ID)
  13271. in: query
  13272. name: goodsgroupid
  13273. type: string
  13274. produces:
  13275. - application/json
  13276. responses:
  13277. "200":
  13278. description: OK
  13279. schema:
  13280. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  13281. "500":
  13282. description: Internal Server Error
  13283. schema:
  13284. $ref: '#/definitions/app.Response'
  13285. security:
  13286. - ApiKeyAuth: []
  13287. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  13288. tags:
  13289. - 风险管理
  13290. /Erms2/QueryInnerTradeDetail:
  13291. get:
  13292. parameters:
  13293. - description: 资金账户
  13294. in: query
  13295. name: accountid
  13296. required: true
  13297. type: integer
  13298. produces:
  13299. - application/json
  13300. responses:
  13301. "200":
  13302. description: OK
  13303. schema:
  13304. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  13305. "500":
  13306. description: Internal Server Error
  13307. schema:
  13308. $ref: '#/definitions/app.Response'
  13309. security:
  13310. - ApiKeyAuth: []
  13311. summary: 查询内部成交单信息
  13312. tags:
  13313. - 风险管理
  13314. /Erms2/QuerySpotContract:
  13315. get:
  13316. parameters:
  13317. - description: 策略申请ID
  13318. in: query
  13319. name: asapplyid
  13320. required: true
  13321. type: integer
  13322. - description: 现货合同ID
  13323. in: query
  13324. name: spotcontractid
  13325. type: integer
  13326. produces:
  13327. - application/json
  13328. responses:
  13329. "200":
  13330. description: OK
  13331. schema:
  13332. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  13333. "500":
  13334. description: Internal Server Error
  13335. schema:
  13336. $ref: '#/definitions/app.Response'
  13337. security:
  13338. - ApiKeyAuth: []
  13339. summary: 查询现货合同表信息(指定策略ID、未结束的)
  13340. tags:
  13341. - 风险管理
  13342. /Erms3/AddErms2ASApply:
  13343. post:
  13344. parameters:
  13345. - description: 申请参数
  13346. in: body
  13347. name: jsonBody
  13348. required: true
  13349. schema:
  13350. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  13351. produces:
  13352. - application/json
  13353. responses:
  13354. "200":
  13355. description: OK
  13356. schema:
  13357. $ref: '#/definitions/app.Response'
  13358. "500":
  13359. description: Internal Server Error
  13360. schema:
  13361. $ref: '#/definitions/app.Response'
  13362. security:
  13363. - ApiKeyAuth: []
  13364. summary: 新增期现套利业务申请
  13365. tags:
  13366. - 风险管理v3
  13367. /Erms3/AddErms2SpotTradeApply:
  13368. post:
  13369. parameters:
  13370. - description: 申请参数
  13371. in: body
  13372. name: jsonBody
  13373. required: true
  13374. schema:
  13375. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  13376. produces:
  13377. - application/json
  13378. responses:
  13379. "200":
  13380. description: OK
  13381. schema:
  13382. $ref: '#/definitions/app.Response'
  13383. "500":
  13384. description: Internal Server Error
  13385. schema:
  13386. $ref: '#/definitions/app.Response'
  13387. security:
  13388. - ApiKeyAuth: []
  13389. summary: 新增现货贸易业务申请
  13390. tags:
  13391. - 风险管理v3
  13392. /Erms3/AddSpotContractApply:
  13393. post:
  13394. parameters:
  13395. - description: 申请参数
  13396. in: body
  13397. name: jsonBody
  13398. required: true
  13399. schema:
  13400. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  13401. produces:
  13402. - application/json
  13403. responses:
  13404. "200":
  13405. description: OK
  13406. schema:
  13407. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  13408. "500":
  13409. description: Internal Server Error
  13410. schema:
  13411. $ref: '#/definitions/app.Response'
  13412. security:
  13413. - ApiKeyAuth: []
  13414. summary: 新增现货合同申请
  13415. tags:
  13416. - 风险管理v3
  13417. /Erms3/AddUserInfoApply:
  13418. post:
  13419. parameters:
  13420. - description: 用户信息
  13421. in: body
  13422. name: jsonBody
  13423. required: true
  13424. schema:
  13425. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  13426. produces:
  13427. - application/json
  13428. responses:
  13429. "200":
  13430. description: OK
  13431. schema:
  13432. $ref: '#/definitions/app.Response'
  13433. "500":
  13434. description: Internal Server Error
  13435. schema:
  13436. $ref: '#/definitions/app.Response'
  13437. security:
  13438. - ApiKeyAuth: []
  13439. summary: 新增客户申请
  13440. tags:
  13441. - 风险管理v3
  13442. /Erms3/ModifyUserInfoApply:
  13443. post:
  13444. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  13445. int, "userstate": 2 }'
  13446. parameters:
  13447. - description: 用户信息
  13448. in: body
  13449. name: jsonBody
  13450. required: true
  13451. schema:
  13452. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  13453. produces:
  13454. - application/json
  13455. responses:
  13456. "200":
  13457. description: OK
  13458. schema:
  13459. $ref: '#/definitions/app.Response'
  13460. "500":
  13461. description: Internal Server Error
  13462. schema:
  13463. $ref: '#/definitions/app.Response'
  13464. security:
  13465. - ApiKeyAuth: []
  13466. summary: 修改客户申请
  13467. tags:
  13468. - 风险管理v3
  13469. /Erms3/QueryBusinessInfo:
  13470. get:
  13471. parameters:
  13472. - description: 资金账号ID列表,用逗号分隔
  13473. in: query
  13474. name: accountids
  13475. required: true
  13476. type: string
  13477. - description: 状态,0为未结束 1为已结束
  13478. in: query
  13479. name: status
  13480. required: true
  13481. type: integer
  13482. produces:
  13483. - application/json
  13484. responses:
  13485. "200":
  13486. description: OK
  13487. schema:
  13488. items:
  13489. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  13490. type: array
  13491. "500":
  13492. description: Internal Server Error
  13493. schema:
  13494. $ref: '#/definitions/app.Response'
  13495. security:
  13496. - ApiKeyAuth: []
  13497. summary: 查询业务表单数据
  13498. tags:
  13499. - 风险管理v3
  13500. /Erms3/QueryPendingAuditContract:
  13501. get:
  13502. parameters:
  13503. - description: 资金账号ID列表,逗号隔开
  13504. in: query
  13505. name: accountids
  13506. required: true
  13507. type: string
  13508. - description: 合同类型 1-采购 -1-销售
  13509. in: query
  13510. name: contracttype
  13511. required: true
  13512. type: integer
  13513. - description: 合同模式 1-普通 2-回购
  13514. in: query
  13515. name: contractmode
  13516. required: true
  13517. type: integer
  13518. produces:
  13519. - application/json
  13520. responses:
  13521. "200":
  13522. description: OK
  13523. schema:
  13524. items:
  13525. $ref: '#/definitions/erms3.QryAuditContractRsp'
  13526. type: array
  13527. "500":
  13528. description: Internal Server Error
  13529. schema:
  13530. $ref: '#/definitions/app.Response'
  13531. security:
  13532. - ApiKeyAuth: []
  13533. summary: 查询待审核合同
  13534. tags:
  13535. - 风险管理v3
  13536. /Erms3/QueryPendingBusiness:
  13537. get:
  13538. parameters:
  13539. - description: 资金账号ID列表,逗号隔开
  13540. in: query
  13541. name: accountids
  13542. required: true
  13543. type: string
  13544. produces:
  13545. - application/json
  13546. responses:
  13547. "200":
  13548. description: OK
  13549. schema:
  13550. items:
  13551. $ref: '#/definitions/erms3.QryPendingBizRsp'
  13552. type: array
  13553. "500":
  13554. description: Internal Server Error
  13555. schema:
  13556. $ref: '#/definitions/app.Response'
  13557. security:
  13558. - ApiKeyAuth: []
  13559. summary: 查询待审核基差贸易业务
  13560. tags:
  13561. - 风险管理v3
  13562. /Erms3/QuerySpotContractAppleForm:
  13563. get:
  13564. parameters:
  13565. - description: 登录账号
  13566. in: query
  13567. name: loginID
  13568. required: true
  13569. type: integer
  13570. produces:
  13571. - application/json
  13572. responses:
  13573. "200":
  13574. description: OK
  13575. schema:
  13576. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  13577. "500":
  13578. description: Internal Server Error
  13579. schema:
  13580. $ref: '#/definitions/app.Response'
  13581. security:
  13582. - ApiKeyAuth: []
  13583. summary: 查询合同申请表单数据
  13584. tags:
  13585. - 风险管理v3
  13586. /Erms3/QuerySpotContractDetail:
  13587. get:
  13588. parameters:
  13589. - description: 资金账号ID列表,用逗号分隔
  13590. in: query
  13591. name: accountids
  13592. required: true
  13593. type: string
  13594. - description: 合同类型,1为采购合同 -1为销售合同
  13595. in: query
  13596. name: contracttype
  13597. required: true
  13598. type: integer
  13599. - description: 合同模式,1为普通合同 2为回购销售合同
  13600. in: query
  13601. name: contractmode
  13602. required: true
  13603. type: integer
  13604. - description: 状态,0为履约中 1为已完成
  13605. in: query
  13606. name: status
  13607. required: true
  13608. type: integer
  13609. produces:
  13610. - application/json
  13611. responses:
  13612. "200":
  13613. description: OK
  13614. schema:
  13615. items:
  13616. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  13617. type: array
  13618. "500":
  13619. description: Internal Server Error
  13620. schema:
  13621. $ref: '#/definitions/app.Response'
  13622. security:
  13623. - ApiKeyAuth: []
  13624. summary: 查询合同详细信息
  13625. tags:
  13626. - 风险管理v3
  13627. /Erms3/QueryUserInfoApplies:
  13628. get:
  13629. parameters:
  13630. - description: 页码
  13631. in: query
  13632. name: page
  13633. type: integer
  13634. - description: 每页条数
  13635. in: query
  13636. name: pagesize
  13637. type: integer
  13638. - description: 客户名称,支持模糊查询
  13639. in: query
  13640. name: userName
  13641. type: string
  13642. produces:
  13643. - application/json
  13644. responses:
  13645. "200":
  13646. description: OK
  13647. schema:
  13648. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  13649. "500":
  13650. description: Internal Server Error
  13651. schema:
  13652. $ref: '#/definitions/app.Response'
  13653. security:
  13654. - ApiKeyAuth: []
  13655. summary: 客户申请信息查询
  13656. tags:
  13657. - 风险管理v3
  13658. /Erms3/QueryUserInfos:
  13659. get:
  13660. parameters:
  13661. - description: 页码
  13662. in: query
  13663. name: page
  13664. type: integer
  13665. - description: 每页条数
  13666. in: query
  13667. name: pagesize
  13668. type: integer
  13669. - description: 客户名称,支持模糊查询
  13670. in: query
  13671. name: userName
  13672. type: string
  13673. produces:
  13674. - application/json
  13675. responses:
  13676. "200":
  13677. description: OK
  13678. schema:
  13679. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  13680. "500":
  13681. description: Internal Server Error
  13682. schema:
  13683. $ref: '#/definitions/app.Response'
  13684. security:
  13685. - ApiKeyAuth: []
  13686. summary: 客户信息查询
  13687. tags:
  13688. - 风险管理v3
  13689. /HSBY/GetHsbyMyCount:
  13690. get:
  13691. description: 说明: 不包括已完成的数量。
  13692. parameters:
  13693. - description: 资金账户列表,格式:1,2,3
  13694. in: query
  13695. name: accountIDs
  13696. required: true
  13697. type: string
  13698. produces:
  13699. - application/json
  13700. responses:
  13701. "200":
  13702. description: OK
  13703. schema:
  13704. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  13705. "500":
  13706. description: Internal Server Error
  13707. schema:
  13708. $ref: '#/definitions/app.Response'
  13709. security:
  13710. - ApiKeyAuth: []
  13711. summary: 获取我的订单与包裹数量
  13712. tags:
  13713. - 定制【海商报业】
  13714. /HSBY/QueryClientFixedADConfigs:
  13715. get:
  13716. produces:
  13717. - application/json
  13718. responses:
  13719. "200":
  13720. description: OK
  13721. schema:
  13722. $ref: '#/definitions/models.Clientfixedadconfig'
  13723. "500":
  13724. description: Internal Server Error
  13725. schema:
  13726. $ref: '#/definitions/app.Response'
  13727. security:
  13728. - ApiKeyAuth: []
  13729. summary: 获取终端固定广告配置
  13730. tags:
  13731. - 定制【海商报业】
  13732. /HSBY/QueryHsbyBuyMyTradeDetail:
  13733. get:
  13734. parameters:
  13735. - description: 页码
  13736. in: query
  13737. name: page
  13738. type: integer
  13739. - description: 每页条数
  13740. in: query
  13741. name: pagesize
  13742. type: integer
  13743. - description: 资金账户列表,格式:1,2,3
  13744. in: query
  13745. name: accountIDs
  13746. required: true
  13747. type: string
  13748. produces:
  13749. - application/json
  13750. responses:
  13751. "200":
  13752. description: OK
  13753. schema:
  13754. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  13755. "500":
  13756. description: Internal Server Error
  13757. schema:
  13758. $ref: '#/definitions/app.Response'
  13759. security:
  13760. - ApiKeyAuth: []
  13761. summary: 查询"我的订单 - 已完成"单据信息
  13762. tags:
  13763. - 定制【海商报业】
  13764. /HSBY/QueryHsbyGoodsOrderDetails:
  13765. get:
  13766. description: 说明:查询结果已按委托价格和委托时间排序
  13767. parameters:
  13768. - description: 商品ID
  13769. in: query
  13770. name: goodsID
  13771. required: true
  13772. type: integer
  13773. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  13774. in: query
  13775. name: accountIDs
  13776. type: string
  13777. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  13778. in: query
  13779. name: buyOrSell
  13780. type: integer
  13781. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  13782. in: query
  13783. name: price
  13784. type: number
  13785. - description: 档位,不传则默认为3档
  13786. in: query
  13787. name: speed
  13788. type: integer
  13789. produces:
  13790. - application/json
  13791. responses:
  13792. "200":
  13793. description: OK
  13794. schema:
  13795. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  13796. "500":
  13797. description: Internal Server Error
  13798. schema:
  13799. $ref: '#/definitions/app.Response'
  13800. security:
  13801. - ApiKeyAuth: []
  13802. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  13803. tags:
  13804. - 定制【海商报业】
  13805. /HSBY/QueryHsbyListingGoodsDetail:
  13806. get:
  13807. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  13808. parameters:
  13809. - description: 商品ID
  13810. in: query
  13811. name: goodsID
  13812. required: true
  13813. type: integer
  13814. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  13815. in: query
  13816. name: accountID
  13817. type: integer
  13818. produces:
  13819. - application/json
  13820. responses:
  13821. "200":
  13822. description: OK
  13823. schema:
  13824. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  13825. "500":
  13826. description: Internal Server Error
  13827. schema:
  13828. $ref: '#/definitions/app.Response'
  13829. security:
  13830. - ApiKeyAuth: []
  13831. summary: 查询二级市场(挂牌点选)商品信息详情
  13832. tags:
  13833. - 定制【海商报业】
  13834. /HSBY/QueryHsbyMarketGoodsDetail:
  13835. get:
  13836. parameters:
  13837. - description: 委托单号
  13838. in: query
  13839. name: orderID
  13840. required: true
  13841. type: integer
  13842. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  13843. in: query
  13844. name: accountID
  13845. type: integer
  13846. produces:
  13847. - application/json
  13848. responses:
  13849. "200":
  13850. description: OK
  13851. schema:
  13852. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  13853. "500":
  13854. description: Internal Server Error
  13855. schema:
  13856. $ref: '#/definitions/app.Response'
  13857. security:
  13858. - ApiKeyAuth: []
  13859. summary: 查询三级市场(商城)商品信息详情
  13860. tags:
  13861. - 定制【海商报业】
  13862. /HSBY/QueryHsbyMarketGoodses:
  13863. get:
  13864. parameters:
  13865. - description: 页码
  13866. in: query
  13867. name: page
  13868. type: integer
  13869. - description: 每页条数
  13870. in: query
  13871. name: pagesize
  13872. type: integer
  13873. - description: 市场ID列表,格式:1,2,3
  13874. in: query
  13875. name: marketIDs
  13876. required: true
  13877. type: string
  13878. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  13879. in: query
  13880. name: accountID
  13881. required: true
  13882. type: integer
  13883. - description: 类别ID
  13884. in: query
  13885. name: categoryID
  13886. type: integer
  13887. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  13888. in: query
  13889. name: goodsIDs
  13890. type: string
  13891. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  13892. in: query
  13893. name: couponTypeID
  13894. type: integer
  13895. produces:
  13896. - application/json
  13897. responses:
  13898. "200":
  13899. description: OK
  13900. schema:
  13901. $ref: '#/definitions/models.HsbyMarketGoods'
  13902. "500":
  13903. description: Internal Server Error
  13904. schema:
  13905. $ref: '#/definitions/app.Response'
  13906. security:
  13907. - ApiKeyAuth: []
  13908. summary: 查询特卖商品列表(三级商城)
  13909. tags:
  13910. - 定制【海商报业】
  13911. /HSBY/QueryHsbyMarkets:
  13912. get:
  13913. produces:
  13914. - application/json
  13915. responses:
  13916. "200":
  13917. description: OK
  13918. schema:
  13919. $ref: '#/definitions/models.HsbyMarketInfo'
  13920. "500":
  13921. description: Internal Server Error
  13922. schema:
  13923. $ref: '#/definitions/app.Response'
  13924. security:
  13925. - ApiKeyAuth: []
  13926. summary: 查询海商报业相关市场信息
  13927. tags:
  13928. - 定制【海商报业】
  13929. /HSBY/QueryHsbyMyBuyOrderDetails:
  13930. get:
  13931. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  13932. parameters:
  13933. - description: 资金账户列表,格式:1,2,3
  13934. in: query
  13935. name: accountIDs
  13936. required: true
  13937. type: string
  13938. produces:
  13939. - application/json
  13940. responses:
  13941. "200":
  13942. description: OK
  13943. schema:
  13944. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  13945. "500":
  13946. description: Internal Server Error
  13947. schema:
  13948. $ref: '#/definitions/app.Response'
  13949. security:
  13950. - ApiKeyAuth: []
  13951. summary: 查询“我的订单”信息
  13952. tags:
  13953. - 定制【海商报业】
  13954. /HSBY/QueryHsbyMyGoods:
  13955. get:
  13956. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  13957. parameters:
  13958. - description: 资金账户列表,格式:1,2,3
  13959. in: query
  13960. name: accountIDs
  13961. required: true
  13962. type: string
  13963. produces:
  13964. - application/json
  13965. responses:
  13966. "200":
  13967. description: OK
  13968. schema:
  13969. $ref: '#/definitions/models.HsbyMyGoods'
  13970. "500":
  13971. description: Internal Server Error
  13972. schema:
  13973. $ref: '#/definitions/app.Response'
  13974. security:
  13975. - ApiKeyAuth: []
  13976. summary: 查询“我的商品”信息
  13977. tags:
  13978. - 定制【海商报业】
  13979. /HSBY/QueryHsbyMyPackages:
  13980. get:
  13981. parameters:
  13982. - description: 资金账户列表,格式:1,2,3
  13983. in: query
  13984. name: accountIDs
  13985. required: true
  13986. type: string
  13987. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  13988. in: query
  13989. name: takeOrderStatus
  13990. type: integer
  13991. produces:
  13992. - application/json
  13993. responses:
  13994. "200":
  13995. description: OK
  13996. schema:
  13997. $ref: '#/definitions/models.HsbyMyPackage'
  13998. "500":
  13999. description: Internal Server Error
  14000. schema:
  14001. $ref: '#/definitions/app.Response'
  14002. security:
  14003. - ApiKeyAuth: []
  14004. summary: 查询我的包裹信息
  14005. tags:
  14006. - 定制【海商报业】
  14007. /HSBY/QueryHsbyPreGoodsDetail:
  14008. get:
  14009. parameters:
  14010. - description: 商品ID
  14011. in: query
  14012. name: goodsID
  14013. required: true
  14014. type: integer
  14015. - description: 资金账户,主要用于获取预售商品购买上限
  14016. in: query
  14017. name: accountID
  14018. type: integer
  14019. produces:
  14020. - application/json
  14021. responses:
  14022. "200":
  14023. description: OK
  14024. schema:
  14025. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  14026. "500":
  14027. description: Internal Server Error
  14028. schema:
  14029. $ref: '#/definitions/app.Response'
  14030. security:
  14031. - ApiKeyAuth: []
  14032. summary: 查询一级市场(预售)商品信息详情
  14033. tags:
  14034. - 定制【海商报业】
  14035. /HSBY/QueryHsbyPreGoodses:
  14036. get:
  14037. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  14038. parameters:
  14039. - description: 页码
  14040. in: query
  14041. name: page
  14042. type: integer
  14043. - description: 每页条数
  14044. in: query
  14045. name: pagesize
  14046. type: integer
  14047. - description: 市场ID列表,格式:1,2,3
  14048. in: query
  14049. name: marketIDs
  14050. required: true
  14051. type: string
  14052. - description: 目的地(省)ID
  14053. in: query
  14054. name: descProvinceID
  14055. type: integer
  14056. - description: 目的地(市)ID
  14057. in: query
  14058. name: descCityID
  14059. type: integer
  14060. produces:
  14061. - application/json
  14062. responses:
  14063. "200":
  14064. description: OK
  14065. schema:
  14066. $ref: '#/definitions/models.HsbyPreGoods'
  14067. "500":
  14068. description: Internal Server Error
  14069. schema:
  14070. $ref: '#/definitions/app.Response'
  14071. security:
  14072. - ApiKeyAuth: []
  14073. summary: 查询新品上市商品列表(一级市场预售)
  14074. tags:
  14075. - 定制【海商报业】
  14076. /HSBY/QueryHsbySellMyDetails:
  14077. get:
  14078. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  14079. parameters:
  14080. - description: 页码
  14081. in: query
  14082. name: page
  14083. type: integer
  14084. - description: 每页条数
  14085. in: query
  14086. name: pagesize
  14087. type: integer
  14088. - description: 资金账户列表,格式:1,2,3
  14089. in: query
  14090. name: accountIDs
  14091. required: true
  14092. type: string
  14093. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  14094. in: query
  14095. name: orderType
  14096. type: integer
  14097. produces:
  14098. - application/json
  14099. responses:
  14100. "200":
  14101. description: OK
  14102. schema:
  14103. $ref: '#/definitions/models.HsbySellMyDetail'
  14104. "500":
  14105. description: Internal Server Error
  14106. schema:
  14107. $ref: '#/definitions/app.Response'
  14108. security:
  14109. - ApiKeyAuth: []
  14110. summary: 查询"我的闲置"单据信息
  14111. tags:
  14112. - 定制【海商报业】
  14113. /HSBY/QueryHsbyTopGoodses:
  14114. get:
  14115. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  14116. parameters:
  14117. - description: 页码
  14118. in: query
  14119. name: page
  14120. type: integer
  14121. - description: 每页条数
  14122. in: query
  14123. name: pagesize
  14124. type: integer
  14125. - description: 市场ID列表,格式:1,2,3
  14126. in: query
  14127. name: marketIDs
  14128. required: true
  14129. type: string
  14130. - description: 目的地(省)ID
  14131. in: query
  14132. name: descProvinceID
  14133. type: integer
  14134. - description: 目的地(市)ID
  14135. in: query
  14136. name: descCityID
  14137. type: integer
  14138. produces:
  14139. - application/json
  14140. responses:
  14141. "200":
  14142. description: OK
  14143. schema:
  14144. $ref: '#/definitions/models.HsbyTopGoods'
  14145. "500":
  14146. description: Internal Server Error
  14147. schema:
  14148. $ref: '#/definitions/app.Response'
  14149. security:
  14150. - ApiKeyAuth: []
  14151. summary: 查询热卖商品列表(二级市场挂牌点选)
  14152. tags:
  14153. - 定制【海商报业】
  14154. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  14155. get:
  14156. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  14157. parameters:
  14158. - description: 商品ID
  14159. in: query
  14160. name: goodsID
  14161. required: true
  14162. type: integer
  14163. produces:
  14164. - application/json
  14165. responses:
  14166. "200":
  14167. description: OK
  14168. schema:
  14169. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  14170. "500":
  14171. description: Internal Server Error
  14172. schema:
  14173. $ref: '#/definitions/app.Response'
  14174. security:
  14175. - ApiKeyAuth: []
  14176. summary: 查询游客三级市场(商城)商品信息详情
  14177. tags:
  14178. - 定制【海商报业】
  14179. /HSBY/QueryHsbyVisitorMarketGoodses:
  14180. get:
  14181. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  14182. parameters:
  14183. - description: 页码
  14184. in: query
  14185. name: page
  14186. type: integer
  14187. - description: 每页条数
  14188. in: query
  14189. name: pagesize
  14190. type: integer
  14191. - description: 市场ID列表,格式:1,2,3
  14192. in: query
  14193. name: marketIDs
  14194. required: true
  14195. type: string
  14196. - description: 类别ID
  14197. in: query
  14198. name: categoryID
  14199. type: integer
  14200. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  14201. in: query
  14202. name: goodsIDs
  14203. type: string
  14204. produces:
  14205. - application/json
  14206. responses:
  14207. "200":
  14208. description: OK
  14209. schema:
  14210. $ref: '#/definitions/models.HsbyMarketGoods'
  14211. "500":
  14212. description: Internal Server Error
  14213. schema:
  14214. $ref: '#/definitions/app.Response'
  14215. security:
  14216. - ApiKeyAuth: []
  14217. summary: 查询游客特卖商品列表(三级商城)
  14218. tags:
  14219. - 定制【海商报业】
  14220. /HSBY/QueryMyCollectionOrders:
  14221. get:
  14222. parameters:
  14223. - description: 页码
  14224. in: query
  14225. name: page
  14226. type: integer
  14227. - description: 每页条数
  14228. in: query
  14229. name: pagesize
  14230. type: integer
  14231. - description: 资金账户,格式:1,2,3
  14232. in: query
  14233. name: accountIDs
  14234. required: true
  14235. type: string
  14236. produces:
  14237. - application/json
  14238. responses:
  14239. "200":
  14240. description: OK
  14241. schema:
  14242. $ref: '#/definitions/models.HsbySellCollectionOrder'
  14243. "500":
  14244. description: Internal Server Error
  14245. schema:
  14246. $ref: '#/definitions/app.Response'
  14247. security:
  14248. - ApiKeyAuth: []
  14249. summary: 我的闲置中收款信息查询
  14250. tags:
  14251. - 定制【海商报业】
  14252. /HSBY/QueryMyCouponHolds:
  14253. get:
  14254. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  14255. parameters:
  14256. - description: 资金账户列表,格式:1,2,3
  14257. in: query
  14258. name: accountIDs
  14259. required: true
  14260. type: string
  14261. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  14262. in: query
  14263. name: holdStatus
  14264. type: string
  14265. produces:
  14266. - application/json
  14267. responses:
  14268. "200":
  14269. description: OK
  14270. schema:
  14271. $ref: '#/definitions/models.MyCouponHold'
  14272. "500":
  14273. description: Internal Server Error
  14274. schema:
  14275. $ref: '#/definitions/app.Response'
  14276. security:
  14277. - ApiKeyAuth: []
  14278. summary: 我的优惠卷持仓查询
  14279. tags:
  14280. - 定制【海商报业】
  14281. /HSBY/QueryMyCoupons:
  14282. get:
  14283. parameters:
  14284. - description: 资金账户列表,格式:1,2,3
  14285. in: query
  14286. name: accountIDs
  14287. required: true
  14288. type: string
  14289. - description: 商品ID, 一般与sellUserID配套传入
  14290. in: query
  14291. name: goodsID
  14292. type: integer
  14293. - description: 卖方UserID
  14294. in: query
  14295. name: sellUserID
  14296. type: integer
  14297. produces:
  14298. - application/json
  14299. responses:
  14300. "200":
  14301. description: OK
  14302. schema:
  14303. $ref: '#/definitions/models.MyCoupon'
  14304. "500":
  14305. description: Internal Server Error
  14306. schema:
  14307. $ref: '#/definitions/app.Response'
  14308. security:
  14309. - ApiKeyAuth: []
  14310. summary: 我的优惠卷查询
  14311. tags:
  14312. - 定制【海商报业】
  14313. /HSBY/QueryMyPayOrders:
  14314. get:
  14315. parameters:
  14316. - description: 页码
  14317. in: query
  14318. name: page
  14319. type: integer
  14320. - description: 每页条数
  14321. in: query
  14322. name: pagesize
  14323. type: integer
  14324. - description: 资金账户列表,格式:1,2,3
  14325. in: query
  14326. name: accountIDs
  14327. required: true
  14328. type: string
  14329. - description: 买方委托单号
  14330. in: query
  14331. name: buyOrderID
  14332. type: integer
  14333. - description: 卖方委托单号
  14334. in: query
  14335. name: sellOrderID
  14336. type: integer
  14337. produces:
  14338. - application/json
  14339. responses:
  14340. "200":
  14341. description: OK
  14342. schema:
  14343. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  14344. "500":
  14345. description: Internal Server Error
  14346. schema:
  14347. $ref: '#/definitions/app.Response'
  14348. security:
  14349. - ApiKeyAuth: []
  14350. summary: 获取我的订单中待付款信息
  14351. tags:
  14352. - 定制【海商报业】
  14353. /HSBY/QueryMyUsedCoupon:
  14354. get:
  14355. parameters:
  14356. - description: 资金账户列表,格式:1,2,3
  14357. in: query
  14358. name: accountIDs
  14359. required: true
  14360. type: string
  14361. produces:
  14362. - application/json
  14363. responses:
  14364. "200":
  14365. description: OK
  14366. schema:
  14367. $ref: '#/definitions/models.MyUsedCoupon'
  14368. "500":
  14369. description: Internal Server Error
  14370. schema:
  14371. $ref: '#/definitions/app.Response'
  14372. security:
  14373. - ApiKeyAuth: []
  14374. summary: 已使用优惠卷查询
  14375. tags:
  14376. - 定制【海商报业】
  14377. /HSBY/QueryProvincesAndCities:
  14378. get:
  14379. description: 查询结果只包括二级市场商品已关连的省市信息。
  14380. parameters:
  14381. - description: 省ID
  14382. in: query
  14383. name: provinceID
  14384. type: integer
  14385. produces:
  14386. - application/json
  14387. responses:
  14388. "200":
  14389. description: OK
  14390. schema:
  14391. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  14392. "500":
  14393. description: Internal Server Error
  14394. schema:
  14395. $ref: '#/definitions/app.Response'
  14396. security:
  14397. - ApiKeyAuth: []
  14398. summary: 查询省市信息(不包括区)
  14399. tags:
  14400. - 定制【海商报业】
  14401. /HSBY/SetHsbyMyPackagesStatus:
  14402. post:
  14403. parameters:
  14404. - description: 提货单号
  14405. in: query
  14406. name: takeOrderID
  14407. required: true
  14408. type: string
  14409. - description: 资金账号
  14410. in: query
  14411. name: accountID
  14412. required: true
  14413. type: integer
  14414. produces:
  14415. - application/json
  14416. responses:
  14417. "200":
  14418. description: OK
  14419. schema:
  14420. $ref: '#/definitions/app.Response'
  14421. "500":
  14422. description: Internal Server Error
  14423. schema:
  14424. $ref: '#/definitions/app.Response'
  14425. security:
  14426. - ApiKeyAuth: []
  14427. summary: 设置我的包裹已收货状态
  14428. tags:
  14429. - 定制【海商报业】
  14430. /Market/QueryGoodsesByLoginID:
  14431. get:
  14432. parameters:
  14433. - description: 登录账号
  14434. in: query
  14435. name: loginID
  14436. required: true
  14437. type: integer
  14438. - description: 市场ID列表,格式:1,2,3
  14439. in: query
  14440. name: marketIDs
  14441. type: string
  14442. produces:
  14443. - application/json
  14444. responses:
  14445. "200":
  14446. description: OK
  14447. schema:
  14448. $ref: '#/definitions/models.Goods'
  14449. "500":
  14450. description: Internal Server Error
  14451. schema:
  14452. $ref: '#/definitions/app.Response'
  14453. security:
  14454. - ApiKeyAuth: []
  14455. summary: 获取登录账号有权限的商品信息
  14456. tags:
  14457. - 通用市场
  14458. /Market/QueryMarketRun:
  14459. get:
  14460. parameters:
  14461. - description: 市场ID,不传返回所有
  14462. in: query
  14463. name: marketID
  14464. type: integer
  14465. produces:
  14466. - application/json
  14467. responses:
  14468. "200":
  14469. description: OK
  14470. schema:
  14471. $ref: '#/definitions/models.Marketrun'
  14472. "500":
  14473. description: Internal Server Error
  14474. schema:
  14475. $ref: '#/definitions/app.Response'
  14476. security:
  14477. - ApiKeyAuth: []
  14478. summary: 查询市场运行信息
  14479. tags:
  14480. - 通用市场
  14481. /Market/QueryMarketsByLoginID:
  14482. get:
  14483. parameters:
  14484. - description: 登录账号
  14485. in: query
  14486. name: loginID
  14487. required: true
  14488. type: integer
  14489. produces:
  14490. - application/json
  14491. responses:
  14492. "200":
  14493. description: OK
  14494. schema:
  14495. $ref: '#/definitions/models.Market'
  14496. "500":
  14497. description: Internal Server Error
  14498. schema:
  14499. $ref: '#/definitions/app.Response'
  14500. security:
  14501. - ApiKeyAuth: []
  14502. summary: 获取登录账号有权限的市场信息
  14503. tags:
  14504. - 通用市场
  14505. /Order/QueryHisTradeDetail:
  14506. get:
  14507. parameters:
  14508. - description: 资金账户 - 格式:1,2,3
  14509. in: query
  14510. name: accountID
  14511. required: true
  14512. type: string
  14513. - description: 成交单号
  14514. in: query
  14515. name: tradeID
  14516. type: integer
  14517. - description: 委托单号
  14518. in: query
  14519. name: orderID
  14520. type: integer
  14521. - description: 交易模式 - 格式:1,2,3
  14522. in: query
  14523. name: tradeMode
  14524. type: string
  14525. - description: 委托单据类型
  14526. in: query
  14527. name: buildType
  14528. type: integer
  14529. - description: 成交类别 - 格式:1,2,3
  14530. in: query
  14531. name: tradeType
  14532. type: string
  14533. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14534. in: query
  14535. name: startDate
  14536. type: string
  14537. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14538. in: query
  14539. name: endDate
  14540. type: string
  14541. produces:
  14542. - application/json
  14543. responses:
  14544. "200":
  14545. description: OK
  14546. schema:
  14547. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  14548. "500":
  14549. description: Internal Server Error
  14550. schema:
  14551. $ref: '#/definitions/app.Response'
  14552. security:
  14553. - ApiKeyAuth: []
  14554. summary: 历史成交单查询(合约市场)
  14555. tags:
  14556. - 通用单据
  14557. /Order/QueryHisTradeOrderDetail:
  14558. get:
  14559. parameters:
  14560. - description: 资金账户 - 格式:1,2,3
  14561. in: query
  14562. name: accountID
  14563. required: true
  14564. type: string
  14565. - description: 交易模式 - 格式:1,2,3
  14566. in: query
  14567. name: tradeMode
  14568. type: string
  14569. - description: 委托状态 - 格式:1,2,3
  14570. in: query
  14571. name: orderStatus
  14572. type: string
  14573. - description: 委托单号
  14574. in: query
  14575. name: orderID
  14576. type: integer
  14577. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14578. in: query
  14579. name: startDate
  14580. type: string
  14581. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14582. in: query
  14583. name: endDate
  14584. type: string
  14585. produces:
  14586. - application/json
  14587. responses:
  14588. "200":
  14589. description: OK
  14590. schema:
  14591. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  14592. "500":
  14593. description: Internal Server Error
  14594. schema:
  14595. $ref: '#/definitions/app.Response'
  14596. security:
  14597. - ApiKeyAuth: []
  14598. summary: 历史委托单查询请求(合约市场)
  14599. tags:
  14600. - 通用单据
  14601. /Order/QueryTradeDetail:
  14602. get:
  14603. parameters:
  14604. - description: 资金账户 - 格式:1,2,3
  14605. in: query
  14606. name: accountID
  14607. required: true
  14608. type: string
  14609. - description: 成交单号
  14610. in: query
  14611. name: tradeID
  14612. type: integer
  14613. - description: 委托单号
  14614. in: query
  14615. name: orderID
  14616. type: integer
  14617. - description: 交易模式 - 格式:1,2,3
  14618. in: query
  14619. name: tradeMode
  14620. type: string
  14621. - description: 委托单据类型
  14622. in: query
  14623. name: buildType
  14624. type: integer
  14625. - description: 成交类别 - 格式:1,2,3
  14626. in: query
  14627. name: tradeType
  14628. type: string
  14629. produces:
  14630. - application/json
  14631. responses:
  14632. "200":
  14633. description: OK
  14634. schema:
  14635. $ref: '#/definitions/order.QueryTradeDetailRsp'
  14636. "500":
  14637. description: Internal Server Error
  14638. schema:
  14639. $ref: '#/definitions/app.Response'
  14640. security:
  14641. - ApiKeyAuth: []
  14642. summary: 成交单查询(合约市场)
  14643. tags:
  14644. - 通用单据
  14645. /Order/QueryTradeOrderDetail:
  14646. get:
  14647. parameters:
  14648. - description: 资金账户 - 格式:1,2,3
  14649. in: query
  14650. name: accountID
  14651. required: true
  14652. type: string
  14653. - description: 交易模式 - 格式:1,2,3
  14654. in: query
  14655. name: tradeMode
  14656. type: string
  14657. - description: 委托状态 - 格式:1,2,3
  14658. in: query
  14659. name: orderStatus
  14660. type: string
  14661. - description: 委托单号
  14662. in: query
  14663. name: orderID
  14664. type: integer
  14665. produces:
  14666. - application/json
  14667. responses:
  14668. "200":
  14669. description: OK
  14670. schema:
  14671. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  14672. "500":
  14673. description: Internal Server Error
  14674. schema:
  14675. $ref: '#/definitions/app.Response'
  14676. security:
  14677. - ApiKeyAuth: []
  14678. summary: 委托单查询请求(合约市场)
  14679. tags:
  14680. - 通用单据
  14681. /Order/QueryTradePosition:
  14682. get:
  14683. parameters:
  14684. - description: 资金账户 - 格式:1,2,3
  14685. in: query
  14686. name: accountID
  14687. required: true
  14688. type: string
  14689. - description: 交易模式 - 格式:1,2,3
  14690. in: query
  14691. name: tradeMode
  14692. type: string
  14693. produces:
  14694. - application/json
  14695. responses:
  14696. "200":
  14697. description: OK
  14698. schema:
  14699. $ref: '#/definitions/order.QueryTradePositionRsp'
  14700. "500":
  14701. description: Internal Server Error
  14702. schema:
  14703. $ref: '#/definitions/app.Response'
  14704. security:
  14705. - ApiKeyAuth: []
  14706. summary: 持仓汇总查询(合约市场)
  14707. tags:
  14708. - 通用单据
  14709. /Quote/QueryHistoryDatas:
  14710. get:
  14711. parameters:
  14712. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  14713. 日线'
  14714. in: query
  14715. name: cycleType
  14716. required: true
  14717. type: integer
  14718. - description: 商品代码
  14719. in: query
  14720. name: goodsCode
  14721. required: true
  14722. type: string
  14723. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  14724. in: query
  14725. name: startTime
  14726. type: string
  14727. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  14728. in: query
  14729. name: endTime
  14730. type: string
  14731. - description: 条数
  14732. in: query
  14733. name: count
  14734. type: integer
  14735. - description: 是否按时间顺序排序(默认为时间倒序排序)
  14736. in: query
  14737. name: isAsc
  14738. type: boolean
  14739. produces:
  14740. - application/json
  14741. responses:
  14742. "200":
  14743. description: OK
  14744. schema:
  14745. $ref: '#/definitions/quote.HistoryData'
  14746. "500":
  14747. description: Internal Server Error
  14748. schema:
  14749. $ref: '#/definitions/app.Response'
  14750. security:
  14751. - ApiKeyAuth: []
  14752. summary: 查询行情历史数据
  14753. tags:
  14754. - 行情服务
  14755. /Quote/QueryHistoryTikDatas:
  14756. get:
  14757. parameters:
  14758. - description: 商品代码
  14759. in: query
  14760. name: goodsCode
  14761. required: true
  14762. type: string
  14763. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  14764. in: query
  14765. name: startTime
  14766. type: string
  14767. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  14768. in: query
  14769. name: endTime
  14770. type: string
  14771. - description: 条数
  14772. in: query
  14773. name: count
  14774. type: integer
  14775. - description: 是否按时间顺序排序(默认为时间倒序排序)
  14776. in: query
  14777. name: isAsc
  14778. type: boolean
  14779. produces:
  14780. - application/json
  14781. responses:
  14782. "200":
  14783. description: OK
  14784. schema:
  14785. $ref: '#/definitions/quote.HistoryTikData'
  14786. "500":
  14787. description: Internal Server Error
  14788. schema:
  14789. $ref: '#/definitions/app.Response'
  14790. security:
  14791. - ApiKeyAuth: []
  14792. summary: 查询行情Tik数据
  14793. tags:
  14794. - 行情服务
  14795. /Quote/QueryQuoteDay:
  14796. get:
  14797. parameters:
  14798. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  14799. in: query
  14800. name: goodsCodes
  14801. required: true
  14802. type: string
  14803. produces:
  14804. - application/json
  14805. responses:
  14806. "200":
  14807. description: OK
  14808. schema:
  14809. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  14810. "500":
  14811. description: Internal Server Error
  14812. schema:
  14813. $ref: '#/definitions/app.Response'
  14814. security:
  14815. - ApiKeyAuth: []
  14816. summary: 获取商品盘面信息
  14817. tags:
  14818. - 行情服务
  14819. /Quote/QueryTSData:
  14820. get:
  14821. parameters:
  14822. - description: 商品代码
  14823. in: query
  14824. name: goodsCode
  14825. required: true
  14826. type: string
  14827. produces:
  14828. - application/json
  14829. responses:
  14830. "200":
  14831. description: OK
  14832. schema:
  14833. $ref: '#/definitions/quote.QueryTSDataRsp'
  14834. "500":
  14835. description: Internal Server Error
  14836. schema:
  14837. $ref: '#/definitions/app.Response'
  14838. security:
  14839. - ApiKeyAuth: []
  14840. summary: 分时图数据查询
  14841. tags:
  14842. - 行情服务
  14843. /SZDZ/QueryConvertConfig:
  14844. get:
  14845. parameters:
  14846. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  14847. 6:交易转花生米(不设置)
  14848. in: query
  14849. name: convertType
  14850. type: integer
  14851. - description: 外部商品代码[JD\PD]
  14852. in: query
  14853. name: outerGoodsCode
  14854. type: string
  14855. - description: 内部商品ID列表[交易],格式:1,2,3
  14856. in: query
  14857. name: innerGoodsIDs
  14858. type: string
  14859. produces:
  14860. - application/json
  14861. responses:
  14862. "200":
  14863. description: OK
  14864. schema:
  14865. $ref: '#/definitions/models.Szdz3convertconfig'
  14866. "500":
  14867. description: Internal Server Error
  14868. schema:
  14869. $ref: '#/definitions/app.Response'
  14870. security:
  14871. - ApiKeyAuth: []
  14872. summary: 查询交易系统转换设置
  14873. tags:
  14874. - 定制【尚志大宗】
  14875. /SZDZ/QueryConvertLog:
  14876. get:
  14877. parameters:
  14878. - description: 资金账户 - 格式:1,2,3
  14879. in: query
  14880. name: accountID
  14881. required: true
  14882. type: string
  14883. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  14884. in: query
  14885. name: startDate
  14886. type: string
  14887. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  14888. in: query
  14889. name: endDate
  14890. type: string
  14891. produces:
  14892. - application/json
  14893. responses:
  14894. "200":
  14895. description: OK
  14896. schema:
  14897. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  14898. "500":
  14899. description: Internal Server Error
  14900. schema:
  14901. $ref: '#/definitions/app.Response'
  14902. security:
  14903. - ApiKeyAuth: []
  14904. summary: 交易系统转换流水查询
  14905. tags:
  14906. - 定制【尚志大宗】
  14907. /SZDZ/QueryGoodsPickup:
  14908. get:
  14909. parameters:
  14910. - description: 资金账户 - 格式:1,2,3
  14911. in: query
  14912. name: accountID
  14913. required: true
  14914. type: string
  14915. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  14916. in: query
  14917. name: takeOrderStatus
  14918. type: integer
  14919. produces:
  14920. - application/json
  14921. responses:
  14922. "200":
  14923. description: OK
  14924. schema:
  14925. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  14926. "500":
  14927. description: Internal Server Error
  14928. schema:
  14929. $ref: '#/definitions/app.Response'
  14930. security:
  14931. - ApiKeyAuth: []
  14932. summary: 商品提货单查询
  14933. tags:
  14934. - 定制【尚志大宗】
  14935. /SZDZ/QueryRecieptOrder:
  14936. get:
  14937. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  14938. parameters:
  14939. - description: 页码
  14940. in: query
  14941. name: page
  14942. type: integer
  14943. - description: 每页条数
  14944. in: query
  14945. name: pagesize
  14946. type: integer
  14947. - description: 商品ID
  14948. in: query
  14949. name: goodsID
  14950. required: true
  14951. type: integer
  14952. - description: 所属账户名称
  14953. in: query
  14954. name: accountName
  14955. type: string
  14956. - description: 市场ID
  14957. in: query
  14958. name: marketID
  14959. type: integer
  14960. - description: 方向 - 0:买 1:卖
  14961. in: query
  14962. name: buyorsell
  14963. required: true
  14964. type: integer
  14965. produces:
  14966. - application/json
  14967. responses:
  14968. "200":
  14969. description: OK
  14970. schema:
  14971. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  14972. "500":
  14973. description: Internal Server Error
  14974. schema:
  14975. $ref: '#/definitions/app.Response'
  14976. security:
  14977. - ApiKeyAuth: []
  14978. summary: 点选挂牌委托单据查询(摘牌大厅)
  14979. tags:
  14980. - 定制【尚志大宗】
  14981. /SZDZ/QuerySZDZTradePosition:
  14982. get:
  14983. parameters:
  14984. - description: 资金账户
  14985. in: query
  14986. name: accountID
  14987. required: true
  14988. type: integer
  14989. produces:
  14990. - application/json
  14991. responses:
  14992. "200":
  14993. description: OK
  14994. schema:
  14995. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  14996. "500":
  14997. description: Internal Server Error
  14998. schema:
  14999. $ref: '#/definitions/app.Response'
  15000. security:
  15001. - ApiKeyAuth: []
  15002. summary: 持仓汇总查询(尚志大宗)
  15003. tags:
  15004. - 定制【尚志大宗】
  15005. /SZDZ/SearchWhite:
  15006. get:
  15007. parameters:
  15008. - description: 用户ID
  15009. in: query
  15010. name: userID
  15011. required: true
  15012. type: integer
  15013. produces:
  15014. - application/json
  15015. responses:
  15016. "200":
  15017. description: OK
  15018. schema:
  15019. $ref: '#/definitions/models.Szdz3searchwhitelist'
  15020. "500":
  15021. description: Internal Server Error
  15022. schema:
  15023. $ref: '#/definitions/app.Response'
  15024. security:
  15025. - ApiKeyAuth: []
  15026. summary: 搜索白名单
  15027. tags:
  15028. - 定制【尚志大宗】
  15029. /Search/SearchGoodses:
  15030. get:
  15031. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  15032. parameters:
  15033. - description: 检索内容
  15034. in: query
  15035. name: content
  15036. required: true
  15037. type: string
  15038. - description: 交易模式,格式:1,2,3
  15039. in: query
  15040. name: tradeModes
  15041. type: string
  15042. produces:
  15043. - application/json
  15044. responses:
  15045. "200":
  15046. description: OK
  15047. schema:
  15048. $ref: '#/definitions/models.SearchGoods'
  15049. "500":
  15050. description: Internal Server Error
  15051. schema:
  15052. $ref: '#/definitions/app.Response'
  15053. summary: 检索商品信息
  15054. tags:
  15055. - 检索服务
  15056. /TaAccount/GetTaAccounts:
  15057. get:
  15058. parameters:
  15059. - description: 登录账户
  15060. in: query
  15061. name: loginID
  15062. required: true
  15063. type: integer
  15064. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  15065. in: query
  15066. name: taAccountType
  15067. type: integer
  15068. produces:
  15069. - application/json
  15070. responses:
  15071. "200":
  15072. description: OK
  15073. schema:
  15074. $ref: '#/definitions/models.Taaccount'
  15075. "500":
  15076. description: Internal Server Error
  15077. schema:
  15078. $ref: '#/definitions/app.Response'
  15079. security:
  15080. - ApiKeyAuth: []
  15081. summary: 获取资金账户信息
  15082. tags:
  15083. - 资金账户
  15084. /TaAccount/QueryAmountLog:
  15085. get:
  15086. parameters:
  15087. - description: 页码
  15088. in: query
  15089. name: page
  15090. type: integer
  15091. - description: 每页条数
  15092. in: query
  15093. name: pagesize
  15094. type: integer
  15095. - description: 资金账户 - 格式:1,2,3
  15096. in: query
  15097. name: accountID
  15098. required: true
  15099. type: string
  15100. - description: 资金操作类型 - 格式:1,2,3
  15101. in: query
  15102. name: OperateType
  15103. type: string
  15104. produces:
  15105. - application/json
  15106. responses:
  15107. "200":
  15108. description: OK
  15109. schema:
  15110. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  15111. "500":
  15112. description: Internal Server Error
  15113. schema:
  15114. $ref: '#/definitions/app.Response'
  15115. security:
  15116. - ApiKeyAuth: []
  15117. summary: 资金流水查询(当前)
  15118. tags:
  15119. - 资金账户
  15120. /TaAccount/QueryHisAmountLog:
  15121. get:
  15122. parameters:
  15123. - description: 页码
  15124. in: query
  15125. name: page
  15126. type: integer
  15127. - description: 每页条数
  15128. in: query
  15129. name: pagesize
  15130. type: integer
  15131. - description: 资金账户 - 格式:1,2,3
  15132. in: query
  15133. name: accountID
  15134. required: true
  15135. type: string
  15136. - description: 资金操作类型 - 格式:1,2,3
  15137. in: query
  15138. name: OperateType
  15139. type: string
  15140. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15141. in: query
  15142. name: startDate
  15143. type: string
  15144. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15145. in: query
  15146. name: endDate
  15147. type: string
  15148. produces:
  15149. - application/json
  15150. responses:
  15151. "200":
  15152. description: OK
  15153. schema:
  15154. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  15155. "500":
  15156. description: Internal Server Error
  15157. schema:
  15158. $ref: '#/definitions/app.Response'
  15159. security:
  15160. - ApiKeyAuth: []
  15161. summary: 资金流水查询(历史)
  15162. tags:
  15163. - 资金账户
  15164. /Trade/QueryRecieptOrder:
  15165. get:
  15166. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  15167. parameters:
  15168. - description: 页码
  15169. in: query
  15170. name: page
  15171. type: integer
  15172. - description: 每页条数
  15173. in: query
  15174. name: pagesize
  15175. type: integer
  15176. - description: 商品ID
  15177. in: query
  15178. name: goodsID
  15179. required: true
  15180. type: integer
  15181. - description: 所属账户名称
  15182. in: query
  15183. name: accountName
  15184. type: string
  15185. - description: 市场ID
  15186. in: query
  15187. name: marketID
  15188. type: integer
  15189. - description: 方向 - 0:买 1:卖
  15190. in: query
  15191. name: buyorsell
  15192. required: true
  15193. type: integer
  15194. produces:
  15195. - application/json
  15196. responses:
  15197. "200":
  15198. description: OK
  15199. schema:
  15200. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  15201. "500":
  15202. description: Internal Server Error
  15203. schema:
  15204. $ref: '#/definitions/app.Response'
  15205. security:
  15206. - ApiKeyAuth: []
  15207. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  15208. tags:
  15209. - 通用交易
  15210. /User/AddMessageBoard:
  15211. post:
  15212. parameters:
  15213. - description: 用户ID
  15214. in: query
  15215. name: userID
  15216. required: true
  15217. type: integer
  15218. - description: 留言信息
  15219. in: query
  15220. name: message
  15221. required: true
  15222. type: string
  15223. - description: 联系电话
  15224. in: query
  15225. name: contactNum
  15226. required: true
  15227. type: string
  15228. produces:
  15229. - application/json
  15230. responses:
  15231. "200":
  15232. description: OK
  15233. schema:
  15234. $ref: '#/definitions/app.Response'
  15235. "500":
  15236. description: Internal Server Error
  15237. schema:
  15238. $ref: '#/definitions/app.Response'
  15239. security:
  15240. - ApiKeyAuth: []
  15241. summary: 添加用户留言板信息
  15242. tags:
  15243. - 用户信息
  15244. /User/AddUserFavoriteGoods:
  15245. post:
  15246. parameters:
  15247. - description: 用户ID
  15248. in: query
  15249. name: userID
  15250. required: true
  15251. type: integer
  15252. - description: 商品ID
  15253. in: query
  15254. name: goodsID
  15255. required: true
  15256. type: integer
  15257. produces:
  15258. - application/json
  15259. responses:
  15260. "200":
  15261. description: OK
  15262. schema:
  15263. $ref: '#/definitions/app.Response'
  15264. "500":
  15265. description: Internal Server Error
  15266. schema:
  15267. $ref: '#/definitions/app.Response'
  15268. security:
  15269. - ApiKeyAuth: []
  15270. summary: 添加用户商品收藏信息
  15271. tags:
  15272. - 用户信息
  15273. /User/GetLoginID:
  15274. get:
  15275. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  15276. parameters:
  15277. - description: 登录代码
  15278. in: query
  15279. name: username
  15280. required: true
  15281. type: string
  15282. produces:
  15283. - application/json
  15284. responses:
  15285. "200":
  15286. description: OK
  15287. schema:
  15288. $ref: '#/definitions/app.Response'
  15289. "500":
  15290. description: Internal Server Error
  15291. schema:
  15292. $ref: '#/definitions/app.Response'
  15293. summary: 获取登录ID
  15294. tags:
  15295. - 用户信息
  15296. /User/GetUserAccount:
  15297. get:
  15298. parameters:
  15299. - description: 用户ID
  15300. in: query
  15301. name: userID
  15302. required: true
  15303. type: integer
  15304. produces:
  15305. - application/json
  15306. responses:
  15307. "200":
  15308. description: OK
  15309. schema:
  15310. $ref: '#/definitions/models.Useraccount'
  15311. "500":
  15312. description: Internal Server Error
  15313. schema:
  15314. $ref: '#/definitions/app.Response'
  15315. security:
  15316. - ApiKeyAuth: []
  15317. summary: 获取用户账号信息
  15318. tags:
  15319. - 用户信息
  15320. /User/GetUserAuthStatus:
  15321. get:
  15322. parameters:
  15323. - description: 用户ID
  15324. in: query
  15325. name: userID
  15326. required: true
  15327. type: integer
  15328. produces:
  15329. - application/json
  15330. responses:
  15331. "200":
  15332. description: OK
  15333. schema:
  15334. $ref: '#/definitions/app.Response'
  15335. "500":
  15336. description: Internal Server Error
  15337. schema:
  15338. $ref: '#/definitions/app.Response'
  15339. security:
  15340. - ApiKeyAuth: []
  15341. summary: 获取用户实名认证状态
  15342. tags:
  15343. - 用户信息
  15344. /User/LoginQuery:
  15345. get:
  15346. parameters:
  15347. - description: 登录账号
  15348. in: query
  15349. name: loginID
  15350. required: true
  15351. type: integer
  15352. produces:
  15353. - application/json
  15354. responses:
  15355. "200":
  15356. description: OK
  15357. schema:
  15358. $ref: '#/definitions/user.LoginQueryRsp'
  15359. "500":
  15360. description: Internal Server Error
  15361. schema:
  15362. $ref: '#/definitions/app.Response'
  15363. security:
  15364. - ApiKeyAuth: []
  15365. summary: 账户登录后信息查询
  15366. tags:
  15367. - 用户信息
  15368. /User/QueryMessageBoard:
  15369. get:
  15370. parameters:
  15371. - description: 用户ID
  15372. in: query
  15373. name: userID
  15374. required: true
  15375. type: integer
  15376. produces:
  15377. - application/json
  15378. responses:
  15379. "200":
  15380. description: OK
  15381. schema:
  15382. $ref: '#/definitions/models.Messageboard'
  15383. "500":
  15384. description: Internal Server Error
  15385. schema:
  15386. $ref: '#/definitions/app.Response'
  15387. security:
  15388. - ApiKeyAuth: []
  15389. summary: 获取用户留言板信息
  15390. tags:
  15391. - 用户信息
  15392. /User/QueryUserFavoriteGoodses:
  15393. get:
  15394. parameters:
  15395. - description: 用户ID
  15396. in: query
  15397. name: userID
  15398. required: true
  15399. type: integer
  15400. produces:
  15401. - application/json
  15402. responses:
  15403. "200":
  15404. description: OK
  15405. schema:
  15406. $ref: '#/definitions/models.Userfavoritegoods'
  15407. "500":
  15408. description: Internal Server Error
  15409. schema:
  15410. $ref: '#/definitions/app.Response'
  15411. security:
  15412. - ApiKeyAuth: []
  15413. summary: 获取用户商品收藏信息
  15414. tags:
  15415. - 用户信息
  15416. /User/QueryUserInfo:
  15417. get:
  15418. parameters:
  15419. - description: 用户ID
  15420. in: query
  15421. name: userID
  15422. required: true
  15423. type: integer
  15424. - description: 是否解密
  15425. in: query
  15426. name: isDecrypt
  15427. type: boolean
  15428. produces:
  15429. - application/json
  15430. responses:
  15431. "200":
  15432. description: OK
  15433. schema:
  15434. $ref: '#/definitions/models.Userinfo'
  15435. "500":
  15436. description: Internal Server Error
  15437. schema:
  15438. $ref: '#/definitions/app.Response'
  15439. security:
  15440. - ApiKeyAuth: []
  15441. summary: 获取用户信息
  15442. tags:
  15443. - 用户信息
  15444. /User/QueryUserReferNum:
  15445. get:
  15446. parameters:
  15447. - description: 用户ID
  15448. in: query
  15449. name: userID
  15450. required: true
  15451. type: integer
  15452. produces:
  15453. - application/json
  15454. responses:
  15455. "200":
  15456. description: OK
  15457. schema:
  15458. $ref: '#/definitions/app.Response'
  15459. "500":
  15460. description: Internal Server Error
  15461. schema:
  15462. $ref: '#/definitions/app.Response'
  15463. summary: 获取用户邀请码
  15464. tags:
  15465. - 用户信息
  15466. /User/RemoveUserFavoriteGoods:
  15467. post:
  15468. parameters:
  15469. - description: 用户ID
  15470. in: query
  15471. name: userID
  15472. required: true
  15473. type: integer
  15474. - description: 商品ID
  15475. in: query
  15476. name: goodsID
  15477. required: true
  15478. type: integer
  15479. produces:
  15480. - application/json
  15481. responses:
  15482. "200":
  15483. description: OK
  15484. schema:
  15485. $ref: '#/definitions/app.Response'
  15486. "500":
  15487. description: Internal Server Error
  15488. schema:
  15489. $ref: '#/definitions/app.Response'
  15490. security:
  15491. - ApiKeyAuth: []
  15492. summary: 移除用户商品收藏信息
  15493. tags:
  15494. - 用户信息
  15495. /User/UpdateUserAccountStatus:
  15496. post:
  15497. parameters:
  15498. - description: 用户ID
  15499. in: query
  15500. name: userID
  15501. required: true
  15502. type: integer
  15503. - description: 账户状态 - 4:正常 6:注销(停用)
  15504. in: query
  15505. name: accountStatus
  15506. required: true
  15507. type: integer
  15508. produces:
  15509. - application/json
  15510. responses:
  15511. "200":
  15512. description: OK
  15513. schema:
  15514. $ref: '#/definitions/app.Response'
  15515. "500":
  15516. description: Internal Server Error
  15517. schema:
  15518. $ref: '#/definitions/app.Response'
  15519. security:
  15520. - ApiKeyAuth: []
  15521. summary: 更新用户状态
  15522. tags:
  15523. - 用户信息
  15524. /WR/GetWRCategoryInfo:
  15525. get:
  15526. produces:
  15527. - application/json
  15528. responses:
  15529. "200":
  15530. description: OK
  15531. schema:
  15532. $ref: '#/definitions/models.WRCategoryTree'
  15533. "500":
  15534. description: Internal Server Error
  15535. schema:
  15536. $ref: '#/definitions/app.Response'
  15537. summary: 获取现货分类信息
  15538. tags:
  15539. - 仓单服务
  15540. /WRTrade/GetAllDeliveryGoods:
  15541. get:
  15542. produces:
  15543. - application/json
  15544. - application/json
  15545. responses:
  15546. "200":
  15547. description: OK
  15548. schema:
  15549. $ref: '#/definitions/app.Response'
  15550. "500":
  15551. description: Internal Server Error
  15552. schema:
  15553. $ref: '#/definitions/app.Response'
  15554. security:
  15555. - ApiKeyAuth: []
  15556. - ApiKeyAuth: []
  15557. summary: 获取带仓单分类的种类信息
  15558. tags:
  15559. - 仓单贸易
  15560. - 仓单贸易
  15561. securityDefinitions:
  15562. ApiKeyAuth:
  15563. in: header
  15564. name: Authorization
  15565. type: apiKey
  15566. swagger: "2.0"